git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8fdd9e
)
Move SHLIBEXT determination into a test as well.
author
jelmer
<jelmer@samba.org>
Tue, 6 Nov 2007 02:35:46 +0000
(
02:35
+0000)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 6 Nov 2007 08:38:58 +0000
(09:38 +0100)
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25852
0c0555d6
-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
322cf8002bab1e449616d9fcea0bd4c9535cfe6a
)
source3/lib/replace/libreplace_ld.m4
patch
|
blob
|
history
diff --git
a/source3/lib/replace/libreplace_ld.m4
b/source3/lib/replace/libreplace_ld.m4
index 07dd2db231786cc290ba8d058ead7fc834d19a4a..7f85fb4ccc6d585e134f3cf4fc2e9895be94b93c 100644
(file)
--- a/
source3/lib/replace/libreplace_ld.m4
+++ b/
source3/lib/replace/libreplace_ld.m4
@@
-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)
+])