Tue, 28 Aug 2012 18:32:05 +0200
Correct detection of GCC sync_fetch_and_add atomic builtins, update the
version, modernize packaging, add new prompts, and correct sound paths.
The vendor configure script checks for sync_fetch_and_add and reports
success because strangely GCC only fails when returning the return value
of the builtin function in the consumer function.
1 Index: src/snort.h
2 --- src/snort.h.orig 2009-09-14 21:12:14 +0200
3 +++ src/snort.h 2009-09-19 09:27:59 +0200
4 @@ -92,7 +92,7 @@
5 #define RF_ANY_FLAGS 0x20
7 #ifndef WIN32
8 -# define DEFAULT_LOG_DIR "/var/log/snort"
9 +# define DEFAULT_LOG_DIR "@l_prefix@/var/snort"
10 # define DEFAULT_DAEMON_ALERT_FILE "alert"
11 #else
12 # define DEFAULT_LOG_DIR "log"