home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 6 / FreshFish_September1994.bin / bbs / gnu / texinfo-3.1-src.lha / GNU / src / amiga / texinfo-3.1 / configure < prev    next >
Encoding:
Text File  |  1994-04-26  |  34.0 KB  |  1,224 lines

  1. #!/bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated automatically using autoconf version 1.9 
  4. # Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
  5.  
  6. # This configure script is free software; you can redistribute it and/or
  7. # modify it under the terms of the GNU General Public License as published
  8. # by the Free Software Foundation; either version 2, or (at your option)
  9. # any later version.
  10.  
  11. # This script is distributed in the hope that it will be useful, but
  12. # WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
  14. # Public License for more details.
  15.  
  16. # You should have received a copy of the GNU General Public License
  17. # along with this program; if not, write to the Free Software
  18. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  
  20. # Save the original args to write them into config.status later.
  21. configure_args="$*"
  22.  
  23. # Only options that might do something get documented.
  24. ac_usage="Usage: configure [options] [host]
  25. Options: [defaults in brackets after descriptions]
  26. --build=BUILD        configure for building on BUILD [BUILD=HOST]
  27. --disable-FEATURE    do not include FEATURE (same as --enable-FEATURE=no)
  28. --enable-FEATURE[=ARG]    include FEATURE [ARG=yes]
  29. --exec-prefix=PREFIX    install host dependent files in PREFIX [/usr/local]
  30. --help            print this message
  31. --host=HOST        configure for HOST [guessed]
  32. --prefix=PREFIX        install host independent files in PREFIX [/usr/local]
  33. --quiet, --silent    do not print \`checking for...' messages
  34. --srcdir=DIR        find the sources in DIR [configure dir or ..]
  35. --target=TARGET        configure for TARGET [TARGET=HOST]
  36. --verbose        print results of checks
  37. --version        print the version of autoconf that created configure
  38. --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  39. --without-PACKAGE    do not use PACKAGE (same as --with-PACKAGE=no)
  40. --x-includes=DIR    X include files are in DIR
  41. --x-libraries=DIR    X library files are in DIR"
  42.  
  43. # Initialize some variables set by options.
  44. # The variables have the same names as the options, with
  45. # dashes changed to underlines.
  46. build=NONE
  47. exec_prefix=
  48. host=NONE
  49. no_create=
  50. nonopt=NONE
  51. norecursion=
  52. prefix=
  53. program_prefix=
  54. program_suffix=
  55. program_transform_name=
  56. silent=
  57. srcdir=
  58. target=NONE
  59. verbose=
  60. x_includes=
  61. x_libraries=
  62.  
  63. ac_prev=
  64. for ac_option
  65. do
  66.  
  67.   # If the previous option needs an argument, assign it.
  68.   if test -n "$ac_prev"; then
  69.     eval "$ac_prev=\$ac_option"
  70.     ac_prev=
  71.     continue
  72.   fi
  73.  
  74.   # Accept (but ignore some of) the important Cygnus configure
  75.   # options, so we can diagnose typos.
  76.  
  77.   case "$ac_option" in
  78.   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  79.   *) ac_optarg= ;;
  80.   esac
  81.  
  82.   case "$ac_option" in
  83.  
  84.   -build | --build | --buil | --bui | --bu | --b)
  85.     ac_prev=build ;;
  86.   -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
  87.     build="$ac_optarg" ;;
  88.  
  89.   -disable-* | --disable-*)
  90.     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  91.     # Reject names that aren't valid shell variable names.
  92.     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  93.       /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
  94.     fi
  95.     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  96.     eval "enable_${ac_feature}=no" ;;
  97.  
  98.   -enable-* | --enable-*)
  99.     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  100.     # Reject names that aren't valid shell variable names.
  101.     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  102.       /bin/echo "configure: $ac_feature: invalid feature name" >&2; exit 1
  103.     fi
  104.     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  105.     case "$ac_option" in
  106.       *=*) ;;
  107.       *) ac_optarg=yes ;;
  108.     esac
  109.     eval "enable_${ac_feature}='$ac_optarg'" ;;
  110.  
  111.   # For backward compatibility, recognize -exec-prefix and --exec_prefix.
  112.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  113.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  114.   | --exec | --exe | --ex)
  115.     ac_prev=exec_prefix ;;
  116.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  117.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  118.   | --exec=* | --exe=* | --ex=*)
  119.     exec_prefix="$ac_optarg" ;;
  120.  
  121.   -gas | --gas | --ga | --g)
  122.     with_gas=yes ;; # Obsolete; use --with-gas.
  123.  
  124.   -help | --help | --hel | --he)
  125.     cat << EOF
  126. $ac_usage
  127. EOF
  128.     exit 0 ;;
  129.  
  130.   -host | --host | --hos | --ho)
  131.     ac_prev=host ;;
  132.   -host=* | --host=* | --hos=* | --ho=*)
  133.     host="$ac_optarg" ;;
  134.  
  135.   -nfp | --nfp | --nf)
  136.     with_fp=no ;; # Obsolete; use --without-fp.
  137.  
  138.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  139.   | --no-cr | --no-c)
  140.     no_create=yes ;;
  141.  
  142.   -norecursion | --norecursion | --norecursio | --norecursi \
  143.   | --norecurs | --norecur | --norecu | --norec | --nore | --nor)
  144.     norecursion=yes ;;
  145.  
  146.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  147.     ac_prev=prefix ;;
  148.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  149.     prefix="$ac_optarg" ;;
  150.  
  151.   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  152.   | --program-pre | --program-pr | --program-p)
  153.     ac_prev=program_prefix ;;
  154.   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  155.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  156.     program_prefix="$ac_optarg" ;;
  157.  
  158.   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  159.   | --program-suf | --program-su | --program-s)
  160.     ac_prev=program_suffix ;;
  161.   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  162.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  163.     program_suffix="$ac_optarg" ;;
  164.  
  165.   -program-transform-name | --program-transform-name \
  166.   | --program-transform-nam | --program-transform-na \
  167.   | --program-transform-n | --program-transform- \
  168.   | --program-transform | --program-transfor \
  169.   | --program-transfo | --program-transf \
  170.   | --program-trans | --program-tran \
  171.   | --progr-tra | --program-tr | --program-t)
  172.     ac_prev=program_transform_name ;;
  173.   -program-transform-name=* | --program-transform-name=* \
  174.   | --program-transform-nam=* | --program-transform-na=* \
  175.   | --program-transform-n=* | --program-transform-=* \
  176.   | --program-transform=* | --program-transfor=* \
  177.   | --program-transfo=* | --program-transf=* \
  178.   | --program-trans=* | --program-tran=* \
  179.   | --progr-tra=* | --program-tr=* | --program-t=*)
  180.     program_transform_name="$ac_optarg" ;;
  181.  
  182.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  183.   | -silent | --silent | --silen | --sile | --sil)
  184.     silent=yes ;;
  185.  
  186.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  187.     ac_prev=srcdir ;;
  188.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  189.     srcdir="$ac_optarg" ;;
  190.  
  191.   -target | --target | --targe | --targ | --tar | --ta | --t)
  192.     ac_prev=target ;;
  193.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  194.     target="$ac_optarg" ;;
  195.  
  196.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  197.     verbose=yes ;;
  198.  
  199.   -version | --version | --versio | --versi | --vers)
  200.     /bin/echo "configure generated by autoconf version 1.9"
  201.     exit 0 ;;
  202.  
  203.   -with-* | --with-*)
  204.     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  205.     # Reject names that aren't valid shell variable names.
  206.     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  207.       /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
  208.     fi
  209.     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  210.     case "$ac_option" in
  211.       *=*) ;;
  212.       *) ac_optarg=yes ;;
  213.     esac
  214.     eval "with_${ac_package}='$ac_optarg'" ;;
  215.  
  216.   -without-* | --without-*)
  217.     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  218.     # Reject names that aren't valid shell variable names.
  219.     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  220.       /bin/echo "configure: $ac_package: invalid package name" >&2; exit 1
  221.     fi
  222.     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  223.     eval "with_${ac_package}=no" ;;
  224.  
  225.   --x) with_x=yes ;; # Obsolete; use --with-x.
  226.  
  227.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  228.   | --x-incl | --x-inc | --x-in | --x-i)
  229.     ac_prev=x_includes ;;
  230.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  231.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  232.     x_includes="$ac_optarg" ;;
  233.  
  234.   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  235.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  236.     ac_prev=x_libraries ;;
  237.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  238.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  239.     x_libraries="$ac_optarg" ;;
  240.  
  241.   -*) /bin/echo "configure: $ac_option: invalid option; use --help to show usage" >&2; exit 1
  242.     ;;
  243.  
  244.   *) 
  245.     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  246.       /bin/echo "configure: warning: $ac_option: invalid host type" >&2
  247.     fi
  248.     if test "x$nonopt" != xNONE; then
  249.       /bin/echo "configure: can only configure for one host and one target at a time" >&2; exit 1
  250.     fi
  251.     nonopt="$ac_option"
  252.     ;;
  253.  
  254.   esac
  255. done
  256.  
  257. if test -n "$ac_prev"; then
  258.   /bin/echo "configure: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" >&2; exit 1
  259. fi
  260.  
  261. trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  262. trap 'rm -fr confdefs* $ac_clean_files' 0
  263.  
  264. # Save the original args if we used an alternate arg parser.
  265. ac_configure_temp="${configure_args-$*}"
  266. # Strip out --no-create and --norecursion so they don't pile up.
  267. configure_args=
  268. for ac_arg in $ac_configure_temp; do
  269.   case "$ac_arg" in
  270.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  271.   | --no-cr | --no-c) ;;
  272.   -norecursion | --norecursion | --norecursio | --norecursi \
  273.   | --norecurs | --norecur | --norecu | --norec | --nore | --nor) ;;
  274.   *) configure_args="$configure_args $ac_arg" ;;
  275.   esac
  276. done
  277.  
  278. # NLS nuisances.
  279. # These must not be set unconditionally because not all systems understand
  280. # e.g. LANG=C (notably SCO).
  281. if test "${LC_ALL+set}" = 'set'; then LC_ALL=C; export LC_ALL; fi
  282. if test "${LANG+set}"   = 'set'; then LANG=C;   export LANG;   fi
  283.  
  284. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  285. rm -rf conftest* confdefs.h
  286. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  287. /bin/echo > confdefs.h
  288.  
  289. # A filename unique to this package, relative to the directory that
  290. # configure is in, which we can look for to find out if srcdir is correct.
  291. ac_unique_file=texi.texi
  292.  
  293. # Find the source files, if location was not specified.
  294. if test -z "$srcdir"; then
  295.   ac_srcdir_defaulted=yes
  296.   # Try the directory containing this script, then `..'.
  297.   ac_prog=$0
  298.   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  299.   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  300.   srcdir=$ac_confdir
  301.   if test ! -r $srcdir/$ac_unique_file; then
  302.     srcdir=..
  303.   fi
  304. fi
  305. if test ! -r $srcdir/$ac_unique_file; then
  306.   if test x$ac_srcdir_defaulted = xyes; then
  307.     /bin/echo "configure: can not find sources in ${ac_confdir} or .." >&2; exit 1
  308.   else
  309.     /bin/echo "configure: can not find sources in ${srcdir}" >&2; exit 1
  310.   fi
  311. fi
  312. ac_ext=c
  313. ac_cpp='${CPP} $CFLAGS'
  314. ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS >/dev/null 2>&1'
  315.  
  316.  
  317. if test -z "$CC"; then
  318.   # Extract the first word of `gcc', so it can be a program name with args.
  319.   set ac_dummy gcc; ac_word=$2
  320.   test -n "$silent" || /bin/echo "checking for $ac_word"
  321.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  322.   for ac_dir in $PATH; do
  323.     test -z "$ac_dir" && ac_dir=.
  324.     if test -f $ac_dir/$ac_word; then
  325.       CC="gcc"
  326.       break
  327.     fi
  328.   done
  329.   IFS="$ac_save_ifs"
  330. fi
  331. test -z "$CC" && CC="cc"
  332. test -n "$CC" && test -n "$verbose" && /bin/echo "    setting CC to $CC"
  333.  
  334. # Find out if we are using GNU C, under whatever name.
  335. cat > conftest.c <<EOF
  336. #ifdef __GNUC__
  337.   yes
  338. #endif
  339. EOF
  340. ${CC-cc} -E conftest.c > conftest.out 2>&1
  341. if egrep yes conftest.out >/dev/null 2>&1; then
  342.   GCC=1 # For later tests.
  343. fi
  344. rm -f conftest*
  345.  
  346. test -n "$silent" || /bin/echo "checking how to run the C preprocessor"
  347. if test -z "$CPP"; then
  348.   # This must be in double quotes, not single quotes, because CPP may get
  349.   # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  350.   # make.  It must be expanded now.
  351.   CPP="${CC-cc} -E"
  352.   cat > conftest.${ac_ext} <<EOF
  353. #include "confdefs.h"
  354. #include <stdio.h>
  355. Syntax Error
  356. EOF
  357. # Some shells (Coherent) do redirections in the wrong order, so need
  358. # the parens.
  359. ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  360. if test -z "$ac_err"; then
  361.   :
  362. else
  363.   rm -rf conftest*
  364.   CPP="${CC-cc} -E -traditional-cpp"
  365.   cat > conftest.${ac_ext} <<EOF
  366. #include "confdefs.h"
  367. #include <stdio.h>
  368. Syntax Error
  369. EOF
  370. # Some shells (Coherent) do redirections in the wrong order, so need
  371. # the parens.
  372. ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  373. if test -z "$ac_err"; then
  374.   :
  375. else
  376.   rm -rf conftest*
  377.   CPP=/lib/cpp
  378. fi
  379. rm -f conftest*
  380. fi
  381. rm -f conftest*
  382. fi
  383. test -n "$verbose" && /bin/echo "    setting CPP to $CPP"
  384.  
  385. if test -n "$GCC"; then
  386.   test -n "$silent" || /bin/echo "checking whether -traditional is needed"
  387.   ac_pattern="Autoconf.*'x'"
  388.   ac_prog='#include <sgtty.h>
  389. Autoconf TIOCGETP'
  390.   cat > conftest.${ac_ext} <<EOF
  391. #include "confdefs.h"
  392. $ac_prog
  393. EOF
  394. eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  395. if egrep "$ac_pattern" conftest.out >/dev/null 2>&1; then
  396.   rm -rf conftest*
  397.   ac_need_trad=1
  398.  
  399. fi
  400. rm -f conftest*
  401.  
  402.  
  403.   if test -z "$ac_need_trad"; then
  404.     ac_prog='#include <termio.h>
  405. Autoconf TCGETA'
  406.     cat > conftest.${ac_ext} <<EOF
  407. #include "confdefs.h"
  408. $ac_prog
  409. EOF
  410. eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  411. if egrep "$ac_pattern" conftest.out >/dev/null 2>&1; then
  412.   rm -rf conftest*
  413.   ac_need_trad=1
  414.  
  415. fi
  416. rm -f conftest*
  417.  
  418.   fi
  419.   test -n "$ac_need_trad" && CC="$CC -traditional"
  420. fi
  421.  
  422. # Make sure to not get the incompatible SysV /etc/install and
  423. # /usr/sbin/install, which might be in PATH before a BSD-like install,
  424. # or the SunOS /usr/etc/install directory, or the AIX /bin/install,
  425. # or the AFS install, which mishandles nonexistent args, or
  426. # /usr/ucb/install on SVR4, which tries to use the nonexistent group
  427. # `staff', or /sbin/install on IRIX which has incompatible command-line
  428. # syntax.  Sigh.
  429. #
  430. #     On most BSDish systems install is in /usr/bin, not /usr/ucb
  431. #     anyway.
  432. # This turns out not to be true, so the mere pathname isn't an indication
  433. # of whether the program works.  What we really need is a set of tests for
  434. # the install program to see if it actually works in all the required ways.
  435. #
  436. # Avoid using ./install, which might have been erroneously created
  437. # by make from ./install.sh.
  438. if test "z${INSTALL}" = "z" ; then
  439.   test -n "$silent" || /bin/echo "checking for a BSD compatible install"
  440.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  441.   for ac_dir in $PATH; do
  442.     case "$ac_dir" in
  443.     ''|.|/gnu/etc|/sbin|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;
  444.     *)
  445.       # OSF1 and SCO ODT 3.0 have their own names for install.
  446.       for ac_prog in installbsd scoinst install; do
  447.         if test -f $ac_dir/$ac_prog; then
  448.       if test $ac_prog = install &&
  449.             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  450.         # AIX install.  It has an incompatible calling convention.
  451.         # OSF/1 installbsd also uses dspmsg, but is usable.
  452.         :
  453.       else
  454.         INSTALL="$ac_dir/$ac_prog -c"
  455.         INSTALL_PROGRAM='${INSTALL}'
  456.         INSTALL_DATA='${INSTALL} -m 644'
  457.         break 2
  458.       fi
  459.     fi
  460.       done
  461.       ;;
  462.     esac
  463.   done
  464.   IFS="$ac_save_ifs"
  465. fi
  466. if test -z "$INSTALL"; then
  467.   if test -f ${srcdir}/install.sh; then
  468.     # As a last resort, use the slow shell script.
  469.     INSTALL='@top_srcdir@/install.sh -c'
  470.   else
  471.     /bin/echo "configure: warning: ${srcdir}/install.sh not found; using cp" >&2
  472.     INSTALL=cp
  473.   fi
  474. fi
  475. test -n "$verbose" && /bin/echo "    setting INSTALL to $INSTALL"
  476. # Use test -z because SunOS4 sh mishandles ${INSTALL_PROGRAM-'${INSTALL}'}.
  477. # It thinks the first close brace ends the variable substitution.
  478. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  479. test -n "$verbose" && /bin/echo "    setting INSTALL_PROGRAM to $INSTALL_PROGRAM"
  480. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL}'
  481. test -n "$verbose" && /bin/echo "    setting INSTALL_DATA to $INSTALL_DATA"
  482.  
  483. if test -z "$RANLIB"; then
  484.   # Extract the first word of `ranlib', so it can be a program name with args.
  485.   set ac_dummy ranlib; ac_word=$2
  486.   test -n "$silent" || /bin/echo "checking for $ac_word"
  487.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  488.   for ac_dir in $PATH; do
  489.     test -z "$ac_dir" && ac_dir=.
  490.     if test -f $ac_dir/$ac_word; then
  491.       RANLIB="ranlib"
  492.       break
  493.     fi
  494.   done
  495.   IFS="$ac_save_ifs"
  496. fi
  497. test -z "$RANLIB" && RANLIB=":"
  498. test -n "$RANLIB" && test -n "$verbose" && /bin/echo "    setting RANLIB to $RANLIB"
  499.  
  500. test -n "$silent" || /bin/echo "checking for POSIXized ISC"
  501. if test -d /gnu/etc/conf/kconfig.d &&
  502.   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  503. then
  504.   ISC=1 # If later tests want to check for ISC.
  505.   
  506. {
  507. test -n "$verbose" && \
  508. /bin/echo "    defining _POSIX_SOURCE"
  509. /bin/echo "#define" _POSIX_SOURCE "1" >> confdefs.h
  510. DEFS="$DEFS -D_POSIX_SOURCE=1"
  511. }
  512.  
  513.   if test -n "$GCC"; then
  514.     CC="$CC -posix"
  515.   else
  516.     CC="$CC -Xp"
  517.   fi
  518. fi
  519.  
  520. test -n "$silent" || /bin/echo "checking for minix/config.h"
  521. cat > conftest.${ac_ext} <<EOF
  522. #include "confdefs.h"
  523. #include <minix/config.h>
  524. EOF
  525. # Some shells (Coherent) do redirections in the wrong order, so need
  526. # the parens.
  527. ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  528. if test -z "$ac_err"; then
  529.   rm -rf conftest*
  530.   MINIX=1
  531.  
  532. fi
  533. rm -f conftest*
  534.  
  535. # The Minix shell can't assign to the same variable on the same line!
  536. if test -n "$MINIX"; then
  537.   
  538. {
  539. test -n "$verbose" && \
  540. /bin/echo "    defining _POSIX_SOURCE"
  541. /bin/echo "#define" _POSIX_SOURCE "1" >> confdefs.h
  542. DEFS="$DEFS -D_POSIX_SOURCE=1"
  543. }
  544.  
  545.   
  546. {
  547. test -n "$verbose" && \
  548. /bin/echo "    defining" _POSIX_1_SOURCE to be "2"
  549. /bin/echo "#define" _POSIX_1_SOURCE "2" >> confdefs.h
  550. DEFS="$DEFS -D_POSIX_1_SOURCE=2"
  551. }
  552.  
  553.   
  554. {
  555. test -n "$verbose" && \
  556. /bin/echo "    defining _MINIX"
  557. /bin/echo "#define" _MINIX "1" >> confdefs.h
  558. DEFS="$DEFS -D_MINIX=1"
  559. }
  560.  
  561. fi
  562.  
  563. ac_prog='/* Ultrix mips cc rejects this.  */
  564. typedef int charset[2]; const charset x;
  565. /* SunOS 4.1.1 cc rejects this.  */
  566. char const *const *ccp;
  567. char **p;
  568. /* AIX XL C 1.02.0.0 rejects this.
  569.    It does not let you subtract one const X* pointer from another in an arm
  570.    of an if-expression whose if-part is not a constant expression */
  571. const char *g = "string";
  572. ccp = &g + (g ? g-g : 0);
  573. /* HPUX 7.0 cc rejects these. */
  574. ++ccp;
  575. p = (char**) ccp;
  576. ccp = (char const *const *) p;
  577. { /* SCO 3.2v4 cc rejects this.  */
  578.   char *t;
  579.   char const *s = 0 ? (char *) 0 : (char const *) 0;
  580.  
  581.   *t++ = 0;
  582. }
  583. { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
  584.   int x[] = {25,17};
  585.   const int *foo = &x[0];
  586.   ++foo;
  587. }
  588. { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  589.   typedef const int *iptr;
  590.   iptr p = 0;
  591.   ++p;
  592. }
  593. { /* AIX XL C 1.02.0.0 rejects this saying
  594.      "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  595.   struct s { int j; const int *ap[3]; };
  596.   struct s *b; b->j = 5;
  597. }
  598. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  599.   const int foo = 10;
  600. }'
  601. test -n "$silent" || /bin/echo "checking for lack of working const"
  602. cat > conftest.${ac_ext} <<EOF
  603. #include "confdefs.h"
  604.  
  605. int main() { return 0; }
  606. int t() { $ac_prog; return 0; }
  607. EOF
  608. if eval $ac_compile; then
  609.   :
  610. else
  611.   rm -rf conftest*
  612.   
  613. {
  614. test -n "$verbose" && \
  615. /bin/echo "    defining" const to be empty
  616. /bin/echo "#define" const "" >> confdefs.h
  617. DEFS="$DEFS -Dconst="
  618. }
  619.  
  620. fi
  621. rm -f conftest*
  622.  
  623. test -n "$silent" || /bin/echo "checking for ANSI C header files"
  624. cat > conftest.${ac_ext} <<EOF
  625. #include "confdefs.h"
  626. #include <stdlib.h>
  627. #include <stdarg.h>
  628. #include <string.h>
  629. #include <float.h>
  630. EOF
  631. # Some shells (Coherent) do redirections in the wrong order, so need
  632. # the parens.
  633. ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  634. if test -z "$ac_err"; then
  635.   rm -rf conftest*
  636.   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  637. /bin/echo '#include "confdefs.h"
  638. #include <string.h>' > conftest.${ac_ext}
  639. eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  640. if egrep "memchr" conftest.out >/dev/null 2>&1; then
  641.   rm -rf conftest*
  642.   # SGI's /bin/cc from Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  643. cat > conftest.${ac_ext} <<EOF
  644. #include "confdefs.h"
  645. #include <ctype.h>
  646. #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  647. #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  648. #define XOR(e,f) (((e) && !(f)) || (!(e) && (f)))
  649. int main () { int i; for (i = 0; i < 256; i++)
  650. if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
  651. exit (0); }
  652.  
  653. EOF
  654. eval $ac_compile
  655. if test -s conftest && (./conftest; exit) 2>/dev/null; then
  656.   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  657. /bin/echo '#include "confdefs.h"
  658. #include <stdlib.h>' > conftest.${ac_ext}
  659. eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  660. if egrep "free" conftest.out >/dev/null 2>&1; then
  661.   rm -rf conftest*
  662.   
  663. {
  664. test -n "$verbose" && \
  665. /bin/echo "    defining STDC_HEADERS"
  666. /bin/echo "#define" STDC_HEADERS "1" >> confdefs.h
  667. DEFS="$DEFS -DSTDC_HEADERS=1"
  668. }
  669.  
  670.  
  671. fi
  672. rm -f conftest*
  673.  
  674.  
  675. fi
  676. rm -fr conftest*
  677.  
  678. fi
  679. rm -f conftest*
  680.  
  681.  
  682. fi
  683. rm -f conftest*
  684.  
  685. for ac_hdr in unistd.h termio.h string.h varargs.h sys/time.h sys/fcntl.h sys/ttold.h sys/ptem.h
  686. do
  687. ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./' '[A-Z]__'`
  688. test -n "$silent" || /bin/echo "checking for ${ac_hdr}"
  689. cat > conftest.${ac_ext} <<EOF
  690. #include "confdefs.h"
  691. #include <${ac_hdr}>
  692. EOF
  693. # Some shells (Coherent) do redirections in the wrong order, so need
  694. # the parens.
  695. ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  696. if test -z "$ac_err"; then
  697.   rm -rf conftest*
  698.   
  699. {
  700. test -n "$verbose" && \
  701. /bin/echo "    defining ${ac_tr_hdr}"
  702. /bin/echo "#define" ${ac_tr_hdr} "1" >> confdefs.h
  703. DEFS="$DEFS -D${ac_tr_hdr}=1"
  704. }
  705.  
  706.  
  707. fi
  708. rm -f conftest*
  709. done
  710.  
  711. for ac_func in setvbuf getcwd bzero rindex vfprintf vsprintf
  712. do
  713. ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  714. test -n "$silent" || /bin/echo "checking for ${ac_func}"
  715. cat > conftest.${ac_ext} <<EOF
  716. #include "confdefs.h"
  717. #include <ctype.h>
  718. int main() { return 0; }
  719. int t() { 
  720. /* The GNU C library defines this for functions which it implements
  721.     to always fail with ENOSYS.  Some functions are actually named
  722.     something starting with __ and the normal name is an alias.  */
  723. #if defined (__stub_${ac_func}) || defined (__stub___${ac_func})
  724. choke me
  725. #else
  726. /* Override any gcc2 internal prototype to avoid an error.  */
  727. extern char ${ac_func}(); ${ac_func}();
  728. #endif
  729. ; return 0; }
  730. EOF
  731. if eval $ac_compile; then
  732.   rm -rf conftest*
  733.   {
  734. test -n "$verbose" && \
  735. /bin/echo "    defining ${ac_tr_func}"
  736. /bin/echo "#define" ${ac_tr_func} "1" >> confdefs.h
  737. DEFS="$DEFS -D${ac_tr_func}=1"
  738. }
  739.  
  740.  
  741. fi
  742. rm -f conftest*
  743. done
  744.  
  745. test -n "$silent" || /bin/echo "checking for struct tm in time.h"
  746. cat > conftest.${ac_ext} <<EOF
  747. #include "confdefs.h"
  748. #include <sys/types.h>
  749. #include <time.h>
  750. int main() { return 0; }
  751. int t() { struct tm *tp; tp->tm_sec;; return 0; }
  752. EOF
  753. if eval $ac_compile; then
  754.   :
  755. else
  756.   rm -rf conftest*
  757.   
  758. {
  759. test -n "$verbose" && \
  760. /bin/echo "    defining TM_IN_SYS_TIME"
  761. /bin/echo "#define" TM_IN_SYS_TIME "1" >> confdefs.h
  762. DEFS="$DEFS -DTM_IN_SYS_TIME=1"
  763. }
  764.  
  765. fi
  766. rm -f conftest*
  767.  
  768. cat > conftest.${ac_ext} <<EOF
  769. #include "confdefs.h"
  770. #include <stdio.h>
  771. /* If setvbuf has the reversed format, exit 0. */
  772. main () {
  773. #ifdef __amigados__
  774.   /* AmigaDOS is a non-reversed system.  Instead of the test program
  775.      getting a segfault (no memory protection), it causes enforcer hits
  776.      or other nastiness, so don't run the test program, just exit with
  777.      status 1 to indicate that it is non-reversed.  -fnf */
  778.   exit(1);
  779. #endif
  780.   /* This call has the arguments reversed.
  781.      A reversed system may check and see that the address of main
  782.      is not _IOLBF, _IONBF, or _IOFBF, and return nonzero.  */
  783.   if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
  784.     exit(1);
  785.   putc('\r', stdout);
  786.   exit(0);            /* Non-reversed systems segv here.  */
  787. }
  788. EOF
  789. eval $ac_compile
  790. if test -s conftest && (./conftest; exit) 2>/dev/null; then
  791.   
  792. {
  793. test -n "$verbose" && \
  794. /bin/echo "    defining SETVBUF_REVERSED"
  795. /bin/echo "#define" SETVBUF_REVERSED "1" >> confdefs.h
  796. DEFS="$DEFS -DSETVBUF_REVERSED=1"
  797. }
  798.  
  799.  
  800. fi
  801. rm -fr conftest*
  802. rm -f core
  803.  
  804. # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  805. # for constant arguments.  Useless!
  806. test -n "$silent" || /bin/echo "checking for working alloca.h"
  807. cat > conftest.${ac_ext} <<EOF
  808. #include "confdefs.h"
  809. #include <alloca.h>
  810. int main() { return 0; }
  811. int t() { char *p = alloca(2 * sizeof(int));; return 0; }
  812. EOF
  813. if eval $ac_compile; then
  814.   rm -rf conftest*
  815.   
  816. {
  817. test -n "$verbose" && \
  818. /bin/echo "    defining HAVE_ALLOCA_H"
  819. /bin/echo "#define" HAVE_ALLOCA_H "1" >> confdefs.h
  820. DEFS="$DEFS -DHAVE_ALLOCA_H=1"
  821. }
  822.  
  823.  
  824. fi
  825. rm -f conftest*
  826.  
  827. ac_decl="#ifdef __GNUC__
  828. #define alloca __builtin_alloca
  829. #else
  830. #if HAVE_ALLOCA_H
  831. #include <alloca.h>
  832. #else
  833. #ifdef _AIX
  834.  #pragma alloca
  835. #else
  836. char *alloca ();
  837. #endif
  838. #endif
  839. #endif
  840. "
  841. test -n "$silent" || /bin/echo "checking for alloca"
  842. cat > conftest.${ac_ext} <<EOF
  843. #include "confdefs.h"
  844. $ac_decl
  845. int main() { return 0; }
  846. int t() { char *p = (char *) alloca(1);; return 0; }
  847. EOF
  848. if eval $ac_compile; then
  849.   rm -rf conftest*
  850.   
  851. {
  852. test -n "$verbose" && \
  853. /bin/echo "    defining HAVE_ALLOCA"
  854. /bin/echo "#define" HAVE_ALLOCA "1" >> confdefs.h
  855. DEFS="$DEFS -DHAVE_ALLOCA=1"
  856. }
  857.  
  858.  
  859. else
  860.   rm -rf conftest*
  861.   ac_alloca_missing=1
  862. cat > conftest.${ac_ext} <<EOF
  863. #include "confdefs.h"
  864.  
  865. #if defined(CRAY) && ! defined(CRAY2)
  866. winnitude
  867. #else
  868. lossage
  869. #endif
  870.  
  871. EOF
  872. eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1"
  873. if egrep "winnitude" conftest.out >/dev/null 2>&1; then
  874.   rm -rf conftest*
  875.   test -n "$silent" || /bin/echo "checking for _getb67"
  876. cat > conftest.${ac_ext} <<EOF
  877. #include "confdefs.h"
  878. #include <ctype.h>
  879. int main() { return 0; }
  880. int t() { 
  881. /* The GNU C library defines this for functions which it implements
  882.     to always fail with ENOSYS.  Some functions are actually named
  883.     something starting with __ and the normal name is an alias.  */
  884. #if defined (__stub__getb67) || defined (__stub____getb67)
  885. choke me
  886. #else
  887. /* Override any gcc2 internal prototype to avoid an error.  */
  888. extern char _getb67(); _getb67();
  889. #endif
  890. ; return 0; }
  891. EOF
  892. if eval $ac_compile; then
  893.   rm -rf conftest*
  894.   {
  895. test -n "$verbose" && \
  896. /bin/echo "    defining" CRAY_STACKSEG_END to be "_getb67"
  897. /bin/echo "#define" CRAY_STACKSEG_END "_getb67" >> confdefs.h
  898. DEFS="$DEFS -DCRAY_STACKSEG_END=_getb67"
  899. }
  900.  
  901.  
  902. else
  903.   rm -rf conftest*
  904.   test -n "$silent" || /bin/echo "checking for GETB67"
  905. cat > conftest.${ac_ext} <<EOF
  906. #include "confdefs.h"
  907. #include <ctype.h>
  908. int main() { return 0; }
  909. int t() { 
  910. /* The GNU C library defines this for functions which it implements
  911.     to always fail with ENOSYS.  Some functions are actually named
  912.     something starting with __ and the normal name is an alias.  */
  913. #if defined (__stub_GETB67) || defined (__stub___GETB67)
  914. choke me
  915. #else
  916. /* Override any gcc2 internal prototype to avoid an error.  */
  917. extern char GETB67(); GETB67();
  918. #endif
  919. ; return 0; }
  920. EOF
  921. if eval $ac_compile; then
  922.   rm -rf conftest*
  923.   {
  924. test -n "$verbose" && \
  925. /bin/echo "    defining" CRAY_STACKSEG_END to be "GETB67"
  926. /bin/echo "#define" CRAY_STACKSEG_END "GETB67" >> confdefs.h
  927. DEFS="$DEFS -DCRAY_STACKSEG_END=GETB67"
  928. }
  929.  
  930.  
  931. else
  932.   rm -rf conftest*
  933.   test -n "$silent" || /bin/echo "checking for getb67"
  934. cat > conftest.${ac_ext} <<EOF
  935. #include "confdefs.h"
  936. #include <ctype.h>
  937. int main() { return 0; }
  938. int t() { 
  939. /* The GNU C library defines this for functions which it implements
  940.     to always fail with ENOSYS.  Some functions are actually named
  941.     something starting with __ and the normal name is an alias.  */
  942. #if defined (__stub_getb67) || defined (__stub___getb67)
  943. choke me
  944. #else
  945. /* Override any gcc2 internal prototype to avoid an error.  */
  946. extern char getb67(); getb67();
  947. #endif
  948. ; return 0; }
  949. EOF
  950. if eval $ac_compile; then
  951.   rm -rf conftest*
  952.   {
  953. test -n "$verbose" && \
  954. /bin/echo "    defining" CRAY_STACKSEG_END to be "getb67"
  955. /bin/echo "#define" CRAY_STACKSEG_END "getb67" >> confdefs.h
  956. DEFS="$DEFS -DCRAY_STACKSEG_END=getb67"
  957. }
  958.  
  959.  
  960. fi
  961. rm -f conftest*
  962.  
  963. fi
  964. rm -f conftest*
  965.  
  966. fi
  967. rm -f conftest*
  968.  
  969.  
  970. fi
  971. rm -f conftest*
  972.  
  973.  
  974. fi
  975. rm -f conftest*
  976.  
  977. if test -n "$ac_alloca_missing"; then
  978.   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  979.   # that cause trouble.  Some versions do not even contain alloca or
  980.   # contain a buggy version.  If you still want to use their alloca,
  981.   # use ar to extract alloca.o from them instead of compiling alloca.c.
  982.   ALLOCA=alloca.o
  983.   
  984. {
  985. test -n "$verbose" && \
  986. /bin/echo "    defining C_ALLOCA"
  987. /bin/echo "#define" C_ALLOCA "1" >> confdefs.h
  988. DEFS="$DEFS -DC_ALLOCA=1"
  989. }
  990.  
  991.  
  992.   test -n "$silent" || /bin/echo "checking stack direction for C alloca"
  993.   test -n "$silent" || /bin/echo "checking whether cross-compiling"
  994. # If we cannot run a trivial program, we must be cross compiling.
  995. cat > conftest.${ac_ext} <<EOF
  996. #include "confdefs.h"
  997. main(){exit(0);}
  998. EOF
  999. eval $ac_compile
  1000. if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1001.   :
  1002. else
  1003.   cross_compiling=1
  1004. fi
  1005. rm -fr conftest*
  1006.  
  1007. if test -n "$cross_compiling"
  1008. then
  1009.   
  1010. {
  1011. test -n "$verbose" && \
  1012. /bin/echo "    defining" STACK_DIRECTION to be "0"
  1013. /bin/echo "#define" STACK_DIRECTION "0" >> confdefs.h
  1014. DEFS="$DEFS -DSTACK_DIRECTION=0"
  1015. }
  1016.  
  1017. else
  1018. cat > conftest.${ac_ext} <<EOF
  1019. #include "confdefs.h"
  1020. find_stack_direction ()
  1021. {
  1022.   static char *addr = 0;
  1023.   auto char dummy;
  1024.   if (addr == 0)
  1025.     {
  1026.       addr = &dummy;
  1027.       return find_stack_direction ();
  1028.     }
  1029.   else
  1030.     return (&dummy > addr) ? 1 : -1;
  1031. }
  1032. main ()
  1033. {
  1034.   exit (find_stack_direction() < 0);
  1035. }
  1036. EOF
  1037. eval $ac_compile
  1038. if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1039.   
  1040. {
  1041. test -n "$verbose" && \
  1042. /bin/echo "    defining" STACK_DIRECTION to be "1"
  1043. /bin/echo "#define" STACK_DIRECTION "1" >> confdefs.h
  1044. DEFS="$DEFS -DSTACK_DIRECTION=1"
  1045. }
  1046.  
  1047.  
  1048. else
  1049.   
  1050. {
  1051. test -n "$verbose" && \
  1052. /bin/echo "    defining" STACK_DIRECTION to be "-1"
  1053. /bin/echo "#define" STACK_DIRECTION "-1" >> confdefs.h
  1054. DEFS="$DEFS -DSTACK_DIRECTION=-1"
  1055. }
  1056.  
  1057. fi
  1058. fi
  1059. rm -fr conftest*
  1060. fi
  1061.  
  1062. TERMLIBS=""
  1063. for termlib in termcap terminfo curses termlib ; do
  1064.    ac_save_LIBS="${LIBS}"
  1065. LIBS="${LIBS} -l${termlib}"
  1066. ac_have_lib=""
  1067. test -n "$silent" || /bin/echo "checking for -l${termlib}"
  1068. cat > conftest.${ac_ext} <<EOF
  1069. #include "confdefs.h"
  1070.  
  1071. int main() { return 0; }
  1072. int t() { main();; return 0; }
  1073. EOF
  1074. if eval $ac_compile; then
  1075.   rm -rf conftest*
  1076.   ac_have_lib="1"
  1077.  
  1078. fi
  1079. rm -f conftest*
  1080. LIBS="${ac_save_LIBS}"
  1081. if test -n "${ac_have_lib}"; then
  1082.    :; TERMLIBS="${TERMLIBS} -l${termlib}"
  1083. else
  1084.    :; 
  1085. fi
  1086.  
  1087.    case "${TERMLIBS}" in
  1088.       *-l${termlib}* ) break ;;
  1089.    esac
  1090. done
  1091.  
  1092. # Set default prefixes.
  1093. if test -n "$prefix"; then
  1094.   test -z "$exec_prefix" && exec_prefix='${prefix}' # Let make expand it.
  1095.   ac_prsub="s%^prefix\\([     ]*\\)=\\([     ]*\\).*$%prefix\\1=\\2$prefix%"
  1096. fi
  1097. if test -n "$exec_prefix"; then
  1098.   ac_prsub="$ac_prsub
  1099. s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"
  1100. fi
  1101. # Any assignment to VPATH causes Sun make to only execute
  1102. # the first set of double-colon rules, so remove it if not needed.
  1103. # If there is a colon in the path, we need to keep it.
  1104. if test "x$srcdir" = x.; then
  1105.   ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  1106. fi
  1107.  
  1108. # Quote sed substitution magic chars in DEFS.
  1109. cat >conftest.def <<EOF
  1110. $DEFS
  1111. EOF
  1112. ac_escape_ampersand_and_backslash='s%[&\\]%\\&%g'
  1113. DEFS=`sed "$ac_escape_ampersand_and_backslash" <conftest.def`
  1114. rm -f conftest.def
  1115. # Substitute for predefined variables.
  1116.  
  1117. trap 'rm -f config.status; exit 1' 1 2 15
  1118. /bin/echo creating config.status
  1119. rm -f config.status
  1120. cat > config.status <<EOF
  1121. #!/bin/sh
  1122. # Generated automatically by configure.
  1123. # Run this file to recreate the current configuration.
  1124. # This directory was configured as follows,
  1125. # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1126. #
  1127. # $0 $configure_args
  1128.  
  1129. ac_cs_usage="Usage: config.status [--recheck] [--version] [--help]"
  1130. for ac_option
  1131. do
  1132.   case "\$ac_option" in
  1133.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1134.     /bin/echo running \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create
  1135.     exec \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create ;;
  1136.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1137.     /bin/echo "config.status generated by autoconf version 1.9"
  1138.     exit 0 ;;
  1139.   -help | --help | --hel | --he | --h)
  1140.     /bin/echo "\$ac_cs_usage"; exit 0 ;;
  1141.   *) /bin/echo "\$ac_cs_usage"; exit 1 ;;
  1142.   esac
  1143. done
  1144.  
  1145. trap 'rm -f Makefile libtxi/Makefile makeinfo/Makefile info/Makefile util/Makefile; exit 1' 1 2 15
  1146. CC='$CC'
  1147. CPP='$CPP'
  1148. INSTALL='$INSTALL'
  1149. INSTALL_PROGRAM='$INSTALL_PROGRAM'
  1150. INSTALL_DATA='$INSTALL_DATA'
  1151. RANLIB='$RANLIB'
  1152. ALLOCA='$ALLOCA'
  1153. TERMLIBS='$TERMLIBS'
  1154. LIBS='$LIBS'
  1155. srcdir='$srcdir'
  1156. top_srcdir='$top_srcdir'
  1157. prefix='$prefix'
  1158. exec_prefix='$exec_prefix'
  1159. DEFS='$DEFS'
  1160. ac_prsub='$ac_prsub'
  1161. ac_vpsub='$ac_vpsub'
  1162. extrasub='$extrasub'
  1163. EOF
  1164. cat >> config.status <<\EOF
  1165.  
  1166. ac_given_srcdir=$srcdir
  1167.  
  1168. CONFIG_FILES=${CONFIG_FILES-"Makefile libtxi/Makefile makeinfo/Makefile info/Makefile util/Makefile"}
  1169. for ac_file in .. ${CONFIG_FILES}; do if test "x$ac_file" != x..; then
  1170.   # Remove last slash and all that follows it.  Not all systems have dirname.
  1171.   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1172.   if test "$ac_dir" != "$ac_file"; then
  1173.     # The file is in a subdirectory.
  1174.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  1175.     ac_dir_suffix="/$ac_dir"
  1176.   else
  1177.     ac_dir_suffix=
  1178.   fi
  1179.  
  1180.   # A "../" for each directory in $ac_dir_suffix.
  1181.   ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  1182.   case "$ac_given_srcdir" in
  1183.   .)  srcdir=.; top_srcdir="$ac_dots." ;;
  1184.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  1185.   *) # Relative path.
  1186.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  1187.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  1188.   esac
  1189.  
  1190.   /bin/echo creating "$ac_file"
  1191.   rm -f "$ac_file"
  1192.   comment_str="Generated automatically from `/bin/echo $ac_file|sed 's|.*/||'`.in by configure."
  1193.   case "$ac_file" in
  1194.     *.c | *.h | *.C | *.cc | *.m )  /bin/echo "/* $comment_str */" > "$ac_file" ;;
  1195.     * )          /bin/echo "# $comment_str"     > "$ac_file" ;;
  1196.   esac
  1197.   sed -e "
  1198. $ac_prsub
  1199. $ac_vpsub
  1200. $extrasub
  1201. s%@CC@%$CC%g
  1202. s%@CPP@%$CPP%g
  1203. s%@INSTALL@%$INSTALL%g
  1204. s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  1205. s%@INSTALL_DATA@%$INSTALL_DATA%g
  1206. s%@RANLIB@%$RANLIB%g
  1207. s%@ALLOCA@%$ALLOCA%g
  1208. s%@TERMLIBS@%$TERMLIBS%g
  1209. s%@LIBS@%$LIBS%g
  1210. s%@srcdir@%$srcdir%g
  1211. s%@top_srcdir@%$top_srcdir%g
  1212. s%@prefix@%$prefix%g
  1213. s%@exec_prefix@%$exec_prefix%g
  1214. s%@DEFS@%$DEFS%
  1215. " $ac_given_srcdir/${ac_file}.in >> $ac_file
  1216. fi; done
  1217.  
  1218.  
  1219. exit 0
  1220. EOF
  1221. chmod +x config.status
  1222. test -n "$no_create" || ${CONFIG_SHELL-/bin/sh} config.status
  1223.  
  1224.