git.samba.org
/
garming
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
413e992
)
r25999: libreplace: add AC_LIBREPLACE_STLD and AC_LIBREPLACE_STLD_FLAGS
author
Stefan Metzmacher
<metze@samba.org>
Fri, 16 Nov 2007 10:48:59 +0000
(11:48 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 21 Dec 2007 04:45:33 +0000
(
05:45
+0100)
metze
(This used to be commit
c7b0b4c21e1fc4093c9109e046f23c19489e7400
)
source4/lib/replace/libreplace_ld.m4
patch
|
blob
|
history
diff --git
a/source4/lib/replace/libreplace_ld.m4
b/source4/lib/replace/libreplace_ld.m4
index 8bac16094e83e7cf334113cafbb804de4e91b400..46ddfb4ed6148b540a4f24089c126d387adef34c 100644
(file)
--- a/
source4/lib/replace/libreplace_ld.m4
+++ b/
source4/lib/replace/libreplace_ld.m4
@@
-3,6
+3,21
@@
# http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html
#
+AC_DEFUN([AC_LIBREPLACE_STLD],
+[
+ AC_PATH_PROG(PROG_AR, ar)
+
+ STLD=${PROG_AR}
+
+ AC_SUBST(STLD)
+])
+
+AC_DEFUN([AC_LIBREPLACE_STLD_FLAGS],
+[
+ STLD_FLAGS="-rcs"
+ AC_SUBST(STLD_FLAGS)
+])
+
AC_DEFUN([AC_LD_EXPORT_DYNAMIC],
[
saved_LDFLAGS="$LDFLAGS"