diff options
author | Michael Adam <obnox@samba.org> | 2007-10-05 12:05:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:07:46 -0500 |
commit | 3b07f6aeb1a060efcf8218e76b8b84fb8850f337 (patch) | |
tree | eed739de19b892bf0c6e183ee1c7ca829cf20646 /source4/lib/replace/libreplace_cc.m4 | |
parent | bf0ee695db9c96a28dde6e11cedba3590f8cd11c (diff) | |
download | samba-3b07f6aeb1a060efcf8218e76b8b84fb8850f337.tar.gz samba-3b07f6aeb1a060efcf8218e76b8b84fb8850f337.tar.bz2 samba-3b07f6aeb1a060efcf8218e76b8b84fb8850f337.zip |
r25515: Revert r25448:
Immediate structures are *not* supportet by the native C compiler
at least on Solaris, Tru64 and HP-UX.
Michael
(This used to be commit 6d07e29de2a7e535139622fa688b407da232c816)
Diffstat (limited to 'source4/lib/replace/libreplace_cc.m4')
-rw-r--r-- | source4/lib/replace/libreplace_cc.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/replace/libreplace_cc.m4 b/source4/lib/replace/libreplace_cc.m4 index bd92867d6d..a01bf1b290 100644 --- a/source4/lib/replace/libreplace_cc.m4 +++ b/source4/lib/replace/libreplace_cc.m4 @@ -159,8 +159,8 @@ AC_CACHE_CHECK([for immediate structures],libreplace_cv_immediate_structures,[ libreplace_cv_immediate_structures=no, libreplace_cv_immediate_structures=cross) ]) -if test x"$libreplace_cv_immediate_structures" = x"no"; then - AC_MSG_ERROR([compiler does not support immediate structures]) +if test x"$libreplace_cv_immediate_structures" = x"yes"; then + AC_DEFINE(HAVE_IMMEDIATE_STRUCTURES,1,[Whether the compiler supports immediate structures]) fi AC__LIBREPLACE_ONLY_CC_CHECKS_END |