* configure.in: Delete old and already disabled code relating to shared library
authorKen Raeburn <raeburn@mit.edu>
Tue, 6 Jul 1999 23:16:47 +0000 (23:16 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 6 Jul 1999 23:16:47 +0000 (23:16 +0000)
support.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11544 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/configure.in

index 5043a7ced956fc561b0c0d68a7b8004f5e444c8a..8dad6f314eb0b6f9940bdfaa9fb53d56a6d547fb 100644 (file)
@@ -1,3 +1,8 @@
+1999-07-06  Ken Raeburn  <raeburn@mit.edu>
+
+       * configure.in: Delete old and already disabled code relating to
+       shared library support.
+
 1999-06-15  Danilo Almeida  <dalmeida@mit.edu>
 
        * Makefile.in: Create Makefile.in for srvtab keytab code during
index b1b9049a39ca7bdb392f6f2b96619c705358c47d..26f8f3909cf294bd103dd74cfbb72821988fbb1f 100644 (file)
@@ -13,238 +13,6 @@ yes;
 ])dnl
 AC_MSG_RESULT($krb5_cv_prog_gcc)
 dnl
-ifelse([AC_MSG_CHECKING([for build host])
-AC_CACHE_VAL(krb5_cv_host, [export CC
-AC_CANONICAL_HOST
-krb5_cv_host=$host])
-AC_MSG_RESULT($krb5_cv_host)
-dnl
-dnl Do the shared library grot....
-dnl
-AC_ARG_ENABLE([shared],
-[  --enable-shared         build shared libraries],[
-case $krb5_cv_host in
-*-*-netbsd*)
-       echo "Enabling shared libraries for NetBSD...."
-       krb5_cv_shlibs_cflags=-fpic
-       krb5_cv_shlibs_ext=so
-       krb5_cv_noshlibs_ext=a
-krb5_cv_shlibs_versioned_filenames=yes # version in filename of library
-       krb5_cv_shlibs_need_nover=no
-       krb5_cv_shlibs_dir=shared
-       krb5_cv_shlibs_ldflag=
-       krb5_cv_noshlibs_ldflag="-static"
-       krb5_cv_shlibs_sym_ufo="-u "
-       krb5_cv_shlibs_dirhead="-Wl,-R -Wl,"
-       krb5_cv_exe_need_dirs=yes
-       krb5_cv_shlibs_use_dirs=yes
-       krb5_cv_shlibs_use_colon_dirs=no
-       krb5_cv_shlibs_tail_comp=
-       krb5_cv_shlibs_enabled=yes
-       krb5_cv_staticlibs_enabled=yes
-       krb5_cv_shlibs_run_ldpath=default
-       krb5_cv_shlibs_run_libpath=no
-       krb5_cv_shlibs_run_rldroot=no
-       ;;
-*-*-linux*)
-       echo "Enabling shared libraries for Linux...."
-       krb5_cv_shlibs_cflags=-fPIC
-       krb5_cv_shlibs_ext=so
-       krb5_cv_noshlibs_ext=a
-       krb5_cv_shlibs_versioned_filenames=yes
-       krb5_cv_shlibs_need_nover=yes
-       krb5_cv_shlibs_dir=shared
-       krb5_cv_shlibs_ldflag=
-       krb5_cv_noshlibs_ldflag="-static"
-       krb5_cv_shlibs_sym_ufo="-u "
-       krb5_cv_shlibs_dirhead="-Wl,-rpath -Wl,"
-       krb5_cv_exe_need_dirs=yes
-       krb5_cv_shlibs_use_dirs=yes
-       krb5_cv_shlibs_use_colon_dirs=no
-       krb5_cv_shlibs_tail_comp=
-       krb5_cv_shlibs_enabled=yes
-       krb5_cv_staticlibs_enabled=yes
-       krb5_cv_shlibs_run_ldpath=default
-       krb5_cv_shlibs_run_libpath=no
-       krb5_cv_shlibs_run_rldroot=no
-       ;;
-*-*-aix*)
-       echo "Enabling shared libraries for AIX...."
-       krb5_cv_shlibs_cflags=
-       krb5_cv_shlibs_ext=a
-# need_nover *must* be no if versioned_filenames = no
-       krb5_cv_shlibs_need_nover=no 
-       krb5_cv_shlibs_versioned_filenames=no
-       krb5_cv_noshlibs_ext=do-not-make
-       krb5_cv_shlibs_dir=
-       if test $krb5_cv_prog_gcc = yes ; then
-         krb5_cv_shlibs_ldflag="-Xlinker -bex4:\$(BUILDTOP)/util/aix.bincmds"
-         krb5_cv_noshlibs_ldflag=
-       else
-         krb5_cv_shlibs_ldflag="-bex4:\$(BUILDTOP)/util/aix.bincmds"
-         krb5_cv_noshlibs_ldflag=
-       fi
-       krb5_cv_shlibs_sym_ufo=
-       krb5_cv_shlibs_dirhead="-L"
-       krb5_cv_exe_need_dirs=yes
-       krb5_cv_shlibs_use_dirs=no
-       krb5_cv_shlibs_use_colon_dirs=no
-       krb5_cv_staticlibs_enabled=
-       krb5_cv_shlibs_tail_comp=
-       krb5_cv_shlibs_enabled=yes
-       krb5_cv_shlibs_run_ldpath=no
-       # This ugly line indicates to put $LIBPATH: into the path only if set
-       krb5_cv_shlibs_run_libpath="\$\$LIBPATH\$\${LIBPATH:+:}/usr/lib:/lib"
-       krb5_cv_shlibs_run_rldroot=no
-       ;;
-mips-sni-sysv4)
-       echo "Enabling shared libraries for Sinix...."
-       if test $krb5_cv_prog_gcc = yes; then
-               krb5_cv_shlibs_cflags=-fpic
-       else
-               krb5_cv_shlibs_cflags=-Kpic
-       fi
-       krb5_cv_shlibs_ext=so
-       krb5_cv_noshlibs_ext=a
-       krb5_cv_shlibs_versioned_filenames=yes
-       krb5_cv_shlibs_need_nover=yes
-       krb5_cv_shlibs_dir=shared
-       krb5_cv_shlibs_ldflag="-dy"
-       krb5_cv_noshlibs_ldflag="-dn"
-       krb5_cv_shlibs_sym_ufo="-u "
-       krb5_cv_shlibs_dirhead="-R"
-       krb5_cv_exe_need_dirs=yes
-       krb5_cv_shlibs_use_dirs=yes
-       krb5_cv_shlibs_use_colon_dirs=no
-       krb5_cv_shlibs_tail_comp=
-       krb5_cv_staticlibs_enabled=yes
-       krb5_cv_shlibs_enabled=yes
-       krb5_cv_shlibs_run_ldpath=default
-       krb5_cv_shlibs_run_libpath=no
-       krb5_cv_shlibs_run_rldroot=no
-       ;;
-*-*-solaris*)
-       echo "Enabling shared libraries for Solaris...."
-       if test $krb5_cv_prog_gcc = yes; then
-               krb5_cv_shlibs_cflags=-fpic
-       else
-               krb5_cv_shlibs_cflags=-Kpic
-       fi
-       krb5_cv_shlibs_ext=so
-       krb5_cv_noshlibs_ext=a
-       krb5_cv_shlibs_versioned_filenames=yes
-       krb5_cv_shlibs_need_nover=yes
-       krb5_cv_shlibs_dir=shared
-       krb5_cv_shlibs_ldflag="-dy"
-       krb5_cv_noshlibs_ldflag="-dn"
-       krb5_cv_shlibs_sym_ufo="-u "
-       krb5_cv_shlibs_dirhead="-R "
-       krb5_cv_exe_need_dirs=yes
-       krb5_cv_shlibs_use_dirs=yes
-       krb5_cv_shlibs_use_colon_dirs=no
-       krb5_cv_shlibs_tail_comp=
-       krb5_cv_staticlibs_enabled=yes
-       krb5_cv_shlibs_enabled=yes
-       krb5_cv_shlibs_run_ldpath=default
-       krb5_cv_shlibs_run_libpath=no
-       krb5_cv_shlibs_run_rldroot=no
-       ;;
-*-*-sunos*)
-       echo "Enabling shared libraries for SunOS...."
-       if test $krb5_cv_prog_gcc = yes; then
-               krb5_cv_shlibs_cflags=-fpic
-       else
-               krb5_cv_shlibs_cflags=-Kpic
-       fi
-       krb5_cv_shlibs_ext=so
-       krb5_cv_noshlibs_ext=a
-       krb5_cv_shlibs_versioned_filenames=yes
-       krb5_cv_shlibs_need_nover=yes
-       krb5_cv_shlibs_dir=shared
-       krb5_cv_shlibs_ldflag="-dy"
-       krb5_cv_noshlibs_ldflag="-dn"
-       krb5_cv_shlibs_sym_ufo="-u "
-       krb5_cv_shlibs_dirhead="-L"
-       krb5_cv_exe_need_dirs=yes
-       krb5_cv_shlibs_use_dirs=yes
-       krb5_cv_shlibs_use_colon_dirs=no
-       krb5_cv_shlibs_tail_comp=
-       krb5_cv_staticlibs_enabled=yes
-       krb5_cv_shlibs_enabled=yes
-       krb5_cv_shlibs_run_ldpath=default
-       krb5_cv_shlibs_run_libpath=no
-       krb5_cv_shlibs_run_rldroot=no
-       ;;
-alpha-dec-osf*)
-       echo "Enabling shared libraries for Alpha OSF...."
-       krb5_cv_shlibs_cflags=
-       krb5_cv_shlibs_ext=so
-       krb5_cv_noshlibs_ext=a
-       krb5_cv_shlibs_versioned_filenames=yes
-       krb5_cv_shlibs_need_nover=yes
-       krb5_cv_shlibs_dir=
-       krb5_cv_shlibs_ldflag="-call_shared"
-       krb5_cv_noshlibs_ldflag="-non_shared"
-       krb5_cv_shlibs_sym_ufo="-expect_unresolved "
-       krb5_cv_shlibs_dirhead="-rpath "
-       krb5_cv_exe_need_dirs=no
-       krb5_cv_shlibs_use_dirs=yes
-       krb5_cv_shlibs_use_colon_dirs=yes
-       krb5_cv_shlibs_tail_comp=
-       krb5_cv_staticlibs_enabled=yes
-       krb5_cv_shlibs_enabled=yes
-       # OSF/1 needs a dummy rldroot to bypath -rpath and therefore
-       # needs all library paths indicated
-       krb5_cv_shlibs_run_ldpath="/usr/shlib:/usr/ccs/lib:/usr/lib/cmplrs/cc:/usr/lib:/usr/local/lib"
-       krb5_cv_shlibs_run_rldroot=dummy
-       krb5_cv_shlibs_run_libpath=no
-       if test ! -f so_locations; then
-               cp -p /usr/shlib/so_locations .
-       fi
-       if test $krb5_cv_prog_gcc = yes; then
-               krb5_cv_shlibs_ldflag=
-               krb5_cv_noshlibs_ldflag="-static"
-       fi
-       ;;
-*-*-hpux*)
-       echo "Enabling shared libraries for HP-UX >=9.x ...."
-       krb5_cv_shlibs_cflags=+z
-       krb5_cv_shlibs_ext=sl
-       krb5_cv_noshlibs_ext=a
-       krb5_cv_shlibs_dir=shared
-       krb5_cv_shlibs_ldflag="-Wl,-a,default"
-       krb5_cv_noshlibs_ldflag=
-       krb5_cv_shlibs_sym_ufo=
-       krb5_cv_shlibs_dirhead="-Wl,+b,"
-       krb5_cv_exe_need_dirs=yes
-       krb5_cv_shlibs_use_dirs=yes
-       krb5_cv_shlibs_use_colon_dirs=yes
-       krb5_cv_shlibs_tail_comp=
-       krb5_cv_shlibs_enabled=yes
-       krb5_cv_staticlibs_enabled=yes
-       krb5_cv_shlibs_run_ldpath=default
-       krb5_cv_shlibs_run_libpath=no
-       krb5_cv_shlibs_run_rldroot=no
-       ;;
-*) 
-       echo " "
-       echo "Shared libraries not supported on $krb5_cv_host"
-       exit 1
-       ;;
-esac],[krb5_cv_shlibs_cflags=
-krb5_cv_shlibs_ext=
-krb5_cv_noshlibs_ext=a
-krb5_cv_shlibs_need_nover=yes
-krb5_cv_shlibs_dir=
-krb5_cv_shlibs_ldflag=
-krb5_cv_noshlibs_ldflag=
-krb5_cv_shlibs_sym_ufo=
-krb5_cv_shlibs_dirhead=
-krb5_cv_shlibs_tail_comp=
-krb5_cv_staticlibs_enabled=yes
-krb5_cv_shlibs_enabled=])
-])
-dnl
 dnl The following lines are so that configure --help gives some global 
 dnl configuration options.
 KRB5_LIB_AUX