summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-24 02:28:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:01:06 -0500
commitaf4f43db8d8d2b79d04f33e513555bdb72e265f6 (patch)
tree925bdf36b7c2426f5ee2fdbeb6985cf48c971751
parent96f2a97e011b195c5d445fd8baa0bdcfa03ec174 (diff)
downloadsamba-af4f43db8d8d2b79d04f33e513555bdb72e265f6.tar.gz
samba-af4f43db8d8d2b79d04f33e513555bdb72e265f6.tar.bz2
samba-af4f43db8d8d2b79d04f33e513555bdb72e265f6.zip
r18863: the test for immediate structures has moved to lib/replace/
(This used to be commit 46d8433a4f8918b5e21def2dc55a62adfde234b1)
-rw-r--r--source3/configure.in23
1 files changed, 1 insertions, 22 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 624587573a..53b78e9e0e 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -324,7 +324,7 @@ if test "x$CFLAGS" = x; then
CFLAGS="-O"
fi
-CFLAGS="${CFLAGS} -D_SAMBA_BUILD_"
+CFLAGS="${CFLAGS} -D_SAMBA_BUILD_=3"
AC_LIBREPLACE_CC_CHECKS
@@ -993,27 +993,6 @@ AC_SEARCH_LIBS(dlopen, [dl])
############################################
# check if the compiler can do immediate structures
-AC_CACHE_CHECK([for immediate structures],samba_cv_immediate_structures, [
- AC_TRY_COMPILE([
-#include <stdio.h>],
-[
- typedef struct {unsigned x;} FOOBAR;
- #define X_FOOBAR(x) ((FOOBAR) { x })
- #define FOO_ONE X_FOOBAR(1)
- FOOBAR f = FOO_ONE;
- struct {
- FOOBAR y;
- } f2[] = {
- {FOO_ONE}
- };
-],
- samba_cv_immediate_structures=yes,samba_cv_immediate_structures=no)])
-if test x"$samba_cv_immediate_structures" = x"yes"; then
- AC_DEFINE(HAVE_IMMEDIATE_STRUCTURES,1,[Whether the compiler supports immediate structures])
-fi
-
-############################################
-# check if the compiler can do immediate structures
AC_CACHE_CHECK([if the compiler will optimize out function calls],samba_cv_optimize_out_funcation_calls, [
AC_TRY_LINK([
#include <stdio.h>],