From f9abbd4480558852ac23ae084ffdfe7314c85055 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 17 Nov 2014 12:28:11 +0000 Subject: Build system: Use 64-bit Windows wrapper binaries for 64-bit MinGW git-svn-id: svn://tug.org/texlive/trunk@35596 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/ps2eps/configure | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'Build/source/utils/ps2eps/configure') diff --git a/Build/source/utils/ps2eps/configure b/Build/source/utils/ps2eps/configure index fbdbfa893dd..6a45d5de78a 100755 --- a/Build/source/utils/ps2eps/configure +++ b/Build/source/utils/ps2eps/configure @@ -592,6 +592,7 @@ LIBOBJS PS2EPS_TREE WIN32_WRAP_FALSE WIN32_WRAP_TRUE +WIN_WRAPPER WIN32_FALSE WIN32_TRUE LN_S @@ -4449,7 +4450,41 @@ else fi - if test -r "$srcdir/../../texk/texlive/w32_wrapper/runscript.exe"; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WIN64" >&5 +$as_echo_n "checking for WIN64... " >&6; } +if ${kpse_cv_have_win64+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef _WIN64 + choke me +#endif +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + kpse_cv_have_win64=yes +else + kpse_cv_have_win64=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win64" >&5 +$as_echo "$kpse_cv_have_win64" >&6; } +case $kpse_cv_have_win64 in #( + yes) : + WIN_WRAPPER=w64_wrapper ;; #( + *) : + WIN_WRAPPER=w32_wrapper ;; +esac + + if test -r "$srcdir/../../texk/texlive/$WIN_WRAPPER/runscript.exe"; then WIN32_WRAP_TRUE= WIN32_WRAP_FALSE='#' else -- cgit v1.2.3