Tested with GNU Autoconf 2.69. To reproduce, open any autoconf-using project and run:
$ ./configure FLAGS='foo bar' >/dev/null && grep -m1 /configure config.log $ ./configure FLAGS=foo bar Expected output: $ ./configure "FLAGS='foo bar'" I know the shell interprets the quotes etc., but it's possible to work around that; e.g. C='' for i in "$@"; do i=$(echo "$i" | sed 's/\\/\\\\/g; s/\"/\\\"/g') C="$C \"$i\"" done echo "$C" (based on bash version at http://stackoverflow.com/a/8723305/69663 ) -- Kevin Brubeck Unhammer GPG: 50D487960B863F054B6A12F9742606DE766AC60C
signature.asc
Description: PGP signature