]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for the compiler checks. The compiler flags like SUNCC and SUNCXX were
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Sat, 9 Dec 2006 22:04:53 +0000 (22:04 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Sat, 9 Dec 2006 22:04:53 +0000 (22:04 +0000)
only being set when language being tested matched the current language, so
C++ flags weren't being set since we changed the default language back to C.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/aclocal/bakefile-lang.m4

index 0d7f4c1be999bd35564c497d0903d3a5d14c31aa..9f810d1ba54ba296e30e48f3a433a43dc41d02f1 100644 (file)
@@ -89,12 +89,12 @@ AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER],
          )
         ]
     )
-    AC_LANG_POP($2)
     if test "x$bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3" = "xyes"; then
         :; $4
     else
         :; $5
     fi
+    AC_LANG_POP($2)
 ])
 
 dnl recent versions of SGI mipsPro compiler define _SGI_COMPILER_VERSION