summaryrefslogtreecommitdiff
path: root/Build/source/libs/poppler
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/poppler
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/poppler')
-rwxr-xr-xBuild/source/libs/poppler/configure8
1 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/libs/poppler/configure b/Build/source/libs/poppler/configure
index b268220c4f6..de0a45fc3aa 100755
--- a/Build/source/libs/poppler/configure
+++ b/Build/source/libs/poppler/configure
@@ -4277,7 +4277,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" ;; #(