[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: config files substitution with awk

From: Paolo Bonzini
Subject: Re: config files substitution with awk
Date: Mon, 20 Nov 2006 10:05:21 +0100
User-agent: Thunderbird (Macintosh/20061025)

As much as I like this, it breaks scripts using the undocumented "extrasub" variable. This includes the toplevel configure script shared by gcc, gdb and others.

+rm -f conf$$subs.awk
+  FS = "[|]#_!!_#[|]"

You could put here an "$extrasub" or do a quick run with sed over the output...

-" $ac_file_inputs m4_defn([_AC_SED_CMDS])>$tmp/out
+" $ac_file_inputs m4_defn([_AC_SUBST_CMDS])>$tmp/out

... here:

+" $ac_file_inputs m4_defn([_AC_SUBST_CMDS]) | sed "${extrasub:-b}" >$tmp/out


reply via email to

[Prev in Thread] Current Thread [Next in Thread]