]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Tue Mar 12 02:51:24 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
authorRoland McGrath <roland@gnu.org>
Tue, 12 Mar 1996 07:59:31 +0000 (07:59 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 12 Mar 1996 07:59:31 +0000 (07:59 +0000)
* acgeneral.m4 (AC_OUTPUT_HEADER): Apply Jan 15 fix to
  AC_OUTPUT_MAKE_DEFS here too: Match `#define foo' without trailing
  space in confdefs.h.  Before configure would lose if all its trailing
  whitespace got stripped, and that can happen in mail.

acgeneral.m4
lib/autoconf/general.m4

index 7f538827164b63855ad3fcec60a9ecb990c12cf5..f9803a053e781c95cd899870f9414f7bbde7ce1e 100644 (file)
@@ -143,7 +143,7 @@ dnl AC_INIT_NOTICE()
 AC_DEFUN(AC_INIT_NOTICE,
 [# Guess values for system-dependent variables and create Makefiles.
 # Generated automatically using autoconf version] AC_ACVERSION [
-# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
+# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
 #
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
@@ -1417,7 +1417,7 @@ AC_TRY_LINK([/* Override any gcc2 internal prototype to avoid an error.  */
 extern "C"
 #endif
 ])dnl
-char $2();
+[char $2();
 ],
            [$2()],
            eval "ac_cv_lib_$ac_lib_var=yes",
@@ -2016,7 +2016,7 @@ define(AC_OUTPUT_HEADER,
 #
 # ac_d sets the value in "#define NAME VALUE" lines.
 ac_dA='s%^\([  ]*\)#\([        ]*define[       ][      ]*\)'
-ac_dB='\([     ][      ]*\)[^  ]*%\1#\2'
+ac_dB='\([     ]*\)[^  ]*%\1#\2'
 ac_dC='\3'
 ac_dD='%g'
 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
index 7f538827164b63855ad3fcec60a9ecb990c12cf5..f9803a053e781c95cd899870f9414f7bbde7ce1e 100644 (file)
@@ -143,7 +143,7 @@ dnl AC_INIT_NOTICE()
 AC_DEFUN(AC_INIT_NOTICE,
 [# Guess values for system-dependent variables and create Makefiles.
 # Generated automatically using autoconf version] AC_ACVERSION [
-# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
+# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
 #
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
@@ -1417,7 +1417,7 @@ AC_TRY_LINK([/* Override any gcc2 internal prototype to avoid an error.  */
 extern "C"
 #endif
 ])dnl
-char $2();
+[char $2();
 ],
            [$2()],
            eval "ac_cv_lib_$ac_lib_var=yes",
@@ -2016,7 +2016,7 @@ define(AC_OUTPUT_HEADER,
 #
 # ac_d sets the value in "#define NAME VALUE" lines.
 ac_dA='s%^\([  ]*\)#\([        ]*define[       ][      ]*\)'
-ac_dB='\([     ][      ]*\)[^  ]*%\1#\2'
+ac_dB='\([     ]*\)[^  ]*%\1#\2'
 ac_dC='\3'
 ac_dD='%g'
 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".