summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-15 15:20:15 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-15 15:20:15 +0000
commitd7f57509ce0c5b91ed9abb642f8263fe33178ff4 (patch)
tree66ec15ba1a12789c9554f1c85c9aff9c483a2ff1 /Build/source/texk/xdvik
parent4b9080e91796d90175624fb4968fecff03cf6a51 (diff)
upate
git-svn-id: svn://tug.org/texlive/trunk@13766 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik')
-rw-r--r--Build/source/texk/xdvik/configure.in.work5
-rw-r--r--Build/source/texk/xdvik/m4/acinclude.m446
2 files changed, 0 insertions, 51 deletions
diff --git a/Build/source/texk/xdvik/configure.in.work b/Build/source/texk/xdvik/configure.in.work
index ab0e576256d..fc63e55bac1 100644
--- a/Build/source/texk/xdvik/configure.in.work
+++ b/Build/source/texk/xdvik/configure.in.work
@@ -1,11 +1,6 @@
dnl ##########
-dnl SU: added flags to turn on gcc warnings, taken from gnome/compiler-flags.m4 and put into aclocal.m4
-COMPILER_WARNINGS
-
-dnl ##########
-
dnl First, check for libXp and libXext:
if test -z "$x_ext_lib"; then # allow envvar override
if test -n "$x_libraries"; then
diff --git a/Build/source/texk/xdvik/m4/acinclude.m4 b/Build/source/texk/xdvik/m4/acinclude.m4
deleted file mode 100644
index 6a6c3ad25f7..00000000000
--- a/Build/source/texk/xdvik/m4/acinclude.m4
+++ /dev/null
@@ -1,46 +0,0 @@
-dnl SU: the following is copied from gnome/compiler-flags.m4: turn on warnings for gcc
-dnl
-dnl COMPILER_WARNINGS
-dnl Turn on many useful compiler warnings
-dnl For now, only works on GCC
-AC_DEFUN([COMPILER_WARNINGS],[
- AC_ARG_ENABLE(compiler-warnings,
- [ --enable-compiler-warnings=[no/minimum/yes/maximum]
- Turn on compiler warnings],,enable_compiler_warnings=minimum)
-
- AC_MSG_CHECKING(what warning flags to pass to the C compiler)
- warnCFLAGS=
- if test "x$GCC" != xyes; then
- enable_compiler_warnings=no
- fi
-
- if test "x$enable_compiler_warnings" != "xno"; then
- if test "x$GCC" = "xyes"; then
- case " $CFLAGS " in
- *[\ \ ]-Wall[\ \ ]*) ;;
- *) warnCFLAGS="-W -Wall -Wunused" ;;
- esac
-
- ## -W is not all that useful. And it cannot be controlled
- ## with individual -Wno-xxx flags, unlike -Wall
- if test "x$enable_compiler_warnings" = "xyes"; then
- warnCFLAGS="$warnCFLAGS -pedantic -Wmissing-prototypes -Wmissing-declarations"
- elif test "x$enable_compiler_warnings" = "xmaximum"; then
- ## just turn on about everything:
- warnCFLAGS="-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wimplicit -Wparentheses -Wreturn-type -Wswitch -Wtrigraphs -Wunused -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings"
- fi
- fi
- fi
- AC_MSG_RESULT($warnCFLAGS)
-
- ### FIXME: if we restrict setting the flags to this case only, they will get overridden
- ### somehwere else further up in the configure process.
- if test "x$cflags_set" != "xyes"; then
- XTRA_WARN_CFLAGS=$warnCFLAGS
- AC_SUBST(XTRA_WARN_CFLAGS)
-# CFLAGS="$CFLAGS $warnCFLAGS"
- cflags_set=yes
- AC_SUBST(cflags_set)
- fi
-])
-