summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar shankar2010-02-24 04:04:44 +0000
committerGravatar shankar2010-02-24 04:04:44 +0000
commit029c3ad67068304b1f67af7a8fa7dd557c2857ba (patch)
tree8aa1e924929519b7738768334801127e3f7f4116
parent55a52d271a7072575b27026f625857654477d9a8 (diff)
downloadaxis2c-029c3ad67068304b1f67af7a8fa7dd557c2857ba.tar.gz
axis2c-029c3ad67068304b1f67af7a8fa7dd557c2857ba.tar.bz2
removing gcc specific options from CFLAGS. Check AXIS2C-1431 for more details
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@915662 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--axiom/configure.ac1
-rw-r--r--neethi/configure.ac1
-rw-r--r--samples/configure.ac5
-rw-r--r--tools/tcpmon/configure.ac4
-rw-r--r--util/configure.ac1
5 files changed, 6 insertions, 6 deletions
diff --git a/axiom/configure.ac b/axiom/configure.ac
index 3795342..60666bf 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 45cada7..55669bf 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 644d35e..1ce3129 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 f0851dd..07330d3 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
dnl Checks for header files.
diff --git a/util/configure.ac b/util/configure.ac
index 5d3a3d6..1b78cd3 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"