diff options
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; |