svn commit: samba r19235 - in
branches/SAMBA_3_0/source/lib/replace: .
metze at samba.org
metze at samba.org
Wed Oct 11 07:22:34 GMT 2006
Author: metze
Date: 2006-10-11 07:22:33 +0000 (Wed, 11 Oct 2006)
New Revision: 19235
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19235
Log:
merge from samba4:
fix configure test for net/if.h on some platforms
AC_LANG_SOURCE() adds the content of confdefs.h in front
of the compiled file
metze
Modified:
branches/SAMBA_3_0/source/lib/replace/libreplace.m4
Changeset:
Modified: branches/SAMBA_3_0/source/lib/replace/libreplace.m4
===================================================================
--- branches/SAMBA_3_0/source/lib/replace/libreplace.m4 2006-10-11 07:19:00 UTC (rev 19234)
+++ branches/SAMBA_3_0/source/lib/replace/libreplace.m4 2006-10-11 07:22:33 UTC (rev 19235)
@@ -103,13 +103,13 @@
dnl we need to check that net/if.h really can be used, to cope with hpux
dnl where including it always fails
AC_CACHE_CHECK([for usable net/if.h],libreplace_cv_USABLE_NET_IF_H,[
- AC_COMPILE_IFELSE([
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([
AC_INCLUDES_DEFAULT
#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <net/if.h>
- int main(void) {return 0;}],
+ int main(void) {return 0;}])],
[libreplace_cv_USABLE_NET_IF_H=yes],
[libreplace_cv_USABLE_NET_IF_H=no]
)
More information about the samba-cvs
mailing list