Author: jra Date: 2007-10-07 04:28:01 +0000 (Sun, 07 Oct 2007) New Revision: 25560
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25560 Log: Merge from Jelmer. "Define HAVE_* for other gai functions to prevent problems with libroken." Jeremy. Modified: branches/SAMBA_3_2/source/lib/replace/libreplace.m4 branches/SAMBA_3_2_0/source/lib/replace/libreplace.m4 Changeset: Modified: branches/SAMBA_3_2/source/lib/replace/libreplace.m4 =================================================================== --- branches/SAMBA_3_2/source/lib/replace/libreplace.m4 2007-10-07 04:23:06 UTC (rev 25559) +++ branches/SAMBA_3_2/source/lib/replace/libreplace.m4 2007-10-07 04:28:01 UTC (rev 25560) @@ -173,6 +173,8 @@ 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 Modified: branches/SAMBA_3_2_0/source/lib/replace/libreplace.m4 =================================================================== --- branches/SAMBA_3_2_0/source/lib/replace/libreplace.m4 2007-10-07 04:23:06 UTC (rev 25559) +++ branches/SAMBA_3_2_0/source/lib/replace/libreplace.m4 2007-10-07 04:28:01 UTC (rev 25560) @@ -173,6 +173,8 @@ 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