Changeset 6688
- Timestamp:
- Jan 30, 2018 10:29:24 AM (5 years ago)
- Location:
- branches/1.7
- Files:
-
- 9 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.7/cf/rpLangOctave.m4
r2298 r6688 34 34 MKOCTFILE2= 35 35 MKOCTFILE3= 36 MKOCTFILE4= 36 37 37 38 if test "$with_octave" != "no" ; then … … 48 49 OCTAVE_VERSION=`${OCTAVE} -v | grep version | cut -d' ' -f4` 49 50 OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1` 51 if test "${OCTAVE_VERSION_MAJOR}" == "4" ; then 52 OCTAVE4=$OCTAVE 53 MKOCTFILE4=$MKOCTFILE 54 fi 50 55 if test "${OCTAVE_VERSION_MAJOR}" == "3" ; then 51 56 OCTAVE3=$OCTAVE … … 71 76 # not both. 72 77 # 78 79 # Check if octave4 was designated *in addition* to the installed version. 80 # This can override the default version if they are the same versions. 81 82 AC_ARG_WITH( 83 [mkoctfile4], 84 [AS_HELP_STRING([--with-mkoctfile4[=DIR]], 85 [path of octave compiler `mkoctfile' @<:@default=no@:>@])], 86 [], 87 [with_mkoctfile4=no]) 88 89 if test "$with_mkoctfile4" != "no" ; then 90 if test "$with_mkoctfile4" = "yes" ; then 91 AC_PATH_PROG(mkoctfile4, mkoctfile) 92 else 93 MKOCTFILE4=$with_mkoctfile4 94 fi 95 OCTAVE_VERSION=`${MKOCTFILE4} --version 2>&1 | cut -d' ' -f3` 96 OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1` 97 fi 73 98 74 99 # Check if octave3 was designated *in addition* to the installed version. -
branches/1.7/configure
r6227 r6688 14 14 ## M4sh Initialization. ## 15 15 ## -------------------- ## 16 17 set -x 16 18 17 19 # Be more Bourne compatible … … 676 678 OCTAVE_VERSION_MAJOR 677 679 OCTAVE_VERSION 680 MKOCTFILE4 678 681 MKOCTFILE3 679 682 MKOCTFILE2 … … 723 726 mkoctfile2 724 727 mkoctfile3 728 mkoctfile4 725 729 MKOCTFILE 726 730 OCTAVE … … 831 835 with_matlab 832 836 with_octave 837 with_mkoctfile4 833 838 with_mkoctfile3 834 839 with_mkoctfile2 … … 1491 1496 --with-octave=DIR path of default octave compiler `mkoctfile' 1492 1497 [default=yes] 1498 --with-mkoctfile4=DIR path of octave compiler `mkoctfile' [default=no] 1493 1499 --with-mkoctfile3=DIR path of octave compiler `mkoctfile' [default=no] 1494 1500 --with-mkoctfile2=DIR path of octave compiler `mkoctfile' [default=no] … … 7799 7805 MKOCTFILE2= 7800 7806 MKOCTFILE3= 7807 MKOCTFILE4= 7801 7808 7802 7809 if test "$with_octave" != "no" ; then … … 7891 7898 OCTAVE_VERSION=`${OCTAVE} -v | grep version | cut -d' ' -f4` 7892 7899 OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1` 7900 if test "${OCTAVE_VERSION_MAJOR}" == "4" ; then 7901 OCTAVE4=$OCTAVE 7902 MKOCTFILE4=$MKOCTFILE 7903 fi 7893 7904 if test "${OCTAVE_VERSION_MAJOR}" == "3" ; then 7894 7905 OCTAVE3=$OCTAVE … … 7914 7925 # not both. 7915 7926 # 7927 7928 # Check if octave4 was designated *in addition* to the installed version. 7929 # This can override the default version if they are the same versions. 7930 7931 7932 # Check whether --with-mkoctfile4 was given. 7933 if test "${with_mkoctfile4+set}" = set; then : 7934 withval=$with_mkoctfile4; 7935 else 7936 with_mkoctfile4=no 7937 fi 7938 7939 7940 if test "$with_mkoctfile4" != "no" ; then 7941 if test "$with_mkoctfile4" = "yes" ; then 7942 # Extract the first word of "mkoctfile", so it can be a program name with args. 7943 set dummy mkoctfile; ac_word=$2 7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7945 $as_echo_n "checking for $ac_word... " >&6; } 7946 if ${ac_cv_path_mkoctfile4+:} false; then : 7947 $as_echo_n "(cached) " >&6 7948 else 7949 case $mkoctfile4 in 7950 [\\/]* | ?:[\\/]*) 7951 ac_cv_path_mkoctfile4="$mkoctfile4" # Let the user override the test with a path. 7952 ;; 7953 *) 7954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7955 for as_dir in $PATH 7956 do 7957 IFS=$as_save_IFS 7958 test -z "$as_dir" && as_dir=. 7959 for ac_exec_ext in '' $ac_executable_extensions; do 7960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7961 ac_cv_path_mkoctfile4="$as_dir/$ac_word$ac_exec_ext" 7962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7963 break 2 7964 fi 7965 done 7966 done 7967 IFS=$as_save_IFS 7968 7969 ;; 7970 esac 7971 fi 7972 mkoctfile4=$ac_cv_path_mkoctfile4 7973 if test -n "$mkoctfile4"; then 7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile4" >&5 7975 $as_echo "$mkoctfile4" >&6; } 7976 else 7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7978 $as_echo "no" >&6; } 7979 fi 7980 7981 7982 else 7983 MKOCTFILE4=$with_mkoctfile4 7984 fi 7985 OCTAVE_VERSION=`${MKOCTFILE4} --version 2>&1 | cut -d' ' -f3` 7986 OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1` 7987 fi 7916 7988 7917 7989 # Check if octave3 was designated *in addition* to the installed version. … … 10219 10291 10220 10292 10293 10221 10294 ac_configure_args="--disable-threads --enable-shared" 10222 10295 … … 10225 10298 10226 10299 10227 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/copy_rappture_examples gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile gui/src/Makefile builder/Makefile builder/pkgIndex.tcl builder/scripts/Makefile tester/Makefile tester/pkgIndex.tcl tester/scripts/Makefile lang/Makefile lang/java/Makefile lang/java/rappture/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/octave2/Makefile lang/octave/octave3/Makefile lang/ R/Makefile lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/scripts/Makefile lang/tcl/src/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/octave2/Makefile examples/app-fermi/octave/octave3/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/perl/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/app-fermi/R/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/curve/Makefile examples/zoo/drawing/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/group/Makefile examples/zoo/histogram/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/log/Makefile examples/zoo/mesh/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/parallelepiped/Makefile examples/zoo/periodicelement/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile video/Makefile video/pkgIndex.tcl oldtest/Makefile oldtest/src/Makefile puq/Makefile puq/puq.sh"10300 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/copy_rappture_examples gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile gui/src/Makefile builder/Makefile builder/pkgIndex.tcl builder/scripts/Makefile tester/Makefile tester/pkgIndex.tcl tester/scripts/Makefile lang/Makefile lang/java/Makefile lang/java/rappture/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/octave2/Makefile lang/octave/octave3/Makefile lang/octave/octave4/Makefile lang/R/Makefile lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/scripts/Makefile lang/tcl/src/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/octave2/Makefile examples/app-fermi/octave/octave3/Makefile examples/app-fermi/octave/octave4/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/perl/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/app-fermi/R/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/curve/Makefile examples/zoo/drawing/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/group/Makefile examples/zoo/histogram/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/log/Makefile examples/zoo/mesh/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/parallelepiped/Makefile examples/zoo/periodicelement/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile video/Makefile video/pkgIndex.tcl oldtest/Makefile oldtest/src/Makefile puq/Makefile puq/puq.sh" 10228 10301 10229 10302 cat >confcache <<\_ACEOF … … 10959 11032 "lang/octave/octave2/Makefile") CONFIG_FILES="$CONFIG_FILES lang/octave/octave2/Makefile" ;; 10960 11033 "lang/octave/octave3/Makefile") CONFIG_FILES="$CONFIG_FILES lang/octave/octave3/Makefile" ;; 11034 "lang/octave/octave4/Makefile") CONFIG_FILES="$CONFIG_FILES lang/octave/octave4/Makefile" ;; 10961 11035 "lang/R/Makefile") CONFIG_FILES="$CONFIG_FILES lang/R/Makefile" ;; 10962 11036 "lang/ruby/Makefile") CONFIG_FILES="$CONFIG_FILES lang/ruby/Makefile" ;; … … 10980 11054 "examples/app-fermi/octave/octave2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/octave2/Makefile" ;; 10981 11055 "examples/app-fermi/octave/octave3/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/octave3/Makefile" ;; 11056 "examples/app-fermi/octave/octave4/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/octave4/Makefile" ;; 10982 11057 "examples/app-fermi/octave/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/Makefile" ;; 10983 11058 "examples/app-fermi/perl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/perl/Makefile" ;; -
branches/1.7/configure.in
r6227 r6688 412 412 AC_SUBST(MKOCTFILE2) 413 413 AC_SUBST(MKOCTFILE3) 414 AC_SUBST(MKOCTFILE4) 414 415 AC_SUBST(OCTAVE_VERSION) 415 416 AC_SUBST(OCTAVE_VERSION_MAJOR) … … 517 518 lang/octave/octave2/Makefile 518 519 lang/octave/octave3/Makefile 520 lang/octave/octave4/Makefile 519 521 lang/R/Makefile 520 522 lang/ruby/Makefile … … 538 540 examples/app-fermi/octave/octave2/Makefile 539 541 examples/app-fermi/octave/octave3/Makefile 542 examples/app-fermi/octave/octave4/Makefile 540 543 examples/app-fermi/octave/Makefile 541 544 examples/app-fermi/perl/Makefile -
branches/1.7/lang/octave/Makefile.in
r3471 r6688 14 14 MKOCTFILE2 = @MKOCTFILE2@ 15 15 MKOCTFILE3 = @MKOCTFILE3@ 16 MKOCTFILE4 = @MKOCTFILE4@ 16 17 17 18 LANGS = 19 ifneq ($(MKOCTFILE4),) 20 LANGS += octave4 21 endif 18 22 ifneq ($(MKOCTFILE3),) 19 23 LANGS += octave3 … … 23 27 endif 24 28 25 .PHONY: all install test clean distclean octave2 octave3 29 .PHONY: all install test clean distclean octave2 octave3 octave4 26 30 27 31 all:
Note: See TracChangeset
for help on using the changeset viewer.