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:
1a7dbfd
)
r25558: Define HAVE_* for other gai functions to prevent problems with libroken.
author
Jelmer Vernooij
<jelmer@samba.org>
Sun, 7 Oct 2007 00:25:27 +0000
(
00:25
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 20:07:56 +0000
(15:07 -0500)
source/lib/replace/libreplace.m4
patch
|
blob
|
history
diff --git
a/source/lib/replace/libreplace.m4
b/source/lib/replace/libreplace.m4
index 29ec2acdabbeb0c286b84ce0e753a2877aac159d..9063f5029d7afb84ff1efcc1420d09a049558ddf 100644
(file)
--- a/
source/lib/replace/libreplace.m4
+++ b/
source/lib/replace/libreplace.m4
@@
-173,6
+173,8
@@
ret = getnameinfo(&sa, sizeof(sa),
samba_cv_HAVE_GETADDRINFO=yes,samba_cv_HAVE_GETADDRINFO=no)])
if test x"$samba_cv_HAVE_GETADDRINFO" = x"yes"; then
AC_DEFINE(HAVE_GETADDRINFO,1,[Whether the system has getaddrinfo and getnameinfo])
+ AC_DEFINE(HAVE_FREEADDRINFO,1,[Whether the system has freeaddrinfo])
+ AC_DEFINE(HAVE_GAI_STRERROR,1,[Whether the system has gai_strerror])
fi