Changeset 1903 for branches


Ignore:
Timestamp:
Aug 31, 2010, 9:26:51 PM (14 years ago)
Author:
gah
Message:
 
Location:
branches/blt4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/configure

    r1780 r1903  
    598598LIBOBJS
    599599subdirs
     600HAVE_FFMPEG_LIBS
    600601LDFLAGS_DEFAULT
    601602CFLAGS_DEFAULT
     
    607608SHLIB_LDFLAGS
    608609RP_BASE
    609 DX_LIB_SPEC
    610 DX_INC_SPEC
    611610JAVA_INC_SPEC
    612611JAVA_INC_DIR
     
    645644PERL_INCLUDES
    646645PERL
     646MKOCTFILE3
     647MKOCTFILE2
    647648OCTAVE_VERSION_MAJOR
    648649OCTAVE_VERSION
     650OCTAVE3
     651OCTAVE2
     652mkoctfile3
     653octave3
     654mkoctfile2
     655octave2
    649656MKOCTFILE
    650657OCTAVE
     
    760767with_matlab
    761768with_octave
     769with_octave2
     770with_octave3
    762771with_perl
    763772with_python
     
    14081417  --with-matlab=DIR       location of matlab and mex compiler [default=yes]
    14091418  --with-octave=DIR       location of octave compiler MKOCTFILE [default=yes]
     1419  --with-octave2=DIR      location of octave compiler MKOCTFILE [default=no]
     1420  --with-octave3=DIR      location of octave compiler MKOCTFILE [default=no]
    14101421  --with-perl=DIR         location of perl [default=yes]
    14111422  --with-python=DIR       location of python [default=yes]
     
    71897200        TCLSH="$with_tclsh/bin/tclsh"
    71907201    else
    7191         if test -x "$with_tclsh"
     7202       if test -x "$with_tclsh"
    71927203        then
    71937204            echo Found tclsh in $with_tclsh
    71947205            TCLSH="$with_tclsh"
    71957206        else
    7196             # Extract the first word of "tclsh", so it can be a program name with args.
     7207            if test -x "${exec_prefix}/bin/tclsh"
     7208            then
     7209                echo Found tclsh in ${exec_prefix}/bin/tclsh
     7210                TCLSH="${exec_prefix}/bin/tclsh"
     7211            else
     7212                for v in 8.4 8.5 8.6 ; do
     7213                    if test -x "${exec_prefix}/bin/tclsh${v}"
     7214                    then
     7215                        echo Found tclsh in ${exec_prefix}/bin/tclsh${v}
     7216                        TCLSH="${exec_prefix}/bin/tclsh${v}"
     7217                        break
     7218                    fi
     7219                done
     7220            fi
     7221        fi
     7222    fi
     7223    if ! test -x ${TCLSH}
     7224    then
     7225        # Extract the first word of "tclsh", so it can be a program name with args.
    71977226set dummy tclsh; ac_word=$2
    71987227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     
    72347263
    72357264
    7236         fi
    72377265    fi
    72387266fi
     7267
    72397268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCLSH}" >&5
    72407269$as_echo "${TCLSH}" >&6; }
     
    72907319    do
    72917320      for vtk in $path/vtk-* ; do
    7292         if test -d "${vtk}" ; then
    7293           VTKDIR=${vtk}
    7294         fi
     7321        if test -d "${vtk}" ; then
     7322          VTKDIR=${vtk}
     7323        fi
    72957324      done
    72967325      if test "x${VTKDIR}" != "x" ; then
    7297         break
     7326        break
    72987327      fi
    72997328    done
     
    75547583
    75557584
     7585# Standard octave search (use the installed version of octave)
    75567586
    75577587# Check whether --with-octave was given.
     
    75647594
    75657595OCTAVE=
     7596OCTAVE2=
     7597OCTAVE3=
    75667598OCTAVE_VERSION=
    75677599OCTAVE_VERSION_MAJOR=
    75687600MKOCTFILE=
     7601MKOCTFILE2=
     7602MKOCTFILE3=
    75697603if test "$with_octave" != "no" ; then
    75707604  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5
     
    76527686
    76537687  else
     7688    MKOCTFILE=$with_octave
     7689    OCTAVE=$with_octave
     7690  fi
     7691fi
     7692if test "x${OCTAVE}" != "x" ; then
     7693  OCTAVE_VERSION=`${OCTAVE} -v | grep version | cut -d' ' -f4`
     7694  OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1`
     7695  if test "${OCTAVE_VERSION_MAJOR}" == "3" ; then
     7696    OCTAVE3=$OCTAVE
     7697    MKOCTFILE3=$MKOCTFILE
     7698  fi
     7699  if test "${OCTAVE_VERSION_MAJOR}" == "2" ; then
     7700    OCTAVE2=$OCTAVE
     7701    MKOCTFILE2=$MKOCTFILE
     7702  fi
     7703fi
     7704
     7705# Check if octave2 was designated *in addition* to the installed version.
     7706
     7707# Check whether --with-octave2 was given.
     7708if test "${with_octave2+set}" = set; then :
     7709  withval=$with_octave2; with_octave2=$withval
     7710else
     7711  with_octave2=no
     7712fi
     7713
     7714
     7715if test "$with_octave2" != "no" ; then
     7716  if test "$with_octave2" = "yes" ; then
     7717    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5
     7718$as_echo_n "checking for octave and mkoctfile... " >&6; }
    76547719    # Extract the first word of "octave", so it can be a program name with args.
    76557720set dummy octave; ac_word=$2
    76567721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    76577722$as_echo_n "checking for $ac_word... " >&6; }
    7658 if test "${ac_cv_path_OCTAVE+set}" = set; then :
     7723if test "${ac_cv_path_octave2+set}" = set; then :
    76597724  $as_echo_n "(cached) " >&6
    76607725else
    7661   case $OCTAVE in
     7726  case $octave2 in
    76627727  [\\/]* | ?:[\\/]*)
    7663   ac_cv_path_OCTAVE="$OCTAVE" # Let the user override the test with a path.
     7728  ac_cv_path_octave2="$octave2" # Let the user override the test with a path.
    76647729  ;;
    76657730  *)
    76667731  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7667 as_dummy="$with_octave/bin:$with_octave"
    7668 for as_dir in $as_dummy
     7732for as_dir in $PATH
    76697733do
    76707734  IFS=$as_save_IFS
     
    76727736    for ac_exec_ext in '' $ac_executable_extensions; do
    76737737  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    7674     ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext"
     7738    ac_cv_path_octave2="$as_dir/$ac_word$ac_exec_ext"
    76757739    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    76767740    break 2
     
    76837747esac
    76847748fi
    7685 OCTAVE=$ac_cv_path_OCTAVE
    7686 if test -n "$OCTAVE"; then
    7687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5
    7688 $as_echo "$OCTAVE" >&6; }
     7749octave2=$ac_cv_path_octave2
     7750if test -n "$octave2"; then
     7751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $octave2" >&5
     7752$as_echo "$octave2" >&6; }
    76897753else
    76907754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     
    76977761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    76987762$as_echo_n "checking for $ac_word... " >&6; }
    7699 if test "${ac_cv_path_MKOCTFILE+set}" = set; then :
     7763if test "${ac_cv_path_mkoctfile2+set}" = set; then :
    77007764  $as_echo_n "(cached) " >&6
    77017765else
    7702   case $MKOCTFILE in
     7766  case $mkoctfile2 in
    77037767  [\\/]* | ?:[\\/]*)
    7704   ac_cv_path_MKOCTFILE="$MKOCTFILE" # Let the user override the test with a path.
     7768  ac_cv_path_mkoctfile2="$mkoctfile2" # Let the user override the test with a path.
    77057769  ;;
    77067770  *)
    77077771  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7708 as_dummy="${with_octave}/bin:${with_octave}"
    7709 for as_dir in $as_dummy
     7772for as_dir in $PATH
    77107773do
    77117774  IFS=$as_save_IFS
     
    77137776    for ac_exec_ext in '' $ac_executable_extensions; do
    77147777  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    7715     ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext"
     7778    ac_cv_path_mkoctfile2="$as_dir/$ac_word$ac_exec_ext"
    77167779    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    77177780    break 2
     
    77247787esac
    77257788fi
    7726 MKOCTFILE=$ac_cv_path_MKOCTFILE
    7727 if test -n "$MKOCTFILE"; then
    7728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5
    7729 $as_echo "$MKOCTFILE" >&6; }
     7789mkoctfile2=$ac_cv_path_mkoctfile2
     7790if test -n "$mkoctfile2"; then
     7791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile2" >&5
     7792$as_echo "$mkoctfile2" >&6; }
    77307793else
    77317794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     
    77347797
    77357798
     7799  else
     7800    octave2=$with_octave2
     7801    mkoctfile2=`dirname $with_octave2`/mkoctfile
    77367802  fi
    7737   if test "x${OCTAVE}" != "x" ; then
    7738     OCTAVE_VERSION=`${OCTAVE} -v | grep version | cut -d' ' -f4`
    7739     OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1`
     7803fi
     7804if test "x${octave2}" != "x" ; then
     7805  version=`${octave2} -v | grep version | cut -d' ' -f4`
     7806  version_major=`echo ${version} | cut -d'.' -f1`
     7807  if test "$version_major" = "2" ; then
     7808    OCTAVE2=$octave2
     7809    MKOCTFILE2=$mkoctfile2
    77407810  fi
    77417811fi
     7812
     7813# Check if octave3 was designated *in addition* to the installed version.
     7814
     7815
     7816# Check whether --with-octave3 was given.
     7817if test "${with_octave3+set}" = set; then :
     7818  withval=$with_octave3; with_octave3=$withval
     7819else
     7820  with_octave3=no
     7821fi
     7822
     7823
     7824echo with_octave3=$with_octave3
     7825if test "$with_octave3" != "no" ; then
     7826  if test "$with_octave3" = "yes" ; then
     7827    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5
     7828$as_echo_n "checking for octave and mkoctfile... " >&6; }
     7829    # Extract the first word of "octave", so it can be a program name with args.
     7830set dummy octave; ac_word=$2
     7831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7832$as_echo_n "checking for $ac_word... " >&6; }
     7833if test "${ac_cv_path_octave3+set}" = set; then :
     7834  $as_echo_n "(cached) " >&6
     7835else
     7836  case $octave3 in
     7837  [\\/]* | ?:[\\/]*)
     7838  ac_cv_path_octave3="$octave3" # Let the user override the test with a path.
     7839  ;;
     7840  *)
     7841  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7842for as_dir in $PATH
     7843do
     7844  IFS=$as_save_IFS
     7845  test -z "$as_dir" && as_dir=.
     7846    for ac_exec_ext in '' $ac_executable_extensions; do
     7847  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7848    ac_cv_path_octave3="$as_dir/$ac_word$ac_exec_ext"
     7849    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7850    break 2
     7851  fi
     7852done
     7853  done
     7854IFS=$as_save_IFS
     7855
     7856  ;;
     7857esac
     7858fi
     7859octave3=$ac_cv_path_octave3
     7860if test -n "$octave3"; then
     7861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $octave3" >&5
     7862$as_echo "$octave3" >&6; }
     7863else
     7864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7865$as_echo "no" >&6; }
     7866fi
     7867
     7868
     7869    # Extract the first word of "mkoctfile", so it can be a program name with args.
     7870set dummy mkoctfile; ac_word=$2
     7871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7872$as_echo_n "checking for $ac_word... " >&6; }
     7873if test "${ac_cv_path_mkoctfile3+set}" = set; then :
     7874  $as_echo_n "(cached) " >&6
     7875else
     7876  case $mkoctfile3 in
     7877  [\\/]* | ?:[\\/]*)
     7878  ac_cv_path_mkoctfile3="$mkoctfile3" # Let the user override the test with a path.
     7879  ;;
     7880  *)
     7881  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7882for as_dir in $PATH
     7883do
     7884  IFS=$as_save_IFS
     7885  test -z "$as_dir" && as_dir=.
     7886    for ac_exec_ext in '' $ac_executable_extensions; do
     7887  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7888    ac_cv_path_mkoctfile3="$as_dir/$ac_word$ac_exec_ext"
     7889    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7890    break 2
     7891  fi
     7892done
     7893  done
     7894IFS=$as_save_IFS
     7895
     7896  ;;
     7897esac
     7898fi
     7899mkoctfile3=$ac_cv_path_mkoctfile3
     7900if test -n "$mkoctfile3"; then
     7901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile3" >&5
     7902$as_echo "$mkoctfile3" >&6; }
     7903else
     7904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7905$as_echo "no" >&6; }
     7906fi
     7907
     7908
     7909  else
     7910    octave3=$with_octave3
     7911    mkoctfile3=`dirname $with_octave3`/mkoctfile
     7912  fi
     7913fi
     7914
     7915echo octave3=$octave3
     7916if test "x${octave3}" != "x" ; then
     7917  echo version="${octave3} -v | grep version | cut -d' ' -f4"
     7918  version=`${octave3} -v | grep version | cut -d' ' -f4`
     7919  echo version=$version
     7920  version_major=`echo ${version} | cut -d'.' -f1`
     7921  echo version_major=$version_major
     7922  if test "$version_major" = "3" ; then
     7923    OCTAVE3=$with_octave3
     7924    MKOCTFILE3=$mkoctfile3
     7925  fi
     7926fi
     7927
     7928
     7929
     7930
     7931
    77427932
    77437933
     
    80408230
    80418231
    8042 with_ruby="yes"
     8232rappture_with_ruby="yes"
    80438233
    80448234RUBY=""
     
    80488238# Check whether --with-ruby was given.
    80498239if test "${with_ruby+set}" = set; then :
    8050   withval=$with_ruby; with_ruby=$with_val
    8051 fi
    8052 
    8053 if test "${with_ruby}" != "no" ; then
    8054   if test "${with_ruby}" = "yes" ; then
     8240  withval=$with_ruby; rappture_with_ruby=$with_val
     8241fi
     8242
     8243if test "${rappture_with_ruby}" != "no" ; then
     8244  if test "${rappture_with_ruby}" = "yes" ; then
    80558245    # Extract the first word of "ruby", so it can be a program name with args.
    80568246set dummy ruby; ac_word=$2
     
    81078297  *)
    81088298  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8109 as_dummy="${with_ruby}/bin/ruby:${with_ruby}"
     8299as_dummy="${rappture_with_ruby}/bin/ruby:${rappture_with_ruby}"
    81108300for as_dir in $as_dummy
    81118301do
     
    84588648
    84598649
    8460 with_java="yes"
     8650rappture_with_java="yes"
    84618651JAVA=""
    84628652JAVAH=""
     
    84648654JAVA_DEV_PKG="no"
    84658655
    8466 JDK=
    8467 JAVA_HOME=
    8468 JAVA_INC_DIR=
    8469 JAVA_INC_SPEC=
    8470 
    8471 # If java exists, let's look for the jni.h file.
    8472 if test "x${JAVA}" != "x" ; then
    8473   for d in \
    8474    ${with_java} \
    8475    /usr/lib/jvm/java-6-sun \
    8476    /apps/java/jdk1.6.0_01 \
    8477    /opt/icedtea6-* \
    8478    /opt/sun-jdk-1.6* \
    8479    /opt/sun-jdk-1.5*
    8480   do
    8481     if test -r "${d}/include/jni.h" ; then
    8482       JDK=${d}
    8483       break;
    8484     fi
    8485   done
    8486   JAVA_HOME=$JDK
    8487   JAVA_INC_DIR=${JDK}/include
    8488   JAVA_INC_SPEC="-I${JDK}/include -I${JDK}/include/linux"
    8489 fi
    8490 
    84918656
    84928657# Check whether --with-java was given.
    84938658if test "${with_java+set}" = set; then :
    8494   withval=$with_java; with_java=$with_val
    8495 fi
    8496 
    8497 if test "${with_java}" != "no" ; then
    8498   if test "${with_java}" = "yes" ; then
     8659  withval=$with_java; rappture_with_java=$with_val
     8660fi
     8661
     8662if test "${rappture_with_java}" != "no" ; then
     8663  if test "${rappture_with_java}" = "yes" ; then
    84998664    # Extract the first word of "java", so it can be a program name with args.
    85008665set dummy java; ac_word=$2
     
    86318796  *)
    86328797  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8633 as_dummy="${with_java}/bin:${with_java}"
     8798as_dummy="${rappture_with_java}/bin/java:${rappture_with_java}"
    86348799for as_dir in $as_dummy
    86358800do
     
    86728837  *)
    86738838  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8674 as_dummy="${with_java}/bin:${with_java}"
     8839as_dummy="${rappture_with_java}/bin/java:${rappture_with_java}"
    86758840for as_dir in $as_dummy
    86768841do
     
    87138878  *)
    87148879  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8715 as_dummy="${with_java}/bin:${with_java}"
     8880as_dummy="${rappture_with_java}/bin/java:${rappture_with_java}"
    87168881for as_dir in $as_dummy
    87178882do
     
    87438908  fi
    87448909fi
    8745 
    8746 
    8747 
    8748 
    8749 
    8750 
    8751 
    8752 
    8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenDX headers" >&5
    8754 $as_echo_n "checking for OpenDX headers... " >&6; }
    8755 DX_INC_DIR=""
    8756 for dir in \
    8757  /apps/rappture/include \
    8758  /usr/dx/include \
    8759  /usr/include
    8760 do
    8761   if test -r "${dir}/dx/dx.h" ; then
    8762     DX_INC_DIR="$dir"
    8763     break
    8764   fi
    8765 done
    8766 
    8767 if test "${DX_INC_DIR}" = "/usr/include" ; then
    8768   DX_INC_SPEC=""
    8769 else
    8770   DX_INC_SPEC="-I{DX_INC_DIR}"
    8771 fi
    8772 
    8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DX_INC_DIR}" >&5
    8774 $as_echo "${DX_INC_DIR}" >&6; }
    8775 
    8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenDX libraries" >&5
    8777 $as_echo_n "checking for OpenDX libraries... " >&6; }
    8778 DX_LIB_DIR=""
    8779 for dir in \
    8780  /apps/rappture/lib \
    8781  /usr/lib/dx/lib_linux \
    8782  /usr/dx/lib_linux \
    8783  /usr/lib
    8784 do
    8785   if test -r "${dir}/libDXcallm.a" ; then
    8786     DX_LIB_DIR="$dir"
    8787     break
    8788   fi
    8789 done
    8790 
    8791 if test "${DX_LIB_DIR}" = "/usr" ; then
    8792   DX_LIB_SPEC=""
    8793 else
    8794   DX_LIB_SPEC="-L${DX_LIB_DIR}"
    8795 fi
    8796 
    8797 
    8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DX_LIB_DIR}" >&5
    8799 $as_echo "${DX_LIB_DIR}" >&6; }
     8910JDK=
     8911JAVA_HOME=
     8912JAVA_INC_DIR=
     8913JAVA_INC_SPEC=
     8914
     8915# If java exists, let's look for the jni.h file.
     8916if test "x${JAVA}" != "x" ; then
     8917  for d in \
     8918   /apps/java/jdk1.6.0_01 \
     8919   /usr/lib/jvm/*sun-1.6* \
     8920   /opt/sun-jdk-1.6* \
     8921   /opt/icedtea6-* \
     8922   /opt/sun-jdk-1.5* \
     8923   /usr/lib/jvm/*sun-1.5*
     8924  do
     8925    if test -r "${d}/include/jni.h" ; then
     8926      JDK=${d}
     8927      break;
     8928    fi
     8929  done
     8930  JAVA_HOME=$JDK
     8931  JAVA_INC_DIR=${JDK}/include
     8932  JAVA_INC_SPEC="-I${JDK}/include -I${JDK}/include/linux"
     8933fi
     8934
     8935
     8936
     8937
     8938
     8939
     8940
    88008941
    88018942RP_BASE=`pwd`
     
    92919432
    92929433
    9293 if test "${SHARED_BUILD}" = "1" ; then
    9294     CFLAGS='${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS}'
    9295 else
    9296     CFLAGS='${CFLAGS_DEFAULT} ${CFLAGS_WARNING}'
    9297 fi
     9434
     9435#--------------------------------------------------------------------
     9436# search for ffmpeg libraries libavcodec, libavformat, libswscale
     9437#--------------------------------------------------------------------
     9438
     9439for ac_header in ffmpeg/avcodec.h
     9440do :
     9441  ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avcodec.h" "ac_cv_header_ffmpeg_avcodec_h" "#define __STDC_CONSTANT_MACROS 1
     9442  #ifdef HAVE_FFMPEG_AVCODEC_H
     9443  # include <ffmpeg/avcodec.h>
     9444  #endif
     9445
     9446"
     9447if test "x$ac_cv_header_ffmpeg_avcodec_h" = x""yes; then :
     9448  cat >>confdefs.h <<_ACEOF
     9449#define HAVE_FFMPEG_AVCODEC_H 1
     9450_ACEOF
     9451
     9452fi
     9453
     9454done
     9455
     9456
     9457for ac_header in libavcodec/avcodec.h
     9458do :
     9459  ac_fn_cxx_check_header_compile "$LINENO" "libavcodec/avcodec.h" "ac_cv_header_libavcodec_avcodec_h" "#define __STDC_CONSTANT_MACROS 1
     9460  #ifdef HAVE_LIBAVCODEC_AVCODEC_H
     9461  # include <libavcodec/avcodec.h>
     9462  #endif
     9463
     9464"
     9465if test "x$ac_cv_header_libavcodec_avcodec_h" = x""yes; then :
     9466  cat >>confdefs.h <<_ACEOF
     9467#define HAVE_LIBAVCODEC_AVCODEC_H 1
     9468_ACEOF
     9469
     9470fi
     9471
     9472done
     9473
     9474
     9475for ac_header in ffmpeg/avformat.h
     9476do :
     9477  ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avformat.h" "ac_cv_header_ffmpeg_avformat_h" "#define __STDC_CONSTANT_MACROS 1
     9478  #ifdef HAVE_FFMPEG_AVFORMAT_H
     9479  # include <ffmpeg/avformat.h>
     9480  #endif
     9481
     9482"
     9483if test "x$ac_cv_header_ffmpeg_avformat_h" = x""yes; then :
     9484  cat >>confdefs.h <<_ACEOF
     9485#define HAVE_FFMPEG_AVFORMAT_H 1
     9486_ACEOF
     9487
     9488fi
     9489
     9490done
     9491
     9492
     9493for ac_header in libavformat/avformat.h
     9494do :
     9495  ac_fn_cxx_check_header_compile "$LINENO" "libavformat/avformat.h" "ac_cv_header_libavformat_avformat_h" "#define __STDC_CONSTANT_MACROS 1
     9496  #ifdef HAVE_LIBAVFORMAT_AVFORMAT_H
     9497  # include <libavformat/avformat.h>
     9498  #endif
     9499
     9500"
     9501if test "x$ac_cv_header_libavformat_avformat_h" = x""yes; then :
     9502  cat >>confdefs.h <<_ACEOF
     9503#define HAVE_LIBAVFORMAT_AVFORMAT_H 1
     9504_ACEOF
     9505
     9506fi
     9507
     9508done
     9509
     9510
     9511for ac_header in ffmpeg/avutil.h
     9512do :
     9513  ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/avutil.h" "ac_cv_header_ffmpeg_avutil_h" "#define __STDC_CONSTANT_MACROS 1
     9514  #ifdef HAVE_FFMPEG_AVUTIL_H
     9515  # include <ffmpeg/avutil.h>
     9516  #endif
     9517
     9518"
     9519if test "x$ac_cv_header_ffmpeg_avutil_h" = x""yes; then :
     9520  cat >>confdefs.h <<_ACEOF
     9521#define HAVE_FFMPEG_AVUTIL_H 1
     9522_ACEOF
     9523
     9524fi
     9525
     9526done
     9527
     9528
     9529for ac_header in libavutil/avutil.h
     9530do :
     9531  ac_fn_cxx_check_header_compile "$LINENO" "libavutil/avutil.h" "ac_cv_header_libavutil_avutil_h" "#define __STDC_CONSTANT_MACROS 1
     9532  #ifdef HAVE_LIBAVUTIL_AVUTIL_H
     9533  # include <libavutil/avutil.h>
     9534  #endif
     9535
     9536"
     9537if test "x$ac_cv_header_libavutil_avutil_h" = x""yes; then :
     9538  cat >>confdefs.h <<_ACEOF
     9539#define HAVE_LIBAVUTIL_AVUTIL_H 1
     9540_ACEOF
     9541
     9542fi
     9543
     9544done
     9545
     9546
     9547for ac_header in ffmpeg/swscale.h
     9548do :
     9549  ac_fn_cxx_check_header_compile "$LINENO" "ffmpeg/swscale.h" "ac_cv_header_ffmpeg_swscale_h" "#define __STDC_CONSTANT_MACROS 1
     9550  #ifdef HAVE_FFMPEG_SWSCALE_H
     9551  # include <ffmpeg/swscale.h>
     9552  #endif
     9553
     9554"
     9555if test "x$ac_cv_header_ffmpeg_swscale_h" = x""yes; then :
     9556  cat >>confdefs.h <<_ACEOF
     9557#define HAVE_FFMPEG_SWSCALE_H 1
     9558_ACEOF
     9559
     9560fi
     9561
     9562done
     9563
     9564
     9565for ac_header in libswscale/swscale.h
     9566do :
     9567  ac_fn_cxx_check_header_compile "$LINENO" "libswscale/swscale.h" "ac_cv_header_libswscale_swscale_h" "#define __STDC_CONSTANT_MACROS 1
     9568  #ifdef HAVE_LIBSWSCALE_SWSCALE_H
     9569  # include <libswscale/swscale.h>
     9570  #endif
     9571
     9572"
     9573if test "x$ac_cv_header_libswscale_swscale_h" = x""yes; then :
     9574  cat >>confdefs.h <<_ACEOF
     9575#define HAVE_LIBSWSCALE_SWSCALE_H 1
     9576_ACEOF
     9577
     9578fi
     9579
     9580done
     9581
     9582
     9583HAVE_FFMPEG_LIBS=""
     9584if [ \( "${ac_cv_header_ffmpeg_avcodec_h}" = "yes" -o \
     9585        "${ac_cv_header_libavcodec_avcodec_h}" = "yes" \) -a \
     9586     \( "${ac_cv_header_ffmpeg_avformat_h}" = "yes" -o \
     9587        "${ac_cv_header_libavformat_avformat_h}" = "yes" \) -a \
     9588     \( "${ac_cv_header_ffmpeg_avutil_h}" = "yes" -o \
     9589        "${ac_cv_header_libavutil_avutil_h}" = "yes" \) -a \
     9590     \( "${ac_cv_header_ffmpeg_swscale_h}" = "yes" -o \
     9591        "${ac_cv_header_libswscale_swscale_h}" = "yes" \) ] ; then
     9592  HAVE_FFMPEG_LIBS="yes"
     9593
     9594$as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h
     9595
     9596else
     9597  HAVE_FFMPEG_LIBS=""
     9598fi
     9599
     9600for ac_func in img_convert
     9601do :
     9602  ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"
     9603if test "x$ac_cv_func_img_convert" = x""yes; then :
     9604  cat >>confdefs.h <<_ACEOF
     9605#define HAVE_IMG_CONVERT 1
     9606_ACEOF
     9607
     9608fi
     9609done
     9610
     9611for ac_func in sws_scale
     9612do :
     9613  ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale"
     9614if test "x$ac_cv_func_sws_scale" = x""yes; then :
     9615  cat >>confdefs.h <<_ACEOF
     9616#define HAVE_SWS_SCALE 1
     9617_ACEOF
     9618
     9619fi
     9620done
     9621
     9622
    92989623
    92999624ac_configure_args="--disable-threads --enable-shared"
     
    93039628
    93049629
    9305 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile instant/Makefile instant/irappture lang/Makefile lang/java/Makefile lang/java/rappture/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/RpOctaveInterface.h lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/octave/2/Makefile examples/app-fermi/octave/3/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/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/contour/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/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/filechoice/Makefile examples/zoo/group/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/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/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 examples/zoo/unirect2d/Makefile test/Makefile test/src/Makefile"
     9630ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile instant/Makefile instant/irappture lang/Makefile lang/java/Makefile lang/java/rappture/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/octave2/Makefile lang/octave/octave3/Makefile lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/octave/2/Makefile examples/app-fermi/octave/3/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/contour/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/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/filechoice/Makefile examples/zoo/group/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/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/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 examples/zoo/unirect2d/Makefile test/Makefile test/src/Makefile"
    93069631
    93079632cat >confcache <<\_ACEOF
     
    1002310348    "lang/matlab/Makefile") CONFIG_FILES="$CONFIG_FILES lang/matlab/Makefile" ;;
    1002410349    "lang/octave/Makefile") CONFIG_FILES="$CONFIG_FILES lang/octave/Makefile" ;;
    10025     "lang/octave/RpOctaveInterface.h") CONFIG_FILES="$CONFIG_FILES lang/octave/RpOctaveInterface.h" ;;
     10350    "lang/octave/octave2/Makefile") CONFIG_FILES="$CONFIG_FILES lang/octave/octave2/Makefile" ;;
     10351    "lang/octave/octave3/Makefile") CONFIG_FILES="$CONFIG_FILES lang/octave/octave3/Makefile" ;;
    1002610352    "lang/ruby/Makefile") CONFIG_FILES="$CONFIG_FILES lang/ruby/Makefile" ;;
    1002710353    "lang/ruby/build.rb") CONFIG_FILES="$CONFIG_FILES lang/ruby/build.rb" ;;
     
    1005110377    "examples/app-fermi/wrapper/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/Makefile" ;;
    1005210378    "examples/app-fermi/wrapper/cee/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/cee/Makefile" ;;
     10379    "examples/app-fermi/wrapper/perl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/perl/Makefile" ;;
    1005310380    "examples/app-fermi/wrapper/python/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/python/Makefile" ;;
    1005410381    "examples/app-fermi/wrapper/tcl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/tcl/Makefile" ;;
  • branches/blt4/configure.in

    r1897 r1903  
    865865    examples/zoo/enable/Makefile
    866866    examples/zoo/field/Makefile
    867     examples/zoo/filelist/Makefile
     867    examples/zoo/filechoice/Makefile
    868868    examples/zoo/group/Makefile
    869869    examples/zoo/image/Makefile
Note: See TracChangeset for help on using the changeset viewer.