Changeset 2936


Ignore:
Timestamp:
Apr 3, 2012 3:51:13 PM (10 years ago)
Author:
gah
Message:

sync back with trunk

Location:
branches/blt4
Files:
23 added
20 deleted
296 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/builder/scripts/Makefile.in

    r2714 r2936  
    3636                $(srcdir)/templates/perl.tl \
    3737                $(srcdir)/templates/python.tl \
     38                $(srcdir)/templates/r.tl \
    3839                $(srcdir)/templates/ruby.tl \
    3940                $(srcdir)/templates/tcl.tl
  • branches/blt4/configure

    r2742 r2936  
    96109610#--------------------------------------------------------------------
    96119611
    9612 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h
     9612for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h ffmpeg/swscale.h libswscale/swscale.h
    96139613do :
    96149614  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    98049804fi
    98059805
     9806  for ac_func in av_find_stream_info
     9807do :
     9808  ac_fn_cxx_check_func "$LINENO" "av_find_stream_info" "ac_cv_func_av_find_stream_info"
     9809if test "x$ac_cv_func_av_find_stream_info" = xyes; then :
     9810  cat >>confdefs.h <<_ACEOF
     9811#define HAVE_AV_FIND_STREAM_INFO 1
     9812_ACEOF
     9813
     9814fi
     9815done
     9816
     9817  for ac_func in av_open_input_file
     9818do :
     9819  ac_fn_cxx_check_func "$LINENO" "av_open_input_file" "ac_cv_func_av_open_input_file"
     9820if test "x$ac_cv_func_av_open_input_file" = xyes; then :
     9821  cat >>confdefs.h <<_ACEOF
     9822#define HAVE_AV_OPEN_INPUT_FILE 1
     9823_ACEOF
     9824
     9825fi
     9826done
     9827
     9828  for ac_func in avcodec_decode_video
     9829do :
     9830  ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video" "ac_cv_func_avcodec_decode_video"
     9831if test "x$ac_cv_func_avcodec_decode_video" = xyes; then :
     9832  cat >>confdefs.h <<_ACEOF
     9833#define HAVE_AVCODEC_DECODE_VIDEO 1
     9834_ACEOF
     9835
     9836fi
     9837done
     9838
    98069839  for ac_func in avcodec_decode_video2
    98079840do :
     
    98159848done
    98169849
    9817   for ac_func in avcodec_decode_video
     9850  for ac_func in avcodec_open
    98189851do :
    9819   ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video" "ac_cv_func_avcodec_decode_video"
    9820 if test "x$ac_cv_func_avcodec_decode_video" = xyes; then :
     9852  ac_fn_cxx_check_func "$LINENO" "avcodec_open" "ac_cv_func_avcodec_open"
     9853if test "x$ac_cv_func_avcodec_open" = xyes; then :
    98219854  cat >>confdefs.h <<_ACEOF
    9822 #define HAVE_AVCODEC_DECODE_VIDEO 1
     9855#define HAVE_AVCODEC_OPEN 1
     9856_ACEOF
     9857
     9858fi
     9859done
     9860
     9861  for ac_func in avcodec_open2
     9862do :
     9863  ac_fn_cxx_check_func "$LINENO" "avcodec_open2" "ac_cv_func_avcodec_open2"
     9864if test "x$ac_cv_func_avcodec_open2" = xyes; then :
     9865  cat >>confdefs.h <<_ACEOF
     9866#define HAVE_AVCODEC_OPEN2 1
     9867_ACEOF
     9868
     9869fi
     9870done
     9871
     9872  for ac_func in avformat_find_stream_info
     9873do :
     9874  ac_fn_cxx_check_func "$LINENO" "avformat_find_stream_info" "ac_cv_func_avformat_find_stream_info"
     9875if test "x$ac_cv_func_avformat_find_stream_info" = xyes; then :
     9876  cat >>confdefs.h <<_ACEOF
     9877#define HAVE_AVFORMAT_FIND_STREAM_INFO 1
    98239878_ACEOF
    98249879
     
    98379892done
    98389893
    9839   for ac_func in av_open_input_file
    9840 do :
    9841   ac_fn_cxx_check_func "$LINENO" "av_open_input_file" "ac_cv_func_av_open_input_file"
    9842 if test "x$ac_cv_func_av_open_input_file" = xyes; then :
    9843   cat >>confdefs.h <<_ACEOF
    9844 #define HAVE_AV_OPEN_INPUT_FILE 1
    9845 _ACEOF
    9846 
    9847 fi
    9848 done
    9849 
    98509894  for ac_func in avio_close
    98519895do :
     
    98599903done
    98609904
     9905  for ac_func in img_convert
     9906do :
     9907  ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"
     9908if test "x$ac_cv_func_img_convert" = xyes; then :
     9909  cat >>confdefs.h <<_ACEOF
     9910#define HAVE_IMG_CONVERT 1
     9911_ACEOF
     9912
     9913fi
     9914done
     9915
     9916  for ac_func in sws_getCachedContext
     9917do :
     9918  ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext"
     9919if test "x$ac_cv_func_sws_getCachedContext" = xyes; then :
     9920  cat >>confdefs.h <<_ACEOF
     9921#define HAVE_SWS_GETCACHEDCONTEXT 1
     9922_ACEOF
     9923
     9924fi
     9925done
     9926
     9927  for ac_func in sws_scale
     9928do :
     9929  ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale"
     9930if test "x$ac_cv_func_sws_scale" = xyes; then :
     9931  cat >>confdefs.h <<_ACEOF
     9932#define HAVE_SWS_SCALE 1
     9933_ACEOF
     9934
     9935fi
     9936done
     9937
    98619938  for ac_func in url_close
    98629939do :
     
    98709947done
    98719948
    9872   ac_fn_cxx_check_func "$LINENO" "av_find_stream_info" "ac_cv_func_av_find_stream_info"
    9873 if test "x$ac_cv_func_av_find_stream_info" = xyes; then :
    9874 
    9875 else
    9876   as_fn_error $? "oops! no av_find_stream_info?!?" "$LINENO" 5
    9877 fi
     9949  for ac_func in av_close_input_file
     9950do :
     9951  ac_fn_cxx_check_func "$LINENO" "av_close_input_file" "ac_cv_func_av_close_input_file"
     9952if test "x$ac_cv_func_av_close_input_file" = xyes; then :
     9953  cat >>confdefs.h <<_ACEOF
     9954#define HAVE_AV_CLOSE_INPUT_FILE 1
     9955_ACEOF
     9956
     9957fi
     9958done
     9959
     9960  for ac_func in avformat_close_input
     9961do :
     9962  ac_fn_cxx_check_func "$LINENO" "avformat_close_input" "ac_cv_func_avformat_close_input"
     9963if test "x$ac_cv_func_avformat_close_input" = xyes; then :
     9964  cat >>confdefs.h <<_ACEOF
     9965#define HAVE_AVFORMAT_CLOSE_INPUT 1
     9966_ACEOF
     9967
     9968fi
     9969done
     9970
    98789971
    98799972  ac_fn_cxx_check_func "$LINENO" "avcodec_find_decoder" "ac_cv_func_avcodec_find_decoder"
     
    98829975else
    98839976  as_fn_error $? "oops! no av_codec_find_decoder ?!?" "$LINENO" 5
    9884 fi
    9885 
    9886   ac_fn_cxx_check_func "$LINENO" "avcodec_open" "ac_cv_func_avcodec_open"
    9887 if test "x$ac_cv_func_avcodec_open" = xyes; then :
    9888 
    9889 else
    9890   as_fn_error $? "oops! avcodec_open ?!?" "$LINENO" 5
    98919977fi
    98929978
     
    1009810184
    1009910185
    10100 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile 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/contour/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/datatable/Makefile examples/zoo/datatable/matlab/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/filechoice/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/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/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 oldtest/Makefile oldtest/src/Makefile"
     10186ac_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/contour/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/datatable/Makefile examples/zoo/datatable/matlab/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/filechoice/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/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/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"
    1010110187
    1010210188cat >confcache <<\_ACEOF
     
    1081610902    "gui/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gui/apps/Makefile" ;;
    1081710903    "gui/apps/about") CONFIG_FILES="$CONFIG_FILES gui/apps/about" ;;
     10904    "gui/apps/copy_rappture_examples") CONFIG_FILES="$CONFIG_FILES gui/apps/copy_rappture_examples" ;;
    1081810905    "gui/apps/encodedata") CONFIG_FILES="$CONFIG_FILES gui/apps/encodedata" ;;
    1081910906    "gui/apps/rappture") CONFIG_FILES="$CONFIG_FILES gui/apps/rappture" ;;
     
    1093611023    "examples/zoo/table/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/table/Makefile" ;;
    1093711024    "examples/zoo/unirect2d/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/unirect2d/Makefile" ;;
     11025    "video/Makefile") CONFIG_FILES="$CONFIG_FILES video/Makefile" ;;
     11026    "video/pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES video/pkgIndex.tcl" ;;
    1093811027    "oldtest/Makefile") CONFIG_FILES="$CONFIG_FILES oldtest/Makefile" ;;
    1093911028    "oldtest/src/Makefile") CONFIG_FILES="$CONFIG_FILES oldtest/src/Makefile" ;;
  • branches/blt4/configure.in

    r2742 r2936  
    286286#--------------------------------------------------------------------
    287287
    288 AC_CHECK_HEADERS([ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h],,,[
     288AC_CHECK_HEADERS([ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h ffmpeg/swscale.h libswscale/swscale.h],,,[
    289289#define __STDC_CONSTANT_MACROS 1
    290290])
     
    307307  AC_CHECK_LIB(avformat, main,,AC_MSG_ERROR(librappture requires libavformat))
    308308  AC_CHECK_LIB(swscale, main)
     309  AC_CHECK_FUNCS(av_find_stream_info)
     310  AC_CHECK_FUNCS(av_open_input_file)
     311  AC_CHECK_FUNCS(avcodec_decode_video)
    309312  AC_CHECK_FUNCS(avcodec_decode_video2)
    310   AC_CHECK_FUNCS(avcodec_decode_video)
     313  AC_CHECK_FUNCS(avcodec_open)
     314  AC_CHECK_FUNCS(avcodec_open2)
     315  AC_CHECK_FUNCS(avformat_find_stream_info)
    311316  AC_CHECK_FUNCS(avformat_open_input)
    312   AC_CHECK_FUNCS(av_open_input_file)
    313317  AC_CHECK_FUNCS(avio_close)
     318  AC_CHECK_FUNCS(img_convert)
     319  AC_CHECK_FUNCS(sws_getCachedContext)
     320  AC_CHECK_FUNCS(sws_scale)
    314321  AC_CHECK_FUNCS(url_close)
    315   AC_CHECK_FUNC(av_find_stream_info,,
    316   AC_MSG_ERROR(oops! no av_find_stream_info?!?))
     322  AC_CHECK_FUNCS(av_close_input_file)
     323  AC_CHECK_FUNCS(avformat_close_input)
     324       
    317325  AC_CHECK_FUNC(avcodec_find_decoder,,
    318326    AC_MSG_ERROR(oops! no av_codec_find_decoder ?!?))
    319   AC_CHECK_FUNC(avcodec_open,,AC_MSG_ERROR(oops! avcodec_open ?!?))
    320327  AC_CHECK_FUNC(avcodec_alloc_frame,,
    321328    AC_MSG_ERROR(oops! no avcode_alloc_frame ?!?))
     
    446453    gui/apps/Makefile
    447454    gui/apps/about
     455    gui/apps/copy_rappture_examples
    448456    gui/apps/encodedata
    449457    gui/apps/rappture
     
    566574    examples/zoo/table/Makefile
    567575    examples/zoo/unirect2d/Makefile
     576    video/Makefile
     577    video/pkgIndex.tcl
    568578    oldtest/Makefile
    569579    oldtest/src/Makefile
  • branches/blt4/examples/app-fermi/R/fermi.R

    r2742 r2936  
    11# ----------------------------------------------------------------------
    2 #  EXAMPLE: Fermi-Dirac function in Tcl.
     2#  EXAMPLE: Fermi-Dirac function in R.
    33#
    44#  This simple example shows how to use Rappture within a simulator
    5 #  written in Tcl.
     5#  written in R.
    66# ======================================================================
    77#  AUTHOR:  Derrick Kearney, Purdue University
     
    3030driver <- rp_lib(args[7])
    3131
     32rp_utils_progress(10,"reading inputs")
     33
    3234T <- rp_lib_get_string(driver,"input.number(temperature).current")
    3335T <- rp_units_convert_double(T,"K")
    3436Ef <- rp_lib_get_string(driver,"input.number(Ef).current")
    3537Ef <- rp_units_convert_double(Ef,"eV")
     38
     39rp_utils_progress(30,"performing calculations")
    3640
    3741kT <- 8.61734e-5 * T
     
    4145dE <- 0.005*(Emax-Emin)
    4246
     47rp_utils_progress(60,"performing calculations")
     48
    4349y <- seq(Emin,Emax,by=dE)
    4450x <- sapply(y,function(E) 1.0/(1.0 + exp((E - Ef)/kT)))
     51
     52rp_utils_progress(80,"storing results")
    4553
    4654# Label output graph with title, x-axis label,
     
    5159rp_lib_put_string(driver,"output.curve(f12).yaxis.units","eV",FALSE)
    5260
     61rp_utils_progress(90,"storing results")
     62
    5363# coerce our arrays into a string of the form:
    5464# "x1 y1 \n x2 y2 \n x3 y3\n"...
     
    5868
    5969
     70rp_utils_progress(100,"preparing graphs")
     71
    6072# save the updated XML describing the run...
    6173rp_lib_result(driver)
  • branches/blt4/examples/app-fermi/octave/octave3/tool.xml

    r1633 r2936  
    33    <tool>
    44        <about>Press Simulate to view results.</about>
    5         <command>octave --silent --eval infile='@driver',path('@tool',path),fermi</command>
     5        <command>octave --silent --eval "infile='@driver',path('@tool',path),fermi"</command>
    66    </tool>
    77    <input>
  • branches/blt4/examples/lang/R/functions_examples.R

    r2742 r2936  
    33
    44lib = rp_lib("driver.xml")
    5 lib
     5cat("lib = ",lib,"\n")
    66
    77ee = rp_lib_get_string(lib,"input.string(ee).current")
    8 is.character(ee)
    9 ee
     8cat("ee = ",ee," is.character = ",is.character(ee),"\n")
    109
    1110dd = rp_lib_get_double(lib,"input.number(temperature).current")
    12 is.real(dd)
    13 dd
     11cat("dd = ",dd," is.real = ",is.real(dd),"\n")
    1412
    1513ii = rp_lib_get_integer(lib,"input.integer(ii).current")
    16 is.integer(ii)
    17 ii
     14cat("ii = ",ii," is.integer = ",is.integer(ii),"\n")
    1815
    1916bb = rp_lib_get_boolean(lib,"input.boolean(bb).current")
    20 is.logical(bb)
    21 bb
     17cat("bb = ",bb," is.logical = ",is.logical(bb),"\n")
    2218
    23 ff = rp_lib_get_file(lib,"input.string(ee).current","myoutfile")
    24 is.integer(ff)
    25 ff
     19nbytes = rp_lib_get_file(lib,"input.string(ee).current","myoutfile")
     20cat("nbytes = ",nbytes," is.integer = ",is.integer(nbytes),"\n")
    2621
    27 ps = rp_lib_put_string(lib,"output.string(ps).current","voodoo",TRUE)
    28 is.integer(ps)
    29 ps
     22err = rp_lib_put_string(lib,"output.string(ps).current","voodoo",TRUE)
     23cat("err = ",err," is.integer = ",is.integer(err),"\n")
    3024
    3125d = as.real(12.45)
    32 pd = rp_lib_put_double(lib,"output.number(ps).current",d,TRUE)
    33 is.integer(pd)
    34 pd
     26err = rp_lib_put_double(lib,"output.number(ps).current",d,TRUE)
     27cat("err = ",err," is.integer = ",is.integer(err),"\n")
    3528
    3629pf = rp_lib_put_file(lib,"output.string(pf).current","myoutfile",FALSE,FALSE)
    37 is.integer(pf)
    38 pf
     30cat("err = ",err," is.integer = ",is.integer(err),"\n")
    3931
    4032result = rp_lib_result(lib)
    41 is.integer(result)
    42 result
     33cat("result = ",result," is.integer = ",is.integer(result),"\n")
    4334
    4435result = rp_units_convert_double("0C","F")
    45 is.real(result)
    46 result
     36cat("result = ",result," is.real = ",is.real(result),"\n")
    4737
    4838show = TRUE
    4939result = rp_units_convert_string("100mm","m",show)
    50 is.character(result)
    51 result
     40cat("result = ",result," is.character = ",is.character(result),"\n")
    5241
    5342show = FALSE
    5443result = rp_units_convert_string("100mm","m",show)
    55 is.character(result)
    56 result
     44cat("result = ",result," is.character = ",is.character(result),"\n")
     45
     46percent = as.integer(56)
     47result = rp_utils_progress(percent,"almost done...")
     48cat("result = ",result," is.integer = ",is.integer(result),"\n")
     49
     50result = rp_utils_progress(76,"almost done...")
     51cat("result = ",result," is.integer = ",is.integer(result),"\n")
     52
     53result = rp_utils_progress(36.546,"almost done...")
     54cat("result = ",result," is.integer = ",is.integer(result),"\n")
  • branches/blt4/examples/zoo/enable/Makefile.in

    r1948 r2936  
    1717FILES           = \
    1818                $(srcdir)/enable.tcl \
    19                 $(srcdir)/tool.xml
     19                $(srcdir)/tool.xml \
     20                $(srcdir)/tool2.xml
    2021
    2122destdir         = $(prefix)/examples/zoo/enable
  • branches/blt4/lang/R/Rappture/NAMESPACE

    r2737 r2936  
    1212        rp_lib_result,
    1313        rp_units_convert_double,
    14         rp_units_convert_string )
     14        rp_units_convert_string,
     15        rp_utils_progress )
    1516 
  • branches/blt4/lang/R/Rappture/R/Rappture.R

    r2737 r2936  
    4949}
    5050
     51rp_utils_progress <- function(percent,message) {
     52    .Call("RPRUtilsProgress",percent,message)
     53}
     54
    5155.onLoad <- function(lib,pkg) {
    5256}
  • branches/blt4/lang/R/Rappture/configure

    r2737 r2936  
    240240  else
    241241    $as_echo "$0: Please tell bug-autoconf@gnu.org and
    242 $0: rappture@nanohub.org about your system, including
    243 $0: any error possibly output before this message. Then
    244 $0: install a modern shell, or manually run the script
    245 $0: under such a shell if you do have one."
     242$0: rappture@nanohub.org about your system, including any
     243$0: error possibly output before this message. Then install
     244$0: a modern shell, or manually run the script under such a
     245$0: shell if you do have one."
    246246  fi
    247247  exit 1
     
    15181518    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    15191519$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1520 ( $as_echo "## ----------------------------------------- ##
     1520( $as_echo "## ----------------------------------- ##
    15211521## Report this to rappture@nanohub.org ##
    1522 ## ----------------------------------------- ##"
     1522## ----------------------------------- ##"
    15231523     ) | sed "s/^/$as_me: WARNING:     /" >&2
    15241524    ;;
     
    34173417
    34183418
    3419 for ac_header in RpLibrary.h RpUnits.h
     3419for ac_header in RpLibrary.h RpUnits.h RpUtils.h
    34203420do :
    34213421  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    34313431
    34323432if test "${ac_cv_header_RpLibrary_h}" = no ||
    3433    test "${ac_cv_header_RpUnits_h}" = no; then
    3434    as_fn_error $? "\"Rappture headers RpLibrary.h and RpUnits.h not found\"" "$LINENO" 5
     3433   test "${ac_cv_header_RpUnits_h}" = no ||
     3434   test "${ac_cv_header_RpUtils_h}" = no; then
     3435   as_fn_error RpUnits.h "\"Rappture headers RpLibrary.h" "$LINENO" 5
    34353436fi
    34363437
     
    35493550else
    35503551  as_fn_error $? "\"no librappture with RpUnits found\"" "$LINENO" 5
     3552fi
     3553
     3554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing rpUtilsProgress" >&5
     3555$as_echo_n "checking for library containing rpUtilsProgress... " >&6; }
     3556if ${ac_cv_search_rpUtilsProgress+:} false; then :
     3557  $as_echo_n "(cached) " >&6
     3558else
     3559  ac_func_search_save_LIBS=$LIBS
     3560cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3561/* end confdefs.h.  */
     3562
     3563/* Override any GCC internal prototype to avoid an error.
     3564   Use char because int might match the return type of a GCC
     3565   builtin and then its argument prototype would still apply.  */
     3566#ifdef __cplusplus
     3567extern "C"
     3568#endif
     3569char rpUtilsProgress ();
     3570int
     3571main ()
     3572{
     3573return rpUtilsProgress ();
     3574  ;
     3575  return 0;
     3576}
     3577_ACEOF
     3578for ac_lib in '' rappture; do
     3579  if test -z "$ac_lib"; then
     3580    ac_res="none required"
     3581  else
     3582    ac_res=-l$ac_lib
     3583    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     3584  fi
     3585  if ac_fn_c_try_link "$LINENO"; then :
     3586  ac_cv_search_rpUtilsProgress=$ac_res
     3587fi
     3588rm -f core conftest.err conftest.$ac_objext \
     3589    conftest$ac_exeext
     3590  if ${ac_cv_search_rpUtilsProgress+:} false; then :
     3591  break
     3592fi
     3593done
     3594if ${ac_cv_search_rpUtilsProgress+:} false; then :
     3595
     3596else
     3597  ac_cv_search_rpUtilsProgress=no
     3598fi
     3599rm conftest.$ac_ext
     3600LIBS=$ac_func_search_save_LIBS
     3601fi
     3602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rpUtilsProgress" >&5
     3603$as_echo "$ac_cv_search_rpUtilsProgress" >&6; }
     3604ac_res=$ac_cv_search_rpUtilsProgress
     3605if test "$ac_res" != no; then :
     3606  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     3607
     3608else
     3609  as_fn_error $? "\"no librappture with RpUtils found\"" "$LINENO" 5
    35513610fi
    35523611
  • branches/blt4/lang/R/Rappture/src/RpLibraryRInterface.cc

    r2737 r2936  
    464464
    465465
    466     INTEGER(ans)[0] = 1;
     466    INTEGER(ans)[0] = 0;
    467467
    468468    UNPROTECT(1);
     
    554554                 appendVal);
    555555
    556     INTEGER(ans)[0] = 1;
     556    INTEGER(ans)[0] = 0;
    557557
    558558    UNPROTECT(1);
     
    642642             appendVal);
    643643
    644     INTEGER(ans)[0] = 1;
     644    INTEGER(ans)[0] = 0;
    645645
    646646    UNPROTECT(1);
     
    739739                 appendVal);
    740740
    741     INTEGER(ans)[0] = 1;
     741    INTEGER(ans)[0] = 0;
    742742
    743743    UNPROTECT(1);
  • branches/blt4/lang/R/Rappture/src/RpRBindings.c

    r2737 r2936  
    1414#include "RpLibraryRInterface.h"
    1515#include "RpUnitsRInterface.h"
     16#include "RpUtilsRInterface.h"
    1617
    1718#include <R_ext/Rdynload.h>
     
    3132    {"RPRUnitsConvertDouble", (DL_FUNC) &RPRUnitsConvertDouble, 2},
    3233    {"RPRUnitsConvertString", (DL_FUNC) &RPRUnitsConvertString, 3},
     34    {"RPRUtilsProgress", (DL_FUNC) &RPRUtilsProgress, 2},
    3335    {NULL, NULL, 0}
    3436};
  • branches/blt4/lang/python/Rappture/tools.py

    r845 r2936  
    77# ======================================================================
    88
    9 import sys, os, re, popen2, select
     9import sys, os, re, subprocess, select
    1010
    1111# getCommandOutput function written by Steve Clark
     
    1515    global commandPid
    1616
    17     child = popen2.Popen3(command,1)
     17    BUFSIZ = 4096
     18    child      = subprocess.Popen(command,shell=True,bufsize=BUFSIZ, \
     19                                  stdout=subprocess.PIPE, \
     20                                  stderr=subprocess.PIPE, \
     21                                  close_fds=True)
    1822    commandPid = child.pid
    19     child.tochild.close() # don't need to talk to child
    20     childout = child.fromchild
     23    childout   = child.stdout
    2124    childoutFd = childout.fileno()
    22     childerr = child.childerr
     25    childerr   = child.stderr
    2326    childerrFd = childerr.fileno()
    2427
    2528    outEOF = errEOF = 0
    26     BUFSIZ = 4096
    2729
    2830    outData = []
  • branches/blt4/lang/tcl/scripts/library.tcl

    r2201 r2936  
    2020# load the object system along with the XML library code
    2121Rappture::objects::init
     22encoding system utf-8
    2223
    2324# ----------------------------------------------------------------------
     
    509510        return ""
    510511    }
     512    set string [$node text]
    511513    # Expat (via tDOM) will always produce utf-8 output, regardless of the
    512514    # encoding of the tool.xml.  We need to convert utf-8 to unicode for
    513515    # Tcl/Tk.  This shouldn't affect ASCII tool.xml files.
    514     set string [encoding convertfrom utf-8 [$node text]]
     516    #puts stderr "before $path=$string"
     517    #set string [encoding convertfrom utf-8 $string]
     518    #puts stderr "after $path=$string [string length $string]"
     519    #Rappture::encoding::debug $string
    515520    if {$params(-decode) == "yes"} {
    516         set string [Rappture::encoding::decode -- $string]
    517     }
     521        set string [Rappture::encoding::decode -- $string]
     522    }
     523    puts stderr "returning $path=$string"
    518524    return [string trim $string]
    519525}
  • branches/blt4/lang/tcl/src/Makefile.in

    r2742 r2936  
    7777endif
    7878
    79 ifeq ($(HAVE_FFMPEG),yes)
    80     OBJS += RpVideoTclInterface.o
    81     LIBS += -L../../../src/objects -lRpObjects
    82 endif
    83 
    84 
    8579# Not using     RpLibraryTclInterface.o \
    8680
  • branches/blt4/lang/tcl/src/Rappture_Init.c

    r2676 r2936  
    3838extern Tcl_AppInitProc RpUtils_Init;
    3939
    40 #ifdef BUILD_with_ffmpeg
    41 extern Tcl_AppInitProc RpVideo_Init;
    42 #endif
    43 
    4440#ifdef BUILD_Rappture
    4541__declspec( dllexport )
     
    7167        return TCL_ERROR;
    7268    }
    73 #ifdef BUILD_with_ffmpeg
    74     if (RpVideo_Init(interp) != TCL_OK) {
    75         return TCL_ERROR;
    76     }
    77 #endif
    7869    if (RpRlimit_Init(interp) != TCL_OK) {
    7970        return TCL_ERROR;
  • branches/blt4/lang/tcl/src/RpEncodeTclInterface.cc

    r2046 r2936  
    2222static Tcl_ObjCmdProc EncodeCmd;
    2323static Tcl_ObjCmdProc DecodeCmd;
     24static Tcl_ObjCmdProc DebugCmd;
    2425
    2526/**********************************************************************/
     
    4546    Tcl_CreateObjCommand(interp, "::Rappture::encoding::decode",
    4647        DecodeCmd, (ClientData)NULL, (Tcl_CmdDeleteProc*)NULL);
     48
     49    Tcl_CreateObjCommand(interp, "::Rappture::encoding::debug",
     50        DebugCmd, (ClientData)NULL, (Tcl_CmdDeleteProc*)NULL);
    4751    return TCL_OK;
    4852}
     
    258262    int n;
    259263    n = Rp_ParseSwitches(interp, decodeSwitches, objc - 1, objv + 1, &switches,
    260                          SWITCH_OBJV_PARTIAL);
     264        SWITCH_OBJV_PARTIAL);
    261265    if (n < 0) {
    262266        return TCL_ERROR;
     
    270274        return TCL_ERROR;
    271275    }
    272     int nBytes;
    273     const char* string;
    274     string = (const char*)Tcl_GetByteArrayFromObj(objv[last], &nBytes);
    275     if (nBytes <= 0) {
    276         return TCL_OK;                // Nothing to decode.
    277     }
    278     Rappture::Buffer buf(string, nBytes);
     276    int numBytes;
     277    const char *string;
     278
     279    string = Tcl_GetStringFromObj(objv[last], &numBytes);
     280
     281    Rappture::Buffer buf(string, numBytes);
     282
    279283    Rappture::Outcome status;
    280284    if (!Rappture::encoding::decode(status, buf, switches.flags)) {
     
    282286        return TCL_ERROR;
    283287    }
    284     Tcl_SetByteArrayObj(Tcl_GetObjResult(interp),
    285                 (const unsigned char*)buf.bytes(), buf.size());
    286     return TCL_OK;
    287 }
     288    Tcl_SetStringObj(Tcl_GetObjResult(interp), buf.bytes(), buf.size());
     289    return TCL_OK;
     290}
     291
     292static int
     293DebugCmd(ClientData clientData, Tcl_Interp *interp, int objc,
     294          Tcl_Obj *const *objv)
     295{
     296    if (objc < 1) {
     297        Tcl_AppendResult(interp, "wrong # args: should be \"",
     298                Tcl_GetString(objv[0]), " string\"", (char*)NULL);
     299        return TCL_ERROR;
     300    }
     301    int numBytes;
     302    const char* string;
     303    int i;
     304    string = Tcl_GetStringFromObj(objv[objc-1], &numBytes);
     305    fprintf(stderr, "string=%s, bytes=", string);
     306    for (i = 0; i < numBytes; i++) {
     307        fprintf(stderr, "%02x ", string[i]);
     308    }
     309    fprintf(stderr, "\n");
     310    return TCL_OK;
     311}
  • branches/blt4/packages/vizservers/configure

    r2742 r2936  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.68 for vizservers 0.1.
     3# Generated by GNU Autoconf 2.63 for vizservers 0.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
    7 #
    87# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    10 # Foundation, Inc.
    11 #
    12 #
     8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    139# This configure script is free software; the Free Software Foundation
    1410# gives unlimited permission to copy, distribute and modify it.
    15 ## -------------------- ##
    16 ## M4sh Initialization. ##
    17 ## -------------------- ##
     11## --------------------- ##
     12## M4sh Initialization.  ##
     13## --------------------- ##
    1814
    1915# Be more Bourne compatible
    2016DUALCASE=1; export DUALCASE # for MKS sh
    21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    2218  emulate sh
    2319  NULLCMD=:
     
    2723  setopt NO_GLOB_SUBST
    2824else
    29   case `(set -o) 2>/dev/null` in #(
    30   *posix*) :
    31     set -o posix ;; #(
    32   *) :
    33      ;;
    34 esac
    35 fi
    36 
     25  case `(set -o) 2>/dev/null` in
     26  *posix*) set -o posix ;;
     27esac
     28
     29fi
     30
     31
     32
     33
     34# PATH needs CR
     35# Avoid depending upon Character Ranges.
     36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39as_cr_digits='0123456789'
     40as_cr_alnum=$as_cr_Letters$as_cr_digits
    3741
    3842as_nl='
     
    4347as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4448as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    45 # Prefer a ksh shell builtin over an external printf program on Solaris,
    46 # but without wasting forks for bash or zsh.
    47 if test -z "$BASH_VERSION$ZSH_VERSION" \
    48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    49   as_echo='print -r --'
    50   as_echo_n='print -rn --'
    51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    5250  as_echo='printf %s\n'
    5351  as_echo_n='printf %s'
     
    6058    as_echo_n_body='eval
    6159      arg=$1;
    62       case $arg in #(
     60      case $arg in
    6361      *"$as_nl"*)
    6462        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    8381fi
    8482
     83# Support unset when possible.
     84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85  as_unset=unset
     86else
     87  as_unset=false
     88fi
     89
    8590
    8691# IFS
     
    9297
    9398# Find who we are.  Look in the path if we contain no directory separator.
    94 as_myself=
    95 case $0 in #((
     99case $0 in
    96100  *[\\/]* ) as_myself=$0 ;;
    97101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    100104  IFS=$as_save_IFS
    101105  test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
     106  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     107done
    104108IFS=$as_save_IFS
    105109
     
    113117if test ! -f "$as_myself"; then
    114118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     119  { (exit 1); exit 1; }
     120fi
     121
     122# Work around bugs in pre-3.0 UWIN ksh.
     123for as_var in ENV MAIL MAILPATH
     124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125125done
    126126PS1='$ '
     
    134134export LANGUAGE
    135135
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194          /*)
    195            for as_base in sh bash ksh sh5; do
    196              # Try only shells that exist, to save several forks.
    197              as_shell=$as_dir/$as_base
    198              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205            done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218         # neutralization value for shells without unset; and this also
    219         # works around shells that cannot unset nonexistent variables.
    220         # Preserve -v and -x to the replacement shell.
    221         BASH_ENV=/dev/null
    222         ENV=/dev/null
    223         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224         export CONFIG_SHELL
    225         case $- in # ((((
    226           *v*x* | *x*v* ) as_opts=-vx ;;
    227           *v* ) as_opts=-v ;;
    228           *x* ) as_opts=-x ;;
    229           * ) as_opts= ;;
    230         esac
    231         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf@gnu.org and
    242 $0: rappture@nanohub.org about your system, including any
    243 $0: error possibly output before this message. Then install
    244 $0: a modern shell, or manually run the script under such a
    245 $0: shell if you do have one."
    246   fi
    247   exit 1
    248 fi
    249 fi
    250 fi
    251 SHELL=${CONFIG_SHELL-/bin/sh}
    252 export SHELL
    253 # Unset more variables known to interfere with behavior of common tools.
    254 CLICOLOR_FORCE= GREP_OPTIONS=
    255 unset CLICOLOR_FORCE GREP_OPTIONS
    256 
    257 ## --------------------- ##
    258 ## M4sh Shell Functions. ##
    259 ## --------------------- ##
    260 # as_fn_unset VAR
    261 # ---------------
    262 # Portably unset VAR.
    263 as_fn_unset ()
    264 {
    265   { eval $1=; unset $1;}
    266 }
    267 as_unset=as_fn_unset
    268 
    269 # as_fn_set_status STATUS
    270 # -----------------------
    271 # Set $? to STATUS, without forking.
    272 as_fn_set_status ()
    273 {
    274   return $1
    275 } # as_fn_set_status
    276 
    277 # as_fn_exit STATUS
    278 # -----------------
    279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    280 as_fn_exit ()
    281 {
    282   set +e
    283   as_fn_set_status $1
    284   exit $1
    285 } # as_fn_exit
    286 
    287 # as_fn_mkdir_p
    288 # -------------
    289 # Create "$as_dir" as a directory, including parents if necessary.
    290 as_fn_mkdir_p ()
    291 {
    292 
    293   case $as_dir in #(
    294   -*) as_dir=./$as_dir;;
    295   esac
    296   test -d "$as_dir" || eval $as_mkdir_p || {
    297     as_dirs=
    298     while :; do
    299       case $as_dir in #(
    300       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    301       *) as_qdir=$as_dir;;
    302       esac
    303       as_dirs="'$as_qdir' $as_dirs"
    304       as_dir=`$as_dirname -- "$as_dir" ||
    305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    306          X"$as_dir" : 'X\(//\)[^/]' \| \
    307          X"$as_dir" : 'X\(//\)$' \| \
    308          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    309 $as_echo X"$as_dir" |
    310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    311             s//\1/
    312             q
    313           }
    314           /^X\(\/\/\)[^/].*/{
    315             s//\1/
    316             q
    317           }
    318           /^X\(\/\/\)$/{
    319             s//\1/
    320             q
    321           }
    322           /^X\(\/\).*/{
    323             s//\1/
    324             q
    325           }
    326           s/.*/./; q'`
    327       test -d "$as_dir" && break
    328     done
    329     test -z "$as_dirs" || eval "mkdir $as_dirs"
    330   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    331 
    332 
    333 } # as_fn_mkdir_p
    334 # as_fn_append VAR VALUE
    335 # ----------------------
    336 # Append the text in VALUE to the end of the definition contained in VAR. Take
    337 # advantage of any shell optimizations that allow amortized linear growth over
    338 # repeated appends, instead of the typical quadratic growth present in naive
    339 # implementations.
    340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    341   eval 'as_fn_append ()
    342   {
    343     eval $1+=\$2
    344   }'
    345 else
    346   as_fn_append ()
    347   {
    348     eval $1=\$$1\$2
    349   }
    350 fi # as_fn_append
    351 
    352 # as_fn_arith ARG...
    353 # ------------------
    354 # Perform arithmetic evaluation on the ARGs, and store the result in the
    355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    356 # must be portable across $(()) and expr.
    357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    358   eval 'as_fn_arith ()
    359   {
    360     as_val=$(( $* ))
    361   }'
    362 else
    363   as_fn_arith ()
    364   {
    365     as_val=`expr "$@" || test $? -eq 1`
    366   }
    367 fi # as_fn_arith
    368 
    369 
    370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    371 # ----------------------------------------
    372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    374 # script with STATUS, using 1 if that was 0.
    375 as_fn_error ()
    376 {
    377   as_status=$1; test $as_status -eq 0 && as_status=1
    378   if test "$4"; then
    379     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    380     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    381   fi
    382   $as_echo "$as_me: error: $2" >&2
    383   as_fn_exit $as_status
    384 } # as_fn_error
    385 
     136# Required to use basename.
    386137if expr a : '\(a\)' >/dev/null 2>&1 &&
    387138   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    397148fi
    398149
    399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    400   as_dirname=dirname
    401 else
    402   as_dirname=false
    403 fi
    404 
     150
     151# Name of the executable.
    405152as_me=`$as_basename -- "$0" ||
    406153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    422169          s/.*/./; q'`
    423170
    424 # Avoid depending upon Character Ranges.
    425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    428 as_cr_digits='0123456789'
    429 as_cr_alnum=$as_cr_Letters$as_cr_digits
    430 
    431 
    432   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    433   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    434   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    435   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    436   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
     171# CDPATH.
     172$as_unset CDPATH
     173
     174
     175if test "x$CONFIG_SHELL" = x; then
     176  if (eval ":") 2>/dev/null; then
     177  as_have_required=yes
     178else
     179  as_have_required=no
     180fi
     181
     182  if test $as_have_required = yes &&     (eval ":
     183(as_func_return () {
     184  (exit \$1)
     185}
     186as_func_success () {
     187  as_func_return 0
     188}
     189as_func_failure () {
     190  as_func_return 1
     191}
     192as_func_ret_success () {
     193  return 0
     194}
     195as_func_ret_failure () {
     196  return 1
     197}
     198
     199exitcode=0
     200if as_func_success; then
     201  :
     202else
     203  exitcode=1
     204  echo as_func_success failed.
     205fi
     206
     207if as_func_failure; then
     208  exitcode=1
     209  echo as_func_failure succeeded.
     210fi
     211
     212if as_func_ret_success; then
     213  :
     214else
     215  exitcode=1
     216  echo as_func_ret_success failed.
     217fi
     218
     219if as_func_ret_failure; then
     220  exitcode=1
     221  echo as_func_ret_failure succeeded.
     222fi
     223
     224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     225  :
     226else
     227  exitcode=1
     228  echo positional parameters were not saved.
     229fi
     230
     231test \$exitcode = 0) || { (exit 1); exit 1; }
     232
     233(
     234  as_lineno_1=\$LINENO
     235  as_lineno_2=\$LINENO
     236  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
     237  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
     238") 2> /dev/null; then
     239  :
     240else
     241  as_candidate_shells=
     242    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     244do
     245  IFS=$as_save_IFS
     246  test -z "$as_dir" && as_dir=.
     247  case $as_dir in
     248         /*)
     249           for as_base in sh bash ksh sh5; do
     250             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
     251           done;;
     252       esac
     253done
     254IFS=$as_save_IFS
     255
     256
     257      for as_shell in $as_candidate_shells $SHELL; do
     258         # Try only shells that exist, to save several forks.
     259         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     260                { ("$as_shell") 2> /dev/null <<\_ASEOF
     261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     262  emulate sh
     263  NULLCMD=:
     264  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     265  # is contrary to our usage.  Disable this feature.
     266  alias -g '${1+"$@"}'='"$@"'
     267  setopt NO_GLOB_SUBST
     268else
     269  case `(set -o) 2>/dev/null` in
     270  *posix*) set -o posix ;;
     271esac
     272
     273fi
     274
     275
     276:
     277_ASEOF
     278}; then
     279  CONFIG_SHELL=$as_shell
     280               as_have_required=yes
     281               if { "$as_shell" 2> /dev/null <<\_ASEOF
     282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     283  emulate sh
     284  NULLCMD=:
     285  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     286  # is contrary to our usage.  Disable this feature.
     287  alias -g '${1+"$@"}'='"$@"'
     288  setopt NO_GLOB_SUBST
     289else
     290  case `(set -o) 2>/dev/null` in
     291  *posix*) set -o posix ;;
     292esac
     293
     294fi
     295
     296
     297:
     298(as_func_return () {
     299  (exit $1)
     300}
     301as_func_success () {
     302  as_func_return 0
     303}
     304as_func_failure () {
     305  as_func_return 1
     306}
     307as_func_ret_success () {
     308  return 0
     309}
     310as_func_ret_failure () {
     311  return 1
     312}
     313
     314exitcode=0
     315if as_func_success; then
     316  :
     317else
     318  exitcode=1
     319  echo as_func_success failed.
     320fi
     321
     322if as_func_failure; then
     323  exitcode=1
     324  echo as_func_failure succeeded.
     325fi
     326
     327if as_func_ret_success; then
     328  :
     329else
     330  exitcode=1
     331  echo as_func_ret_success failed.
     332fi
     333
     334if as_func_ret_failure; then
     335  exitcode=1
     336  echo as_func_ret_failure succeeded.
     337fi
     338
     339if ( set x; as_func_ret_success y && test x = "$1" ); then
     340  :
     341else
     342  exitcode=1
     343  echo positional parameters were not saved.
     344fi
     345
     346test $exitcode = 0) || { (exit 1); exit 1; }
     347
     348(
     349  as_lineno_1=$LINENO
     350  as_lineno_2=$LINENO
     351  test "x$as_lineno_1" != "x$as_lineno_2" &&
     352  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
     353
     354_ASEOF
     355}; then
     356  break
     357fi
     358
     359fi
     360
     361      done
     362
     363      if test "x$CONFIG_SHELL" != x; then
     364  for as_var in BASH_ENV ENV
     365        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     366        done
     367        export CONFIG_SHELL
     368        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     369fi
     370
     371
     372    if test $as_have_required = no; then
     373  echo This script requires a shell more modern than all the
     374      echo shells that I found on your system.  Please install a
     375      echo modern shell, or manually run the script under such a
     376      echo shell if you do have one.
     377      { (exit 1); exit 1; }
     378fi
     379
     380
     381fi
     382
     383fi
     384
     385
     386
     387(eval "as_func_return () {
     388  (exit \$1)
     389}
     390as_func_success () {
     391  as_func_return 0
     392}
     393as_func_failure () {
     394  as_func_return 1
     395}
     396as_func_ret_success () {
     397  return 0
     398}
     399as_func_ret_failure () {
     400  return 1
     401}
     402
     403exitcode=0
     404if as_func_success; then
     405  :
     406else
     407  exitcode=1
     408  echo as_func_success failed.
     409fi
     410
     411if as_func_failure; then
     412  exitcode=1
     413  echo as_func_failure succeeded.
     414fi
     415
     416if as_func_ret_success; then
     417  :
     418else
     419  exitcode=1
     420  echo as_func_ret_success failed.
     421fi
     422
     423if as_func_ret_failure; then
     424  exitcode=1
     425  echo as_func_ret_failure succeeded.
     426fi
     427
     428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     429  :
     430else
     431  exitcode=1
     432  echo positional parameters were not saved.
     433fi
     434
     435test \$exitcode = 0") || {
     436  echo No shell found that supports shell functions.
     437  echo Please tell bug-autoconf@gnu.org about your system,
     438  echo including any error possibly output before this message.
     439  echo This can help us improve future autoconf versions.
     440  echo Configuration will now proceed without shell functions.
     441}
     442
     443
     444
     445  as_lineno_1=$LINENO
     446  as_lineno_2=$LINENO
     447  test "x$as_lineno_1" != "x$as_lineno_2" &&
     448  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
     449
     450  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     451  # uniformly replaced by the line number.  The first 'sed' inserts a
     452  # line-number line after each line using $LINENO; the second 'sed'
     453  # does the real work.  The second script uses 'N' to pair each
     454  # line-number line with the line containing $LINENO, and appends
     455  # trailing '-' during substitution so that $LINENO is not a special
     456  # case at line end.
     457  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     458  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     459  # E. McMahon (1931-1989) for sed's syntax.  :-)
    437460  sed -n '
    438461    p
     
    451474    ' >$as_me.lineno &&
    452475  chmod +x "$as_me.lineno" ||
    453     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     476    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     477   { (exit 1); exit 1; }; }
    454478
    455479  # Don't try to exec as it changes $[0], causing all sort of problems
     
    461485}
    462486
     487
     488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     489  as_dirname=dirname
     490else
     491  as_dirname=false
     492fi
     493
    463494ECHO_C= ECHO_N= ECHO_T=
    464 case `echo -n x` in #(((((
     495case `echo -n x` in
    465496-n*)
    466   case `echo 'xy\c'` in
     497  case `echo 'x\c'` in
    467498  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    468   xy)  ECHO_C='\c';;
    469   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    470        ECHO_T=' ';;
     499  *)   ECHO_C='\c';;
    471500  esac;;
    472501*)
    473502  ECHO_N='-n';;
    474503esac
     504if expr a : '\(a\)' >/dev/null 2>&1 &&
     505   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     506  as_expr=expr
     507else
     508  as_expr=false
     509fi
    475510
    476511rm -f conf$$ conf$$.exe conf$$.file
     
    502537
    503538if mkdir -p . 2>/dev/null; then
    504   as_mkdir_p='mkdir -p "$as_dir"'
     539  as_mkdir_p=:
    505540else
    506541  test -d ./-p && rmdir ./-p
     
    521556        test -d "$1/.";
    522557      else
    523         case $1 in #(
     558        case $1 in
    524559        -*)set "./$1";;
    525560        esac;
    526         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
     561        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    527562        ???[sx]*):;;*)false;;esac;fi
    528563    '\'' sh
     
    538573
    539574
    540 test -n "$DJDIR" || exec 7<&0 </dev/null
    541 exec 6>&1
     575
     576exec 7<&0 </dev/null 6>&1
    542577
    543578# Name of the host.
    544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
     579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    545580# so uname gets run too.
    546581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    557592MFLAGS=
    558593MAKEFLAGS=
     594SHELL=${CONFIG_SHELL-/bin/sh}
    559595
    560596# Identity of this package.
     
    564600PACKAGE_STRING='vizservers 0.1'
    565601PACKAGE_BUGREPORT='rappture@nanohub.org'
    566 PACKAGE_URL=''
    567602
    568603# Factoring default headers for most tests.
     
    624659DX_LIB_SPEC
    625660DX_INC_SPEC
    626 CG_LIB_DIR
    627 CG_INC_DIR
    628 CG_DIR
     661CG_LIB_SPEC
     662CG_INC_SPEC
    629663CXXCPP
    630664ac_ct_CXX
     
    702736prefix
    703737exec_prefix
    704 PACKAGE_URL
    705738PACKAGE_BUGREPORT
    706739PACKAGE_STRING
     
    801834
    802835  case $ac_option in
    803   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    804   *=)   ac_optarg= ;;
    805   *)    ac_optarg=yes ;;
     836  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     837  *)    ac_optarg=yes ;;
    806838  esac
    807839
     
    848880    # Reject names that are not valid shell variable names.
    849881    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    850       as_fn_error $? "invalid feature name: $ac_useropt"
     882      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
     883   { (exit 1); exit 1; }; }
    851884    ac_useropt_orig=$ac_useropt
    852885    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    874907    # Reject names that are not valid shell variable names.
    875908    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    876       as_fn_error $? "invalid feature name: $ac_useropt"
     909      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
     910   { (exit 1); exit 1; }; }
    877911    ac_useropt_orig=$ac_useropt
    878912    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10781112    # Reject names that are not valid shell variable names.
    10791113    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1080       as_fn_error $? "invalid package name: $ac_useropt"
     1114      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
     1115   { (exit 1); exit 1; }; }
    10811116    ac_useropt_orig=$ac_useropt
    10821117    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10941129    # Reject names that are not valid shell variable names.
    10951130    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1096       as_fn_error $? "invalid package name: $ac_useropt"
     1131      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
     1132   { (exit 1); exit 1; }; }
    10971133    ac_useropt_orig=$ac_useropt
    10981134    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11241160    x_libraries=$ac_optarg ;;
    11251161
    1126   -*) as_fn_error $? "unrecognized option: \`$ac_option'
    1127 Try \`$0 --help' for more information"
     1162  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
     1163Try \`$0 --help' for more information." >&2
     1164   { (exit 1); exit 1; }; }
    11281165    ;;
    11291166
     
    11311168    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11321169    # Reject names that are not valid shell variable names.
    1133     case $ac_envvar in #(
    1134       '' | [0-9]* | *[!_$as_cr_alnum]* )
    1135       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
    1136     esac
     1170    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
     1171      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     1172   { (exit 1); exit 1; }; }
    11371173    eval $ac_envvar=\$ac_optarg
    11381174    export $ac_envvar ;;
     
    11431179    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11441180      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1145     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
     1181    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    11461182    ;;
    11471183
     
    11511187if test -n "$ac_prev"; then
    11521188  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1153   as_fn_error $? "missing argument to $ac_option"
     1189  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
     1190   { (exit 1); exit 1; }; }
    11541191fi
    11551192
     
    11571194  case $enable_option_checking in
    11581195    no) ;;
    1159     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     1196    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
     1197   { (exit 1); exit 1; }; } ;;
    11601198    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11611199  esac
     
    11801218    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    11811219  esac
    1182   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
     1220  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1221   { (exit 1); exit 1; }; }
    11831222done
    11841223
     
    11941233  if test "x$build_alias" = x; then
    11951234    cross_compiling=maybe
    1196     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
    1197     If a cross compiler is detected then cross compile mode will be used" >&2
     1235    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     1236    If a cross compiler is detected then cross compile mode will be used." >&2
    11981237  elif test "x$build_alias" != "x$host_alias"; then
    11991238    cross_compiling=yes
     
    12101249ac_ls_di=`ls -di .` &&
    12111250ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1212   as_fn_error $? "working directory cannot be determined"
     1251  { $as_echo "$as_me: error: working directory cannot be determined" >&2
     1252   { (exit 1); exit 1; }; }
    12131253test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1214   as_fn_error $? "pwd does not report name of working directory"
     1254  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
     1255   { (exit 1); exit 1; }; }
    12151256
    12161257
     
    12511292if test ! -r "$srcdir/$ac_unique_file"; then
    12521293  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1253   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
     1294  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1295   { (exit 1); exit 1; }; }
    12541296fi
    12551297ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12561298ac_abs_confdir=`(
    1257         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
     1299        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
     1300   { (exit 1); exit 1; }; }
    12581301        pwd)`
    12591302# When building in place, set srcdir=.
     
    12951338      --help=recursive    display the short help of all the included packages
    12961339  -V, --version           display version information and exit
    1297   -q, --quiet, --silent   do not print \`checking ...' messages
     1340  -q, --quiet, --silent   do not print \`checking...' messages
    12981341      --cache-file=FILE   cache test results in FILE [disabled]
    12991342  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    13781421              nonstandard directory <lib dir>
    13791422  LIBS        libraries to pass to the linker, e.g. -l<library>
    1380   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
     1423  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
    13811424              you have headers in a nonstandard directory <include dir>
    13821425  CPP         C preprocessor
     
    14531496  cat <<\_ACEOF
    14541497vizservers configure 0.1
    1455 generated by GNU Autoconf 2.68
    1456 
    1457 Copyright (C) 2010 Free Software Foundation, Inc.
     1498generated by GNU Autoconf 2.63
     1499
     1500Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     15012002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    14581502This configure script is free software; the Free Software Foundation
    14591503gives unlimited permission to copy, distribute and modify it.
     
    14611505  exit
    14621506fi
    1463 
    1464 ## ------------------------ ##
    1465 ## Autoconf initialization. ##
    1466 ## ------------------------ ##
    1467 
    1468 # ac_fn_c_try_compile LINENO
    1469 # --------------------------
    1470 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1471 ac_fn_c_try_compile ()
    1472 {
    1473   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1474   rm -f conftest.$ac_objext
    1475   if { { ac_try="$ac_compile"
    1476 case "(($ac_try" in
    1477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1478   *) ac_try_echo=$ac_try;;
    1479 esac
    1480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1481 $as_echo "$ac_try_echo"; } >&5
    1482   (eval "$ac_compile") 2>conftest.err
    1483   ac_status=$?
    1484   if test -s conftest.err; then
    1485     grep -v '^ *+' conftest.err >conftest.er1
    1486     cat conftest.er1 >&5
    1487     mv -f conftest.er1 conftest.err
    1488   fi
    1489   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1490   test $ac_status = 0; } && {
    1491          test -z "$ac_c_werror_flag" ||
    1492          test ! -s conftest.err
    1493        } && test -s conftest.$ac_objext; then :
    1494   ac_retval=0
    1495 else
    1496   $as_echo "$as_me: failed program was:" >&5
    1497 sed 's/^/| /' conftest.$ac_ext >&5
    1498 
    1499         ac_retval=1
    1500 fi
    1501   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1502   as_fn_set_status $ac_retval
    1503 
    1504 } # ac_fn_c_try_compile
    1505 
    1506 # ac_fn_c_try_cpp LINENO
    1507 # ----------------------
    1508 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1509 ac_fn_c_try_cpp ()
    1510 {
    1511   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1512   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1513 case "(($ac_try" in
    1514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1515   *) ac_try_echo=$ac_try;;
    1516 esac
    1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1518 $as_echo "$ac_try_echo"; } >&5
    1519   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1520   ac_status=$?
    1521   if test -s conftest.err; then
    1522     grep -v '^ *+' conftest.err >conftest.er1
    1523     cat conftest.er1 >&5
    1524     mv -f conftest.er1 conftest.err
    1525   fi
    1526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1527   test $ac_status = 0; } > conftest.i && {
    1528          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    1529          test ! -s conftest.err
    1530        }; then :
    1531   ac_retval=0
    1532 else
    1533   $as_echo "$as_me: failed program was:" >&5
    1534 sed 's/^/| /' conftest.$ac_ext >&5
    1535 
    1536     ac_retval=1
    1537 fi
    1538   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1539   as_fn_set_status $ac_retval
    1540 
    1541 } # ac_fn_c_try_cpp
    1542 
    1543 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
    1544 # -------------------------------------------------------
    1545 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    1546 # the include files in INCLUDES and setting the cache variable VAR
    1547 # accordingly.
    1548 ac_fn_c_check_header_mongrel ()
    1549 {
    1550   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1551   if eval \${$3+:} false; then :
    1552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1553 $as_echo_n "checking for $2... " >&6; }
    1554 if eval \${$3+:} false; then :
    1555   $as_echo_n "(cached) " >&6
    1556 fi
    1557 eval ac_res=\$$3
    1558                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1559 $as_echo "$ac_res" >&6; }
    1560 else
    1561   # Is the header compilable?
    1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    1563 $as_echo_n "checking $2 usability... " >&6; }
    1564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1565 /* end confdefs.h.  */
    1566 $4
    1567 #include <$2>
    1568 _ACEOF
    1569 if ac_fn_c_try_compile "$LINENO"; then :
    1570   ac_header_compiler=yes
    1571 else
    1572   ac_header_compiler=no
    1573 fi
    1574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    1576 $as_echo "$ac_header_compiler" >&6; }
    1577 
    1578 # Is the header present?
    1579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    1580 $as_echo_n "checking $2 presence... " >&6; }
    1581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1582 /* end confdefs.h.  */
    1583 #include <$2>
    1584 _ACEOF
    1585 if ac_fn_c_try_cpp "$LINENO"; then :
    1586   ac_header_preproc=yes
    1587 else
    1588   ac_header_preproc=no
    1589 fi
    1590 rm -f conftest.err conftest.i conftest.$ac_ext
    1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    1592 $as_echo "$ac_header_preproc" >&6; }
    1593 
    1594 # So?  What about this header?
    1595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
    1596   yes:no: )
    1597     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    1598 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    1599     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1600 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1601     ;;
    1602   no:yes:* )
    1603     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    1604 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    1605     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    1606 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    1607     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    1608 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    1609     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    1610 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    1611     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1612 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1613 ( $as_echo "## ----------------------------------- ##
    1614 ## Report this to rappture@nanohub.org ##
    1615 ## ----------------------------------- ##"
    1616      ) | sed "s/^/$as_me: WARNING:     /" >&2
    1617     ;;
    1618 esac
    1619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1620 $as_echo_n "checking for $2... " >&6; }
    1621 if eval \${$3+:} false; then :
    1622   $as_echo_n "(cached) " >&6
    1623 else
    1624   eval "$3=\$ac_header_compiler"
    1625 fi
    1626 eval ac_res=\$$3
    1627                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1628 $as_echo "$ac_res" >&6; }
    1629 fi
    1630   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1631 
    1632 } # ac_fn_c_check_header_mongrel
    1633 
    1634 # ac_fn_c_try_run LINENO
    1635 # ----------------------
    1636 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1637 # that executables *can* be run.
    1638 ac_fn_c_try_run ()
    1639 {
    1640   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1641   if { { ac_try="$ac_link"
    1642 case "(($ac_try" in
    1643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1644   *) ac_try_echo=$ac_try;;
    1645 esac
    1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1647 $as_echo "$ac_try_echo"; } >&5
    1648   (eval "$ac_link") 2>&5
    1649   ac_status=$?
    1650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1651   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1652   { { case "(($ac_try" in
    1653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1654   *) ac_try_echo=$ac_try;;
    1655 esac
    1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1657 $as_echo "$ac_try_echo"; } >&5
    1658   (eval "$ac_try") 2>&5
    1659   ac_status=$?
    1660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1661   test $ac_status = 0; }; }; then :
    1662   ac_retval=0
    1663 else
    1664   $as_echo "$as_me: program exited with status $ac_status" >&5
    1665        $as_echo "$as_me: failed program was:" >&5
    1666 sed 's/^/| /' conftest.$ac_ext >&5
    1667 
    1668        ac_retval=$ac_status
    1669 fi
    1670   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1671   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1672   as_fn_set_status $ac_retval
    1673 
    1674 } # ac_fn_c_try_run
    1675 
    1676 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1677 # -------------------------------------------------------
    1678 # Tests whether HEADER exists and can be compiled using the include files in
    1679 # INCLUDES, setting the cache variable VAR accordingly.
    1680 ac_fn_c_check_header_compile ()
    1681 {
    1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1684 $as_echo_n "checking for $2... " >&6; }
    1685 if eval \${$3+:} false; then :
    1686   $as_echo_n "(cached) " >&6
    1687 else
    1688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1689 /* end confdefs.h.  */
    1690 $4
    1691 #include <$2>
    1692 _ACEOF
    1693 if ac_fn_c_try_compile "$LINENO"; then :
    1694   eval "$3=yes"
    1695 else
    1696   eval "$3=no"
    1697 fi
    1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1699 fi
    1700 eval ac_res=\$$3
    1701                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1702 $as_echo "$ac_res" >&6; }
    1703   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1704 
    1705 } # ac_fn_c_check_header_compile
    1706 
    1707 # ac_fn_c_try_link LINENO
    1708 # -----------------------
    1709 # Try to link conftest.$ac_ext, and return whether this succeeded.
    1710 ac_fn_c_try_link ()
    1711 {
    1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1713   rm -f conftest.$ac_objext conftest$ac_exeext
    1714   if { { ac_try="$ac_link"
    1715 case "(($ac_try" in
    1716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1717   *) ac_try_echo=$ac_try;;
    1718 esac
    1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1720 $as_echo "$ac_try_echo"; } >&5
    1721   (eval "$ac_link") 2>conftest.err
    1722   ac_status=$?
    1723   if test -s conftest.err; then
    1724     grep -v '^ *+' conftest.err >conftest.er1
    1725     cat conftest.er1 >&5
    1726     mv -f conftest.er1 conftest.err
    1727   fi
    1728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1729   test $ac_status = 0; } && {
    1730          test -z "$ac_c_werror_flag" ||
    1731          test ! -s conftest.err
    1732        } && test -s conftest$ac_exeext && {
    1733          test "$cross_compiling" = yes ||
    1734          $as_test_x conftest$ac_exeext
    1735        }; then :
    1736   ac_retval=0
    1737 else
    1738   $as_echo "$as_me: failed program was:" >&5
    1739 sed 's/^/| /' conftest.$ac_ext >&5
    1740 
    1741         ac_retval=1
    1742 fi
    1743   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1744   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1745   # interfere with the next link command; also delete a directory that is
    1746   # left behind by Apple's compiler.  We do this before executing the actions.
    1747   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1748   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1749   as_fn_set_status $ac_retval
    1750 
    1751 } # ac_fn_c_try_link
    1752 
    1753 # ac_fn_cxx_try_compile LINENO
    1754 # ----------------------------
    1755 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1756 ac_fn_cxx_try_compile ()
    1757 {
    1758   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1759   rm -f conftest.$ac_objext
    1760   if { { ac_try="$ac_compile"
    1761 case "(($ac_try" in
    1762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1763   *) ac_try_echo=$ac_try;;
    1764 esac
    1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1766 $as_echo "$ac_try_echo"; } >&5
    1767   (eval "$ac_compile") 2>conftest.err
    1768   ac_status=$?
    1769   if test -s conftest.err; then
    1770     grep -v '^ *+' conftest.err >conftest.er1
    1771     cat conftest.er1 >&5
    1772     mv -f conftest.er1 conftest.err
    1773   fi
    1774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1775   test $ac_status = 0; } && {
    1776          test -z "$ac_cxx_werror_flag" ||
    1777          test ! -s conftest.err
    1778        } && test -s conftest.$ac_objext; then :
    1779   ac_retval=0
    1780 else
    1781   $as_echo "$as_me: failed program was:" >&5
    1782 sed 's/^/| /' conftest.$ac_ext >&5
    1783 
    1784         ac_retval=1
    1785 fi
    1786   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1787   as_fn_set_status $ac_retval
    1788 
    1789 } # ac_fn_cxx_try_compile
    1790 
    1791 # ac_fn_cxx_try_cpp LINENO
    1792 # ------------------------
    1793 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1794 ac_fn_cxx_try_cpp ()
    1795 {
    1796   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1797   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1798 case "(($ac_try" in
    1799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1800   *) ac_try_echo=$ac_try;;
    1801 esac
    1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1803 $as_echo "$ac_try_echo"; } >&5
    1804   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1805   ac_status=$?
    1806   if test -s conftest.err; then
    1807     grep -v '^ *+' conftest.err >conftest.er1
    1808     cat conftest.er1 >&5
    1809     mv -f conftest.er1 conftest.err
    1810   fi
    1811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1812   test $ac_status = 0; } > conftest.i && {
    1813          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    1814          test ! -s conftest.err
    1815        }; then :
    1816   ac_retval=0
    1817 else
    1818   $as_echo "$as_me: failed program was:" >&5
    1819 sed 's/^/| /' conftest.$ac_ext >&5
    1820 
    1821     ac_retval=1
    1822 fi
    1823   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1824   as_fn_set_status $ac_retval
    1825 
    1826 } # ac_fn_cxx_try_cpp
    1827 
    1828 # ac_fn_cxx_try_run LINENO
    1829 # ------------------------
    1830 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1831 # that executables *can* be run.
    1832 ac_fn_cxx_try_run ()
    1833 {
    1834   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1835   if { { ac_try="$ac_link"
    1836 case "(($ac_try" in
    1837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1838   *) ac_try_echo=$ac_try;;
    1839 esac
    1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1841 $as_echo "$ac_try_echo"; } >&5
    1842   (eval "$ac_link") 2>&5
    1843   ac_status=$?
    1844   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1845   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1846   { { case "(($ac_try" in
    1847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1848   *) ac_try_echo=$ac_try;;
    1849 esac
    1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1851 $as_echo "$ac_try_echo"; } >&5
    1852   (eval "$ac_try") 2>&5
    1853   ac_status=$?
    1854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1855   test $ac_status = 0; }; }; then :
    1856   ac_retval=0
    1857 else
    1858   $as_echo "$as_me: program exited with status $ac_status" >&5
    1859        $as_echo "$as_me: failed program was:" >&5
    1860 sed 's/^/| /' conftest.$ac_ext >&5
    1861 
    1862        ac_retval=$ac_status
    1863 fi
    1864   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1865   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1866   as_fn_set_status $ac_retval
    1867 
    1868 } # ac_fn_cxx_try_run
    1869 
    1870 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
    1871 # ----------------------------------------------
    1872 # Tries to find the compile-time value of EXPR in a program that includes
    1873 # INCLUDES, setting VAR accordingly. Returns whether the value could be
    1874 # computed
    1875 ac_fn_cxx_compute_int ()
    1876 {
    1877   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1878   if test "$cross_compiling" = yes; then
    1879     # Depending upon the size, compute the lo and hi bounds.
    1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1881 /* end confdefs.h.  */
    1882 $4
    1883 int
    1884 main ()
    1885 {
    1886 static int test_array [1 - 2 * !(($2) >= 0)];
    1887 test_array [0] = 0
    1888 
    1889   ;
    1890   return 0;
    1891 }
    1892 _ACEOF
    1893 if ac_fn_cxx_try_compile "$LINENO"; then :
    1894   ac_lo=0 ac_mid=0
    1895   while :; do
    1896     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1897 /* end confdefs.h.  */
    1898 $4
    1899 int
    1900 main ()
    1901 {
    1902 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
    1903 test_array [0] = 0
    1904 
    1905   ;
    1906   return 0;
    1907 }
    1908 _ACEOF
    1909 if ac_fn_cxx_try_compile "$LINENO"; then :
    1910   ac_hi=$ac_mid; break
    1911 else
    1912   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
    1913                         if test $ac_lo -le $ac_mid; then
    1914                           ac_lo= ac_hi=
    1915                           break
    1916                         fi
    1917                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
    1918 fi
    1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1920   done
    1921 else
    1922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1923 /* end confdefs.h.  */
    1924 $4
    1925 int
    1926 main ()
    1927 {
    1928 static int test_array [1 - 2 * !(($2) < 0)];
    1929 test_array [0] = 0
    1930 
    1931   ;
    1932   return 0;
    1933 }
    1934 _ACEOF
    1935 if ac_fn_cxx_try_compile "$LINENO"; then :
    1936   ac_hi=-1 ac_mid=-1
    1937   while :; do
    1938     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1939 /* end confdefs.h.  */
    1940 $4
    1941 int
    1942 main ()
    1943 {
    1944 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
    1945 test_array [0] = 0
    1946 
    1947   ;
    1948   return 0;
    1949 }
    1950 _ACEOF
    1951 if ac_fn_cxx_try_compile "$LINENO"; then :
    1952   ac_lo=$ac_mid; break
    1953 else
    1954   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
    1955                         if test $ac_mid -le $ac_hi; then
    1956                           ac_lo= ac_hi=
    1957                           break
    1958                         fi
    1959                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
    1960 fi
    1961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1962   done
    1963 else
    1964   ac_lo= ac_hi=
    1965 fi
    1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1967 fi
    1968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1969 # Binary search between lo and hi bounds.
    1970 while test "x$ac_lo" != "x$ac_hi"; do
    1971   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
    1972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1973 /* end confdefs.h.  */
    1974 $4
    1975 int
    1976 main ()
    1977 {
    1978 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
    1979 test_array [0] = 0
    1980 
    1981   ;
    1982   return 0;
    1983 }
    1984 _ACEOF
    1985 if ac_fn_cxx_try_compile "$LINENO"; then :
    1986   ac_hi=$ac_mid
    1987 else
    1988   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
    1989 fi
    1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1991 done
    1992 case $ac_lo in #((
    1993 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
    1994 '') ac_retval=1 ;;
    1995 esac
    1996   else
    1997     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1998 /* end confdefs.h.  */
    1999 $4
    2000 static long int longval () { return $2; }
    2001 static unsigned long int ulongval () { return $2; }
    2002 #include <stdio.h>
    2003 #include <stdlib.h>
    2004 int
    2005 main ()
    2006 {
    2007 
    2008   FILE *f = fopen ("conftest.val", "w");
    2009   if (! f)
    2010     return 1;
    2011   if (($2) < 0)
    2012     {
    2013       long int i = longval ();
    2014       if (i != ($2))
    2015         return 1;
    2016       fprintf (f, "%ld", i);
    2017     }
    2018   else
    2019     {
    2020       unsigned long int i = ulongval ();
    2021       if (i != ($2))
    2022         return 1;
    2023       fprintf (f, "%lu", i);
    2024     }
    2025   /* Do not output a trailing newline, as this causes \r\n confusion
    2026      on some platforms.  */
    2027   return ferror (f) || fclose (f) != 0;
    2028 
    2029   ;
    2030   return 0;
    2031 }
    2032 _ACEOF
    2033 if ac_fn_cxx_try_run "$LINENO"; then :
    2034   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
    2035 else
    2036   ac_retval=1
    2037 fi
    2038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    2039   conftest.$ac_objext conftest.beam conftest.$ac_ext
    2040 rm -f conftest.val
    2041 
    2042   fi
    2043   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2044   as_fn_set_status $ac_retval
    2045 
    2046 } # ac_fn_cxx_compute_int
    2047 
    2048 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
    2049 # ---------------------------------------------------------
    2050 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    2051 # the include files in INCLUDES and setting the cache variable VAR
    2052 # accordingly.
    2053 ac_fn_cxx_check_header_mongrel ()
    2054 {
    2055   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2056   if eval \${$3+:} false; then :
    2057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2058 $as_echo_n "checking for $2... " >&6; }
    2059 if eval \${$3+:} false; then :
    2060   $as_echo_n "(cached) " >&6
    2061 fi
    2062 eval ac_res=\$$3
    2063                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2064 $as_echo "$ac_res" >&6; }
    2065 else
    2066   # Is the header compilable?
    2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    2068 $as_echo_n "checking $2 usability... " >&6; }
    2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2070 /* end confdefs.h.  */
    2071 $4
    2072 #include <$2>
    2073 _ACEOF
    2074 if ac_fn_cxx_try_compile "$LINENO"; then :
    2075   ac_header_compiler=yes
    2076 else
    2077   ac_header_compiler=no
    2078 fi
    2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    2081 $as_echo "$ac_header_compiler" >&6; }
    2082 
    2083 # Is the header present?
    2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    2085 $as_echo_n "checking $2 presence... " >&6; }
    2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2087 /* end confdefs.h.  */
    2088 #include <$2>
    2089 _ACEOF
    2090 if ac_fn_cxx_try_cpp "$LINENO"; then :
    2091   ac_header_preproc=yes
    2092 else
    2093   ac_header_preproc=no
    2094 fi
    2095 rm -f conftest.err conftest.i conftest.$ac_ext
    2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    2097 $as_echo "$ac_header_preproc" >&6; }
    2098 
    2099 # So?  What about this header?
    2100 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
    2101   yes:no: )
    2102     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    2103 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    2104     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    2105 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    2106     ;;
    2107   no:yes:* )
    2108     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    2109 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    2110     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    2111 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    2112     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    2113 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    2114     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    2115 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    2116     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    2117 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    2118 ( $as_echo "## ----------------------------------- ##
    2119 ## Report this to rappture@nanohub.org ##
    2120 ## ----------------------------------- ##"
    2121      ) | sed "s/^/$as_me: WARNING:     /" >&2
    2122     ;;
    2123 esac
    2124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2125 $as_echo_n "checking for $2... " >&6; }
    2126 if eval \${$3+:} false; then :
    2127   $as_echo_n "(cached) " >&6
    2128 else
    2129   eval "$3=\$ac_header_compiler"
    2130 fi
    2131 eval ac_res=\$$3
    2132                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2133 $as_echo "$ac_res" >&6; }
    2134 fi
    2135   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2136 
    2137 } # ac_fn_cxx_check_header_mongrel
    2138 
    2139 # ac_fn_cxx_try_link LINENO
    2140 # -------------------------
    2141 # Try to link conftest.$ac_ext, and return whether this succeeded.
    2142 ac_fn_cxx_try_link ()
    2143 {
    2144   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2145   rm -f conftest.$ac_objext conftest$ac_exeext
    2146   if { { ac_try="$ac_link"
    2147 case "(($ac_try" in
    2148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2149   *) ac_try_echo=$ac_try;;
    2150 esac
    2151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2152 $as_echo "$ac_try_echo"; } >&5
    2153   (eval "$ac_link") 2>conftest.err
    2154   ac_status=$?
    2155   if test -s conftest.err; then
    2156     grep -v '^ *+' conftest.err >conftest.er1
    2157     cat conftest.er1 >&5
    2158     mv -f conftest.er1 conftest.err
    2159   fi
    2160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2161   test $ac_status = 0; } && {
    2162          test -z "$ac_cxx_werror_flag" ||
    2163          test ! -s conftest.err
    2164        } && test -s conftest$ac_exeext && {
    2165          test "$cross_compiling" = yes ||
    2166          $as_test_x conftest$ac_exeext
    2167        }; then :
    2168   ac_retval=0
    2169 else
    2170   $as_echo "$as_me: failed program was:" >&5
    2171 sed 's/^/| /' conftest.$ac_ext >&5
    2172 
    2173         ac_retval=1
    2174 fi
    2175   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    2176   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    2177   # interfere with the next link command; also delete a directory that is
    2178   # left behind by Apple's compiler.  We do this before executing the actions.
    2179   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    2180   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2181   as_fn_set_status $ac_retval
    2182 
    2183 } # ac_fn_cxx_try_link
    2184 
    2185 # ac_fn_cxx_check_func LINENO FUNC VAR
    2186 # ------------------------------------
    2187 # Tests whether FUNC exists, setting the cache variable VAR accordingly
    2188 ac_fn_cxx_check_func ()
    2189 {
    2190   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2192 $as_echo_n "checking for $2... " >&6; }
    2193 if eval \${$3+:} false; then :
    2194   $as_echo_n "(cached) " >&6
    2195 else
    2196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2197 /* end confdefs.h.  */
    2198 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
    2199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    2200 #define $2 innocuous_$2
    2201 
    2202 /* System header to define __stub macros and hopefully few prototypes,
    2203     which can conflict with char $2 (); below.
    2204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    2205     <limits.h> exists even on freestanding compilers.  */
    2206 
    2207 #ifdef __STDC__
    2208 # include <limits.h>
    2209 #else
    2210 # include <assert.h>
    2211 #endif
    2212 
    2213 #undef $2
    2214 
    2215 /* Override any GCC internal prototype to avoid an error.
    2216    Use char because int might match the return type of a GCC
    2217    builtin and then its argument prototype would still apply.  */
    2218 #ifdef __cplusplus
    2219 extern "C"
    2220 #endif
    2221 char $2 ();
    2222 /* The GNU C library defines this for functions which it implements
    2223     to always fail with ENOSYS.  Some functions are actually named
    2224     something starting with __ and the normal name is an alias.  */
    2225 #if defined __stub_$2 || defined __stub___$2
    2226 choke me
    2227 #endif
    2228 
    2229 int
    2230 main ()
    2231 {
    2232 return $2 ();
    2233   ;
    2234   return 0;
    2235 }
    2236 _ACEOF
    2237 if ac_fn_cxx_try_link "$LINENO"; then :
    2238   eval "$3=yes"
    2239 else
    2240   eval "$3=no"
    2241 fi
    2242 rm -f core conftest.err conftest.$ac_objext \
    2243     conftest$ac_exeext conftest.$ac_ext
    2244 fi
    2245 eval ac_res=\$$3
    2246                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2247 $as_echo "$ac_res" >&6; }
    2248   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2249 
    2250 } # ac_fn_cxx_check_func
    2251 
    2252 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
    2253 # ---------------------------------------------------------
    2254 # Tests whether HEADER exists and can be compiled using the include files in
    2255 # INCLUDES, setting the cache variable VAR accordingly.
    2256 ac_fn_cxx_check_header_compile ()
    2257 {
    2258   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2260 $as_echo_n "checking for $2... " >&6; }
    2261 if eval \${$3+:} false; then :
    2262   $as_echo_n "(cached) " >&6
    2263 else
    2264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2265 /* end confdefs.h.  */
    2266 $4
    2267 #include <$2>
    2268 _ACEOF
    2269 if ac_fn_cxx_try_compile "$LINENO"; then :
    2270   eval "$3=yes"
    2271 else
    2272   eval "$3=no"
    2273 fi
    2274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2275 fi
    2276 eval ac_res=\$$3
    2277                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2278 $as_echo "$ac_res" >&6; }
    2279   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2280 
    2281 } # ac_fn_cxx_check_header_compile
    22821507cat >config.log <<_ACEOF
    22831508This file contains any messages produced by compilers while
     
    22851510
    22861511It was created by vizservers $as_me 0.1, which was
    2287 generated by GNU Autoconf 2.68.  Invocation command line was
     1512generated by GNU Autoconf 2.63.  Invocation command line was
    22881513
    22891514  $ $0 $@
     
    23211546  IFS=$as_save_IFS
    23221547  test -z "$as_dir" && as_dir=.
    2323     $as_echo "PATH: $as_dir"
    2324   done
     1548  $as_echo "PATH: $as_dir"
     1549done
    23251550IFS=$as_save_IFS
    23261551
     
    23591584    esac
    23601585    case $ac_pass in
    2361     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
     1586    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    23621587    2)
    2363       as_fn_append ac_configure_args1 " '$ac_arg'"
     1588      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    23641589      if test $ac_must_keep_next = true; then
    23651590        ac_must_keep_next=false # Got value, back to normal.
     
    23771602        esac
    23781603      fi
    2379       as_fn_append ac_configure_args " '$ac_arg'"
     1604      ac_configure_args="$ac_configure_args '$ac_arg'"
    23801605      ;;
    23811606    esac
    23821607  done
    23831608done
    2384 { ac_configure_args0=; unset ac_configure_args0;}
    2385 { ac_configure_args1=; unset ac_configure_args1;}
     1609$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     1610$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    23861611
    23871612# When interrupted or exit'd, cleanup temporary files, and complete
     
    23951620    echo
    23961621
    2397     $as_echo "## ---------------- ##
     1622    cat <<\_ASBOX
     1623## ---------------- ##
    23981624## Cache variables. ##
    2399 ## ---------------- ##"
     1625## ---------------- ##
     1626_ASBOX
    24001627    echo
    24011628    # The following way of writing the cache mishandles newlines in values,
     
    24061633    *${as_nl}*)
    24071634      case $ac_var in #(
    2408       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     1635      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
    24091636$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    24101637      esac
     
    24121639      _ | IFS | as_nl) ;; #(
    24131640      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    2414       *) { eval $ac_var=; unset $ac_var;} ;;
     1641      *) $as_unset $ac_var ;;
    24151642      esac ;;
    24161643    esac
     
    24311658    echo
    24321659
    2433     $as_echo "## ----------------- ##
     1660    cat <<\_ASBOX
     1661## ----------------- ##
    24341662## Output variables. ##
    2435 ## ----------------- ##"
     1663## ----------------- ##
     1664_ASBOX
    24361665    echo
    24371666    for ac_var in $ac_subst_vars
     
    24461675
    24471676    if test -n "$ac_subst_files"; then
    2448       $as_echo "## ------------------- ##
     1677      cat <<\_ASBOX
     1678## ------------------- ##
    24491679## File substitutions. ##
    2450 ## ------------------- ##"
     1680## ------------------- ##
     1681_ASBOX
    24511682      echo
    24521683      for ac_var in $ac_subst_files
     
    24621693
    24631694    if test -s confdefs.h; then
    2464       $as_echo "## ----------- ##
     1695      cat <<\_ASBOX
     1696## ----------- ##
    24651697## confdefs.h. ##
    2466 ## ----------- ##"
     1698## ----------- ##
     1699_ASBOX
    24671700      echo
    24681701      cat confdefs.h
     
    24781711' 0
    24791712for ac_signal in 1 2 13 15; do
    2480   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
     1713  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    24811714done
    24821715ac_signal=0
     
    24851718rm -f -r conftest* confdefs.h
    24861719
    2487 $as_echo "/* confdefs.h */" > confdefs.h
    2488 
    24891720# Predefined preprocessor variables.
    24901721
     
    24931724_ACEOF
    24941725
     1726
    24951727cat >>confdefs.h <<_ACEOF
    24961728#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    24971729_ACEOF
    24981730
     1731
    24991732cat >>confdefs.h <<_ACEOF
    25001733#define PACKAGE_VERSION "$PACKAGE_VERSION"
    25011734_ACEOF
    25021735
     1736
    25031737cat >>confdefs.h <<_ACEOF
    25041738#define PACKAGE_STRING "$PACKAGE_STRING"
    25051739_ACEOF
    25061740
     1741
    25071742cat >>confdefs.h <<_ACEOF
    25081743#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    2509 _ACEOF
    2510 
    2511 cat >>confdefs.h <<_ACEOF
    2512 #define PACKAGE_URL "$PACKAGE_URL"
    25131744_ACEOF
    25141745
     
    25191750ac_site_file2=NONE
    25201751if test -n "$CONFIG_SITE"; then
    2521   # We do not want a PATH search for config.site.
    2522   case $CONFIG_SITE in #((
    2523     -*)  ac_site_file1=./$CONFIG_SITE;;
    2524     */*) ac_site_file1=$CONFIG_SITE;;
    2525     *)   ac_site_file1=./$CONFIG_SITE;;
    2526   esac
     1752  ac_site_file1=$CONFIG_SITE
    25271753elif test "x$prefix" != xNONE; then
    25281754  ac_site_file1=$prefix/share/config.site
     
    25351761do
    25361762  test "x$ac_site_file" = xNONE && continue
    2537   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
    2538     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     1763  if test -r "$ac_site_file"; then
     1764    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    25391765$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    25401766    sed 's/^/| /' "$ac_site_file" >&5
    2541     . "$ac_site_file" \
    2542       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2544 as_fn_error $? "failed to load site script $ac_site_file
    2545 See \`config.log' for more details" "$LINENO" 5; }
     1767    . "$ac_site_file"
    25461768  fi
    25471769done
    25481770
    25491771if test -r "$cache_file"; then
    2550   # Some versions of bash will fail to source /dev/null (special files
    2551   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
    2552   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
    2553     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     1772  # Some versions of bash will fail to source /dev/null (special
     1773  # files actually), so we avoid doing that.
     1774  if test -f "$cache_file"; then
     1775    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
    25541776$as_echo "$as_me: loading cache $cache_file" >&6;}
    25551777    case $cache_file in
     
    25591781  fi
    25601782else
    2561   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     1783  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
    25621784$as_echo "$as_me: creating cache $cache_file" >&6;}
    25631785  >$cache_file
     
    25741796  case $ac_old_set,$ac_new_set in
    25751797    set,)
    2576       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1798      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    25771799$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    25781800      ac_cache_corrupted=: ;;
    25791801    ,set)
    2580       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     1802      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    25811803$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    25821804      ac_cache_corrupted=: ;;
     
    25881810        ac_new_val_w=`echo x $ac_new_val`
    25891811        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    2590           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     1812          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    25911813$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    25921814          ac_cache_corrupted=:
    25931815        else
    2594           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     1816          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    25951817$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    25961818          eval $ac_var=\$ac_old_val
    25971819        fi
    2598         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     1820        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
    25991821$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    2600         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     1822        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
    26011823$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    26021824      fi;;
     
    26101832    case " $ac_configure_args " in
    26111833      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    2612       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
     1834      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    26131835    esac
    26141836  fi
    26151837done
    26161838if $ac_cache_corrupted; then
    2617   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     1839  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    26181840$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2619   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     1841  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    26201842$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    2621   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
    2622 fi
    2623 ## -------------------- ##
    2624 ## Main body of script. ##
    2625 ## -------------------- ##
     1843  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1844$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1845   { (exit 1); exit 1; }; }
     1846fi
     1847
     1848
     1849
     1850
     1851
     1852
     1853
     1854
     1855
     1856
     1857
     1858
     1859
     1860
     1861
     1862
     1863
     1864
     1865
     1866
     1867
     1868
     1869
     1870
    26261871
    26271872ac_ext=c
     
    26491894done
    26501895if test -z "$ac_aux_dir"; then
    2651   as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
     1896  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
     1897$as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
     1898   { (exit 1); exit 1; }; }
    26521899fi
    26531900
     
    26661913
    26671914# Check whether --with-tcllib was given.
    2668 if test "${with_tcllib+set}" = set; then :
     1915if test "${with_tcllib+set}" = set; then
    26691916  withval=$with_tcllib; with_tcllib=$withval
    26701917else
     
    26751922
    26761923# Check whether --with-rappture was given.
    2677 if test "${with_rappture+set}" = set; then :
     1924if test "${with_rappture+set}" = set; then
    26781925  withval=$with_rappture; with_rappture=$withval
    26791926else
     
    26841931
    26851932# Check whether --with-vtk-includes was given.
    2686 if test "${with_vtk_includes+set}" = set; then :
     1933if test "${with_vtk_includes+set}" = set; then
    26871934  withval=$with_vtk_includes; with_vtk_includes=$withval
    26881935else
     
    26931940
    26941941# Check whether --with-vtk-libs was given.
    2695 if test "${with_vtk_libs+set}" = set; then :
     1942if test "${with_vtk_libs+set}" = set; then
    26961943  withval=$with_vtk_libs; with_vtk_libs=$withval
    26971944else
     
    27021949
    27031950# Check whether --with-vtk was given.
    2704 if test "${with_vtk+set}" = set; then :
     1951if test "${with_vtk+set}" = set; then
    27051952  withval=$with_vtk; with_vtk=$withval
    27061953else
     
    27171964  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    27181965set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     1966{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    27201967$as_echo_n "checking for $ac_word... " >&6; }
    2721 if ${ac_cv_prog_CC+:} false; then :
     1968if test "${ac_cv_prog_CC+set}" = set; then
    27221969  $as_echo_n "(cached) " >&6
    27231970else
     
    27301977  IFS=$as_save_IFS
    27311978  test -z "$as_dir" && as_dir=.
    2732     for ac_exec_ext in '' $ac_executable_extensions; do
     1979  for ac_exec_ext in '' $ac_executable_extensions; do
    27331980  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27341981    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1982    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27361983    break 2
    27371984  fi
    27381985done
    2739   done
     1986done
    27401987IFS=$as_save_IFS
    27411988
     
    27441991CC=$ac_cv_prog_CC
    27451992if test -n "$CC"; then
    2746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     1993  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    27471994$as_echo "$CC" >&6; }
    27481995else
    2749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     1996  { $as_echo "$as_me:$LINENO: result: no" >&5
    27501997$as_echo "no" >&6; }
    27511998fi
     
    27572004  # Extract the first word of "gcc", so it can be a program name with args.
    27582005set dummy gcc; ac_word=$2
    2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2006{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    27602007$as_echo_n "checking for $ac_word... " >&6; }
    2761 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2008if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    27622009  $as_echo_n "(cached) " >&6
    27632010else
     
    27702017  IFS=$as_save_IFS
    27712018  test -z "$as_dir" && as_dir=.
    2772     for ac_exec_ext in '' $ac_executable_extensions; do
     2019  for ac_exec_ext in '' $ac_executable_extensions; do
    27732020  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27742021    ac_cv_prog_ac_ct_CC="gcc"
    2775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2022    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27762023    break 2
    27772024  fi
    27782025done
    2779   done
     2026done
    27802027IFS=$as_save_IFS
    27812028
     
    27842031ac_ct_CC=$ac_cv_prog_ac_ct_CC
    27852032if test -n "$ac_ct_CC"; then
    2786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2033  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    27872034$as_echo "$ac_ct_CC" >&6; }
    27882035else
    2789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2036  { $as_echo "$as_me:$LINENO: result: no" >&5
    27902037$as_echo "no" >&6; }
    27912038fi
     
    27962043    case $cross_compiling:$ac_tool_warned in
    27972044yes:)
    2798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2045{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    27992046$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    28002047ac_tool_warned=yes ;;
     
    28102057    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    28112058set dummy ${ac_tool_prefix}cc; ac_word=$2
    2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2059{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    28132060$as_echo_n "checking for $ac_word... " >&6; }
    2814 if ${ac_cv_prog_CC+:} false; then :
     2061if test "${ac_cv_prog_CC+set}" = set; then
    28152062  $as_echo_n "(cached) " >&6
    28162063else
     
    28232070  IFS=$as_save_IFS
    28242071  test -z "$as_dir" && as_dir=.
    2825     for ac_exec_ext in '' $ac_executable_extensions; do
     2072  for ac_exec_ext in '' $ac_executable_extensions; do
    28262073  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28272074    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2828     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2075    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28292076    break 2
    28302077  fi
    28312078done
    2832   done
     2079done
    28332080IFS=$as_save_IFS
    28342081
     
    28372084CC=$ac_cv_prog_CC
    28382085if test -n "$CC"; then
    2839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2086  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    28402087$as_echo "$CC" >&6; }
    28412088else
    2842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2089  { $as_echo "$as_me:$LINENO: result: no" >&5
    28432090$as_echo "no" >&6; }
    28442091fi
     
    28502097  # Extract the first word of "cc", so it can be a program name with args.
    28512098set dummy cc; ac_word=$2
    2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2099{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    28532100$as_echo_n "checking for $ac_word... " >&6; }
    2854 if ${ac_cv_prog_CC+:} false; then :
     2101if test "${ac_cv_prog_CC+set}" = set; then
    28552102  $as_echo_n "(cached) " >&6
    28562103else
     
    28642111  IFS=$as_save_IFS
    28652112  test -z "$as_dir" && as_dir=.
    2866     for ac_exec_ext in '' $ac_executable_extensions; do
     2113  for ac_exec_ext in '' $ac_executable_extensions; do
    28672114  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28682115    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    28712118     fi
    28722119    ac_cv_prog_CC="cc"
    2873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2120    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28742121    break 2
    28752122  fi
    28762123done
    2877   done
     2124done
    28782125IFS=$as_save_IFS
    28792126
     
    28942141CC=$ac_cv_prog_CC
    28952142if test -n "$CC"; then
    2896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2143  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    28972144$as_echo "$CC" >&6; }
    28982145else
    2899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2146  { $as_echo "$as_me:$LINENO: result: no" >&5
    29002147$as_echo "no" >&6; }
    29012148fi
     
    29092156    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    29102157set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2158{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    29122159$as_echo_n "checking for $ac_word... " >&6; }
    2913 if ${ac_cv_prog_CC+:} false; then :
     2160if test "${ac_cv_prog_CC+set}" = set; then
    29142161  $as_echo_n "(cached) " >&6
    29152162else
     
    29222169  IFS=$as_save_IFS
    29232170  test -z "$as_dir" && as_dir=.
    2924     for ac_exec_ext in '' $ac_executable_extensions; do
     2171  for ac_exec_ext in '' $ac_executable_extensions; do
    29252172  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29262173    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2174    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29282175    break 2
    29292176  fi
    29302177done
    2931   done
     2178done
    29322179IFS=$as_save_IFS
    29332180
     
    29362183CC=$ac_cv_prog_CC
    29372184if test -n "$CC"; then
    2938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2185  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    29392186$as_echo "$CC" >&6; }
    29402187else
    2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2188  { $as_echo "$as_me:$LINENO: result: no" >&5
    29422189$as_echo "no" >&6; }
    29432190fi
     
    29532200  # Extract the first word of "$ac_prog", so it can be a program name with args.
    29542201set dummy $ac_prog; ac_word=$2
    2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2202{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    29562203$as_echo_n "checking for $ac_word... " >&6; }
    2957 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2204if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    29582205  $as_echo_n "(cached) " >&6
    29592206else
     
    29662213  IFS=$as_save_IFS
    29672214  test -z "$as_dir" && as_dir=.
    2968     for ac_exec_ext in '' $ac_executable_extensions; do
     2215  for ac_exec_ext in '' $ac_executable_extensions; do
    29692216  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29702217    ac_cv_prog_ac_ct_CC="$ac_prog"
    2971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2218    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29722219    break 2
    29732220  fi
    29742221done
    2975   done
     2222done
    29762223IFS=$as_save_IFS
    29772224
     
    29802227ac_ct_CC=$ac_cv_prog_ac_ct_CC
    29812228if test -n "$ac_ct_CC"; then
    2982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2229  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    29832230$as_echo "$ac_ct_CC" >&6; }
    29842231else
    2985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2232  { $as_echo "$as_me:$LINENO: result: no" >&5
    29862233$as_echo "no" >&6; }
    29872234fi
     
    29962243    case $cross_compiling:$ac_tool_warned in
    29972244yes:)
    2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2245{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    29992246$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    30002247ac_tool_warned=yes ;;
     
    30072254
    30082255
    3009 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2256test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    30102257$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3011 as_fn_error $? "no acceptable C compiler found in \$PATH
    3012 See \`config.log' for more details" "$LINENO" 5; }
     2258{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     2259See \`config.log' for more details." >&5
     2260$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
     2261See \`config.log' for more details." >&2;}
     2262   { (exit 1); exit 1; }; }; }
    30132263
    30142264# Provide some information about the compiler.
    3015 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     2265$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
    30162266set X $ac_compile
    30172267ac_compiler=$2
    3018 for ac_option in --version -v -V -qversion; do
    3019   { { ac_try="$ac_compiler $ac_option >&5"
     2268{ (ac_try="$ac_compiler --version >&5"
    30202269case "(($ac_try" in
    30212270  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    30222271  *) ac_try_echo=$ac_try;;
    30232272esac
    3024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3025 $as_echo "$ac_try_echo"; } >&5
    3026   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     2273eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2274$as_echo "$ac_try_echo") >&5
     2275  (eval "$ac_compiler --version >&5") 2>&5
    30272276  ac_status=$?
    3028   if test -s conftest.err; then
    3029     sed '10a\
    3030 ... rest of stderr output deleted ...
    3031          10q' conftest.err >conftest.er1
    3032     cat conftest.er1 >&5
    3033   fi
    3034   rm -f conftest.er1 conftest.err
    3035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3036   test $ac_status = 0; }
    3037 done
    3038 
    3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2277  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2278  (exit $ac_status); }
     2279{ (ac_try="$ac_compiler -v >&5"
     2280case "(($ac_try" in
     2281  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2282  *) ac_try_echo=$ac_try;;
     2283esac
     2284eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2285$as_echo "$ac_try_echo") >&5
     2286  (eval "$ac_compiler -v >&5") 2>&5
     2287  ac_status=$?
     2288  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2289  (exit $ac_status); }
     2290{ (ac_try="$ac_compiler -V >&5"
     2291case "(($ac_try" in
     2292  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2293  *) ac_try_echo=$ac_try;;
     2294esac
     2295eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2296$as_echo "$ac_try_echo") >&5
     2297  (eval "$ac_compiler -V >&5") 2>&5
     2298  ac_status=$?
     2299  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2300  (exit $ac_status); }
     2301
     2302cat >conftest.$ac_ext <<_ACEOF
     2303/* confdefs.h.  */
     2304_ACEOF
     2305cat confdefs.h >>conftest.$ac_ext
     2306cat >>conftest.$ac_ext <<_ACEOF
    30402307/* end confdefs.h.  */
    30412308
     
    30532320# It will help us diagnose broken compilers, and finding out an intuition
    30542321# of exeext.
    3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
    3056 $as_echo_n "checking whether the C compiler works... " >&6; }
     2322{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2323$as_echo_n "checking for C compiler default output file name... " >&6; }
    30572324ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    30582325
     
    30702337rm -f $ac_rmfiles
    30712338
    3072 if { { ac_try="$ac_link_default"
     2339if { (ac_try="$ac_link_default"
    30732340case "(($ac_try" in
    30742341  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    30752342  *) ac_try_echo=$ac_try;;
    30762343esac
    3077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3078 $as_echo "$ac_try_echo"; } >&5
     2344eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2345$as_echo "$ac_try_echo") >&5
    30792346  (eval "$ac_link_default") 2>&5
    30802347  ac_status=$?
    3081   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3082   test $ac_status = 0; }; then :
     2348  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2349  (exit $ac_status); }; then
    30832350  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    30842351# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    30972364        break;;
    30982365    *.* )
    3099         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2366        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    31002367        then :; else
    31012368           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    31162383  ac_file=''
    31172384fi
    3118 if test -z "$ac_file"; then :
    3119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3120 $as_echo "no" >&6; }
    3121 $as_echo "$as_me: failed program was:" >&5
     2385
     2386{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     2387$as_echo "$ac_file" >&6; }
     2388if test -z "$ac_file"; then
     2389  $as_echo "$as_me: failed program was:" >&5
    31222390sed 's/^/| /' conftest.$ac_ext >&5
    31232391
    3124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2392{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    31252393$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3126 as_fn_error 77 "C compiler cannot create executables
    3127 See \`config.log' for more details" "$LINENO" 5; }
    3128 else
    3129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2394{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
     2395See \`config.log' for more details." >&5
     2396$as_echo "$as_me: error: C compiler cannot create executables
     2397See \`config.log' for more details." >&2;}
     2398   { (exit 77); exit 77; }; }; }
     2399fi
     2400
     2401ac_exeext=$ac_cv_exeext
     2402
     2403# Check that the compiler produces executables we can run.  If not, either
     2404# the compiler is broken, or we cross compile.
     2405{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2406$as_echo_n "checking whether the C compiler works... " >&6; }
     2407# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     2408# If not cross compiling, check that we can run a simple program.
     2409if test "$cross_compiling" != yes; then
     2410  if { ac_try='./$ac_file'
     2411  { (case "(($ac_try" in
     2412  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2413  *) ac_try_echo=$ac_try;;
     2414esac
     2415eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2416$as_echo "$ac_try_echo") >&5
     2417  (eval "$ac_try") 2>&5
     2418  ac_status=$?
     2419  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2420  (exit $ac_status); }; }; then
     2421    cross_compiling=no
     2422  else
     2423    if test "$cross_compiling" = maybe; then
     2424        cross_compiling=yes
     2425    else
     2426        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2427$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2428{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
     2429If you meant to cross compile, use \`--host'.
     2430See \`config.log' for more details." >&5
     2431$as_echo "$as_me: error: cannot run C compiled programs.
     2432If you meant to cross compile, use \`--host'.
     2433See \`config.log' for more details." >&2;}
     2434   { (exit 1); exit 1; }; }; }
     2435    fi
     2436  fi
     2437fi
     2438{ $as_echo "$as_me:$LINENO: result: yes" >&5
    31302439$as_echo "yes" >&6; }
    3131 fi
    3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
    3133 $as_echo_n "checking for C compiler default output file name... " >&6; }
    3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    3135 $as_echo "$ac_file" >&6; }
    3136 ac_exeext=$ac_cv_exeext
    31372440
    31382441rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    31392442ac_clean_files=$ac_clean_files_save
    3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     2443# Check that the compiler produces executables we can run.  If not, either
     2444# the compiler is broken, or we cross compile.
     2445{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2446$as_echo_n "checking whether we are cross compiling... " >&6; }
     2447{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2448$as_echo "$cross_compiling" >&6; }
     2449
     2450{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
    31412451$as_echo_n "checking for suffix of executables... " >&6; }
    3142 if { { ac_try="$ac_link"
     2452if { (ac_try="$ac_link"
    31432453case "(($ac_try" in
    31442454  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    31452455  *) ac_try_echo=$ac_try;;
    31462456esac
    3147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3148 $as_echo "$ac_try_echo"; } >&5
     2457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2458$as_echo "$ac_try_echo") >&5
    31492459  (eval "$ac_link") 2>&5
    31502460  ac_status=$?
    3151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3152   test $ac_status = 0; }; then :
     2461  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2462  (exit $ac_status); }; then
    31532463  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    31542464# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    31652475done
    31662476else
    3167   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2477  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    31682478$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3169 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
    3170 See \`config.log' for more details" "$LINENO" 5; }
    3171 fi
    3172 rm -f conftest conftest$ac_cv_exeext
    3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     2479{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2480See \`config.log' for more details." >&5
     2481$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2482See \`config.log' for more details." >&2;}
     2483   { (exit 1); exit 1; }; }; }
     2484fi
     2485
     2486rm -f conftest$ac_cv_exeext
     2487{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    31742488$as_echo "$ac_cv_exeext" >&6; }
    31752489
     
    31772491EXEEXT=$ac_cv_exeext
    31782492ac_exeext=$EXEEXT
    3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2493{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2494$as_echo_n "checking for suffix of object files... " >&6; }
     2495if test "${ac_cv_objext+set}" = set; then
     2496  $as_echo_n "(cached) " >&6
     2497else
     2498  cat >conftest.$ac_ext <<_ACEOF
     2499/* confdefs.h.  */
     2500_ACEOF
     2501cat confdefs.h >>conftest.$ac_ext
     2502cat >>conftest.$ac_ext <<_ACEOF
    31802503/* end confdefs.h.  */
    3181 #include <stdio.h>
     2504
    31822505int
    31832506main ()
    31842507{
    3185 FILE *f = fopen ("conftest.out", "w");
    3186  return ferror (f) || fclose (f) != 0;
    31872508
    31882509  ;
     
    31902511}
    31912512_ACEOF
    3192 ac_clean_files="$ac_clean_files conftest.out"
    3193 # Check that the compiler produces executables we can run.  If not, either
    3194 # the compiler is broken, or we cross compile.
    3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
    3196 $as_echo_n "checking whether we are cross compiling... " >&6; }
    3197 if test "$cross_compiling" != yes; then
    3198   { { ac_try="$ac_link"
     2513rm -f conftest.o conftest.obj
     2514if { (ac_try="$ac_compile"
    31992515case "(($ac_try" in
    32002516  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    32012517  *) ac_try_echo=$ac_try;;
    32022518esac
    3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3204 $as_echo "$ac_try_echo"; } >&5
    3205   (eval "$ac_link") 2>&5
    3206   ac_status=$?
    3207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3208   test $ac_status = 0; }
    3209   if { ac_try='./conftest$ac_cv_exeext'
    3210   { { case "(($ac_try" in
    3211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3212   *) ac_try_echo=$ac_try;;
    3213 esac
    3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3215 $as_echo "$ac_try_echo"; } >&5
    3216   (eval "$ac_try") 2>&5
    3217   ac_status=$?
    3218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3219   test $ac_status = 0; }; }; then
    3220     cross_compiling=no
    3221   else
    3222     if test "$cross_compiling" = maybe; then
    3223         cross_compiling=yes
    3224     else
    3225         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3227 as_fn_error $? "cannot run C compiled programs.
    3228 If you meant to cross compile, use \`--host'.
    3229 See \`config.log' for more details" "$LINENO" 5; }
    3230     fi
    3231   fi
    3232 fi
    3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
    3234 $as_echo "$cross_compiling" >&6; }
    3235 
    3236 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
    3237 ac_clean_files=$ac_clean_files_save
    3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
    3239 $as_echo_n "checking for suffix of object files... " >&6; }
    3240 if ${ac_cv_objext+:} false; then :
    3241   $as_echo_n "(cached) " >&6
    3242 else
    3243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3244 /* end confdefs.h.  */
    3245 
    3246 int
    3247 main ()
    3248 {
    3249 
    3250   ;
    3251   return 0;
    3252 }
    3253 _ACEOF
    3254 rm -f conftest.o conftest.obj
    3255 if { { ac_try="$ac_compile"
    3256 case "(($ac_try" in
    3257   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3258   *) ac_try_echo=$ac_try;;
    3259 esac
    3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3261 $as_echo "$ac_try_echo"; } >&5
     2519eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2520$as_echo "$ac_try_echo") >&5
    32622521  (eval "$ac_compile") 2>&5
    32632522  ac_status=$?
    3264   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3265   test $ac_status = 0; }; then :
     2523  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2524  (exit $ac_status); }; then
    32662525  for ac_file in conftest.o conftest.obj conftest.*; do
    32672526  test -f "$ac_file" || continue;
     
    32762535sed 's/^/| /' conftest.$ac_ext >&5
    32772536
    3278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2537{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    32792538$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3280 as_fn_error $? "cannot compute suffix of object files: cannot compile
    3281 See \`config.log' for more details" "$LINENO" 5; }
    3282 fi
     2539{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2540See \`config.log' for more details." >&5
     2541$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2542See \`config.log' for more details." >&2;}
     2543   { (exit 1); exit 1; }; }; }
     2544fi
     2545
    32832546rm -f conftest.$ac_cv_objext conftest.$ac_ext
    32842547fi
    3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     2548{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    32862549$as_echo "$ac_cv_objext" >&6; }
    32872550OBJEXT=$ac_cv_objext
    32882551ac_objext=$OBJEXT
    3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     2552{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    32902553$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3291 if ${ac_cv_c_compiler_gnu+:} false; then :
     2554if test "${ac_cv_c_compiler_gnu+set}" = set; then
    32922555  $as_echo_n "(cached) " >&6
    32932556else
    3294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2557  cat >conftest.$ac_ext <<_ACEOF
     2558/* confdefs.h.  */
     2559_ACEOF
     2560cat confdefs.h >>conftest.$ac_ext
     2561cat >>conftest.$ac_ext <<_ACEOF
    32952562/* end confdefs.h.  */
    32962563
     
    33062573}
    33072574_ACEOF
    3308 if ac_fn_c_try_compile "$LINENO"; then :
     2575rm -f conftest.$ac_objext
     2576if { (ac_try="$ac_compile"
     2577case "(($ac_try" in
     2578  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2579  *) ac_try_echo=$ac_try;;
     2580esac
     2581eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2582$as_echo "$ac_try_echo") >&5
     2583  (eval "$ac_compile") 2>conftest.er1
     2584  ac_status=$?
     2585  grep -v '^ *+' conftest.er1 >conftest.err
     2586  rm -f conftest.er1
     2587  cat conftest.err >&5
     2588  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2589  (exit $ac_status); } && {
     2590         test -z "$ac_c_werror_flag" ||
     2591         test ! -s conftest.err
     2592       } && test -s conftest.$ac_objext; then
    33092593  ac_compiler_gnu=yes
    33102594else
    3311   ac_compiler_gnu=no
    3312 fi
     2595  $as_echo "$as_me: failed program was:" >&5
     2596sed 's/^/| /' conftest.$ac_ext >&5
     2597
     2598        ac_compiler_gnu=no
     2599fi
     2600
    33132601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33142602ac_cv_c_compiler_gnu=$ac_compiler_gnu
    33152603
    33162604fi
    3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     2605{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    33182606$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    33192607if test $ac_compiler_gnu = yes; then
     
    33242612ac_test_CFLAGS=${CFLAGS+set}
    33252613ac_save_CFLAGS=$CFLAGS
    3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     2614{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    33272615$as_echo_n "checking whether $CC accepts -g... " >&6; }
    3328 if ${ac_cv_prog_cc_g+:} false; then :
     2616if test "${ac_cv_prog_cc_g+set}" = set; then
    33292617  $as_echo_n "(cached) " >&6
    33302618else
     
    33332621   ac_cv_prog_cc_g=no
    33342622   CFLAGS="-g"
    3335    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2623   cat >conftest.$ac_ext <<_ACEOF
     2624/* confdefs.h.  */
     2625_ACEOF
     2626cat confdefs.h >>conftest.$ac_ext
     2627cat >>conftest.$ac_ext <<_ACEOF
    33362628/* end confdefs.h.  */
    33372629
     
    33442636}
    33452637_ACEOF
    3346 if ac_fn_c_try_compile "$LINENO"; then :
     2638rm -f conftest.$ac_objext
     2639if { (ac_try="$ac_compile"
     2640case "(($ac_try" in
     2641  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2642  *) ac_try_echo=$ac_try;;
     2643esac
     2644eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2645$as_echo "$ac_try_echo") >&5
     2646  (eval "$ac_compile") 2>conftest.er1
     2647  ac_status=$?
     2648  grep -v '^ *+' conftest.er1 >conftest.err
     2649  rm -f conftest.er1
     2650  cat conftest.err >&5
     2651  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2652  (exit $ac_status); } && {
     2653         test -z "$ac_c_werror_flag" ||
     2654         test ! -s conftest.err
     2655       } && test -s conftest.$ac_objext; then
    33472656  ac_cv_prog_cc_g=yes
    33482657else
    3349   CFLAGS=""
    3350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2658  $as_echo "$as_me: failed program was:" >&5
     2659sed 's/^/| /' conftest.$ac_ext >&5
     2660
     2661        CFLAGS=""
     2662      cat >conftest.$ac_ext <<_ACEOF
     2663/* confdefs.h.  */
     2664_ACEOF
     2665cat confdefs.h >>conftest.$ac_ext
     2666cat >>conftest.$ac_ext <<_ACEOF
    33512667/* end confdefs.h.  */
    33522668
     
    33592675}
    33602676_ACEOF
    3361 if ac_fn_c_try_compile "$LINENO"; then :
    3362 
    3363 else
    3364   ac_c_werror_flag=$ac_save_c_werror_flag
     2677rm -f conftest.$ac_objext
     2678if { (ac_try="$ac_compile"
     2679case "(($ac_try" in
     2680  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2681  *) ac_try_echo=$ac_try;;
     2682esac
     2683eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2684$as_echo "$ac_try_echo") >&5
     2685  (eval "$ac_compile") 2>conftest.er1
     2686  ac_status=$?
     2687  grep -v '^ *+' conftest.er1 >conftest.err
     2688  rm -f conftest.er1
     2689  cat conftest.err >&5
     2690  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2691  (exit $ac_status); } && {
     2692         test -z "$ac_c_werror_flag" ||
     2693         test ! -s conftest.err
     2694       } && test -s conftest.$ac_objext; then
     2695  :
     2696else
     2697  $as_echo "$as_me: failed program was:" >&5
     2698sed 's/^/| /' conftest.$ac_ext >&5
     2699
     2700        ac_c_werror_flag=$ac_save_c_werror_flag
    33652701         CFLAGS="-g"
    3366          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2702         cat >conftest.$ac_ext <<_ACEOF
     2703/* confdefs.h.  */
     2704_ACEOF
     2705cat confdefs.h >>conftest.$ac_ext
     2706cat >>conftest.$ac_ext <<_ACEOF
    33672707/* end confdefs.h.  */
    33682708
     
    33752715}
    33762716_ACEOF
    3377 if ac_fn_c_try_compile "$LINENO"; then :
     2717rm -f conftest.$ac_objext
     2718if { (ac_try="$ac_compile"
     2719case "(($ac_try" in
     2720  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2721  *) ac_try_echo=$ac_try;;
     2722esac
     2723eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2724$as_echo "$ac_try_echo") >&5
     2725  (eval "$ac_compile") 2>conftest.er1
     2726  ac_status=$?
     2727  grep -v '^ *+' conftest.er1 >conftest.err
     2728  rm -f conftest.er1
     2729  cat conftest.err >&5
     2730  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2731  (exit $ac_status); } && {
     2732         test -z "$ac_c_werror_flag" ||
     2733         test ! -s conftest.err
     2734       } && test -s conftest.$ac_objext; then
    33782735  ac_cv_prog_cc_g=yes
    3379 fi
     2736else
     2737  $as_echo "$as_me: failed program was:" >&5
     2738sed 's/^/| /' conftest.$ac_ext >&5
     2739
     2740
     2741fi
     2742
    33802743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33812744fi
     2745
    33822746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33832747fi
     2748
    33842749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33852750   ac_c_werror_flag=$ac_save_c_werror_flag
    33862751fi
    3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     2752{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    33882753$as_echo "$ac_cv_prog_cc_g" >&6; }
    33892754if test "$ac_test_CFLAGS" = set; then
     
    34022767  fi
    34032768fi
    3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     2769{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    34052770$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3406 if ${ac_cv_prog_cc_c89+:} false; then :
     2771if test "${ac_cv_prog_cc_c89+set}" = set; then
    34072772  $as_echo_n "(cached) " >&6
    34082773else
    34092774  ac_cv_prog_cc_c89=no
    34102775ac_save_CC=$CC
    3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2776cat >conftest.$ac_ext <<_ACEOF
     2777/* confdefs.h.  */
     2778_ACEOF
     2779cat confdefs.h >>conftest.$ac_ext
     2780cat >>conftest.$ac_ext <<_ACEOF
    34122781/* end confdefs.h.  */
    34132782#include <stdarg.h>
     
    34662835do
    34672836  CC="$ac_save_CC $ac_arg"
    3468   if ac_fn_c_try_compile "$LINENO"; then :
     2837  rm -f conftest.$ac_objext
     2838if { (ac_try="$ac_compile"
     2839case "(($ac_try" in
     2840  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2841  *) ac_try_echo=$ac_try;;
     2842esac
     2843eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2844$as_echo "$ac_try_echo") >&5
     2845  (eval "$ac_compile") 2>conftest.er1
     2846  ac_status=$?
     2847  grep -v '^ *+' conftest.er1 >conftest.err
     2848  rm -f conftest.er1
     2849  cat conftest.err >&5
     2850  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2851  (exit $ac_status); } && {
     2852         test -z "$ac_c_werror_flag" ||
     2853         test ! -s conftest.err
     2854       } && test -s conftest.$ac_objext; then
    34692855  ac_cv_prog_cc_c89=$ac_arg
    3470 fi
     2856else
     2857  $as_echo "$as_me: failed program was:" >&5
     2858sed 's/^/| /' conftest.$ac_ext >&5
     2859
     2860
     2861fi
     2862
    34712863rm -f core conftest.err conftest.$ac_objext
    34722864  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    34792871case "x$ac_cv_prog_cc_c89" in
    34802872  x)
    3481     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     2873    { $as_echo "$as_me:$LINENO: result: none needed" >&5
    34822874$as_echo "none needed" >&6; } ;;
    34832875  xno)
    3484     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     2876    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
    34852877$as_echo "unsupported" >&6; } ;;
    34862878  *)
    34872879    CC="$CC $ac_cv_prog_cc_c89"
    3488     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     2880    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    34892881$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    34902882esac
    3491 if test "x$ac_cv_prog_cc_c89" != xno; then :
    3492 
    3493 fi
     2883
    34942884
    34952885ac_ext=c
     
    35052895ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    35062896ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     2897{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    35082898$as_echo_n "checking how to run the C preprocessor... " >&6; }
    35092899# On Suns, sometimes $CPP names a directory.
     
    35122902fi
    35132903if test -z "$CPP"; then
    3514   if ${ac_cv_prog_CPP+:} false; then :
     2904  if test "${ac_cv_prog_CPP+set}" = set; then
    35152905  $as_echo_n "(cached) " >&6
    35162906else
     
    35272917  # On the NeXT, cc -E runs the code through the compiler's parser,
    35282918  # not just through cpp. "Syntax error" is here to catch this case.
    3529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2919  cat >conftest.$ac_ext <<_ACEOF
     2920/* confdefs.h.  */
     2921_ACEOF
     2922cat confdefs.h >>conftest.$ac_ext
     2923cat >>conftest.$ac_ext <<_ACEOF
    35302924/* end confdefs.h.  */
    35312925#ifdef __STDC__
     
    35362930                     Syntax error
    35372931_ACEOF
    3538 if ac_fn_c_try_cpp "$LINENO"; then :
    3539 
    3540 else
     2932if { (ac_try="$ac_cpp conftest.$ac_ext"
     2933case "(($ac_try" in
     2934  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2935  *) ac_try_echo=$ac_try;;
     2936esac
     2937eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2938$as_echo "$ac_try_echo") >&5
     2939  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     2940  ac_status=$?
     2941  grep -v '^ *+' conftest.er1 >conftest.err
     2942  rm -f conftest.er1
     2943  cat conftest.err >&5
     2944  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2945  (exit $ac_status); } >/dev/null && {
     2946         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     2947         test ! -s conftest.err
     2948       }; then
     2949  :
     2950else
     2951  $as_echo "$as_me: failed program was:" >&5
     2952sed 's/^/| /' conftest.$ac_ext >&5
     2953
    35412954  # Broken: fails on valid input.
    35422955continue
    35432956fi
    3544 rm -f conftest.err conftest.i conftest.$ac_ext
     2957
     2958rm -f conftest.err conftest.$ac_ext
    35452959
    35462960  # OK, works on sane cases.  Now check whether nonexistent headers
    35472961  # can be detected and how.
    3548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2962  cat >conftest.$ac_ext <<_ACEOF
     2963/* confdefs.h.  */
     2964_ACEOF
     2965cat confdefs.h >>conftest.$ac_ext
     2966cat >>conftest.$ac_ext <<_ACEOF
    35492967/* end confdefs.h.  */
    35502968#include <ac_nonexistent.h>
    35512969_ACEOF
    3552 if ac_fn_c_try_cpp "$LINENO"; then :
     2970if { (ac_try="$ac_cpp conftest.$ac_ext"
     2971case "(($ac_try" in
     2972  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2973  *) ac_try_echo=$ac_try;;
     2974esac
     2975eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2976$as_echo "$ac_try_echo") >&5
     2977  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     2978  ac_status=$?
     2979  grep -v '^ *+' conftest.er1 >conftest.err
     2980  rm -f conftest.er1
     2981  cat conftest.err >&5
     2982  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2983  (exit $ac_status); } >/dev/null && {
     2984         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     2985         test ! -s conftest.err
     2986       }; then
    35532987  # Broken: success on invalid input.
    35542988continue
    35552989else
     2990  $as_echo "$as_me: failed program was:" >&5
     2991sed 's/^/| /' conftest.$ac_ext >&5
     2992
    35562993  # Passes both tests.
    35572994ac_preproc_ok=:
    35582995break
    35592996fi
    3560 rm -f conftest.err conftest.i conftest.$ac_ext
     2997
     2998rm -f conftest.err conftest.$ac_ext
    35612999
    35623000done
    35633001# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3564 rm -f conftest.i conftest.err conftest.$ac_ext
    3565 if $ac_preproc_ok; then :
     3002rm -f conftest.err conftest.$ac_ext
     3003if $ac_preproc_ok; then
    35663004  break
    35673005fi
     
    35753013  ac_cv_prog_CPP=$CPP
    35763014fi
    3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     3015{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
    35783016$as_echo "$CPP" >&6; }
    35793017ac_preproc_ok=false
     
    35863024  # On the NeXT, cc -E runs the code through the compiler's parser,
    35873025  # not just through cpp. "Syntax error" is here to catch this case.
    3588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3026  cat >conftest.$ac_ext <<_ACEOF
     3027/* confdefs.h.  */
     3028_ACEOF
     3029cat confdefs.h >>conftest.$ac_ext
     3030cat >>conftest.$ac_ext <<_ACEOF
    35893031/* end confdefs.h.  */
    35903032#ifdef __STDC__
     
    35953037                     Syntax error
    35963038_ACEOF
    3597 if ac_fn_c_try_cpp "$LINENO"; then :
    3598 
    3599 else
     3039if { (ac_try="$ac_cpp conftest.$ac_ext"
     3040case "(($ac_try" in
     3041  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3042  *) ac_try_echo=$ac_try;;
     3043esac
     3044eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3045$as_echo "$ac_try_echo") >&5
     3046  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3047  ac_status=$?
     3048  grep -v '^ *+' conftest.er1 >conftest.err
     3049  rm -f conftest.er1
     3050  cat conftest.err >&5
     3051  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3052  (exit $ac_status); } >/dev/null && {
     3053         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3054         test ! -s conftest.err
     3055       }; then
     3056  :
     3057else
     3058  $as_echo "$as_me: failed program was:" >&5
     3059sed 's/^/| /' conftest.$ac_ext >&5
     3060
    36003061  # Broken: fails on valid input.
    36013062continue
    36023063fi
    3603 rm -f conftest.err conftest.i conftest.$ac_ext
     3064
     3065rm -f conftest.err conftest.$ac_ext
    36043066
    36053067  # OK, works on sane cases.  Now check whether nonexistent headers
    36063068  # can be detected and how.
    3607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3069  cat >conftest.$ac_ext <<_ACEOF
     3070/* confdefs.h.  */
     3071_ACEOF
     3072cat confdefs.h >>conftest.$ac_ext
     3073cat >>conftest.$ac_ext <<_ACEOF
    36083074/* end confdefs.h.  */
    36093075#include <ac_nonexistent.h>
    36103076_ACEOF
    3611 if ac_fn_c_try_cpp "$LINENO"; then :
     3077if { (ac_try="$ac_cpp conftest.$ac_ext"
     3078case "(($ac_try" in
     3079  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3080  *) ac_try_echo=$ac_try;;
     3081esac
     3082eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3083$as_echo "$ac_try_echo") >&5
     3084  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3085  ac_status=$?
     3086  grep -v '^ *+' conftest.er1 >conftest.err
     3087  rm -f conftest.er1
     3088  cat conftest.err >&5
     3089  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3090  (exit $ac_status); } >/dev/null && {
     3091         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3092         test ! -s conftest.err
     3093       }; then
    36123094  # Broken: success on invalid input.
    36133095continue
    36143096else
     3097  $as_echo "$as_me: failed program was:" >&5
     3098sed 's/^/| /' conftest.$ac_ext >&5
     3099
    36153100  # Passes both tests.
    36163101ac_preproc_ok=:
    36173102break
    36183103fi
    3619 rm -f conftest.err conftest.i conftest.$ac_ext
     3104
     3105rm -f conftest.err conftest.$ac_ext
    36203106
    36213107done
    36223108# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3623 rm -f conftest.i conftest.err conftest.$ac_ext
    3624 if $ac_preproc_ok; then :
    3625 
    3626 else
    3627   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3109rm -f conftest.err conftest.$ac_ext
     3110if $ac_preproc_ok; then
     3111  :
     3112else
     3113  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    36283114$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3629 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    3630 See \`config.log' for more details" "$LINENO" 5; }
     3115{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     3116See \`config.log' for more details." >&5
     3117$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     3118See \`config.log' for more details." >&2;}
     3119   { (exit 1); exit 1; }; }; }
    36313120fi
    36323121
     
    36383127
    36393128
    3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     3129{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    36413130$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    3642 if ${ac_cv_path_GREP+:} false; then :
     3131if test "${ac_cv_path_GREP+set}" = set; then
    36433132  $as_echo_n "(cached) " >&6
    36443133else
     
    36513140  IFS=$as_save_IFS
    36523141  test -z "$as_dir" && as_dir=.
    3653     for ac_prog in grep ggrep; do
     3142  for ac_prog in grep ggrep; do
    36543143    for ac_exec_ext in '' $ac_executable_extensions; do
    36553144      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     
    36713160    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    36723161    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3673     as_fn_arith $ac_count + 1 && ac_count=$as_val
     3162    ac_count=`expr $ac_count + 1`
    36743163    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    36753164      # Best one so far, save it but keep looking for a better one
     
    36863175    done
    36873176  done
    3688   done
     3177done
    36893178IFS=$as_save_IFS
    36903179  if test -z "$ac_cv_path_GREP"; then
    3691     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3180    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3181$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3182   { (exit 1); exit 1; }; }
    36923183  fi
    36933184else
     
    36963187
    36973188fi
    3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     3189{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    36993190$as_echo "$ac_cv_path_GREP" >&6; }
    37003191 GREP="$ac_cv_path_GREP"
    37013192
    37023193
    3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     3194{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
    37043195$as_echo_n "checking for egrep... " >&6; }
    3705 if ${ac_cv_path_EGREP+:} false; then :
     3196if test "${ac_cv_path_EGREP+set}" = set; then
    37063197  $as_echo_n "(cached) " >&6
    37073198else
     
    37173208  IFS=$as_save_IFS
    37183209  test -z "$as_dir" && as_dir=.
    3719     for ac_prog in egrep; do
     3210  for ac_prog in egrep; do
    37203211    for ac_exec_ext in '' $ac_executable_extensions; do
    37213212      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     
    37373228    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    37383229    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3739     as_fn_arith $ac_count + 1 && ac_count=$as_val
     3230    ac_count=`expr $ac_count + 1`
    37403231    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    37413232      # Best one so far, save it but keep looking for a better one
     
    37523243    done
    37533244  done
    3754   done
     3245done
    37553246IFS=$as_save_IFS
    37563247  if test -z "$ac_cv_path_EGREP"; then
    3757     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3248    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3249$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3250   { (exit 1); exit 1; }; }
    37583251  fi
    37593252else
     
    37633256   fi
    37643257fi
    3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     3258{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    37663259$as_echo "$ac_cv_path_EGREP" >&6; }
    37673260 EGREP="$ac_cv_path_EGREP"
    37683261
    37693262
    3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     3263{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    37713264$as_echo_n "checking for ANSI C header files... " >&6; }
    3772 if ${ac_cv_header_stdc+:} false; then :
     3265if test "${ac_cv_header_stdc+set}" = set; then
    37733266  $as_echo_n "(cached) " >&6
    37743267else
    3775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3268  cat >conftest.$ac_ext <<_ACEOF
     3269/* confdefs.h.  */
     3270_ACEOF
     3271cat confdefs.h >>conftest.$ac_ext
     3272cat >>conftest.$ac_ext <<_ACEOF
    37763273/* end confdefs.h.  */
    37773274#include <stdlib.h>
     
    37883285}
    37893286_ACEOF
    3790 if ac_fn_c_try_compile "$LINENO"; then :
     3287rm -f conftest.$ac_objext
     3288if { (ac_try="$ac_compile"
     3289case "(($ac_try" in
     3290  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3291  *) ac_try_echo=$ac_try;;
     3292esac
     3293eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3294$as_echo "$ac_try_echo") >&5
     3295  (eval "$ac_compile") 2>conftest.er1
     3296  ac_status=$?
     3297  grep -v '^ *+' conftest.er1 >conftest.err
     3298  rm -f conftest.er1
     3299  cat conftest.err >&5
     3300  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3301  (exit $ac_status); } && {
     3302         test -z "$ac_c_werror_flag" ||
     3303         test ! -s conftest.err
     3304       } && test -s conftest.$ac_objext; then
    37913305  ac_cv_header_stdc=yes
    37923306else
    3793   ac_cv_header_stdc=no
    3794 fi
     3307  $as_echo "$as_me: failed program was:" >&5
     3308sed 's/^/| /' conftest.$ac_ext >&5
     3309
     3310        ac_cv_header_stdc=no
     3311fi
     3312
    37953313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    37963314
    37973315if test $ac_cv_header_stdc = yes; then
    37983316  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3317  cat >conftest.$ac_ext <<_ACEOF
     3318/* confdefs.h.  */
     3319_ACEOF
     3320cat confdefs.h >>conftest.$ac_ext
     3321cat >>conftest.$ac_ext <<_ACEOF
    38003322/* end confdefs.h.  */
    38013323#include <string.h>
     
    38033325_ACEOF
    38043326if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3805   $EGREP "memchr" >/dev/null 2>&1; then :
    3806 
     3327  $EGREP "memchr" >/dev/null 2>&1; then
     3328  :
    38073329else
    38083330  ac_cv_header_stdc=no
     
    38143336if test $ac_cv_header_stdc = yes; then
    38153337  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3338  cat >conftest.$ac_ext <<_ACEOF
     3339/* confdefs.h.  */
     3340_ACEOF
     3341cat confdefs.h >>conftest.$ac_ext
     3342cat >>conftest.$ac_ext <<_ACEOF
    38173343/* end confdefs.h.  */
    38183344#include <stdlib.h>
     
    38203346_ACEOF
    38213347if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3822   $EGREP "free" >/dev/null 2>&1; then :
    3823 
     3348  $EGREP "free" >/dev/null 2>&1; then
     3349  :
    38243350else
    38253351  ac_cv_header_stdc=no
     
    38313357if test $ac_cv_header_stdc = yes; then
    38323358  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3833   if test "$cross_compiling" = yes; then :
     3359  if test "$cross_compiling" = yes; then
    38343360  :
    38353361else
    3836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3362  cat >conftest.$ac_ext <<_ACEOF
     3363/* confdefs.h.  */
     3364_ACEOF
     3365cat confdefs.h >>conftest.$ac_ext
     3366cat >>conftest.$ac_ext <<_ACEOF
    38373367/* end confdefs.h.  */
    38383368#include <ctype.h>
     
    38613391}
    38623392_ACEOF
    3863 if ac_fn_c_try_run "$LINENO"; then :
    3864 
    3865 else
    3866   ac_cv_header_stdc=no
    3867 fi
    3868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    3869   conftest.$ac_objext conftest.beam conftest.$ac_ext
    3870 fi
    3871 
    3872 fi
    3873 fi
    3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     3393rm -f conftest$ac_exeext
     3394if { (ac_try="$ac_link"
     3395case "(($ac_try" in
     3396  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3397  *) ac_try_echo=$ac_try;;
     3398esac
     3399eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3400$as_echo "$ac_try_echo") >&5
     3401  (eval "$ac_link") 2>&5
     3402  ac_status=$?
     3403  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3404  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     3405  { (case "(($ac_try" in
     3406  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3407  *) ac_try_echo=$ac_try;;
     3408esac
     3409eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3410$as_echo "$ac_try_echo") >&5
     3411  (eval "$ac_try") 2>&5
     3412  ac_status=$?
     3413  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3414  (exit $ac_status); }; }; then
     3415  :
     3416else
     3417  $as_echo "$as_me: program exited with status $ac_status" >&5
     3418$as_echo "$as_me: failed program was:" >&5
     3419sed 's/^/| /' conftest.$ac_ext >&5
     3420
     3421( exit $ac_status )
     3422ac_cv_header_stdc=no
     3423fi
     3424rm -rf conftest.dSYM
     3425rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3426fi
     3427
     3428
     3429fi
     3430fi
     3431{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    38753432$as_echo "$ac_cv_header_stdc" >&6; }
    38763433if test $ac_cv_header_stdc = yes; then
    38773434
    3878 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
     3435cat >>confdefs.h <<\_ACEOF
     3436#define STDC_HEADERS 1
     3437_ACEOF
    38793438
    38803439fi
    38813440
    38823441# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     3442
     3443
     3444
     3445
     3446
     3447
     3448
     3449
     3450
    38833451for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    38843452                  inttypes.h stdint.h unistd.h
    3885 do :
    3886   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3887 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
    3888 "
    3889 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     3453do
     3454as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3455{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     3456$as_echo_n "checking for $ac_header... " >&6; }
     3457if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3458  $as_echo_n "(cached) " >&6
     3459else
     3460  cat >conftest.$ac_ext <<_ACEOF
     3461/* confdefs.h.  */
     3462_ACEOF
     3463cat confdefs.h >>conftest.$ac_ext
     3464cat >>conftest.$ac_ext <<_ACEOF
     3465/* end confdefs.h.  */
     3466$ac_includes_default
     3467
     3468#include <$ac_header>
     3469_ACEOF
     3470rm -f conftest.$ac_objext
     3471if { (ac_try="$ac_compile"
     3472case "(($ac_try" in
     3473  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3474  *) ac_try_echo=$ac_try;;
     3475esac
     3476eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3477$as_echo "$ac_try_echo") >&5
     3478  (eval "$ac_compile") 2>conftest.er1
     3479  ac_status=$?
     3480  grep -v '^ *+' conftest.er1 >conftest.err
     3481  rm -f conftest.er1
     3482  cat conftest.err >&5
     3483  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3484  (exit $ac_status); } && {
     3485         test -z "$ac_c_werror_flag" ||
     3486         test ! -s conftest.err
     3487       } && test -s conftest.$ac_objext; then
     3488  eval "$as_ac_Header=yes"
     3489else
     3490  $as_echo "$as_me: failed program was:" >&5
     3491sed 's/^/| /' conftest.$ac_ext >&5
     3492
     3493        eval "$as_ac_Header=no"
     3494fi
     3495
     3496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3497fi
     3498ac_res=`eval 'as_val=${'$as_ac_Header'}
     3499                 $as_echo "$as_val"'`
     3500               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     3501$as_echo "$ac_res" >&6; }
     3502as_val=`eval 'as_val=${'$as_ac_Header'}
     3503                 $as_echo "$as_val"'`
     3504   if test "x$as_val" = x""yes; then
    38903505  cat >>confdefs.h <<_ACEOF
    38913506#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    39123527
    39133528# Check whether --with-python was given.
    3914 if test "${with_python+set}" = set; then :
     3529if test "${with_python+set}" = set; then
    39153530  withval=$with_python;
    39163531else
     
    39233538    # 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.
    39243539set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
    3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3540{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    39263541$as_echo_n "checking for $ac_word... " >&6; }
    3927 if ${ac_cv_path_PYTHON+:} false; then :
     3542if test "${ac_cv_path_PYTHON+set}" = set; then
    39283543  $as_echo_n "(cached) " >&6
    39293544else
     
    39383553  IFS=$as_save_IFS
    39393554  test -z "$as_dir" && as_dir=.
    3940     for ac_exec_ext in '' $ac_executable_extensions; do
     3555  for ac_exec_ext in '' $ac_executable_extensions; do
    39413556  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    39423557    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3558    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    39443559    break 2
    39453560  fi
    39463561done
    3947   done
     3562done
    39483563IFS=$as_save_IFS
    39493564
     
    39533568PYTHON=$ac_cv_path_PYTHON
    39543569if test -n "$PYTHON"; then
    3955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
     3570  { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
    39563571$as_echo "$PYTHON" >&6; }
    39573572else
    3958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3573  { $as_echo "$as_me:$LINENO: result: no" >&5
    39593574$as_echo "no" >&6; }
    39603575fi
     
    39643579    # Extract the first word of "python", so it can be a program name with args.
    39653580set dummy python; ac_word=$2
    3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3581{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    39673582$as_echo_n "checking for $ac_word... " >&6; }
    3968 if ${ac_cv_path_PYTHON+:} false; then :
     3583if test "${ac_cv_path_PYTHON+set}" = set; then
    39693584  $as_echo_n "(cached) " >&6
    39703585else
     
    39803595  IFS=$as_save_IFS
    39813596  test -z "$as_dir" && as_dir=.
    3982     for ac_exec_ext in '' $ac_executable_extensions; do
     3597  for ac_exec_ext in '' $ac_executable_extensions; do
    39833598  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    39843599    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3600    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    39863601    break 2
    39873602  fi
    39883603done
    3989   done
     3604done
    39903605IFS=$as_save_IFS
    39913606
     
    39953610PYTHON=$ac_cv_path_PYTHON
    39963611if test -n "$PYTHON"; then
    3997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
     3612  { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
    39983613$as_echo "$PYTHON" >&6; }
    39993614else
    4000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3615  { $as_echo "$as_me:$LINENO: result: no" >&5
    40013616$as_echo "no" >&6; }
    40023617fi
     
    40043619
    40053620  fi
    4006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
     3621  { $as_echo "$as_me:$LINENO: checking for Python version" >&5
    40073622$as_echo_n "checking for Python version... " >&6; }
    40083623  if test "x${PYTHON}" != "x"; then
    40093624    PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
    40103625  fi
    4011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
     3626  { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5
    40123627$as_echo "$PYTHON_VERSION" >&6; }
    40133628fi
     
    40153630if test "x${PYTHON_VERSION}" != "x"; then
    40163631  PYTHON_INCLUDES=$incdir
    4017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
     3632  { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5
    40183633$as_echo_n "checking for Python distutils... " >&6; }
    40193634  PYTHON_DISTUTILS=""
     
    40233638    PYTHON_DISTUTILS="yes"
    40243639  fi
    4025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
     3640  { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5
    40263641$as_echo "$PYTHON_DISTUTILS" >&6; }
    40273642  if test "${PYTHON_DISTUTILS}" = "yes" ; then
     
    40303645    # Check for Python include path
    40313646    #
    4032     { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
     3647    { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5
    40333648$as_echo_n "checking path to Python headers... " >&6; }
    40343649    PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \
    40353650     print distutils.sysconfig.get_python_inc();"`
    4036     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5
     3651    { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5
    40373652$as_echo "$PYTHON_INCDIR" >&6; }
    40383653    #
     
    40473662    save_CPPFLAGS=$CPPFLAGS
    40483663    CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"
    4049     for ac_header in Python.h
    4050 do :
    4051   ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
    4052 if test "x$ac_cv_header_Python_h" = xyes; then :
     3664
     3665for ac_header in Python.h
     3666do
     3667as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3668if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3669  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     3670$as_echo_n "checking for $ac_header... " >&6; }
     3671if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3672  $as_echo_n "(cached) " >&6
     3673fi
     3674ac_res=`eval 'as_val=${'$as_ac_Header'}
     3675                 $as_echo "$as_val"'`
     3676               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     3677$as_echo "$ac_res" >&6; }
     3678else
     3679  # Is the header compilable?
     3680{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     3681$as_echo_n "checking $ac_header usability... " >&6; }
     3682cat >conftest.$ac_ext <<_ACEOF
     3683/* confdefs.h.  */
     3684_ACEOF
     3685cat confdefs.h >>conftest.$ac_ext
     3686cat >>conftest.$ac_ext <<_ACEOF
     3687/* end confdefs.h.  */
     3688$ac_includes_default
     3689#include <$ac_header>
     3690_ACEOF
     3691rm -f conftest.$ac_objext
     3692if { (ac_try="$ac_compile"
     3693case "(($ac_try" in
     3694  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3695  *) ac_try_echo=$ac_try;;
     3696esac
     3697eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3698$as_echo "$ac_try_echo") >&5
     3699  (eval "$ac_compile") 2>conftest.er1
     3700  ac_status=$?
     3701  grep -v '^ *+' conftest.er1 >conftest.err
     3702  rm -f conftest.er1
     3703  cat conftest.err >&5
     3704  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3705  (exit $ac_status); } && {
     3706         test -z "$ac_c_werror_flag" ||
     3707         test ! -s conftest.err
     3708       } && test -s conftest.$ac_objext; then
     3709  ac_header_compiler=yes
     3710else
     3711  $as_echo "$as_me: failed program was:" >&5
     3712sed 's/^/| /' conftest.$ac_ext >&5
     3713
     3714        ac_header_compiler=no
     3715fi
     3716
     3717rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3718{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     3719$as_echo "$ac_header_compiler" >&6; }
     3720
     3721# Is the header present?
     3722{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     3723$as_echo_n "checking $ac_header presence... " >&6; }
     3724cat >conftest.$ac_ext <<_ACEOF
     3725/* confdefs.h.  */
     3726_ACEOF
     3727cat confdefs.h >>conftest.$ac_ext
     3728cat >>conftest.$ac_ext <<_ACEOF
     3729/* end confdefs.h.  */
     3730#include <$ac_header>
     3731_ACEOF
     3732if { (ac_try="$ac_cpp conftest.$ac_ext"
     3733case "(($ac_try" in
     3734  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3735  *) ac_try_echo=$ac_try;;
     3736esac
     3737eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3738$as_echo "$ac_try_echo") >&5
     3739  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3740  ac_status=$?
     3741  grep -v '^ *+' conftest.er1 >conftest.err
     3742  rm -f conftest.er1
     3743  cat conftest.err >&5
     3744  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3745  (exit $ac_status); } >/dev/null && {
     3746         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3747         test ! -s conftest.err
     3748       }; then
     3749  ac_header_preproc=yes
     3750else
     3751  $as_echo "$as_me: failed program was:" >&5
     3752sed 's/^/| /' conftest.$ac_ext >&5
     3753
     3754  ac_header_preproc=no
     3755fi
     3756
     3757rm -f conftest.err conftest.$ac_ext
     3758{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     3759$as_echo "$ac_header_preproc" >&6; }
     3760
     3761# So?  What about this header?
     3762case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     3763  yes:no: )
     3764    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     3765$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     3766    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     3767$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     3768    ac_header_preproc=yes
     3769    ;;
     3770  no:yes:* )
     3771    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     3772$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     3773    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     3774$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     3775    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     3776$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     3777    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     3778$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     3779    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     3780$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     3781    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     3782$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     3783    ( cat <<\_ASBOX
     3784## ----------------------------------- ##
     3785## Report this to rappture@nanohub.org ##
     3786## ----------------------------------- ##
     3787_ASBOX
     3788     ) | sed "s/^/$as_me: WARNING:     /" >&2
     3789    ;;
     3790esac
     3791{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     3792$as_echo_n "checking for $ac_header... " >&6; }
     3793if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3794  $as_echo_n "(cached) " >&6
     3795else
     3796  eval "$as_ac_Header=\$ac_header_preproc"
     3797fi
     3798ac_res=`eval 'as_val=${'$as_ac_Header'}
     3799                 $as_echo "$as_val"'`
     3800               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     3801$as_echo "$ac_res" >&6; }
     3802
     3803fi
     3804as_val=`eval 'as_val=${'$as_ac_Header'}
     3805                 $as_echo "$as_val"'`
     3806   if test "x$as_val" = x""yes; then
    40533807  cat >>confdefs.h <<_ACEOF
    4054 #define HAVE_PYTHON_H 1
     3808#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    40553809_ACEOF
    40563810 found=yes
     
    40963850  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    40973851set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3852{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    40993853$as_echo_n "checking for $ac_word... " >&6; }
    4100 if ${ac_cv_prog_RANLIB+:} false; then :
     3854if test "${ac_cv_prog_RANLIB+set}" = set; then
    41013855  $as_echo_n "(cached) " >&6
    41023856else
     
    41093863  IFS=$as_save_IFS
    41103864  test -z "$as_dir" && as_dir=.
    4111     for ac_exec_ext in '' $ac_executable_extensions; do
     3865  for ac_exec_ext in '' $ac_executable_extensions; do
    41123866  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    41133867    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    4114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3868    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    41153869    break 2
    41163870  fi
    41173871done
    4118   done
     3872done
    41193873IFS=$as_save_IFS
    41203874
     
    41233877RANLIB=$ac_cv_prog_RANLIB
    41243878if test -n "$RANLIB"; then
    4125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     3879  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    41263880$as_echo "$RANLIB" >&6; }
    41273881else
    4128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3882  { $as_echo "$as_me:$LINENO: result: no" >&5
    41293883$as_echo "no" >&6; }
    41303884fi
     
    41363890  # Extract the first word of "ranlib", so it can be a program name with args.
    41373891set dummy ranlib; ac_word=$2
    4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3892{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    41393893$as_echo_n "checking for $ac_word... " >&6; }
    4140 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     3894if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    41413895  $as_echo_n "(cached) " >&6
    41423896else
     
    41493903  IFS=$as_save_IFS
    41503904  test -z "$as_dir" && as_dir=.
    4151     for ac_exec_ext in '' $ac_executable_extensions; do
     3905  for ac_exec_ext in '' $ac_executable_extensions; do
    41523906  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    41533907    ac_cv_prog_ac_ct_RANLIB="ranlib"
    4154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3908    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    41553909    break 2
    41563910  fi
    41573911done
    4158   done
     3912done
    41593913IFS=$as_save_IFS
    41603914
     
    41633917ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    41643918if test -n "$ac_ct_RANLIB"; then
    4165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     3919  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    41663920$as_echo "$ac_ct_RANLIB" >&6; }
    41673921else
    4168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3922  { $as_echo "$as_me:$LINENO: result: no" >&5
    41693923$as_echo "no" >&6; }
    41703924fi
     
    41753929    case $cross_compiling:$ac_tool_warned in
    41763930yes:)
    4177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3931{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    41783932$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    41793933ac_tool_warned=yes ;;
     
    41893943    # Step 0.a: Enable 64 bit support?
    41903944
    4191     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
     3945    { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
    41923946$as_echo_n "checking if 64bit support is requested... " >&6; }
    41933947    # Check whether --enable-64bit was given.
    4194 if test "${enable_64bit+set}" = set; then :
     3948if test "${enable_64bit+set}" = set; then
    41953949  enableval=$enable_64bit; do64bit=$enableval
    41963950else
     
    41983952fi
    41993953
    4200     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
     3954    { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
    42013955$as_echo "$do64bit" >&6; }
    42023956
    42033957    # Step 0.b: Enable Solaris 64 bit VIS support?
    42043958
    4205     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
     3959    { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
    42063960$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    42073961    # Check whether --enable-64bit-vis was given.
    4208 if test "${enable_64bit_vis+set}" = set; then :
     3962if test "${enable_64bit_vis+set}" = set; then
    42093963  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    42103964else
     
    42123966fi
    42133967
    4214     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
     3968    { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
    42153969$as_echo "$do64bitVIS" >&6; }
    42163970
     
    42243978
    42253979
    4226     { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
     3980    { $as_echo "$as_me:$LINENO: checking system version" >&5
    42273981$as_echo_n "checking system version... " >&6; }
    4228 if ${tcl_cv_sys_version+:} false; then :
     3982if test "${tcl_cv_sys_version+set}" = set; then
    42293983  $as_echo_n "(cached) " >&6
    42303984else
     
    42353989            tcl_cv_sys_version=`uname -s`-`uname -r`
    42363990            if test "$?" -ne 0 ; then
    4237                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
     3991                { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
    42383992$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    42393993                tcl_cv_sys_version=unknown
     
    42524006
    42534007fi
    4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
     4008{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
    42554009$as_echo "$tcl_cv_sys_version" >&6; }
    42564010    system=$tcl_cv_sys_version
     
    42604014    # Linux can use either -ldl or -ldld for dynamic loading.
    42614015
    4262     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     4016    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    42634017$as_echo_n "checking for dlopen in -ldl... " >&6; }
    4264 if ${ac_cv_lib_dl_dlopen+:} false; then :
     4018if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    42654019  $as_echo_n "(cached) " >&6
    42664020else
    42674021  ac_check_lib_save_LIBS=$LIBS
    42684022LIBS="-ldl  $LIBS"
    4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4023cat >conftest.$ac_ext <<_ACEOF
     4024/* confdefs.h.  */
     4025_ACEOF
     4026cat confdefs.h >>conftest.$ac_ext
     4027cat >>conftest.$ac_ext <<_ACEOF
    42704028/* end confdefs.h.  */
    42714029
     
    42854043}
    42864044_ACEOF
    4287 if ac_fn_c_try_link "$LINENO"; then :
     4045rm -f conftest.$ac_objext conftest$ac_exeext
     4046if { (ac_try="$ac_link"
     4047case "(($ac_try" in
     4048  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4049  *) ac_try_echo=$ac_try;;
     4050esac
     4051eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4052$as_echo "$ac_try_echo") >&5
     4053  (eval "$ac_link") 2>conftest.er1
     4054  ac_status=$?
     4055  grep -v '^ *+' conftest.er1 >conftest.err
     4056  rm -f conftest.er1
     4057  cat conftest.err >&5
     4058  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4059  (exit $ac_status); } && {
     4060         test -z "$ac_c_werror_flag" ||
     4061         test ! -s conftest.err
     4062       } && test -s conftest$ac_exeext && {
     4063         test "$cross_compiling" = yes ||
     4064         $as_test_x conftest$ac_exeext
     4065       }; then
    42884066  ac_cv_lib_dl_dlopen=yes
    42894067else
    4290   ac_cv_lib_dl_dlopen=no
    4291 fi
    4292 rm -f core conftest.err conftest.$ac_objext \
    4293     conftest$ac_exeext conftest.$ac_ext
     4068  $as_echo "$as_me: failed program was:" >&5
     4069sed 's/^/| /' conftest.$ac_ext >&5
     4070
     4071        ac_cv_lib_dl_dlopen=no
     4072fi
     4073
     4074rm -rf conftest.dSYM
     4075rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4076      conftest$ac_exeext conftest.$ac_ext
    42944077LIBS=$ac_check_lib_save_LIBS
    42954078fi
    4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     4079{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    42974080$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    4298 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
     4081if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
    42994082  have_dl=yes
    43004083else
     
    43284111    # Extract the first word of "ar", so it can be a program name with args.
    43294112set dummy ar; ac_word=$2
    4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4113{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    43314114$as_echo_n "checking for $ac_word... " >&6; }
    4332 if ${ac_cv_prog_AR+:} false; then :
     4115if test "${ac_cv_prog_AR+set}" = set; then
    43334116  $as_echo_n "(cached) " >&6
    43344117else
     
    43414124  IFS=$as_save_IFS
    43424125  test -z "$as_dir" && as_dir=.
    4343     for ac_exec_ext in '' $ac_executable_extensions; do
     4126  for ac_exec_ext in '' $ac_executable_extensions; do
    43444127  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    43454128    ac_cv_prog_AR="ar"
    4346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4129    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    43474130    break 2
    43484131  fi
    43494132done
    4350   done
     4133done
    43514134IFS=$as_save_IFS
    43524135
     
    43554138AR=$ac_cv_prog_AR
    43564139if test -n "$AR"; then
    4357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     4140  { $as_echo "$as_me:$LINENO: result: $AR" >&5
    43584141$as_echo "$AR" >&6; }
    43594142else
    4360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4143  { $as_echo "$as_me:$LINENO: result: no" >&5
    43614144$as_echo "no" >&6; }
    43624145fi
     
    43644147
    43654148    if test "${AR}" = "" ; then
    4366         as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
     4149        { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
     4150$as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
     4151   { (exit 1); exit 1; }; }
    43674152    fi
    43684153    STLIB_LD='${AR} cr'
     
    43824167                        ;;
    43834168                esac
    4384                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
     4169                { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
    43854170$as_echo "Using $CC for compiling with threads" >&6; }
    43864171            fi
     
    43984183            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    43994184                if test "$GCC" = "yes" ; then
    4400                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     4185                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    44014186$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    44024187                else
     
    44534238            # known GMT value.
    44544239
    4455             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
     4240            { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
    44564241$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    4457 if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
     4242if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
    44584243  $as_echo_n "(cached) " >&6
    44594244else
    44604245  ac_check_lib_save_LIBS=$LIBS
    44614246LIBS="-lbsd  $LIBS"
    4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4247cat >conftest.$ac_ext <<_ACEOF
     4248/* confdefs.h.  */
     4249_ACEOF
     4250cat confdefs.h >>conftest.$ac_ext
     4251cat >>conftest.$ac_ext <<_ACEOF
    44634252/* end confdefs.h.  */
    44644253
     
    44784267}
    44794268_ACEOF
    4480 if ac_fn_c_try_link "$LINENO"; then :
     4269rm -f conftest.$ac_objext conftest$ac_exeext
     4270if { (ac_try="$ac_link"
     4271case "(($ac_try" in
     4272  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4273  *) ac_try_echo=$ac_try;;
     4274esac
     4275eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4276$as_echo "$ac_try_echo") >&5
     4277  (eval "$ac_link") 2>conftest.er1
     4278  ac_status=$?
     4279  grep -v '^ *+' conftest.er1 >conftest.err
     4280  rm -f conftest.er1
     4281  cat conftest.err >&5
     4282  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4283  (exit $ac_status); } && {
     4284         test -z "$ac_c_werror_flag" ||
     4285         test ! -s conftest.err
     4286       } && test -s conftest$ac_exeext && {
     4287         test "$cross_compiling" = yes ||
     4288         $as_test_x conftest$ac_exeext
     4289       }; then
    44814290  ac_cv_lib_bsd_gettimeofday=yes
    44824291else
    4483   ac_cv_lib_bsd_gettimeofday=no
    4484 fi
    4485 rm -f core conftest.err conftest.$ac_objext \
    4486     conftest$ac_exeext conftest.$ac_ext
     4292  $as_echo "$as_me: failed program was:" >&5
     4293sed 's/^/| /' conftest.$ac_ext >&5
     4294
     4295        ac_cv_lib_bsd_gettimeofday=no
     4296fi
     4297
     4298rm -rf conftest.dSYM
     4299rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4300      conftest$ac_exeext conftest.$ac_ext
    44874301LIBS=$ac_check_lib_save_LIBS
    44884302fi
    4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
     4303{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
    44904304$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    4491 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
     4305if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
    44924306  libbsd=yes
    44934307else
     
    44974311            if test $libbsd = yes; then
    44984312                MATH_LIBS="$MATH_LIBS -lbsd"
    4499                 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
     4313                cat >>confdefs.h <<\_ACEOF
     4314#define USE_DELTA_FOR_TZ 1
     4315_ACEOF
    45004316
    45014317            fi
     
    45144330            # is always linked to, for compatibility.
    45154331            #-----------------------------------------------------------
    4516             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
     4332            { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
    45174333$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    4518 if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
     4334if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
    45194335  $as_echo_n "(cached) " >&6
    45204336else
    45214337  ac_check_lib_save_LIBS=$LIBS
    45224338LIBS="-lbind  $LIBS"
    4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4339cat >conftest.$ac_ext <<_ACEOF
     4340/* confdefs.h.  */
     4341_ACEOF
     4342cat confdefs.h >>conftest.$ac_ext
     4343cat >>conftest.$ac_ext <<_ACEOF
    45244344/* end confdefs.h.  */
    45254345
     
    45394359}
    45404360_ACEOF
    4541 if ac_fn_c_try_link "$LINENO"; then :
     4361rm -f conftest.$ac_objext conftest$ac_exeext
     4362if { (ac_try="$ac_link"
     4363case "(($ac_try" in
     4364  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4365  *) ac_try_echo=$ac_try;;
     4366esac
     4367eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4368$as_echo "$ac_try_echo") >&5
     4369  (eval "$ac_link") 2>conftest.er1
     4370  ac_status=$?
     4371  grep -v '^ *+' conftest.er1 >conftest.err
     4372  rm -f conftest.er1
     4373  cat conftest.err >&5
     4374  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4375  (exit $ac_status); } && {
     4376         test -z "$ac_c_werror_flag" ||
     4377         test ! -s conftest.err
     4378       } && test -s conftest$ac_exeext && {
     4379         test "$cross_compiling" = yes ||
     4380         $as_test_x conftest$ac_exeext
     4381       }; then
    45424382  ac_cv_lib_bind_inet_ntoa=yes
    45434383else
    4544   ac_cv_lib_bind_inet_ntoa=no
    4545 fi
    4546 rm -f core conftest.err conftest.$ac_objext \
    4547     conftest$ac_exeext conftest.$ac_ext
     4384  $as_echo "$as_me: failed program was:" >&5
     4385sed 's/^/| /' conftest.$ac_ext >&5
     4386
     4387        ac_cv_lib_bind_inet_ntoa=no
     4388fi
     4389
     4390rm -rf conftest.dSYM
     4391rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4392      conftest$ac_exeext conftest.$ac_ext
    45484393LIBS=$ac_check_lib_save_LIBS
    45494394fi
    4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
     4395{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
    45514396$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    4552 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
     4397if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
    45534398  LIBS="$LIBS -lbind -lsocket"
    45544399fi
     
    45884433        HP-UX-*.11.*)
    45894434            # Use updated header definitions where possible
    4590             $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
     4435            cat >>confdefs.h <<\_ACEOF
     4436#define _XOPEN_SOURCE 1
     4437_ACEOF
    45914438          # Use the XOPEN network library
    4592             $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
     4439            cat >>confdefs.h <<\_ACEOF
     4440#define _XOPEN_SOURCE_EXTENDED 1
     4441_ACEOF
    45934442 # Use the XOPEN network library
    45944443            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    45994448                SHLIB_SUFFIX=".sl"