patch-configure 996 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --- pmacct-0.12.5.orig/configure 2010-12-28 17:26:21.000000000 +0100
  2. +++ pmacct-0.12.5/configure 2011-01-21 21:15:15.478658080 +0100
  3. @@ -1006,7 +1006,6 @@ fi
  4. ac_test_CFLAGS="${CFLAGS+set}"
  5. ac_save_CFLAGS="$CFLAGS"
  6. -CFLAGS=
  7. echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  8. echo "configure:1012: checking whether ${CC-cc} accepts -g" >&5
  9. if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  10. @@ -1022,22 +1021,6 @@ rm -f conftest*
  11. fi
  12. -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
  13. -if test "$ac_test_CFLAGS" = set; then
  14. - CFLAGS="$ac_save_CFLAGS"
  15. -elif test $ac_cv_prog_cc_g = yes; then
  16. - if test "$GCC" = yes; then
  17. - CFLAGS="-g -O2"
  18. - else
  19. - CFLAGS="-g"
  20. - fi
  21. -else
  22. - if test "$GCC" = yes; then
  23. - CFLAGS="-O2"
  24. - else
  25. - CFLAGS=
  26. - fi
  27. -fi
  28. host_os=`uname`
  29. host_cpu=`uname -m`
  30. @@ -1083,7 +1066,6 @@ fi
  31. if test "x$ac_cv_prog_gcc" = xyes ; then
  32. - CFLAGS="-O2"
  33. case "$host_os" in
  34. IRIX*)
  35. CFLAGS="-mabi=n32 -fno-builtins ${CFLAGS}"