Changeset 3716 for trunk/configure


Ignore:
Timestamp:
Jun 27, 2013, 4:01:55 PM (6 years ago)
Author:
ldelgass
Message:

Remove Makefile generation for removed/deprecated examples

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r3472 r3716  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63 for Rappture 1.2.
     3# Generated by GNU Autoconf 2.63 for Rappture 1.3.
    44#
    55# Report bugs to <rappture@nanohub.org>.
     
    597597PACKAGE_NAME='Rappture'
    598598PACKAGE_TARNAME='rappture'
    599 PACKAGE_VERSION='1.2'
    600 PACKAGE_STRING='Rappture 1.2'
     599PACKAGE_VERSION='1.3'
     600PACKAGE_STRING='Rappture 1.3'
    601601PACKAGE_BUGREPORT='rappture@nanohub.org'
    602602
     
    699699HAVE_FFMPEG_LIBS
    700700ENABLE_GUI
     701FFMPEG
    701702LDFLAGS_DEFAULT
    702703CFLAGS_DEFAULT
    703 RUBY_EXTRA_LIBS
    704 RUBY_SITE_PKG
     704host_os
     705host_vendor
     706host_cpu
     707host
     708build_os
     709build_vendor
     710build_cpu
     711build
     712HAVE_RUBY_H
     713RUBY_SITELIBDIR
     714RUBY_LIBRUBYARG_STATIC
     715RUBY_LIBRUBYARG
     716RUBY_LIBS
    705717RUBY_LDFLAGS
     718RUBY_CXXFLAGS
     719RUBY_CFLAGS
    706720RUBY_CPPFLAGS
    707 AWK
    708 RUBY_VERSION
    709 SED
     721RUBY_VERSION_CODE
    710722RUBY
    711723R
     
    830842with_R
    831843with_ruby
     844with_ruby_sitelibdir
    832845enable_shared
    833846enable_symbols
     
    14001413  # This message is too long to be a string in the A/UX 3.1 sh.
    14011414  cat <<_ACEOF
    1402 \`configure' configures Rappture 1.2 to adapt to many kinds of systems.
     1415\`configure' configures Rappture 1.3 to adapt to many kinds of systems.
    14031416
    14041417Usage: $0 [OPTION]... [VAR=VALUE]...
     
    14561469
    14571470  cat <<\_ACEOF
     1471
     1472System types:
     1473  --build=BUILD     configure for building on BUILD [guessed]
     1474  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    14581475_ACEOF
    14591476fi
     
    14611478if test -n "$ac_init_help"; then
    14621479  case $ac_init_help in
    1463      short | recursive ) echo "Configuration of Rappture 1.2:";;
     1480     short | recursive ) echo "Configuration of Rappture 1.3:";;
    14641481   esac
    14651482  cat <<\_ACEOF
     
    14941511  --with-java=DIR         location of java [default=yes]
    14951512  --with-R=DIR            location of R interpreter [default=yes]
    1496   --with-ruby=DIR         location of ruby [default=yes]
     1513  --with-ruby=PATH        path to the ruby interpreter [ruby]
     1514  --with-ruby-sitelibdir=PATH
     1515                          path to install ruby scripts [auto-detect]
    14971516
    14981517Some influential environment variables:
     
    15771596if $ac_init_version; then
    15781597  cat <<\_ACEOF
    1579 Rappture configure 1.2
     1598Rappture configure 1.3
    15801599generated by GNU Autoconf 2.63
    15811600
     
    15911610running configure, to aid debugging if configure makes a mistake.
    15921611
    1593 It was created by Rappture $as_me 1.2, which was
     1612It was created by Rappture $as_me 1.3, which was
    15941613generated by GNU Autoconf 2.63.  Invocation command line was
    15951614
     
    1418114200
    1418214201
    14183 
    14184 RUBY=""
    14185 RUBY_DEV_PKG="no"
     14202# Make sure we can run config.sub.
     14203$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     14204  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
     14205$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
     14206   { (exit 1); exit 1; }; }
     14207
     14208{ $as_echo "$as_me:$LINENO: checking build system type" >&5
     14209$as_echo_n "checking build system type... " >&6; }
     14210if test "${ac_cv_build+set}" = set; then
     14211  $as_echo_n "(cached) " >&6
     14212else
     14213  ac_build_alias=$build_alias
     14214test "x$ac_build_alias" = x &&
     14215  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     14216test "x$ac_build_alias" = x &&
     14217  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
     14218$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
     14219   { (exit 1); exit 1; }; }
     14220ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     14221  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
     14222$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
     14223   { (exit 1); exit 1; }; }
     14224
     14225fi
     14226{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     14227$as_echo "$ac_cv_build" >&6; }
     14228case $ac_cv_build in
     14229*-*-*) ;;
     14230*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
     14231$as_echo "$as_me: error: invalid value of canonical build" >&2;}
     14232   { (exit 1); exit 1; }; };;
     14233esac
     14234build=$ac_cv_build
     14235ac_save_IFS=$IFS; IFS='-'
     14236set x $ac_cv_build
     14237shift
     14238build_cpu=$1
     14239build_vendor=$2
     14240shift; shift
     14241# Remember, the first character of IFS is used to create $*,
     14242# except with old shells:
     14243build_os=$*
     14244IFS=$ac_save_IFS
     14245case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     14246
     14247
     14248
    1418614249
    1418714250
    1418814251# Check whether --with-ruby was given.
    1418914252if test "${with_ruby+set}" = set; then
    14190   withval=$with_ruby;
    14191 else
    14192   with_ruby="yes"
    14193 fi
    14194 
    14195 
    14196 if test "${with_ruby}" != "no" ; then
    14197   if test "${with_ruby}" = "yes" ; then
    14198     # Extract the first word of "ruby", so it can be a program name with args.
    14199 set dummy ruby; ac_word=$2
    14200 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    14201 $as_echo_n "checking for $ac_word... " >&6; }
    14202 if test "${ac_cv_path_RUBY+set}" = set; then
     14253  withval=$with_ruby;  RUBY=$withval
     14254else
     14255   RUBY=ruby
     14256fi
     14257
     14258
     14259# Check whether --with-ruby_sitelibdir was given.
     14260if test "${with_ruby_sitelibdir+set}" = set; then
     14261  withval=$with_ruby_sitelibdir;  ruby_sitelibdir=$withval
     14262else
     14263   ruby_sitelibdir=NONE
     14264fi
     14265
     14266
     14267
     14268
     14269RUBY_VERSION_CODE=`$RUBY -e "puts RUBY_VERSION.gsub(/\./, '')"`
     14270
     14271
     14272RUBY_CONFIG_SO_NAME=`
     14273          $RUBY -rrbconfig -e "puts(Config::CONFIG['RUBY_SO_NAME'] || '')"`
     14274RUBY_CONFIG_ARCHDIR=`
     14275          $RUBY -rrbconfig -e "puts(Config::CONFIG['archdir'] || '')"`
     14276RUBY_CONFIG_ARCH=`
     14277          $RUBY -rrbconfig -e "puts(Config::CONFIG['arch'] || '')"`
     14278RUBY_CONFIG_LIBDIR=`
     14279          $RUBY -rrbconfig -e "puts(Config::CONFIG['libdir'] || '')"`
     14280RUBY_CONFIG_BINDIR=`
     14281          $RUBY -rrbconfig -e "puts(Config::CONFIG['bindir'] || '')"`
     14282RUBY_CONFIG_RUBYHDRDIR=`
     14283          $RUBY -rrbconfig -e "puts(Config::CONFIG['rubyhdrdir'] || '')"`
     14284RUBY_CONFIG_CFLAGS=`
     14285          $RUBY -rrbconfig -e "puts(Config::CONFIG['CFLAGS'] || '')"`
     14286RUBY_CONFIG_LIBS=`
     14287          $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBS'] || '')"`
     14288RUBY_CONFIG_DLDLIBS=`
     14289          $RUBY -rrbconfig -e "puts(Config::CONFIG['DLDLIBS'] || '')"`
     14290RUBY_CONFIG_LDFLAGS=`
     14291          $RUBY -rrbconfig -e "puts(Config::CONFIG['LDFLAGS'] || '')"`
     14292RUBY_CONFIG_LIBRUBYARG=`
     14293          $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBRUBYARG'] || '')"`
     14294RUBY_CONFIG_LIBRUBYARG_STATIC=`
     14295          $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBRUBYARG_STATIC'] || '')"`
     14296RUBY_CONFIG_CCDLFLAGS=`
     14297          $RUBY -rrbconfig -e "puts(Config::CONFIG['CCDLFLAGS'] || '')"`
     14298
     14299if test "x${RUBY_CONFIG_RUBYHDRDIR}x" != "xx"; then
     14300  # 1.9
     14301  RUBY_CPPFLAGS="-I${RUBY_CONFIG_RUBYHDRDIR}"
     14302  RUBY_CPPFLAGS="${RUBY_CPPFLAGS} -I${RUBY_CONFIG_RUBYHDRDIR}/${RUBY_CONFIG_ARCH}"
     14303else
     14304  # 1.8
     14305  RUBY_CPPFLAGS="-I${RUBY_CONFIG_ARCHDIR}"
     14306fi
     14307
     14308
     14309RUBY_CFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"
     14310
     14311
     14312RUBY_CXXFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"
     14313
     14314
     14315RUBY_LDFLAGS="-L${RUBY_CONFIG_ARCHDIR} -L${RUBY_CONFIG_LIBDIR} ${RUBY_CONFIG_LDFLAGS}"
     14316
     14317
     14318RUBY_LIBS="${RUBY_CONFIG_LIBS} ${RUBY_CONFIG_DLDLIBS}"
     14319
     14320
     14321RUBY_LIBRUBYARG="${RUBY_CONFIG_LIBRUBYARG}"
     14322
     14323
     14324RUBY_LIBRUBYARG_STATIC="${RUBY_CONFIG_LIBRUBYARG_STATIC}"
     14325
     14326
     14327if test "x${ruby_sitelibdir}x" != "xNONEx"
     14328then
     14329  RUBY_SITELIBDIR="${ruby_sitelibdir}"
     14330else
     14331  if test "x${prefix}x" = "xNONEx"
     14332  then
     14333    RUBY_SITELIBDIR=`
     14334          $RUBY -rrbconfig -e "puts(Config::CONFIG['sitelibdir'] || '')"`
     14335  else
     14336    sitelibdir_no_prefix=`$RUBY -rrbconfig \
     14337    -e "include Config; \
     14338    puts CONFIG['sitelibdir'].sub(CONFIG['prefix'], '')"`
     14339    RUBY_SITELIBDIR="${prefix}/${sitelibdir_no_prefix}"
     14340  fi
     14341fi
     14342
     14343
     14344CPPFLAGS_save="${CPPFLAGS}"
     14345CPPFLAGS="${CPPFLAGS} ${RUBY_CPPFLAGS}"
     14346CXXFLAGS="${CPPFLAGS}"
     14347
     14348for ac_header in ruby.h
     14349do
     14350as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     14351if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     14352  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     14353$as_echo_n "checking for $ac_header... " >&6; }
     14354if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    1420314355  $as_echo_n "(cached) " >&6
    14204 else
    14205   case $RUBY in
    14206   [\\/]* | ?:[\\/]*)
    14207   ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
    14208   ;;
    14209   *)
    14210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    14211 for as_dir in $PATH
    14212 do
    14213   IFS=$as_save_IFS
    14214   test -z "$as_dir" && as_dir=.
    14215   for ac_exec_ext in '' $ac_executable_extensions; do
    14216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14217     ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
    14218     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    14219     break 2
    14220   fi
    14221 done
    14222 done
    14223 IFS=$as_save_IFS
    14224 
    14225   ;;
    14226 esac
    14227 fi
    14228 RUBY=$ac_cv_path_RUBY
    14229 if test -n "$RUBY"; then
    14230   { $as_echo "$as_me:$LINENO: result: $RUBY" >&5
    14231 $as_echo "$RUBY" >&6; }
    14232 else
    14233   { $as_echo "$as_me:$LINENO: result: no" >&5
    14234 $as_echo "no" >&6; }
    14235 fi
    14236 
    14237 
    14238   else
    14239     # Extract the first word of "ruby", so it can be a program name with args.
    14240 set dummy ruby; ac_word=$2
    14241 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    14242 $as_echo_n "checking for $ac_word... " >&6; }
    14243 if test "${ac_cv_path_RUBY+set}" = set; then
    14244   $as_echo_n "(cached) " >&6
    14245 else
    14246   case $RUBY in
    14247   [\\/]* | ?:[\\/]*)
    14248   ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
    14249   ;;
    14250   *)
    14251   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    14252 as_dummy="${with_ruby}/bin:${with_ruby}"
    14253 for as_dir in $as_dummy
    14254 do
    14255   IFS=$as_save_IFS
    14256   test -z "$as_dir" && as_dir=.
    14257   for ac_exec_ext in '' $ac_executable_extensions; do
    14258   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14259     ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
    14260     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    14261     break 2
    14262   fi
    14263 done
    14264 done
    14265 IFS=$as_save_IFS
    14266 
    14267   ;;
    14268 esac
    14269 fi
    14270 RUBY=$ac_cv_path_RUBY
    14271 if test -n "$RUBY"; then
    14272   { $as_echo "$as_me:$LINENO: result: $RUBY" >&5
    14273 $as_echo "$RUBY" >&6; }
    14274 else
    14275   { $as_echo "$as_me:$LINENO: result: no" >&5
    14276 $as_echo "no" >&6; }
    14277 fi
    14278 
    14279 
    14280   fi
    14281 fi
    14282 
    14283 RUBY_VERSION_RV=
    14284 RUBY_PLATFORM=
    14285 if test "x${RUBY}" != "x" ; then
    14286   { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
    14287 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
    14288 if test "${ac_cv_path_SED+set}" = set; then
    14289   $as_echo_n "(cached) " >&6
    14290 else
    14291             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
    14292      for ac_i in 1 2 3 4 5 6 7; do
    14293        ac_script="$ac_script$as_nl$ac_script"
    14294      done
    14295      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
    14296      $as_unset ac_script || ac_script=
    14297      if test -z "$SED"; then
    14298   ac_path_SED_found=false
    14299   # Loop through the user's path and test for each of PROGNAME-LIST
    14300   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    14301 for as_dir in $PATH
    14302 do
    14303   IFS=$as_save_IFS
    14304   test -z "$as_dir" && as_dir=.
    14305   for ac_prog in sed gsed; do
    14306     for ac_exec_ext in '' $ac_executable_extensions; do
    14307       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
    14308       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
    14309 # Check for GNU ac_path_SED and select it if it is found.
    14310   # Check for GNU $ac_path_SED
    14311 case `"$ac_path_SED" --version 2>&1` in
    14312 *GNU*)
    14313   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
    14314 *)
    14315   ac_count=0
    14316   $as_echo_n 0123456789 >"conftest.in"
    14317   while :
    14318   do
    14319     cat "conftest.in" "conftest.in" >"conftest.tmp"
    14320     mv "conftest.tmp" "conftest.in"
    14321     cp "conftest.in" "conftest.nl"
    14322     $as_echo '' >> "conftest.nl"
    14323     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
    14324     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    14325     ac_count=`expr $ac_count + 1`
    14326     if test $ac_count -gt ${ac_path_SED_max-0}; then
    14327       # Best one so far, save it but keep looking for a better one
    14328       ac_cv_path_SED="$ac_path_SED"
    14329       ac_path_SED_max=$ac_count
    14330     fi
    14331     # 10*(2^10) chars as input seems more than enough
    14332     test $ac_count -gt 10 && break
    14333   done
    14334   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    14335 esac
    14336 
    14337       $ac_path_SED_found && break 3
    14338     done
    14339   done
    14340 done
    14341 IFS=$as_save_IFS
    14342   if test -z "$ac_cv_path_SED"; then
    14343     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
    14344 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
    14345    { (exit 1); exit 1; }; }
    14346   fi
    14347 else
    14348   ac_cv_path_SED=$SED
    14349 fi
    14350 
    14351 fi
    14352 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
    14353 $as_echo "$ac_cv_path_SED" >&6; }
    14354  SED="$ac_cv_path_SED"
    14355   rm -f conftest.sed
    14356 
    14357 
    14358 
    14359 
    14360 
    14361     if test -n "$RUBY"; then
    14362 
    14363         ax_ruby_version=""
    14364 
    14365         { $as_echo "$as_me:$LINENO: checking for ruby version" >&5
    14366 $as_echo_n "checking for ruby version... " >&6; }
    14367 
    14368         ruby_version=`$RUBY --version 2>&1 | $GREP "^ruby " | $SED -e 's/^.* \([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'`
    14369 
    14370         { $as_echo "$as_me:$LINENO: result: $ruby_version" >&5
    14371 $as_echo "$ruby_version" >&6; }
    14372 
    14373         RUBY_VERSION=$ruby_version
    14374 
    14375 
    14376 
    14377   for ac_prog in gawk mawk nawk awk
    14378 do
    14379   # Extract the first word of "$ac_prog", so it can be a program name with args.
    14380 set dummy $ac_prog; ac_word=$2
    14381 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    14382 $as_echo_n "checking for $ac_word... " >&6; }
    14383 if test "${ac_cv_prog_AWK+set}" = set; then
    14384   $as_echo_n "(cached) " >&6
    14385 else
    14386   if test -n "$AWK"; then
    14387   ac_cv_prog_AWK="$AWK" # Let the user override the test.
    14388 else
    14389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    14390 for as_dir in $PATH
    14391 do
    14392   IFS=$as_save_IFS
    14393   test -z "$as_dir" && as_dir=.
    14394   for ac_exec_ext in '' $ac_executable_extensions; do
    14395   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14396     ac_cv_prog_AWK="$ac_prog"
    14397     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    14398     break 2
    14399   fi
    14400 done
    14401 done
    14402 IFS=$as_save_IFS
    14403 
    14404 fi
    14405 fi
    14406 AWK=$ac_cv_prog_AWK
    14407 if test -n "$AWK"; then
    14408   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
    14409 $as_echo "$AWK" >&6; }
    14410 else
    14411   { $as_echo "$as_me:$LINENO: result: no" >&5
    14412 $as_echo "no" >&6; }
    14413 fi
    14414 
    14415 
    14416   test -n "$AWK" && break
    14417 done
    14418 
    14419 
    14420   # Used to indicate true or false condition
    14421   ax_compare_version=false
    14422 
    14423   # Convert the two version strings to be compared into a format that
    14424   # allows a simple string comparison.  The end result is that a version
    14425   # string of the form 1.12.5-r617 will be converted to the form
    14426   # 0001001200050617.  In other words, each number is zero padded to four
    14427   # digits, and non digits are removed.
    14428 
    14429   ax_compare_version_A=`echo "$ax_ruby_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
    14430                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
    14431                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
    14432                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
    14433                      -e 's/[^0-9]//g'`
    14434 
    14435 
    14436   ax_compare_version_B=`echo "$ruby_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
    14437                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
    14438                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
    14439                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
    14440                      -e 's/[^0-9]//g'`
    14441 
    14442 
    14443     ax_compare_version=`echo "x$ax_compare_version_A
    14444 x$ax_compare_version_B" | sed 's/^ *//' | sort | sed "s/x${ax_compare_version_A}/true/;s/x${ax_compare_version_B}/false/;1q"`
    14445 
    14446 
    14447 
    14448     if test "$ax_compare_version" = "true" ; then
    14449 
    14450             :
    14451 
    14452 
    14453     else
    14454             :
    14455 
    14456 
    14457   fi
    14458 
    14459 
    14460 else
    14461 
    14462         { $as_echo "$as_me:$LINENO: WARNING: could not find the ruby interpreter" >&5
    14463 $as_echo "$as_me: WARNING: could not find the ruby interpreter" >&2;}
    14464 
    14465 
    14466 fi
    14467 
    14468 
    14469   RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2`
    14470   RUBY_PLATFORM=`ruby -e 'puts RUBY_PLATFORM'`
    14471   ac_mkmf_result=`${RUBY} -r mkmf -e ";" 2>&1`
    14472   if test -z "$ac_mkmf_result"; then
    14473     HAVE_RUBY_DEVEL="yes"
    14474 
    14475     #
    14476     # Check for Ruby include path
    14477     #
    14478     { $as_echo "$as_me:$LINENO: checking for Ruby include path" >&5
    14479 $as_echo_n "checking for Ruby include path... " >&6; }
    14480     if test -z "$RUBY_CPPFLAGS"; then
    14481         ruby_path=`$RUBY -rmkmf -e 'print Config::CONFIG["archdir"]'`
    14482         if test -n "${ruby_path}"; then
    14483                 ruby_path="-I$ruby_path"
    14484         fi
    14485         RUBY_CPPFLAGS=$ruby_path
    14486     fi
    14487     { $as_echo "$as_me:$LINENO: result: $RUBY_CPPFLAGS" >&5
    14488 $as_echo "$RUBY_CPPFLAGS" >&6; }
    14489 
    14490 
    14491     #
    14492     # Check for Ruby library path
    14493     #
    14494     { $as_echo "$as_me:$LINENO: checking for Ruby library path" >&5
    14495 $as_echo_n "checking for Ruby library path... " >&6; }
    14496     if test -z "$RUBY_LDFLAGS"; then
    14497         RUBY_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG["LIBRUBYARG_SHARED"]'`
    14498     fi
    14499     { $as_echo "$as_me:$LINENO: result: $RUBY_LDFLAGS" >&5
    14500 $as_echo "$RUBY_LDFLAGS" >&6; }
    14501 
    14502 
    14503     #
    14504     # Check for site packages
    14505     #
    14506     { $as_echo "$as_me:$LINENO: checking for Ruby site-packages path" >&5
    14507 $as_echo_n "checking for Ruby site-packages path... " >&6; }
    14508     if test -z "$RUBY_SITE_PKG"; then
    14509         RUBY_SITE_PKG=`$RUBY -rmkmf -e 'print Config::CONFIG["sitearchdir"]'`
    14510     fi
    14511     { $as_echo "$as_me:$LINENO: result: $RUBY_SITE_PKG" >&5
    14512 $as_echo "$RUBY_SITE_PKG" >&6; }
    14513 
    14514 
    14515     #
    14516     # libraries which must be linked in when embedding
    14517     #
    14518     { $as_echo "$as_me:$LINENO: checking ruby extra libraries" >&5
    14519 $as_echo_n "checking ruby extra libraries... " >&6; }
    14520     if test -z "$RUBY_EXTRA_LIBS"; then
    14521        RUBY_EXTRA_LIBS=`$RUBY -rmkmf -e 'print Config::CONFIG["SOLIBS"]'`
    14522     fi
    14523     { $as_echo "$as_me:$LINENO: result: $RUBY_EXTRA_LIBS" >&5
    14524 $as_echo "$RUBY_EXTRA_LIBS" >&6; }
    14525 
    14526 
    14527     #
    14528     # linking flags needed when embedding
    14529     # (is it even needed for Ruby?)
    14530     #
    14531     # AC_MSG_CHECKING(ruby extra linking flags)
    14532     # if test -z "$RUBY_EXTRA_LDFLAGS"; then
    14533     # RUBY_EXTRA_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG[["LINKFORSHARED"]]'`
    14534     # fi
    14535     # AC_MSG_RESULT([$RUBY_EXTRA_LDFLAGS])
    14536     # AC_SUBST(RUBY_EXTRA_LDFLAGS)
    14537 
    14538     # this flags breaks ruby.h, and is sometimes defined by KDE m4 macros
    14539     CFLAGS="`echo "$CFLAGS" | sed -e 's/-std=iso9899:1990//g;'`"
    14540     #
    14541     # final check to see if everything compiles alright
    14542     #
    14543     { $as_echo "$as_me:$LINENO: checking consistency of all components of ruby development environment" >&5
    14544 $as_echo_n "checking consistency of all components of ruby development environment... " >&6; }
    14545     ac_ext=c
    14546 ac_cpp='$CPP $CPPFLAGS'
    14547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    14548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    14549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    14550 
    14551     # save current global flags
    14552     ac_save_LIBS="$LIBS"
    14553     LIBS="$ac_save_LIBS $RUBY_LDFLAGS"
    14554     ac_save_CPPFLAGS="$CPPFLAGS"
    14555     CPPFLAGS="$ac_save_CPPFLAGS $RUBY_CPPFLAGS"
    14556     cat >conftest.$ac_ext <<_ACEOF
     14356fi
     14357ac_res=`eval 'as_val=${'$as_ac_Header'}
     14358                 $as_echo "$as_val"'`
     14359               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14360$as_echo "$ac_res" >&6; }
     14361else
     14362  # Is the header compilable?
     14363{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     14364$as_echo_n "checking $ac_header usability... " >&6; }
     14365cat >conftest.$ac_ext <<_ACEOF
    1455714366/* confdefs.h.  */
    1455814367_ACEOF
     
    1456014369cat >>conftest.$ac_ext <<_ACEOF
    1456114370/* end confdefs.h.  */
    14562 
    14563         #include <ruby.h>
    14564 
    14565 int
    14566 main ()
    14567 {
    14568 
    14569         ruby_init();
    14570 
    14571   ;
    14572   return 0;
    14573 }
    14574 _ACEOF
    14575 rm -f conftest.$ac_objext conftest$ac_exeext
    14576 if { (ac_try="$ac_link"
     14371$ac_includes_default
     14372#include <$ac_header>
     14373_ACEOF
     14374rm -f conftest.$ac_objext
     14375if { (ac_try="$ac_compile"
    1457714376case "(($ac_try" in
    1457814377  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     
    1458114380eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    1458214381$as_echo "$ac_try_echo") >&5
    14583   (eval "$ac_link") 2>conftest.er1
     14382  (eval "$ac_compile") 2>conftest.er1
    1458414383  ac_status=$?
    1458514384  grep -v '^ *+' conftest.er1 >conftest.err
     
    1458814387  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1458914388  (exit $ac_status); } && {
    14590          test -z "$ac_c_werror_flag" ||
     14389         test -z "$ac_cxx_werror_flag" ||
    1459114390         test ! -s conftest.err
    14592        } && test -s conftest$ac_exeext && {
    14593          test "$cross_compiling" = yes ||
    14594          $as_test_x conftest$ac_exeext
    14595        }; then
    14596   rubyexists=yes
     14391       } && test -s conftest.$ac_objext; then
     14392  ac_header_compiler=yes
    1459714393else
    1459814394  $as_echo "$as_me: failed program was:" >&5
    1459914395sed 's/^/| /' conftest.$ac_ext >&5
    1460014396
    14601         rubyexists=no
    14602 fi
    14603 
    14604 rm -rf conftest.dSYM
    14605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    14606       conftest$ac_exeext conftest.$ac_ext
    14607 
    14608     { $as_echo "$as_me:$LINENO: result: $rubyexists" >&5
    14609 $as_echo "$rubyexists" >&6; }
    14610 
    14611     if test "$rubyexists" = "no"; then
    14612       HAVE_RUBY_DEVEL="no"
    14613     fi
    14614     ac_ext=cpp
    14615 ac_cpp='$CXXCPP $CPPFLAGS'
    14616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    14617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    14618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    14619 
    14620     # turn back to default flags
    14621     CPPFLAGS="$ac_save_CPPFLAGS"
    14622     LIBS="$ac_save_LIBS"
    14623 
    14624     #
    14625     # all done!
    14626     #
    14627 
    14628   fi
    14629 fi
     14397        ac_header_compiler=no
     14398fi
     14399
     14400rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     14401{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     14402$as_echo "$ac_header_compiler" >&6; }
     14403
     14404# Is the header present?
     14405{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     14406$as_echo_n "checking $ac_header presence... " >&6; }
     14407cat >conftest.$ac_ext <<_ACEOF
     14408/* confdefs.h.  */
     14409_ACEOF
     14410cat confdefs.h >>conftest.$ac_ext
     14411cat >>conftest.$ac_ext <<_ACEOF
     14412/* end confdefs.h.  */
     14413#include <$ac_header>
     14414_ACEOF
     14415if { (ac_try="$ac_cpp conftest.$ac_ext"
     14416case "(($ac_try" in
     14417  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14418  *) ac_try_echo=$ac_try;;
     14419esac
     14420eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14421$as_echo "$ac_try_echo") >&5
     14422  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     14423  ac_status=$?
     14424  grep -v '^ *+' conftest.er1 >conftest.err
     14425  rm -f conftest.er1
     14426  cat conftest.err >&5
     14427  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14428  (exit $ac_status); } >/dev/null && {
     14429         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     14430         test ! -s conftest.err
     14431       }; then
     14432  ac_header_preproc=yes
     14433else
     14434  $as_echo "$as_me: failed program was:" >&5
     14435sed 's/^/| /' conftest.$ac_ext >&5
     14436
     14437  ac_header_preproc=no
     14438fi
     14439
     14440rm -f conftest.err conftest.$ac_ext
     14441{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     14442$as_echo "$ac_header_preproc" >&6; }
     14443
     14444# So?  What about this header?
     14445case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     14446  yes:no: )
     14447    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     14448$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     14449    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     14450$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     14451    ac_header_preproc=yes
     14452    ;;
     14453  no:yes:* )
     14454    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     14455$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     14456    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     14457$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     14458    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     14459$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     14460    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     14461$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     14462    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     14463$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     14464    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     14465$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     14466    ( cat <<\_ASBOX
     14467## ----------------------------------- ##
     14468## Report this to rappture@nanohub.org ##
     14469## ----------------------------------- ##
     14470_ASBOX
     14471     ) | sed "s/^/$as_me: WARNING:     /" >&2
     14472    ;;
     14473esac
     14474{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     14475$as_echo_n "checking for $ac_header... " >&6; }
     14476if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     14477  $as_echo_n "(cached) " >&6
     14478else
     14479  eval "$as_ac_Header=\$ac_header_preproc"
     14480fi
     14481ac_res=`eval 'as_val=${'$as_ac_Header'}
     14482                 $as_echo "$as_val"'`
     14483               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14484$as_echo "$ac_res" >&6; }
     14485
     14486fi
     14487as_val=`eval 'as_val=${'$as_ac_Header'}
     14488                 $as_echo "$as_val"'`
     14489   if test "x$as_val" = x""yes; then
     14490  cat >>confdefs.h <<_ACEOF
     14491#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     14492_ACEOF
     14493
     14494fi
     14495
     14496done
     14497
     14498HAVE_RUBY_H=${ac_cv_header_ruby_h}
     14499
     14500
     14501
     14502for ac_header in node.h
     14503do
     14504as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     14505{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     14506$as_echo_n "checking for $ac_header... " >&6; }
     14507if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     14508  $as_echo_n "(cached) " >&6
     14509else
     14510  cat >conftest.$ac_ext <<_ACEOF
     14511/* confdefs.h.  */
     14512_ACEOF
     14513cat confdefs.h >>conftest.$ac_ext
     14514cat >>conftest.$ac_ext <<_ACEOF
     14515/* end confdefs.h.  */
     14516
     14517#include <ruby.h>
     14518
     14519
     14520#include <$ac_header>
     14521_ACEOF
     14522rm -f conftest.$ac_objext
     14523if { (ac_try="$ac_compile"
     14524case "(($ac_try" in
     14525  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14526  *) ac_try_echo=$ac_try;;
     14527esac
     14528eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14529$as_echo "$ac_try_echo") >&5
     14530  (eval "$ac_compile") 2>conftest.er1
     14531  ac_status=$?
     14532  grep -v '^ *+' conftest.er1 >conftest.err
     14533  rm -f conftest.er1
     14534  cat conftest.err >&5
     14535  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14536  (exit $ac_status); } && {
     14537         test -z "$ac_cxx_werror_flag" ||
     14538         test ! -s conftest.err
     14539       } && test -s conftest.$ac_objext; then
     14540  eval "$as_ac_Header=yes"
     14541else
     14542  $as_echo "$as_me: failed program was:" >&5
     14543sed 's/^/| /' conftest.$ac_ext >&5
     14544
     14545        eval "$as_ac_Header=no"
     14546fi
     14547
     14548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     14549fi
     14550ac_res=`eval 'as_val=${'$as_ac_Header'}
     14551                 $as_echo "$as_val"'`
     14552               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14553$as_echo "$ac_res" >&6; }
     14554as_val=`eval 'as_val=${'$as_ac_Header'}
     14555                 $as_echo "$as_val"'`
     14556   if test "x$as_val" = x""yes; then
     14557  cat >>confdefs.h <<_ACEOF
     14558#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     14559_ACEOF
     14560
     14561fi
     14562
     14563done
     14564
     14565
     14566for ac_header in ruby/node.h
     14567do
     14568as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     14569{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     14570$as_echo_n "checking for $ac_header... " >&6; }
     14571if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     14572  $as_echo_n "(cached) " >&6
     14573else
     14574  cat >conftest.$ac_ext <<_ACEOF
     14575/* confdefs.h.  */
     14576_ACEOF
     14577cat confdefs.h >>conftest.$ac_ext
     14578cat >>conftest.$ac_ext <<_ACEOF
     14579/* end confdefs.h.  */
     14580
     14581                             #include <ruby.h>
     14582
     14583
     14584#include <$ac_header>
     14585_ACEOF
     14586rm -f conftest.$ac_objext
     14587if { (ac_try="$ac_compile"
     14588case "(($ac_try" in
     14589  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14590  *) ac_try_echo=$ac_try;;
     14591esac
     14592eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14593$as_echo "$ac_try_echo") >&5
     14594  (eval "$ac_compile") 2>conftest.er1
     14595  ac_status=$?
     14596  grep -v '^ *+' conftest.er1 >conftest.err
     14597  rm -f conftest.er1
     14598  cat conftest.err >&5
     14599  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14600  (exit $ac_status); } && {
     14601         test -z "$ac_cxx_werror_flag" ||
     14602         test ! -s conftest.err
     14603       } && test -s conftest.$ac_objext; then
     14604  eval "$as_ac_Header=yes"
     14605else
     14606  $as_echo "$as_me: failed program was:" >&5
     14607sed 's/^/| /' conftest.$ac_ext >&5
     14608
     14609        eval "$as_ac_Header=no"
     14610fi
     14611
     14612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     14613fi
     14614ac_res=`eval 'as_val=${'$as_ac_Header'}
     14615                 $as_echo "$as_val"'`
     14616               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14617$as_echo "$ac_res" >&6; }
     14618as_val=`eval 'as_val=${'$as_ac_Header'}
     14619                 $as_echo "$as_val"'`
     14620   if test "x$as_val" = x""yes; then
     14621  cat >>confdefs.h <<_ACEOF
     14622#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     14623_ACEOF
     14624
     14625cat >>confdefs.h <<\_ACEOF
     14626#define REALLY_HAVE_RUBY_NODE_H /**/
     14627_ACEOF
     14628
     14629fi
     14630
     14631done
     14632
     14633
     14634for ac_header in version.h
     14635do
     14636as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     14637{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     14638$as_echo_n "checking for $ac_header... " >&6; }
     14639if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     14640  $as_echo_n "(cached) " >&6
     14641else
     14642  cat >conftest.$ac_ext <<_ACEOF
     14643/* confdefs.h.  */
     14644_ACEOF
     14645cat confdefs.h >>conftest.$ac_ext
     14646cat >>conftest.$ac_ext <<_ACEOF
     14647/* end confdefs.h.  */
     14648
     14649#include <ruby.h>
     14650
     14651
     14652#include <$ac_header>
     14653_ACEOF
     14654rm -f conftest.$ac_objext
     14655if { (ac_try="$ac_compile"
     14656case "(($ac_try" in
     14657  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14658  *) ac_try_echo=$ac_try;;
     14659esac
     14660eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14661$as_echo "$ac_try_echo") >&5
     14662  (eval "$ac_compile") 2>conftest.er1
     14663  ac_status=$?
     14664  grep -v '^ *+' conftest.er1 >conftest.err
     14665  rm -f conftest.er1
     14666  cat conftest.err >&5
     14667  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14668  (exit $ac_status); } && {
     14669         test -z "$ac_cxx_werror_flag" ||
     14670         test ! -s conftest.err
     14671       } && test -s conftest.$ac_objext; then
     14672  eval "$as_ac_Header=yes"
     14673else
     14674  $as_echo "$as_me: failed program was:" >&5
     14675sed 's/^/| /' conftest.$ac_ext >&5
     14676
     14677        eval "$as_ac_Header=no"
     14678fi
     14679
     14680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     14681fi
     14682ac_res=`eval 'as_val=${'$as_ac_Header'}
     14683                 $as_echo "$as_val"'`
     14684               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14685$as_echo "$ac_res" >&6; }
     14686as_val=`eval 'as_val=${'$as_ac_Header'}
     14687                 $as_echo "$as_val"'`
     14688   if test "x$as_val" = x""yes; then
     14689  cat >>confdefs.h <<_ACEOF
     14690#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     14691_ACEOF
     14692
     14693fi
     14694
     14695done
     14696
     14697
     14698for ac_header in env.h
     14699do
     14700as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     14701{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     14702$as_echo_n "checking for $ac_header... " >&6; }
     14703if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     14704  $as_echo_n "(cached) " >&6
     14705else
     14706  cat >conftest.$ac_ext <<_ACEOF
     14707/* confdefs.h.  */
     14708_ACEOF
     14709cat confdefs.h >>conftest.$ac_ext
     14710cat >>conftest.$ac_ext <<_ACEOF
     14711/* end confdefs.h.  */
     14712
     14713#include <ruby.h>
     14714
     14715
     14716#include <$ac_header>
     14717_ACEOF
     14718rm -f conftest.$ac_objext
     14719if { (ac_try="$ac_compile"
     14720case "(($ac_try" in
     14721  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14722  *) ac_try_echo=$ac_try;;
     14723esac
     14724eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14725$as_echo "$ac_try_echo") >&5
     14726  (eval "$ac_compile") 2>conftest.er1
     14727  ac_status=$?
     14728  grep -v '^ *+' conftest.er1 >conftest.err
     14729  rm -f conftest.er1
     14730  cat conftest.err >&5
     14731  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14732  (exit $ac_status); } && {
     14733         test -z "$ac_cxx_werror_flag" ||
     14734         test ! -s conftest.err
     14735       } && test -s conftest.$ac_objext; then
     14736  eval "$as_ac_Header=yes"
     14737else
     14738  $as_echo "$as_me: failed program was:" >&5
     14739sed 's/^/| /' conftest.$ac_ext >&5
     14740
     14741        eval "$as_ac_Header=no"
     14742fi
     14743
     14744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     14745fi
     14746ac_res=`eval 'as_val=${'$as_ac_Header'}
     14747                 $as_echo "$as_val"'`
     14748               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14749$as_echo "$ac_res" >&6; }
     14750as_val=`eval 'as_val=${'$as_ac_Header'}
     14751                 $as_echo "$as_val"'`
     14752   if test "x$as_val" = x""yes; then
     14753  cat >>confdefs.h <<_ACEOF
     14754#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     14755_ACEOF
     14756
     14757fi
     14758
     14759done
     14760
     14761
     14762CPPFLAGS="${CPPFLAGS_save}"
     14763
     14764{ $as_echo "$as_me:$LINENO: checking host system type" >&5
     14765$as_echo_n "checking host system type... " >&6; }
     14766if test "${ac_cv_host+set}" = set; then
     14767  $as_echo_n "(cached) " >&6
     14768else
     14769  if test "x$host_alias" = x; then
     14770  ac_cv_host=$ac_cv_build
     14771else
     14772  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     14773    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
     14774$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
     14775   { (exit 1); exit 1; }; }
     14776fi
     14777
     14778fi
     14779{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     14780$as_echo "$ac_cv_host" >&6; }
     14781case $ac_cv_host in
     14782*-*-*) ;;
     14783*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
     14784$as_echo "$as_me: error: invalid value of canonical host" >&2;}
     14785   { (exit 1); exit 1; }; };;
     14786esac
     14787host=$ac_cv_host
     14788ac_save_IFS=$IFS; IFS='-'
     14789set x $ac_cv_host
     14790shift
     14791host_cpu=$1
     14792host_vendor=$2
     14793shift; shift
     14794# Remember, the first character of IFS is used to create $*,
     14795# except with old shells:
     14796host_os=$*
     14797IFS=$ac_save_IFS
     14798case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     14799
     14800
     14801case $host_os in
     14802  *mingw32* ) MINGW32=yes;;
     14803          * ) MINGW32=no;;
     14804esac
     14805
     14806
     14807if test x"${MINGW32}"x = xyesx; then
     14808
     14809RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%oldnames.lib%-lmoldname%"`
     14810RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%user32.lib%-luser32%"`
     14811RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%advapi32.lib%-ladvapi32%"`
     14812RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%ws2_32.lib%-lws2_32%"`
     14813RUBY_LIBRUBYARG=`echo ${RUBY_LIBRUBYARG} | sed -e "s%\(msvcrt-ruby.*\).lib%${RUBY_CONFIG_BINDIR}/\1.dll%"`
     14814RUBY_LIBRUBYARG_STATIC=`echo ${RUBY_LIBRUBYARG_STATIC} | sed -e "s%\(msvcrt-ruby.*\).lib%${RUBY_CONFIG_LIBDIR}/\1.lib%"`
     14815
     14816fi
     14817
    1463014818
    1463114819
     
    1660116789# search for ffmpeg libraries libavcodec, libavformat, libswscale
    1660216790#--------------------------------------------------------------------
     16791if test "${with_ffmpeg}" != "no" ; then
     16792  if test "${with_tclsh}" = "yes" ; then
     16793    # Extract the first word of "ffmpeg", so it can be a program name with args.
     16794set dummy ffmpeg; ac_word=$2
     16795{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     16796$as_echo_n "checking for $ac_word... " >&6; }
     16797if test "${ac_cv_path_FFMPEG+set}" = set; then
     16798  $as_echo_n "(cached) " >&6
     16799else
     16800  case $FFMPEG in
     16801  [\\/]* | ?:[\\/]*)
     16802  ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path.
     16803  ;;
     16804  *)
     16805  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     16806for as_dir in $PATH
     16807do
     16808  IFS=$as_save_IFS
     16809  test -z "$as_dir" && as_dir=.
     16810  for ac_exec_ext in '' $ac_executable_extensions; do
     16811  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     16812    ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"
     16813    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     16814    break 2
     16815  fi
     16816done
     16817done
     16818IFS=$as_save_IFS
     16819
     16820  ;;
     16821esac
     16822fi
     16823FFMPEG=$ac_cv_path_FFMPEG
     16824if test -n "$FFMPEG"; then
     16825  { $as_echo "$as_me:$LINENO: result: $FFMPEG" >&5
     16826$as_echo "$FFMPEG" >&6; }
     16827else
     16828  { $as_echo "$as_me:$LINENO: result: no" >&5
     16829$as_echo "no" >&6; }
     16830fi
     16831
     16832
     16833  else
     16834    # Extract the first word of "ffmpeg", so it can be a program name with args.
     16835set dummy ffmpeg; ac_word=$2
     16836{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     16837$as_echo_n "checking for $ac_word... " >&6; }
     16838if test "${ac_cv_path_FFMPEG+set}" = set; then
     16839  $as_echo_n "(cached) " >&6
     16840else
     16841  case $FFMPEG in
     16842  [\\/]* | ?:[\\/]*)
     16843  ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path.
     16844  ;;
     16845  *)
     16846  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     16847as_dummy="${with_ffmpeg}/bin:${with_ffmpeg}"
     16848for as_dir in $as_dummy
     16849do
     16850  IFS=$as_save_IFS
     16851  test -z "$as_dir" && as_dir=.
     16852  for ac_exec_ext in '' $ac_executable_extensions; do
     16853  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     16854    ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"
     16855    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     16856    break 2
     16857  fi
     16858done
     16859done
     16860IFS=$as_save_IFS
     16861
     16862  ;;
     16863esac
     16864fi
     16865FFMPEG=$ac_cv_path_FFMPEG
     16866if test -n "$FFMPEG"; then
     16867  { $as_echo "$as_me:$LINENO: result: $FFMPEG" >&5
     16868$as_echo "$FFMPEG" >&6; }
     16869else
     16870  { $as_echo "$as_me:$LINENO: result: no" >&5
     16871$as_echo "no" >&6; }
     16872fi
     16873
     16874
     16875  fi
     16876  if test "${FFMPEG}x" != "x" ; then
     16877
     16878cat >>confdefs.h <<\_ACEOF
     16879#define HAVE_FFMPEG 1
     16880_ACEOF
     16881
     16882  fi
     16883fi
    1660316884
    1660416885
     
    1961719898
    1961819899
     19900
    1961919901MAKE=${make_command}
    1962019902
     
    1969419976
    1969519977
    19696 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/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/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/cloud/Makefile examples/zoo/cloud/matlab/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 examples/zoo/unirect2d/Makefile video/Makefile video/pkgIndex.tcl oldtest/Makefile oldtest/src/Makefile"
     19978ac_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/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/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"
    1969719979
    1969819980cat >confcache <<\_ACEOF
     
    2011620398# values after options handling.
    2011720399ac_log="
    20118 This file was extended by Rappture $as_me 1.2, which was
     20400This file was extended by Rappture $as_me 1.3, which was
    2011920401generated by GNU Autoconf 2.63.  Invocation command line was
    2012020402
     
    2017520457cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    2017620458ac_cs_version="\\
    20177 Rappture config.status 1.2
     20459Rappture config.status 1.3
    2017820460configured by $0, generated by GNU Autoconf 2.63,
    2017920461  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     
    2018720469INSTALL='$INSTALL'
    2018820470MKDIR_P='$MKDIR_P'
    20189 AWK='$AWK'
    2019020471test -n "\$AWK" || AWK=awk
    2019120472_ACEOF
     
    2039120672    "examples/zoo/boolean/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/boolean/Makefile" ;;
    2039220673    "examples/zoo/choice/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/choice/Makefile" ;;
    20393     "examples/zoo/cloud/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/cloud/Makefile" ;;
    20394     "examples/zoo/cloud/matlab/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/cloud/matlab/Makefile" ;;
    2039520674    "examples/zoo/curve/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/curve/Makefile" ;;
    2039620675    "examples/zoo/drawing/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/drawing/Makefile" ;;
     
    2042120700    "examples/zoo/structure/examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/structure/examples/Makefile" ;;
    2042220701    "examples/zoo/table/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/table/Makefile" ;;
    20423     "examples/zoo/unirect2d/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/unirect2d/Makefile" ;;
    2042420702    "video/Makefile") CONFIG_FILES="$CONFIG_FILES video/Makefile" ;;
    2042520703    "video/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES video/pkgIndex.tcl" ;;
Note: See TracChangeset for help on using the changeset viewer.