home *** CD-ROM | disk | FTP | other *** search
/ ftp.shrubbery.net / 2015-02-07.ftp.shrubbery.net.tar / ftp.shrubbery.net / pub / foad / foad-0.3.tar.gz / foad-0.3.tar / foad-0.3 / configure < prev    next >
Text File  |  2003-09-22  |  174KB  |  5,838 lines

  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.54.
  4. #
  5. # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  6. # Free Software Foundation, Inc.
  7. # This configure script is free software; the Free Software Foundation
  8. # gives unlimited permission to copy, distribute and modify it.
  9. ## --------------------- ##
  10. ## M4sh Initialization.  ##
  11. ## --------------------- ##
  12.  
  13. # Be Bourne compatible
  14. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  15.   emulate sh
  16.   NULLCMD=:
  17.   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  18.   # is contrary to our usage.  Disable this feature.
  19.   alias -g '${1+"$@"}'='"$@"'
  20. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  21.   set -o posix
  22. fi
  23.  
  24. # Support unset when possible.
  25. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  26.   as_unset=unset
  27. else
  28.   as_unset=false
  29. fi
  30.  
  31.  
  32. # Work around bugs in pre-3.0 UWIN ksh.
  33. $as_unset ENV MAIL MAILPATH
  34. PS1='$ '
  35. PS2='> '
  36. PS4='+ '
  37.  
  38. # NLS nuisances.
  39. for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
  40. do
  41.   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  42.     eval $as_var=C; export $as_var
  43.   else
  44.     $as_unset $as_var
  45.   fi
  46. done
  47.  
  48. # Required to use basename.
  49. if expr a : '\(a\)' >/dev/null 2>&1; then
  50.   as_expr=expr
  51. else
  52.   as_expr=false
  53. fi
  54.  
  55. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  56.   as_basename=basename
  57. else
  58.   as_basename=false
  59. fi
  60.  
  61.  
  62. # Name of the executable.
  63. as_me=`$as_basename "$0" ||
  64. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  65.      X"$0" : 'X\(//\)$' \| \
  66.      X"$0" : 'X\(/\)$' \| \
  67.      .     : '\(.\)' 2>/dev/null ||
  68. echo X/"$0" |
  69.     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  70.         /^X\/\(\/\/\)$/{ s//\1/; q; }
  71.         /^X\/\(\/\).*/{ s//\1/; q; }
  72.         s/.*/./; q'`
  73.  
  74.  
  75. # PATH needs CR, and LINENO needs CR and PATH.
  76. # Avoid depending upon Character Ranges.
  77. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  78. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  79. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  80. as_cr_digits='0123456789'
  81. as_cr_alnum=$as_cr_Letters$as_cr_digits
  82.  
  83. # The user is always right.
  84. if test "${PATH_SEPARATOR+set}" != set; then
  85.   echo "#! /bin/sh" >conftest.sh
  86.   echo  "exit 0"   >>conftest.sh
  87.   chmod +x conftest.sh
  88.   if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
  89.     PATH_SEPARATOR=';'
  90.   else
  91.     PATH_SEPARATOR=:
  92.   fi
  93.   rm -f conftest.sh
  94. fi
  95.  
  96.  
  97.   as_lineno_1=$LINENO
  98.   as_lineno_2=$LINENO
  99.   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  100.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  101.   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  102.   # Find who we are.  Look in the path if we contain no path at all
  103.   # relative or not.
  104.   case $0 in
  105.     *[\\/]* ) as_myself=$0 ;;
  106.     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  107. for as_dir in $PATH
  108. do
  109.   IFS=$as_save_IFS
  110.   test -z "$as_dir" && as_dir=.
  111.   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  112. done
  113.  
  114.        ;;
  115.   esac
  116.   # We did not find ourselves, most probably we were run as `sh COMMAND'
  117.   # in which case we are not to be found in the path.
  118.   if test "x$as_myself" = x; then
  119.     as_myself=$0
  120.   fi
  121.   if test ! -f "$as_myself"; then
  122.     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  123.    { (exit 1); exit 1; }; }
  124.   fi
  125.   case $CONFIG_SHELL in
  126.   '')
  127.     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  128. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  129. do
  130.   IFS=$as_save_IFS
  131.   test -z "$as_dir" && as_dir=.
  132.   for as_base in sh bash ksh sh5; do
  133.      case $as_dir in
  134.      /*)
  135.        if ("$as_dir/$as_base" -c '
  136.   as_lineno_1=$LINENO
  137.   as_lineno_2=$LINENO
  138.   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  139.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  140.   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  141.          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  142.          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  143.          CONFIG_SHELL=$as_dir/$as_base
  144.          export CONFIG_SHELL
  145.          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  146.        fi;;
  147.      esac
  148.        done
  149. done
  150. ;;
  151.   esac
  152.  
  153.   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  154.   # uniformly replaced by the line number.  The first 'sed' inserts a
  155.   # line-number line before each line; the second 'sed' does the real
  156.   # work.  The second script uses 'N' to pair each line-number line
  157.   # with the numbered line, and appends trailing '-' during
  158.   # substitution so that $LINENO is not a special case at line end.
  159.   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  160.   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  161.   sed '=' <$as_myself |
  162.     sed '
  163.       N
  164.       s,$,-,
  165.       : loop
  166.       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  167.       t loop
  168.       s,-$,,
  169.       s,^['$as_cr_digits']*\n,,
  170.     ' >$as_me.lineno &&
  171.   chmod +x $as_me.lineno ||
  172.     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  173.    { (exit 1); exit 1; }; }
  174.  
  175.   # Don't try to exec as it changes $[0], causing all sort of problems
  176.   # (the dirname of $[0] is not the place where we might find the
  177.   # original and so on.  Autoconf is especially sensible to this).
  178.   . ./$as_me.lineno
  179.   # Exit status is that of the last command.
  180.   exit
  181. }
  182.  
  183.  
  184. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  185.   *c*,-n*) ECHO_N= ECHO_C='
  186. ' ECHO_T='    ' ;;
  187.   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  188.   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  189. esac
  190.  
  191. if expr a : '\(a\)' >/dev/null 2>&1; then
  192.   as_expr=expr
  193. else
  194.   as_expr=false
  195. fi
  196.  
  197. rm -f conf$$ conf$$.exe conf$$.file
  198. echo >conf$$.file
  199. if ln -s conf$$.file conf$$ 2>/dev/null; then
  200.   # We could just check for DJGPP; but this test a) works b) is more generic
  201.   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  202.   if test -f conf$$.exe; then
  203.     # Don't use ln at all; we don't have any links
  204.     as_ln_s='cp -p'
  205.   else
  206.     as_ln_s='ln -s'
  207.   fi
  208. elif ln conf$$.file conf$$ 2>/dev/null; then
  209.   as_ln_s=ln
  210. else
  211.   as_ln_s='cp -p'
  212. fi
  213. rm -f conf$$ conf$$.exe conf$$.file
  214.  
  215. if mkdir -p . 2>/dev/null; then
  216.   as_mkdir_p=:
  217. else
  218.   as_mkdir_p=false
  219. fi
  220.  
  221. as_executable_p="test -f"
  222.  
  223. # Sed expression to map a string onto a valid CPP name.
  224. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  225.  
  226. # Sed expression to map a string onto a valid variable name.
  227. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  228.  
  229.  
  230. # IFS
  231. # We need space, tab and new line, in precisely that order.
  232. as_nl='
  233. '
  234. IFS="     $as_nl"
  235.  
  236. # CDPATH.
  237. $as_unset CDPATH
  238.  
  239.  
  240. # Name of the host.
  241. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  242. # so uname gets run too.
  243. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  244.  
  245. exec 6>&1
  246.  
  247. #
  248. # Initializations.
  249. #
  250. ac_default_prefix=/usr/local
  251. ac_config_libobj_dir=.
  252. cross_compiling=no
  253. subdirs=
  254. MFLAGS=
  255. MAKEFLAGS=
  256. SHELL=${CONFIG_SHELL-/bin/sh}
  257.  
  258. # Maximum number of lines to put in a shell here document.
  259. # This variable seems obsolete.  It should probably be removed, and
  260. # only ac_max_sed_lines should be used.
  261. : ${ac_max_here_lines=38}
  262.  
  263. # Identity of this package.
  264. PACKAGE_NAME=
  265. PACKAGE_TARNAME=
  266. PACKAGE_VERSION=
  267. PACKAGE_STRING=
  268. PACKAGE_BUGREPORT=
  269.  
  270. ac_unique_file="CHANGES"
  271. ac_default_prefix=/usr/local
  272. # Factoring default headers for most tests.
  273. ac_includes_default="\
  274. #include <stdio.h>
  275. #if HAVE_SYS_TYPES_H
  276. # include <sys/types.h>
  277. #endif
  278. #if HAVE_SYS_STAT_H
  279. # include <sys/stat.h>
  280. #endif
  281. #if STDC_HEADERS
  282. # include <stdlib.h>
  283. # include <stddef.h>
  284. #else
  285. # if HAVE_STDLIB_H
  286. #  include <stdlib.h>
  287. # endif
  288. #endif
  289. #if HAVE_STRING_H
  290. # if !STDC_HEADERS && HAVE_MEMORY_H
  291. #  include <memory.h>
  292. # endif
  293. # include <string.h>
  294. #endif
  295. #if HAVE_STRINGS_H
  296. # include <strings.h>
  297. #endif
  298. #if HAVE_INTTYPES_H
  299. # include <inttypes.h>
  300. #else
  301. # if HAVE_STDINT_H
  302. #  include <stdint.h>
  303. # endif
  304. #endif
  305. #if HAVE_UNISTD_H
  306. # include <unistd.h>
  307. #endif"
  308.  
  309. ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP U ANSI2KNR LEX LEXLIB LEX_OUTPUT_ROOT YACC TAR INST_PROGS LIBOBJS LTLIBOBJS'
  310. ac_subst_files=''
  311.  
  312. # Initialize some variables set by options.
  313. ac_init_help=
  314. ac_init_version=false
  315. # The variables have the same names as the options, with
  316. # dashes changed to underlines.
  317. cache_file=/dev/null
  318. exec_prefix=NONE
  319. no_create=
  320. no_recursion=
  321. prefix=NONE
  322. program_prefix=NONE
  323. program_suffix=NONE
  324. program_transform_name=s,x,x,
  325. silent=
  326. site=
  327. srcdir=
  328. verbose=
  329. x_includes=NONE
  330. x_libraries=NONE
  331.  
  332. # Installation directory options.
  333. # These are left unexpanded so users can "make install exec_prefix=/foo"
  334. # and all the variables that are supposed to be based on exec_prefix
  335. # by default will actually change.
  336. # Use braces instead of parens because sh, perl, etc. also accept them.
  337. bindir='${exec_prefix}/bin'
  338. sbindir='${exec_prefix}/sbin'
  339. libexecdir='${exec_prefix}/libexec'
  340. datadir='${prefix}/share'
  341. sysconfdir='${prefix}/etc'
  342. sharedstatedir='${prefix}/com'
  343. localstatedir='${prefix}/var'
  344. libdir='${exec_prefix}/lib'
  345. includedir='${prefix}/include'
  346. oldincludedir='/usr/include'
  347. infodir='${prefix}/info'
  348. mandir='${prefix}/man'
  349.  
  350. ac_prev=
  351. for ac_option
  352. do
  353.   # If the previous option needs an argument, assign it.
  354.   if test -n "$ac_prev"; then
  355.     eval "$ac_prev=\$ac_option"
  356.     ac_prev=
  357.     continue
  358.   fi
  359.  
  360.   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  361.  
  362.   # Accept the important Cygnus configure options, so we can diagnose typos.
  363.  
  364.   case $ac_option in
  365.  
  366.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  367.     ac_prev=bindir ;;
  368.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  369.     bindir=$ac_optarg ;;
  370.  
  371.   -build | --build | --buil | --bui | --bu)
  372.     ac_prev=build_alias ;;
  373.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  374.     build_alias=$ac_optarg ;;
  375.  
  376.   -cache-file | --cache-file | --cache-fil | --cache-fi \
  377.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  378.     ac_prev=cache_file ;;
  379.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  380.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  381.     cache_file=$ac_optarg ;;
  382.  
  383.   --config-cache | -C)
  384.     cache_file=config.cache ;;
  385.  
  386.   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  387.     ac_prev=datadir ;;
  388.   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  389.   | --da=*)
  390.     datadir=$ac_optarg ;;
  391.  
  392.   -disable-* | --disable-*)
  393.     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  394.     # Reject names that are not valid shell variable names.
  395.     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  396.       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  397.    { (exit 1); exit 1; }; }
  398.     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  399.     eval "enable_$ac_feature=no" ;;
  400.  
  401.   -enable-* | --enable-*)
  402.     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  403.     # Reject names that are not valid shell variable names.
  404.     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  405.       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  406.    { (exit 1); exit 1; }; }
  407.     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  408.     case $ac_option in
  409.       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  410.       *) ac_optarg=yes ;;
  411.     esac
  412.     eval "enable_$ac_feature='$ac_optarg'" ;;
  413.  
  414.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  415.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  416.   | --exec | --exe | --ex)
  417.     ac_prev=exec_prefix ;;
  418.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  419.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  420.   | --exec=* | --exe=* | --ex=*)
  421.     exec_prefix=$ac_optarg ;;
  422.  
  423.   -gas | --gas | --ga | --g)
  424.     # Obsolete; use --with-gas.
  425.     with_gas=yes ;;
  426.  
  427.   -help | --help | --hel | --he | -h)
  428.     ac_init_help=long ;;
  429.   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  430.     ac_init_help=recursive ;;
  431.   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  432.     ac_init_help=short ;;
  433.  
  434.   -host | --host | --hos | --ho)
  435.     ac_prev=host_alias ;;
  436.   -host=* | --host=* | --hos=* | --ho=*)
  437.     host_alias=$ac_optarg ;;
  438.  
  439.   -includedir | --includedir | --includedi | --included | --include \
  440.   | --includ | --inclu | --incl | --inc)
  441.     ac_prev=includedir ;;
  442.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  443.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  444.     includedir=$ac_optarg ;;
  445.  
  446.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  447.     ac_prev=infodir ;;
  448.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  449.     infodir=$ac_optarg ;;
  450.  
  451.   -libdir | --libdir | --libdi | --libd)
  452.     ac_prev=libdir ;;
  453.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  454.     libdir=$ac_optarg ;;
  455.  
  456.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  457.   | --libexe | --libex | --libe)
  458.     ac_prev=libexecdir ;;
  459.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  460.   | --libexe=* | --libex=* | --libe=*)
  461.     libexecdir=$ac_optarg ;;
  462.  
  463.   -localstatedir | --localstatedir | --localstatedi | --localstated \
  464.   | --localstate | --localstat | --localsta | --localst \
  465.   | --locals | --local | --loca | --loc | --lo)
  466.     ac_prev=localstatedir ;;
  467.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  468.   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  469.   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  470.     localstatedir=$ac_optarg ;;
  471.  
  472.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  473.     ac_prev=mandir ;;
  474.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  475.     mandir=$ac_optarg ;;
  476.  
  477.   -nfp | --nfp | --nf)
  478.     # Obsolete; use --without-fp.
  479.     with_fp=no ;;
  480.  
  481.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  482.   | --no-cr | --no-c | -n)
  483.     no_create=yes ;;
  484.  
  485.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  486.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  487.     no_recursion=yes ;;
  488.  
  489.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  490.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  491.   | --oldin | --oldi | --old | --ol | --o)
  492.     ac_prev=oldincludedir ;;
  493.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  494.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  495.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  496.     oldincludedir=$ac_optarg ;;
  497.  
  498.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  499.     ac_prev=prefix ;;
  500.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  501.     prefix=$ac_optarg ;;
  502.  
  503.   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  504.   | --program-pre | --program-pr | --program-p)
  505.     ac_prev=program_prefix ;;
  506.   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  507.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  508.     program_prefix=$ac_optarg ;;
  509.  
  510.   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  511.   | --program-suf | --program-su | --program-s)
  512.     ac_prev=program_suffix ;;
  513.   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  514.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  515.     program_suffix=$ac_optarg ;;
  516.  
  517.   -program-transform-name | --program-transform-name \
  518.   | --program-transform-nam | --program-transform-na \
  519.   | --program-transform-n | --program-transform- \
  520.   | --program-transform | --program-transfor \
  521.   | --program-transfo | --program-transf \
  522.   | --program-trans | --program-tran \
  523.   | --progr-tra | --program-tr | --program-t)
  524.     ac_prev=program_transform_name ;;
  525.   -program-transform-name=* | --program-transform-name=* \
  526.   | --program-transform-nam=* | --program-transform-na=* \
  527.   | --program-transform-n=* | --program-transform-=* \
  528.   | --program-transform=* | --program-transfor=* \
  529.   | --program-transfo=* | --program-transf=* \
  530.   | --program-trans=* | --program-tran=* \
  531.   | --progr-tra=* | --program-tr=* | --program-t=*)
  532.     program_transform_name=$ac_optarg ;;
  533.  
  534.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  535.   | -silent | --silent | --silen | --sile | --sil)
  536.     silent=yes ;;
  537.  
  538.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  539.     ac_prev=sbindir ;;
  540.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  541.   | --sbi=* | --sb=*)
  542.     sbindir=$ac_optarg ;;
  543.  
  544.   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  545.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  546.   | --sharedst | --shareds | --shared | --share | --shar \
  547.   | --sha | --sh)
  548.     ac_prev=sharedstatedir ;;
  549.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  550.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  551.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  552.   | --sha=* | --sh=*)
  553.     sharedstatedir=$ac_optarg ;;
  554.  
  555.   -site | --site | --sit)
  556.     ac_prev=site ;;
  557.   -site=* | --site=* | --sit=*)
  558.     site=$ac_optarg ;;
  559.  
  560.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  561.     ac_prev=srcdir ;;
  562.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  563.     srcdir=$ac_optarg ;;
  564.  
  565.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  566.   | --syscon | --sysco | --sysc | --sys | --sy)
  567.     ac_prev=sysconfdir ;;
  568.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  569.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  570.     sysconfdir=$ac_optarg ;;
  571.  
  572.   -target | --target | --targe | --targ | --tar | --ta | --t)
  573.     ac_prev=target_alias ;;
  574.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  575.     target_alias=$ac_optarg ;;
  576.  
  577.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  578.     verbose=yes ;;
  579.  
  580.   -version | --version | --versio | --versi | --vers | -V)
  581.     ac_init_version=: ;;
  582.  
  583.   -with-* | --with-*)
  584.     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  585.     # Reject names that are not valid shell variable names.
  586.     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  587.       { echo "$as_me: error: invalid package name: $ac_package" >&2
  588.    { (exit 1); exit 1; }; }
  589.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  590.     case $ac_option in
  591.       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  592.       *) ac_optarg=yes ;;
  593.     esac
  594.     eval "with_$ac_package='$ac_optarg'" ;;
  595.  
  596.   -without-* | --without-*)
  597.     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  598.     # Reject names that are not valid shell variable names.
  599.     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  600.       { echo "$as_me: error: invalid package name: $ac_package" >&2
  601.    { (exit 1); exit 1; }; }
  602.     ac_package=`echo $ac_package | sed 's/-/_/g'`
  603.     eval "with_$ac_package=no" ;;
  604.  
  605.   --x)
  606.     # Obsolete; use --with-x.
  607.     with_x=yes ;;
  608.  
  609.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  610.   | --x-incl | --x-inc | --x-in | --x-i)
  611.     ac_prev=x_includes ;;
  612.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  613.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  614.     x_includes=$ac_optarg ;;
  615.  
  616.   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  617.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  618.     ac_prev=x_libraries ;;
  619.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  620.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  621.     x_libraries=$ac_optarg ;;
  622.  
  623.   -*) { echo "$as_me: error: unrecognized option: $ac_option
  624. Try \`$0 --help' for more information." >&2
  625.    { (exit 1); exit 1; }; }
  626.     ;;
  627.  
  628.   *=*)
  629.     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  630.     # Reject names that are not valid shell variable names.
  631.     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  632.       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  633.    { (exit 1); exit 1; }; }
  634.     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  635.     eval "$ac_envvar='$ac_optarg'"
  636.     export $ac_envvar ;;
  637.  
  638.   *)
  639.     # FIXME: should be removed in autoconf 3.0.
  640.     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  641.     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  642.       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  643.     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  644.     ;;
  645.  
  646.   esac
  647. done
  648.  
  649. if test -n "$ac_prev"; then
  650.   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  651.   { echo "$as_me: error: missing argument to $ac_option" >&2
  652.    { (exit 1); exit 1; }; }
  653. fi
  654.  
  655. # Be sure to have absolute paths.
  656. for ac_var in exec_prefix prefix
  657. do
  658.   eval ac_val=$`echo $ac_var`
  659.   case $ac_val in
  660.     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  661.     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  662.    { (exit 1); exit 1; }; };;
  663.   esac
  664. done
  665.  
  666. # Be sure to have absolute paths.
  667. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  668.               localstatedir libdir includedir oldincludedir infodir mandir
  669. do
  670.   eval ac_val=$`echo $ac_var`
  671.   case $ac_val in
  672.     [\\/$]* | ?:[\\/]* ) ;;
  673.     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  674.    { (exit 1); exit 1; }; };;
  675.   esac
  676. done
  677.  
  678. # There might be people who depend on the old broken behavior: `$host'
  679. # used to hold the argument of --host etc.
  680. # FIXME: To remove some day.
  681. build=$build_alias
  682. host=$host_alias
  683. target=$target_alias
  684.  
  685. # FIXME: To remove some day.
  686. if test "x$host_alias" != x; then
  687.   if test "x$build_alias" = x; then
  688.     cross_compiling=maybe
  689.     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  690.     If a cross compiler is detected then cross compile mode will be used." >&2
  691.   elif test "x$build_alias" != "x$host_alias"; then
  692.     cross_compiling=yes
  693.   fi
  694. fi
  695.  
  696. ac_tool_prefix=
  697. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  698.  
  699. test "$silent" = yes && exec 6>/dev/null
  700.  
  701.  
  702. # Find the source files, if location was not specified.
  703. if test -z "$srcdir"; then
  704.   ac_srcdir_defaulted=yes
  705.   # Try the directory containing this script, then its parent.
  706.   ac_confdir=`(dirname "$0") 2>/dev/null ||
  707. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  708.          X"$0" : 'X\(//\)[^/]' \| \
  709.          X"$0" : 'X\(//\)$' \| \
  710.          X"$0" : 'X\(/\)' \| \
  711.          .     : '\(.\)' 2>/dev/null ||
  712. echo X"$0" |
  713.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  714.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  715.         /^X\(\/\/\)$/{ s//\1/; q; }
  716.         /^X\(\/\).*/{ s//\1/; q; }
  717.         s/.*/./; q'`
  718.   srcdir=$ac_confdir
  719.   if test ! -r $srcdir/$ac_unique_file; then
  720.     srcdir=..
  721.   fi
  722. else
  723.   ac_srcdir_defaulted=no
  724. fi
  725. if test ! -r $srcdir/$ac_unique_file; then
  726.   if test "$ac_srcdir_defaulted" = yes; then
  727.     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  728.    { (exit 1); exit 1; }; }
  729.   else
  730.     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  731.    { (exit 1); exit 1; }; }
  732.   fi
  733. fi
  734. (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  735.   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  736.    { (exit 1); exit 1; }; }
  737. srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  738. ac_env_build_alias_set=${build_alias+set}
  739. ac_env_build_alias_value=$build_alias
  740. ac_cv_env_build_alias_set=${build_alias+set}
  741. ac_cv_env_build_alias_value=$build_alias
  742. ac_env_host_alias_set=${host_alias+set}
  743. ac_env_host_alias_value=$host_alias
  744. ac_cv_env_host_alias_set=${host_alias+set}
  745. ac_cv_env_host_alias_value=$host_alias
  746. ac_env_target_alias_set=${target_alias+set}
  747. ac_env_target_alias_value=$target_alias
  748. ac_cv_env_target_alias_set=${target_alias+set}
  749. ac_cv_env_target_alias_value=$target_alias
  750. ac_env_CC_set=${CC+set}
  751. ac_env_CC_value=$CC
  752. ac_cv_env_CC_set=${CC+set}
  753. ac_cv_env_CC_value=$CC
  754. ac_env_CFLAGS_set=${CFLAGS+set}
  755. ac_env_CFLAGS_value=$CFLAGS
  756. ac_cv_env_CFLAGS_set=${CFLAGS+set}
  757. ac_cv_env_CFLAGS_value=$CFLAGS
  758. ac_env_LDFLAGS_set=${LDFLAGS+set}
  759. ac_env_LDFLAGS_value=$LDFLAGS
  760. ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  761. ac_cv_env_LDFLAGS_value=$LDFLAGS
  762. ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  763. ac_env_CPPFLAGS_value=$CPPFLAGS
  764. ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  765. ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  766. ac_env_CPP_set=${CPP+set}
  767. ac_env_CPP_value=$CPP
  768. ac_cv_env_CPP_set=${CPP+set}
  769. ac_cv_env_CPP_value=$CPP
  770.  
  771. #
  772. # Report the --help message.
  773. #
  774. if test "$ac_init_help" = "long"; then
  775.   # Omit some internal or obsolete options to make the list less imposing.
  776.   # This message is too long to be a string in the A/UX 3.1 sh.
  777.   cat <<_ACEOF
  778. \`configure' configures this package to adapt to many kinds of systems.
  779.  
  780. Usage: $0 [OPTION]... [VAR=VALUE]...
  781.  
  782. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  783. VAR=VALUE.  See below for descriptions of some of the useful variables.
  784.  
  785. Defaults for the options are specified in brackets.
  786.  
  787. Configuration:
  788.   -h, --help              display this help and exit
  789.       --help=short        display options specific to this package
  790.       --help=recursive    display the short help of all the included packages
  791.   -V, --version           display version information and exit
  792.   -q, --quiet, --silent   do not print \`checking...' messages
  793.       --cache-file=FILE   cache test results in FILE [disabled]
  794.   -C, --config-cache      alias for \`--cache-file=config.cache'
  795.   -n, --no-create         do not create output files
  796.       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  797.  
  798. _ACEOF
  799.  
  800.   cat <<_ACEOF
  801. Installation directories:
  802.   --prefix=PREFIX         install architecture-independent files in PREFIX
  803.                           [$ac_default_prefix]
  804.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  805.                           [PREFIX]
  806.  
  807. By default, \`make install' will install all the files in
  808. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  809. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  810. for instance \`--prefix=\$HOME'.
  811.  
  812. For better control, use the options below.
  813.  
  814. Fine tuning of the installation directories:
  815.   --bindir=DIR           user executables [EPREFIX/bin]
  816.   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  817.   --libexecdir=DIR       program executables [EPREFIX/libexec]
  818.   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  819.   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  820.   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  821.   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  822.   --libdir=DIR           object code libraries [EPREFIX/lib]
  823.   --includedir=DIR       C header files [PREFIX/include]
  824.   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  825.   --infodir=DIR          info documentation [PREFIX/info]
  826.   --mandir=DIR           man documentation [PREFIX/man]
  827. _ACEOF
  828.  
  829.   cat <<\_ACEOF
  830.  
  831. Program names:
  832.   --program-prefix=PREFIX            prepend PREFIX to installed program names
  833.   --program-suffix=SUFFIX            append SUFFIX to installed program names
  834.   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  835. _ACEOF
  836. fi
  837.  
  838. if test -n "$ac_init_help"; then
  839.  
  840.   cat <<\_ACEOF
  841.  
  842. Optional Features:
  843.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  844.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  845.   --enable-maintainer-mode enable make rules and dependencies not useful
  846.                           (and sometimes confusing) to the casual installer
  847.   --disable-dependency-tracking Speeds up one-time builds
  848.   --enable-dependency-tracking  Do not reject slow dependency extractors
  849.  
  850. Some influential environment variables:
  851.   CC          C compiler command
  852.   CFLAGS      C compiler flags
  853.   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  854.               nonstandard directory <lib dir>
  855.   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
  856.               headers in a nonstandard directory <include dir>
  857.   CPP         C preprocessor
  858.  
  859. Use these variables to override the choices made by `configure' or to help
  860. it to find libraries and programs with nonstandard names/locations.
  861.  
  862. _ACEOF
  863. fi
  864.  
  865. if test "$ac_init_help" = "recursive"; then
  866.   # If there are subdirs, report their specific --help.
  867.   ac_popdir=`pwd`
  868.   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  869.     test -d $ac_dir || continue
  870.     ac_builddir=.
  871.  
  872. if test "$ac_dir" != .; then
  873.   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  874.   # A "../" for each directory in $ac_dir_suffix.
  875.   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  876. else
  877.   ac_dir_suffix= ac_top_builddir=
  878. fi
  879.  
  880. case $srcdir in
  881.   .)  # No --srcdir option.  We are building in place.
  882.     ac_srcdir=.
  883.     if test -z "$ac_top_builddir"; then
  884.        ac_top_srcdir=.
  885.     else
  886.        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  887.     fi ;;
  888.   [\\/]* | ?:[\\/]* )  # Absolute path.
  889.     ac_srcdir=$srcdir$ac_dir_suffix;
  890.     ac_top_srcdir=$srcdir ;;
  891.   *) # Relative path.
  892.     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  893.     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  894. esac
  895. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  896. # absolute.
  897. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  898. ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  899. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  900. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  901.  
  902.     cd $ac_dir
  903.     # Check for guested configure; otherwise get Cygnus style configure.
  904.     if test -f $ac_srcdir/configure.gnu; then
  905.       echo
  906.       $SHELL $ac_srcdir/configure.gnu  --help=recursive
  907.     elif test -f $ac_srcdir/configure; then
  908.       echo
  909.       $SHELL $ac_srcdir/configure  --help=recursive
  910.     elif test -f $ac_srcdir/configure.ac ||
  911.            test -f $ac_srcdir/configure.in; then
  912.       echo
  913.       $ac_configure --help
  914.     else
  915.       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  916.     fi
  917.     cd $ac_popdir
  918.   done
  919. fi
  920.  
  921. test -n "$ac_init_help" && exit 0
  922. if $ac_init_version; then
  923.   cat <<\_ACEOF
  924.  
  925. Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  926. Free Software Foundation, Inc.
  927. This configure script is free software; the Free Software Foundation
  928. gives unlimited permission to copy, distribute and modify it.
  929. _ACEOF
  930.   exit 0
  931. fi
  932. exec 5>config.log
  933. cat >&5 <<_ACEOF
  934. This file contains any messages produced by compilers while
  935. running configure, to aid debugging if configure makes a mistake.
  936.  
  937. It was created by $as_me, which was
  938. generated by GNU Autoconf 2.54.  Invocation command line was
  939.  
  940.   $ $0 $@
  941.  
  942. _ACEOF
  943. {
  944. cat <<_ASUNAME
  945. ## --------- ##
  946. ## Platform. ##
  947. ## --------- ##
  948.  
  949. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  950. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  951. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  952. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  953. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  954.  
  955. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  956. /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  957.  
  958. /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  959. /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  960. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  961. hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
  962. /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  963. /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  964. /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  965.  
  966. _ASUNAME
  967.  
  968. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  969. for as_dir in $PATH
  970. do
  971.   IFS=$as_save_IFS
  972.   test -z "$as_dir" && as_dir=.
  973.   echo "PATH: $as_dir"
  974. done
  975.  
  976. } >&5
  977.  
  978. cat >&5 <<_ACEOF
  979.  
  980.  
  981. ## ----------- ##
  982. ## Core tests. ##
  983. ## ----------- ##
  984.  
  985. _ACEOF
  986.  
  987.  
  988. # Keep a trace of the command line.
  989. # Strip out --no-create and --no-recursion so they do not pile up.
  990. # Also quote any args containing shell meta-characters.
  991. ac_configure_args=
  992. ac_sep=
  993. for ac_arg
  994. do
  995.   case $ac_arg in
  996.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  997.   | --no-cr | --no-c | -n ) continue ;;
  998.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  999.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1000.     continue ;;
  1001.   *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1002.     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1003.   esac
  1004.   ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1005.   # Get rid of the leading space.
  1006.   ac_sep=" "
  1007. done
  1008.  
  1009. # When interrupted or exit'd, cleanup temporary files, and complete
  1010. # config.log.  We remove comments because anyway the quotes in there
  1011. # would cause problems or look ugly.
  1012. # WARNING: Be sure not to use single quotes in there, as some shells,
  1013. # such as our DU 5.0 friend, will then `close' the trap.
  1014. trap 'exit_status=$?
  1015.   # Save into config.log some information that might help in debugging.
  1016.   {
  1017.     echo
  1018.  
  1019.     cat <<\_ASBOX
  1020. ## ---------------- ##
  1021. ## Cache variables. ##
  1022. ## ---------------- ##
  1023. _ASBOX
  1024.     echo
  1025.     # The following way of writing the cache mishandles newlines in values,
  1026. {
  1027.   (set) 2>&1 |
  1028.     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1029.     *ac_space=\ *)
  1030.       sed -n \
  1031.         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1032.           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1033.       ;;
  1034.     *)
  1035.       sed -n \
  1036.         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1037.       ;;
  1038.     esac;
  1039. }
  1040.     echo
  1041.  
  1042.     cat <<\_ASBOX
  1043. ## ----------------- ##
  1044. ## Output variables. ##
  1045. ## ----------------- ##
  1046. _ASBOX
  1047.     echo
  1048.     for ac_var in $ac_subst_vars
  1049.     do
  1050.       eval ac_val=$`echo $ac_var`
  1051.       echo "$ac_var='"'"'$ac_val'"'"'"
  1052.     done | sort
  1053.     echo
  1054.  
  1055.     if test -n "$ac_subst_files"; then
  1056.       cat <<\_ASBOX
  1057. ## ------------- ##
  1058. ## Output files. ##
  1059. ## ------------- ##
  1060. _ASBOX
  1061.       echo
  1062.       for ac_var in $ac_subst_files
  1063.       do
  1064.     eval ac_val=$`echo $ac_var`
  1065.         echo "$ac_var='"'"'$ac_val'"'"'"
  1066.       done | sort
  1067.       echo
  1068.     fi
  1069.  
  1070.     if test -s confdefs.h; then
  1071.       cat <<\_ASBOX
  1072. ## ----------- ##
  1073. ## confdefs.h. ##
  1074. ## ----------- ##
  1075. _ASBOX
  1076.       echo
  1077.       sed "/^$/d" confdefs.h | sort
  1078.       echo
  1079.     fi
  1080.     test "$ac_signal" != 0 &&
  1081.       echo "$as_me: caught signal $ac_signal"
  1082.     echo "$as_me: exit $exit_status"
  1083.   } >&5
  1084.   rm -f core core.* *.core &&
  1085.   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1086.     exit $exit_status
  1087.      ' 0
  1088. for ac_signal in 1 2 13 15; do
  1089.   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1090. done
  1091. ac_signal=0
  1092.  
  1093. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1094. rm -rf conftest* confdefs.h
  1095. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1096. echo >confdefs.h
  1097.  
  1098. # Predefined preprocessor variables.
  1099.  
  1100. cat >>confdefs.h <<_ACEOF
  1101. #define PACKAGE_NAME "$PACKAGE_NAME"
  1102. _ACEOF
  1103.  
  1104.  
  1105. cat >>confdefs.h <<_ACEOF
  1106. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1107. _ACEOF
  1108.  
  1109.  
  1110. cat >>confdefs.h <<_ACEOF
  1111. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1112. _ACEOF
  1113.  
  1114.  
  1115. cat >>confdefs.h <<_ACEOF
  1116. #define PACKAGE_STRING "$PACKAGE_STRING"
  1117. _ACEOF
  1118.  
  1119.  
  1120. cat >>confdefs.h <<_ACEOF
  1121. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1122. _ACEOF
  1123.  
  1124.  
  1125. # Let the site file select an alternate cache file if it wants to.
  1126. # Prefer explicitly selected file to automatically selected ones.
  1127. if test -z "$CONFIG_SITE"; then
  1128.   if test "x$prefix" != xNONE; then
  1129.     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1130.   else
  1131.     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1132.   fi
  1133. fi
  1134. for ac_site_file in $CONFIG_SITE; do
  1135.   if test -r "$ac_site_file"; then
  1136.     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1137. echo "$as_me: loading site script $ac_site_file" >&6;}
  1138.     sed 's/^/| /' "$ac_site_file" >&5
  1139.     . "$ac_site_file"
  1140.   fi
  1141. done
  1142.  
  1143. if test -r "$cache_file"; then
  1144.   # Some versions of bash will fail to source /dev/null (special
  1145.   # files actually), so we avoid doing that.
  1146.   if test -f "$cache_file"; then
  1147.     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1148. echo "$as_me: loading cache $cache_file" >&6;}
  1149.     case $cache_file in
  1150.       [\\/]* | ?:[\\/]* ) . $cache_file;;
  1151.       *)                      . ./$cache_file;;
  1152.     esac
  1153.   fi
  1154. else
  1155.   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1156. echo "$as_me: creating cache $cache_file" >&6;}
  1157.   >$cache_file
  1158. fi
  1159.  
  1160. # Check that the precious variables saved in the cache have kept the same
  1161. # value.
  1162. ac_cache_corrupted=false
  1163. for ac_var in `(set) 2>&1 |
  1164.                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1165.   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1166.   eval ac_new_set=\$ac_env_${ac_var}_set
  1167.   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1168.   eval ac_new_val="\$ac_env_${ac_var}_value"
  1169.   case $ac_old_set,$ac_new_set in
  1170.     set,)
  1171.       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1172. echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1173.       ac_cache_corrupted=: ;;
  1174.     ,set)
  1175.       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1176. echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1177.       ac_cache_corrupted=: ;;
  1178.     ,);;
  1179.     *)
  1180.       if test "x$ac_old_val" != "x$ac_new_val"; then
  1181.         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1182. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1183.         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1184. echo "$as_me:   former value:  $ac_old_val" >&2;}
  1185.         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1186. echo "$as_me:   current value: $ac_new_val" >&2;}
  1187.         ac_cache_corrupted=:
  1188.       fi;;
  1189.   esac
  1190.   # Pass precious variables to config.status.
  1191.   if test "$ac_new_set" = set; then
  1192.     case $ac_new_val in
  1193.     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1194.       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1195.     *) ac_arg=$ac_var=$ac_new_val ;;
  1196.     esac
  1197.     case " $ac_configure_args " in
  1198.       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1199.       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1200.     esac
  1201.   fi
  1202. done
  1203. if $ac_cache_corrupted; then
  1204.   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1205. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1206.   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1207. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1208.    { (exit 1); exit 1; }; }
  1209. fi
  1210.  
  1211. ac_ext=c
  1212. ac_cpp='$CPP $CPPFLAGS'
  1213. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1214. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1215. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236. am__api_version="1.7"
  1237. ac_aux_dir=
  1238. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1239.   if test -f $ac_dir/install-sh; then
  1240.     ac_aux_dir=$ac_dir
  1241.     ac_install_sh="$ac_aux_dir/install-sh -c"
  1242.     break
  1243.   elif test -f $ac_dir/install.sh; then
  1244.     ac_aux_dir=$ac_dir
  1245.     ac_install_sh="$ac_aux_dir/install.sh -c"
  1246.     break
  1247.   elif test -f $ac_dir/shtool; then
  1248.     ac_aux_dir=$ac_dir
  1249.     ac_install_sh="$ac_aux_dir/shtool install -c"
  1250.     break
  1251.   fi
  1252. done
  1253. if test -z "$ac_aux_dir"; then
  1254.   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1255. echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  1256.    { (exit 1); exit 1; }; }
  1257. fi
  1258. ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1259. ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1260. ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1261.  
  1262. # Find a good install program.  We prefer a C program (faster),
  1263. # so one script is as good as another.  But avoid the broken or
  1264. # incompatible versions:
  1265. # SysV /etc/install, /usr/sbin/install
  1266. # SunOS /usr/etc/install
  1267. # IRIX /sbin/install
  1268. # AIX /bin/install
  1269. # AmigaOS /C/install, which installs bootblocks on floppy discs
  1270. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1271. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1272. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1273. # ./install, which can be erroneously created by make from ./install.sh.
  1274. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1275. echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  1276. if test -z "$INSTALL"; then
  1277. if test "${ac_cv_path_install+set}" = set; then
  1278.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1279. else
  1280.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1281. for as_dir in $PATH
  1282. do
  1283.   IFS=$as_save_IFS
  1284.   test -z "$as_dir" && as_dir=.
  1285.   # Account for people who put trailing slashes in PATH elements.
  1286. case $as_dir/ in
  1287.   ./ | .// | /cC/* | \
  1288.   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1289.   /usr/ucb/* ) ;;
  1290.   *)
  1291.     # OSF1 and SCO ODT 3.0 have their own names for install.
  1292.     # Don't use installbsd from OSF since it installs stuff as root
  1293.     # by default.
  1294.     for ac_prog in ginstall scoinst install; do
  1295.       for ac_exec_ext in '' $ac_executable_extensions; do
  1296.         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  1297.           if test $ac_prog = install &&
  1298.             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1299.             # AIX install.  It has an incompatible calling convention.
  1300.             :
  1301.           elif test $ac_prog = install &&
  1302.             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1303.             # program-specific install script used by HP pwplus--don't use.
  1304.             :
  1305.           else
  1306.             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1307.             break 3
  1308.           fi
  1309.         fi
  1310.       done
  1311.     done
  1312.     ;;
  1313. esac
  1314. done
  1315.  
  1316.  
  1317. fi
  1318.   if test "${ac_cv_path_install+set}" = set; then
  1319.     INSTALL=$ac_cv_path_install
  1320.   else
  1321.     # As a last resort, use the slow shell script.  We don't cache a
  1322.     # path for INSTALL within a source directory, because that will
  1323.     # break other packages using the cache if that directory is
  1324.     # removed, or if the path is relative.
  1325.     INSTALL=$ac_install_sh
  1326.   fi
  1327. fi
  1328. echo "$as_me:$LINENO: result: $INSTALL" >&5
  1329. echo "${ECHO_T}$INSTALL" >&6
  1330.  
  1331. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1332. # It thinks the first close brace ends the variable substitution.
  1333. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1334.  
  1335. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1336.  
  1337. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1338.  
  1339. echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1340. echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
  1341. # Just in case
  1342. sleep 1
  1343. echo timestamp > conftest.file
  1344. # Do `set' in a subshell so we don't clobber the current shell's
  1345. # arguments.  Must try -L first in case configure is actually a
  1346. # symlink; some systems play weird games with the mod time of symlinks
  1347. # (eg FreeBSD returns the mod time of the symlink's containing
  1348. # directory).
  1349. if (
  1350.    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1351.    if test "$*" = "X"; then
  1352.       # -L didn't work.
  1353.       set X `ls -t $srcdir/configure conftest.file`
  1354.    fi
  1355.    rm -f conftest.file
  1356.    if test "$*" != "X $srcdir/configure conftest.file" \
  1357.       && test "$*" != "X conftest.file $srcdir/configure"; then
  1358.  
  1359.       # If neither matched, then we have a broken ls.  This can happen
  1360.       # if, for instance, CONFIG_SHELL is bash and it inherits a
  1361.       # broken ls alias from the environment.  This has actually
  1362.       # happened.  Such a system could not be considered "sane".
  1363.       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  1364. alias in your environment" >&5
  1365. echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  1366. alias in your environment" >&2;}
  1367.    { (exit 1); exit 1; }; }
  1368.    fi
  1369.  
  1370.    test "$2" = conftest.file
  1371.    )
  1372. then
  1373.    # Ok.
  1374.    :
  1375. else
  1376.    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1377. Check your system clock" >&5
  1378. echo "$as_me: error: newly created file is older than distributed files!
  1379. Check your system clock" >&2;}
  1380.    { (exit 1); exit 1; }; }
  1381. fi
  1382. echo "$as_me:$LINENO: result: yes" >&5
  1383. echo "${ECHO_T}yes" >&6
  1384. test "$program_prefix" != NONE &&
  1385.   program_transform_name="s,^,$program_prefix,;$program_transform_name"
  1386. # Use a double $ so make ignores it.
  1387. test "$program_suffix" != NONE &&
  1388.   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
  1389. # Double any \ or $.  echo might interpret backslashes.
  1390. # By default was `s,x,x', remove it if useless.
  1391. cat <<\_ACEOF >conftest.sed
  1392. s/[\\$]/&&/g;s/;s,x,x,$//
  1393. _ACEOF
  1394. program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1395. rm conftest.sed
  1396.  
  1397.  
  1398. # expand $ac_aux_dir to an absolute path
  1399. am_aux_dir=`cd $ac_aux_dir && pwd`
  1400.  
  1401. test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  1402. # Use eval to expand $SHELL
  1403. if eval "$MISSING --run true"; then
  1404.   am_missing_run="$MISSING --run "
  1405. else
  1406.   am_missing_run=
  1407.   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  1408. echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1409. fi
  1410.  
  1411. for ac_prog in gawk mawk nawk awk
  1412. do
  1413.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  1414. set dummy $ac_prog; ac_word=$2
  1415. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1416. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1417. if test "${ac_cv_prog_AWK+set}" = set; then
  1418.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1419. else
  1420.   if test -n "$AWK"; then
  1421.   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1422. else
  1423. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1424. for as_dir in $PATH
  1425. do
  1426.   IFS=$as_save_IFS
  1427.   test -z "$as_dir" && as_dir=.
  1428.   for ac_exec_ext in '' $ac_executable_extensions; do
  1429.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1430.     ac_cv_prog_AWK="$ac_prog"
  1431.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1432.     break 2
  1433.   fi
  1434. done
  1435. done
  1436.  
  1437. fi
  1438. fi
  1439. AWK=$ac_cv_prog_AWK
  1440. if test -n "$AWK"; then
  1441.   echo "$as_me:$LINENO: result: $AWK" >&5
  1442. echo "${ECHO_T}$AWK" >&6
  1443. else
  1444.   echo "$as_me:$LINENO: result: no" >&5
  1445. echo "${ECHO_T}no" >&6
  1446. fi
  1447.  
  1448.   test -n "$AWK" && break
  1449. done
  1450.  
  1451. echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
  1452. echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
  1453. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
  1454. if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  1455.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1456. else
  1457.   cat >conftest.make <<\_ACEOF
  1458. all:
  1459.     @echo 'ac_maketemp="${MAKE}"'
  1460. _ACEOF
  1461. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1462. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  1463. if test -n "$ac_maketemp"; then
  1464.   eval ac_cv_prog_make_${ac_make}_set=yes
  1465. else
  1466.   eval ac_cv_prog_make_${ac_make}_set=no
  1467. fi
  1468. rm -f conftest.make
  1469. fi
  1470. if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1471.   echo "$as_me:$LINENO: result: yes" >&5
  1472. echo "${ECHO_T}yes" >&6
  1473.   SET_MAKE=
  1474. else
  1475.   echo "$as_me:$LINENO: result: no" >&5
  1476. echo "${ECHO_T}no" >&6
  1477.   SET_MAKE="MAKE=${MAKE-make}"
  1478. fi
  1479.  
  1480. rm -rf .tst 2>/dev/null
  1481. mkdir .tst 2>/dev/null
  1482. if test -d .tst; then
  1483.   am__leading_dot=.
  1484. else
  1485.   am__leading_dot=_
  1486. fi
  1487. rmdir .tst 2>/dev/null
  1488.  
  1489.  # test to see if srcdir already configured
  1490. if test "`cd $srcdir && pwd`" != "`pwd`" &&
  1491.    test -f $srcdir/config.status; then
  1492.   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  1493. echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  1494.    { (exit 1); exit 1; }; }
  1495. fi
  1496.  
  1497. # test whether we have cygpath
  1498. if test -z "$CYGPATH_W"; then
  1499.   if (cygpath --version) >/dev/null 2>/dev/null; then
  1500.     CYGPATH_W='cygpath -w'
  1501.   else
  1502.     CYGPATH_W=echo
  1503.   fi
  1504. fi
  1505.  
  1506.  
  1507. # Define the identity of the package.
  1508.  PACKAGE=foad
  1509.  VERSION=0.2
  1510.  
  1511.  
  1512. cat >>confdefs.h <<_ACEOF
  1513. #define PACKAGE "$PACKAGE"
  1514. _ACEOF
  1515.  
  1516.  
  1517. cat >>confdefs.h <<_ACEOF
  1518. #define VERSION "$VERSION"
  1519. _ACEOF
  1520.  
  1521. # Some tools Automake needs.
  1522.  
  1523. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  1524.  
  1525.  
  1526. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  1527.  
  1528.  
  1529. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  1530.  
  1531.  
  1532. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  1533.  
  1534.  
  1535. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  1536.  
  1537.  
  1538. AMTAR=${AMTAR-"${am_missing_run}tar"}
  1539.  
  1540. install_sh=${install_sh-"$am_aux_dir/install-sh"}
  1541.  
  1542. # Installed binaries are usually stripped using `strip' when the user
  1543. # run `make install-strip'.  However `strip' might not be the right
  1544. # tool to use in cross-compilation environments, therefore Automake
  1545. # will honor the `STRIP' environment variable to overrule this program.
  1546. if test "$cross_compiling" != no; then
  1547.   if test -n "$ac_tool_prefix"; then
  1548.   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1549. set dummy ${ac_tool_prefix}strip; ac_word=$2
  1550. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1551. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1552. if test "${ac_cv_prog_STRIP+set}" = set; then
  1553.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1554. else
  1555.   if test -n "$STRIP"; then
  1556.   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1557. else
  1558. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1559. for as_dir in $PATH
  1560. do
  1561.   IFS=$as_save_IFS
  1562.   test -z "$as_dir" && as_dir=.
  1563.   for ac_exec_ext in '' $ac_executable_extensions; do
  1564.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1565.     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1566.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1567.     break 2
  1568.   fi
  1569. done
  1570. done
  1571.  
  1572. fi
  1573. fi
  1574. STRIP=$ac_cv_prog_STRIP
  1575. if test -n "$STRIP"; then
  1576.   echo "$as_me:$LINENO: result: $STRIP" >&5
  1577. echo "${ECHO_T}$STRIP" >&6
  1578. else
  1579.   echo "$as_me:$LINENO: result: no" >&5
  1580. echo "${ECHO_T}no" >&6
  1581. fi
  1582.  
  1583. fi
  1584. if test -z "$ac_cv_prog_STRIP"; then
  1585.   ac_ct_STRIP=$STRIP
  1586.   # Extract the first word of "strip", so it can be a program name with args.
  1587. set dummy strip; ac_word=$2
  1588. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1589. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1590. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  1591.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1592. else
  1593.   if test -n "$ac_ct_STRIP"; then
  1594.   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1595. else
  1596. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1597. for as_dir in $PATH
  1598. do
  1599.   IFS=$as_save_IFS
  1600.   test -z "$as_dir" && as_dir=.
  1601.   for ac_exec_ext in '' $ac_executable_extensions; do
  1602.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1603.     ac_cv_prog_ac_ct_STRIP="strip"
  1604.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1605.     break 2
  1606.   fi
  1607. done
  1608. done
  1609.  
  1610.   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
  1611. fi
  1612. fi
  1613. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1614. if test -n "$ac_ct_STRIP"; then
  1615.   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1616. echo "${ECHO_T}$ac_ct_STRIP" >&6
  1617. else
  1618.   echo "$as_me:$LINENO: result: no" >&5
  1619. echo "${ECHO_T}no" >&6
  1620. fi
  1621.  
  1622.   STRIP=$ac_ct_STRIP
  1623. else
  1624.   STRIP="$ac_cv_prog_STRIP"
  1625. fi
  1626.  
  1627. fi
  1628. INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  1629.  
  1630. # We need awk for the "check" target.  The system "awk" is bad on
  1631. # some platforms.
  1632.  
  1633.  
  1634.  
  1635.  
  1636.           ac_config_headers="$ac_config_headers config.h"
  1637.  
  1638.  
  1639. # make sure MAKE sets ${MAKE}
  1640. echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
  1641. echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
  1642. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
  1643. if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  1644.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1645. else
  1646.   cat >conftest.make <<\_ACEOF
  1647. all:
  1648.     @echo 'ac_maketemp="${MAKE}"'
  1649. _ACEOF
  1650. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1651. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  1652. if test -n "$ac_maketemp"; then
  1653.   eval ac_cv_prog_make_${ac_make}_set=yes
  1654. else
  1655.   eval ac_cv_prog_make_${ac_make}_set=no
  1656. fi
  1657. rm -f conftest.make
  1658. fi
  1659. if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1660.   echo "$as_me:$LINENO: result: yes" >&5
  1661. echo "${ECHO_T}yes" >&6
  1662.   SET_MAKE=
  1663. else
  1664.   echo "$as_me:$LINENO: result: no" >&5
  1665. echo "${ECHO_T}no" >&6
  1666.   SET_MAKE="MAKE=${MAKE-make}"
  1667. fi
  1668.  
  1669.  
  1670.  
  1671.  
  1672. echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  1673. echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
  1674.     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
  1675. if test "${enable_maintainer_mode+set}" = set; then
  1676.   enableval="$enable_maintainer_mode"
  1677.   USE_MAINTAINER_MODE=$enableval
  1678. else
  1679.   USE_MAINTAINER_MODE=no
  1680. fi;
  1681.   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  1682. echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
  1683.  
  1684.  
  1685. if test $USE_MAINTAINER_MODE = yes; then
  1686.   MAINTAINER_MODE_TRUE=
  1687.   MAINTAINER_MODE_FALSE='#'
  1688. else
  1689.   MAINTAINER_MODE_TRUE='#'
  1690.   MAINTAINER_MODE_FALSE=
  1691. fi
  1692.  
  1693.   MAINT=$MAINTAINER_MODE_TRUE
  1694.  
  1695.  
  1696.  
  1697.  
  1698. # compiler specifics
  1699. ac_ext=c
  1700. ac_cpp='$CPP $CPPFLAGS'
  1701. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1702. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1703. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1704. if test -n "$ac_tool_prefix"; then
  1705.   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1706. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1707. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1708. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1709. if test "${ac_cv_prog_CC+set}" = set; then
  1710.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1711. else
  1712.   if test -n "$CC"; then
  1713.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1714. else
  1715. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1716. for as_dir in $PATH
  1717. do
  1718.   IFS=$as_save_IFS
  1719.   test -z "$as_dir" && as_dir=.
  1720.   for ac_exec_ext in '' $ac_executable_extensions; do
  1721.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1722.     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1723.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1724.     break 2
  1725.   fi
  1726. done
  1727. done
  1728.  
  1729. fi
  1730. fi
  1731. CC=$ac_cv_prog_CC
  1732. if test -n "$CC"; then
  1733.   echo "$as_me:$LINENO: result: $CC" >&5
  1734. echo "${ECHO_T}$CC" >&6
  1735. else
  1736.   echo "$as_me:$LINENO: result: no" >&5
  1737. echo "${ECHO_T}no" >&6
  1738. fi
  1739.  
  1740. fi
  1741. if test -z "$ac_cv_prog_CC"; then
  1742.   ac_ct_CC=$CC
  1743.   # Extract the first word of "gcc", so it can be a program name with args.
  1744. set dummy gcc; ac_word=$2
  1745. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1746. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1747. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1748.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1749. else
  1750.   if test -n "$ac_ct_CC"; then
  1751.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1752. else
  1753. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1754. for as_dir in $PATH
  1755. do
  1756.   IFS=$as_save_IFS
  1757.   test -z "$as_dir" && as_dir=.
  1758.   for ac_exec_ext in '' $ac_executable_extensions; do
  1759.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1760.     ac_cv_prog_ac_ct_CC="gcc"
  1761.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1762.     break 2
  1763.   fi
  1764. done
  1765. done
  1766.  
  1767. fi
  1768. fi
  1769. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1770. if test -n "$ac_ct_CC"; then
  1771.   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1772. echo "${ECHO_T}$ac_ct_CC" >&6
  1773. else
  1774.   echo "$as_me:$LINENO: result: no" >&5
  1775. echo "${ECHO_T}no" >&6
  1776. fi
  1777.  
  1778.   CC=$ac_ct_CC
  1779. else
  1780.   CC="$ac_cv_prog_CC"
  1781. fi
  1782.  
  1783. if test -z "$CC"; then
  1784.   if test -n "$ac_tool_prefix"; then
  1785.   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1786. set dummy ${ac_tool_prefix}cc; ac_word=$2
  1787. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1788. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1789. if test "${ac_cv_prog_CC+set}" = set; then
  1790.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1791. else
  1792.   if test -n "$CC"; then
  1793.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1794. else
  1795. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1796. for as_dir in $PATH
  1797. do
  1798.   IFS=$as_save_IFS
  1799.   test -z "$as_dir" && as_dir=.
  1800.   for ac_exec_ext in '' $ac_executable_extensions; do
  1801.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1802.     ac_cv_prog_CC="${ac_tool_prefix}cc"
  1803.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1804.     break 2
  1805.   fi
  1806. done
  1807. done
  1808.  
  1809. fi
  1810. fi
  1811. CC=$ac_cv_prog_CC
  1812. if test -n "$CC"; then
  1813.   echo "$as_me:$LINENO: result: $CC" >&5
  1814. echo "${ECHO_T}$CC" >&6
  1815. else
  1816.   echo "$as_me:$LINENO: result: no" >&5
  1817. echo "${ECHO_T}no" >&6
  1818. fi
  1819.  
  1820. fi
  1821. if test -z "$ac_cv_prog_CC"; then
  1822.   ac_ct_CC=$CC
  1823.   # Extract the first word of "cc", so it can be a program name with args.
  1824. set dummy cc; ac_word=$2
  1825. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1826. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1827. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1828.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1829. else
  1830.   if test -n "$ac_ct_CC"; then
  1831.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1832. else
  1833. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1834. for as_dir in $PATH
  1835. do
  1836.   IFS=$as_save_IFS
  1837.   test -z "$as_dir" && as_dir=.
  1838.   for ac_exec_ext in '' $ac_executable_extensions; do
  1839.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1840.     ac_cv_prog_ac_ct_CC="cc"
  1841.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1842.     break 2
  1843.   fi
  1844. done
  1845. done
  1846.  
  1847. fi
  1848. fi
  1849. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1850. if test -n "$ac_ct_CC"; then
  1851.   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1852. echo "${ECHO_T}$ac_ct_CC" >&6
  1853. else
  1854.   echo "$as_me:$LINENO: result: no" >&5
  1855. echo "${ECHO_T}no" >&6
  1856. fi
  1857.  
  1858.   CC=$ac_ct_CC
  1859. else
  1860.   CC="$ac_cv_prog_CC"
  1861. fi
  1862.  
  1863. fi
  1864. if test -z "$CC"; then
  1865.   # Extract the first word of "cc", so it can be a program name with args.
  1866. set dummy cc; ac_word=$2
  1867. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1868. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1869. if test "${ac_cv_prog_CC+set}" = set; then
  1870.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1871. else
  1872.   if test -n "$CC"; then
  1873.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1874. else
  1875.   ac_prog_rejected=no
  1876. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1877. for as_dir in $PATH
  1878. do
  1879.   IFS=$as_save_IFS
  1880.   test -z "$as_dir" && as_dir=.
  1881.   for ac_exec_ext in '' $ac_executable_extensions; do
  1882.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1883.     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1884.        ac_prog_rejected=yes
  1885.        continue
  1886.      fi
  1887.     ac_cv_prog_CC="cc"
  1888.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1889.     break 2
  1890.   fi
  1891. done
  1892. done
  1893.  
  1894. if test $ac_prog_rejected = yes; then
  1895.   # We found a bogon in the path, so make sure we never use it.
  1896.   set dummy $ac_cv_prog_CC
  1897.   shift
  1898.   if test $# != 0; then
  1899.     # We chose a different compiler from the bogus one.
  1900.     # However, it has the same basename, so the bogon will be chosen
  1901.     # first if we set CC to just the basename; use the full file name.
  1902.     shift
  1903.     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  1904.   fi
  1905. fi
  1906. fi
  1907. fi
  1908. CC=$ac_cv_prog_CC
  1909. if test -n "$CC"; then
  1910.   echo "$as_me:$LINENO: result: $CC" >&5
  1911. echo "${ECHO_T}$CC" >&6
  1912. else
  1913.   echo "$as_me:$LINENO: result: no" >&5
  1914. echo "${ECHO_T}no" >&6
  1915. fi
  1916.  
  1917. fi
  1918. if test -z "$CC"; then
  1919.   if test -n "$ac_tool_prefix"; then
  1920.   for ac_prog in cl
  1921.   do
  1922.     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1923. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1924. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1925. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1926. if test "${ac_cv_prog_CC+set}" = set; then
  1927.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1928. else
  1929.   if test -n "$CC"; then
  1930.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1931. else
  1932. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1933. for as_dir in $PATH
  1934. do
  1935.   IFS=$as_save_IFS
  1936.   test -z "$as_dir" && as_dir=.
  1937.   for ac_exec_ext in '' $ac_executable_extensions; do
  1938.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1939.     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1940.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1941.     break 2
  1942.   fi
  1943. done
  1944. done
  1945.  
  1946. fi
  1947. fi
  1948. CC=$ac_cv_prog_CC
  1949. if test -n "$CC"; then
  1950.   echo "$as_me:$LINENO: result: $CC" >&5
  1951. echo "${ECHO_T}$CC" >&6
  1952. else
  1953.   echo "$as_me:$LINENO: result: no" >&5
  1954. echo "${ECHO_T}no" >&6
  1955. fi
  1956.  
  1957.     test -n "$CC" && break
  1958.   done
  1959. fi
  1960. if test -z "$CC"; then
  1961.   ac_ct_CC=$CC
  1962.   for ac_prog in cl
  1963. do
  1964.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  1965. set dummy $ac_prog; ac_word=$2
  1966. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1967. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1968. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1969.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1970. else
  1971.   if test -n "$ac_ct_CC"; then
  1972.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1973. else
  1974. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1975. for as_dir in $PATH
  1976. do
  1977.   IFS=$as_save_IFS
  1978.   test -z "$as_dir" && as_dir=.
  1979.   for ac_exec_ext in '' $ac_executable_extensions; do
  1980.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1981.     ac_cv_prog_ac_ct_CC="$ac_prog"
  1982.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1983.     break 2
  1984.   fi
  1985. done
  1986. done
  1987.  
  1988. fi
  1989. fi
  1990. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1991. if test -n "$ac_ct_CC"; then
  1992.   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1993. echo "${ECHO_T}$ac_ct_CC" >&6
  1994. else
  1995.   echo "$as_me:$LINENO: result: no" >&5
  1996. echo "${ECHO_T}no" >&6
  1997. fi
  1998.  
  1999.   test -n "$ac_ct_CC" && break
  2000. done
  2001.  
  2002.   CC=$ac_ct_CC
  2003. fi
  2004.  
  2005. fi
  2006.  
  2007.  
  2008. test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
  2009. echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
  2010.    { (exit 1); exit 1; }; }
  2011.  
  2012. # Provide some information about the compiler.
  2013. echo "$as_me:$LINENO:" \
  2014.      "checking for C compiler version" >&5
  2015. ac_compiler=`set X $ac_compile; echo $2`
  2016. { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  2017.   (eval $ac_compiler --version </dev/null >&5) 2>&5
  2018.   ac_status=$?
  2019.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2020.   (exit $ac_status); }
  2021. { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  2022.   (eval $ac_compiler -v </dev/null >&5) 2>&5
  2023.   ac_status=$?
  2024.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2025.   (exit $ac_status); }
  2026. { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  2027.   (eval $ac_compiler -V </dev/null >&5) 2>&5
  2028.   ac_status=$?
  2029.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2030.   (exit $ac_status); }
  2031.  
  2032. cat >conftest.$ac_ext <<_ACEOF
  2033. #line $LINENO "configure"
  2034. #include "confdefs.h"
  2035.  
  2036. int
  2037. main ()
  2038. {
  2039.  
  2040.   ;
  2041.   return 0;
  2042. }
  2043. _ACEOF
  2044. ac_clean_files_save=$ac_clean_files
  2045. ac_clean_files="$ac_clean_files a.out a.exe"
  2046. # Try to create an executable without -o first, disregard a.out.
  2047. # It will help us diagnose broken compilers, and finding out an intuition
  2048. # of exeext.
  2049. echo "$as_me:$LINENO: checking for C compiler default output" >&5
  2050. echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
  2051. ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2052. if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  2053.   (eval $ac_link_default) 2>&5
  2054.   ac_status=$?
  2055.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2056.   (exit $ac_status); }; then
  2057.   # Find the output, starting from the most likely.  This scheme is
  2058. # not robust to junk in `.', hence go to wildcards (a.*) only as a last
  2059. # resort.
  2060.  
  2061. # Be careful to initialize this variable, since it used to be cached.
  2062. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  2063. ac_cv_exeext=
  2064. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
  2065.   test -f "$ac_file" || continue
  2066.   case $ac_file in
  2067.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  2068.     a.out ) # We found the default executable, but exeext='' is most
  2069.             # certainly right.
  2070.             break;;
  2071.     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2072.           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
  2073.           export ac_cv_exeext
  2074.           break;;
  2075.     * ) break;;
  2076.   esac
  2077. done
  2078. else
  2079.   echo "$as_me: failed program was:" >&5
  2080. cat conftest.$ac_ext >&5
  2081. { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2082. check \`config.log' for details." >&5
  2083. echo "$as_me: error: C compiler cannot create executables
  2084. check \`config.log' for details." >&2;}
  2085.    { (exit 77); exit 77; }; }
  2086. fi
  2087.  
  2088. ac_exeext=$ac_cv_exeext
  2089. echo "$as_me:$LINENO: result: $ac_file" >&5
  2090. echo "${ECHO_T}$ac_file" >&6
  2091.  
  2092. # Check the compiler produces executables we can run.  If not, either
  2093. # the compiler is broken, or we cross compile.
  2094. echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2095. echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  2096. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2097. # If not cross compiling, check that we can run a simple program.
  2098. if test "$cross_compiling" != yes; then
  2099.   if { ac_try='./$ac_file'
  2100.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2101.   (eval $ac_try) 2>&5
  2102.   ac_status=$?
  2103.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2104.   (exit $ac_status); }; }; then
  2105.     cross_compiling=no
  2106.   else
  2107.     if test "$cross_compiling" = maybe; then
  2108.     cross_compiling=yes
  2109.     else
  2110.     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2111. If you meant to cross compile, use \`--host'." >&5
  2112. echo "$as_me: error: cannot run C compiled programs.
  2113. If you meant to cross compile, use \`--host'." >&2;}
  2114.    { (exit 1); exit 1; }; }
  2115.     fi
  2116.   fi
  2117. fi
  2118. echo "$as_me:$LINENO: result: yes" >&5
  2119. echo "${ECHO_T}yes" >&6
  2120.  
  2121. rm -f a.out a.exe conftest$ac_cv_exeext
  2122. ac_clean_files=$ac_clean_files_save
  2123. # Check the compiler produces executables we can run.  If not, either
  2124. # the compiler is broken, or we cross compile.
  2125. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2126. echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  2127. echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2128. echo "${ECHO_T}$cross_compiling" >&6
  2129.  
  2130. echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2131. echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  2132. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2133.   (eval $ac_link) 2>&5
  2134.   ac_status=$?
  2135.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2136.   (exit $ac_status); }; then
  2137.   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2138. # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2139. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2140. # `rm'.
  2141. for ac_file in conftest.exe conftest conftest.*; do
  2142.   test -f "$ac_file" || continue
  2143.   case $ac_file in
  2144.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  2145.     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2146.           export ac_cv_exeext
  2147.           break;;
  2148.     * ) break;;
  2149.   esac
  2150. done
  2151. else
  2152.   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
  2153. echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
  2154.    { (exit 1); exit 1; }; }
  2155. fi
  2156.  
  2157. rm -f conftest$ac_cv_exeext
  2158. echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2159. echo "${ECHO_T}$ac_cv_exeext" >&6
  2160.  
  2161. rm -f conftest.$ac_ext
  2162. EXEEXT=$ac_cv_exeext
  2163. ac_exeext=$EXEEXT
  2164. echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2165. echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  2166. if test "${ac_cv_objext+set}" = set; then
  2167.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2168. else
  2169.   cat >conftest.$ac_ext <<_ACEOF
  2170. #line $LINENO "configure"
  2171. #include "confdefs.h"
  2172.  
  2173. int
  2174. main ()
  2175. {
  2176.  
  2177.   ;
  2178.   return 0;
  2179. }
  2180. _ACEOF
  2181. rm -f conftest.o conftest.obj
  2182. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2183.   (eval $ac_compile) 2>&5
  2184.   ac_status=$?
  2185.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2186.   (exit $ac_status); }; then
  2187.   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  2188.   case $ac_file in
  2189.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  2190.     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2191.        break;;
  2192.   esac
  2193. done
  2194. else
  2195.   echo "$as_me: failed program was:" >&5
  2196. cat conftest.$ac_ext >&5
  2197. { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
  2198. echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
  2199.    { (exit 1); exit 1; }; }
  2200. fi
  2201.  
  2202. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2203. fi
  2204. echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2205. echo "${ECHO_T}$ac_cv_objext" >&6
  2206. OBJEXT=$ac_cv_objext
  2207. ac_objext=$OBJEXT
  2208. echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2209. echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  2210. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2211.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2212. else
  2213.   cat >conftest.$ac_ext <<_ACEOF
  2214. #line $LINENO "configure"
  2215. #include "confdefs.h"
  2216.  
  2217. int
  2218. main ()
  2219. {
  2220. #ifndef __GNUC__
  2221.        choke me
  2222. #endif
  2223.  
  2224.   ;
  2225.   return 0;
  2226. }
  2227. _ACEOF
  2228. rm -f conftest.$ac_objext
  2229. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2230.   (eval $ac_compile) 2>&5
  2231.   ac_status=$?
  2232.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2233.   (exit $ac_status); } &&
  2234.          { ac_try='test -s conftest.$ac_objext'
  2235.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2236.   (eval $ac_try) 2>&5
  2237.   ac_status=$?
  2238.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2239.   (exit $ac_status); }; }; then
  2240.   ac_compiler_gnu=yes
  2241. else
  2242.   echo "$as_me: failed program was:" >&5
  2243. cat conftest.$ac_ext >&5
  2244. ac_compiler_gnu=no
  2245. fi
  2246. rm -f conftest.$ac_objext conftest.$ac_ext
  2247. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2248.  
  2249. fi
  2250. echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2251. echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  2252. GCC=`test $ac_compiler_gnu = yes && echo yes`
  2253. ac_test_CFLAGS=${CFLAGS+set}
  2254. ac_save_CFLAGS=$CFLAGS
  2255. CFLAGS="-g"
  2256. echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2257. echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  2258. if test "${ac_cv_prog_cc_g+set}" = set; then
  2259.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2260. else
  2261.   cat >conftest.$ac_ext <<_ACEOF
  2262. #line $LINENO "configure"
  2263. #include "confdefs.h"
  2264.  
  2265. int
  2266. main ()
  2267. {
  2268.  
  2269.   ;
  2270.   return 0;
  2271. }
  2272. _ACEOF
  2273. rm -f conftest.$ac_objext
  2274. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2275.   (eval $ac_compile) 2>&5
  2276.   ac_status=$?
  2277.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2278.   (exit $ac_status); } &&
  2279.          { ac_try='test -s conftest.$ac_objext'
  2280.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2281.   (eval $ac_try) 2>&5
  2282.   ac_status=$?
  2283.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2284.   (exit $ac_status); }; }; then
  2285.   ac_cv_prog_cc_g=yes
  2286. else
  2287.   echo "$as_me: failed program was:" >&5
  2288. cat conftest.$ac_ext >&5
  2289. ac_cv_prog_cc_g=no
  2290. fi
  2291. rm -f conftest.$ac_objext conftest.$ac_ext
  2292. fi
  2293. echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2294. echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  2295. if test "$ac_test_CFLAGS" = set; then
  2296.   CFLAGS=$ac_save_CFLAGS
  2297. elif test $ac_cv_prog_cc_g = yes; then
  2298.   if test "$GCC" = yes; then
  2299.     CFLAGS="-g -O2"
  2300.   else
  2301.     CFLAGS="-g"
  2302.   fi
  2303. else
  2304.   if test "$GCC" = yes; then
  2305.     CFLAGS="-O2"
  2306.   else
  2307.     CFLAGS=
  2308.   fi
  2309. fi
  2310. echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  2311. echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  2312. if test "${ac_cv_prog_cc_stdc+set}" = set; then
  2313.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2314. else
  2315.   ac_cv_prog_cc_stdc=no
  2316. ac_save_CC=$CC
  2317. cat >conftest.$ac_ext <<_ACEOF
  2318. #line $LINENO "configure"
  2319. #include "confdefs.h"
  2320. #include <stdarg.h>
  2321. #include <stdio.h>
  2322. #include <sys/types.h>
  2323. #include <sys/stat.h>
  2324. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  2325. struct buf { int x; };
  2326. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2327. static char *e (p, i)
  2328.      char **p;
  2329.      int i;
  2330. {
  2331.   return p[i];
  2332. }
  2333. static char *f (char * (*g) (char **, int), char **p, ...)
  2334. {
  2335.   char *s;
  2336.   va_list v;
  2337.   va_start (v,p);
  2338.   s = g (p, va_arg (v,int));
  2339.   va_end (v);
  2340.   return s;
  2341. }
  2342. int test (int i, double x);
  2343. struct s1 {int (*f) (int a);};
  2344. struct s2 {int (*f) (double a);};
  2345. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2346. int argc;
  2347. char **argv;
  2348. int
  2349. main ()
  2350. {
  2351. return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  2352.   ;
  2353.   return 0;
  2354. }
  2355. _ACEOF
  2356. # Don't try gcc -ansi; that turns off useful extensions and
  2357. # breaks some systems' header files.
  2358. # AIX            -qlanglvl=ansi
  2359. # Ultrix and OSF/1    -std1
  2360. # HP-UX 10.20 and later    -Ae
  2361. # HP-UX older versions    -Aa -D_HPUX_SOURCE
  2362. # SVR4            -Xc -D__EXTENSIONS__
  2363. for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2364. do
  2365.   CC="$ac_save_CC $ac_arg"
  2366.   rm -f conftest.$ac_objext
  2367. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2368.   (eval $ac_compile) 2>&5
  2369.   ac_status=$?
  2370.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2371.   (exit $ac_status); } &&
  2372.          { ac_try='test -s conftest.$ac_objext'
  2373.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2374.   (eval $ac_try) 2>&5
  2375.   ac_status=$?
  2376.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2377.   (exit $ac_status); }; }; then
  2378.   ac_cv_prog_cc_stdc=$ac_arg
  2379. break
  2380. else
  2381.   echo "$as_me: failed program was:" >&5
  2382. cat conftest.$ac_ext >&5
  2383. fi
  2384. rm -f conftest.$ac_objext
  2385. done
  2386. rm -f conftest.$ac_ext conftest.$ac_objext
  2387. CC=$ac_save_CC
  2388.  
  2389. fi
  2390.  
  2391. case "x$ac_cv_prog_cc_stdc" in
  2392.   x|xno)
  2393.     echo "$as_me:$LINENO: result: none needed" >&5
  2394. echo "${ECHO_T}none needed" >&6 ;;
  2395.   *)
  2396.     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  2397. echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  2398.     CC="$CC $ac_cv_prog_cc_stdc" ;;
  2399. esac
  2400.  
  2401. # Some people use a C++ compiler to compile C.  Since we use `exit',
  2402. # in C++ we need to declare it.  In case someone uses the same compiler
  2403. # for both compiling C and C++ we need to have the C++ compiler decide
  2404. # the declaration of exit, since it's the most demanding environment.
  2405. cat >conftest.$ac_ext <<_ACEOF
  2406. #ifndef __cplusplus
  2407.   choke me
  2408. #endif
  2409. _ACEOF
  2410. rm -f conftest.$ac_objext
  2411. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2412.   (eval $ac_compile) 2>&5
  2413.   ac_status=$?
  2414.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2415.   (exit $ac_status); } &&
  2416.          { ac_try='test -s conftest.$ac_objext'
  2417.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2418.   (eval $ac_try) 2>&5
  2419.   ac_status=$?
  2420.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2421.   (exit $ac_status); }; }; then
  2422.   for ac_declaration in \
  2423.    ''\
  2424.    '#include <stdlib.h>' \
  2425.    'extern "C" void std::exit (int) throw (); using std::exit;' \
  2426.    'extern "C" void std::exit (int); using std::exit;' \
  2427.    'extern "C" void exit (int) throw ();' \
  2428.    'extern "C" void exit (int);' \
  2429.    'void exit (int);'
  2430. do
  2431.   cat >conftest.$ac_ext <<_ACEOF
  2432. #line $LINENO "configure"
  2433. #include "confdefs.h"
  2434. #include <stdlib.h>
  2435. $ac_declaration
  2436. int
  2437. main ()
  2438. {
  2439. exit (42);
  2440.   ;
  2441.   return 0;
  2442. }
  2443. _ACEOF
  2444. rm -f conftest.$ac_objext
  2445. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2446.   (eval $ac_compile) 2>&5
  2447.   ac_status=$?
  2448.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2449.   (exit $ac_status); } &&
  2450.          { ac_try='test -s conftest.$ac_objext'
  2451.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2452.   (eval $ac_try) 2>&5
  2453.   ac_status=$?
  2454.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2455.   (exit $ac_status); }; }; then
  2456.   :
  2457. else
  2458.   echo "$as_me: failed program was:" >&5
  2459. cat conftest.$ac_ext >&5
  2460. continue
  2461. fi
  2462. rm -f conftest.$ac_objext conftest.$ac_ext
  2463.   cat >conftest.$ac_ext <<_ACEOF
  2464. #line $LINENO "configure"
  2465. #include "confdefs.h"
  2466. $ac_declaration
  2467. int
  2468. main ()
  2469. {
  2470. exit (42);
  2471.   ;
  2472.   return 0;
  2473. }
  2474. _ACEOF
  2475. rm -f conftest.$ac_objext
  2476. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2477.   (eval $ac_compile) 2>&5
  2478.   ac_status=$?
  2479.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2480.   (exit $ac_status); } &&
  2481.          { ac_try='test -s conftest.$ac_objext'
  2482.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2483.   (eval $ac_try) 2>&5
  2484.   ac_status=$?
  2485.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2486.   (exit $ac_status); }; }; then
  2487.   break
  2488. else
  2489.   echo "$as_me: failed program was:" >&5
  2490. cat conftest.$ac_ext >&5
  2491. fi
  2492. rm -f conftest.$ac_objext conftest.$ac_ext
  2493. done
  2494. rm -f conftest*
  2495. if test -n "$ac_declaration"; then
  2496.   echo '#ifdef __cplusplus' >>confdefs.h
  2497.   echo $ac_declaration      >>confdefs.h
  2498.   echo '#endif'             >>confdefs.h
  2499. fi
  2500.  
  2501. else
  2502.   echo "$as_me: failed program was:" >&5
  2503. cat conftest.$ac_ext >&5
  2504. fi
  2505. rm -f conftest.$ac_objext conftest.$ac_ext
  2506. ac_ext=c
  2507. ac_cpp='$CPP $CPPFLAGS'
  2508. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2509. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2510. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2511. DEPDIR="${am__leading_dot}deps"
  2512.  
  2513.           ac_config_commands="$ac_config_commands depfiles"
  2514.  
  2515.  
  2516. am_make=${MAKE-make}
  2517. cat > confinc << 'END'
  2518. am__doit:
  2519.     @echo done
  2520. .PHONY: am__doit
  2521. END
  2522. # If we don't find an include directive, just comment out the code.
  2523. echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2524. echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
  2525. am__include="#"
  2526. am__quote=
  2527. _am_result=none
  2528. # First try GNU make style include.
  2529. echo "include confinc" > confmf
  2530. # We grep out `Entering directory' and `Leaving directory'
  2531. # messages which can occur if `w' ends up in MAKEFLAGS.
  2532. # In particular we don't look at `^make:' because GNU make might
  2533. # be invoked under some other name (usually "gmake"), in which
  2534. # case it prints its new name instead of `make'.
  2535. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2536.    am__include=include
  2537.    am__quote=
  2538.    _am_result=GNU
  2539. fi
  2540. # Now try BSD make style include.
  2541. if test "$am__include" = "#"; then
  2542.    echo '.include "confinc"' > confmf
  2543.    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2544.       am__include=.include
  2545.       am__quote="\""
  2546.       _am_result=BSD
  2547.    fi
  2548. fi
  2549.  
  2550.  
  2551. echo "$as_me:$LINENO: result: $_am_result" >&5
  2552. echo "${ECHO_T}$_am_result" >&6
  2553. rm -f confinc confmf
  2554.  
  2555. # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
  2556. if test "${enable_dependency_tracking+set}" = set; then
  2557.   enableval="$enable_dependency_tracking"
  2558.  
  2559. fi;
  2560. if test "x$enable_dependency_tracking" != xno; then
  2561.   am_depcomp="$ac_aux_dir/depcomp"
  2562.   AMDEPBACKSLASH='\'
  2563. fi
  2564.  
  2565.  
  2566. if test "x$enable_dependency_tracking" != xno; then
  2567.   AMDEP_TRUE=
  2568.   AMDEP_FALSE='#'
  2569. else
  2570.   AMDEP_TRUE='#'
  2571.   AMDEP_FALSE=
  2572. fi
  2573.  
  2574.  
  2575.  
  2576.  
  2577. depcc="$CC"   am_compiler_list=
  2578.  
  2579. echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  2580. echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
  2581. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  2582.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2583. else
  2584.   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  2585.   # We make a subdir and do the tests there.  Otherwise we can end up
  2586.   # making bogus files that we don't know about and never remove.  For
  2587.   # instance it was reported that on HP-UX the gcc test will end up
  2588.   # making a dummy file named `D' -- because `-MD' means `put the output
  2589.   # in D'.
  2590.   mkdir conftest.dir
  2591.   # Copy depcomp to subdir because otherwise we won't find it if we're
  2592.   # using a relative directory.
  2593.   cp "$am_depcomp" conftest.dir
  2594.   cd conftest.dir
  2595.   # We will build objects and dependencies in a subdirectory because
  2596.   # it helps to detect inapplicable dependency modes.  For instance
  2597.   # both Tru64's cc and ICC support -MD to output dependencies as a
  2598.   # side effect of compilation, but ICC will put the dependencies in
  2599.   # the current directory while Tru64 will put them in the object
  2600.   # directory.
  2601.   mkdir sub
  2602.  
  2603.   am_cv_CC_dependencies_compiler_type=none
  2604.   if test "$am_compiler_list" = ""; then
  2605.      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  2606.   fi
  2607.   for depmode in $am_compiler_list; do
  2608.     # Setup a source with many dependencies, because some compilers
  2609.     # like to wrap large dependency lists on column 80 (with \), and
  2610.     # we should not choose a depcomp mode which is confused by this.
  2611.     #
  2612.     # We need to recreate these files for each test, as the compiler may
  2613.     # overwrite some of them when testing with obscure command lines.
  2614.     # This happens at least with the AIX C compiler.
  2615.     : > sub/conftest.c
  2616.     for i in 1 2 3 4 5 6; do
  2617.       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  2618.       : > sub/conftst$i.h
  2619.     done
  2620.     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  2621.  
  2622.     case $depmode in
  2623.     nosideeffect)
  2624.       # after this tag, mechanisms are not by side-effect, so they'll
  2625.       # only be used when explicitly requested
  2626.       if test "x$enable_dependency_tracking" = xyes; then
  2627.     continue
  2628.       else
  2629.     break
  2630.       fi
  2631.       ;;
  2632.     none) break ;;
  2633.     esac
  2634.     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  2635.     # mode.  It turns out that the SunPro C++ compiler does not properly
  2636.     # handle `-M -o', and we need to detect this.
  2637.     if depmode=$depmode \
  2638.        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  2639.        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  2640.        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  2641.          >/dev/null 2>conftest.err &&
  2642.        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  2643.        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  2644.        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  2645.       # icc doesn't choke on unknown options, it will just issue warnings
  2646.       # (even with -Werror).  So we grep stderr for any message
  2647.       # that says an option was ignored.
  2648.       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
  2649.         am_cv_CC_dependencies_compiler_type=$depmode
  2650.         break
  2651.       fi
  2652.     fi
  2653.   done
  2654.  
  2655.   cd ..
  2656.   rm -rf conftest.dir
  2657. else
  2658.   am_cv_CC_dependencies_compiler_type=none
  2659. fi
  2660.  
  2661. fi
  2662. echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  2663. echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
  2664. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  2665.  
  2666.  
  2667.  
  2668. if
  2669.   test "x$enable_dependency_tracking" != xno \
  2670.   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  2671.   am__fastdepCC_TRUE=
  2672.   am__fastdepCC_FALSE='#'
  2673. else
  2674.   am__fastdepCC_TRUE='#'
  2675.   am__fastdepCC_FALSE=
  2676. fi
  2677.  
  2678.  
  2679.  
  2680.  
  2681.  
  2682.  
  2683. echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
  2684. echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
  2685. if test "${am_cv_prog_cc_stdc+set}" = set; then
  2686.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2687. else
  2688.   am_cv_prog_cc_stdc=no
  2689. ac_save_CC="$CC"
  2690. # Don't try gcc -ansi; that turns off useful extensions and
  2691. # breaks some systems' header files.
  2692. # AIX            -qlanglvl=ansi
  2693. # Ultrix and OSF/1    -std1
  2694. # HP-UX 10.20 and later    -Ae
  2695. # HP-UX older versions    -Aa -D_HPUX_SOURCE
  2696. # SVR4            -Xc -D__EXTENSIONS__
  2697. for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2698. do
  2699.   CC="$ac_save_CC $ac_arg"
  2700.   cat >conftest.$ac_ext <<_ACEOF
  2701. #line $LINENO "configure"
  2702. #include "confdefs.h"
  2703. #include <stdarg.h>
  2704. #include <stdio.h>
  2705. #include <sys/types.h>
  2706. #include <sys/stat.h>
  2707. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  2708. struct buf { int x; };
  2709. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2710. static char *e (p, i)
  2711.      char **p;
  2712.      int i;
  2713. {
  2714.   return p[i];
  2715. }
  2716. static char *f (char * (*g) (char **, int), char **p, ...)
  2717. {
  2718.   char *s;
  2719.   va_list v;
  2720.   va_start (v,p);
  2721.   s = g (p, va_arg (v,int));
  2722.   va_end (v);
  2723.   return s;
  2724. }
  2725. int test (int i, double x);
  2726. struct s1 {int (*f) (int a);};
  2727. struct s2 {int (*f) (double a);};
  2728. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2729. int argc;
  2730. char **argv;
  2731.  
  2732. int
  2733. main ()
  2734. {
  2735.  
  2736. return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  2737.  
  2738.   ;
  2739.   return 0;
  2740. }
  2741. _ACEOF
  2742. rm -f conftest.$ac_objext
  2743. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2744.   (eval $ac_compile) 2>&5
  2745.   ac_status=$?
  2746.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2747.   (exit $ac_status); } &&
  2748.          { ac_try='test -s conftest.$ac_objext'
  2749.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2750.   (eval $ac_try) 2>&5
  2751.   ac_status=$?
  2752.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2753.   (exit $ac_status); }; }; then
  2754.   am_cv_prog_cc_stdc="$ac_arg"; break
  2755. else
  2756.   echo "$as_me: failed program was:" >&5
  2757. cat conftest.$ac_ext >&5
  2758. fi
  2759. rm -f conftest.$ac_objext conftest.$ac_ext
  2760. done
  2761. CC="$ac_save_CC"
  2762.  
  2763. fi
  2764.  
  2765. if test -z "$am_cv_prog_cc_stdc"; then
  2766.   echo "$as_me:$LINENO: result: none needed" >&5
  2767. echo "${ECHO_T}none needed" >&6
  2768. else
  2769.   echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
  2770. echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
  2771. fi
  2772. case "x$am_cv_prog_cc_stdc" in
  2773.   x|xno) ;;
  2774.   *) CC="$CC $am_cv_prog_cc_stdc" ;;
  2775. esac
  2776.  
  2777. ac_ext=c
  2778. ac_cpp='$CPP $CPPFLAGS'
  2779. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2780. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2781. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2782. echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  2783. echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  2784. # On Suns, sometimes $CPP names a directory.
  2785. if test -n "$CPP" && test -d "$CPP"; then
  2786.   CPP=
  2787. fi
  2788. if test -z "$CPP"; then
  2789.   if test "${ac_cv_prog_CPP+set}" = set; then
  2790.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2791. else
  2792.       # Double quotes because CPP needs to be expanded
  2793.     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  2794.     do
  2795.       ac_preproc_ok=false
  2796. for ac_c_preproc_warn_flag in '' yes
  2797. do
  2798.   # Use a header file that comes with gcc, so configuring glibc
  2799.   # with a fresh cross-compiler works.
  2800.   # On the NeXT, cc -E runs the code through the compiler's parser,
  2801.   # not just through cpp. "Syntax error" is here to catch this case.
  2802.   cat >conftest.$ac_ext <<_ACEOF
  2803. #line $LINENO "configure"
  2804. #include "confdefs.h"
  2805. #include <assert.h>
  2806.                      Syntax error
  2807. _ACEOF
  2808. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2809.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2810.   ac_status=$?
  2811.   grep -v '^ *+' conftest.er1 >conftest.err
  2812.   rm -f conftest.er1
  2813.   cat conftest.err >&5
  2814.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2815.   (exit $ac_status); } >/dev/null; then
  2816.   if test -s conftest.err; then
  2817.     ac_cpp_err=$ac_c_preproc_warn_flag
  2818.   else
  2819.     ac_cpp_err=
  2820.   fi
  2821. else
  2822.   ac_cpp_err=yes
  2823. fi
  2824. if test -z "$ac_cpp_err"; then
  2825.   :
  2826. else
  2827.   echo "$as_me: failed program was:" >&5
  2828.   cat conftest.$ac_ext >&5
  2829.   # Broken: fails on valid input.
  2830. continue
  2831. fi
  2832. rm -f conftest.err conftest.$ac_ext
  2833.  
  2834.   # OK, works on sane cases.  Now check whether non-existent headers
  2835.   # can be detected and how.
  2836.   cat >conftest.$ac_ext <<_ACEOF
  2837. #line $LINENO "configure"
  2838. #include "confdefs.h"
  2839. #include <ac_nonexistent.h>
  2840. _ACEOF
  2841. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2842.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2843.   ac_status=$?
  2844.   grep -v '^ *+' conftest.er1 >conftest.err
  2845.   rm -f conftest.er1
  2846.   cat conftest.err >&5
  2847.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2848.   (exit $ac_status); } >/dev/null; then
  2849.   if test -s conftest.err; then
  2850.     ac_cpp_err=$ac_c_preproc_warn_flag
  2851.   else
  2852.     ac_cpp_err=
  2853.   fi
  2854. else
  2855.   ac_cpp_err=yes
  2856. fi
  2857. if test -z "$ac_cpp_err"; then
  2858.   # Broken: success on invalid input.
  2859. continue
  2860. else
  2861.   echo "$as_me: failed program was:" >&5
  2862.   cat conftest.$ac_ext >&5
  2863.   # Passes both tests.
  2864. ac_preproc_ok=:
  2865. break
  2866. fi
  2867. rm -f conftest.err conftest.$ac_ext
  2868.  
  2869. done
  2870. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  2871. rm -f conftest.err conftest.$ac_ext
  2872. if $ac_preproc_ok; then
  2873.   break
  2874. fi
  2875.  
  2876.     done
  2877.     ac_cv_prog_CPP=$CPP
  2878.  
  2879. fi
  2880.   CPP=$ac_cv_prog_CPP
  2881. else
  2882.   ac_cv_prog_CPP=$CPP
  2883. fi
  2884. echo "$as_me:$LINENO: result: $CPP" >&5
  2885. echo "${ECHO_T}$CPP" >&6
  2886. ac_preproc_ok=false
  2887. for ac_c_preproc_warn_flag in '' yes
  2888. do
  2889.   # Use a header file that comes with gcc, so configuring glibc
  2890.   # with a fresh cross-compiler works.
  2891.   # On the NeXT, cc -E runs the code through the compiler's parser,
  2892.   # not just through cpp. "Syntax error" is here to catch this case.
  2893.   cat >conftest.$ac_ext <<_ACEOF
  2894. #line $LINENO "configure"
  2895. #include "confdefs.h"
  2896. #include <assert.h>
  2897.                      Syntax error
  2898. _ACEOF
  2899. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2900.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2901.   ac_status=$?
  2902.   grep -v '^ *+' conftest.er1 >conftest.err
  2903.   rm -f conftest.er1
  2904.   cat conftest.err >&5
  2905.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2906.   (exit $ac_status); } >/dev/null; then
  2907.   if test -s conftest.err; then
  2908.     ac_cpp_err=$ac_c_preproc_warn_flag
  2909.   else
  2910.     ac_cpp_err=
  2911.   fi
  2912. else
  2913.   ac_cpp_err=yes
  2914. fi
  2915. if test -z "$ac_cpp_err"; then
  2916.   :
  2917. else
  2918.   echo "$as_me: failed program was:" >&5
  2919.   cat conftest.$ac_ext >&5
  2920.   # Broken: fails on valid input.
  2921. continue
  2922. fi
  2923. rm -f conftest.err conftest.$ac_ext
  2924.  
  2925.   # OK, works on sane cases.  Now check whether non-existent headers
  2926.   # can be detected and how.
  2927.   cat >conftest.$ac_ext <<_ACEOF
  2928. #line $LINENO "configure"
  2929. #include "confdefs.h"
  2930. #include <ac_nonexistent.h>
  2931. _ACEOF
  2932. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2933.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2934.   ac_status=$?
  2935.   grep -v '^ *+' conftest.er1 >conftest.err
  2936.   rm -f conftest.er1
  2937.   cat conftest.err >&5
  2938.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2939.   (exit $ac_status); } >/dev/null; then
  2940.   if test -s conftest.err; then
  2941.     ac_cpp_err=$ac_c_preproc_warn_flag
  2942.   else
  2943.     ac_cpp_err=
  2944.   fi
  2945. else
  2946.   ac_cpp_err=yes
  2947. fi
  2948. if test -z "$ac_cpp_err"; then
  2949.   # Broken: success on invalid input.
  2950. continue
  2951. else
  2952.   echo "$as_me: failed program was:" >&5
  2953.   cat conftest.$ac_ext >&5
  2954.   # Passes both tests.
  2955. ac_preproc_ok=:
  2956. break
  2957. fi
  2958. rm -f conftest.err conftest.$ac_ext
  2959.  
  2960. done
  2961. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  2962. rm -f conftest.err conftest.$ac_ext
  2963. if $ac_preproc_ok; then
  2964.   :
  2965. else
  2966.   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
  2967. echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
  2968.    { (exit 1); exit 1; }; }
  2969. fi
  2970.  
  2971. ac_ext=c
  2972. ac_cpp='$CPP $CPPFLAGS'
  2973. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2974. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2975. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2976.  
  2977.  
  2978. echo "$as_me:$LINENO: checking for egrep" >&5
  2979. echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  2980. if test "${ac_cv_prog_egrep+set}" = set; then
  2981.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2982. else
  2983.   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  2984.     then ac_cv_prog_egrep='grep -E'
  2985.     else ac_cv_prog_egrep='egrep'
  2986.     fi
  2987. fi
  2988. echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  2989. echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  2990.  EGREP=$ac_cv_prog_egrep
  2991.  
  2992.  
  2993. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  3004.                   inttypes.h stdint.h unistd.h
  3005. do
  3006. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3007. echo "$as_me:$LINENO: checking for $ac_header" >&5
  3008. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  3009. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  3010.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3011. else
  3012.   cat >conftest.$ac_ext <<_ACEOF
  3013. #line $LINENO "configure"
  3014. #include "confdefs.h"
  3015. $ac_includes_default
  3016.  
  3017. #include <$ac_header>
  3018. _ACEOF
  3019. rm -f conftest.$ac_objext
  3020. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3021.   (eval $ac_compile) 2>&5
  3022.   ac_status=$?
  3023.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3024.   (exit $ac_status); } &&
  3025.          { ac_try='test -s conftest.$ac_objext'
  3026.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3027.   (eval $ac_try) 2>&5
  3028.   ac_status=$?
  3029.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3030.   (exit $ac_status); }; }; then
  3031.   eval "$as_ac_Header=yes"
  3032. else
  3033.   echo "$as_me: failed program was:" >&5
  3034. cat conftest.$ac_ext >&5
  3035. eval "$as_ac_Header=no"
  3036. fi
  3037. rm -f conftest.$ac_objext conftest.$ac_ext
  3038. fi
  3039. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  3040. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  3041. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  3042.   cat >>confdefs.h <<_ACEOF
  3043. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3044. _ACEOF
  3045.  
  3046. fi
  3047.  
  3048. done
  3049.  
  3050.  
  3051.  
  3052.  
  3053. echo "$as_me:$LINENO: checking for function prototypes" >&5
  3054. echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
  3055. if test "$am_cv_prog_cc_stdc" != no; then
  3056.   echo "$as_me:$LINENO: result: yes" >&5
  3057. echo "${ECHO_T}yes" >&6
  3058.  
  3059. cat >>confdefs.h <<\_ACEOF
  3060. #define PROTOTYPES 1
  3061. _ACEOF
  3062.  
  3063.   U= ANSI2KNR=
  3064. else
  3065.   echo "$as_me:$LINENO: result: no" >&5
  3066. echo "${ECHO_T}no" >&6
  3067.   U=_ ANSI2KNR=./ansi2knr
  3068. fi
  3069. # Ensure some checks needed by ansi2knr itself.
  3070. echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3071. echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  3072. if test "${ac_cv_header_stdc+set}" = set; then
  3073.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3074. else
  3075.   cat >conftest.$ac_ext <<_ACEOF
  3076. #line $LINENO "configure"
  3077. #include "confdefs.h"
  3078. #include <stdlib.h>
  3079. #include <stdarg.h>
  3080. #include <string.h>
  3081. #include <float.h>
  3082.  
  3083. _ACEOF
  3084. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3085.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3086.   ac_status=$?
  3087.   grep -v '^ *+' conftest.er1 >conftest.err
  3088.   rm -f conftest.er1
  3089.   cat conftest.err >&5
  3090.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3091.   (exit $ac_status); } >/dev/null; then
  3092.   if test -s conftest.err; then
  3093.     ac_cpp_err=$ac_c_preproc_warn_flag
  3094.   else
  3095.     ac_cpp_err=
  3096.   fi
  3097. else
  3098.   ac_cpp_err=yes
  3099. fi
  3100. if test -z "$ac_cpp_err"; then
  3101.   ac_cv_header_stdc=yes
  3102. else
  3103.   echo "$as_me: failed program was:" >&5
  3104.   cat conftest.$ac_ext >&5
  3105.   ac_cv_header_stdc=no
  3106. fi
  3107. rm -f conftest.err conftest.$ac_ext
  3108.  
  3109. if test $ac_cv_header_stdc = yes; then
  3110.   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  3111.   cat >conftest.$ac_ext <<_ACEOF
  3112. #line $LINENO "configure"
  3113. #include "confdefs.h"
  3114. #include <string.h>
  3115.  
  3116. _ACEOF
  3117. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3118.   $EGREP "memchr" >/dev/null 2>&1; then
  3119.   :
  3120. else
  3121.   ac_cv_header_stdc=no
  3122. fi
  3123. rm -f conftest*
  3124.  
  3125. fi
  3126.  
  3127. if test $ac_cv_header_stdc = yes; then
  3128.   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  3129.   cat >conftest.$ac_ext <<_ACEOF
  3130. #line $LINENO "configure"
  3131. #include "confdefs.h"
  3132. #include <stdlib.h>
  3133.  
  3134. _ACEOF
  3135. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3136.   $EGREP "free" >/dev/null 2>&1; then
  3137.   :
  3138. else
  3139.   ac_cv_header_stdc=no
  3140. fi
  3141. rm -f conftest*
  3142.  
  3143. fi
  3144.  
  3145. if test $ac_cv_header_stdc = yes; then
  3146.   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  3147.   if test "$cross_compiling" = yes; then
  3148.   :
  3149. else
  3150.   cat >conftest.$ac_ext <<_ACEOF
  3151. #line $LINENO "configure"
  3152. #include "confdefs.h"
  3153. #include <ctype.h>
  3154. #if ((' ' & 0x0FF) == 0x020)
  3155. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  3156. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  3157. #else
  3158. # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
  3159.                      || ('j' <= (c) && (c) <= 'r') \
  3160.                      || ('s' <= (c) && (c) <= 'z'))
  3161. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  3162. #endif
  3163.  
  3164. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  3165. int
  3166. main ()
  3167. {
  3168.   int i;
  3169.   for (i = 0; i < 256; i++)
  3170.     if (XOR (islower (i), ISLOWER (i))
  3171.         || toupper (i) != TOUPPER (i))
  3172.       exit(2);
  3173.   exit (0);
  3174. }
  3175. _ACEOF
  3176. rm -f conftest$ac_exeext
  3177. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3178.   (eval $ac_link) 2>&5
  3179.   ac_status=$?
  3180.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3181.   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  3182.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3183.   (eval $ac_try) 2>&5
  3184.   ac_status=$?
  3185.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3186.   (exit $ac_status); }; }; then
  3187.   :
  3188. else
  3189.   echo "$as_me: program exited with status $ac_status" >&5
  3190. echo "$as_me: failed program was:" >&5
  3191. cat conftest.$ac_ext >&5
  3192. ( exit $ac_status )
  3193. ac_cv_header_stdc=no
  3194. fi
  3195. rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3196. fi
  3197. fi
  3198. fi
  3199. echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3200. echo "${ECHO_T}$ac_cv_header_stdc" >&6
  3201. if test $ac_cv_header_stdc = yes; then
  3202.  
  3203. cat >>confdefs.h <<\_ACEOF
  3204. #define STDC_HEADERS 1
  3205. _ACEOF
  3206.  
  3207. fi
  3208.  
  3209.  
  3210. for ac_header in string.h
  3211. do
  3212. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3213. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  3214.   echo "$as_me:$LINENO: checking for $ac_header" >&5
  3215. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  3216. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  3217.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3218. fi
  3219. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  3220. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  3221. else
  3222.   # Is the header compilable?
  3223. echo "$as_me:$LINENO: checking $ac_header usability" >&5
  3224. echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  3225. cat >conftest.$ac_ext <<_ACEOF
  3226. #line $LINENO "configure"
  3227. #include "confdefs.h"
  3228. $ac_includes_default
  3229. #include <$ac_header>
  3230. _ACEOF
  3231. rm -f conftest.$ac_objext
  3232. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3233.   (eval $ac_compile) 2>&5
  3234.   ac_status=$?
  3235.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3236.   (exit $ac_status); } &&
  3237.          { ac_try='test -s conftest.$ac_objext'
  3238.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3239.   (eval $ac_try) 2>&5
  3240.   ac_status=$?
  3241.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3242.   (exit $ac_status); }; }; then
  3243.   ac_header_compiler=yes
  3244. else
  3245.   echo "$as_me: failed program was:" >&5
  3246. cat conftest.$ac_ext >&5
  3247. ac_header_compiler=no
  3248. fi
  3249. rm -f conftest.$ac_objext conftest.$ac_ext
  3250. echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  3251. echo "${ECHO_T}$ac_header_compiler" >&6
  3252.  
  3253. # Is the header present?
  3254. echo "$as_me:$LINENO: checking $ac_header presence" >&5
  3255. echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  3256. cat >conftest.$ac_ext <<_ACEOF
  3257. #line $LINENO "configure"
  3258. #include "confdefs.h"
  3259. #include <$ac_header>
  3260. _ACEOF
  3261. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3262.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3263.   ac_status=$?
  3264.   grep -v '^ *+' conftest.er1 >conftest.err
  3265.   rm -f conftest.er1
  3266.   cat conftest.err >&5
  3267.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3268.   (exit $ac_status); } >/dev/null; then
  3269.   if test -s conftest.err; then
  3270.     ac_cpp_err=$ac_c_preproc_warn_flag
  3271.   else
  3272.     ac_cpp_err=
  3273.   fi
  3274. else
  3275.   ac_cpp_err=yes
  3276. fi
  3277. if test -z "$ac_cpp_err"; then
  3278.   ac_header_preproc=yes
  3279. else
  3280.   echo "$as_me: failed program was:" >&5
  3281.   cat conftest.$ac_ext >&5
  3282.   ac_header_preproc=no
  3283. fi
  3284. rm -f conftest.err conftest.$ac_ext
  3285. echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  3286. echo "${ECHO_T}$ac_header_preproc" >&6
  3287.  
  3288. # So?  What about this header?
  3289. case $ac_header_compiler:$ac_header_preproc in
  3290.   yes:no )
  3291.     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  3292. echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  3293.     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  3294. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
  3295.   no:yes )
  3296.     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  3297. echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  3298.     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  3299. echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  3300.     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  3301. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
  3302. esac
  3303. echo "$as_me:$LINENO: checking for $ac_header" >&5
  3304. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  3305. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  3306.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3307. else
  3308.   eval "$as_ac_Header=$ac_header_preproc"
  3309. fi
  3310. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  3311. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  3312.  
  3313. fi
  3314. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  3315.   cat >>confdefs.h <<_ACEOF
  3316. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3317. _ACEOF
  3318.  
  3319. fi
  3320.  
  3321. done
  3322.  
  3323.  
  3324. ac_ext=c
  3325. ac_cpp='$CPP $CPPFLAGS'
  3326. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3327. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3328. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3329. echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  3330. echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  3331. # On Suns, sometimes $CPP names a directory.
  3332. if test -n "$CPP" && test -d "$CPP"; then
  3333.   CPP=
  3334. fi
  3335. if test -z "$CPP"; then
  3336.   if test "${ac_cv_prog_CPP+set}" = set; then
  3337.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3338. else
  3339.       # Double quotes because CPP needs to be expanded
  3340.     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3341.     do
  3342.       ac_preproc_ok=false
  3343. for ac_c_preproc_warn_flag in '' yes
  3344. do
  3345.   # Use a header file that comes with gcc, so configuring glibc
  3346.   # with a fresh cross-compiler works.
  3347.   # On the NeXT, cc -E runs the code through the compiler's parser,
  3348.   # not just through cpp. "Syntax error" is here to catch this case.
  3349.   cat >conftest.$ac_ext <<_ACEOF
  3350. #line $LINENO "configure"
  3351. #include "confdefs.h"
  3352. #include <assert.h>
  3353.                      Syntax error
  3354. _ACEOF
  3355. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3356.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3357.   ac_status=$?
  3358.   grep -v '^ *+' conftest.er1 >conftest.err
  3359.   rm -f conftest.er1
  3360.   cat conftest.err >&5
  3361.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3362.   (exit $ac_status); } >/dev/null; then
  3363.   if test -s conftest.err; then
  3364.     ac_cpp_err=$ac_c_preproc_warn_flag
  3365.   else
  3366.     ac_cpp_err=
  3367.   fi
  3368. else
  3369.   ac_cpp_err=yes
  3370. fi
  3371. if test -z "$ac_cpp_err"; then
  3372.   :
  3373. else
  3374.   echo "$as_me: failed program was:" >&5
  3375.   cat conftest.$ac_ext >&5
  3376.   # Broken: fails on valid input.
  3377. continue
  3378. fi
  3379. rm -f conftest.err conftest.$ac_ext
  3380.  
  3381.   # OK, works on sane cases.  Now check whether non-existent headers
  3382.   # can be detected and how.
  3383.   cat >conftest.$ac_ext <<_ACEOF
  3384. #line $LINENO "configure"
  3385. #include "confdefs.h"
  3386. #include <ac_nonexistent.h>
  3387. _ACEOF
  3388. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3389.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3390.   ac_status=$?
  3391.   grep -v '^ *+' conftest.er1 >conftest.err
  3392.   rm -f conftest.er1
  3393.   cat conftest.err >&5
  3394.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3395.   (exit $ac_status); } >/dev/null; then
  3396.   if test -s conftest.err; then
  3397.     ac_cpp_err=$ac_c_preproc_warn_flag
  3398.   else
  3399.     ac_cpp_err=
  3400.   fi
  3401. else
  3402.   ac_cpp_err=yes
  3403. fi
  3404. if test -z "$ac_cpp_err"; then
  3405.   # Broken: success on invalid input.
  3406. continue
  3407. else
  3408.   echo "$as_me: failed program was:" >&5
  3409.   cat conftest.$ac_ext >&5
  3410.   # Passes both tests.
  3411. ac_preproc_ok=:
  3412. break
  3413. fi
  3414. rm -f conftest.err conftest.$ac_ext
  3415.  
  3416. done
  3417. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3418. rm -f conftest.err conftest.$ac_ext
  3419. if $ac_preproc_ok; then
  3420.   break
  3421. fi
  3422.  
  3423.     done
  3424.     ac_cv_prog_CPP=$CPP
  3425.  
  3426. fi
  3427.   CPP=$ac_cv_prog_CPP
  3428. else
  3429.   ac_cv_prog_CPP=$CPP
  3430. fi
  3431. echo "$as_me:$LINENO: result: $CPP" >&5
  3432. echo "${ECHO_T}$CPP" >&6
  3433. ac_preproc_ok=false
  3434. for ac_c_preproc_warn_flag in '' yes
  3435. do
  3436.   # Use a header file that comes with gcc, so configuring glibc
  3437.   # with a fresh cross-compiler works.
  3438.   # On the NeXT, cc -E runs the code through the compiler's parser,
  3439.   # not just through cpp. "Syntax error" is here to catch this case.
  3440.   cat >conftest.$ac_ext <<_ACEOF
  3441. #line $LINENO "configure"
  3442. #include "confdefs.h"
  3443. #include <assert.h>
  3444.                      Syntax error
  3445. _ACEOF
  3446. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3447.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3448.   ac_status=$?
  3449.   grep -v '^ *+' conftest.er1 >conftest.err
  3450.   rm -f conftest.er1
  3451.   cat conftest.err >&5
  3452.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3453.   (exit $ac_status); } >/dev/null; then
  3454.   if test -s conftest.err; then
  3455.     ac_cpp_err=$ac_c_preproc_warn_flag
  3456.   else
  3457.     ac_cpp_err=
  3458.   fi
  3459. else
  3460.   ac_cpp_err=yes
  3461. fi
  3462. if test -z "$ac_cpp_err"; then
  3463.   :
  3464. else
  3465.   echo "$as_me: failed program was:" >&5
  3466.   cat conftest.$ac_ext >&5
  3467.   # Broken: fails on valid input.
  3468. continue
  3469. fi
  3470. rm -f conftest.err conftest.$ac_ext
  3471.  
  3472.   # OK, works on sane cases.  Now check whether non-existent headers
  3473.   # can be detected and how.
  3474.   cat >conftest.$ac_ext <<_ACEOF
  3475. #line $LINENO "configure"
  3476. #include "confdefs.h"
  3477. #include <ac_nonexistent.h>
  3478. _ACEOF
  3479. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3480.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3481.   ac_status=$?
  3482.   grep -v '^ *+' conftest.er1 >conftest.err
  3483.   rm -f conftest.er1
  3484.   cat conftest.err >&5
  3485.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3486.   (exit $ac_status); } >/dev/null; then
  3487.   if test -s conftest.err; then
  3488.     ac_cpp_err=$ac_c_preproc_warn_flag
  3489.   else
  3490.     ac_cpp_err=
  3491.   fi
  3492. else
  3493.   ac_cpp_err=yes
  3494. fi
  3495. if test -z "$ac_cpp_err"; then
  3496.   # Broken: success on invalid input.
  3497. continue
  3498. else
  3499.   echo "$as_me: failed program was:" >&5
  3500.   cat conftest.$ac_ext >&5
  3501.   # Passes both tests.
  3502. ac_preproc_ok=:
  3503. break
  3504. fi
  3505. rm -f conftest.err conftest.$ac_ext
  3506.  
  3507. done
  3508. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3509. rm -f conftest.err conftest.$ac_ext
  3510. if $ac_preproc_ok; then
  3511.   :
  3512. else
  3513.   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
  3514. echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
  3515.    { (exit 1); exit 1; }; }
  3516. fi
  3517.  
  3518. ac_ext=c
  3519. ac_cpp='$CPP $CPPFLAGS'
  3520. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3521. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3522. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3523.  
  3524. echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  3525. echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
  3526. if test "${ac_cv_c_const+set}" = set; then
  3527.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3528. else
  3529.   cat >conftest.$ac_ext <<_ACEOF
  3530. #line $LINENO "configure"
  3531. #include "confdefs.h"
  3532.  
  3533. int
  3534. main ()
  3535. {
  3536. /* FIXME: Include the comments suggested by Paul. */
  3537. #ifndef __cplusplus
  3538.   /* Ultrix mips cc rejects this.  */
  3539.   typedef int charset[2];
  3540.   const charset x;
  3541.   /* SunOS 4.1.1 cc rejects this.  */
  3542.   char const *const *ccp;
  3543.   char **p;
  3544.   /* NEC SVR4.0.2 mips cc rejects this.  */
  3545.   struct point {int x, y;};
  3546.   static struct point const zero = {0,0};
  3547.   /* AIX XL C 1.02.0.0 rejects this.
  3548.      It does not let you subtract one const X* pointer from another in
  3549.      an arm of an if-expression whose if-part is not a constant
  3550.      expression */
  3551.   const char *g = "string";
  3552.   ccp = &g + (g ? g-g : 0);
  3553.   /* HPUX 7.0 cc rejects these. */
  3554.   ++ccp;
  3555.   p = (char**) ccp;
  3556.   ccp = (char const *const *) p;
  3557.   { /* SCO 3.2v4 cc rejects this.  */
  3558.     char *t;
  3559.     char const *s = 0 ? (char *) 0 : (char const *) 0;
  3560.  
  3561.     *t++ = 0;
  3562.   }
  3563.   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
  3564.     int x[] = {25, 17};
  3565.     const int *foo = &x[0];
  3566.     ++foo;
  3567.   }
  3568.   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  3569.     typedef const int *iptr;
  3570.     iptr p = 0;
  3571.     ++p;
  3572.   }
  3573.   { /* AIX XL C 1.02.0.0 rejects this saying
  3574.        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  3575.     struct s { int j; const int *ap[3]; };
  3576.     struct s *b; b->j = 5;
  3577.   }
  3578.   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  3579.     const int foo = 10;
  3580.   }
  3581. #endif
  3582.  
  3583.   ;
  3584.   return 0;
  3585. }
  3586. _ACEOF
  3587. rm -f conftest.$ac_objext
  3588. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3589.   (eval $ac_compile) 2>&5
  3590.   ac_status=$?
  3591.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3592.   (exit $ac_status); } &&
  3593.          { ac_try='test -s conftest.$ac_objext'
  3594.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3595.   (eval $ac_try) 2>&5
  3596.   ac_status=$?
  3597.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3598.   (exit $ac_status); }; }; then
  3599.   ac_cv_c_const=yes
  3600. else
  3601.   echo "$as_me: failed program was:" >&5
  3602. cat conftest.$ac_ext >&5
  3603. ac_cv_c_const=no
  3604. fi
  3605. rm -f conftest.$ac_objext conftest.$ac_ext
  3606. fi
  3607. echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  3608. echo "${ECHO_T}$ac_cv_c_const" >&6
  3609. if test $ac_cv_c_const = no; then
  3610.  
  3611. cat >>confdefs.h <<\_ACEOF
  3612. #define const
  3613. _ACEOF
  3614.  
  3615. fi
  3616.  
  3617. echo "$as_me:$LINENO: checking for inline" >&5
  3618. echo $ECHO_N "checking for inline... $ECHO_C" >&6
  3619. if test "${ac_cv_c_inline+set}" = set; then
  3620.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3621. else
  3622.   ac_cv_c_inline=no
  3623. for ac_kw in inline __inline__ __inline; do
  3624.   cat >conftest.$ac_ext <<_ACEOF
  3625. #line $LINENO "configure"
  3626. #include "confdefs.h"
  3627. #ifndef __cplusplus
  3628. typedef int foo_t;
  3629. static $ac_kw foo_t static_foo () {return 0; }
  3630. $ac_kw foo_t foo () {return 0; }
  3631. #endif
  3632.  
  3633. _ACEOF
  3634. rm -f conftest.$ac_objext
  3635. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3636.   (eval $ac_compile) 2>&5
  3637.   ac_status=$?
  3638.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3639.   (exit $ac_status); } &&
  3640.          { ac_try='test -s conftest.$ac_objext'
  3641.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3642.   (eval $ac_try) 2>&5
  3643.   ac_status=$?
  3644.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3645.   (exit $ac_status); }; }; then
  3646.   ac_cv_c_inline=$ac_kw; break
  3647. else
  3648.   echo "$as_me: failed program was:" >&5
  3649. cat conftest.$ac_ext >&5
  3650. fi
  3651. rm -f conftest.$ac_objext conftest.$ac_ext
  3652. done
  3653.  
  3654. fi
  3655. echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
  3656. echo "${ECHO_T}$ac_cv_c_inline" >&6
  3657. case $ac_cv_c_inline in
  3658.   inline | yes) ;;
  3659.   no)
  3660. cat >>confdefs.h <<\_ACEOF
  3661. #define inline
  3662. _ACEOF
  3663.  ;;
  3664.   *)  cat >>confdefs.h <<_ACEOF
  3665. #define inline $ac_cv_c_inline
  3666. _ACEOF
  3667.  ;;
  3668. esac
  3669.  
  3670. echo "$as_me:$LINENO: checking for preprocessor stringizing operator" >&5
  3671. echo $ECHO_N "checking for preprocessor stringizing operator... $ECHO_C" >&6
  3672. if test "${ac_cv_c_stringize+set}" = set; then
  3673.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3674. else
  3675.   cat >conftest.$ac_ext <<_ACEOF
  3676. #line $LINENO "configure"
  3677. #include "confdefs.h"
  3678. #define x(y) #y
  3679.  
  3680. char *s = x(teststring);
  3681. _ACEOF
  3682. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3683.   $EGREP "#teststring" >/dev/null 2>&1; then
  3684.   ac_cv_c_stringize=no
  3685. else
  3686.   ac_cv_c_stringize=yes
  3687. fi
  3688. rm -f conftest*
  3689.  
  3690. fi
  3691. echo "$as_me:$LINENO: result: $ac_cv_c_stringize" >&5
  3692. echo "${ECHO_T}$ac_cv_c_stringize" >&6
  3693. if test $ac_cv_c_stringize = yes; then
  3694.  
  3695. cat >>confdefs.h <<\_ACEOF
  3696. #define HAVE_STRINGIZE 1
  3697. _ACEOF
  3698.  
  3699. fi
  3700.  
  3701. for ac_prog in flex lex
  3702. do
  3703.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3704. set dummy $ac_prog; ac_word=$2
  3705. echo "$as_me:$LINENO: checking for $ac_word" >&5
  3706. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  3707. if test "${ac_cv_prog_LEX+set}" = set; then
  3708.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3709. else
  3710.   if test -n "$LEX"; then
  3711.   ac_cv_prog_LEX="$LEX" # Let the user override the test.
  3712. else
  3713. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3714. for as_dir in $PATH
  3715. do
  3716.   IFS=$as_save_IFS
  3717.   test -z "$as_dir" && as_dir=.
  3718.   for ac_exec_ext in '' $ac_executable_extensions; do
  3719.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3720.     ac_cv_prog_LEX="$ac_prog"
  3721.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3722.     break 2
  3723.   fi
  3724. done
  3725. done
  3726.  
  3727. fi
  3728. fi
  3729. LEX=$ac_cv_prog_LEX
  3730. if test -n "$LEX"; then
  3731.   echo "$as_me:$LINENO: result: $LEX" >&5
  3732. echo "${ECHO_T}$LEX" >&6
  3733. else
  3734.   echo "$as_me:$LINENO: result: no" >&5
  3735. echo "${ECHO_T}no" >&6
  3736. fi
  3737.  
  3738.   test -n "$LEX" && break
  3739. done
  3740. test -n "$LEX" || LEX=":"
  3741.  
  3742. if test -z "$LEXLIB"
  3743. then
  3744.   echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
  3745. echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
  3746. if test "${ac_cv_lib_fl_yywrap+set}" = set; then
  3747.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3748. else
  3749.   ac_check_lib_save_LIBS=$LIBS
  3750. LIBS="-lfl  $LIBS"
  3751. cat >conftest.$ac_ext <<_ACEOF
  3752. #line $LINENO "configure"
  3753. #include "confdefs.h"
  3754.  
  3755. /* Override any gcc2 internal prototype to avoid an error.  */
  3756. #ifdef __cplusplus
  3757. extern "C"
  3758. #endif
  3759. /* We use char because int might match the return type of a gcc2
  3760.    builtin and then its argument prototype would still apply.  */
  3761. char yywrap ();
  3762. int
  3763. main ()
  3764. {
  3765. yywrap ();
  3766.   ;
  3767.   return 0;
  3768. }
  3769. _ACEOF
  3770. rm -f conftest.$ac_objext conftest$ac_exeext
  3771. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3772.   (eval $ac_link) 2>&5
  3773.   ac_status=$?
  3774.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3775.   (exit $ac_status); } &&
  3776.          { ac_try='test -s conftest$ac_exeext'
  3777.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3778.   (eval $ac_try) 2>&5
  3779.   ac_status=$?
  3780.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3781.   (exit $ac_status); }; }; then
  3782.   ac_cv_lib_fl_yywrap=yes
  3783. else
  3784.   echo "$as_me: failed program was:" >&5
  3785. cat conftest.$ac_ext >&5
  3786. ac_cv_lib_fl_yywrap=no
  3787. fi
  3788. rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3789. LIBS=$ac_check_lib_save_LIBS
  3790. fi
  3791. echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
  3792. echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
  3793. if test $ac_cv_lib_fl_yywrap = yes; then
  3794.   LEXLIB="-lfl"
  3795. else
  3796.   echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
  3797. echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
  3798. if test "${ac_cv_lib_l_yywrap+set}" = set; then
  3799.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3800. else
  3801.   ac_check_lib_save_LIBS=$LIBS
  3802. LIBS="-ll  $LIBS"
  3803. cat >conftest.$ac_ext <<_ACEOF
  3804. #line $LINENO "configure"
  3805. #include "confdefs.h"
  3806.  
  3807. /* Override any gcc2 internal prototype to avoid an error.  */
  3808. #ifdef __cplusplus
  3809. extern "C"
  3810. #endif
  3811. /* We use char because int might match the return type of a gcc2
  3812.    builtin and then its argument prototype would still apply.  */
  3813. char yywrap ();
  3814. int
  3815. main ()
  3816. {
  3817. yywrap ();
  3818.   ;
  3819.   return 0;
  3820. }
  3821. _ACEOF
  3822. rm -f conftest.$ac_objext conftest$ac_exeext
  3823. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3824.   (eval $ac_link) 2>&5
  3825.   ac_status=$?
  3826.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3827.   (exit $ac_status); } &&
  3828.          { ac_try='test -s conftest$ac_exeext'
  3829.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3830.   (eval $ac_try) 2>&5
  3831.   ac_status=$?
  3832.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3833.   (exit $ac_status); }; }; then
  3834.   ac_cv_lib_l_yywrap=yes
  3835. else
  3836.   echo "$as_me: failed program was:" >&5
  3837. cat conftest.$ac_ext >&5
  3838. ac_cv_lib_l_yywrap=no
  3839. fi
  3840. rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3841. LIBS=$ac_check_lib_save_LIBS
  3842. fi
  3843. echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
  3844. echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
  3845. if test $ac_cv_lib_l_yywrap = yes; then
  3846.   LEXLIB="-ll"
  3847. fi
  3848.  
  3849. fi
  3850.  
  3851. fi
  3852.  
  3853. if test "x$LEX" != "x:"; then
  3854.   echo "$as_me:$LINENO: checking lex output file root" >&5
  3855. echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
  3856. if test "${ac_cv_prog_lex_root+set}" = set; then
  3857.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3858. else
  3859.   # The minimal lex program is just a single line: %%.  But some broken lexes
  3860. # (Solaris, I think it was) want two %% lines, so accommodate them.
  3861. cat >conftest.l <<_ACEOF
  3862. %%
  3863. %%
  3864. _ACEOF
  3865. { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
  3866.   (eval $LEX conftest.l) 2>&5
  3867.   ac_status=$?
  3868.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3869.   (exit $ac_status); }
  3870. if test -f lex.yy.c; then
  3871.   ac_cv_prog_lex_root=lex.yy
  3872. elif test -f lexyy.c; then
  3873.   ac_cv_prog_lex_root=lexyy
  3874. else
  3875.   { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
  3876. echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
  3877.    { (exit 1); exit 1; }; }
  3878. fi
  3879. fi
  3880. echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
  3881. echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
  3882. rm -f conftest.l
  3883. LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
  3884.  
  3885. echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
  3886. echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
  3887. if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
  3888.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3889. else
  3890.   # POSIX says lex can declare yytext either as a pointer or an array; the
  3891. # default is implementation-dependent. Figure out which it is, since
  3892. # not all implementations provide the %pointer and %array declarations.
  3893. ac_cv_prog_lex_yytext_pointer=no
  3894. echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
  3895. ac_save_LIBS=$LIBS
  3896. LIBS="$LIBS $LEXLIB"
  3897. cat >conftest.$ac_ext <<_ACEOF
  3898. `cat $LEX_OUTPUT_ROOT.c`
  3899. _ACEOF
  3900. rm -f conftest.$ac_objext conftest$ac_exeext
  3901. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3902.   (eval $ac_link) 2>&5
  3903.   ac_status=$?
  3904.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3905.   (exit $ac_status); } &&
  3906.          { ac_try='test -s conftest$ac_exeext'
  3907.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3908.   (eval $ac_try) 2>&5
  3909.   ac_status=$?
  3910.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3911.   (exit $ac_status); }; }; then
  3912.   ac_cv_prog_lex_yytext_pointer=yes
  3913. else
  3914.   echo "$as_me: failed program was:" >&5
  3915. cat conftest.$ac_ext >&5
  3916. fi
  3917. rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  3918. LIBS=$ac_save_LIBS
  3919. rm -f "${LEX_OUTPUT_ROOT}.c"
  3920.  
  3921. fi
  3922. echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
  3923. echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
  3924. if test $ac_cv_prog_lex_yytext_pointer = yes; then
  3925.  
  3926. cat >>confdefs.h <<\_ACEOF
  3927. #define YYTEXT_POINTER 1
  3928. _ACEOF
  3929.  
  3930. fi
  3931.  
  3932. fi
  3933. if test "$LEX" = :; then
  3934.   LEX=${am_missing_run}flex
  3935. fi
  3936. for ac_prog in 'bison -y' byacc
  3937. do
  3938.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3939. set dummy $ac_prog; ac_word=$2
  3940. echo "$as_me:$LINENO: checking for $ac_word" >&5
  3941. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  3942. if test "${ac_cv_prog_YACC+set}" = set; then
  3943.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3944. else
  3945.   if test -n "$YACC"; then
  3946.   ac_cv_prog_YACC="$YACC" # Let the user override the test.
  3947. else
  3948. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3949. for as_dir in $PATH
  3950. do
  3951.   IFS=$as_save_IFS
  3952.   test -z "$as_dir" && as_dir=.
  3953.   for ac_exec_ext in '' $ac_executable_extensions; do
  3954.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3955.     ac_cv_prog_YACC="$ac_prog"
  3956.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3957.     break 2
  3958.   fi
  3959. done
  3960. done
  3961.  
  3962. fi
  3963. fi
  3964. YACC=$ac_cv_prog_YACC
  3965. if test -n "$YACC"; then
  3966.   echo "$as_me:$LINENO: result: $YACC" >&5
  3967. echo "${ECHO_T}$YACC" >&6
  3968. else
  3969.   echo "$as_me:$LINENO: result: no" >&5
  3970. echo "${ECHO_T}no" >&6
  3971. fi
  3972.  
  3973.   test -n "$YACC" && break
  3974. done
  3975. test -n "$YACC" || YACC="yacc"
  3976.  
  3977.  
  3978. # check includes/headers
  3979. echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3980. echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  3981. if test "${ac_cv_header_stdc+set}" = set; then
  3982.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3983. else
  3984.   cat >conftest.$ac_ext <<_ACEOF
  3985. #line $LINENO "configure"
  3986. #include "confdefs.h"
  3987. #include <stdlib.h>
  3988. #include <stdarg.h>
  3989. #include <string.h>
  3990. #include <float.h>
  3991.  
  3992. _ACEOF
  3993. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3994.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3995.   ac_status=$?
  3996.   grep -v '^ *+' conftest.er1 >conftest.err
  3997.   rm -f conftest.er1
  3998.   cat conftest.err >&5
  3999.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4000.   (exit $ac_status); } >/dev/null; then
  4001.   if test -s conftest.err; then
  4002.     ac_cpp_err=$ac_c_preproc_warn_flag
  4003.   else
  4004.     ac_cpp_err=
  4005.   fi
  4006. else
  4007.   ac_cpp_err=yes
  4008. fi
  4009. if test -z "$ac_cpp_err"; then
  4010.   ac_cv_header_stdc=yes
  4011. else
  4012.   echo "$as_me: failed program was:" >&5
  4013.   cat conftest.$ac_ext >&5
  4014.   ac_cv_header_stdc=no
  4015. fi
  4016. rm -f conftest.err conftest.$ac_ext
  4017.  
  4018. if test $ac_cv_header_stdc = yes; then
  4019.   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4020.   cat >conftest.$ac_ext <<_ACEOF
  4021. #line $LINENO "configure"
  4022. #include "confdefs.h"
  4023. #include <string.h>
  4024.  
  4025. _ACEOF
  4026. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4027.   $EGREP "memchr" >/dev/null 2>&1; then
  4028.   :
  4029. else
  4030.   ac_cv_header_stdc=no
  4031. fi
  4032. rm -f conftest*
  4033.  
  4034. fi
  4035.  
  4036. if test $ac_cv_header_stdc = yes; then
  4037.   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4038.   cat >conftest.$ac_ext <<_ACEOF
  4039. #line $LINENO "configure"
  4040. #include "confdefs.h"
  4041. #include <stdlib.h>
  4042.  
  4043. _ACEOF
  4044. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4045.   $EGREP "free" >/dev/null 2>&1; then
  4046.   :
  4047. else
  4048.   ac_cv_header_stdc=no
  4049. fi
  4050. rm -f conftest*
  4051.  
  4052. fi
  4053.  
  4054. if test $ac_cv_header_stdc = yes; then
  4055.   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4056.   if test "$cross_compiling" = yes; then
  4057.   :
  4058. else
  4059.   cat >conftest.$ac_ext <<_ACEOF
  4060. #line $LINENO "configure"
  4061. #include "confdefs.h"
  4062. #include <ctype.h>
  4063. #if ((' ' & 0x0FF) == 0x020)
  4064. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4065. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4066. #else
  4067. # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
  4068.                      || ('j' <= (c) && (c) <= 'r') \
  4069.                      || ('s' <= (c) && (c) <= 'z'))
  4070. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4071. #endif
  4072.  
  4073. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4074. int
  4075. main ()
  4076. {
  4077.   int i;
  4078.   for (i = 0; i < 256; i++)
  4079.     if (XOR (islower (i), ISLOWER (i))
  4080.         || toupper (i) != TOUPPER (i))
  4081.       exit(2);
  4082.   exit (0);
  4083. }
  4084. _ACEOF
  4085. rm -f conftest$ac_exeext
  4086. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4087.   (eval $ac_link) 2>&5
  4088.   ac_status=$?
  4089.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4090.   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  4091.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4092.   (eval $ac_try) 2>&5
  4093.   ac_status=$?
  4094.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4095.   (exit $ac_status); }; }; then
  4096.   :
  4097. else
  4098.   echo "$as_me: program exited with status $ac_status" >&5
  4099. echo "$as_me: failed program was:" >&5
  4100. cat conftest.$ac_ext >&5
  4101. ( exit $ac_status )
  4102. ac_cv_header_stdc=no
  4103. fi
  4104. rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  4105. fi
  4106. fi
  4107. fi
  4108. echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  4109. echo "${ECHO_T}$ac_cv_header_stdc" >&6
  4110. if test $ac_cv_header_stdc = yes; then
  4111.  
  4112. cat >>confdefs.h <<\_ACEOF
  4113. #define STDC_HEADERS 1
  4114. _ACEOF
  4115.  
  4116. fi
  4117.  
  4118.  
  4119.  
  4120.  
  4121.  
  4122.  
  4123.  
  4124. for ac_header in errno.h stdlib.h string.h strings.h sys/types.h
  4125. do
  4126. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4127. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4128.   echo "$as_me:$LINENO: checking for $ac_header" >&5
  4129. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4130. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4131.   echo $ECHO_N "(cached) $ECHO_C" >&6
  4132. fi
  4133. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4134. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4135. else
  4136.   # Is the header compilable?
  4137. echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4138. echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  4139. cat >conftest.$ac_ext <<_ACEOF
  4140. #line $LINENO "configure"
  4141. #include "confdefs.h"
  4142. $ac_includes_default
  4143. #include <$ac_header>
  4144. _ACEOF
  4145. rm -f conftest.$ac_objext
  4146. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4147.   (eval $ac_compile) 2>&5
  4148.   ac_status=$?
  4149.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4150.   (exit $ac_status); } &&
  4151.          { ac_try='test -s conftest.$ac_objext'
  4152.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4153.   (eval $ac_try) 2>&5
  4154.   ac_status=$?
  4155.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4156.   (exit $ac_status); }; }; then
  4157.   ac_header_compiler=yes
  4158. else
  4159.   echo "$as_me: failed program was:" >&5
  4160. cat conftest.$ac_ext >&5
  4161. ac_header_compiler=no
  4162. fi
  4163. rm -f conftest.$ac_objext conftest.$ac_ext
  4164. echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4165. echo "${ECHO_T}$ac_header_compiler" >&6
  4166.  
  4167. # Is the header present?
  4168. echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4169. echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  4170. cat >conftest.$ac_ext <<_ACEOF
  4171. #line $LINENO "configure"
  4172. #include "confdefs.h"
  4173. #include <$ac_header>
  4174. _ACEOF
  4175. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4176.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4177.   ac_status=$?
  4178.   grep -v '^ *+' conftest.er1 >conftest.err
  4179.   rm -f conftest.er1
  4180.   cat conftest.err >&5
  4181.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4182.   (exit $ac_status); } >/dev/null; then
  4183.   if test -s conftest.err; then
  4184.     ac_cpp_err=$ac_c_preproc_warn_flag
  4185.   else
  4186.     ac_cpp_err=
  4187.   fi
  4188. else
  4189.   ac_cpp_err=yes
  4190. fi
  4191. if test -z "$ac_cpp_err"; then
  4192.   ac_header_preproc=yes
  4193. else
  4194.   echo "$as_me: failed program was:" >&5
  4195.   cat conftest.$ac_ext >&5
  4196.   ac_header_preproc=no
  4197. fi
  4198. rm -f conftest.err conftest.$ac_ext
  4199. echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4200. echo "${ECHO_T}$ac_header_preproc" >&6
  4201.  
  4202. # So?  What about this header?
  4203. case $ac_header_compiler:$ac_header_preproc in
  4204.   yes:no )
  4205.     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  4206. echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  4207.     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  4208. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
  4209.   no:yes )
  4210.     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  4211. echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  4212.     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  4213. echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  4214.     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  4215. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
  4216. esac
  4217. echo "$as_me:$LINENO: checking for $ac_header" >&5
  4218. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4219. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4220.   echo $ECHO_N "(cached) $ECHO_C" >&6
  4221. else
  4222.   eval "$as_ac_Header=$ac_header_preproc"
  4223. fi
  4224. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4225. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4226.  
  4227. fi
  4228. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4229.   cat >>confdefs.h <<_ACEOF
  4230. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4231. _ACEOF
  4232.  
  4233. fi
  4234.  
  4235. done
  4236.  
  4237.  
  4238.  
  4239. for ac_header in malloc.h unistd.h
  4240. do
  4241. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4242. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4243.   echo "$as_me:$LINENO: checking for $ac_header" >&5
  4244. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4245. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4246.   echo $ECHO_N "(cached) $ECHO_C" >&6
  4247. fi
  4248. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4249. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4250. else
  4251.   # Is the header compilable?
  4252. echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4253. echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  4254. cat >conftest.$ac_ext <<_ACEOF
  4255. #line $LINENO "configure"
  4256. #include "confdefs.h"
  4257. $ac_includes_default
  4258. #include <$ac_header>
  4259. _ACEOF
  4260. rm -f conftest.$ac_objext
  4261. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4262.   (eval $ac_compile) 2>&5
  4263.   ac_status=$?
  4264.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4265.   (exit $ac_status); } &&
  4266.          { ac_try='test -s conftest.$ac_objext'
  4267.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4268.   (eval $ac_try) 2>&5
  4269.   ac_status=$?
  4270.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4271.   (exit $ac_status); }; }; then
  4272.   ac_header_compiler=yes
  4273. else
  4274.   echo "$as_me: failed program was:" >&5
  4275. cat conftest.$ac_ext >&5
  4276. ac_header_compiler=no
  4277. fi
  4278. rm -f conftest.$ac_objext conftest.$ac_ext
  4279. echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4280. echo "${ECHO_T}$ac_header_compiler" >&6
  4281.  
  4282. # Is the header present?
  4283. echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4284. echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  4285. cat >conftest.$ac_ext <<_ACEOF
  4286. #line $LINENO "configure"
  4287. #include "confdefs.h"
  4288. #include <$ac_header>
  4289. _ACEOF
  4290. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4291.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4292.   ac_status=$?
  4293.   grep -v '^ *+' conftest.er1 >conftest.err
  4294.   rm -f conftest.er1
  4295.   cat conftest.err >&5
  4296.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4297.   (exit $ac_status); } >/dev/null; then
  4298.   if test -s conftest.err; then
  4299.     ac_cpp_err=$ac_c_preproc_warn_flag
  4300.   else
  4301.     ac_cpp_err=
  4302.   fi
  4303. else
  4304.   ac_cpp_err=yes
  4305. fi
  4306. if test -z "$ac_cpp_err"; then
  4307.   ac_header_preproc=yes
  4308. else
  4309.   echo "$as_me: failed program was:" >&5
  4310.   cat conftest.$ac_ext >&5
  4311.   ac_header_preproc=no
  4312. fi
  4313. rm -f conftest.err conftest.$ac_ext
  4314. echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4315. echo "${ECHO_T}$ac_header_preproc" >&6
  4316.  
  4317. # So?  What about this header?
  4318. case $ac_header_compiler:$ac_header_preproc in
  4319.   yes:no )
  4320.     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  4321. echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  4322.     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  4323. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
  4324.   no:yes )
  4325.     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  4326. echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  4327.     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  4328. echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  4329.     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  4330. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
  4331. esac
  4332. echo "$as_me:$LINENO: checking for $ac_header" >&5
  4333. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4334. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4335.   echo $ECHO_N "(cached) $ECHO_C" >&6
  4336. else
  4337.   eval "$as_ac_Header=$ac_header_preproc"
  4338. fi
  4339. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4340. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4341.  
  4342. fi
  4343. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4344.   cat >>confdefs.h <<_ACEOF
  4345. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4346. _ACEOF
  4347.  
  4348. fi
  4349.  
  4350. done
  4351.  
  4352.  
  4353. # check functions
  4354.  
  4355. for ac_func in bzero
  4356. do
  4357. as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  4358. echo "$as_me:$LINENO: checking for $ac_func" >&5
  4359. echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  4360. if eval "test \"\${$as_ac_var+set}\" = set"; then
  4361.   echo $ECHO_N "(cached) $ECHO_C" >&6
  4362. else
  4363.   cat >conftest.$ac_ext <<_ACEOF
  4364. #line $LINENO "configure"
  4365. #include "confdefs.h"
  4366. /* System header to define __stub macros and hopefully few prototypes,
  4367.     which can conflict with char $ac_func (); below.  */
  4368. #include <assert.h>
  4369. /* Override any gcc2 internal prototype to avoid an error.  */
  4370. #ifdef __cplusplus
  4371. extern "C"
  4372. #endif
  4373. /* We use char because int might match the return type of a gcc2
  4374.    builtin and then its argument prototype would still apply.  */
  4375. char $ac_func ();
  4376. char (*f) ();
  4377.  
  4378. int
  4379. main ()
  4380. {
  4381. /* The GNU C library defines this for functions which it implements
  4382.     to always fail with ENOSYS.  Some functions are actually named
  4383.     something starting with __ and the normal name is an alias.  */
  4384. #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  4385. choke me
  4386. #else
  4387. f = $ac_func;
  4388. #endif
  4389.  
  4390.   ;
  4391.   return 0;
  4392. }
  4393. _ACEOF
  4394. rm -f conftest.$ac_objext conftest$ac_exeext
  4395. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4396.   (eval $ac_link) 2>&5
  4397.   ac_status=$?
  4398.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4399.   (exit $ac_status); } &&
  4400.          { ac_try='test -s conftest$ac_exeext'
  4401.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4402.   (eval $ac_try) 2>&5
  4403.   ac_status=$?
  4404.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4405.   (exit $ac_status); }; }; then
  4406.   eval "$as_ac_var=yes"
  4407. else
  4408.   echo "$as_me: failed program was:" >&5
  4409. cat conftest.$ac_ext >&5
  4410. eval "$as_ac_var=no"
  4411. fi
  4412. rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  4413. fi
  4414. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  4415. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  4416. if test `eval echo '${'$as_ac_var'}'` = yes; then
  4417.   cat >>confdefs.h <<_ACEOF
  4418. #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  4419. _ACEOF
  4420.  
  4421. fi
  4422. done
  4423.  
  4424.  
  4425. for ac_func in rindex
  4426. do
  4427. as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  4428. echo "$as_me:$LINENO: checking for $ac_func" >&5
  4429. echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  4430. if eval "test \"\${$as_ac_var+set}\" = set"; then
  4431.   echo $ECHO_N "(cached) $ECHO_C" >&6
  4432. else
  4433.   cat >conftest.$ac_ext <<_ACEOF
  4434. #line $LINENO "configure"
  4435. #include "confdefs.h"
  4436. /* System header to define __stub macros and hopefully few prototypes,
  4437.     which can conflict with char $ac_func (); below.  */
  4438. #include <assert.h>
  4439. /* Override any gcc2 internal prototype to avoid an error.  */
  4440. #ifdef __cplusplus
  4441. extern "C"
  4442. #endif
  4443. /* We use char because int might match the return type of a gcc2
  4444.    builtin and then its argument prototype would still apply.  */
  4445. char $ac_func ();
  4446. char (*f) ();
  4447.  
  4448. int
  4449. main ()
  4450. {
  4451. /* The GNU C library defines this for functions which it implements
  4452.     to always fail with ENOSYS.  Some functions are actually named
  4453.     something starting with __ and the normal name is an alias.  */
  4454. #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  4455. choke me
  4456. #else
  4457. f = $ac_func;
  4458. #endif
  4459.  
  4460.   ;
  4461.   return 0;
  4462. }
  4463. _ACEOF
  4464. rm -f conftest.$ac_objext conftest$ac_exeext
  4465. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4466.   (eval $ac_link) 2>&5
  4467.   ac_status=$?
  4468.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4469.   (exit $ac_status); } &&
  4470.          { ac_try='test -s conftest$ac_exeext'
  4471.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4472.   (eval $ac_try) 2>&5
  4473.   ac_status=$?
  4474.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4475.   (exit $ac_status); }; }; then
  4476.   eval "$as_ac_var=yes"
  4477. else
  4478.   echo "$as_me: failed program was:" >&5
  4479. cat conftest.$ac_ext >&5
  4480. eval "$as_ac_var=no"
  4481. fi
  4482. rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  4483. fi
  4484. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  4485. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  4486. if test `eval echo '${'$as_ac_var'}'` = yes; then
  4487.   cat >>confdefs.h <<_ACEOF
  4488. #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  4489. _ACEOF
  4490.  
  4491. fi
  4492. done
  4493.  
  4494.  
  4495. # Find an appropriate tar for use in "dist" targets.  A "best guess"
  4496. # is good enough -- if we can't find GNU tar, we don't really care.
  4497. for ac_prog in gnutar gtar tar
  4498. do
  4499.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4500. set dummy $ac_prog; ac_word=$2
  4501. echo "$as_me:$LINENO: checking for $ac_word" >&5
  4502. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  4503. if test "${ac_cv_prog_TAR+set}" = set; then
  4504.   echo $ECHO_N "(cached) $ECHO_C" >&6
  4505. else
  4506.   if test -n "$TAR"; then
  4507.   ac_cv_prog_TAR="$TAR" # Let the user override the test.
  4508. else
  4509. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4510. for as_dir in $PATH
  4511. do
  4512.   IFS=$as_save_IFS
  4513.   test -z "$as_dir" && as_dir=.
  4514.   for ac_exec_ext in '' $ac_executable_extensions; do
  4515.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4516.     ac_cv_prog_TAR="$ac_prog"
  4517.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4518.     break 2
  4519.   fi
  4520. done
  4521. done
  4522.  
  4523. fi
  4524. fi
  4525. TAR=$ac_cv_prog_TAR
  4526. if test -n "$TAR"; then
  4527.   echo "$as_me:$LINENO: result: $TAR" >&5
  4528. echo "${ECHO_T}$TAR" >&6
  4529. else
  4530.   echo "$as_me:$LINENO: result: no" >&5
  4531. echo "${ECHO_T}no" >&6
  4532. fi
  4533.  
  4534.   test -n "$TAR" && break
  4535. done
  4536.  
  4537.  
  4538.  
  4539. INST_PROGS=$progs
  4540.  
  4541.           ac_config_files="$ac_config_files Makefile"
  4542. cat >confcache <<\_ACEOF
  4543. # This file is a shell script that caches the results of configure
  4544. # tests run on this system so they can be shared between configure
  4545. # scripts and configure runs, see configure's option --config-cache.
  4546. # It is not useful on other systems.  If it contains results you don't
  4547. # want to keep, you may remove or edit it.
  4548. #
  4549. # config.status only pays attention to the cache file if you give it
  4550. # the --recheck option to rerun configure.
  4551. #
  4552. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  4553. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  4554. # following values.
  4555.  
  4556. _ACEOF
  4557.  
  4558. # The following way of writing the cache mishandles newlines in values,
  4559. # but we know of no workaround that is simple, portable, and efficient.
  4560. # So, don't put newlines in cache variables' values.
  4561. # Ultrix sh set writes to stderr and can't be redirected directly,
  4562. # and sets the high bit in the cache file unless we assign to the vars.
  4563. {
  4564.   (set) 2>&1 |
  4565.     case `(ac_space=' '; set | grep ac_space) 2>&1` in
  4566.     *ac_space=\ *)
  4567.       # `set' does not quote correctly, so add quotes (double-quote
  4568.       # substitution turns \\\\ into \\, and sed turns \\ into \).
  4569.       sed -n \
  4570.         "s/'/'\\\\''/g;
  4571.           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  4572.       ;;
  4573.     *)
  4574.       # `set' quotes correctly as required by POSIX, so do not add quotes.
  4575.       sed -n \
  4576.         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  4577.       ;;
  4578.     esac;
  4579. } |
  4580.   sed '
  4581.      t clear
  4582.      : clear
  4583.      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  4584.      t end
  4585.      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  4586.      : end' >>confcache
  4587. if cmp -s $cache_file confcache; then :; else
  4588.   if test -w $cache_file; then
  4589.     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  4590.     cat confcache >$cache_file
  4591.   else
  4592.     echo "not updating unwritable cache $cache_file"
  4593.   fi
  4594. fi
  4595. rm -f confcache
  4596.  
  4597. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  4598. # Let make expand exec_prefix.
  4599. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  4600.  
  4601. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  4602. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  4603. # trailing colons and then remove the whole line if VPATH becomes empty
  4604. # (actually we leave an empty line to preserve line numbers).
  4605. if test "x$srcdir" = x.; then
  4606.   ac_vpsub='/^[     ]*VPATH[     ]*=/{
  4607. s/:*\$(srcdir):*/:/;
  4608. s/:*\${srcdir}:*/:/;
  4609. s/:*@srcdir@:*/:/;
  4610. s/^\([^=]*=[     ]*\):*/\1/;
  4611. s/:*$//;
  4612. s/^[^=]*=[     ]*$//;
  4613. }'
  4614. fi
  4615.  
  4616. DEFS=-DHAVE_CONFIG_H
  4617.  
  4618. ac_libobjs=
  4619. ac_ltlibobjs=
  4620. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  4621.   # 1. Remove the extension, and $U if already installed.
  4622.   ac_i=`echo "$ac_i" |
  4623.          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  4624.   # 2. Add them.
  4625.   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  4626.   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  4627. done
  4628. LIBOBJS=$ac_libobjs
  4629.  
  4630. LTLIBOBJS=$ac_ltlibobjs
  4631.  
  4632.  
  4633. if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  4634.   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
  4635. Usually this means the macro was only invoked conditionally." >&5
  4636. echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
  4637. Usually this means the macro was only invoked conditionally." >&2;}
  4638.    { (exit 1); exit 1; }; }
  4639. fi
  4640. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  4641.   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  4642. Usually this means the macro was only invoked conditionally." >&5
  4643. echo "$as_me: error: conditional \"AMDEP\" was never defined.
  4644. Usually this means the macro was only invoked conditionally." >&2;}
  4645.    { (exit 1); exit 1; }; }
  4646. fi
  4647. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  4648.   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  4649. Usually this means the macro was only invoked conditionally." >&5
  4650. echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  4651. Usually this means the macro was only invoked conditionally." >&2;}
  4652.    { (exit 1); exit 1; }; }
  4653. fi
  4654.  
  4655. : ${CONFIG_STATUS=./config.status}
  4656. ac_clean_files_save=$ac_clean_files
  4657. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  4658. { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  4659. echo "$as_me: creating $CONFIG_STATUS" >&6;}
  4660. cat >$CONFIG_STATUS <<_ACEOF
  4661. #! $SHELL
  4662. # Generated by $as_me.
  4663. # Run this file to recreate the current configuration.
  4664. # Compiler output produced by configure, useful for debugging
  4665. # configure, is in config.log if it exists.
  4666.  
  4667. debug=false
  4668. SHELL=\${CONFIG_SHELL-$SHELL}
  4669. _ACEOF
  4670.  
  4671. cat >>$CONFIG_STATUS <<\_ACEOF
  4672. ## --------------------- ##
  4673. ## M4sh Initialization.  ##
  4674. ## --------------------- ##
  4675.  
  4676. # Be Bourne compatible
  4677. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  4678.   emulate sh
  4679.   NULLCMD=:
  4680.   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  4681.   # is contrary to our usage.  Disable this feature.
  4682.   alias -g '${1+"$@"}'='"$@"'
  4683. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  4684.   set -o posix
  4685. fi
  4686.  
  4687. # Support unset when possible.
  4688. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  4689.   as_unset=unset
  4690. else
  4691.   as_unset=false
  4692. fi
  4693.  
  4694.  
  4695. # Work around bugs in pre-3.0 UWIN ksh.
  4696. $as_unset ENV MAIL MAILPATH
  4697. PS1='$ '
  4698. PS2='> '
  4699. PS4='+ '
  4700.  
  4701. # NLS nuisances.
  4702. for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
  4703. do
  4704.   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  4705.     eval $as_var=C; export $as_var
  4706.   else
  4707.     $as_unset $as_var
  4708.   fi
  4709. done
  4710.  
  4711. # Required to use basename.
  4712. if expr a : '\(a\)' >/dev/null 2>&1; then
  4713.   as_expr=expr
  4714. else
  4715.   as_expr=false
  4716. fi
  4717.  
  4718. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  4719.   as_basename=basename
  4720. else
  4721.   as_basename=false
  4722. fi
  4723.  
  4724.  
  4725. # Name of the executable.
  4726. as_me=`$as_basename "$0" ||
  4727. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  4728.      X"$0" : 'X\(//\)$' \| \
  4729.      X"$0" : 'X\(/\)$' \| \
  4730.      .     : '\(.\)' 2>/dev/null ||
  4731. echo X/"$0" |
  4732.     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  4733.         /^X\/\(\/\/\)$/{ s//\1/; q; }
  4734.         /^X\/\(\/\).*/{ s//\1/; q; }
  4735.         s/.*/./; q'`
  4736.  
  4737.  
  4738. # PATH needs CR, and LINENO needs CR and PATH.
  4739. # Avoid depending upon Character Ranges.
  4740. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  4741. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  4742. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  4743. as_cr_digits='0123456789'
  4744. as_cr_alnum=$as_cr_Letters$as_cr_digits
  4745.  
  4746. # The user is always right.
  4747. if test "${PATH_SEPARATOR+set}" != set; then
  4748.   echo "#! /bin/sh" >conftest.sh
  4749.   echo  "exit 0"   >>conftest.sh
  4750.   chmod +x conftest.sh
  4751.   if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
  4752.     PATH_SEPARATOR=';'
  4753.   else
  4754.     PATH_SEPARATOR=:
  4755.   fi
  4756.   rm -f conftest.sh
  4757. fi
  4758.  
  4759.  
  4760.   as_lineno_1=$LINENO
  4761.   as_lineno_2=$LINENO
  4762.   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  4763.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  4764.   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  4765.   # Find who we are.  Look in the path if we contain no path at all
  4766.   # relative or not.
  4767.   case $0 in
  4768.     *[\\/]* ) as_myself=$0 ;;
  4769.     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4770. for as_dir in $PATH
  4771. do
  4772.   IFS=$as_save_IFS
  4773.   test -z "$as_dir" && as_dir=.
  4774.   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  4775. done
  4776.  
  4777.        ;;
  4778.   esac
  4779.   # We did not find ourselves, most probably we were run as `sh COMMAND'
  4780.   # in which case we are not to be found in the path.
  4781.   if test "x$as_myself" = x; then
  4782.     as_myself=$0
  4783.   fi
  4784.   if test ! -f "$as_myself"; then
  4785.     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  4786. echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  4787.    { (exit 1); exit 1; }; }
  4788.   fi
  4789.   case $CONFIG_SHELL in
  4790.   '')
  4791.     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4792. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  4793. do
  4794.   IFS=$as_save_IFS
  4795.   test -z "$as_dir" && as_dir=.
  4796.   for as_base in sh bash ksh sh5; do
  4797.      case $as_dir in
  4798.      /*)
  4799.        if ("$as_dir/$as_base" -c '
  4800.   as_lineno_1=$LINENO
  4801.   as_lineno_2=$LINENO
  4802.   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  4803.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  4804.   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  4805.          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  4806.          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  4807.          CONFIG_SHELL=$as_dir/$as_base
  4808.          export CONFIG_SHELL
  4809.          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  4810.        fi;;
  4811.      esac
  4812.        done
  4813. done
  4814. ;;
  4815.   esac
  4816.  
  4817.   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  4818.   # uniformly replaced by the line number.  The first 'sed' inserts a
  4819.   # line-number line before each line; the second 'sed' does the real
  4820.   # work.  The second script uses 'N' to pair each line-number line
  4821.   # with the numbered line, and appends trailing '-' during
  4822.   # substitution so that $LINENO is not a special case at line end.
  4823.   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  4824.   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  4825.   sed '=' <$as_myself |
  4826.     sed '
  4827.       N
  4828.       s,$,-,
  4829.       : loop
  4830.       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  4831.       t loop
  4832.       s,-$,,
  4833.       s,^['$as_cr_digits']*\n,,
  4834.     ' >$as_me.lineno &&
  4835.   chmod +x $as_me.lineno ||
  4836.     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  4837. echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  4838.    { (exit 1); exit 1; }; }
  4839.  
  4840.   # Don't try to exec as it changes $[0], causing all sort of problems
  4841.   # (the dirname of $[0] is not the place where we might find the
  4842.   # original and so on.  Autoconf is especially sensible to this).
  4843.   . ./$as_me.lineno
  4844.   # Exit status is that of the last command.
  4845.   exit
  4846. }
  4847.  
  4848.  
  4849. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  4850.   *c*,-n*) ECHO_N= ECHO_C='
  4851. ' ECHO_T='    ' ;;
  4852.   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  4853.   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  4854. esac
  4855.  
  4856. if expr a : '\(a\)' >/dev/null 2>&1; then
  4857.   as_expr=expr
  4858. else
  4859.   as_expr=false
  4860. fi
  4861.  
  4862. rm -f conf$$ conf$$.exe conf$$.file
  4863. echo >conf$$.file
  4864. if ln -s conf$$.file conf$$ 2>/dev/null; then
  4865.   # We could just check for DJGPP; but this test a) works b) is more generic
  4866.   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  4867.   if test -f conf$$.exe; then
  4868.     # Don't use ln at all; we don't have any links
  4869.     as_ln_s='cp -p'
  4870.   else
  4871.     as_ln_s='ln -s'
  4872.   fi
  4873. elif ln conf$$.file conf$$ 2>/dev/null; then
  4874.   as_ln_s=ln
  4875. else
  4876.   as_ln_s='cp -p'
  4877. fi
  4878. rm -f conf$$ conf$$.exe conf$$.file
  4879.  
  4880. if mkdir -p . 2>/dev/null; then
  4881.   as_mkdir_p=:
  4882. else
  4883.   as_mkdir_p=false
  4884. fi
  4885.  
  4886. as_executable_p="test -f"
  4887.  
  4888. # Sed expression to map a string onto a valid CPP name.
  4889. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  4890.  
  4891. # Sed expression to map a string onto a valid variable name.
  4892. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  4893.  
  4894.  
  4895. # IFS
  4896. # We need space, tab and new line, in precisely that order.
  4897. as_nl='
  4898. '
  4899. IFS="     $as_nl"
  4900.  
  4901. # CDPATH.
  4902. $as_unset CDPATH
  4903.  
  4904. exec 6>&1
  4905.  
  4906. # Open the log real soon, to keep \$[0] and so on meaningful, and to
  4907. # report actual input values of CONFIG_FILES etc. instead of their
  4908. # values after options handling.  Logging --version etc. is OK.
  4909. exec 5>>config.log
  4910. {
  4911.   echo
  4912.   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  4913. ## Running $as_me. ##
  4914. _ASBOX
  4915. } >&5
  4916. cat >&5 <<_CSEOF
  4917.  
  4918. This file was extended by $as_me, which was
  4919. generated by GNU Autoconf 2.54.  Invocation command line was
  4920.  
  4921.   CONFIG_FILES    = $CONFIG_FILES
  4922.   CONFIG_HEADERS  = $CONFIG_HEADERS
  4923.   CONFIG_LINKS    = $CONFIG_LINKS
  4924.   CONFIG_COMMANDS = $CONFIG_COMMANDS
  4925.   $ $0 $@
  4926.  
  4927. _CSEOF
  4928. echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  4929. echo >&5
  4930. _ACEOF
  4931.  
  4932. # Files that config.status was made for.
  4933. if test -n "$ac_config_files"; then
  4934.   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  4935. fi
  4936.  
  4937. if test -n "$ac_config_headers"; then
  4938.   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  4939. fi
  4940.  
  4941. if test -n "$ac_config_links"; then
  4942.   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  4943. fi
  4944.  
  4945. if test -n "$ac_config_commands"; then
  4946.   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  4947. fi
  4948.  
  4949. cat >>$CONFIG_STATUS <<\_ACEOF
  4950.  
  4951. ac_cs_usage="\
  4952. \`$as_me' instantiates files from templates according to the
  4953. current configuration.
  4954.  
  4955. Usage: $0 [OPTIONS] [FILE]...
  4956.  
  4957.   -h, --help       print this help, then exit
  4958.   -V, --version    print version number, then exit
  4959.   -d, --debug      don't remove temporary files
  4960.       --recheck    update $as_me by reconfiguring in the same conditions
  4961.   --file=FILE[:TEMPLATE]
  4962.                    instantiate the configuration file FILE
  4963.   --header=FILE[:TEMPLATE]
  4964.                    instantiate the configuration header FILE
  4965.  
  4966. Configuration files:
  4967. $config_files
  4968.  
  4969. Configuration headers:
  4970. $config_headers
  4971.  
  4972. Configuration commands:
  4973. $config_commands
  4974.  
  4975. Report bugs to <bug-autoconf@gnu.org>."
  4976. _ACEOF
  4977.  
  4978. cat >>$CONFIG_STATUS <<_ACEOF
  4979. ac_cs_version="\\
  4980. config.status
  4981. configured by $0, generated by GNU Autoconf 2.54,
  4982.   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  4983.  
  4984. Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  4985. Free Software Foundation, Inc.
  4986. This config.status script is free software; the Free Software Foundation
  4987. gives unlimited permission to copy, distribute and modify it."
  4988. srcdir=$srcdir
  4989. INSTALL="$INSTALL"
  4990. _ACEOF
  4991.  
  4992. cat >>$CONFIG_STATUS <<\_ACEOF
  4993. # If no file are specified by the user, then we need to provide default
  4994. # value.  By we need to know if files were specified by the user.
  4995. ac_need_defaults=:
  4996. while test $# != 0
  4997. do
  4998.   case $1 in
  4999.   --*=*)
  5000.     ac_option=`expr "x$1" : 'x\([^=]*\)='`
  5001.     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  5002.     ac_shift=:
  5003.     ;;
  5004.   -*)
  5005.     ac_option=$1
  5006.     ac_optarg=$2
  5007.     ac_shift=shift
  5008.     ;;
  5009.   *) # This is not an option, so the user has probably given explicit
  5010.      # arguments.
  5011.      ac_option=$1
  5012.      ac_need_defaults=false;;
  5013.   esac
  5014.  
  5015.   case $ac_option in
  5016.   # Handling of the options.
  5017. _ACEOF
  5018. cat >>$CONFIG_STATUS <<_ACEOF
  5019.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  5020.     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
  5021.     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
  5022. _ACEOF
  5023. cat >>$CONFIG_STATUS <<\_ACEOF
  5024.   --version | --vers* | -V )
  5025.     echo "$ac_cs_version"; exit 0 ;;
  5026.   --he | --h)
  5027.     # Conflict between --help and --header
  5028.     { { echo "$as_me:$LINENO: error: ambiguous option: $1
  5029. Try \`$0 --help' for more information." >&5
  5030. echo "$as_me: error: ambiguous option: $1
  5031. Try \`$0 --help' for more information." >&2;}
  5032.    { (exit 1); exit 1; }; };;
  5033.   --help | --hel | -h )
  5034.     echo "$ac_cs_usage"; exit 0 ;;
  5035.   --debug | --d* | -d )
  5036.     debug=: ;;
  5037.   --file | --fil | --fi | --f )
  5038.     $ac_shift
  5039.     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  5040.     ac_need_defaults=false;;
  5041.   --header | --heade | --head | --hea )
  5042.     $ac_shift
  5043.     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  5044.     ac_need_defaults=false;;
  5045.  
  5046.   # This is an error.
  5047.   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  5048. Try \`$0 --help' for more information." >&5
  5049. echo "$as_me: error: unrecognized option: $1
  5050. Try \`$0 --help' for more information." >&2;}
  5051.    { (exit 1); exit 1; }; } ;;
  5052.  
  5053.   *) ac_config_targets="$ac_config_targets $1" ;;
  5054.  
  5055.   esac
  5056.   shift
  5057. done
  5058.  
  5059. _ACEOF
  5060.  
  5061. cat >>$CONFIG_STATUS <<_ACEOF
  5062. #
  5063. # INIT-COMMANDS section.
  5064. #
  5065.  
  5066. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  5067.  
  5068. _ACEOF
  5069.  
  5070.  
  5071.  
  5072. cat >>$CONFIG_STATUS <<\_ACEOF
  5073. for ac_config_target in $ac_config_targets
  5074. do
  5075.   case "$ac_config_target" in
  5076.   # Handling of arguments.
  5077.   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  5078.   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  5079.   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  5080.   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  5081. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  5082.    { (exit 1); exit 1; }; };;
  5083.   esac
  5084. done
  5085.  
  5086. # If the user did not use the arguments to specify the items to instantiate,
  5087. # then the envvar interface is used.  Set only those that are not.
  5088. # We use the long form for the default assignment because of an extremely
  5089. # bizarre bug on SunOS 4.1.3.
  5090. if $ac_need_defaults; then
  5091.   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  5092.   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  5093.   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  5094. fi
  5095.  
  5096. # Create a temporary directory, and hook for its removal unless debugging.
  5097. $debug ||
  5098. {
  5099.   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  5100.   trap '{ (exit 1); exit 1; }' 1 2 13 15
  5101. }
  5102.  
  5103. # Create a (secure) tmp directory for tmp files.
  5104. : ${TMPDIR=/tmp}
  5105. {
  5106.   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
  5107.   test -n "$tmp" && test -d "$tmp"
  5108. }  ||
  5109. {
  5110.   tmp=$TMPDIR/cs$$-$RANDOM
  5111.   (umask 077 && mkdir $tmp)
  5112. } ||
  5113. {
  5114.    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
  5115.    { (exit 1); exit 1; }
  5116. }
  5117.  
  5118. _ACEOF
  5119.  
  5120. cat >>$CONFIG_STATUS <<_ACEOF
  5121.  
  5122. #
  5123. # CONFIG_FILES section.
  5124. #
  5125.  
  5126. # No need to generate the scripts if there are no CONFIG_FILES.
  5127. # This happens for instance when ./config.status config.h
  5128. if test -n "\$CONFIG_FILES"; then
  5129.   # Protect against being on the right side of a sed subst in config.status.
  5130.   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  5131.    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  5132. s,@SHELL@,$SHELL,;t t
  5133. s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
  5134. s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
  5135. s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
  5136. s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
  5137. s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
  5138. s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  5139. s,@exec_prefix@,$exec_prefix,;t t
  5140. s,@prefix@,$prefix,;t t
  5141. s,@program_transform_name@,$program_transform_name,;t t
  5142. s,@bindir@,$bindir,;t t
  5143. s,@sbindir@,$sbindir,;t t
  5144. s,@libexecdir@,$libexecdir,;t t
  5145. s,@datadir@,$datadir,;t t
  5146. s,@sysconfdir@,$sysconfdir,;t t
  5147. s,@sharedstatedir@,$sharedstatedir,;t t
  5148. s,@localstatedir@,$localstatedir,;t t
  5149. s,@libdir@,$libdir,;t t
  5150. s,@includedir@,$includedir,;t t
  5151. s,@oldincludedir@,$oldincludedir,;t t
  5152. s,@infodir@,$infodir,;t t
  5153. s,@mandir@,$mandir,;t t
  5154. s,@build_alias@,$build_alias,;t t
  5155. s,@host_alias@,$host_alias,;t t
  5156. s,@target_alias@,$target_alias,;t t
  5157. s,@DEFS@,$DEFS,;t t
  5158. s,@ECHO_C@,$ECHO_C,;t t
  5159. s,@ECHO_N@,$ECHO_N,;t t
  5160. s,@ECHO_T@,$ECHO_T,;t t
  5161. s,@LIBS@,$LIBS,;t t
  5162. s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
  5163. s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
  5164. s,@INSTALL_DATA@,$INSTALL_DATA,;t t
  5165. s,@CYGPATH_W@,$CYGPATH_W,;t t
  5166. s,@PACKAGE@,$PACKAGE,;t t
  5167. s,@VERSION@,$VERSION,;t t
  5168. s,@ACLOCAL@,$ACLOCAL,;t t
  5169. s,@AUTOCONF@,$AUTOCONF,;t t
  5170. s,@AUTOMAKE@,$AUTOMAKE,;t t
  5171. s,@AUTOHEADER@,$AUTOHEADER,;t t
  5172. s,@MAKEINFO@,$MAKEINFO,;t t
  5173. s,@AMTAR@,$AMTAR,;t t
  5174. s,@install_sh@,$install_sh,;t t
  5175. s,@STRIP@,$STRIP,;t t
  5176. s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
  5177. s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
  5178. s,@AWK@,$AWK,;t t
  5179. s,@SET_MAKE@,$SET_MAKE,;t t
  5180. s,@am__leading_dot@,$am__leading_dot,;t t
  5181. s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
  5182. s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
  5183. s,@MAINT@,$MAINT,;t t
  5184. s,@CC@,$CC,;t t
  5185. s,@CFLAGS@,$CFLAGS,;t t
  5186. s,@LDFLAGS@,$LDFLAGS,;t t
  5187. s,@CPPFLAGS@,$CPPFLAGS,;t t
  5188. s,@ac_ct_CC@,$ac_ct_CC,;t t
  5189. s,@EXEEXT@,$EXEEXT,;t t
  5190. s,@OBJEXT@,$OBJEXT,;t t
  5191. s,@DEPDIR@,$DEPDIR,;t t
  5192. s,@am__include@,$am__include,;t t
  5193. s,@am__quote@,$am__quote,;t t
  5194. s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
  5195. s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
  5196. s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
  5197. s,@CCDEPMODE@,$CCDEPMODE,;t t
  5198. s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
  5199. s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
  5200. s,@CPP@,$CPP,;t t
  5201. s,@EGREP@,$EGREP,;t t
  5202. s,@U@,$U,;t t
  5203. s,@ANSI2KNR@,$ANSI2KNR,;t t
  5204. s,@LEX@,$LEX,;t t
  5205. s,@LEXLIB@,$LEXLIB,;t t
  5206. s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
  5207. s,@YACC@,$YACC,;t t
  5208. s,@TAR@,$TAR,;t t
  5209. s,@INST_PROGS@,$INST_PROGS,;t t
  5210. s,@LIBOBJS@,$LIBOBJS,;t t
  5211. s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  5212. CEOF
  5213.  
  5214. _ACEOF
  5215.  
  5216.   cat >>$CONFIG_STATUS <<\_ACEOF
  5217.   # Split the substitutions into bite-sized pieces for seds with
  5218.   # small command number limits, like on Digital OSF/1 and HP-UX.
  5219.   ac_max_sed_lines=48
  5220.   ac_sed_frag=1 # Number of current file.
  5221.   ac_beg=1 # First line for current file.
  5222.   ac_end=$ac_max_sed_lines # Line after last line for current file.
  5223.   ac_more_lines=:
  5224.   ac_sed_cmds=
  5225.   while $ac_more_lines; do
  5226.     if test $ac_beg -gt 1; then
  5227.       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  5228.     else
  5229.       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  5230.     fi
  5231.     if test ! -s $tmp/subs.frag; then
  5232.       ac_more_lines=false
  5233.     else
  5234.       # The purpose of the label and of the branching condition is to
  5235.       # speed up the sed processing (if there are no `@' at all, there
  5236.       # is no need to browse any of the substitutions).
  5237.       # These are the two extra sed commands mentioned above.
  5238.       (echo ':t
  5239.   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  5240.       if test -z "$ac_sed_cmds"; then
  5241.       ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  5242.       else
  5243.       ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  5244.       fi
  5245.       ac_sed_frag=`expr $ac_sed_frag + 1`
  5246.       ac_beg=$ac_end
  5247.       ac_end=`expr $ac_end + $ac_max_sed_lines`
  5248.     fi
  5249.   done
  5250.   if test -z "$ac_sed_cmds"; then
  5251.     ac_sed_cmds=cat
  5252.   fi
  5253. fi # test -n "$CONFIG_FILES"
  5254.  
  5255. _ACEOF
  5256. cat >>$CONFIG_STATUS <<\_ACEOF
  5257. for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  5258.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  5259.   case $ac_file in
  5260.   - | *:- | *:-:* ) # input from stdin
  5261.         cat >$tmp/stdin
  5262.         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  5263.         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  5264.   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  5265.         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  5266.   * )   ac_file_in=$ac_file.in ;;
  5267.   esac
  5268.  
  5269.   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  5270.   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  5271. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5272.          X"$ac_file" : 'X\(//\)[^/]' \| \
  5273.          X"$ac_file" : 'X\(//\)$' \| \
  5274.          X"$ac_file" : 'X\(/\)' \| \
  5275.          .     : '\(.\)' 2>/dev/null ||
  5276. echo X"$ac_file" |
  5277.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  5278.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  5279.         /^X\(\/\/\)$/{ s//\1/; q; }
  5280.         /^X\(\/\).*/{ s//\1/; q; }
  5281.         s/.*/./; q'`
  5282.   { if $as_mkdir_p; then
  5283.     mkdir -p "$ac_dir"
  5284.   else
  5285.     as_dir="$ac_dir"
  5286.     as_dirs=
  5287.     while test ! -d "$as_dir"; do
  5288.       as_dirs="$as_dir $as_dirs"
  5289.       as_dir=`(dirname "$as_dir") 2>/dev/null ||
  5290. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5291.          X"$as_dir" : 'X\(//\)[^/]' \| \
  5292.          X"$as_dir" : 'X\(//\)$' \| \
  5293.          X"$as_dir" : 'X\(/\)' \| \
  5294.          .     : '\(.\)' 2>/dev/null ||
  5295. echo X"$as_dir" |
  5296.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  5297.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  5298.         /^X\(\/\/\)$/{ s//\1/; q; }
  5299.         /^X\(\/\).*/{ s//\1/; q; }
  5300.         s/.*/./; q'`
  5301.     done
  5302.     test ! -n "$as_dirs" || mkdir $as_dirs
  5303.   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  5304. echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  5305.    { (exit 1); exit 1; }; }; }
  5306.  
  5307.   ac_builddir=.
  5308.  
  5309. if test "$ac_dir" != .; then
  5310.   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  5311.   # A "../" for each directory in $ac_dir_suffix.
  5312.   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  5313. else
  5314.   ac_dir_suffix= ac_top_builddir=
  5315. fi
  5316.  
  5317. case $srcdir in
  5318.   .)  # No --srcdir option.  We are building in place.
  5319.     ac_srcdir=.
  5320.     if test -z "$ac_top_builddir"; then
  5321.        ac_top_srcdir=.
  5322.     else
  5323.        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  5324.     fi ;;
  5325.   [\\/]* | ?:[\\/]* )  # Absolute path.
  5326.     ac_srcdir=$srcdir$ac_dir_suffix;
  5327.     ac_top_srcdir=$srcdir ;;
  5328.   *) # Relative path.
  5329.     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  5330.     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  5331. esac
  5332. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  5333. # absolute.
  5334. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  5335. ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  5336. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  5337. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  5338.  
  5339.  
  5340.   case $INSTALL in
  5341.   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  5342.   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
  5343.   esac
  5344.  
  5345.   if test x"$ac_file" != x-; then
  5346.     { echo "$as_me:$LINENO: creating $ac_file" >&5
  5347. echo "$as_me: creating $ac_file" >&6;}
  5348.     rm -f "$ac_file"
  5349.   fi
  5350.   # Let's still pretend it is `configure' which instantiates (i.e., don't
  5351.   # use $as_me), people would be surprised to read:
  5352.   #    /* config.h.  Generated by config.status.  */
  5353.   if test x"$ac_file" = x-; then
  5354.     configure_input=
  5355.   else
  5356.     configure_input="$ac_file.  "
  5357.   fi
  5358.   configure_input=$configure_input"Generated from `echo $ac_file_in |
  5359.                                      sed 's,.*/,,'` by configure."
  5360.  
  5361.   # First look for the input files in the build tree, otherwise in the
  5362.   # src tree.
  5363.   ac_file_inputs=`IFS=:
  5364.     for f in $ac_file_in; do
  5365.       case $f in
  5366.       -) echo $tmp/stdin ;;
  5367.       [\\/$]*)
  5368.          # Absolute (can't be DOS-style, as IFS=:)
  5369.          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  5370. echo "$as_me: error: cannot find input file: $f" >&2;}
  5371.    { (exit 1); exit 1; }; }
  5372.          echo $f;;
  5373.       *) # Relative
  5374.          if test -f "$f"; then
  5375.            # Build tree
  5376.            echo $f
  5377.          elif test -f "$srcdir/$f"; then
  5378.            # Source tree
  5379.            echo $srcdir/$f
  5380.          else
  5381.            # /dev/null tree
  5382.            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  5383. echo "$as_me: error: cannot find input file: $f" >&2;}
  5384.    { (exit 1); exit 1; }; }
  5385.          fi;;
  5386.       esac
  5387.     done` || { (exit 1); exit 1; }
  5388. _ACEOF
  5389. cat >>$CONFIG_STATUS <<_ACEOF
  5390.   sed "$ac_vpsub
  5391. $extrasub
  5392. _ACEOF
  5393. cat >>$CONFIG_STATUS <<\_ACEOF
  5394. :t
  5395. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  5396. s,@configure_input@,$configure_input,;t t
  5397. s,@srcdir@,$ac_srcdir,;t t
  5398. s,@abs_srcdir@,$ac_abs_srcdir,;t t
  5399. s,@top_srcdir@,$ac_top_srcdir,;t t
  5400. s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
  5401. s,@builddir@,$ac_builddir,;t t
  5402. s,@abs_builddir@,$ac_abs_builddir,;t t
  5403. s,@top_builddir@,$ac_top_builddir,;t t
  5404. s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  5405. s,@INSTALL@,$ac_INSTALL,;t t
  5406. " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  5407.   rm -f $tmp/stdin
  5408.   if test x"$ac_file" != x-; then
  5409.     mv $tmp/out $ac_file
  5410.   else
  5411.     cat $tmp/out
  5412.     rm -f $tmp/out
  5413.   fi
  5414.  
  5415. done
  5416. _ACEOF
  5417. cat >>$CONFIG_STATUS <<\_ACEOF
  5418.  
  5419. #
  5420. # CONFIG_HEADER section.
  5421. #
  5422.  
  5423. # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  5424. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  5425. #
  5426. # ac_d sets the value in "#define NAME VALUE" lines.
  5427. ac_dA='s,^\([     ]*\)#\([     ]*define[     ][     ]*\)'
  5428. ac_dB='[     ].*$,\1#\2'
  5429. ac_dC=' '
  5430. ac_dD=',;t'
  5431. # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  5432. ac_uA='s,^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  5433. ac_uB='$,\1#\2define\3'
  5434. ac_uC=' '
  5435. ac_uD=',;t'
  5436.  
  5437. for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  5438.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  5439.   case $ac_file in
  5440.   - | *:- | *:-:* ) # input from stdin
  5441.         cat >$tmp/stdin
  5442.         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  5443.         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  5444.   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  5445.         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  5446.   * )   ac_file_in=$ac_file.in ;;
  5447.   esac
  5448.  
  5449.   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
  5450. echo "$as_me: creating $ac_file" >&6;}
  5451.  
  5452.   # First look for the input files in the build tree, otherwise in the
  5453.   # src tree.
  5454.   ac_file_inputs=`IFS=:
  5455.     for f in $ac_file_in; do
  5456.       case $f in
  5457.       -) echo $tmp/stdin ;;
  5458.       [\\/$]*)
  5459.          # Absolute (can't be DOS-style, as IFS=:)
  5460.          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  5461. echo "$as_me: error: cannot find input file: $f" >&2;}
  5462.    { (exit 1); exit 1; }; }
  5463.          echo $f;;
  5464.       *) # Relative
  5465.          if test -f "$f"; then
  5466.            # Build tree
  5467.            echo $f
  5468.          elif test -f "$srcdir/$f"; then
  5469.            # Source tree
  5470.            echo $srcdir/$f
  5471.          else
  5472.            # /dev/null tree
  5473.            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  5474. echo "$as_me: error: cannot find input file: $f" >&2;}
  5475.    { (exit 1); exit 1; }; }
  5476.          fi;;
  5477.       esac
  5478.     done` || { (exit 1); exit 1; }
  5479.   # Remove the trailing spaces.
  5480.   sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
  5481.  
  5482. _ACEOF
  5483.  
  5484. # Transform confdefs.h into two sed scripts, `conftest.defines' and
  5485. # `conftest.undefs', that substitutes the proper values into
  5486. # config.h.in to produce config.h.  The first handles `#define'
  5487. # templates, and the second `#undef' templates.
  5488. # And first: Protect against being on the right side of a sed subst in
  5489. # config.status.  Protect against being in an unquoted here document
  5490. # in config.status.
  5491. rm -f conftest.defines conftest.undefs
  5492. # Using a here document instead of a string reduces the quoting nightmare.
  5493. # Putting comments in sed scripts is not portable.
  5494. #
  5495. # `end' is used to avoid that the second main sed command (meant for
  5496. # 0-ary CPP macros) applies to n-ary macro definitions.
  5497. # See the Autoconf documentation for `clear'.
  5498. cat >confdef2sed.sed <<\_ACEOF
  5499. s/[\\&,]/\\&/g
  5500. s,[\\$`],\\&,g
  5501. t clear
  5502. : clear
  5503. s,^[     ]*#[     ]*define[     ][     ]*\([^     (][^     (]*\)\(([^)]*)\)[     ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
  5504. t end
  5505. s,^[     ]*#[     ]*define[     ][     ]*\([^     ][^     ]*\)[     ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  5506. : end
  5507. _ACEOF
  5508. # If some macros were called several times there might be several times
  5509. # the same #defines, which is useless.  Nevertheless, we may not want to
  5510. # sort them, since we want the *last* AC-DEFINE to be honored.
  5511. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
  5512. sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
  5513. rm -f confdef2sed.sed
  5514.  
  5515. # This sed command replaces #undef with comments.  This is necessary, for
  5516. # example, in the case of _POSIX_SOURCE, which is predefined and required
  5517. # on some systems where configure will not decide to define it.
  5518. cat >>conftest.undefs <<\_ACEOF
  5519. s,^[     ]*#[     ]*undef[     ][     ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  5520. _ACEOF
  5521.  
  5522. # Break up conftest.defines because some shells have a limit on the size
  5523. # of here documents, and old seds have small limits too (100 cmds).
  5524. echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
  5525. echo '  if grep "^[     ]*#[     ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
  5526. echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
  5527. echo '  :' >>$CONFIG_STATUS
  5528. rm -f conftest.tail
  5529. while grep . conftest.defines >/dev/null
  5530. do
  5531.   # Write a limited-size here document to $tmp/defines.sed.
  5532.   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  5533.   # Speed up: don't consider the non `#define' lines.
  5534.   echo '/^[     ]*#[     ]*define/!b' >>$CONFIG_STATUS
  5535.   # Work around the forget-to-reset-the-flag bug.
  5536.   echo 't clr' >>$CONFIG_STATUS
  5537.   echo ': clr' >>$CONFIG_STATUS
  5538.   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
  5539.   echo 'CEOF
  5540.   sed -f $tmp/defines.sed $tmp/in >$tmp/out
  5541.   rm -f $tmp/in
  5542.   mv $tmp/out $tmp/in
  5543. ' >>$CONFIG_STATUS
  5544.   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
  5545.   rm -f conftest.defines
  5546.   mv conftest.tail conftest.defines
  5547. done
  5548. rm -f conftest.defines
  5549. echo '  fi # grep' >>$CONFIG_STATUS
  5550. echo >>$CONFIG_STATUS
  5551.  
  5552. # Break up conftest.undefs because some shells have a limit on the size
  5553. # of here documents, and old seds have small limits too (100 cmds).
  5554. echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
  5555. rm -f conftest.tail
  5556. while grep . conftest.undefs >/dev/null
  5557. do
  5558.   # Write a limited-size here document to $tmp/undefs.sed.
  5559.   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  5560.   # Speed up: don't consider the non `#undef'
  5561.   echo '/^[     ]*#[     ]*undef/!b' >>$CONFIG_STATUS
  5562.   # Work around the forget-to-reset-the-flag bug.
  5563.   echo 't clr' >>$CONFIG_STATUS
  5564.   echo ': clr' >>$CONFIG_STATUS
  5565.   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
  5566.   echo 'CEOF
  5567.   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  5568.   rm -f $tmp/in
  5569.   mv $tmp/out $tmp/in
  5570. ' >>$CONFIG_STATUS
  5571.   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  5572.   rm -f conftest.undefs
  5573.   mv conftest.tail conftest.undefs
  5574. done
  5575. rm -f conftest.undefs
  5576.  
  5577. cat >>$CONFIG_STATUS <<\_ACEOF
  5578.   # Let's still pretend it is `configure' which instantiates (i.e., don't
  5579.   # use $as_me), people would be surprised to read:
  5580.   #    /* config.h.  Generated by config.status.  */
  5581.   if test x"$ac_file" = x-; then
  5582.     echo "/* Generated by configure.  */" >$tmp/config.h
  5583.   else
  5584.     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
  5585.   fi
  5586.   cat $tmp/in >>$tmp/config.h
  5587.   rm -f $tmp/in
  5588.   if test x"$ac_file" != x-; then
  5589.     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
  5590.       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  5591. echo "$as_me: $ac_file is unchanged" >&6;}
  5592.     else
  5593.       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  5594. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5595.          X"$ac_file" : 'X\(//\)[^/]' \| \
  5596.          X"$ac_file" : 'X\(//\)$' \| \
  5597.          X"$ac_file" : 'X\(/\)' \| \
  5598.          .     : '\(.\)' 2>/dev/null ||
  5599. echo X"$ac_file" |
  5600.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  5601.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  5602.         /^X\(\/\/\)$/{ s//\1/; q; }
  5603.         /^X\(\/\).*/{ s//\1/; q; }
  5604.         s/.*/./; q'`
  5605.       { if $as_mkdir_p; then
  5606.     mkdir -p "$ac_dir"
  5607.   else
  5608.     as_dir="$ac_dir"
  5609.     as_dirs=
  5610.     while test ! -d "$as_dir"; do
  5611.       as_dirs="$as_dir $as_dirs"
  5612.       as_dir=`(dirname "$as_dir") 2>/dev/null ||
  5613. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5614.          X"$as_dir" : 'X\(//\)[^/]' \| \
  5615.          X"$as_dir" : 'X\(//\)$' \| \
  5616.          X"$as_dir" : 'X\(/\)' \| \
  5617.          .     : '\(.\)' 2>/dev/null ||
  5618. echo X"$as_dir" |
  5619.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  5620.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  5621.         /^X\(\/\/\)$/{ s//\1/; q; }
  5622.         /^X\(\/\).*/{ s//\1/; q; }
  5623.         s/.*/./; q'`
  5624.     done
  5625.     test ! -n "$as_dirs" || mkdir $as_dirs
  5626.   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  5627. echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  5628.    { (exit 1); exit 1; }; }; }
  5629.  
  5630.       rm -f $ac_file
  5631.       mv $tmp/config.h $ac_file
  5632.     fi
  5633.   else
  5634.     cat $tmp/config.h
  5635.     rm -f $tmp/config.h
  5636.   fi
  5637. # Compute $ac_file's index in $config_headers.
  5638. _am_stamp_count=1
  5639. for _am_header in $config_headers :; do
  5640.   case $_am_header in
  5641.     $ac_file | $ac_file:* )
  5642.       break ;;
  5643.     * )
  5644.       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  5645.   esac
  5646. done
  5647. echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
  5648. $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5649.          X$ac_file : 'X\(//\)[^/]' \| \
  5650.          X$ac_file : 'X\(//\)$' \| \
  5651.          X$ac_file : 'X\(/\)' \| \
  5652.          .     : '\(.\)' 2>/dev/null ||
  5653. echo X$ac_file |
  5654.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  5655.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  5656.         /^X\(\/\/\)$/{ s//\1/; q; }
  5657.         /^X\(\/\).*/{ s//\1/; q; }
  5658.         s/.*/./; q'`/stamp-h$_am_stamp_count
  5659. done
  5660. _ACEOF
  5661. cat >>$CONFIG_STATUS <<\_ACEOF
  5662.  
  5663. #
  5664. # CONFIG_COMMANDS section.
  5665. #
  5666. for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  5667.   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  5668.   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
  5669.   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
  5670. $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5671.          X"$ac_dest" : 'X\(//\)[^/]' \| \
  5672.          X"$ac_dest" : 'X\(//\)$' \| \
  5673.          X"$ac_dest" : 'X\(/\)' \| \
  5674.          .     : '\(.\)' 2>/dev/null ||
  5675. echo X"$ac_dest" |
  5676.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  5677.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  5678.         /^X\(\/\/\)$/{ s//\1/; q; }
  5679.         /^X\(\/\).*/{ s//\1/; q; }
  5680.         s/.*/./; q'`
  5681.   ac_builddir=.
  5682.  
  5683. if test "$ac_dir" != .; then
  5684.   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  5685.   # A "../" for each directory in $ac_dir_suffix.
  5686.   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  5687. else
  5688.   ac_dir_suffix= ac_top_builddir=
  5689. fi
  5690.  
  5691. case $srcdir in
  5692.   .)  # No --srcdir option.  We are building in place.
  5693.     ac_srcdir=.
  5694.     if test -z "$ac_top_builddir"; then
  5695.        ac_top_srcdir=.
  5696.     else
  5697.        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  5698.     fi ;;
  5699.   [\\/]* | ?:[\\/]* )  # Absolute path.
  5700.     ac_srcdir=$srcdir$ac_dir_suffix;
  5701.     ac_top_srcdir=$srcdir ;;
  5702.   *) # Relative path.
  5703.     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  5704.     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  5705. esac
  5706. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  5707. # absolute.
  5708. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  5709. ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  5710. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  5711. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  5712.  
  5713.  
  5714.   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
  5715. echo "$as_me: executing $ac_dest commands" >&6;}
  5716.   case $ac_dest in
  5717.     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  5718.   # Strip MF so we end up with the name of the file.
  5719.   mf=`echo "$mf" | sed -e 's/:.*$//'`
  5720.   # Check whether this is an Automake generated Makefile or not.
  5721.   # We used to match only the files named `Makefile.in', but
  5722.   # some people rename them; so instead we look at the file content.
  5723.   # Grep'ing the first line is not enough: some people post-process
  5724.   # each Makefile.in and add a new line on top of each file to say so.
  5725.   # So let's grep whole file.
  5726.   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
  5727.     dirpart=`(dirname "$mf") 2>/dev/null ||
  5728. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5729.          X"$mf" : 'X\(//\)[^/]' \| \
  5730.          X"$mf" : 'X\(//\)$' \| \
  5731.          X"$mf" : 'X\(/\)' \| \
  5732.          .     : '\(.\)' 2>/dev/null ||
  5733. echo X"$mf" |
  5734.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  5735.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  5736.         /^X\(\/\/\)$/{ s//\1/; q; }
  5737.         /^X\(\/\).*/{ s//\1/; q; }
  5738.         s/.*/./; q'`
  5739.   else
  5740.     continue
  5741.   fi
  5742.   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
  5743.   # Extract the definition of DEP_FILES from the Makefile without
  5744.   # running `make'.
  5745.   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
  5746.   test -z "$DEPDIR" && continue
  5747.   # When using ansi2knr, U may be empty or an underscore; expand it
  5748.   U=`sed -n -e '/^U = / s///p' < "$mf"`
  5749.   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
  5750.   # We invoke sed twice because it is the simplest approach to
  5751.   # changing $(DEPDIR) to its actual value in the expansion.
  5752.   for file in `sed -n -e '
  5753.     /^DEP_FILES = .*\\\\$/ {
  5754.       s/^DEP_FILES = //
  5755.       :loop
  5756.     s/\\\\$//
  5757.     p
  5758.     n
  5759.     /\\\\$/ b loop
  5760.       p
  5761.     }
  5762.     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
  5763.        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  5764.     # Make sure the directory exists.
  5765.     test -f "$dirpart/$file" && continue
  5766.     fdir=`(dirname "$file") 2>/dev/null ||
  5767. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5768.          X"$file" : 'X\(//\)[^/]' \| \
  5769.          X"$file" : 'X\(//\)$' \| \
  5770.          X"$file" : 'X\(/\)' \| \
  5771.          .     : '\(.\)' 2>/dev/null ||
  5772. echo X"$file" |
  5773.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  5774.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  5775.         /^X\(\/\/\)$/{ s//\1/; q; }
  5776.         /^X\(\/\).*/{ s//\1/; q; }
  5777.         s/.*/./; q'`
  5778.     { if $as_mkdir_p; then
  5779.     mkdir -p $dirpart/$fdir
  5780.   else
  5781.     as_dir=$dirpart/$fdir
  5782.     as_dirs=
  5783.     while test ! -d "$as_dir"; do
  5784.       as_dirs="$as_dir $as_dirs"
  5785.       as_dir=`(dirname "$as_dir") 2>/dev/null ||
  5786. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5787.          X"$as_dir" : 'X\(//\)[^/]' \| \
  5788.          X"$as_dir" : 'X\(//\)$' \| \
  5789.          X"$as_dir" : 'X\(/\)' \| \
  5790.          .     : '\(.\)' 2>/dev/null ||
  5791. echo X"$as_dir" |
  5792.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  5793.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  5794.         /^X\(\/\/\)$/{ s//\1/; q; }
  5795.         /^X\(\/\).*/{ s//\1/; q; }
  5796.         s/.*/./; q'`
  5797.     done
  5798.     test ! -n "$as_dirs" || mkdir $as_dirs
  5799.   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
  5800. echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
  5801.    { (exit 1); exit 1; }; }; }
  5802.  
  5803.     # echo "creating $dirpart/$file"
  5804.     echo '# dummy' > "$dirpart/$file"
  5805.   done
  5806. done
  5807.  ;;
  5808.   esac
  5809. done
  5810. _ACEOF
  5811.  
  5812. cat >>$CONFIG_STATUS <<\_ACEOF
  5813.  
  5814. { (exit 0); exit 0; }
  5815. _ACEOF
  5816. chmod +x $CONFIG_STATUS
  5817. ac_clean_files=$ac_clean_files_save
  5818.  
  5819.  
  5820. # configure is writing to config.log, and then calls config.status.
  5821. # config.status does its own redirection, appending to config.log.
  5822. # Unfortunately, on DOS this fails, as config.log is still kept open
  5823. # by configure, so config.status won't be able to write to it; its
  5824. # output is simply discarded.  So we exec the FD to /dev/null,
  5825. # effectively closing config.log, so it can be properly (re)opened and
  5826. # appended to by config.status.  When coming back to configure, we
  5827. # need to make the FD available again.
  5828. if test "$no_create" != yes; then
  5829.   ac_cs_success=:
  5830.   exec 5>/dev/null
  5831.   $SHELL $CONFIG_STATUS || ac_cs_success=false
  5832.   exec 5>>config.log
  5833.   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  5834.   # would make configure fail if this is the last instruction.
  5835.   $ac_cs_success || { (exit 1); exit 1; }
  5836. fi
  5837.  
  5838.