]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Rename configure.in to configure.ac 902/head
authorGreg Hudson <ghudson@mit.edu>
Sun, 3 Mar 2019 20:42:04 +0000 (15:42 -0500)
committerGreg Hudson <ghudson@mit.edu>
Mon, 4 Mar 2019 20:08:08 +0000 (15:08 -0500)
autotools plans to drop support for the name configure.in.
(automake's NEWS file expresses plans to drop support for it in
autoconf 2.0; autoconf added a warning in commit
560f16b52d3d3db1536d9ca5b863ce9b1a5c9e35, indicating in the commit
message that support will be dropped in a future version.)

ticket: 8788 (new)

src/config/post.in
src/configure.ac [moved from src/configure.in with 99% similarity]
src/include/Makefile.in
src/util/check-ac-syms
src/util/getsyms

index 3643abad1ce001993bdb8f0d122d33a5f4b7fb61..2afff8ba342f3b094c5770c1293af8847a90b68e 100644 (file)
@@ -181,7 +181,7 @@ Makefile: $(srcdir)/Makefile.in $(srcdir)/deps $(BUILDTOP)/config.status \
 $(BUILDTOP)/config.status: $(top_srcdir)/configure
        (cd $(BUILDTOP) && $(SHELL) config.status --recheck)
 $(top_srcdir)/configure: @MAINT@ \
-               $(top_srcdir)/configure.in \
+               $(top_srcdir)/configure.ac \
                $(top_srcdir)/patchlevel.h \
                $(top_srcdir)/aclocal.m4
        (cd $(top_srcdir) && \
similarity index 99%
rename from src/configure.in
rename to src/configure.ac
index 54cf107f84ef28c42644364b9ba7e3bca5432f98..59193c601d655ee4eb9efeb528ad1950c7115e51 100644 (file)
@@ -916,7 +916,7 @@ ath_compat=compat,)
 AC_CHECK_PROG(have_RUNTEST,runtest,runtest)
 AC_CHECK_PROG(have_PERL,perl,perl)
 if test "$have_PERL" = perl -a "$have_RUNTEST" = runtest -a "$TCL_LIBS" != ""; then
-       DO_TEST=ok
+       DO_TEST=ok
 fi
 AC_SUBST(DO_TEST)
 
index cfa5794b72bfa14e02f7d9a8b1edffb3398995b0..b9dd98e0140d98c1852d939b61d5927bfd014201 100644 (file)
@@ -33,7 +33,7 @@ all-windows: autoconf.h $(BUILT_HEADERS) verify-calling-conventions-krb5
 all-unix: @MAINT@ verify-calling-conventions-krb5
 
 $(srcdir)/autoconf.h.in: @MAINT@ $(srcdir)/autoconf.stmp
-$(srcdir)/autoconf.stmp: $(top_srcdir)/configure.in $(top_srcdir)/aclocal.m4
+$(srcdir)/autoconf.stmp: $(top_srcdir)/configure.ac $(top_srcdir)/aclocal.m4
        (cd $(top_srcdir) && $(AUTOHEADER) --include=$(CONFIG_RELTOPDIR) $(AUTOHEADERFLAGS))
        touch $(srcdir)/autoconf.stmp
 
index a54a990425e7b7a6d0e73cd734a8c0bd5fc1be46..68131101f84736d327256cf7d65087caced80453 100755 (executable)
@@ -3,9 +3,9 @@
 # args: srcdir srctop-from-srcdir header-path
 
 d=`pwd`
-head -1 $1/configure.in > config-in.tmp
+head -1 $1/configure.ac > config-in.tmp
 echo "AC_CONFIG_HEADER(fooconfig.h:$d/fooconfig-h.tmp)" >> config-in.tmp
-tail +2 $1/configure.in | grep -v AC_CONFIG_HEADER >> config-in.tmp
+tail +2 $1/configure.ac | grep -v AC_CONFIG_HEADER >> config-in.tmp
 mv -f config-in.tmp config-in.ac~
 
 if (cd $1 && autoheader --include=$2 $d/config-in.ac~) > /dev/null; then
index 6db164c60ec996987310d8e5033fe6d586b941ee..289fe0aa5cb9095e15662b9fae7805dabb691767 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Run this from the TOP of the source tree!
 M4=gm4
-configs=`find $1 -name configure.in -print|sort|sed -e 's@/configure.in@@'`
+configs=`find $1 -name configure.ac -print|sort|sed -e 's@/configure.ac@@'`
 for dir in $configs; do
        syms=""
        libs=""
@@ -10,7 +10,7 @@ for dir in $configs; do
        funcs=""
        AC_MACRODIR=./util/autoconf
        # The following bits shamelessly stolen from autoheader.sh
-       eval "`$M4 -I$AC_MACRODIR autoheader.m4 $dir/configure.in|
+       eval "`$M4 -I$AC_MACRODIR autoheader.m4 $dir/configure.ac|
                sed -n -e '
                : again
                /^@@@.*@@@$/s/^@@@\(.*\)@@@$/\1/p
@@ -41,7 +41,7 @@ for dir in $configs; do
                        done | sed 's/[^a-zA-Z0-9_]/_/g' | tr '[a-z]' '[A-Z]' | sed 's/^/HAVE_LIB/'`"
        allsyms="$allsyms $libs"
        fi
-       echo $dir/configure.in: $allsyms
+       echo $dir/configure.ac: $allsyms
        allsyms="`echo $allsyms|tr ' ' '|'`"
        files="$dir/*.[ch]"
        if test ! "`echo $files`" = "$dir/"'*.[ch]'; then