]> arthur.barton.de Git - netatalk.git/blobdiff - configure.in
Removed acleandir, dead end.
[netatalk.git] / configure.in
index aa843839c050ff0ed4fd62178d9f7813f889143f..dde99636d7a3d88c9220d84c98fed6230bf3caf7 100644 (file)
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.212 2009-02-27 09:14:40 franklahm Exp $
+dnl $Id: configure.in,v 1.213 2009-03-20 09:10:25 franklahm Exp $
 dnl configure.in for netatalk
 
 AC_INIT(etc/afpd/main.c)
@@ -299,6 +299,25 @@ AC_ARG_ENABLE(debug,
        ]
 )
 
+AC_MSG_CHECKING([whether to enable debugging with debuggers])
+AC_ARG_ENABLE(debugging,
+       [  --enable-debugging      disable SIGALRM timers and DSI tickles (eg for debugging with gdb/dbx/...)],[
+       if test "$enableval" != "no"; then
+               if test "$enableval" = "yes"; then
+                       AC_DEFINE(DEBUGGING, 1, [Define if you want to disable SIGALRM timers and DSI tickles])
+               else
+                       AC_DEFINE_UNQUOTED(DEBUGGING, $enableval, [Define if you want to disable SIGALRM timers and DSI tickles])
+               fi 
+               AC_MSG_RESULT([yes])
+       else
+               AC_MSG_RESULT([no])
+       fi
+       ],[
+               AC_MSG_RESULT([no])
+       ]
+)
+
+
 afp3=no
 afp3set=no
 AC_MSG_CHECKING([whether AFP 3.x calls should be enabled])