Changeset 1754
- Timestamp:
- 14/11/11 14:32:57 (6 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
acinclude.m4 (modified) (2 diffs)
-
configure.ac (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/acinclude.m4
r1539 r1754 125 125 # path/bin/files and then work out path 126 126 # $4 = file in path to locate 127 # $5 = default withval 127 128 # 128 129 # e.g. AC_CHECK_ROOT([tcl],[TCLROOT],[/usr /usr/local],[include/tcl.h]) … … 136 137 [Specify absolute path to root of $1 install directory.]), 137 138 [if test x$withval != xno -a x$withval != xyes; then $2=$withval; fi], 138 [with_$1= no])139 [with_$1=$5]) 139 140 if test x$with_$1 != xno; then 140 141 AC_MSG_CHECKING(for $1 root installation directory) -
trunk/configure.ac
r1752 r1754 244 244 245 245 if test x$with_tcl != xno; then 246 AC_CHECK_ROOT([tcl],[TCLROOT],[/usr /usr/local],[include/tcl.h] )246 AC_CHECK_ROOT([tcl],[TCLROOT],[/usr /usr/local],[include/tcl.h],[no]) 247 247 fi 248 248 if test x$with_guile != xno; then 249 AC_CHECK_ROOT([guile],[GUILEROOT],[/usr /usr/local],[include/libguile.h] )249 AC_CHECK_ROOT([guile],[GUILEROOT],[/usr /usr/local],[include/libguile.h],[no]) 250 250 fi 251 251 if test x$with_opengenie != xno; then 252 AC_CHECK_ROOT([opengenie],[OPENGENIEROOT],[/usr/local],[genie/genie.so] )252 AC_CHECK_ROOT([opengenie],[OPENGENIEROOT],[/usr/local],[genie/genie.so],[no]) 253 253 fi 254 254 if test x$with_python != xno; then 255 AC_CHECK_ROOT([python],[PYTHONROOT],[/usr /usr/local],[bin/python] )255 AC_CHECK_ROOT([python],[PYTHONROOT],[/usr /usr/local],[bin/python],[yes]) 256 256 if test x$PYTHONROOT != x; then 257 257 if test -r "$PYTHONROOT/bin/python"; then PYTHON="$PYTHONROOT/bin/python"; fi … … 725 725 AM_CONDITIONAL(HAVE_F77, [test "$with_f77" != "no"]) 726 726 AM_CONDITIONAL(HAVE_F90, [test "$with_f90" != "no"]) 727 AM_CONDITIONAL(HAVE_PYTHON, [test ! -z "$PYTHONROOT" -a "$PYTHON_numpy " -eq 1])727 AM_CONDITIONAL(HAVE_PYTHON, [test ! -z "$PYTHONROOT" -a "$PYTHON_numpy_found" = "yes"]) 728 728 AM_CONDITIONAL(HAVE_TCL, [test ! -z "$TCLROOT"]) 729 729 AM_CONDITIONAL(HAVE_GUILE, [test ! -z "$GUILEROOT"])
Note: See TracChangeset
for help on using the changeset viewer.
