Changeset 1975
- Timestamp:
- Dec 2, 2010 9:49:21 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r1957 r1975 7193 7193 7194 7194 7195 with_tclsh="yes"7195 rp_with_tclsh="yes" 7196 7196 7197 7197 # Check whether --with-tclsh was given. … … 7199 7199 withval=$with_tclsh; 7200 7200 else 7201 with_tclsh=yes7201 rp_with_tclsh=yes 7202 7202 fi 7203 7203 7204 7204 7205 7205 TCLSH= 7206 if test "$ with_tclsh" != "no" ; then7206 if test "$rp_with_tclsh" != "no" ; then 7207 7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclsh" >&5 7208 7208 $as_echo_n "checking for tclsh... " >&6; } 7209 if test -x "$ with_tclsh/bin/tclsh"7209 if test -x "$rp_with_tclsh/bin/tclsh" 7210 7210 then 7211 echo Found tclsh in $ with_tclsh/bin/tclsh7212 TCLSH="$ with_tclsh/bin/tclsh"7211 echo Found tclsh in $rp_with_tclsh/bin/tclsh 7212 TCLSH="$rp_with_tclsh/bin/tclsh" 7213 7213 else 7214 if test -x "$ with_tclsh"7214 if test -x "$rp_with_tclsh" 7215 7215 then 7216 echo Found tclsh in $ with_tclsh7217 TCLSH="$ with_tclsh"7216 echo Found tclsh in $rp_with_tclsh 7217 TCLSH="$rp_with_tclsh" 7218 7218 else 7219 7219 if test -x "${exec_prefix}/bin/tclsh" … … 7294 7294 TCL_INC_SPEC="$TCL_INCLUDE_SPEC" 7295 7295 7296 if test "x$ with_tcllib" != "x" ; then7297 tclconfig="${ with_tcllib}/tclConfig.sh"7296 if test "x$rp_with_tcllib" != "x" ; then 7297 tclconfig="${rp_with_tcllib}/tclConfig.sh" 7298 7298 if test -f "$tclconfig" ; then 7299 7299 . $tclconfig 7300 7300 fi 7301 TCL_LIB_SPEC="-L${ with_tcllib} -ltcl${TCL_VERSION}"7302 fi 7303 if test "x$ with_tclinclude" != "x" ; then7304 TCL_INC_SPEC="-I${ with_tclinclude}"7301 TCL_LIB_SPEC="-L${rp_with_tcllib} -ltcl${TCL_VERSION}" 7302 fi 7303 if test "x$rp_with_tclinclude" != "x" ; then 7304 TCL_INC_SPEC="-I${rp_with_tclinclude}" 7305 7305 fi 7306 7306 … … 7312 7312 # Check whether --with-vtk was given. 7313 7313 if test "${with_vtk+set}" = set; then : 7314 withval=$with_vtk; with_vtk=$withval7315 else 7316 with_vtk=yes7314 withval=$with_vtk; rp_with_vtk=$withval 7315 else 7316 rp_with_vtk=yes 7317 7317 fi 7318 7318 … … 7322 7322 VTKDIR="" 7323 7323 7324 if test "$ with_vtk" != "no" ; then7325 if test "$ with_vtk" = "yes" ; then7324 if test "$rp_with_vtk" != "no" ; then 7325 if test "$rp_with_vtk" = "yes" ; then 7326 7326 for path in \ 7327 7327 $libdir \ … … 7349 7349 # Check whether --with-matlab was given. 7350 7350 if test "${with_matlab+set}" = set; then : 7351 withval=$with_matlab; with_matlab=$withval7352 else 7353 with_matlab=yes7351 withval=$with_matlab; rp_with_matlab=$withval 7352 else 7353 rp_with_matlab=yes 7354 7354 fi 7355 7355 … … 7360 7360 MEXEXT="" 7361 7361 MATLAB= 7362 if test "$ with_matlab" != "no" ; then7363 if test "$ with_matlab" = "yes" ; then7362 if test "$rp_with_matlab" != "no" ; then 7363 if test "$rp_with_matlab" = "yes" ; then 7364 7364 # Extract the first word of "matlab", so it can be a program name with args. 7365 7365 set dummy matlab; ac_word=$2 … … 7416 7416 *) 7417 7417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7418 as_dummy="${ with_matlab}/bin:${with_matlab}"7418 as_dummy="${rp_with_matlab}/bin:${rp_with_matlab}" 7419 7419 for as_dir in $as_dummy 7420 7420 do … … 7599 7599 # Check whether --with-octave was given. 7600 7600 if test "${with_octave+set}" = set; then : 7601 withval=$with_octave; with_octave=$withval7602 else 7603 with_octave=yes7601 withval=$with_octave; rp_with_octave=$withval 7602 else 7603 rp_with_octave=yes 7604 7604 fi 7605 7605 … … 7613 7613 MKOCTFILE2= 7614 7614 MKOCTFILE3= 7615 if test "$ with_octave" != "no" ; then7615 if test "$rp_with_octave" != "no" ; then 7616 7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5 7617 7617 $as_echo_n "checking for octave and mkoctfile... " >&6; } 7618 if test "$ with_octave" = "yes" ; then7618 if test "$rp_with_octave" = "yes" ; then 7619 7619 # Extract the first word of "octave", so it can be a program name with args. 7620 7620 set dummy octave; ac_word=$2 … … 7698 7698 7699 7699 else 7700 MKOCTFILE=$ with_octave7701 OCTAVE=$ with_octave7700 MKOCTFILE=$rp_with_octave 7701 OCTAVE=$rp_with_octave 7702 7702 fi 7703 7703 fi … … 7719 7719 # Check whether --with-octave2 was given. 7720 7720 if test "${with_octave2+set}" = set; then : 7721 withval=$with_octave2; with_octave2=$withval7722 else 7723 with_octave2=no7724 fi 7725 7726 7727 if test "$ with_octave2" != "no" ; then7728 if test "$ with_octave2" = "yes" ; then7721 withval=$with_octave2; rp_with_octave2=$withval 7722 else 7723 rp_with_octave2=no 7724 fi 7725 7726 7727 if test "$rp_with_octave2" != "no" ; then 7728 if test "$rp_with_octave2" = "yes" ; then 7729 7729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5 7730 7730 $as_echo_n "checking for octave and mkoctfile... " >&6; } … … 7810 7810 7811 7811 else 7812 octave2=$ with_octave27813 mkoctfile2=`dirname $ with_octave2`/mkoctfile7812 octave2=$rp_with_octave2 7813 mkoctfile2=`dirname $rp_with_octave2`/mkoctfile 7814 7814 fi 7815 7815 fi … … 7828 7828 # Check whether --with-octave3 was given. 7829 7829 if test "${with_octave3+set}" = set; then : 7830 withval=$with_octave3; with_octave3=$withval7831 else 7832 with_octave3=no7833 fi 7834 7835 7836 echo with_octave3=$with_octave37837 if test "$ with_octave3" != "no" ; then7838 if test "$ with_octave3" = "yes" ; then7830 withval=$with_octave3; rp_with_octave3=$withval 7831 else 7832 rp_with_octave3=no 7833 fi 7834 7835 7836 echo rp_with_octave3=$rp_with_octave3 7837 if test "$rp_with_octave3" != "no" ; then 7838 if test "$rp_with_octave3" = "yes" ; then 7839 7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5 7840 7840 $as_echo_n "checking for octave and mkoctfile... " >&6; } … … 7920 7920 7921 7921 else 7922 octave3=$ with_octave37923 mkoctfile3=`dirname $ with_octave3`/mkoctfile7922 octave3=$rp_with_octave3 7923 mkoctfile3=`dirname $rp_with_octave3`/mkoctfile 7924 7924 fi 7925 7925 fi … … 7933 7933 echo version_major=$version_major 7934 7934 if test "$version_major" = "3" ; then 7935 OCTAVE3=$ with_octave37935 OCTAVE3=$rp_with_octave3 7936 7936 MKOCTFILE3=$mkoctfile3 7937 7937 fi … … 7952 7952 withval=$with_perl; 7953 7953 else 7954 with_perl=yes7954 rp_with_perl=yes 7955 7955 fi 7956 7956 … … 7967 7967 PERL_VERSION_RV= 7968 7968 PERL_LIBSPEC= 7969 if test "$ with_perl" != "no" ; then7969 if test "$rp_with_perl" != "no" ; then 7970 7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl" >&5 7971 7971 $as_echo_n "checking for perl... " >&6; } 7972 if test "$ with_perl" != "yes" ; then7972 if test "$rp_with_perl" != "yes" ; then 7973 7973 # Extract the first word of "perl", so it can be a program name with args. 7974 7974 set dummy perl; ac_word=$2 … … 7984 7984 *) 7985 7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7986 as_dummy="$ with_perl/bin:$with_perl"7986 as_dummy="$rp_with_perl/bin:$rp_with_perl" 7987 7987 for as_dir in $as_dummy 7988 7988 do … … 8105 8105 withval=$with_python; 8106 8106 else 8107 with_python=yes8108 fi 8109 8110 8111 if test "$ with_python" != "no" ; then8107 rp_with_python=yes 8108 fi 8109 8110 8111 if test "$rp_with_python" != "no" ; then 8112 8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python" >&5 8113 8113 $as_echo_n "checking for python... " >&6; } 8114 if test -x "$ with_python/bin/python"; then8115 echo Found python in $ with_python/bin/python8116 PYTHON="$ with_python/bin/python"8117 elif test -x "$ with_python"; then8118 echo Found python in $ with_python8119 PYTHON="$ with_python"8114 if test -x "$rp_with_python/bin/python"; then 8115 echo Found python in $rp_with_python/bin/python 8116 PYTHON="$rp_with_python/bin/python" 8117 elif test -x "$rp_with_python"; then 8118 echo Found python in $rp_with_python 8119 PYTHON="$rp_with_python" 8120 8120 else 8121 8121 # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. … … 8165 8165 fi 8166 8166 if test "x${PYTHON_VERSION}" != "x"; then 8167 if test -r $ with_python/include/python$PYTHON_VERSION/Python.h -a \8168 -d $ with_python/lib/python$PYTHON_VERSION/site-packages; then8169 PYTHON_INCLUDES=$ with_python/include/python$PYTHON_VERSION8170 PYTHON_SITE_PACKAGES=$ with_python/lib/python$PYTHON_VERSION/site-packages8167 if test -r $rp_with_python/include/python$PYTHON_VERSION/Python.h -a \ 8168 -d $rp_with_python/lib/python$PYTHON_VERSION/site-packages; then 8169 PYTHON_INCLUDES=$rp_with_python/include/python$PYTHON_VERSION 8170 PYTHON_SITE_PACKAGES=$rp_with_python/lib/python$PYTHON_VERSION/site-packages 8171 8171 else 8172 8172 if test -r $prefix/include/python$PYTHON_VERSION/Python.h; then … … 8186 8186 fi 8187 8187 fi 8188 if test "x$ with_python" != "x" ; then8188 if test "x$rp_with_python" != "x" ; then 8189 8189 pythondir='$(PYTHON_SITE_PACKAGES)' 8190 8190 else … … 8242 8242 8243 8243 8244 r appture_with_ruby="yes"8244 rp_with_ruby="yes" 8245 8245 8246 8246 RUBY="" … … 8250 8250 # Check whether --with-ruby was given. 8251 8251 if test "${with_ruby+set}" = set; then : 8252 withval=$with_ruby; r appture_with_ruby=$with_val8253 fi 8254 8255 if test "${r appture_with_ruby}" != "no" ; then8256 if test "${r appture_with_ruby}" = "yes" ; then8252 withval=$with_ruby; rp_with_ruby=$withval 8253 fi 8254 8255 if test "${rp_with_ruby}" != "no" ; then 8256 if test "${rp_with_ruby}" = "yes" ; then 8257 8257 # Extract the first word of "ruby", so it can be a program name with args. 8258 8258 set dummy ruby; ac_word=$2 … … 8309 8309 *) 8310 8310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8311 as_dummy="${r appture_with_ruby}/bin/ruby:${rappture_with_ruby}"8311 as_dummy="${rp_with_ruby}/bin:${rp_with_ruby}" 8312 8312 for as_dir in $as_dummy 8313 8313 do … … 8660 8660 8661 8661 8662 r appture_with_java="yes"8662 rp_with_java="yes" 8663 8663 JAVA="" 8664 8664 JAVAH="" … … 8669 8669 # Check whether --with-java was given. 8670 8670 if test "${with_java+set}" = set; then : 8671 withval=$with_java; rappture_with_java=$with_val 8672 fi 8673 8674 if test "${rappture_with_java}" != "no" ; then 8675 if test "${rappture_with_java}" = "yes" ; then 8671 withval=$with_java; rp_with_java=$withval 8672 fi 8673 8674 8675 if test "${rp_with_java}" != "no" ; then 8676 if test "${rp_with_java}" = "yes" ; then 8676 8677 # Extract the first word of "java", so it can be a program name with args. 8677 8678 set dummy java; ac_word=$2 … … 8808 8809 *) 8809 8810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8810 as_dummy="${r appture_with_java}/bin/java:${rappture_with_java}"8811 as_dummy="${rp_with_java}/bin:${rp_with_java}" 8811 8812 for as_dir in $as_dummy 8812 8813 do … … 8849 8850 *) 8850 8851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8851 as_dummy="${r appture_with_java}/bin/java:${rappture_with_java}"8852 as_dummy="${rp_with_java}/bin:${rp_with_java}" 8852 8853 for as_dir in $as_dummy 8853 8854 do … … 8890 8891 *) 8891 8892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8892 as_dummy="${r appture_with_java}/bin/java:${rappture_with_java}"8893 as_dummy="${rp_with_java}/bin:${rp_with_java}" 8893 8894 for as_dir in $as_dummy 8894 8895 do -
trunk/configure.in
r1957 r1975 114 114 AC_SUBST(ENABLE_GUI) 115 115 116 with_tclsh="yes"116 rp_with_tclsh="yes" 117 117 AC_ARG_WITH( 118 118 [tclsh], … … 120 120 [location of tclsh @<:@default=yes@:>@])], 121 121 [], 122 [ with_tclsh=yes])122 [rp_with_tclsh=yes]) 123 123 124 124 TCLSH= 125 if test "$ with_tclsh" != "no" ; then125 if test "$rp_with_tclsh" != "no" ; then 126 126 AC_MSG_CHECKING([for tclsh]) 127 if test -x "$ with_tclsh/bin/tclsh"127 if test -x "$rp_with_tclsh/bin/tclsh" 128 128 then 129 echo Found tclsh in $ with_tclsh/bin/tclsh130 TCLSH="$ with_tclsh/bin/tclsh"129 echo Found tclsh in $rp_with_tclsh/bin/tclsh 130 TCLSH="$rp_with_tclsh/bin/tclsh" 131 131 else 132 if test -x "$ with_tclsh"132 if test -x "$rp_with_tclsh" 133 133 then 134 echo Found tclsh in $ with_tclsh135 TCLSH="$ with_tclsh"134 echo Found tclsh in $rp_with_tclsh 135 TCLSH="$rp_with_tclsh" 136 136 else 137 137 if test -x "${exec_prefix}/bin/tclsh" … … 172 172 TCL_INC_SPEC="$TCL_INCLUDE_SPEC" 173 173 174 if test "x$ with_tcllib" != "x" ; then175 tclconfig="${ with_tcllib}/tclConfig.sh"174 if test "x$rp_with_tcllib" != "x" ; then 175 tclconfig="${rp_with_tcllib}/tclConfig.sh" 176 176 if test -f "$tclconfig" ; then 177 177 . $tclconfig 178 178 fi 179 TCL_LIB_SPEC="-L${ with_tcllib} -ltcl${TCL_VERSION}"180 fi 181 if test "x$ with_tclinclude" != "x" ; then182 TCL_INC_SPEC="-I${ with_tclinclude}"179 TCL_LIB_SPEC="-L${rp_with_tcllib} -ltcl${TCL_VERSION}" 180 fi 181 if test "x$rp_with_tclinclude" != "x" ; then 182 TCL_INC_SPEC="-I${rp_with_tclinclude}" 183 183 fi 184 184 … … 191 191 [AS_HELP_STRING([--with-vtk[=DIR]], 192 192 [location of vtk library @<:@default=yes@:>@])], 193 [ with_vtk=$withval], [with_vtk=yes])193 [rp_with_vtk=$withval], [rp_with_vtk=yes]) 194 194 195 195 AC_MSG_CHECKING([for vtk]) 196 196 VTKDIR="" 197 197 198 if test "$ with_vtk" != "no" ; then199 if test "$ with_vtk" = "yes" ; then198 if test "$rp_with_vtk" != "no" ; then 199 if test "$rp_with_vtk" = "yes" ; then 200 200 for path in \ 201 201 $libdir \ … … 223 223 [AS_HELP_STRING([--with-matlab[=DIR]], 224 224 [location of matlab and mex compiler @<:@default=yes@:>@])], 225 [ with_matlab=$withval],226 [ with_matlab=yes])225 [rp_with_matlab=$withval], 226 [rp_with_matlab=yes]) 227 227 228 228 MCC="" … … 231 231 MEXEXT="" 232 232 MATLAB= 233 if test "$ with_matlab" != "no" ; then234 if test "$ with_matlab" = "yes" ; then233 if test "$rp_with_matlab" != "no" ; then 234 if test "$rp_with_matlab" = "yes" ; then 235 235 AC_PATH_PROG(MATLAB, matlab) 236 236 else 237 AC_PATH_PROG(MATLAB, matlab, [], [${ with_matlab}/bin:${with_matlab}])237 AC_PATH_PROG(MATLAB, matlab, [], [${rp_with_matlab}/bin:${rp_with_matlab}]) 238 238 fi 239 239 fi … … 272 272 [AS_HELP_STRING([--with-octave[=DIR]], 273 273 [location of octave compiler MKOCTFILE @<:@default=yes@:>@])], 274 [ with_octave=$withval],275 [ with_octave=yes])274 [rp_with_octave=$withval], 275 [rp_with_octave=yes]) 276 276 277 277 OCTAVE= … … 283 283 MKOCTFILE2= 284 284 MKOCTFILE3= 285 if test "$ with_octave" != "no" ; then285 if test "$rp_with_octave" != "no" ; then 286 286 AC_MSG_CHECKING([for octave and mkoctfile]) 287 if test "$ with_octave" = "yes" ; then287 if test "$rp_with_octave" = "yes" ; then 288 288 AC_PATH_PROG(OCTAVE, octave) 289 289 AC_PATH_PROG(MKOCTFILE, mkoctfile) 290 290 else 291 MKOCTFILE=$ with_octave292 OCTAVE=$ with_octave291 MKOCTFILE=$rp_with_octave 292 OCTAVE=$rp_with_octave 293 293 fi 294 294 fi … … 311 311 [AS_HELP_STRING([--with-octave2[=DIR]], 312 312 [location of octave compiler MKOCTFILE @<:@default=no@:>@])], 313 [ with_octave2=$withval],314 [ with_octave2=no])315 316 if test "$ with_octave2" != "no" ; then317 if test "$ with_octave2" = "yes" ; then313 [rp_with_octave2=$withval], 314 [rp_with_octave2=no]) 315 316 if test "$rp_with_octave2" != "no" ; then 317 if test "$rp_with_octave2" = "yes" ; then 318 318 AC_MSG_CHECKING([for octave and mkoctfile]) 319 319 AC_PATH_PROG(octave2, octave) 320 320 AC_PATH_PROG(mkoctfile2, mkoctfile) 321 321 else 322 octave2=$ with_octave2323 mkoctfile2=`dirname $ with_octave2`/mkoctfile322 octave2=$rp_with_octave2 323 mkoctfile2=`dirname $rp_with_octave2`/mkoctfile 324 324 fi 325 325 fi … … 339 339 [AS_HELP_STRING([--with-octave3[=DIR]], 340 340 [location of octave compiler MKOCTFILE @<:@default=no@:>@])], 341 [ with_octave3=$withval],342 [ with_octave3=no])343 344 echo with_octave3=$with_octave3345 if test "$ with_octave3" != "no" ; then346 if test "$ with_octave3" = "yes" ; then341 [rp_with_octave3=$withval], 342 [rp_with_octave3=no]) 343 344 echo rp_with_octave3=$rp_with_octave3 345 if test "$rp_with_octave3" != "no" ; then 346 if test "$rp_with_octave3" = "yes" ; then 347 347 AC_MSG_CHECKING([for octave and mkoctfile]) 348 348 AC_PATH_PROG(octave3, octave) 349 349 AC_PATH_PROG(mkoctfile3, mkoctfile) 350 350 else 351 octave3=$ with_octave3352 mkoctfile3=`dirname $ with_octave3`/mkoctfile351 octave3=$rp_with_octave3 352 mkoctfile3=`dirname $rp_with_octave3`/mkoctfile 353 353 fi 354 354 fi … … 362 362 echo version_major=$version_major 363 363 if test "$version_major" = "3" ; then 364 OCTAVE3=$ with_octave3364 OCTAVE3=$rp_with_octave3 365 365 MKOCTFILE3=$mkoctfile3 366 366 fi … … 380 380 [AS_HELP_STRING([--with-perl[=DIR]], [location of perl @<:@default=yes@:>@])], 381 381 [], 382 [ with_perl=yes])382 [rp_with_perl=yes]) 383 383 384 384 PERL= … … 393 393 PERL_VERSION_RV= 394 394 PERL_LIBSPEC= 395 if test "$ with_perl" != "no" ; then395 if test "$rp_with_perl" != "no" ; then 396 396 AC_MSG_CHECKING([for perl]) 397 if test "$ with_perl" != "yes" ; then398 AC_PATH_PROG(PERL, perl, [], [$ with_perl/bin:$with_perl])397 if test "$rp_with_perl" != "yes" ; then 398 AC_PATH_PROG(PERL, perl, [], [$rp_with_perl/bin:$rp_with_perl]) 399 399 else 400 400 AC_PATH_PROG(PERL, perl) … … 448 448 [AS_HELP_STRING([--with-python[=DIR]],[location of python @<:@default=yes@:>@])], 449 449 [], 450 [ with_python=yes])451 452 if test "$ with_python" != "no" ; then450 [rp_with_python=yes]) 451 452 if test "$rp_with_python" != "no" ; then 453 453 AC_MSG_CHECKING([for python]) 454 if test -x "$ with_python/bin/python"; then455 echo Found python in $ with_python/bin/python456 PYTHON="$ with_python/bin/python"457 elif test -x "$ with_python"; then458 echo Found python in $ with_python459 PYTHON="$ with_python"454 if test -x "$rp_with_python/bin/python"; then 455 echo Found python in $rp_with_python/bin/python 456 PYTHON="$rp_with_python/bin/python" 457 elif test -x "$rp_with_python"; then 458 echo Found python in $rp_with_python 459 PYTHON="$rp_with_python" 460 460 else 461 461 AC_PATH_PROG(PYTHON, python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5) … … 466 466 fi 467 467 if test "x${PYTHON_VERSION}" != "x"; then 468 if test -r $ with_python/include/python$PYTHON_VERSION/Python.h -a \469 -d $ with_python/lib/python$PYTHON_VERSION/site-packages; then470 PYTHON_INCLUDES=$ with_python/include/python$PYTHON_VERSION471 PYTHON_SITE_PACKAGES=$ with_python/lib/python$PYTHON_VERSION/site-packages468 if test -r $rp_with_python/include/python$PYTHON_VERSION/Python.h -a \ 469 -d $rp_with_python/lib/python$PYTHON_VERSION/site-packages; then 470 PYTHON_INCLUDES=$rp_with_python/include/python$PYTHON_VERSION 471 PYTHON_SITE_PACKAGES=$rp_with_python/lib/python$PYTHON_VERSION/site-packages 472 472 else 473 473 if test -r $prefix/include/python$PYTHON_VERSION/Python.h; then … … 487 487 fi 488 488 fi 489 if test "x$ with_python" != "x" ; then489 if test "x$rp_with_python" != "x" ; then 490 490 pythondir='$(PYTHON_SITE_PACKAGES)' 491 491 else … … 538 538 AC_SUBST(HAVE_PYTHON_DISTUTILS) 539 539 540 r appture_with_ruby="yes"540 rp_with_ruby="yes" 541 541 542 542 RUBY="" … … 545 545 AC_ARG_WITH(ruby, 546 546 AS_HELP_STRING([--with-ruby=PATH], [absolute path to ruby executable]), 547 [r appture_with_ruby=$with_val])548 if test "${r appture_with_ruby}" != "no" ; then549 if test "${r appture_with_ruby}" = "yes" ; then547 [rp_with_ruby=$withval]) 548 if test "${rp_with_ruby}" != "no" ; then 549 if test "${rp_with_ruby}" = "yes" ; then 550 550 AC_PATH_PROG(RUBY, ruby) 551 551 else 552 AC_PATH_PROG(RUBY, ruby, [], 553 [${rappture_with_ruby}/bin/ruby:${rappture_with_ruby}]) 552 AC_PATH_PROG(RUBY, ruby, [], [${rp_with_ruby}/bin:${rp_with_ruby}]) 554 553 fi 555 554 fi … … 572 571 AC_SUBST(RUBY_PLATFORM) 573 572 574 r appture_with_java="yes"573 rp_with_java="yes" 575 574 JAVA="" 576 575 JAVAH="" … … 580 579 AC_ARG_WITH(java, 581 580 AS_HELP_STRING([--with-java=PATH], [absolute path to java executable]), 582 [rappture_with_java=$with_val]) 583 if test "${rappture_with_java}" != "no" ; then 584 if test "${rappture_with_java}" = "yes" ; then 581 [rp_with_java=$withval]) 582 583 if test "${rp_with_java}" != "no" ; then 584 if test "${rp_with_java}" = "yes" ; then 585 585 AC_PATH_PROG(JAVA, java) 586 586 AC_PATH_PROG(JAVAC, javac) 587 587 AC_PATH_PROG(JAVAH, javah) 588 588 else 589 AC_PATH_PROG(JAVA, java, [], 590 [${rappture_with_java}/bin/java:${rappture_with_java}]) 591 AC_PATH_PROG(JAVAC, javac, [], 592 [${rappture_with_java}/bin/java:${rappture_with_java}]) 593 AC_PATH_PROG(JAVAH, javah, [], 594 [${rappture_with_java}/bin/java:${rappture_with_java}]) 589 AC_PATH_PROG(JAVA, java, [], [${rp_with_java}/bin:${rp_with_java}]) 590 AC_PATH_PROG(JAVAC, javac, [], [${rp_with_java}/bin:${rp_with_java}]) 591 AC_PATH_PROG(JAVAH, javah, [], [${rp_with_java}/bin:${rp_with_java}]) 595 592 fi 596 593 fi
Note: See TracChangeset
for help on using the changeset viewer.