Wireshark-commits: [Wireshark-commits] rev 36731: /trunk/ /trunk/: acinclude.m4 configure.in

Date: Wed, 20 Apr 2011 08:37:50 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=36731

User: guy
Date: 2011/04/20 01:37 AM

Log:
 Instead of having GCC and CLANG variables, just have
 ac_supports_gcc_flags and ac_supports_W_linker_passthrough flags, the
 first of which, for now, we set for GCC and clang, and the latter of
 which we set for GCC, clang, and xlc (probably true for some other
 compilers as well).
 
 Rename AC_WIRESHARK_GCC_LDFLAGS_CHECK to AC_WIRESHARK_LDFLAGS_CHECK, as
 it's not checking for anything GCC-specific.  (Leave
 AC_WIRESHARK_GCC_CFLAGS_CHECK unrenamed for now, as the flags we test
 with it are originally GCC flags that clang also supports for GCC
 compatibility.)
 
 Fix some string-equality tests to use = rather than ==; the former is
 what the test/[ command uses.
 
 Don't turn on "-no-cpp-precomp" for clang - it whines if you do.

Directory: /trunk/
  Changes    Path            Action
  +16 -14    acinclude.m4    Modified
  +54 -20    configure.in    Modified