diff options
author | Jonathan Kew <jfkthame@googlemail.com> | 2008-05-28 09:19:03 +0000 |
---|---|---|
committer | Jonathan Kew <jfkthame@googlemail.com> | 2008-05-28 09:19:03 +0000 |
commit | 53c6c8b59113fa84a73dd2071e2c17cde0e160ea (patch) | |
tree | 1b8e75df233c66b3b4e60b0f7ce1cd02fb9c06e3 | |
parent | 433cefee8e566664b1438389713532f02d6311c8 (diff) |
regenerate configure script
git-svn-id: svn://tug.org/texlive/trunk@8379 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Build/source/texk/xdvipdfmx/configure | 108 |
1 files changed, 55 insertions, 53 deletions
diff --git a/Build/source/texk/xdvipdfmx/configure b/Build/source/texk/xdvipdfmx/configure index 24377a72d97..51958c35dbf 100755 --- a/Build/source/texk/xdvipdfmx/configure +++ b/Build/source/texk/xdvipdfmx/configure @@ -24360,7 +24360,61 @@ _ACEOF -_cppflags=$CPPFLAGS _ldflags=$LDFLAGS +{ $as_echo "$as_me:$LINENO: checking for Mac OS X ApplicationServices framework" >&5 +$as_echo_n "checking for Mac OS X ApplicationServices framework... " >&6; } + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <ApplicationServices/ApplicationServices.h> +int +main () +{ +ATSFontRef fontRef; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + have_app_services=yes + +cat >>confdefs.h <<\_ACEOF +#define HAVE_APP_SERVICES 1 +_ACEOF + + LIBS="$LIBS -framework ApplicationServices" +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + have_app_services=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + { $as_echo "$as_me:$LINENO: result: $have_app_services" >&5 +$as_echo "$have_app_services" >&6; } + +if test "x$have_app_services" = xno; then + _cppflags=$CPPFLAGS _ldflags=$LDFLAGS have_libfontconfig=no # Check whether --with-fontconfig was given. @@ -24510,60 +24564,8 @@ fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: checking for Mac OS X ApplicationServices framework" >&5 -$as_echo_n "checking for Mac OS X ApplicationServices framework... " >&6; } - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <ApplicationServices/ApplicationServices.h> -int -main () -{ -ATSFontRef fontRef; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - have_app_services=yes - -cat >>confdefs.h <<\_ACEOF -#define HAVE_APP_SERVICES 1 -_ACEOF - - LIBS="$LIBS -framework ApplicationServices" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - have_app_services=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - { $as_echo "$as_me:$LINENO: result: $have_app_services" >&5 -$as_echo "$have_app_services" >&6; } - - # check that it's valid to define XETEX and possibly XETEX_MAC if test "x$have_app_services" = xyes; then |