Changeset 216 for trunk/configure
- Timestamp:
- 04/08/10 15:31:29 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r177 r216 577 577 PACKAGE_BUGREPORT= 578 578 579 ac_unique_file="src/pbs .py"579 ac_unique_file="src/pbs_2.4.py" 580 580 ac_subst_vars='SHELL 581 581 PATH_SEPARATOR … … 616 616 target_alias 617 617 pyexecdir 618 pbspath 618 pbsdir 619 PBSCONFIG 620 pbs_library_dir 621 pbs_version 619 622 PYTHON 620 623 PYTHON_VERSION … … 1199 1202 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1200 1203 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1201 1202 --with-pbsdir=PATH directory that contains the torque libraries 1204 --with-pbsdir=PATH The torque/pbs install directory 1203 1205 1204 1206 _ACEOF … … 1626 1628 1627 1629 1628 1630 pbsdir_default='' 1629 1631 1630 1632 # Check whether --with-pbsdir was given. 1631 1633 if test "${with_pbsdir+set}" = set; then 1632 withval=$with_pbsdir; case "${withval}" in 1633 *) pbspath="${withval}" ;; 1634 esac 1635 else 1636 pbspath="" 1637 pbspath=`pbs-config --libs` 1638 1639 fi 1634 withval=$with_pbsdir; pbsdir=$withval 1635 else 1636 pbsdir=$pbsdir_default 1637 fi 1638 1639 1640 1641 # Verify the PBS libs are there, but let Makefile handle including them 1642 # on the link line. First check for modern torque pbs-config program using 1643 # $pbsdir and the rest of PATH, then fall back to looking around for the 1644 # libraries by hand. 1645 # Extract the first word of "pbs-config", so it can be a program name with args. 1646 set dummy pbs-config; ac_word=$2 1647 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1649 if test "${ac_cv_path_PBSCONFIG+set}" = set; then 1650 echo $ECHO_N "(cached) $ECHO_C" >&6 1651 else 1652 case $PBSCONFIG in 1653 [\\/]* | ?:[\\/]*) 1654 ac_cv_path_PBSCONFIG="$PBSCONFIG" # Let the user override the test with a path. 1655 ;; 1656 *) 1657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1658 as_dummy="$pbsdir:$pbsdir/bin:$pbsdir/../bin:$PATH" 1659 for as_dir in $as_dummy 1660 do 1661 IFS=$as_save_IFS 1662 test -z "$as_dir" && as_dir=. 1663 for ac_exec_ext in '' $ac_executable_extensions; do 1664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1665 ac_cv_path_PBSCONFIG="$as_dir/$ac_word$ac_exec_ext" 1666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1667 break 2 1668 fi 1669 done 1670 done 1671 IFS=$as_save_IFS 1672 1673 test -z "$ac_cv_path_PBSCONFIG" && ac_cv_path_PBSCONFIG="none" 1674 ;; 1675 esac 1676 fi 1677 PBSCONFIG=$ac_cv_path_PBSCONFIG 1678 if test -n "$PBSCONFIG"; then 1679 { echo "$as_me:$LINENO: result: $PBSCONFIG" >&5 1680 echo "${ECHO_T}$PBSCONFIG" >&6; } 1681 else 1682 { echo "$as_me:$LINENO: result: no" >&5 1683 echo "${ECHO_T}no" >&6; } 1684 fi 1685 1686 1687 if test "$PBSCONFIG" != "none"; then 1688 pbs_library_dir="`$PBSCONFIG --libs`" 1689 pbs_version="`$PBSCONFIG --version`" 1690 else 1691 pbs_library_DIR="" 1692 pbs_version="" 1693 fi 1694 1695 1696 1640 1697 1641 1698 … … 2430 2487 target_alias!$target_alias$ac_delim 2431 2488 pyexecdir!$pyexecdir$ac_delim 2432 pbspath!$pbspath$ac_delim 2489 pbsdir!$pbsdir$ac_delim 2490 PBSCONFIG!$PBSCONFIG$ac_delim 2491 pbs_library_dir!$pbs_library_dir$ac_delim 2492 pbs_version!$pbs_version$ac_delim 2433 2493 PYTHON!$PYTHON$ac_delim 2434 2494 PYTHON_VERSION!$PYTHON_VERSION$ac_delim … … 2443 2503 _ACEOF 2444 2504 2445 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 49; then2505 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then 2446 2506 break 2447 2507 elif $ac_last_try; then
Note: See TracChangeset
for help on using the changeset viewer.