diff options
author | Theodore Tso <tytso@mit.edu> | 1995-06-28 18:29:26 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1995-06-28 18:29:26 +0000 |
commit | 323ef88ce9b471d2a5a064c33e77860d54df1f0d (patch) | |
tree | d6626870c1ad9b8895fc90c02610e38d1e17ad83 /src/aclocal.m4 | |
parent | 966b47e499faefe16dc615ac4df920f95131db6d (diff) | |
download | krb5-323ef88ce9b471d2a5a064c33e77860d54df1f0d.tar.gz krb5-323ef88ce9b471d2a5a064c33e77860d54df1f0d.tar.xz krb5-323ef88ce9b471d2a5a064c33e77860d54df1f0d.zip |
Work around bug in autoconf which causes a relative path for dnl
AC_PROG_INSTALL to be cached. We workaround this by unsetting the
cache variable if it contains a relative pathname.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6187 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/aclocal.m4')
-rw-r--r-- | src/aclocal.m4 | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/aclocal.m4 b/src/aclocal.m4 index e9a6caa51..3949790f6 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -63,6 +63,21 @@ define(AC_POP_MAKEFILE,[dnl PUSHEOF ])dnl dnl +dnl Work around bug in autoconf which causes a relative path for +dnl AC_PROG_INSTALL to be cached. +dnl +define(INSTALL_VARIABLE_HACK,[dnl +# +# Work around a bug in autoconf; unset the cache variable for the install +# program if it is a relative path. +# +case "$ac_cv_path_install" in +../*|./*|[[a-zA-Z]]*) + unset ac_cv_path_install + ;; +esac +])dnl +dnl dnl append subdir rule -- MAKE_SUBDIRS("making",all) dnl define(_MAKE_SUBDIRS,[dnl @@ -123,12 +138,13 @@ dnl drop in standard rules for all configure files -- CONFIG_RULES dnl define(CONFIG_RULES,[dnl V5_SET_TOPDIR dnl +INSTALL_VARIABLE_HACK dnl WITH_CC dnl WITH_CCOPTS dnl WITH_LINKER dnl WITH_CPPOPTS dnl WITH_KRB4 dnl -AC_CONST +AC_CONST dnl WITH_NETLIB dnl KRB_INCLUDE dnl AC_PUSH_MAKEFILE()dnl |