Changeset 4867
- Timestamp:
- Dec 13, 2014, 1:10:09 PM (10 years ago)
- Location:
- branches/r9
- Files:
-
- 11 added
- 18 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/r9/Makefile.in
r4866 r4867 66 66 targets = \ 67 67 blt builder cmake examples expat expect gui htmlwidget itcl \ 68 itk lang lib rapptureoptimizer shape sqlitetcl tcl tcllib \68 itk lang lib optimizer shape sqlitetcl tcl tcllib \ 69 69 tdom tester tk tkimg tls video vtk zlib packages 70 70 … … 73 73 .NOTPARALLEL: 74 74 75 all: gui packages lang76 77 fullpkg: tester builder packages 75 all: gui lang all_packages 76 77 all_packages: runner tester builder packages video optimizer 78 78 79 79 # Aliases for package directory names. … … 91 91 jpeg = jpeg-8d 92 92 libpng = libpng-1.6.15 93 lib rappture = librappture93 lib = lib 94 94 openssl = openssl-1.0.1j 95 95 optimizer = optimizer … … 109 109 builder = builder 110 110 lang = lang 111 video = video 112 runner = runner 111 113 112 114 subdirs = \ 113 115 $(blt) $(builder) $(cmake) $(examples) $(expat) $(expect) \ 114 $(gui) $(htmlwidget) $(itcl) $(itk) $(lang) $(lib rappture) \116 $(gui) $(htmlwidget) $(itcl) $(itk) $(lang) $(lib) \ 115 117 $(optimizer) $(shape) \ 116 118 $(sqlitetcl) $(tcl) $(tcllib) $(tdom) $(tester) $(tk) $(tkimg) \ 117 119 $(tls) $(vtk) $(zlib) 118 120 119 if neq ("$(HAVE_VTK)",)121 ifeq ("$(HAVE_VTK)", 1) 120 122 vtk_timestamp = $(vtk)/timestamp 121 123 cmake_timestamp = $(cmake)/timestamp … … 474 476 475 477 gui_flags = \ 476 --with-tclsh="$(bindir)/tclsh8.4" \477 --enable-shared \478 478 $(common_flags) 479 479 … … 492 492 touch-gui: 493 493 $(touch_gui) 494 force-gui: $(lib rappture)/timestamp \494 force-gui: $(lib)/timestamp \ 495 495 $(blt)/timestamp \ 496 496 $(itk)/timestamp \ … … 525 525 endef 526 526 527 $(gui)/timestamp: $(lib rappture)/timestamp \527 $(gui)/timestamp: $(lib)/timestamp \ 528 528 $(blt)/timestamp \ 529 529 $(itk)/timestamp \ … … 766 766 endef 767 767 768 $(lang)/timestamp: $(lib rappture)/timestamp $(tcl)/timestamp $(itcl)/timestamp768 $(lang)/timestamp: $(lib)/timestamp $(tcl)/timestamp $(itcl)/timestamp 769 769 + $(clean_lang) 770 770 + $(fetch_lang) … … 776 776 777 777 # ------------------------------------------------------------------------- 778 # LIB RAPPTURE779 # ------------------------------------------------------------------------- 780 781 lib rappture_flags = \782 --enable-shared \ 783 $(common_flags) 784 785 lib rappture: $(librappture)/timestamp786 787 clean-lib rappture:788 $(clean_lib rappture)789 fetch-lib rappture:790 $(fetch_lib rappture)791 configure-lib rappture:792 $(configure_lib rappture)793 build-lib rappture:794 $(build_lib rappture)795 install-lib rappture:796 $(install_lib rappture)797 touch-lib rappture:798 $(touch_lib rappture)799 force-lib rappture:800 + $(clean_lib rappture)801 + $(fetch_lib rappture)802 + $(configure_lib rappture)803 + $(build_lib rappture)804 + $(install_lib rappture)805 + $(touch_lib rappture)806 807 define clean_lib rappture808 $(RM) -r $(lib rappture)809 endef 810 define fetch_lib rappture811 endef 812 define configure_lib rappture813 $(MKDIR_P) $(lib rappture)814 cd $(lib rappture); $(srcdir)/lib/configure $(librappture_flags)815 endef 816 define build_lib rappture817 $(MAKE) -C $(lib rappture) all818 endef 819 define install_lib rappture820 $(MAKE) -C $(lib rappture) install821 endef 822 define touch_lib rappture823 touch $(lib rappture)/timestamp824 endef 825 826 $(lib rappture)/timestamp:827 + $(clean_lib rappture)828 + $(fetch_lib rappture)829 + $(configure_lib rappture)830 + $(build_lib rappture)831 + $(install_lib rappture)832 + $(touch_lib rappture)778 # LIB 779 # ------------------------------------------------------------------------- 780 781 lib_flags = \ 782 --enable-shared \ 783 $(common_flags) 784 785 lib: $(lib)/timestamp 786 787 clean-lib: 788 $(clean_lib) 789 fetch-lib: 790 $(fetch_lib) 791 configure-lib: 792 $(configure_lib) 793 build-lib: 794 $(build_lib) 795 install-lib: 796 $(install_lib) 797 touch-lib: 798 $(touch_lib) 799 force-lib: 800 + $(clean_lib) 801 + $(fetch_lib) 802 + $(configure_lib) 803 + $(build_lib) 804 + $(install_lib) 805 + $(touch_lib) 806 807 define clean_lib 808 $(RM) -r $(lib) 809 endef 810 define fetch_lib 811 endef 812 define configure_lib 813 $(MKDIR_P) $(lib) 814 cd $(lib); $(srcdir)/lib/configure $(lib_flags) 815 endef 816 define build_lib 817 $(MAKE) -C $(lib) all 818 endef 819 define install_lib 820 $(MAKE) -C $(lib) install 821 endef 822 define touch_lib 823 touch $(lib)/timestamp 824 endef 825 826 $(lib)/timestamp: 827 + $(clean_lib) 828 + $(fetch_lib) 829 + $(configure_lib) 830 + $(build_lib) 831 + $(install_lib) 832 + $(touch_lib) 833 833 834 834 # ------------------------------------------------------------------------- … … 871 871 define configure_optimizer 872 872 $(MKDIR_P) $(optimizer) 873 cd $(optimizer); $(srcdir)/packages/$(optimizer)/ src/configure $(optimizer_flags)873 cd $(optimizer); $(srcdir)/packages/$(optimizer)/configure $(optimizer_flags) 874 874 endef 875 875 define build_optimizer … … 1058 1058 define install_tcl 1059 1059 $(MAKE) -C $(tcl) install 1060 $(RM) $(bindir)/tclsh 1061 (cd $(bindir); $(LN_S) tclsh$(TCL_VERSION) tclsh) 1060 1062 endef 1061 1063 define touch_tcl … … 1289 1291 define install_tk 1290 1292 $(MAKE) -C $(tk) install 1293 $(RM) $(bindir)/wish 1294 (cd $(bindir); $(LN_S) wish$(TK_VERSION) wish) 1291 1295 endef 1292 1296 define touch_tk … … 1441 1445 touch-video: 1442 1446 $(touch_video) 1443 force-video: $(gui)/timestamp1447 force-video: #$(gui)/timestamp 1444 1448 + $(clean_video) 1445 1449 + $(fetch_video) … … 1468 1472 endef 1469 1473 1470 $(video)/timestamp: $(gui)/timestamp1474 $(video)/timestamp: #$(gui)/timestamp 1471 1475 + $(clean_video) 1472 1476 + $(fetch_video) -
branches/r9/builder/Makefile.in
r3471 r4867 17 17 top_builddir = . 18 18 19 INSTALL = @INSTALL@ 19 20 MKDIR_P = @MKDIR_P@ 20 TCL_VERSION = @TCL_VERSION@21 TCLSH = $(bindir)/tclsh$(TCL_VERSION)22 INSTALL = @INSTALL@23 24 21 PACKAGE_VERSION = @PACKAGE_VERSION@ 22 TCLSH = $(bindir)/tclsh 25 23 26 24 version = $(PACKAGE_VERSION) -
branches/r9/builder/scripts/Makefile.in
r4840 r4867 10 10 includedir = @includedir@ 11 11 12 SHELL = @SHELL@13 12 INSTALL = @INSTALL@ 14 13 MKDIR_P = @MKDIR_P@ 15 TCL_VERSION = @TCL_VERSION@ 16 TCLSH = $(bindir)/tclsh$(TCL_VERSION) 14 PACKAGE_VERSION = @PACKAGE_VERSION@ 15 SHELL = @SHELL@ 16 TCLSH = $(bindir)/tclsh 17 17 VPATH = $(srcdir) 18 PACKAGE_VERSION = @PACKAGE_VERSION@19 18 20 19 FILES = \ -
branches/r9/configure
r4866 r4867 628 628 X_INCLUDES 629 629 STATSDIR 630 XSUBPP 630 631 VTK_VERSION 631 632 VTK_TCL_DIR … … 648 649 SIZEOF_INT 649 650 SHLIB_LDFLAGS 650 RUBY_VERSION_RV651 RUBY_PLATFORM652 651 RP_BASE 653 PYTHON_VERSION654 PYTHON_SITE_PACKAGES655 PYTHON_SITE_DIR656 PYTHON_LIBDIR657 PYTHON_LIB658 PYTHON_LDFLAGS659 PYTHON_INCLUDES660 PYTHON_INCDIR661 PYTHON_DISTUTILS662 PYTHON_CFLAGS663 PERL_VERSION_RV664 PERL_VERSION665 PERL_VENDORLIB666 PERL_PRIVLIB667 PERL_LIBSPEC668 PERL_INSTALLARCHLIB669 PERL_INCLUDES670 PERL_CPPFLAGS671 PERL_CCFLAGS672 PERL_ARCHLIBEXP673 PERL_ARCHLIB674 OCTAVE_VERSION_MAJOR675 OCTAVE_VERSION676 652 SVN_VERSION 677 MKOCTFILE3678 MKOCTFILE2679 MEX_ARCH680 653 MAKE 681 654 LIB_SEARCH_DIRS 682 JAVA_INC_SPEC683 JAVA_INC_DIR684 JAVA_HOME685 655 INSTALL_PREFIX 686 HAVE_RUBY_DEVEL687 656 HAVE_INTTYPES_H 688 HAVE_FFMPEG_LIBS689 657 ENABLE_VTK_DICOM 690 658 ENABLE_VTK 691 659 ENABLE_GUI 692 660 ENABLE_LANG 693 FFMPEG694 661 LDFLAGS_DEFAULT 695 662 CFLAGS_DEFAULT 696 host_os697 host_vendor698 host_cpu699 host700 build_os701 build_vendor702 build_cpu703 build704 HAVE_RUBY_H705 RUBY_SITELIBDIR706 RUBY_LIBRUBYARG_STATIC707 RUBY_LIBRUBYARG708 RUBY_LIBS709 RUBY_LDFLAGS710 RUBY_CXXFLAGS711 RUBY_CFLAGS712 RUBY_CPPFLAGS713 RUBY_VERSION_CODE714 RUBY715 R716 JAVAH717 JAVAC718 JAVA719 PYTHON720 XSUBPP721 PERL722 mkoctfile2723 mkoctfile3724 MKOCTFILE725 OCTAVE726 MCC727 MEXEXT728 MEX729 MATLAB730 663 INSTALL_STUB_LIB 731 664 INSTALL_LIB … … 829 762 with_vtk 830 763 enable_vtkdicom 831 with_matlab832 with_octave833 with_mkoctfile3834 with_mkoctfile2835 with_perl836 with_python837 with_java838 with_R839 with_ruby840 with_ruby_sitelibdir841 764 enable_shared 842 765 enable_symbols … … 1458 1381 --x-includes=DIR X include files are in DIR 1459 1382 --x-libraries=DIR X library files are in DIR 1460 1461 System types:1462 --build=BUILD configure for building on BUILD [guessed]1463 --host=HOST cross-compile to build programs to run on HOST [BUILD]1464 1383 _ACEOF 1465 1384 fi … … 1494 1413 --with-ffmpeg=DIR location of ffmpeg [default=yes] 1495 1414 --with-vtk=version VTK library version [default=6.1] 1496 --with-matlab=DIR location of matlab and mex compiler [default=yes]1497 --with-octave=DIR path of default octave compiler `mkoctfile'1498 [default=yes]1499 --with-mkoctfile3=DIR path of octave compiler `mkoctfile' [default=no]1500 --with-mkoctfile2=DIR path of octave compiler `mkoctfile' [default=no]1501 --with-perl=DIR location of perl [default=yes]1502 --with-python=DIR location of python [default=yes]1503 --with-java=DIR location of java [default=yes]1504 --with-R=DIR location of R interpreter [default=yes]1505 --with-ruby=PATH path to the ruby interpreter [[ruby]]1506 --with-ruby-sitelibdir=PATH1507 path to install ruby scripts [[auto-detect]]1508 1415 1509 1416 Some influential environment variables: … … 2785 2692 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2786 2693 2787 2788 ac_config_headers="$ac_config_headers lib/rappture/config.h"2789 2694 2790 2695 … … 7547 7452 fi 7548 7453 7549 TCL_VERSION="8. 4"7454 TCL_VERSION="8.5" 7550 7455 for dir in \ 7551 7456 ${exec_prefix} \ … … 7633 7538 $as_echo "$enable_vtkdicom" >&6; } 7634 7539 7635 7636 7637 # Check whether --with-matlab was given.7638 if test "${with_matlab+set}" = set; then :7639 withval=$with_matlab;7640 else7641 with_matlab=yes7642 fi7643 7644 7645 MCC=""7646 MEX=""7647 MEX_ARCH=""7648 MEXEXT=""7649 MATLAB=7650 if test "$with_matlab" != "no" ; then7651 if test "$with_matlab" = "yes" ; then7652 # Extract the first word of "matlab", so it can be a program name with args.7653 set dummy matlab; ac_word=$27654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57655 $as_echo_n "checking for $ac_word... " >&6; }7656 if ${ac_cv_path_MATLAB+:} false; then :7657 $as_echo_n "(cached) " >&67658 else7659 case $MATLAB in7660 [\\/]* | ?:[\\/]*)7661 ac_cv_path_MATLAB="$MATLAB" # Let the user override the test with a path.7662 ;;7663 *)7664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7665 for as_dir in $PATH7666 do7667 IFS=$as_save_IFS7668 test -z "$as_dir" && as_dir=.7669 for ac_exec_ext in '' $ac_executable_extensions; do7670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7671 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext"7672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57673 break 27674 fi7675 done7676 done7677 IFS=$as_save_IFS7678 7679 ;;7680 esac7681 fi7682 MATLAB=$ac_cv_path_MATLAB7683 if test -n "$MATLAB"; then7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&57685 $as_echo "$MATLAB" >&6; }7686 else7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57688 $as_echo "no" >&6; }7689 fi7690 7691 7692 else7693 # Extract the first word of "matlab", so it can be a program name with args.7694 set dummy matlab; ac_word=$27695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57696 $as_echo_n "checking for $ac_word... " >&6; }7697 if ${ac_cv_path_MATLAB+:} false; then :7698 $as_echo_n "(cached) " >&67699 else7700 case $MATLAB in7701 [\\/]* | ?:[\\/]*)7702 ac_cv_path_MATLAB="$MATLAB" # Let the user override the test with a path.7703 ;;7704 *)7705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7706 as_dummy="${with_matlab}/bin:${with_matlab}"7707 for as_dir in $as_dummy7708 do7709 IFS=$as_save_IFS7710 test -z "$as_dir" && as_dir=.7711 for ac_exec_ext in '' $ac_executable_extensions; do7712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7713 ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext"7714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57715 break 27716 fi7717 done7718 done7719 IFS=$as_save_IFS7720 7721 ;;7722 esac7723 fi7724 MATLAB=$ac_cv_path_MATLAB7725 if test -n "$MATLAB"; then7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&57727 $as_echo "$MATLAB" >&6; }7728 else7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57730 $as_echo "no" >&6; }7731 fi7732 7733 7734 fi7735 fi7736 7737 if test "x$MATLAB" != "x" ; then7738 # Found matlab. May be a symlink to the real binary. Run "matlab -e"7739 # to tell where matlab is installed.7740 7741 matlab_bindir=`${MATLAB} -e | grep "MATLAB=" | sed s/MATLAB=//`/bin7742 7743 # Now see if we can find "mex" or "mexext" there.7744 # Extract the first word of "mex", so it can be a program name with args.7745 set dummy mex; ac_word=$27746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57747 $as_echo_n "checking for $ac_word... " >&6; }7748 if ${ac_cv_path_MEX+:} false; then :7749 $as_echo_n "(cached) " >&67750 else7751 case $MEX in7752 [\\/]* | ?:[\\/]*)7753 ac_cv_path_MEX="$MEX" # Let the user override the test with a path.7754 ;;7755 *)7756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7757 for as_dir in ${matlab_bindir}7758 do7759 IFS=$as_save_IFS7760 test -z "$as_dir" && as_dir=.7761 for ac_exec_ext in '' $ac_executable_extensions; do7762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7763 ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext"7764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57765 break 27766 fi7767 done7768 done7769 IFS=$as_save_IFS7770 7771 ;;7772 esac7773 fi7774 MEX=$ac_cv_path_MEX7775 if test -n "$MEX"; then7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&57777 $as_echo "$MEX" >&6; }7778 else7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57780 $as_echo "no" >&6; }7781 fi7782 7783 7784 # Extract the first word of "mexext", so it can be a program name with args.7785 set dummy mexext; ac_word=$27786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57787 $as_echo_n "checking for $ac_word... " >&6; }7788 if ${ac_cv_path_MEXEXT+:} false; then :7789 $as_echo_n "(cached) " >&67790 else7791 case $MEXEXT in7792 [\\/]* | ?:[\\/]*)7793 ac_cv_path_MEXEXT="$MEXEXT" # Let the user override the test with a path.7794 ;;7795 *)7796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7797 for as_dir in ${matlab_bindir}7798 do7799 IFS=$as_save_IFS7800 test -z "$as_dir" && as_dir=.7801 for ac_exec_ext in '' $ac_executable_extensions; do7802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7803 ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext"7804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57805 break 27806 fi7807 done7808 done7809 IFS=$as_save_IFS7810 7811 ;;7812 esac7813 fi7814 MEXEXT=$ac_cv_path_MEXEXT7815 if test -n "$MEXEXT"; then7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&57817 $as_echo "$MEXEXT" >&6; }7818 else7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57820 $as_echo "no" >&6; }7821 fi7822 7823 7824 7825 # Run "mexext" to get the expected module extension for this platform.7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&57827 $as_echo_n "checking for mex extension... " >&6; }7828 if test "x$MEXEXT" != "x" ; then7829 MEXEXT=`$MEXEXT`7830 else7831 MEXEXT="mexglx"7832 fi7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&57834 $as_echo "$MEXEXT" >&6; }7835 # Extract the first word of "mcc", so it can be a program name with args.7836 set dummy mcc; ac_word=$27837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57838 $as_echo_n "checking for $ac_word... " >&6; }7839 if ${ac_cv_path_MCC+:} false; then :7840 $as_echo_n "(cached) " >&67841 else7842 case $MCC in7843 [\\/]* | ?:[\\/]*)7844 ac_cv_path_MCC="$MCC" # Let the user override the test with a path.7845 ;;7846 *)7847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7848 for as_dir in ${matlab_bindir}7849 do7850 IFS=$as_save_IFS7851 test -z "$as_dir" && as_dir=.7852 for ac_exec_ext in '' $ac_executable_extensions; do7853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7854 ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext"7855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57856 break 27857 fi7858 done7859 done7860 IFS=$as_save_IFS7861 7862 ;;7863 esac7864 fi7865 MCC=$ac_cv_path_MCC7866 if test -n "$MCC"; then7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&57868 $as_echo "$MCC" >&6; }7869 else7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57871 $as_echo "no" >&6; }7872 fi7873 7874 7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&57876 $as_echo_n "checking for mcc extension... " >&6; }7877 fi7878 7879 7880 7881 # Check whether --with-octave was given.7882 if test "${with_octave+set}" = set; then :7883 withval=$with_octave;7884 else7885 with_octave=yes7886 fi7887 7888 7889 OCTAVE=7890 OCTAVE_VERSION=7891 OCTAVE_VERSION_MAJOR=7892 MKOCTFILE2=7893 MKOCTFILE3=7894 7895 if test "$with_octave" != "no" ; then7896 if test "$with_octave" = "yes" ; then7897 # Extract the first word of "octave", so it can be a program name with args.7898 set dummy octave; ac_word=$27899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57900 $as_echo_n "checking for $ac_word... " >&6; }7901 if ${ac_cv_path_OCTAVE+:} false; then :7902 $as_echo_n "(cached) " >&67903 else7904 case $OCTAVE in7905 [\\/]* | ?:[\\/]*)7906 ac_cv_path_OCTAVE="$OCTAVE" # Let the user override the test with a path.7907 ;;7908 *)7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7910 for as_dir in $PATH7911 do7912 IFS=$as_save_IFS7913 test -z "$as_dir" && as_dir=.7914 for ac_exec_ext in '' $ac_executable_extensions; do7915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7916 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext"7917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57918 break 27919 fi7920 done7921 done7922 IFS=$as_save_IFS7923 7924 ;;7925 esac7926 fi7927 OCTAVE=$ac_cv_path_OCTAVE7928 if test -n "$OCTAVE"; then7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&57930 $as_echo "$OCTAVE" >&6; }7931 else7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57933 $as_echo "no" >&6; }7934 fi7935 7936 7937 # Extract the first word of "mkoctfile", so it can be a program name with args.7938 set dummy mkoctfile; ac_word=$27939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57940 $as_echo_n "checking for $ac_word... " >&6; }7941 if ${ac_cv_path_MKOCTFILE+:} false; then :7942 $as_echo_n "(cached) " >&67943 else7944 case $MKOCTFILE in7945 [\\/]* | ?:[\\/]*)7946 ac_cv_path_MKOCTFILE="$MKOCTFILE" # Let the user override the test with a path.7947 ;;7948 *)7949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7950 for as_dir in $PATH7951 do7952 IFS=$as_save_IFS7953 test -z "$as_dir" && as_dir=.7954 for ac_exec_ext in '' $ac_executable_extensions; do7955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7956 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext"7957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57958 break 27959 fi7960 done7961 done7962 IFS=$as_save_IFS7963 7964 ;;7965 esac7966 fi7967 MKOCTFILE=$ac_cv_path_MKOCTFILE7968 if test -n "$MKOCTFILE"; then7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&57970 $as_echo "$MKOCTFILE" >&6; }7971 else7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57973 $as_echo "no" >&6; }7974 fi7975 7976 7977 else7978 OCTAVE=$with_octave7979 MKOCTFILE=`dirname $with_octave`/mkoctfile7980 fi7981 fi7982 7983 if test "x${OCTAVE}" != "x" ; then7984 OCTAVE_VERSION=`${OCTAVE} -v | grep version | cut -d' ' -f4`7985 OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1`7986 if test "${OCTAVE_VERSION_MAJOR}" == "3" ; then7987 OCTAVE3=$OCTAVE7988 MKOCTFILE3=$MKOCTFILE7989 fi7990 if test "${OCTAVE_VERSION_MAJOR}" == "2" ; then7991 OCTAVE2=$OCTAVE7992 MKOCTFILE2=$MKOCTFILE7993 fi7994 fi7995 7996 #7997 # Check for octave3 before octave2 so that we can override the7998 # OCTAVE_VERSION variables.7999 #8000 # Rappture doesn't normally really support both octave2 and octave38001 # simultaneously. NANOhub has a hacked version of octave3 that8002 # looks for OCTAVE_LOADPATH before looking at OCTAVE_PATH (i.e.8003 # OCTAVE_PATH tells octave2 where to load the rappture bindings8004 # and OCTAVE_LOADPATH tells octave3 where to load).8005 #8006 # Usually you will have installed either octave2 or octave3, but8007 # not both.8008 #8009 8010 # Check if octave3 was designated *in addition* to the installed version.8011 # This can override the default version if they are the same versions.8012 8013 8014 # Check whether --with-mkoctfile3 was given.8015 if test "${with_mkoctfile3+set}" = set; then :8016 withval=$with_mkoctfile3;8017 else8018 with_mkoctfile3=no8019 fi8020 8021 8022 if test "$with_mkoctfile3" != "no" ; then8023 if test "$with_mkoctfile3" = "yes" ; then8024 # Extract the first word of "mkoctfile", so it can be a program name with args.8025 set dummy mkoctfile; ac_word=$28026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58027 $as_echo_n "checking for $ac_word... " >&6; }8028 if ${ac_cv_path_mkoctfile3+:} false; then :8029 $as_echo_n "(cached) " >&68030 else8031 case $mkoctfile3 in8032 [\\/]* | ?:[\\/]*)8033 ac_cv_path_mkoctfile3="$mkoctfile3" # Let the user override the test with a path.8034 ;;8035 *)8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8037 for as_dir in $PATH8038 do8039 IFS=$as_save_IFS8040 test -z "$as_dir" && as_dir=.8041 for ac_exec_ext in '' $ac_executable_extensions; do8042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8043 ac_cv_path_mkoctfile3="$as_dir/$ac_word$ac_exec_ext"8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58045 break 28046 fi8047 done8048 done8049 IFS=$as_save_IFS8050 8051 ;;8052 esac8053 fi8054 mkoctfile3=$ac_cv_path_mkoctfile38055 if test -n "$mkoctfile3"; then8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile3" >&58057 $as_echo "$mkoctfile3" >&6; }8058 else8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58060 $as_echo "no" >&6; }8061 fi8062 8063 8064 else8065 MKOCTFILE3=$with_mkoctfile38066 fi8067 OCTAVE_VERSION=`${MKOCTFILE3} --version 2>&1 | cut -d' ' -f3`8068 OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1`8069 fi8070 8071 # Check if mkoctfile2 was designated *in addition* to the installed version.8072 # This can override the default version if they are the same versions.8073 8074 # Check whether --with-mkoctfile2 was given.8075 if test "${with_mkoctfile2+set}" = set; then :8076 withval=$with_mkoctfile2;8077 else8078 with_mkoctfile2=no8079 fi8080 8081 8082 if test "$with_mkoctfile2" != "no" ; then8083 if test "$with_mkoctfile2" = "yes" ; then8084 # Extract the first word of "mkoctfile", so it can be a program name with args.8085 set dummy mkoctfile; ac_word=$28086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58087 $as_echo_n "checking for $ac_word... " >&6; }8088 if ${ac_cv_path_mkoctfile2+:} false; then :8089 $as_echo_n "(cached) " >&68090 else8091 case $mkoctfile2 in8092 [\\/]* | ?:[\\/]*)8093 ac_cv_path_mkoctfile2="$mkoctfile2" # Let the user override the test with a path.8094 ;;8095 *)8096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8097 for as_dir in $PATH8098 do8099 IFS=$as_save_IFS8100 test -z "$as_dir" && as_dir=.8101 for ac_exec_ext in '' $ac_executable_extensions; do8102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8103 ac_cv_path_mkoctfile2="$as_dir/$ac_word$ac_exec_ext"8104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58105 break 28106 fi8107 done8108 done8109 IFS=$as_save_IFS8110 8111 ;;8112 esac8113 fi8114 mkoctfile2=$ac_cv_path_mkoctfile28115 if test -n "$mkoctfile2"; then8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile2" >&58117 $as_echo "$mkoctfile2" >&6; }8118 else8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58120 $as_echo "no" >&6; }8121 fi8122 8123 8124 else8125 MKOCTFILE2=$with_mkoctfile28126 fi8127 # Have to use octave to get a version, instead of mkoctfile.8128 octave=`dirname $MKOCTFILE2`/octave8129 OCTAVE_VERSION=`${octave} -v | grep version | cut -d' ' -f4`8130 OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1`8131 fi8132 8133 8134 8135 # Check whether --with-perl was given.8136 if test "${with_perl+set}" = set; then :8137 withval=$with_perl;8138 else8139 with_perl=yes8140 fi8141 8142 8143 PERL=8144 PERL_INCLUDES=8145 PERL_ARCHLIB=8146 PERL_ARCHLIBEXP=8147 PERL_VERSION=8148 PERL_VENDORLIB=8149 PERL_PRIVLIB=8150 PERL_CPPFLAGS=8151 PERL_CCFlAGS=8152 PERL_VERSION_RV=8153 XSUBPP=8154 PERL_LIBSPEC=8155 if test "$with_perl" != "no" ; then8156 if test "$with_perl" != "yes" ; then8157 # Extract the first word of "perl", so it can be a program name with args.8158 set dummy perl; ac_word=$28159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58160 $as_echo_n "checking for $ac_word... " >&6; }8161 if ${ac_cv_path_PERL+:} false; then :8162 $as_echo_n "(cached) " >&68163 else8164 case $PERL in8165 [\\/]* | ?:[\\/]*)8166 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.8167 ;;8168 *)8169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8170 as_dummy="$with_perl/bin:$with_perl"8171 for as_dir in $as_dummy8172 do8173 IFS=$as_save_IFS8174 test -z "$as_dir" && as_dir=.8175 for ac_exec_ext in '' $ac_executable_extensions; do8176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8177 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"8178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58179 break 28180 fi8181 done8182 done8183 IFS=$as_save_IFS8184 8185 ;;8186 esac8187 fi8188 PERL=$ac_cv_path_PERL8189 if test -n "$PERL"; then8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&58191 $as_echo "$PERL" >&6; }8192 else8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58194 $as_echo "no" >&6; }8195 fi8196 8197 8198 # Extract the first word of "xsubpp", so it can be a program name with args.8199 set dummy xsubpp; ac_word=$28200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58201 $as_echo_n "checking for $ac_word... " >&6; }8202 if ${ac_cv_path_XSUBPP+:} false; then :8203 $as_echo_n "(cached) " >&68204 else8205 case $XSUBPP in8206 [\\/]* | ?:[\\/]*)8207 ac_cv_path_XSUBPP="$XSUBPP" # Let the user override the test with a path.8208 ;;8209 *)8210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8211 as_dummy="$with_perl/bin:$with_perl"8212 for as_dir in $as_dummy8213 do8214 IFS=$as_save_IFS8215 test -z "$as_dir" && as_dir=.8216 for ac_exec_ext in '' $ac_executable_extensions; do8217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8218 ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext"8219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58220 break 28221 fi8222 done8223 done8224 IFS=$as_save_IFS8225 8226 ;;8227 esac8228 fi8229 XSUBPP=$ac_cv_path_XSUBPP8230 if test -n "$XSUBPP"; then8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&58232 $as_echo "$XSUBPP" >&6; }8233 else8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58235 $as_echo "no" >&6; }8236 fi8237 8238 8239 else8240 # Extract the first word of "perl", so it can be a program name with args.8241 set dummy perl; ac_word=$28242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58243 $as_echo_n "checking for $ac_word... " >&6; }8244 if ${ac_cv_path_PERL+:} false; then :8245 $as_echo_n "(cached) " >&68246 else8247 case $PERL in8248 [\\/]* | ?:[\\/]*)8249 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.8250 ;;8251 *)8252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8253 for as_dir in $PATH8254 do8255 IFS=$as_save_IFS8256 test -z "$as_dir" && as_dir=.8257 for ac_exec_ext in '' $ac_executable_extensions; do8258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8259 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"8260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58261 break 28262 fi8263 done8264 done8265 IFS=$as_save_IFS8266 8267 ;;8268 esac8269 fi8270 PERL=$ac_cv_path_PERL8271 if test -n "$PERL"; then8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&58273 $as_echo "$PERL" >&6; }8274 else8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58276 $as_echo "no" >&6; }8277 fi8278 8279 8280 # Extract the first word of "xsubpp", so it can be a program name with args.8281 set dummy xsubpp; ac_word=$28282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58283 $as_echo_n "checking for $ac_word... " >&6; }8284 if ${ac_cv_path_XSUBPP+:} false; then :8285 $as_echo_n "(cached) " >&68286 else8287 case $XSUBPP in8288 [\\/]* | ?:[\\/]*)8289 ac_cv_path_XSUBPP="$XSUBPP" # Let the user override the test with a path.8290 ;;8291 *)8292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8293 for as_dir in $PATH8294 do8295 IFS=$as_save_IFS8296 test -z "$as_dir" && as_dir=.8297 for ac_exec_ext in '' $ac_executable_extensions; do8298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8299 ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext"8300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58301 break 28302 fi8303 done8304 done8305 IFS=$as_save_IFS8306 8307 ;;8308 esac8309 fi8310 XSUBPP=$ac_cv_path_XSUBPP8311 if test -n "$XSUBPP"; then8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&58313 $as_echo "$XSUBPP" >&6; }8314 else8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58316 $as_echo "no" >&6; }8317 fi8318 8319 8320 fi8321 if test "x${PERL}" != "x" ; then8322 PERL_ARCHLIB=`${PERL} -MConfig -e 'print $Config{archlib}'`8323 PERL_VERSION=`${PERL} -MConfig -e 'print $Config{version}'`8324 PERL_CCFLAGS=`${PERL} -MConfig -e 'print $Config{ccflags}'`8325 PERL_CPPFLAGS=`${PERL} -MConfig -e 'print $Config{cppflags}'`8326 PERL_VENDORLIB=`${PERL} -MConfig -e 'print $Config{vendorlib}'`8327 PERL_PRIVLIB=`${PERL} -MConfig -e 'print $Config{privlib}'`8328 PERL_INSTALLARCHLIB=`${PERL} -MConfig -e 'print $Config{installarchlib}'`8329 PERL_ARCHLIBEXP=`${PERL} -MConfig -e 'print $Config{archlibexp}'`8330 PERL_VERSION_RV=`echo ${PERL_VERSION} | cut -d'.' -f1-2`8331 # libperl may or may not be installed. Check for its existence.8332 if test -f "${PERL_ARCHLIBEXP}/CORE/libperl${SHLIB_SUFFIX}" ; then8333 PERL_LIBSPEC="-L${PERL_ARCHLIBEXP}/CORE -lperl"8334 fi8335 fi8336 fi8337 8338 8339 PYTHON=""8340 PYTHON_CFLAGS=""8341 PYTHON_CPPFLAGS=""8342 PYTHON_DISTUTILS=""8343 PYTHON_INCLUDES=""8344 PYTHON_LDFLAGS=""8345 PYTHON_LIB=""8346 PYTHON_LIBDIR=""8347 PYTHON_SITE_DIR=""8348 PYTHON_SITE_PACKAGES=""8349 PYTHON_VERSION=""8350 pythondir=""8351 8352 # Check whether --with-python was given.8353 if test "${with_python+set}" = set; then :8354 withval=$with_python;8355 else8356 with_python=yes8357 fi8358 8359 8360 if test "$with_python" != "no" ; then8361 if test "$with_python" = "yes" ; then8362 # 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.8363 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$28364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58365 $as_echo_n "checking for $ac_word... " >&6; }8366 if ${ac_cv_path_PYTHON+:} false; then :8367 $as_echo_n "(cached) " >&68368 else8369 case $PYTHON in8370 [\\/]* | ?:[\\/]*)8371 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.8372 ;;8373 *)8374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8375 for as_dir in $PATH8376 do8377 IFS=$as_save_IFS8378 test -z "$as_dir" && as_dir=.8379 for ac_exec_ext in '' $ac_executable_extensions; do8380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8381 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"8382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58383 break 28384 fi8385 done8386 done8387 IFS=$as_save_IFS8388 8389 ;;8390 esac8391 fi8392 PYTHON=$ac_cv_path_PYTHON8393 if test -n "$PYTHON"; then8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&58395 $as_echo "$PYTHON" >&6; }8396 else8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58398 $as_echo "no" >&6; }8399 fi8400 8401 8402 else8403 # Extract the first word of "python", so it can be a program name with args.8404 set dummy python; ac_word=$28405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58406 $as_echo_n "checking for $ac_word... " >&6; }8407 if ${ac_cv_path_PYTHON+:} false; then :8408 $as_echo_n "(cached) " >&68409 else8410 case $PYTHON in8411 [\\/]* | ?:[\\/]*)8412 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.8413 ;;8414 *)8415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8416 as_dummy="${with_python}/bin:${with_python}"8417 for as_dir in $as_dummy8418 do8419 IFS=$as_save_IFS8420 test -z "$as_dir" && as_dir=.8421 for ac_exec_ext in '' $ac_executable_extensions; do8422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8423 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"8424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58425 break 28426 fi8427 done8428 done8429 IFS=$as_save_IFS8430 8431 ;;8432 esac8433 fi8434 PYTHON=$ac_cv_path_PYTHON8435 if test -n "$PYTHON"; then8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&58437 $as_echo "$PYTHON" >&6; }8438 else8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58440 $as_echo "no" >&6; }8441 fi8442 8443 8444 fi8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&58446 $as_echo_n "checking for Python version... " >&6; }8447 if test "x${PYTHON}" != "x"; then8448 PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`8449 fi8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&58451 $as_echo "$PYTHON_VERSION" >&6; }8452 fi8453 8454 if test "x${PYTHON_VERSION}" != "x"; then8455 PYTHON_INCLUDES=$incdir8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&58457 $as_echo_n "checking for Python distutils... " >&6; }8458 PYTHON_DISTUTILS=""8459 ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \8460 build build_ext 2>&1 > /dev/null8461 if test $? = 0 ; then8462 PYTHON_DISTUTILS="yes"8463 fi8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&58465 $as_echo "$PYTHON_DISTUTILS" >&6; }8466 if test "${PYTHON_DISTUTILS}" = "yes" ; then8467 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`8468 #8469 # Check for Python include path8470 #8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&58472 $as_echo_n "checking path to Python headers... " >&6; }8473 PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \8474 print distutils.sysconfig.get_python_inc();"`8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&58476 $as_echo "$PYTHON_INCDIR" >&6; }8477 #8478 # Python distutils found, get settings from python directly8479 #8480 PYTHON_SITE_DIR="`${PYTHON} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0);'`"8481 8482 PYTHON_CFLAGS="`$PYTHON -c 'from distutils import sysconfig; flags = [\"-I\" + sysconfig.get_python_inc(0), \"-I\" + sysconfig.get_python_inc(1), \" \".join(sysconfig.get_config_var(\"CFLAGS\").split())]; print \" \".join(flags);'`"8483 PYTHON_LDFLAGS="`$PYTHON -c 'from distutils import sysconfig; libs = sysconfig.get_config_var(\"LIBS\").split() + sysconfig.get_config_var(\"SYSLIBS\").split(); libs.append(\"-lpython\"+sysconfig.get_config_var(\"VERSION\")); print \" \".join(libs);'`"8484 PYTHON_LIB="`$PYTHON -c 'from distutils import sysconfig; print \"python\" + sysconfig.get_config_var(\"VERSION\");'`"8485 PYTHON_LIBDIR="`$PYTHON -c 'from distutils import sysconfig; print sysconfig.get_config_var(\"LIBDIR\");'`"8486 save_CPPFLAGS=$CPPFLAGS8487 CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"8488 for ac_header in Python.h8489 do :8490 ac_fn_cxx_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"8491 if test "x$ac_cv_header_Python_h" = xyes; then :8492 cat >>confdefs.h <<_ACEOF8493 #define HAVE_PYTHON_H 18494 _ACEOF8495 found=yes8496 else8497 found=no8498 fi8499 8500 done8501 8502 CPPFLAGS=$save_CPPFLAGS8503 if test "$found" = "no" ; then8504 PYTHON_DISTUTILS=""8505 fi8506 fi8507 fi8508 8509 8510 8511 # Check whether --with-java was given.8512 if test "${with_java+set}" = set; then :8513 withval=$with_java;8514 else8515 with_java=yes8516 fi8517 8518 JAVA=""8519 JAVAH=""8520 JAVAC=""8521 JAVA_DEV_PKG="no"8522 8523 if test "${with_java}" != "no" ; then8524 if test "${with_java}" = "yes" ; then8525 # Extract the first word of "java", so it can be a program name with args.8526 set dummy java; ac_word=$28527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58528 $as_echo_n "checking for $ac_word... " >&6; }8529 if ${ac_cv_path_JAVA+:} false; then :8530 $as_echo_n "(cached) " >&68531 else8532 case $JAVA in8533 [\\/]* | ?:[\\/]*)8534 ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path.8535 ;;8536 *)8537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8538 for as_dir in $PATH8539 do8540 IFS=$as_save_IFS8541 test -z "$as_dir" && as_dir=.8542 for ac_exec_ext in '' $ac_executable_extensions; do8543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8544 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"8545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58546 break 28547 fi8548 done8549 done8550 IFS=$as_save_IFS8551 8552 ;;8553 esac8554 fi8555 JAVA=$ac_cv_path_JAVA8556 if test -n "$JAVA"; then8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&58558 $as_echo "$JAVA" >&6; }8559 else8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58561 $as_echo "no" >&6; }8562 fi8563 8564 8565 # Extract the first word of "javac", so it can be a program name with args.8566 set dummy javac; ac_word=$28567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58568 $as_echo_n "checking for $ac_word... " >&6; }8569 if ${ac_cv_path_JAVAC+:} false; then :8570 $as_echo_n "(cached) " >&68571 else8572 case $JAVAC in8573 [\\/]* | ?:[\\/]*)8574 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.8575 ;;8576 *)8577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8578 for as_dir in $PATH8579 do8580 IFS=$as_save_IFS8581 test -z "$as_dir" && as_dir=.8582 for ac_exec_ext in '' $ac_executable_extensions; do8583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8584 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"8585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58586 break 28587 fi8588 done8589 done8590 IFS=$as_save_IFS8591 8592 ;;8593 esac8594 fi8595 JAVAC=$ac_cv_path_JAVAC8596 if test -n "$JAVAC"; then8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&58598 $as_echo "$JAVAC" >&6; }8599 else8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58601 $as_echo "no" >&6; }8602 fi8603 8604 8605 # Extract the first word of "javah", so it can be a program name with args.8606 set dummy javah; ac_word=$28607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58608 $as_echo_n "checking for $ac_word... " >&6; }8609 if ${ac_cv_path_JAVAH+:} false; then :8610 $as_echo_n "(cached) " >&68611 else8612 case $JAVAH in8613 [\\/]* | ?:[\\/]*)8614 ac_cv_path_JAVAH="$JAVAH" # Let the user override the test with a path.8615 ;;8616 *)8617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8618 for as_dir in $PATH8619 do8620 IFS=$as_save_IFS8621 test -z "$as_dir" && as_dir=.8622 for ac_exec_ext in '' $ac_executable_extensions; do8623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8624 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext"8625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58626 break 28627 fi8628 done8629 done8630 IFS=$as_save_IFS8631 8632 ;;8633 esac8634 fi8635 JAVAH=$ac_cv_path_JAVAH8636 if test -n "$JAVAH"; then8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&58638 $as_echo "$JAVAH" >&6; }8639 else8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58641 $as_echo "no" >&6; }8642 fi8643 8644 8645 else8646 # Extract the first word of "java", so it can be a program name with args.8647 set dummy java; ac_word=$28648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58649 $as_echo_n "checking for $ac_word... " >&6; }8650 if ${ac_cv_path_JAVA+:} false; then :8651 $as_echo_n "(cached) " >&68652 else8653 case $JAVA in8654 [\\/]* | ?:[\\/]*)8655 ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path.8656 ;;8657 *)8658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8659 as_dummy="${with_java}/bin:${with_java}"8660 for as_dir in $as_dummy8661 do8662 IFS=$as_save_IFS8663 test -z "$as_dir" && as_dir=.8664 for ac_exec_ext in '' $ac_executable_extensions; do8665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8666 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"8667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58668 break 28669 fi8670 done8671 done8672 IFS=$as_save_IFS8673 8674 ;;8675 esac8676 fi8677 JAVA=$ac_cv_path_JAVA8678 if test -n "$JAVA"; then8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&58680 $as_echo "$JAVA" >&6; }8681 else8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58683 $as_echo "no" >&6; }8684 fi8685 8686 8687 # Extract the first word of "javac", so it can be a program name with args.8688 set dummy javac; ac_word=$28689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58690 $as_echo_n "checking for $ac_word... " >&6; }8691 if ${ac_cv_path_JAVAC+:} false; then :8692 $as_echo_n "(cached) " >&68693 else8694 case $JAVAC in8695 [\\/]* | ?:[\\/]*)8696 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.8697 ;;8698 *)8699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8700 as_dummy="${with_java}/bin:${with_java}"8701 for as_dir in $as_dummy8702 do8703 IFS=$as_save_IFS8704 test -z "$as_dir" && as_dir=.8705 for ac_exec_ext in '' $ac_executable_extensions; do8706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8707 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"8708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58709 break 28710 fi8711 done8712 done8713 IFS=$as_save_IFS8714 8715 ;;8716 esac8717 fi8718 JAVAC=$ac_cv_path_JAVAC8719 if test -n "$JAVAC"; then8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&58721 $as_echo "$JAVAC" >&6; }8722 else8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58724 $as_echo "no" >&6; }8725 fi8726 8727 8728 # Extract the first word of "javah", so it can be a program name with args.8729 set dummy javah; ac_word=$28730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58731 $as_echo_n "checking for $ac_word... " >&6; }8732 if ${ac_cv_path_JAVAH+:} false; then :8733 $as_echo_n "(cached) " >&68734 else8735 case $JAVAH in8736 [\\/]* | ?:[\\/]*)8737 ac_cv_path_JAVAH="$JAVAH" # Let the user override the test with a path.8738 ;;8739 *)8740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8741 as_dummy="${with_java}/bin:${with_java}"8742 for as_dir in $as_dummy8743 do8744 IFS=$as_save_IFS8745 test -z "$as_dir" && as_dir=.8746 for ac_exec_ext in '' $ac_executable_extensions; do8747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8748 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext"8749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58750 break 28751 fi8752 done8753 done8754 IFS=$as_save_IFS8755 8756 ;;8757 esac8758 fi8759 JAVAH=$ac_cv_path_JAVAH8760 if test -n "$JAVAH"; then8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&58762 $as_echo "$JAVAH" >&6; }8763 else8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58765 $as_echo "no" >&6; }8766 fi8767 8768 8769 fi8770 fi8771 JDK=8772 JAVA_INC_DIR=8773 JAVA_INC_SPEC=8774 8775 # If java exists, let's look for the jni.h file.8776 if test "x${JAVA}" != "x" ; then8777 for d in \8778 ${with_java} \8779 ${JAVA_HOME} \8780 /apps/java/jdk1.6* \8781 /opt/sun-jdk-1.6* \8782 /opt/icedtea6-* \8783 /opt/sun-jdk-1.5* \8784 /usr/lib/jvm/*sun* \8785 /usr/lib/jvm/*icedtea* \8786 /usr/lib/jvm/*openjdk*8787 do8788 if test -r "${d}/include/jni.h" ; then8789 JDK=${d}8790 JAVA_HOME=$JDK8791 JAVA_INC_DIR=${JDK}/include8792 JAVA_INC_SPEC="-I${JDK}/include -I${JDK}/include/linux"8793 break;8794 fi8795 if test -r "${d}/Headers/jni.h" ; then8796 JDK=${d}8797 JAVA_HOME=$JDK8798 JAVA_INC_DIR=${JDK}/Headers8799 JAVA_INC_SPEC="-I${JDK}/Headers -I${JDK}/Headers/macos"8800 break;8801 fi8802 done8803 fi8804 8805 8806 8807 # Check whether --with-R was given.8808 if test "${with_R+set}" = set; then :8809 withval=$with_R;8810 else8811 with_R=yes8812 fi8813 8814 8815 R=""8816 if test "$with_R" != "no" ; then8817 if test "$with_R" = "yes" ; then8818 # Extract the first word of "R", so it can be a program name with args.8819 set dummy R; ac_word=$28820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58821 $as_echo_n "checking for $ac_word... " >&6; }8822 if ${ac_cv_path_R+:} false; then :8823 $as_echo_n "(cached) " >&68824 else8825 case $R in8826 [\\/]* | ?:[\\/]*)8827 ac_cv_path_R="$R" # Let the user override the test with a path.8828 ;;8829 *)8830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8831 for as_dir in $PATH8832 do8833 IFS=$as_save_IFS8834 test -z "$as_dir" && as_dir=.8835 for ac_exec_ext in '' $ac_executable_extensions; do8836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8837 ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext"8838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58839 break 28840 fi8841 done8842 done8843 IFS=$as_save_IFS8844 8845 ;;8846 esac8847 fi8848 R=$ac_cv_path_R8849 if test -n "$R"; then8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&58851 $as_echo "$R" >&6; }8852 else8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58854 $as_echo "no" >&6; }8855 fi8856 8857 8858 else8859 # Extract the first word of "R", so it can be a program name with args.8860 set dummy R; ac_word=$28861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&58862 $as_echo_n "checking for $ac_word... " >&6; }8863 if ${ac_cv_path_R+:} false; then :8864 $as_echo_n "(cached) " >&68865 else8866 case $R in8867 [\\/]* | ?:[\\/]*)8868 ac_cv_path_R="$R" # Let the user override the test with a path.8869 ;;8870 *)8871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR8872 as_dummy="${with_R}/bin:${with_R}"8873 for as_dir in $as_dummy8874 do8875 IFS=$as_save_IFS8876 test -z "$as_dir" && as_dir=.8877 for ac_exec_ext in '' $ac_executable_extensions; do8878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then8879 ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext"8880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&58881 break 28882 fi8883 done8884 done8885 IFS=$as_save_IFS8886 8887 ;;8888 esac8889 fi8890 R=$ac_cv_path_R8891 if test -n "$R"; then8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&58893 $as_echo "$R" >&6; }8894 else8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58896 $as_echo "no" >&6; }8897 fi8898 8899 8900 fi8901 fi8902 8903 8904 # Make sure we can run config.sub.8905 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||8906 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 58907 8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&58909 $as_echo_n "checking build system type... " >&6; }8910 if ${ac_cv_build+:} false; then :8911 $as_echo_n "(cached) " >&68912 else8913 ac_build_alias=$build_alias8914 test "x$ac_build_alias" = x &&8915 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`8916 test "x$ac_build_alias" = x &&8917 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 58918 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||8919 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 58920 8921 fi8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&58923 $as_echo "$ac_cv_build" >&6; }8924 case $ac_cv_build in8925 *-*-*) ;;8926 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;8927 esac8928 build=$ac_cv_build8929 ac_save_IFS=$IFS; IFS='-'8930 set x $ac_cv_build8931 shift8932 build_cpu=$18933 build_vendor=$28934 shift; shift8935 # Remember, the first character of IFS is used to create $*,8936 # except with old shells:8937 build_os=$*8938 IFS=$ac_save_IFS8939 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac8940 8941 8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&58943 $as_echo_n "checking host system type... " >&6; }8944 if ${ac_cv_host+:} false; then :8945 $as_echo_n "(cached) " >&68946 else8947 if test "x$host_alias" = x; then8948 ac_cv_host=$ac_cv_build8949 else8950 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||8951 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 58952 fi8953 8954 fi8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&58956 $as_echo "$ac_cv_host" >&6; }8957 case $ac_cv_host in8958 *-*-*) ;;8959 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;8960 esac8961 host=$ac_cv_host8962 ac_save_IFS=$IFS; IFS='-'8963 set x $ac_cv_host8964 shift8965 host_cpu=$18966 host_vendor=$28967 shift; shift8968 # Remember, the first character of IFS is used to create $*,8969 # except with old shells:8970 host_os=$*8971 IFS=$ac_save_IFS8972 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac8973 8974 8975 8976 8977 8978 # Check whether --with-ruby was given.8979 if test "${with_ruby+set}" = set; then :8980 withval=$with_ruby; RUBY=$withval8981 else8982 RUBY=ruby8983 fi8984 8985 8986 # Check whether --with-ruby_sitelibdir was given.8987 if test "${with_ruby_sitelibdir+set}" = set; then :8988 withval=$with_ruby_sitelibdir; ruby_sitelibdir=$withval8989 else8990 ruby_sitelibdir=NONE8991 fi8992 8993 8994 8995 8996 RUBY_VERSION_CODE=`$RUBY -e "puts RUBY_VERSION.gsub(/\./, '')"`8997 8998 8999 RUBY_CONFIG_SO_NAME=`9000 $RUBY -rrbconfig -e "puts(Config::CONFIG['RUBY_SO_NAME'] || '')"`9001 RUBY_CONFIG_ARCHDIR=`9002 $RUBY -rrbconfig -e "puts(Config::CONFIG['archdir'] || '')"`9003 RUBY_CONFIG_ARCH=`9004 $RUBY -rrbconfig -e "puts(Config::CONFIG['arch'] || '')"`9005 RUBY_CONFIG_LIBDIR=`9006 $RUBY -rrbconfig -e "puts(Config::CONFIG['libdir'] || '')"`9007 RUBY_CONFIG_BINDIR=`9008 $RUBY -rrbconfig -e "puts(Config::CONFIG['bindir'] || '')"`9009 RUBY_CONFIG_RUBYHDRDIR=`9010 $RUBY -rrbconfig -e "puts(Config::CONFIG['rubyhdrdir'] || '')"`9011 RUBY_CONFIG_CFLAGS=`9012 $RUBY -rrbconfig -e "puts(Config::CONFIG['CFLAGS'] || '')"`9013 RUBY_CONFIG_LIBS=`9014 $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBS'] || '')"`9015 RUBY_CONFIG_DLDLIBS=`9016 $RUBY -rrbconfig -e "puts(Config::CONFIG['DLDLIBS'] || '')"`9017 RUBY_CONFIG_LDFLAGS=`9018 $RUBY -rrbconfig -e "puts(Config::CONFIG['LDFLAGS'] || '')"`9019 RUBY_CONFIG_LIBRUBYARG=`9020 $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBRUBYARG'] || '')"`9021 RUBY_CONFIG_LIBRUBYARG_STATIC=`9022 $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBRUBYARG_STATIC'] || '')"`9023 RUBY_CONFIG_CCDLFLAGS=`9024 $RUBY -rrbconfig -e "puts(Config::CONFIG['CCDLFLAGS'] || '')"`9025 9026 if test "x${RUBY_CONFIG_RUBYHDRDIR}x" != "xx"; then9027 # 1.99028 RUBY_CPPFLAGS="-I${RUBY_CONFIG_RUBYHDRDIR}"9029 RUBY_CPPFLAGS="${RUBY_CPPFLAGS} -I${RUBY_CONFIG_RUBYHDRDIR}/${RUBY_CONFIG_ARCH}"9030 else9031 # 1.89032 RUBY_CPPFLAGS="-I${RUBY_CONFIG_ARCHDIR}"9033 fi9034 9035 9036 RUBY_CFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"9037 9038 9039 RUBY_CXXFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"9040 9041 9042 RUBY_LDFLAGS="-L${RUBY_CONFIG_ARCHDIR} -L${RUBY_CONFIG_LIBDIR} ${RUBY_CONFIG_LDFLAGS}"9043 9044 9045 RUBY_LIBS="${RUBY_CONFIG_LIBS} ${RUBY_CONFIG_DLDLIBS}"9046 9047 9048 RUBY_LIBRUBYARG="${RUBY_CONFIG_LIBRUBYARG}"9049 9050 9051 RUBY_LIBRUBYARG_STATIC="${RUBY_CONFIG_LIBRUBYARG_STATIC}"9052 9053 9054 if test "x${ruby_sitelibdir}x" != "xNONEx"9055 then9056 RUBY_SITELIBDIR="${ruby_sitelibdir}"9057 else9058 if test "x${prefix}x" = "xNONEx"9059 then9060 RUBY_SITELIBDIR=`9061 $RUBY -rrbconfig -e "puts(Config::CONFIG['sitelibdir'] || '')"`9062 else9063 sitelibdir_no_prefix=`$RUBY -rrbconfig \9064 -e "include Config; \9065 puts CONFIG['sitelibdir'].sub(CONFIG['prefix'], '')"`9066 RUBY_SITELIBDIR="${prefix}/${sitelibdir_no_prefix}"9067 fi9068 fi9069 9070 9071 CPPFLAGS_save="${CPPFLAGS}"9072 CPPFLAGS="${CPPFLAGS} ${RUBY_CPPFLAGS}"9073 CXXFLAGS="${CPPFLAGS}"9074 for ac_header in ruby.h9075 do :9076 ac_fn_cxx_check_header_mongrel "$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"9077 if test "x$ac_cv_header_ruby_h" = xyes; then :9078 cat >>confdefs.h <<_ACEOF9079 #define HAVE_RUBY_H 19080 _ACEOF9081 9082 fi9083 9084 done9085 9086 HAVE_RUBY_H=${ac_cv_header_ruby_h}9087 9088 9089 for ac_header in node.h9090 do :9091 ac_fn_cxx_check_header_compile "$LINENO" "node.h" "ac_cv_header_node_h" "9092 #include <ruby.h>9093 9094 "9095 if test "x$ac_cv_header_node_h" = xyes; then :9096 cat >>confdefs.h <<_ACEOF9097 #define HAVE_NODE_H 19098 _ACEOF9099 9100 fi9101 9102 done9103 9104 for ac_header in ruby/node.h9105 do :9106 ac_fn_cxx_check_header_compile "$LINENO" "ruby/node.h" "ac_cv_header_ruby_node_h" "9107 #include <ruby.h>9108 9109 "9110 if test "x$ac_cv_header_ruby_node_h" = xyes; then :9111 cat >>confdefs.h <<_ACEOF9112 #define HAVE_RUBY_NODE_H 19113 _ACEOF9114 9115 $as_echo "#define REALLY_HAVE_RUBY_NODE_H /**/" >>confdefs.h9116 9117 fi9118 9119 done9120 9121 for ac_header in version.h9122 do :9123 ac_fn_cxx_check_header_compile "$LINENO" "version.h" "ac_cv_header_version_h" "9124 #include <ruby.h>9125 9126 "9127 if test "x$ac_cv_header_version_h" = xyes; then :9128 cat >>confdefs.h <<_ACEOF9129 #define HAVE_VERSION_H 19130 _ACEOF9131 9132 fi9133 9134 done9135 9136 for ac_header in env.h9137 do :9138 ac_fn_cxx_check_header_compile "$LINENO" "env.h" "ac_cv_header_env_h" "9139 #include <ruby.h>9140 9141 "9142 if test "x$ac_cv_header_env_h" = xyes; then :9143 cat >>confdefs.h <<_ACEOF9144 #define HAVE_ENV_H 19145 _ACEOF9146 9147 fi9148 9149 done9150 9151 9152 CPPFLAGS="${CPPFLAGS_save}"9153 9154 9155 case $host_os in9156 *mingw32* ) MINGW32=yes;;9157 * ) MINGW32=no;;9158 esac9159 9160 9161 if test x"${MINGW32}"x = xyesx; then9162 9163 RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%oldnames.lib%-lmoldname%"`9164 RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%user32.lib%-luser32%"`9165 RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%advapi32.lib%-ladvapi32%"`9166 RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%ws2_32.lib%-lws2_32%"`9167 RUBY_LIBRUBYARG=`echo ${RUBY_LIBRUBYARG} | sed -e "s%\(msvcrt-ruby.*\).lib%${RUBY_CONFIG_BINDIR}/\1.dll%"`9168 RUBY_LIBRUBYARG_STATIC=`echo ${RUBY_LIBRUBYARG_STATIC} | sed -e "s%\(msvcrt-ruby.*\).lib%${RUBY_CONFIG_LIBDIR}/\1.lib%"`9169 9170 fi9171 9172 9173 9174 7540 RP_BASE=`pwd` 9175 7541 … … 9646 8012 9647 8013 9648 #--------------------------------------------------------------------9649 # search for ffmpeg libraries libavcodec, libavformat, libswscale9650 #--------------------------------------------------------------------9651 if test "${with_ffmpeg}" != "no" ; then9652 if test "${with_ffmpeg}" = "yes" ; then9653 # Extract the first word of "ffmpeg", so it can be a program name with args.9654 set dummy ffmpeg; ac_word=$29655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&59656 $as_echo_n "checking for $ac_word... " >&6; }9657 if ${ac_cv_path_FFMPEG+:} false; then :9658 $as_echo_n "(cached) " >&69659 else9660 case $FFMPEG in9661 [\\/]* | ?:[\\/]*)9662 ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path.9663 ;;9664 *)9665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR9666 for as_dir in $PATH9667 do9668 IFS=$as_save_IFS9669 test -z "$as_dir" && as_dir=.9670 for ac_exec_ext in '' $ac_executable_extensions; do9671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then9672 ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"9673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&59674 break 29675 fi9676 done9677 done9678 IFS=$as_save_IFS9679 9680 ;;9681 esac9682 fi9683 FFMPEG=$ac_cv_path_FFMPEG9684 if test -n "$FFMPEG"; then9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&59686 $as_echo "$FFMPEG" >&6; }9687 else9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&59689 $as_echo "no" >&6; }9690 fi9691 9692 9693 else9694 # Extract the first word of "ffmpeg", so it can be a program name with args.9695 set dummy ffmpeg; ac_word=$29696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&59697 $as_echo_n "checking for $ac_word... " >&6; }9698 if ${ac_cv_path_FFMPEG+:} false; then :9699 $as_echo_n "(cached) " >&69700 else9701 case $FFMPEG in9702 [\\/]* | ?:[\\/]*)9703 ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path.9704 ;;9705 *)9706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR9707 as_dummy="${with_ffmpeg}/bin:${with_ffmpeg}"9708 for as_dir in $as_dummy9709 do9710 IFS=$as_save_IFS9711 test -z "$as_dir" && as_dir=.9712 for ac_exec_ext in '' $ac_executable_extensions; do9713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then9714 ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"9715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&59716 break 29717 fi9718 done9719 done9720 IFS=$as_save_IFS9721 9722 ;;9723 esac9724 fi9725 FFMPEG=$ac_cv_path_FFMPEG9726 if test -n "$FFMPEG"; then9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&59728 $as_echo "$FFMPEG" >&6; }9729 else9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&59731 $as_echo "no" >&6; }9732 fi9733 9734 9735 fi9736 if test "${FFMPEG}x" != "x" ; then9737 9738 $as_echo "#define HAVE_FFMPEG 1" >>confdefs.h9739 9740 fi9741 fi9742 9743 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h libavutil/mathematics.h ffmpeg/swscale.h libswscale/swscale.h9744 do :9745 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`9746 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "9747 #define __STDC_CONSTANT_MACROS 19748 9749 "9750 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :9751 cat >>confdefs.h <<_ACEOF9752 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 19753 _ACEOF9754 9755 fi9756 9757 done9758 9759 9760 HAVE_FFMPEG_LIBS=""9761 if test "${with_ffmpeg}" != "no"; then9762 if [ \( "${ac_cv_header_ffmpeg_avcodec_h}" = "yes" -o \9763 "${ac_cv_header_libavcodec_avcodec_h}" = "yes" \) -a \9764 \( "${ac_cv_header_ffmpeg_avformat_h}" = "yes" -o \9765 "${ac_cv_header_libavformat_avformat_h}" = "yes" \) -a \9766 \( "${ac_cv_header_ffmpeg_avutil_h}" = "yes" -o \9767 "${ac_cv_header_libavutil_avutil_h}" = "yes" \) -a \9768 \( "${ac_cv_header_ffmpeg_swscale_h}" = "yes" -o \9769 "${ac_cv_header_libswscale_swscale_h}" = "yes" \) ] ; then9770 HAVE_FFMPEG_LIBS="yes"9771 9772 $as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h9773 9774 fi9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavcodec" >&59776 $as_echo_n "checking for main in -lavcodec... " >&6; }9777 if ${ac_cv_lib_avcodec_main+:} false; then :9778 $as_echo_n "(cached) " >&69779 else9780 ac_check_lib_save_LIBS=$LIBS9781 LIBS="-lavcodec $LIBS"9782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext9783 /* end confdefs.h. */9784 9785 9786 int9787 main ()9788 {9789 return main ();9790 ;9791 return 0;9792 }9793 _ACEOF9794 if ac_fn_cxx_try_link "$LINENO"; then :9795 ac_cv_lib_avcodec_main=yes9796 else9797 ac_cv_lib_avcodec_main=no9798 fi9799 rm -f core conftest.err conftest.$ac_objext \9800 conftest$ac_exeext conftest.$ac_ext9801 LIBS=$ac_check_lib_save_LIBS9802 fi9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_main" >&59804 $as_echo "$ac_cv_lib_avcodec_main" >&6; }9805 if test "x$ac_cv_lib_avcodec_main" = xyes; then :9806 cat >>confdefs.h <<_ACEOF9807 #define HAVE_LIBAVCODEC 19808 _ACEOF9809 9810 LIBS="-lavcodec $LIBS"9811 9812 else9813 as_fn_error $? "librappture requires libavcodec" "$LINENO" 59814 fi9815 9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavutil" >&59817 $as_echo_n "checking for main in -lavutil... " >&6; }9818 if ${ac_cv_lib_avutil_main+:} false; then :9819 $as_echo_n "(cached) " >&69820 else9821 ac_check_lib_save_LIBS=$LIBS9822 LIBS="-lavutil $LIBS"9823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext9824 /* end confdefs.h. */9825 9826 9827 int9828 main ()9829 {9830 return main ();9831 ;9832 return 0;9833 }9834 _ACEOF9835 if ac_fn_cxx_try_link "$LINENO"; then :9836 ac_cv_lib_avutil_main=yes9837 else9838 ac_cv_lib_avutil_main=no9839 fi9840 rm -f core conftest.err conftest.$ac_objext \9841 conftest$ac_exeext conftest.$ac_ext9842 LIBS=$ac_check_lib_save_LIBS9843 fi9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_main" >&59845 $as_echo "$ac_cv_lib_avutil_main" >&6; }9846 if test "x$ac_cv_lib_avutil_main" = xyes; then :9847 cat >>confdefs.h <<_ACEOF9848 #define HAVE_LIBAVUTIL 19849 _ACEOF9850 9851 LIBS="-lavutil $LIBS"9852 9853 else9854 as_fn_error $? "librappture requires libavutil" "$LINENO" 59855 fi9856 9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavformat" >&59858 $as_echo_n "checking for main in -lavformat... " >&6; }9859 if ${ac_cv_lib_avformat_main+:} false; then :9860 $as_echo_n "(cached) " >&69861 else9862 ac_check_lib_save_LIBS=$LIBS9863 LIBS="-lavformat $LIBS"9864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext9865 /* end confdefs.h. */9866 9867 9868 int9869 main ()9870 {9871 return main ();9872 ;9873 return 0;9874 }9875 _ACEOF9876 if ac_fn_cxx_try_link "$LINENO"; then :9877 ac_cv_lib_avformat_main=yes9878 else9879 ac_cv_lib_avformat_main=no9880 fi9881 rm -f core conftest.err conftest.$ac_objext \9882 conftest$ac_exeext conftest.$ac_ext9883 LIBS=$ac_check_lib_save_LIBS9884 fi9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_main" >&59886 $as_echo "$ac_cv_lib_avformat_main" >&6; }9887 if test "x$ac_cv_lib_avformat_main" = xyes; then :9888 cat >>confdefs.h <<_ACEOF9889 #define HAVE_LIBAVFORMAT 19890 _ACEOF9891 9892 LIBS="-lavformat $LIBS"9893 9894 else9895 as_fn_error $? "librappture requires libavformat" "$LINENO" 59896 fi9897 9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lswscale" >&59899 $as_echo_n "checking for main in -lswscale... " >&6; }9900 if ${ac_cv_lib_swscale_main+:} false; then :9901 $as_echo_n "(cached) " >&69902 else9903 ac_check_lib_save_LIBS=$LIBS9904 LIBS="-lswscale $LIBS"9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext9906 /* end confdefs.h. */9907 9908 9909 int9910 main ()9911 {9912 return main ();9913 ;9914 return 0;9915 }9916 _ACEOF9917 if ac_fn_cxx_try_link "$LINENO"; then :9918 ac_cv_lib_swscale_main=yes9919 else9920 ac_cv_lib_swscale_main=no9921 fi9922 rm -f core conftest.err conftest.$ac_objext \9923 conftest$ac_exeext conftest.$ac_ext9924 LIBS=$ac_check_lib_save_LIBS9925 fi9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_main" >&59927 $as_echo "$ac_cv_lib_swscale_main" >&6; }9928 if test "x$ac_cv_lib_swscale_main" = xyes; then :9929 cat >>confdefs.h <<_ACEOF9930 #define HAVE_LIBSWSCALE 19931 _ACEOF9932 9933 LIBS="-lswscale $LIBS"9934 9935 fi9936 9937 for ac_func in av_find_stream_info9938 do :9939 ac_fn_cxx_check_func "$LINENO" "av_find_stream_info" "ac_cv_func_av_find_stream_info"9940 if test "x$ac_cv_func_av_find_stream_info" = xyes; then :9941 cat >>confdefs.h <<_ACEOF9942 #define HAVE_AV_FIND_STREAM_INFO 19943 _ACEOF9944 9945 fi9946 done9947 9948 for ac_func in av_open_input_file9949 do :9950 ac_fn_cxx_check_func "$LINENO" "av_open_input_file" "ac_cv_func_av_open_input_file"9951 if test "x$ac_cv_func_av_open_input_file" = xyes; then :9952 cat >>confdefs.h <<_ACEOF9953 #define HAVE_AV_OPEN_INPUT_FILE 19954 _ACEOF9955 9956 fi9957 done9958 9959 for ac_func in avcodec_decode_video9960 do :9961 ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video" "ac_cv_func_avcodec_decode_video"9962 if test "x$ac_cv_func_avcodec_decode_video" = xyes; then :9963 cat >>confdefs.h <<_ACEOF9964 #define HAVE_AVCODEC_DECODE_VIDEO 19965 _ACEOF9966 9967 fi9968 done9969 9970 for ac_func in avcodec_decode_video29971 do :9972 ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video2" "ac_cv_func_avcodec_decode_video2"9973 if test "x$ac_cv_func_avcodec_decode_video2" = xyes; then :9974 cat >>confdefs.h <<_ACEOF9975 #define HAVE_AVCODEC_DECODE_VIDEO2 19976 _ACEOF9977 9978 fi9979 done9980 9981 for ac_func in avcodec_open9982 do :9983 ac_fn_cxx_check_func "$LINENO" "avcodec_open" "ac_cv_func_avcodec_open"9984 if test "x$ac_cv_func_avcodec_open" = xyes; then :9985 cat >>confdefs.h <<_ACEOF9986 #define HAVE_AVCODEC_OPEN 19987 _ACEOF9988 9989 fi9990 done9991 9992 for ac_func in avcodec_open29993 do :9994 ac_fn_cxx_check_func "$LINENO" "avcodec_open2" "ac_cv_func_avcodec_open2"9995 if test "x$ac_cv_func_avcodec_open2" = xyes; then :9996 cat >>confdefs.h <<_ACEOF9997 #define HAVE_AVCODEC_OPEN2 19998 _ACEOF9999 10000 fi10001 done10002 10003 for ac_func in avformat_find_stream_info10004 do :10005 ac_fn_cxx_check_func "$LINENO" "avformat_find_stream_info" "ac_cv_func_avformat_find_stream_info"10006 if test "x$ac_cv_func_avformat_find_stream_info" = xyes; then :10007 cat >>confdefs.h <<_ACEOF10008 #define HAVE_AVFORMAT_FIND_STREAM_INFO 110009 _ACEOF10010 10011 fi10012 done10013 10014 for ac_func in avformat_open_input10015 do :10016 ac_fn_cxx_check_func "$LINENO" "avformat_open_input" "ac_cv_func_avformat_open_input"10017 if test "x$ac_cv_func_avformat_open_input" = xyes; then :10018 cat >>confdefs.h <<_ACEOF10019 #define HAVE_AVFORMAT_OPEN_INPUT 110020 _ACEOF10021 10022 fi10023 done10024 10025 for ac_func in avio_close10026 do :10027 ac_fn_cxx_check_func "$LINENO" "avio_close" "ac_cv_func_avio_close"10028 if test "x$ac_cv_func_avio_close" = xyes; then :10029 cat >>confdefs.h <<_ACEOF10030 #define HAVE_AVIO_CLOSE 110031 _ACEOF10032 10033 fi10034 done10035 10036 for ac_func in img_convert10037 do :10038 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"10039 if test "x$ac_cv_func_img_convert" = xyes; then :10040 cat >>confdefs.h <<_ACEOF10041 #define HAVE_IMG_CONVERT 110042 _ACEOF10043 10044 fi10045 done10046 10047 for ac_func in sws_getCachedContext10048 do :10049 ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext"10050 if test "x$ac_cv_func_sws_getCachedContext" = xyes; then :10051 cat >>confdefs.h <<_ACEOF10052 #define HAVE_SWS_GETCACHEDCONTEXT 110053 _ACEOF10054 10055 fi10056 done10057 10058 for ac_func in sws_scale10059 do :10060 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale"10061 if test "x$ac_cv_func_sws_scale" = xyes; then :10062 cat >>confdefs.h <<_ACEOF10063 #define HAVE_SWS_SCALE 110064 _ACEOF10065 10066 fi10067 done10068 10069 for ac_func in url_close10070 do :10071 ac_fn_cxx_check_func "$LINENO" "url_close" "ac_cv_func_url_close"10072 if test "x$ac_cv_func_url_close" = xyes; then :10073 cat >>confdefs.h <<_ACEOF10074 #define HAVE_URL_CLOSE 110075 _ACEOF10076 10077 fi10078 done10079 10080 for ac_func in av_close_input_file10081 do :10082 ac_fn_cxx_check_func "$LINENO" "av_close_input_file" "ac_cv_func_av_close_input_file"10083 if test "x$ac_cv_func_av_close_input_file" = xyes; then :10084 cat >>confdefs.h <<_ACEOF10085 #define HAVE_AV_CLOSE_INPUT_FILE 110086 _ACEOF10087 10088 fi10089 done10090 10091 for ac_func in avformat_close_input10092 do :10093 ac_fn_cxx_check_func "$LINENO" "avformat_close_input" "ac_cv_func_avformat_close_input"10094 if test "x$ac_cv_func_avformat_close_input" = xyes; then :10095 cat >>confdefs.h <<_ACEOF10096 #define HAVE_AVFORMAT_CLOSE_INPUT 110097 _ACEOF10098 10099 fi10100 done10101 10102 10103 ac_fn_cxx_check_func "$LINENO" "avcodec_find_decoder" "ac_cv_func_avcodec_find_decoder"10104 if test "x$ac_cv_func_avcodec_find_decoder" = xyes; then :10105 10106 else10107 as_fn_error $? "oops! no av_codec_find_decoder ?!?" "$LINENO" 510108 fi10109 10110 ac_fn_cxx_check_func "$LINENO" "avcodec_alloc_frame" "ac_cv_func_avcodec_alloc_frame"10111 if test "x$ac_cv_func_avcodec_alloc_frame" = xyes; then :10112 10113 else10114 as_fn_error $? "oops! no avcode_alloc_frame ?!?" "$LINENO" 510115 fi10116 10117 ac_fn_cxx_check_func "$LINENO" "av_rescale_q" "ac_cv_func_av_rescale_q"10118 if test "x$ac_cv_func_av_rescale_q" = xyes; then :10119 10120 else10121 as_fn_error $? "oops! no av_rescale_q ?!?" "$LINENO" 510122 fi10123 10124 ac_fn_cxx_check_func "$LINENO" "av_read_frame" "ac_cv_func_av_read_frame"10125 if test "x$ac_cv_func_av_read_frame" = xyes; then :10126 10127 else10128 as_fn_error $? "oops! av_read_frame ?!?" "$LINENO" 510129 fi10130 10131 ac_fn_cxx_check_func "$LINENO" "av_free" "ac_cv_func_av_free"10132 if test "x$ac_cv_func_av_free" = xyes; then :10133 10134 else10135 as_fn_error $? "oops! no av_frame ?!?" "$LINENO" 510136 fi10137 10138 ac_fn_cxx_check_func "$LINENO" "avcodec_default_release_buffer" "ac_cv_func_avcodec_default_release_buffer"10139 if test "x$ac_cv_func_avcodec_default_release_buffer" = xyes; then :10140 10141 else10142 as_fn_error $? "oops! no avcode_default_release_buffer ?!?" "$LINENO" 510143 fi10144 10145 ac_fn_cxx_check_func "$LINENO" "avpicture_get_size" "ac_cv_func_avpicture_get_size"10146 if test "x$ac_cv_func_avpicture_get_size" = xyes; then :10147 10148 else10149 as_fn_error $? "oops! no avpicture_get_size ?!?" "$LINENO" 510150 fi10151 10152 ac_fn_cxx_check_func "$LINENO" "avpicture_fill" "ac_cv_func_avpicture_fill"10153 if test "x$ac_cv_func_avpicture_fill" = xyes; then :10154 10155 else10156 as_fn_error $? "oops! no avpicture_fill ?!?" "$LINENO" 510157 fi10158 10159 for ac_func in sws_getCachedContext10160 do :10161 ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext"10162 if test "x$ac_cv_func_sws_getCachedContext" = xyes; then :10163 cat >>confdefs.h <<_ACEOF10164 #define HAVE_SWS_GETCACHEDCONTEXT 110165 _ACEOF10166 10167 fi10168 done10169 10170 for ac_func in img_convert10171 do :10172 ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"10173 if test "x$ac_cv_func_img_convert" = xyes; then :10174 cat >>confdefs.h <<_ACEOF10175 #define HAVE_IMG_CONVERT 110176 _ACEOF10177 10178 fi10179 done10180 10181 for ac_func in sws_scale10182 do :10183 ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale"10184 if test "x$ac_cv_func_sws_scale" = xyes; then :10185 cat >>confdefs.h <<_ACEOF10186 #define HAVE_SWS_SCALE 110187 _ACEOF10188 10189 fi10190 done10191 10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext10193 /* end confdefs.h. */10194 10195 #define __STDC_CONSTANT_MACROS 110196 #include <stdlib.h>10197 #ifdef HAVE_FFMPEG_AVCODEC_H10198 # include <ffmpeg/avcodec.h>10199 #endif10200 #ifdef HAVE_LIBAVCODEC_AVCODEC_H10201 # include <libavcodec/avcodec.h>10202 #endif10203 int x = AVMEDIA_TYPE_VIDEO;10204 10205 int10206 main ()10207 {10208 10209 ;10210 return 0;10211 }10212 _ACEOF10213 if ac_fn_cxx_try_compile "$LINENO"; then :10214 ac_avmedia_type_video="yes"10215 else10216 ac_avmedia_type_video="no"10217 fi10218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext10219 if test "$ac_avmedia_type_video" == "yes" ; then10220 10221 $as_echo "#define HAVE_AVMEDIA_TYPE_VIDEO 1" >>confdefs.h10222 10223 fi10224 fi10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 8014 10237 8015 … … 10282 8060 10283 8061 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 ac_config_files="$ac_config_files Makefile apps/Makefile apps/about apps/copy_rappture_examples apps/encodedata apps/rappture apps/rappture-csh.env apps/rappture.env apps/rappture.use apps/rerun apps/simsim apps/xmldiff builder/Makefile builder/pkgIndex.tcl builder/scripts/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/R/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/Makefile examples/app-fermi/octave/octave2/Makefile examples/app-fermi/octave/octave3/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/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 gui/Makefile gui/pkgIndex.tcl gui/scripts/Makefile lang/Makefile lang/R/Makefile lang/java/Makefile lang/java/rappture/Makefile lang/matlab/Makefile lang/octave/Makefile lang/octave/octave2/Makefile lang/octave/octave3/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py 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 lib/objects/Makefile lib/objects/RpHash.h lib/rappture/Makefile lib/rappture2/Makefile packages/DicomToVtk/Makefile packages/DicomToVtk/pkgIndex.tcl packages/DxToVtk/Makefile packages/DxToVtk/pkgIndex.tcl packages/Makefile packages/PdbToVtk/Makefile packages/PdbToVtk/pkgIndex.tcl packages/diffview/Makefile packages/diffview/pkgIndex.tcl packages/hotspot/Makefile packages/hotspot/pkgIndex.tcl packages/listbox/Makefile packages/listbox/pkgIndex.tcl packages/placard/Makefile packages/placard/pkgIndex.tcl packages/readpoints/Makefile packages/readpoints/pkgIndex.tcl packages/squeezer/Makefile packages/squeezer/pkgIndex.tcl packages/system/Makefile packages/system/pkgIndex.tcl runner/Makefile tester/Makefile tester/pkgIndex.tcl tester/scripts/Makefile" 8062 ac_config_files="$ac_config_files Makefile apps/Makefile apps/about apps/copy_rappture_examples apps/encodedata apps/rappture apps/rappture-csh.env apps/rappture.env apps/rappture.use apps/rerun apps/simsim apps/xmldiff builder/Makefile builder/pkgIndex.tcl builder/scripts/Makefile packages/DicomToVtk/Makefile packages/DicomToVtk/pkgIndex.tcl packages/DxToVtk/Makefile packages/DxToVtk/pkgIndex.tcl packages/Makefile packages/PdbToVtk/Makefile packages/PdbToVtk/pkgIndex.tcl packages/diffview/Makefile packages/diffview/pkgIndex.tcl packages/hotspot/Makefile packages/hotspot/pkgIndex.tcl packages/listbox/Makefile packages/listbox/pkgIndex.tcl packages/placard/Makefile packages/placard/pkgIndex.tcl packages/readpoints/Makefile packages/readpoints/pkgIndex.tcl packages/squeezer/Makefile packages/squeezer/pkgIndex.tcl packages/system/Makefile packages/system/pkgIndex.tcl runner/Makefile tester/Makefile tester/pkgIndex.tcl tester/scripts/Makefile" 10321 8063 10322 8064 cat >confcache <<\_ACEOF … … 10410 8152 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 10411 8153 10412 DEFS=-DHAVE_CONFIG_H 8154 # Transform confdefs.h into DEFS. 8155 # Protect against shell expansion while executing Makefile rules. 8156 # Protect against Makefile macro expansion. 8157 # 8158 # If the first sed substitution is executed (which looks for macros that 8159 # take arguments), then branch to the quote section. Otherwise, 8160 # look for a macro that doesn't take arguments. 8161 ac_script=' 8162 :mline 8163 /\\$/{ 8164 N 8165 s,\\\n,, 8166 b mline 8167 } 8168 t clear 8169 :clear 8170 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 8171 t quote 8172 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 8173 t quote 8174 b any 8175 :quote 8176 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 8177 s/\[/\\&/g 8178 s/\]/\\&/g 8179 s/\$/$$/g 8180 H 8181 :any 8182 ${ 8183 g 8184 s/^\n// 8185 s/\n/ /g 8186 p 8187 } 8188 ' 8189 DEFS=`sed -n "$ac_script" confdefs.h` 8190 10413 8191 10414 8192 ac_libobjs= … … 10845 8623 esac 10846 8624 10847 case $ac_config_headers in *"10848 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;10849 esac10850 8625 10851 8626 … … 10853 8628 # Files that config.status was made for. 10854 8629 config_files="$ac_config_files" 10855 config_headers="$ac_config_headers"10856 8630 10857 8631 _ACEOF … … 10874 8648 --file=FILE[:TEMPLATE] 10875 8649 instantiate the configuration file FILE 10876 --header=FILE[:TEMPLATE]10877 instantiate the configuration header FILE10878 8650 10879 8651 Configuration files: 10880 8652 $config_files 10881 10882 Configuration headers:10883 $config_headers10884 8653 10885 8654 Report bugs to <rappture@nanohub.org>." … … 10945 8714 as_fn_append CONFIG_FILES " '$ac_optarg'" 10946 8715 ac_need_defaults=false;; 10947 --header | --heade | --head | --hea ) 10948 $ac_shift 10949 case $ac_optarg in 10950 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10951 esac 10952 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 10953 ac_need_defaults=false;; 10954 --he | --h) 10955 # Conflict between --help and --header 10956 as_fn_error $? "ambiguous option: \`$1' 10957 Try \`$0 --help' for more information.";; 10958 --help | --hel | -h ) 8716 --he | --h | --help | --hel | -h ) 10959 8717 $as_echo "$ac_cs_usage"; exit ;; 10960 8718 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ … … 11012 8770 do 11013 8771 case $ac_config_target in 11014 "lib/rappture/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/rappture/config.h" ;;11015 8772 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 11016 8773 "apps/Makefile") CONFIG_FILES="$CONFIG_FILES apps/Makefile" ;; … … 11028 8785 "builder/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES builder/pkgIndex.tcl" ;; 11029 8786 "builder/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES builder/scripts/Makefile" ;; 11030 "examples/3D/Makefile") CONFIG_FILES="$CONFIG_FILES examples/3D/Makefile" ;;11031 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;11032 "examples/app-fermi/2.0/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/2.0/Makefile" ;;11033 "examples/app-fermi/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/Makefile" ;;11034 "examples/app-fermi/R/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/R/Makefile" ;;11035 "examples/app-fermi/cee/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/cee/Makefile" ;;11036 "examples/app-fermi/fortran/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/fortran/Makefile" ;;11037 "examples/app-fermi/java/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/java/Makefile" ;;11038 "examples/app-fermi/matlab/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/matlab/Makefile" ;;11039 "examples/app-fermi/matlab/compiled/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/matlab/compiled/Makefile" ;;11040 "examples/app-fermi/matlab/uncompiled/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/matlab/uncompiled/Makefile" ;;11041 "examples/app-fermi/octave/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/Makefile" ;;11042 "examples/app-fermi/octave/octave2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/octave2/Makefile" ;;11043 "examples/app-fermi/octave/octave3/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/octave3/Makefile" ;;11044 "examples/app-fermi/perl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/perl/Makefile" ;;11045 "examples/app-fermi/python/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/python/Makefile" ;;11046 "examples/app-fermi/ruby/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/ruby/Makefile" ;;11047 "examples/app-fermi/tcl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/tcl/Makefile" ;;11048 "examples/app-fermi/wrapper/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/Makefile" ;;11049 "examples/app-fermi/wrapper/cee/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/cee/Makefile" ;;11050 "examples/app-fermi/wrapper/perl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/perl/Makefile" ;;11051 "examples/app-fermi/wrapper/python/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/python/Makefile" ;;11052 "examples/app-fermi/wrapper/tcl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/tcl/Makefile" ;;11053 "examples/c-example/Makefile") CONFIG_FILES="$CONFIG_FILES examples/c-example/Makefile" ;;11054 "examples/canvas/Makefile") CONFIG_FILES="$CONFIG_FILES examples/canvas/Makefile" ;;11055 "examples/demo.bash") CONFIG_FILES="$CONFIG_FILES examples/demo.bash" ;;11056 "examples/flow/Makefile") CONFIG_FILES="$CONFIG_FILES examples/flow/Makefile" ;;11057 "examples/flow/demo1/Makefile") CONFIG_FILES="$CONFIG_FILES examples/flow/demo1/Makefile" ;;11058 "examples/flow/demo2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/flow/demo2/Makefile" ;;11059 "examples/flow/demo3/Makefile") CONFIG_FILES="$CONFIG_FILES examples/flow/demo3/Makefile" ;;11060 "examples/graph/Makefile") CONFIG_FILES="$CONFIG_FILES examples/graph/Makefile" ;;11061 "examples/objects/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/Makefile" ;;11062 "examples/objects/axis/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/axis/Makefile" ;;11063 "examples/objects/curve/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/curve/Makefile" ;;11064 "examples/objects/dxWriter/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/dxWriter/Makefile" ;;11065 "examples/objects/floatBuffer/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/floatBuffer/Makefile" ;;11066 "examples/objects/histogram/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/histogram/Makefile" ;;11067 "examples/objects/library/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/library/Makefile" ;;11068 "examples/objects/number/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/number/Makefile" ;;11069 "examples/objects/path/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/path/Makefile" ;;11070 "examples/objects/plot/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/plot/Makefile" ;;11071 "examples/objects/scatter/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/scatter/Makefile" ;;11072 "examples/objects/string/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/string/Makefile" ;;11073 "examples/objects/tree/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/tree/Makefile" ;;11074 "examples/objects/xmlparser/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/xmlparser/Makefile" ;;11075 "examples/zoo/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/Makefile" ;;11076 "examples/zoo/binary/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/binary/Makefile" ;;11077 "examples/zoo/boolean/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/boolean/Makefile" ;;11078 "examples/zoo/choice/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/choice/Makefile" ;;11079 "examples/zoo/curve/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/curve/Makefile" ;;11080 "examples/zoo/drawing/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/drawing/Makefile" ;;11081 "examples/zoo/enable/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/enable/Makefile" ;;11082 "examples/zoo/field/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/field/Makefile" ;;11083 "examples/zoo/group/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/group/Makefile" ;;11084 "examples/zoo/histogram/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/histogram/Makefile" ;;11085 "examples/zoo/image/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/image/Makefile" ;;11086 "examples/zoo/image/docs/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/image/docs/Makefile" ;;11087 "examples/zoo/image/examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/image/examples/Makefile" ;;11088 "examples/zoo/integer/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/integer/Makefile" ;;11089 "examples/zoo/integer2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/integer2/Makefile" ;;11090 "examples/zoo/loader/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/loader/Makefile" ;;11091 "examples/zoo/loader/examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/loader/examples/Makefile" ;;11092 "examples/zoo/log/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/log/Makefile" ;;11093 "examples/zoo/mesh/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/mesh/Makefile" ;;11094 "examples/zoo/note/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/note/Makefile" ;;11095 "examples/zoo/note/docs/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/note/docs/Makefile" ;;11096 "examples/zoo/number/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/number/Makefile" ;;11097 "examples/zoo/number2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/number2/Makefile" ;;11098 "examples/zoo/parallelepiped/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/parallelepiped/Makefile" ;;11099 "examples/zoo/periodicelement/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/periodicelement/Makefile" ;;11100 "examples/zoo/phase/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/phase/Makefile" ;;11101 "examples/zoo/sequence/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/sequence/Makefile" ;;11102 "examples/zoo/sequence/examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/sequence/examples/Makefile" ;;11103 "examples/zoo/string/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/string/Makefile" ;;11104 "examples/zoo/structure/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/structure/Makefile" ;;11105 "examples/zoo/structure/examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/structure/examples/Makefile" ;;11106 "examples/zoo/table/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/table/Makefile" ;;11107 "gui/Makefile") CONFIG_FILES="$CONFIG_FILES gui/Makefile" ;;11108 "gui/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES gui/pkgIndex.tcl" ;;11109 "gui/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES gui/scripts/Makefile" ;;11110 "lang/Makefile") CONFIG_FILES="$CONFIG_FILES lang/Makefile" ;;11111 "lang/R/Makefile") CONFIG_FILES="$CONFIG_FILES lang/R/Makefile" ;;11112 "lang/java/Makefile") CONFIG_FILES="$CONFIG_FILES lang/java/Makefile" ;;11113 "lang/java/rappture/Makefile") CONFIG_FILES="$CONFIG_FILES lang/java/rappture/Makefile" ;;11114 "lang/matlab/Makefile") CONFIG_FILES="$CONFIG_FILES lang/matlab/Makefile" ;;11115 "lang/octave/Makefile") CONFIG_FILES="$CONFIG_FILES lang/octave/Makefile" ;;11116 "lang/octave/octave2/Makefile") CONFIG_FILES="$CONFIG_FILES lang/octave/octave2/Makefile" ;;11117 "lang/octave/octave3/Makefile") CONFIG_FILES="$CONFIG_FILES lang/octave/octave3/Makefile" ;;11118 "lang/perl/Makefile") CONFIG_FILES="$CONFIG_FILES lang/perl/Makefile" ;;11119 "lang/perl/Makefile.PL") CONFIG_FILES="$CONFIG_FILES lang/perl/Makefile.PL" ;;11120 "lang/python/Makefile") CONFIG_FILES="$CONFIG_FILES lang/python/Makefile" ;;11121 "lang/python/setup.py") CONFIG_FILES="$CONFIG_FILES lang/python/setup.py" ;;11122 "lang/ruby/Makefile") CONFIG_FILES="$CONFIG_FILES lang/ruby/Makefile" ;;11123 "lang/ruby/build.rb") CONFIG_FILES="$CONFIG_FILES lang/ruby/build.rb" ;;11124 "lang/tcl/Makefile") CONFIG_FILES="$CONFIG_FILES lang/tcl/Makefile" ;;11125 "lang/tcl/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES lang/tcl/pkgIndex.tcl" ;;11126 "lang/tcl/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES lang/tcl/scripts/Makefile" ;;11127 "lang/tcl/src/Makefile") CONFIG_FILES="$CONFIG_FILES lang/tcl/src/Makefile" ;;11128 "lang/tcl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lang/tcl/tests/Makefile" ;;11129 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;11130 "lib/objects/Makefile") CONFIG_FILES="$CONFIG_FILES lib/objects/Makefile" ;;11131 "lib/objects/RpHash.h") CONFIG_FILES="$CONFIG_FILES lib/objects/RpHash.h" ;;11132 "lib/rappture/Makefile") CONFIG_FILES="$CONFIG_FILES lib/rappture/Makefile" ;;11133 "lib/rappture2/Makefile") CONFIG_FILES="$CONFIG_FILES lib/rappture2/Makefile" ;;11134 8787 "packages/DicomToVtk/Makefile") CONFIG_FILES="$CONFIG_FILES packages/DicomToVtk/Makefile" ;; 11135 8788 "packages/DicomToVtk/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES packages/DicomToVtk/pkgIndex.tcl" ;; … … 11169 8822 if $ac_need_defaults; then 11170 8823 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 11171 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers11172 8824 fi 11173 8825 … … 11357 9009 fi # test -n "$CONFIG_FILES" 11358 9010 11359 # Set up the scripts for CONFIG_HEADERS section. 11360 # No need to generate them if there are no CONFIG_HEADERS. 11361 # This happens for instance with `./config.status Makefile'. 11362 if test -n "$CONFIG_HEADERS"; then 11363 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 11364 BEGIN { 11365 _ACEOF 11366 11367 # Transform confdefs.h into an awk script `defines.awk', embedded as 11368 # here-document in config.status, that substitutes the proper values into 11369 # config.h.in to produce config.h. 11370 11371 # Create a delimiter string that does not exist in confdefs.h, to ease 11372 # handling of long lines. 11373 ac_delim='%!_!# ' 11374 for ac_last_try in false false :; do 11375 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 11376 if test -z "$ac_tt"; then 11377 break 11378 elif $ac_last_try; then 11379 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 11380 else 11381 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 11382 fi 11383 done 11384 11385 # For the awk script, D is an array of macro values keyed by name, 11386 # likewise P contains macro parameters if any. Preserve backslash 11387 # newline sequences. 11388 11389 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 11390 sed -n ' 11391 s/.\{148\}/&'"$ac_delim"'/g 11392 t rset 11393 :rset 11394 s/^[ ]*#[ ]*define[ ][ ]*/ / 11395 t def 11396 d 11397 :def 11398 s/\\$// 11399 t bsnl 11400 s/["\\]/\\&/g 11401 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 11402 D["\1"]=" \3"/p 11403 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 11404 d 11405 :bsnl 11406 s/["\\]/\\&/g 11407 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 11408 D["\1"]=" \3\\\\\\n"\\/p 11409 t cont 11410 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 11411 t cont 11412 d 11413 :cont 11414 n 11415 s/.\{148\}/&'"$ac_delim"'/g 11416 t clear 11417 :clear 11418 s/\\$// 11419 t bsnlc 11420 s/["\\]/\\&/g; s/^/"/; s/$/"/p 11421 d 11422 :bsnlc 11423 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 11424 b cont 11425 ' <confdefs.h | sed ' 11426 s/'"$ac_delim"'/"\\\ 11427 "/g' >>$CONFIG_STATUS || ac_write_fail=1 11428 11429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11430 for (key in D) D_is_set[key] = 1 11431 FS = "" 11432 } 11433 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 11434 line = \$ 0 11435 split(line, arg, " ") 11436 if (arg[1] == "#") { 11437 defundef = arg[2] 11438 mac1 = arg[3] 11439 } else { 11440 defundef = substr(arg[1], 2) 11441 mac1 = arg[2] 11442 } 11443 split(mac1, mac2, "(") #) 11444 macro = mac2[1] 11445 prefix = substr(line, 1, index(line, defundef) - 1) 11446 if (D_is_set[macro]) { 11447 # Preserve the white space surrounding the "#". 11448 print prefix "define", macro P[macro] D[macro] 11449 next 11450 } else { 11451 # Replace #undef with comments. This is necessary, for example, 11452 # in the case of _POSIX_SOURCE, which is predefined and required 11453 # on some systems where configure will not decide to define it. 11454 if (defundef == "undef") { 11455 print "/*", prefix defundef, macro, "*/" 11456 next 11457 } 11458 } 11459 } 11460 { print } 11461 _ACAWK 11462 _ACEOF 11463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11464 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 11465 fi # test -n "$CONFIG_HEADERS" 11466 11467 11468 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 9011 9012 eval set X " :F $CONFIG_FILES " 11469 9013 shift 11470 9014 for ac_tag … … 11685 9229 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11686 9230 ;; 11687 :H) 11688 # 11689 # CONFIG_HEADER 11690 # 11691 if test x"$ac_file" != x-; then 11692 { 11693 $as_echo "/* $configure_input */" \ 11694 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 11695 } >"$ac_tmp/config.h" \ 11696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11697 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 11698 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 11699 $as_echo "$as_me: $ac_file is unchanged" >&6;} 11700 else 11701 rm -f "$ac_file" 11702 mv "$ac_tmp/config.h" "$ac_file" \ 11703 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11704 fi 11705 else 11706 $as_echo "/* $configure_input */" \ 11707 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 11708 || as_fn_error $? "could not create -" "$LINENO" 5 11709 fi 11710 ;; 9231 11711 9232 11712 9233 -
branches/r9/configure.in
r4866 r4867 1 2 1 AC_INIT([Rappture],[1.4],[rappture@nanohub.org]) 3 2 AC_CONFIG_AUX_DIR(cf) 4 AC_CONFIG_HEADER(lib/rappture/config.h)5 3 6 4 #------------------------------------------------------------------------ … … 150 148 fi 151 149 152 TCL_VERSION="8. 4"150 TCL_VERSION="8.5" 153 151 for dir in \ 154 152 ${exec_prefix} \ … … 226 224 AC_MSG_RESULT([$enable_vtkdicom]) 227 225 228 RP_LANG_MATLAB229 RP_LANG_OCTAVE230 RP_LANG_PERL231 RP_LANG_PYTHON232 RP_LANG_JAVA233 RP_LANG_R234 RP_LANG_RUBY235 236 226 RP_BASE=`pwd` 237 227 … … 277 267 SC_ENABLE_SYMBOLS 278 268 279 280 #--------------------------------------------------------------------281 # search for ffmpeg libraries libavcodec, libavformat, libswscale282 #--------------------------------------------------------------------283 if test "${with_ffmpeg}" != "no" ; then284 if test "${with_ffmpeg}" = "yes" ; then285 AC_PATH_PROG(FFMPEG, ffmpeg, [], $PATH)286 else287 AC_PATH_PROG(FFMPEG, ffmpeg, [], [${with_ffmpeg}/bin:${with_ffmpeg}])288 fi289 if test "${FFMPEG}x" != "x" ; then290 AC_DEFINE(HAVE_FFMPEG, 1, [Render servers can use ffmpeg])291 fi292 fi293 294 AC_CHECK_HEADERS([ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h libavutil/mathematics.h ffmpeg/swscale.h libswscale/swscale.h],,,[295 #define __STDC_CONSTANT_MACROS 1296 ])297 298 HAVE_FFMPEG_LIBS=""299 if test "${with_ffmpeg}" != "no"; then300 if [[ \( "${ac_cv_header_ffmpeg_avcodec_h}" = "yes" -o \301 "${ac_cv_header_libavcodec_avcodec_h}" = "yes" \) -a \302 \( "${ac_cv_header_ffmpeg_avformat_h}" = "yes" -o \303 "${ac_cv_header_libavformat_avformat_h}" = "yes" \) -a \304 \( "${ac_cv_header_ffmpeg_avutil_h}" = "yes" -o \305 "${ac_cv_header_libavutil_avutil_h}" = "yes" \) -a \306 \( "${ac_cv_header_ffmpeg_swscale_h}" = "yes" -o \307 "${ac_cv_header_libswscale_swscale_h}" = "yes" \) ]] ; then308 HAVE_FFMPEG_LIBS="yes"309 AC_DEFINE(BUILD_with_ffmpeg, 1, [Build rappture with ffmpeg widgets])310 fi311 AC_CHECK_LIB(avcodec, main,,AC_MSG_ERROR(librappture requires libavcodec))312 AC_CHECK_LIB(avutil, main,,AC_MSG_ERROR(librappture requires libavutil))313 AC_CHECK_LIB(avformat, main,,AC_MSG_ERROR(librappture requires libavformat))314 AC_CHECK_LIB(swscale, main)315 AC_CHECK_FUNCS(av_find_stream_info)316 AC_CHECK_FUNCS(av_open_input_file)317 AC_CHECK_FUNCS(avcodec_decode_video)318 AC_CHECK_FUNCS(avcodec_decode_video2)319 AC_CHECK_FUNCS(avcodec_open)320 AC_CHECK_FUNCS(avcodec_open2)321 AC_CHECK_FUNCS(avformat_find_stream_info)322 AC_CHECK_FUNCS(avformat_open_input)323 AC_CHECK_FUNCS(avio_close)324 AC_CHECK_FUNCS(img_convert)325 AC_CHECK_FUNCS(sws_getCachedContext)326 AC_CHECK_FUNCS(sws_scale)327 AC_CHECK_FUNCS(url_close)328 AC_CHECK_FUNCS(av_close_input_file)329 AC_CHECK_FUNCS(avformat_close_input)330 331 AC_CHECK_FUNC(avcodec_find_decoder,,332 AC_MSG_ERROR(oops! no av_codec_find_decoder ?!?))333 AC_CHECK_FUNC(avcodec_alloc_frame,,334 AC_MSG_ERROR(oops! no avcode_alloc_frame ?!?))335 AC_CHECK_FUNC(av_rescale_q,,AC_MSG_ERROR(oops! no av_rescale_q ?!?))336 AC_CHECK_FUNC(av_read_frame,,AC_MSG_ERROR(oops! av_read_frame ?!?))337 AC_CHECK_FUNC(av_free,,AC_MSG_ERROR(oops! no av_frame ?!?))338 AC_CHECK_FUNC(avcodec_default_release_buffer,,339 AC_MSG_ERROR(oops! no avcode_default_release_buffer ?!?))340 AC_CHECK_FUNC(avpicture_get_size,,341 AC_MSG_ERROR(oops! no avpicture_get_size ?!?))342 AC_CHECK_FUNC(avpicture_fill,,AC_MSG_ERROR(oops! no avpicture_fill ?!?))343 AC_CHECK_FUNCS(sws_getCachedContext)344 AC_CHECK_FUNCS(img_convert)345 AC_CHECK_FUNCS(sws_scale)346 AC_TRY_COMPILE([347 #define __STDC_CONSTANT_MACROS 1348 #include <stdlib.h>349 #ifdef HAVE_FFMPEG_AVCODEC_H350 # include <ffmpeg/avcodec.h>351 #endif352 #ifdef HAVE_LIBAVCODEC_AVCODEC_H353 # include <libavcodec/avcodec.h>354 #endif355 int x = AVMEDIA_TYPE_VIDEO;356 ],, ac_avmedia_type_video="yes", ac_avmedia_type_video="no")357 if test "$ac_avmedia_type_video" == "yes" ; then358 AC_DEFINE(HAVE_AVMEDIA_TYPE_VIDEO,1,[Define if AVMEDIA_TYPE_VIDEO enum exists. ])359 fi360 fi361 362 269 AC_SUBST(CFLAGS_DEBUG) 363 270 AC_SUBST(CFLAGS_OPTIMIZE) … … 366 273 AC_SUBST(ENABLE_VTK) 367 274 AC_SUBST(ENABLE_VTK_DICOM) 368 AC_SUBST(FFMPEG)369 AC_SUBST(HAVE_FFMPEG_LIBS)370 275 AC_SUBST(HAVE_INTTYPES_H) 371 AC_SUBST(HAVE_RUBY_DEVEL)372 276 AC_SUBST(INSTALL_PREFIX) 373 AC_SUBST(JAVA)374 AC_SUBST(JAVAC)375 AC_SUBST(JAVAH)376 AC_SUBST(JAVA_HOME)377 AC_SUBST(JAVA_INC_DIR)378 AC_SUBST(JAVA_INC_SPEC)379 277 AC_SUBST(LIB_SEARCH_DIRS) 380 278 AC_SUBST(MAKE, ${make_command}) 381 AC_SUBST(MATLAB)382 AC_SUBST(MCC)383 AC_SUBST(MEX)384 AC_SUBST(MEXEXT)385 AC_SUBST(MEX_ARCH)386 AC_SUBST(MKOCTFILE2)387 AC_SUBST(MKOCTFILE3)388 279 AC_SUBST(SVN_VERSION) 389 AC_SUBST(OCTAVE_VERSION)390 AC_SUBST(OCTAVE_VERSION_MAJOR)391 AC_SUBST(PERL)392 AC_SUBST(PERL_ARCHLIB)393 AC_SUBST(PERL_ARCHLIBEXP)394 AC_SUBST(PERL_CCFLAGS)395 AC_SUBST(PERL_CPPFLAGS)396 AC_SUBST(PERL_INCLUDES)397 AC_SUBST(PERL_INSTALLARCHLIB)398 AC_SUBST(PERL_LIBSPEC)399 AC_SUBST(PERL_PRIVLIB)400 AC_SUBST(PERL_VENDORLIB)401 AC_SUBST(PERL_VERSION)402 AC_SUBST(PERL_VERSION_RV)403 AC_SUBST(PYTHON)404 AC_SUBST(PYTHON_CFLAGS)405 AC_SUBST(PYTHON_DISTUTILS)406 AC_SUBST(PYTHON_INCDIR)407 AC_SUBST(PYTHON_INCLUDES)408 AC_SUBST(PYTHON_LDFLAGS)409 AC_SUBST(PYTHON_LIB)410 AC_SUBST(PYTHON_LIBDIR)411 AC_SUBST(PYTHON_SITE_DIR)412 AC_SUBST(PYTHON_SITE_PACKAGES)413 AC_SUBST(PYTHON_VERSION)414 AC_SUBST(R)415 280 AC_SUBST(RP_BASE) 416 AC_SUBST(RUBY)417 AC_SUBST(RUBY_PLATFORM)418 AC_SUBST(RUBY_VERSION_RV)419 281 AC_SUBST(SHLIB_CFLAGS) 420 282 AC_SUBST(SHLIB_LD) … … 470 332 builder/pkgIndex.tcl 471 333 builder/scripts/Makefile 472 examples/3D/Makefile473 examples/Makefile474 examples/app-fermi/2.0/Makefile475 examples/app-fermi/Makefile476 examples/app-fermi/R/Makefile477 examples/app-fermi/cee/Makefile478 examples/app-fermi/fortran/Makefile479 examples/app-fermi/java/Makefile480 examples/app-fermi/matlab/Makefile481 examples/app-fermi/matlab/compiled/Makefile482 examples/app-fermi/matlab/uncompiled/Makefile483 examples/app-fermi/octave/Makefile484 examples/app-fermi/octave/octave2/Makefile485 examples/app-fermi/octave/octave3/Makefile486 examples/app-fermi/perl/Makefile487 examples/app-fermi/python/Makefile488 examples/app-fermi/ruby/Makefile489 examples/app-fermi/tcl/Makefile490 examples/app-fermi/wrapper/Makefile491 examples/app-fermi/wrapper/cee/Makefile492 examples/app-fermi/wrapper/perl/Makefile493 examples/app-fermi/wrapper/python/Makefile494 examples/app-fermi/wrapper/tcl/Makefile495 examples/c-example/Makefile496 examples/canvas/Makefile497 examples/demo.bash498 examples/flow/Makefile499 examples/flow/demo1/Makefile500 examples/flow/demo2/Makefile501 examples/flow/demo3/Makefile502 examples/graph/Makefile503 examples/objects/Makefile504 examples/objects/axis/Makefile505 examples/objects/curve/Makefile506 examples/objects/dxWriter/Makefile507 examples/objects/floatBuffer/Makefile508 examples/objects/histogram/Makefile509 examples/objects/library/Makefile510 examples/objects/number/Makefile511 examples/objects/path/Makefile512 examples/objects/plot/Makefile513 examples/objects/scatter/Makefile514 examples/objects/string/Makefile515 examples/objects/tree/Makefile516 examples/objects/xmlparser/Makefile517 examples/zoo/Makefile518 examples/zoo/binary/Makefile519 examples/zoo/boolean/Makefile520 examples/zoo/choice/Makefile521 examples/zoo/curve/Makefile522 examples/zoo/drawing/Makefile523 examples/zoo/enable/Makefile524 examples/zoo/field/Makefile525 examples/zoo/group/Makefile526 examples/zoo/histogram/Makefile527 examples/zoo/image/Makefile528 examples/zoo/image/docs/Makefile529 examples/zoo/image/examples/Makefile530 examples/zoo/integer/Makefile531 examples/zoo/integer2/Makefile532 examples/zoo/loader/Makefile533 examples/zoo/loader/examples/Makefile534 examples/zoo/log/Makefile535 examples/zoo/mesh/Makefile536 examples/zoo/note/Makefile537 examples/zoo/note/docs/Makefile538 examples/zoo/number/Makefile539 examples/zoo/number2/Makefile540 examples/zoo/parallelepiped/Makefile541 examples/zoo/periodicelement/Makefile542 examples/zoo/phase/Makefile543 examples/zoo/sequence/Makefile544 examples/zoo/sequence/examples/Makefile545 examples/zoo/string/Makefile546 examples/zoo/structure/Makefile547 examples/zoo/structure/examples/Makefile548 examples/zoo/table/Makefile549 gui/Makefile550 gui/pkgIndex.tcl551 gui/scripts/Makefile552 lang/Makefile553 lang/R/Makefile554 lang/java/Makefile555 lang/java/rappture/Makefile556 lang/matlab/Makefile557 lang/octave/Makefile558 lang/octave/octave2/Makefile559 lang/octave/octave3/Makefile560 lang/perl/Makefile561 lang/perl/Makefile.PL562 lang/python/Makefile563 lang/python/setup.py564 lang/ruby/Makefile565 lang/ruby/build.rb566 lang/tcl/Makefile567 lang/tcl/pkgIndex.tcl568 lang/tcl/scripts/Makefile569 lang/tcl/src/Makefile570 lang/tcl/tests/Makefile571 lib/Makefile572 lib/objects/Makefile573 lib/objects/RpHash.h574 lib/rappture/Makefile575 lib/rappture2/Makefile576 334 packages/DicomToVtk/Makefile 577 335 packages/DicomToVtk/pkgIndex.tcl -
branches/r9/gui/configure
r4146 r4867 587 587 ac_subst_vars='LTLIBOBJS 588 588 LIBOBJS 589 TCL_SHLIB_SUFFIX590 TCL_SHLIB_LDFLAGS591 TCL_SHLIB_CFLAGS592 TCL_SHLIB_LD593 TCL_STLIB_LD594 TCL_CFLAGS_OPTIMIZE595 TCL_CFLAGS_DEBUG596 TK_VERSION597 TK_XLIBSW598 TK_LIB_SPEC599 TK_INC_SPEC600 TCL_VERSION601 TCL_LIB_SPEC602 TCL_INC_SPEC603 589 TCLSH 604 ENABLE_GUI605 MAKE606 OBJEXT607 EXEEXT608 ac_ct_CC609 CPPFLAGS610 LDFLAGS611 CFLAGS612 CC613 590 SET_MAKE 614 591 MKDIR_P 615 592 LN_S 616 RANLIB617 593 INSTALL_DATA 618 594 INSTALL_SCRIPT 619 595 INSTALL_PROGRAM 620 LIB_SEARCH_DIRS621 target_os622 target_vendor623 target_cpu624 target625 host_os626 host_vendor627 host_cpu628 host629 build_os630 build_vendor631 build_cpu632 build633 596 target_alias 634 597 host_alias … … 672 635 ac_user_opts=' 673 636 enable_option_checking 674 enable_gui675 with_tclsh676 637 ' 677 638 ac_precious_vars='build_alias 678 639 host_alias 679 target_alias 680 CC 681 CFLAGS 682 LDFLAGS 683 LIBS 684 CPPFLAGS' 640 target_alias' 685 641 686 642 … … 1279 1235 1280 1236 cat <<\_ACEOF 1281 1282 System types:1283 --build=BUILD configure for building on BUILD [guessed]1284 --host=HOST cross-compile to build programs to run on HOST [BUILD]1285 --target=TARGET configure for building compilers for TARGET [HOST]1286 1237 _ACEOF 1287 1238 fi … … 1292 1243 esac 1293 1244 cat <<\_ACEOF 1294 1295 Optional Features:1296 --disable-option-checking ignore unrecognized --enable/--with options1297 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)1298 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]1299 --enable-gui build code related to the graphical user interface1300 [default=yes]1301 1302 Optional Packages:1303 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]1304 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)1305 --with-tclsh=DIR location of tclsh [default=yes]1306 1307 Some influential environment variables:1308 CC C compiler command1309 CFLAGS C compiler flags1310 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a1311 nonstandard directory <lib dir>1312 LIBS libraries to pass to the linker, e.g. -l<library>1313 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if1314 you have headers in a nonstandard directory <include dir>1315 1316 Use these variables to override the choices made by `configure' or to help1317 it to find libraries and programs with nonstandard names/locations.1318 1245 1319 1246 Report bugs to <rappture@nanohub.org>. … … 1393 1320 ## Autoconf initialization. ## 1394 1321 ## ------------------------ ## 1395 1396 # ac_fn_c_try_compile LINENO1397 # --------------------------1398 # Try to compile conftest.$ac_ext, and return whether this succeeded.1399 ac_fn_c_try_compile ()1400 {1401 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1402 rm -f conftest.$ac_objext1403 if { { ac_try="$ac_compile"1404 case "(($ac_try" in1405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1406 *) ac_try_echo=$ac_try;;1407 esac1408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1409 $as_echo "$ac_try_echo"; } >&51410 (eval "$ac_compile") 2>conftest.err1411 ac_status=$?1412 if test -s conftest.err; then1413 grep -v '^ *+' conftest.err >conftest.er11414 cat conftest.er1 >&51415 mv -f conftest.er1 conftest.err1416 fi1417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51418 test $ac_status = 0; } && {1419 test -z "$ac_c_werror_flag" ||1420 test ! -s conftest.err1421 } && test -s conftest.$ac_objext; then :1422 ac_retval=01423 else1424 $as_echo "$as_me: failed program was:" >&51425 sed 's/^/| /' conftest.$ac_ext >&51426 1427 ac_retval=11428 fi1429 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1430 as_fn_set_status $ac_retval1431 1432 } # ac_fn_c_try_compile1433 1322 cat >config.log <<_ACEOF 1434 1323 This file contains any messages produced by compilers while … … 1812 1701 1813 1702 1703 1814 1704 #------------------------------------------------------------------------ 1815 1705 # Handle the --prefix=... option … … 1822 1712 exec_prefix=$prefix 1823 1713 fi 1824 1825 if test "${libdir}" != "${prefix}/lib"; then1826 LIB_SEARCH_DIRS="-L${prefix}/lib -L${libdir}"1827 else1828 LIB_SEARCH_DIRS="-L${libdir}"1829 fi1830 # Make sure we can run config.sub.1831 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||1832 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 51833 1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&51835 $as_echo_n "checking build system type... " >&6; }1836 if ${ac_cv_build+:} false; then :1837 $as_echo_n "(cached) " >&61838 else1839 ac_build_alias=$build_alias1840 test "x$ac_build_alias" = x &&1841 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`1842 test "x$ac_build_alias" = x &&1843 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 51844 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||1845 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 51846 1847 fi1848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&51849 $as_echo "$ac_cv_build" >&6; }1850 case $ac_cv_build in1851 *-*-*) ;;1852 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;1853 esac1854 build=$ac_cv_build1855 ac_save_IFS=$IFS; IFS='-'1856 set x $ac_cv_build1857 shift1858 build_cpu=$11859 build_vendor=$21860 shift; shift1861 # Remember, the first character of IFS is used to create $*,1862 # except with old shells:1863 build_os=$*1864 IFS=$ac_save_IFS1865 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac1866 1867 1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&51869 $as_echo_n "checking host system type... " >&6; }1870 if ${ac_cv_host+:} false; then :1871 $as_echo_n "(cached) " >&61872 else1873 if test "x$host_alias" = x; then1874 ac_cv_host=$ac_cv_build1875 else1876 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||1877 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 51878 fi1879 1880 fi1881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&51882 $as_echo "$ac_cv_host" >&6; }1883 case $ac_cv_host in1884 *-*-*) ;;1885 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;1886 esac1887 host=$ac_cv_host1888 ac_save_IFS=$IFS; IFS='-'1889 set x $ac_cv_host1890 shift1891 host_cpu=$11892 host_vendor=$21893 shift; shift1894 # Remember, the first character of IFS is used to create $*,1895 # except with old shells:1896 host_os=$*1897 IFS=$ac_save_IFS1898 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac1899 1900 1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&51902 $as_echo_n "checking target system type... " >&6; }1903 if ${ac_cv_target+:} false; then :1904 $as_echo_n "(cached) " >&61905 else1906 if test "x$target_alias" = x; then1907 ac_cv_target=$ac_cv_host1908 else1909 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||1910 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 51911 fi1912 1913 fi1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&51915 $as_echo "$ac_cv_target" >&6; }1916 case $ac_cv_target in1917 *-*-*) ;;1918 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;1919 esac1920 target=$ac_cv_target1921 ac_save_IFS=$IFS; IFS='-'1922 set x $ac_cv_target1923 shift1924 target_cpu=$11925 target_vendor=$21926 shift; shift1927 # Remember, the first character of IFS is used to create $*,1928 # except with old shells:1929 target_os=$*1930 IFS=$ac_save_IFS1931 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac1932 1933 1934 # The aliases save the names the user supplied, while $host etc.1935 # will get canonicalized.1936 test -n "$target_alias" &&1937 test "$program_prefix$program_suffix$program_transform_name" = \1938 NONENONEs,x,x, &&1939 program_prefix=${target_alias}-1940 1941 1714 1942 1715 # Find a good install program. We prefer a C program (faster), … … 2033 1806 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2034 1807 2035 2036 if test -n "$ac_tool_prefix"; then2037 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.2038 set dummy ${ac_tool_prefix}ranlib; ac_word=$22039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52040 $as_echo_n "checking for $ac_word... " >&6; }2041 if ${ac_cv_prog_RANLIB+:} false; then :2042 $as_echo_n "(cached) " >&62043 else2044 if test -n "$RANLIB"; then2045 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.2046 else2047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2048 for as_dir in $PATH2049 do2050 IFS=$as_save_IFS2051 test -z "$as_dir" && as_dir=.2052 for ac_exec_ext in '' $ac_executable_extensions; do2053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2054 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"2055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52056 break 22057 fi2058 done2059 done2060 IFS=$as_save_IFS2061 2062 fi2063 fi2064 RANLIB=$ac_cv_prog_RANLIB2065 if test -n "$RANLIB"; then2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&52067 $as_echo "$RANLIB" >&6; }2068 else2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52070 $as_echo "no" >&6; }2071 fi2072 2073 2074 fi2075 if test -z "$ac_cv_prog_RANLIB"; then2076 ac_ct_RANLIB=$RANLIB2077 # Extract the first word of "ranlib", so it can be a program name with args.2078 set dummy ranlib; ac_word=$22079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52080 $as_echo_n "checking for $ac_word... " >&6; }2081 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :2082 $as_echo_n "(cached) " >&62083 else2084 if test -n "$ac_ct_RANLIB"; then2085 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.2086 else2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2088 for as_dir in $PATH2089 do2090 IFS=$as_save_IFS2091 test -z "$as_dir" && as_dir=.2092 for ac_exec_ext in '' $ac_executable_extensions; do2093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2094 ac_cv_prog_ac_ct_RANLIB="ranlib"2095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52096 break 22097 fi2098 done2099 done2100 IFS=$as_save_IFS2101 2102 fi2103 fi2104 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB2105 if test -n "$ac_ct_RANLIB"; then2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&52107 $as_echo "$ac_ct_RANLIB" >&6; }2108 else2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52110 $as_echo "no" >&6; }2111 fi2112 2113 if test "x$ac_ct_RANLIB" = x; then2114 RANLIB=":"2115 else2116 case $cross_compiling:$ac_tool_warned in2117 yes:)2118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}2120 ac_tool_warned=yes ;;2121 esac2122 RANLIB=$ac_ct_RANLIB2123 fi2124 else2125 RANLIB="$ac_cv_prog_RANLIB"2126 fi2127 2128 1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2129 1809 $as_echo_n "checking whether ln -s works... " >&6; } … … 2210 1890 fi 2211 1891 2212 ac_ext=c 2213 ac_cpp='$CPP $CPPFLAGS' 2214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2216 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2217 if test -n "$ac_tool_prefix"; then 2218 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2219 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2221 $as_echo_n "checking for $ac_word... " >&6; } 2222 if ${ac_cv_prog_CC+:} false; then : 2223 $as_echo_n "(cached) " >&6 2224 else 2225 if test -n "$CC"; then 2226 ac_cv_prog_CC="$CC" # Let the user override the test. 2227 else 2228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2229 for as_dir in $PATH 2230 do 2231 IFS=$as_save_IFS 2232 test -z "$as_dir" && as_dir=. 2233 for ac_exec_ext in '' $ac_executable_extensions; do 2234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2235 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2237 break 2 2238 fi 2239 done 2240 done 2241 IFS=$as_save_IFS 2242 2243 fi 2244 fi 2245 CC=$ac_cv_prog_CC 2246 if test -n "$CC"; then 2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2248 $as_echo "$CC" >&6; } 2249 else 2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2251 $as_echo "no" >&6; } 2252 fi 2253 2254 2255 fi 2256 if test -z "$ac_cv_prog_CC"; then 2257 ac_ct_CC=$CC 2258 # Extract the first word of "gcc", so it can be a program name with args. 2259 set dummy gcc; ac_word=$2 2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2261 $as_echo_n "checking for $ac_word... " >&6; } 2262 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2263 $as_echo_n "(cached) " >&6 2264 else 2265 if test -n "$ac_ct_CC"; then 2266 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2267 else 2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2269 for as_dir in $PATH 2270 do 2271 IFS=$as_save_IFS 2272 test -z "$as_dir" && as_dir=. 2273 for ac_exec_ext in '' $ac_executable_extensions; do 2274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2275 ac_cv_prog_ac_ct_CC="gcc" 2276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2277 break 2 2278 fi 2279 done 2280 done 2281 IFS=$as_save_IFS 2282 2283 fi 2284 fi 2285 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2286 if test -n "$ac_ct_CC"; then 2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2288 $as_echo "$ac_ct_CC" >&6; } 2289 else 2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2291 $as_echo "no" >&6; } 2292 fi 2293 2294 if test "x$ac_ct_CC" = x; then 2295 CC="" 2296 else 2297 case $cross_compiling:$ac_tool_warned in 2298 yes:) 2299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2301 ac_tool_warned=yes ;; 2302 esac 2303 CC=$ac_ct_CC 2304 fi 2305 else 2306 CC="$ac_cv_prog_CC" 2307 fi 2308 2309 if test -z "$CC"; then 2310 if test -n "$ac_tool_prefix"; then 2311 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2312 set dummy ${ac_tool_prefix}cc; ac_word=$2 2313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2314 $as_echo_n "checking for $ac_word... " >&6; } 2315 if ${ac_cv_prog_CC+:} false; then : 2316 $as_echo_n "(cached) " >&6 2317 else 2318 if test -n "$CC"; then 2319 ac_cv_prog_CC="$CC" # Let the user override the test. 2320 else 2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2322 for as_dir in $PATH 2323 do 2324 IFS=$as_save_IFS 2325 test -z "$as_dir" && as_dir=. 2326 for ac_exec_ext in '' $ac_executable_extensions; do 2327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2328 ac_cv_prog_CC="${ac_tool_prefix}cc" 2329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2330 break 2 2331 fi 2332 done 2333 done 2334 IFS=$as_save_IFS 2335 2336 fi 2337 fi 2338 CC=$ac_cv_prog_CC 2339 if test -n "$CC"; then 2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2341 $as_echo "$CC" >&6; } 2342 else 2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2344 $as_echo "no" >&6; } 2345 fi 2346 2347 2348 fi 2349 fi 2350 if test -z "$CC"; then 2351 # Extract the first word of "cc", so it can be a program name with args. 2352 set dummy cc; ac_word=$2 2353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2354 $as_echo_n "checking for $ac_word... " >&6; } 2355 if ${ac_cv_prog_CC+:} false; then : 2356 $as_echo_n "(cached) " >&6 2357 else 2358 if test -n "$CC"; then 2359 ac_cv_prog_CC="$CC" # Let the user override the test. 2360 else 2361 ac_prog_rejected=no 2362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2363 for as_dir in $PATH 2364 do 2365 IFS=$as_save_IFS 2366 test -z "$as_dir" && as_dir=. 2367 for ac_exec_ext in '' $ac_executable_extensions; do 2368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2369 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2370 ac_prog_rejected=yes 2371 continue 2372 fi 2373 ac_cv_prog_CC="cc" 2374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2375 break 2 2376 fi 2377 done 2378 done 2379 IFS=$as_save_IFS 2380 2381 if test $ac_prog_rejected = yes; then 2382 # We found a bogon in the path, so make sure we never use it. 2383 set dummy $ac_cv_prog_CC 2384 shift 2385 if test $# != 0; then 2386 # We chose a different compiler from the bogus one. 2387 # However, it has the same basename, so the bogon will be chosen 2388 # first if we set CC to just the basename; use the full file name. 2389 shift 2390 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2391 fi 2392 fi 2393 fi 2394 fi 2395 CC=$ac_cv_prog_CC 2396 if test -n "$CC"; then 2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2398 $as_echo "$CC" >&6; } 2399 else 2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2401 $as_echo "no" >&6; } 2402 fi 2403 2404 2405 fi 2406 if test -z "$CC"; then 2407 if test -n "$ac_tool_prefix"; then 2408 for ac_prog in cl.exe 2409 do 2410 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2411 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2413 $as_echo_n "checking for $ac_word... " >&6; } 2414 if ${ac_cv_prog_CC+:} false; then : 2415 $as_echo_n "(cached) " >&6 2416 else 2417 if test -n "$CC"; then 2418 ac_cv_prog_CC="$CC" # Let the user override the test. 2419 else 2420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2421 for as_dir in $PATH 2422 do 2423 IFS=$as_save_IFS 2424 test -z "$as_dir" && as_dir=. 2425 for ac_exec_ext in '' $ac_executable_extensions; do 2426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2427 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2429 break 2 2430 fi 2431 done 2432 done 2433 IFS=$as_save_IFS 2434 2435 fi 2436 fi 2437 CC=$ac_cv_prog_CC 2438 if test -n "$CC"; then 2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2440 $as_echo "$CC" >&6; } 2441 else 2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2443 $as_echo "no" >&6; } 2444 fi 2445 2446 2447 test -n "$CC" && break 2448 done 2449 fi 2450 if test -z "$CC"; then 2451 ac_ct_CC=$CC 2452 for ac_prog in cl.exe 2453 do 2454 # Extract the first word of "$ac_prog", so it can be a program name with args. 2455 set dummy $ac_prog; ac_word=$2 2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2457 $as_echo_n "checking for $ac_word... " >&6; } 2458 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2459 $as_echo_n "(cached) " >&6 2460 else 2461 if test -n "$ac_ct_CC"; then 2462 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2463 else 2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2465 for as_dir in $PATH 2466 do 2467 IFS=$as_save_IFS 2468 test -z "$as_dir" && as_dir=. 2469 for ac_exec_ext in '' $ac_executable_extensions; do 2470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2471 ac_cv_prog_ac_ct_CC="$ac_prog" 2472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2473 break 2 2474 fi 2475 done 2476 done 2477 IFS=$as_save_IFS 2478 2479 fi 2480 fi 2481 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2482 if test -n "$ac_ct_CC"; then 2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2484 $as_echo "$ac_ct_CC" >&6; } 2485 else 2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2487 $as_echo "no" >&6; } 2488 fi 2489 2490 2491 test -n "$ac_ct_CC" && break 2492 done 2493 2494 if test "x$ac_ct_CC" = x; then 2495 CC="" 2496 else 2497 case $cross_compiling:$ac_tool_warned in 2498 yes:) 2499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2501 ac_tool_warned=yes ;; 2502 esac 2503 CC=$ac_ct_CC 2504 fi 2505 fi 2506 2507 fi 2508 2509 2510 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2512 as_fn_error $? "no acceptable C compiler found in \$PATH 2513 See \`config.log' for more details" "$LINENO" 5; } 2514 2515 # Provide some information about the compiler. 2516 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2517 set X $ac_compile 2518 ac_compiler=$2 2519 for ac_option in --version -v -V -qversion; do 2520 { { ac_try="$ac_compiler $ac_option >&5" 2521 case "(($ac_try" in 2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2523 *) ac_try_echo=$ac_try;; 2524 esac 2525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2526 $as_echo "$ac_try_echo"; } >&5 2527 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2528 ac_status=$? 2529 if test -s conftest.err; then 2530 sed '10a\ 2531 ... rest of stderr output deleted ... 2532 10q' conftest.err >conftest.er1 2533 cat conftest.er1 >&5 2534 fi 2535 rm -f conftest.er1 conftest.err 2536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2537 test $ac_status = 0; } 2538 done 2539 2540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2541 /* end confdefs.h. */ 2542 2543 int 2544 main () 2545 { 2546 2547 ; 2548 return 0; 2549 } 2550 _ACEOF 2551 ac_clean_files_save=$ac_clean_files 2552 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2553 # Try to create an executable without -o first, disregard a.out. 2554 # It will help us diagnose broken compilers, and finding out an intuition 2555 # of exeext. 2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2557 $as_echo_n "checking whether the C compiler works... " >&6; } 2558 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2559 2560 # The possible output files: 2561 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2562 2563 ac_rmfiles= 2564 for ac_file in $ac_files 2565 do 2566 case $ac_file in 2567 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2568 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2569 esac 2570 done 2571 rm -f $ac_rmfiles 2572 2573 if { { ac_try="$ac_link_default" 2574 case "(($ac_try" in 2575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2576 *) ac_try_echo=$ac_try;; 2577 esac 2578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2579 $as_echo "$ac_try_echo"; } >&5 2580 (eval "$ac_link_default") 2>&5 2581 ac_status=$? 2582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2583 test $ac_status = 0; }; then : 2584 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2585 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2586 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2587 # so that the user can short-circuit this test for compilers unknown to 2588 # Autoconf. 2589 for ac_file in $ac_files '' 2590 do 2591 test -f "$ac_file" || continue 2592 case $ac_file in 2593 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2594 ;; 2595 [ab].out ) 2596 # We found the default executable, but exeext='' is most 2597 # certainly right. 2598 break;; 2599 *.* ) 2600 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2601 then :; else 2602 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2603 fi 2604 # We set ac_cv_exeext here because the later test for it is not 2605 # safe: cross compilers may not add the suffix if given an `-o' 2606 # argument, so we may need to know it at that point already. 2607 # Even if this section looks crufty: it has the advantage of 2608 # actually working. 2609 break;; 2610 * ) 2611 break;; 2612 esac 2613 done 2614 test "$ac_cv_exeext" = no && ac_cv_exeext= 2615 2616 else 2617 ac_file='' 2618 fi 2619 if test -z "$ac_file"; then : 2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2621 $as_echo "no" >&6; } 2622 $as_echo "$as_me: failed program was:" >&5 2623 sed 's/^/| /' conftest.$ac_ext >&5 2624 2625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2627 as_fn_error 77 "C compiler cannot create executables 2628 See \`config.log' for more details" "$LINENO" 5; } 2629 else 2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2631 $as_echo "yes" >&6; } 2632 fi 2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2634 $as_echo_n "checking for C compiler default output file name... " >&6; } 2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2636 $as_echo "$ac_file" >&6; } 2637 ac_exeext=$ac_cv_exeext 2638 2639 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2640 ac_clean_files=$ac_clean_files_save 2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2642 $as_echo_n "checking for suffix of executables... " >&6; } 2643 if { { ac_try="$ac_link" 2644 case "(($ac_try" in 2645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2646 *) ac_try_echo=$ac_try;; 2647 esac 2648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2649 $as_echo "$ac_try_echo"; } >&5 2650 (eval "$ac_link") 2>&5 2651 ac_status=$? 2652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2653 test $ac_status = 0; }; then : 2654 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2655 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2656 # work properly (i.e., refer to `conftest.exe'), while it won't with 2657 # `rm'. 2658 for ac_file in conftest.exe conftest conftest.*; do 2659 test -f "$ac_file" || continue 2660 case $ac_file in 2661 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2662 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2663 break;; 2664 * ) break;; 2665 esac 2666 done 2667 else 2668 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2670 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2671 See \`config.log' for more details" "$LINENO" 5; } 2672 fi 2673 rm -f conftest conftest$ac_cv_exeext 2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2675 $as_echo "$ac_cv_exeext" >&6; } 2676 2677 rm -f conftest.$ac_ext 2678 EXEEXT=$ac_cv_exeext 2679 ac_exeext=$EXEEXT 2680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2681 /* end confdefs.h. */ 2682 #include <stdio.h> 2683 int 2684 main () 2685 { 2686 FILE *f = fopen ("conftest.out", "w"); 2687 return ferror (f) || fclose (f) != 0; 2688 2689 ; 2690 return 0; 2691 } 2692 _ACEOF 2693 ac_clean_files="$ac_clean_files conftest.out" 2694 # Check that the compiler produces executables we can run. If not, either 2695 # the compiler is broken, or we cross compile. 2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2697 $as_echo_n "checking whether we are cross compiling... " >&6; } 2698 if test "$cross_compiling" != yes; then 2699 { { ac_try="$ac_link" 2700 case "(($ac_try" in 2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2702 *) ac_try_echo=$ac_try;; 2703 esac 2704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2705 $as_echo "$ac_try_echo"; } >&5 2706 (eval "$ac_link") 2>&5 2707 ac_status=$? 2708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2709 test $ac_status = 0; } 2710 if { ac_try='./conftest$ac_cv_exeext' 2711 { { case "(($ac_try" in 2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2713 *) ac_try_echo=$ac_try;; 2714 esac 2715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2716 $as_echo "$ac_try_echo"; } >&5 2717 (eval "$ac_try") 2>&5 2718 ac_status=$? 2719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2720 test $ac_status = 0; }; }; then 2721 cross_compiling=no 2722 else 2723 if test "$cross_compiling" = maybe; then 2724 cross_compiling=yes 2725 else 2726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2728 as_fn_error $? "cannot run C compiled programs. 2729 If you meant to cross compile, use \`--host'. 2730 See \`config.log' for more details" "$LINENO" 5; } 2731 fi 2732 fi 2733 fi 2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2735 $as_echo "$cross_compiling" >&6; } 2736 2737 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2738 ac_clean_files=$ac_clean_files_save 2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2740 $as_echo_n "checking for suffix of object files... " >&6; } 2741 if ${ac_cv_objext+:} false; then : 2742 $as_echo_n "(cached) " >&6 2743 else 2744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2745 /* end confdefs.h. */ 2746 2747 int 2748 main () 2749 { 2750 2751 ; 2752 return 0; 2753 } 2754 _ACEOF 2755 rm -f conftest.o conftest.obj 2756 if { { ac_try="$ac_compile" 2757 case "(($ac_try" in 2758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2759 *) ac_try_echo=$ac_try;; 2760 esac 2761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2762 $as_echo "$ac_try_echo"; } >&5 2763 (eval "$ac_compile") 2>&5 2764 ac_status=$? 2765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2766 test $ac_status = 0; }; then : 2767 for ac_file in conftest.o conftest.obj conftest.*; do 2768 test -f "$ac_file" || continue; 2769 case $ac_file in 2770 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2771 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2772 break;; 2773 esac 2774 done 2775 else 2776 $as_echo "$as_me: failed program was:" >&5 2777 sed 's/^/| /' conftest.$ac_ext >&5 2778 2779 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2781 as_fn_error $? "cannot compute suffix of object files: cannot compile 2782 See \`config.log' for more details" "$LINENO" 5; } 2783 fi 2784 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2785 fi 2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2787 $as_echo "$ac_cv_objext" >&6; } 2788 OBJEXT=$ac_cv_objext 2789 ac_objext=$OBJEXT 2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2791 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2792 if ${ac_cv_c_compiler_gnu+:} false; then : 2793 $as_echo_n "(cached) " >&6 2794 else 2795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2796 /* end confdefs.h. */ 2797 2798 int 2799 main () 2800 { 2801 #ifndef __GNUC__ 2802 choke me 2803 #endif 2804 2805 ; 2806 return 0; 2807 } 2808 _ACEOF 2809 if ac_fn_c_try_compile "$LINENO"; then : 2810 ac_compiler_gnu=yes 2811 else 2812 ac_compiler_gnu=no 2813 fi 2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2815 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2816 2817 fi 2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2819 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2820 if test $ac_compiler_gnu = yes; then 2821 GCC=yes 2822 else 2823 GCC= 2824 fi 2825 ac_test_CFLAGS=${CFLAGS+set} 2826 ac_save_CFLAGS=$CFLAGS 2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2828 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2829 if ${ac_cv_prog_cc_g+:} false; then : 2830 $as_echo_n "(cached) " >&6 2831 else 2832 ac_save_c_werror_flag=$ac_c_werror_flag 2833 ac_c_werror_flag=yes 2834 ac_cv_prog_cc_g=no 2835 CFLAGS="-g" 2836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2837 /* end confdefs.h. */ 2838 2839 int 2840 main () 2841 { 2842 2843 ; 2844 return 0; 2845 } 2846 _ACEOF 2847 if ac_fn_c_try_compile "$LINENO"; then : 2848 ac_cv_prog_cc_g=yes 2849 else 2850 CFLAGS="" 2851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2852 /* end confdefs.h. */ 2853 2854 int 2855 main () 2856 { 2857 2858 ; 2859 return 0; 2860 } 2861 _ACEOF 2862 if ac_fn_c_try_compile "$LINENO"; then : 2863 2864 else 2865 ac_c_werror_flag=$ac_save_c_werror_flag 2866 CFLAGS="-g" 2867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2868 /* end confdefs.h. */ 2869 2870 int 2871 main () 2872 { 2873 2874 ; 2875 return 0; 2876 } 2877 _ACEOF 2878 if ac_fn_c_try_compile "$LINENO"; then : 2879 ac_cv_prog_cc_g=yes 2880 fi 2881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2882 fi 2883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2884 fi 2885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2886 ac_c_werror_flag=$ac_save_c_werror_flag 2887 fi 2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2889 $as_echo "$ac_cv_prog_cc_g" >&6; } 2890 if test "$ac_test_CFLAGS" = set; then 2891 CFLAGS=$ac_save_CFLAGS 2892 elif test $ac_cv_prog_cc_g = yes; then 2893 if test "$GCC" = yes; then 2894 CFLAGS="-g -O2" 2895 else 2896 CFLAGS="-g" 2897 fi 2898 else 2899 if test "$GCC" = yes; then 2900 CFLAGS="-O2" 2901 else 2902 CFLAGS= 2903 fi 2904 fi 2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2906 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2907 if ${ac_cv_prog_cc_c89+:} false; then : 2908 $as_echo_n "(cached) " >&6 2909 else 2910 ac_cv_prog_cc_c89=no 2911 ac_save_CC=$CC 2912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2913 /* end confdefs.h. */ 2914 #include <stdarg.h> 2915 #include <stdio.h> 2916 struct stat; 2917 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2918 struct buf { int x; }; 2919 FILE * (*rcsopen) (struct buf *, struct stat *, int); 2920 static char *e (p, i) 2921 char **p; 2922 int i; 2923 { 2924 return p[i]; 2925 } 2926 static char *f (char * (*g) (char **, int), char **p, ...) 2927 { 2928 char *s; 2929 va_list v; 2930 va_start (v,p); 2931 s = g (p, va_arg (v,int)); 2932 va_end (v); 2933 return s; 2934 } 2935 2936 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2937 function prototypes and stuff, but not '\xHH' hex character constants. 2938 These don't provoke an error unfortunately, instead are silently treated 2939 as 'x'. The following induces an error, until -std is added to get 2940 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2941 array size at least. It's necessary to write '\x00'==0 to get something 2942 that's true only with -std. */ 2943 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2944 2945 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2946 inside strings and character constants. */ 2947 #define FOO(x) 'x' 2948 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2949 2950 int test (int i, double x); 2951 struct s1 {int (*f) (int a);}; 2952 struct s2 {int (*f) (double a);}; 2953 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2954 int argc; 2955 char **argv; 2956 int 2957 main () 2958 { 2959 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2960 ; 2961 return 0; 2962 } 2963 _ACEOF 2964 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2965 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2966 do 2967 CC="$ac_save_CC $ac_arg" 2968 if ac_fn_c_try_compile "$LINENO"; then : 2969 ac_cv_prog_cc_c89=$ac_arg 2970 fi 2971 rm -f core conftest.err conftest.$ac_objext 2972 test "x$ac_cv_prog_cc_c89" != "xno" && break 2973 done 2974 rm -f conftest.$ac_ext 2975 CC=$ac_save_CC 2976 2977 fi 2978 # AC_CACHE_VAL 2979 case "x$ac_cv_prog_cc_c89" in 2980 x) 2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2982 $as_echo "none needed" >&6; } ;; 2983 xno) 2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2985 $as_echo "unsupported" >&6; } ;; 2986 *) 2987 CC="$CC $ac_cv_prog_cc_c89" 2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2989 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2990 esac 2991 if test "x$ac_cv_prog_cc_c89" != xno; then : 2992 2993 fi 2994 2995 ac_ext=c 2996 ac_cpp='$CPP $CPPFLAGS' 2997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2999 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3000 3001 3002 #SC_CONFIG_CFLAGS 3003 #SC_ENABLE_SHARED 3004 3005 gui_with_tcl="" 3006 3007 make_command="" 3008 for m in "$MAKE" make gmake gnumake ; do 3009 if test "x${m}" != "x" ; then 3010 if ( sh -c "$m --version" 2>/dev/null | grep GNU >/dev/null ) ; then 3011 make_command=$m; break; 3012 fi 3013 fi 3014 done 3015 if test "x${make_command}" = "x" ; then 3016 as_fn_error $? "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5 3017 fi 3018 MAKE=${make_command} 3019 3020 3021 # Check whether --enable-gui was given. 3022 if test "${enable_gui+set}" = set; then : 3023 enableval=$enable_gui; 3024 else 3025 enable_gui=yes 3026 fi 3027 3028 3029 ENABLE_GUI= 3030 if test "$enable_gui" != "no" ; then 3031 ENABLE_GUI="yes" 3032 fi 3033 3034 3035 with_tclsh="yes" 3036 3037 # Check whether --with-tclsh was given. 3038 if test "${with_tclsh+set}" = set; then : 3039 withval=$with_tclsh; 3040 else 3041 with_tclsh=yes 3042 fi 3043 3044 3045 TCLSH= 3046 # ----------------------------------------------------------------------- 3047 # 3048 # Find the Tcl build configuration file "tclConfig.sh" 3049 # 3050 # ----------------------------------------------------------------------- 3051 3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclConfig.sh" >&5 3053 $as_echo_n "checking for tclConfig.sh... " >&6; } 3054 tcl_config_sh="" 3055 if test "x$gui_with_tcl" != "x" ; then 3056 3057 # Verify that a tclConfig.sh file exists in the directory specified 3058 # by --with-tcl. 3059 3060 for dir in \ 3061 $gui_with_tcl 3062 do 3063 if test -r "$dir/tclConfig.sh" ; then 3064 tcl_config_sh="$dir/tclConfig.sh" 3065 break 3066 elif test -r "$dir/lib/tclConfig.sh" ; then 3067 tcl_config_sh="$dir/lib/tclConfig.sh" 3068 break 3069 fi 3070 done 3071 else 3072 3073 # Otherwise, search for Tcl configuration file. 3074 3075 # 1. Search previously named locations. 3076 3077 for dir in \ 3078 $prefix \ 3079 $exec_prefix \ 3080 $gui_cv_tcl_lib 3081 do 3082 if test -r "$dir/tclConfig.sh" ; then 3083 tcl_config_sh="$dir/tclConfig.sh" 3084 break 3085 elif test -r "$dir/lib/tclConfig.sh" ; then 3086 tcl_config_sh="$dir/lib/tclConfig.sh" 3087 break 3088 fi 3089 done 3090 fi 3091 3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${tcl_config_sh}" >&5 3093 $as_echo "${tcl_config_sh}" >&6; } 3094 3095 if test "x$tcl_config_sh" = "x" ; then 3096 echo "can't find Tcl configuration script \"tclConfig.sh\"" 3097 exit 1 3098 fi 3099 . ${tcl_config_sh} 3100 TCL_INC_SPEC="$TCL_INCLUDE_SPEC" 3101 3102 case $target in 3103 *-*-cygwin*|*-*-mingw*) 3104 gui_platform="win" 3105 TCLSH=${TCL_PREFIX}/bin/tclsh${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION} 3106 ;; 3107 *-*-darwin*) 3108 gui_platform="macosx" 3109 TCLSH=${TCL_PREFIX}/bin/tclsh${TCL_MAJOR_VERSION}.${TCL_MINOR_VERSION} 3110 ;; 3111 *) 3112 blt_platform="unix" 3113 TCLSH=${TCL_PREFIX}/bin/tclsh${TCL_MAJOR_VERSION}.${TCL_MINOR_VERSION} 3114 ;; 3115 esac 3116 1892 1893 if test -f "${exec_prefix}/lib/tclConfig.sh" ; then 1894 . ${exec_prefix}/lib/tclConfig.sh 1895 fi 1896 if test -f "${exec_prefix}/lib/tkConfig.sh" ; then 1897 . ${exec_prefix}/lib/tkConfig.sh 1898 fi 1899 1900 TCLSH=${bindir}/tclsh${TCL_VERSION} 3117 1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCLSH}" >&5 3118 1902 $as_echo "${TCLSH}" >&6; } 3119 1903 3120 1904 3121 if test -f "${exec_prefix}/lib/tclConfig.sh" ; then 3122 . ${exec_prefix}/lib/tclConfig.sh 3123 fi 3124 if test -f "${exec_prefix}/lib/tkConfig.sh" ; then 3125 . ${exec_prefix}/lib/tkConfig.sh 3126 fi 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 ac_config_files="$ac_config_files Makefile pkgIndex.tcl apps/Makefile apps/about apps/encodedata apps/rappture apps/rappture-csh.env apps/rappture.env apps/rappture.use apps/rerun apps/simsim apps/xmldiff scripts/Makefile src/Makefile" 1905 ac_config_files="$ac_config_files Makefile pkgIndex.tcl scripts/Makefile" 3144 1906 3145 1907 cat >confcache <<\_ACEOF … … 3852 2614 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3853 2615 "pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES pkgIndex.tcl" ;; 3854 "apps/Makefile") CONFIG_FILES="$CONFIG_FILES apps/Makefile" ;;3855 "apps/about") CONFIG_FILES="$CONFIG_FILES apps/about" ;;3856 "apps/encodedata") CONFIG_FILES="$CONFIG_FILES apps/encodedata" ;;3857 "apps/rappture") CONFIG_FILES="$CONFIG_FILES apps/rappture" ;;3858 "apps/rappture-csh.env") CONFIG_FILES="$CONFIG_FILES apps/rappture-csh.env" ;;3859 "apps/rappture.env") CONFIG_FILES="$CONFIG_FILES apps/rappture.env" ;;3860 "apps/rappture.use") CONFIG_FILES="$CONFIG_FILES apps/rappture.use" ;;3861 "apps/rerun") CONFIG_FILES="$CONFIG_FILES apps/rerun" ;;3862 "apps/simsim") CONFIG_FILES="$CONFIG_FILES apps/simsim" ;;3863 "apps/xmldiff") CONFIG_FILES="$CONFIG_FILES apps/xmldiff" ;;3864 2616 "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;; 3865 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;3866 2617 3867 2618 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; -
branches/r9/gui/configure.in
r4840 r4867 2 2 AC_INIT([RapptureGUI],[1.4],[rappture@nanohub.org]) 3 3 AC_CONFIG_AUX_DIR(cf) 4 4 5 #------------------------------------------------------------------------ 5 6 # Handle the --prefix=... option … … 13 14 fi 14 15 15 if test "${libdir}" != "${prefix}/lib"; then16 LIB_SEARCH_DIRS="-L${prefix}/lib -L${libdir}"17 else18 LIB_SEARCH_DIRS="-L${libdir}"19 fi20 AC_CANONICAL_TARGET21 AC_SUBST(LIB_SEARCH_DIRS)22 23 16 AC_PROG_INSTALL 24 AC_PROG_INSTALL25 AC_PROG_RANLIB26 17 AC_PROG_LN_S 27 18 AC_PROG_MKDIR_P 28 19 AC_PROG_MAKE_SET 29 AC_PROG_CC30 31 AC_ARG_WITH(32 [install],33 [AS_HELP_STRING([--with-install[=DIR]],34 [location of installation @<:@default=yes@:>@])],35 [],36 [with_install=yes])37 38 if test "$with_install" != "yes"; then39 INSTALL_PREFIX=$with_install40 else41 INSTALL_PREFIX=$prefix42 fi43 44 #SC_CONFIG_CFLAGS45 #SC_ENABLE_SHARED46 47 gui_with_tcl=""48 49 make_command=""50 for m in "$MAKE" make gmake gnumake ; do51 if test "x${m}" != "x" ; then52 if ( sh -c "$m --version" 2>/dev/null | grep GNU >/dev/null ) ; then53 make_command=$m; break;54 fi55 fi56 done57 if test "x${make_command}" = "x" ; then58 AC_MSG_ERROR([Requires GNU make. You can specify a version with \$MAKE])59 fi60 AC_SUBST(MAKE, ${make_command})61 62 AC_ARG_ENABLE(63 [gui],64 [AS_HELP_STRING([--enable-gui], [build code related to the graphical user interface @<:@default=yes@:>@])],65 [],66 [enable_gui=yes])67 68 ENABLE_GUI=69 if test "$enable_gui" != "no" ; then70 ENABLE_GUI="yes"71 fi72 AC_SUBST(ENABLE_GUI)73 74 with_tclsh="yes"75 AC_ARG_WITH(76 [tclsh],77 [AS_HELP_STRING([--with-tclsh[=DIR]],78 [location of tclsh @<:@default=yes@:>@])],79 [],80 [with_tclsh=yes])81 82 TCLSH=83 # -----------------------------------------------------------------------84 #85 # Find the Tcl build configuration file "tclConfig.sh"86 #87 # -----------------------------------------------------------------------88 89 AC_MSG_CHECKING([for tclConfig.sh])90 tcl_config_sh=""91 if test "x$gui_with_tcl" != "x" ; then92 93 # Verify that a tclConfig.sh file exists in the directory specified94 # by --with-tcl.95 96 for dir in \97 $gui_with_tcl98 do99 if test -r "$dir/tclConfig.sh" ; then100 tcl_config_sh="$dir/tclConfig.sh"101 break102 elif test -r "$dir/lib/tclConfig.sh" ; then103 tcl_config_sh="$dir/lib/tclConfig.sh"104 break105 fi106 done107 else108 109 # Otherwise, search for Tcl configuration file.110 111 # 1. Search previously named locations.112 113 for dir in \114 $prefix \115 $exec_prefix \116 $gui_cv_tcl_lib117 do118 if test -r "$dir/tclConfig.sh" ; then119 tcl_config_sh="$dir/tclConfig.sh"120 break121 elif test -r "$dir/lib/tclConfig.sh" ; then122 tcl_config_sh="$dir/lib/tclConfig.sh"123 break124 fi125 done126 fi127 128 AC_MSG_RESULT([${tcl_config_sh}])129 130 if test "x$tcl_config_sh" = "x" ; then131 echo "can't find Tcl configuration script \"tclConfig.sh\""132 exit 1133 fi134 . ${tcl_config_sh}135 TCL_INC_SPEC="$TCL_INCLUDE_SPEC"136 137 case $target in138 *-*-cygwin*|*-*-mingw*)139 gui_platform="win"140 TCLSH=${TCL_PREFIX}/bin/tclsh${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}141 ;;142 *-*-darwin*)143 gui_platform="macosx"144 TCLSH=${TCL_PREFIX}/bin/tclsh${TCL_MAJOR_VERSION}.${TCL_MINOR_VERSION}145 ;;146 *)147 blt_platform="unix"148 TCLSH=${TCL_PREFIX}/bin/tclsh${TCL_MAJOR_VERSION}.${TCL_MINOR_VERSION}149 ;;150 esac151 152 AC_MSG_RESULT([${TCLSH}])153 AC_SUBST(TCLSH)154 20 155 21 if test -f "${exec_prefix}/lib/tclConfig.sh" ; then … … 160 26 fi 161 27 162 AC_SUBST(INSTALL_PREFIX) 163 AC_SUBST(TCL_INC_SPEC) 164 AC_SUBST(TCL_LIB_SPEC) 165 AC_SUBST(TCL_VERSION) 166 AC_SUBST(TK_INC_SPEC) 167 AC_SUBST(TK_LIB_SPEC) 168 AC_SUBST(TK_XLIBSW) 169 AC_SUBST(TK_VERSION) 170 AC_SUBST(TCL_CFLAGS_DEBUG) 171 AC_SUBST(TCL_CFLAGS_OPTIMIZE) 172 AC_SUBST(TCL_STLIB_LD) 173 AC_SUBST(TCL_SHLIB_LD) 174 AC_SUBST(TCL_SHLIB_CFLAGS) 175 AC_SUBST(TCL_SHLIB_LDFLAGS) 176 AC_SUBST(TCL_SHLIB_SUFFIX) 177 28 TCLSH=${bindir}/tclsh${TCL_VERSION} 29 AC_MSG_RESULT([${TCLSH}]) 30 AC_SUBST(TCLSH) 178 31 179 32 AC_CONFIG_FILES([ 180 33 Makefile 181 34 pkgIndex.tcl 182 apps/Makefile183 apps/about184 apps/encodedata185 apps/rappture186 apps/rappture-csh.env187 apps/rappture.env188 apps/rappture.use189 apps/rerun190 apps/simsim191 apps/xmldiff192 35 scripts/Makefile 193 src/Makefile194 36 ]) 195 37 AC_OUTPUT -
branches/r9/lang/Makefile.in
r3749 r4867 55 55 56 56 all: 57 make -C ../src install58 57 for i in $(LANGS) ; do \ 59 58 $(MAKE) -C $$i all || exit 1 ;\ -
branches/r9/lang/configure
r4837 r4867 9678 9678 9679 9679 9680 ac_config_files="$ac_config_files Makefile java/Makefile java/rappture/Makefile perl/Makefile perl/Makefile.PL python/Makefile python/setup.py matlab/Makefile octave/Makefile octave/octave2/Makefile octave/octave3/Makefile R/Makefile ruby/Makefile ruby/build.rb tcl/Makefile tcl/pkgIndex.tcl tcl/scripts/Makefile tcl/src/Makefile tcl/tests/Makefile "9680 ac_config_files="$ac_config_files Makefile java/Makefile java/rappture/Makefile perl/Makefile perl/Makefile.PL python/Makefile python/setup.py matlab/Makefile octave/Makefile octave/octave2/Makefile octave/octave3/Makefile R/Makefile ruby/Makefile ruby/build.rb tcl/Makefile tcl/pkgIndex.tcl tcl/scripts/Makefile tcl/src/Makefile tcl/tests/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/R/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/Makefile examples/app-fermi/octave/octave2/Makefile examples/app-fermi/octave/octave3/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/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" 9681 9681 9682 9682 cat >confcache <<\_ACEOF … … 10407 10407 "tcl/src/Makefile") CONFIG_FILES="$CONFIG_FILES tcl/src/Makefile" ;; 10408 10408 "tcl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES tcl/tests/Makefile" ;; 10409 "examples/3D/Makefile") CONFIG_FILES="$CONFIG_FILES examples/3D/Makefile" ;; 10410 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 10411 "examples/app-fermi/2.0/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/2.0/Makefile" ;; 10412 "examples/app-fermi/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/Makefile" ;; 10413 "examples/app-fermi/R/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/R/Makefile" ;; 10414 "examples/app-fermi/cee/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/cee/Makefile" ;; 10415 "examples/app-fermi/fortran/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/fortran/Makefile" ;; 10416 "examples/app-fermi/java/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/java/Makefile" ;; 10417 "examples/app-fermi/matlab/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/matlab/Makefile" ;; 10418 "examples/app-fermi/matlab/compiled/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/matlab/compiled/Makefile" ;; 10419 "examples/app-fermi/matlab/uncompiled/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/matlab/uncompiled/Makefile" ;; 10420 "examples/app-fermi/octave/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/Makefile" ;; 10421 "examples/app-fermi/octave/octave2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/octave2/Makefile" ;; 10422 "examples/app-fermi/octave/octave3/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/octave3/Makefile" ;; 10423 "examples/app-fermi/perl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/perl/Makefile" ;; 10424 "examples/app-fermi/python/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/python/Makefile" ;; 10425 "examples/app-fermi/ruby/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/ruby/Makefile" ;; 10426 "examples/app-fermi/tcl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/tcl/Makefile" ;; 10427 "examples/app-fermi/wrapper/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/Makefile" ;; 10428 "examples/app-fermi/wrapper/cee/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/cee/Makefile" ;; 10429 "examples/app-fermi/wrapper/perl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/perl/Makefile" ;; 10430 "examples/app-fermi/wrapper/python/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/python/Makefile" ;; 10431 "examples/app-fermi/wrapper/tcl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/tcl/Makefile" ;; 10432 "examples/c-example/Makefile") CONFIG_FILES="$CONFIG_FILES examples/c-example/Makefile" ;; 10433 "examples/canvas/Makefile") CONFIG_FILES="$CONFIG_FILES examples/canvas/Makefile" ;; 10434 "examples/demo.bash") CONFIG_FILES="$CONFIG_FILES examples/demo.bash" ;; 10435 "examples/flow/Makefile") CONFIG_FILES="$CONFIG_FILES examples/flow/Makefile" ;; 10436 "examples/flow/demo1/Makefile") CONFIG_FILES="$CONFIG_FILES examples/flow/demo1/Makefile" ;; 10437 "examples/flow/demo2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/flow/demo2/Makefile" ;; 10438 "examples/flow/demo3/Makefile") CONFIG_FILES="$CONFIG_FILES examples/flow/demo3/Makefile" ;; 10439 "examples/graph/Makefile") CONFIG_FILES="$CONFIG_FILES examples/graph/Makefile" ;; 10440 "examples/objects/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/Makefile" ;; 10441 "examples/objects/axis/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/axis/Makefile" ;; 10442 "examples/objects/curve/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/curve/Makefile" ;; 10443 "examples/objects/dxWriter/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/dxWriter/Makefile" ;; 10444 "examples/objects/floatBuffer/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/floatBuffer/Makefile" ;; 10445 "examples/objects/histogram/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/histogram/Makefile" ;; 10446 "examples/objects/library/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/library/Makefile" ;; 10447 "examples/objects/number/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/number/Makefile" ;; 10448 "examples/objects/path/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/path/Makefile" ;; 10449 "examples/objects/plot/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/plot/Makefile" ;; 10450 "examples/objects/scatter/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/scatter/Makefile" ;; 10451 "examples/objects/string/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/string/Makefile" ;; 10452 "examples/objects/tree/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/tree/Makefile" ;; 10453 "examples/objects/xmlparser/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/xmlparser/Makefile" ;; 10454 "examples/zoo/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/Makefile" ;; 10455 "examples/zoo/binary/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/binary/Makefile" ;; 10456 "examples/zoo/boolean/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/boolean/Makefile" ;; 10457 "examples/zoo/choice/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/choice/Makefile" ;; 10458 "examples/zoo/curve/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/curve/Makefile" ;; 10459 "examples/zoo/drawing/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/drawing/Makefile" ;; 10460 "examples/zoo/enable/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/enable/Makefile" ;; 10461 "examples/zoo/field/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/field/Makefile" ;; 10462 "examples/zoo/group/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/group/Makefile" ;; 10463 "examples/zoo/histogram/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/histogram/Makefile" ;; 10464 "examples/zoo/image/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/image/Makefile" ;; 10465 "examples/zoo/image/docs/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/image/docs/Makefile" ;; 10466 "examples/zoo/image/examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/image/examples/Makefile" ;; 10467 "examples/zoo/integer/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/integer/Makefile" ;; 10468 "examples/zoo/integer2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/integer2/Makefile" ;; 10469 "examples/zoo/loader/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/loader/Makefile" ;; 10470 "examples/zoo/loader/examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/loader/examples/Makefile" ;; 10471 "examples/zoo/log/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/log/Makefile" ;; 10472 "examples/zoo/mesh/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/mesh/Makefile" ;; 10473 "examples/zoo/note/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/note/Makefile" ;; 10474 "examples/zoo/note/docs/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/note/docs/Makefile" ;; 10475 "examples/zoo/number/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/number/Makefile" ;; 10476 "examples/zoo/number2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/number2/Makefile" ;; 10477 "examples/zoo/parallelepiped/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/parallelepiped/Makefile" ;; 10478 "examples/zoo/periodicelement/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/periodicelement/Makefile" ;; 10479 "examples/zoo/phase/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/phase/Makefile" ;; 10480 "examples/zoo/sequence/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/sequence/Makefile" ;; 10481 "examples/zoo/sequence/examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/sequence/examples/Makefile" ;; 10482 "examples/zoo/string/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/string/Makefile" ;; 10483 "examples/zoo/structure/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/structure/Makefile" ;; 10484 "examples/zoo/structure/examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/structure/examples/Makefile" ;; 10485 "examples/zoo/table/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/table/Makefile" ;; 10409 10486 10410 10487 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; -
branches/r9/lang/configure.in
r4837 r4867 292 292 tcl/src/Makefile 293 293 tcl/tests/Makefile 294 examples/3D/Makefile 295 examples/Makefile 296 examples/app-fermi/2.0/Makefile 297 examples/app-fermi/Makefile 298 examples/app-fermi/R/Makefile 299 examples/app-fermi/cee/Makefile 300 examples/app-fermi/fortran/Makefile 301 examples/app-fermi/java/Makefile 302 examples/app-fermi/matlab/Makefile 303 examples/app-fermi/matlab/compiled/Makefile 304 examples/app-fermi/matlab/uncompiled/Makefile 305 examples/app-fermi/octave/Makefile 306 examples/app-fermi/octave/octave2/Makefile 307 examples/app-fermi/octave/octave3/Makefile 308 examples/app-fermi/perl/Makefile 309 examples/app-fermi/python/Makefile 310 examples/app-fermi/ruby/Makefile 311 examples/app-fermi/tcl/Makefile 312 examples/app-fermi/wrapper/Makefile 313 examples/app-fermi/wrapper/cee/Makefile 314 examples/app-fermi/wrapper/perl/Makefile 315 examples/app-fermi/wrapper/python/Makefile 316 examples/app-fermi/wrapper/tcl/Makefile 317 examples/c-example/Makefile 318 examples/canvas/Makefile 319 examples/demo.bash 320 examples/flow/Makefile 321 examples/flow/demo1/Makefile 322 examples/flow/demo2/Makefile 323 examples/flow/demo3/Makefile 324 examples/graph/Makefile 325 examples/objects/Makefile 326 examples/objects/axis/Makefile 327 examples/objects/curve/Makefile 328 examples/objects/dxWriter/Makefile 329 examples/objects/floatBuffer/Makefile 330 examples/objects/histogram/Makefile 331 examples/objects/library/Makefile 332 examples/objects/number/Makefile 333 examples/objects/path/Makefile 334 examples/objects/plot/Makefile 335 examples/objects/scatter/Makefile 336 examples/objects/string/Makefile 337 examples/objects/tree/Makefile 338 examples/objects/xmlparser/Makefile 339 examples/zoo/Makefile 340 examples/zoo/binary/Makefile 341 examples/zoo/boolean/Makefile 342 examples/zoo/choice/Makefile 343 examples/zoo/curve/Makefile 344 examples/zoo/drawing/Makefile 345 examples/zoo/enable/Makefile 346 examples/zoo/field/Makefile 347 examples/zoo/group/Makefile 348 examples/zoo/histogram/Makefile 349 examples/zoo/image/Makefile 350 examples/zoo/image/docs/Makefile 351 examples/zoo/image/examples/Makefile 352 examples/zoo/integer/Makefile 353 examples/zoo/integer2/Makefile 354 examples/zoo/loader/Makefile 355 examples/zoo/loader/examples/Makefile 356 examples/zoo/log/Makefile 357 examples/zoo/mesh/Makefile 358 examples/zoo/note/Makefile 359 examples/zoo/note/docs/Makefile 360 examples/zoo/number/Makefile 361 examples/zoo/number2/Makefile 362 examples/zoo/parallelepiped/Makefile 363 examples/zoo/periodicelement/Makefile 364 examples/zoo/phase/Makefile 365 examples/zoo/sequence/Makefile 366 examples/zoo/sequence/examples/Makefile 367 examples/zoo/string/Makefile 368 examples/zoo/structure/Makefile 369 examples/zoo/structure/examples/Makefile 370 examples/zoo/table/Makefile 294 371 ]) 295 372 AC_OUTPUT -
branches/r9/lang/tcl/src/Makefile.in
r4861 r4867 48 48 49 49 LIBS = \ 50 50 -L$(libdir) -lrappture \ 51 51 $(TCL_LIB_SPEC) -lexpat -lz -lm -lstdc++ 52 52 53 53 OBJS = \ 54 Rappture_Init.o \ 54 Rappture_Init.o \ 55 RpSwitch.o \ 55 56 RpEncodeTclInterface.o \ 56 57 RpUnitsTclInterface.o \ -
branches/r9/lang/tcl/src/RpEncodeTclInterface.cc
r3177 r4867 15 15 #include "RpEncode.h" 16 16 extern "C" { 17 #include " Switch.h"17 #include "RpSwitch.h" 18 18 extern Tcl_AppInitProc RpEncoding_Init; 19 19 } … … 179 179 Tcl_Obj *const *objv) 180 180 { 181 EncodeSwitches switches; 182 const char* string; 183 int last; 184 int n; 185 int nBytes; 186 181 187 if (objc < 1) { 182 188 Tcl_AppendResult(interp, "wrong # args: should be \"", … … 185 191 return TCL_ERROR; 186 192 } 187 EncodeSwitches switches;188 193 switches.flags = 0; 189 int n; 190 n = Rp_ParseSwitches(interp, encodeSwitches, objc - 1, objv + 1, &switches, 194 n = RpParseSwitches(interp, encodeSwitches, objc - 1, objv + 1, &switches, 191 195 SWITCH_OBJV_PARTIAL); 192 196 if (n < 0) { 193 197 return TCL_ERROR; 194 198 } 195 int last;196 199 last = n + 1; 197 200 if ((objc - last) != 1) { … … 201 204 return TCL_ERROR; 202 205 } 203 int nBytes;204 const char* string;205 206 string = (const char*)Tcl_GetByteArrayFromObj(objv[last], &nBytes); 206 207 if (nBytes <= 0) { … … 251 252 Tcl_Obj *const *objv) 252 253 { 254 DecodeSwitches switches; 255 int n; 256 int numBytes; 257 const char *string; 258 int last; 259 253 260 if (objc < 1) { 254 261 Tcl_AppendResult(interp, "wrong # args: should be \"", … … 258 265 } 259 266 260 DecodeSwitches switches;261 267 switches.flags = 0; 262 int n; 263 n = Rp_ParseSwitches(interp, decodeSwitches, objc - 1, objv + 1, &switches, 268 n = RpParseSwitches(interp, decodeSwitches, objc - 1, objv + 1, &switches, 264 269 SWITCH_OBJV_PARTIAL); 265 270 if (n < 0) { 266 271 return TCL_ERROR; 267 272 } 268 int last;269 273 last = n + 1; 270 274 if ((objc - last) != 1) { … … 274 278 return TCL_ERROR; 275 279 } 276 int numBytes;277 const char *string;278 280 279 281 string = Tcl_GetStringFromObj(objv[last], &numBytes); -
branches/r9/packages/video/Makefile.in
r3471 r4867 34 34 35 35 INCLUDES = \ 36 -I. \ 36 37 -I$(srcdir) \ 37 -I../src/core \38 -I$(srcdir)/../src/core \39 -I$(srcdir)/../src/objects \40 38 -I$(includedir) 41 39 -
branches/r9/packages/video/RpVideo.h
r3177 r4867 1 #ifndef VIDEO_H 2 #define VIDEO_H 3 1 4 /* 2 5 * ---------------------------------------------------------------------- … … 15 18 * ====================================================================== 16 19 */ 17 18 #ifdef __cplusplus19 extern "C" {20 #endif21 22 20 23 21 typedef struct VideoObjRec VideoObj; … … 43 41 int VideoClose (VideoObj *vidPtr); 44 42 45 #ifdef __cplusplus 46 } 47 #endif 48 43 #endif /* VIDEO_H */ -
branches/r9/runner/Makefile.in
r4858 r4867 42 42 43 43 all: 44 $(MAKE) -C src all45 44 $(MAKE) -C scripts all 46 45 47 46 links: 48 47 49 install-xmlfiles: 48 install: 49 $(MKDIR_P) -m 0755 $(destdir) 50 $(INSTALL) -m 0444 pkgIndex.tcl $(destdir) 50 51 $(MKDIR_P) -m 0755 $(destdir)/lib 51 52 for i in $(XMLFILES) ; do \ 52 53 $(INSTALL) -m 0444 $$i $(destdir)/lib ; \ 53 54 done 54 55 make-links:56 $(RM) $(bindir)/tclsh57 (cd $(bindir); $(LN_S) tclsh$(TCL_VERSION) tclsh)58 $(RM) $(bindir)/wish59 (cd $(bindir); $(LN_S) wish$(TK_VERSION) wish)60 61 install: make-links install-xmlfiles62 $(MKDIR_P) -m 0755 $(destdir)63 $(INSTALL) -m 0444 pkgIndex.tcl $(destdir)64 55 $(MAKE) -C scripts install 65 56 -
branches/r9/runner/scripts/Makefile.in
r4861 r4867 46 46 $(srcdir)/xauth.tcl 47 47 48 all: tclIndex48 all: 49 49 50 tclIndex: $(FILES) 51 $(TCLSH) $(srcdir)/../cf/mkindex.tcl --srcdir $(srcdir) \ 52 --outfile tclIndex 53 54 install: tclIndex 50 install: 55 51 $(MKDIR_P) -m 0755 $(destdir) 56 52 for i in $(FILES); do \ 57 53 $(INSTALL) -m 0444 $$i $(destdir) ; \ 58 54 done 55 $(TCLSH) $(srcdir)/../cf/mkindex.tcl --srcdir $(destdir) \ 56 --outfile tclIndex 57 $(RM) $(destdir)/tclIndex 59 58 $(INSTALL) -m 0444 tclIndex $(destdir) 59 $(RM) tclIndex 60 60 61 clean: 62 $(RM) tclIndex 61 clean: 63 62 64 63 distclean: clean -
branches/r9/tester/Makefile.in
r3471 r4867 17 17 top_builddir = . 18 18 19 INSTALL = @INSTALL@ 19 20 MKDIR_P = @MKDIR_P@ 20 TCL_VERSION = @TCL_VERSION@ 21 TCLSH = $(bindir)/tclsh$(TCL_VERSION) 22 INSTALL = @INSTALL@ 21 TCLSH = $(bindir)/tclsh 23 22 24 23 PACKAGE_VERSION = @PACKAGE_VERSION@ -
branches/r9/tester/scripts/Makefile.in
r4840 r4867 10 10 includedir = @includedir@ 11 11 12 SHELL = @SHELL@13 12 INSTALL = @INSTALL@ 14 13 MKDIR_P = @MKDIR_P@ 15 TCL_VERSION = @TCL_VERSION@ 16 TCLSH = $(bindir)/tclsh$(TCL_VERSION) 14 PACKAGE_VERSION = @PACKAGE_VERSION@ 15 SHELL = @SHELL@ 16 TCLSH = $(bindir)/tclsh 17 17 VPATH = $(srcdir) 18 PACKAGE_VERSION = @PACKAGE_VERSION@19 18 20 19 FILES = \
Note: See TracChangeset
for help on using the changeset viewer.