Changeset 2308
- Timestamp:
- Jul 10, 2011, 5:55:40 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/configure
r2299 r2308 1440 1440 --with-python=DIR location of python [default=yes] 1441 1441 --with-java=DIR location of java [default=yes] 1442 --with-ruby=DIR location of ruby [default=yes] 1442 1443 --with-java=DIR location of java [default=yes] 1443 --with-ruby=DIR location of ruby [default=yes]1444 1444 1445 1445 Some influential environment variables: … … 7369 7369 7370 7370 7371 rp_with_matlab="yes"7371 with_matlab="yes" 7372 7372 7373 7373 # Check whether --with-matlab was given. 7374 7374 if test "${with_matlab+set}" = set; then : 7375 withval=$with_matlab; rp_with_matlab=$withval7376 else 7377 rp_with_matlab=yes7375 withval=$with_matlab; 7376 else 7377 with_matlab=yes 7378 7378 fi 7379 7379 … … 7384 7384 MEXEXT="" 7385 7385 MATLAB= 7386 if test "$ rp_with_matlab" != "no" ; then7387 if test "$ rp_with_matlab" = "yes" ; then7386 if test "$with_matlab" != "no" ; then 7387 if test "$with_matlab" = "yes" ; then 7388 7388 # Extract the first word of "matlab", so it can be a program name with args. 7389 7389 set dummy matlab; ac_word=$2 … … 7440 7440 *) 7441 7441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7442 as_dummy="${ rp_with_matlab}/bin:${rp_with_matlab}"7442 as_dummy="${with_matlab}/bin:${with_matlab}" 7443 7443 for as_dir in $as_dummy 7444 7444 do … … 7614 7614 7615 7615 7616 rp_with_octave="yes"7617 7616 7618 7617 # Check whether --with-octave was given. 7619 7618 if test "${with_octave+set}" = set; then : 7620 withval=$with_octave; rp_with_octave=$withval7621 else 7622 rp_with_octave=yes7619 withval=$with_octave; 7620 else 7621 with_octave=yes 7623 7622 fi 7624 7623 … … 7630 7629 MKOCTFILE3= 7631 7630 7632 if test "$ rp_with_octave" != "no" ; then7633 if test "$ rp_with_octave" = "yes" ; then7631 if test "$with_octave" != "no" ; then 7632 if test "$with_octave" = "yes" ; then 7634 7633 # Extract the first word of "octave", so it can be a program name with args. 7635 7634 set dummy octave; ac_word=$2 … … 7713 7712 7714 7713 else 7715 OCTAVE=$ rp_with_octave7716 MKOCTFILE=`dirname $ rp_with_octave`/mkoctfile7714 OCTAVE=$with_octave 7715 MKOCTFILE=`dirname $with_octave`/mkoctfile 7717 7716 fi 7718 7717 fi … … 7751 7750 # Check whether --with-mkoctfile3 was given. 7752 7751 if test "${with_mkoctfile3+set}" = set; then : 7753 withval=$with_mkoctfile3; rp_with_mkoctfile3=$withval7754 else 7755 rp_with_mkoctfile3=no7756 fi 7757 7758 7759 if test "$ rp_with_mkoctfile3" != "no" ; then7760 if test "$ rp_with_mkoctfile3" = "yes" ; then7752 withval=$with_mkoctfile3; 7753 else 7754 with_mkoctfile3=no 7755 fi 7756 7757 7758 if test "$with_mkoctfile3" != "no" ; then 7759 if test "$with_mkoctfile3" = "yes" ; then 7761 7760 # Extract the first word of "mkoctfile", so it can be a program name with args. 7762 7761 set dummy mkoctfile; ac_word=$2 … … 7800 7799 7801 7800 else 7802 MKOCTFILE3=$ rp_with_mkoctfile37801 MKOCTFILE3=$with_mkoctfile3 7803 7802 fi 7804 7803 OCTAVE_VERSION=`${MKOCTFILE3} --version 2>&1 | cut -d' ' -f3` … … 7811 7810 # Check whether --with-mkoctfile2 was given. 7812 7811 if test "${with_mkoctfile2+set}" = set; then : 7813 withval=$with_mkoctfile2; rp_with_mkoctfile2=$withval7814 else 7815 rp_with_mkoctfile2=no7816 fi 7817 7818 7819 if test "$ rp_with_mkoctfile2" != "no" ; then7820 if test "$ rp_with_mkoctfile2" = "yes" ; then7812 withval=$with_mkoctfile2; 7813 else 7814 with_mkoctfile2=no 7815 fi 7816 7817 7818 if test "$with_mkoctfile2" != "no" ; then 7819 if test "$with_mkoctfile2" = "yes" ; then 7821 7820 # Extract the first word of "mkoctfile", so it can be a program name with args. 7822 7821 set dummy mkoctfile; ac_word=$2 … … 7860 7859 7861 7860 else 7862 MKOCTFILE2=$ rp_with_mkoctfile27861 MKOCTFILE2=$with_mkoctfile2 7863 7862 fi 7864 7863 # Have to use octave to get a version, instead of mkoctfile. … … 7869 7868 7870 7869 7871 echo "MKOCTFILE2 = $MKOCTFILE2"7872 echo "MKOCTFILE3 = $MKOCTFILE3"7873 echo "OCTAVE_VERSION_MAJOR = $OCTAVE_VERSION_MAJOR"7874 echo "OCTAVE_VERSION = $OCTAVE_VERSION"7875 7876 7877 7870 7878 7871 # Check whether --with-perl was given. … … 7880 7873 withval=$with_perl; 7881 7874 else 7882 rp_with_perl=yes7875 with_perl=yes 7883 7876 fi 7884 7877 … … 7895 7888 PERL_VERSION_RV= 7896 7889 PERL_LIBSPEC= 7897 if test "$ rp_with_perl" != "no" ; then7898 if test "$ rp_with_perl" != "yes" ; then7890 if test "$with_perl" != "no" ; then 7891 if test "$with_perl" != "yes" ; then 7899 7892 # Extract the first word of "perl", so it can be a program name with args. 7900 7893 set dummy perl; ac_word=$2 … … 7910 7903 *) 7911 7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7912 as_dummy="$ rp_with_perl/bin:$rp_with_perl"7905 as_dummy="$with_perl/bin:$with_perl" 7913 7906 for as_dir in $as_dummy 7914 7907 do … … 8010 8003 PYTHON_VERSION="" 8011 8004 pythondir="" 8012 rp_with_python="yes"8013 8005 8014 8006 # Check whether --with-python was given. 8015 8007 if test "${with_python+set}" = set; then : 8016 withval=$with_python; rp_with_python=$withval8017 else 8018 rp_with_python=yes8019 fi 8020 8021 8022 if test "$ rp_with_python" != "no" ; then8023 if test "$ rp_with_python" = "yes" ; then8008 withval=$with_python; 8009 else 8010 with_python=yes 8011 fi 8012 8013 8014 if test "$with_python" != "no" ; then 8015 if test "$with_python" = "yes" ; then 8024 8016 # 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. 8025 8017 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 … … 8076 8068 *) 8077 8069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8078 as_dummy="${ rp_with_python}/bin:${rp_with_python}"8070 as_dummy="${with_python}/bin:${with_python}" 8079 8071 for as_dir in $as_dummy 8080 8072 do … … 8170 8162 8171 8163 8172 rp_with_java="yes"8173 8164 8174 8165 # Check whether --with-java was given. 8175 8166 if test "${with_java+set}" = set; then : 8176 withval=$with_java; rp_with_java=$withval8177 else 8178 rp_with_java=yes8167 withval=$with_java; 8168 else 8169 with_java=yes 8179 8170 fi 8180 8171 … … 8184 8175 JAVA_DEV_PKG="no" 8185 8176 8186 # Check whether --with-java was given. 8187 if test "${with_java+set}" = set; then : 8188 withval=$with_java; rp_with_java=$withval 8189 fi 8190 8191 8192 if test "${rp_with_java}" != "no" ; then 8193 if test "${rp_with_java}" = "yes" ; then 8177 if test "${with_java}" != "no" ; then 8178 if test "${with_java}" = "yes" ; then 8194 8179 # Extract the first word of "java", so it can be a program name with args. 8195 8180 set dummy java; ac_word=$2 … … 8326 8311 *) 8327 8312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8328 as_dummy="${ rp_with_java}/bin:${rp_with_java}"8313 as_dummy="${with_java}/bin:${with_java}" 8329 8314 for as_dir in $as_dummy 8330 8315 do … … 8367 8352 *) 8368 8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8369 as_dummy="${ rp_with_java}/bin:${rp_with_java}"8354 as_dummy="${with_java}/bin:${with_java}" 8370 8355 for as_dir in $as_dummy 8371 8356 do … … 8408 8393 *) 8409 8394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8410 as_dummy="${ rp_with_java}/bin:${rp_with_java}"8395 as_dummy="${with_java}/bin:${with_java}" 8411 8396 for as_dir in $as_dummy 8412 8397 do … … 8445 8430 if test "x${JAVA}" != "x" ; then 8446 8431 for d in \ 8447 ${ rp_with_java} \8432 ${with_java} \ 8448 8433 ${JAVA_HOME} \ 8449 8434 /apps/java/jdk1.6* \
Note: See TracChangeset
for help on using the changeset viewer.