summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-05-01 13:20:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:29 -0500
commite595ede02fe9c80a88b5a7da4721c3c01808c276 (patch)
tree8aa304d9b4c2702bb2928425afb3f0a812e6b042 /source4/build
parentbd9e9062bff619e974cfc9bfb22f9b8dac8e8b80 (diff)
downloadsamba-e595ede02fe9c80a88b5a7da4721c3c01808c276.tar.gz
samba-e595ede02fe9c80a88b5a7da4721c3c01808c276.tar.bz2
samba-e595ede02fe9c80a88b5a7da4721c3c01808c276.zip
r15375: Rename readline.h to smbreadline.h avoid clashes with system header.
(This used to be commit ccc3d8a95441e7a7015f0cf0e622ec9e38347d33)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/header.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/build/smb_build/header.pm b/source4/build/smb_build/header.pm
index 7a0e40fda5..34e81a3a24 100644
--- a/source4/build/smb_build/header.pm
+++ b/source4/build/smb_build/header.pm
@@ -35,8 +35,10 @@ sub _prepare_build_h($)
$key->{TYPE} ne "BINARY");
next unless defined($key->{INIT_FUNCTIONS});
+ my $name = $key->{NAME};
+ $name =~ s/-/_/g;
$DEFINE->{COMMENT} = "$key->{TYPE} $key->{NAME} INIT";
- $DEFINE->{KEY} = "STATIC_$key->{NAME}_MODULES";
+ $DEFINE->{KEY} = "STATIC_$name\_MODULES";
$DEFINE->{VAL} = "{ \\\n";
foreach (@{$key->{INIT_FUNCTIONS}}) {
$DEFINE->{VAL} .= "\t$_, \\\n";