summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/env.pm
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-10-05 12:05:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:46 -0500
commit3b07f6aeb1a060efcf8218e76b8b84fb8850f337 (patch)
treeeed739de19b892bf0c6e183ee1c7ca829cf20646 /source4/build/smb_build/env.pm
parentbf0ee695db9c96a28dde6e11cedba3590f8cd11c (diff)
downloadsamba-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/build/smb_build/env.pm')
-rw-r--r--source4/build/smb_build/env.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/build/smb_build/env.pm b/source4/build/smb_build/env.pm
index 548d04f841..f468f51de1 100644
--- a/source4/build/smb_build/env.pm
+++ b/source4/build/smb_build/env.pm
@@ -59,6 +59,10 @@ sub PkgConfig($$$$$$$$$$$$)
print __FILE__.": creating $path\n";
+ if ($self->{config}->{libreplace_cv_immediate_structures} eq "yes") {
+ $cflags .= " -DHAVE_IMMEDIATE_STRUCTURES=1";
+ }
+
mkpath(dirname($path),0,0755);
open(OUT, ">$path") or die("Can't open $path: $!");