summaryrefslogtreecommitdiff
path: root/Build/source/texk/dtl/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dtl/configure')
-rwxr-xr-xBuild/source/texk/dtl/configure5
1 files changed, 5 insertions, 0 deletions
diff --git a/Build/source/texk/dtl/configure b/Build/source/texk/dtl/configure
index 081c9df0a37..47137b4815b 100755
--- a/Build/source/texk/dtl/configure
+++ b/Build/source/texk/dtl/configure
@@ -11633,6 +11633,10 @@ _ACEOF
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)`
@@ -13044,6 +13048,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"