mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
r3696: Feed directly to perl, rather then creating an intermediate file
This commit is contained in:
parent
fb849a309b
commit
dab264b78c
@ -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 $?
|
||||
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user