1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00

Move SHLIBEXT determination into a test as well.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25852 0c0555d6-39d7-0310-84fc-f1cc0bd64818
This commit is contained in:
jelmer 2007-11-06 02:35:46 +00:00 committed by Stefan Metzmacher
parent 63b7690335
commit 322cf8002b

View File

@ -101,3 +101,21 @@ AC_DEFUN([AC_LD_SHLDFLAGS],
AC_SUBST(SHLD_FLAGS)
])
AC_DEFUN([AC_LD_SHLIBEXT],
[
SHLIBEXT="so"
case "$host_os" in
*hpux*)
if test "$host_cpu" = "ia64"; then
SHLIBEXT="so"
else
SHLIBEXT="sl"
fi
;;
*darwin*)
SHLIBEXT="dylib"
;;
esac
AC_SUBST(SHLIBEXT)
])