1.1 --- a/acinclude.m4 Thu Jan 15 04:15:11 2009 +0000
1.2 +++ b/acinclude.m4 Mon Feb 09 00:13:46 2009 +0000
1.8 +# AC_HAVE_OBJC([if-present],[if-not-present])
1.9 +# Check if we have a working Objective-C compiler
1.10 +AC_DEFUN([AC_HAVE_OBJC], [
1.12 +AC_MSG_CHECKING([for a working Objective-C compiler])
1.13 +AC_LANG_PUSH([Objective C])dnl
1.14 +_AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@interface Foo @end]], [])],
1.15 + [AC_MSG_RESULT([yes])
1.17 + [AC_MSG_RESULT([No])
1.19 +AC_LANG_POP([Objective C])