author | trisk |
Sun, 17 Oct 2010 14:49:44 +0000 | |
changeset 2961 | 4042805b29e6 |
permissions | -rw-r--r-- |
2961 | 1 |
--- ettercap-NG-0.7.3.orig/configure.in 2005-01-13 04:24:28.000000000 -0500 |
2 |
+++ ettercap-NG-0.7.3/configure.in 2010-07-20 09:54:26.671584378 -0400 |
|
3 |
@@ -328,17 +328,23 @@ |
|
4 |
[ case "$enableval" in |
|
5 |
yes) |
|
6 |
AC_DEFINE(DEBUG, 1) |
|
7 |
- DEBUG_FLAGS="-g -ggdb -Wmissing-prototypes -Wno-uninitialized -Werror -Wformat-security -Wsign-compare -Wall" |
|
8 |
+ if test "x$GCC" = xyes; then |
|
9 |
+ DEBUG_FLAGS="-g -ggdb -Wmissing-prototypes -Wno-uninitialized -Werror -Wformat-security -Wsign-compare -Wall" |
|
10 |
+ fi |
|
11 |
AC_MSG_RESULT(yes) |
|
12 |
ac_ec_debug=yes |
|
13 |
;; |
|
14 |
no) AC_MSG_RESULT(no) |
|
15 |
- DEBUG_FLAGS="-O2 -funroll-loops -fomit-frame-pointer -Wall" |
|
16 |
+ if test "x$GCC" = xyes; then |
|
17 |
+ DEBUG_FLAGS="-O2 -funroll-loops -fomit-frame-pointer -Wall" |
|
18 |
+ fi |
|
19 |
ac_ec_debug=no |
|
20 |
;; |
|
21 |
esac ], |
|
22 |
AC_MSG_RESULT(no) |
|
23 |
- DEBUG_FLAGS="-O2 -funroll-loops -fomit-frame-pointer -Wall" |
|
24 |
+ if test "x$GCC" = xyes; then |
|
25 |
+ DEBUG_FLAGS="-O2 -funroll-loops -fomit-frame-pointer -Wall" |
|
26 |
+ fi |
|
27 |
ac_ec_debug=no |
|
28 |
) |
|
29 |