]> andersk Git - libfaim.git/blobdiff - configure.in
- Sun Mar 11 05:51:45 UTC 2001 (jbm)
[libfaim.git] / configure.in
index 2ceccc680c601422e70795af25f898822ae6e6bd..8a92ae8df5eed260d82e51c4bcacf4c386736ece 100644 (file)
@@ -2,6 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
 AC_INIT(src/login.c)
 AM_INIT_AUTOMAKE(libfaim, 0.99.1)
 
+AC_PREFIX_DEFAULT(/usr)
 AM_CONFIG_HEADER(include/libfaim_config.h)
 
 dnl Checks for programs.
@@ -19,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.047139 seconds and 4 git commands to generate.