]> andersk Git - libfaim.git/blobdiff - configure.in
Oops.
[libfaim.git] / configure.in
index c9948698ae8cf3886cdc4b0def7c8e3a5040fa23..c7586a27b94ac6b0ef5726f7ccfe0a5abd6e91f2 100644 (file)
@@ -20,6 +20,16 @@ AC_CHECK_LIB(faim, aim_sessioninit)
 dnl Replace `main' with a function in -lpcap:
 dnl AC_CHECK_LIB(pcap, main)
 
+LIBTOOL="$LIBTOOL --silent"
+
+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.03133 seconds and 4 git commands to generate.