projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
md5, sha1, sha256, sha512: fix compile error in c++ mode
[gnulib.git]
/
modules
/
strdup-posix
diff --git
a/modules/strdup-posix
b/modules/strdup-posix
index
4a47488
..
846baf2
100644
(file)
--- a/
modules/strdup-posix
+++ b/
modules/strdup-posix
@@
-7,10
+7,14
@@
m4/strdup.m4
Depends-on:
string
Depends-on:
string
-malloc-posix
+malloc-posix
[test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1]
configure.ac:
gl_FUNC_STRDUP_POSIX
configure.ac:
gl_FUNC_STRDUP_POSIX
+if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
+ AC_LIBOBJ([strdup])
+ gl_PREREQ_STRDUP
+fi
gl_STRING_MODULE_INDICATOR([strdup])
Makefile.am:
gl_STRING_MODULE_INDICATOR([strdup])
Makefile.am: