aboutsummaryrefslogtreecommitdiff
path: root/src/aclocal.m4
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2002-11-14 04:43:25 +0000
committerEzra Peisach <epeisach@mit.edu>2002-11-14 04:43:25 +0000
commit72d8f8901985324b50a9b8c255170ec08f9b7eea (patch)
tree9e0fb440bbf704a4fccff1d1f9162e97ecbf6f75 /src/aclocal.m4
parent516e41d1fa9970f0b6f3bd58f46e77ebe2a3beaf (diff)
downloadkrb5-72d8f8901985324b50a9b8c255170ec08f9b7eea.zip
krb5-72d8f8901985324b50a9b8c255170ec08f9b7eea.tar.gz
krb5-72d8f8901985324b50a9b8c255170ec08f9b7eea.tar.bz2
Invoke autoconf/autoreconf with the option --localdir or --include depending
on if pre/post autoconf 2.54. In 2.55 --localdir has been removed and replaced with --include which was introduced in 2.53. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14996 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/aclocal.m4')
-rw-r--r--src/aclocal.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/src/aclocal.m4 b/src/aclocal.m4
index 8a4099c..9223bfc 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -81,9 +81,13 @@ dnl else
AUTOCONFFLAGS=
AUTOHEADER=autoheader
AUTOHEADERFLAGS=
+dnl Autoconf 2.54+ use --include, --localdir is obsolete and removed
+ifdef([AC_MSG_FAILURE], AUTOCONFINCFLAGS="--include", dnl
+ AUTOCONFINCFLAGS="--localdir")
dnl fi
AC_SUBST(AUTOCONF)
AC_SUBST(AUTOCONFFLAGS)
+AC_SUBST(AUTOCONFINCFLAGS)
AC_SUBST(AUTOHEADER)
AC_SUBST(AUTOHEADERFLAGS)
dnl