From: Paul Eggert Date: Sun, 30 Sep 2001 17:12:34 +0000 (+0000) Subject: (AC_OUTPUT_MAKE_DEFS): X-Git-Tag: AUTOCONF-2.52f~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bbb016c0e4a7be54ba4e33d1dea509d71db0367;p=thirdparty%2Fautoconf.git (AC_OUTPUT_MAKE_DEFS): 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. --- diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4 index 90bd75b50..f7ea19860 100644 --- a/lib/autoconf/status.m4 +++ b/lib/autoconf/status.m4 @@ -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]