diff options
author | Jonathan Kew <jfkthame@googlemail.com> | 2006-07-26 16:19:45 +0000 |
---|---|---|
committer | Jonathan Kew <jfkthame@googlemail.com> | 2006-07-26 16:19:45 +0000 |
commit | 622bf4a7c90729be28a038c49e4c237ce9f31297 (patch) | |
tree | 77466d5c0a89c433bd1c08f4cbeaf410fda7b25c /Build/source/texk/web2c/xetexdir/tests.ac | |
parent | e88aafe4ca4779a73487925dea63e8b55dc5e251 (diff) |
added main xetex source directory
git-svn-id: svn://tug.org/texlive/trunk@1920 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/xetexdir/tests.ac')
-rw-r--r-- | Build/source/texk/web2c/xetexdir/tests.ac | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/xetexdir/tests.ac b/Build/source/texk/web2c/xetexdir/tests.ac new file mode 100644 index 00000000000..552aea23dc0 --- /dev/null +++ b/Build/source/texk/web2c/xetexdir/tests.ac @@ -0,0 +1,49 @@ +# Extra configure tests to support XeTeX + +AC_DEFUN([AC_HAS_CARBON], [ +# +# Check for Carbon framework on Mac OS X +# + _cppflags=$CPPFLAGS _ldflags=$LDFLAGS + AC_MSG_CHECKING([for Apple Carbon framework]) + AC_TRY_COMPILE( + [ +#include <Carbon/Carbon.h> + ], [ +ATSUStyle style; + ], + [ AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_CARBON, 1, [Define if you have Carbon]) + LDCARBON="-framework Carbon" + has_carbon=yes + ], + [ AC_MSG_RESULT(no) + LDCARBON= + has_carbon=no + ] + ) +]) + +AC_DEFUN([AC_HAS_QUICKTIME], [ +# +# Check for QuickTime framework on Mac OS X +# + _cppflags=$CPPFLAGS _ldflags=$LDFLAGS + AC_MSG_CHECKING([for Apple QuickTime framework]) + AC_TRY_COMPILE( + [ +#include <QuickTime/QuickTime.h> + ], [ +ImageDescriptionHandle h; + ], + [ AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_QUICKTIME, 1, [Define if you have QuickTime]) + LDQUICKTIME="-framework QuickTime" + has_quicktime=yes + ], + [ AC_MSG_RESULT(no) + LDQUICKTIME= + has_quicktime=no + ] + ) +]) |