]> andersk Git - libfaim.git/blobdiff - configure.in
- Mon Mar 5 01:19:48 UTC 2001
[libfaim.git] / configure.in
index c9948698ae8cf3886cdc4b0def7c8e3a5040fa23..8a92ae8df5eed260d82e51c4bcacf4c386736ece 100644 (file)
@@ -20,6 +20,14 @@ AC_CHECK_LIB(faim, aim_sessioninit)
 dnl Replace `main' with a function in -lpcap:
 dnl AC_CHECK_LIB(pcap, main)
 
+AC_ARG_ENABLE(debug,    [  --disable-debug         compile without debugging options],enable_debug=no,enable_debug=yes)
+
+if test "$enable_debug" = yes ; then
+        CFLAGS="$CFLAGS -Wall -g"
+fi
+
+AC_SUBST(CFLAGS)
+
 dnl Checks for header files.
 AC_HEADER_STDC
 AC_HEADER_SYS_WAIT
This page took 0.042413 seconds and 4 git commands to generate.