[Snort-users] Snort with postgresql on OpenBSD2.9 (snapshot)

Mike Johnson mike at ...874...
Mon May 21 00:24:05 EDT 2001


Mike Johnson [mike at ...874...] wrote:
 
> Patch attached...

Grr, I sent the wrong (broken) one.

Try 2...

Mike
-- 
If at first you don't succeed, destroy all evidence that you tried -- unknown
-------------- next part --------------
--- configure.in.old	Mon May 21 22:34:29 2001
+++ configure.in	Mon May 21 23:03:13 2001
@@ -405,6 +405,9 @@
     elif test -r $i/include/libpq-fe.h; then
       POSTGRESQL_DIR=$i
       POSTGRESQL_INC_DIR=$i/include
+    elif test -r $i/include/postgresql/libpq-fe.h; then
+      POSTGRESQL_DIR=$i
+      POSTGRESQL_INC_DIR=$i/include/postgresql
     fi
   done
 
@@ -412,7 +415,7 @@
     if test "$postgresql_fail" != "no"; then
       tmp=""
       for i in $postgesql_directory; do
-        tmp="$tmp $i/include $i/include/pgsql"
+        tmp="$tmp $i/include $i/include/pgsql $i/include/postgresql"
       done
       FAIL_MESSAGE("postgresql header file (libpq-fe.h)", $tmp)
     else


More information about the Snort-users mailing list