summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfmx/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipdfmx/configure')
-rwxr-xr-xBuild/source/texk/dvipdfmx/configure16
1 files changed, 15 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfmx/configure b/Build/source/texk/dvipdfmx/configure
index 701c6114da5..9cb49f2eec6 100755
--- a/Build/source/texk/dvipdfmx/configure
+++ b/Build/source/texk/dvipdfmx/configure
@@ -2198,7 +2198,7 @@ fi
# Define the identity of the package.
PACKAGE=dvipdfmx
- VERSION=20071115
+ VERSION=20080520
cat >>confdefs.h <<_ACEOF
@@ -3601,6 +3601,20 @@ if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
fi
+# FIXME: we rely on the cache variable name because
+# there is no other way.
+set dummy $CC
+ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
+if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+
+
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# incompatible versions: