cvs commit: ponie Configure.pl

[email protected] (Nicholas Clark) 11 Jul 2004 17:59:35 -0000
Newsgroups perl.ponie.changes
Message-ID <[email protected]>
cvsuser     04/07/11 10:59:35

  Modified:    .        Configure.pl
  Log:
  Need to get -lgmp from parrot's config
  
  Revision  Changes    Path
  1.31      +7 -3      ponie/Configure.pl
  
  Index: Configure.pl
  ===================================================================
  RCS file: /cvs/public/ponie/Configure.pl,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -w -r1.30 -r1.31
  --- Configure.pl	26 Jun 2004 22:52:58 -0000	1.30
  +++ Configure.pl	11 Jul 2004 17:59:35 -0000	1.31
  @@ -1,5 +1,5 @@
   #!/usr/bin/perl -w
  -# $Id: Configure.pl,v 1.30 2004/06/26 22:52:58 nicholas Exp $
  +# $Id: Configure.pl,v 1.31 2004/07/11 17:59:35 nicholas Exp $
   
   use strict;
   use Config;
  @@ -119,9 +119,13 @@
       if ($^O eq 'solaris') {
   	$bonus_libs = '-lrt ';
       }
  +    $bonus_libs .= "-lparrot -licuuc -licudata ";
  +    if (" $Parrot::Config::PConfig{libs} " =~ / -lgmp /) {
  +	$bonus_libs .= "-lgmp ";
  +    }
       $munge{cppflags} = $munge{ccflags} = " -I${inc_path}";
       $munge{ldflags} = $munge{lddlflags} = " -L${lib_path}";
  -    $munge{libs} = $munge{perllibs} = " $bonus_libs-lparrot -licuuc -licudata ";
  +    $munge{libs} = $munge{perllibs} = "$bonus_libs ";
       $munge{libpth} = $lib_path;
   
       # Put new text that the front. This gives our things priority. For example,