svn commit: samba r18549 - in branches/SAMBA_4_0/source: build/m4
lib/replace
metze at samba.org
metze at samba.org
Fri Sep 15 10:54:19 GMT 2006
Author: metze
Date: 2006-09-15 10:54:18 +0000 (Fri, 15 Sep 2006)
New Revision: 18549
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18549
Log:
move gcc version check to libreplace and reorder the tests a bit
for nicer output
metze
Modified:
branches/SAMBA_4_0/source/build/m4/check_cc.m4
branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4
Changeset:
Modified: branches/SAMBA_4_0/source/build/m4/check_cc.m4
===================================================================
--- branches/SAMBA_4_0/source/build/m4/check_cc.m4 2006-09-15 09:30:32 UTC (rev 18548)
+++ branches/SAMBA_4_0/source/build/m4/check_cc.m4 2006-09-15 10:54:18 UTC (rev 18549)
@@ -7,12 +7,6 @@
AC_LIBREPLACE_CC_CHECKS
-if test x"$GCC" = x"yes" ; then
- AC_MSG_CHECKING([for version of gcc])
- GCC_VERSION=`$CC -dumpversion`
- AC_MSG_RESULT(${GCC_VERSION})
-fi
-
#
# Set the debug symbol option if we have
# --enable-*developer or --enable-debug
Modified: branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4 2006-09-15 09:30:32 UTC (rev 18548)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4 2006-09-15 10:54:18 UTC (rev 18549)
@@ -28,19 +28,23 @@
savedCFLAGS=$CFLAGS
AC_PROG_CC
CFLAGS=$savedCFLAGS
-AC_ISC_POSIX
+AC_PROG_CC_C99
+if test x"$GCC" = x"yes" ; then
+ AC_MSG_CHECKING([for version of gcc])
+ GCC_VERSION=`$CC -dumpversion`
+ AC_MSG_RESULT(${GCC_VERSION})
+fi
AC_USE_SYSTEM_EXTENSIONS
-AC_PROG_CC_C99
+AC_C_BIGENDIAN
AC_C_INLINE
-AC_C_BIGENDIAN
+LIBREPLACE_C99_STRUCT_INIT([],[AC_MSG_WARN([c99 structure initializer are not supported])])
+
AC_PROG_INSTALL
-
+AC_ISC_POSIX
AC_EXTENSION_FLAG(_XOPEN_SOURCE_EXTENDED)
AC_EXTENSION_FLAG(_OSF_SOURCE)
-LIBREPLACE_C99_STRUCT_INIT([],[AC_MSG_WARN([c99 structure initializer are not supported])])
-
AC_SYS_LARGEFILE
dnl Add #include for broken IRIX header files
More information about the samba-cvs
mailing list