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

metze at samba.org metze at samba.org
Thu Nov 15 14:55:49 GMT 2007


Author: metze
Date: 2007-11-15 14:55:48 +0000 (Thu, 15 Nov 2007)
New Revision: 25971

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

Log:
libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINE

metze

Modified:
   branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4
   branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4	2007-11-15 14:46:47 UTC (rev 25970)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4	2007-11-15 14:55:48 UTC (rev 25971)
@@ -48,8 +48,8 @@
 AC_PROG_INSTALL
 
 AC_ISC_POSIX
-AC_EXTENSION_FLAG(_XOPEN_SOURCE_EXTENDED)
-AC_EXTENSION_FLAG(_OSF_SOURCE)
+AC_N_DEFINE(_XOPEN_SOURCE_EXTENDED)
+AC_N_DEFINE(_OSF_SOURCE)
 
 AC_SYS_LARGEFILE
 

Modified: branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4	2007-11-15 14:46:47 UTC (rev 25970)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace_macros.m4	2007-11-15 14:55:48 UTC (rev 25971)
@@ -87,19 +87,6 @@
 rm -f conftest*
 ])])
 
-AC_DEFUN([AC_EXTENSION_FLAG],
-[
-  cat >>confdefs.h <<\EOF
-#ifndef $1
-# define $1 1
-#endif
-EOF
-AH_VERBATIM([$1], [#ifndef $1
-# define $1 1
-#endif])
-])
-
-
 dnl see if a declaration exists for a function or variable
 dnl defines HAVE_function_DECL if it exists
 dnl AC_HAVE_DECL(var, includes)



More information about the samba-cvs mailing list