home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / fchk294s.zip / ftnchek-2.9.4 / configure < prev    next >
Text File  |  1996-10-02  |  51KB  |  1,831 lines

  1. #! /bin/sh
  2.  
  3. # Guess values for system-dependent variables and create Makefiles.
  4. # Generated automatically using autoconf version 2.7 
  5. # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
  6. #
  7. # This configure script is free software; the Free Software Foundation
  8. # gives unlimited permission to copy, distribute and modify it.
  9.  
  10. # Defaults:
  11. ac_help=
  12. ac_default_prefix=/usr/local
  13. # Any additions from configure.in:
  14.  
  15. # Initialize some variables set by options.
  16. # The variables have the same names as the options, with
  17. # dashes changed to underlines.
  18. build=NONE
  19. cache_file=./config.cache
  20. exec_prefix=NONE
  21. host=NONE
  22. no_create=
  23. nonopt=NONE
  24. no_recursion=
  25. prefix=NONE
  26. program_prefix=NONE
  27. program_suffix=NONE
  28. program_transform_name=s,x,x,
  29. silent=
  30. site=
  31. srcdir=
  32. target=NONE
  33. verbose=
  34. x_includes=NONE
  35. x_libraries=NONE
  36. bindir='${exec_prefix}/bin'
  37. sbindir='${exec_prefix}/sbin'
  38. libexecdir='${exec_prefix}/libexec'
  39. datadir='${prefix}/share'
  40. sysconfdir='${prefix}/etc'
  41. sharedstatedir='${prefix}/com'
  42. localstatedir='${prefix}/var'
  43. libdir='${exec_prefix}/lib'
  44. includedir='${prefix}/include'
  45. oldincludedir='/usr/include'
  46. infodir='${prefix}/info'
  47. mandir='${prefix}/man'
  48.  
  49. # Initialize some other variables.
  50. subdirs=
  51. MFLAGS= MAKEFLAGS=
  52.  
  53. ac_prev=
  54. for ac_option
  55. do
  56.  
  57.   # If the previous option needs an argument, assign it.
  58.   if test -n "$ac_prev"; then
  59.     eval "$ac_prev=\$ac_option"
  60.     ac_prev=
  61.     continue
  62.   fi
  63.  
  64.   case "$ac_option" in
  65.   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  66.   *) ac_optarg= ;;
  67.   esac
  68.  
  69.   # Accept the important Cygnus configure options, so we can diagnose typos.
  70.  
  71.   case "$ac_option" in
  72.  
  73.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  74.     ac_prev=bindir ;;
  75.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  76.     bindir="$ac_optarg" ;;
  77.  
  78.   -build | --build | --buil | --bui | --bu)
  79.     ac_prev=build ;;
  80.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  81.     build="$ac_optarg" ;;
  82.  
  83.   -cache-file | --cache-file | --cache-fil | --cache-fi \
  84.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  85.     ac_prev=cache_file ;;
  86.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  87.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  88.     cache_file="$ac_optarg" ;;
  89.  
  90.   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  91.     ac_prev=datadir ;;
  92.   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  93.   | --da=*)
  94.     datadir="$ac_optarg" ;;
  95.  
  96.   -disable-* | --disable-*)
  97.     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  98.     # Reject names that are not valid shell variable names.
  99.     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  100.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  101.     fi
  102.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  103.     eval "enable_${ac_feature}=no" ;;
  104.  
  105.   -enable-* | --enable-*)
  106.     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  107.     # Reject names that are not valid shell variable names.
  108.     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  109.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  110.     fi
  111.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  112.     case "$ac_option" in
  113.       *=*) ;;
  114.       *) ac_optarg=yes ;;
  115.     esac
  116.     eval "enable_${ac_feature}='$ac_optarg'" ;;
  117.  
  118.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  119.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  120.   | --exec | --exe | --ex)
  121.     ac_prev=exec_prefix ;;
  122.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  123.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  124.   | --exec=* | --exe=* | --ex=*)
  125.     exec_prefix="$ac_optarg" ;;
  126.  
  127.   -gas | --gas | --ga | --g)
  128.     # Obsolete; use --with-gas.
  129.     with_gas=yes ;;
  130.  
  131.   -help | --help | --hel | --he)
  132.     # Omit some internal or obsolete options to make the list less imposing.
  133.     # This message is too long to be a string in the A/UX 3.1 sh.
  134.     cat << EOF
  135. Usage: configure [options] [host]
  136. Options: [defaults in brackets after descriptions]
  137. Configuration:
  138.   --cache-file=FILE       cache test results in FILE
  139.   --help                  print this message
  140.   --no-create             do not create output files
  141.   --quiet, --silent       do not print \`checking...' messages
  142.   --version               print the version of autoconf that created configure
  143. Directory and file names:
  144.   --prefix=PREFIX         install architecture-independent files in PREFIX
  145.                           [$ac_default_prefix]
  146.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  147.                           [same as prefix]
  148.   --bindir=DIR            user executables in DIR [EPREFIX/bin]
  149.   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  150.   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  151.   --datadir=DIR           read-only architecture-independent data in DIR
  152.                           [PREFIX/share]
  153.   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  154.   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  155.                           [PREFIX/com]
  156.   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  157.   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  158.   --includedir=DIR        C header files in DIR [PREFIX/include]
  159.   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  160.   --infodir=DIR           info documentation in DIR [PREFIX/info]
  161.   --mandir=DIR            man documentation in DIR [PREFIX/man]
  162.   --srcdir=DIR            find the sources in DIR [configure dir or ..]
  163.   --program-prefix=PREFIX prepend PREFIX to installed program names
  164.   --program-suffix=SUFFIX append SUFFIX to installed program names
  165.   --program-transform-name=PROGRAM
  166.                           run sed PROGRAM on installed program names
  167. EOF
  168.     cat << EOF
  169. Host type:
  170.   --build=BUILD           configure for building on BUILD [BUILD=HOST]
  171.   --host=HOST             configure for HOST [guessed]
  172.   --target=TARGET         configure for TARGET [TARGET=HOST]
  173. Features and packages:
  174.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  175.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  176.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  177.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  178.   --x-includes=DIR        X include files are in DIR
  179.   --x-libraries=DIR       X library files are in DIR
  180. EOF
  181.     if test -n "$ac_help"; then
  182.       echo "--enable and --with options recognized:$ac_help"
  183.     fi
  184.     exit 0 ;;
  185.  
  186.   -host | --host | --hos | --ho)
  187.     ac_prev=host ;;
  188.   -host=* | --host=* | --hos=* | --ho=*)
  189.     host="$ac_optarg" ;;
  190.  
  191.   -includedir | --includedir | --includedi | --included | --include \
  192.   | --includ | --inclu | --incl | --inc)
  193.     ac_prev=includedir ;;
  194.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  195.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  196.     includedir="$ac_optarg" ;;
  197.  
  198.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  199.     ac_prev=infodir ;;
  200.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  201.     infodir="$ac_optarg" ;;
  202.  
  203.   -libdir | --libdir | --libdi | --libd)
  204.     ac_prev=libdir ;;
  205.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  206.     libdir="$ac_optarg" ;;
  207.  
  208.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  209.   | --libexe | --libex | --libe)
  210.     ac_prev=libexecdir ;;
  211.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  212.   | --libexe=* | --libex=* | --libe=*)
  213.     libexecdir="$ac_optarg" ;;
  214.  
  215.   -localstatedir | --localstatedir | --localstatedi | --localstated \
  216.   | --localstate | --localstat | --localsta | --localst \
  217.   | --locals | --local | --loca | --loc | --lo)
  218.     ac_prev=localstatedir ;;
  219.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  220.   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  221.   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  222.     localstatedir="$ac_optarg" ;;
  223.  
  224.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  225.     ac_prev=mandir ;;
  226.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  227.     mandir="$ac_optarg" ;;
  228.  
  229.   -nfp | --nfp | --nf)
  230.     # Obsolete; use --without-fp.
  231.     with_fp=no ;;
  232.  
  233.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  234.   | --no-cr | --no-c)
  235.     no_create=yes ;;
  236.  
  237.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  238.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  239.     no_recursion=yes ;;
  240.  
  241.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  242.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  243.   | --oldin | --oldi | --old | --ol | --o)
  244.     ac_prev=oldincludedir ;;
  245.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  246.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  247.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  248.     oldincludedir="$ac_optarg" ;;
  249.  
  250.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  251.     ac_prev=prefix ;;
  252.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  253.     prefix="$ac_optarg" ;;
  254.  
  255.   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  256.   | --program-pre | --program-pr | --program-p)
  257.     ac_prev=program_prefix ;;
  258.   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  259.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  260.     program_prefix="$ac_optarg" ;;
  261.  
  262.   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  263.   | --program-suf | --program-su | --program-s)
  264.     ac_prev=program_suffix ;;
  265.   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  266.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  267.     program_suffix="$ac_optarg" ;;
  268.  
  269.   -program-transform-name | --program-transform-name \
  270.   | --program-transform-nam | --program-transform-na \
  271.   | --program-transform-n | --program-transform- \
  272.   | --program-transform | --program-transfor \
  273.   | --program-transfo | --program-transf \
  274.   | --program-trans | --program-tran \
  275.   | --progr-tra | --program-tr | --program-t)
  276.     ac_prev=program_transform_name ;;
  277.   -program-transform-name=* | --program-transform-name=* \
  278.   | --program-transform-nam=* | --program-transform-na=* \
  279.   | --program-transform-n=* | --program-transform-=* \
  280.   | --program-transform=* | --program-transfor=* \
  281.   | --program-transfo=* | --program-transf=* \
  282.   | --program-trans=* | --program-tran=* \
  283.   | --progr-tra=* | --program-tr=* | --program-t=*)
  284.     program_transform_name="$ac_optarg" ;;
  285.  
  286.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  287.   | -silent | --silent | --silen | --sile | --sil)
  288.     silent=yes ;;
  289.  
  290.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  291.     ac_prev=sbindir ;;
  292.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  293.   | --sbi=* | --sb=*)
  294.     sbindir="$ac_optarg" ;;
  295.  
  296.   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  297.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  298.   | --sharedst | --shareds | --shared | --share | --shar \
  299.   | --sha | --sh)
  300.     ac_prev=sharedstatedir ;;
  301.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  302.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  303.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  304.   | --sha=* | --sh=*)
  305.     sharedstatedir="$ac_optarg" ;;
  306.  
  307.   -site | --site | --sit)
  308.     ac_prev=site ;;
  309.   -site=* | --site=* | --sit=*)
  310.     site="$ac_optarg" ;;
  311.  
  312.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  313.     ac_prev=srcdir ;;
  314.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  315.     srcdir="$ac_optarg" ;;
  316.  
  317.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  318.   | --syscon | --sysco | --sysc | --sys | --sy)
  319.     ac_prev=sysconfdir ;;
  320.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  321.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  322.     sysconfdir="$ac_optarg" ;;
  323.  
  324.   -target | --target | --targe | --targ | --tar | --ta | --t)
  325.     ac_prev=target ;;
  326.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  327.     target="$ac_optarg" ;;
  328.  
  329.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  330.     verbose=yes ;;
  331.  
  332.   -version | --version | --versio | --versi | --vers)
  333.     echo "configure generated by autoconf version 2.7"
  334.     exit 0 ;;
  335.  
  336.   -with-* | --with-*)
  337.     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  338.     # Reject names that are not valid shell variable names.
  339.     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  340.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  341.     fi
  342.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  343.     case "$ac_option" in
  344.       *=*) ;;
  345.       *) ac_optarg=yes ;;
  346.     esac
  347.     eval "with_${ac_package}='$ac_optarg'" ;;
  348.  
  349.   -without-* | --without-*)
  350.     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  351.     # Reject names that are not valid shell variable names.
  352.     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  353.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  354.     fi
  355.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  356.     eval "with_${ac_package}=no" ;;
  357.  
  358.   --x)
  359.     # Obsolete; use --with-x.
  360.     with_x=yes ;;
  361.  
  362.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  363.   | --x-incl | --x-inc | --x-in | --x-i)
  364.     ac_prev=x_includes ;;
  365.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  366.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  367.     x_includes="$ac_optarg" ;;
  368.  
  369.   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  370.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  371.     ac_prev=x_libraries ;;
  372.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  373.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  374.     x_libraries="$ac_optarg" ;;
  375.  
  376.   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  377.     ;;
  378.  
  379.   *)
  380.     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  381.       echo "configure: warning: $ac_option: invalid host type" 1>&2
  382.     fi
  383.     if test "x$nonopt" != xNONE; then
  384.       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  385.     fi
  386.     nonopt="$ac_option"
  387.     ;;
  388.  
  389.   esac
  390. done
  391.  
  392. if test -n "$ac_prev"; then
  393.   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  394. fi
  395.  
  396. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  397.  
  398. # File descriptor usage:
  399. # 0 standard input
  400. # 1 file creation
  401. # 2 errors and warnings
  402. # 3 some systems may open it to /dev/tty
  403. # 4 used on the Kubota Titan
  404. # 6 checking for... messages and results
  405. # 5 compiler messages saved in config.log
  406. if test "$silent" = yes; then
  407.   exec 6>/dev/null
  408. else
  409.   exec 6>&1
  410. fi
  411. exec 5>./config.log
  412.  
  413. echo "\
  414. This file contains any messages produced by compilers while
  415. running configure, to aid debugging if configure makes a mistake.
  416. " 1>&5
  417.  
  418. # Strip out --no-create and --no-recursion so they do not pile up.
  419. # Also quote any args containing shell metacharacters.
  420. ac_configure_args=
  421. for ac_arg
  422. do
  423.   case "$ac_arg" in
  424.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  425.   | --no-cr | --no-c) ;;
  426.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  427.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  428.   *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  429.   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  430.   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  431.   esac
  432. done
  433.  
  434. # NLS nuisances.
  435. # Only set LANG and LC_ALL to C if already set.
  436. # These must not be set unconditionally because not all systems understand
  437. # e.g. LANG=C (notably SCO).
  438. if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  439. if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  440.  
  441. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  442. rm -rf conftest* confdefs.h
  443. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  444. echo > confdefs.h
  445.  
  446. # A filename unique to this package, relative to the directory that
  447. # configure is in, which we can look for to find out if srcdir is correct.
  448. ac_unique_file=ftnchek.c
  449.  
  450. # Find the source files, if location was not specified.
  451. if test -z "$srcdir"; then
  452.   ac_srcdir_defaulted=yes
  453.   # Try the directory containing this script, then its parent.
  454.   ac_prog=$0
  455.   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  456.   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  457.   srcdir=$ac_confdir
  458.   if test ! -r $srcdir/$ac_unique_file; then
  459.     srcdir=..
  460.   fi
  461. else
  462.   ac_srcdir_defaulted=no
  463. fi
  464. if test ! -r $srcdir/$ac_unique_file; then
  465.   if test "$ac_srcdir_defaulted" = yes; then
  466.     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  467.   else
  468.     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  469.   fi
  470. fi
  471. srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  472.  
  473. # Prefer explicitly selected file to automatically selected ones.
  474. if test -z "$CONFIG_SITE"; then
  475.   if test "x$prefix" != xNONE; then
  476.     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  477.   else
  478.     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  479.   fi
  480. fi
  481. for ac_site_file in $CONFIG_SITE; do
  482.   if test -r "$ac_site_file"; then
  483.     echo "loading site script $ac_site_file"
  484.     . "$ac_site_file"
  485.   fi
  486. done
  487.  
  488. if test -r "$cache_file"; then
  489.   echo "loading cache $cache_file"
  490.   . $cache_file
  491. else
  492.   echo "creating cache $cache_file"
  493.   > $cache_file
  494. fi
  495.  
  496. ac_ext=c
  497. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  498. ac_cpp='echo $CPP $CPPFLAGS 1>&5;
  499. $CPP $CPPFLAGS'
  500. ac_compile='echo ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5;
  501. ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 2>&5'
  502. ac_link='echo ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5;
  503. ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 2>&5'
  504.  
  505. if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  506.   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  507.   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  508.     ac_n= ac_c='
  509. ' ac_t='    '
  510.   else
  511.     ac_n=-n ac_c= ac_t=
  512.   fi
  513. else
  514.   ac_n= ac_c='\c' ac_t=
  515. fi
  516.  
  517.  
  518.  
  519. ac_aux_dir=
  520. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  521.   if test -f $ac_dir/install-sh; then
  522.     ac_aux_dir=$ac_dir
  523.     ac_install_sh="$ac_aux_dir/install-sh -c"
  524.     break
  525.   elif test -f $ac_dir/install.sh; then
  526.     ac_aux_dir=$ac_dir
  527.     ac_install_sh="$ac_aux_dir/install.sh -c"
  528.     break
  529.   fi
  530. done
  531. if test -z "$ac_aux_dir"; then
  532.   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  533. fi
  534. ac_config_guess=$ac_aux_dir/config.guess
  535. ac_config_sub=$ac_aux_dir/config.sub
  536. ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  537.  
  538.  
  539. # Make sure we can run config.sub.
  540. if $ac_config_sub sun4 >/dev/null 2>&1; then :
  541. else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
  542. fi
  543.  
  544. echo $ac_n "checking host system type""... $ac_c" 1>&6
  545.  
  546. host_alias=$host
  547. case "$host_alias" in
  548. NONE)
  549.   case $nonopt in
  550.   NONE)
  551.     if host_alias=`$ac_config_guess`; then :
  552.     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
  553.     fi ;;
  554.   *) host_alias=$nonopt ;;
  555.   esac ;;
  556. esac
  557.  
  558. host=`$ac_config_sub $host_alias`
  559. host_cpu=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
  560. host_vendor=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
  561. host_os=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
  562. echo "$ac_t""$host" 1>&6
  563.  
  564.  
  565.  
  566. for ac_prog in 'bison -y' byacc
  567. do
  568. # Extract the first word of "$ac_prog", so it can be a program name with args.
  569. set dummy $ac_prog; ac_word=$2
  570. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  571. if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
  572.   echo $ac_n "(cached) $ac_c" 1>&6
  573. else
  574.   if test -n "$YACC"; then
  575.   ac_cv_prog_YACC="$YACC" # Let the user override the test.
  576. else
  577.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  578.   for ac_dir in $PATH; do
  579.     test -z "$ac_dir" && ac_dir=.
  580.     if test -f $ac_dir/$ac_word; then
  581.       ac_cv_prog_YACC="$ac_prog"
  582.       break
  583.     fi
  584.   done
  585.   IFS="$ac_save_ifs"
  586. fi
  587. fi
  588. YACC="$ac_cv_prog_YACC"
  589. if test -n "$YACC"; then
  590.   echo "$ac_t""$YACC" 1>&6
  591. else
  592.   echo "$ac_t""no" 1>&6
  593. fi
  594.  
  595. test -n "$YACC" && break
  596. done
  597. test -n "$YACC" || YACC="yacc"
  598.  
  599. if test -z "$YACC"; then  
  600.    echo "configure: warning: Didn't find yacc or bison" 1>&2
  601. fi
  602.  
  603.  
  604. for ac_prog in mawk gawk nawk awk
  605. do
  606. # Extract the first word of "$ac_prog", so it can be a program name with args.
  607. set dummy $ac_prog; ac_word=$2
  608. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  609. if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
  610.   echo $ac_n "(cached) $ac_c" 1>&6
  611. else
  612.   if test -n "$AWK"; then
  613.   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  614. else
  615.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  616.   for ac_dir in $PATH; do
  617.     test -z "$ac_dir" && ac_dir=.
  618.     if test -f $ac_dir/$ac_word; then
  619.       ac_cv_prog_AWK="$ac_prog"
  620.       break
  621.     fi
  622.   done
  623.   IFS="$ac_save_ifs"
  624. fi
  625. fi
  626. AWK="$ac_cv_prog_AWK"
  627. if test -n "$AWK"; then
  628.   echo "$ac_t""$AWK" 1>&6
  629. else
  630.   echo "$ac_t""no" 1>&6
  631. fi
  632.  
  633. test -n "$AWK" && break
  634. done
  635.  
  636. if test $AWK = awk; then
  637.    case $host_os in
  638.    aix*)
  639.       echo "configure: warning: This awk might not work in dcl2inc. Need gawk or nawk" 1>&2 ;;
  640.    esac
  641. fi
  642.  
  643.  
  644. # Extract the first word of "gcc", so it can be a program name with args.
  645. set dummy gcc; ac_word=$2
  646. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  647. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  648.   echo $ac_n "(cached) $ac_c" 1>&6
  649. else
  650.   if test -n "$CC"; then
  651.   ac_cv_prog_CC="$CC" # Let the user override the test.
  652. else
  653.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  654.   for ac_dir in $PATH; do
  655.     test -z "$ac_dir" && ac_dir=.
  656.     if test -f $ac_dir/$ac_word; then
  657.       ac_cv_prog_CC="gcc"
  658.       break
  659.     fi
  660.   done
  661.   IFS="$ac_save_ifs"
  662.   test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
  663. fi
  664. fi
  665. CC="$ac_cv_prog_CC"
  666. if test -n "$CC"; then
  667.   echo "$ac_t""$CC" 1>&6
  668. else
  669.   echo "$ac_t""no" 1>&6
  670. fi
  671.  
  672.  
  673. echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  674. if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  675.   echo $ac_n "(cached) $ac_c" 1>&6
  676. else
  677.   cat > conftest.c <<EOF
  678. #ifdef __GNUC__
  679.   yes;
  680. #endif
  681. EOF
  682. if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
  683.   ac_cv_prog_gcc=yes
  684. else
  685.   ac_cv_prog_gcc=no
  686. fi
  687. fi
  688.  
  689. echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  690. if test $ac_cv_prog_gcc = yes; then
  691.   GCC=yes
  692.   if test "${CFLAGS+set}" != set; then
  693.     echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  694. if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  695.   echo $ac_n "(cached) $ac_c" 1>&6
  696. else
  697.   echo 'void f(){}' > conftest.c
  698. if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  699.   ac_cv_prog_gcc_g=yes
  700. else
  701.   ac_cv_prog_gcc_g=no
  702. fi
  703. rm -f conftest*
  704.  
  705. fi
  706.  
  707. echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
  708.     if test $ac_cv_prog_gcc_g = yes; then
  709.       CFLAGS="-g -O"
  710.     else
  711.       CFLAGS="-O"
  712.     fi
  713.   fi
  714. else
  715.   GCC=
  716.   test "${CFLAGS+set}" = set || CFLAGS="-g"
  717. fi
  718.  
  719.  
  720.  
  721. for ac_prog in fpversion
  722. do
  723. # Extract the first word of "$ac_prog", so it can be a program name with args.
  724. set dummy $ac_prog; ac_word=$2
  725. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  726. if eval "test \"`echo '$''{'ac_cv_prog_FPVERSION'+set}'`\" = set"; then
  727.   echo $ac_n "(cached) $ac_c" 1>&6
  728. else
  729.   if test -n "$FPVERSION"; then
  730.   ac_cv_prog_FPVERSION="$FPVERSION" # Let the user override the test.
  731. else
  732.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  733.   for ac_dir in $PATH; do
  734.     test -z "$ac_dir" && ac_dir=.
  735.     if test -f $ac_dir/$ac_word; then
  736.       ac_cv_prog_FPVERSION="$ac_prog"
  737.       break
  738.     fi
  739.   done
  740.   IFS="$ac_save_ifs"
  741. fi
  742. fi
  743. FPVERSION="$ac_cv_prog_FPVERSION"
  744. if test -n "$FPVERSION"; then
  745.   echo "$ac_t""$FPVERSION" 1>&6
  746. else
  747.   echo "$ac_t""no" 1>&6
  748. fi
  749.  
  750. test -n "$FPVERSION" && break
  751. done
  752.  
  753. if test "$FPVERSION" ; then
  754.   echo $ac_n "checking for a floating point option""... $ac_c" 1>&6
  755.   CG_FLAG=`$FPVERSION -foption`
  756.   if test "CG_FLAG"; then CG_FLAG=-$CG_FLAG; fi
  757.   echo "$ac_t"" $CG_FLAG " 1>&6
  758. fi
  759.  
  760.  
  761. for ac_prog in nroff
  762. do
  763. # Extract the first word of "$ac_prog", so it can be a program name with args.
  764. set dummy $ac_prog; ac_word=$2
  765. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  766. if eval "test \"`echo '$''{'ac_cv_prog_NROFF'+set}'`\" = set"; then
  767.   echo $ac_n "(cached) $ac_c" 1>&6
  768. else
  769.   if test -n "$NROFF"; then
  770.   ac_cv_prog_NROFF="$NROFF" # Let the user override the test.
  771. else
  772.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  773.   for ac_dir in $PATH; do
  774.     test -z "$ac_dir" && ac_dir=.
  775.     if test -f $ac_dir/$ac_word; then
  776.       ac_cv_prog_NROFF="$ac_prog"
  777.       break
  778.     fi
  779.   done
  780.   IFS="$ac_save_ifs"
  781. fi
  782. fi
  783. NROFF="$ac_cv_prog_NROFF"
  784. if test -n "$NROFF"; then
  785.   echo "$ac_t""$NROFF" 1>&6
  786. else
  787.   echo "$ac_t""no" 1>&6
  788. fi
  789.  
  790. test -n "$NROFF" && break
  791. done
  792.  
  793. if test -n "$NROFF" ; then
  794.     HAS_NROFF='true'
  795. else
  796.   for ac_prog in groff
  797. do
  798. # Extract the first word of "$ac_prog", so it can be a program name with args.
  799. set dummy $ac_prog; ac_word=$2
  800. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  801. if eval "test \"`echo '$''{'ac_cv_prog_NROFF'+set}'`\" = set"; then
  802.   echo $ac_n "(cached) $ac_c" 1>&6
  803. else
  804.   if test -n "$NROFF"; then
  805.   ac_cv_prog_NROFF="$NROFF" # Let the user override the test.
  806. else
  807.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  808.   for ac_dir in $PATH; do
  809.     test -z "$ac_dir" && ac_dir=.
  810.     if test -f $ac_dir/$ac_word; then
  811.       ac_cv_prog_NROFF="$ac_prog"
  812.       break
  813.     fi
  814.   done
  815.   IFS="$ac_save_ifs"
  816. fi
  817. fi
  818. NROFF="$ac_cv_prog_NROFF"
  819. if test -n "$NROFF"; then
  820.   echo "$ac_t""$NROFF" 1>&6
  821. else
  822.   echo "$ac_t""no" 1>&6
  823. fi
  824.  
  825. test -n "$NROFF" && break
  826. done
  827.  
  828. if test -n "$NROFF" ; then
  829.     HAS_NROFF='true'
  830.   else
  831.     HAS_NROFF='false'
  832.     NROFF='false'
  833.   fi
  834. fi
  835.  
  836.  
  837. for ac_prog in groff
  838. do
  839. # Extract the first word of "$ac_prog", so it can be a program name with args.
  840. set dummy $ac_prog; ac_word=$2
  841. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  842. if eval "test \"`echo '$''{'ac_cv_prog_TROFF'+set}'`\" = set"; then
  843.   echo $ac_n "(cached) $ac_c" 1>&6
  844. else
  845.   if test -n "$TROFF"; then
  846.   ac_cv_prog_TROFF="$TROFF" # Let the user override the test.
  847. else
  848.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  849.   for ac_dir in $PATH; do
  850.     test -z "$ac_dir" && ac_dir=.
  851.     if test -f $ac_dir/$ac_word; then
  852.       ac_cv_prog_TROFF="$ac_prog"
  853.       break
  854.     fi
  855.   done
  856.   IFS="$ac_save_ifs"
  857. fi
  858. fi
  859. TROFF="$ac_cv_prog_TROFF"
  860. if test -n "$TROFF"; then
  861.   echo "$ac_t""$TROFF" 1>&6
  862. else
  863.   echo "$ac_t""no" 1>&6
  864. fi
  865.  
  866. test -n "$TROFF" && break
  867. done
  868.  
  869. if test -n "$TROFF" ; then
  870.     MANtoPS="$TROFF -man"
  871. else
  872.   for ac_prog in psroff
  873. do
  874. # Extract the first word of "$ac_prog", so it can be a program name with args.
  875. set dummy $ac_prog; ac_word=$2
  876. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  877. if eval "test \"`echo '$''{'ac_cv_prog_TROFF'+set}'`\" = set"; then
  878.   echo $ac_n "(cached) $ac_c" 1>&6
  879. else
  880.   if test -n "$TROFF"; then
  881.   ac_cv_prog_TROFF="$TROFF" # Let the user override the test.
  882. else
  883.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  884.   for ac_dir in $PATH; do
  885.     test -z "$ac_dir" && ac_dir=.
  886.     if test -f $ac_dir/$ac_word; then
  887.       ac_cv_prog_TROFF="$ac_prog"
  888.       break
  889.     fi
  890.   done
  891.   IFS="$ac_save_ifs"
  892. fi
  893. fi
  894. TROFF="$ac_cv_prog_TROFF"
  895. if test -n "$TROFF"; then
  896.   echo "$ac_t""$TROFF" 1>&6
  897. else
  898.   echo "$ac_t""no" 1>&6
  899. fi
  900.  
  901. test -n "$TROFF" && break
  902. done
  903.  
  904.   if test -n "$TROFF" ; then
  905.     MANtoPS="$TROFF -t -man"
  906.   else
  907.     if test -f /usr/lib/lp/postscript/dpost ; then
  908.        MANtoPS='troff -man | /usr/lib/lp/postscript/dpost'
  909.     else
  910.        MANtoPS='groff -man'
  911.     fi
  912.   fi
  913. fi
  914.  
  915.  
  916. for ac_prog in strip
  917. do
  918. # Extract the first word of "$ac_prog", so it can be a program name with args.
  919. set dummy $ac_prog; ac_word=$2
  920. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  921. if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
  922.   echo $ac_n "(cached) $ac_c" 1>&6
  923. else
  924.   if test -n "$STRIP"; then
  925.   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  926. else
  927.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  928.   for ac_dir in $PATH; do
  929.     test -z "$ac_dir" && ac_dir=.
  930.     if test -f $ac_dir/$ac_word; then
  931.       ac_cv_prog_STRIP="$ac_prog"
  932.       break
  933.     fi
  934.   done
  935.   IFS="$ac_save_ifs"
  936. fi
  937. fi
  938. STRIP="$ac_cv_prog_STRIP"
  939. if test -n "$STRIP"; then
  940.   echo "$ac_t""$STRIP" 1>&6
  941. else
  942.   echo "$ac_t""no" 1>&6
  943. fi
  944.  
  945. test -n "$STRIP" && break
  946. done
  947. test -n "$STRIP" || STRIP="echo >/dev/null"
  948.  
  949.  
  950.  
  951.  
  952. for ac_prog in col
  953. do
  954. # Extract the first word of "$ac_prog", so it can be a program name with args.
  955. set dummy $ac_prog; ac_word=$2
  956. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  957. if eval "test \"`echo '$''{'ac_cv_prog_COL'+set}'`\" = set"; then
  958.   echo $ac_n "(cached) $ac_c" 1>&6
  959. else
  960.   if test -n "$COL"; then
  961.   ac_cv_prog_COL="$COL" # Let the user override the test.
  962. else
  963.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  964.   for ac_dir in $PATH; do
  965.     test -z "$ac_dir" && ac_dir=.
  966.     if test -f $ac_dir/$ac_word; then
  967.       ac_cv_prog_COL="$ac_prog"
  968.       break
  969.     fi
  970.   done
  971.   IFS="$ac_save_ifs"
  972. fi
  973. fi
  974. COL="$ac_cv_prog_COL"
  975. if test -n "$COL"; then
  976.   echo "$ac_t""$COL" 1>&6
  977. else
  978.   echo "$ac_t""no" 1>&6
  979. fi
  980.  
  981. test -n "$COL" && break
  982. done
  983.  
  984. if test -n "$COL" ; then
  985.    COL="$COL -bx"
  986. else
  987.    echo $ac_n "checking for /usr/5bin/col""... $ac_c" 1>&6
  988.    if test -f /usr/5bin/col ; then
  989.       echo "$ac_t""found it" 1>&6
  990.       COL='/usr/5bin/col -bx'
  991.    else
  992.       echo "$ac_t""col not found -- using cat instead" 1>&6
  993.       COL=cat
  994.    fi
  995. fi
  996.  
  997.  
  998.  
  999.  
  1000. STDPATH=/bin:/usr/bin:/usr/ucb:/usr/5bin
  1001.  
  1002. # Extract the first word of "chmod", so it can be a program name with args.
  1003. set dummy chmod; ac_word=$2
  1004. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1005. if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then
  1006.   echo $ac_n "(cached) $ac_c" 1>&6
  1007. else
  1008.   case "$CHMOD" in
  1009.   /*)
  1010.   ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
  1011.   ;;
  1012.   *)
  1013.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1014.   for ac_dir in $STDPATH; do
  1015.     test -z "$ac_dir" && ac_dir=.
  1016.     if test -f $ac_dir/$ac_word; then
  1017.       ac_cv_path_CHMOD="$ac_dir/$ac_word"
  1018.       break
  1019.     fi
  1020.   done
  1021.   IFS="$ac_save_ifs"
  1022.   test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD="chmod"
  1023.   ;;
  1024. esac
  1025. fi
  1026. CHMOD="$ac_cv_path_CHMOD"
  1027. if test -n "$CHMOD"; then
  1028.   echo "$ac_t""$CHMOD" 1>&6
  1029. else
  1030.   echo "$ac_t""no" 1>&6
  1031. fi
  1032.  
  1033. # Extract the first word of "cmp", so it can be a program name with args.
  1034. set dummy cmp; ac_word=$2
  1035. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1036. if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then
  1037.   echo $ac_n "(cached) $ac_c" 1>&6
  1038. else
  1039.   case "$CMP" in
  1040.   /*)
  1041.   ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
  1042.   ;;
  1043.   *)
  1044.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1045.   for ac_dir in $STDPATH; do
  1046.     test -z "$ac_dir" && ac_dir=.
  1047.     if test -f $ac_dir/$ac_word; then
  1048.       ac_cv_path_CMP="$ac_dir/$ac_word"
  1049.       break
  1050.     fi
  1051.   done
  1052.   IFS="$ac_save_ifs"
  1053.   test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
  1054.   ;;
  1055. esac
  1056. fi
  1057. CMP="$ac_cv_path_CMP"
  1058. if test -n "$CMP"; then
  1059.   echo "$ac_t""$CMP" 1>&6
  1060. else
  1061.   echo "$ac_t""no" 1>&6
  1062. fi
  1063.  
  1064. # Extract the first word of "cp", so it can be a program name with args.
  1065. set dummy cp; ac_word=$2
  1066. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1067. if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
  1068.   echo $ac_n "(cached) $ac_c" 1>&6
  1069. else
  1070.   case "$CP" in
  1071.   /*)
  1072.   ac_cv_path_CP="$CP" # Let the user override the test with a path.
  1073.   ;;
  1074.   *)
  1075.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1076.   for ac_dir in $STDPATH; do
  1077.     test -z "$ac_dir" && ac_dir=.
  1078.     if test -f $ac_dir/$ac_word; then
  1079.       ac_cv_path_CP="$ac_dir/$ac_word"
  1080.       break
  1081.     fi
  1082.   done
  1083.   IFS="$ac_save_ifs"
  1084.   test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
  1085.   ;;
  1086. esac
  1087. fi
  1088. CP="$ac_cv_path_CP"
  1089. if test -n "$CP"; then
  1090.   echo "$ac_t""$CP" 1>&6
  1091. else
  1092.   echo "$ac_t""no" 1>&6
  1093. fi
  1094.  
  1095. # Extract the first word of "diff", so it can be a program name with args.
  1096. set dummy diff; ac_word=$2
  1097. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1098. if eval "test \"`echo '$''{'ac_cv_path_DIFF'+set}'`\" = set"; then
  1099.   echo $ac_n "(cached) $ac_c" 1>&6
  1100. else
  1101.   case "$DIFF" in
  1102.   /*)
  1103.   ac_cv_path_DIFF="$DIFF" # Let the user override the test with a path.
  1104.   ;;
  1105.   *)
  1106.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1107.   for ac_dir in $STDPATH; do
  1108.     test -z "$ac_dir" && ac_dir=.
  1109.     if test -f $ac_dir/$ac_word; then
  1110.       ac_cv_path_DIFF="$ac_dir/$ac_word"
  1111.       break
  1112.     fi
  1113.   done
  1114.   IFS="$ac_save_ifs"
  1115.   test -z "$ac_cv_path_DIFF" && ac_cv_path_DIFF="diff"
  1116.   ;;
  1117. esac
  1118. fi
  1119. DIFF="$ac_cv_path_DIFF"
  1120. if test -n "$DIFF"; then
  1121.   echo "$ac_t""$DIFF" 1>&6
  1122. else
  1123.   echo "$ac_t""no" 1>&6
  1124. fi
  1125.  
  1126. # Extract the first word of "eqn", so it can be a program name with args.
  1127. set dummy eqn; ac_word=$2
  1128. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1129. if eval "test \"`echo '$''{'ac_cv_path_EQN'+set}'`\" = set"; then
  1130.   echo $ac_n "(cached) $ac_c" 1>&6
  1131. else
  1132.   case "$EQN" in
  1133.   /*)
  1134.   ac_cv_path_EQN="$EQN" # Let the user override the test with a path.
  1135.   ;;
  1136.   *)
  1137.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1138.   for ac_dir in $STDPATH; do
  1139.     test -z "$ac_dir" && ac_dir=.
  1140.     if test -f $ac_dir/$ac_word; then
  1141.       ac_cv_path_EQN="$ac_dir/$ac_word"
  1142.       break
  1143.     fi
  1144.   done
  1145.   IFS="$ac_save_ifs"
  1146.   test -z "$ac_cv_path_EQN" && ac_cv_path_EQN="eqn"
  1147.   ;;
  1148. esac
  1149. fi
  1150. EQN="$ac_cv_path_EQN"
  1151. if test -n "$EQN"; then
  1152.   echo "$ac_t""$EQN" 1>&6
  1153. else
  1154.   echo "$ac_t""no" 1>&6
  1155. fi
  1156.  
  1157. # Extract the first word of "mkdir", so it can be a program name with args.
  1158. set dummy mkdir; ac_word=$2
  1159. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1160. if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
  1161.   echo $ac_n "(cached) $ac_c" 1>&6
  1162. else
  1163.   case "$MKDIR" in
  1164.   /*)
  1165.   ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
  1166.   ;;
  1167.   *)
  1168.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1169.   for ac_dir in $STDPATH; do
  1170.     test -z "$ac_dir" && ac_dir=.
  1171.     if test -f $ac_dir/$ac_word; then
  1172.       ac_cv_path_MKDIR="$ac_dir/$ac_word"
  1173.       break
  1174.     fi
  1175.   done
  1176.   IFS="$ac_save_ifs"
  1177.   test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="mkdir"
  1178.   ;;
  1179. esac
  1180. fi
  1181. MKDIR="$ac_cv_path_MKDIR"
  1182. if test -n "$MKDIR"; then
  1183.   echo "$ac_t""$MKDIR" 1>&6
  1184. else
  1185.   echo "$ac_t""no" 1>&6
  1186. fi
  1187.  
  1188. # Extract the first word of "mv", so it can be a program name with args.
  1189. set dummy mv; ac_word=$2
  1190. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1191. if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
  1192.   echo $ac_n "(cached) $ac_c" 1>&6
  1193. else
  1194.   case "$MV" in
  1195.   /*)
  1196.   ac_cv_path_MV="$MV" # Let the user override the test with a path.
  1197.   ;;
  1198.   *)
  1199.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1200.   for ac_dir in $STDPATH; do
  1201.     test -z "$ac_dir" && ac_dir=.
  1202.     if test -f $ac_dir/$ac_word; then
  1203.       ac_cv_path_MV="$ac_dir/$ac_word"
  1204.       break
  1205.     fi
  1206.   done
  1207.   IFS="$ac_save_ifs"
  1208.   test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
  1209.   ;;
  1210. esac
  1211. fi
  1212. MV="$ac_cv_path_MV"
  1213. if test -n "$MV"; then
  1214.   echo "$ac_t""$MV" 1>&6
  1215. else
  1216.   echo "$ac_t""no" 1>&6
  1217. fi
  1218.  
  1219. # Extract the first word of "pwd", so it can be a program name with args.
  1220. set dummy pwd; ac_word=$2
  1221. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1222. if eval "test \"`echo '$''{'ac_cv_path_PWD_PROG'+set}'`\" = set"; then
  1223.   echo $ac_n "(cached) $ac_c" 1>&6
  1224. else
  1225.   case "$PWD_PROG" in
  1226.   /*)
  1227.   ac_cv_path_PWD_PROG="$PWD_PROG" # Let the user override the test with a path.
  1228.   ;;
  1229.   *)
  1230.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1231.   for ac_dir in $STDPATH; do
  1232.     test -z "$ac_dir" && ac_dir=.
  1233.     if test -f $ac_dir/$ac_word; then
  1234.       ac_cv_path_PWD_PROG="$ac_dir/$ac_word"
  1235.       break
  1236.     fi
  1237.   done
  1238.   IFS="$ac_save_ifs"
  1239.   test -z "$ac_cv_path_PWD_PROG" && ac_cv_path_PWD_PROG="pwd"
  1240.   ;;
  1241. esac
  1242. fi
  1243. PWD_PROG="$ac_cv_path_PWD_PROG"
  1244. if test -n "$PWD_PROG"; then
  1245.   echo "$ac_t""$PWD_PROG" 1>&6
  1246. else
  1247.   echo "$ac_t""no" 1>&6
  1248. fi
  1249.  
  1250. # Extract the first word of "rm", so it can be a program name with args.
  1251. set dummy rm; ac_word=$2
  1252. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1253. if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
  1254.   echo $ac_n "(cached) $ac_c" 1>&6
  1255. else
  1256.   case "$RM" in
  1257.   /*)
  1258.   ac_cv_path_RM="$RM" # Let the user override the test with a path.
  1259.   ;;
  1260.   *)
  1261.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1262.   for ac_dir in $STDPATH; do
  1263.     test -z "$ac_dir" && ac_dir=.
  1264.     if test -f $ac_dir/$ac_word; then
  1265.       ac_cv_path_RM="$ac_dir/$ac_word"
  1266.       break
  1267.     fi
  1268.   done
  1269.   IFS="$ac_save_ifs"
  1270.   test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
  1271.   ;;
  1272. esac
  1273. fi
  1274. RM="$ac_cv_path_RM"
  1275. if test -n "$RM"; then
  1276.   echo "$ac_t""$RM" 1>&6
  1277. else
  1278.   echo "$ac_t""no" 1>&6
  1279. fi
  1280.  
  1281. # Extract the first word of "rmdir", so it can be a program name with args.
  1282. set dummy rmdir; ac_word=$2
  1283. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1284. if eval "test \"`echo '$''{'ac_cv_path_RMDIR'+set}'`\" = set"; then
  1285.   echo $ac_n "(cached) $ac_c" 1>&6
  1286. else
  1287.   case "$RMDIR" in
  1288.   /*)
  1289.   ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path.
  1290.   ;;
  1291.   *)
  1292.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1293.   for ac_dir in $STDPATH; do
  1294.     test -z "$ac_dir" && ac_dir=.
  1295.     if test -f $ac_dir/$ac_word; then
  1296.       ac_cv_path_RMDIR="$ac_dir/$ac_word"
  1297.       break
  1298.     fi
  1299.   done
  1300.   IFS="$ac_save_ifs"
  1301.   test -z "$ac_cv_path_RMDIR" && ac_cv_path_RMDIR="rmdir"
  1302.   ;;
  1303. esac
  1304. fi
  1305. RMDIR="$ac_cv_path_RMDIR"
  1306. if test -n "$RMDIR"; then
  1307.   echo "$ac_t""$RMDIR" 1>&6
  1308. else
  1309.   echo "$ac_t""no" 1>&6
  1310. fi
  1311.  
  1312. # Extract the first word of "sed", so it can be a program name with args.
  1313. set dummy sed; ac_word=$2
  1314. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1315. if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then
  1316.   echo $ac_n "(cached) $ac_c" 1>&6
  1317. else
  1318.   case "$SED" in
  1319.   /*)
  1320.   ac_cv_path_SED="$SED" # Let the user override the test with a path.
  1321.   ;;
  1322.   *)
  1323.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1324.   for ac_dir in $STDPATH; do
  1325.     test -z "$ac_dir" && ac_dir=.
  1326.     if test -f $ac_dir/$ac_word; then
  1327.       ac_cv_path_SED="$ac_dir/$ac_word"
  1328.       break
  1329.     fi
  1330.   done
  1331.   IFS="$ac_save_ifs"
  1332.   test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
  1333.   ;;
  1334. esac
  1335. fi
  1336. SED="$ac_cv_path_SED"
  1337. if test -n "$SED"; then
  1338.   echo "$ac_t""$SED" 1>&6
  1339. else
  1340.   echo "$ac_t""no" 1>&6
  1341. fi
  1342.  
  1343. # Extract the first word of "sh", so it can be a program name with args.
  1344. set dummy sh; ac_word=$2
  1345. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1346. if eval "test \"`echo '$''{'ac_cv_path_SH'+set}'`\" = set"; then
  1347.   echo $ac_n "(cached) $ac_c" 1>&6
  1348. else
  1349.   case "$SH" in
  1350.   /*)
  1351.   ac_cv_path_SH="$SH" # Let the user override the test with a path.
  1352.   ;;
  1353.   *)
  1354.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1355.   for ac_dir in $STDPATH; do
  1356.     test -z "$ac_dir" && ac_dir=.
  1357.     if test -f $ac_dir/$ac_word; then
  1358.       ac_cv_path_SH="$ac_dir/$ac_word"
  1359.       break
  1360.     fi
  1361.   done
  1362.   IFS="$ac_save_ifs"
  1363.   test -z "$ac_cv_path_SH" && ac_cv_path_SH="sh"
  1364.   ;;
  1365. esac
  1366. fi
  1367. SH="$ac_cv_path_SH"
  1368. if test -n "$SH"; then
  1369.   echo "$ac_t""$SH" 1>&6
  1370. else
  1371.   echo "$ac_t""no" 1>&6
  1372. fi
  1373.  
  1374. # Extract the first word of "soelim", so it can be a program name with args.
  1375. set dummy soelim; ac_word=$2
  1376. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1377. if eval "test \"`echo '$''{'ac_cv_path_SOELIM'+set}'`\" = set"; then
  1378.   echo $ac_n "(cached) $ac_c" 1>&6
  1379. else
  1380.   case "$SOELIM" in
  1381.   /*)
  1382.   ac_cv_path_SOELIM="$SOELIM" # Let the user override the test with a path.
  1383.   ;;
  1384.   *)
  1385.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1386.   for ac_dir in $STDPATH; do
  1387.     test -z "$ac_dir" && ac_dir=.
  1388.     if test -f $ac_dir/$ac_word; then
  1389.       ac_cv_path_SOELIM="$ac_dir/$ac_word"
  1390.       break
  1391.     fi
  1392.   done
  1393.   IFS="$ac_save_ifs"
  1394.   test -z "$ac_cv_path_SOELIM" && ac_cv_path_SOELIM="soelim"
  1395.   ;;
  1396. esac
  1397. fi
  1398. SOELIM="$ac_cv_path_SOELIM"
  1399. if test -n "$SOELIM"; then
  1400.   echo "$ac_t""$SOELIM" 1>&6
  1401. else
  1402.   echo "$ac_t""no" 1>&6
  1403. fi
  1404.  
  1405. # Extract the first word of "tar", so it can be a program name with args.
  1406. set dummy tar; ac_word=$2
  1407. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1408. if eval "test \"`echo '$''{'ac_cv_path_TAR'+set}'`\" = set"; then
  1409.   echo $ac_n "(cached) $ac_c" 1>&6
  1410. else
  1411.   case "$TAR" in
  1412.   /*)
  1413.   ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
  1414.   ;;
  1415.   *)
  1416.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1417.   for ac_dir in $STDPATH; do
  1418.     test -z "$ac_dir" && ac_dir=.
  1419.     if test -f $ac_dir/$ac_word; then
  1420.       ac_cv_path_TAR="$ac_dir/$ac_word"
  1421.       break
  1422.     fi
  1423.   done
  1424.   IFS="$ac_save_ifs"
  1425.   test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="tar"
  1426.   ;;
  1427. esac
  1428. fi
  1429. TAR="$ac_cv_path_TAR"
  1430. if test -n "$TAR"; then
  1431.   echo "$ac_t""$TAR" 1>&6
  1432. else
  1433.   echo "$ac_t""no" 1>&6
  1434. fi
  1435.  
  1436. # Extract the first word of "tbl", so it can be a program name with args.
  1437. set dummy tbl; ac_word=$2
  1438. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1439. if eval "test \"`echo '$''{'ac_cv_path_TBL'+set}'`\" = set"; then
  1440.   echo $ac_n "(cached) $ac_c" 1>&6
  1441. else
  1442.   case "$TBL" in
  1443.   /*)
  1444.   ac_cv_path_TBL="$TBL" # Let the user override the test with a path.
  1445.   ;;
  1446.   *)
  1447.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1448.   for ac_dir in $STDPATH; do
  1449.     test -z "$ac_dir" && ac_dir=.
  1450.     if test -f $ac_dir/$ac_word; then
  1451.       ac_cv_path_TBL="$ac_dir/$ac_word"
  1452.       break
  1453.     fi
  1454.   done
  1455.   IFS="$ac_save_ifs"
  1456.   test -z "$ac_cv_path_TBL" && ac_cv_path_TBL="tbl"
  1457.   ;;
  1458. esac
  1459. fi
  1460. TBL="$ac_cv_path_TBL"
  1461. if test -n "$TBL"; then
  1462.   echo "$ac_t""$TBL" 1>&6
  1463. else
  1464.   echo "$ac_t""no" 1>&6
  1465. fi
  1466.  
  1467.  
  1468. RM="$RM -f"
  1469.  
  1470.  
  1471.  
  1472.  
  1473. INSTALL_MAN='install-man'
  1474. case $host_os in
  1475.   aix*)
  1476.     if test -z "$GCC"; then
  1477.       if test "$CC" = cc ; then
  1478.         CC=c89
  1479.       fi
  1480.       OS_FLAGS="-DAIXC -D_BSD -O"
  1481.     else
  1482.         OS_FLAGS="-O2"
  1483.     fi;;
  1484.   hpux*)
  1485.     if test -z "$GCC"; then
  1486.       if test "$CC" = cc ; then
  1487.         CC=c89
  1488.       fi
  1489.       OS_FLAGS=" +O2 +Onolimit"
  1490.     else
  1491.       OS_FLAGS="-O2"
  1492.     fi;;
  1493.   irix*)
  1494.     OS_FLAGS="-O2"
  1495.     INSTALL_MAN='install-man-sgi';;
  1496.   linux*)
  1497.     if echo $host_cpu | grep 'i[^3]86' >/dev/null 2>&1 ; then
  1498.       OS_FLAGS="-O2 -m486";
  1499.     else
  1500.       OS_FLAGS="-O2";
  1501.     fi;;
  1502.   next*)
  1503.     OS_FLAGS="-O2";;
  1504.   osf*) 
  1505.     if test -z "$GCC"; then 
  1506.       OS_FLAGS="-ieee_with_inexact -O -Olimit 1000"
  1507.     else
  1508.        OS_FLAGS="-O2"
  1509.     fi;;
  1510.   sunos*)
  1511.     OS_FLAGS="-O2";;
  1512.   solaris*)
  1513.     cpucc="$host_cpu"-"$CC"
  1514.     case $cpucc in
  1515.        sparc-cc) OS_FLAGS="-Xc -xO4 $CG_FLAG";;
  1516.        *gcc) OS_FLAGS="-O2";;
  1517.        *cc)  OS_FLAGS="-O";; 
  1518.     esac;;
  1519.   ultrix*)
  1520.     if test -z "$GCC"; then
  1521.       OS_FLAGS="-O2 -Olimit 1000"
  1522.     else
  1523.       OS_FLAGS="-O2"
  1524.     fi;;
  1525.   *)
  1526.     echo "configure: warning: Operating system not determined. Using generic flags." 1>&2
  1527.     OS_FLAGS="-O";;
  1528. esac
  1529.  
  1530. echo $ac_n "checking whether $CC accepts function prototypes""... $ac_c" 1>&6
  1531. if eval "test \"`echo '$''{'ac_cv_prog_CC_protos'+set}'`\" = set"; then
  1532.   echo $ac_n "(cached) $ac_c" 1>&6
  1533. else
  1534.   
  1535. cat > conftest.$ac_ext <<EOF
  1536. #line 1537 "configure"
  1537. #include "confdefs.h"
  1538.  
  1539. int main() { return 0; }
  1540. int t() {
  1541. extern int foo(int arg); /* basic prototype */
  1542.    static int (*ii_fun[]) ( int *args )={ 0, };
  1543. ; return 0; }
  1544. EOF
  1545. if eval $ac_compile; then
  1546.   rm -rf conftest*
  1547.   ac_cv_prog_CC_protos=yes
  1548. else
  1549.   rm -rf conftest*
  1550.   ac_cv_prog_CC_protos=no
  1551. fi
  1552. rm -f conftest*
  1553.  
  1554. fi
  1555.  
  1556. echo "$ac_t""$ac_cv_prog_CC_protos" 1>&6
  1557. if test $ac_cv_prog_CC_protos = yes ; then
  1558.    PROTOFLAG=""
  1559. else
  1560.    PROTOFLAG="-DNO_PROTOTYPES"
  1561. fi
  1562.  
  1563. CFLAGS="-DUNIX -DLARGE_MACHINE $OS_FLAGS $PROTOFLAG"
  1564. echo "$ac_t""Compile command is $CC $CFLAGS" 1>&6
  1565. if test $GCC; then
  1566. echo "$ac_t""If you prefer using cc, setenv CC cc; rm config.cache and re-run" 1>&6
  1567. fi
  1568.  
  1569. LDFLAGS=
  1570.  
  1571.  
  1572. EXE=
  1573. CMD=
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604. trap '' 1 2 15
  1605. cat > confcache <<\EOF
  1606. # This file is a shell script that caches the results of configure
  1607. # tests run on this system so they can be shared between configure
  1608. # scripts and configure runs.  It is not useful on other systems.
  1609. # If it contains results you don't want to keep, you may remove or edit it.
  1610. #
  1611. # By default, configure uses ./config.cache as the cache file,
  1612. # creating it if it does not exist already.  You can give configure
  1613. # the --cache-file=FILE option to use a different cache file; that is
  1614. # what configure does when it calls configure scripts in
  1615. # subdirectories, so they share the cache.
  1616. # Giving --cache-file=/dev/null disables caching, for debugging configure.
  1617. # config.status only pays attention to the cache file if you give it the
  1618. # --recheck option to rerun configure.
  1619. #
  1620. EOF
  1621. # Ultrix sh set writes to stderr and can't be redirected directly,
  1622. # and sets the high bit in the cache file unless we assign to the vars.
  1623. (set) 2>&1 |
  1624.   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  1625.   >> confcache
  1626. if cmp -s $cache_file confcache; then
  1627.   :
  1628. else
  1629.   if test -w $cache_file; then
  1630.     echo "updating cache $cache_file"
  1631.     cat confcache > $cache_file
  1632.   else
  1633.     echo "not updating unwritable cache $cache_file"
  1634.   fi
  1635. fi
  1636. rm -f confcache
  1637.  
  1638. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  1639.  
  1640. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1641. # Let make expand exec_prefix.
  1642. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  1643.  
  1644. # Any assignment to VPATH causes Sun make to only execute
  1645. # the first set of double-colon rules, so remove it if not needed.
  1646. # If there is a colon in the path, we need to keep it.
  1647. if test "x$srcdir" = x.; then
  1648.   ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  1649. fi
  1650.  
  1651. trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  1652.  
  1653. # Transform confdefs.h into DEFS.
  1654. # Protect against shell expansion while executing Makefile rules.
  1655. # Protect against Makefile macro expansion.
  1656. cat > conftest.defs <<\EOF
  1657. s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%-D\1=\2%g
  1658. s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
  1659. s%\[%\\&%g
  1660. s%\]%\\&%g
  1661. s%\$%$$%g
  1662. EOF
  1663. DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
  1664. rm -f conftest.defs
  1665.  
  1666.  
  1667. # Without the "./", some shells look in PATH for config.status.
  1668. : ${CONFIG_STATUS=./config.status}
  1669.  
  1670. echo creating $CONFIG_STATUS
  1671. rm -f $CONFIG_STATUS
  1672. cat > $CONFIG_STATUS <<EOF
  1673. #! /bin/sh
  1674. # Generated automatically by configure.
  1675. # Run this file to recreate the current configuration.
  1676. # This directory was configured as follows,
  1677. # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1678. #
  1679. # $0 $ac_configure_args
  1680. #
  1681. # Compiler output produced by configure, useful for debugging
  1682. # configure, is in ./config.log if it exists.
  1683.  
  1684. ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  1685. for ac_option
  1686. do
  1687.   case "\$ac_option" in
  1688.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1689.     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  1690.     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  1691.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1692.     echo "$CONFIG_STATUS generated by autoconf version 2.7"
  1693.     exit 0 ;;
  1694.   -help | --help | --hel | --he | --h)
  1695.     echo "\$ac_cs_usage"; exit 0 ;;
  1696.   *) echo "\$ac_cs_usage"; exit 1 ;;
  1697.   esac
  1698. done
  1699.  
  1700. ac_given_srcdir=$srcdir
  1701.  
  1702. trap 'rm -fr `echo "Makefile dcl2inc test/Makefile test/Compare.sh " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  1703. EOF
  1704. cat >> $CONFIG_STATUS <<EOF
  1705.  
  1706. # Protect against being on the right side of a sed subst in config.status.
  1707. sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  1708.  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  1709. $ac_vpsub
  1710. $extrasub
  1711. s%@CFLAGS@%$CFLAGS%g
  1712. s%@CPPFLAGS@%$CPPFLAGS%g
  1713. s%@CXXFLAGS@%$CXXFLAGS%g
  1714. s%@DEFS@%$DEFS%g
  1715. s%@LDFLAGS@%$LDFLAGS%g
  1716. s%@LIBS@%$LIBS%g
  1717. s%@exec_prefix@%$exec_prefix%g
  1718. s%@prefix@%$prefix%g
  1719. s%@program_transform_name@%$program_transform_name%g
  1720. s%@bindir@%$bindir%g
  1721. s%@sbindir@%$sbindir%g
  1722. s%@libexecdir@%$libexecdir%g
  1723. s%@datadir@%$datadir%g
  1724. s%@sysconfdir@%$sysconfdir%g
  1725. s%@sharedstatedir@%$sharedstatedir%g
  1726. s%@localstatedir@%$localstatedir%g
  1727. s%@libdir@%$libdir%g
  1728. s%@includedir@%$includedir%g
  1729. s%@oldincludedir@%$oldincludedir%g
  1730. s%@infodir@%$infodir%g
  1731. s%@mandir@%$mandir%g
  1732. s%@host@%$host%g
  1733. s%@host_alias@%$host_alias%g
  1734. s%@host_cpu@%$host_cpu%g
  1735. s%@host_vendor@%$host_vendor%g
  1736. s%@host_os@%$host_os%g
  1737. s%@YACC@%$YACC%g
  1738. s%@AWK@%$AWK%g
  1739. s%@CC@%$CC%g
  1740. s%@FPVERSION@%$FPVERSION%g
  1741. s%@NROFF@%$NROFF%g
  1742. s%@TROFF@%$TROFF%g
  1743. s%@STRIP@%$STRIP%g
  1744. s%@COL@%$COL%g
  1745. s%@CHMOD@%$CHMOD%g
  1746. s%@CMP@%$CMP%g
  1747. s%@CP@%$CP%g
  1748. s%@DIFF@%$DIFF%g
  1749. s%@EQN@%$EQN%g
  1750. s%@MKDIR@%$MKDIR%g
  1751. s%@MV@%$MV%g
  1752. s%@PWD_PROG@%$PWD_PROG%g
  1753. s%@RM@%$RM%g
  1754. s%@RMDIR@%$RMDIR%g
  1755. s%@SED@%$SED%g
  1756. s%@SH@%$SH%g
  1757. s%@SOELIM@%$SOELIM%g
  1758. s%@TAR@%$TAR%g
  1759. s%@TBL@%$TBL%g
  1760. s%@EXE@%$EXE%g
  1761. s%@CMD@%$CMD%g
  1762. s%@MANtoPS@%$MANtoPS%g
  1763. s%@INSTALL_MAN@%$INSTALL_MAN%g
  1764. s%@HAS_NROFF@%$HAS_NROFF%g
  1765. s%@SHELL@%$SHELL%g
  1766.  
  1767. CEOF
  1768. EOF
  1769. cat >> $CONFIG_STATUS <<EOF
  1770.  
  1771. CONFIG_FILES=\${CONFIG_FILES-"Makefile dcl2inc test/Makefile test/Compare.sh "}
  1772. EOF
  1773. cat >> $CONFIG_STATUS <<\EOF
  1774. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  1775.   # Support "outfile[:infile]", defaulting infile="outfile.in".
  1776.   case "$ac_file" in
  1777.   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  1778.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  1779.   *) ac_file_in="${ac_file}.in" ;;
  1780.   esac
  1781.  
  1782.   # Adjust relative srcdir, etc. for subdirectories.
  1783.  
  1784.   # Remove last slash and all that follows it.  Not all systems have dirname.
  1785.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1786.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1787.     # The file is in a subdirectory.
  1788.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  1789.     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  1790.     # A "../" for each directory in $ac_dir_suffix.
  1791.     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  1792.   else
  1793.     ac_dir_suffix= ac_dots=
  1794.   fi
  1795.  
  1796.   case "$ac_given_srcdir" in
  1797.   .)  srcdir=.
  1798.       if test -z "$ac_dots"; then top_srcdir=.
  1799.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  1800.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  1801.   *) # Relative path.
  1802.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  1803.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  1804.   esac
  1805.  
  1806.   echo creating "$ac_file"
  1807.   rm -f "$ac_file"
  1808.   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  1809.   case "$ac_file" in
  1810.   *Makefile*) ac_comsub="1i\\
  1811. # $configure_input" ;;
  1812.   *) ac_comsub= ;;
  1813.   esac
  1814.   sed -e "$ac_comsub
  1815. s%@configure_input@%$configure_input%g
  1816. s%@srcdir@%$srcdir%g
  1817. s%@top_srcdir@%$top_srcdir%g
  1818. " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
  1819. fi; done
  1820. rm -f conftest.subs
  1821.  
  1822.  
  1823.  
  1824. exit 0
  1825. EOF
  1826. chmod +x $CONFIG_STATUS
  1827. rm -fr confdefs* $ac_clean_files
  1828. test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  1829.  
  1830. chmod +x dcl2inc test/Compare.sh
  1831.