]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(AC_OUTPUT_MAKE_DEFS):
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 30 Sep 2001 17:12:34 +0000 (17:12 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 30 Sep 2001 17:12:34 +0000 (17:12 +0000)
Don't use nested parenthesization.  This patch was originally
suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
but somehow it didn't get incorporated then.

lib/autoconf/status.m4

index 90bd75b50f9a4026bc37b9b7f315dd598017d9c5..f7ea1986034cbc6c100bd6d1d14c10218d2038ea 100644 (file)
@@ -545,7 +545,7 @@ dnl Double quote for `[ ]' and `define'.
 s,[\\$`],\\&,g
 t clear
 : clear
-s,^[   ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
+s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 t end
 s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 : end]