Changeset 4144 for trunk/configure


Ignore:
Timestamp:
Jan 21, 2014, 1:20:50 PM (6 years ago)
Author:
gah
Message:

initial changes for new build system for rappture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r4118 r4144  
    626626LIBOBJS
    627627subdirs
    628 VTK_VERSION
    629 VTK_TCL_DIR
     628XSUBPP
     629VTKDIR
    630630TK_VERSION
    631631TK_XLIBSW
     
    641641TCL_LIB_SPEC
    642642TCL_INC_SPEC
     643TCLSH
    643644SIZEOF_VOID_P
    644645SIZEOF_LONG_LONG
     
    648649RUBY_VERSION_RV
    649650RUBY_PLATFORM
     651RUBY
    650652RP_BASE
     653R
    651654PYTHON_VERSION
    652655PYTHON_SITE_PACKAGES
     
    659662PYTHON_DISTUTILS
    660663PYTHON_CFLAGS
     664PYTHON
    661665PERL_VERSION_RV
    662666PERL_VERSION
     
    670674PERL_ARCHLIBEXP
    671675PERL_ARCHLIB
     676PERL
    672677OCTAVE_VERSION_MAJOR
    673678OCTAVE_VERSION
     
    676681MKOCTFILE2
    677682MEX_ARCH
     683MEXEXT
     684MEX
     685MCC
     686MATLAB
    678687MAKE
    679688LIB_SEARCH_DIRS
     
    681690JAVA_INC_DIR
    682691JAVA_HOME
     692JAVAH
     693JAVAC
     694JAVA
    683695INSTALL_PREFIX
    684696HAVE_RUBY_DEVEL
    685697HAVE_INTTYPES_H
    686698HAVE_FFMPEG_LIBS
    687 ENABLE_VTK_DICOM
     699FFMPEG
    688700ENABLE_GUI
    689 ENABLE_LANG
    690 FFMPEG
    691701LDFLAGS_DEFAULT
    692702CFLAGS_DEFAULT
    693 host_os
    694 host_vendor
    695 host_cpu
    696 host
    697 build_os
    698 build_vendor
    699 build_cpu
    700 build
    701 HAVE_RUBY_H
    702 RUBY_SITELIBDIR
    703 RUBY_LIBRUBYARG_STATIC
    704 RUBY_LIBRUBYARG
    705 RUBY_LIBS
    706 RUBY_LDFLAGS
    707 RUBY_CXXFLAGS
    708 RUBY_CFLAGS
    709 RUBY_CPPFLAGS
    710 RUBY_VERSION_CODE
    711 RUBY
    712 R
    713 JAVAH
    714 JAVAC
    715 JAVA
    716 PYTHON
    717 XSUBPP
    718 PERL
    719 mkoctfile2
    720 mkoctfile3
    721 MKOCTFILE
    722 OCTAVE
    723 MCC
    724 MEXEXT
    725 MEX
    726 MATLAB
    727 TCLSH
    728703INSTALL_STUB_LIB
    729704INSTALL_LIB
     
    748723DL_OBJS
    749724DL_LIBS
     725CXXCPP
    750726AR
    751 CXXCPP
     727RANLIB
    752728EGREP
    753729GREP
    754 CPP
    755730ac_ct_F77
    756731FFLAGS
     
    759734CXXFLAGS
    760735CXX
     736X_LIBRARIES
     737X_INCLUDES
     738CPP
    761739OBJEXT
    762740EXEEXT
     
    766744CFLAGS
    767745CC
     746XMKMF
     747RAPPTURE_RELEASE_SERIAL
     748RAPPTURE_MAJOR_VERSION
     749RAPPTURE_MINOR_VERSION
     750RAPPTURE_VERSION
     751VERSION
    768752SET_MAKE
    769753MKDIR_P
    770754LN_S
    771 RANLIB
    772755INSTALL_DATA
    773756INSTALL_SCRIPT
     
    815798enable_option_checking
    816799with_install
     800with_x
    817801enable_64bit
    818802enable_64bit_vis
    819803enable_corefoundation
    820804enable_load
    821 enable_lang
    822805enable_gui
    823 with_ffmpeg
    824 with_tclsh
    825 with_vtk
    826 enable_vtkdicom
    827 with_matlab
    828 with_octave
    829 with_mkoctfile3
    830 with_mkoctfile2
    831 with_perl
    832 with_python
    833 with_java
    834 with_R
    835 with_ruby
    836 with_ruby_sitelibdir
    837806enable_shared
    838807enable_symbols
     
    841810host_alias
    842811target_alias
     812XMKMF
    843813CC
    844814CFLAGS
     
    846816LIBS
    847817CPPFLAGS
     818CPP
    848819CXX
    849820CXXFLAGS
     
    851822F77
    852823FFLAGS
    853 CPP
    854824CXXCPP'
    855825ac_subdirs_all='packages/optimizer/src '
     
    14501420  cat <<\_ACEOF
    14511421
    1452 System types:
    1453   --build=BUILD     configure for building on BUILD [guessed]
    1454   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
     1422X features:
     1423  --x-includes=DIR    X include files are in DIR
     1424  --x-libraries=DIR   X library files are in DIR
    14551425_ACEOF
    14561426fi
     
    14701440  --enable-corefoundation use CoreFoundation API --enable-corefoundation
    14711441  --disable-load          disallow dynamic loading and "load" command
    1472   --enable-lang           build language bindings [default=yes]
    14731442  --enable-gui            build code related to the graphical user interface
    14741443                          [default=yes]
    1475   --enable-vtkdicom       Use vtkDICOM package [default=no]
    14761444  --enable-shared         build and link with shared libraries --enable-shared
    14771445  --enable-symbols        build with debugging symbols --disable-symbols
     
    14811449  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    14821450  --with-install=DIR      location of installation [default=yes]
    1483   --with-ffmpeg=DIR       location of ffmpeg [default=yes]
    1484   --with-tclsh=DIR        location of tclsh [default=yes]
    1485   --with-vtk=version      VTK library version [default=6.0]
    1486   --with-matlab=DIR       location of matlab and mex compiler [default=yes]
    1487   --with-octave=DIR       path of default octave compiler `mkoctfile'
    1488                           [default=yes]
    1489   --with-mkoctfile3=DIR   path of octave compiler `mkoctfile' [default=no]
    1490   --with-mkoctfile2=DIR   path of octave compiler `mkoctfile' [default=no]
    1491   --with-perl=DIR         location of perl [default=yes]
    1492   --with-python=DIR       location of python [default=yes]
    1493   --with-java=DIR         location of java [default=yes]
    1494   --with-R=DIR            location of R interpreter [default=yes]
    1495   --with-ruby=PATH        path to the ruby interpreter [[ruby]]
    1496   --with-ruby-sitelibdir=PATH
    1497                           path to install ruby scripts [[auto-detect]]
     1451  --with-x                use the X Window System
    14981452
    14991453Some influential environment variables:
     1454  XMKMF       Path to xmkmf, Makefile generator for X Window System
    15001455  CC          C compiler command
    15011456  CFLAGS      C compiler flags
     
    15051460  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    15061461              you have headers in a nonstandard directory <include dir>
     1462  CPP         C preprocessor
    15071463  CXX         C++ compiler command
    15081464  CXXFLAGS    C++ compiler flags
    15091465  F77         Fortran 77 compiler command
    15101466  FFLAGS      Fortran 77 compiler flags
    1511   CPP         C preprocessor
    15121467  CXXCPP      C++ preprocessor
    15131468
     
    16301585} # ac_fn_c_try_compile
    16311586
    1632 # ac_fn_cxx_try_compile LINENO
    1633 # ----------------------------
    1634 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1635 ac_fn_cxx_try_compile ()
    1636 {
    1637   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1638   rm -f conftest.$ac_objext
    1639   if { { ac_try="$ac_compile"
    1640 case "(($ac_try" in
    1641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1642   *) ac_try_echo=$ac_try;;
    1643 esac
    1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1645 $as_echo "$ac_try_echo"; } >&5
    1646   (eval "$ac_compile") 2>conftest.err
    1647   ac_status=$?
    1648   if test -s conftest.err; then
    1649     grep -v '^ *+' conftest.err >conftest.er1
    1650     cat conftest.er1 >&5
    1651     mv -f conftest.er1 conftest.err
    1652   fi
    1653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1654   test $ac_status = 0; } && {
    1655          test -z "$ac_cxx_werror_flag" ||
    1656          test ! -s conftest.err
    1657        } && test -s conftest.$ac_objext; then :
    1658   ac_retval=0
    1659 else
    1660   $as_echo "$as_me: failed program was:" >&5
    1661 sed 's/^/| /' conftest.$ac_ext >&5
    1662 
    1663         ac_retval=1
    1664 fi
    1665   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1666   as_fn_set_status $ac_retval
    1667 
    1668 } # ac_fn_cxx_try_compile
    1669 
    1670 # ac_fn_f77_try_compile LINENO
    1671 # ----------------------------
    1672 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1673 ac_fn_f77_try_compile ()
    1674 {
    1675   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1676   rm -f conftest.$ac_objext
    1677   if { { ac_try="$ac_compile"
    1678 case "(($ac_try" in
    1679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1680   *) ac_try_echo=$ac_try;;
    1681 esac
    1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1683 $as_echo "$ac_try_echo"; } >&5
    1684   (eval "$ac_compile") 2>conftest.err
    1685   ac_status=$?
    1686   if test -s conftest.err; then
    1687     grep -v '^ *+' conftest.err >conftest.er1
    1688     cat conftest.er1 >&5
    1689     mv -f conftest.er1 conftest.err
    1690   fi
    1691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1692   test $ac_status = 0; } && {
    1693          test -z "$ac_f77_werror_flag" ||
    1694          test ! -s conftest.err
    1695        } && test -s conftest.$ac_objext; then :
    1696   ac_retval=0
    1697 else
    1698   $as_echo "$as_me: failed program was:" >&5
    1699 sed 's/^/| /' conftest.$ac_ext >&5
    1700 
    1701         ac_retval=1
    1702 fi
    1703   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1704   as_fn_set_status $ac_retval
    1705 
    1706 } # ac_fn_f77_try_compile
    1707 
    17081587# ac_fn_c_try_cpp LINENO
    17091588# ----------------------
     
    17421621
    17431622} # ac_fn_c_try_cpp
    1744 
    1745 # ac_fn_c_try_run LINENO
    1746 # ----------------------
    1747 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1748 # that executables *can* be run.
    1749 ac_fn_c_try_run ()
    1750 {
    1751   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1752   if { { ac_try="$ac_link"
    1753 case "(($ac_try" in
    1754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1755   *) ac_try_echo=$ac_try;;
    1756 esac
    1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1758 $as_echo "$ac_try_echo"; } >&5
    1759   (eval "$ac_link") 2>&5
    1760   ac_status=$?
    1761   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1762   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1763   { { case "(($ac_try" in
    1764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1765   *) ac_try_echo=$ac_try;;
    1766 esac
    1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1768 $as_echo "$ac_try_echo"; } >&5
    1769   (eval "$ac_try") 2>&5
    1770   ac_status=$?
    1771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1772   test $ac_status = 0; }; }; then :
    1773   ac_retval=0
    1774 else
    1775   $as_echo "$as_me: program exited with status $ac_status" >&5
    1776        $as_echo "$as_me: failed program was:" >&5
    1777 sed 's/^/| /' conftest.$ac_ext >&5
    1778 
    1779        ac_retval=$ac_status
    1780 fi
    1781   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1782   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1783   as_fn_set_status $ac_retval
    1784 
    1785 } # ac_fn_c_try_run
    17861623
    17871624# ac_fn_c_try_link LINENO
     
    18311668} # ac_fn_c_try_link
    18321669
    1833 # ac_fn_c_check_func LINENO FUNC VAR
    1834 # ----------------------------------
    1835 # Tests whether FUNC exists, setting the cache variable VAR accordingly
    1836 ac_fn_c_check_func ()
     1670# ac_fn_cxx_try_compile LINENO
     1671# ----------------------------
     1672# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1673ac_fn_cxx_try_compile ()
    18371674{
    18381675  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1840 $as_echo_n "checking for $2... " >&6; }
    1841 if eval \${$3+:} false; then :
    1842   $as_echo_n "(cached) " >&6
    1843 else
    1844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1845 /* end confdefs.h.  */
    1846 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
    1847    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    1848 #define $2 innocuous_$2
    1849 
    1850 /* System header to define __stub macros and hopefully few prototypes,
    1851     which can conflict with char $2 (); below.
    1852     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    1853     <limits.h> exists even on freestanding compilers.  */
    1854 
    1855 #ifdef __STDC__
    1856 # include <limits.h>
    1857 #else
    1858 # include <assert.h>
    1859 #endif
    1860 
    1861 #undef $2
    1862 
    1863 /* Override any GCC internal prototype to avoid an error.
    1864    Use char because int might match the return type of a GCC
    1865    builtin and then its argument prototype would still apply.  */
    1866 #ifdef __cplusplus
    1867 extern "C"
    1868 #endif
    1869 char $2 ();
    1870 /* The GNU C library defines this for functions which it implements
    1871     to always fail with ENOSYS.  Some functions are actually named
    1872     something starting with __ and the normal name is an alias.  */
    1873 #if defined __stub_$2 || defined __stub___$2
    1874 choke me
    1875 #endif
    1876 
    1877 int
    1878 main ()
     1676  rm -f conftest.$ac_objext
     1677  if { { ac_try="$ac_compile"
     1678case "(($ac_try" in
     1679  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1680  *) ac_try_echo=$ac_try;;
     1681esac
     1682eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1683$as_echo "$ac_try_echo"; } >&5
     1684  (eval "$ac_compile") 2>conftest.err
     1685  ac_status=$?
     1686  if test -s conftest.err; then
     1687    grep -v '^ *+' conftest.err >conftest.er1
     1688    cat conftest.er1 >&5
     1689    mv -f conftest.er1 conftest.err
     1690  fi
     1691  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1692  test $ac_status = 0; } && {
     1693         test -z "$ac_cxx_werror_flag" ||
     1694         test ! -s conftest.err
     1695       } && test -s conftest.$ac_objext; then :
     1696  ac_retval=0
     1697else
     1698  $as_echo "$as_me: failed program was:" >&5
     1699sed 's/^/| /' conftest.$ac_ext >&5
     1700
     1701        ac_retval=1
     1702fi
     1703  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1704  as_fn_set_status $ac_retval
     1705
     1706} # ac_fn_cxx_try_compile
     1707
     1708# ac_fn_f77_try_compile LINENO
     1709# ----------------------------
     1710# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1711ac_fn_f77_try_compile ()
    18791712{
    1880 return $2 ();
    1881   ;
    1882   return 0;
    1883 }
    1884 _ACEOF
    1885 if ac_fn_c_try_link "$LINENO"; then :
    1886   eval "$3=yes"
    1887 else
    1888   eval "$3=no"
    1889 fi
    1890 rm -f core conftest.err conftest.$ac_objext \
    1891     conftest$ac_exeext conftest.$ac_ext
    1892 fi
    1893 eval ac_res=\$$3
    1894                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1895 $as_echo "$ac_res" >&6; }
     1713  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1714  rm -f conftest.$ac_objext
     1715  if { { ac_try="$ac_compile"
     1716case "(($ac_try" in
     1717  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1718  *) ac_try_echo=$ac_try;;
     1719esac
     1720eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1721$as_echo "$ac_try_echo"; } >&5
     1722  (eval "$ac_compile") 2>conftest.err
     1723  ac_status=$?
     1724  if test -s conftest.err; then
     1725    grep -v '^ *+' conftest.err >conftest.er1
     1726    cat conftest.er1 >&5
     1727    mv -f conftest.er1 conftest.err
     1728  fi
     1729  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1730  test $ac_status = 0; } && {
     1731         test -z "$ac_f77_werror_flag" ||
     1732         test ! -s conftest.err
     1733       } && test -s conftest.$ac_objext; then :
     1734  ac_retval=0
     1735else
     1736  $as_echo "$as_me: failed program was:" >&5
     1737sed 's/^/| /' conftest.$ac_ext >&5
     1738
     1739        ac_retval=1
     1740fi
    18961741  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1897 
    1898 } # ac_fn_c_check_func
     1742  as_fn_set_status $ac_retval
     1743
     1744} # ac_fn_f77_try_compile
     1745
     1746# ac_fn_c_try_run LINENO
     1747# ----------------------
     1748# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1749# that executables *can* be run.
     1750ac_fn_c_try_run ()
     1751{
     1752  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1753  if { { ac_try="$ac_link"
     1754case "(($ac_try" in
     1755  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1756  *) ac_try_echo=$ac_try;;
     1757esac
     1758eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1759$as_echo "$ac_try_echo"; } >&5
     1760  (eval "$ac_link") 2>&5
     1761  ac_status=$?
     1762  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1763  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1764  { { case "(($ac_try" in
     1765  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1766  *) ac_try_echo=$ac_try;;
     1767esac
     1768eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1769$as_echo "$ac_try_echo"; } >&5
     1770  (eval "$ac_try") 2>&5
     1771  ac_status=$?
     1772  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1773  test $ac_status = 0; }; }; then :
     1774  ac_retval=0
     1775else
     1776  $as_echo "$as_me: program exited with status $ac_status" >&5
     1777       $as_echo "$as_me: failed program was:" >&5
     1778sed 's/^/| /' conftest.$ac_ext >&5
     1779
     1780       ac_retval=$ac_status
     1781fi
     1782  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1783  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1784  as_fn_set_status $ac_retval
     1785
     1786} # ac_fn_c_try_run
    18991787
    19001788# ac_fn_cxx_try_link LINENO
     
    19431831
    19441832} # ac_fn_cxx_try_link
    1945 
    1946 # ac_fn_cxx_check_func LINENO FUNC VAR
    1947 # ------------------------------------
    1948 # Tests whether FUNC exists, setting the cache variable VAR accordingly
    1949 ac_fn_cxx_check_func ()
    1950 {
    1951   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1953 $as_echo_n "checking for $2... " >&6; }
    1954 if eval \${$3+:} false; then :
    1955   $as_echo_n "(cached) " >&6
    1956 else
    1957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1958 /* end confdefs.h.  */
    1959 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
    1960    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    1961 #define $2 innocuous_$2
    1962 
    1963 /* System header to define __stub macros and hopefully few prototypes,
    1964     which can conflict with char $2 (); below.
    1965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    1966     <limits.h> exists even on freestanding compilers.  */
    1967 
    1968 #ifdef __STDC__
    1969 # include <limits.h>
    1970 #else
    1971 # include <assert.h>
    1972 #endif
    1973 
    1974 #undef $2
    1975 
    1976 /* Override any GCC internal prototype to avoid an error.
    1977    Use char because int might match the return type of a GCC
    1978    builtin and then its argument prototype would still apply.  */
    1979 #ifdef __cplusplus
    1980 extern "C"
    1981 #endif
    1982 char $2 ();
    1983 /* The GNU C library defines this for functions which it implements
    1984     to always fail with ENOSYS.  Some functions are actually named
    1985     something starting with __ and the normal name is an alias.  */
    1986 #if defined __stub_$2 || defined __stub___$2
    1987 choke me
    1988 #endif
    1989 
    1990 int
    1991 main ()
    1992 {
    1993 return $2 ();
    1994   ;
    1995   return 0;
    1996 }
    1997 _ACEOF
    1998 if ac_fn_cxx_try_link "$LINENO"; then :
    1999   eval "$3=yes"
    2000 else
    2001   eval "$3=no"
    2002 fi
    2003 rm -f core conftest.err conftest.$ac_objext \
    2004     conftest$ac_exeext conftest.$ac_ext
    2005 fi
    2006 eval ac_res=\$$3
    2007                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2008 $as_echo "$ac_res" >&6; }
    2009   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2010 
    2011 } # ac_fn_cxx_check_func
    20121833
    20131834# ac_fn_cxx_try_cpp LINENO
     
    27752596
    27762597
    2777 ac_config_headers="$ac_config_headers src/core/config.h"
    2778 
    27792598
    27802599#------------------------------------------------------------------------
     
    29062725
    29072726
    2908 if test -n "$ac_tool_prefix"; then
    2909   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    2910 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2912 $as_echo_n "checking for $ac_word... " >&6; }
    2913 if ${ac_cv_prog_RANLIB+:} false; then :
    2914   $as_echo_n "(cached) " >&6
    2915 else
    2916   if test -n "$RANLIB"; then
    2917   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    2918 else
    2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2920 for as_dir in $PATH
    2921 do
    2922   IFS=$as_save_IFS
    2923   test -z "$as_dir" && as_dir=.
    2924     for ac_exec_ext in '' $ac_executable_extensions; do
    2925   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2926     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    2928     break 2
    2929   fi
    2930 done
    2931   done
    2932 IFS=$as_save_IFS
    2933 
    2934 fi
    2935 fi
    2936 RANLIB=$ac_cv_prog_RANLIB
    2937 if test -n "$RANLIB"; then
    2938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    2939 $as_echo "$RANLIB" >&6; }
    2940 else
    2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2942 $as_echo "no" >&6; }
    2943 fi
    2944 
    2945 
    2946 fi
    2947 if test -z "$ac_cv_prog_RANLIB"; then
    2948   ac_ct_RANLIB=$RANLIB
    2949   # Extract the first word of "ranlib", so it can be a program name with args.
    2950 set dummy ranlib; ac_word=$2
    2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2952 $as_echo_n "checking for $ac_word... " >&6; }
    2953 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    2954   $as_echo_n "(cached) " >&6
    2955 else
    2956   if test -n "$ac_ct_RANLIB"; then
    2957   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    2958 else
    2959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2960 for as_dir in $PATH
    2961 do
    2962   IFS=$as_save_IFS
    2963   test -z "$as_dir" && as_dir=.
    2964     for ac_exec_ext in '' $ac_executable_extensions; do
    2965   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2966     ac_cv_prog_ac_ct_RANLIB="ranlib"
    2967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    2968     break 2
    2969   fi
    2970 done
    2971   done
    2972 IFS=$as_save_IFS
    2973 
    2974 fi
    2975 fi
    2976 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    2977 if test -n "$ac_ct_RANLIB"; then
    2978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    2979 $as_echo "$ac_ct_RANLIB" >&6; }
    2980 else
    2981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2982 $as_echo "no" >&6; }
    2983 fi
    2984 
    2985   if test "x$ac_ct_RANLIB" = x; then
    2986     RANLIB=":"
    2987   else
    2988     case $cross_compiling:$ac_tool_warned in
    2989 yes:)
    2990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    2991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    2992 ac_tool_warned=yes ;;
    2993 esac
    2994     RANLIB=$ac_ct_RANLIB
    2995   fi
    2996 else
    2997   RANLIB="$ac_cv_prog_RANLIB"
    2998 fi
    2999 
    30002727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    30012728$as_echo_n "checking whether ln -s works... " >&6; }
     
    30832810
    30842811
    3085 # Check for C, C++, and FORTRAN
     2812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking RAPPTURE_MAJOR_VERSION" >&5
     2813$as_echo_n "checking RAPPTURE_MAJOR_VERSION... " >&6; }
     2814RAPPTURE_MAJOR_VERSION=1
     2815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAPPTURE_MAJOR_VERSION" >&5
     2816$as_echo "$RAPPTURE_MAJOR_VERSION" >&6; }
     2817
     2818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking RAPPTURE_MINOR_VERSION" >&5
     2819$as_echo_n "checking RAPPTURE_MINOR_VERSION... " >&6; }
     2820RAPPTURE_MINOR_VERSION=4
     2821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAPPTURE_MINOR_VERSION" >&5
     2822$as_echo "$RAPPTURE_MINOR_VERSION" >&6; }
     2823
     2824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking RAPPTURE_RELEASE_SERIAL" >&5
     2825$as_echo_n "checking RAPPTURE_RELEASE_SERIAL... " >&6; }
     2826RAPPTURE_RELEASE_SERIAL=0
     2827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAPPTURE_RELEASE_SERIAL" >&5
     2828$as_echo "$RAPPTURE_RELEASE_SERIAL" >&6; }
     2829
     2830RAPPTURE_VERSION=${RAPPTURE_MAJOR_VERSION}.${RAPPTURE_MINOR_VERSION}
     2831
     2832
     2833
     2834
     2835
     2836
     2837
    30862838ac_ext=c
    30872839ac_cpp='$CPP $CPPFLAGS'
     
    38733625ac_compiler_gnu=$ac_cv_c_compiler_gnu
    38743626
     3627
     3628ac_ext=c
     3629ac_cpp='$CPP $CPPFLAGS'
     3630ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3631ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3632ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     3634$as_echo_n "checking how to run the C preprocessor... " >&6; }
     3635# On Suns, sometimes $CPP names a directory.
     3636if test -n "$CPP" && test -d "$CPP"; then
     3637  CPP=
     3638fi
     3639if test -z "$CPP"; then
     3640  if ${ac_cv_prog_CPP+:} false; then :
     3641  $as_echo_n "(cached) " >&6
     3642else
     3643      # Double quotes because CPP needs to be expanded
     3644    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     3645    do
     3646      ac_preproc_ok=false
     3647for ac_c_preproc_warn_flag in '' yes
     3648do
     3649  # Use a header file that comes with gcc, so configuring glibc
     3650  # with a fresh cross-compiler works.
     3651  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3652  # <limits.h> exists even on freestanding compilers.
     3653  # On the NeXT, cc -E runs the code through the compiler's parser,
     3654  # not just through cpp. "Syntax error" is here to catch this case.
     3655  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3656/* end confdefs.h.  */
     3657#ifdef __STDC__
     3658# include <limits.h>
     3659#else
     3660# include <assert.h>
     3661#endif
     3662                     Syntax error
     3663_ACEOF
     3664if ac_fn_c_try_cpp "$LINENO"; then :
     3665
     3666else
     3667  # Broken: fails on valid input.
     3668continue
     3669fi
     3670rm -f conftest.err conftest.i conftest.$ac_ext
     3671
     3672  # OK, works on sane cases.  Now check whether nonexistent headers
     3673  # can be detected and how.
     3674  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3675/* end confdefs.h.  */
     3676#include <ac_nonexistent.h>
     3677_ACEOF
     3678if ac_fn_c_try_cpp "$LINENO"; then :
     3679  # Broken: success on invalid input.
     3680continue
     3681else
     3682  # Passes both tests.
     3683ac_preproc_ok=:
     3684break
     3685fi
     3686rm -f conftest.err conftest.i conftest.$ac_ext
     3687
     3688done
     3689# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3690rm -f conftest.i conftest.err conftest.$ac_ext
     3691if $ac_preproc_ok; then :
     3692  break
     3693fi
     3694
     3695    done
     3696    ac_cv_prog_CPP=$CPP
     3697
     3698fi
     3699  CPP=$ac_cv_prog_CPP
     3700else
     3701  ac_cv_prog_CPP=$CPP
     3702fi
     3703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     3704$as_echo "$CPP" >&6; }
     3705ac_preproc_ok=false
     3706for ac_c_preproc_warn_flag in '' yes
     3707do
     3708  # Use a header file that comes with gcc, so configuring glibc
     3709  # with a fresh cross-compiler works.
     3710  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3711  # <limits.h> exists even on freestanding compilers.
     3712  # On the NeXT, cc -E runs the code through the compiler's parser,
     3713  # not just through cpp. "Syntax error" is here to catch this case.
     3714  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3715/* end confdefs.h.  */
     3716#ifdef __STDC__
     3717# include <limits.h>
     3718#else
     3719# include <assert.h>
     3720#endif
     3721                     Syntax error
     3722_ACEOF
     3723if ac_fn_c_try_cpp "$LINENO"; then :
     3724
     3725else
     3726  # Broken: fails on valid input.
     3727continue
     3728fi
     3729rm -f conftest.err conftest.i conftest.$ac_ext
     3730
     3731  # OK, works on sane cases.  Now check whether nonexistent headers
     3732  # can be detected and how.
     3733  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3734/* end confdefs.h.  */
     3735#include <ac_nonexistent.h>
     3736_ACEOF
     3737if ac_fn_c_try_cpp "$LINENO"; then :
     3738  # Broken: success on invalid input.
     3739continue
     3740else
     3741  # Passes both tests.
     3742ac_preproc_ok=:
     3743break
     3744fi
     3745rm -f conftest.err conftest.i conftest.$ac_ext
     3746
     3747done
     3748# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3749rm -f conftest.i conftest.err conftest.$ac_ext
     3750if $ac_preproc_ok; then :
     3751
     3752else
     3753  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3754$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3755as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     3756See \`config.log' for more details" "$LINENO" 5; }
     3757fi
     3758
     3759ac_ext=c
     3760ac_cpp='$CPP $CPPFLAGS'
     3761ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3762ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3763ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3764
     3765
     3766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
     3767$as_echo_n "checking for X... " >&6; }
     3768
     3769
     3770# Check whether --with-x was given.
     3771if test "${with_x+set}" = set; then :
     3772  withval=$with_x;
     3773fi
     3774
     3775# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
     3776if test "x$with_x" = xno; then
     3777  # The user explicitly disabled X.
     3778  have_x=disabled
     3779else
     3780  case $x_includes,$x_libraries in #(
     3781    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
     3782    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
     3783  $as_echo_n "(cached) " >&6
     3784else
     3785  # One or both of the vars are not set, and there is no cached value.
     3786ac_x_includes=no ac_x_libraries=no
     3787rm -f -r conftest.dir
     3788if mkdir conftest.dir; then
     3789  cd conftest.dir
     3790  cat >Imakefile <<'_ACEOF'
     3791incroot:
     3792        @echo incroot='${INCROOT}'
     3793usrlibdir:
     3794        @echo usrlibdir='${USRLIBDIR}'
     3795libdir:
     3796        @echo libdir='${LIBDIR}'
     3797_ACEOF
     3798  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
     3799    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     3800    for ac_var in incroot usrlibdir libdir; do
     3801      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
     3802    done
     3803    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
     3804    for ac_extension in a so sl dylib la dll; do
     3805      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
     3806         test -f "$ac_im_libdir/libX11.$ac_extension"; then
     3807        ac_im_usrlibdir=$ac_im_libdir; break
     3808      fi
     3809    done
     3810    # Screen out bogus values from the imake configuration.  They are
     3811    # bogus both because they are the default anyway, and because
     3812    # using them would break gcc on systems where it needs fixed includes.
     3813    case $ac_im_incroot in
     3814        /usr/include) ac_x_includes= ;;
     3815        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
     3816    esac
     3817    case $ac_im_usrlibdir in
     3818        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
     3819        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
     3820    esac
     3821  fi
     3822  cd ..
     3823  rm -f -r conftest.dir
     3824fi
     3825
     3826# Standard set of common directories for X headers.
     3827# Check X11 before X11Rn because it is often a symlink to the current release.
     3828ac_x_header_dirs='
     3829/usr/X11/include
     3830/usr/X11R7/include
     3831/usr/X11R6/include
     3832/usr/X11R5/include
     3833/usr/X11R4/include
     3834
     3835/usr/include/X11
     3836/usr/include/X11R7
     3837/usr/include/X11R6
     3838/usr/include/X11R5
     3839/usr/include/X11R4
     3840
     3841/usr/local/X11/include
     3842/usr/local/X11R7/include
     3843/usr/local/X11R6/include
     3844/usr/local/X11R5/include
     3845/usr/local/X11R4/include
     3846
     3847/usr/local/include/X11
     3848/usr/local/include/X11R7
     3849/usr/local/include/X11R6
     3850/usr/local/include/X11R5
     3851/usr/local/include/X11R4
     3852
     3853/usr/X386/include
     3854/usr/x386/include
     3855/usr/XFree86/include/X11
     3856
     3857/usr/include
     3858/usr/local/include
     3859/usr/unsupported/include
     3860/usr/athena/include
     3861/usr/local/x11r5/include
     3862/usr/lpp/Xamples/include
     3863
     3864/usr/openwin/include
     3865/usr/openwin/share/include'
     3866
     3867if test "$ac_x_includes" = no; then
     3868  # Guess where to find include files, by looking for Xlib.h.
     3869  # First, try using that file with no special directory specified.
     3870  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3871/* end confdefs.h.  */
     3872#include <X11/Xlib.h>
     3873_ACEOF
     3874if ac_fn_c_try_cpp "$LINENO"; then :
     3875  # We can compile using X headers with no special include directory.
     3876ac_x_includes=
     3877else
     3878  for ac_dir in $ac_x_header_dirs; do
     3879  if test -r "$ac_dir/X11/Xlib.h"; then
     3880    ac_x_includes=$ac_dir
     3881    break
     3882  fi
     3883done
     3884fi
     3885rm -f conftest.err conftest.i conftest.$ac_ext
     3886fi # $ac_x_includes = no
     3887
     3888if test "$ac_x_libraries" = no; then
     3889  # Check for the libraries.
     3890  # See if we find them without any special options.
     3891  # Don't add to $LIBS permanently.
     3892  ac_save_LIBS=$LIBS
     3893  LIBS="-lX11 $LIBS"
     3894  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3895/* end confdefs.h.  */
     3896#include <X11/Xlib.h>
     3897int
     3898main ()
     3899{
     3900XrmInitialize ()
     3901  ;
     3902  return 0;
     3903}
     3904_ACEOF
     3905if ac_fn_c_try_link "$LINENO"; then :
     3906  LIBS=$ac_save_LIBS
     3907# We can link X programs with no special library path.
     3908ac_x_libraries=
     3909else
     3910  LIBS=$ac_save_LIBS
     3911for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
     3912do
     3913  # Don't even attempt the hair of trying to link an X program!
     3914  for ac_extension in a so sl dylib la dll; do
     3915    if test -r "$ac_dir/libX11.$ac_extension"; then
     3916      ac_x_libraries=$ac_dir
     3917      break 2
     3918    fi
     3919  done
     3920done
     3921fi
     3922rm -f core conftest.err conftest.$ac_objext \
     3923    conftest$ac_exeext conftest.$ac_ext
     3924fi # $ac_x_libraries = no
     3925
     3926case $ac_x_includes,$ac_x_libraries in #(
     3927  no,* | *,no | *\'*)
     3928    # Didn't find X, or a directory has "'" in its name.
     3929    ac_cv_have_x="have_x=no";; #(
     3930  *)
     3931    # Record where we found X for the cache.
     3932    ac_cv_have_x="have_x=yes\
     3933        ac_x_includes='$ac_x_includes'\
     3934        ac_x_libraries='$ac_x_libraries'"
     3935esac
     3936fi
     3937;; #(
     3938    *) have_x=yes;;
     3939  esac
     3940  eval "$ac_cv_have_x"
     3941fi # $with_x != no
     3942
     3943if test "$have_x" != yes; then
     3944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
     3945$as_echo "$have_x" >&6; }
     3946  no_x=yes
     3947else
     3948  # If each of the values was on the command line, it overrides each guess.
     3949  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
     3950  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
     3951  # Update the cache value to reflect the command line values.
     3952  ac_cv_have_x="have_x=yes\
     3953        ac_x_includes='$x_includes'\
     3954        ac_x_libraries='$x_libraries'"
     3955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
     3956$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
     3957fi
     3958
     3959
     3960X_INCLUDES=${x_includes}
     3961X_LIBRARIES=${x_libraries}
     3962
     3963
     3964
     3965# Check for C, C++, and FORTRAN
     3966ac_ext=c
     3967ac_cpp='$CPP $CPPFLAGS'
     3968ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3969ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3970ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3971if test -n "$ac_tool_prefix"; then
     3972  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     3973set dummy ${ac_tool_prefix}gcc; ac_word=$2
     3974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3975$as_echo_n "checking for $ac_word... " >&6; }
     3976if ${ac_cv_prog_CC+:} false; then :
     3977  $as_echo_n "(cached) " >&6
     3978else
     3979  if test -n "$CC"; then
     3980  ac_cv_prog_CC="$CC" # Let the user override the test.
     3981else
     3982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3983for as_dir in $PATH
     3984do
     3985  IFS=$as_save_IFS
     3986  test -z "$as_dir" && as_dir=.
     3987    for ac_exec_ext in '' $ac_executable_extensions; do
     3988  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3989    ac_cv_prog_CC="${ac_tool_prefix}gcc"
     3990    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3991    break 2
     3992  fi
     3993done
     3994  done
     3995IFS=$as_save_IFS
     3996
     3997fi
     3998fi
     3999CC=$ac_cv_prog_CC
     4000if test -n "$CC"; then
     4001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     4002$as_echo "$CC" >&6; }
     4003else
     4004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4005$as_echo "no" >&6; }
     4006fi
     4007
     4008
     4009fi
     4010if test -z "$ac_cv_prog_CC"; then
     4011  ac_ct_CC=$CC
     4012  # Extract the first word of "gcc", so it can be a program name with args.
     4013set dummy gcc; ac_word=$2
     4014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4015$as_echo_n "checking for $ac_word... " >&6; }
     4016if ${ac_cv_prog_ac_ct_CC+:} false; then :
     4017  $as_echo_n "(cached) " >&6
     4018else
     4019  if test -n "$ac_ct_CC"; then
     4020  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     4021else
     4022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4023for as_dir in $PATH
     4024do
     4025  IFS=$as_save_IFS
     4026  test -z "$as_dir" && as_dir=.
     4027    for ac_exec_ext in '' $ac_executable_extensions; do
     4028  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4029    ac_cv_prog_ac_ct_CC="gcc"
     4030    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4031    break 2
     4032  fi
     4033done
     4034  done
     4035IFS=$as_save_IFS
     4036
     4037fi
     4038fi
     4039ac_ct_CC=$ac_cv_prog_ac_ct_CC
     4040if test -n "$ac_ct_CC"; then
     4041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     4042$as_echo "$ac_ct_CC" >&6; }
     4043else
     4044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4045$as_echo "no" >&6; }
     4046fi
     4047
     4048  if test "x$ac_ct_CC" = x; then
     4049    CC=""
     4050  else
     4051    case $cross_compiling:$ac_tool_warned in
     4052yes:)
     4053{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4054$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4055ac_tool_warned=yes ;;
     4056esac
     4057    CC=$ac_ct_CC
     4058  fi
     4059else
     4060  CC="$ac_cv_prog_CC"
     4061fi
     4062
     4063if test -z "$CC"; then
     4064          if test -n "$ac_tool_prefix"; then
     4065    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     4066set dummy ${ac_tool_prefix}cc; ac_word=$2
     4067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4068$as_echo_n "checking for $ac_word... " >&6; }
     4069if ${ac_cv_prog_CC+:} false; then :
     4070  $as_echo_n "(cached) " >&6
     4071else
     4072  if test -n "$CC"; then
     4073  ac_cv_prog_CC="$CC" # Let the user override the test.
     4074else
     4075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4076for as_dir in $PATH
     4077do
     4078  IFS=$as_save_IFS
     4079  test -z "$as_dir" && as_dir=.
     4080    for ac_exec_ext in '' $ac_executable_extensions; do
     4081  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4082    ac_cv_prog_CC="${ac_tool_prefix}cc"
     4083    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4084    break 2
     4085  fi
     4086done
     4087  done
     4088IFS=$as_save_IFS
     4089
     4090fi
     4091fi
     4092CC=$ac_cv_prog_CC
     4093if test -n "$CC"; then
     4094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     4095$as_echo "$CC" >&6; }
     4096else
     4097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4098$as_echo "no" >&6; }
     4099fi
     4100
     4101
     4102  fi
     4103fi
     4104if test -z "$CC"; then
     4105  # Extract the first word of "cc", so it can be a program name with args.
     4106set dummy cc; ac_word=$2
     4107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4108$as_echo_n "checking for $ac_word... " >&6; }
     4109if ${ac_cv_prog_CC+:} false; then :
     4110  $as_echo_n "(cached) " >&6
     4111else
     4112  if test -n "$CC"; then
     4113  ac_cv_prog_CC="$CC" # Let the user override the test.
     4114else
     4115  ac_prog_rejected=no
     4116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4117for as_dir in $PATH
     4118do
     4119  IFS=$as_save_IFS
     4120  test -z "$as_dir" && as_dir=.
     4121    for ac_exec_ext in '' $ac_executable_extensions; do
     4122  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4123    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     4124       ac_prog_rejected=yes
     4125       continue
     4126     fi
     4127    ac_cv_prog_CC="cc"
     4128    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4129    break 2
     4130  fi
     4131done
     4132  done
     4133IFS=$as_save_IFS
     4134
     4135if test $ac_prog_rejected = yes; then
     4136  # We found a bogon in the path, so make sure we never use it.
     4137  set dummy $ac_cv_prog_CC
     4138  shift
     4139  if test $# != 0; then
     4140    # We chose a different compiler from the bogus one.
     4141    # However, it has the same basename, so the bogon will be chosen
     4142    # first if we set CC to just the basename; use the full file name.
     4143    shift
     4144    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     4145  fi
     4146fi
     4147fi
     4148fi
     4149CC=$ac_cv_prog_CC
     4150if test -n "$CC"; then
     4151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     4152$as_echo "$CC" >&6; }
     4153else
     4154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4155$as_echo "no" >&6; }
     4156fi
     4157
     4158
     4159fi
     4160if test -z "$CC"; then
     4161  if test -n "$ac_tool_prefix"; then
     4162  for ac_prog in cl.exe
     4163  do
     4164    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     4165set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     4166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4167$as_echo_n "checking for $ac_word... " >&6; }
     4168if ${ac_cv_prog_CC+:} false; then :
     4169  $as_echo_n "(cached) " >&6
     4170else
     4171  if test -n "$CC"; then
     4172  ac_cv_prog_CC="$CC" # Let the user override the test.
     4173else
     4174as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4175for as_dir in $PATH
     4176do
     4177  IFS=$as_save_IFS
     4178  test -z "$as_dir" && as_dir=.
     4179    for ac_exec_ext in '' $ac_executable_extensions; do
     4180  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4181    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     4182    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4183    break 2
     4184  fi
     4185done
     4186  done
     4187IFS=$as_save_IFS
     4188
     4189fi
     4190fi
     4191CC=$ac_cv_prog_CC
     4192if test -n "$CC"; then
     4193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     4194$as_echo "$CC" >&6; }
     4195else
     4196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4197$as_echo "no" >&6; }
     4198fi
     4199
     4200
     4201    test -n "$CC" && break
     4202  done
     4203fi
     4204if test -z "$CC"; then
     4205  ac_ct_CC=$CC
     4206  for ac_prog in cl.exe
     4207do
     4208  # Extract the first word of "$ac_prog", so it can be a program name with args.
     4209set dummy $ac_prog; ac_word=$2
     4210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4211$as_echo_n "checking for $ac_word... " >&6; }
     4212if ${ac_cv_prog_ac_ct_CC+:} false; then :
     4213  $as_echo_n "(cached) " >&6
     4214else
     4215  if test -n "$ac_ct_CC"; then
     4216  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     4217else
     4218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4219for as_dir in $PATH
     4220do
     4221  IFS=$as_save_IFS
     4222  test -z "$as_dir" && as_dir=.
     4223    for ac_exec_ext in '' $ac_executable_extensions; do
     4224  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4225    ac_cv_prog_ac_ct_CC="$ac_prog"
     4226    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4227    break 2
     4228  fi
     4229done
     4230  done
     4231IFS=$as_save_IFS
     4232
     4233fi
     4234fi
     4235ac_ct_CC=$ac_cv_prog_ac_ct_CC
     4236if test -n "$ac_ct_CC"; then
     4237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     4238$as_echo "$ac_ct_CC" >&6; }
     4239else
     4240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4241$as_echo "no" >&6; }
     4242fi
     4243
     4244
     4245  test -n "$ac_ct_CC" && break
     4246done
     4247
     4248  if test "x$ac_ct_CC" = x; then
     4249    CC=""
     4250  else
     4251    case $cross_compiling:$ac_tool_warned in
     4252yes:)
     4253{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4254$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4255ac_tool_warned=yes ;;
     4256esac
     4257    CC=$ac_ct_CC
     4258  fi
     4259fi
     4260
     4261fi
     4262
     4263
     4264test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4265$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4266as_fn_error $? "no acceptable C compiler found in \$PATH
     4267See \`config.log' for more details" "$LINENO" 5; }
     4268
     4269# Provide some information about the compiler.
     4270$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     4271set X $ac_compile
     4272ac_compiler=$2
     4273for ac_option in --version -v -V -qversion; do
     4274  { { ac_try="$ac_compiler $ac_option >&5"
     4275case "(($ac_try" in
     4276  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4277  *) ac_try_echo=$ac_try;;
     4278esac
     4279eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4280$as_echo "$ac_try_echo"; } >&5
     4281  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     4282  ac_status=$?
     4283  if test -s conftest.err; then
     4284    sed '10a\
     4285... rest of stderr output deleted ...
     4286         10q' conftest.err >conftest.er1
     4287    cat conftest.er1 >&5
     4288  fi
     4289  rm -f conftest.er1 conftest.err
     4290  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4291  test $ac_status = 0; }
     4292done
     4293
     4294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     4295$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     4296if ${ac_cv_c_compiler_gnu+:} false; then :
     4297  $as_echo_n "(cached) " >&6
     4298else
     4299  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4300/* end confdefs.h.  */
     4301
     4302int
     4303main ()
     4304{
     4305#ifndef __GNUC__
     4306       choke me
     4307#endif
     4308
     4309  ;
     4310  return 0;
     4311}
     4312_ACEOF
     4313if ac_fn_c_try_compile "$LINENO"; then :
     4314  ac_compiler_gnu=yes
     4315else
     4316  ac_compiler_gnu=no
     4317fi
     4318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4319ac_cv_c_compiler_gnu=$ac_compiler_gnu
     4320
     4321fi
     4322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     4323$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     4324if test $ac_compiler_gnu = yes; then
     4325  GCC=yes
     4326else
     4327  GCC=
     4328fi
     4329ac_test_CFLAGS=${CFLAGS+set}
     4330ac_save_CFLAGS=$CFLAGS
     4331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     4332$as_echo_n "checking whether $CC accepts -g... " >&6; }
     4333if ${ac_cv_prog_cc_g+:} false; then :
     4334  $as_echo_n "(cached) " >&6
     4335else
     4336  ac_save_c_werror_flag=$ac_c_werror_flag
     4337   ac_c_werror_flag=yes
     4338   ac_cv_prog_cc_g=no
     4339   CFLAGS="-g"
     4340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4341/* end confdefs.h.  */
     4342
     4343int
     4344main ()
     4345{
     4346
     4347  ;
     4348  return 0;
     4349}
     4350_ACEOF
     4351if ac_fn_c_try_compile "$LINENO"; then :
     4352  ac_cv_prog_cc_g=yes
     4353else
     4354  CFLAGS=""
     4355      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4356/* end confdefs.h.  */
     4357
     4358int
     4359main ()
     4360{
     4361
     4362  ;
     4363  return 0;
     4364}
     4365_ACEOF
     4366if ac_fn_c_try_compile "$LINENO"; then :
     4367
     4368else
     4369  ac_c_werror_flag=$ac_save_c_werror_flag
     4370         CFLAGS="-g"
     4371         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4372/* end confdefs.h.  */
     4373
     4374int
     4375main ()
     4376{
     4377
     4378  ;
     4379  return 0;
     4380}
     4381_ACEOF
     4382if ac_fn_c_try_compile "$LINENO"; then :
     4383  ac_cv_prog_cc_g=yes
     4384fi
     4385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4386fi
     4387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4388fi
     4389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4390   ac_c_werror_flag=$ac_save_c_werror_flag
     4391fi
     4392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     4393$as_echo "$ac_cv_prog_cc_g" >&6; }
     4394if test "$ac_test_CFLAGS" = set; then
     4395  CFLAGS=$ac_save_CFLAGS
     4396elif test $ac_cv_prog_cc_g = yes; then
     4397  if test "$GCC" = yes; then
     4398    CFLAGS="-g -O2"
     4399  else
     4400    CFLAGS="-g"
     4401  fi
     4402else
     4403  if test "$GCC" = yes; then
     4404    CFLAGS="-O2"
     4405  else
     4406    CFLAGS=
     4407  fi
     4408fi
     4409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     4410$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     4411if ${ac_cv_prog_cc_c89+:} false; then :
     4412  $as_echo_n "(cached) " >&6
     4413else
     4414  ac_cv_prog_cc_c89=no
     4415ac_save_CC=$CC
     4416cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4417/* end confdefs.h.  */
     4418#include <stdarg.h>
     4419#include <stdio.h>
     4420struct stat;
     4421/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
     4422struct buf { int x; };
     4423FILE * (*rcsopen) (struct buf *, struct stat *, int);
     4424static char *e (p, i)
     4425     char **p;
     4426     int i;
     4427{
     4428  return p[i];
     4429}
     4430static char *f (char * (*g) (char **, int), char **p, ...)
     4431{
     4432  char *s;
     4433  va_list v;
     4434  va_start (v,p);
     4435  s = g (p, va_arg (v,int));
     4436  va_end (v);
     4437  return s;
     4438}
     4439
     4440/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     4441   function prototypes and stuff, but not '\xHH' hex character constants.
     4442   These don't provoke an error unfortunately, instead are silently treated
     4443   as 'x'.  The following induces an error, until -std is added to get
     4444   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     4445   array size at least.  It's necessary to write '\x00'==0 to get something
     4446   that's true only with -std.  */
     4447int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     4448
     4449/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     4450   inside strings and character constants.  */
     4451#define FOO(x) 'x'
     4452int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
     4453
     4454int test (int i, double x);
     4455struct s1 {int (*f) (int a);};
     4456struct s2 {int (*f) (double a);};
     4457int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     4458int argc;
     4459char **argv;
     4460int
     4461main ()
     4462{
     4463return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     4464  ;
     4465  return 0;
     4466}
     4467_ACEOF
     4468for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     4469        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     4470do
     4471  CC="$ac_save_CC $ac_arg"
     4472  if ac_fn_c_try_compile "$LINENO"; then :
     4473  ac_cv_prog_cc_c89=$ac_arg
     4474fi
     4475rm -f core conftest.err conftest.$ac_objext
     4476  test "x$ac_cv_prog_cc_c89" != "xno" && break
     4477done
     4478rm -f conftest.$ac_ext
     4479CC=$ac_save_CC
     4480
     4481fi
     4482# AC_CACHE_VAL
     4483case "x$ac_cv_prog_cc_c89" in
     4484  x)
     4485    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     4486$as_echo "none needed" >&6; } ;;
     4487  xno)
     4488    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     4489$as_echo "unsupported" >&6; } ;;
     4490  *)
     4491    CC="$CC $ac_cv_prog_cc_c89"
     4492    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     4493$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     4494esac
     4495if test "x$ac_cv_prog_cc_c89" != xno; then :
     4496
     4497fi
     4498
     4499ac_ext=c
     4500ac_cpp='$CPP $CPPFLAGS'
     4501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4503ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4504
    38754505ac_ext=cpp
    38764506ac_cpp='$CXXCPP $CPPFLAGS'
     
    43424972ac_compiler_gnu=$ac_cv_c_compiler_gnu
    43434973
    4344 
    4345 ac_ext=c
    4346 ac_cpp='$CPP $CPPFLAGS'
    4347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4350 
    4351 
    4352 
    4353 ac_ext=c
    4354 ac_cpp='$CPP $CPPFLAGS'
    4355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    4359 $as_echo_n "checking how to run the C preprocessor... " >&6; }
    4360 # On Suns, sometimes $CPP names a directory.
    4361 if test -n "$CPP" && test -d "$CPP"; then
    4362   CPP=
    4363 fi
    4364 if test -z "$CPP"; then
    4365   if ${ac_cv_prog_CPP+:} false; then :
    4366   $as_echo_n "(cached) " >&6
    4367 else
    4368       # Double quotes because CPP needs to be expanded
    4369     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    4370     do
    4371       ac_preproc_ok=false
    4372 for ac_c_preproc_warn_flag in '' yes
    4373 do
    4374   # Use a header file that comes with gcc, so configuring glibc
    4375   # with a fresh cross-compiler works.
    4376   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4377   # <limits.h> exists even on freestanding compilers.
    4378   # On the NeXT, cc -E runs the code through the compiler's parser,
    4379   # not just through cpp. "Syntax error" is here to catch this case.
    4380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4381 /* end confdefs.h.  */
    4382 #ifdef __STDC__
    4383 # include <limits.h>
    4384 #else
    4385 # include <assert.h>
    4386 #endif
    4387                      Syntax error
    4388 _ACEOF
    4389 if ac_fn_c_try_cpp "$LINENO"; then :
    4390 
    4391 else
    4392   # Broken: fails on valid input.
    4393 continue
    4394 fi
    4395 rm -f conftest.err conftest.i conftest.$ac_ext
    4396 
    4397   # OK, works on sane cases.  Now check whether nonexistent headers
    4398   # can be detected and how.
    4399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4400 /* end confdefs.h.  */
    4401 #include <ac_nonexistent.h>
    4402 _ACEOF
    4403 if ac_fn_c_try_cpp "$LINENO"; then :
    4404   # Broken: success on invalid input.
    4405 continue
    4406 else
    4407   # Passes both tests.
    4408 ac_preproc_ok=:
    4409 break
    4410 fi
    4411 rm -f conftest.err conftest.i conftest.$ac_ext
    4412 
    4413 done
    4414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4415 rm -f conftest.i conftest.err conftest.$ac_ext
    4416 if $ac_preproc_ok; then :
    4417   break
    4418 fi
    4419 
    4420     done
    4421     ac_cv_prog_CPP=$CPP
    4422 
    4423 fi
    4424   CPP=$ac_cv_prog_CPP
    4425 else
    4426   ac_cv_prog_CPP=$CPP
    4427 fi
    4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    4429 $as_echo "$CPP" >&6; }
    4430 ac_preproc_ok=false
    4431 for ac_c_preproc_warn_flag in '' yes
    4432 do
    4433   # Use a header file that comes with gcc, so configuring glibc
    4434   # with a fresh cross-compiler works.
    4435   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4436   # <limits.h> exists even on freestanding compilers.
    4437   # On the NeXT, cc -E runs the code through the compiler's parser,
    4438   # not just through cpp. "Syntax error" is here to catch this case.
    4439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4440 /* end confdefs.h.  */
    4441 #ifdef __STDC__
    4442 # include <limits.h>
    4443 #else
    4444 # include <assert.h>
    4445 #endif
    4446                      Syntax error
    4447 _ACEOF
    4448 if ac_fn_c_try_cpp "$LINENO"; then :
    4449 
    4450 else
    4451   # Broken: fails on valid input.
    4452 continue
    4453 fi
    4454 rm -f conftest.err conftest.i conftest.$ac_ext
    4455 
    4456   # OK, works on sane cases.  Now check whether nonexistent headers
    4457   # can be detected and how.
    4458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4459 /* end confdefs.h.  */
    4460 #include <ac_nonexistent.h>
    4461 _ACEOF
    4462 if ac_fn_c_try_cpp "$LINENO"; then :
    4463   # Broken: success on invalid input.
    4464 continue
    4465 else
    4466   # Passes both tests.
    4467 ac_preproc_ok=:
    4468 break
    4469 fi
    4470 rm -f conftest.err conftest.i conftest.$ac_ext
    4471 
    4472 done
    4473 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4474 rm -f conftest.i conftest.err conftest.$ac_ext
    4475 if $ac_preproc_ok; then :
    4476 
    4477 else
    4478   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    4479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4480 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    4481 See \`config.log' for more details" "$LINENO" 5; }
    4482 fi
    44834974
    44844975ac_ext=c
     
    47315222fi
    47325223
    4733 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol"
    4734 if test "x$ac_cv_func_atol" = xyes; then :
    4735 
    4736 else
    4737   as_fn_error $? "oops! no atol ?!?" "$LINENO" 5
    4738 fi
    4739 
    4740 
    47415224ac_ext=cpp
    47425225ac_cpp='$CXXCPP $CPPFLAGS'
     
    47475230
    47485231
    4749 for ac_func in sysinfo
    4750 do :
    4751   ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
    4752 if test "x$ac_cv_func_sysinfo" = xyes; then :
    4753   cat >>confdefs.h <<_ACEOF
    4754 #define HAVE_SYSINFO 1
    4755 _ACEOF
    4756 
    4757 fi
     5232if test -n "$ac_tool_prefix"; then
     5233  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     5234set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     5235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5236$as_echo_n "checking for $ac_word... " >&6; }
     5237if ${ac_cv_prog_RANLIB+:} false; then :
     5238  $as_echo_n "(cached) " >&6
     5239else
     5240  if test -n "$RANLIB"; then
     5241  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     5242else
     5243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5244for as_dir in $PATH
     5245do
     5246  IFS=$as_save_IFS
     5247  test -z "$as_dir" && as_dir=.
     5248    for ac_exec_ext in '' $ac_executable_extensions; do
     5249  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5250    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     5251    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5252    break 2
     5253  fi
    47585254done
    4759 
    4760 for ac_func in gettimeofday
    4761 do :
    4762   ac_fn_cxx_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
    4763 if test "x$ac_cv_func_gettimeofday" = xyes; then :
    4764   cat >>confdefs.h <<_ACEOF
    4765 #define HAVE_GETTIMEOFDAY 1
    4766 _ACEOF
    4767 
    4768 fi
     5255  done
     5256IFS=$as_save_IFS
     5257
     5258fi
     5259fi
     5260RANLIB=$ac_cv_prog_RANLIB
     5261if test -n "$RANLIB"; then
     5262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     5263$as_echo "$RANLIB" >&6; }
     5264else
     5265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5266$as_echo "no" >&6; }
     5267fi
     5268
     5269
     5270fi
     5271if test -z "$ac_cv_prog_RANLIB"; then
     5272  ac_ct_RANLIB=$RANLIB
     5273  # Extract the first word of "ranlib", so it can be a program name with args.
     5274set dummy ranlib; ac_word=$2
     5275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5276$as_echo_n "checking for $ac_word... " >&6; }
     5277if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     5278  $as_echo_n "(cached) " >&6
     5279else
     5280  if test -n "$ac_ct_RANLIB"; then
     5281  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     5282else
     5283as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5284for as_dir in $PATH
     5285do
     5286  IFS=$as_save_IFS
     5287  test -z "$as_dir" && as_dir=.
     5288    for ac_exec_ext in '' $ac_executable_extensions; do
     5289  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5290    ac_cv_prog_ac_ct_RANLIB="ranlib"
     5291    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5292    break 2
     5293  fi
    47695294done
    4770 
    4771 ac_fn_cxx_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
    4772 if test "x$ac_cv_func_localtime" = xyes; then :
    4773 
    4774 else
    4775   as_fn_error $? "oops! no localtime ?!?" "$LINENO" 5
    4776 fi
    4777 
    4778 ac_fn_cxx_check_func "$LINENO" "getenv" "ac_cv_func_getenv"
    4779 if test "x$ac_cv_func_getenv" = xyes; then :
    4780 
    4781 else
    4782   as_fn_error $? "oops! no getenv ?!?" "$LINENO" 5
    4783 fi
    4784 
     5295  done
     5296IFS=$as_save_IFS
     5297
     5298fi
     5299fi
     5300ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     5301if test -n "$ac_ct_RANLIB"; then
     5302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     5303$as_echo "$ac_ct_RANLIB" >&6; }
     5304else
     5305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5306$as_echo "no" >&6; }
     5307fi
     5308
     5309  if test "x$ac_ct_RANLIB" = x; then
     5310    RANLIB=":"
     5311  else
     5312    case $cross_compiling:$ac_tool_warned in
     5313yes:)
     5314{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5315$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5316ac_tool_warned=yes ;;
     5317esac
     5318    RANLIB=$ac_ct_RANLIB
     5319  fi
     5320else
     5321  RANLIB="$ac_cv_prog_RANLIB"
     5322fi
    47855323
    47865324ac_ext=cpp
     
    49335471
    49345472done
    4935 
    4936 
    4937 for ac_header in sys/sysinfo.h
    4938 do :
    4939   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
    4940 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
    4941   cat >>confdefs.h <<_ACEOF
    4942 #define HAVE_SYS_SYSINFO_H 1
    4943 _ACEOF
    4944 
    4945 fi
    4946 
    4947 done
    4948 
    4949 
    4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clrtoeol in -lncurses" >&5
    4951 $as_echo_n "checking for clrtoeol in -lncurses... " >&6; }
    4952 if ${ac_cv_lib_ncurses_clrtoeol+:} false; then :
    4953   $as_echo_n "(cached) " >&6
    4954 else
    4955   ac_check_lib_save_LIBS=$LIBS
    4956 LIBS="-lncurses  $LIBS"
    4957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4958 /* end confdefs.h.  */
    4959 
    4960 /* Override any GCC internal prototype to avoid an error.
    4961    Use char because int might match the return type of a GCC
    4962    builtin and then its argument prototype would still apply.  */
    4963 #ifdef __cplusplus
    4964 extern "C"
    4965 #endif
    4966 char clrtoeol ();
    4967 int
    4968 main ()
    4969 {
    4970 return clrtoeol ();
    4971   ;
    4972   return 0;
    4973 }
    4974 _ACEOF
    4975 if ac_fn_cxx_try_link "$LINENO"; then :
    4976   ac_cv_lib_ncurses_clrtoeol=yes
    4977 else
    4978   ac_cv_lib_ncurses_clrtoeol=no
    4979 fi
    4980 rm -f core conftest.err conftest.$ac_objext \
    4981     conftest$ac_exeext conftest.$ac_ext
    4982 LIBS=$ac_check_lib_save_LIBS
    4983 fi
    4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_clrtoeol" >&5
    4985 $as_echo "$ac_cv_lib_ncurses_clrtoeol" >&6; }
    4986 if test "x$ac_cv_lib_ncurses_clrtoeol" = xyes; then :
    4987   cat >>confdefs.h <<_ACEOF
    4988 #define HAVE_LIBNCURSES 1
    4989 _ACEOF
    4990 
    4991   LIBS="-lncurses $LIBS"
    4992 
    4993 else
    4994   as_fn_error $? "ncurses library missing?" "$LINENO" 5
    4995 fi
    4996 
    4997 for ac_header in ncurses.h
    4998 do :
    4999   ac_fn_cxx_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
    5000 if test "x$ac_cv_header_ncurses_h" = xyes; then :
    5001   cat >>confdefs.h <<_ACEOF
    5002 #define HAVE_NCURSES_H 1
    5003 _ACEOF
    5004 
    5005 else
    5006   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncurses headers missing ?" >&5
    5007 $as_echo "$as_me: WARNING: ncurses headers missing ?" >&2;}
    5008 fi
    5009 
    5010 done
    5011 
    5012 
    5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5
    5014 $as_echo_n "checking for main in -lstdc++... " >&6; }
    5015 if ${ac_cv_lib_stdcpp_main+:} false; then :
    5016   $as_echo_n "(cached) " >&6
    5017 else
    5018   ac_check_lib_save_LIBS=$LIBS
    5019 LIBS="-lstdc++  $LIBS"
    5020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5021 /* end confdefs.h.  */
    5022 
    5023 
    5024 int
    5025 main ()
    5026 {
    5027 return main ();
    5028   ;
    5029   return 0;
    5030 }
    5031 _ACEOF
    5032 if ac_fn_cxx_try_link "$LINENO"; then :
    5033   ac_cv_lib_stdcpp_main=yes
    5034 else
    5035   ac_cv_lib_stdcpp_main=no
    5036 fi
    5037 rm -f core conftest.err conftest.$ac_objext \
    5038     conftest$ac_exeext conftest.$ac_ext
    5039 LIBS=$ac_check_lib_save_LIBS
    5040 fi
    5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5
    5042 $as_echo "$ac_cv_lib_stdcpp_main" >&6; }
    5043 if test "x$ac_cv_lib_stdcpp_main" = xyes; then :
    5044   cat >>confdefs.h <<_ACEOF
    5045 #define HAVE_LIBSTDC__ 1
    5046 _ACEOF
    5047 
    5048   LIBS="-lstdc++ $LIBS"
    5049 
    5050 else
    5051   as_fn_error $? "librappture requires libstdc++" "$LINENO" 5
    5052 fi
    5053 
    5054 for ac_header in algorithm
    5055 do :
    5056   ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default"
    5057 if test "x$ac_cv_header_algorithm" = xyes; then :
    5058   cat >>confdefs.h <<_ACEOF
    5059 #define HAVE_ALGORITHM 1
    5060 _ACEOF
    5061 
    5062 else
    5063   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    5064 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    5065 fi
    5066 
    5067 done
    5068 
    5069 for ac_header in cctype
    5070 do :
    5071   ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default"
    5072 if test "x$ac_cv_header_cctype" = xyes; then :
    5073   cat >>confdefs.h <<_ACEOF
    5074 #define HAVE_CCTYPE 1
    5075 _ACEOF
    5076 
    5077 else
    5078   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    5079 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    5080 fi
    5081 
    5082 done
    5083 
    5084 for ac_header in cfloat
    5085 do :
    5086   ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default"
    5087 if test "x$ac_cv_header_cfloat" = xyes; then :
    5088   cat >>confdefs.h <<_ACEOF
    5089 #define HAVE_CFLOAT 1
    5090 _ACEOF
    5091 
    5092 else
    5093   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    5094 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    5095 fi
    5096 
    5097 done
    5098 
    5099 for ac_header in cmath
    5100 do :
    5101   ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default"
    5102 if test "x$ac_cv_header_cmath" = xyes; then :
    5103   cat >>confdefs.h <<_ACEOF
    5104 #define HAVE_CMATH 1
    5105 _ACEOF
    5106 
    5107 else
    5108   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    5109 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    5110 fi
    5111 
    5112 done
    5113 
    5114 for ac_header in cstdio
    5115 do :
    5116   ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default"
    5117 if test "x$ac_cv_header_cstdio" = xyes; then :
    5118   cat >>confdefs.h <<_ACEOF
    5119 #define HAVE_CSTDIO 1
    5120 _ACEOF
    5121 
    5122 else
    5123   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    5124 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    5125 fi
    5126 
    5127 done
    5128 
    5129 for ac_header in cstdlib
    5130 do :
    5131   ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default"
    5132 if test "x$ac_cv_header_cstdlib" = xyes; then :
    5133   cat >>confdefs.h <<_ACEOF
    5134 #define HAVE_CSTDLIB 1
    5135 _ACEOF
    5136 
    5137 else
    5138   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    5139 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    5140 fi
    5141 
    5142 done
    5143 
    5144 for ac_header in cstring
    5145 do :
    5146   ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default"
    5147 if test "x$ac_cv_header_cstring" = xyes; then :
    5148   cat >>confdefs.h <<_ACEOF
    5149 #define HAVE_CSTRING 1
    5150 _ACEOF
    5151 
    5152 else
    5153   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    5154 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    5155 fi
    5156 
    5157 done
    5158 
    5159 for ac_header in fstream
    5160 do :
    5161   ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default"
    5162 if test "x$ac_cv_header_fstream" = xyes; then :
    5163   cat >>confdefs.h <<_ACEOF
    5164 #define HAVE_FSTREAM 1
    5165 _ACEOF
    5166 
    5167 else
    5168   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    5169 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    5170 fi
    5171 
    5172 done
    5173 
    5174 for ac_header in list
    5175 do :
    5176   ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default"
    5177 if test "x$ac_cv_header_list" = xyes; then :
    5178   cat >>confdefs.h <<_ACEOF
    5179 #define HAVE_LIST 1
    5180 _ACEOF
    5181 
    5182 else
    5183   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    5184 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    5185 fi
    5186 
    5187 done
    5188 
    5189 for ac_header in iostream
    5190 do :
    5191   ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default"
    5192 if test "x$ac_cv_header_iostream" = xyes; then :
    5193   cat >>confdefs.h <<_ACEOF
    5194 #define HAVE_IOSTREAM 1
    5195 _ACEOF
    5196 
    5197 else
    5198   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    5199 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    5200 fi
    5201 
    5202 done
    5203 
    5204 for ac_header in iterator
    5205 do :
    5206   ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default"
    5207 if test "x$ac_cv_header_iterator" = xyes; then :
    5208   cat >>confdefs.h <<_ACEOF
    5209 #define HAVE_ITERATOR 1
    5210 _ACEOF
    5211 
    5212 else
    5213   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    5214 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    5215 fi
    5216 
    5217 done
    5218 
    5219 for ac_header in sstream
    5220 do :
    5221   ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default"
    5222 if test "x$ac_cv_header_sstream" = xyes; then :
    5223   cat >>confdefs.h <<_ACEOF
    5224 #define HAVE_SSTREAM 1
    5225 _ACEOF
    5226 
    5227 else
    5228   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    5229 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    5230 fi
    5231 
    5232 done
    5233 
    5234 for ac_header in stack
    5235 do :
    5236   ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default"
    5237 if test "x$ac_cv_header_stack" = xyes; then :
    5238   cat >>confdefs.h <<_ACEOF
    5239 #define HAVE_STACK 1
    5240 _ACEOF
    5241 
    5242 else
    5243   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    5244 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    5245 fi
    5246 
    5247 done
    5248 
    5249 for ac_header in string
    5250 do :
    5251   ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
    5252 if test "x$ac_cv_header_string" = xyes; then :
    5253   cat >>confdefs.h <<_ACEOF
    5254 #define HAVE_STRING 1
    5255 _ACEOF
    5256 
    5257 else
    5258   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    5259 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    5260 fi
    5261 
    5262 done
    5263 
    5264 for ac_header in vector
    5265 do :
    5266   ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default"
    5267 if test "x$ac_cv_header_vector" = xyes; then :
    5268   cat >>confdefs.h <<_ACEOF
    5269 #define HAVE_VECTOR 1
    5270 _ACEOF
    5271 
    5272 else
    5273   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    5274 $as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    5275 fi
    5276 
    5277 done
    5278 
    5279 
    5280 for ac_header in assert.h
    5281 do :
    5282   ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
    5283 if test "x$ac_cv_header_assert_h" = xyes; then :
    5284   cat >>confdefs.h <<_ACEOF
    5285 #define HAVE_ASSERT_H 1
    5286 _ACEOF
    5287 
    5288 else
    5289   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    5290 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    5291 fi
    5292 
    5293 done
    5294 
    5295 for ac_header in ctype.h
    5296 do :
    5297   ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
    5298 if test "x$ac_cv_header_ctype_h" = xyes; then :
    5299   cat >>confdefs.h <<_ACEOF
    5300 #define HAVE_CTYPE_H 1
    5301 _ACEOF
    5302 
    5303 else
    5304   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    5305 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    5306 fi
    5307 
    5308 done
    5309 
    5310 for ac_header in errno.h
    5311 do :
    5312   ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
    5313 if test "x$ac_cv_header_errno_h" = xyes; then :
    5314   cat >>confdefs.h <<_ACEOF
    5315 #define HAVE_ERRNO_H 1
    5316 _ACEOF
    5317 
    5318 else
    5319   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    5320 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    5321 fi
    5322 
    5323 done
    5324 
    5325 for ac_header in limits.h
    5326 do :
    5327   ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
    5328 if test "x$ac_cv_header_limits_h" = xyes; then :
    5329   cat >>confdefs.h <<_ACEOF
    5330 #define HAVE_LIMITS_H 1
    5331 _ACEOF
    5332 
    5333 else
    5334   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    5335 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    5336 fi
    5337 
    5338 done
    5339 
    5340 for ac_header in string.h
    5341 do :
    5342   ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
    5343 if test "x$ac_cv_header_string_h" = xyes; then :
    5344   cat >>confdefs.h <<_ACEOF
    5345 #define HAVE_STRING_H 1
    5346 _ACEOF
    5347 
    5348 else
    5349   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    5350 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    5351 fi
    5352 
    5353 done
    5354 
    5355 for ac_header in stdlib.h
    5356 do :
    5357   ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
    5358 if test "x$ac_cv_header_stdlib_h" = xyes; then :
    5359   cat >>confdefs.h <<_ACEOF
    5360 #define HAVE_STDLIB_H 1
    5361 _ACEOF
    5362 
    5363 else
    5364   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    5365 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    5366 fi
    5367 
    5368 done
    5369 
    5370 for ac_header in stddef.h
    5371 do :
    5372   ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default"
    5373 if test "x$ac_cv_header_stddef_h" = xyes; then :
    5374   cat >>confdefs.h <<_ACEOF
    5375 #define HAVE_STDDEF_H 1
    5376 _ACEOF
    5377 
    5378 else
    5379   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    5380 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    5381 fi
    5382 
    5383 done
    5384 
    5385 for ac_header in float.h
    5386 do :
    5387   ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
    5388 if test "x$ac_cv_header_float_h" = xyes; then :
    5389   cat >>confdefs.h <<_ACEOF
    5390 #define HAVE_FLOAT_H 1
    5391 _ACEOF
    5392 
    5393 else
    5394   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    5395 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    5396 fi
    5397 
    5398 done
    5399 
    5400 for ac_header in math.h
    5401 do :
    5402   ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
    5403 if test "x$ac_cv_header_math_h" = xyes; then :
    5404   cat >>confdefs.h <<_ACEOF
    5405 #define HAVE_MATH_H 1
    5406 _ACEOF
    5407 
    5408 else
    5409   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    5410 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    5411 fi
    5412 
    5413 done
    5414 
    5415 for ac_header in malloc.h
    5416 do :
    5417   ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
    5418 if test "x$ac_cv_header_malloc_h" = xyes; then :
    5419   cat >>confdefs.h <<_ACEOF
    5420 #define HAVE_MALLOC_H 1
    5421 _ACEOF
    5422 
    5423 else
    5424   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    5425 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    5426 fi
    5427 
    5428 done
    5429 
    5430 for ac_header in memory.h
    5431 do :
    5432   ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default"
    5433 if test "x$ac_cv_header_memory_h" = xyes; then :
    5434   cat >>confdefs.h <<_ACEOF
    5435 #define HAVE_MEMORY_H 1
    5436 _ACEOF
    5437 
    5438 else
    5439   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    5440 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    5441 fi
    5442 
    5443 done
    5444 
    5445 for ac_header in unistd.h
    5446 do :
    5447   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
    5448 if test "x$ac_cv_header_unistd_h" = xyes; then :
    5449   cat >>confdefs.h <<_ACEOF
    5450 #define HAVE_UNISTD_H 1
    5451 _ACEOF
    5452 
    5453 else
    5454   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    5455 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    5456 fi
    5457 
    5458 done
    5459 
    5460 
    5461 for ac_header in inttypes.h
    5462 do :
    5463   ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
    5464 if test "x$ac_cv_header_inttypes_h" = xyes; then :
    5465   cat >>confdefs.h <<_ACEOF
    5466 #define HAVE_INTTYPES_H 1
    5467 _ACEOF
    5468 
    5469 else
    5470   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    5471 $as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    5472 fi
    5473 
    5474 done
    5475 
    5476 if test "${ac_cv_header_inttypes_h}" = "yes" ; then
    5477   HAVE_INTTYPES_H=1
    5478 else
    5479   HAVE_INTTYPES_H=0
    5480 fi
    54815473
    54825474
     
    73097301fi
    73107302
    7311 # Check whether --enable-lang was given.
    7312 if test "${enable_lang+set}" = set; then :
    7313   enableval=$enable_lang;
    7314 else
    7315   enable_lang=yes
    7316 fi
    7317 
    7318 
    7319 ENABLE_LANG=
    7320 if test "$enable_lang" != "no" ; then
    7321     ENABLE_LANG="yes"
    7322 fi
    7323 
    73247303# Check whether --enable-gui was given.
    73257304if test "${enable_gui+set}" = set; then :
     
    73467325done
    73477326
    7348 
    7349 # Check whether --with-ffmpeg was given.
    7350 if test "${with_ffmpeg+set}" = set; then :
    7351   withval=$with_ffmpeg;
    7352 else
    7353   with_ffmpeg=yes
    7354 fi
    7355 
    7356 
    7357 
    7358 # Check whether --with-tclsh was given.
    7359 if test "${with_tclsh+set}" = set; then :
    7360   withval=$with_tclsh;
    7361 else
    7362   with_tclsh=yes
    7363 fi
    7364 
    7365 
    7366 TCLSH=""
    7367 if test "${with_tclsh}" != "no" ; then
    7368   tclsh="tclsh${TCL_VERSION}"
    7369   if test "${with_tclsh}" = "yes" ; then
    7370     # Extract the first word of "${tclsh}", so it can be a program name with args.
    7371 set dummy ${tclsh}; ac_word=$2
    7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7373 $as_echo_n "checking for $ac_word... " >&6; }
    7374 if ${ac_cv_path_TCLSH+:} false; then :
    7375   $as_echo_n "(cached) " >&6
    7376 else
    7377   case $TCLSH in
    7378   [\\/]* | ?:[\\/]*)
    7379   ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
    7380   ;;
    7381   *)
    7382   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7383 as_dummy="${exec_prefix}/bin:${PATH}"
    7384 for as_dir in $as_dummy
    7385 do
    7386   IFS=$as_save_IFS
    7387   test -z "$as_dir" && as_dir=.
    7388     for ac_exec_ext in '' $ac_executable_extensions; do
    7389   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7390     ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
    7391     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7392     break 2
    7393   fi
    7394 done
    7395   done
    7396 IFS=$as_save_IFS
    7397 
    7398   ;;
    7399 esac
    7400 fi
    7401 TCLSH=$ac_cv_path_TCLSH
    7402 if test -n "$TCLSH"; then
    7403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
    7404 $as_echo "$TCLSH" >&6; }
    7405 else
    7406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7407 $as_echo "no" >&6; }
    7408 fi
    7409 
    7410 
    7411   else
    7412     # Extract the first word of "${tclsh}", so it can be a program name with args.
    7413 set dummy ${tclsh}; ac_word=$2
    7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7415 $as_echo_n "checking for $ac_word... " >&6; }
    7416 if ${ac_cv_path_TCLSH+:} false; then :
    7417   $as_echo_n "(cached) " >&6
    7418 else
    7419   case $TCLSH in
    7420   [\\/]* | ?:[\\/]*)
    7421   ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
    7422   ;;
    7423   *)
    7424   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7425 as_dummy="${with_tclsh}/bin:${with_tclsh}"
    7426 for as_dir in $as_dummy
    7427 do
    7428   IFS=$as_save_IFS
    7429   test -z "$as_dir" && as_dir=.
    7430     for ac_exec_ext in '' $ac_executable_extensions; do
    7431   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7432     ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
    7433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7434     break 2
    7435   fi
    7436 done
    7437   done
    7438 IFS=$as_save_IFS
    7439 
    7440   ;;
    7441 esac
    7442 fi
    7443 TCLSH=$ac_cv_path_TCLSH
    7444 if test -n "$TCLSH"; then
    7445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
    7446 $as_echo "$TCLSH" >&6; }
    7447 else
    7448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7449 $as_echo "no" >&6; }
    7450 fi
    7451 
    7452 
    7453   fi
    7454   if test "x${TCLSH}" = "x" ; then
    7455     as_fn_error $? "can't find tclsh" "$LINENO" 5
    7456   fi
    7457 fi
    7458 
    7459 
    7460 TCL_INC_SPEC="$TCL_INCLUDE_SPEC"
    7461 
    7462 
    7463 # Check whether --with-vtk was given.
    7464 if test "${with_vtk+set}" = set; then :
    7465   withval=$with_vtk;
    7466 else
    7467   with_vtk=yes
    7468 fi
    7469 
    7470 
    7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&5
    7472 $as_echo_n "checking for vtk... " >&6; }
    7473 VTK_VERSION=6.0
    7474 VTK_TCL_DIR=""
    7475 
    7476 if test "$with_vtk" != "no" ; then
    7477   if test "$with_vtk" != "yes" ; then
    7478     VTK_VERSION=$with_vtk
    7479   fi
    7480   if test "x$with_vtk" != "x" ; then
    7481     for path in \
    7482      $libdir/tcltk \
    7483      $exec_prefix/lib/tcltk \
    7484      $prefix/lib/tcltk \
    7485      $libdir \
    7486      $prefix/lib \
    7487      $exec_prefix/lib \
    7488      /usr/lib
    7489     do
    7490       if test -d "$path/vtk-$VTK_VERSION" ; then
    7491         VTK_TCL_DIR="$path/vtk-$VTK_VERSION"
    7492       fi
    7493       if test "x${VTK_TCL_DIR}" != "x" ; then
    7494         break
    7495       fi
    7496     done
    7497   fi
    7498 else
    7499   if test "${ENABLE_GUI}" = "yes" ; then
    7500     as_fn_error $? "Rappture GUI requires VTK" "$LINENO" 5
    7501   fi
    7502 fi
    7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTK_TCL_DIR" >&5
    7504 $as_echo "$VTK_TCL_DIR" >&6; }
    7505 
    7506 # Check whether --enable-vtkdicom was given.
    7507 if test "${enable_vtkdicom+set}" = set; then :
    7508   enableval=$enable_vtkdicom;
    7509 else
    7510   enable_vtkdicom=no
    7511 fi
    7512 
    7513 
    7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtkDICOM" >&5
    7515 $as_echo_n "checking for vtkDICOM... " >&6; }
    7516 ENABLE_VTK_DICOM=
    7517 if test "$enable_vtkdicom" != "no" ; then
    7518     ENABLE_VTK_DICOM="yes"
    7519 fi
    7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtkdicom" >&5
    7521 $as_echo "$enable_vtkdicom" >&6; }
    7522 
    7523 
    7524 
    7525 # Check whether --with-matlab was given.
    7526 if test "${with_matlab+set}" = set; then :
    7527   withval=$with_matlab;
    7528 else
    7529   with_matlab=yes
    7530 fi
    7531 
    7532 
    7533 MCC=""
    7534 MEX=""
    7535 MEX_ARCH=""
    7536 MEXEXT=""
    7537 MATLAB=
    7538 if test "$with_matlab" != "no" ; then
    7539   if test "$with_matlab" = "yes" ; then
    7540     # Extract the first word of "matlab", so it can be a program name with args.
    7541 set dummy matlab; ac_word=$2
    7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7543 $as_echo_n "checking for $ac_word... " >&6; }
    7544 if ${ac_cv_path_MATLAB+:} false; then :
    7545   $as_echo_n "(cached) " >&6
    7546 else
    7547   case $MATLAB in
    7548   [\\/]* | ?:[\\/]*)
    7549   ac_cv_path_MATLAB="$MATLAB" # Let the user override the test with a path.
    7550   ;;
    7551   *)
    7552   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7553 for as_dir in $PATH
    7554 do
    7555   IFS=$as_save_IFS
    7556   test -z "$as_dir" && as_dir=.
    7557     for ac_exec_ext in '' $ac_executable_extensions; do
    7558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7559     ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext"
    7560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7561     break 2
    7562   fi
    7563 done
    7564   done
    7565 IFS=$as_save_IFS
    7566 
    7567   ;;
    7568 esac
    7569 fi
    7570 MATLAB=$ac_cv_path_MATLAB
    7571 if test -n "$MATLAB"; then
    7572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5
    7573 $as_echo "$MATLAB" >&6; }
    7574 else
    7575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7576 $as_echo "no" >&6; }
    7577 fi
    7578 
    7579 
    7580   else
    7581     # Extract the first word of "matlab", so it can be a program name with args.
    7582 set dummy matlab; ac_word=$2
    7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7584 $as_echo_n "checking for $ac_word... " >&6; }
    7585 if ${ac_cv_path_MATLAB+:} false; then :
    7586   $as_echo_n "(cached) " >&6
    7587 else
    7588   case $MATLAB in
    7589   [\\/]* | ?:[\\/]*)
    7590   ac_cv_path_MATLAB="$MATLAB" # Let the user override the test with a path.
    7591   ;;
    7592   *)
    7593   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7594 as_dummy="${with_matlab}/bin:${with_matlab}"
    7595 for as_dir in $as_dummy
    7596 do
    7597   IFS=$as_save_IFS
    7598   test -z "$as_dir" && as_dir=.
    7599     for ac_exec_ext in '' $ac_executable_extensions; do
    7600   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7601     ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext"
    7602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7603     break 2
    7604   fi
    7605 done
    7606   done
    7607 IFS=$as_save_IFS
    7608 
    7609   ;;
    7610 esac
    7611 fi
    7612 MATLAB=$ac_cv_path_MATLAB
    7613 if test -n "$MATLAB"; then
    7614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5
    7615 $as_echo "$MATLAB" >&6; }
    7616 else
    7617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7618 $as_echo "no" >&6; }
    7619 fi
    7620 
    7621 
    7622   fi
    7623 fi
    7624 
    7625 if test "x$MATLAB" != "x" ; then
    7626   # Found matlab.  May be a symlink to the real binary.  Run "matlab -e"
    7627   # to tell where matlab is installed.
    7628 
    7629   matlab_bindir=`${MATLAB} -e | grep "MATLAB=" | sed s/MATLAB=//`/bin
    7630 
    7631   # Now see if we can find "mex" or "mexext" there.
    7632   # Extract the first word of "mex", so it can be a program name with args.
    7633 set dummy mex; ac_word=$2
    7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7635 $as_echo_n "checking for $ac_word... " >&6; }
    7636 if ${ac_cv_path_MEX+:} false; then :
    7637   $as_echo_n "(cached) " >&6
    7638 else
    7639   case $MEX in
    7640   [\\/]* | ?:[\\/]*)
    7641   ac_cv_path_MEX="$MEX" # Let the user override the test with a path.
    7642   ;;
    7643   *)
    7644   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7645 for as_dir in ${matlab_bindir}
    7646 do
    7647   IFS=$as_save_IFS
    7648   test -z "$as_dir" && as_dir=.
    7649     for ac_exec_ext in '' $ac_executable_extensions; do
    7650   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7651     ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext"
    7652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7653     break 2
    7654   fi
    7655 done
    7656   done
    7657 IFS=$as_save_IFS
    7658 
    7659   ;;
    7660 esac
    7661 fi
    7662 MEX=$ac_cv_path_MEX
    7663 if test -n "$MEX"; then
    7664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5
    7665 $as_echo "$MEX" >&6; }
    7666 else
    7667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7668 $as_echo "no" >&6; }
    7669 fi
    7670 
    7671 
    7672   # Extract the first word of "mexext", so it can be a program name with args.
    7673 set dummy mexext; ac_word=$2
    7674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7675 $as_echo_n "checking for $ac_word... " >&6; }
    7676 if ${ac_cv_path_MEXEXT+:} false; then :
    7677   $as_echo_n "(cached) " >&6
    7678 else
    7679   case $MEXEXT in
    7680   [\\/]* | ?:[\\/]*)
    7681   ac_cv_path_MEXEXT="$MEXEXT" # Let the user override the test with a path.
    7682   ;;
    7683   *)
    7684   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7685 for as_dir in ${matlab_bindir}
    7686 do
    7687   IFS=$as_save_IFS
    7688   test -z "$as_dir" && as_dir=.
    7689     for ac_exec_ext in '' $ac_executable_extensions; do
    7690   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7691     ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext"
    7692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7693     break 2
    7694   fi
    7695 done
    7696   done
    7697 IFS=$as_save_IFS
    7698 
    7699   ;;
    7700 esac
    7701 fi
    7702 MEXEXT=$ac_cv_path_MEXEXT
    7703 if test -n "$MEXEXT"; then
    7704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5
    7705 $as_echo "$MEXEXT" >&6; }
    7706 else
    7707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7708 $as_echo "no" >&6; }
    7709 fi
    7710 
    7711 
    7712 
    7713   # Run "mexext" to get the expected module extension for this platform.
    7714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&5
    7715 $as_echo_n "checking for mex extension... " >&6; }
    7716   if test "x$MEXEXT" != "x" ; then
    7717     MEXEXT=`$MEXEXT`
    7718   else
    7719     MEXEXT="mexglx"
    7720   fi
    7721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5
    7722 $as_echo "$MEXEXT" >&6; }
    7723   # Extract the first word of "mcc", so it can be a program name with args.
    7724 set dummy mcc; ac_word=$2
    7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7726 $as_echo_n "checking for $ac_word... " >&6; }
    7727 if ${ac_cv_path_MCC+:} false; then :
    7728   $as_echo_n "(cached) " >&6
    7729 else
    7730   case $MCC in
    7731   [\\/]* | ?:[\\/]*)
    7732   ac_cv_path_MCC="$MCC" # Let the user override the test with a path.
    7733   ;;
    7734   *)
    7735   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7736 for as_dir in ${matlab_bindir}
    7737 do
    7738   IFS=$as_save_IFS
    7739   test -z "$as_dir" && as_dir=.
    7740     for ac_exec_ext in '' $ac_executable_extensions; do
    7741   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7742     ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext"
    7743     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7744     break 2
    7745   fi
    7746 done
    7747   done
    7748 IFS=$as_save_IFS
    7749 
    7750   ;;
    7751 esac
    7752 fi
    7753 MCC=$ac_cv_path_MCC
    7754 if test -n "$MCC"; then
    7755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5
    7756 $as_echo "$MCC" >&6; }
    7757 else
    7758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7759 $as_echo "no" >&6; }
    7760 fi
    7761 
    7762 
    7763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5
    7764 $as_echo_n "checking for mcc extension... " >&6; }
    7765 fi
    7766 
    7767 
    7768 
    7769 # Check whether --with-octave was given.
    7770 if test "${with_octave+set}" = set; then :
    7771   withval=$with_octave;
    7772 else
    7773   with_octave=yes
    7774 fi
    7775 
    7776 
    7777 OCTAVE=
    7778 OCTAVE_VERSION=
    7779 OCTAVE_VERSION_MAJOR=
    7780 MKOCTFILE2=
    7781 MKOCTFILE3=
    7782 
    7783 if test "$with_octave" != "no" ; then
    7784   if test "$with_octave" = "yes" ; then
    7785     # Extract the first word of "octave", so it can be a program name with args.
    7786 set dummy octave; ac_word=$2
    7787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7788 $as_echo_n "checking for $ac_word... " >&6; }
    7789 if ${ac_cv_path_OCTAVE+:} false; then :
    7790   $as_echo_n "(cached) " >&6
    7791 else
    7792   case $OCTAVE in
    7793   [\\/]* | ?:[\\/]*)
    7794   ac_cv_path_OCTAVE="$OCTAVE" # Let the user override the test with a path.
    7795   ;;
    7796   *)
    7797   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7798 for as_dir in $PATH
    7799 do
    7800   IFS=$as_save_IFS
    7801   test -z "$as_dir" && as_dir=.
    7802     for ac_exec_ext in '' $ac_executable_extensions; do
    7803   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7804     ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext"
    7805     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7806     break 2
    7807   fi
    7808 done
    7809   done
    7810 IFS=$as_save_IFS
    7811 
    7812   ;;
    7813 esac
    7814 fi
    7815 OCTAVE=$ac_cv_path_OCTAVE
    7816 if test -n "$OCTAVE"; then
    7817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5
    7818 $as_echo "$OCTAVE" >&6; }
    7819 else
    7820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7821 $as_echo "no" >&6; }
    7822 fi
    7823 
    7824 
    7825     # Extract the first word of "mkoctfile", so it can be a program name with args.
    7826 set dummy mkoctfile; ac_word=$2
    7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7828 $as_echo_n "checking for $ac_word... " >&6; }
    7829 if ${ac_cv_path_MKOCTFILE+:} false; then :
    7830   $as_echo_n "(cached) " >&6
    7831 else
    7832   case $MKOCTFILE in
    7833   [\\/]* | ?:[\\/]*)
    7834   ac_cv_path_MKOCTFILE="$MKOCTFILE" # Let the user override the test with a path.
    7835   ;;
    7836   *)
    7837   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7838 for as_dir in $PATH
    7839 do
    7840   IFS=$as_save_IFS
    7841   test -z "$as_dir" && as_dir=.
    7842     for ac_exec_ext in '' $ac_executable_extensions; do
    7843   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7844     ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext"
    7845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7846     break 2
    7847   fi
    7848 done
    7849   done
    7850 IFS=$as_save_IFS
    7851 
    7852   ;;
    7853 esac
    7854 fi
    7855 MKOCTFILE=$ac_cv_path_MKOCTFILE
    7856 if test -n "$MKOCTFILE"; then
    7857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5
    7858 $as_echo "$MKOCTFILE" >&6; }
    7859 else
    7860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7861 $as_echo "no" >&6; }
    7862 fi
    7863 
    7864 
    7865   else
    7866     OCTAVE=$with_octave
    7867     MKOCTFILE=`dirname $with_octave`/mkoctfile
    7868   fi
    7869 fi
    7870 
    7871 if test "x${OCTAVE}" != "x" ; then
    7872   OCTAVE_VERSION=`${OCTAVE} -v | grep version | cut -d' ' -f4`
    7873   OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1`
    7874   if test "${OCTAVE_VERSION_MAJOR}" == "3" ; then
    7875     OCTAVE3=$OCTAVE
    7876     MKOCTFILE3=$MKOCTFILE
    7877   fi
    7878   if test "${OCTAVE_VERSION_MAJOR}" == "2" ; then
    7879     OCTAVE2=$OCTAVE
    7880     MKOCTFILE2=$MKOCTFILE
    7881   fi
    7882 fi
    7883 
    7884 #
    7885 # Check for octave3 before octave2 so that we can override the
    7886 # OCTAVE_VERSION variables.
    7887 #
    7888 # Rappture doesn't normally really support both octave2 and octave3
    7889 # simultaneously.  NANOhub has a hacked version of octave3 that
    7890 # looks for OCTAVE_LOADPATH before looking at OCTAVE_PATH (i.e.
    7891 # OCTAVE_PATH tells octave2 where to load the rappture bindings
    7892 # and OCTAVE_LOADPATH tells octave3 where to load).
    7893 #
    7894 # Usually you will have installed either octave2 or octave3, but
    7895 # not both.
    7896 #
    7897 
    7898 # Check if octave3 was designated *in addition* to the installed version.
    7899 # This can override the default version if they are the same versions.
    7900 
    7901 
    7902 # Check whether --with-mkoctfile3 was given.
    7903 if test "${with_mkoctfile3+set}" = set; then :
    7904   withval=$with_mkoctfile3;
    7905 else
    7906   with_mkoctfile3=no
    7907 fi
    7908 
    7909 
    7910 if test "$with_mkoctfile3" != "no" ; then
    7911   if test "$with_mkoctfile3" = "yes" ; then
    7912     # Extract the first word of "mkoctfile", so it can be a program name with args.
    7913 set dummy mkoctfile; ac_word=$2
    7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7915 $as_echo_n "checking for $ac_word... " >&6; }
    7916 if ${ac_cv_path_mkoctfile3+:} false; then :
    7917   $as_echo_n "(cached) " >&6
    7918 else
    7919   case $mkoctfile3 in
    7920   [\\/]* | ?:[\\/]*)
    7921   ac_cv_path_mkoctfile3="$mkoctfile3" # Let the user override the test with a path.
    7922   ;;
    7923   *)
    7924   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7925 for as_dir in $PATH
    7926 do
    7927   IFS=$as_save_IFS
    7928   test -z "$as_dir" && as_dir=.
    7929     for ac_exec_ext in '' $ac_executable_extensions; do
    7930   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7931     ac_cv_path_mkoctfile3="$as_dir/$ac_word$ac_exec_ext"
    7932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7933     break 2
    7934   fi
    7935 done
    7936   done
    7937 IFS=$as_save_IFS
    7938 
    7939   ;;
    7940 esac
    7941 fi
    7942 mkoctfile3=$ac_cv_path_mkoctfile3
    7943 if test -n "$mkoctfile3"; then
    7944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile3" >&5
    7945 $as_echo "$mkoctfile3" >&6; }
    7946 else
    7947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7948 $as_echo "no" >&6; }
    7949 fi
    7950 
    7951 
    7952   else
    7953     MKOCTFILE3=$with_mkoctfile3
    7954   fi
    7955   OCTAVE_VERSION=`${MKOCTFILE3} --version 2>&1 | cut -d' ' -f3`
    7956   OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1`
    7957 fi
    7958 
    7959 # Check if mkoctfile2 was designated *in addition* to the installed version.
    7960 # This can override the default version if they are the same versions.
    7961 
    7962 # Check whether --with-mkoctfile2 was given.
    7963 if test "${with_mkoctfile2+set}" = set; then :
    7964   withval=$with_mkoctfile2;
    7965 else
    7966   with_mkoctfile2=no
    7967 fi
    7968 
    7969 
    7970 if test "$with_mkoctfile2" != "no" ; then
    7971   if test "$with_mkoctfile2" = "yes" ; then
    7972     # Extract the first word of "mkoctfile", so it can be a program name with args.
    7973 set dummy mkoctfile; ac_word=$2
    7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7975 $as_echo_n "checking for $ac_word... " >&6; }
    7976 if ${ac_cv_path_mkoctfile2+:} false; then :
    7977   $as_echo_n "(cached) " >&6
    7978 else
    7979   case $mkoctfile2 in
    7980   [\\/]* | ?:[\\/]*)
    7981   ac_cv_path_mkoctfile2="$mkoctfile2" # Let the user override the test with a path.
    7982   ;;
    7983   *)
    7984   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7985 for as_dir in $PATH
    7986 do
    7987   IFS=$as_save_IFS
    7988   test -z "$as_dir" && as_dir=.
    7989     for ac_exec_ext in '' $ac_executable_extensions; do
    7990   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7991     ac_cv_path_mkoctfile2="$as_dir/$ac_word$ac_exec_ext"
    7992     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7993     break 2
    7994   fi
    7995 done
    7996   done
    7997 IFS=$as_save_IFS
    7998 
    7999   ;;
    8000 esac
    8001 fi
    8002 mkoctfile2=$ac_cv_path_mkoctfile2
    8003 if test -n "$mkoctfile2"; then
    8004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile2" >&5
    8005 $as_echo "$mkoctfile2" >&6; }
    8006 else
    8007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8008 $as_echo "no" >&6; }
    8009 fi
    8010 
    8011 
    8012   else
    8013     MKOCTFILE2=$with_mkoctfile2
    8014   fi
    8015   # Have to use octave to get a version, instead of mkoctfile.
    8016   octave=`dirname $MKOCTFILE2`/octave
    8017   OCTAVE_VERSION=`${octave} -v | grep version | cut -d' ' -f4`
    8018   OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1`
    8019 fi
    8020 
    8021 
    8022 
    8023 # Check whether --with-perl was given.
    8024 if test "${with_perl+set}" = set; then :
    8025   withval=$with_perl;
    8026 else
    8027   with_perl=yes
    8028 fi
    8029 
    8030 
    8031 PERL=
    8032 PERL_INCLUDES=
    8033 PERL_ARCHLIB=
    8034 PERL_ARCHLIBEXP=
    8035 PERL_VERSION=
    8036 PERL_VENDORLIB=
    8037 PERL_PRIVLIB=
    8038 PERL_CPPFLAGS=
    8039 PERL_CCFlAGS=
    8040 PERL_VERSION_RV=
    8041 XSUBPP=
    8042 PERL_LIBSPEC=
    8043 if test "$with_perl" != "no" ; then
    8044   if test "$with_perl" != "yes" ; then
    8045     # Extract the first word of "perl", so it can be a program name with args.
    8046 set dummy perl; ac_word=$2
    8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8048 $as_echo_n "checking for $ac_word... " >&6; }
    8049 if ${ac_cv_path_PERL+:} false; then :
    8050   $as_echo_n "(cached) " >&6
    8051 else
    8052   case $PERL in
    8053   [\\/]* | ?:[\\/]*)
    8054   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
    8055   ;;
    8056   *)
    8057   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8058 as_dummy="$with_perl/bin:$with_perl"
    8059 for as_dir in $as_dummy
    8060 do
    8061   IFS=$as_save_IFS
    8062   test -z "$as_dir" && as_dir=.
    8063     for ac_exec_ext in '' $ac_executable_extensions; do
    8064   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8065     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    8066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8067     break 2
    8068   fi
    8069 done
    8070   done
    8071 IFS=$as_save_IFS
    8072 
    8073   ;;
    8074 esac
    8075 fi
    8076 PERL=$ac_cv_path_PERL
    8077 if test -n "$PERL"; then
    8078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
    8079 $as_echo "$PERL" >&6; }
    8080 else
    8081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8082 $as_echo "no" >&6; }
    8083 fi
    8084 
    8085 
    8086     # Extract the first word of "xsubpp", so it can be a program name with args.
    8087 set dummy xsubpp; ac_word=$2
    8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8089 $as_echo_n "checking for $ac_word... " >&6; }
    8090 if ${ac_cv_path_XSUBPP+:} false; then :
    8091   $as_echo_n "(cached) " >&6
    8092 else
    8093   case $XSUBPP in
    8094   [\\/]* | ?:[\\/]*)
    8095   ac_cv_path_XSUBPP="$XSUBPP" # Let the user override the test with a path.
    8096   ;;
    8097   *)
    8098   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8099 as_dummy="$with_perl/bin:$with_perl"
    8100 for as_dir in $as_dummy
    8101 do
    8102   IFS=$as_save_IFS
    8103   test -z "$as_dir" && as_dir=.
    8104     for ac_exec_ext in '' $ac_executable_extensions; do
    8105   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8106     ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext"
    8107     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8108     break 2
    8109   fi
    8110 done
    8111   done
    8112 IFS=$as_save_IFS
    8113 
    8114   ;;
    8115 esac
    8116 fi
    8117 XSUBPP=$ac_cv_path_XSUBPP
    8118 if test -n "$XSUBPP"; then
    8119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5
    8120 $as_echo "$XSUBPP" >&6; }
    8121 else
    8122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8123 $as_echo "no" >&6; }
    8124 fi
    8125 
    8126 
    8127   else
    8128     # Extract the first word of "perl", so it can be a program name with args.
    8129 set dummy perl; ac_word=$2
    8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8131 $as_echo_n "checking for $ac_word... " >&6; }
    8132 if ${ac_cv_path_PERL+:} false; then :
    8133   $as_echo_n "(cached) " >&6
    8134 else
    8135   case $PERL in
    8136   [\\/]* | ?:[\\/]*)
    8137   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
    8138   ;;
    8139   *)
    8140   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8141 for as_dir in $PATH
    8142 do
    8143   IFS=$as_save_IFS
    8144   test -z "$as_dir" && as_dir=.
    8145     for ac_exec_ext in '' $ac_executable_extensions; do
    8146   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8147     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    8148     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8149     break 2
    8150   fi
    8151 done
    8152   done
    8153 IFS=$as_save_IFS
    8154 
    8155   ;;
    8156 esac
    8157 fi
    8158 PERL=$ac_cv_path_PERL
    8159 if test -n "$PERL"; then
    8160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
    8161 $as_echo "$PERL" >&6; }
    8162 else
    8163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8164 $as_echo "no" >&6; }
    8165 fi
    8166 
    8167 
    8168     # Extract the first word of "xsubpp", so it can be a program name with args.
    8169 set dummy xsubpp; ac_word=$2
    8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8171 $as_echo_n "checking for $ac_word... " >&6; }
    8172 if ${ac_cv_path_XSUBPP+:} false; then :
    8173   $as_echo_n "(cached) " >&6
    8174 else
    8175   case $XSUBPP in
    8176   [\\/]* | ?:[\\/]*)
    8177   ac_cv_path_XSUBPP="$XSUBPP" # Let the user override the test with a path.
    8178   ;;
    8179   *)
    8180   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8181 for as_dir in $PATH
    8182 do
    8183   IFS=$as_save_IFS
    8184   test -z "$as_dir" && as_dir=.
    8185     for ac_exec_ext in '' $ac_executable_extensions; do
    8186   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8187     ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext"
    8188     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8189     break 2
    8190   fi
    8191 done
    8192   done
    8193 IFS=$as_save_IFS
    8194 
    8195   ;;
    8196 esac
    8197 fi
    8198 XSUBPP=$ac_cv_path_XSUBPP
    8199 if test -n "$XSUBPP"; then
    8200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5
    8201 $as_echo "$XSUBPP" >&6; }
    8202 else
    8203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8204 $as_echo "no" >&6; }
    8205 fi
    8206 
    8207 
    8208   fi
    8209   if test "x${PERL}" != "x" ; then
    8210     PERL_ARCHLIB=`${PERL} -MConfig -e 'print $Config{archlib}'`
    8211     PERL_VERSION=`${PERL} -MConfig -e 'print $Config{version}'`
    8212     PERL_CCFLAGS=`${PERL} -MConfig -e 'print $Config{ccflags}'`
    8213     PERL_CPPFLAGS=`${PERL} -MConfig -e 'print $Config{cppflags}'`
    8214     PERL_VENDORLIB=`${PERL} -MConfig -e 'print $Config{vendorlib}'`
    8215     PERL_PRIVLIB=`${PERL} -MConfig -e 'print $Config{privlib}'`
    8216     PERL_INSTALLARCHLIB=`${PERL} -MConfig -e 'print $Config{installarchlib}'`
    8217     PERL_ARCHLIBEXP=`${PERL} -MConfig -e 'print $Config{archlibexp}'`
    8218     PERL_VERSION_RV=`echo ${PERL_VERSION} | cut -d'.' -f1-2`
    8219     # libperl may or may not be installed.  Check for its existence.
    8220     if test -f "${PERL_ARCHLIBEXP}/CORE/libperl${SHLIB_SUFFIX}" ; then
    8221       PERL_LIBSPEC="-L${PERL_ARCHLIBEXP}/CORE -lperl"
    8222     fi
    8223   fi
    8224 fi
    8225 
    8226 
    8227 PYTHON=""
    8228 PYTHON_CFLAGS=""
    8229 PYTHON_CPPFLAGS=""
    8230 PYTHON_DISTUTILS=""
    8231 PYTHON_INCLUDES=""
    8232 PYTHON_LDFLAGS=""
    8233 PYTHON_LIB=""
    8234 PYTHON_LIBDIR=""
    8235 PYTHON_SITE_DIR=""
    8236 PYTHON_SITE_PACKAGES=""
    8237 PYTHON_VERSION=""
    8238 pythondir=""
    8239 
    8240 # Check whether --with-python was given.
    8241 if test "${with_python+set}" = set; then :
    8242   withval=$with_python;
    8243 else
    8244   with_python=yes
    8245 fi
    8246 
    8247 
    8248 if test "$with_python" != "no" ; then
    8249   if test "$with_python" = "yes" ; then
    8250     # 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.
    8251 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
    8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8253 $as_echo_n "checking for $ac_word... " >&6; }
    8254 if ${ac_cv_path_PYTHON+:} false; then :
    8255   $as_echo_n "(cached) " >&6
    8256 else
    8257   case $PYTHON in
    8258   [\\/]* | ?:[\\/]*)
    8259   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
    8260   ;;
    8261   *)
    8262   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8263 for as_dir in $PATH
    8264 do
    8265   IFS=$as_save_IFS
    8266   test -z "$as_dir" && as_dir=.
    8267     for ac_exec_ext in '' $ac_executable_extensions; do
    8268   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8269     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    8270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8271     break 2
    8272   fi
    8273 done
    8274   done
    8275 IFS=$as_save_IFS
    8276 
    8277   ;;
    8278 esac
    8279 fi
    8280 PYTHON=$ac_cv_path_PYTHON
    8281 if test -n "$PYTHON"; then
    8282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    8283 $as_echo "$PYTHON" >&6; }
    8284 else
    8285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8286 $as_echo "no" >&6; }
    8287 fi
    8288 
    8289 
    8290   else
    8291     # Extract the first word of "python", so it can be a program name with args.
    8292 set dummy python; ac_word=$2
    8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8294 $as_echo_n "checking for $ac_word... " >&6; }
    8295 if ${ac_cv_path_PYTHON+:} false; then :
    8296   $as_echo_n "(cached) " >&6
    8297 else
    8298   case $PYTHON in
    8299   [\\/]* | ?:[\\/]*)
    8300   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
    8301   ;;
    8302   *)
    8303   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8304 as_dummy="${with_python}/bin:${with_python}"
    8305 for as_dir in $as_dummy
    8306 do
    8307   IFS=$as_save_IFS
    8308   test -z "$as_dir" && as_dir=.
    8309     for ac_exec_ext in '' $ac_executable_extensions; do
    8310   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8311     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    8312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8313     break 2
    8314   fi
    8315 done
    8316   done
    8317 IFS=$as_save_IFS
    8318 
    8319   ;;
    8320 esac
    8321 fi
    8322 PYTHON=$ac_cv_path_PYTHON
    8323 if test -n "$PYTHON"; then
    8324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    8325 $as_echo "$PYTHON" >&6; }
    8326 else
    8327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8328 $as_echo "no" >&6; }
    8329 fi
    8330 
    8331 
    8332   fi
    8333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
    8334 $as_echo_n "checking for Python version... " >&6; }
    8335   if test "x${PYTHON}" != "x"; then
    8336     PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
    8337   fi
    8338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
    8339 $as_echo "$PYTHON_VERSION" >&6; }
    8340 fi
    8341 
    8342 if test "x${PYTHON_VERSION}" != "x"; then
    8343   PYTHON_INCLUDES=$incdir
    8344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
    8345 $as_echo_n "checking for Python distutils... " >&6; }
    8346   PYTHON_DISTUTILS=""
    8347   ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \
    8348         build build_ext 2>&1 > /dev/null
    8349   if test $? = 0 ; then
    8350     PYTHON_DISTUTILS="yes"
    8351   fi
    8352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
    8353 $as_echo "$PYTHON_DISTUTILS" >&6; }
    8354   if test "${PYTHON_DISTUTILS}" = "yes" ; then
    8355     PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
    8356     #
    8357     # Check for Python include path
    8358     #
    8359     { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
    8360 $as_echo_n "checking path to Python headers... " >&6; }
    8361     PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \
    8362      print distutils.sysconfig.get_python_inc();"`
    8363     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5
    8364 $as_echo "$PYTHON_INCDIR" >&6; }
    8365     #
    8366     # Python distutils found, get settings from python directly
    8367     #
    8368     PYTHON_SITE_DIR="`${PYTHON} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0);'`"
    8369 
    8370     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);'`"
    8371     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);'`"
    8372     PYTHON_LIB="`$PYTHON -c 'from distutils import sysconfig; print \"python\" + sysconfig.get_config_var(\"VERSION\");'`"
    8373     PYTHON_LIBDIR="`$PYTHON -c 'from distutils import sysconfig; print sysconfig.get_config_var(\"LIBDIR\");'`"
    8374     save_CPPFLAGS=$CPPFLAGS
    8375     CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"
    8376     for ac_header in Python.h
    8377 do :
    8378   ac_fn_cxx_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
    8379 if test "x$ac_cv_header_Python_h" = xyes; then :
    8380   cat >>confdefs.h <<_ACEOF
    8381 #define HAVE_PYTHON_H 1
    8382 _ACEOF
    8383  found=yes
    8384 else
    8385   found=no
    8386 fi
    8387 
    8388 done
    8389 
    8390     CPPFLAGS=$save_CPPFLAGS
    8391     if test "$found" = "no" ; then
    8392       PYTHON_DISTUTILS=""
    8393     fi
    8394   fi
    8395 fi
    8396 
    8397 
    8398 
    8399 # Check whether --with-java was given.
    8400 if test "${with_java+set}" = set; then :
    8401   withval=$with_java;
    8402 else
    8403   with_java=yes
    8404 fi
    8405 
    8406 JAVA=""
    8407 JAVAH=""
    8408 JAVAC=""
    8409 JAVA_DEV_PKG="no"
    8410 
    8411 if test "${with_java}" != "no" ; then
    8412   if test "${with_java}" = "yes" ; then
    8413     # Extract the first word of "java", so it can be a program name with args.
    8414 set dummy java; ac_word=$2
    8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8416 $as_echo_n "checking for $ac_word... " >&6; }
    8417 if ${ac_cv_path_JAVA+:} false; then :
    8418   $as_echo_n "(cached) " >&6
    8419 else
    8420   case $JAVA in
    8421   [\\/]* | ?:[\\/]*)
    8422   ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path.
    8423   ;;
    8424   *)
    8425   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8426 for as_dir in $PATH
    8427 do
    8428   IFS=$as_save_IFS
    8429   test -z "$as_dir" && as_dir=.
    8430     for ac_exec_ext in '' $ac_executable_extensions; do
    8431   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8432     ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
    8433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8434     break 2
    8435   fi
    8436 done
    8437   done
    8438 IFS=$as_save_IFS
    8439 
    8440   ;;
    8441 esac
    8442 fi
    8443 JAVA=$ac_cv_path_JAVA
    8444 if test -n "$JAVA"; then
    8445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    8446 $as_echo "$JAVA" >&6; }
    8447 else
    8448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8449 $as_echo "no" >&6; }
    8450 fi
    8451 
    8452 
    8453     # Extract the first word of "javac", so it can be a program name with args.
    8454 set dummy javac; ac_word=$2
    8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8456 $as_echo_n "checking for $ac_word... " >&6; }
    8457 if ${ac_cv_path_JAVAC+:} false; then :
    8458   $as_echo_n "(cached) " >&6
    8459 else
    8460   case $JAVAC in
    8461   [\\/]* | ?:[\\/]*)
    8462   ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
    8463   ;;
    8464   *)
    8465   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8466 for as_dir in $PATH
    8467 do
    8468   IFS=$as_save_IFS
    8469   test -z "$as_dir" && as_dir=.
    8470     for ac_exec_ext in '' $ac_executable_extensions; do
    8471   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8472     ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
    8473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8474     break 2
    8475   fi
    8476 done
    8477   done
    8478 IFS=$as_save_IFS
    8479 
    8480   ;;
    8481 esac
    8482 fi
    8483 JAVAC=$ac_cv_path_JAVAC
    8484 if test -n "$JAVAC"; then
    8485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    8486 $as_echo "$JAVAC" >&6; }
    8487 else
    8488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8489 $as_echo "no" >&6; }
    8490 fi
    8491 
    8492 
    8493     # Extract the first word of "javah", so it can be a program name with args.
    8494 set dummy javah; ac_word=$2
    8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8496 $as_echo_n "checking for $ac_word... " >&6; }
    8497 if ${ac_cv_path_JAVAH+:} false; then :
    8498   $as_echo_n "(cached) " >&6
    8499 else
    8500   case $JAVAH in
    8501   [\\/]* | ?:[\\/]*)
    8502   ac_cv_path_JAVAH="$JAVAH" # Let the user override the test with a path.
    8503   ;;
    8504   *)
    8505   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8506 for as_dir in $PATH
    8507 do
    8508   IFS=$as_save_IFS
    8509   test -z "$as_dir" && as_dir=.
    8510     for ac_exec_ext in '' $ac_executable_extensions; do
    8511   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8512     ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext"
    8513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8514     break 2
    8515   fi
    8516 done
    8517   done
    8518 IFS=$as_save_IFS
    8519 
    8520   ;;
    8521 esac
    8522 fi
    8523 JAVAH=$ac_cv_path_JAVAH
    8524 if test -n "$JAVAH"; then
    8525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5
    8526 $as_echo "$JAVAH" >&6; }
    8527 else
    8528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8529 $as_echo "no" >&6; }
    8530 fi
    8531 
    8532 
    8533   else
    8534     # Extract the first word of "java", so it can be a program name with args.
    8535 set dummy java; ac_word=$2
    8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8537 $as_echo_n "checking for $ac_word... " >&6; }
    8538 if ${ac_cv_path_JAVA+:} false; then :
    8539   $as_echo_n "(cached) " >&6
    8540 else
    8541   case $JAVA in
    8542   [\\/]* | ?:[\\/]*)
    8543   ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path.
    8544   ;;
    8545   *)
    8546   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8547 as_dummy="${with_java}/bin:${with_java}"
    8548 for as_dir in $as_dummy
    8549 do
    8550   IFS=$as_save_IFS
    8551   test -z "$as_dir" && as_dir=.
    8552     for ac_exec_ext in '' $ac_executable_extensions; do
    8553   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8554     ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
    8555     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8556     break 2
    8557   fi
    8558 done
    8559   done
    8560 IFS=$as_save_IFS
    8561 
    8562   ;;
    8563 esac
    8564 fi
    8565 JAVA=$ac_cv_path_JAVA
    8566 if test -n "$JAVA"; then
    8567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    8568 $as_echo "$JAVA" >&6; }
    8569 else
    8570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8571 $as_echo "no" >&6; }
    8572 fi
    8573 
    8574 
    8575     # Extract the first word of "javac", so it can be a program name with args.
    8576 set dummy javac; ac_word=$2
    8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8578 $as_echo_n "checking for $ac_word... " >&6; }
    8579 if ${ac_cv_path_JAVAC+:} false; then :
    8580   $as_echo_n "(cached) " >&6
    8581 else
    8582   case $JAVAC in
    8583   [\\/]* | ?:[\\/]*)
    8584   ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
    8585   ;;
    8586   *)
    8587   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8588 as_dummy="${with_java}/bin:${with_java}"
    8589 for as_dir in $as_dummy
    8590 do
    8591   IFS=$as_save_IFS
    8592   test -z "$as_dir" && as_dir=.
    8593     for ac_exec_ext in '' $ac_executable_extensions; do
    8594   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8595     ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
    8596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8597     break 2
    8598   fi
    8599 done
    8600   done
    8601 IFS=$as_save_IFS
    8602 
    8603   ;;
    8604 esac
    8605 fi
    8606 JAVAC=$ac_cv_path_JAVAC
    8607 if test -n "$JAVAC"; then
    8608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    8609 $as_echo "$JAVAC" >&6; }
    8610 else
    8611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8612 $as_echo "no" >&6; }
    8613 fi
    8614 
    8615 
    8616     # Extract the first word of "javah", so it can be a program name with args.
    8617 set dummy javah; ac_word=$2
    8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8619 $as_echo_n "checking for $ac_word... " >&6; }
    8620 if ${ac_cv_path_JAVAH+:} false; then :
    8621   $as_echo_n "(cached) " >&6
    8622 else
    8623   case $JAVAH in
    8624   [\\/]* | ?:[\\/]*)
    8625   ac_cv_path_JAVAH="$JAVAH" # Let the user override the test with a path.
    8626   ;;
    8627   *)
    8628   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8629 as_dummy="${with_java}/bin:${with_java}"
    8630 for as_dir in $as_dummy
    8631 do
    8632   IFS=$as_save_IFS
    8633   test -z "$as_dir" && as_dir=.
    8634     for ac_exec_ext in '' $ac_executable_extensions; do
    8635   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8636     ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext"
    8637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8638     break 2
    8639   fi
    8640 done
    8641   done
    8642 IFS=$as_save_IFS
    8643 
    8644   ;;
    8645 esac
    8646 fi
    8647 JAVAH=$ac_cv_path_JAVAH
    8648 if test -n "$JAVAH"; then
    8649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5
    8650 $as_echo "$JAVAH" >&6; }
    8651 else
    8652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8653 $as_echo "no" >&6; }
    8654 fi
    8655 
    8656 
    8657   fi
    8658 fi
    8659 JDK=
    8660 JAVA_INC_DIR=
    8661 JAVA_INC_SPEC=
    8662 
    8663 # If java exists, let's look for the jni.h file.
    8664 if test "x${JAVA}" != "x" ; then
    8665   for d in \
    8666    ${with_java} \
    8667    ${JAVA_HOME} \
    8668    /apps/java/jdk1.6* \
    8669    /opt/sun-jdk-1.6* \
    8670    /opt/icedtea6-* \
    8671    /opt/sun-jdk-1.5* \
    8672    /usr/lib/jvm/*sun* \
    8673    /usr/lib/jvm/*icedtea* \
    8674    /usr/lib/jvm/*openjdk*
    8675   do
    8676     if test -r "${d}/include/jni.h" ; then
    8677       JDK=${d}
    8678       JAVA_HOME=$JDK
    8679       JAVA_INC_DIR=${JDK}/include
    8680       JAVA_INC_SPEC="-I${JDK}/include -I${JDK}/include/linux"
    8681       break;
    8682     fi
    8683     if test -r "${d}/Headers/jni.h" ; then
    8684       JDK=${d}
    8685       JAVA_HOME=$JDK
    8686       JAVA_INC_DIR=${JDK}/Headers
    8687       JAVA_INC_SPEC="-I${JDK}/Headers -I${JDK}/Headers/macos"
    8688       break;
    8689     fi
    8690   done
    8691 fi
    8692 
    8693 
    8694 
    8695 # Check whether --with-R was given.
    8696 if test "${with_R+set}" = set; then :
    8697   withval=$with_R;
    8698 else
    8699   with_R=yes
    8700 fi
    8701 
    8702 
    8703 R=""
    8704 if test "$with_R" != "no" ; then
    8705   if test "$with_R" = "yes" ; then
    8706     # Extract the first word of "R", so it can be a program name with args.
    8707 set dummy R; ac_word=$2
    8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8709 $as_echo_n "checking for $ac_word... " >&6; }
    8710 if ${ac_cv_path_R+:} false; then :
    8711   $as_echo_n "(cached) " >&6
    8712 else
    8713   case $R in
    8714   [\\/]* | ?:[\\/]*)
    8715   ac_cv_path_R="$R" # Let the user override the test with a path.
    8716   ;;
    8717   *)
    8718   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8719 for as_dir in $PATH
    8720 do
    8721   IFS=$as_save_IFS
    8722   test -z "$as_dir" && as_dir=.
    8723     for ac_exec_ext in '' $ac_executable_extensions; do
    8724   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8725     ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext"
    8726     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8727     break 2
    8728   fi
    8729 done
    8730   done
    8731 IFS=$as_save_IFS
    8732 
    8733   ;;
    8734 esac
    8735 fi
    8736 R=$ac_cv_path_R
    8737 if test -n "$R"; then
    8738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&5
    8739 $as_echo "$R" >&6; }
    8740 else
    8741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8742 $as_echo "no" >&6; }
    8743 fi
    8744 
    8745 
    8746   else
    8747     # Extract the first word of "R", so it can be a program name with args.
    8748 set dummy R; ac_word=$2
    8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8750 $as_echo_n "checking for $ac_word... " >&6; }
    8751 if ${ac_cv_path_R+:} false; then :
    8752   $as_echo_n "(cached) " >&6
    8753 else
    8754   case $R in
    8755   [\\/]* | ?:[\\/]*)
    8756   ac_cv_path_R="$R" # Let the user override the test with a path.
    8757   ;;
    8758   *)
    8759   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8760 as_dummy="${with_R}/bin:${with_R}"
    8761 for as_dir in $as_dummy
    8762 do
    8763   IFS=$as_save_IFS
    8764   test -z "$as_dir" && as_dir=.
    8765     for ac_exec_ext in '' $ac_executable_extensions; do
    8766   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8767     ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext"
    8768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8769     break 2
    8770   fi
    8771 done
    8772   done
    8773 IFS=$as_save_IFS
    8774 
    8775   ;;
    8776 esac
    8777 fi
    8778 R=$ac_cv_path_R
    8779 if test -n "$R"; then
    8780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&5
    8781 $as_echo "$R" >&6; }
    8782 else
    8783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8784 $as_echo "no" >&6; }
    8785 fi
    8786 
    8787 
    8788   fi
    8789 fi
    8790 
    8791 
    8792 # Make sure we can run config.sub.
    8793 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    8794   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
    8795 
    8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
    8797 $as_echo_n "checking build system type... " >&6; }
    8798 if ${ac_cv_build+:} false; then :
    8799   $as_echo_n "(cached) " >&6
    8800 else
    8801   ac_build_alias=$build_alias
    8802 test "x$ac_build_alias" = x &&
    8803   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    8804 test "x$ac_build_alias" = x &&
    8805   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
    8806 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    8807   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
    8808 
    8809 fi
    8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
    8811 $as_echo "$ac_cv_build" >&6; }
    8812 case $ac_cv_build in
    8813 *-*-*) ;;
    8814 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
    8815 esac
    8816 build=$ac_cv_build
    8817 ac_save_IFS=$IFS; IFS='-'
    8818 set x $ac_cv_build
    8819 shift
    8820 build_cpu=$1
    8821 build_vendor=$2
    8822 shift; shift
    8823 # Remember, the first character of IFS is used to create $*,
    8824 # except with old shells:
    8825 build_os=$*
    8826 IFS=$ac_save_IFS
    8827 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
    8828 
    8829 
    8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
    8831 $as_echo_n "checking host system type... " >&6; }
    8832 if ${ac_cv_host+:} false; then :
    8833   $as_echo_n "(cached) " >&6
    8834 else
    8835   if test "x$host_alias" = x; then
    8836   ac_cv_host=$ac_cv_build
    8837 else
    8838   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    8839     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
    8840 fi
    8841 
    8842 fi
    8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
    8844 $as_echo "$ac_cv_host" >&6; }
    8845 case $ac_cv_host in
    8846 *-*-*) ;;
    8847 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
    8848 esac
    8849 host=$ac_cv_host
    8850 ac_save_IFS=$IFS; IFS='-'
    8851 set x $ac_cv_host
    8852 shift
    8853 host_cpu=$1
    8854 host_vendor=$2
    8855 shift; shift
    8856 # Remember, the first character of IFS is used to create $*,
    8857 # except with old shells:
    8858 host_os=$*
    8859 IFS=$ac_save_IFS
    8860 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    8861 
    8862 
    8863 
    8864 
    8865 
    8866 # Check whether --with-ruby was given.
    8867 if test "${with_ruby+set}" = set; then :
    8868   withval=$with_ruby;  RUBY=$withval
    8869 else
    8870    RUBY=ruby
    8871 fi
    8872 
    8873 
    8874 # Check whether --with-ruby_sitelibdir was given.
    8875 if test "${with_ruby_sitelibdir+set}" = set; then :
    8876   withval=$with_ruby_sitelibdir;  ruby_sitelibdir=$withval
    8877 else
    8878    ruby_sitelibdir=NONE
    8879 fi
    8880 
    8881 
    8882 
    8883 
    8884 RUBY_VERSION_CODE=`$RUBY -e "puts RUBY_VERSION.gsub(/\./, '')"`
    8885 
    8886 
    8887 RUBY_CONFIG_SO_NAME=`
    8888           $RUBY -rrbconfig -e "puts(Config::CONFIG['RUBY_SO_NAME'] || '')"`
    8889 RUBY_CONFIG_ARCHDIR=`
    8890           $RUBY -rrbconfig -e "puts(Config::CONFIG['archdir'] || '')"`
    8891 RUBY_CONFIG_ARCH=`
    8892           $RUBY -rrbconfig -e "puts(Config::CONFIG['arch'] || '')"`
    8893 RUBY_CONFIG_LIBDIR=`
    8894           $RUBY -rrbconfig -e "puts(Config::CONFIG['libdir'] || '')"`
    8895 RUBY_CONFIG_BINDIR=`
    8896           $RUBY -rrbconfig -e "puts(Config::CONFIG['bindir'] || '')"`
    8897 RUBY_CONFIG_RUBYHDRDIR=`
    8898           $RUBY -rrbconfig -e "puts(Config::CONFIG['rubyhdrdir'] || '')"`
    8899 RUBY_CONFIG_CFLAGS=`
    8900           $RUBY -rrbconfig -e "puts(Config::CONFIG['CFLAGS'] || '')"`
    8901 RUBY_CONFIG_LIBS=`
    8902           $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBS'] || '')"`
    8903 RUBY_CONFIG_DLDLIBS=`
    8904           $RUBY -rrbconfig -e "puts(Config::CONFIG['DLDLIBS'] || '')"`
    8905 RUBY_CONFIG_LDFLAGS=`
    8906           $RUBY -rrbconfig -e "puts(Config::CONFIG['LDFLAGS'] || '')"`
    8907 RUBY_CONFIG_LIBRUBYARG=`
    8908           $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBRUBYARG'] || '')"`
    8909 RUBY_CONFIG_LIBRUBYARG_STATIC=`
    8910           $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBRUBYARG_STATIC'] || '')"`
    8911 RUBY_CONFIG_CCDLFLAGS=`
    8912           $RUBY -rrbconfig -e "puts(Config::CONFIG['CCDLFLAGS'] || '')"`
    8913 
    8914 if test "x${RUBY_CONFIG_RUBYHDRDIR}x" != "xx"; then
    8915   # 1.9
    8916   RUBY_CPPFLAGS="-I${RUBY_CONFIG_RUBYHDRDIR}"
    8917   RUBY_CPPFLAGS="${RUBY_CPPFLAGS} -I${RUBY_CONFIG_RUBYHDRDIR}/${RUBY_CONFIG_ARCH}"
    8918 else
    8919   # 1.8
    8920   RUBY_CPPFLAGS="-I${RUBY_CONFIG_ARCHDIR}"
    8921 fi
    8922 
    8923 
    8924 RUBY_CFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"
    8925 
    8926 
    8927 RUBY_CXXFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"
    8928 
    8929 
    8930 RUBY_LDFLAGS="-L${RUBY_CONFIG_ARCHDIR} -L${RUBY_CONFIG_LIBDIR} ${RUBY_CONFIG_LDFLAGS}"
    8931 
    8932 
    8933 RUBY_LIBS="${RUBY_CONFIG_LIBS} ${RUBY_CONFIG_DLDLIBS}"
    8934 
    8935 
    8936 RUBY_LIBRUBYARG="${RUBY_CONFIG_LIBRUBYARG}"
    8937 
    8938 
    8939 RUBY_LIBRUBYARG_STATIC="${RUBY_CONFIG_LIBRUBYARG_STATIC}"
    8940 
    8941 
    8942 if test "x${ruby_sitelibdir}x" != "xNONEx"
    8943 then
    8944   RUBY_SITELIBDIR="${ruby_sitelibdir}"
    8945 else
    8946   if test "x${prefix}x" = "xNONEx"
    8947   then
    8948     RUBY_SITELIBDIR=`
    8949           $RUBY -rrbconfig -e "puts(Config::CONFIG['sitelibdir'] || '')"`
    8950   else
    8951     sitelibdir_no_prefix=`$RUBY -rrbconfig \
    8952     -e "include Config; \
    8953     puts CONFIG['sitelibdir'].sub(CONFIG['prefix'], '')"`
    8954     RUBY_SITELIBDIR="${prefix}/${sitelibdir_no_prefix}"
    8955   fi
    8956 fi
    8957 
    8958 
    8959 CPPFLAGS_save="${CPPFLAGS}"
    8960 CPPFLAGS="${CPPFLAGS} ${RUBY_CPPFLAGS}"
    8961 CXXFLAGS="${CPPFLAGS}"
    8962 for ac_header in ruby.h
    8963 do :
    8964   ac_fn_cxx_check_header_mongrel "$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"
    8965 if test "x$ac_cv_header_ruby_h" = xyes; then :
    8966   cat >>confdefs.h <<_ACEOF
    8967 #define HAVE_RUBY_H 1
    8968 _ACEOF
    8969 
    8970 fi
    8971 
    8972 done
    8973 
    8974 HAVE_RUBY_H=${ac_cv_header_ruby_h}
    8975 
    8976 
    8977 for ac_header in node.h
    8978 do :
    8979   ac_fn_cxx_check_header_compile "$LINENO" "node.h" "ac_cv_header_node_h" "
    8980 #include <ruby.h>
    8981 
    8982 "
    8983 if test "x$ac_cv_header_node_h" = xyes; then :
    8984   cat >>confdefs.h <<_ACEOF
    8985 #define HAVE_NODE_H 1
    8986 _ACEOF
    8987 
    8988 fi
    8989 
    8990 done
    8991 
    8992 for ac_header in ruby/node.h
    8993 do :
    8994   ac_fn_cxx_check_header_compile "$LINENO" "ruby/node.h" "ac_cv_header_ruby_node_h" "
    8995                              #include <ruby.h>
    8996 
    8997 "
    8998 if test "x$ac_cv_header_ruby_node_h" = xyes; then :
    8999   cat >>confdefs.h <<_ACEOF
    9000 #define HAVE_RUBY_NODE_H 1
    9001 _ACEOF
    9002 
    9003 $as_echo "#define REALLY_HAVE_RUBY_NODE_H /**/" >>confdefs.h
    9004 
    9005 fi
    9006 
    9007 done
    9008 
    9009 for ac_header in version.h
    9010 do :
    9011   ac_fn_cxx_check_header_compile "$LINENO" "version.h" "ac_cv_header_version_h" "
    9012 #include <ruby.h>
    9013 
    9014 "
    9015 if test "x$ac_cv_header_version_h" = xyes; then :
    9016   cat >>confdefs.h <<_ACEOF
    9017 #define HAVE_VERSION_H 1
    9018 _ACEOF
    9019 
    9020 fi
    9021 
    9022 done
    9023 
    9024 for ac_header in env.h
    9025 do :
    9026   ac_fn_cxx_check_header_compile "$LINENO" "env.h" "ac_cv_header_env_h" "
    9027 #include <ruby.h>
    9028 
    9029 "
    9030 if test "x$ac_cv_header_env_h" = xyes; then :
    9031   cat >>confdefs.h <<_ACEOF
    9032 #define HAVE_ENV_H 1
    9033 _ACEOF
    9034 
    9035 fi
    9036 
    9037 done
    9038 
    9039 
    9040 CPPFLAGS="${CPPFLAGS_save}"
    9041 
    9042 
    9043 case $host_os in
    9044   *mingw32* ) MINGW32=yes;;
    9045           * ) MINGW32=no;;
    9046 esac
    9047 
    9048 
    9049 if test x"${MINGW32}"x = xyesx; then
    9050 
    9051 RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%oldnames.lib%-lmoldname%"`
    9052 RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%user32.lib%-luser32%"`
    9053 RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%advapi32.lib%-ladvapi32%"`
    9054 RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%ws2_32.lib%-lws2_32%"`
    9055 RUBY_LIBRUBYARG=`echo ${RUBY_LIBRUBYARG} | sed -e "s%\(msvcrt-ruby.*\).lib%${RUBY_CONFIG_BINDIR}/\1.dll%"`
    9056 RUBY_LIBRUBYARG_STATIC=`echo ${RUBY_LIBRUBYARG_STATIC} | sed -e "s%\(msvcrt-ruby.*\).lib%${RUBY_CONFIG_LIBDIR}/\1.lib%"`
    9057 
    9058 fi
    9059 
    9060 
    9061 
    90627327RP_BASE=`pwd`
    90637328
     
    90927357    fi
    90937358
    9094 
    9095 #--------------------------------------------------------------------
    9096 # This macro figures out what flags to use with the compiler/linker
    9097 # when building shared/static debug/optimized objects.  This information
    9098 # is all taken from the tclConfig.sh file.
    9099 #--------------------------------------------------------------------
    9100 
    9101 if test -f "${exec_prefix}/lib/tclConfig.sh" ; then
    9102   . ${exec_prefix}/lib/tclConfig.sh
    9103 fi
    9104 if test -f "${exec_prefix}/lib/tkConfig.sh" ; then
    9105   . ${exec_prefix}/lib/tkConfig.sh
    9106 fi
    91077359
    91087360# -----------------------------------------------------------------------
     
    95347786
    95357787
    9536 #--------------------------------------------------------------------
    9537 # search for ffmpeg libraries libavcodec, libavformat, libswscale
    9538 #--------------------------------------------------------------------
    9539 if test "${with_ffmpeg}" != "no" ; then
    9540   if test "${with_ffmpeg}" = "yes" ; then
    9541     # Extract the first word of "ffmpeg", so it can be a program name with args.
    9542 set dummy ffmpeg; ac_word=$2
    9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    9544 $as_echo_n "checking for $ac_word... " >&6; }
    9545 if ${ac_cv_path_FFMPEG+:} false; then :
    9546   $as_echo_n "(cached) " >&6
    9547 else
    9548   case $FFMPEG in
    9549   [\\/]* | ?:[\\/]*)
    9550   ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path.
    9551   ;;
    9552   *)
    9553   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    9554 for as_dir in $PATH
    9555 do
    9556   IFS=$as_save_IFS
    9557   test -z "$as_dir" && as_dir=.
    9558     for ac_exec_ext in '' $ac_executable_extensions; do
    9559   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    9560     ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"
    9561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    9562     break 2
    9563   fi
    9564 done
    9565   done
    9566 IFS=$as_save_IFS
    9567 
    9568   ;;
    9569 esac
    9570 fi
    9571 FFMPEG=$ac_cv_path_FFMPEG
    9572 if test -n "$FFMPEG"; then
    9573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5
    9574 $as_echo "$FFMPEG" >&6; }
    9575 else
    9576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    9577 $as_echo "no" >&6; }
    9578 fi
    9579 
    9580 
    9581   else
    9582     # Extract the first word of "ffmpeg", so it can be a program name with args.
    9583 set dummy ffmpeg; ac_word=$2
    9584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    9585 $as_echo_n "checking for $ac_word... " >&6; }
    9586 if ${ac_cv_path_FFMPEG+:} false; then :
    9587   $as_echo_n "(cached) " >&6
    9588 else
    9589   case $FFMPEG in
    9590   [\\/]* | ?:[\\/]*)
    9591   ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path.
    9592   ;;
    9593   *)
    9594   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    9595 as_dummy="${with_ffmpeg}/bin:${with_ffmpeg}"
    9596 for as_dir in $as_dummy
    9597 do
    9598   IFS=$as_save_IFS
    9599   test -z "$as_dir" && as_dir=.
    9600     for ac_exec_ext in '' $ac_executable_extensions; do
    9601   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    9602     ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"
    9603     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    9604     break 2
    9605   fi
    9606 done
    9607   done
    9608 IFS=$as_save_IFS
    9609 
    9610   ;;
    9611 esac
    9612 fi
    9613 FFMPEG=$ac_cv_path_FFMPEG
    9614 if test -n "$FFMPEG"; then
    9615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5
    9616 $as_echo "$FFMPEG" >&6; }
    9617 else
    9618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    9619 $as_echo "no" >&6; }
    9620 fi
    9621 
    9622 
    9623   fi
    9624   if test "${FFMPEG}x" != "x" ; then
    9625 
    9626 $as_echo "#define HAVE_FFMPEG 1" >>confdefs.h
    9627 
    9628   fi
    9629 fi
    9630 
    9631 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
    9632 do :
    9633   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9634 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
    9635 #define __STDC_CONSTANT_MACROS 1
    9636 
    9637 "
    9638 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    9639   cat >>confdefs.h <<_ACEOF
    9640 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9641 _ACEOF
    9642 
    9643 fi
    9644 
    9645 done
    9646 
    9647 
    9648 HAVE_FFMPEG_LIBS=""
    9649 if test "${with_ffmpeg}" != "no"; then
    9650   if [ \( "${ac_cv_header_ffmpeg_avcodec_h}" = "yes" -o \
    9651         "${ac_cv_header_libavcodec_avcodec_h}" = "yes" \) -a \
    9652      \( "${ac_cv_header_ffmpeg_avformat_h}" = "yes" -o \
    9653         "${ac_cv_header_libavformat_avformat_h}" = "yes" \) -a \
    9654      \( "${ac_cv_header_ffmpeg_avutil_h}" = "yes" -o \
    9655         "${ac_cv_header_libavutil_avutil_h}" = "yes" \) -a \
    9656      \( "${ac_cv_header_ffmpeg_swscale_h}" = "yes" -o \
    9657         "${ac_cv_header_libswscale_swscale_h}" = "yes" \) ] ; then
    9658     HAVE_FFMPEG_LIBS="yes"
    9659 
    9660 $as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h
    9661 
    9662   fi
    9663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavcodec" >&5
    9664 $as_echo_n "checking for main in -lavcodec... " >&6; }
    9665 if ${ac_cv_lib_avcodec_main+:} false; then :
    9666   $as_echo_n "(cached) " >&6
    9667 else
    9668   ac_check_lib_save_LIBS=$LIBS
    9669 LIBS="-lavcodec  $LIBS"
    9670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    9671 /* end confdefs.h.  */
    9672 
    9673 
    9674 int
    9675 main ()
    9676 {
    9677 return main ();
    9678   ;
    9679   return 0;
    9680 }
    9681 _ACEOF
    9682 if ac_fn_cxx_try_link "$LINENO"; then :
    9683   ac_cv_lib_avcodec_main=yes
    9684 else
    9685   ac_cv_lib_avcodec_main=no
    9686 fi
    9687 rm -f core conftest.err conftest.$ac_objext \
    9688     conftest$ac_exeext conftest.$ac_ext
    9689 LIBS=$ac_check_lib_save_LIBS
    9690 fi
    9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_main" >&5
    9692 $as_echo "$ac_cv_lib_avcodec_main" >&6; }
    9693 if test "x$ac_cv_lib_avcodec_main" = xyes; then :
    9694   cat >>confdefs.h <<_ACEOF
    9695 #define HAVE_LIBAVCODEC 1
    9696 _ACEOF
    9697 
    9698   LIBS="-lavcodec $LIBS"
    9699 
    9700 else
    9701   as_fn_error $? "librappture requires libavcodec" "$LINENO" 5
    9702 fi
    9703 
    9704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavutil" >&5
    9705 $as_echo_n "checking for main in -lavutil... " >&6; }
    9706 if ${ac_cv_lib_avutil_main+:} false; then :
    9707   $as_echo_n "(cached) " >&6
    9708 else
    9709   ac_check_lib_save_LIBS=$LIBS
    9710 LIBS="-lavutil  $LIBS"
    9711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    9712 /* end confdefs.h.  */
    9713 
    9714 
    9715 int
    9716 main ()
    9717 {
    9718 return main ();
    9719   ;
    9720   return 0;
    9721 }
    9722 _ACEOF
    9723 if ac_fn_cxx_try_link "$LINENO"; then :
    9724   ac_cv_lib_avutil_main=yes
    9725 else
    9726   ac_cv_lib_avutil_main=no
    9727 fi
    9728 rm -f core conftest.err conftest.$ac_objext \
    9729     conftest$ac_exeext conftest.$ac_ext
    9730 LIBS=$ac_check_lib_save_LIBS
    9731 fi
    9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_main" >&5
    9733 $as_echo "$ac_cv_lib_avutil_main" >&6; }
    9734 if test "x$ac_cv_lib_avutil_main" = xyes; then :
    9735   cat >>confdefs.h <<_ACEOF
    9736 #define HAVE_LIBAVUTIL 1
    9737 _ACEOF
    9738 
    9739   LIBS="-lavutil $LIBS"
    9740 
    9741 else
    9742   as_fn_error $? "librappture requires libavutil" "$LINENO" 5
    9743 fi
    9744 
    9745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavformat" >&5
    9746 $as_echo_n "checking for main in -lavformat... " >&6; }
    9747 if ${ac_cv_lib_avformat_main+:} false; then :
    9748   $as_echo_n "(cached) " >&6
    9749 else
    9750   ac_check_lib_save_LIBS=$LIBS
    9751 LIBS="-lavformat  $LIBS"
    9752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    9753 /* end confdefs.h.  */
    9754 
    9755 
    9756 int
    9757 main ()
    9758 {
    9759 return main ();
    9760   ;
    9761   return 0;
    9762 }
    9763 _ACEOF
    9764 if ac_fn_cxx_try_link "$LINENO"; then :
    9765   ac_cv_lib_avformat_main=yes
    9766 else
    9767   ac_cv_lib_avformat_main=no
    9768 fi
    9769 rm -f core conftest.err conftest.$ac_objext \
    9770     conftest$ac_exeext conftest.$ac_ext
    9771 LIBS=$ac_check_lib_save_LIBS
    9772 fi
    9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_main" >&5
    9774 $as_echo "$ac_cv_lib_avformat_main" >&6; }
    9775 if test "x$ac_cv_lib_avformat_main" = xyes; then :
    9776   cat >>confdefs.h <<_ACEOF
    9777 #define HAVE_LIBAVFORMAT 1
    9778 _ACEOF
    9779 
    9780   LIBS="-lavformat $LIBS"
    9781 
    9782 else
    9783   as_fn_error $? "librappture requires libavformat" "$LINENO" 5
    9784 fi
    9785 
    9786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lswscale" >&5
    9787 $as_echo_n "checking for main in -lswscale... " >&6; }
    9788 if ${ac_cv_lib_swscale_main+:} false; then :
    9789   $as_echo_n "(cached) " >&6
    9790 else
    9791   ac_check_lib_save_LIBS=$LIBS
    9792 LIBS="-lswscale  $LIBS"
    9793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    9794 /* end confdefs.h.  */
    9795 
    9796 
    9797 int
    9798 main ()
    9799 {
    9800 return main ();
    9801   ;
    9802   return 0;
    9803 }
    9804 _ACEOF
    9805 if ac_fn_cxx_try_link "$LINENO"; then :
    9806   ac_cv_lib_swscale_main=yes
    9807 else
    9808   ac_cv_lib_swscale_main=no
    9809 fi
    9810 rm -f core conftest.err conftest.$ac_objext \
    9811     conftest$ac_exeext conftest.$ac_ext
    9812 LIBS=$ac_check_lib_save_LIBS
    9813 fi
    9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_main" >&5
    9815 $as_echo "$ac_cv_lib_swscale_main" >&6; }
    9816 if test "x$ac_cv_lib_swscale_main" = xyes; then :
    9817   cat >>confdefs.h <<_ACEOF
    9818 #define HAVE_LIBSWSCALE 1
    9819 _ACEOF
    9820 
    9821   LIBS="-lswscale $LIBS"
    9822 
    9823 fi
    9824 
    9825   for ac_func in av_find_stream_info
    9826 do :
    9827   ac_fn_cxx_check_func "$LINENO" "av_find_stream_info" "ac_cv_func_av_find_stream_info"
    9828 if test "x$ac_cv_func_av_find_stream_info" = xyes; then :
    9829   cat >>confdefs.h <<_ACEOF
    9830 #define HAVE_AV_FIND_STREAM_INFO 1
    9831 _ACEOF
    9832 
    9833 fi
    9834 done
    9835 
    9836   for ac_func in av_open_input_file
    9837 do :
    9838   ac_fn_cxx_check_func "$LINENO" "av_open_input_file" "ac_cv_func_av_open_input_file"
    9839 if test "x$ac_cv_func_av_open_input_file" = xyes; then :
    9840   cat >>confdefs.h <<_ACEOF
    9841 #define HAVE_AV_OPEN_INPUT_FILE 1
    9842 _ACEOF
    9843 
    9844 fi
    9845 done
    9846 
    9847   for ac_func in avcodec_decode_video
    9848 do :
    9849   ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video" "ac_cv_func_avcodec_decode_video"
    9850 if test "x$ac_cv_func_avcodec_decode_video" = xyes; then :
    9851   cat >>confdefs.h <<_ACEOF
    9852 #define HAVE_AVCODEC_DECODE_VIDEO 1
    9853 _ACEOF
    9854 
    9855 fi
    9856 done
    9857 
    9858   for ac_func in avcodec_decode_video2
    9859 do :
    9860   ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video2" "ac_cv_func_avcodec_decode_video2"
    9861 if test "x$ac_cv_func_avcodec_decode_video2" = xyes; then :
    9862   cat >>confdefs.h <<_ACEOF
    9863 #define HAVE_AVCODEC_DECODE_VIDEO2 1
    9864 _ACEOF
    9865 
    9866 fi
    9867 done
    9868 
    9869   for ac_func in avcodec_open
    9870 do :
    9871   ac_fn_cxx_check_func "$LINENO" "avcodec_open" "ac_cv_func_avcodec_open"
    9872 if test "x$ac_cv_func_avcodec_open" = xyes; then :
    9873   cat >>confdefs.h <<_ACEOF
    9874 #define HAVE_AVCODEC_OPEN 1
    9875 _ACEOF
    9876 
    9877 fi
    9878 done
    9879 
    9880   for ac_func in avcodec_open2
    9881 do :
    9882   ac_fn_cxx_check_func "$LINENO" "avcodec_open2" "ac_cv_func_avcodec_open2"
    9883 if test "x$ac_cv_func_avcodec_open2" = xyes; then :
    9884   cat >>confdefs.h <<_ACEOF
    9885 #define HAVE_AVCODEC_OPEN2 1
    9886 _ACEOF
    9887 
    9888 fi
    9889 done
    9890 
    9891   for ac_func in avformat_find_stream_info
    9892 do :
    9893   ac_fn_cxx_check_func "$LINENO" "avformat_find_stream_info" "ac_cv_func_avformat_find_stream_info"
    9894 if test "x$ac_cv_func_avformat_find_stream_info" = xyes; then :
    9895   cat >>confdefs.h <<_ACEOF
    9896 #define HAVE_AVFORMAT_FIND_STREAM_INFO 1
    9897 _ACEOF
    9898 
    9899 fi
    9900 done
    9901 
    9902   for ac_func in avformat_open_input
    9903 do :
    9904   ac_fn_cxx_check_func "$LINENO" "avformat_open_input" "ac_cv_func_avformat_open_input"
    9905 if test "x$ac_cv_func_avformat_open_input" = xyes; then :
    9906   cat >>confdefs.h <<_ACEOF
    9907 #define HAVE_AVFORMAT_OPEN_INPUT 1
    9908 _ACEOF
    9909 
    9910 fi
    9911 done
    9912 
    9913   for ac_func in avio_close
    9914 do :
    9915   ac_fn_cxx_check_func "$LINENO" "avio_close" "ac_cv_func_avio_close"
    9916 if test "x$ac_cv_func_avio_close" = xyes; then :
    9917   cat >>confdefs.h <<_ACEOF
    9918 #define HAVE_AVIO_CLOSE 1
    9919 _ACEOF
    9920 
    9921 fi
    9922 done
    9923 
    9924   for ac_func in img_convert
    9925 do :
    9926   ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"
    9927 if test "x$ac_cv_func_img_convert" = xyes; then :
    9928   cat >>confdefs.h <<_ACEOF
    9929 #define HAVE_IMG_CONVERT 1
    9930 _ACEOF
    9931 
    9932 fi
    9933 done
    9934 
    9935   for ac_func in sws_getCachedContext
    9936 do :
    9937   ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext"
    9938 if test "x$ac_cv_func_sws_getCachedContext" = xyes; then :
    9939   cat >>confdefs.h <<_ACEOF
    9940 #define HAVE_SWS_GETCACHEDCONTEXT 1
    9941 _ACEOF
    9942 
    9943 fi
    9944 done
    9945 
    9946   for ac_func in sws_scale
    9947 do :
    9948   ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale"
    9949 if test "x$ac_cv_func_sws_scale" = xyes; then :
    9950   cat >>confdefs.h <<_ACEOF
    9951 #define HAVE_SWS_SCALE 1
    9952 _ACEOF
    9953 
    9954 fi
    9955 done
    9956 
    9957   for ac_func in url_close
    9958 do :
    9959   ac_fn_cxx_check_func "$LINENO" "url_close" "ac_cv_func_url_close"
    9960 if test "x$ac_cv_func_url_close" = xyes; then :
    9961   cat >>confdefs.h <<_ACEOF
    9962 #define HAVE_URL_CLOSE 1
    9963 _ACEOF
    9964 
    9965 fi
    9966 done
    9967 
    9968   for ac_func in av_close_input_file
    9969 do :
    9970   ac_fn_cxx_check_func "$LINENO" "av_close_input_file" "ac_cv_func_av_close_input_file"
    9971 if test "x$ac_cv_func_av_close_input_file" = xyes; then :
    9972   cat >>confdefs.h <<_ACEOF
    9973 #define HAVE_AV_CLOSE_INPUT_FILE 1
    9974 _ACEOF
    9975 
    9976 fi
    9977 done
    9978 
    9979   for ac_func in avformat_close_input
    9980 do :
    9981   ac_fn_cxx_check_func "$LINENO" "avformat_close_input" "ac_cv_func_avformat_close_input"
    9982 if test "x$ac_cv_func_avformat_close_input" = xyes; then :
    9983   cat >>confdefs.h <<_ACEOF
    9984 #define HAVE_AVFORMAT_CLOSE_INPUT 1
    9985 _ACEOF
    9986 
    9987 fi
    9988 done
    9989 
    9990 
    9991   ac_fn_cxx_check_func "$LINENO" "avcodec_find_decoder" "ac_cv_func_avcodec_find_decoder"
    9992 if test "x$ac_cv_func_avcodec_find_decoder" = xyes; then :
    9993 
    9994 else
    9995   as_fn_error $? "oops! no av_codec_find_decoder ?!?" "$LINENO" 5
    9996 fi
    9997 
    9998   ac_fn_cxx_check_func "$LINENO" "avcodec_alloc_frame" "ac_cv_func_avcodec_alloc_frame"
    9999 if test "x$ac_cv_func_avcodec_alloc_frame" = xyes; then :
    10000 
    10001 else
    10002   as_fn_error $? "oops! no avcode_alloc_frame ?!?" "$LINENO" 5
    10003 fi
    10004 
    10005   ac_fn_cxx_check_func "$LINENO" "av_rescale_q" "ac_cv_func_av_rescale_q"
    10006 if test "x$ac_cv_func_av_rescale_q" = xyes; then :
    10007 
    10008 else
    10009   as_fn_error $? "oops! no av_rescale_q ?!?" "$LINENO" 5
    10010 fi
    10011 
    10012   ac_fn_cxx_check_func "$LINENO" "av_read_frame" "ac_cv_func_av_read_frame"
    10013 if test "x$ac_cv_func_av_read_frame" = xyes; then :
    10014 
    10015 else
    10016   as_fn_error $? "oops! av_read_frame ?!?" "$LINENO" 5
    10017 fi
    10018 
    10019   ac_fn_cxx_check_func "$LINENO" "av_free" "ac_cv_func_av_free"
    10020 if test "x$ac_cv_func_av_free" = xyes; then :
    10021 
    10022 else
    10023   as_fn_error $? "oops! no av_frame ?!?" "$LINENO" 5
    10024 fi
    10025 
    10026   ac_fn_cxx_check_func "$LINENO" "avcodec_default_release_buffer" "ac_cv_func_avcodec_default_release_buffer"
    10027 if test "x$ac_cv_func_avcodec_default_release_buffer" = xyes; then :
    10028 
    10029 else
    10030   as_fn_error $? "oops! no avcode_default_release_buffer ?!?" "$LINENO" 5
    10031 fi
    10032 
    10033   ac_fn_cxx_check_func "$LINENO" "avpicture_get_size" "ac_cv_func_avpicture_get_size"
    10034 if test "x$ac_cv_func_avpicture_get_size" = xyes; then :
    10035 
    10036 else
    10037   as_fn_error $? "oops! no avpicture_get_size ?!?" "$LINENO" 5
    10038 fi
    10039 
    10040   ac_fn_cxx_check_func "$LINENO" "avpicture_fill" "ac_cv_func_avpicture_fill"
    10041 if test "x$ac_cv_func_avpicture_fill" = xyes; then :
    10042 
    10043 else
    10044   as_fn_error $? "oops! no avpicture_fill ?!?" "$LINENO" 5
    10045 fi
    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 img_convert
    10059 do :
    10060   ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"
    10061 if test "x$ac_cv_func_img_convert" = xyes; then :
    10062   cat >>confdefs.h <<_ACEOF
    10063 #define HAVE_IMG_CONVERT 1
    10064 _ACEOF
    10065 
    10066 fi
    10067 done
    10068 
    10069   for ac_func in sws_scale
    10070 do :
    10071   ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale"
    10072 if test "x$ac_cv_func_sws_scale" = xyes; then :
    10073   cat >>confdefs.h <<_ACEOF
    10074 #define HAVE_SWS_SCALE 1
    10075 _ACEOF
    10076 
    10077 fi
    10078 done
    10079 
    10080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    10081 /* end confdefs.h.  */
    10082 
    10083 #define __STDC_CONSTANT_MACROS 1
    10084 #include <stdlib.h>
    10085 #ifdef HAVE_FFMPEG_AVCODEC_H
    10086 # include <ffmpeg/avcodec.h>
    10087 #endif
    10088 #ifdef HAVE_LIBAVCODEC_AVCODEC_H
    10089 # include <libavcodec/avcodec.h>
    10090 #endif
    10091 int x = AVMEDIA_TYPE_VIDEO;
    10092 
    10093 int
    10094 main ()
    10095 {
    10096 
    10097   ;
    10098   return 0;
    10099 }
    10100 _ACEOF
    10101 if ac_fn_cxx_try_compile "$LINENO"; then :
    10102   ac_avmedia_type_video="yes"
    10103 else
    10104   ac_avmedia_type_video="no"
    10105 fi
    10106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10107   if test "$ac_avmedia_type_video" == "yes" ; then
    10108 
    10109 $as_echo "#define HAVE_AVMEDIA_TYPE_VIDEO 1" >>confdefs.h
    10110 
    10111   fi
    10112 fi
    10113 
    10114 
    10115 
    10116 
    101177788
    101187789
     
    102017872
    102027873
    10203 
    102047874ac_configure_args="--disable-threads --enable-shared"
    102057875
     
    102087878
    102097879
    10210 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/copy_rappture_examples gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile gui/src/Makefile builder/Makefile builder/pkgIndex.tcl builder/scripts/Makefile tester/Makefile tester/pkgIndex.tcl tester/scripts/Makefile lang/Makefile lang/java/Makefile lang/java/rappture/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/octave2/Makefile lang/octave/octave3/Makefile lang/R/Makefile lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/scripts/Makefile lang/tcl/src/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/octave2/Makefile examples/app-fermi/octave/octave3/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/perl/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/app-fermi/R/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/curve/Makefile examples/zoo/drawing/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/group/Makefile examples/zoo/histogram/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/log/Makefile examples/zoo/mesh/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/parallelepiped/Makefile examples/zoo/periodicelement/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile video/Makefile video/pkgIndex.tcl oldtest/Makefile oldtest/src/Makefile"
     7880ac_config_files="$ac_config_files Makefile objects/Makefile system/Makefile builder/Makefile builder/scripts/Makefile builder/scripts/tclIndex builder/pkgIndex.tcl"
    102117881
    102127882cat >confcache <<\_ACEOF
     
    103007970test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    103017971
    10302 DEFS=-DHAVE_CONFIG_H
     7972# Transform confdefs.h into DEFS.
     7973# Protect against shell expansion while executing Makefile rules.
     7974# Protect against Makefile macro expansion.
     7975#
     7976# If the first sed substitution is executed (which looks for macros that
     7977# take arguments), then branch to the quote section.  Otherwise,
     7978# look for a macro that doesn't take arguments.
     7979ac_script='
     7980:mline
     7981/\\$/{
     7982 N
     7983 s,\\\n,,
     7984 b mline
     7985}
     7986t clear
     7987:clear
     7988s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
     7989t quote
     7990s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
     7991t quote
     7992b any
     7993:quote
     7994s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
     7995s/\[/\\&/g
     7996s/\]/\\&/g
     7997s/\$/$$/g
     7998H
     7999:any
     8000${
     8001        g
     8002        s/^\n//
     8003        s/\n/ /g
     8004        p
     8005}
     8006'
     8007DEFS=`sed -n "$ac_script" confdefs.h`
     8008
    103038009
    103048010ac_libobjs=
     
    107358441esac
    107368442
    10737 case $ac_config_headers in *"
    10738 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
    10739 esac
    107408443
    107418444
     
    107438446# Files that config.status was made for.
    107448447config_files="$ac_config_files"
    10745 config_headers="$ac_config_headers"
    107468448
    107478449_ACEOF
     
    107648466      --file=FILE[:TEMPLATE]
    107658467                   instantiate the configuration file FILE
    10766       --header=FILE[:TEMPLATE]
    10767                    instantiate the configuration header FILE
    107688468
    107698469Configuration files:
    107708470$config_files
    10771 
    10772 Configuration headers:
    10773 $config_headers
    107748471
    107758472Report bugs to <rappture@nanohub.org>."
     
    108358532    as_fn_append CONFIG_FILES " '$ac_optarg'"
    108368533    ac_need_defaults=false;;
    10837   --header | --heade | --head | --hea )
    10838     $ac_shift
    10839     case $ac_optarg in
    10840     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10841     esac
    10842     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
    10843     ac_need_defaults=false;;
    10844   --he | --h)
    10845     # Conflict between --help and --header
    10846     as_fn_error $? "ambiguous option: \`$1'
    10847 Try \`$0 --help' for more information.";;
    10848   --help | --hel | -h )
     8534  --he | --h |  --help | --hel | -h )
    108498535    $as_echo "$ac_cs_usage"; exit ;;
    108508536  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     
    109028588do
    109038589  case $ac_config_target in
    10904     "src/core/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/core/config.h" ;;
    109058590    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    10906     "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
    10907     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
    10908     "src/core/Makefile") CONFIG_FILES="$CONFIG_FILES src/core/Makefile" ;;
    10909     "src/core2/Makefile") CONFIG_FILES="$CONFIG_FILES src/core2/Makefile" ;;
    10910     "src/objects/Makefile") CONFIG_FILES="$CONFIG_FILES src/objects/Makefile" ;;
    10911     "src/objects/RpHash.h") CONFIG_FILES="$CONFIG_FILES src/objects/RpHash.h" ;;
    10912     "gui/Makefile") CONFIG_FILES="$CONFIG_FILES gui/Makefile" ;;
    10913     "gui/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gui/apps/Makefile" ;;
    10914     "gui/apps/about") CONFIG_FILES="$CONFIG_FILES gui/apps/about" ;;
    10915     "gui/apps/copy_rappture_examples") CONFIG_FILES="$CONFIG_FILES gui/apps/copy_rappture_examples" ;;
    10916     "gui/apps/encodedata") CONFIG_FILES="$CONFIG_FILES gui/apps/encodedata" ;;
    10917     "gui/apps/rappture") CONFIG_FILES="$CONFIG_FILES gui/apps/rappture" ;;
    10918     "gui/apps/rappture-csh.env") CONFIG_FILES="$CONFIG_FILES gui/apps/rappture-csh.env" ;;
    10919     "gui/apps/rappture.env") CONFIG_FILES="$CONFIG_FILES gui/apps/rappture.env" ;;
    10920     "gui/apps/rappture.use") CONFIG_FILES="$CONFIG_FILES gui/apps/rappture.use" ;;
    10921     "gui/apps/rerun") CONFIG_FILES="$CONFIG_FILES gui/apps/rerun" ;;
    10922     "gui/apps/simsim") CONFIG_FILES="$CONFIG_FILES gui/apps/simsim" ;;
    10923     "gui/apps/xmldiff") CONFIG_FILES="$CONFIG_FILES gui/apps/xmldiff" ;;
    10924     "gui/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES gui/pkgIndex.tcl" ;;
    10925     "gui/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES gui/scripts/Makefile" ;;
    10926     "gui/src/Makefile") CONFIG_FILES="$CONFIG_FILES gui/src/Makefile" ;;
     8591    "objects/Makefile") CONFIG_FILES="$CONFIG_FILES objects/Makefile" ;;
     8592    "system/Makefile") CONFIG_FILES="$CONFIG_FILES system/Makefile" ;;
    109278593    "builder/Makefile") CONFIG_FILES="$CONFIG_FILES builder/Makefile" ;;
     8594    "builder/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES builder/scripts/Makefile" ;;
     8595    "builder/scripts/tclIndex") CONFIG_FILES="$CONFIG_FILES builder/scripts/tclIndex" ;;
    109288596    "builder/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES builder/pkgIndex.tcl" ;;
    10929     "builder/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES builder/scripts/Makefile" ;;
    10930     "tester/Makefile") CONFIG_FILES="$CONFIG_FILES tester/Makefile" ;;
    10931     "tester/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES tester/pkgIndex.tcl" ;;
    10932     "tester/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES tester/scripts/Makefile" ;;
    10933     "lang/Makefile") CONFIG_FILES="$CONFIG_FILES lang/Makefile" ;;
    10934     "lang/java/Makefile") CONFIG_FILES="$CONFIG_FILES lang/java/Makefile" ;;
    10935     "lang/java/rappture/Makefile") CONFIG_FILES="$CONFIG_FILES lang/java/rappture/Makefile" ;;
    10936     "lang/perl/Makefile") CONFIG_FILES="$CONFIG_FILES lang/perl/Makefile" ;;
    10937     "lang/perl/Makefile.PL") CONFIG_FILES="$CONFIG_FILES lang/perl/Makefile.PL" ;;
    10938     "lang/python/Makefile") CONFIG_FILES="$CONFIG_FILES lang/python/Makefile" ;;
    10939     "lang/python/setup.py") CONFIG_FILES="$CONFIG_FILES lang/python/setup.py" ;;
    10940     "lang/matlab/Makefile") CONFIG_FILES="$CONFIG_FILES lang/matlab/Makefile" ;;
    10941     "lang/octave/Makefile") CONFIG_FILES="$CONFIG_FILES lang/octave/Makefile" ;;
    10942     "lang/octave/octave2/Makefile") CONFIG_FILES="$CONFIG_FILES lang/octave/octave2/Makefile" ;;
    10943     "lang/octave/octave3/Makefile") CONFIG_FILES="$CONFIG_FILES lang/octave/octave3/Makefile" ;;
    10944     "lang/R/Makefile") CONFIG_FILES="$CONFIG_FILES lang/R/Makefile" ;;
    10945     "lang/ruby/Makefile") CONFIG_FILES="$CONFIG_FILES lang/ruby/Makefile" ;;
    10946     "lang/ruby/build.rb") CONFIG_FILES="$CONFIG_FILES lang/ruby/build.rb" ;;
    10947     "lang/tcl/Makefile") CONFIG_FILES="$CONFIG_FILES lang/tcl/Makefile" ;;
    10948     "lang/tcl/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES lang/tcl/pkgIndex.tcl" ;;
    10949     "lang/tcl/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES lang/tcl/scripts/Makefile" ;;
    10950     "lang/tcl/src/Makefile") CONFIG_FILES="$CONFIG_FILES lang/tcl/src/Makefile" ;;
    10951     "lang/tcl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lang/tcl/tests/Makefile" ;;
    10952     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
    10953     "examples/3D/Makefile") CONFIG_FILES="$CONFIG_FILES examples/3D/Makefile" ;;
    10954     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
    10955     "examples/app-fermi/2.0/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/2.0/Makefile" ;;
    10956     "examples/app-fermi/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/Makefile" ;;
    10957     "examples/app-fermi/cee/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/cee/Makefile" ;;
    10958     "examples/app-fermi/fortran/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/fortran/Makefile" ;;
    10959     "examples/app-fermi/java/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/java/Makefile" ;;
    10960     "examples/app-fermi/matlab/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/matlab/Makefile" ;;
    10961     "examples/app-fermi/matlab/compiled/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/matlab/compiled/Makefile" ;;
    10962     "examples/app-fermi/matlab/uncompiled/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/matlab/uncompiled/Makefile" ;;
    10963     "examples/app-fermi/octave/octave2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/octave2/Makefile" ;;
    10964     "examples/app-fermi/octave/octave3/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/octave3/Makefile" ;;
    10965     "examples/app-fermi/octave/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/Makefile" ;;
    10966     "examples/app-fermi/perl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/perl/Makefile" ;;
    10967     "examples/app-fermi/python/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/python/Makefile" ;;
    10968     "examples/app-fermi/ruby/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/ruby/Makefile" ;;
    10969     "examples/app-fermi/tcl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/tcl/Makefile" ;;
    10970     "examples/app-fermi/wrapper/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/Makefile" ;;
    10971     "examples/app-fermi/wrapper/cee/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/cee/Makefile" ;;
    10972     "examples/app-fermi/wrapper/perl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/perl/Makefile" ;;
    10973     "examples/app-fermi/wrapper/python/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/python/Makefile" ;;
    10974     "examples/app-fermi/wrapper/tcl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/tcl/Makefile" ;;
    10975     "examples/app-fermi/R/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/R/Makefile" ;;
    10976     "examples/c-example/Makefile") CONFIG_FILES="$CONFIG_FILES examples/c-example/Makefile" ;;
    10977     "examples/canvas/Makefile") CONFIG_FILES="$CONFIG_FILES examples/canvas/Makefile" ;;
    10978     "examples/demo.bash") CONFIG_FILES="$CONFIG_FILES examples/demo.bash" ;;
    10979     "examples/flow/Makefile") CONFIG_FILES="$CONFIG_FILES examples/flow/Makefile" ;;
    10980     "examples/flow/demo1/Makefile") CONFIG_FILES="$CONFIG_FILES examples/flow/demo1/Makefile" ;;
    10981     "examples/flow/demo2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/flow/demo2/Makefile" ;;
    10982     "examples/flow/demo3/Makefile") CONFIG_FILES="$CONFIG_FILES examples/flow/demo3/Makefile" ;;
    10983     "examples/graph/Makefile") CONFIG_FILES="$CONFIG_FILES examples/graph/Makefile" ;;
    10984     "examples/objects/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/Makefile" ;;
    10985     "examples/objects/axis/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/axis/Makefile" ;;
    10986     "examples/objects/curve/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/curve/Makefile" ;;
    10987     "examples/objects/dxWriter/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/dxWriter/Makefile" ;;
    10988     "examples/objects/floatBuffer/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/floatBuffer/Makefile" ;;
    10989     "examples/objects/histogram/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/histogram/Makefile" ;;
    10990     "examples/objects/library/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/library/Makefile" ;;
    10991     "examples/objects/number/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/number/Makefile" ;;
    10992     "examples/objects/path/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/path/Makefile" ;;
    10993     "examples/objects/plot/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/plot/Makefile" ;;
    10994     "examples/objects/scatter/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/scatter/Makefile" ;;
    10995     "examples/objects/string/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/string/Makefile" ;;
    10996     "examples/objects/tree/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/tree/Makefile" ;;
    10997     "examples/objects/xmlparser/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/xmlparser/Makefile" ;;
    10998     "examples/zoo/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/Makefile" ;;
    10999     "examples/zoo/binary/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/binary/Makefile" ;;
    11000     "examples/zoo/boolean/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/boolean/Makefile" ;;
    11001     "examples/zoo/choice/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/choice/Makefile" ;;
    11002     "examples/zoo/curve/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/curve/Makefile" ;;
    11003     "examples/zoo/drawing/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/drawing/Makefile" ;;
    11004     "examples/zoo/enable/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/enable/Makefile" ;;
    11005     "examples/zoo/field/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/field/Makefile" ;;
    11006     "examples/zoo/group/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/group/Makefile" ;;
    11007     "examples/zoo/histogram/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/histogram/Makefile" ;;
    11008     "examples/zoo/image/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/image/Makefile" ;;
    11009     "examples/zoo/image/docs/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/image/docs/Makefile" ;;
    11010     "examples/zoo/image/examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/image/examples/Makefile" ;;
    11011     "examples/zoo/integer/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/integer/Makefile" ;;
    11012     "examples/zoo/integer2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/integer2/Makefile" ;;
    11013     "examples/zoo/loader/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/loader/Makefile" ;;
    11014     "examples/zoo/loader/examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/loader/examples/Makefile" ;;
    11015     "examples/zoo/log/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/log/Makefile" ;;
    11016     "examples/zoo/mesh/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/mesh/Makefile" ;;
    11017     "examples/zoo/note/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/note/Makefile" ;;
    11018     "examples/zoo/note/docs/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/note/docs/Makefile" ;;
    11019     "examples/zoo/number/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/number/Makefile" ;;
    11020     "examples/zoo/number2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/number2/Makefile" ;;
    11021     "examples/zoo/parallelepiped/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/parallelepiped/Makefile" ;;
    11022     "examples/zoo/periodicelement/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/periodicelement/Makefile" ;;
    11023     "examples/zoo/phase/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/phase/Makefile" ;;
    11024     "examples/zoo/sequence/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/sequence/Makefile" ;;
    11025     "examples/zoo/sequence/examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/sequence/examples/Makefile" ;;
    11026     "examples/zoo/string/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/string/Makefile" ;;
    11027     "examples/zoo/structure/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/structure/Makefile" ;;
    11028     "examples/zoo/structure/examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/structure/examples/Makefile" ;;
    11029     "examples/zoo/table/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/table/Makefile" ;;
    11030     "video/Makefile") CONFIG_FILES="$CONFIG_FILES video/Makefile" ;;
    11031     "video/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES video/pkgIndex.tcl" ;;
    11032     "oldtest/Makefile") CONFIG_FILES="$CONFIG_FILES oldtest/Makefile" ;;
    11033     "oldtest/src/Makefile") CONFIG_FILES="$CONFIG_FILES oldtest/src/Makefile" ;;
    110348597
    110358598  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     
    110448607if $ac_need_defaults; then
    110458608  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
    11046   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
    110478609fi
    110488610
     
    112328794fi # test -n "$CONFIG_FILES"
    112338795
    11234 # Set up the scripts for CONFIG_HEADERS section.
    11235 # No need to generate them if there are no CONFIG_HEADERS.
    11236 # This happens for instance with `./config.status Makefile'.
    11237 if test -n "$CONFIG_HEADERS"; then
    11238 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
    11239 BEGIN {
    11240 _ACEOF
    11241 
    11242 # Transform confdefs.h into an awk script `defines.awk', embedded as
    11243 # here-document in config.status, that substitutes the proper values into
    11244 # config.h.in to produce config.h.
    11245 
    11246 # Create a delimiter string that does not exist in confdefs.h, to ease
    11247 # handling of long lines.
    11248 ac_delim='%!_!# '
    11249 for ac_last_try in false false :; do
    11250   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
    11251   if test -z "$ac_tt"; then
    11252     break
    11253   elif $ac_last_try; then
    11254     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
    11255   else
    11256     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
    11257   fi
    11258 done
    11259 
    11260 # For the awk script, D is an array of macro values keyed by name,
    11261 # likewise P contains macro parameters if any.  Preserve backslash
    11262 # newline sequences.
    11263 
    11264 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
    11265 sed -n '
    11266 s/.\{148\}/&'"$ac_delim"'/g
    11267 t rset
    11268 :rset
    11269 s/^[     ]*#[    ]*define[       ][      ]*/ /
    11270 t def
    11271 d
    11272 :def
    11273 s/\\$//
    11274 t bsnl
    11275 s/["\\]/\\&/g
    11276 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
    11277 D["\1"]=" \3"/p
    11278 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
    11279 d
    11280 :bsnl
    11281 s/["\\]/\\&/g
    11282 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
    11283 D["\1"]=" \3\\\\\\n"\\/p
    11284 t cont
    11285 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
    11286 t cont
    11287 d
    11288 :cont
    11289 n
    11290 s/.\{148\}/&'"$ac_delim"'/g
    11291 t clear
    11292 :clear
    11293 s/\\$//
    11294 t bsnlc
    11295 s/["\\]/\\&/g; s/^/"/; s/$/"/p
    11296 d
    11297 :bsnlc
    11298 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
    11299 b cont
    11300 ' <confdefs.h | sed '
    11301 s/'"$ac_delim"'/"\\\
    11302 "/g' >>$CONFIG_STATUS || ac_write_fail=1
    11303 
    11304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    11305   for (key in D) D_is_set[key] = 1
    11306   FS = ""
    11307 }
    11308 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
    11309   line = \$ 0
    11310   split(line, arg, " ")
    11311   if (arg[1] == "#") {
    11312     defundef = arg[2]
    11313     mac1 = arg[3]
    11314   } else {
    11315     defundef = substr(arg[1], 2)
    11316     mac1 = arg[2]
    11317   }
    11318   split(mac1, mac2, "(") #)
    11319   macro = mac2[1]
    11320   prefix = substr(line, 1, index(line, defundef) - 1)
    11321   if (D_is_set[macro]) {
    11322     # Preserve the white space surrounding the "#".
    11323     print prefix "define", macro P[macro] D[macro]
    11324     next
    11325   } else {
    11326     # Replace #undef with comments.  This is necessary, for example,
    11327     # in the case of _POSIX_SOURCE, which is predefined and required
    11328     # on some systems where configure will not decide to define it.
    11329     if (defundef == "undef") {
    11330       print "/*", prefix defundef, macro, "*/"
    11331       next
    11332     }
    11333   }
    11334 }
    11335 { print }
    11336 _ACAWK
    11337 _ACEOF
    11338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    11339   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
    11340 fi # test -n "$CONFIG_HEADERS"
    11341 
    11342 
    11343 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
     8796
     8797eval set X "  :F $CONFIG_FILES      "
    113448798shift
    113458799for ac_tag
     
    115609014  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    115619015 ;;
    11562   :H)
    11563   #
    11564   # CONFIG_HEADER
    11565   #
    11566   if test x"$ac_file" != x-; then
    11567     {
    11568       $as_echo "/* $configure_input  */" \
    11569       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
    11570     } >"$ac_tmp/config.h" \
    11571       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    11572     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
    11573       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
    11574 $as_echo "$as_me: $ac_file is unchanged" >&6;}
    11575     else
    11576       rm -f "$ac_file"
    11577       mv "$ac_tmp/config.h" "$ac_file" \
    11578         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    11579     fi
    11580   else
    11581     $as_echo "/* $configure_input  */" \
    11582       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
    11583       || as_fn_error $? "could not create -" "$LINENO" 5
    11584   fi
    11585  ;;
     9016
    115869017
    115879018
Note: See TracChangeset for help on using the changeset viewer.