summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-11-12 02:57:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:45 -0500
commit3c8dab7a61c5024f33fb23fc0632579530dd2fef (patch)
tree03a73a53d6afa5bb12b0eef41d03c2cb7c31167b /source4
parent2de1e5299dc4e6bc925ee1053d09c16793f6d3bc (diff)
downloadsamba-3c8dab7a61c5024f33fb23fc0632579530dd2fef.tar.gz
samba-3c8dab7a61c5024f33fb23fc0632579530dd2fef.tar.bz2
samba-3c8dab7a61c5024f33fb23fc0632579530dd2fef.zip
r3696: Feed directly to perl, rather then creating an intermediate file
(This used to be commit dab264b78cdf709f1e2618b2b52b0e4aa2ad85b7)
Diffstat (limited to 'source4')
-rw-r--r--source4/build/smb_build/core.m414
1 files changed, 2 insertions, 12 deletions
diff --git a/source4/build/smb_build/core.m4 b/source4/build/smb_build/core.m4
index c5a5d8502e..556c9feb16 100644
--- a/source4/build/smb_build/core.m4
+++ b/source4/build/smb_build/core.m4
@@ -1,6 +1,7 @@
dnl SMB Build Core System
dnl -------------------------------------------------------
dnl Copyright (C) Stefan (metze) Metzmacher 2004
+dnl Copyright (C) Jelmer Vernooij 2004
dnl Released under the GNU GPL
dnl -------------------------------------------------------
dnl
@@ -18,22 +19,13 @@ dnl )
AC_DEFUN([_SMB_BUILD_CORE],
[
-echo "config.status: creating ./config.smb_build.pl"
-
-cat > config.smb_build.pl <<\_SMB_ACEOF
-#!$PERL -I$srcdir/build/smb_build
-#
-
+$PERL -I$srcdir/build/smb_build <<\_SMB_ACEOF
use strict;
my \$SMB_BUILD_CTX;
use main;
-_SMB_ACEOF
-
-echo "#line 8 \"build/smb_build/core.m4\"" >> config.smb_build.pl
-cat >> config.smb_build.pl <<\_SMB_ACEOF
###########################################################
### First we list all info from configure ###
###########################################################
@@ -70,6 +62,4 @@ smb_build_main(\$SMB_BUILD_CTX);
_SMB_ACEOF
-$PERL ./config.smb_build.pl || exit $?
-
])