mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r18549: move gcc version check to libreplace and reorder the tests a bit
for nicer output metze
This commit is contained in:
parent
8fa9852160
commit
888a769af5
@ -7,12 +7,6 @@ dnl
|
||||
|
||||
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
|
||||
|
@ -28,19 +28,23 @@ ac_cv_prog_cc_Ae=no
|
||||
savedCFLAGS=$CFLAGS
|
||||
AC_PROG_CC
|
||||
CFLAGS=$savedCFLAGS
|
||||
AC_ISC_POSIX
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
AC_PROG_CC_C99
|
||||
AC_C_INLINE
|
||||
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_C_BIGENDIAN
|
||||
AC_C_INLINE
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user