summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/squeeze/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/xdvik/squeeze/configure')
-rwxr-xr-xBuild/source/texk/xdvik/squeeze/configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/xdvik/squeeze/configure b/Build/source/texk/xdvik/squeeze/configure
index 86e4a152fb8..689a3402ed4 100755
--- a/Build/source/texk/xdvik/squeeze/configure
+++ b/Build/source/texk/xdvik/squeeze/configure
@@ -3487,12 +3487,12 @@ else
kpse_cv_warning_cflags=
elif test "x$GCC" = xyes; then
kpse_cv_warning_cflags="-Wall -Wunused"
- if test "x$enable_compiler_warnings" != xmin; then
- kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
- case `$CC -dumpversion` in
+ case `$CC -dumpversion` in
3.4.* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;;
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
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wimplicit -Wparentheses -Wreturn-type"
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wswitch -Wtrigraphs -Wshadow -Wpointer-arith"