summaryrefslogtreecommitdiff
path: root/package/pmacct/patches/patch-configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-22 22:45:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-22 22:45:05 +0100
commit6c3f7bc5593343058ab91c0b504fd67d3c0d1269 (patch)
treef57aae2e39a3e60895f08b6e93e95d1d5af1c8c5 /package/pmacct/patches/patch-configure
parent52549131197cd42dd61b50721e3f68e3d7585ec7 (diff)
parent3953de124e87ce3b594fd861b6f111b2df706753 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/pmacct/patches/patch-configure')
-rw-r--r--package/pmacct/patches/patch-configure41
1 files changed, 41 insertions, 0 deletions
diff --git a/package/pmacct/patches/patch-configure b/package/pmacct/patches/patch-configure
new file mode 100644
index 000000000..0c7310ba6
--- /dev/null
+++ b/package/pmacct/patches/patch-configure
@@ -0,0 +1,41 @@
+--- pmacct-0.12.5.orig/configure 2010-12-28 17:26:21.000000000 +0100
++++ pmacct-0.12.5/configure 2011-01-21 21:15:15.478658080 +0100
+@@ -1006,7 +1006,6 @@ fi
+
+ ac_test_CFLAGS="${CFLAGS+set}"
+ ac_save_CFLAGS="$CFLAGS"
+-CFLAGS=
+ echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
+ echo "configure:1012: checking whether ${CC-cc} accepts -g" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
+@@ -1022,22 +1021,6 @@ rm -f conftest*
+
+ fi
+
+-echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
+-if test "$ac_test_CFLAGS" = set; then
+- CFLAGS="$ac_save_CFLAGS"
+-elif test $ac_cv_prog_cc_g = yes; then
+- if test "$GCC" = yes; then
+- CFLAGS="-g -O2"
+- else
+- CFLAGS="-g"
+- fi
+-else
+- if test "$GCC" = yes; then
+- CFLAGS="-O2"
+- else
+- CFLAGS=
+- fi
+-fi
+
+ host_os=`uname`
+ host_cpu=`uname -m`
+@@ -1083,7 +1066,6 @@ fi
+
+
+ if test "x$ac_cv_prog_gcc" = xyes ; then
+- CFLAGS="-O2"
+ case "$host_os" in
+ IRIX*)
+ CFLAGS="-mabi=n32 -fno-builtins ${CFLAGS}"