diff options
author | Chet Ramey <chet.ramey@case.edu> | 2021-01-18 13:42:55 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2021-01-18 13:42:55 -0500 |
commit | cf3c762ecfff5b2f445647a0f1543693984a5540 (patch) | |
tree | e21eb36970a06b1d8a2df6a97a161da43410e136 /support/shlib-install | |
parent | c5ad6be530f5c1daf64a2d20df4baba9f6b57aa4 (diff) | |
download | readline-cf3c762ecfff5b2f445647a0f1543693984a5540.tar.gz |
Readline-8.1 distribution sources and documentationreadline-8.1
Diffstat (limited to 'support/shlib-install')
-rwxr-xr-x | support/shlib-install | 36 |
1 files changed, 2 insertions, 34 deletions
diff --git a/support/shlib-install b/support/shlib-install index f4eea27..661355d 100755 --- a/support/shlib-install +++ b/support/shlib-install @@ -17,7 +17,7 @@ LDCONFIG=ldconfig PROGNAME=`basename $0` USAGE="$PROGNAME [-D] -O host_os [-V host_vendor] -d installation-dir [-b bin-dir] -i install-prog [-U] library" -# process options +# process options - should use getopts while [ $# -gt 0 ]; do case "$1" in @@ -118,7 +118,7 @@ INSTALL_LINK2='${echo} cd $INSTALLDIR && ${echo} ${LN} $LIBNAME $LINK2' # Create symlinks to the installed library. This section is incomplete. # case "$host_os-$host_vendor" in -*linux*|freebsd*-gentoo) +*linux*|freebsd*|dragonfly*) # libname.so.M -> libname.so.M.N ${echo} ${RM} ${INSTALLDIR}/$LINK2 if [ -z "$uninstall" ]; then @@ -154,38 +154,6 @@ solaris2*|aix4.[2-9]*|aix[5-9]*|osf*|irix[56]*|sysv[45]*|dgux*|interix*) fi ;; - -# FreeBSD 3.x and above can have either a.out or ELF shared libraries -freebsd3*|freebsdaout*) - if [ -x /usr/bin/objformat ] && [ "`/usr/bin/objformat`" = "elf" ]; then - # libname.so -> libname.so.M - ${echo} ${RM} ${INSTALLDIR}/$LINK1 - if [ -z "$uninstall" ]; then - eval $INSTALL_LINK1 - fi - else - # libname.so.M -> libname.so.M.N - ${echo} ${RM} ${INSTALLDIR}/$LINK2 - if [ -z "$uninstall" ]; then - eval $INSTALL_LINK2 - fi - - # libname.so -> libname.so.M.N - ${echo} ${RM} ${INSTALLDIR}/$LINK1 - if [ -z "$uninstall" ]; then - eval $INSTALL_LINK1 - fi - fi - ;; - -freebsd[4-9]*|freebsd1[0-9]*|freebsdelf*|dragonfly*) - # libname.so -> libname.so.M - ${echo} ${RM} ${INSTALLDIR}/$LINK1 - if [ -z "$uninstall" ]; then - eval $INSTALL_LINK1 - fi - ;; - hpux1*) # libname.sl -> libname.M ${echo} ${RM} ${INSTALLDIR}/$LINK1.sl |