Changeset 97 for trunk/m4/ax_pbs.m4


Ignore:
Timestamp:
11/24/13 23:24:56 (8 years ago)
Author:
mmamonski
Message:

DRMAA 1.0.17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/ax_pbs.m4

    r15 r97  
    3838 
    3939if test x"$with_pbs" != x; then 
     40        PBS_HOME=$with_pbs 
    4041        PBS_INCLUDES="-I${with_pbs}/include " 
    4142        PBS_LDFLAGS="-L${with_pbs}/lib " 
     
    5051fi 
    5152 
     53 
     54PBS_INCLUDES="$PBS_INCLUDES -I${PBS_HOME}/include/torque " 
    5255LDFLAGS_save="$LDFLAGS" 
    5356CPPFLAGS_save="$CPPFLAGS" 
     
    5962AH_TEMPLATE([PBS_PROFESSIONAL], [compiling against PBS Professional]) 
    6063AH_TEMPLATE([PBS_PROFESSIONAL_NO_LOG], [Do not use liblog while linking with PBS Professional]) 
     64AH_TEMPLATE([HAVE_PBS_SUBMIT_HASH], [Torque 4 pbs_submit_hash function found]) 
    6165 
    6266if test x"$enable_pbs_log" != "xno"; then 
     
    8892fi 
    8993 
     94ax_pbs_submit_hash="no" 
    9095 
    9196if test x"$ax_pbs_ok" = xno; then 
     
    9398        AC_CHECK_LIB([torque], [pbs_submit], [:], [ax_pbs_ok="no"]) 
    9499        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 
    95103        if test x"$ax_pbs_ok" = xyes; then 
    96104                ax_pbs_libs="-ltorque" 
     
    99107        AC_DEFINE(PBS_PROFESSIONAL,[1]) 
    100108fi 
     109 
     110AM_CONDITIONAL([TORQUE4], [test x$ax_pbs_submit_hash = xyes]) 
    101111 
    102112if test x"$ax_pbs_ok" = xyes; then 
Note: See TracChangeset for help on using the changeset viewer.