svn commit: samba r18503 - in branches/SAMBA_4_0/source: build/m4 lib/replace

metze at samba.org metze at samba.org
Thu Sep 14 07:30:47 GMT 2006


Author: metze
Date: 2006-09-14 07:30:46 +0000 (Thu, 14 Sep 2006)
New Revision: 18503

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

Log:
- _GNU_SOURCE is defined by libreplace
- move AS_HELP_STRING replacement to libreplace

metze

Modified:
   branches/SAMBA_4_0/source/build/m4/env.m4
   branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4


Changeset:
Modified: branches/SAMBA_4_0/source/build/m4/env.m4
===================================================================
--- branches/SAMBA_4_0/source/build/m4/env.m4	2006-09-14 07:22:38 UTC (rev 18502)
+++ branches/SAMBA_4_0/source/build/m4/env.m4	2006-09-14 07:30:46 UTC (rev 18503)
@@ -10,11 +10,6 @@
 AC_SUBST(srcdir)
 export srcdir;
 
-dnl AS_HELP_STRING is not available in autoconf 2.57, and AC_HELP_STRING is deprecated
-dnl in autoconf 2.59, so define AS_HELP_STRING to be AC_HELP_STRING unless it is already
-dnl defined.
-m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])
-
 # we always set builddir to "." as that's nicer than
 # having the absolute path of the current work directory
 builddir=.
@@ -31,8 +26,6 @@
 	echo "BUILD REVISION: ${SAMBA_VERSION_SVN_REVISION}"
 fi
 
-AC_DEFINE([_GNU_SOURCE],[],[Pull in GNU extensions])
-
 m4_include(build/m4/check_path.m4)
 m4_include(build/m4/check_perl.m4)
 m4_include(build/m4/check_cc.m4)

Modified: branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4	2006-09-14 07:22:38 UTC (rev 18502)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4	2006-09-14 07:30:46 UTC (rev 18503)
@@ -264,3 +264,7 @@
 EOF
 ])
 
+dnl AS_HELP_STRING is not available in autoconf 2.57, and AC_HELP_STRING is deprecated
+dnl in autoconf 2.59, so define AS_HELP_STRING to be AC_HELP_STRING unless it is already
+dnl defined.
+m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])



More information about the samba-cvs mailing list