X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/edbd470fa6b1d1286a4500f3a8263905fbc2d11d..f4687532612acdf8e79e937301aa50df6bf3a657:/configure.ac diff --git a/configure.ac b/configure.ac index 4bae211..22c47f6 100644 --- a/configure.ac +++ b/configure.ac @@ -88,10 +88,10 @@ case "$host" in # Ports install to /usr/local but the compiler stupidly doesn't look # there by default LDFLAGS="${LDFLAGS} -L/usr/local/lib" - CPPFLAGS="${CPPFLAGS} -I/usr/local/include" + CPPFLAGS="${CPPFLAGS} -isystem /usr/local/include" # libdb installs elsewhere again LDFLAGS="${LDFLAGS} -L/usr/local/lib/db44" - CPPFLAGS="${CPPFLAGS} -I/usr/local/include/db44" + CPPFLAGS="${CPPFLAGS} -isystem /usr/local/include/db44" ;; * ) AC_MSG_RESULT([unknown, winging it]) @@ -405,7 +405,7 @@ if test $want_server = yes; then #if DB_VERSION_MAJOR < 4 # error inadequate db version #endif - #if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 2 + #if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR <= 2 # error inadequate db version #endif ],