cvs commit: ponie Configure.pl

[email protected] (Nicholas Clark) 22 Mar 2004 09:32:50 -0000
Newsgroups perl.ponie.changes
Message-ID <[email protected]>
cvsuser     04/03/22 01:32:50

  Modified:    .        Configure.pl
  Log:
  Exit Configure promptly first time to avoid two runs of makedepend
  
  Revision  Changes    Path
  1.15      +5 -1      ponie/Configure.pl
  
  Index: Configure.pl
  ===================================================================
  RCS file: /cvs/public/ponie/Configure.pl,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -w -r1.14 -r1.15
  --- Configure.pl	19 Mar 2004 12:34:26 -0000	1.14
  +++ Configure.pl	22 Mar 2004 09:32:50 -0000	1.15
  @@ -22,7 +22,9 @@
   }
   
   push @config_args,'-Dnoextensions=Encode';
  -push @config_args,'-de';
  +push @config_args,'-d';	# Defaults
  +# exit before running makedepend. This means we need to extract .SH ourselves.
  +push @config_args,'-E';
   push @config_args,'-Dusedevel';
   push @config_args,'-Dusethreads';
   push @config_args,'-Uuseithreads';
  @@ -91,6 +93,8 @@
       system('rm -f config.sh');
       system('rm -f config.h');
       system('sh','Configure',@config_args)  && die "error";;
  +    # Manually extract config.h
  +    system('sh','config_h.SH')  && die "error";;
       chdir('..');
   }