svn commit: samba r18085 - in branches/SAMBA_4_0/source/lib/replace: .

tridge at samba.org tridge at samba.org
Tue Sep 5 12:13:15 GMT 2006


Author: tridge
Date: 2006-09-05 12:13:15 +0000 (Tue, 05 Sep 2006)
New Revision: 18085

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18085

Log:

using m4_include() instead of sinclude() means we get an error if the
include fails - thats better than the compile failing mysteriously

Modified:
   branches/SAMBA_4_0/source/lib/replace/configure.ac
   branches/SAMBA_4_0/source/lib/replace/libreplace.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/configure.ac
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/configure.ac	2006-09-05 12:08:35 UTC (rev 18084)
+++ branches/SAMBA_4_0/source/lib/replace/configure.ac	2006-09-05 12:13:15 UTC (rev 18085)
@@ -12,7 +12,7 @@
    CFLAGS="$CFLAGS -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings"
 fi
 
-sinclude(libreplace.m4)
-sinclude(win32/config.m4)
-sinclude(repdir/config.m4)
+m4_include(libreplace.m4)
+m4_include(win32/config.m4)
+m4_include(repdir/config.m4)
 AC_OUTPUT(Makefile)

Modified: branches/SAMBA_4_0/source/lib/replace/libreplace.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace.m4	2006-09-05 12:08:35 UTC (rev 18084)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace.m4	2006-09-05 12:13:15 UTC (rev 18085)
@@ -146,8 +146,8 @@
 AC_CHECK_FUNCS([syslog memset setnetgrent getnetgrent endnetgrent memcpy],,
 			   [AC_MSG_ERROR([Required function not found])])
 
-sinclude(getpass.m4)
-sinclude(cc_features.m4)
+m4_include(getpass.m4)
+m4_include(cc_features.m4)
 
 LIBREPLACE_C99_STRUCT_INIT(c99_struct_initialization=yes,
 			c99_struct_initialization=no)



More information about the samba-cvs mailing list