Ignore:
Timestamp:
2008-07-30T11:23:44+12:00 (16 years ago)
Author:
oranfry
Message:

Tweak to configure and configure.in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2build/configure.in

    r16589 r16598  
    323323
    324324dnl
    325 dnl Now check that Perl is actually around, and can be found
    326 dnl
    327 AC_MSG_CHECKING(that Perl 5 is available)
    328 success="no"
    329 pl_path="$PATH"
    330 IFS="${IFS=   }"; pl_save_ifs="$IFS"; IFS=":"
    331 for pl_dir in $pl_path; do
    332   test -z "$pl_dir" && pl_dir=.
    333   if test -x $pl_dir/perl; then
    334     success="yes"
    335     break
    336   fi
    337 done
    338 IFS="$pl_save_ifs"
    339 
    340 dnl
    341 dnl Perl actually can be run; now we see if it is version 5 by
    342 dnl running a sample script (which returns a "clean" version number
    343 dnl and then tests the result using expr.  If perl errors in some
    344 dnl way (eg. broken Perl executable, missing script), we set a failure
    345 dnl value ("0") and then proceed as best we can
    346 dnl
    347 if test $success = "yes"; then
    348 try=`perl configtest.pl` || try="0"
    349 try=`expr $try \> 5.000`
    350 if test $try = "1"; then
    351 AC_MSG_RESULT("yes")
    352 else
    353 success="no"
    354 fi
    355 fi
    356 
    357 if test $success = "no"; then
    358 AC_MSG_RESULT("no")
    359 AC_MSG_ERROR("Perl 5 not available - cannot install")
    360 fi
    361 
    362 dnl
    363325dnl Check if the STL library has any known faults;
    364326dnl In GCC 2.7.2.x series, some STL library headers are missing
     
    430392moduleDirs=""
    431393MODULEDIRS=""
    432 if [ -d modules ] ; then
     394if test -d modules ; then
    433395  for x in `find modules -mindepth 1 -maxdepth 2`; do
    434396    if test -d "$x"; then
Note: See TracChangeset for help on using the changeset viewer.