From 2e4d68d55d7a35f31f66c2d9ea7e998989042bc2 Mon Sep 17 00:00:00 2001 From: shankar Date: Thu, 25 Feb 2010 12:25:32 +0000 Subject: fixing AXIS2C-1431; git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@916265 13f79535-47bb-0310-9956-ffa450edef68 --- axiom/configure.ac | 1 - neethi/configure.ac | 1 - samples/configure.ac | 5 ++++- tools/tcpmon/configure.ac | 4 ++-- util/configure.ac | 1 - 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/axiom/configure.ac b/axiom/configure.ac index 6802fb9..dede04a 100644 --- a/axiom/configure.ac +++ b/axiom/configure.ac @@ -46,7 +46,6 @@ dnl Checks for libraries. AC_CHECK_LIB(dl, dlopen) AC_CHECK_LIB(z, inflate) -#CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -Wno-implicit-function-declaration" CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -ansi -Werror -Wall -Wno-implicit-function-declaration " diff --git a/neethi/configure.ac b/neethi/configure.ac index f3a317c..9fd9e6c 100644 --- a/neethi/configure.ac +++ b/neethi/configure.ac @@ -31,7 +31,6 @@ AC_MSG_RESULT($axis2c_have_iso_c_varargs) dnl Checks for libraries. AC_CHECK_LIB(dl, dlopen) -#CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -Wno-implicit-function-declaration" CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -ansi -Wall -Werror -Wno-implicit-function-declaration " diff --git a/samples/configure.ac b/samples/configure.ac index 734e88c..3a8bba4 100644 --- a/samples/configure.ac +++ b/samples/configure.ac @@ -47,7 +47,10 @@ fi dnl Checks for libraries. AC_CHECK_LIB(dl, dlopen) -CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -Wno-implicit-function-declaration" +CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" +if test "$GCC" = "yes"; then + CFLAGS="$CFLAGS -ansi -Wall -Werror -Wno-implicit-function-declaration -g -D_GNU_SOURCE" +fi dnl Checks for header files. AC_HEADER_STDC diff --git a/tools/tcpmon/configure.ac b/tools/tcpmon/configure.ac index 56e69f8..9247599 100644 --- a/tools/tcpmon/configure.ac +++ b/tools/tcpmon/configure.ac @@ -18,9 +18,9 @@ AC_PROG_LN_S AC_PROG_MAKE_SET -CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE -g" +CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" if test "$GCC" = "yes"; then - CFLAGS="$CFLAGS -ansi -Wall -Wno-implicit-function-declaration" + CFLAGS="$CFLAGS -ansi -Wall -Wno-implicit-function-declaration -g" fi diff --git a/util/configure.ac b/util/configure.ac index 0e1ed19..ec2ec74 100644 --- a/util/configure.ac +++ b/util/configure.ac @@ -51,7 +51,6 @@ dnl ./util/src/platforms/unix/date_time_util_unix.c dnl is changed to call gettimeofday AC_CHECK_LIB(compat, ftime) -#CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -Wno-implicit-function-declaration" CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -ansi -Wall -Werror -Wno-implicit-function-declaration -D_GNU_SOURCE" -- cgit v1.1-32-gdbae