home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cproto.zip / cproto46 / configure < prev    next >
Text File  |  1998-01-31  |  64KB  |  2,083 lines

  1. #! sh.exe
  2.  
  3. # From configure.in Revision: 4.6 
  4. # Guess values for system-dependent variables and create Makefiles.
  5. # Generated automatically using autoconf version 2.12.971230 
  6. # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  7. #
  8. # This configure script is free software; the Free Software Foundation
  9. # gives unlimited permission to copy, distribute and modify it.
  10.  
  11. # Defaults:
  12. ac_help=
  13. ac_default_prefix=/usr/local
  14.  
  15. # Defaults for EMX. They can be overriden by setting environment
  16. # variables with these names.
  17. : ${CC=gcc}
  18. : ${CXX=gcc}
  19. : ${PROG_EXT=.exe}
  20. : ${CPP=gcc.exe -E}
  21. : ${CFLAGS="-g -O"}
  22. : ${CXXFLAGS="-g -O"}
  23. : ${LDFLAGS="-Zexe -Zcrtdll"}
  24. : ${CONFIG_SHELL=sh.exe}
  25. # Any additions from configure.in:
  26.  
  27. # Initialize some variables set by options.
  28. # The variables have the same names as the options, with
  29. # dashes changed to underlines.
  30. build=NONE
  31. cache_file=./config.cache
  32. exec_prefix=NONE
  33. host=NONE
  34. no_create=
  35. nonopt=NONE
  36. no_recursion=
  37. prefix=NONE
  38. program_prefix=NONE
  39. program_suffix=NONE
  40. program_transform_name=s,x,x,
  41. silent=
  42. site=
  43. srcdir=
  44. target=NONE
  45. verbose=
  46. x_includes=NONE
  47. x_libraries=NONE
  48. bindir='${exec_prefix}/bin'
  49. sbindir='${exec_prefix}/sbin'
  50. libexecdir='${exec_prefix}/libexec'
  51. datadir='${prefix}/share'
  52. sysconfdir='${prefix}/etc'
  53. sharedstatedir='${prefix}/com'
  54. localstatedir='${prefix}/var'
  55. libdir='${exec_prefix}/lib'
  56. includedir='${prefix}/include'
  57. oldincludedir='/usr/include'
  58. infodir='${prefix}/info'
  59. mandir='${prefix}/man'
  60.  
  61. # Filter path to get backslahes into forwardslashes (OS2 hack)
  62. cat > conftest.cmd << EOF
  63. /*
  64.  * Translate PATH into uppercases and output the result
  65.  */
  66. say Translate(Value("PATH",,"OS2ENVIRONMENT"))
  67. EOF
  68. FPATH=`conftest.cmd | sed 's+\\\\+/+g'`
  69. rm -f conftest.cmd
  70.  
  71. # Initialize some other variables.
  72. subdirs=
  73. MFLAGS= MAKEFLAGS=
  74. # Maximum number of lines to put in a shell here document.
  75. ac_max_here_lines=12
  76.  
  77. ac_prev=
  78. for ac_option
  79. do
  80.  
  81.   # If the previous option needs an argument, assign it.
  82.   if test -n "$ac_prev"; then
  83.     eval "$ac_prev=\$ac_option"
  84.     ac_prev=
  85.     continue
  86.   fi
  87.  
  88.   case "$ac_option" in
  89.   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  90.   *) ac_optarg= ;;
  91.   esac
  92.  
  93.   # Accept the important Cygnus configure options, so we can diagnose typos.
  94.  
  95.   case "$ac_option" in
  96.  
  97.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  98.     ac_prev=bindir ;;
  99.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  100.     bindir="$ac_optarg" ;;
  101.  
  102.   -build | --build | --buil | --bui | --bu)
  103.     ac_prev=build ;;
  104.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  105.     build="$ac_optarg" ;;
  106.  
  107.   -cache-file | --cache-file | --cache-fil | --cache-fi \
  108.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  109.     ac_prev=cache_file ;;
  110.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  111.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  112.     cache_file="$ac_optarg" ;;
  113.  
  114.   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  115.     ac_prev=datadir ;;
  116.   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  117.   | --da=*)
  118.     datadir="$ac_optarg" ;;
  119.  
  120.   -disable-* | --disable-*)
  121.     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  122.     # Reject names that are not valid shell variable names.
  123.     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  124.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  125.     fi
  126.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  127.     eval "enable_${ac_feature}=no" ;;
  128.  
  129.   -enable-* | --enable-*)
  130.     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  131.     # Reject names that are not valid shell variable names.
  132.     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  133.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  134.     fi
  135.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  136.     case "$ac_option" in
  137.       *=*) ;;
  138.       *) ac_optarg=yes ;;
  139.     esac
  140.     eval "enable_${ac_feature}='$ac_optarg'" ;;
  141.  
  142.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  143.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  144.   | --exec | --exe | --ex)
  145.     ac_prev=exec_prefix ;;
  146.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  147.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  148.   | --exec=* | --exe=* | --ex=*)
  149.     exec_prefix="$ac_optarg" ;;
  150.  
  151.   -gas | --gas | --ga | --g)
  152.     # Obsolete; use --with-gas.
  153.     with_gas=yes ;;
  154.  
  155.   -help | --help | --hel | --he)
  156.     # Omit some internal or obsolete options to make the list less imposing.
  157.     # This message is too long to be a string in the A/UX 3.1 sh.
  158.     cat << EOF
  159. Usage: configure [options] [host]
  160. Options: [defaults in brackets after descriptions]
  161. Configuration:
  162.   --cache-file=FILE       cache test results in FILE
  163.   --help                  print this message
  164.   --no-create             do not create output files
  165.   --quiet, --silent       do not print \`checking...' messages
  166.   --version               print the version of autoconf that created configure
  167. Directory and file names:
  168.   --prefix=PREFIX         install architecture-independent files in PREFIX
  169.                           [$ac_default_prefix]
  170.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  171.                           [same as prefix]
  172.   --bindir=DIR            user executables in DIR [EPREFIX/bin]
  173.   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  174.   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  175.   --datadir=DIR           read-only architecture-independent data in DIR
  176.                           [PREFIX/share]
  177.   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  178.   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  179.                           [PREFIX/com]
  180.   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  181.   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  182.   --includedir=DIR        C header files in DIR [PREFIX/include]
  183.   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  184.   --infodir=DIR           info documentation in DIR [PREFIX/info]
  185.   --mandir=DIR            man documentation in DIR [PREFIX/man]
  186.   --srcdir=DIR            find the sources in DIR [configure dir or ..]
  187.   --program-prefix=PREFIX prepend PREFIX to installed program names
  188.   --program-suffix=SUFFIX append SUFFIX to installed program names
  189.   --program-transform-name=PROGRAM
  190.                           run sed PROGRAM on installed program names
  191. EOF
  192.     cat << EOF
  193. Host type:
  194.   --build=BUILD           configure for building on BUILD [BUILD=HOST]
  195.   --host=HOST             configure for HOST [guessed]
  196.   --target=TARGET         configure for TARGET [TARGET=HOST]
  197. Features and packages:
  198.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  199.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  200.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  201.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  202.   --x-includes=DIR        X include files are in DIR
  203.   --x-libraries=DIR       X library files are in DIR
  204. EOF
  205. cat <<EOF
  206. --enable and --with options recognized:
  207.   --with-warnings         use gcc warnings (used for developing this tool)
  208.   --with-trace            use trace.c for memory-testing
  209.   --with-dmalloc          use Gray Watson's dmalloc
  210.   --with-dbmalloc         use Conor Cahill's dbmalloc
  211. EOF
  212.     exit 0 ;;
  213.  
  214.   -host | --host | --hos | --ho)
  215.     ac_prev=host ;;
  216.   -host=* | --host=* | --hos=* | --ho=*)
  217.     host="$ac_optarg" ;;
  218.  
  219.   -includedir | --includedir | --includedi | --included | --include \
  220.   | --includ | --inclu | --incl | --inc)
  221.     ac_prev=includedir ;;
  222.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  223.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  224.     includedir="$ac_optarg" ;;
  225.  
  226.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  227.     ac_prev=infodir ;;
  228.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  229.     infodir="$ac_optarg" ;;
  230.  
  231.   -libdir | --libdir | --libdi | --libd)
  232.     ac_prev=libdir ;;
  233.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  234.     libdir="$ac_optarg" ;;
  235.  
  236.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  237.   | --libexe | --libex | --libe)
  238.     ac_prev=libexecdir ;;
  239.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  240.   | --libexe=* | --libex=* | --libe=*)
  241.     libexecdir="$ac_optarg" ;;
  242.  
  243.   -localstatedir | --localstatedir | --localstatedi | --localstated \
  244.   | --localstate | --localstat | --localsta | --localst \
  245.   | --locals | --local | --loca | --loc | --lo)
  246.     ac_prev=localstatedir ;;
  247.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  248.   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  249.   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  250.     localstatedir="$ac_optarg" ;;
  251.  
  252.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  253.     ac_prev=mandir ;;
  254.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  255.     mandir="$ac_optarg" ;;
  256.  
  257.   -nfp | --nfp | --nf)
  258.     # Obsolete; use --without-fp.
  259.     with_fp=no ;;
  260.  
  261.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  262.   | --no-cr | --no-c)
  263.     no_create=yes ;;
  264.  
  265.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  266.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  267.     no_recursion=yes ;;
  268.  
  269.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  270.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  271.   | --oldin | --oldi | --old | --ol | --o)
  272.     ac_prev=oldincludedir ;;
  273.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  274.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  275.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  276.     oldincludedir="$ac_optarg" ;;
  277.  
  278.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  279.     ac_prev=prefix ;;
  280.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  281.     prefix="$ac_optarg" ;;
  282.  
  283.   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  284.   | --program-pre | --program-pr | --program-p)
  285.     ac_prev=program_prefix ;;
  286.   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  287.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  288.     program_prefix="$ac_optarg" ;;
  289.  
  290.   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  291.   | --program-suf | --program-su | --program-s)
  292.     ac_prev=program_suffix ;;
  293.   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  294.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  295.     program_suffix="$ac_optarg" ;;
  296.  
  297.   -program-transform-name | --program-transform-name \
  298.   | --program-transform-nam | --program-transform-na \
  299.   | --program-transform-n | --program-transform- \
  300.   | --program-transform | --program-transfor \
  301.   | --program-transfo | --program-transf \
  302.   | --program-trans | --program-tran \
  303.   | --progr-tra | --program-tr | --program-t)
  304.     ac_prev=program_transform_name ;;
  305.   -program-transform-name=* | --program-transform-name=* \
  306.   | --program-transform-nam=* | --program-transform-na=* \
  307.   | --program-transform-n=* | --program-transform-=* \
  308.   | --program-transform=* | --program-transfor=* \
  309.   | --program-transfo=* | --program-transf=* \
  310.   | --program-trans=* | --program-tran=* \
  311.   | --progr-tra=* | --program-tr=* | --program-t=*)
  312.     program_transform_name="$ac_optarg" ;;
  313.  
  314.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  315.   | -silent | --silent | --silen | --sile | --sil)
  316.     silent=yes ;;
  317.  
  318.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  319.     ac_prev=sbindir ;;
  320.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  321.   | --sbi=* | --sb=*)
  322.     sbindir="$ac_optarg" ;;
  323.  
  324.   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  325.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  326.   | --sharedst | --shareds | --shared | --share | --shar \
  327.   | --sha | --sh)
  328.     ac_prev=sharedstatedir ;;
  329.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  330.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  331.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  332.   | --sha=* | --sh=*)
  333.     sharedstatedir="$ac_optarg" ;;
  334.  
  335.   -site | --site | --sit)
  336.     ac_prev=site ;;
  337.   -site=* | --site=* | --sit=*)
  338.     site="$ac_optarg" ;;
  339.  
  340.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  341.     ac_prev=srcdir ;;
  342.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  343.     srcdir="$ac_optarg" ;;
  344.  
  345.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  346.   | --syscon | --sysco | --sysc | --sys | --sy)
  347.     ac_prev=sysconfdir ;;
  348.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  349.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  350.     sysconfdir="$ac_optarg" ;;
  351.  
  352.   -target | --target | --targe | --targ | --tar | --ta | --t)
  353.     ac_prev=target ;;
  354.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  355.     target="$ac_optarg" ;;
  356.  
  357.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  358.     verbose=yes ;;
  359.  
  360.   -version | --version | --versio | --versi | --vers)
  361.     echo "configure generated by autoconf version 2.12.971230"
  362.     exit 0 ;;
  363.  
  364.   -with-* | --with-*)
  365.     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  366.     # Reject names that are not valid shell variable names.
  367.     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  368.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  369.     fi
  370.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  371.     case "$ac_option" in
  372.       *=*) ;;
  373.       *) ac_optarg=yes ;;
  374.     esac
  375.     eval "with_${ac_package}='$ac_optarg'" ;;
  376.  
  377.   -without-* | --without-*)
  378.     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  379.     # Reject names that are not valid shell variable names.
  380.     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  381.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  382.     fi
  383.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  384.     eval "with_${ac_package}=no" ;;
  385.  
  386.   --x)
  387.     # Obsolete; use --with-x.
  388.     with_x=yes ;;
  389.  
  390.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  391.   | --x-incl | --x-inc | --x-in | --x-i)
  392.     ac_prev=x_includes ;;
  393.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  394.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  395.     x_includes="$ac_optarg" ;;
  396.  
  397.   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  398.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  399.     ac_prev=x_libraries ;;
  400.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  401.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  402.     x_libraries="$ac_optarg" ;;
  403.  
  404.   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  405.     ;;
  406.  
  407.   *)
  408.     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  409.       echo "configure: warning: $ac_option: invalid host type" 1>&2
  410.     fi
  411.     if test "x$nonopt" != xNONE; then
  412.       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  413.     fi
  414.     nonopt="$ac_option"
  415.     ;;
  416.  
  417.   esac
  418. done
  419.  
  420. if test -n "$ac_prev"; then
  421.   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  422. fi
  423.  
  424. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  425.  
  426. # File descriptor usage:
  427. # 0 standard input
  428. # 1 file creation
  429. # 2 errors and warnings
  430. # 3 some systems may open it to /dev/tty
  431. # 4 used on the Kubota Titan
  432. # 6 checking for... messages and results
  433. # 5 compiler messages saved in config.log
  434. if test "$silent" = yes; then
  435.   exec 6>/dev/null
  436. else
  437.   exec 6>&1
  438. fi
  439. exec 5>./config.log
  440.  
  441. echo "\
  442. This file contains any messages produced by compilers while
  443. running configure, to aid debugging if configure makes a mistake.
  444. " 1>&5
  445.  
  446. # Strip out --no-create and --no-recursion so they do not pile up.
  447. # Also quote any args containing shell metacharacters.
  448. ac_configure_args=
  449. for ac_arg
  450. do
  451.   case "$ac_arg" in
  452.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  453.   | --no-cr | --no-c) ;;
  454.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  455.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  456.   *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  457.   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  458.   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  459.   esac
  460. done
  461.  
  462. # NLS nuisances.
  463. # Only set these to C if already set.  These must not be set unconditionally
  464. # because not all systems understand e.g. LANG=C (notably SCO).
  465. # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
  466. # Non-C LC_CTYPE values break the ctype check.
  467. if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  468. if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  469. if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
  470. if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
  471.  
  472. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  473. rm -rf conftest* confdefs.h
  474. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  475. echo > confdefs.h
  476.  
  477. # A filename unique to this package, relative to the directory that
  478. # configure is in, which we can look for to find out if srcdir is correct.
  479. ac_unique_file=cproto.c
  480.  
  481. # Find the source files, if location was not specified.
  482. if test -z "$srcdir"; then
  483.   ac_srcdir_defaulted=yes
  484.   # Try the directory containing this script, then its parent.
  485.   ac_prog=$0
  486.   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  487.   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  488.   srcdir=$ac_confdir
  489.   if test ! -r $srcdir/$ac_unique_file; then
  490.     srcdir=..
  491.   fi
  492. else
  493.   ac_srcdir_defaulted=no
  494. fi
  495. if test ! -r $srcdir/$ac_unique_file; then
  496.   if test "$ac_srcdir_defaulted" = yes; then
  497.     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  498.   else
  499.     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  500.   fi
  501. fi
  502. srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  503.  
  504. # Prefer explicitly selected file to automatically selected ones.
  505. if test -z "$CONFIG_SITE"; then
  506.   if test "x$prefix" != xNONE; then
  507.     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  508.   else
  509.     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  510.   fi
  511. fi
  512. for ac_site_file in $CONFIG_SITE; do
  513.   if test -r "$ac_site_file"; then
  514.     echo "loading site script $ac_site_file"
  515.     . "$ac_site_file"
  516.   fi
  517. done
  518.  
  519. if test -r "$cache_file"; then
  520.   echo "loading cache $cache_file"
  521.   . $cache_file
  522. else
  523.   echo "creating cache $cache_file"
  524.   > $cache_file
  525. fi
  526.  
  527. ac_ext=c
  528. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  529. ac_cpp='$CPP $CPPFLAGS'
  530. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  531. ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  532. cross_compiling=$ac_cv_prog_cc_cross
  533.  
  534. if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  535.   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  536.   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  537.     ac_n= ac_c='
  538. ' ac_t='    '
  539.   else
  540.     ac_n=-n ac_c= ac_t=
  541.   fi
  542. else
  543.   ac_n= ac_c='\c' ac_t=
  544. fi
  545.  
  546.  
  547. # Extract the first word of "gcc", so it can be a program name with args.
  548. set dummy gcc; ac_word=$2
  549. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  550. echo "configure:551: checking for $ac_word" >&5
  551. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  552.   echo $ac_n "(cached) $ac_c" 1>&6
  553. else
  554.   if test -n "$CC"; then
  555.   ac_cv_prog_CC="$CC" # Let the user override the test.
  556. else
  557.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS};"
  558.   for ac_dir in $FPATH; do
  559.     test -z "$ac_dir" && ac_dir=.
  560. #NEW!!! Test for OS/2 executables and command files.
  561.     if test -f $ac_dir/$ac_word.exe -o \
  562.     -f $ac_dir/$ac_word.cmd -o \
  563.     -f $ac_dir/$ac_word; then
  564.       ac_cv_prog_CC="gcc"
  565.       break
  566.     fi
  567.   done
  568.   IFS="$ac_save_ifs"
  569. fi
  570. fi
  571. CC="$ac_cv_prog_CC"
  572. if test -n "$CC"; then
  573.   echo "$ac_t""$CC" 1>&6
  574. else
  575.   echo "$ac_t""no" 1>&6
  576. fi
  577.  
  578. if test -z "$CC"; then
  579.   # Extract the first word of "cc", so it can be a program name with args.
  580. set dummy cc; ac_word=$2
  581. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  582. echo "configure:583: checking for $ac_word" >&5
  583. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  584.   echo $ac_n "(cached) $ac_c" 1>&6
  585. else
  586.   if test -n "$CC"; then
  587.   ac_cv_prog_CC="$CC" # Let the user override the test.
  588. else
  589.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS};"
  590.   ac_prog_rejected=no
  591.   for ac_dir in $FPATH; do
  592.     test -z "$ac_dir" && ac_dir=.
  593. #NEW!!! Test for OS/2 executables and command files.
  594.     if test -f $ac_dir/$ac_word.exe -o \
  595.     -f $ac_dir/$ac_word.cmd -o \
  596.     -f $ac_dir/$ac_word; then
  597.       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  598.         ac_prog_rejected=yes
  599.     continue
  600.       fi
  601.       ac_cv_prog_CC="cc"
  602.       break
  603.     fi
  604.   done
  605.   IFS="$ac_save_ifs"
  606. if test $ac_prog_rejected = yes; then
  607.   # We found a bogon in the path, so make sure we never use it.
  608.   set dummy $ac_cv_prog_CC
  609.   shift
  610.   if test $# -gt 0; then
  611.     # We chose a different compiler from the bogus one.
  612.     # However, it has the same basename, so the bogon will be chosen
  613.     # first if we set CC to just the basename; use the full file name.
  614.     shift
  615.     set dummy "$ac_dir/$ac_word" "$@"
  616.     shift
  617.     ac_cv_prog_CC="$@"
  618.   fi
  619. fi
  620. fi
  621. fi
  622. CC="$ac_cv_prog_CC"
  623. if test -n "$CC"; then
  624.   echo "$ac_t""$CC" 1>&6
  625. else
  626.   echo "$ac_t""no" 1>&6
  627. fi
  628.  
  629.   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$FPATH" 1>&2; exit 1; }
  630. fi
  631.  
  632. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
  633. echo "configure:634: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  634.  
  635. ac_ext=c
  636. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  637. ac_cpp='$CPP $CPPFLAGS'
  638. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  639. ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  640. cross_compiling=$ac_cv_prog_cc_cross
  641.  
  642. cat > conftest.$ac_ext <<EOF
  643. #line 644 "configure"
  644. #include "confdefs.h"
  645. main(){return(0);}
  646. EOF
  647. if { (eval echo configure:648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest.exe; then
  648.   ac_cv_prog_cc_works=yes
  649.   # If we can't run a trivial program, we are probably using a cross compiler.
  650.   if (./conftest; exit) 2>/dev/null; then
  651.     ac_cv_prog_cc_cross=no
  652.   else
  653.     ac_cv_prog_cc_cross=yes
  654.   fi
  655. else
  656.   echo "configure: failed program was:" >&5
  657.   cat conftest.$ac_ext >&5
  658.   ac_cv_prog_cc_works=no
  659. fi
  660. rm -fr conftest*
  661.  
  662. echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
  663. if test $ac_cv_prog_cc_works = no; then
  664.   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
  665. fi
  666. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
  667. echo "configure:668: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  668. echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  669. cross_compiling=$ac_cv_prog_cc_cross
  670.  
  671. echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  672. echo "configure:673: checking whether we are using GNU C" >&5
  673. if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  674.   echo $ac_n "(cached) $ac_c" 1>&6
  675. else
  676.   cat > conftest.c <<EOF
  677. #ifdef __GNUC__
  678.   yes;
  679. #endif
  680. EOF
  681. if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  682.   ac_cv_prog_gcc=yes
  683. else
  684.   ac_cv_prog_gcc=no
  685. fi
  686. fi
  687.  
  688. echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  689.  
  690. if test $ac_cv_prog_gcc = yes; then
  691.   GCC=yes
  692.   ac_test_CFLAGS="${CFLAGS+set}"
  693.   ac_save_CFLAGS="$CFLAGS"
  694.   CFLAGS=
  695.   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  696. echo "configure:697: checking whether ${CC-cc} accepts -g" >&5
  697. if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  698.   echo $ac_n "(cached) $ac_c" 1>&6
  699. else
  700.   echo 'void f(){}' > conftest.c
  701. if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  702.   ac_cv_prog_cc_g=yes
  703. else
  704.   ac_cv_prog_cc_g=no
  705. fi
  706. rm -f conftest*
  707.  
  708. fi
  709.  
  710. echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
  711.   if test "$ac_test_CFLAGS" = set; then
  712.     CFLAGS="$ac_save_CFLAGS"
  713.   elif test $ac_cv_prog_cc_g = yes; then
  714.     CFLAGS="-g -O2"
  715.   else
  716.     CFLAGS="-O2"
  717.   fi
  718. else
  719.   GCC=
  720.   test "${CFLAGS+set}" = set || CFLAGS="-g"
  721. fi
  722.  
  723. echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  724. echo "configure:725: checking how to run the C preprocessor" >&5
  725. # On Suns, sometimes $CPP names a directory.
  726. if test -n "$CPP" && test -d "$CPP"; then
  727.   CPP=
  728. fi
  729. if test -z "$CPP"; then
  730. if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  731.   echo $ac_n "(cached) $ac_c" 1>&6
  732. else
  733.     # This must be in double quotes, not single quotes, because CPP may get
  734.   # substituted into the Makefile and "${CC-cc}" will confuse make.
  735.   CPP="${CC-cc} -E"
  736.   # On the NeXT, cc -E runs the code through the compiler's parser,
  737.   # not just through cpp.
  738.   cat > conftest.$ac_ext <<EOF
  739. #line 740 "configure"
  740. #include "confdefs.h"
  741. #include <assert.h>
  742. Syntax Error
  743. EOF
  744. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  745. { (eval echo configure:746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  746. ac_err=`grep -v '^ *+' conftest.out`
  747. if test -z "$ac_err"; then
  748.   :
  749. else
  750.   echo "$ac_err" >&5
  751.   echo "configure: failed program was:" >&5
  752.   cat conftest.$ac_ext >&5
  753.   rm -rf conftest*
  754.   CPP="${CC-cc} -E -traditional-cpp"
  755.   cat > conftest.$ac_ext <<EOF
  756. #line 757 "configure"
  757. #include "confdefs.h"
  758. #include <assert.h>
  759. Syntax Error
  760. EOF
  761. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  762. { (eval echo configure:763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  763. ac_err=`grep -v '^ *+' conftest.out`
  764. if test -z "$ac_err"; then
  765.   :
  766. else
  767.   echo "$ac_err" >&5
  768.   echo "configure: failed program was:" >&5
  769.   cat conftest.$ac_ext >&5
  770.   rm -rf conftest*
  771.   CPP=/lib/cpp
  772. fi
  773. rm -f conftest*
  774. fi
  775. rm -f conftest*
  776.   ac_cv_prog_CPP="$CPP"
  777. fi
  778.   CPP="$ac_cv_prog_CPP"
  779. else
  780.   ac_cv_prog_CPP="$CPP"
  781. fi
  782. echo "$ac_t""$CPP" 1>&6
  783.  
  784. # Extract the first word of "flex", so it can be a program name with args.
  785. set dummy flex; ac_word=$2
  786. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  787. echo "configure:788: checking for $ac_word" >&5
  788. if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
  789.   echo $ac_n "(cached) $ac_c" 1>&6
  790. else
  791.   if test -n "$LEX"; then
  792.   ac_cv_prog_LEX="$LEX" # Let the user override the test.
  793. else
  794.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS};"
  795.   for ac_dir in $FPATH; do
  796.     test -z "$ac_dir" && ac_dir=.
  797. #NEW!!! Test for OS/2 executables and command files.
  798.     if test -f $ac_dir/$ac_word.exe -o \
  799.     -f $ac_dir/$ac_word.cmd -o \
  800.     -f $ac_dir/$ac_word; then
  801.       ac_cv_prog_LEX="flex"
  802.       break
  803.     fi
  804.   done
  805.   IFS="$ac_save_ifs"
  806.   test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
  807. fi
  808. fi
  809. LEX="$ac_cv_prog_LEX"
  810. if test -n "$LEX"; then
  811.   echo "$ac_t""$LEX" 1>&6
  812. else
  813.   echo "$ac_t""no" 1>&6
  814. fi
  815.  
  816. if test -z "$LEXLIB"
  817. then
  818.   case "$LEX" in
  819.   flex*) ac_lib=fl ;;
  820.   *) ac_lib=l ;;
  821.   esac
  822.   echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
  823. echo "configure:824: checking for yywrap in -l$ac_lib" >&5
  824. ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
  825. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  826.   echo $ac_n "(cached) $ac_c" 1>&6
  827. else
  828.   ac_save_LIBS="$LIBS"
  829. LIBS="-l$ac_lib  $LIBS"
  830. cat > conftest.$ac_ext <<EOF
  831. #line 832 "configure"
  832. #include "confdefs.h"
  833. /* Override any gcc2 internal prototype to avoid an error.  */
  834. /* We use char because int might match the return type of a gcc2
  835.     builtin and then its argument prototype would still apply.  */
  836. char yywrap();
  837.  
  838. int main() {
  839. yywrap()
  840. ; return 0; }
  841. EOF
  842. if { (eval echo configure:843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest.exe; then
  843.   rm -rf conftest*
  844.   eval "ac_cv_lib_$ac_lib_var=yes"
  845. else
  846.   echo "configure: failed program was:" >&5
  847.   cat conftest.$ac_ext >&5
  848.   rm -rf conftest*
  849.   eval "ac_cv_lib_$ac_lib_var=no"
  850. fi
  851. rm -f conftest*
  852. LIBS="$ac_save_LIBS"
  853.  
  854. fi
  855. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  856.   echo "$ac_t""yes" 1>&6
  857.   LEXLIB="-l$ac_lib"
  858. else
  859.   echo "$ac_t""no" 1>&6
  860. fi
  861.  
  862. fi
  863.  
  864. echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
  865. echo "configure:866: checking whether ${MAKE-make} sets \${MAKE}" >&5
  866. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  867. if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  868.   echo $ac_n "(cached) $ac_c" 1>&6
  869. else
  870.   cat > conftestmake <<\EOF
  871. all:
  872.     @echo ac_maketemp="${MAKE}"
  873. EOF
  874. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  875. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  876. if test -n "$ac_maketemp"; then
  877.   eval ac_cv_prog_make_${ac_make}_set=yes
  878. else
  879.   eval ac_cv_prog_make_${ac_make}_set=no
  880. fi
  881. rm -f conftestmake
  882. fi
  883. if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  884.   echo "$ac_t""yes" 1>&6
  885.   SET_MAKE=
  886. else
  887.   echo "$ac_t""no" 1>&6
  888.   SET_MAKE="MAKE=${MAKE-make}"
  889. fi
  890.  
  891. for ac_prog in 'bison -y' byacc
  892. do
  893. # Extract the first word of "$ac_prog", so it can be a program name with args.
  894. set dummy $ac_prog; ac_word=$2
  895. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  896. echo "configure:897: checking for $ac_word" >&5
  897. if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
  898.   echo $ac_n "(cached) $ac_c" 1>&6
  899. else
  900.   if test -n "$YACC"; then
  901.   ac_cv_prog_YACC="$YACC" # Let the user override the test.
  902. else
  903.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS};"
  904.   for ac_dir in $FPATH; do
  905.     test -z "$ac_dir" && ac_dir=.
  906. #NEW!!! Test for OS/2 executables and command files.
  907.     if test -f $ac_dir/$ac_word.exe -o \
  908.     -f $ac_dir/$ac_word.cmd -o \
  909.     -f $ac_dir/$ac_word; then
  910.       ac_cv_prog_YACC="$ac_prog"
  911.       break
  912.     fi
  913.   done
  914.   IFS="$ac_save_ifs"
  915. fi
  916. fi
  917. YACC="$ac_cv_prog_YACC"
  918. if test -n "$YACC"; then
  919.   echo "$ac_t""$YACC" 1>&6
  920. else
  921.   echo "$ac_t""no" 1>&6
  922. fi
  923.  
  924. test -n "$YACC" && break
  925. done
  926. test -n "$YACC" || YACC="yacc"
  927.  
  928. ac_aux_dir=
  929. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  930.   if test -f $ac_dir/install-sh; then
  931.     ac_aux_dir=$ac_dir
  932.     ac_install_sh="$ac_aux_dir/install-sh -c"
  933.     break
  934.   elif test -f $ac_dir/install.sh; then
  935.     ac_aux_dir=$ac_dir
  936.     ac_install_sh="$ac_aux_dir/install.sh -c"
  937.     break
  938.   fi
  939. done
  940. if test -z "$ac_aux_dir"; then
  941.   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  942. fi
  943. ac_config_guess=$ac_aux_dir/config.guess
  944. ac_config_sub=$ac_aux_dir/config.sub
  945. ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  946.  
  947. # Find a good install program.  We prefer a C program (faster),
  948. # so one script is as good as another.  But avoid the broken or
  949. # incompatible versions:
  950. # SysV /etc/install, /usr/sbin/install
  951. # SunOS /usr/etc/install
  952. # IRIX /sbin/install
  953. # AIX /bin/install
  954. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  955. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  956. # ./install, which can be erroneously created by make from ./install.sh.
  957. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  958. echo "configure:959: checking for a BSD compatible install" >&5
  959. if test -z "$INSTALL"; then
  960. if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  961.   echo $ac_n "(cached) $ac_c" 1>&6
  962. else
  963.     IFS="${IFS=     }"; ac_save_IFS="$IFS"; IFS="${IFS};"
  964.   for ac_dir in $FPATH; do
  965.     # Account for people who put trailing slashes in PATH elements.
  966.     case "$ac_dir/" in
  967.     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  968.     # We reject the install program from OS/2 or W3.1
  969.     */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;
  970.     *)
  971.       # OSF1 and SCO ODT 3.0 have their own names for install.
  972.       for ac_prog in ginstall installbsd scoinst install; do
  973.         if test -f $ac_dir/$ac_prog.exe; then
  974.       if test $ac_prog = install &&
  975.             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  976.         # AIX install.  It has an incompatible calling convention.
  977.         # OSF/1 installbsd also uses dspmsg, but is usable.
  978.         :
  979.       else
  980.         ac_cv_path_install="$ac_dir/$ac_prog.exe -c"
  981.         break 2
  982.       fi
  983.     fi
  984.       done
  985.       ;;
  986.     esac
  987.   done
  988.   IFS="$ac_save_IFS"
  989.  
  990. fi
  991.   if test "${ac_cv_path_install+set}" = set; then
  992.     INSTALL="$ac_cv_path_install"
  993.   else
  994.     # As a last resort, use the slow shell script.  We don't cache a
  995.     # path for INSTALL within a source directory, because that will
  996.     # break other packages using the cache if that directory is
  997.     # removed, or if the path is relative.
  998.     INSTALL="$ac_install_sh"
  999.   fi
  1000. fi
  1001. echo "$ac_t""$INSTALL" 1>&6
  1002.  
  1003. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1004. # It thinks the first close brace ends the variable substitution.
  1005. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1006.  
  1007. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1008.  
  1009. if test $ac_cv_prog_gcc = yes; then
  1010.     echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
  1011. echo "configure:1012: checking whether ${CC-cc} needs -traditional" >&5
  1012. if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
  1013.   echo $ac_n "(cached) $ac_c" 1>&6
  1014. else
  1015.     ac_pattern="Autoconf.*'x'"
  1016.   cat > conftest.$ac_ext <<EOF
  1017. #line 1018 "configure"
  1018. #include "confdefs.h"
  1019. #include <sgtty.h>
  1020. Autoconf TIOCGETP
  1021. EOF
  1022. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1023.   egrep "$ac_pattern" >/dev/null 2>&1; then
  1024.   rm -rf conftest*
  1025.   ac_cv_prog_gcc_traditional=yes
  1026. else
  1027.   rm -rf conftest*
  1028.   ac_cv_prog_gcc_traditional=no
  1029. fi
  1030. rm -f conftest*
  1031.  
  1032.  
  1033.   if test $ac_cv_prog_gcc_traditional = no; then
  1034.     cat > conftest.$ac_ext <<EOF
  1035. #line 1036 "configure"
  1036. #include "confdefs.h"
  1037. #include <termio.h>
  1038. Autoconf TCGETA
  1039. EOF
  1040. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1041.   egrep "$ac_pattern" >/dev/null 2>&1; then
  1042.   rm -rf conftest*
  1043.   ac_cv_prog_gcc_traditional=yes
  1044. fi
  1045. rm -f conftest*
  1046.  
  1047.   fi
  1048. fi
  1049.  
  1050. echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
  1051.   if test $ac_cv_prog_gcc_traditional = yes; then
  1052.     CC="$CC -traditional"
  1053.   fi
  1054. fi
  1055.  
  1056.  
  1057. for ac_prog in lint alint
  1058. do
  1059. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1060. set dummy $ac_prog; ac_word=$2
  1061. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1062. echo "configure:1063: checking for $ac_word" >&5
  1063. if eval "test \"`echo '$''{'ac_cv_prog_LINT'+set}'`\" = set"; then
  1064.   echo $ac_n "(cached) $ac_c" 1>&6
  1065. else
  1066.   if test -n "$LINT"; then
  1067.   ac_cv_prog_LINT="$LINT" # Let the user override the test.
  1068. else
  1069.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS};"
  1070.   for ac_dir in $FPATH; do
  1071.     test -z "$ac_dir" && ac_dir=.
  1072. #NEW!!! Test for OS/2 executables and command files.
  1073.     if test -f $ac_dir/$ac_word.exe -o \
  1074.     -f $ac_dir/$ac_word.cmd -o \
  1075.     -f $ac_dir/$ac_word; then
  1076.       ac_cv_prog_LINT="$ac_prog"
  1077.       break
  1078.     fi
  1079.   done
  1080.   IFS="$ac_save_ifs"
  1081. fi
  1082. fi
  1083. LINT="$ac_cv_prog_LINT"
  1084. if test -n "$LINT"; then
  1085.   echo "$ac_t""$LINT" 1>&6
  1086. else
  1087.   echo "$ac_t""no" 1>&6
  1088. fi
  1089.  
  1090. test -n "$LINT" && break
  1091. done
  1092.  
  1093. if test -n "$LINT" ; then
  1094.     cat >> confdefs.h <<\EOF
  1095. #define HAVE_PROG_LINT 1
  1096. EOF
  1097.  
  1098. fi
  1099.  
  1100. ###    use option -with-warnings to turn on all gcc warnings
  1101. if test -n "$GCC"
  1102. then
  1103.  
  1104. # Check whether --with-warnings or --without-warnings was given.
  1105. if test "${with_warnings+set}" = set; then
  1106.   withval="$with_warnings"
  1107.   CFLAGS="$CFLAGS -Wall -Wshadow -Wconversion -Wstrict-prototypes -Wmissing-prototypes"
  1108. fi
  1109.  
  1110. fi
  1111.  
  1112. ###    extra things that we'll substitute in the makefile
  1113.  
  1114.  
  1115. echo $ac_n "checking for working const""... $ac_c" 1>&6
  1116. echo "configure:1117: checking for working const" >&5
  1117. if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
  1118.   echo $ac_n "(cached) $ac_c" 1>&6
  1119. else
  1120.   cat > conftest.$ac_ext <<EOF
  1121. #line 1122 "configure"
  1122. #include "confdefs.h"
  1123.  
  1124. int main() {
  1125.  
  1126. /* Ultrix mips cc rejects this.  */
  1127. typedef int charset[2]; const charset x;
  1128. /* SunOS 4.1.1 cc rejects this.  */
  1129. char const *const *ccp;
  1130. char **p;
  1131. /* NEC SVR4.0.2 mips cc rejects this.  */
  1132. struct point {int x, y;};
  1133. static struct point const zero = {0,0};
  1134. /* AIX XL C 1.02.0.0 rejects this.
  1135.    It does not let you subtract one const X* pointer from another in an arm
  1136.    of an if-expression whose if-part is not a constant expression */
  1137. const char *g = "string";
  1138. ccp = &g + (g ? g-g : 0);
  1139. /* HPUX 7.0 cc rejects these. */
  1140. ++ccp;
  1141. p = (char**) ccp;
  1142. ccp = (char const *const *) p;
  1143. { /* SCO 3.2v4 cc rejects this.  */
  1144.   char *t;
  1145.   char const *s = 0 ? (char *) 0 : (char const *) 0;
  1146.  
  1147.   *t++ = 0;
  1148. }
  1149. { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
  1150.   int x[] = {25, 17};
  1151.   const int *foo = &x[0];
  1152.   ++foo;
  1153. }
  1154. { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  1155.   typedef const int *iptr;
  1156.   iptr p = 0;
  1157.   ++p;
  1158. }
  1159. { /* AIX XL C 1.02.0.0 rejects this saying
  1160.      "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  1161.   struct s { int j; const int *ap[3]; };
  1162.   struct s *b; b->j = 5;
  1163. }
  1164. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  1165.   const int foo = 10;
  1166. }
  1167.  
  1168. ; return 0; }
  1169. EOF
  1170. if { (eval echo configure:1171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1171.   rm -rf conftest*
  1172.   ac_cv_c_const=yes
  1173. else
  1174.   echo "configure: failed program was:" >&5
  1175.   cat conftest.$ac_ext >&5
  1176.   rm -rf conftest*
  1177.   ac_cv_c_const=no
  1178. fi
  1179. rm -f conftest*
  1180. fi
  1181.  
  1182. echo "$ac_t""$ac_cv_c_const" 1>&6
  1183. if test $ac_cv_c_const = no; then
  1184.   cat >> confdefs.h <<\EOF
  1185. #define const 
  1186. EOF
  1187.  
  1188. fi
  1189.  
  1190. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
  1191. echo "configure:1192: checking for ANSI C header files" >&5
  1192. if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
  1193.   echo $ac_n "(cached) $ac_c" 1>&6
  1194. else
  1195.   cat > conftest.$ac_ext <<EOF
  1196. #line 1197 "configure"
  1197. #include "confdefs.h"
  1198. #include <stdlib.h>
  1199. #include <stdarg.h>
  1200. #include <string.h>
  1201. #include <float.h>
  1202. EOF
  1203. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1204. { (eval echo configure:1205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1205. ac_err=`grep -v '^ *+' conftest.out`
  1206. if test -z "$ac_err"; then
  1207.   rm -rf conftest*
  1208.   ac_cv_header_stdc=yes
  1209. else
  1210.   echo "$ac_err" >&5
  1211.   echo "configure: failed program was:" >&5
  1212.   cat conftest.$ac_ext >&5
  1213.   rm -rf conftest*
  1214.   ac_cv_header_stdc=no
  1215. fi
  1216. rm -f conftest*
  1217.  
  1218. if test $ac_cv_header_stdc = yes; then
  1219.   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1220. cat > conftest.$ac_ext <<EOF
  1221. #line 1222 "configure"
  1222. #include "confdefs.h"
  1223. #include <string.h>
  1224. EOF
  1225. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1226.   egrep "memchr" >/dev/null 2>&1; then
  1227.   :
  1228. else
  1229.   rm -rf conftest*
  1230.   ac_cv_header_stdc=no
  1231. fi
  1232. rm -f conftest*
  1233.  
  1234. fi
  1235.  
  1236. if test $ac_cv_header_stdc = yes; then
  1237.   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1238. cat > conftest.$ac_ext <<EOF
  1239. #line 1240 "configure"
  1240. #include "confdefs.h"
  1241. #include <stdlib.h>
  1242. EOF
  1243. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1244.   egrep "free" >/dev/null 2>&1; then
  1245.   :
  1246. else
  1247.   rm -rf conftest*
  1248.   ac_cv_header_stdc=no
  1249. fi
  1250. rm -f conftest*
  1251.  
  1252. fi
  1253.  
  1254. if test $ac_cv_header_stdc = yes; then
  1255.   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  1256. if test "$cross_compiling" = yes; then
  1257.   :
  1258. else
  1259.   cat > conftest.$ac_ext <<EOF
  1260. #line 1261 "configure"
  1261. #include "confdefs.h"
  1262. #include <ctype.h>
  1263. #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  1264. #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  1265. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  1266. int main () { int i; for (i = 0; i < 256; i++)
  1267. if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
  1268. exit (0); }
  1269.  
  1270. EOF
  1271. if { (eval echo configure:1272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest.exe && (./conftest; exit) 2>/dev/null
  1272. then
  1273.   :
  1274. else
  1275.   echo "configure: failed program was:" >&5
  1276.   cat conftest.$ac_ext >&5
  1277.   rm -fr conftest*
  1278.   ac_cv_header_stdc=no
  1279. fi
  1280. rm -fr conftest*
  1281. fi
  1282.  
  1283. fi
  1284. fi
  1285.  
  1286. echo "$ac_t""$ac_cv_header_stdc" 1>&6
  1287. if test $ac_cv_header_stdc = yes; then
  1288.   cat >> confdefs.h <<\EOF
  1289. #define STDC_HEADERS 1
  1290. EOF
  1291.  
  1292. fi
  1293.  
  1294. for ac_hdr in stdlib.h unistd.h
  1295. do
  1296. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  1297. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1298. echo "configure:1299: checking for $ac_hdr" >&5
  1299. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1300.   echo $ac_n "(cached) $ac_c" 1>&6
  1301. else
  1302.   cat > conftest.$ac_ext <<EOF
  1303. #line 1304 "configure"
  1304. #include "confdefs.h"
  1305. #include <$ac_hdr>
  1306. EOF
  1307. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1308. { (eval echo configure:1309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1309. ac_err=`grep -v '^ *+' conftest.out`
  1310. if test -z "$ac_err"; then
  1311.   rm -rf conftest*
  1312.   eval "ac_cv_header_$ac_safe=yes"
  1313. else
  1314.   echo "$ac_err" >&5
  1315.   echo "configure: failed program was:" >&5
  1316.   cat conftest.$ac_ext >&5
  1317.   rm -rf conftest*
  1318.   eval "ac_cv_header_$ac_safe=no"
  1319. fi
  1320. rm -f conftest*
  1321. fi
  1322. if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1323.   echo "$ac_t""yes" 1>&6
  1324.     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  1325.   cat >> confdefs.h <<EOF
  1326. #define $ac_tr_hdr 1
  1327. EOF
  1328.  
  1329. else
  1330.   echo "$ac_t""no" 1>&6
  1331. fi
  1332. done
  1333.  
  1334. for ac_hdr in getopt.h string.h memory.h
  1335. do
  1336. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  1337. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1338. echo "configure:1339: checking for $ac_hdr" >&5
  1339. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1340.   echo $ac_n "(cached) $ac_c" 1>&6
  1341. else
  1342.   cat > conftest.$ac_ext <<EOF
  1343. #line 1344 "configure"
  1344. #include "confdefs.h"
  1345. #include <$ac_hdr>
  1346. EOF
  1347. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1348. { (eval echo configure:1349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1349. ac_err=`grep -v '^ *+' conftest.out`
  1350. if test -z "$ac_err"; then
  1351.   rm -rf conftest*
  1352.   eval "ac_cv_header_$ac_safe=yes"
  1353. else
  1354.   echo "$ac_err" >&5
  1355.   echo "configure: failed program was:" >&5
  1356.   cat conftest.$ac_ext >&5
  1357.   rm -rf conftest*
  1358.   eval "ac_cv_header_$ac_safe=no"
  1359. fi
  1360. rm -f conftest*
  1361. fi
  1362. if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1363.   echo "$ac_t""yes" 1>&6
  1364.     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  1365.   cat >> confdefs.h <<EOF
  1366. #define $ac_tr_hdr 1
  1367. EOF
  1368.  
  1369. else
  1370.   echo "$ac_t""no" 1>&6
  1371. fi
  1372. done
  1373.  
  1374.  
  1375. for ac_func in strstr tmpfile link unlink mktemp
  1376. do
  1377. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1378. echo "configure:1379: checking for $ac_func" >&5
  1379. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1380.   echo $ac_n "(cached) $ac_c" 1>&6
  1381. else
  1382.   cat > conftest.$ac_ext <<EOF
  1383. #line 1384 "configure"
  1384. #include "confdefs.h"
  1385. /* System header to define __stub macros and hopefully few prototypes,
  1386.     which can conflict with char $ac_func(); below.  */
  1387. #include <assert.h>
  1388. /* Override any gcc2 internal prototype to avoid an error.  */
  1389. /* We use char because int might match the return type of a gcc2
  1390.     builtin and then its argument prototype would still apply.  */
  1391. char $ac_func();
  1392.  
  1393. int main() {
  1394.  
  1395. /* The GNU C library defines this for functions which it implements
  1396.     to always fail with ENOSYS.  Some functions are actually named
  1397.     something starting with __ and the normal name is an alias.  */
  1398. #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1399. choke me
  1400. #else
  1401. $ac_func();
  1402. #endif
  1403.  
  1404. ; return 0; }
  1405. EOF
  1406. if { (eval echo configure:1407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest.exe; then
  1407.   rm -rf conftest*
  1408.   eval "ac_cv_func_$ac_func=yes"
  1409. else
  1410.   echo "configure: failed program was:" >&5
  1411.   cat conftest.$ac_ext >&5
  1412.   rm -rf conftest*
  1413.   eval "ac_cv_func_$ac_func=no"
  1414. fi
  1415. rm -f conftest*
  1416. fi
  1417.  
  1418. if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1419.   echo "$ac_t""yes" 1>&6
  1420.     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  1421.   cat >> confdefs.h <<EOF
  1422. #define $ac_tr_func 1
  1423. EOF
  1424.  
  1425. else
  1426.   echo "$ac_t""no" 1>&6
  1427. fi
  1428. done
  1429.  
  1430.  
  1431. ###    special configuration tests
  1432. echo $ac_n "checking for size_t in <sys/types.h> or <stdio.h>""... $ac_c" 1>&6
  1433. echo "configure:1434: checking for size_t in <sys/types.h> or <stdio.h>" >&5
  1434. if eval "test \"`echo '$''{'ac_cv_td_size_t'+set}'`\" = set"; then
  1435.   echo $ac_n "(cached) $ac_c" 1>&6
  1436. else
  1437.   cat > conftest.$ac_ext <<EOF
  1438. #line 1439 "configure"
  1439. #include "confdefs.h"
  1440.  
  1441. #include <sys/types.h>
  1442. #if STDC_HEADERS
  1443. #include <stdlib.h>
  1444. #endif
  1445. #include <stdio.h>
  1446. int main() {
  1447. size_t f = 0
  1448. ; return 0; }
  1449. EOF
  1450. if { (eval echo configure:1451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest.exe; then
  1451.   rm -rf conftest*
  1452.   ac_cv_td_size_t=yes
  1453. else
  1454.   echo "configure: failed program was:" >&5
  1455.   cat conftest.$ac_ext >&5
  1456.   rm -rf conftest*
  1457.   ac_cv_td_size_t=no
  1458. fi
  1459. rm -f conftest*
  1460. fi
  1461.  
  1462. echo "$ac_t""$ac_cv_td_size_t" 1>&6
  1463. if test $ac_cv_td_size_t = no; then
  1464.     cat >> confdefs.h <<\EOF
  1465. #define size_t unsigned
  1466. EOF
  1467.  
  1468. fi
  1469.  
  1470.  
  1471. rm -f yacctest.y
  1472. cat >yacctest.y <<EOF
  1473. %{
  1474. #define xstrdup(s) s
  1475. #include "system.h"
  1476. #include <stdio.h>
  1477. #include <ctype.h>
  1478. #include "yyerror.c"
  1479. static void yaccError(s) char *s; { exit(0); }
  1480. int yylex ARGS((void))
  1481. { return 1; }
  1482. %}
  1483. %%
  1484. dummy
  1485.     : /* empty */
  1486.     | error '.'
  1487.     ;
  1488. %%
  1489. EOF
  1490. $CPP yacctest.y >yacctest.out 2>/dev/null
  1491. if test ! -s yacctest.out
  1492. then
  1493.     cat >> confdefs.h <<\EOF
  1494. #define CPP_DOES_ONLY_C_FILES 1
  1495. EOF
  1496.  
  1497. fi
  1498. $YACC yacctest.y
  1499. rm -f yacctest.*
  1500. td_incl='#include "y.tab.c"'
  1501. for COND in BISON_HAS_YYTNAME YACC_HAS_YYTOKS YACC_HAS_YYTOKS_2 YACC_HAS_YYNAME
  1502. do
  1503. echo $ac_n "checking for error-reporting with $COND""... $ac_c" 1>&6
  1504. echo "configure:1505: checking for error-reporting with $COND" >&5
  1505. if eval "test \"`echo '$''{'ac_cv_$COND'+set}'`\" = set"; then
  1506.   echo $ac_n "(cached) $ac_c" 1>&6
  1507. else
  1508.   cat > conftest.$ac_ext <<EOF
  1509. #line 1510 "configure"
  1510. #include "confdefs.h"
  1511.  
  1512. #define $COND 1
  1513. #define YYDEBUG 1
  1514. $td_incl
  1515. int main() {
  1516.  
  1517. ; return 0; }
  1518. EOF
  1519. if { (eval echo configure:1520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest.exe; then
  1520.   rm -rf conftest*
  1521.   eval 'ac_cv_'$COND'=yes'
  1522. else
  1523.   echo "configure: failed program was:" >&5
  1524.   cat conftest.$ac_ext >&5
  1525.   rm -rf conftest*
  1526.   eval 'ac_cv_'$COND'=no'
  1527. fi
  1528. rm -f conftest*
  1529. fi
  1530.  
  1531. eval 'td_result=$ac_cv_'$COND
  1532. echo "$ac_t""$td_result" 1>&6
  1533. if test $td_result = yes; then
  1534.     cat >> confdefs.h <<EOF
  1535. #define $COND 1
  1536. EOF
  1537.  
  1538.     break
  1539. fi
  1540. done
  1541. rm -f y.tab.c
  1542.  
  1543. echo $ac_n "checking for conflicting prototype for popen""... $ac_c" 1>&6
  1544. echo "configure:1545: checking for conflicting prototype for popen" >&5
  1545. if eval "test \"`echo '$''{'ac_cv_td_popen'+set}'`\" = set"; then
  1546.   echo $ac_n "(cached) $ac_c" 1>&6
  1547. else
  1548.   cat > conftest.$ac_ext <<EOF
  1549. #line 1550 "configure"
  1550. #include "confdefs.h"
  1551.  
  1552. #include <stdio.h>
  1553. #include "system.h"
  1554. extern int pclose ARGS((FILE *p));
  1555. extern FILE *popen ARGS((const char *c, const char *m));
  1556. int main() {
  1557.  
  1558. ; return 0; }
  1559. EOF
  1560. if { (eval echo configure:1561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest.exe; then
  1561.   rm -rf conftest*
  1562.   ac_cv_td_popen=no
  1563. else
  1564.   echo "configure: failed program was:" >&5
  1565.   cat conftest.$ac_ext >&5
  1566.   rm -rf conftest*
  1567.   ac_cv_td_popen=yes
  1568. fi
  1569. rm -f conftest*
  1570. fi
  1571.  
  1572. echo "$ac_t""$ac_cv_td_popen" 1>&6
  1573. if test $ac_cv_td_popen = yes; then
  1574.     cat >> confdefs.h <<\EOF
  1575. #define HAVE_POPEN_PROTOTYPE 1
  1576. EOF
  1577.  
  1578. fi
  1579.  
  1580.  
  1581. ###    debugging/testing
  1582.  
  1583. # Check whether --with-trace or --without-trace was given.
  1584. if test "${with_trace+set}" = set; then
  1585.   withval="$with_trace"
  1586.   
  1587.     echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
  1588. echo "configure:1589: checking whether time.h and sys/time.h may both be included" >&5
  1589. if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
  1590.   echo $ac_n "(cached) $ac_c" 1>&6
  1591. else
  1592.   cat > conftest.$ac_ext <<EOF
  1593. #line 1594 "configure"
  1594. #include "confdefs.h"
  1595. #include <sys/types.h>
  1596. #include <sys/time.h>
  1597. #include <time.h>
  1598. int main() {
  1599. struct tm *tp;
  1600. ; return 0; }
  1601. EOF
  1602. if { (eval echo configure:1603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1603.   rm -rf conftest*
  1604.   ac_cv_header_time=yes
  1605. else
  1606.   echo "configure: failed program was:" >&5
  1607.   cat conftest.$ac_ext >&5
  1608.   rm -rf conftest*
  1609.   ac_cv_header_time=no
  1610. fi
  1611. rm -f conftest*
  1612. fi
  1613.  
  1614. echo "$ac_t""$ac_cv_header_time" 1>&6
  1615. if test $ac_cv_header_time = yes; then
  1616.   cat >> confdefs.h <<\EOF
  1617. #define TIME_WITH_SYS_TIME 1
  1618. EOF
  1619.  
  1620. fi
  1621.  
  1622.     for ac_func in gettimeofday
  1623. do
  1624. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1625. echo "configure:1626: checking for $ac_func" >&5
  1626. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1627.   echo $ac_n "(cached) $ac_c" 1>&6
  1628. else
  1629.   cat > conftest.$ac_ext <<EOF
  1630. #line 1631 "configure"
  1631. #include "confdefs.h"
  1632. /* System header to define __stub macros and hopefully few prototypes,
  1633.     which can conflict with char $ac_func(); below.  */
  1634. #include <assert.h>
  1635. /* Override any gcc2 internal prototype to avoid an error.  */
  1636. /* We use char because int might match the return type of a gcc2
  1637.     builtin and then its argument prototype would still apply.  */
  1638. char $ac_func();
  1639.  
  1640. int main() {
  1641.  
  1642. /* The GNU C library defines this for functions which it implements
  1643.     to always fail with ENOSYS.  Some functions are actually named
  1644.     something starting with __ and the normal name is an alias.  */
  1645. #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1646. choke me
  1647. #else
  1648. $ac_func();
  1649. #endif
  1650.  
  1651. ; return 0; }
  1652. EOF
  1653. if { (eval echo configure:1654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest.exe; then
  1654.   rm -rf conftest*
  1655.   eval "ac_cv_func_$ac_func=yes"
  1656. else
  1657.   echo "configure: failed program was:" >&5
  1658.   cat conftest.$ac_ext >&5
  1659.   rm -rf conftest*
  1660.   eval "ac_cv_func_$ac_func=no"
  1661. fi
  1662. rm -f conftest*
  1663. fi
  1664.  
  1665. if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1666.   echo "$ac_t""yes" 1>&6
  1667.     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  1668.   cat >> confdefs.h <<EOF
  1669. #define $ac_tr_func 1
  1670. EOF
  1671.  
  1672. else
  1673.   echo "$ac_t""no" 1>&6
  1674. fi
  1675. done
  1676.  
  1677.     cat >> confdefs.h <<\EOF
  1678. #define DOALLOC 10000
  1679. EOF
  1680.  
  1681.     EXTRA_OBJS="$EXTRA_OBJS trace.o dump.o"
  1682. fi
  1683.  
  1684.  
  1685. # Check whether --with-dmalloc or --without-dmalloc was given.
  1686. if test "${with_dmalloc+set}" = set; then
  1687.   withval="$with_dmalloc"
  1688.   
  1689.     echo $ac_n "checking for dmalloc_debug in -ldmalloc""... $ac_c" 1>&6
  1690. echo "configure:1691: checking for dmalloc_debug in -ldmalloc" >&5
  1691. ac_lib_var=`echo dmalloc'_'dmalloc_debug | sed 'y%./+-%__p_%'`
  1692. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1693.   echo $ac_n "(cached) $ac_c" 1>&6
  1694. else
  1695.   ac_save_LIBS="$LIBS"
  1696. LIBS="-ldmalloc  $LIBS"
  1697. cat > conftest.$ac_ext <<EOF
  1698. #line 1699 "configure"
  1699. #include "confdefs.h"
  1700. /* Override any gcc2 internal prototype to avoid an error.  */
  1701. /* We use char because int might match the return type of a gcc2
  1702.     builtin and then its argument prototype would still apply.  */
  1703. char dmalloc_debug();
  1704.  
  1705. int main() {
  1706. dmalloc_debug()
  1707. ; return 0; }
  1708. EOF
  1709. if { (eval echo configure:1710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest.exe; then
  1710.   rm -rf conftest*
  1711.   eval "ac_cv_lib_$ac_lib_var=yes"
  1712. else
  1713.   echo "configure: failed program was:" >&5
  1714.   cat conftest.$ac_ext >&5
  1715.   rm -rf conftest*
  1716.   eval "ac_cv_lib_$ac_lib_var=no"
  1717. fi
  1718. rm -f conftest*
  1719. LIBS="$ac_save_LIBS"
  1720.  
  1721. fi
  1722. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  1723.   echo "$ac_t""yes" 1>&6
  1724.     ac_tr_lib=HAVE_LIB`echo dmalloc | sed -e 's/[^a-zA-Z0-9_]/_/g' \
  1725.     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  1726.   cat >> confdefs.h <<EOF
  1727. #define $ac_tr_lib 1
  1728. EOF
  1729.  
  1730.   LIBS="-ldmalloc $LIBS"
  1731.  
  1732. else
  1733.   echo "$ac_t""no" 1>&6
  1734. fi
  1735.  
  1736. fi
  1737.  
  1738.  
  1739. # Check whether --with-dbmalloc or --without-dbmalloc was given.
  1740. if test "${with_dbmalloc+set}" = set; then
  1741.   withval="$with_dbmalloc"
  1742.   
  1743.     echo $ac_n "checking for debug_malloc in -ldbmalloc""... $ac_c" 1>&6
  1744. echo "configure:1745: checking for debug_malloc in -ldbmalloc" >&5
  1745. ac_lib_var=`echo dbmalloc'_'debug_malloc | sed 'y%./+-%__p_%'`
  1746. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1747.   echo $ac_n "(cached) $ac_c" 1>&6
  1748. else
  1749.   ac_save_LIBS="$LIBS"
  1750. LIBS="-ldbmalloc  $LIBS"
  1751. cat > conftest.$ac_ext <<EOF
  1752. #line 1753 "configure"
  1753. #include "confdefs.h"
  1754. /* Override any gcc2 internal prototype to avoid an error.  */
  1755. /* We use char because int might match the return type of a gcc2
  1756.     builtin and then its argument prototype would still apply.  */
  1757. char debug_malloc();
  1758.  
  1759. int main() {
  1760. debug_malloc()
  1761. ; return 0; }
  1762. EOF
  1763. if { (eval echo configure:1764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest.exe; then
  1764.   rm -rf conftest*
  1765.   eval "ac_cv_lib_$ac_lib_var=yes"
  1766. else
  1767.   echo "configure: failed program was:" >&5
  1768.   cat conftest.$ac_ext >&5
  1769.   rm -rf conftest*
  1770.   eval "ac_cv_lib_$ac_lib_var=no"
  1771. fi
  1772. rm -f conftest*
  1773. LIBS="$ac_save_LIBS"
  1774.  
  1775. fi
  1776. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  1777.   echo "$ac_t""yes" 1>&6
  1778.     ac_tr_lib=HAVE_LIB`echo dbmalloc | sed -e 's/[^a-zA-Z0-9_]/_/g' \
  1779.     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  1780.   cat >> confdefs.h <<EOF
  1781. #define $ac_tr_lib 1
  1782. EOF
  1783.  
  1784.   LIBS="-ldbmalloc $LIBS"
  1785.  
  1786. else
  1787.   echo "$ac_t""no" 1>&6
  1788. fi
  1789.  
  1790. fi
  1791.  
  1792.  
  1793. echo setting other definitions
  1794. cat >> confdefs.h <<EOF
  1795. #define CPP "$CPP"
  1796. EOF
  1797.  
  1798.  
  1799. ###    output makefile and config.h
  1800. trap '' 1 2 15
  1801. cat > confcache <<\EOF
  1802. # This file is a shell script that caches the results of configure
  1803. # tests run on this system so they can be shared between configure
  1804. # scripts and configure runs.  It is not useful on other systems.
  1805. # If it contains results you don't want to keep, you may remove or edit it.
  1806. #
  1807. # By default, configure uses ./config.cache as the cache file,
  1808. # creating it if it does not exist already.  You can give configure
  1809. # the --cache-file=FILE option to use a different cache file; that is
  1810. # what configure does when it calls configure scripts in
  1811. # subdirectories, so they share the cache.
  1812. # Giving --cache-file=/dev/null disables caching, for debugging configure.
  1813. # config.status only pays attention to the cache file if you give it the
  1814. # --recheck option to rerun configure.
  1815. #
  1816. EOF
  1817. # The following way of writing the cache mishandles newlines in values,
  1818. # but we know of no workaround that is simple, portable, and efficient.
  1819. # So, don't put newlines in cache variables' values.
  1820. # Ultrix sh set writes to stderr and can't be redirected directly,
  1821. # and sets the high bit in the cache file unless we assign to the vars.
  1822. (set) 2>&1 |
  1823.   case `(ac_space=' '; set) 2>&1 | grep '^ac_space='` in
  1824.   *ac_space=\ *)
  1825.     # `set' does not quote correctly, so add quotes (double-quote substitution
  1826.     # turns \\\\ into \\, and sed turns \\ into \).
  1827.     sed -n \
  1828.       -e "s/'/'\\\\''/g" \
  1829.       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
  1830.     ;;
  1831.   *)
  1832.     # `set' quotes correctly as required by POSIX, so do not add quotes.
  1833.     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
  1834.     ;;
  1835.   esac >> confcache
  1836. if cmp -s $cache_file confcache; then
  1837.   :
  1838. else
  1839.   if test -w $cache_file; then
  1840.     echo "updating cache $cache_file"
  1841.     cat confcache > $cache_file
  1842.   else
  1843.     echo "not updating unwritable cache $cache_file"
  1844.   fi
  1845. fi
  1846. rm -f confcache
  1847.  
  1848. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  1849.  
  1850. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1851. # Let make expand exec_prefix.
  1852. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  1853.  
  1854. # Any assignment to VPATH causes Sun make to only execute
  1855. # the first set of double-colon rules, so remove it if not needed.
  1856. # If there is a colon in the path, we need to keep it.
  1857. if test "x$srcdir" = x.; then
  1858.   ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  1859. fi
  1860.  
  1861. trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  1862.  
  1863.  
  1864. # Transform confdefs.h into DEFS.
  1865. # Protect against shell expansion while executing Makefile rules.
  1866. # Protect against Makefile macro expansion.
  1867. cat > conftest.defs <<\EOF
  1868. s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
  1869. s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
  1870. s%\[%\\&%g
  1871. s%\]%\\&%g
  1872. s%\$%$$%g
  1873. EOF
  1874. DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
  1875. rm -f conftest.defs
  1876.  
  1877.  
  1878. # Without the "./", some shells look in PATH for config.status.
  1879. : ${CONFIG_STATUS=./config.status}
  1880.  
  1881. echo creating $CONFIG_STATUS
  1882. rm -f $CONFIG_STATUS
  1883. cat > $CONFIG_STATUS <<EOF
  1884. #! sh.exe
  1885. # Generated automatically by configure.
  1886. # Run this file to recreate the current configuration.
  1887. # This directory was configured as follows,
  1888. # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1889. #
  1890. # $0 $ac_configure_args
  1891. #
  1892. # Compiler output produced by configure, useful for debugging
  1893. # configure, is in ./config.log if it exists.
  1894.  
  1895. ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  1896. for ac_option
  1897. do
  1898.   case "\$ac_option" in
  1899.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1900.     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  1901.     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  1902.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1903.     echo "$CONFIG_STATUS generated by autoconf version 2.12.971230"
  1904.     exit 0 ;;
  1905.   -help | --help | --hel | --he | --h)
  1906.     echo "\$ac_cs_usage"; exit 0 ;;
  1907.   *) echo "\$ac_cs_usage"; exit 1 ;;
  1908.   esac
  1909. done
  1910.  
  1911. ac_given_srcdir=$srcdir
  1912. ac_given_INSTALL="$INSTALL"
  1913.  
  1914. trap 'rm -fr `echo "Makefile config_h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  1915. EOF
  1916. cat >> $CONFIG_STATUS <<EOF
  1917.  
  1918. # Protect against being on the right side of a sed subst in config.status.
  1919. sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  1920.  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  1921. $ac_vpsub
  1922. $extrasub
  1923. s,/bin/sh,sh.exe,g
  1924. s%@CFLAGS@%$CFLAGS%g
  1925. s%@CPPFLAGS@%$CPPFLAGS%g
  1926. s%@CXXFLAGS@%$CXXFLAGS%g
  1927. s%@DEFS@%$DEFS%g
  1928. s%@LDFLAGS@%$LDFLAGS%g
  1929. s%@LIBS@%$LIBS%g
  1930. s%@exec_prefix@%$exec_prefix%g
  1931. s%@prefix@%$prefix%g
  1932. s%@program_transform_name@%$program_transform_name%g
  1933. s%@bindir@%$bindir%g
  1934. s%@sbindir@%$sbindir%g
  1935. s%@libexecdir@%$libexecdir%g
  1936. s%@datadir@%$datadir%g
  1937. s%@sysconfdir@%$sysconfdir%g
  1938. s%@sharedstatedir@%$sharedstatedir%g
  1939. s%@localstatedir@%$localstatedir%g
  1940. s%@libdir@%$libdir%g
  1941. s%@includedir@%$includedir%g
  1942. s%@oldincludedir@%$oldincludedir%g
  1943. s%@infodir@%$infodir%g
  1944. s%@mandir@%$mandir%g
  1945. s%@CC@%$CC%g
  1946. s%@CPP@%$CPP%g
  1947. s%@LEX@%$LEX%g
  1948. s%@LEXLIB@%$LEXLIB%g
  1949. s%@SET_MAKE@%$SET_MAKE%g
  1950. s%@YACC@%$YACC%g
  1951. s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  1952. s%@INSTALL_DATA@%$INSTALL_DATA%g
  1953. s%@LINT@%$LINT%g
  1954. s%@EXTRA_OBJS@%$EXTRA_OBJS%g
  1955.  
  1956. CEOF
  1957. EOF
  1958.  
  1959. cat >> $CONFIG_STATUS <<\EOF
  1960.  
  1961. # Split the substitutions into bite-sized pieces for seds with
  1962. # small command number limits, like on Digital OSF/1 and HP-UX.
  1963. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
  1964. ac_file=1 # Number of current file.
  1965. ac_beg=1 # First line for current file.
  1966. ac_end=$ac_max_sed_cmds # Line after last line for current file.
  1967. ac_more_lines=:
  1968. ac_sed_cmds=""
  1969. while $ac_more_lines; do
  1970.   if test $ac_beg -gt 1; then
  1971.     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  1972.   else
  1973.     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  1974.   fi
  1975.   if test ! -s conftest.s$ac_file; then
  1976.     ac_more_lines=false
  1977.     rm -f conftest.s$ac_file
  1978.   else
  1979.     if test -z "$ac_sed_cmds"; then
  1980.       ac_sed_cmds="sed -f conftest.s$ac_file"
  1981.     else
  1982.       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
  1983.     fi
  1984.     ac_file=`expr $ac_file + 1`
  1985.     ac_beg=$ac_end
  1986.     ac_end=`expr $ac_end + $ac_max_sed_cmds`
  1987.   fi
  1988. done
  1989. if test -z "$ac_sed_cmds"; then
  1990.   ac_sed_cmds=cat
  1991. fi
  1992. EOF
  1993.  
  1994. cat >> $CONFIG_STATUS <<EOF
  1995.  
  1996. CONFIG_FILES=\${CONFIG_FILES-"Makefile config_h"}
  1997. EOF
  1998. cat >> $CONFIG_STATUS <<\EOF
  1999. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  2000.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  2001.   case "$ac_file" in
  2002.   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  2003.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  2004.   *) ac_file_in="${ac_file}.in" ;;
  2005.   esac
  2006.  
  2007.   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
  2008.  
  2009.   # Remove last slash and all that follows it.  Not all systems have dirname.
  2010.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2011.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2012.     # The file is in a subdirectory.
  2013.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  2014.     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  2015.     # A "../" for each directory in $ac_dir_suffix.
  2016.     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  2017.   else
  2018.     ac_dir_suffix= ac_dots=
  2019.   fi
  2020.  
  2021.   case "$ac_given_srcdir" in
  2022.   .)  srcdir=.
  2023.       if test -z "$ac_dots"; then top_srcdir=.
  2024.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  2025.   /*|[A-Za-z]:*)
  2026.       srcdir="$ac_given_srcdir$ac_dir_suffix"; 
  2027.       top_srcdir="$ac_given_srcdir" ;;
  2028.   *) # Relative path.
  2029.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  2030.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  2031.   esac
  2032.  
  2033.   case "$ac_given_INSTALL" in
  2034.   [/$]*|[A-Za-z]:* ) INSTALL="$ac_given_INSTALL" ;;
  2035.   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  2036.   esac
  2037.  
  2038.   echo creating "$ac_file"
  2039.   rm -f "$ac_file"
  2040.   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  2041.   case "$ac_file" in
  2042.   *Makefile*) ac_comsub="1i\\
  2043. # $configure_input" ;;
  2044.   *) ac_comsub= ;;
  2045.   esac
  2046.  
  2047.   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  2048.   sed -e "$ac_comsub
  2049. s%@configure_input@%$configure_input%g
  2050. s%@srcdir@%$srcdir%g
  2051. s%@top_srcdir@%$top_srcdir%g
  2052. s%@INSTALL@%$INSTALL%g
  2053. " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
  2054. fi; done
  2055. rm -f conftest.s*
  2056.  
  2057. EOF
  2058. cat >> $CONFIG_STATUS <<EOF
  2059. # Extra initialization commands, if any
  2060.  
  2061. EOF
  2062. cat >> $CONFIG_STATUS <<\EOF
  2063. # Extra commands, if any
  2064.  
  2065. echo creating config.h
  2066. sed    -e '/^# /d' \
  2067.     -e 's/ -D/\
  2068. #define /g' \
  2069.     -e 's/\(#define [A-Za-z_][A-Za-z0-9_]*\)=/\1    /g' \
  2070.     -e 's/\\//g' \
  2071.     config_h >config.h
  2072.  
  2073. echo removing config_h
  2074. rm config_h
  2075.  
  2076. exit 0
  2077. EOF
  2078. chmod +x $CONFIG_STATUS
  2079. rm -fr confdefs* $ac_clean_files
  2080. test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  2081.  
  2082. touch stamp-h
  2083.