3 # Run this script to regenerate autoconf files
6 if [ x
"$1" = x--recheck
]; then
8 config
=$
(sh config.status
--config 2>/dev
/null
)
11 mkdir
-p autoconf autoconf
/helpers config
12 autolib
="`automake --print-libdir`"
13 for prg
in install-sh compile config.guess config.sub
; do
14 cp -f "$autolib"/"$prg" autoconf
/helpers
16 rm -f autoconf
/aclocal.
m4
17 mkdir
-p autoconf
/m4.old autoconf
/m4
18 mv -f autoconf
/m
4/*.
m4 autoconf
/m4.old
/ 2>/dev
/null || true
19 ACLOCAL_PATH
="${ACLOCAL_PATH}${ACLOCAL_PATH:+:}`pwd`/autoconf/m4.old"
21 aclocal
--install --output=autoconf
/aclocal.
m4 -I autoconf
/m4
22 test -f autoconf
/aclocal.
m4
23 rm -rf autoconf
/m4.old
24 autoheader
-B autoconf
26 rm -rf autom4te.cache config.log config.status config
/config.h Makefile
29 # This bizarre statement has to do with how config.status quotes its output
30 echo exec sh configure
$config | sh
-