diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-09-04 22:30:49 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-09-04 22:33:52 -0400 |
commit | 4edfdb4b15ff9f1eacaae0fb0739a54e51ca8742 (patch) | |
tree | 207279b567ddb46c607668e2a78395abd8fdd141 /autogen.sh | |
parent | 49f060252a2f40c727909d9e55463f40dcea2cdf (diff) |
Rename build/*.ac to build/configure.ac.*.
Also rename configure.in to configure.ac (finally)
configure.in -> configure.ac
build/analysis.ac -> build/configure.ac.analysis
build/enable.ac -> build/configure.ac.enable
build/system.ac -> build/configure.ac.system
build/tools.ac -> build/configure.ac.tools
build/version.ac -> build/configure.ac.version
build/warnings.ac -> build/configure.ac.warnings
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -19,17 +19,16 @@ AUTOHEADER=${AUTOHEADER-autoheader} AUTOMAKE_FLAGS="--add-missing --foreign" AUTOCONF=${AUTOCONF-autoconf} -CONFIGURE_IN= -test -f configure.in && CONFIGURE_IN=configure.in -test -f configure.ac && CONFIGURE_IN=configure.ac +CONFIGURE_AC= +test -f configure.ac && CONFIGURE_AC=configure.ac -if test "X$CONFIGURE_IN" = X; then +if test "X$CONFIGURE_AC" = X; then echo "$ARGV0: ERROR: No $srcdir/configure.in or $srcdir/configure.ac found." exit 1 fi extract_version() { - grep "^ *$1" $CONFIGURE_IN build/*.ac | sed 's/.*(\[*\([^])]*\)]*).*/\1/' + grep "^ *$1" $CONFIGURE_AC build/configure.ac.* | sed 's/.*(\[*\([^])]*\)]*).*/\1/' } autoconf_min_vers=`extract_version AC_PREREQ` |