diff options
Diffstat (limited to 'Build/source/texk/dvipsk')
-rwxr-xr-x | Build/source/texk/dvipsk/configure | 6 | ||||
-rwxr-xr-x | Build/source/texk/dvipsk/squeeze/configure | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/texk/dvipsk/configure b/Build/source/texk/dvipsk/configure index 4987f18f346..27cfecc410a 100755 --- a/Build/source/texk/dvipsk/configure +++ b/Build/source/texk/dvipsk/configure @@ -12909,12 +12909,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" diff --git a/Build/source/texk/dvipsk/squeeze/configure b/Build/source/texk/dvipsk/squeeze/configure index 1cf004c21f8..e03a923671d 100755 --- a/Build/source/texk/dvipsk/squeeze/configure +++ b/Build/source/texk/dvipsk/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" |