summaryrefslogtreecommitdiff
path: root/Build/source/texk/cjkutils
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/cjkutils')
-rwxr-xr-xBuild/source/texk/cjkutils/configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/cjkutils/configure b/Build/source/texk/cjkutils/configure
index 70c19b5f093..604ac6c9a1f 100755
--- a/Build/source/texk/cjkutils/configure
+++ b/Build/source/texk/cjkutils/configure
@@ -12919,6 +12919,10 @@ elif test "x$GCC" = xyes; then
3.4.* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;;
esac
+ case `$CC -dumpversion` in
+ 3.[234].* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;;
+esac
+
if test "x$enable_compiler_warnings" != xmin; then
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
if test "x$enable_compiler_warnings" != xyes; then