$NetBSD: patch-al,v 1.7 2004/06/02 12:29:28 recht Exp $ --- configure.orig 2004-05-07 21:13:40.000000000 +0200 +++ configure 2004-06-02 13:45:43.000000000 +0200 @@ -1440,6 +1440,8 @@ # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish. OpenBSD/2.* | OpenBSD/3.[01234]) define_xopen_source=no;; + NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S]) + define_xopen_source=no;; # On Solaris 2.6, sys/wait.h is inconsistent in the usage # of union __?sigval. Reported by Stuart Bishop. SunOS/5.6) @@ -3603,7 +3605,7 @@ RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH} INSTSONAME="$LDLIBRARY".$SOVERSION ;; - Linux*|GNU*|NetBSD*) + Linux*|GNU*|NetBSD*|FreeBSD*) LDLIBRARY='libpython$(VERSION).so' BLDLIBRARY='-L. -lpython$(VERSION)' RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH} @@ -13855,6 +13857,7 @@ /* end confdefs.h. */ #include "confdefs.h" +#include #include #include #include