configure
上传用户:huihehuasu
上传日期:2007-01-10
资源大小:6948k
文件大小:51k
源码类别:

xml/soap/webservice

开发平台:

C/C++

  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated automatically using autoconf version 2.13
  4. # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  5. #
  6. # This configure script is free software; the Free Software Foundation
  7. # gives unlimited permission to copy, distribute and modify it.
  8. # Defaults:
  9. ac_help=
  10. ac_default_prefix=/usr/local
  11. # Any additions from configure.in:
  12. # Initialize some variables set by options.
  13. # The variables have the same names as the options, with
  14. # dashes changed to underlines.
  15. build=NONE
  16. cache_file=./config.cache
  17. exec_prefix=NONE
  18. host=NONE
  19. no_create=
  20. nonopt=NONE
  21. no_recursion=
  22. prefix=NONE
  23. program_prefix=NONE
  24. program_suffix=NONE
  25. program_transform_name=s,x,x,
  26. silent=
  27. site=
  28. srcdir=
  29. target=NONE
  30. verbose=
  31. x_includes=NONE
  32. x_libraries=NONE
  33. bindir='${exec_prefix}/bin'
  34. sbindir='${exec_prefix}/sbin'
  35. libexecdir='${exec_prefix}/libexec'
  36. datadir='${prefix}/share'
  37. sysconfdir='${prefix}/etc'
  38. sharedstatedir='${prefix}/com'
  39. localstatedir='${prefix}/var'
  40. libdir='${exec_prefix}/lib'
  41. includedir='${prefix}/include'
  42. oldincludedir='/usr/include'
  43. infodir='${prefix}/info'
  44. mandir='${prefix}/man'
  45. # Initialize some other variables.
  46. subdirs=
  47. MFLAGS= MAKEFLAGS=
  48. SHELL=${CONFIG_SHELL-/bin/sh}
  49. # Maximum number of lines to put in a shell here document.
  50. ac_max_here_lines=12
  51. ac_prev=
  52. for ac_option
  53. do
  54.   # If the previous option needs an argument, assign it.
  55.   if test -n "$ac_prev"; then
  56.     eval "$ac_prev=$ac_option"
  57.     ac_prev=
  58.     continue
  59.   fi
  60.   case "$ac_option" in
  61.   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  62.   *) ac_optarg= ;;
  63.   esac
  64.   # Accept the important Cygnus configure options, so we can diagnose typos.
  65.   case "$ac_option" in
  66.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  67.     ac_prev=bindir ;;
  68.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  69.     bindir="$ac_optarg" ;;
  70.   -build | --build | --buil | --bui | --bu)
  71.     ac_prev=build ;;
  72.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  73.     build="$ac_optarg" ;;
  74.   -cache-file | --cache-file | --cache-fil | --cache-fi 
  75.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  76.     ac_prev=cache_file ;;
  77.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* 
  78.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  79.     cache_file="$ac_optarg" ;;
  80.   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  81.     ac_prev=datadir ;;
  82.   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* 
  83.   | --da=*)
  84.     datadir="$ac_optarg" ;;
  85.   -disable-* | --disable-*)
  86.     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  87.     # Reject names that are not valid shell variable names.
  88.     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  89.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  90.     fi
  91.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  92.     eval "enable_${ac_feature}=no" ;;
  93.   -enable-* | --enable-*)
  94.     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  95.     # Reject names that are not valid shell variable names.
  96.     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  97.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  98.     fi
  99.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  100.     case "$ac_option" in
  101.       *=*) ;;
  102.       *) ac_optarg=yes ;;
  103.     esac
  104.     eval "enable_${ac_feature}='$ac_optarg'" ;;
  105.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi 
  106.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- 
  107.   | --exec | --exe | --ex)
  108.     ac_prev=exec_prefix ;;
  109.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* 
  110.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* 
  111.   | --exec=* | --exe=* | --ex=*)
  112.     exec_prefix="$ac_optarg" ;;
  113.   -gas | --gas | --ga | --g)
  114.     # Obsolete; use --with-gas.
  115.     with_gas=yes ;;
  116.   -help | --help | --hel | --he)
  117.     # Omit some internal or obsolete options to make the list less imposing.
  118.     # This message is too long to be a string in the A/UX 3.1 sh.
  119.     cat << EOF
  120. Usage: configure [options] [host]
  121. Options: [defaults in brackets after descriptions]
  122. Configuration:
  123.   --cache-file=FILE       cache test results in FILE
  124.   --help                  print this message
  125.   --no-create             do not create output files
  126.   --quiet, --silent       do not print `checking...' messages
  127.   --version               print the version of autoconf that created configure
  128. Directory and file names:
  129.   --prefix=PREFIX         install architecture-independent files in PREFIX
  130.                           [$ac_default_prefix]
  131.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  132.                           [same as prefix]
  133.   --bindir=DIR            user executables in DIR [EPREFIX/bin]
  134.   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  135.   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  136.   --datadir=DIR           read-only architecture-independent data in DIR
  137.                           [PREFIX/share]
  138.   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  139.   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  140.                           [PREFIX/com]
  141.   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  142.   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  143.   --includedir=DIR        C header files in DIR [PREFIX/include]
  144.   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  145.   --infodir=DIR           info documentation in DIR [PREFIX/info]
  146.   --mandir=DIR            man documentation in DIR [PREFIX/man]
  147.   --srcdir=DIR            find the sources in DIR [configure dir or ..]
  148.   --program-prefix=PREFIX prepend PREFIX to installed program names
  149.   --program-suffix=SUFFIX append SUFFIX to installed program names
  150.   --program-transform-name=PROGRAM
  151.                           run sed PROGRAM on installed program names
  152. EOF
  153.     cat << EOF
  154. Host type:
  155.   --build=BUILD           configure for building on BUILD [BUILD=HOST]
  156.   --host=HOST             configure for HOST [guessed]
  157.   --target=TARGET         configure for TARGET [TARGET=HOST]
  158. Features and packages:
  159.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  160.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  161.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  162.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  163.   --x-includes=DIR        X include files are in DIR
  164.   --x-libraries=DIR       X library files are in DIR
  165. EOF
  166.     if test -n "$ac_help"; then
  167.       echo "--enable and --with options recognized:$ac_help"
  168.     fi
  169.     exit 0 ;;
  170.   -host | --host | --hos | --ho)
  171.     ac_prev=host ;;
  172.   -host=* | --host=* | --hos=* | --ho=*)
  173.     host="$ac_optarg" ;;
  174.   -includedir | --includedir | --includedi | --included | --include 
  175.   | --includ | --inclu | --incl | --inc)
  176.     ac_prev=includedir ;;
  177.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* 
  178.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  179.     includedir="$ac_optarg" ;;
  180.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  181.     ac_prev=infodir ;;
  182.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  183.     infodir="$ac_optarg" ;;
  184.   -libdir | --libdir | --libdi | --libd)
  185.     ac_prev=libdir ;;
  186.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  187.     libdir="$ac_optarg" ;;
  188.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec 
  189.   | --libexe | --libex | --libe)
  190.     ac_prev=libexecdir ;;
  191.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* 
  192.   | --libexe=* | --libex=* | --libe=*)
  193.     libexecdir="$ac_optarg" ;;
  194.   -localstatedir | --localstatedir | --localstatedi | --localstated 
  195.   | --localstate | --localstat | --localsta | --localst 
  196.   | --locals | --local | --loca | --loc | --lo)
  197.     ac_prev=localstatedir ;;
  198.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* 
  199.   | --localstate=* | --localstat=* | --localsta=* | --localst=* 
  200.   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  201.     localstatedir="$ac_optarg" ;;
  202.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  203.     ac_prev=mandir ;;
  204.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  205.     mandir="$ac_optarg" ;;
  206.   -nfp | --nfp | --nf)
  207.     # Obsolete; use --without-fp.
  208.     with_fp=no ;;
  209.   -no-create | --no-create | --no-creat | --no-crea | --no-cre 
  210.   | --no-cr | --no-c)
  211.     no_create=yes ;;
  212.   -no-recursion | --no-recursion | --no-recursio | --no-recursi 
  213.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  214.     no_recursion=yes ;;
  215.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded 
  216.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc 
  217.   | --oldin | --oldi | --old | --ol | --o)
  218.     ac_prev=oldincludedir ;;
  219.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* 
  220.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* 
  221.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  222.     oldincludedir="$ac_optarg" ;;
  223.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  224.     ac_prev=prefix ;;
  225.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  226.     prefix="$ac_optarg" ;;
  227.   -program-prefix | --program-prefix | --program-prefi | --program-pref 
  228.   | --program-pre | --program-pr | --program-p)
  229.     ac_prev=program_prefix ;;
  230.   -program-prefix=* | --program-prefix=* | --program-prefi=* 
  231.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  232.     program_prefix="$ac_optarg" ;;
  233.   -program-suffix | --program-suffix | --program-suffi | --program-suff 
  234.   | --program-suf | --program-su | --program-s)
  235.     ac_prev=program_suffix ;;
  236.   -program-suffix=* | --program-suffix=* | --program-suffi=* 
  237.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  238.     program_suffix="$ac_optarg" ;;
  239.   -program-transform-name | --program-transform-name 
  240.   | --program-transform-nam | --program-transform-na 
  241.   | --program-transform-n | --program-transform- 
  242.   | --program-transform | --program-transfor 
  243.   | --program-transfo | --program-transf 
  244.   | --program-trans | --program-tran 
  245.   | --progr-tra | --program-tr | --program-t)
  246.     ac_prev=program_transform_name ;;
  247.   -program-transform-name=* | --program-transform-name=* 
  248.   | --program-transform-nam=* | --program-transform-na=* 
  249.   | --program-transform-n=* | --program-transform-=* 
  250.   | --program-transform=* | --program-transfor=* 
  251.   | --program-transfo=* | --program-transf=* 
  252.   | --program-trans=* | --program-tran=* 
  253.   | --progr-tra=* | --program-tr=* | --program-t=*)
  254.     program_transform_name="$ac_optarg" ;;
  255.   -q | -quiet | --quiet | --quie | --qui | --qu | --q 
  256.   | -silent | --silent | --silen | --sile | --sil)
  257.     silent=yes ;;
  258.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  259.     ac_prev=sbindir ;;
  260.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* 
  261.   | --sbi=* | --sb=*)
  262.     sbindir="$ac_optarg" ;;
  263.   -sharedstatedir | --sharedstatedir | --sharedstatedi 
  264.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta 
  265.   | --sharedst | --shareds | --shared | --share | --shar 
  266.   | --sha | --sh)
  267.     ac_prev=sharedstatedir ;;
  268.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* 
  269.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* 
  270.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* 
  271.   | --sha=* | --sh=*)
  272.     sharedstatedir="$ac_optarg" ;;
  273.   -site | --site | --sit)
  274.     ac_prev=site ;;
  275.   -site=* | --site=* | --sit=*)
  276.     site="$ac_optarg" ;;
  277.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  278.     ac_prev=srcdir ;;
  279.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  280.     srcdir="$ac_optarg" ;;
  281.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf 
  282.   | --syscon | --sysco | --sysc | --sys | --sy)
  283.     ac_prev=sysconfdir ;;
  284.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* 
  285.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  286.     sysconfdir="$ac_optarg" ;;
  287.   -target | --target | --targe | --targ | --tar | --ta | --t)
  288.     ac_prev=target ;;
  289.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  290.     target="$ac_optarg" ;;
  291.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  292.     verbose=yes ;;
  293.   -version | --version | --versio | --versi | --vers)
  294.     echo "configure generated by autoconf version 2.13"
  295.     exit 0 ;;
  296.   -with-* | --with-*)
  297.     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  298.     # Reject names that are not valid shell variable names.
  299.     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  300.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  301.     fi
  302.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  303.     case "$ac_option" in
  304.       *=*) ;;
  305.       *) ac_optarg=yes ;;
  306.     esac
  307.     eval "with_${ac_package}='$ac_optarg'" ;;
  308.   -without-* | --without-*)
  309.     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  310.     # Reject names that are not valid shell variable names.
  311.     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  312.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  313.     fi
  314.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  315.     eval "with_${ac_package}=no" ;;
  316.   --x)
  317.     # Obsolete; use --with-x.
  318.     with_x=yes ;;
  319.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu 
  320.   | --x-incl | --x-inc | --x-in | --x-i)
  321.     ac_prev=x_includes ;;
  322.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* 
  323.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  324.     x_includes="$ac_optarg" ;;
  325.   -x-libraries | --x-libraries | --x-librarie | --x-librari 
  326.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  327.     ac_prev=x_libraries ;;
  328.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* 
  329.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  330.     x_libraries="$ac_optarg" ;;
  331.   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  332.     ;;
  333.   *)
  334.     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  335.       echo "configure: warning: $ac_option: invalid host type" 1>&2
  336.     fi
  337.     if test "x$nonopt" != xNONE; then
  338.       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  339.     fi
  340.     nonopt="$ac_option"
  341.     ;;
  342.   esac
  343. done
  344. if test -n "$ac_prev"; then
  345.   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  346. fi
  347. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  348. # File descriptor usage:
  349. # 0 standard input
  350. # 1 file creation
  351. # 2 errors and warnings
  352. # 3 some systems may open it to /dev/tty
  353. # 4 used on the Kubota Titan
  354. # 6 checking for... messages and results
  355. # 5 compiler messages saved in config.log
  356. if test "$silent" = yes; then
  357.   exec 6>/dev/null
  358. else
  359.   exec 6>&1
  360. fi
  361. exec 5>./config.log
  362. echo "
  363. This file contains any messages produced by compilers while
  364. running configure, to aid debugging if configure makes a mistake.
  365. " 1>&5
  366. # Strip out --no-create and --no-recursion so they do not pile up.
  367. # Also quote any args containing shell metacharacters.
  368. ac_configure_args=
  369. for ac_arg
  370. do
  371.   case "$ac_arg" in
  372.   -no-create | --no-create | --no-creat | --no-crea | --no-cre 
  373.   | --no-cr | --no-c) ;;
  374.   -no-recursion | --no-recursion | --no-recursio | --no-recursi 
  375.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  376.   *" "*|*" "*|*[[]~#$^&*(){}\|;<>?]*)
  377.   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  378.   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  379.   esac
  380. done
  381. # NLS nuisances.
  382. # Only set these to C if already set.  These must not be set unconditionally
  383. # because not all systems understand e.g. LANG=C (notably SCO).
  384. # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
  385. # Non-C LC_CTYPE values break the ctype check.
  386. if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  387. if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  388. if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
  389. if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
  390. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  391. rm -rf conftest* confdefs.h
  392. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  393. echo > confdefs.h
  394. # A filename unique to this package, relative to the directory that
  395. # configure is in, which we can look for to find out if srcdir is correct.
  396. ac_unique_file=DOM/DOMTest/DTest.h
  397. # Find the source files, if location was not specified.
  398. if test -z "$srcdir"; then
  399.   ac_srcdir_defaulted=yes
  400.   # Try the directory containing this script, then its parent.
  401.   ac_prog=$0
  402.   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  403.   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  404.   srcdir=$ac_confdir
  405.   if test ! -r $srcdir/$ac_unique_file; then
  406.     srcdir=..
  407.   fi
  408. else
  409.   ac_srcdir_defaulted=no
  410. fi
  411. if test ! -r $srcdir/$ac_unique_file; then
  412.   if test "$ac_srcdir_defaulted" = yes; then
  413.     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  414.   else
  415.     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  416.   fi
  417. fi
  418. srcdir=`echo "${srcdir}" | sed 's%([^/])/*$%1%'`
  419. # Prefer explicitly selected file to automatically selected ones.
  420. if test -z "$CONFIG_SITE"; then
  421.   if test "x$prefix" != xNONE; then
  422.     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  423.   else
  424.     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  425.   fi
  426. fi
  427. for ac_site_file in $CONFIG_SITE; do
  428.   if test -r "$ac_site_file"; then
  429.     echo "loading site script $ac_site_file"
  430.     . "$ac_site_file"
  431.   fi
  432. done
  433. if test -r "$cache_file"; then
  434.   echo "loading cache $cache_file"
  435.   . $cache_file
  436. else
  437.   echo "creating cache $cache_file"
  438.   > $cache_file
  439. fi
  440. ac_ext=c
  441. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  442. ac_cpp='$CPP $CPPFLAGS'
  443. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  444. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  445. cross_compiling=$ac_cv_prog_cc_cross
  446. ac_exeext=
  447. ac_objext=o
  448. if (echo "testingc"; echo 1,2,3) | grep c >/dev/null; then
  449.   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  450.   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  451.     ac_n= ac_c='
  452. ' ac_t=' '
  453.   else
  454.     ac_n=-n ac_c= ac_t=
  455.   fi
  456. else
  457.   ac_n= ac_c='c' ac_t=
  458. fi
  459. # Extract the first word of "gcc", so it can be a program name with args.
  460. set dummy gcc; ac_word=$2
  461. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  462. echo "configure:529: checking for $ac_word" >&5
  463. if eval "test "`echo '$''{'ac_cv_prog_CC'+set}'`" = set"; then
  464.   echo $ac_n "(cached) $ac_c" 1>&6
  465. else
  466.   if test -n "$CC"; then
  467.   ac_cv_prog_CC="$CC" # Let the user override the test.
  468. else
  469.   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
  470.   ac_dummy="$PATH"
  471.   for ac_dir in $ac_dummy; do
  472.     test -z "$ac_dir" && ac_dir=.
  473.     if test -f $ac_dir/$ac_word; then
  474.       ac_cv_prog_CC="gcc"
  475.       break
  476.     fi
  477.   done
  478.   IFS="$ac_save_ifs"
  479. fi
  480. fi
  481. CC="$ac_cv_prog_CC"
  482. if test -n "$CC"; then
  483.   echo "$ac_t""$CC" 1>&6
  484. else
  485.   echo "$ac_t""no" 1>&6
  486. fi
  487. if test -z "$CC"; then
  488.   # Extract the first word of "cc", so it can be a program name with args.
  489. set dummy cc; ac_word=$2
  490. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  491. echo "configure:559: checking for $ac_word" >&5
  492. if eval "test "`echo '$''{'ac_cv_prog_CC'+set}'`" = set"; then
  493.   echo $ac_n "(cached) $ac_c" 1>&6
  494. else
  495.   if test -n "$CC"; then
  496.   ac_cv_prog_CC="$CC" # Let the user override the test.
  497. else
  498.   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
  499.   ac_prog_rejected=no
  500.   ac_dummy="$PATH"
  501.   for ac_dir in $ac_dummy; do
  502.     test -z "$ac_dir" && ac_dir=.
  503.     if test -f $ac_dir/$ac_word; then
  504.       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  505.         ac_prog_rejected=yes
  506. continue
  507.       fi
  508.       ac_cv_prog_CC="cc"
  509.       break
  510.     fi
  511.   done
  512.   IFS="$ac_save_ifs"
  513. if test $ac_prog_rejected = yes; then
  514.   # We found a bogon in the path, so make sure we never use it.
  515.   set dummy $ac_cv_prog_CC
  516.   shift
  517.   if test $# -gt 0; then
  518.     # We chose a different compiler from the bogus one.
  519.     # However, it has the same basename, so the bogon will be chosen
  520.     # first if we set CC to just the basename; use the full file name.
  521.     shift
  522.     set dummy "$ac_dir/$ac_word" "$@"
  523.     shift
  524.     ac_cv_prog_CC="$@"
  525.   fi
  526. fi
  527. fi
  528. fi
  529. CC="$ac_cv_prog_CC"
  530. if test -n "$CC"; then
  531.   echo "$ac_t""$CC" 1>&6
  532. else
  533.   echo "$ac_t""no" 1>&6
  534. fi
  535.   if test -z "$CC"; then
  536.     case "`uname -s`" in
  537.     *win32* | *WIN32*)
  538.       # Extract the first word of "cl", so it can be a program name with args.
  539. set dummy cl; ac_word=$2
  540. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  541. echo "configure:610: checking for $ac_word" >&5
  542. if eval "test "`echo '$''{'ac_cv_prog_CC'+set}'`" = set"; then
  543.   echo $ac_n "(cached) $ac_c" 1>&6
  544. else
  545.   if test -n "$CC"; then
  546.   ac_cv_prog_CC="$CC" # Let the user override the test.
  547. else
  548.   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
  549.   ac_dummy="$PATH"
  550.   for ac_dir in $ac_dummy; do
  551.     test -z "$ac_dir" && ac_dir=.
  552.     if test -f $ac_dir/$ac_word; then
  553.       ac_cv_prog_CC="cl"
  554.       break
  555.     fi
  556.   done
  557.   IFS="$ac_save_ifs"
  558. fi
  559. fi
  560. CC="$ac_cv_prog_CC"
  561. if test -n "$CC"; then
  562.   echo "$ac_t""$CC" 1>&6
  563. else
  564.   echo "$ac_t""no" 1>&6
  565. fi
  566.  ;;
  567.     esac
  568.   fi
  569.   test -z "$CC" && { echo "configure: error: no acceptable cc found in $PATH" 1>&2; exit 1; }
  570. fi
  571. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
  572. echo "configure:642: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  573. ac_ext=c
  574. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  575. ac_cpp='$CPP $CPPFLAGS'
  576. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  577. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  578. cross_compiling=$ac_cv_prog_cc_cross
  579. cat > conftest.$ac_ext << EOF
  580. #line 653 "configure"
  581. #include "confdefs.h"
  582. main(){return(0);}
  583. EOF
  584. if { (eval echo configure:658: "$ac_link") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  585.   ac_cv_prog_cc_works=yes
  586.   # If we can't run a trivial program, we are probably using a cross compiler.
  587.   if (./conftest; exit) 2>/dev/null; then
  588.     ac_cv_prog_cc_cross=no
  589.   else
  590.     ac_cv_prog_cc_cross=yes
  591.   fi
  592. else
  593.   echo "configure: failed program was:" >&5
  594.   cat conftest.$ac_ext >&5
  595.   ac_cv_prog_cc_works=no
  596. fi
  597. rm -fr conftest*
  598. ac_ext=c
  599. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  600. ac_cpp='$CPP $CPPFLAGS'
  601. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  602. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  603. cross_compiling=$ac_cv_prog_cc_cross
  604. echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
  605. if test $ac_cv_prog_cc_works = no; then
  606.   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
  607. fi
  608. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
  609. echo "configure:684: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  610. echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  611. cross_compiling=$ac_cv_prog_cc_cross
  612. echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  613. echo "configure:689: checking whether we are using GNU C" >&5
  614. if eval "test "`echo '$''{'ac_cv_prog_gcc'+set}'`" = set"; then
  615.   echo $ac_n "(cached) $ac_c" 1>&6
  616. else
  617.   cat > conftest.c <<EOF
  618. #ifdef __GNUC__
  619.   yes;
  620. #endif
  621. EOF
  622. if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:698: "$ac_try") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  623.   ac_cv_prog_gcc=yes
  624. else
  625.   ac_cv_prog_gcc=no
  626. fi
  627. fi
  628. echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  629. if test $ac_cv_prog_gcc = yes; then
  630.   GCC=yes
  631. else
  632.   GCC=
  633. fi
  634. ac_test_CFLAGS="${CFLAGS+set}"
  635. ac_save_CFLAGS="$CFLAGS"
  636. CFLAGS=
  637. echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  638. echo "configure:717: checking whether ${CC-cc} accepts -g" >&5
  639. if eval "test "`echo '$''{'ac_cv_prog_cc_g'+set}'`" = set"; then
  640.   echo $ac_n "(cached) $ac_c" 1>&6
  641. else
  642.   echo 'void f(){}' > conftest.c
  643. if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  644.   ac_cv_prog_cc_g=yes
  645. else
  646.   ac_cv_prog_cc_g=no
  647. fi
  648. rm -f conftest*
  649. fi
  650. echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
  651. if test "$ac_test_CFLAGS" = set; then
  652.   CFLAGS="$ac_save_CFLAGS"
  653. elif test $ac_cv_prog_cc_g = yes; then
  654.   if test "$GCC" = yes; then
  655.     CFLAGS="-g -O2"
  656.   else
  657.     CFLAGS="-g"
  658.   fi
  659. else
  660.   if test "$GCC" = yes; then
  661.     CFLAGS="-O2"
  662.   else
  663.     CFLAGS=
  664.   fi
  665. fi
  666. for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
  667. do
  668. # Extract the first word of "$ac_prog", so it can be a program name with args.
  669. set dummy $ac_prog; ac_word=$2
  670. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  671. echo "configure:753: checking for $ac_word" >&5
  672. if eval "test "`echo '$''{'ac_cv_prog_CXX'+set}'`" = set"; then
  673.   echo $ac_n "(cached) $ac_c" 1>&6
  674. else
  675.   if test -n "$CXX"; then
  676.   ac_cv_prog_CXX="$CXX" # Let the user override the test.
  677. else
  678.   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
  679.   ac_dummy="$PATH"
  680.   for ac_dir in $ac_dummy; do
  681.     test -z "$ac_dir" && ac_dir=.
  682.     if test -f $ac_dir/$ac_word; then
  683.       ac_cv_prog_CXX="$ac_prog"
  684.       break
  685.     fi
  686.   done
  687.   IFS="$ac_save_ifs"
  688. fi
  689. fi
  690. CXX="$ac_cv_prog_CXX"
  691. if test -n "$CXX"; then
  692.   echo "$ac_t""$CXX" 1>&6
  693. else
  694.   echo "$ac_t""no" 1>&6
  695. fi
  696. test -n "$CXX" && break
  697. done
  698. test -n "$CXX" || CXX="gcc"
  699. echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
  700. echo "configure:785: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
  701. ac_ext=C
  702. # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  703. ac_cpp='$CXXCPP $CPPFLAGS'
  704. ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  705. ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  706. cross_compiling=$ac_cv_prog_cxx_cross
  707. cat > conftest.$ac_ext << EOF
  708. #line 796 "configure"
  709. #include "confdefs.h"
  710. int main(){return(0);}
  711. EOF
  712. if { (eval echo configure:801: "$ac_link") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  713.   ac_cv_prog_cxx_works=yes
  714.   # If we can't run a trivial program, we are probably using a cross compiler.
  715.   if (./conftest; exit) 2>/dev/null; then
  716.     ac_cv_prog_cxx_cross=no
  717.   else
  718.     ac_cv_prog_cxx_cross=yes
  719.   fi
  720. else
  721.   echo "configure: failed program was:" >&5
  722.   cat conftest.$ac_ext >&5
  723.   ac_cv_prog_cxx_works=no
  724. fi
  725. rm -fr conftest*
  726. ac_ext=c
  727. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  728. ac_cpp='$CPP $CPPFLAGS'
  729. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  730. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  731. cross_compiling=$ac_cv_prog_cc_cross
  732. echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
  733. if test $ac_cv_prog_cxx_works = no; then
  734.   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
  735. fi
  736. echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
  737. echo "configure:827: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
  738. echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
  739. cross_compiling=$ac_cv_prog_cxx_cross
  740. echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
  741. echo "configure:832: checking whether we are using GNU C++" >&5
  742. if eval "test "`echo '$''{'ac_cv_prog_gxx'+set}'`" = set"; then
  743.   echo $ac_n "(cached) $ac_c" 1>&6
  744. else
  745.   cat > conftest.C <<EOF
  746. #ifdef __GNUC__
  747.   yes;
  748. #endif
  749. EOF
  750. if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:841: "$ac_try") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  751.   ac_cv_prog_gxx=yes
  752. else
  753.   ac_cv_prog_gxx=no
  754. fi
  755. fi
  756. echo "$ac_t""$ac_cv_prog_gxx" 1>&6
  757. if test $ac_cv_prog_gxx = yes; then
  758.   GXX=yes
  759. else
  760.   GXX=
  761. fi
  762. ac_test_CXXFLAGS="${CXXFLAGS+set}"
  763. ac_save_CXXFLAGS="$CXXFLAGS"
  764. CXXFLAGS=
  765. echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
  766. echo "configure:860: checking whether ${CXX-g++} accepts -g" >&5
  767. if eval "test "`echo '$''{'ac_cv_prog_cxx_g'+set}'`" = set"; then
  768.   echo $ac_n "(cached) $ac_c" 1>&6
  769. else
  770.   echo 'void f(){}' > conftest.cc
  771. if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
  772.   ac_cv_prog_cxx_g=yes
  773. else
  774.   ac_cv_prog_cxx_g=no
  775. fi
  776. rm -f conftest*
  777. fi
  778. echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
  779. if test "$ac_test_CXXFLAGS" = set; then
  780.   CXXFLAGS="$ac_save_CXXFLAGS"
  781. elif test $ac_cv_prog_cxx_g = yes; then
  782.   if test "$GXX" = yes; then
  783.     CXXFLAGS="-g -O2"
  784.   else
  785.     CXXFLAGS="-g"
  786.   fi
  787. else
  788.   if test "$GXX" = yes; then
  789.     CXXFLAGS="-O2"
  790.   else
  791.     CXXFLAGS=
  792.   fi
  793. fi
  794. ac_aux_dir=
  795. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  796.   if test -f $ac_dir/install-sh; then
  797.     ac_aux_dir=$ac_dir
  798.     ac_install_sh="$ac_aux_dir/install-sh -c"
  799.     break
  800.   elif test -f $ac_dir/install.sh; then
  801.     ac_aux_dir=$ac_dir
  802.     ac_install_sh="$ac_aux_dir/install.sh -c"
  803.     break
  804.   fi
  805. done
  806. if test -z "$ac_aux_dir"; then
  807.   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  808. fi
  809. ac_config_guess=$ac_aux_dir/config.guess
  810. ac_config_sub=$ac_aux_dir/config.sub
  811. ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  812. # Find a good install program.  We prefer a C program (faster),
  813. # so one script is as good as another.  But avoid the broken or
  814. # incompatible versions:
  815. # SysV /etc/install, /usr/sbin/install
  816. # SunOS /usr/etc/install
  817. # IRIX /sbin/install
  818. # AIX /bin/install
  819. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  820. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  821. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  822. # ./install, which can be erroneously created by make from ./install.sh.
  823. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  824. echo "configure:922: checking for a BSD compatible install" >&5
  825. if test -z "$INSTALL"; then
  826. if eval "test "`echo '$''{'ac_cv_path_install'+set}'`" = set"; then
  827.   echo $ac_n "(cached) $ac_c" 1>&6
  828. else
  829.     IFS="${IFS=  }"; ac_save_IFS="$IFS"; IFS=":"
  830.   for ac_dir in $PATH; do
  831.     # Account for people who put trailing slashes in PATH elements.
  832.     case "$ac_dir/" in
  833.     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  834.     *)
  835.       # OSF1 and SCO ODT 3.0 have their own names for install.
  836.       # Don't use installbsd from OSF since it installs stuff as root
  837.       # by default.
  838.       for ac_prog in ginstall scoinst install; do
  839.         if test -f $ac_dir/$ac_prog; then
  840.   if test $ac_prog = install &&
  841.             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  842.     # AIX install.  It has an incompatible calling convention.
  843.     :
  844.   else
  845.     ac_cv_path_install="$ac_dir/$ac_prog -c"
  846.     break 2
  847.   fi
  848. fi
  849.       done
  850.       ;;
  851.     esac
  852.   done
  853.   IFS="$ac_save_IFS"
  854. fi
  855.   if test "${ac_cv_path_install+set}" = set; then
  856.     INSTALL="$ac_cv_path_install"
  857.   else
  858.     # As a last resort, use the slow shell script.  We don't cache a
  859.     # path for INSTALL within a source directory, because that will
  860.     # break other packages using the cache if that directory is
  861.     # removed, or if the path is relative.
  862.     INSTALL="$ac_install_sh"
  863.   fi
  864. fi
  865. echo "$ac_t""$INSTALL" 1>&6
  866. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  867. # It thinks the first close brace ends the variable substitution.
  868. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  869. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
  870. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  871. # Extract the first word of "autoconf", so it can be a program name with args.
  872. set dummy autoconf; ac_word=$2
  873. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  874. echo "configure:977: checking for $ac_word" >&5
  875. if eval "test "`echo '$''{'ac_cv_prog_AUTOCONF'+set}'`" = set"; then
  876.   echo $ac_n "(cached) $ac_c" 1>&6
  877. else
  878.   if test -n "$AUTOCONF"; then
  879.   ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
  880. else
  881.   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
  882.   ac_dummy="$PATH"
  883.   for ac_dir in $ac_dummy; do
  884.     test -z "$ac_dir" && ac_dir=.
  885.     if test -f $ac_dir/$ac_word; then
  886.       ac_cv_prog_AUTOCONF="autoconf"
  887.       break
  888.     fi
  889.   done
  890.   IFS="$ac_save_ifs"
  891.   test -z "$ac_cv_prog_AUTOCONF" && ac_cv_prog_AUTOCONF="true"
  892. fi
  893. fi
  894. AUTOCONF="$ac_cv_prog_AUTOCONF"
  895. if test -n "$AUTOCONF"; then
  896.   echo "$ac_t""$AUTOCONF" 1>&6
  897. else
  898.   echo "$ac_t""no" 1>&6
  899. fi
  900. echo $ac_n "checking for floor in -lm""... $ac_c" 1>&6
  901. echo "configure:1006: checking for floor in -lm" >&5
  902. ac_lib_var=`echo m'_'floor | sed 'y%./+-%__p_%'`
  903. if eval "test "`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`" = set"; then
  904.   echo $ac_n "(cached) $ac_c" 1>&6
  905. else
  906.   ac_save_LIBS="$LIBS"
  907. LIBS="-lm  $LIBS"
  908. cat > conftest.$ac_ext <<EOF
  909. #line 1014 "configure"
  910. #include "confdefs.h"
  911. /* Override any gcc2 internal prototype to avoid an error.  */
  912. /* We use char because int might match the return type of a gcc2
  913.     builtin and then its argument prototype would still apply.  */
  914. char floor();
  915. int main() {
  916. floor()
  917. ; return 0; }
  918. EOF
  919. if { (eval echo configure:1025: "$ac_link") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  920.   rm -rf conftest*
  921.   eval "ac_cv_lib_$ac_lib_var=yes"
  922. else
  923.   echo "configure: failed program was:" >&5
  924.   cat conftest.$ac_ext >&5
  925.   rm -rf conftest*
  926.   eval "ac_cv_lib_$ac_lib_var=no"
  927. fi
  928. rm -f conftest*
  929. LIBS="$ac_save_LIBS"
  930. fi
  931. if eval "test "`echo '$ac_cv_lib_'$ac_lib_var`" = yes"; then
  932.   echo "$ac_t""yes" 1>&6
  933.     ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' 
  934.     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  935.   cat >> confdefs.h <<EOF
  936. #define $ac_tr_lib 1
  937. EOF
  938.   LIBS="-lm $LIBS"
  939. else
  940.   echo "$ac_t""no" 1>&6
  941. fi
  942. echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
  943. echo "configure:1054: checking for pthread_create in -lpthread" >&5
  944. ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
  945. if eval "test "`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`" = set"; then
  946.   echo $ac_n "(cached) $ac_c" 1>&6
  947. else
  948.   ac_save_LIBS="$LIBS"
  949. LIBS="-lpthread  $LIBS"
  950. cat > conftest.$ac_ext <<EOF
  951. #line 1062 "configure"
  952. #include "confdefs.h"
  953. /* Override any gcc2 internal prototype to avoid an error.  */
  954. /* We use char because int might match the return type of a gcc2
  955.     builtin and then its argument prototype would still apply.  */
  956. char pthread_create();
  957. int main() {
  958. pthread_create()
  959. ; return 0; }
  960. EOF
  961. if { (eval echo configure:1073: "$ac_link") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  962.   rm -rf conftest*
  963.   eval "ac_cv_lib_$ac_lib_var=yes"
  964. else
  965.   echo "configure: failed program was:" >&5
  966.   cat conftest.$ac_ext >&5
  967.   rm -rf conftest*
  968.   eval "ac_cv_lib_$ac_lib_var=no"
  969. fi
  970. rm -f conftest*
  971. LIBS="$ac_save_LIBS"
  972. fi
  973. if eval "test "`echo '$ac_cv_lib_'$ac_lib_var`" = yes"; then
  974.   echo "$ac_t""yes" 1>&6
  975.     ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' 
  976.     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  977.   cat >> confdefs.h <<EOF
  978. #define $ac_tr_lib 1
  979. EOF
  980.   LIBS="-lpthread $LIBS"
  981. else
  982.   echo "$ac_t""no" 1>&6
  983. fi
  984. if test $ac_cv_lib_pthread_pthread_create = no; then
  985. echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
  986. echo "configure:1102: checking for pthread_create in -lpthreads" >&5
  987. ac_lib_var=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'`
  988. if eval "test "`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`" = set"; then
  989.   echo $ac_n "(cached) $ac_c" 1>&6
  990. else
  991.   ac_save_LIBS="$LIBS"
  992. LIBS="-lpthreads  $LIBS"
  993. cat > conftest.$ac_ext <<EOF
  994. #line 1110 "configure"
  995. #include "confdefs.h"
  996. /* Override any gcc2 internal prototype to avoid an error.  */
  997. /* We use char because int might match the return type of a gcc2
  998.     builtin and then its argument prototype would still apply.  */
  999. char pthread_create();
  1000. int main() {
  1001. pthread_create()
  1002. ; return 0; }
  1003. EOF
  1004. if { (eval echo configure:1121: "$ac_link") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1005.   rm -rf conftest*
  1006.   eval "ac_cv_lib_$ac_lib_var=yes"
  1007. else
  1008.   echo "configure: failed program was:" >&5
  1009.   cat conftest.$ac_ext >&5
  1010.   rm -rf conftest*
  1011.   eval "ac_cv_lib_$ac_lib_var=no"
  1012. fi
  1013. rm -f conftest*
  1014. LIBS="$ac_save_LIBS"
  1015. fi
  1016. if eval "test "`echo '$ac_cv_lib_'$ac_lib_var`" = yes"; then
  1017.   echo "$ac_t""yes" 1>&6
  1018.     ac_tr_lib=HAVE_LIB`echo pthreads | sed -e 's/[^a-zA-Z0-9_]/_/g' 
  1019.     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  1020.   cat >> confdefs.h <<EOF
  1021. #define $ac_tr_lib 1
  1022. EOF
  1023.   LIBS="-lpthreads $LIBS"
  1024. else
  1025.   echo "$ac_t""no" 1>&6
  1026. fi
  1027. fi
  1028. echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  1029. echo "configure:1151: checking how to run the C preprocessor" >&5
  1030. # On Suns, sometimes $CPP names a directory.
  1031. if test -n "$CPP" && test -d "$CPP"; then
  1032.   CPP=
  1033. fi
  1034. if test -z "$CPP"; then
  1035. if eval "test "`echo '$''{'ac_cv_prog_CPP'+set}'`" = set"; then
  1036.   echo $ac_n "(cached) $ac_c" 1>&6
  1037. else
  1038.     # This must be in double quotes, not single quotes, because CPP may get
  1039.   # substituted into the Makefile and "${CC-cc}" will confuse make.
  1040.   CPP="${CC-cc} -E"
  1041.   # On the NeXT, cc -E runs the code through the compiler's parser,
  1042.   # not just through cpp.
  1043.   cat > conftest.$ac_ext <<EOF
  1044. #line 1166 "configure"
  1045. #include "confdefs.h"
  1046. #include <assert.h>
  1047. Syntax Error
  1048. EOF
  1049. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1050. { (eval echo configure:1172: "$ac_try") 1>&5; (eval $ac_try) 2>&5; }
  1051. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}$"`
  1052. if test -z "$ac_err"; then
  1053.   :
  1054. else
  1055.   echo "$ac_err" >&5
  1056.   echo "configure: failed program was:" >&5
  1057.   cat conftest.$ac_ext >&5
  1058.   rm -rf conftest*
  1059.   CPP="${CC-cc} -E -traditional-cpp"
  1060.   cat > conftest.$ac_ext <<EOF
  1061. #line 1183 "configure"
  1062. #include "confdefs.h"
  1063. #include <assert.h>
  1064. Syntax Error
  1065. EOF
  1066. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1067. { (eval echo configure:1189: "$ac_try") 1>&5; (eval $ac_try) 2>&5; }
  1068. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}$"`
  1069. if test -z "$ac_err"; then
  1070.   :
  1071. else
  1072.   echo "$ac_err" >&5
  1073.   echo "configure: failed program was:" >&5
  1074.   cat conftest.$ac_ext >&5
  1075.   rm -rf conftest*
  1076.   CPP="${CC-cc} -nologo -E"
  1077.   cat > conftest.$ac_ext <<EOF
  1078. #line 1200 "configure"
  1079. #include "confdefs.h"
  1080. #include <assert.h>
  1081. Syntax Error
  1082. EOF
  1083. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1084. { (eval echo configure:1206: "$ac_try") 1>&5; (eval $ac_try) 2>&5; }
  1085. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}$"`
  1086. if test -z "$ac_err"; then
  1087.   :
  1088. else
  1089.   echo "$ac_err" >&5
  1090.   echo "configure: failed program was:" >&5
  1091.   cat conftest.$ac_ext >&5
  1092.   rm -rf conftest*
  1093.   CPP=/lib/cpp
  1094. fi
  1095. rm -f conftest*
  1096. fi
  1097. rm -f conftest*
  1098. fi
  1099. rm -f conftest*
  1100.   ac_cv_prog_CPP="$CPP"
  1101. fi
  1102.   CPP="$ac_cv_prog_CPP"
  1103. else
  1104.   ac_cv_prog_CPP="$CPP"
  1105. fi
  1106. echo "$ac_t""$CPP" 1>&6
  1107. for ac_hdr in inttypes.h
  1108. do
  1109. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  1110. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1111. echo "configure:1234: checking for $ac_hdr" >&5
  1112. if eval "test "`echo '$''{'ac_cv_header_$ac_safe'+set}'`" = set"; then
  1113.   echo $ac_n "(cached) $ac_c" 1>&6
  1114. else
  1115.   cat > conftest.$ac_ext <<EOF
  1116. #line 1239 "configure"
  1117. #include "confdefs.h"
  1118. #include <$ac_hdr>
  1119. EOF
  1120. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1121. { (eval echo configure:1244: "$ac_try") 1>&5; (eval $ac_try) 2>&5; }
  1122. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}$"`
  1123. if test -z "$ac_err"; then
  1124.   rm -rf conftest*
  1125.   eval "ac_cv_header_$ac_safe=yes"
  1126. else
  1127.   echo "$ac_err" >&5
  1128.   echo "configure: failed program was:" >&5
  1129.   cat conftest.$ac_ext >&5
  1130.   rm -rf conftest*
  1131.   eval "ac_cv_header_$ac_safe=no"
  1132. fi
  1133. rm -f conftest*
  1134. fi
  1135. if eval "test "`echo '$ac_cv_header_'$ac_safe`" = yes"; then
  1136.   echo "$ac_t""yes" 1>&6
  1137.     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  1138.   cat >> confdefs.h <<EOF
  1139. #define $ac_tr_hdr 1
  1140. EOF
  1141. else
  1142.   echo "$ac_t""no" 1>&6
  1143. fi
  1144. done
  1145. if test $ac_cv_header_inttypes_h = no; then
  1146. HAVE_INTTYPES_H=0
  1147. else
  1148. HAVE_INTTYPES_H=1
  1149. fi
  1150. # Make sure we can run config.sub.
  1151. if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
  1152. else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
  1153. fi
  1154. echo $ac_n "checking host system type""... $ac_c" 1>&6
  1155. echo "configure:1284: checking host system type" >&5
  1156. host_alias=$host
  1157. case "$host_alias" in
  1158. NONE)
  1159.   case $nonopt in
  1160.   NONE)
  1161.     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
  1162.     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
  1163.     fi ;;
  1164.   *) host_alias=$nonopt ;;
  1165.   esac ;;
  1166. esac
  1167. host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
  1168. host_cpu=`echo $host | sed 's/^([^-]*)-([^-]*)-(.*)$/1/'`
  1169. host_vendor=`echo $host | sed 's/^([^-]*)-([^-]*)-(.*)$/2/'`
  1170. host_os=`echo $host | sed 's/^([^-]*)-([^-]*)-(.*)$/3/'`
  1171. echo "$ac_t""$host" 1>&6
  1172. case "${host}" in
  1173.         *-*-solaris*)   platform=SOLARIS ;;
  1174.         *-*-sysv5*)     platform=UNIXWARE ;;
  1175.         *-*-UnixWare*)  platform=UNIXWARE ;;
  1176.         *-*-*unixware*)  platform=UNIXWARE ;;
  1177.         *-*-sysv5uw7*)  platform=UNIXWARE ;;
  1178.         *-*-linux*)     platform=LINUX ;;
  1179. *-*-freebsd*) platform=FREEBSD ;;
  1180.         *-*-irix*)      platform=IRIX ;;
  1181.         *-*-aix*)       platform=AIX ;;
  1182.         *-*-hp*)        platform=HPUX ;
  1183.                         case "${host}" in
  1184.                             *-*-hpux11*)  osver=HPUX11;;
  1185.                             *-*-hpux10*)  osver=HPUX10;;
  1186.                             *)            osver=HPUX11;;
  1187.                         esac;;
  1188.         *-*-mvs*)       platform=OS390 ;;
  1189.         *-*-os400*)     platform=OS400 ;;
  1190.         *-*-OS400*)     platform=OS400 ;;
  1191. *-*-osf*) platform=TRU64 ;;
  1192.         *-apple-*) platform=MACOSX ;;
  1193.         *)              platform=UNKNOWN ;;
  1194. esac
  1195. compiler=${CXX}
  1196. # prefix=${prefix}
  1197. cxxflags=${CXXFLAGS}
  1198. cflags=${CFLAGS}
  1199. ldflags=${LDFLAGS}
  1200. trap '' 1 2 15
  1201. cat > confcache <<EOF
  1202. # This file is a shell script that caches the results of configure
  1203. # tests run on this system so they can be shared between configure
  1204. # scripts and configure runs.  It is not useful on other systems.
  1205. # If it contains results you don't want to keep, you may remove or edit it.
  1206. #
  1207. # By default, configure uses ./config.cache as the cache file,
  1208. # creating it if it does not exist already.  You can give configure
  1209. # the --cache-file=FILE option to use a different cache file; that is
  1210. # what configure does when it calls configure scripts in
  1211. # subdirectories, so they share the cache.
  1212. # Giving --cache-file=/dev/null disables caching, for debugging configure.
  1213. # config.status only pays attention to the cache file if you give it the
  1214. # --recheck option to rerun configure.
  1215. #
  1216. EOF
  1217. # The following way of writing the cache mishandles newlines in values,
  1218. # but we know of no workaround that is simple, portable, and efficient.
  1219. # So, don't put newlines in cache variables' values.
  1220. # Ultrix sh set writes to stderr and can't be redirected directly,
  1221. # and sets the high bit in the cache file unless we assign to the vars.
  1222. (set) 2>&1 |
  1223.   case `(ac_space=' '; set | grep ac_space) 2>&1` in
  1224.   *ac_space= *)
  1225.     # `set' does not quote correctly, so add quotes (double-quote substitution
  1226.     # turns \\ into \, and sed turns \ into ).
  1227.     sed -n 
  1228.       -e "s/'/'\\''/g" 
  1229.       -e "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1='\2'}/p"
  1230.     ;;
  1231.   *)
  1232.     # `set' quotes correctly as required by POSIX, so do not add quotes.
  1233.     sed -n -e 's/^([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*)=(.*)/1=${1=2}/p'
  1234.     ;;
  1235.   esac >> confcache
  1236. if cmp -s $cache_file confcache; then
  1237.   :
  1238. else
  1239.   if test -w $cache_file; then
  1240.     echo "updating cache $cache_file"
  1241.     cat confcache > $cache_file
  1242.   else
  1243.     echo "not updating unwritable cache $cache_file"
  1244.   fi
  1245. fi
  1246. rm -f confcache
  1247. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  1248. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1249. # Let make expand exec_prefix.
  1250. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  1251. # Any assignment to VPATH causes Sun make to only execute
  1252. # the first set of double-colon rules, so remove it if not needed.
  1253. # If there is a colon in the path, we need to keep it.
  1254. if test "x$srcdir" = x.; then
  1255.   ac_vpsub='/^[  ]*VPATH[  ]*=[^:]*$/d'
  1256. fi
  1257. trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  1258. # Transform confdefs.h into DEFS.
  1259. # Protect against shell expansion while executing Makefile rules.
  1260. # Protect against Makefile macro expansion.
  1261. cat > conftest.defs <<EOF
  1262. s%#define ([A-Za-z_][A-Za-z0-9_]*) *(.*)%-D1=2%g
  1263. s%[  `~#$^&*(){}\|;'"<>?]%\&%g
  1264. s%[%\&%g
  1265. s%]%\&%g
  1266. s%$%$$%g
  1267. EOF
  1268. DEFS=`sed -f conftest.defs confdefs.h | tr '12' ' '`
  1269. rm -f conftest.defs
  1270. # Without the "./", some shells look in PATH for config.status.
  1271. : ${CONFIG_STATUS=./config.status}
  1272. echo creating $CONFIG_STATUS
  1273. rm -f $CONFIG_STATUS
  1274. cat > $CONFIG_STATUS <<EOF
  1275. #! /bin/sh
  1276. # Generated automatically by configure.
  1277. # Run this file to recreate the current configuration.
  1278. # This directory was configured as follows,
  1279. # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1280. #
  1281. # $0 $ac_configure_args
  1282. #
  1283. # Compiler output produced by configure, useful for debugging
  1284. # configure, is in ./config.log if it exists.
  1285. ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  1286. for ac_option
  1287. do
  1288.   case "$ac_option" in
  1289.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1290.     echo "running ${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  1291.     exec ${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  1292.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1293.     echo "$CONFIG_STATUS generated by autoconf version 2.13"
  1294.     exit 0 ;;
  1295.   -help | --help | --hel | --he | --h)
  1296.     echo "$ac_cs_usage"; exit 0 ;;
  1297.   *) echo "$ac_cs_usage"; exit 1 ;;
  1298.   esac
  1299. done
  1300. ac_given_srcdir=$srcdir
  1301. ac_given_INSTALL="$INSTALL"
  1302. trap 'rm -fr `echo "Makefile 
  1303. DOM/DOMTest/Makefile 
  1304. IDom/IDOMTest/Makefile 
  1305. DOM/DOMIDTest/Makefile 
  1306. DOM/DOMMemTest/Makefile 
  1307. DOM/Traversal/Makefile 
  1308. IDom/ITraversal/Makefile 
  1309. EncodingTest/Makefile 
  1310. DOM/RangeTest/Makefile 
  1311. IDom/IRangeTest/Makefile 
  1312. InitTermTest/Makefile 
  1313. ThreadTest/Makefile 
  1314. IThreadTest/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  1315. EOF
  1316. cat >> $CONFIG_STATUS <<EOF
  1317. # Protect against being on the right side of a sed subst in config.status.
  1318. sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
  1319.  s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
  1320. $ac_vpsub
  1321. $extrasub
  1322. s%@SHELL@%$SHELL%g
  1323. s%@CFLAGS@%$CFLAGS%g
  1324. s%@CPPFLAGS@%$CPPFLAGS%g
  1325. s%@CXXFLAGS@%$CXXFLAGS%g
  1326. s%@FFLAGS@%$FFLAGS%g
  1327. s%@DEFS@%$DEFS%g
  1328. s%@LDFLAGS@%$LDFLAGS%g
  1329. s%@LIBS@%$LIBS%g
  1330. s%@exec_prefix@%$exec_prefix%g
  1331. s%@prefix@%$prefix%g
  1332. s%@program_transform_name@%$program_transform_name%g
  1333. s%@bindir@%$bindir%g
  1334. s%@sbindir@%$sbindir%g
  1335. s%@libexecdir@%$libexecdir%g
  1336. s%@datadir@%$datadir%g
  1337. s%@sysconfdir@%$sysconfdir%g
  1338. s%@sharedstatedir@%$sharedstatedir%g
  1339. s%@localstatedir@%$localstatedir%g
  1340. s%@libdir@%$libdir%g
  1341. s%@includedir@%$includedir%g
  1342. s%@oldincludedir@%$oldincludedir%g
  1343. s%@infodir@%$infodir%g
  1344. s%@mandir@%$mandir%g
  1345. s%@CC@%$CC%g
  1346. s%@CXX@%$CXX%g
  1347. s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  1348. s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
  1349. s%@INSTALL_DATA@%$INSTALL_DATA%g
  1350. s%@AUTOCONF@%$AUTOCONF%g
  1351. s%@CPP@%$CPP%g
  1352. s%@HAVE_INTTYPES_H@%$HAVE_INTTYPES_H%g
  1353. s%@host@%$host%g
  1354. s%@host_alias@%$host_alias%g
  1355. s%@host_cpu@%$host_cpu%g
  1356. s%@host_vendor@%$host_vendor%g
  1357. s%@host_os@%$host_os%g
  1358. s%@platform@%$platform%g
  1359. s%@compiler@%$compiler%g
  1360. s%@cxxflags@%$cxxflags%g
  1361. s%@cflags@%$cflags%g
  1362. s%@ldflags@%$ldflags%g
  1363. CEOF
  1364. EOF
  1365. cat >> $CONFIG_STATUS <<EOF
  1366. # Split the substitutions into bite-sized pieces for seds with
  1367. # small command number limits, like on Digital OSF/1 and HP-UX.
  1368. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
  1369. ac_file=1 # Number of current file.
  1370. ac_beg=1 # First line for current file.
  1371. ac_end=$ac_max_sed_cmds # Line after last line for current file.
  1372. ac_more_lines=:
  1373. ac_sed_cmds=""
  1374. while $ac_more_lines; do
  1375.   if test $ac_beg -gt 1; then
  1376.     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  1377.   else
  1378.     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  1379.   fi
  1380.   if test ! -s conftest.s$ac_file; then
  1381.     ac_more_lines=false
  1382.     rm -f conftest.s$ac_file
  1383.   else
  1384.     if test -z "$ac_sed_cmds"; then
  1385.       ac_sed_cmds="sed -f conftest.s$ac_file"
  1386.     else
  1387.       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
  1388.     fi
  1389.     ac_file=`expr $ac_file + 1`
  1390.     ac_beg=$ac_end
  1391.     ac_end=`expr $ac_end + $ac_max_sed_cmds`
  1392.   fi
  1393. done
  1394. if test -z "$ac_sed_cmds"; then
  1395.   ac_sed_cmds=cat
  1396. fi
  1397. EOF
  1398. cat >> $CONFIG_STATUS <<EOF
  1399. CONFIG_FILES=${CONFIG_FILES-"Makefile 
  1400. DOM/DOMTest/Makefile 
  1401. IDom/IDOMTest/Makefile 
  1402. DOM/DOMIDTest/Makefile 
  1403. DOM/DOMMemTest/Makefile 
  1404. DOM/Traversal/Makefile 
  1405. IDom/ITraversal/Makefile 
  1406. EncodingTest/Makefile 
  1407. DOM/RangeTest/Makefile 
  1408. IDom/IRangeTest/Makefile 
  1409. InitTermTest/Makefile 
  1410. ThreadTest/Makefile 
  1411. IThreadTest/Makefile"}
  1412. EOF
  1413. cat >> $CONFIG_STATUS <<EOF
  1414. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  1415.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  1416.   case "$ac_file" in
  1417.   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  1418.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  1419.   *) ac_file_in="${ac_file}.in" ;;
  1420.   esac
  1421.   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
  1422.   # Remove last slash and all that follows it.  Not all systems have dirname.
  1423.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1424.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1425.     # The file is in a subdirectory.
  1426.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  1427.     ac_dir_suffix="/`echo $ac_dir|sed 's%^./%%'`"
  1428.     # A "../" for each directory in $ac_dir_suffix.
  1429.     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  1430.   else
  1431.     ac_dir_suffix= ac_dots=
  1432.   fi
  1433.   case "$ac_given_srcdir" in
  1434.   .)  srcdir=.
  1435.       if test -z "$ac_dots"; then top_srcdir=.
  1436.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  1437.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  1438.   *) # Relative path.
  1439.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  1440.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  1441.   esac
  1442.   case "$ac_given_INSTALL" in
  1443.   [/$]*) INSTALL="$ac_given_INSTALL" ;;
  1444.   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  1445.   esac
  1446.   echo creating "$ac_file"
  1447.   rm -f "$ac_file"
  1448.   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  1449.   case "$ac_file" in
  1450.   *Makefile*) ac_comsub="1i\
  1451. # $configure_input" ;;
  1452.   *) ac_comsub= ;;
  1453.   esac
  1454.   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  1455.   sed -e "$ac_comsub
  1456. s%@configure_input@%$configure_input%g
  1457. s%@srcdir@%$srcdir%g
  1458. s%@top_srcdir@%$top_srcdir%g
  1459. s%@INSTALL@%$INSTALL%g
  1460. " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
  1461. fi; done
  1462. rm -f conftest.s*
  1463. EOF
  1464. cat >> $CONFIG_STATUS <<EOF
  1465. EOF
  1466. cat >> $CONFIG_STATUS <<EOF
  1467. exit 0
  1468. EOF
  1469. chmod +x $CONFIG_STATUS
  1470. rm -fr confdefs* $ac_clean_files
  1471. test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  1472. echo
  1473. echo Having build problems? Read instructions at http://xml.apache.org/xerces-c/build.html