Changeset 16613 for gs2runtime/configure.in
- Timestamp:
- 2008-07-31T09:59:24+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.