1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

--enable-debug now checks if gcc is used before it sets all those gcc-

specific options. This should make this option work on more platforms with
other compilers.
This commit is contained in:
Daniel Stenberg 2002-10-21 05:52:05 +00:00
parent 9e612b5550
commit c4e9ef199e

View File

@ -743,7 +743,10 @@ AC_ARG_ENABLE(debug,
*) AC_MSG_RESULT(yes)
CPPFLAGS="$CPPFLAGS -DMALLOCDEBUG"
CFLAGS="-W -Wall -Wwrite-strings -pedantic -Wundef -Wpointer-arith -Wcast-align -Wnested-externs -g"
CFLAGS="$CFLAGS -g"
if test "$GCC" = "yes"; then
CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wundef -Wpointer-arith -Wcast-align -Wnested-externs"
fi
;;
esac ],
AC_MSG_RESULT(no)