cSvn-UI for SVN Repositories

cGit-UI – is a web interface for Subversion (SVN) Repositories. cSvn CGI script is writen in C and therefore it's fast enough

15 Commits   0 Branches   1 Tag
     5         kx #! /bin/sh
     5         kx # Output a system dependent set of variables, describing how to set the
     5         kx # run time search path of shared libraries in an executable.
     5         kx #
     5         kx #   Copyright 1996-2016 Free Software Foundation, Inc.
     5         kx #   Taken from GNU libtool, 2001
     5         kx #   Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
     5         kx #
     5         kx #   This file is free software; the Free Software Foundation gives
     5         kx #   unlimited permission to copy and/or distribute it, with or without
     5         kx #   modifications, as long as this notice is preserved.
     5         kx #
     5         kx # The first argument passed to this file is the canonical host specification,
     5         kx #    CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
     5         kx # or
     5         kx #    CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
     5         kx # The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
     5         kx # should be set by the caller.
     5         kx #
     5         kx # The set of defined variables is at the end of this script.
     5         kx 
     5         kx # Known limitations:
     5         kx # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
     5         kx #   than 256 bytes, otherwise the compiler driver will dump core. The only
     5         kx #   known workaround is to choose shorter directory names for the build
     5         kx #   directory and/or the installation directory.
     5         kx 
     5         kx # All known linkers require a '.a' archive for static linking (except MSVC,
     5         kx # which needs '.lib').
     5         kx libext=a
     5         kx shrext=.so
     5         kx 
     5         kx host="$1"
     5         kx host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     5         kx host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     5         kx host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     5         kx 
     5         kx # Code taken from libtool.m4's _LT_CC_BASENAME.
     5         kx 
     5         kx for cc_temp in $CC""; do
     5         kx   case $cc_temp in
     5         kx     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     5         kx     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
     5         kx     \-*) ;;
     5         kx     *) break;;
     5         kx   esac
     5         kx done
     5         kx cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
     5         kx 
     5         kx # Code taken from libtool.m4's _LT_COMPILER_PIC.
     5         kx 
     5         kx wl=
     5         kx if test "$GCC" = yes; then
     5         kx   wl='-Wl,'
     5         kx else
     5         kx   case "$host_os" in
     5         kx     aix*)
     5         kx       wl='-Wl,'
     5         kx       ;;
     5         kx     mingw* | cygwin* | pw32* | os2* | cegcc*)
     5         kx       ;;
     5         kx     hpux9* | hpux10* | hpux11*)
     5         kx       wl='-Wl,'
     5         kx       ;;
     5         kx     irix5* | irix6* | nonstopux*)
     5         kx       wl='-Wl,'
     5         kx       ;;
     5         kx     linux* | k*bsd*-gnu | kopensolaris*-gnu)
     5         kx       case $cc_basename in
     5         kx         ecc*)
     5         kx           wl='-Wl,'
     5         kx           ;;
     5         kx         icc* | ifort*)
     5         kx           wl='-Wl,'
     5         kx           ;;
     5         kx         lf95*)
     5         kx           wl='-Wl,'
     5         kx           ;;
     5         kx         nagfor*)
     5         kx           wl='-Wl,-Wl,,'
     5         kx           ;;
     5         kx         pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
     5         kx           wl='-Wl,'
     5         kx           ;;
     5         kx         ccc*)
     5         kx           wl='-Wl,'
     5         kx           ;;
     5         kx         xl* | bgxl* | bgf* | mpixl*)
     5         kx           wl='-Wl,'
     5         kx           ;;
     5         kx         como)
     5         kx           wl='-lopt='
     5         kx           ;;
     5         kx         *)
     5         kx           case `$CC -V 2>&1 | sed 5q` in
     5         kx             *Sun\ F* | *Sun*Fortran*)
     5         kx               wl=
     5         kx               ;;
     5         kx             *Sun\ C*)
     5         kx               wl='-Wl,'
     5         kx               ;;
     5         kx           esac
     5         kx           ;;
     5         kx       esac
     5         kx       ;;
     5         kx     newsos6)
     5         kx       ;;
     5         kx     *nto* | *qnx*)
     5         kx       ;;
     5         kx     osf3* | osf4* | osf5*)
     5         kx       wl='-Wl,'
     5         kx       ;;
     5         kx     rdos*)
     5         kx       ;;
     5         kx     solaris*)
     5         kx       case $cc_basename in
     5         kx         f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
     5         kx           wl='-Qoption ld '
     5         kx           ;;
     5         kx         *)
     5         kx           wl='-Wl,'
     5         kx           ;;
     5         kx       esac
     5         kx       ;;
     5         kx     sunos4*)
     5         kx       wl='-Qoption ld '
     5         kx       ;;
     5         kx     sysv4 | sysv4.2uw2* | sysv4.3*)
     5         kx       wl='-Wl,'
     5         kx       ;;
     5         kx     sysv4*MP*)
     5         kx       ;;
     5         kx     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
     5         kx       wl='-Wl,'
     5         kx       ;;
     5         kx     unicos*)
     5         kx       wl='-Wl,'
     5         kx       ;;
     5         kx     uts4*)
     5         kx       ;;
     5         kx   esac
     5         kx fi
     5         kx 
     5         kx # Code taken from libtool.m4's _LT_LINKER_SHLIBS.
     5         kx 
     5         kx hardcode_libdir_flag_spec=
     5         kx hardcode_libdir_separator=
     5         kx hardcode_direct=no
     5         kx hardcode_minus_L=no
     5         kx 
     5         kx case "$host_os" in
     5         kx   cygwin* | mingw* | pw32* | cegcc*)
     5         kx     # FIXME: the MSVC++ port hasn't been tested in a loooong time
     5         kx     # When not using gcc, we currently assume that we are using
     5         kx     # Microsoft Visual C++.
     5         kx     if test "$GCC" != yes; then
     5         kx       with_gnu_ld=no
     5         kx     fi
     5         kx     ;;
     5         kx   interix*)
     5         kx     # we just hope/assume this is gcc and not c89 (= MSVC++)
     5         kx     with_gnu_ld=yes
     5         kx     ;;
     5         kx   openbsd*)
     5         kx     with_gnu_ld=no
     5         kx     ;;
     5         kx esac
     5         kx 
     5         kx ld_shlibs=yes
     5         kx if test "$with_gnu_ld" = yes; then
     5         kx   # Set some defaults for GNU ld with shared library support. These
     5         kx   # are reset later if shared libraries are not supported. Putting them
     5         kx   # here allows them to be overridden if necessary.
     5         kx   # Unlike libtool, we use -rpath here, not --rpath, since the documented
     5         kx   # option of GNU ld is called -rpath, not --rpath.
     5         kx   hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     5         kx   case "$host_os" in
     5         kx     aix[3-9]*)
     5         kx       # On AIX/PPC, the GNU linker is very broken
     5         kx       if test "$host_cpu" != ia64; then
     5         kx         ld_shlibs=no
     5         kx       fi
     5         kx       ;;
     5         kx     amigaos*)
     5         kx       case "$host_cpu" in
     5         kx         powerpc)
     5         kx           ;;
     5         kx         m68k)
     5         kx           hardcode_libdir_flag_spec='-L$libdir'
     5         kx           hardcode_minus_L=yes
     5         kx           ;;
     5         kx       esac
     5         kx       ;;
     5         kx     beos*)
     5         kx       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
     5         kx         :
     5         kx       else
     5         kx         ld_shlibs=no
     5         kx       fi
     5         kx       ;;
     5         kx     cygwin* | mingw* | pw32* | cegcc*)
     5         kx       # hardcode_libdir_flag_spec is actually meaningless, as there is
     5         kx       # no search path for DLLs.
     5         kx       hardcode_libdir_flag_spec='-L$libdir'
     5         kx       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
     5         kx         :
     5         kx       else
     5         kx         ld_shlibs=no
     5         kx       fi
     5         kx       ;;
     5         kx     haiku*)
     5         kx       ;;
     5         kx     interix[3-9]*)
     5         kx       hardcode_direct=no
     5         kx       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
     5         kx       ;;
     5         kx     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
     5         kx       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
     5         kx         :
     5         kx       else
     5         kx         ld_shlibs=no
     5         kx       fi
     5         kx       ;;
     5         kx     netbsd*)
     5         kx       ;;
     5         kx     solaris*)
     5         kx       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
     5         kx         ld_shlibs=no
     5         kx       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
     5         kx         :
     5         kx       else
     5         kx         ld_shlibs=no
     5         kx       fi
     5         kx       ;;
     5         kx     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
     5         kx       case `$LD -v 2>&1` in
     5         kx         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
     5         kx           ld_shlibs=no
     5         kx           ;;
     5         kx         *)
     5         kx           if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
     5         kx             hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
     5         kx           else
     5         kx             ld_shlibs=no
     5         kx           fi
     5         kx           ;;
     5         kx       esac
     5         kx       ;;
     5         kx     sunos4*)
     5         kx       hardcode_direct=yes
     5         kx       ;;
     5         kx     *)
     5         kx       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
     5         kx         :
     5         kx       else
     5         kx         ld_shlibs=no
     5         kx       fi
     5         kx       ;;
     5         kx   esac
     5         kx   if test "$ld_shlibs" = no; then
     5         kx     hardcode_libdir_flag_spec=
     5         kx   fi
     5         kx else
     5         kx   case "$host_os" in
     5         kx     aix3*)
     5         kx       # Note: this linker hardcodes the directories in LIBPATH if there
     5         kx       # are no directories specified by -L.
     5         kx       hardcode_minus_L=yes
     5         kx       if test "$GCC" = yes; then
     5         kx         # Neither direct hardcoding nor static linking is supported with a
     5         kx         # broken collect2.
     5         kx         hardcode_direct=unsupported
     5         kx       fi
     5         kx       ;;
     5         kx     aix[4-9]*)
     5         kx       if test "$host_cpu" = ia64; then
     5         kx         # On IA64, the linker does run time linking by default, so we don't
     5         kx         # have to do anything special.
     5         kx         aix_use_runtimelinking=no
     5         kx       else
     5         kx         aix_use_runtimelinking=no
     5         kx         # Test if we are trying to use run time linking or normal
     5         kx         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
     5         kx         # need to do runtime linking.
     5         kx         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
     5         kx           for ld_flag in $LDFLAGS; do
     5         kx             if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
     5         kx               aix_use_runtimelinking=yes
     5         kx               break
     5         kx             fi
     5         kx           done
     5         kx           ;;
     5         kx         esac
     5         kx       fi
     5         kx       hardcode_direct=yes
     5         kx       hardcode_libdir_separator=':'
     5         kx       if test "$GCC" = yes; then
     5         kx         case $host_os in aix4.[012]|aix4.[012].*)
     5         kx           collect2name=`${CC} -print-prog-name=collect2`
     5         kx           if test -f "$collect2name" && \
     5         kx             strings "$collect2name" | grep resolve_lib_name >/dev/null
     5         kx           then
     5         kx             # We have reworked collect2
     5         kx             :
     5         kx           else
     5         kx             # We have old collect2
     5         kx             hardcode_direct=unsupported
     5         kx             hardcode_minus_L=yes
     5         kx             hardcode_libdir_flag_spec='-L$libdir'
     5         kx             hardcode_libdir_separator=
     5         kx           fi
     5         kx           ;;
     5         kx         esac
     5         kx       fi
     5         kx       # Begin _LT_AC_SYS_LIBPATH_AIX.
     5         kx       echo 'int main () { return 0; }' > conftest.c
     5         kx       ${CC} ${LDFLAGS} conftest.c -o conftest
     5         kx       aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
     5         kx }'`
     5         kx       if test -z "$aix_libpath"; then
     5         kx         aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
     5         kx }'`
     5         kx       fi
     5         kx       if test -z "$aix_libpath"; then
     5         kx         aix_libpath="/usr/lib:/lib"
     5         kx       fi
     5         kx       rm -f conftest.c conftest
     5         kx       # End _LT_AC_SYS_LIBPATH_AIX.
     5         kx       if test "$aix_use_runtimelinking" = yes; then
     5         kx         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
     5         kx       else
     5         kx         if test "$host_cpu" = ia64; then
     5         kx           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
     5         kx         else
     5         kx           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
     5         kx         fi
     5         kx       fi
     5         kx       ;;
     5         kx     amigaos*)
     5         kx       case "$host_cpu" in
     5         kx         powerpc)
     5         kx           ;;
     5         kx         m68k)
     5         kx           hardcode_libdir_flag_spec='-L$libdir'
     5         kx           hardcode_minus_L=yes
     5         kx           ;;
     5         kx       esac
     5         kx       ;;
     5         kx     bsdi[45]*)
     5         kx       ;;
     5         kx     cygwin* | mingw* | pw32* | cegcc*)
     5         kx       # When not using gcc, we currently assume that we are using
     5         kx       # Microsoft Visual C++.
     5         kx       # hardcode_libdir_flag_spec is actually meaningless, as there is
     5         kx       # no search path for DLLs.
     5         kx       hardcode_libdir_flag_spec=' '
     5         kx       libext=lib
     5         kx       ;;
     5         kx     darwin* | rhapsody*)
     5         kx       hardcode_direct=no
     5         kx       if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then
     5         kx         :
     5         kx       else
     5         kx         ld_shlibs=no
     5         kx       fi
     5         kx       ;;
     5         kx     dgux*)
     5         kx       hardcode_libdir_flag_spec='-L$libdir'
     5         kx       ;;
     5         kx     freebsd2.[01]*)
     5         kx       hardcode_direct=yes
     5         kx       hardcode_minus_L=yes
     5         kx       ;;
     5         kx     freebsd* | dragonfly*)
     5         kx       hardcode_libdir_flag_spec='-R$libdir'
     5         kx       hardcode_direct=yes
     5         kx       ;;
     5         kx     hpux9*)
     5         kx       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
     5         kx       hardcode_libdir_separator=:
     5         kx       hardcode_direct=yes
     5         kx       # hardcode_minus_L: Not really in the search PATH,
     5         kx       # but as the default location of the library.
     5         kx       hardcode_minus_L=yes
     5         kx       ;;
     5         kx     hpux10*)
     5         kx       if test "$with_gnu_ld" = no; then
     5         kx         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
     5         kx         hardcode_libdir_separator=:
     5         kx         hardcode_direct=yes
     5         kx         # hardcode_minus_L: Not really in the search PATH,
     5         kx         # but as the default location of the library.
     5         kx         hardcode_minus_L=yes
     5         kx       fi
     5         kx       ;;
     5         kx     hpux11*)
     5         kx       if test "$with_gnu_ld" = no; then
     5         kx         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
     5         kx         hardcode_libdir_separator=:
     5         kx         case $host_cpu in
     5         kx           hppa*64*|ia64*)
     5         kx             hardcode_direct=no
     5         kx             ;;
     5         kx           *)
     5         kx             hardcode_direct=yes
     5         kx             # hardcode_minus_L: Not really in the search PATH,
     5         kx             # but as the default location of the library.
     5         kx             hardcode_minus_L=yes
     5         kx             ;;
     5         kx         esac
     5         kx       fi
     5         kx       ;;
     5         kx     irix5* | irix6* | nonstopux*)
     5         kx       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     5         kx       hardcode_libdir_separator=:
     5         kx       ;;
     5         kx     netbsd*)
     5         kx       hardcode_libdir_flag_spec='-R$libdir'
     5         kx       hardcode_direct=yes
     5         kx       ;;
     5         kx     newsos6)
     5         kx       hardcode_direct=yes
     5         kx       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     5         kx       hardcode_libdir_separator=:
     5         kx       ;;
     5         kx     *nto* | *qnx*)
     5         kx       ;;
     5         kx     openbsd*)
     5         kx       if test -f /usr/libexec/ld.so; then
     5         kx         hardcode_direct=yes
     5         kx         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     5         kx           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
     5         kx         else
     5         kx           case "$host_os" in
     5         kx             openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
     5         kx               hardcode_libdir_flag_spec='-R$libdir'
     5         kx               ;;
     5         kx             *)
     5         kx               hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
     5         kx               ;;
     5         kx           esac
     5         kx         fi
     5         kx       else
     5         kx         ld_shlibs=no
     5         kx       fi
     5         kx       ;;
     5         kx     os2*)
     5         kx       hardcode_libdir_flag_spec='-L$libdir'
     5         kx       hardcode_minus_L=yes
     5         kx       ;;
     5         kx     osf3*)
     5         kx       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     5         kx       hardcode_libdir_separator=:
     5         kx       ;;
     5         kx     osf4* | osf5*)
     5         kx       if test "$GCC" = yes; then
     5         kx         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     5         kx       else
     5         kx         # Both cc and cxx compiler support -rpath directly
     5         kx         hardcode_libdir_flag_spec='-rpath $libdir'
     5         kx       fi
     5         kx       hardcode_libdir_separator=:
     5         kx       ;;
     5         kx     solaris*)
     5         kx       hardcode_libdir_flag_spec='-R$libdir'
     5         kx       ;;
     5         kx     sunos4*)
     5         kx       hardcode_libdir_flag_spec='-L$libdir'
     5         kx       hardcode_direct=yes
     5         kx       hardcode_minus_L=yes
     5         kx       ;;
     5         kx     sysv4)
     5         kx       case $host_vendor in
     5         kx         sni)
     5         kx           hardcode_direct=yes # is this really true???
     5         kx           ;;
     5         kx         siemens)
     5         kx           hardcode_direct=no
     5         kx           ;;
     5         kx         motorola)
     5         kx           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
     5         kx           ;;
     5         kx       esac
     5         kx       ;;
     5         kx     sysv4.3*)
     5         kx       ;;
     5         kx     sysv4*MP*)
     5         kx       if test -d /usr/nec; then
     5         kx         ld_shlibs=yes
     5         kx       fi
     5         kx       ;;
     5         kx     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
     5         kx       ;;
     5         kx     sysv5* | sco3.2v5* | sco5v6*)
     5         kx       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
     5         kx       hardcode_libdir_separator=':'
     5         kx       ;;
     5         kx     uts4*)
     5         kx       hardcode_libdir_flag_spec='-L$libdir'
     5         kx       ;;
     5         kx     *)
     5         kx       ld_shlibs=no
     5         kx       ;;
     5         kx   esac
     5         kx fi
     5         kx 
     5         kx # Check dynamic linker characteristics
     5         kx # Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER.
     5         kx # Unlike libtool.m4, here we don't care about _all_ names of the library, but
     5         kx # only about the one the linker finds when passed -lNAME. This is the last
     5         kx # element of library_names_spec in libtool.m4, or possibly two of them if the
     5         kx # linker has special search rules.
     5         kx library_names_spec=      # the last element of library_names_spec in libtool.m4
     5         kx libname_spec='lib$name'
     5         kx case "$host_os" in
     5         kx   aix3*)
     5         kx     library_names_spec='$libname.a'
     5         kx     ;;
     5         kx   aix[4-9]*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   amigaos*)
     5         kx     case "$host_cpu" in
     5         kx       powerpc*)
     5         kx         library_names_spec='$libname$shrext' ;;
     5         kx       m68k)
     5         kx         library_names_spec='$libname.a' ;;
     5         kx     esac
     5         kx     ;;
     5         kx   beos*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   bsdi[45]*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   cygwin* | mingw* | pw32* | cegcc*)
     5         kx     shrext=.dll
     5         kx     library_names_spec='$libname.dll.a $libname.lib'
     5         kx     ;;
     5         kx   darwin* | rhapsody*)
     5         kx     shrext=.dylib
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   dgux*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   freebsd[23].*)
     5         kx     library_names_spec='$libname$shrext$versuffix'
     5         kx     ;;
     5         kx   freebsd* | dragonfly*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   gnu*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   haiku*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   hpux9* | hpux10* | hpux11*)
     5         kx     case $host_cpu in
     5         kx       ia64*)
     5         kx         shrext=.so
     5         kx         ;;
     5         kx       hppa*64*)
     5         kx         shrext=.sl
     5         kx         ;;
     5         kx       *)
     5         kx         shrext=.sl
     5         kx         ;;
     5         kx     esac
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   interix[3-9]*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   irix5* | irix6* | nonstopux*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     case "$host_os" in
     5         kx       irix5* | nonstopux*)
     5         kx         libsuff= shlibsuff=
     5         kx         ;;
     5         kx       *)
     5         kx         case $LD in
     5         kx           *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
     5         kx           *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
     5         kx           *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
     5         kx           *) libsuff= shlibsuff= ;;
     5         kx         esac
     5         kx         ;;
     5         kx     esac
     5         kx     ;;
     5         kx   linux*oldld* | linux*aout* | linux*coff*)
     5         kx     ;;
     5         kx   linux* | k*bsd*-gnu | kopensolaris*-gnu)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   knetbsd*-gnu)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   netbsd*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   newsos6)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   *nto* | *qnx*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   openbsd*)
     5         kx     library_names_spec='$libname$shrext$versuffix'
     5         kx     ;;
     5         kx   os2*)
     5         kx     libname_spec='$name'
     5         kx     shrext=.dll
     5         kx     library_names_spec='$libname.a'
     5         kx     ;;
     5         kx   osf3* | osf4* | osf5*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   rdos*)
     5         kx     ;;
     5         kx   solaris*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   sunos4*)
     5         kx     library_names_spec='$libname$shrext$versuffix'
     5         kx     ;;
     5         kx   sysv4 | sysv4.3*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   sysv4*MP*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   tpf*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx   uts4*)
     5         kx     library_names_spec='$libname$shrext'
     5         kx     ;;
     5         kx esac
     5         kx 
     5         kx sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
     5         kx escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
     5         kx shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
     5         kx escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
     5         kx escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
     5         kx escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
     5         kx 
     5         kx LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
     5         kx 
     5         kx # How to pass a linker flag through the compiler.
     5         kx wl="$escaped_wl"
     5         kx 
     5         kx # Static library suffix (normally "a").
     5         kx libext="$libext"
     5         kx 
     5         kx # Shared library suffix (normally "so").
     5         kx shlibext="$shlibext"
     5         kx 
     5         kx # Format of library name prefix.
     5         kx libname_spec="$escaped_libname_spec"
     5         kx 
     5         kx # Library names that the linker finds when passed -lNAME.
     5         kx library_names_spec="$escaped_library_names_spec"
     5         kx 
     5         kx # Flag to hardcode \$libdir into a binary during linking.
     5         kx # This must work even if \$libdir does not exist.
     5         kx hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
     5         kx 
     5         kx # Whether we need a single -rpath flag with a separated argument.
     5         kx hardcode_libdir_separator="$hardcode_libdir_separator"
     5         kx 
     5         kx # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
     5         kx # resulting binary.
     5         kx hardcode_direct="$hardcode_direct"
     5         kx 
     5         kx # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
     5         kx # resulting binary.
     5         kx hardcode_minus_L="$hardcode_minus_L"
     5         kx 
     5         kx EOF