r10071: Configure checks for IRIX build environment. Test whether we can
[samba.git] / source / pidl / idl.yp
index 1e101106ec3c295a19cfa83b9c250c61f0c00369..0f5b17e0fa0a6cae2186280512a694bfa1523c9b 100644 (file)
@@ -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;