Changeset 95
- Timestamp:
- 11/08/05 11:36:19 (18 years ago)
- Location:
- trunk/pbs_swig/distro
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pbs_swig/distro/Makefile.in
r86 r95 5 5 exec_prefix=$(PREFIX) 6 6 BINDIR=$(PREFIX)/bin 7 PBSLIB=@pbspath@ 8 9 7 10 DOCDIR=/usr/share/doc/pbs-python 8 11 EXAMPLES=$(DOCDIR)/examples -
trunk/pbs_swig/distro/configure
r64 r95 272 272 PACKAGE_BUGREPORT= 273 273 274 ac_unique_file=" Makefile.in"275 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS pyexecdir PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pkgpyexecdir LIBOBJS LTLIBOBJS'274 ac_unique_file="src/pbs.py" 275 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS pyexecdir pbspath PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pkgpyexecdir LIBOBJS LTLIBOBJS' 276 276 ac_subst_files='' 277 277 … … 780 780 781 781 cat <<\_ACEOF 782 783 Optional Packages: 784 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 785 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 786 787 --with-pbsdir=PATH directory that contains the torque libraries 782 788 783 789 _ACEOF … … 1223 1229 1224 1230 1231 # Check whether --with-pbsdir or --without-pbsdir was given. 1232 if test "${with_pbsdir+set}" = set; then 1233 withval="$with_pbsdir" 1234 case "${withval}" in 1235 *) pbspath="${withval}" ;; 1236 esac 1237 else 1238 pbspath="" 1239 1240 fi; 1241 1242 1243 1225 1244 1226 1245 # Find any Python interpreter. … … 1341 1360 1342 1361 1343 ac_config_files="$ac_config_files Makefile"1362 ac_config_files="$ac_config_files Makefile setup.py" 1344 1363 cat >confcache <<\_ACEOF 1345 1364 # This file is a shell script that caches the results of configure … … 1893 1912 # Handling of arguments. 1894 1913 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 1914 "setup.py" ) CONFIG_FILES="$CONFIG_FILES setup.py" ;; 1895 1915 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 1896 1916 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} … … 1977 1997 s,@LIBS@,$LIBS,;t t 1978 1998 s,@pyexecdir@,$pyexecdir,;t t 1999 s,@pbspath@,$pbspath,;t t 1979 2000 s,@PYTHON@,$PYTHON,;t t 1980 2001 s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t -
trunk/pbs_swig/distro/configure.in
r64 r95 1 AC_INIT( Makefile.in)1 AC_INIT(src/pbs.py) 2 2 AC_SUBST(prefix) 3 3 AC_SUBST(exec_prefix) 4 4 AC_SUBST(pyexecdir) 5 AC_SUBST(pbspath) 6 7 8 AC_ARG_WITH(pbsdir, 9 [ 10 --with-pbsdir=PATH directory that contains the torque libraries], 11 12 [case "${withval}" in 13 *) pbspath="${withval}" ;; 14 esac], 15 16 [pbspath=""] 17 )dnl 5 18 6 19 AM_PATH_PYTHON … … 8 21 AC_OUTPUT( 9 22 Makefile 23 setup.py 10 24 ) -
trunk/pbs_swig/distro/setup.py
r90 r95 5 5 import sys 6 6 import os 7 #from pbslibdir import PBS_LIB_DIR 8 PBS_LIB_DIR='bas' 7 9 8 10 from distutils.core import setup, Extension 9 11 10 # The location of the pbs libraries. If left blank 11 # then we try to find out where the libraries are 12 # Libs required by this package 12 13 # 13 PBS_LIB_DIR=''14 14 LIBS = ['log', 'net', 'pbs'] 15 15
Note: See TracChangeset
for help on using the changeset viewer.