- Timestamp:
- 11/24/13 23:24:56 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/m4/ax_pbs.m4
r15 r97 38 38 39 39 if test x"$with_pbs" != x; then 40 PBS_HOME=$with_pbs 40 41 PBS_INCLUDES="-I${with_pbs}/include " 41 42 PBS_LDFLAGS="-L${with_pbs}/lib " … … 50 51 fi 51 52 53 54 PBS_INCLUDES="$PBS_INCLUDES -I${PBS_HOME}/include/torque " 52 55 LDFLAGS_save="$LDFLAGS" 53 56 CPPFLAGS_save="$CPPFLAGS" … … 59 62 AH_TEMPLATE([PBS_PROFESSIONAL], [compiling against PBS Professional]) 60 63 AH_TEMPLATE([PBS_PROFESSIONAL_NO_LOG], [Do not use liblog while linking with PBS Professional]) 64 AH_TEMPLATE([HAVE_PBS_SUBMIT_HASH], [Torque 4 pbs_submit_hash function found]) 61 65 62 66 if test x"$enable_pbs_log" != "xno"; then … … 88 92 fi 89 93 94 ax_pbs_submit_hash="no" 90 95 91 96 if test x"$ax_pbs_ok" = xno; then … … 93 98 AC_CHECK_LIB([torque], [pbs_submit], [:], [ax_pbs_ok="no"]) 94 99 AC_CHECK_LIB([torque], [pbse_to_txt], [:], [ax_pbs_ok="no"]) 100 AC_CHECK_LIB([torque], [pbs_submit_hash], [AC_DEFINE(HAVE_PBS_SUBMIT_HASH) ax_pbs_submit_hash="yes"], [:]) 101 102 95 103 if test x"$ax_pbs_ok" = xyes; then 96 104 ax_pbs_libs="-ltorque" … … 99 107 AC_DEFINE(PBS_PROFESSIONAL,[1]) 100 108 fi 109 110 AM_CONDITIONAL([TORQUE4], [test x$ax_pbs_submit_hash = xyes]) 101 111 102 112 if test x"$ax_pbs_ok" = xyes; then
Note: See TracChangeset
for help on using the changeset viewer.