[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in autoheader
From: |
Derek R. Price |
Subject: |
Bug in autoheader |
Date: |
Mon, 05 Feb 2001 17:38:07 -0500 |
Autoheader breaks if AC_CONFIG_HEADERS is called twice in configure.ac.
One line fix attached.
ChangeLog entry:
* autoheader.sh: only set config_h for the first call to
AC_CONFIG_HEADERS
Derek
--
Derek Price CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden OpenAvenue ( http://OpenAvenue.com )
--
151. H lp! S m b dy st l ll th v w ls fr m my k yb rd!
Index: ChangeLog
===================================================================
RCS file: /cvs/autoconf/ChangeLog,v
retrieving revision 1.1278
diff -u -r1.1278 ChangeLog
--- ChangeLog 2001/02/05 10:30:53 1.1278
+++ ChangeLog 2001/02/05 22:34:24
@@ -1,3 +1,8 @@
+2001-02-05 Derek Price <address@hidden>
+
+ * autoheader.sh: only set config_h for the first call to
+ AC_CONFIG_HEADERS
+
2001-02-05 Jim Meyering <address@hidden>
* acspecific.m4 (AC_SYS_LARGEFILE): Add ULL suffix to the
Index: autoheader.sh
===================================================================
RCS file: /cvs/autoconf/autoheader.sh,v
retrieving revision 1.93
diff -u -r1.93 autoheader.sh
--- autoheader.sh 2001/01/30 10:42:36 1.93
+++ autoheader.sh 2001/02/05 22:34:24
@@ -256,7 +256,7 @@
# Source what the traces are trying to tell us.
$verbose $me: running $autoconf to trace from $infile >&2
$autoconf \
- --trace AC_CONFIG_HEADERS:'config_h="$1"' \
+ --trace AC_CONFIG_HEADERS:'if test -z "$$config_h"; then config_h="$1"; else
:; fi' \
--trace AH_OUTPUT:'ac_verbatim_$1="\
$2"' \
--trace AC_DEFINE_TRACE_LITERAL:'syms="$$syms $1"' \
- Bug in autoheader,
Derek R. Price <=