]> git.saurik.com Git - wxWidgets.git/blobdiff - acinclude.m4
fixed signed/unsigned mismatch warning
[wxWidgets.git] / acinclude.m4
index 3adc66c3772cba5d96453539970890e78f7851cf..ea80b748255740a86d7a7b824dc844671541d0d3 100644 (file)
@@ -66,7 +66,7 @@ dnl Loosely based on autoconf AC_PROG_CC
 AC_DEFUN([AC_WX_PROG_XLCC],
 [AC_LANG_PUSH(C)
 _AC_WX_LANG_COMPILER_XLC
-XLCC=`test $wx_compiler_xlc = yes && echo yes`
+XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
 AC_LANG_POP(C)
 ])
 
@@ -74,10 +74,22 @@ dnl Loosely based on autoconf AC_PROG_CXX
 AC_DEFUN([AC_WX_PROG_XLCXX],
 [AC_LANG_PUSH(C++)
 _AC_WX_LANG_COMPILER_XLC
-XLCXX=`test $wx_compiler_xlc = yes && echo yes`
+XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
 AC_LANG_POP(C++)
 ])
 
+dnl ===========================================================================
+dnl Objective-C(++) related macros
+dnl ===========================================================================
+m4_define([AC_WX_LANG_OBJECTIVEC],
+[AC_LANG(C)
+ac_ext=m
+])
+
+m4_define([AC_WX_LANG_OBJECTIVECPLUSPLUS],
+[AC_LANG(C++)
+ac_ext=mm
+])
 
 dnl ===========================================================================
 dnl macros to find the a file in the list of include/lib paths