Bug 657845 - Remove Core Text checking on OSX. r=ted

This commit is contained in:
Makoto Kato 2011-05-27 14:43:44 +09:00
parent eeea05a3bc
commit febc13fc5e

View File

@ -3348,25 +3348,6 @@ case $target in
AC_CHECK_LIB(socket, socket)
esac
dnl ========================================================
dnl Check whether we can compile code for Core Text
dnl (available on Mac OS X 10.5 or later)
dnl ========================================================
case "$target" in
*-darwin*)
AC_MSG_CHECKING([for Core Text])
AC_TRY_COMPILE([#include <ApplicationServices/ApplicationServices.h>],
[CTLineRef lineRef;],
ac_cv_have_core_text="yes",
ac_cv_have_core_text="no")
AC_MSG_RESULT([$ac_cv_have_core_text])
if test "$ac_cv_have_core_text" = "no"; then
AC_MSG_ERROR([Core Text is required (available on Mac OS X 10.5 or later).])
fi
;;
esac
XLDFLAGS="$X_LIBS"
XLIBS="$X_EXTRA_LIBS"