diff options
| author | Theodore Tso <tytso@mit.edu> | 1998-03-02 03:25:05 +0000 |
|---|---|---|
| committer | Theodore Tso <tytso@mit.edu> | 1998-03-02 03:25:05 +0000 |
| commit | fe020ca31a4a2f2ad551e236edc10ff47269b4f4 (patch) | |
| tree | 8348439fc04867d30b0387033e53fed3299b7c86 /src | |
| parent | dc7515dcc89c1b4fba49a1dd39aaf83d32332979 (diff) | |
| download | krb5-fe020ca31a4a2f2ad551e236edc10ff47269b4f4.tar.gz krb5-fe020ca31a4a2f2ad551e236edc10ff47269b4f4.tar.xz krb5-fe020ca31a4a2f2ad551e236edc10ff47269b4f4.zip | |
aclocal.m4: Remove unused variables BUILDTOP and SRCTOP (now defined
in the individual Makefile.in file. Define @AUTOCONF@ to have the
appropriate pathname (either internal to our source tree, or in the
user's path). Set @CONFIG_RELTOPDIR@ to contain the relative path to
the top of the build directory from the directory containing the
configure script.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10490 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 10 | ||||
| -rw-r--r-- | src/aclocal.m4 | 21 |
2 files changed, 29 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4a84275e4..53d7017aa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,13 @@ +Sun Mar 1 22:22:50 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> + + * aclocal.m4: Remove unused variables BUILDTOP and SRCTOP (now + defined in the individual Makefile.in file. Define + @AUTOCONF@ to have the appropriate pathname (either + internal to our source tree, or in the user's path). Set + @CONFIG_RELTOPDIR@ to contain the relative path to the top + of the build directory from the directory containing the + configure script. + Fri Feb 27 21:43:41 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> * aclocal.m4 (KRB5_AC_REGEX_FUNCS): Take the regular expression diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 853e593ad..003028fb3 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -21,8 +21,6 @@ krb5_pre_in=$ac_config_fragdir/pre.in krb5_post_in=$ac_config_fragdir/post.in krb5_prepend_frags=$krb5_pre_in krb5_append_frags=$krb5_post_in -BUILDTOP=$ac_reltopdir -SRCTOP=$srcdir/$ac_reltopdir if test -d "$srcdir/$ac_config_fragdir"; then AC_CONFIG_AUX_DIR($ac_config_fragdir) else @@ -45,6 +43,25 @@ WITH_NETLIB dnl WITH_HESIOD dnl KRB_INCLUDE dnl AC_ARG_PROGRAM dnl +dnl +dnl This selects the correct autoconf file; either the one in our source tree, +dnl or the one found in the user's path. $srcdir may be relative, and if so, +dnl it's relative to the directory of the configure script. Since the +dnl automatic makefile rules to rerun autoconf cd into that directory, the +dnl right thing happens. +dnl +if test -f $srcdir/$ac_reltopdir/util/autoconf/autoconf ; then + AUTOCONF=$ac_reltopdir/util/autoconf/autoconf +else + AUTOCONF=autoconf +fi +AC_SUBST(AUTOCONF) +dnl +dnl This identifies the top of the source tree relative to the directory +dnl in which the configure file lives. +dnl +CONFIG_RELTOPDIR=$ac_reltopdir +AC_SUBST(CONFIG_RELTOPDIR) AC_SUBST(subdirs) ])dnl |
