diff options
author | James Peach <jpeach@samba.org> | 2005-09-08 08:18:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:36:34 -0500 |
commit | e6190e6be55c8e6037b0cb2b357e133f5b313a02 (patch) | |
tree | ad648e7bfbeb5c9ef5a2b0658190a3d8d4e839bf /source4/pidl | |
parent | 1f2f470889d63a2a81ee3f2d8bdff782ac8d0e28 (diff) | |
download | samba-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')
-rw-r--r-- | source4/pidl/idl.yp | 3 | ||||
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/IDL.pm | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/source4/pidl/idl.yp b/source4/pidl/idl.yp index 1e101106ec..0f5b17e0fa 100644 --- a/source4/pidl/idl.yp +++ b/source4/pidl/idl.yp @@ -319,6 +319,7 @@ optional_semicolon: # start code %% +use config qw(%config); use Parse::Pidl::Util; ##################################################################### @@ -422,7 +423,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; 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; |