Changeset 16613
- Timestamp:
- 2008-07-31T09:59:24+12:00 (15 years ago)
- Location:
- gs2runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2runtime/configure
r16612 r16613 6971 6971 6972 6972 6973 6974 echo "$as_me:$LINENO: checking that Perl 5 is available" >&56975 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&66976 success="no"6977 pl_path="$PATH"6978 IFS="${IFS= }"; pl_save_ifs="$IFS"; IFS=":"6979 for pl_dir in $pl_path; do6980 test -z "$pl_dir" && pl_dir=.6981 if test -x $pl_dir/perl; then6982 success="yes"6983 break6984 fi6985 done6986 IFS="$pl_save_ifs"6987 6988 if test $success = "yes"; then6989 try=`perl configtest.pl` || try="0"6990 try=`expr $try \> 5.000`6991 if test $try = "1"; then6992 echo "$as_me:$LINENO: result: \"yes\"" >&56993 echo "${ECHO_T}\"yes\"" >&66994 else6995 success="no"6996 fi6997 fi6998 6999 if test $success = "no"; then7000 echo "$as_me:$LINENO: result: \"no\"" >&57001 echo "${ECHO_T}\"no\"" >&67002 { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&57003 echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}7004 { (exit 1); exit 1; }; }7005 fi7006 6973 7007 6974 success=no -
gs2runtime/configure.in
r16608 r16613 323 323 324 324 dnl 325 dnl Now check that Perl is actually around, and can be found326 dnl327 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; do332 test -z "$pl_dir" && pl_dir=.333 if test -x $pl_dir/perl; then334 success="yes"335 break336 fi337 done338 IFS="$pl_save_ifs"339 340 dnl341 dnl Perl actually can be run; now we see if it is version 5 by342 dnl running a sample script (which returns a "clean" version number343 dnl and then tests the result using expr. If perl errors in some344 dnl way (eg. broken Perl executable, missing script), we set a failure345 dnl value ("0") and then proceed as best we can346 dnl347 if test $success = "yes"; then348 try=`perl configtest.pl` || try="0"349 try=`expr $try \> 5.000`350 if test $try = "1"; then351 AC_MSG_RESULT("yes")352 else353 success="no"354 fi355 fi356 357 if test $success = "no"; then358 AC_MSG_RESULT("no")359 AC_MSG_ERROR("Perl 5 not available - cannot install")360 fi361 362 dnl363 325 dnl Check if the STL library has any known faults; 364 326 dnl In GCC 2.7.2.x series, some STL library headers are missing
Note:
See TracChangeset
for help on using the changeset viewer.