Minor fixes to configure script
This commit is contained in:
parent
b5aa2c8e63
commit
561dafdca7
|
@ -66,6 +66,7 @@ AC_CHECK_FUNCS([floor localtime_r memset sqrt strerror strrchr strtol])
|
||||||
|
|
||||||
dnl Change a few things (a la kannel config)
|
dnl Change a few things (a la kannel config)
|
||||||
EXE_EXT=""
|
EXE_EXT=""
|
||||||
|
LIB_EXT="a"
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-sun-solaris*)
|
*-sun-solaris*)
|
||||||
CFLAGS="$CFLAGS -DSunOS=1"
|
CFLAGS="$CFLAGS -DSunOS=1"
|
||||||
|
@ -75,6 +76,7 @@ case "$host" in
|
||||||
;;
|
;;
|
||||||
*apple-darwin*)
|
*apple-darwin*)
|
||||||
CFLAGS="$CFLAGS -DDARWIN=1 -O4 -Wall"
|
CFLAGS="$CFLAGS -DDARWIN=1 -O4 -Wall"
|
||||||
|
LIB_EXT="dylib"
|
||||||
;;
|
;;
|
||||||
*-linux-*)
|
*-linux-*)
|
||||||
CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -O4 -Wall"
|
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
|
dnl test only if --with-ssl has not been used
|
||||||
if test "x$ssllib" = "x" && test "x$sslinc" = "x"; then
|
if test "x$ssllib" = "x" && test "x$sslinc" = "x"; then
|
||||||
for loc in /usr/lib /usr/local/ssl/lib /usr/local/openssl/lib; do
|
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"
|
ssllib="$loc"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue