have_cocoa="no"
m4_ifdef([AC_PROG_OBJC],
[
- if test "x${have_gnu_objc}" = "xyes" ; then
AC_LANG_PUSH([Objective C])
LIBS_save="$LIBS"
LIBS="$LIBS -framework Cocoa"
AC_MSG_CHECKING([whether Cocoa framework is supported])
AC_MSG_RESULT([${have_cocoa}])
AC_LANG_POP([Objective C])
- fi
])
fi
AC_SUBST(cocoa_ldflags)
have_cocoa_coreservices="no"
m4_ifdef([AC_PROG_OBJC],
[
- if test "x${have_gnu_objc}" = "xyes" ; then
AC_LANG_PUSH([Objective C])
LIBS_save="$LIBS"
LIBS="$LIBS -framework CoreServices"
AC_MSG_CHECKING([whether Cocoa CoreServices framework is supported])
AC_MSG_RESULT([${have_cocoa_coreservices}])
AC_LANG_POP([Objective C])
- fi
])
fi
AC_SUBST(cocoa_coreservices_ldflags)