]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Sat Sep 12 16:25:00 1998 Aaron Crane <aaronc@pobox.com>
authorBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Fri, 25 Sep 1998 20:12:47 +0000 (20:12 +0000)
committerBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Fri, 25 Sep 1998 20:12:47 +0000 (20:12 +0000)
* acgeneral.m4 (AC_CHECK_TYPE): Changed the egrep regex to avoid
incorrectly assuming that if foobar_t is defined, then so is
bar_t.

ChangeLog
acgeneral.m4
lib/autoconf/general.m4

index a0b67e5a38b17b9d680089cb58e4da8e05891c5d..4c058cc581b25500f8126ec37450cf146abd0fa9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,12 @@
        * config.guess: Handle strange processor ID assignments on AIX
        machines.  Contributed by Didier Desseaux <didess@infonie.fr>.
 
+Sat Sep 12 16:25:00 1998  Aaron Crane  <aaronc@pobox.com>
+
+       * acgeneral.m4 (AC_CHECK_TYPE): Changed the egrep regex to avoid
+       incorrectly assuming that if foobar_t is defined, then so is
+       bar_t.
+       
 Thu Jun 18 12:13:27 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * acspecific.m4 (AC_EXEEXT): Correct setting of ac_exeext when
index 93367171c59de879a3a16145a4a431ce162afee5..0f6ed16c5b6e6e76d0b22d52a86678c909979838 100644 (file)
@@ -1865,7 +1865,7 @@ AC_MSG_CHECKING(for $1)
 AC_CACHE_VAL(ac_cv_type_$1,
 [AC_EGREP_CPP(dnl
 changequote(<<,>>)dnl
-<<$1[^a-zA-Z_0-9]>>dnl
+<<(^|[^a-zA-Z_0-9])$1[^a-zA-Z_0-9]>>dnl
 changequote([,]), [#include <sys/types.h>
 #if STDC_HEADERS
 #include <stdlib.h>
index 93367171c59de879a3a16145a4a431ce162afee5..0f6ed16c5b6e6e76d0b22d52a86678c909979838 100644 (file)
@@ -1865,7 +1865,7 @@ AC_MSG_CHECKING(for $1)
 AC_CACHE_VAL(ac_cv_type_$1,
 [AC_EGREP_CPP(dnl
 changequote(<<,>>)dnl
-<<$1[^a-zA-Z_0-9]>>dnl
+<<(^|[^a-zA-Z_0-9])$1[^a-zA-Z_0-9]>>dnl
 changequote([,]), [#include <sys/types.h>
 #if STDC_HEADERS
 #include <stdlib.h>