From 1e9b85e586a24ae119e4f41504ea2e71e4dd5de7 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 18 Nov 2008 10:14:35 +0000 Subject: François Revol: some BeOS fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 8fb4843e0..f68b1b9bc 100644 --- a/configure.ac +++ b/configure.ac @@ -745,6 +745,7 @@ if test x$enable_cap = xyes; then fi AC_CHECK_LIB(socket, socket) +AC_CHECK_LIB(bind, gethostbyname2) dnl --------------- dnl CHECK FOR ICONV @@ -2527,6 +2528,7 @@ char *argv[]; aix*) DLLDFLAGS="${DLLDFLAGS=-G -bexpall -lc}" ;; solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G}" ;; darwin*) DLLDFLAGS="${DLLDFLAGS=-bundle -flat_namespace -undefined suppress}" ;; + beos*|haiku*) DLLDFLAGS="${DLLDFLAGS=-nostart}" ;; openbsd*) if test x$zsh_cv_sys_elf = xyes; then DLLDFLAGS="${DLLDFLAGS=-shared -fPIC}" @@ -2568,6 +2570,15 @@ char *argv[]; ;; esac ;; + *-beos*) + # gcc on BeOS doesn't like -rdynamic... + EXTRA_LDFLAGS="${EXTRA_LDFLAGS= }" + # also, dlopen() at least in Zeta respects $LIBRARY_PATH, so needs %A added to it. + export LIBRARY_PATH="$LIBRARY_PATH:%A/" + ;; + *-haiku*) + # + ;; esac # Done with our shell code, so restore autotools quoting -- cgit 1.4.1