summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2005-09-08 08:18:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:36:34 -0500
commite6190e6be55c8e6037b0cb2b357e133f5b313a02 (patch)
treead648e7bfbeb5c9ef5a2b0658190a3d8d4e839bf /source4/pidl/lib/Parse/Pidl
parent1f2f470889d63a2a81ee3f2d8bdff782ac8d0e28 (diff)
downloadsamba-e6190e6be55c8e6037b0cb2b357e133f5b313a02.tar.gz
samba-e6190e6be55c8e6037b0cb2b357e133f5b313a02.tar.bz2
samba-e6190e6be55c8e6037b0cb2b357e133f5b313a02.zip
r10071: Configure checks for IRIX build environment. Test whether we can
use the MIPSPro 7.4 -c99 option to get C99 support. Try to find a common perl that is more modern than /usr/bin/perl. (This used to be commit 82fab8b747bf68d8548c6f0f2f4bff98bd428d22)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl')
-rw-r--r--source4/pidl/lib/Parse/Pidl/IDL.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/IDL.pm b/source4/pidl/lib/Parse/Pidl/IDL.pm
index 203e052022..2e73bd8410 100644
--- a/source4/pidl/lib/Parse/Pidl/IDL.pm
+++ b/source4/pidl/lib/Parse/Pidl/IDL.pm
@@ -2672,6 +2672,7 @@ sub
#line 320 "pidl/idl.yp"
+use config qw(%config);
use Parse::Pidl::Util;
#####################################################################
@@ -2775,7 +2776,7 @@ sub parse_idl($$)
undef $/;
my $cpp = $ENV{CPP};
if (! defined $cpp) {
- $cpp = "cpp"
+ $cpp = $config::config{'CPP'};
}
my $data = `$cpp -D__PIDL__ -xc $filename`;
$/ = $saved_delim;