aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2019-03-03 15:42:04 -0500
committerGreg Hudson <ghudson@mit.edu>2019-03-04 15:08:08 -0500
commit8a349dccfad742966af8eaf551732bb4c84376dd (patch)
treec774c084c0344ae7615edf3e660c85cf88f5ad70 /src/util
parentaf2a3115cb8feb5174151b4b40223ae45aa9db17 (diff)
downloadkrb5-8a349dccfad742966af8eaf551732bb4c84376dd.zip
krb5-8a349dccfad742966af8eaf551732bb4c84376dd.tar.gz
krb5-8a349dccfad742966af8eaf551732bb4c84376dd.tar.bz2
Rename configure.in to configure.ac
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)
Diffstat (limited to 'src/util')
-rwxr-xr-xsrc/util/check-ac-syms4
-rwxr-xr-xsrc/util/getsyms6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/util/check-ac-syms b/src/util/check-ac-syms
index a54a990..6813110 100755
--- a/src/util/check-ac-syms
+++ b/src/util/check-ac-syms
@@ -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
diff --git a/src/util/getsyms b/src/util/getsyms
index 6db164c..289fe0a 100755
--- a/src/util/getsyms
+++ b/src/util/getsyms
@@ -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