diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-11-18 10:14:35 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-11-18 10:14:35 +0000 |
commit | 1e9b85e586a24ae119e4f41504ea2e71e4dd5de7 (patch) | |
tree | 092d6a6832f2fa9feb3c5a7cb8ffcfb7392e44ad /configure.ac | |
parent | 14231691e15744c0aac39224e9aa0d84835313fe (diff) | |
download | zsh-1e9b85e586a24ae119e4f41504ea2e71e4dd5de7.tar.gz zsh-1e9b85e586a24ae119e4f41504ea2e71e4dd5de7.tar.xz zsh-1e9b85e586a24ae119e4f41504ea2e71e4dd5de7.zip |
François Revol: some BeOS fixes
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
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 |