1999-08-02 23:48:02 +00:00
|
|
|
#! /bin/sh
|
|
|
|
#
|
|
|
|
# shlib-install - install a shared library and do any necessary host-specific
|
|
|
|
# post-installation configuration (like ldconfig)
|
|
|
|
#
|
2011-05-11 23:38:44 +00:00
|
|
|
# usage: shlib-install [-D] -O host_os [-V host_vendor] -d installation-dir [-b bin-dir] -i install-prog [-U] library
|
1999-08-02 23:48:02 +00:00
|
|
|
#
|
|
|
|
# Chet Ramey
|
|
|
|
# chet@po.cwru.edu
|
|
|
|
|
|
|
|
#
|
|
|
|
# defaults
|
|
|
|
#
|
|
|
|
INSTALLDIR=/usr/local/lib
|
|
|
|
LDCONFIG=ldconfig
|
|
|
|
|
|
|
|
PROGNAME=`basename $0`
|
2011-05-11 23:38:44 +00:00
|
|
|
USAGE="$PROGNAME [-D] -O host_os [-V host_vendor] -d installation-dir [-b bin-dir] -i install-prog [-U] library"
|
1999-08-02 23:48:02 +00:00
|
|
|
|
|
|
|
# process options
|
|
|
|
|
|
|
|
while [ $# -gt 0 ]; do
|
|
|
|
case "$1" in
|
|
|
|
-O) shift; host_os="$1"; shift ;;
|
2011-05-11 23:38:44 +00:00
|
|
|
-V) shift; host_vendor="$1"; shift ;;
|
1999-08-02 23:48:02 +00:00
|
|
|
-d) shift; INSTALLDIR="$1"; shift ;;
|
2006-05-05 18:26:14 +00:00
|
|
|
-b) shift; BINDIR="$1" ; shift ;;
|
1999-08-02 23:48:02 +00:00
|
|
|
-i) shift; INSTALLPROG="$1" ; shift ;;
|
|
|
|
-D) echo=echo ; shift ;;
|
|
|
|
-U) uninstall=true ; shift ;;
|
|
|
|
-*) echo "$USAGE" >&2 ; exit 2;;
|
|
|
|
*) break ;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
|
|
|
# set install target name
|
|
|
|
LIBNAME="$1"
|
|
|
|
|
|
|
|
if [ -z "$LIBNAME" ]; then
|
|
|
|
echo "$USAGE" >&2
|
|
|
|
exit 2
|
|
|
|
fi
|
|
|
|
|
|
|
|
OLDSUFF=old
|
|
|
|
MV=mv
|
|
|
|
RM="rm -f"
|
|
|
|
LN="ln -s"
|
|
|
|
|
|
|
|
# pre-install
|
|
|
|
|
|
|
|
if [ -z "$uninstall" ]; then
|
|
|
|
${echo} $RM ${INSTALLDIR}/${LIBNAME}.${OLDSUFF}
|
|
|
|
if [ -f "$INSTALLDIR/$LIBNAME" ]; then
|
readline:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Locally modified files: Makefile.in, configure.in, configure
(regenerated), config.h.in (regenerated), readline.h, rltty.c,
shell.c signals.c.
Locally added files: acconfig.h, config/*, config.h.bot,
cross-build/*, doc/inc-hit.texinfo.
New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
New files: excallback.c, rlfe.c.
doc:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
inclusion in the gdb manual.
New file: rluserman.texinfo
2000-07-09 17:20:00 +00:00
|
|
|
${echo} $MV $INSTALLDIR/$LIBNAME ${INSTALLDIR}/${LIBNAME}.${OLDSUFF}
|
1999-08-02 23:48:02 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
# install/uninstall
|
|
|
|
|
|
|
|
if [ -z "$uninstall" ] ; then
|
|
|
|
${echo} eval ${INSTALLPROG} $LIBNAME ${INSTALLDIR}/${LIBNAME}
|
|
|
|
else
|
|
|
|
${echo} ${RM} ${INSTALLDIR}/${LIBNAME}
|
|
|
|
fi
|
|
|
|
|
|
|
|
# post-install/uninstall
|
|
|
|
|
Import of readline 4.3.
Non-readline modified files:
src/gdb/ChangeLog src/gdb/defs.h src/gdb/cli/cli-cmds.c
src/gdb/cli/cli-setshow.c src/gdb/tui/ChangeLog
src/gdb/tui/tuiWin.c
In readline directory:
* compat.c, mbutil.c, misc.c, rlmbutil.h, rltypedefs.h,
text.c, doc/history.0, doc/history.3, support/wcwidth.c,
examples/readlinebuf.h, examples/rlcat.c: New files.
* CHANGELOG, CHANGES, INSTALL, MANIFEST, Makefile.in, README,
aclocal.m4, ansi_stdlib.h, bind.c, callback.c, chardefs.h,
complete.c, config.h.in, configure, configure.in, display.c,
emacs_keymap.c, funmap.c, histexpand.c, histfile.c, histlib.h,
history.c, history.h, histsearch.c, input.c, isearch.c,
keymaps.c, keymaps.h, kill.c, macro.c, nls.c, parens.c,
posixdir.h, readline.c, readline.h, rlconf.h, rldefs.h,
rlprivate.h, rlshell.h, rlstdc.h, rltty.c, savestring.c,
search.c, shell.c, signals.c, terminal.c, tilde.c, tilde.h,
undo.c, util.c, vi_keymap.c, vi_mode.c, xmalloc.c, xmalloc.h,
doc/Makefile.in, doc/hist.texinfo, doc/hstech.texinfo,
doc/hsuser.texinfo, doc/manvers.texinfo, doc/readline.3,
doc/rlman.texinfo, doc/rltech.texinfo, doc/rluser.texinfo
doc/rluserman.texinfo, doc/texi2dvi, doc/texi2html,
shlib/Makefile.in, support/install.sh, support/mkdirs,
support/mkdist, support/shlib-install, support/shobj-conf,
examples/Inputrc, examples/Makefile.in, examples/fileman.c,
examples/histexamp.c, examples/manexamp.c, examples/rl.c,
examples/rlfe.c, examples/rltest.c, examples/rlversion.c:
Modified files.
2002-12-08 22:31:39 +00:00
|
|
|
# HP-UX and Darwin/MacOS X require that a shared library have execute permission
|
2015-07-25 19:41:05 +00:00
|
|
|
# Linux does, too, and ldd warns about it
|
2006-05-05 18:26:14 +00:00
|
|
|
# Cygwin installs both a dll (which must go in $BINDIR) and an implicit
|
|
|
|
# link library (in $libdir)
|
readline:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Locally modified files: Makefile.in, configure.in, configure
(regenerated), config.h.in (regenerated), readline.h, rltty.c,
shell.c signals.c.
Locally added files: acconfig.h, config/*, config.h.bot,
cross-build/*, doc/inc-hit.texinfo.
New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
New files: excallback.c, rlfe.c.
doc:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
inclusion in the gdb manual.
New file: rluserman.texinfo
2000-07-09 17:20:00 +00:00
|
|
|
case "$host_os" in
|
2015-07-25 19:41:05 +00:00
|
|
|
hpux*|darwin*|macosx*|linux*)
|
Import of readline 4.3.
Non-readline modified files:
src/gdb/ChangeLog src/gdb/defs.h src/gdb/cli/cli-cmds.c
src/gdb/cli/cli-setshow.c src/gdb/tui/ChangeLog
src/gdb/tui/tuiWin.c
In readline directory:
* compat.c, mbutil.c, misc.c, rlmbutil.h, rltypedefs.h,
text.c, doc/history.0, doc/history.3, support/wcwidth.c,
examples/readlinebuf.h, examples/rlcat.c: New files.
* CHANGELOG, CHANGES, INSTALL, MANIFEST, Makefile.in, README,
aclocal.m4, ansi_stdlib.h, bind.c, callback.c, chardefs.h,
complete.c, config.h.in, configure, configure.in, display.c,
emacs_keymap.c, funmap.c, histexpand.c, histfile.c, histlib.h,
history.c, history.h, histsearch.c, input.c, isearch.c,
keymaps.c, keymaps.h, kill.c, macro.c, nls.c, parens.c,
posixdir.h, readline.c, readline.h, rlconf.h, rldefs.h,
rlprivate.h, rlshell.h, rlstdc.h, rltty.c, savestring.c,
search.c, shell.c, signals.c, terminal.c, tilde.c, tilde.h,
undo.c, util.c, vi_keymap.c, vi_mode.c, xmalloc.c, xmalloc.h,
doc/Makefile.in, doc/hist.texinfo, doc/hstech.texinfo,
doc/hsuser.texinfo, doc/manvers.texinfo, doc/readline.3,
doc/rlman.texinfo, doc/rltech.texinfo, doc/rluser.texinfo
doc/rluserman.texinfo, doc/texi2dvi, doc/texi2html,
shlib/Makefile.in, support/install.sh, support/mkdirs,
support/mkdist, support/shlib-install, support/shobj-conf,
examples/Inputrc, examples/Makefile.in, examples/fileman.c,
examples/histexamp.c, examples/manexamp.c, examples/rl.c,
examples/rlfe.c, examples/rltest.c, examples/rlversion.c:
Modified files.
2002-12-08 22:31:39 +00:00
|
|
|
if [ -z "$uninstall" ]; then
|
|
|
|
chmod 555 ${INSTALLDIR}/${LIBNAME}
|
readline:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Locally modified files: Makefile.in, configure.in, configure
(regenerated), config.h.in (regenerated), readline.h, rltty.c,
shell.c signals.c.
Locally added files: acconfig.h, config/*, config.h.bot,
cross-build/*, doc/inc-hit.texinfo.
New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
New files: excallback.c, rlfe.c.
doc:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
inclusion in the gdb manual.
New file: rluserman.texinfo
2000-07-09 17:20:00 +00:00
|
|
|
fi ;;
|
2011-05-11 23:38:44 +00:00
|
|
|
cygwin*|mingw*)
|
2006-05-05 18:26:14 +00:00
|
|
|
IMPLIBNAME=`echo ${LIBNAME} \
|
|
|
|
| sed -e 's,^cyg,lib,' -e 's,[0-9]*.dll$,.dll.a,'`
|
|
|
|
if [ -z "$uninstall" ]; then
|
|
|
|
${echo} $RM ${BINDIR}/${LIBNAME}.${OLDSUFF}
|
|
|
|
if [ -f "$BINDIR/$LIBNAME" ]; then
|
|
|
|
${echo} $MV $BINDIR/$LIBNAME $BINDIR/$LIBNAME.$OLDSUFF
|
|
|
|
fi
|
|
|
|
${echo} $MV ${INSTALLDIR}/${LIBNAME} ${BINDIR}/${LIBNAME}
|
|
|
|
${echo} chmod a+x ${BINDIR}/${LIBNAME}
|
|
|
|
${echo} eval ${INSTALLPROG} ${LIBNAME}.a \
|
|
|
|
${INSTALLDIR}/${IMPLIBNAME}
|
|
|
|
else
|
|
|
|
${echo} ${RM} ${BINDIR}/${LIBNAME}
|
|
|
|
${echo} ${RM} ${INSTALLDIR}/${IMPLIBNAME}
|
|
|
|
fi ;;
|
|
|
|
|
readline:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Locally modified files: Makefile.in, configure.in, configure
(regenerated), config.h.in (regenerated), readline.h, rltty.c,
shell.c signals.c.
Locally added files: acconfig.h, config/*, config.h.bot,
cross-build/*, doc/inc-hit.texinfo.
New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
New files: excallback.c, rlfe.c.
doc:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
inclusion in the gdb manual.
New file: rluserman.texinfo
2000-07-09 17:20:00 +00:00
|
|
|
*) ;;
|
|
|
|
esac
|
|
|
|
|
1999-08-02 23:48:02 +00:00
|
|
|
case "$LIBNAME" in
|
|
|
|
*.*.[0-9].[0-9]) # libname.so.M.N
|
|
|
|
LINK2=`echo $LIBNAME | sed 's:\(.*\..*\.[0-9]\)\.[0-9]:\1:'` # libname.so.M
|
|
|
|
LINK1=`echo $LIBNAME | sed 's:\(.*\..*\)\.[0-9]\.[0-9]:\1:'` # libname.so
|
|
|
|
;;
|
|
|
|
*.*.[0-9]) # libname.so.M
|
|
|
|
LINK1=`echo $LIBNAME | sed 's:\(.*\..*\)\.[0-9]:\1:'` # libname.so
|
|
|
|
;;
|
readline:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Locally modified files: Makefile.in, configure.in, configure
(regenerated), config.h.in (regenerated), readline.h, rltty.c,
shell.c signals.c.
Locally added files: acconfig.h, config/*, config.h.bot,
cross-build/*, doc/inc-hit.texinfo.
New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
New files: excallback.c, rlfe.c.
doc:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
inclusion in the gdb manual.
New file: rluserman.texinfo
2000-07-09 17:20:00 +00:00
|
|
|
*.[0-9]) # libname.M
|
|
|
|
LINK1=`echo $LIBNAME | sed 's:\(.*\)\.[0-9]:\1:'` # libname
|
|
|
|
;;
|
Import of readline 4.3.
Non-readline modified files:
src/gdb/ChangeLog src/gdb/defs.h src/gdb/cli/cli-cmds.c
src/gdb/cli/cli-setshow.c src/gdb/tui/ChangeLog
src/gdb/tui/tuiWin.c
In readline directory:
* compat.c, mbutil.c, misc.c, rlmbutil.h, rltypedefs.h,
text.c, doc/history.0, doc/history.3, support/wcwidth.c,
examples/readlinebuf.h, examples/rlcat.c: New files.
* CHANGELOG, CHANGES, INSTALL, MANIFEST, Makefile.in, README,
aclocal.m4, ansi_stdlib.h, bind.c, callback.c, chardefs.h,
complete.c, config.h.in, configure, configure.in, display.c,
emacs_keymap.c, funmap.c, histexpand.c, histfile.c, histlib.h,
history.c, history.h, histsearch.c, input.c, isearch.c,
keymaps.c, keymaps.h, kill.c, macro.c, nls.c, parens.c,
posixdir.h, readline.c, readline.h, rlconf.h, rldefs.h,
rlprivate.h, rlshell.h, rlstdc.h, rltty.c, savestring.c,
search.c, shell.c, signals.c, terminal.c, tilde.c, tilde.h,
undo.c, util.c, vi_keymap.c, vi_mode.c, xmalloc.c, xmalloc.h,
doc/Makefile.in, doc/hist.texinfo, doc/hstech.texinfo,
doc/hsuser.texinfo, doc/manvers.texinfo, doc/readline.3,
doc/rlman.texinfo, doc/rltech.texinfo, doc/rluser.texinfo
doc/rluserman.texinfo, doc/texi2dvi, doc/texi2html,
shlib/Makefile.in, support/install.sh, support/mkdirs,
support/mkdist, support/shlib-install, support/shobj-conf,
examples/Inputrc, examples/Makefile.in, examples/fileman.c,
examples/histexamp.c, examples/manexamp.c, examples/rl.c,
examples/rlfe.c, examples/rltest.c, examples/rlversion.c:
Modified files.
2002-12-08 22:31:39 +00:00
|
|
|
*.[0-9].[0-9].dylib) # libname.M.N.dylib
|
|
|
|
LINK2=`echo $LIBNAME | sed 's:\(.*\.[0-9]\)\.[0-9]:\1:'` # libname.M.dylib
|
|
|
|
LINK1=`echo $LIBNAME | sed 's:\(.*\)\.[0-9]\.[0-9]:\1:'` # libname.dylib
|
1999-08-02 23:48:02 +00:00
|
|
|
esac
|
|
|
|
|
2006-05-05 18:26:14 +00:00
|
|
|
INSTALL_LINK1='${echo} cd $INSTALLDIR && ${echo} ${LN} $LIBNAME $LINK1'
|
|
|
|
INSTALL_LINK2='${echo} cd $INSTALLDIR && ${echo} ${LN} $LIBNAME $LINK2'
|
Import of readline 4.3.
Non-readline modified files:
src/gdb/ChangeLog src/gdb/defs.h src/gdb/cli/cli-cmds.c
src/gdb/cli/cli-setshow.c src/gdb/tui/ChangeLog
src/gdb/tui/tuiWin.c
In readline directory:
* compat.c, mbutil.c, misc.c, rlmbutil.h, rltypedefs.h,
text.c, doc/history.0, doc/history.3, support/wcwidth.c,
examples/readlinebuf.h, examples/rlcat.c: New files.
* CHANGELOG, CHANGES, INSTALL, MANIFEST, Makefile.in, README,
aclocal.m4, ansi_stdlib.h, bind.c, callback.c, chardefs.h,
complete.c, config.h.in, configure, configure.in, display.c,
emacs_keymap.c, funmap.c, histexpand.c, histfile.c, histlib.h,
history.c, history.h, histsearch.c, input.c, isearch.c,
keymaps.c, keymaps.h, kill.c, macro.c, nls.c, parens.c,
posixdir.h, readline.c, readline.h, rlconf.h, rldefs.h,
rlprivate.h, rlshell.h, rlstdc.h, rltty.c, savestring.c,
search.c, shell.c, signals.c, terminal.c, tilde.c, tilde.h,
undo.c, util.c, vi_keymap.c, vi_mode.c, xmalloc.c, xmalloc.h,
doc/Makefile.in, doc/hist.texinfo, doc/hstech.texinfo,
doc/hsuser.texinfo, doc/manvers.texinfo, doc/readline.3,
doc/rlman.texinfo, doc/rltech.texinfo, doc/rluser.texinfo
doc/rluserman.texinfo, doc/texi2dvi, doc/texi2html,
shlib/Makefile.in, support/install.sh, support/mkdirs,
support/mkdist, support/shlib-install, support/shobj-conf,
examples/Inputrc, examples/Makefile.in, examples/fileman.c,
examples/histexamp.c, examples/manexamp.c, examples/rl.c,
examples/rlfe.c, examples/rltest.c, examples/rlversion.c:
Modified files.
2002-12-08 22:31:39 +00:00
|
|
|
|
1999-08-02 23:48:02 +00:00
|
|
|
#
|
|
|
|
# Create symlinks to the installed library. This section is incomplete.
|
|
|
|
#
|
2011-05-11 23:38:44 +00:00
|
|
|
case "$host_os-$host_vendor" in
|
|
|
|
*linux*|freebsd*-gentoo)
|
2006-05-05 18:26:14 +00:00
|
|
|
# libname.so.M -> libname.so.M.N
|
|
|
|
${echo} ${RM} ${INSTALLDIR}/$LINK2
|
|
|
|
if [ -z "$uninstall" ]; then
|
|
|
|
eval $INSTALL_LINK2
|
|
|
|
fi
|
|
|
|
|
|
|
|
# libname.so -> libname.so.M
|
|
|
|
${echo} ${RM} ${INSTALLDIR}/$LINK1
|
|
|
|
if [ -z "$uninstall" ]; then
|
|
|
|
${echo} cd $INSTALLDIR && ${echo} ${LN} $LINK2 $LINK1
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|
2015-07-25 19:41:05 +00:00
|
|
|
bsdi4*|*gnu*|darwin*|macosx*|netbsd*)
|
1999-08-02 23:48:02 +00:00
|
|
|
# libname.so.M -> libname.so.M.N
|
|
|
|
${echo} ${RM} ${INSTALLDIR}/$LINK2
|
|
|
|
if [ -z "$uninstall" ]; then
|
2006-05-05 18:26:14 +00:00
|
|
|
eval $INSTALL_LINK2
|
1999-08-02 23:48:02 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
# libname.so -> libname.so.M.N
|
|
|
|
${echo} ${RM} ${INSTALLDIR}/$LINK1
|
|
|
|
if [ -z "$uninstall" ]; then
|
2006-05-05 18:26:14 +00:00
|
|
|
eval $INSTALL_LINK1
|
1999-08-02 23:48:02 +00:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|
2011-05-11 23:38:44 +00:00
|
|
|
solaris2*|aix4.[2-9]*|aix[5-9]*|osf*|irix[56]*|sysv[45]*|dgux*|interix*)
|
1999-08-02 23:48:02 +00:00
|
|
|
# libname.so -> libname.so.M
|
|
|
|
${echo} ${RM} ${INSTALLDIR}/$LINK1
|
|
|
|
if [ -z "$uninstall" ]; then
|
2006-05-05 18:26:14 +00:00
|
|
|
eval $INSTALL_LINK1
|
1999-08-02 23:48:02 +00:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|
readline:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Locally modified files: Makefile.in, configure.in, configure
(regenerated), config.h.in (regenerated), readline.h, rltty.c,
shell.c signals.c.
Locally added files: acconfig.h, config/*, config.h.bot,
cross-build/*, doc/inc-hit.texinfo.
New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
New files: excallback.c, rlfe.c.
doc:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
inclusion in the gdb manual.
New file: rluserman.texinfo
2000-07-09 17:20:00 +00:00
|
|
|
|
Import of readline 4.3.
Non-readline modified files:
src/gdb/ChangeLog src/gdb/defs.h src/gdb/cli/cli-cmds.c
src/gdb/cli/cli-setshow.c src/gdb/tui/ChangeLog
src/gdb/tui/tuiWin.c
In readline directory:
* compat.c, mbutil.c, misc.c, rlmbutil.h, rltypedefs.h,
text.c, doc/history.0, doc/history.3, support/wcwidth.c,
examples/readlinebuf.h, examples/rlcat.c: New files.
* CHANGELOG, CHANGES, INSTALL, MANIFEST, Makefile.in, README,
aclocal.m4, ansi_stdlib.h, bind.c, callback.c, chardefs.h,
complete.c, config.h.in, configure, configure.in, display.c,
emacs_keymap.c, funmap.c, histexpand.c, histfile.c, histlib.h,
history.c, history.h, histsearch.c, input.c, isearch.c,
keymaps.c, keymaps.h, kill.c, macro.c, nls.c, parens.c,
posixdir.h, readline.c, readline.h, rlconf.h, rldefs.h,
rlprivate.h, rlshell.h, rlstdc.h, rltty.c, savestring.c,
search.c, shell.c, signals.c, terminal.c, tilde.c, tilde.h,
undo.c, util.c, vi_keymap.c, vi_mode.c, xmalloc.c, xmalloc.h,
doc/Makefile.in, doc/hist.texinfo, doc/hstech.texinfo,
doc/hsuser.texinfo, doc/manvers.texinfo, doc/readline.3,
doc/rlman.texinfo, doc/rltech.texinfo, doc/rluser.texinfo
doc/rluserman.texinfo, doc/texi2dvi, doc/texi2html,
shlib/Makefile.in, support/install.sh, support/mkdirs,
support/mkdist, support/shlib-install, support/shobj-conf,
examples/Inputrc, examples/Makefile.in, examples/fileman.c,
examples/histexamp.c, examples/manexamp.c, examples/rl.c,
examples/rlfe.c, examples/rltest.c, examples/rlversion.c:
Modified files.
2002-12-08 22:31:39 +00:00
|
|
|
# FreeBSD 3.x and above can have either a.out or ELF shared libraries
|
2011-05-11 23:38:44 +00:00
|
|
|
freebsd3*|freebsdaout*)
|
readline:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Locally modified files: Makefile.in, configure.in, configure
(regenerated), config.h.in (regenerated), readline.h, rltty.c,
shell.c signals.c.
Locally added files: acconfig.h, config/*, config.h.bot,
cross-build/*, doc/inc-hit.texinfo.
New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
New files: excallback.c, rlfe.c.
doc:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
inclusion in the gdb manual.
New file: rluserman.texinfo
2000-07-09 17:20:00 +00:00
|
|
|
if [ -x /usr/bin/objformat ] && [ "`/usr/bin/objformat`" = "elf" ]; then
|
|
|
|
# libname.so -> libname.so.M
|
|
|
|
${echo} ${RM} ${INSTALLDIR}/$LINK1
|
|
|
|
if [ -z "$uninstall" ]; then
|
2006-05-05 18:26:14 +00:00
|
|
|
eval $INSTALL_LINK1
|
readline:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Locally modified files: Makefile.in, configure.in, configure
(regenerated), config.h.in (regenerated), readline.h, rltty.c,
shell.c signals.c.
Locally added files: acconfig.h, config/*, config.h.bot,
cross-build/*, doc/inc-hit.texinfo.
New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
New files: excallback.c, rlfe.c.
doc:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
inclusion in the gdb manual.
New file: rluserman.texinfo
2000-07-09 17:20:00 +00:00
|
|
|
fi
|
|
|
|
else
|
|
|
|
# libname.so.M -> libname.so.M.N
|
|
|
|
${echo} ${RM} ${INSTALLDIR}/$LINK2
|
|
|
|
if [ -z "$uninstall" ]; then
|
2006-05-05 18:26:14 +00:00
|
|
|
eval $INSTALL_LINK2
|
readline:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Locally modified files: Makefile.in, configure.in, configure
(regenerated), config.h.in (regenerated), readline.h, rltty.c,
shell.c signals.c.
Locally added files: acconfig.h, config/*, config.h.bot,
cross-build/*, doc/inc-hit.texinfo.
New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
New files: excallback.c, rlfe.c.
doc:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
inclusion in the gdb manual.
New file: rluserman.texinfo
2000-07-09 17:20:00 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
# libname.so -> libname.so.M.N
|
|
|
|
${echo} ${RM} ${INSTALLDIR}/$LINK1
|
|
|
|
if [ -z "$uninstall" ]; then
|
2006-05-05 18:26:14 +00:00
|
|
|
eval $INSTALL_LINK1
|
readline:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Locally modified files: Makefile.in, configure.in, configure
(regenerated), config.h.in (regenerated), readline.h, rltty.c,
shell.c signals.c.
Locally added files: acconfig.h, config/*, config.h.bot,
cross-build/*, doc/inc-hit.texinfo.
New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
New files: excallback.c, rlfe.c.
doc:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
inclusion in the gdb manual.
New file: rluserman.texinfo
2000-07-09 17:20:00 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|
2015-07-25 19:41:05 +00:00
|
|
|
freebsd[4-9]*|freebsdelf*|dragonfly*)
|
2011-05-11 23:38:44 +00:00
|
|
|
# libname.so -> libname.so.M
|
|
|
|
${echo} ${RM} ${INSTALLDIR}/$LINK1
|
|
|
|
if [ -z "$uninstall" ]; then
|
|
|
|
eval $INSTALL_LINK1
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|
readline:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Locally modified files: Makefile.in, configure.in, configure
(regenerated), config.h.in (regenerated), readline.h, rltty.c,
shell.c signals.c.
Locally added files: acconfig.h, config/*, config.h.bot,
cross-build/*, doc/inc-hit.texinfo.
New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
New files: excallback.c, rlfe.c.
doc:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
inclusion in the gdb manual.
New file: rluserman.texinfo
2000-07-09 17:20:00 +00:00
|
|
|
hpux1*)
|
|
|
|
# libname.sl -> libname.M
|
|
|
|
${echo} ${RM} ${INSTALLDIR}/$LINK1.sl
|
|
|
|
if [ -z "$uninstall" ]; then
|
2006-05-05 18:26:14 +00:00
|
|
|
eval $INSTALL_LINK1
|
readline:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Locally modified files: Makefile.in, configure.in, configure
(regenerated), config.h.in (regenerated), readline.h, rltty.c,
shell.c signals.c.
Locally added files: acconfig.h, config/*, config.h.bot,
cross-build/*, doc/inc-hit.texinfo.
New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
New files: excallback.c, rlfe.c.
doc:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
inclusion in the gdb manual.
New file: rluserman.texinfo
2000-07-09 17:20:00 +00:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|
2011-05-11 23:38:44 +00:00
|
|
|
cygwin*|mingw*)
|
2006-05-05 18:26:14 +00:00
|
|
|
# Links to .dlls don't work. Hence shobj-conf used DLLVERSION.dll
|
|
|
|
# instead of so.SHLIB_MAJOR.SHLIB_MINOR. The postinstall above
|
|
|
|
# took care of everything else.
|
|
|
|
;;
|
|
|
|
|
1999-08-02 23:48:02 +00:00
|
|
|
*) ;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
exit 0
|