summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBrian J. Tarricone <brian@tarricone.org>2009-08-26 13:19:13 -0700
committerBrian J. Tarricone <brian@tarricone.org>2009-08-26 13:20:43 -0700
commitc9fb4e83e98d829efa46a8f8123a4b2ae175bb17 (patch)
tree2da7c0f4f22ca20fec209bac0083de6003f5810f /scripts
parent0fcf0dd8a995ef116cbfcf12591ce52a42a36dcc (diff)
downloadxfce4-dev-tools-c9fb4e83e98d829efa46a8f8123a4b2ae175bb17.tar.gz
also recognize new-school AC_CONFIG_HEADERS() as requiring autoheader
Diffstat (limited to 'scripts')
-rw-r--r--scripts/xdt-autogen.in.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/xdt-autogen.in.in b/scripts/xdt-autogen.in.in
index 20cc474..52b6277 100644
--- a/scripts/xdt-autogen.in.in
+++ b/scripts/xdt-autogen.in.in
@@ -402,7 +402,7 @@ EOF
##
test -z "${XDT_PROG_AUTOHEADER}" &&
for configure_file in $CONFIGURE_FILES; do
- if grep -q "^AM_CONFIG_HEADER" "${configure_file}"; then
+ if grep -q -E "^A(M|C)_CONFIG_HEADER" "${configure_file}"; then
for i in autoheader-2.61 autoheader-2.60 autoheader-2.59 autoheader-2.58 autoheader-2.57 autoheader-2.53 autoheader; do
(${i} --version) </dev/null >/dev/null 2>&1 &&
XDT_PROG_AUTOHEADER=${i} && break
@@ -534,7 +534,7 @@ XGETTEXT_ARGS = @XGETTEXT_ARGS@
cd ${source_dir} &&
${XDT_PROG_ACLOCAL} ${ACLOCAL_FLAGS}) || exit 1
- if grep -q "^AM_CONFIG_HEADER" "${configure_file}"; then
+ if grep -q -E "^A(M|C)_CONFIG_HEADER" "${configure_file}"; then
(echo "Running ${XDT_PROG_AUTOHEADER}..." &&
cd ${source_dir} &&
${XDT_PROG_AUTOHEADER}) || exit 1