summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvidvi/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvidvi/configure')
-rwxr-xr-xBuild/source/texk/dvidvi/configure5
1 files changed, 5 insertions, 0 deletions
diff --git a/Build/source/texk/dvidvi/configure b/Build/source/texk/dvidvi/configure
index d61f8801bcc..846f7ab8b58 100755
--- a/Build/source/texk/dvidvi/configure
+++ b/Build/source/texk/dvidvi/configure
@@ -11388,6 +11388,10 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags
ac_config_headers="$ac_config_headers config.h"
+# We don't use libpathsea, so add '-DNO_DEBUG' not to overload fopen.
+kpse_save_CPPFLAGS=$CPPFLAGS
+kpse_save_LIBS=$LIBS
+
## _KPSE_INIT: Initialize TL infrastructure
kpse_BLD=`(cd "./../../." && pwd)`
kpse_SRC=`(cd "$srcdir/../../." && pwd)`
@@ -12799,6 +12803,7 @@ ${top_builddir}/../kpathsea/paths.h:
cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild'
fi
+KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG"
ac_config_files="$ac_config_files Makefile"