Changeset 4867 for branches/r9/configure


Ignore:
Timestamp:
Dec 13, 2014 1:10:09 PM (8 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/r9/configure

    r4866 r4867  
    628628X_INCLUDES
    629629STATSDIR
     630XSUBPP
    630631VTK_VERSION
    631632VTK_TCL_DIR
     
    648649SIZEOF_INT
    649650SHLIB_LDFLAGS
    650 RUBY_VERSION_RV
    651 RUBY_PLATFORM
    652651RP_BASE
    653 PYTHON_VERSION
    654 PYTHON_SITE_PACKAGES
    655 PYTHON_SITE_DIR
    656 PYTHON_LIBDIR
    657 PYTHON_LIB
    658 PYTHON_LDFLAGS
    659 PYTHON_INCLUDES
    660 PYTHON_INCDIR
    661 PYTHON_DISTUTILS
    662 PYTHON_CFLAGS
    663 PERL_VERSION_RV
    664 PERL_VERSION
    665 PERL_VENDORLIB
    666 PERL_PRIVLIB
    667 PERL_LIBSPEC
    668 PERL_INSTALLARCHLIB
    669 PERL_INCLUDES
    670 PERL_CPPFLAGS
    671 PERL_CCFLAGS
    672 PERL_ARCHLIBEXP
    673 PERL_ARCHLIB
    674 OCTAVE_VERSION_MAJOR
    675 OCTAVE_VERSION
    676652SVN_VERSION
    677 MKOCTFILE3
    678 MKOCTFILE2
    679 MEX_ARCH
    680653MAKE
    681654LIB_SEARCH_DIRS
    682 JAVA_INC_SPEC
    683 JAVA_INC_DIR
    684 JAVA_HOME
    685655INSTALL_PREFIX
    686 HAVE_RUBY_DEVEL
    687656HAVE_INTTYPES_H
    688 HAVE_FFMPEG_LIBS
    689657ENABLE_VTK_DICOM
    690658ENABLE_VTK
    691659ENABLE_GUI
    692660ENABLE_LANG
    693 FFMPEG
    694661LDFLAGS_DEFAULT
    695662CFLAGS_DEFAULT
    696 host_os
    697 host_vendor
    698 host_cpu
    699 host
    700 build_os
    701 build_vendor
    702 build_cpu
    703 build
    704 HAVE_RUBY_H
    705 RUBY_SITELIBDIR
    706 RUBY_LIBRUBYARG_STATIC
    707 RUBY_LIBRUBYARG
    708 RUBY_LIBS
    709 RUBY_LDFLAGS
    710 RUBY_CXXFLAGS
    711 RUBY_CFLAGS
    712 RUBY_CPPFLAGS
    713 RUBY_VERSION_CODE
    714 RUBY
    715 R
    716 JAVAH
    717 JAVAC
    718 JAVA
    719 PYTHON
    720 XSUBPP
    721 PERL
    722 mkoctfile2
    723 mkoctfile3
    724 MKOCTFILE
    725 OCTAVE
    726 MCC
    727 MEXEXT
    728 MEX
    729 MATLAB
    730663INSTALL_STUB_LIB
    731664INSTALL_LIB
     
    829762with_vtk
    830763enable_vtkdicom
    831 with_matlab
    832 with_octave
    833 with_mkoctfile3
    834 with_mkoctfile2
    835 with_perl
    836 with_python
    837 with_java
    838 with_R
    839 with_ruby
    840 with_ruby_sitelibdir
    841764enable_shared
    842765enable_symbols
     
    14581381  --x-includes=DIR    X include files are in DIR
    14591382  --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]
    14641383_ACEOF
    14651384fi
     
    14941413  --with-ffmpeg=DIR       location of ffmpeg [default=yes]
    14951414  --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=PATH
    1507                           path to install ruby scripts [[auto-detect]]
    15081415
    15091416Some influential environment variables:
     
    27852692ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
    27862693
    2787 
    2788 ac_config_headers="$ac_config_headers lib/rappture/config.h"
    27892694
    27902695
     
    75477452fi
    75487453
    7549 TCL_VERSION="8.4"
     7454TCL_VERSION="8.5"
    75507455for dir in \
    75517456 ${exec_prefix} \
     
    76337538$as_echo "$enable_vtkdicom" >&6; }
    76347539
    7635 
    7636 
    7637 # Check whether --with-matlab was given.
    7638 if test "${with_matlab+set}" = set; then :
    7639   withval=$with_matlab;
    7640 else
    7641   with_matlab=yes
    7642 fi
    7643 
    7644 
    7645 MCC=""
    7646 MEX=""
    7647 MEX_ARCH=""
    7648 MEXEXT=""
    7649 MATLAB=
    7650 if test "$with_matlab" != "no" ; then
    7651   if test "$with_matlab" = "yes" ; then
    7652     # Extract the first word of "matlab", so it can be a program name with args.
    7653 set dummy matlab; ac_word=$2
    7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7655 $as_echo_n "checking for $ac_word... " >&6; }
    7656 if ${ac_cv_path_MATLAB+:} false; then :
    7657   $as_echo_n "(cached) " >&6
    7658 else
    7659   case $MATLAB in
    7660   [\\/]* | ?:[\\/]*)
    7661   ac_cv_path_MATLAB="$MATLAB" # Let the user override the test with a path.
    7662   ;;
    7663   *)
    7664   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7665 for as_dir in $PATH
    7666 do
    7667   IFS=$as_save_IFS
    7668   test -z "$as_dir" && as_dir=.
    7669     for ac_exec_ext in '' $ac_executable_extensions; do
    7670   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7671     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" >&5
    7673     break 2
    7674   fi
    7675 done
    7676   done
    7677 IFS=$as_save_IFS
    7678 
    7679   ;;
    7680 esac
    7681 fi
    7682 MATLAB=$ac_cv_path_MATLAB
    7683 if test -n "$MATLAB"; then
    7684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5
    7685 $as_echo "$MATLAB" >&6; }
    7686 else
    7687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7688 $as_echo "no" >&6; }
    7689 fi
    7690 
    7691 
    7692   else
    7693     # Extract the first word of "matlab", so it can be a program name with args.
    7694 set dummy matlab; ac_word=$2
    7695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7696 $as_echo_n "checking for $ac_word... " >&6; }
    7697 if ${ac_cv_path_MATLAB+:} false; then :
    7698   $as_echo_n "(cached) " >&6
    7699 else
    7700   case $MATLAB in
    7701   [\\/]* | ?:[\\/]*)
    7702   ac_cv_path_MATLAB="$MATLAB" # Let the user override the test with a path.
    7703   ;;
    7704   *)
    7705   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7706 as_dummy="${with_matlab}/bin:${with_matlab}"
    7707 for as_dir in $as_dummy
    7708 do
    7709   IFS=$as_save_IFS
    7710   test -z "$as_dir" && as_dir=.
    7711     for ac_exec_ext in '' $ac_executable_extensions; do
    7712   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7713     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" >&5
    7715     break 2
    7716   fi
    7717 done
    7718   done
    7719 IFS=$as_save_IFS
    7720 
    7721   ;;
    7722 esac
    7723 fi
    7724 MATLAB=$ac_cv_path_MATLAB
    7725 if test -n "$MATLAB"; then
    7726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5
    7727 $as_echo "$MATLAB" >&6; }
    7728 else
    7729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7730 $as_echo "no" >&6; }
    7731 fi
    7732 
    7733 
    7734   fi
    7735 fi
    7736 
    7737 if test "x$MATLAB" != "x" ; then
    7738   # 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=//`/bin
    7742 
    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=$2
    7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7747 $as_echo_n "checking for $ac_word... " >&6; }
    7748 if ${ac_cv_path_MEX+:} false; then :
    7749   $as_echo_n "(cached) " >&6
    7750 else
    7751   case $MEX in
    7752   [\\/]* | ?:[\\/]*)
    7753   ac_cv_path_MEX="$MEX" # Let the user override the test with a path.
    7754   ;;
    7755   *)
    7756   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7757 for as_dir in ${matlab_bindir}
    7758 do
    7759   IFS=$as_save_IFS
    7760   test -z "$as_dir" && as_dir=.
    7761     for ac_exec_ext in '' $ac_executable_extensions; do
    7762   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7763     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" >&5
    7765     break 2
    7766   fi
    7767 done
    7768   done
    7769 IFS=$as_save_IFS
    7770 
    7771   ;;
    7772 esac
    7773 fi
    7774 MEX=$ac_cv_path_MEX
    7775 if test -n "$MEX"; then
    7776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5
    7777 $as_echo "$MEX" >&6; }
    7778 else
    7779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7780 $as_echo "no" >&6; }
    7781 fi
    7782 
    7783 
    7784   # Extract the first word of "mexext", so it can be a program name with args.
    7785 set dummy mexext; ac_word=$2
    7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7787 $as_echo_n "checking for $ac_word... " >&6; }
    7788 if ${ac_cv_path_MEXEXT+:} false; then :
    7789   $as_echo_n "(cached) " >&6
    7790 else
    7791   case $MEXEXT in
    7792   [\\/]* | ?:[\\/]*)
    7793   ac_cv_path_MEXEXT="$MEXEXT" # Let the user override the test with a path.
    7794   ;;
    7795   *)
    7796   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7797 for as_dir in ${matlab_bindir}
    7798 do
    7799   IFS=$as_save_IFS
    7800   test -z "$as_dir" && as_dir=.
    7801     for ac_exec_ext in '' $ac_executable_extensions; do
    7802   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7803     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" >&5
    7805     break 2
    7806   fi
    7807 done
    7808   done
    7809 IFS=$as_save_IFS
    7810 
    7811   ;;
    7812 esac
    7813 fi
    7814 MEXEXT=$ac_cv_path_MEXEXT
    7815 if test -n "$MEXEXT"; then
    7816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5
    7817 $as_echo "$MEXEXT" >&6; }
    7818 else
    7819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7820 $as_echo "no" >&6; }
    7821 fi
    7822 
    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" >&5
    7827 $as_echo_n "checking for mex extension... " >&6; }
    7828   if test "x$MEXEXT" != "x" ; then
    7829     MEXEXT=`$MEXEXT`
    7830   else
    7831     MEXEXT="mexglx"
    7832   fi
    7833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5
    7834 $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=$2
    7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7838 $as_echo_n "checking for $ac_word... " >&6; }
    7839 if ${ac_cv_path_MCC+:} false; then :
    7840   $as_echo_n "(cached) " >&6
    7841 else
    7842   case $MCC in
    7843   [\\/]* | ?:[\\/]*)
    7844   ac_cv_path_MCC="$MCC" # Let the user override the test with a path.
    7845   ;;
    7846   *)
    7847   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7848 for as_dir in ${matlab_bindir}
    7849 do
    7850   IFS=$as_save_IFS
    7851   test -z "$as_dir" && as_dir=.
    7852     for ac_exec_ext in '' $ac_executable_extensions; do
    7853   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7854     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" >&5
    7856     break 2
    7857   fi
    7858 done
    7859   done
    7860 IFS=$as_save_IFS
    7861 
    7862   ;;
    7863 esac
    7864 fi
    7865 MCC=$ac_cv_path_MCC
    7866 if test -n "$MCC"; then
    7867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5
    7868 $as_echo "$MCC" >&6; }
    7869 else
    7870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7871 $as_echo "no" >&6; }
    7872 fi
    7873 
    7874 
    7875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5
    7876 $as_echo_n "checking for mcc extension... " >&6; }
    7877 fi
    7878 
    7879 
    7880 
    7881 # Check whether --with-octave was given.
    7882 if test "${with_octave+set}" = set; then :
    7883   withval=$with_octave;
    7884 else
    7885   with_octave=yes
    7886 fi
    7887 
    7888 
    7889 OCTAVE=
    7890 OCTAVE_VERSION=
    7891 OCTAVE_VERSION_MAJOR=
    7892 MKOCTFILE2=
    7893 MKOCTFILE3=
    7894 
    7895 if test "$with_octave" != "no" ; then
    7896   if test "$with_octave" = "yes" ; then
    7897     # Extract the first word of "octave", so it can be a program name with args.
    7898 set dummy octave; ac_word=$2
    7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7900 $as_echo_n "checking for $ac_word... " >&6; }
    7901 if ${ac_cv_path_OCTAVE+:} false; then :
    7902   $as_echo_n "(cached) " >&6
    7903 else
    7904   case $OCTAVE in
    7905   [\\/]* | ?:[\\/]*)
    7906   ac_cv_path_OCTAVE="$OCTAVE" # Let the user override the test with a path.
    7907   ;;
    7908   *)
    7909   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7910 for as_dir in $PATH
    7911 do
    7912   IFS=$as_save_IFS
    7913   test -z "$as_dir" && as_dir=.
    7914     for ac_exec_ext in '' $ac_executable_extensions; do
    7915   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7916     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" >&5
    7918     break 2
    7919   fi
    7920 done
    7921   done
    7922 IFS=$as_save_IFS
    7923 
    7924   ;;
    7925 esac
    7926 fi
    7927 OCTAVE=$ac_cv_path_OCTAVE
    7928 if test -n "$OCTAVE"; then
    7929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5
    7930 $as_echo "$OCTAVE" >&6; }
    7931 else
    7932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7933 $as_echo "no" >&6; }
    7934 fi
    7935 
    7936 
    7937     # Extract the first word of "mkoctfile", so it can be a program name with args.
    7938 set dummy mkoctfile; ac_word=$2
    7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7940 $as_echo_n "checking for $ac_word... " >&6; }
    7941 if ${ac_cv_path_MKOCTFILE+:} false; then :
    7942   $as_echo_n "(cached) " >&6
    7943 else
    7944   case $MKOCTFILE in
    7945   [\\/]* | ?:[\\/]*)
    7946   ac_cv_path_MKOCTFILE="$MKOCTFILE" # Let the user override the test with a path.
    7947   ;;
    7948   *)
    7949   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7950 for as_dir in $PATH
    7951 do
    7952   IFS=$as_save_IFS
    7953   test -z "$as_dir" && as_dir=.
    7954     for ac_exec_ext in '' $ac_executable_extensions; do
    7955   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7956     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" >&5
    7958     break 2
    7959   fi
    7960 done
    7961   done
    7962 IFS=$as_save_IFS
    7963 
    7964   ;;
    7965 esac
    7966 fi
    7967 MKOCTFILE=$ac_cv_path_MKOCTFILE
    7968 if test -n "$MKOCTFILE"; then
    7969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5
    7970 $as_echo "$MKOCTFILE" >&6; }
    7971 else
    7972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7973 $as_echo "no" >&6; }
    7974 fi
    7975 
    7976 
    7977   else
    7978     OCTAVE=$with_octave
    7979     MKOCTFILE=`dirname $with_octave`/mkoctfile
    7980   fi
    7981 fi
    7982 
    7983 if test "x${OCTAVE}" != "x" ; then
    7984   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" ; then
    7987     OCTAVE3=$OCTAVE
    7988     MKOCTFILE3=$MKOCTFILE
    7989   fi
    7990   if test "${OCTAVE_VERSION_MAJOR}" == "2" ; then
    7991     OCTAVE2=$OCTAVE
    7992     MKOCTFILE2=$MKOCTFILE
    7993   fi
    7994 fi
    7995 
    7996 #
    7997 # Check for octave3 before octave2 so that we can override the
    7998 # OCTAVE_VERSION variables.
    7999 #
    8000 # Rappture doesn't normally really support both octave2 and octave3
    8001 # simultaneously.  NANOhub has a hacked version of octave3 that
    8002 # looks for OCTAVE_LOADPATH before looking at OCTAVE_PATH (i.e.
    8003 # OCTAVE_PATH tells octave2 where to load the rappture bindings
    8004 # and OCTAVE_LOADPATH tells octave3 where to load).
    8005 #
    8006 # Usually you will have installed either octave2 or octave3, but
    8007 # 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 else
    8018   with_mkoctfile3=no
    8019 fi
    8020 
    8021 
    8022 if test "$with_mkoctfile3" != "no" ; then
    8023   if test "$with_mkoctfile3" = "yes" ; then
    8024     # Extract the first word of "mkoctfile", so it can be a program name with args.
    8025 set dummy mkoctfile; ac_word=$2
    8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8027 $as_echo_n "checking for $ac_word... " >&6; }
    8028 if ${ac_cv_path_mkoctfile3+:} false; then :
    8029   $as_echo_n "(cached) " >&6
    8030 else
    8031   case $mkoctfile3 in
    8032   [\\/]* | ?:[\\/]*)
    8033   ac_cv_path_mkoctfile3="$mkoctfile3" # Let the user override the test with a path.
    8034   ;;
    8035   *)
    8036   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8037 for as_dir in $PATH
    8038 do
    8039   IFS=$as_save_IFS
    8040   test -z "$as_dir" && as_dir=.
    8041     for ac_exec_ext in '' $ac_executable_extensions; do
    8042   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8043     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" >&5
    8045     break 2
    8046   fi
    8047 done
    8048   done
    8049 IFS=$as_save_IFS
    8050 
    8051   ;;
    8052 esac
    8053 fi
    8054 mkoctfile3=$ac_cv_path_mkoctfile3
    8055 if test -n "$mkoctfile3"; then
    8056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile3" >&5
    8057 $as_echo "$mkoctfile3" >&6; }
    8058 else
    8059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8060 $as_echo "no" >&6; }
    8061 fi
    8062 
    8063 
    8064   else
    8065     MKOCTFILE3=$with_mkoctfile3
    8066   fi
    8067   OCTAVE_VERSION=`${MKOCTFILE3} --version 2>&1 | cut -d' ' -f3`
    8068   OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1`
    8069 fi
    8070 
    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 else
    8078   with_mkoctfile2=no
    8079 fi
    8080 
    8081 
    8082 if test "$with_mkoctfile2" != "no" ; then
    8083   if test "$with_mkoctfile2" = "yes" ; then
    8084     # Extract the first word of "mkoctfile", so it can be a program name with args.
    8085 set dummy mkoctfile; ac_word=$2
    8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8087 $as_echo_n "checking for $ac_word... " >&6; }
    8088 if ${ac_cv_path_mkoctfile2+:} false; then :
    8089   $as_echo_n "(cached) " >&6
    8090 else
    8091   case $mkoctfile2 in
    8092   [\\/]* | ?:[\\/]*)
    8093   ac_cv_path_mkoctfile2="$mkoctfile2" # Let the user override the test with a path.
    8094   ;;
    8095   *)
    8096   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8097 for as_dir in $PATH
    8098 do
    8099   IFS=$as_save_IFS
    8100   test -z "$as_dir" && as_dir=.
    8101     for ac_exec_ext in '' $ac_executable_extensions; do
    8102   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8103     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" >&5
    8105     break 2
    8106   fi
    8107 done
    8108   done
    8109 IFS=$as_save_IFS
    8110 
    8111   ;;
    8112 esac
    8113 fi
    8114 mkoctfile2=$ac_cv_path_mkoctfile2
    8115 if test -n "$mkoctfile2"; then
    8116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile2" >&5
    8117 $as_echo "$mkoctfile2" >&6; }
    8118 else
    8119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8120 $as_echo "no" >&6; }
    8121 fi
    8122 
    8123 
    8124   else
    8125     MKOCTFILE2=$with_mkoctfile2
    8126   fi
    8127   # Have to use octave to get a version, instead of mkoctfile.
    8128   octave=`dirname $MKOCTFILE2`/octave
    8129   OCTAVE_VERSION=`${octave} -v | grep version | cut -d' ' -f4`
    8130   OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1`
    8131 fi
    8132 
    8133 
    8134 
    8135 # Check whether --with-perl was given.
    8136 if test "${with_perl+set}" = set; then :
    8137   withval=$with_perl;
    8138 else
    8139   with_perl=yes
    8140 fi
    8141 
    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" ; then
    8156   if test "$with_perl" != "yes" ; then
    8157     # Extract the first word of "perl", so it can be a program name with args.
    8158 set dummy perl; ac_word=$2
    8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8160 $as_echo_n "checking for $ac_word... " >&6; }
    8161 if ${ac_cv_path_PERL+:} false; then :
    8162   $as_echo_n "(cached) " >&6
    8163 else
    8164   case $PERL in
    8165   [\\/]* | ?:[\\/]*)
    8166   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
    8167   ;;
    8168   *)
    8169   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8170 as_dummy="$with_perl/bin:$with_perl"
    8171 for as_dir in $as_dummy
    8172 do
    8173   IFS=$as_save_IFS
    8174   test -z "$as_dir" && as_dir=.
    8175     for ac_exec_ext in '' $ac_executable_extensions; do
    8176   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8177     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" >&5
    8179     break 2
    8180   fi
    8181 done
    8182   done
    8183 IFS=$as_save_IFS
    8184 
    8185   ;;
    8186 esac
    8187 fi
    8188 PERL=$ac_cv_path_PERL
    8189 if test -n "$PERL"; then
    8190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
    8191 $as_echo "$PERL" >&6; }
    8192 else
    8193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8194 $as_echo "no" >&6; }
    8195 fi
    8196 
    8197 
    8198     # Extract the first word of "xsubpp", so it can be a program name with args.
    8199 set dummy xsubpp; ac_word=$2
    8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8201 $as_echo_n "checking for $ac_word... " >&6; }
    8202 if ${ac_cv_path_XSUBPP+:} false; then :
    8203   $as_echo_n "(cached) " >&6
    8204 else
    8205   case $XSUBPP in
    8206   [\\/]* | ?:[\\/]*)
    8207   ac_cv_path_XSUBPP="$XSUBPP" # Let the user override the test with a path.
    8208   ;;
    8209   *)
    8210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8211 as_dummy="$with_perl/bin:$with_perl"
    8212 for as_dir in $as_dummy
    8213 do
    8214   IFS=$as_save_IFS
    8215   test -z "$as_dir" && as_dir=.
    8216     for ac_exec_ext in '' $ac_executable_extensions; do
    8217   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8218     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" >&5
    8220     break 2
    8221   fi
    8222 done
    8223   done
    8224 IFS=$as_save_IFS
    8225 
    8226   ;;
    8227 esac
    8228 fi
    8229 XSUBPP=$ac_cv_path_XSUBPP
    8230 if test -n "$XSUBPP"; then
    8231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5
    8232 $as_echo "$XSUBPP" >&6; }
    8233 else
    8234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8235 $as_echo "no" >&6; }
    8236 fi
    8237 
    8238 
    8239   else
    8240     # Extract the first word of "perl", so it can be a program name with args.
    8241 set dummy perl; ac_word=$2
    8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8243 $as_echo_n "checking for $ac_word... " >&6; }
    8244 if ${ac_cv_path_PERL+:} false; then :
    8245   $as_echo_n "(cached) " >&6
    8246 else
    8247   case $PERL in
    8248   [\\/]* | ?:[\\/]*)
    8249   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
    8250   ;;
    8251   *)
    8252   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8253 for as_dir in $PATH
    8254 do
    8255   IFS=$as_save_IFS
    8256   test -z "$as_dir" && as_dir=.
    8257     for ac_exec_ext in '' $ac_executable_extensions; do
    8258   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8259     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" >&5
    8261     break 2
    8262   fi
    8263 done
    8264   done
    8265 IFS=$as_save_IFS
    8266 
    8267   ;;
    8268 esac
    8269 fi
    8270 PERL=$ac_cv_path_PERL
    8271 if test -n "$PERL"; then
    8272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
    8273 $as_echo "$PERL" >&6; }
    8274 else
    8275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8276 $as_echo "no" >&6; }
    8277 fi
    8278 
    8279 
    8280     # Extract the first word of "xsubpp", so it can be a program name with args.
    8281 set dummy xsubpp; ac_word=$2
    8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8283 $as_echo_n "checking for $ac_word... " >&6; }
    8284 if ${ac_cv_path_XSUBPP+:} false; then :
    8285   $as_echo_n "(cached) " >&6
    8286 else
    8287   case $XSUBPP in
    8288   [\\/]* | ?:[\\/]*)
    8289   ac_cv_path_XSUBPP="$XSUBPP" # Let the user override the test with a path.
    8290   ;;
    8291   *)
    8292   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8293 for as_dir in $PATH
    8294 do
    8295   IFS=$as_save_IFS
    8296   test -z "$as_dir" && as_dir=.
    8297     for ac_exec_ext in '' $ac_executable_extensions; do
    8298   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8299     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" >&5
    8301     break 2
    8302   fi
    8303 done
    8304   done
    8305 IFS=$as_save_IFS
    8306 
    8307   ;;
    8308 esac
    8309 fi
    8310 XSUBPP=$ac_cv_path_XSUBPP
    8311 if test -n "$XSUBPP"; then
    8312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5
    8313 $as_echo "$XSUBPP" >&6; }
    8314 else
    8315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8316 $as_echo "no" >&6; }
    8317 fi
    8318 
    8319 
    8320   fi
    8321   if test "x${PERL}" != "x" ; then
    8322     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}" ; then
    8333       PERL_LIBSPEC="-L${PERL_ARCHLIBEXP}/CORE -lperl"
    8334     fi
    8335   fi
    8336 fi
    8337 
    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 else
    8356   with_python=yes
    8357 fi
    8358 
    8359 
    8360 if test "$with_python" != "no" ; then
    8361   if test "$with_python" = "yes" ; then
    8362     # 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=$2
    8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8365 $as_echo_n "checking for $ac_word... " >&6; }
    8366 if ${ac_cv_path_PYTHON+:} false; then :
    8367   $as_echo_n "(cached) " >&6
    8368 else
    8369   case $PYTHON in
    8370   [\\/]* | ?:[\\/]*)
    8371   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
    8372   ;;
    8373   *)
    8374   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8375 for as_dir in $PATH
    8376 do
    8377   IFS=$as_save_IFS
    8378   test -z "$as_dir" && as_dir=.
    8379     for ac_exec_ext in '' $ac_executable_extensions; do
    8380   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8381     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" >&5
    8383     break 2
    8384   fi
    8385 done
    8386   done
    8387 IFS=$as_save_IFS
    8388 
    8389   ;;
    8390 esac
    8391 fi
    8392 PYTHON=$ac_cv_path_PYTHON
    8393 if test -n "$PYTHON"; then
    8394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    8395 $as_echo "$PYTHON" >&6; }
    8396 else
    8397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8398 $as_echo "no" >&6; }
    8399 fi
    8400 
    8401 
    8402   else
    8403     # Extract the first word of "python", so it can be a program name with args.
    8404 set dummy python; ac_word=$2
    8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8406 $as_echo_n "checking for $ac_word... " >&6; }
    8407 if ${ac_cv_path_PYTHON+:} false; then :
    8408   $as_echo_n "(cached) " >&6
    8409 else
    8410   case $PYTHON in
    8411   [\\/]* | ?:[\\/]*)
    8412   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
    8413   ;;
    8414   *)
    8415   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8416 as_dummy="${with_python}/bin:${with_python}"
    8417 for as_dir in $as_dummy
    8418 do
    8419   IFS=$as_save_IFS
    8420   test -z "$as_dir" && as_dir=.
    8421     for ac_exec_ext in '' $ac_executable_extensions; do
    8422   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8423     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" >&5
    8425     break 2
    8426   fi
    8427 done
    8428   done
    8429 IFS=$as_save_IFS
    8430 
    8431   ;;
    8432 esac
    8433 fi
    8434 PYTHON=$ac_cv_path_PYTHON
    8435 if test -n "$PYTHON"; then
    8436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    8437 $as_echo "$PYTHON" >&6; }
    8438 else
    8439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8440 $as_echo "no" >&6; }
    8441 fi
    8442 
    8443 
    8444   fi
    8445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
    8446 $as_echo_n "checking for Python version... " >&6; }
    8447   if test "x${PYTHON}" != "x"; then
    8448     PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
    8449   fi
    8450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
    8451 $as_echo "$PYTHON_VERSION" >&6; }
    8452 fi
    8453 
    8454 if test "x${PYTHON_VERSION}" != "x"; then
    8455   PYTHON_INCLUDES=$incdir
    8456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
    8457 $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/null
    8461   if test $? = 0 ; then
    8462     PYTHON_DISTUTILS="yes"
    8463   fi
    8464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
    8465 $as_echo "$PYTHON_DISTUTILS" >&6; }
    8466   if test "${PYTHON_DISTUTILS}" = "yes" ; then
    8467     PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
    8468     #
    8469     # Check for Python include path
    8470     #
    8471     { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
    8472 $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" >&5
    8476 $as_echo "$PYTHON_INCDIR" >&6; }
    8477     #
    8478     # Python distutils found, get settings from python directly
    8479     #
    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=$CPPFLAGS
    8487     CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"
    8488     for ac_header in Python.h
    8489 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 <<_ACEOF
    8493 #define HAVE_PYTHON_H 1
    8494 _ACEOF
    8495  found=yes
    8496 else
    8497   found=no
    8498 fi
    8499 
    8500 done
    8501 
    8502     CPPFLAGS=$save_CPPFLAGS
    8503     if test "$found" = "no" ; then
    8504       PYTHON_DISTUTILS=""
    8505     fi
    8506   fi
    8507 fi
    8508 
    8509 
    8510 
    8511 # Check whether --with-java was given.
    8512 if test "${with_java+set}" = set; then :
    8513   withval=$with_java;
    8514 else
    8515   with_java=yes
    8516 fi
    8517 
    8518 JAVA=""
    8519 JAVAH=""
    8520 JAVAC=""
    8521 JAVA_DEV_PKG="no"
    8522 
    8523 if test "${with_java}" != "no" ; then
    8524   if test "${with_java}" = "yes" ; then
    8525     # Extract the first word of "java", so it can be a program name with args.
    8526 set dummy java; ac_word=$2
    8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8528 $as_echo_n "checking for $ac_word... " >&6; }
    8529 if ${ac_cv_path_JAVA+:} false; then :
    8530   $as_echo_n "(cached) " >&6
    8531 else
    8532   case $JAVA in
    8533   [\\/]* | ?:[\\/]*)
    8534   ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path.
    8535   ;;
    8536   *)
    8537   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8538 for as_dir in $PATH
    8539 do
    8540   IFS=$as_save_IFS
    8541   test -z "$as_dir" && as_dir=.
    8542     for ac_exec_ext in '' $ac_executable_extensions; do
    8543   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8544     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" >&5
    8546     break 2
    8547   fi
    8548 done
    8549   done
    8550 IFS=$as_save_IFS
    8551 
    8552   ;;
    8553 esac
    8554 fi
    8555 JAVA=$ac_cv_path_JAVA
    8556 if test -n "$JAVA"; then
    8557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    8558 $as_echo "$JAVA" >&6; }
    8559 else
    8560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8561 $as_echo "no" >&6; }
    8562 fi
    8563 
    8564 
    8565     # Extract the first word of "javac", so it can be a program name with args.
    8566 set dummy javac; ac_word=$2
    8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8568 $as_echo_n "checking for $ac_word... " >&6; }
    8569 if ${ac_cv_path_JAVAC+:} false; then :
    8570   $as_echo_n "(cached) " >&6
    8571 else
    8572   case $JAVAC in
    8573   [\\/]* | ?:[\\/]*)
    8574   ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
    8575   ;;
    8576   *)
    8577   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8578 for as_dir in $PATH
    8579 do
    8580   IFS=$as_save_IFS
    8581   test -z "$as_dir" && as_dir=.
    8582     for ac_exec_ext in '' $ac_executable_extensions; do
    8583   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8584     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" >&5
    8586     break 2
    8587   fi
    8588 done
    8589   done
    8590 IFS=$as_save_IFS
    8591 
    8592   ;;
    8593 esac
    8594 fi
    8595 JAVAC=$ac_cv_path_JAVAC
    8596 if test -n "$JAVAC"; then
    8597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    8598 $as_echo "$JAVAC" >&6; }
    8599 else
    8600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8601 $as_echo "no" >&6; }
    8602 fi
    8603 
    8604 
    8605     # Extract the first word of "javah", so it can be a program name with args.
    8606 set dummy javah; ac_word=$2
    8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8608 $as_echo_n "checking for $ac_word... " >&6; }
    8609 if ${ac_cv_path_JAVAH+:} false; then :
    8610   $as_echo_n "(cached) " >&6
    8611 else
    8612   case $JAVAH in
    8613   [\\/]* | ?:[\\/]*)
    8614   ac_cv_path_JAVAH="$JAVAH" # Let the user override the test with a path.
    8615   ;;
    8616   *)
    8617   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8618 for as_dir in $PATH
    8619 do
    8620   IFS=$as_save_IFS
    8621   test -z "$as_dir" && as_dir=.
    8622     for ac_exec_ext in '' $ac_executable_extensions; do
    8623   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8624     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" >&5
    8626     break 2
    8627   fi
    8628 done
    8629   done
    8630 IFS=$as_save_IFS
    8631 
    8632   ;;
    8633 esac
    8634 fi
    8635 JAVAH=$ac_cv_path_JAVAH
    8636 if test -n "$JAVAH"; then
    8637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5
    8638 $as_echo "$JAVAH" >&6; }
    8639 else
    8640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8641 $as_echo "no" >&6; }
    8642 fi
    8643 
    8644 
    8645   else
    8646     # Extract the first word of "java", so it can be a program name with args.
    8647 set dummy java; ac_word=$2
    8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8649 $as_echo_n "checking for $ac_word... " >&6; }
    8650 if ${ac_cv_path_JAVA+:} false; then :
    8651   $as_echo_n "(cached) " >&6
    8652 else
    8653   case $JAVA in
    8654   [\\/]* | ?:[\\/]*)
    8655   ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path.
    8656   ;;
    8657   *)
    8658   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8659 as_dummy="${with_java}/bin:${with_java}"
    8660 for as_dir in $as_dummy
    8661 do
    8662   IFS=$as_save_IFS
    8663   test -z "$as_dir" && as_dir=.
    8664     for ac_exec_ext in '' $ac_executable_extensions; do
    8665   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8666     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" >&5
    8668     break 2
    8669   fi
    8670 done
    8671   done
    8672 IFS=$as_save_IFS
    8673 
    8674   ;;
    8675 esac
    8676 fi
    8677 JAVA=$ac_cv_path_JAVA
    8678 if test -n "$JAVA"; then
    8679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    8680 $as_echo "$JAVA" >&6; }
    8681 else
    8682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8683 $as_echo "no" >&6; }
    8684 fi
    8685 
    8686 
    8687     # Extract the first word of "javac", so it can be a program name with args.
    8688 set dummy javac; ac_word=$2
    8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8690 $as_echo_n "checking for $ac_word... " >&6; }
    8691 if ${ac_cv_path_JAVAC+:} false; then :
    8692   $as_echo_n "(cached) " >&6
    8693 else
    8694   case $JAVAC in
    8695   [\\/]* | ?:[\\/]*)
    8696   ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
    8697   ;;
    8698   *)
    8699   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8700 as_dummy="${with_java}/bin:${with_java}"
    8701 for as_dir in $as_dummy
    8702 do
    8703   IFS=$as_save_IFS
    8704   test -z "$as_dir" && as_dir=.
    8705     for ac_exec_ext in '' $ac_executable_extensions; do
    8706   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8707     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" >&5
    8709     break 2
    8710   fi
    8711 done
    8712   done
    8713 IFS=$as_save_IFS
    8714 
    8715   ;;
    8716 esac
    8717 fi
    8718 JAVAC=$ac_cv_path_JAVAC
    8719 if test -n "$JAVAC"; then
    8720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    8721 $as_echo "$JAVAC" >&6; }
    8722 else
    8723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8724 $as_echo "no" >&6; }
    8725 fi
    8726 
    8727 
    8728     # Extract the first word of "javah", so it can be a program name with args.
    8729 set dummy javah; ac_word=$2
    8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8731 $as_echo_n "checking for $ac_word... " >&6; }
    8732 if ${ac_cv_path_JAVAH+:} false; then :
    8733   $as_echo_n "(cached) " >&6
    8734 else
    8735   case $JAVAH in
    8736   [\\/]* | ?:[\\/]*)
    8737   ac_cv_path_JAVAH="$JAVAH" # Let the user override the test with a path.
    8738   ;;
    8739   *)
    8740   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8741 as_dummy="${with_java}/bin:${with_java}"
    8742 for as_dir in $as_dummy
    8743 do
    8744   IFS=$as_save_IFS
    8745   test -z "$as_dir" && as_dir=.
    8746     for ac_exec_ext in '' $ac_executable_extensions; do
    8747   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8748     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" >&5
    8750     break 2
    8751   fi
    8752 done
    8753   done
    8754 IFS=$as_save_IFS
    8755 
    8756   ;;
    8757 esac
    8758 fi
    8759 JAVAH=$ac_cv_path_JAVAH
    8760 if test -n "$JAVAH"; then
    8761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5
    8762 $as_echo "$JAVAH" >&6; }
    8763 else
    8764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8765 $as_echo "no" >&6; }
    8766 fi
    8767 
    8768 
    8769   fi
    8770 fi
    8771 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" ; then
    8777   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   do
    8788     if test -r "${d}/include/jni.h" ; then
    8789       JDK=${d}
    8790       JAVA_HOME=$JDK
    8791       JAVA_INC_DIR=${JDK}/include
    8792       JAVA_INC_SPEC="-I${JDK}/include -I${JDK}/include/linux"
    8793       break;
    8794     fi
    8795     if test -r "${d}/Headers/jni.h" ; then
    8796       JDK=${d}
    8797       JAVA_HOME=$JDK
    8798       JAVA_INC_DIR=${JDK}/Headers
    8799       JAVA_INC_SPEC="-I${JDK}/Headers -I${JDK}/Headers/macos"
    8800       break;
    8801     fi
    8802   done
    8803 fi
    8804 
    8805 
    8806 
    8807 # Check whether --with-R was given.
    8808 if test "${with_R+set}" = set; then :
    8809   withval=$with_R;
    8810 else
    8811   with_R=yes
    8812 fi
    8813 
    8814 
    8815 R=""
    8816 if test "$with_R" != "no" ; then
    8817   if test "$with_R" = "yes" ; then
    8818     # Extract the first word of "R", so it can be a program name with args.
    8819 set dummy R; ac_word=$2
    8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8821 $as_echo_n "checking for $ac_word... " >&6; }
    8822 if ${ac_cv_path_R+:} false; then :
    8823   $as_echo_n "(cached) " >&6
    8824 else
    8825   case $R in
    8826   [\\/]* | ?:[\\/]*)
    8827   ac_cv_path_R="$R" # Let the user override the test with a path.
    8828   ;;
    8829   *)
    8830   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8831 for as_dir in $PATH
    8832 do
    8833   IFS=$as_save_IFS
    8834   test -z "$as_dir" && as_dir=.
    8835     for ac_exec_ext in '' $ac_executable_extensions; do
    8836   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8837     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" >&5
    8839     break 2
    8840   fi
    8841 done
    8842   done
    8843 IFS=$as_save_IFS
    8844 
    8845   ;;
    8846 esac
    8847 fi
    8848 R=$ac_cv_path_R
    8849 if test -n "$R"; then
    8850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&5
    8851 $as_echo "$R" >&6; }
    8852 else
    8853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8854 $as_echo "no" >&6; }
    8855 fi
    8856 
    8857 
    8858   else
    8859     # Extract the first word of "R", so it can be a program name with args.
    8860 set dummy R; ac_word=$2
    8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8862 $as_echo_n "checking for $ac_word... " >&6; }
    8863 if ${ac_cv_path_R+:} false; then :
    8864   $as_echo_n "(cached) " >&6
    8865 else
    8866   case $R in
    8867   [\\/]* | ?:[\\/]*)
    8868   ac_cv_path_R="$R" # Let the user override the test with a path.
    8869   ;;
    8870   *)
    8871   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8872 as_dummy="${with_R}/bin:${with_R}"
    8873 for as_dir in $as_dummy
    8874 do
    8875   IFS=$as_save_IFS
    8876   test -z "$as_dir" && as_dir=.
    8877     for ac_exec_ext in '' $ac_executable_extensions; do
    8878   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8879     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" >&5
    8881     break 2
    8882   fi
    8883 done
    8884   done
    8885 IFS=$as_save_IFS
    8886 
    8887   ;;
    8888 esac
    8889 fi
    8890 R=$ac_cv_path_R
    8891 if test -n "$R"; then
    8892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&5
    8893 $as_echo "$R" >&6; }
    8894 else
    8895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8896 $as_echo "no" >&6; }
    8897 fi
    8898 
    8899 
    8900   fi
    8901 fi
    8902 
    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" 5
    8907 
    8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
    8909 $as_echo_n "checking build system type... " >&6; }
    8910 if ${ac_cv_build+:} false; then :
    8911   $as_echo_n "(cached) " >&6
    8912 else
    8913   ac_build_alias=$build_alias
    8914 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" 5
    8918 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" 5
    8920 
    8921 fi
    8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
    8923 $as_echo "$ac_cv_build" >&6; }
    8924 case $ac_cv_build in
    8925 *-*-*) ;;
    8926 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
    8927 esac
    8928 build=$ac_cv_build
    8929 ac_save_IFS=$IFS; IFS='-'
    8930 set x $ac_cv_build
    8931 shift
    8932 build_cpu=$1
    8933 build_vendor=$2
    8934 shift; shift
    8935 # Remember, the first character of IFS is used to create $*,
    8936 # except with old shells:
    8937 build_os=$*
    8938 IFS=$ac_save_IFS
    8939 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
    8940 
    8941 
    8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
    8943 $as_echo_n "checking host system type... " >&6; }
    8944 if ${ac_cv_host+:} false; then :
    8945   $as_echo_n "(cached) " >&6
    8946 else
    8947   if test "x$host_alias" = x; then
    8948   ac_cv_host=$ac_cv_build
    8949 else
    8950   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" 5
    8952 fi
    8953 
    8954 fi
    8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
    8956 $as_echo "$ac_cv_host" >&6; }
    8957 case $ac_cv_host in
    8958 *-*-*) ;;
    8959 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
    8960 esac
    8961 host=$ac_cv_host
    8962 ac_save_IFS=$IFS; IFS='-'
    8963 set x $ac_cv_host
    8964 shift
    8965 host_cpu=$1
    8966 host_vendor=$2
    8967 shift; shift
    8968 # Remember, the first character of IFS is used to create $*,
    8969 # except with old shells:
    8970 host_os=$*
    8971 IFS=$ac_save_IFS
    8972 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    8973 
    8974 
    8975 
    8976 
    8977 
    8978 # Check whether --with-ruby was given.
    8979 if test "${with_ruby+set}" = set; then :
    8980   withval=$with_ruby;  RUBY=$withval
    8981 else
    8982    RUBY=ruby
    8983 fi
    8984 
    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=$withval
    8989 else
    8990    ruby_sitelibdir=NONE
    8991 fi
    8992 
    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"; then
    9027   # 1.9
    9028   RUBY_CPPFLAGS="-I${RUBY_CONFIG_RUBYHDRDIR}"
    9029   RUBY_CPPFLAGS="${RUBY_CPPFLAGS} -I${RUBY_CONFIG_RUBYHDRDIR}/${RUBY_CONFIG_ARCH}"
    9030 else
    9031   # 1.8
    9032   RUBY_CPPFLAGS="-I${RUBY_CONFIG_ARCHDIR}"
    9033 fi
    9034 
    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 then
    9056   RUBY_SITELIBDIR="${ruby_sitelibdir}"
    9057 else
    9058   if test "x${prefix}x" = "xNONEx"
    9059   then
    9060     RUBY_SITELIBDIR=`
    9061           $RUBY -rrbconfig -e "puts(Config::CONFIG['sitelibdir'] || '')"`
    9062   else
    9063     sitelibdir_no_prefix=`$RUBY -rrbconfig \
    9064     -e "include Config; \
    9065     puts CONFIG['sitelibdir'].sub(CONFIG['prefix'], '')"`
    9066     RUBY_SITELIBDIR="${prefix}/${sitelibdir_no_prefix}"
    9067   fi
    9068 fi
    9069 
    9070 
    9071 CPPFLAGS_save="${CPPFLAGS}"
    9072 CPPFLAGS="${CPPFLAGS} ${RUBY_CPPFLAGS}"
    9073 CXXFLAGS="${CPPFLAGS}"
    9074 for ac_header in ruby.h
    9075 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 <<_ACEOF
    9079 #define HAVE_RUBY_H 1
    9080 _ACEOF
    9081 
    9082 fi
    9083 
    9084 done
    9085 
    9086 HAVE_RUBY_H=${ac_cv_header_ruby_h}
    9087 
    9088 
    9089 for ac_header in node.h
    9090 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 <<_ACEOF
    9097 #define HAVE_NODE_H 1
    9098 _ACEOF
    9099 
    9100 fi
    9101 
    9102 done
    9103 
    9104 for ac_header in ruby/node.h
    9105 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 <<_ACEOF
    9112 #define HAVE_RUBY_NODE_H 1
    9113 _ACEOF
    9114 
    9115 $as_echo "#define REALLY_HAVE_RUBY_NODE_H /**/" >>confdefs.h
    9116 
    9117 fi
    9118 
    9119 done
    9120 
    9121 for ac_header in version.h
    9122 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 <<_ACEOF
    9129 #define HAVE_VERSION_H 1
    9130 _ACEOF
    9131 
    9132 fi
    9133 
    9134 done
    9135 
    9136 for ac_header in env.h
    9137 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 <<_ACEOF
    9144 #define HAVE_ENV_H 1
    9145 _ACEOF
    9146 
    9147 fi
    9148 
    9149 done
    9150 
    9151 
    9152 CPPFLAGS="${CPPFLAGS_save}"
    9153 
    9154 
    9155 case $host_os in
    9156   *mingw32* ) MINGW32=yes;;
    9157           * ) MINGW32=no;;
    9158 esac
    9159 
    9160 
    9161 if test x"${MINGW32}"x = xyesx; then
    9162 
    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 fi
    9171 
    9172 
    9173 
    91747540RP_BASE=`pwd`
    91757541
     
    96468012
    96478013
    9648 #--------------------------------------------------------------------
    9649 # search for ffmpeg libraries libavcodec, libavformat, libswscale
    9650 #--------------------------------------------------------------------
    9651 if test "${with_ffmpeg}" != "no" ; then
    9652   if test "${with_ffmpeg}" = "yes" ; then
    9653     # Extract the first word of "ffmpeg", so it can be a program name with args.
    9654 set dummy ffmpeg; ac_word=$2
    9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    9656 $as_echo_n "checking for $ac_word... " >&6; }
    9657 if ${ac_cv_path_FFMPEG+:} false; then :
    9658   $as_echo_n "(cached) " >&6
    9659 else
    9660   case $FFMPEG in
    9661   [\\/]* | ?:[\\/]*)
    9662   ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path.
    9663   ;;
    9664   *)
    9665   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    9666 for as_dir in $PATH
    9667 do
    9668   IFS=$as_save_IFS
    9669   test -z "$as_dir" && as_dir=.
    9670     for ac_exec_ext in '' $ac_executable_extensions; do
    9671   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    9672     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" >&5
    9674     break 2
    9675   fi
    9676 done
    9677   done
    9678 IFS=$as_save_IFS
    9679 
    9680   ;;
    9681 esac
    9682 fi
    9683 FFMPEG=$ac_cv_path_FFMPEG
    9684 if test -n "$FFMPEG"; then
    9685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5
    9686 $as_echo "$FFMPEG" >&6; }
    9687 else
    9688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    9689 $as_echo "no" >&6; }
    9690 fi
    9691 
    9692 
    9693   else
    9694     # Extract the first word of "ffmpeg", so it can be a program name with args.
    9695 set dummy ffmpeg; ac_word=$2
    9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    9697 $as_echo_n "checking for $ac_word... " >&6; }
    9698 if ${ac_cv_path_FFMPEG+:} false; then :
    9699   $as_echo_n "(cached) " >&6
    9700 else
    9701   case $FFMPEG in
    9702   [\\/]* | ?:[\\/]*)
    9703   ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path.
    9704   ;;
    9705   *)
    9706   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    9707 as_dummy="${with_ffmpeg}/bin:${with_ffmpeg}"
    9708 for as_dir in $as_dummy
    9709 do
    9710   IFS=$as_save_IFS
    9711   test -z "$as_dir" && as_dir=.
    9712     for ac_exec_ext in '' $ac_executable_extensions; do
    9713   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    9714     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" >&5
    9716     break 2
    9717   fi
    9718 done
    9719   done
    9720 IFS=$as_save_IFS
    9721 
    9722   ;;
    9723 esac
    9724 fi
    9725 FFMPEG=$ac_cv_path_FFMPEG
    9726 if test -n "$FFMPEG"; then
    9727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5
    9728 $as_echo "$FFMPEG" >&6; }
    9729 else
    9730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    9731 $as_echo "no" >&6; }
    9732 fi
    9733 
    9734 
    9735   fi
    9736   if test "${FFMPEG}x" != "x" ; then
    9737 
    9738 $as_echo "#define HAVE_FFMPEG 1" >>confdefs.h
    9739 
    9740   fi
    9741 fi
    9742 
    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.h
    9744 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 1
    9748 
    9749 "
    9750 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    9751   cat >>confdefs.h <<_ACEOF
    9752 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9753 _ACEOF
    9754 
    9755 fi
    9756 
    9757 done
    9758 
    9759 
    9760 HAVE_FFMPEG_LIBS=""
    9761 if test "${with_ffmpeg}" != "no"; then
    9762   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" \) ] ; then
    9770     HAVE_FFMPEG_LIBS="yes"
    9771 
    9772 $as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h
    9773 
    9774   fi
    9775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavcodec" >&5
    9776 $as_echo_n "checking for main in -lavcodec... " >&6; }
    9777 if ${ac_cv_lib_avcodec_main+:} false; then :
    9778   $as_echo_n "(cached) " >&6
    9779 else
    9780   ac_check_lib_save_LIBS=$LIBS
    9781 LIBS="-lavcodec  $LIBS"
    9782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    9783 /* end confdefs.h.  */
    9784 
    9785 
    9786 int
    9787 main ()
    9788 {
    9789 return main ();
    9790   ;
    9791   return 0;
    9792 }
    9793 _ACEOF
    9794 if ac_fn_cxx_try_link "$LINENO"; then :
    9795   ac_cv_lib_avcodec_main=yes
    9796 else
    9797   ac_cv_lib_avcodec_main=no
    9798 fi
    9799 rm -f core conftest.err conftest.$ac_objext \
    9800     conftest$ac_exeext conftest.$ac_ext
    9801 LIBS=$ac_check_lib_save_LIBS
    9802 fi
    9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_main" >&5
    9804 $as_echo "$ac_cv_lib_avcodec_main" >&6; }
    9805 if test "x$ac_cv_lib_avcodec_main" = xyes; then :
    9806   cat >>confdefs.h <<_ACEOF
    9807 #define HAVE_LIBAVCODEC 1
    9808 _ACEOF
    9809 
    9810   LIBS="-lavcodec $LIBS"
    9811 
    9812 else
    9813   as_fn_error $? "librappture requires libavcodec" "$LINENO" 5
    9814 fi
    9815 
    9816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavutil" >&5
    9817 $as_echo_n "checking for main in -lavutil... " >&6; }
    9818 if ${ac_cv_lib_avutil_main+:} false; then :
    9819   $as_echo_n "(cached) " >&6
    9820 else
    9821   ac_check_lib_save_LIBS=$LIBS
    9822 LIBS="-lavutil  $LIBS"
    9823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    9824 /* end confdefs.h.  */
    9825 
    9826 
    9827 int
    9828 main ()
    9829 {
    9830 return main ();
    9831   ;
    9832   return 0;
    9833 }
    9834 _ACEOF
    9835 if ac_fn_cxx_try_link "$LINENO"; then :
    9836   ac_cv_lib_avutil_main=yes
    9837 else
    9838   ac_cv_lib_avutil_main=no
    9839 fi
    9840 rm -f core conftest.err conftest.$ac_objext \
    9841     conftest$ac_exeext conftest.$ac_ext
    9842 LIBS=$ac_check_lib_save_LIBS
    9843 fi
    9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_main" >&5
    9845 $as_echo "$ac_cv_lib_avutil_main" >&6; }
    9846 if test "x$ac_cv_lib_avutil_main" = xyes; then :
    9847   cat >>confdefs.h <<_ACEOF
    9848 #define HAVE_LIBAVUTIL 1
    9849 _ACEOF
    9850 
    9851   LIBS="-lavutil $LIBS"
    9852 
    9853 else
    9854   as_fn_error $? "librappture requires libavutil" "$LINENO" 5
    9855 fi
    9856 
    9857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavformat" >&5
    9858 $as_echo_n "checking for main in -lavformat... " >&6; }
    9859 if ${ac_cv_lib_avformat_main+:} false; then :
    9860   $as_echo_n "(cached) " >&6
    9861 else
    9862   ac_check_lib_save_LIBS=$LIBS
    9863 LIBS="-lavformat  $LIBS"
    9864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    9865 /* end confdefs.h.  */
    9866 
    9867 
    9868 int
    9869 main ()
    9870 {
    9871 return main ();
    9872   ;
    9873   return 0;
    9874 }
    9875 _ACEOF
    9876 if ac_fn_cxx_try_link "$LINENO"; then :
    9877   ac_cv_lib_avformat_main=yes
    9878 else
    9879   ac_cv_lib_avformat_main=no
    9880 fi
    9881 rm -f core conftest.err conftest.$ac_objext \
    9882     conftest$ac_exeext conftest.$ac_ext
    9883 LIBS=$ac_check_lib_save_LIBS
    9884 fi
    9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_main" >&5
    9886 $as_echo "$ac_cv_lib_avformat_main" >&6; }
    9887 if test "x$ac_cv_lib_avformat_main" = xyes; then :
    9888   cat >>confdefs.h <<_ACEOF
    9889 #define HAVE_LIBAVFORMAT 1
    9890 _ACEOF
    9891 
    9892   LIBS="-lavformat $LIBS"
    9893 
    9894 else
    9895   as_fn_error $? "librappture requires libavformat" "$LINENO" 5
    9896 fi
    9897 
    9898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lswscale" >&5
    9899 $as_echo_n "checking for main in -lswscale... " >&6; }
    9900 if ${ac_cv_lib_swscale_main+:} false; then :
    9901   $as_echo_n "(cached) " >&6
    9902 else
    9903   ac_check_lib_save_LIBS=$LIBS
    9904 LIBS="-lswscale  $LIBS"
    9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    9906 /* end confdefs.h.  */
    9907 
    9908 
    9909 int
    9910 main ()
    9911 {
    9912 return main ();
    9913   ;
    9914   return 0;
    9915 }
    9916 _ACEOF
    9917 if ac_fn_cxx_try_link "$LINENO"; then :
    9918   ac_cv_lib_swscale_main=yes
    9919 else
    9920   ac_cv_lib_swscale_main=no
    9921 fi
    9922 rm -f core conftest.err conftest.$ac_objext \
    9923     conftest$ac_exeext conftest.$ac_ext
    9924 LIBS=$ac_check_lib_save_LIBS
    9925 fi
    9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_main" >&5
    9927 $as_echo "$ac_cv_lib_swscale_main" >&6; }
    9928 if test "x$ac_cv_lib_swscale_main" = xyes; then :
    9929   cat >>confdefs.h <<_ACEOF
    9930 #define HAVE_LIBSWSCALE 1
    9931 _ACEOF
    9932 
    9933   LIBS="-lswscale $LIBS"
    9934 
    9935 fi
    9936 
    9937   for ac_func in av_find_stream_info
    9938 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 <<_ACEOF
    9942 #define HAVE_AV_FIND_STREAM_INFO 1
    9943 _ACEOF
    9944 
    9945 fi
    9946 done
    9947 
    9948   for ac_func in av_open_input_file
    9949 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 <<_ACEOF
    9953 #define HAVE_AV_OPEN_INPUT_FILE 1
    9954 _ACEOF
    9955 
    9956 fi
    9957 done
    9958 
    9959   for ac_func in avcodec_decode_video
    9960 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 <<_ACEOF
    9964 #define HAVE_AVCODEC_DECODE_VIDEO 1
    9965 _ACEOF
    9966 
    9967 fi
    9968 done
    9969 
    9970   for ac_func in avcodec_decode_video2
    9971 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 <<_ACEOF
    9975 #define HAVE_AVCODEC_DECODE_VIDEO2 1
    9976 _ACEOF
    9977 
    9978 fi
    9979 done
    9980 
    9981   for ac_func in avcodec_open
    9982 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 <<_ACEOF
    9986 #define HAVE_AVCODEC_OPEN 1
    9987 _ACEOF
    9988 
    9989 fi
    9990 done
    9991 
    9992   for ac_func in avcodec_open2
    9993 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 <<_ACEOF
    9997 #define HAVE_AVCODEC_OPEN2 1
    9998 _ACEOF
    9999 
    10000 fi
    10001 done
    10002 
    10003   for ac_func in avformat_find_stream_info
    10004 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 <<_ACEOF
    10008 #define HAVE_AVFORMAT_FIND_STREAM_INFO 1
    10009 _ACEOF
    10010 
    10011 fi
    10012 done
    10013 
    10014   for ac_func in avformat_open_input
    10015 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 <<_ACEOF
    10019 #define HAVE_AVFORMAT_OPEN_INPUT 1
    10020 _ACEOF
    10021 
    10022 fi
    10023 done
    10024 
    10025   for ac_func in avio_close
    10026 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 <<_ACEOF
    10030 #define HAVE_AVIO_CLOSE 1
    10031 _ACEOF
    10032 
    10033 fi
    10034 done
    10035 
    10036   for ac_func in img_convert
    10037 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 <<_ACEOF
    10041 #define HAVE_IMG_CONVERT 1
    10042 _ACEOF
    10043 
    10044 fi
    10045 done
    10046 
    10047   for ac_func in sws_getCachedContext
    10048 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 <<_ACEOF
    10052 #define HAVE_SWS_GETCACHEDCONTEXT 1
    10053 _ACEOF
    10054 
    10055 fi
    10056 done
    10057 
    10058   for ac_func in sws_scale
    10059 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 <<_ACEOF
    10063 #define HAVE_SWS_SCALE 1
    10064 _ACEOF
    10065 
    10066 fi
    10067 done
    10068 
    10069   for ac_func in url_close
    10070 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 <<_ACEOF
    10074 #define HAVE_URL_CLOSE 1
    10075 _ACEOF
    10076 
    10077 fi
    10078 done
    10079 
    10080   for ac_func in av_close_input_file
    10081 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 <<_ACEOF
    10085 #define HAVE_AV_CLOSE_INPUT_FILE 1
    10086 _ACEOF
    10087 
    10088 fi
    10089 done
    10090 
    10091   for ac_func in avformat_close_input
    10092 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 <<_ACEOF
    10096 #define HAVE_AVFORMAT_CLOSE_INPUT 1
    10097 _ACEOF
    10098 
    10099 fi
    10100 done
    10101 
    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 else
    10107   as_fn_error $? "oops! no av_codec_find_decoder ?!?" "$LINENO" 5
    10108 fi
    10109 
    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 else
    10114   as_fn_error $? "oops! no avcode_alloc_frame ?!?" "$LINENO" 5
    10115 fi
    10116 
    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 else
    10121   as_fn_error $? "oops! no av_rescale_q ?!?" "$LINENO" 5
    10122 fi
    10123 
    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 else
    10128   as_fn_error $? "oops! av_read_frame ?!?" "$LINENO" 5
    10129 fi
    10130 
    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 else
    10135   as_fn_error $? "oops! no av_frame ?!?" "$LINENO" 5
    10136 fi
    10137 
    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 else
    10142   as_fn_error $? "oops! no avcode_default_release_buffer ?!?" "$LINENO" 5
    10143 fi
    10144 
    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 else
    10149   as_fn_error $? "oops! no avpicture_get_size ?!?" "$LINENO" 5
    10150 fi
    10151 
    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 else
    10156   as_fn_error $? "oops! no avpicture_fill ?!?" "$LINENO" 5
    10157 fi
    10158 
    10159   for ac_func in sws_getCachedContext
    10160 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 <<_ACEOF
    10164 #define HAVE_SWS_GETCACHEDCONTEXT 1
    10165 _ACEOF
    10166 
    10167 fi
    10168 done
    10169 
    10170   for ac_func in img_convert
    10171 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 <<_ACEOF
    10175 #define HAVE_IMG_CONVERT 1
    10176 _ACEOF
    10177 
    10178 fi
    10179 done
    10180 
    10181   for ac_func in sws_scale
    10182 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 <<_ACEOF
    10186 #define HAVE_SWS_SCALE 1
    10187 _ACEOF
    10188 
    10189 fi
    10190 done
    10191 
    10192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    10193 /* end confdefs.h.  */
    10194 
    10195 #define __STDC_CONSTANT_MACROS 1
    10196 #include <stdlib.h>
    10197 #ifdef HAVE_FFMPEG_AVCODEC_H
    10198 # include <ffmpeg/avcodec.h>
    10199 #endif
    10200 #ifdef HAVE_LIBAVCODEC_AVCODEC_H
    10201 # include <libavcodec/avcodec.h>
    10202 #endif
    10203 int x = AVMEDIA_TYPE_VIDEO;
    10204 
    10205 int
    10206 main ()
    10207 {
    10208 
    10209   ;
    10210   return 0;
    10211 }
    10212 _ACEOF
    10213 if ac_fn_cxx_try_compile "$LINENO"; then :
    10214   ac_avmedia_type_video="yes"
    10215 else
    10216   ac_avmedia_type_video="no"
    10217 fi
    10218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10219   if test "$ac_avmedia_type_video" == "yes" ; then
    10220 
    10221 $as_echo "#define HAVE_AVMEDIA_TYPE_VIDEO 1" >>confdefs.h
    10222 
    10223   fi
    10224 fi
    10225 
    10226 
    10227 
    10228 
    10229 
    10230 
    10231 
    10232 
    10233 
    10234 
    10235 
    102368014
    102378015
     
    102828060
    102838061
    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"
     8062ac_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"
    103218063
    103228064cat >confcache <<\_ACEOF
     
    104108152test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    104118153
    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.
     8161ac_script='
     8162:mline
     8163/\\$/{
     8164 N
     8165 s,\\\n,,
     8166 b mline
     8167}
     8168t clear
     8169:clear
     8170s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
     8171t quote
     8172s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
     8173t quote
     8174b any
     8175:quote
     8176s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
     8177s/\[/\\&/g
     8178s/\]/\\&/g
     8179s/\$/$$/g
     8180H
     8181:any
     8182${
     8183        g
     8184        s/^\n//
     8185        s/\n/ /g
     8186        p
     8187}
     8188'
     8189DEFS=`sed -n "$ac_script" confdefs.h`
     8190
    104138191
    104148192ac_libobjs=
     
    108458623esac
    108468624
    10847 case $ac_config_headers in *"
    10848 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
    10849 esac
    108508625
    108518626
     
    108538628# Files that config.status was made for.
    108548629config_files="$ac_config_files"
    10855 config_headers="$ac_config_headers"
    108568630
    108578631_ACEOF
     
    108748648      --file=FILE[:TEMPLATE]
    108758649                   instantiate the configuration file FILE
    10876       --header=FILE[:TEMPLATE]
    10877                    instantiate the configuration header FILE
    108788650
    108798651Configuration files:
    108808652$config_files
    10881 
    10882 Configuration headers:
    10883 $config_headers
    108848653
    108858654Report bugs to <rappture@nanohub.org>."
     
    109458714    as_fn_append CONFIG_FILES " '$ac_optarg'"
    109468715    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 )
    109598717    $as_echo "$ac_cs_usage"; exit ;;
    109608718  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     
    110128770do
    110138771  case $ac_config_target in
    11014     "lib/rappture/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/rappture/config.h" ;;
    110158772    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    110168773    "apps/Makefile") CONFIG_FILES="$CONFIG_FILES apps/Makefile" ;;
     
    110288785    "builder/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES builder/pkgIndex.tcl" ;;
    110298786    "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" ;;
    111348787    "packages/DicomToVtk/Makefile") CONFIG_FILES="$CONFIG_FILES packages/DicomToVtk/Makefile" ;;
    111358788    "packages/DicomToVtk/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES packages/DicomToVtk/pkgIndex.tcl" ;;
     
    111698822if $ac_need_defaults; then
    111708823  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
    11171   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
    111728824fi
    111738825
     
    113579009fi # test -n "$CONFIG_FILES"
    113589010
    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
     9012eval set X "  :F $CONFIG_FILES      "
    114699013shift
    114709014for ac_tag
     
    116859229  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    116869230 ;;
    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
    117119232
    117129233
Note: See TracChangeset for help on using the changeset viewer.