Wireshark-commits: [Wireshark-commits] rev 46926: /trunk/ /trunk/: acinclude.m4 configure.ac
Date: Fri, 04 Jan 2013 02:12:51 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=46926

User: morriss
Date: 2013/01/03 06:12 PM

Log:
 In AC_WIRESHARK_GCC_CFLAGS_CHECK() don't check if $3 (the program to be run)
 exists by doing:
 
 	if test "x$3" != "x" ; then
 
 because if the program contains quotes it breaks the shell's parsing.
 Instead test for the existence of $4 (which is mandatory if $3 is given).
 
 
 Fix up the test program for -Wlogical-op so that it actually compiles
 warning-free (at least on my system) when the compiler doesn't have the bug
 we're checking for.

Directory: /trunk/
  Changes    Path            Action
  +10 -4     acinclude.m4    Modified
  +6 -5      configure.ac    Modified