From 561dafdca72ba83d2742e74f44a6ed8ff9b89c67 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Mon, 23 Apr 2007 13:37:44 +0000 Subject: [PATCH] Minor fixes to configure script --- mbuni/configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mbuni/configure.ac b/mbuni/configure.ac index 1caeb6c..1b49330 100644 --- a/mbuni/configure.ac +++ b/mbuni/configure.ac @@ -66,6 +66,7 @@ AC_CHECK_FUNCS([floor localtime_r memset sqrt strerror strrchr strtol]) dnl Change a few things (a la kannel config) EXE_EXT="" +LIB_EXT="a" case "$host" in *-sun-solaris*) CFLAGS="$CFLAGS -DSunOS=1" @@ -75,6 +76,7 @@ case "$host" in ;; *apple-darwin*) CFLAGS="$CFLAGS -DDARWIN=1 -O4 -Wall" + LIB_EXT="dylib" ;; *-linux-*) CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -O4 -Wall" @@ -138,7 +140,7 @@ if test "$ssl" = "yes" ; then dnl test only if --with-ssl has not been used if test "x$ssllib" = "x" && test "x$sslinc" = "x"; then for loc in /usr/lib /usr/local/ssl/lib /usr/local/openssl/lib; do - if test -f "$loc/libssl.a"; then + if test -f "$loc/libssl.$LIB_EXT"; then ssllib="$loc" fi done