diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-06-19 01:07:13 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-06-19 01:07:13 +0000 |
commit | e60efd8dfc3f4ed549843895f8cb4ed2fe3d7145 (patch) | |
tree | 5a60189967c22f7974b36641dd522081f59063a4 /emulators/bochs/files/patch-configure.in | |
parent | Update to 0.36 (diff) |
- Add patch which fixes build under certain configurations
PR: ports/38124
Submitted by: Leland Wang <llwang@infor.org>
- Fix build for -current and add WITH_NE2000 knob
PR: ports/38759
Submitted by: anholt
Diffstat (limited to 'emulators/bochs/files/patch-configure.in')
-rw-r--r-- | emulators/bochs/files/patch-configure.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/emulators/bochs/files/patch-configure.in b/emulators/bochs/files/patch-configure.in new file mode 100644 index 000000000000..a5a5aad8dfbc --- /dev/null +++ b/emulators/bochs/files/patch-configure.in @@ -0,0 +1,21 @@ +--- configure.in.orig Wed Mar 27 17:20:32 2002 ++++ configure.in Thu May 30 21:32:01 2002 +@@ -101,8 +101,16 @@ + AC_CHECK_FUNCS(usleep, AC_DEFINE(BX_HAVE_USLEEP)) + AC_CHECK_FUNCS(nanosleep, AC_DEFINE(BX_HAVE_NANOSLEEP)) + AC_CHECK_FUNCS(abort, AC_DEFINE(BX_HAVE_ABORT)) +-AC_CHECK_TYPE(socklen_t, AC_DEFINE(BX_HAVE_SOCKLEN_T), , [#include <sys/socket.h>]) +- ++AC_MSG_CHECKING(for socklen_t) ++AC_TRY_COMPILE([#include <sys/types.h> ++ #include <sys/socket.h>], ++ [socklen_t x], ++ [ ++ AC_DEFINE(BX_HAVE_SOCKLEN_T) ++ AC_MSG_RESULT(yes) ++ ], ++ AC_MSG_RESULT(no) ++ ) + AC_MSG_CHECKING(for struct timeval) + AC_TRY_COMPILE([#include <sys/time.h>], + [struct timeval x;], |