diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-22 07:25:49 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-22 07:25:49 +0000 |
commit | 63a8ebc9eb71c28299f568dc55f55c92ea09cd93 (patch) | |
tree | 245b0d56bf09782e8ac235a435ad31c899228f75 /Build/source/texk/cjkutils | |
parent | f29ccceb83b49eb17537541d92d566ccebe75d54 (diff) |
enable compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@13874 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/cjkutils')
-rw-r--r-- | Build/source/texk/cjkutils/ChangeLog | 5 | ||||
-rwxr-xr-x | Build/source/texk/cjkutils/configure | 13 | ||||
-rw-r--r-- | Build/source/texk/cjkutils/configure.ac | 13 | ||||
-rw-r--r-- | Build/source/texk/cjkutils/conv/Makefile.am | 2 | ||||
-rw-r--r-- | Build/source/texk/cjkutils/conv/Makefile.in | 1 |
5 files changed, 10 insertions, 24 deletions
diff --git a/Build/source/texk/cjkutils/ChangeLog b/Build/source/texk/cjkutils/ChangeLog index 3977664c97e..6ca461d28ef 100644 --- a/Build/source/texk/cjkutils/ChangeLog +++ b/Build/source/texk/cjkutils/ChangeLog @@ -1,3 +1,8 @@ +2009-06-19 Peter Breitenlohner <peb@mppmu.mpg.de> + + * configure.ac: enable compiler warnings (TeX Live style). + * conv/Makefile.am: enable compiler warnings. + 2009-05-06 Peter Breitenlohner <peb@mppmu.mpg.de> Adapt to TL2009 build system. diff --git a/Build/source/texk/cjkutils/configure b/Build/source/texk/cjkutils/configure index 604ac6c9a1f..3ed907c24c9 100755 --- a/Build/source/texk/cjkutils/configure +++ b/Build/source/texk/cjkutils/configure @@ -12951,18 +12951,7 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags ac_config_headers="$ac_config_headers hbf2gf/c-auto.h:hbf2gf/c-auto.in" -if test "x$CC" = xgcc; then - XX_CFLAGS="-Wall" -else - case "$host" in - alpha-dec-osf*) - XX_CFLAGS="-std1 -O2 -g3" - ;; - *) - XX_CFLAGS= - ;; - esac -fi +XX_CFLAGS=$WARNING_CFLAGS { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 diff --git a/Build/source/texk/cjkutils/configure.ac b/Build/source/texk/cjkutils/configure.ac index bd8b2031796..74fc8b8ea21 100644 --- a/Build/source/texk/cjkutils/configure.ac +++ b/Build/source/texk/cjkutils/configure.ac @@ -18,18 +18,7 @@ KPSE_COMMON([cjkutils]) AC_CONFIG_HEADERS([hbf2gf/c-auto.h:hbf2gf/c-auto.in]) dnl get Compiler flags right. -if test "x$CC" = xgcc; then - XX_CFLAGS="-Wall" -else - case "$host" in - alpha-dec-osf*) - XX_CFLAGS="-std1 -O2 -g3" - ;; - *) - XX_CFLAGS= - ;; - esac -fi +XX_CFLAGS=$WARNING_CFLAGS AC_SUBST([XX_CFLAGS]) dnl Checks for typedefs, structures, and compiler characteristics. diff --git a/Build/source/texk/cjkutils/conv/Makefile.am b/Build/source/texk/cjkutils/conv/Makefile.am index ef2870cae46..eafeaad23d4 100644 --- a/Build/source/texk/cjkutils/conv/Makefile.am +++ b/Build/source/texk/cjkutils/conv/Makefile.am @@ -5,3 +5,5 @@ ## bin_PROGRAMS = bg5conv cefconv cef5conv cefsconv extconv sjisconv +AM_CFLAGS = $(XX_CFLAGS) + diff --git a/Build/source/texk/cjkutils/conv/Makefile.in b/Build/source/texk/cjkutils/conv/Makefile.in index 0e24480688f..94cdfe80b10 100644 --- a/Build/source/texk/cjkutils/conv/Makefile.in +++ b/Build/source/texk/cjkutils/conv/Makefile.in @@ -214,6 +214,7 @@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ +AM_CFLAGS = $(XX_CFLAGS) all: all-am .SUFFIXES: |