- Removed --with-error switch
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Mon, 22 Dec 2014 15:00:01 +0000 (15:00 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Mon, 22 Dec 2014 15:00:01 +0000 (15:00 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5070 82007160-df01-0410-b94d-b575c5fd34c7

configure
configure.ac
src/libopm/configure
src/libopm/configure.ac

index 9d6e197c972138dce9151e01d45475e1f103ced3..09b9ba56f976ea202fbb4198cda291d5bd17a80a 100755 (executable)
--- a/configure
+++ b/configure
@@ -771,7 +771,6 @@ with_aix_soname
 with_gnu_ld
 with_sysroot
 enable_libtool_lock
-with_werror
 '
       ac_precious_vars='build_alias
 host_alias
@@ -1429,7 +1428,6 @@ Optional Packages:
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
                           compiler's sysroot if not specified).
-  --with-werror           use -Werror to abort compilation on any warning
 
 Some influential environment variables:
   CC          C compiler command
@@ -13471,13 +13469,6 @@ _ACEOF
 subdirs="$subdirs src/libopm"
 
 
-
-# Check whether --with-werror was given.
-if test "${with_werror+set}" = set; then :
-  withval=$with_werror; CFLAGS="$CFLAGS -Werror"
-fi
-
-
 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
 
 cat >confcache <<\_ACEOF
index c7e9d0850ca1df2b1fc8125a0ce7b784bf49a15e..f59324644f1856fd08b4aeec9ca355265c08700e 100644 (file)
@@ -93,13 +93,6 @@ typedef unsigned long uint32;
 
 AC_CONFIG_SUBDIRS(src/libopm)
 
-dnl This comes last because configure won't actually work with -Werror in
-dnl the CFLAGS
-AC_ARG_WITH(werror,
-    AC_HELP_STRING([--with-werror],
-    [use -Werror to abort compilation on any warning]),
-    [CFLAGS="$CFLAGS -Werror"])
-
 AC_OUTPUT(Makefile doc/Makefile src/Makefile)
 
 
index 47fa1a57441f18e62d3339a9156166eb2ec89fb5..5c772a4fb4f370f824e56c24d1b29624d0162715 100755 (executable)
@@ -768,7 +768,6 @@ with_aix_soname
 with_gnu_ld
 with_sysroot
 enable_libtool_lock
-with_werror
 '
       ac_precious_vars='build_alias
 host_alias
@@ -1424,7 +1423,6 @@ Optional Packages:
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
                           compiler's sysroot if not specified).
-  --with-werror           use -Werror to abort compilation on any warning
 
 Some influential environment variables:
   CC          C compiler command
@@ -12867,13 +12865,6 @@ LTLIBOBJS=`echo "$LIBOBJS" |
            sed 's,\.[^.]* ,.lo ,g;s,\.[^.]*$,.lo,'`
 
 
-
-# Check whether --with-werror was given.
-if test "${with_werror+set}" = set; then :
-  withval=$with_werror; CFLAGS="$CFLAGS -Werror"
-fi
-
-
 ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile doc/Doxyfile"
 
 cat >confcache <<\_ACEOF
index 87ed759c0da5df25daf757b4cdf4ef772dae3106..a15c85b820dfc21543675f71faf9165156a24c46 100644 (file)
@@ -68,13 +68,6 @@ LTLIBOBJS=`echo "$LIB@&t@OBJS" |
            sed 's,\.[[^.]]* ,.lo ,g;s,\.[[^.]]*$,.lo,'`
 AC_SUBST(LTLIBOBJS)
 
-dnl This comes last because configure won't actually work with -Werror in
-dnl the CFLAGS
-AC_ARG_WITH(werror,
-    AC_HELP_STRING([--with-werror],
-    [use -Werror to abort compilation on any warning]),
-    [CFLAGS="$CFLAGS -Werror"])
-
 AC_OUTPUT(Makefile src/Makefile doc/Makefile doc/Doxyfile)
 
 echo "##############################################################################"