34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
$NetBSD: patch-ab,v 1.8 2018/10/01 10:05:24 jperkin Exp $
|
|
|
|
Remove bogus _POSIX_C_SOURCE setting.
|
|
|
|
--- configure.orig 2009-04-11 19:59:34.000000000 +0000
|
|
+++ configure
|
|
@@ -16104,7 +16104,7 @@ $as_echo "$BERKELEY_DB_DIR" >&6; }
|
|
elif test -d "$BERKELEY_DB_DIR"; then
|
|
|
|
BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include"
|
|
- for v in . db47 db46 db45 db44 db43 db42 db41 db40 db4 db33 db32 db3 db; do
|
|
+ for v in . db47 db46 db45 db44 db43 db42 db41 db40 db4 db33 db32 db3 db db4; do
|
|
if test -f "$BERKELEY_DB_DIR/include/$v/db.h"; then
|
|
BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include/$v"
|
|
break
|
|
@@ -16112,7 +16112,7 @@ $as_echo "$BERKELEY_DB_DIR" >&6; }
|
|
done
|
|
|
|
BERKELEY_DB_LIB="-ldb"
|
|
- for v in db-4.7 db4.7 db47 db-4.6 db4.6 db46 db-4.5 db4.5 db45 db-4.4 db4.4 db44; do
|
|
+ for v in db-4.7 db4.7 db47 db-4.6 db4.6 db46 db-4.5 db4.5 db45 db-4.4 db4.4 db44 db4; do
|
|
if test -f "$BERKELEY_DB_DIR/lib/lib$v.so"; then
|
|
BERKELEY_DB_LIB="-l$v"
|
|
break
|
|
@@ -22778,9 +22778,6 @@ else
|
|
$as_echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
- cat >>confdefs.h <<\_ACEOF
|
|
-#define _POSIX_C_SOURCE 200112loL
|
|
-_ACEOF
|
|
|
|
fi
|
|
|