diff options
author | Ezra Peisach <epeisach@mit.edu> | 1996-03-19 02:58:27 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1996-03-19 02:58:27 +0000 |
commit | 0f29b78b998de497eab71bf9cd46297e128721f4 (patch) | |
tree | 82d18edbf4b3c071d2a5c2cccadcdf77360a6b32 /src/configure.in | |
parent | 769c2b3450c3663a0815951eda93ea6f476221ac (diff) | |
download | krb5-0f29b78b998de497eab71bf9cd46297e128721f4.zip krb5-0f29b78b998de497eab71bf9cd46297e128721f4.tar.gz krb5-0f29b78b998de497eab71bf9cd46297e128721f4.tar.bz2 |
* aclocal.m4 (KRB5_RUN_FLAGS): Allows for setting of proper paths
for executing programs in the build tree with proper
overriding of potentially installed libraries.
* configure.in: Setup for KRB5_RUN_FLAGS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7664 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/configure.in')
-rw-r--r-- | src/configure.in | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/src/configure.in b/src/configure.in index 9ac8428..76e438f 100644 --- a/src/configure.in +++ b/src/configure.in @@ -39,6 +39,9 @@ krb5_cv_shlibs_versioned_filenames=yes # version in filename of library 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...." @@ -58,6 +61,9 @@ krb5_cv_shlibs_versioned_filenames=yes # version in filename of library 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...." @@ -83,6 +89,10 @@ krb5_cv_shlibs_versioned_filenames=yes # version in filename of library 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...." @@ -106,6 +116,9 @@ mips-sni-sysv4) 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...." @@ -116,7 +129,7 @@ mips-sni-sysv4) fi krb5_cv_shlibs_ext=so krb5_cv_noshlibs_ext=a -krb5_cv_shlibs_versioned_filenames=yes + krb5_cv_shlibs_versioned_filenames=yes krb5_cv_shlibs_need_nover=yes krb5_cv_shlibs_dir=shared krb5_cv_shlibs_ldflag="-dy" @@ -129,13 +142,16 @@ krb5_cv_shlibs_versioned_filenames=yes 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_versioned_filenames=yes krb5_cv_shlibs_need_nover=yes krb5_cv_shlibs_dir= krb5_cv_shlibs_ldflag="-call_shared" @@ -148,6 +164,11 @@ krb5_cv_shlibs_versioned_filenames=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 @@ -172,6 +193,9 @@ krb5_cv_shlibs_versioned_filenames=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 " " |