summaryrefslogtreecommitdiff
path: root/Build/source/libs/xpdf
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-02-23 14:04:14 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-02-23 14:04:14 +0000
commit97e502dc16d9f2ed6038360b047c60206df4ca72 (patch)
tree8efc0913e7c5df51b5c4dba787b5c586869a0075 /Build/source/libs/xpdf
parent9fbfe507d0f9d90df2880e61eb4e5280206ae6b9 (diff)
build system: GCC >= 4.6 warnings
git-svn-id: svn://tug.org/texlive/trunk@25483 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/xpdf')
-rwxr-xr-xBuild/source/libs/xpdf/configure8
1 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/libs/xpdf/configure b/Build/source/libs/xpdf/configure
index b479803ce6d..b9b8e969b76 100755
--- a/Build/source/libs/xpdf/configure
+++ b/Build/source/libs/xpdf/configure
@@ -4258,7 +4258,13 @@ else
kpse_cv_warning_cxxflags=
kpse_warn_strings="-Wno-write-strings"
if test "x$enable_compiler_warnings" != xno; then
- kpse_cv_warning_cxxflags="-Wimplicit -Wreturn-type"
+ kpse_cv_warning_cxxflags="-Wreturn-type"
+ case `$CXX -dumpversion` in #(
+ 3.* | 4.[012345].*) :
+ kpse_cv_warning_cxxflags="-Wimplicit $kpse_cv_warning_cxxflags" ;; #(
+ *) :
+ ;;
+esac
case `$CXX -dumpversion` in #(
3.[234].* | 4.*) :
kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #(