home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / DOORL093.ZIP / doorlib-0.9.3.tar.bz2 / doorlib-0.9.3.tar / doorlib-0.9.3 / configure < prev    next >
Text File  |  2003-12-21  |  125KB  |  4,277 lines

  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.57.
  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 \
  40.   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  41.   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  42.   LC_TELEPHONE LC_TIME
  43. do
  44.   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  45.     eval $as_var=C; export $as_var
  46.   else
  47.     $as_unset $as_var
  48.   fi
  49. done
  50.  
  51. # Required to use basename.
  52. if expr a : '\(a\)' >/dev/null 2>&1; then
  53.   as_expr=expr
  54. else
  55.   as_expr=false
  56. fi
  57.  
  58. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  59.   as_basename=basename
  60. else
  61.   as_basename=false
  62. fi
  63.  
  64.  
  65. # Name of the executable.
  66. as_me=`$as_basename "$0" ||
  67. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  68.      X"$0" : 'X\(//\)$' \| \
  69.      X"$0" : 'X\(/\)$' \| \
  70.      .     : '\(.\)' 2>/dev/null ||
  71. echo X/"$0" |
  72.     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  73.         /^X\/\(\/\/\)$/{ s//\1/; q; }
  74.         /^X\/\(\/\).*/{ s//\1/; q; }
  75.         s/.*/./; q'`
  76.  
  77.  
  78. # PATH needs CR, and LINENO needs CR and PATH.
  79. # Avoid depending upon Character Ranges.
  80. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  81. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  82. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  83. as_cr_digits='0123456789'
  84. as_cr_alnum=$as_cr_Letters$as_cr_digits
  85.  
  86. # The user is always right.
  87. if test "${PATH_SEPARATOR+set}" != set; then
  88.   echo "#! /bin/sh" >conf$$.sh
  89.   echo  "exit 0"   >>conf$$.sh
  90.   chmod +x conf$$.sh
  91.   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  92.     PATH_SEPARATOR=';'
  93.   else
  94.     PATH_SEPARATOR=:
  95.   fi
  96.   rm -f conf$$.sh
  97. fi
  98.  
  99.  
  100.   as_lineno_1=$LINENO
  101.   as_lineno_2=$LINENO
  102.   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  103.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  104.   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  105.   # Find who we are.  Look in the path if we contain no path at all
  106.   # relative or not.
  107.   case $0 in
  108.     *[\\/]* ) as_myself=$0 ;;
  109.     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  110. for as_dir in $PATH
  111. do
  112.   IFS=$as_save_IFS
  113.   test -z "$as_dir" && as_dir=.
  114.   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  115. done
  116.  
  117.        ;;
  118.   esac
  119.   # We did not find ourselves, most probably we were run as `sh COMMAND'
  120.   # in which case we are not to be found in the path.
  121.   if test "x$as_myself" = x; then
  122.     as_myself=$0
  123.   fi
  124.   if test ! -f "$as_myself"; then
  125.     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  126.    { (exit 1); exit 1; }; }
  127.   fi
  128.   case $CONFIG_SHELL in
  129.   '')
  130.     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  131. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  132. do
  133.   IFS=$as_save_IFS
  134.   test -z "$as_dir" && as_dir=.
  135.   for as_base in sh bash ksh sh5; do
  136.      case $as_dir in
  137.      /*)
  138.        if ("$as_dir/$as_base" -c '
  139.   as_lineno_1=$LINENO
  140.   as_lineno_2=$LINENO
  141.   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  142.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  143.   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  144.          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  145.          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  146.          CONFIG_SHELL=$as_dir/$as_base
  147.          export CONFIG_SHELL
  148.          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  149.        fi;;
  150.      esac
  151.        done
  152. done
  153. ;;
  154.   esac
  155.  
  156.   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  157.   # uniformly replaced by the line number.  The first 'sed' inserts a
  158.   # line-number line before each line; the second 'sed' does the real
  159.   # work.  The second script uses 'N' to pair each line-number line
  160.   # with the numbered line, and appends trailing '-' during
  161.   # substitution so that $LINENO is not a special case at line end.
  162.   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  163.   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  164.   sed '=' <$as_myself |
  165.     sed '
  166.       N
  167.       s,$,-,
  168.       : loop
  169.       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  170.       t loop
  171.       s,-$,,
  172.       s,^['$as_cr_digits']*\n,,
  173.     ' >$as_me.lineno &&
  174.   chmod +x $as_me.lineno ||
  175.     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  176.    { (exit 1); exit 1; }; }
  177.  
  178.   # Don't try to exec as it changes $[0], causing all sort of problems
  179.   # (the dirname of $[0] is not the place where we might find the
  180.   # original and so on.  Autoconf is especially sensible to this).
  181.   . ./$as_me.lineno
  182.   # Exit status is that of the last command.
  183.   exit
  184. }
  185.  
  186.  
  187. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  188.   *c*,-n*) ECHO_N= ECHO_C='
  189. ' ECHO_T='    ' ;;
  190.   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  191.   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  192. esac
  193.  
  194. if expr a : '\(a\)' >/dev/null 2>&1; then
  195.   as_expr=expr
  196. else
  197.   as_expr=false
  198. fi
  199.  
  200. rm -f conf$$ conf$$.exe conf$$.file
  201. echo >conf$$.file
  202. if ln -s conf$$.file conf$$ 2>/dev/null; then
  203.   # We could just check for DJGPP; but this test a) works b) is more generic
  204.   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  205.   if test -f conf$$.exe; then
  206.     # Don't use ln at all; we don't have any links
  207.     as_ln_s='cp -p'
  208.   else
  209.     as_ln_s='ln -s'
  210.   fi
  211. elif ln conf$$.file conf$$ 2>/dev/null; then
  212.   as_ln_s=ln
  213. else
  214.   as_ln_s='cp -p'
  215. fi
  216. rm -f conf$$ conf$$.exe conf$$.file
  217.  
  218. if mkdir -p . 2>/dev/null; then
  219.   as_mkdir_p=:
  220. else
  221.   as_mkdir_p=false
  222. fi
  223.  
  224. as_executable_p="test -f"
  225.  
  226. # Sed expression to map a string onto a valid CPP name.
  227. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  228.  
  229. # Sed expression to map a string onto a valid variable name.
  230. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  231.  
  232.  
  233. # IFS
  234. # We need space, tab and new line, in precisely that order.
  235. as_nl='
  236. '
  237. IFS="     $as_nl"
  238.  
  239. # CDPATH.
  240. $as_unset CDPATH
  241.  
  242.  
  243. # Name of the host.
  244. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  245. # so uname gets run too.
  246. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  247.  
  248. exec 6>&1
  249.  
  250. #
  251. # Initializations.
  252. #
  253. ac_default_prefix=/usr/local
  254. ac_config_libobj_dir=.
  255. cross_compiling=no
  256. subdirs=
  257. MFLAGS=
  258. MAKEFLAGS=
  259. SHELL=${CONFIG_SHELL-/bin/sh}
  260.  
  261. # Maximum number of lines to put in a shell here document.
  262. # This variable seems obsolete.  It should probably be removed, and
  263. # only ac_max_sed_lines should be used.
  264. : ${ac_max_here_lines=38}
  265.  
  266. # Identity of this package.
  267. PACKAGE_NAME=
  268. PACKAGE_TARNAME=
  269. PACKAGE_VERSION=
  270. PACKAGE_STRING=
  271. PACKAGE_BUGREPORT=
  272.  
  273. ac_unique_file="src/door.h"
  274. ac_default_prefix=/usr/local
  275. # Factoring default headers for most tests.
  276. ac_includes_default="\
  277. #include <stdio.h>
  278. #if HAVE_SYS_TYPES_H
  279. # include <sys/types.h>
  280. #endif
  281. #if HAVE_SYS_STAT_H
  282. # include <sys/stat.h>
  283. #endif
  284. #if STDC_HEADERS
  285. # include <stdlib.h>
  286. # include <stddef.h>
  287. #else
  288. # if HAVE_STDLIB_H
  289. #  include <stdlib.h>
  290. # endif
  291. #endif
  292. #if HAVE_STRING_H
  293. # if !STDC_HEADERS && HAVE_MEMORY_H
  294. #  include <memory.h>
  295. # endif
  296. # include <string.h>
  297. #endif
  298. #if HAVE_STRINGS_H
  299. # include <strings.h>
  300. #endif
  301. #if HAVE_INTTYPES_H
  302. # include <inttypes.h>
  303. #else
  304. # if HAVE_STDINT_H
  305. #  include <stdint.h>
  306. # endif
  307. #endif
  308. #if HAVE_UNISTD_H
  309. # include <unistd.h>
  310. #endif"
  311.  
  312. 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 SUBDIRS PACKAGE VERSION LIBVERS COPYRIGHT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB LN_S TAR CPP EGREP LIBOBJS pkgdir LTLIBOBJS'
  313. ac_subst_files=''
  314.  
  315. # Initialize some variables set by options.
  316. ac_init_help=
  317. ac_init_version=false
  318. # The variables have the same names as the options, with
  319. # dashes changed to underlines.
  320. cache_file=/dev/null
  321. exec_prefix=NONE
  322. no_create=
  323. no_recursion=
  324. prefix=NONE
  325. program_prefix=NONE
  326. program_suffix=NONE
  327. program_transform_name=s,x,x,
  328. silent=
  329. site=
  330. srcdir=
  331. verbose=
  332. x_includes=NONE
  333. x_libraries=NONE
  334.  
  335. # Installation directory options.
  336. # These are left unexpanded so users can "make install exec_prefix=/foo"
  337. # and all the variables that are supposed to be based on exec_prefix
  338. # by default will actually change.
  339. # Use braces instead of parens because sh, perl, etc. also accept them.
  340. bindir='${exec_prefix}/bin'
  341. sbindir='${exec_prefix}/sbin'
  342. libexecdir='${exec_prefix}/libexec'
  343. datadir='${prefix}/share'
  344. sysconfdir='${prefix}/etc'
  345. sharedstatedir='${prefix}/com'
  346. localstatedir='${prefix}/var'
  347. libdir='${exec_prefix}/lib'
  348. includedir='${prefix}/include'
  349. oldincludedir='/usr/include'
  350. infodir='${prefix}/info'
  351. mandir='${prefix}/man'
  352.  
  353. ac_prev=
  354. for ac_option
  355. do
  356.   # If the previous option needs an argument, assign it.
  357.   if test -n "$ac_prev"; then
  358.     eval "$ac_prev=\$ac_option"
  359.     ac_prev=
  360.     continue
  361.   fi
  362.  
  363.   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  364.  
  365.   # Accept the important Cygnus configure options, so we can diagnose typos.
  366.  
  367.   case $ac_option in
  368.  
  369.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  370.     ac_prev=bindir ;;
  371.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  372.     bindir=$ac_optarg ;;
  373.  
  374.   -build | --build | --buil | --bui | --bu)
  375.     ac_prev=build_alias ;;
  376.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  377.     build_alias=$ac_optarg ;;
  378.  
  379.   -cache-file | --cache-file | --cache-fil | --cache-fi \
  380.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  381.     ac_prev=cache_file ;;
  382.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  383.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  384.     cache_file=$ac_optarg ;;
  385.  
  386.   --config-cache | -C)
  387.     cache_file=config.cache ;;
  388.  
  389.   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  390.     ac_prev=datadir ;;
  391.   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  392.   | --da=*)
  393.     datadir=$ac_optarg ;;
  394.  
  395.   -disable-* | --disable-*)
  396.     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  397.     # Reject names that are not valid shell variable names.
  398.     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  399.       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  400.    { (exit 1); exit 1; }; }
  401.     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  402.     eval "enable_$ac_feature=no" ;;
  403.  
  404.   -enable-* | --enable-*)
  405.     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  406.     # Reject names that are not valid shell variable names.
  407.     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  408.       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  409.    { (exit 1); exit 1; }; }
  410.     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  411.     case $ac_option in
  412.       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  413.       *) ac_optarg=yes ;;
  414.     esac
  415.     eval "enable_$ac_feature='$ac_optarg'" ;;
  416.  
  417.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  418.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  419.   | --exec | --exe | --ex)
  420.     ac_prev=exec_prefix ;;
  421.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  422.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  423.   | --exec=* | --exe=* | --ex=*)
  424.     exec_prefix=$ac_optarg ;;
  425.  
  426.   -gas | --gas | --ga | --g)
  427.     # Obsolete; use --with-gas.
  428.     with_gas=yes ;;
  429.  
  430.   -help | --help | --hel | --he | -h)
  431.     ac_init_help=long ;;
  432.   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  433.     ac_init_help=recursive ;;
  434.   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  435.     ac_init_help=short ;;
  436.  
  437.   -host | --host | --hos | --ho)
  438.     ac_prev=host_alias ;;
  439.   -host=* | --host=* | --hos=* | --ho=*)
  440.     host_alias=$ac_optarg ;;
  441.  
  442.   -includedir | --includedir | --includedi | --included | --include \
  443.   | --includ | --inclu | --incl | --inc)
  444.     ac_prev=includedir ;;
  445.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  446.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  447.     includedir=$ac_optarg ;;
  448.  
  449.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  450.     ac_prev=infodir ;;
  451.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  452.     infodir=$ac_optarg ;;
  453.  
  454.   -libdir | --libdir | --libdi | --libd)
  455.     ac_prev=libdir ;;
  456.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  457.     libdir=$ac_optarg ;;
  458.  
  459.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  460.   | --libexe | --libex | --libe)
  461.     ac_prev=libexecdir ;;
  462.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  463.   | --libexe=* | --libex=* | --libe=*)
  464.     libexecdir=$ac_optarg ;;
  465.  
  466.   -localstatedir | --localstatedir | --localstatedi | --localstated \
  467.   | --localstate | --localstat | --localsta | --localst \
  468.   | --locals | --local | --loca | --loc | --lo)
  469.     ac_prev=localstatedir ;;
  470.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  471.   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  472.   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  473.     localstatedir=$ac_optarg ;;
  474.  
  475.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  476.     ac_prev=mandir ;;
  477.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  478.     mandir=$ac_optarg ;;
  479.  
  480.   -nfp | --nfp | --nf)
  481.     # Obsolete; use --without-fp.
  482.     with_fp=no ;;
  483.  
  484.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  485.   | --no-cr | --no-c | -n)
  486.     no_create=yes ;;
  487.  
  488.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  489.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  490.     no_recursion=yes ;;
  491.  
  492.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  493.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  494.   | --oldin | --oldi | --old | --ol | --o)
  495.     ac_prev=oldincludedir ;;
  496.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  497.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  498.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  499.     oldincludedir=$ac_optarg ;;
  500.  
  501.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  502.     ac_prev=prefix ;;
  503.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  504.     prefix=$ac_optarg ;;
  505.  
  506.   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  507.   | --program-pre | --program-pr | --program-p)
  508.     ac_prev=program_prefix ;;
  509.   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  510.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  511.     program_prefix=$ac_optarg ;;
  512.  
  513.   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  514.   | --program-suf | --program-su | --program-s)
  515.     ac_prev=program_suffix ;;
  516.   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  517.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  518.     program_suffix=$ac_optarg ;;
  519.  
  520.   -program-transform-name | --program-transform-name \
  521.   | --program-transform-nam | --program-transform-na \
  522.   | --program-transform-n | --program-transform- \
  523.   | --program-transform | --program-transfor \
  524.   | --program-transfo | --program-transf \
  525.   | --program-trans | --program-tran \
  526.   | --progr-tra | --program-tr | --program-t)
  527.     ac_prev=program_transform_name ;;
  528.   -program-transform-name=* | --program-transform-name=* \
  529.   | --program-transform-nam=* | --program-transform-na=* \
  530.   | --program-transform-n=* | --program-transform-=* \
  531.   | --program-transform=* | --program-transfor=* \
  532.   | --program-transfo=* | --program-transf=* \
  533.   | --program-trans=* | --program-tran=* \
  534.   | --progr-tra=* | --program-tr=* | --program-t=*)
  535.     program_transform_name=$ac_optarg ;;
  536.  
  537.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  538.   | -silent | --silent | --silen | --sile | --sil)
  539.     silent=yes ;;
  540.  
  541.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  542.     ac_prev=sbindir ;;
  543.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  544.   | --sbi=* | --sb=*)
  545.     sbindir=$ac_optarg ;;
  546.  
  547.   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  548.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  549.   | --sharedst | --shareds | --shared | --share | --shar \
  550.   | --sha | --sh)
  551.     ac_prev=sharedstatedir ;;
  552.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  553.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  554.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  555.   | --sha=* | --sh=*)
  556.     sharedstatedir=$ac_optarg ;;
  557.  
  558.   -site | --site | --sit)
  559.     ac_prev=site ;;
  560.   -site=* | --site=* | --sit=*)
  561.     site=$ac_optarg ;;
  562.  
  563.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  564.     ac_prev=srcdir ;;
  565.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  566.     srcdir=$ac_optarg ;;
  567.  
  568.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  569.   | --syscon | --sysco | --sysc | --sys | --sy)
  570.     ac_prev=sysconfdir ;;
  571.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  572.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  573.     sysconfdir=$ac_optarg ;;
  574.  
  575.   -target | --target | --targe | --targ | --tar | --ta | --t)
  576.     ac_prev=target_alias ;;
  577.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  578.     target_alias=$ac_optarg ;;
  579.  
  580.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  581.     verbose=yes ;;
  582.  
  583.   -version | --version | --versio | --versi | --vers | -V)
  584.     ac_init_version=: ;;
  585.  
  586.   -with-* | --with-*)
  587.     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  588.     # Reject names that are not valid shell variable names.
  589.     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  590.       { echo "$as_me: error: invalid package name: $ac_package" >&2
  591.    { (exit 1); exit 1; }; }
  592.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  593.     case $ac_option in
  594.       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  595.       *) ac_optarg=yes ;;
  596.     esac
  597.     eval "with_$ac_package='$ac_optarg'" ;;
  598.  
  599.   -without-* | --without-*)
  600.     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  601.     # Reject names that are not valid shell variable names.
  602.     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  603.       { echo "$as_me: error: invalid package name: $ac_package" >&2
  604.    { (exit 1); exit 1; }; }
  605.     ac_package=`echo $ac_package | sed 's/-/_/g'`
  606.     eval "with_$ac_package=no" ;;
  607.  
  608.   --x)
  609.     # Obsolete; use --with-x.
  610.     with_x=yes ;;
  611.  
  612.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  613.   | --x-incl | --x-inc | --x-in | --x-i)
  614.     ac_prev=x_includes ;;
  615.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  616.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  617.     x_includes=$ac_optarg ;;
  618.  
  619.   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  620.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  621.     ac_prev=x_libraries ;;
  622.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  623.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  624.     x_libraries=$ac_optarg ;;
  625.  
  626.   -*) { echo "$as_me: error: unrecognized option: $ac_option
  627. Try \`$0 --help' for more information." >&2
  628.    { (exit 1); exit 1; }; }
  629.     ;;
  630.  
  631.   *=*)
  632.     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  633.     # Reject names that are not valid shell variable names.
  634.     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  635.       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  636.    { (exit 1); exit 1; }; }
  637.     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  638.     eval "$ac_envvar='$ac_optarg'"
  639.     export $ac_envvar ;;
  640.  
  641.   *)
  642.     # FIXME: should be removed in autoconf 3.0.
  643.     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  644.     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  645.       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  646.     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  647.     ;;
  648.  
  649.   esac
  650. done
  651.  
  652. if test -n "$ac_prev"; then
  653.   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  654.   { echo "$as_me: error: missing argument to $ac_option" >&2
  655.    { (exit 1); exit 1; }; }
  656. fi
  657.  
  658. # Be sure to have absolute paths.
  659. for ac_var in exec_prefix prefix
  660. do
  661.   eval ac_val=$`echo $ac_var`
  662.   case $ac_val in
  663.     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  664.     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  665.    { (exit 1); exit 1; }; };;
  666.   esac
  667. done
  668.  
  669. # Be sure to have absolute paths.
  670. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  671.               localstatedir libdir includedir oldincludedir infodir mandir
  672. do
  673.   eval ac_val=$`echo $ac_var`
  674.   case $ac_val in
  675.     [\\/$]* | ?:[\\/]* ) ;;
  676.     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  677.    { (exit 1); exit 1; }; };;
  678.   esac
  679. done
  680.  
  681. # There might be people who depend on the old broken behavior: `$host'
  682. # used to hold the argument of --host etc.
  683. # FIXME: To remove some day.
  684. build=$build_alias
  685. host=$host_alias
  686. target=$target_alias
  687.  
  688. # FIXME: To remove some day.
  689. if test "x$host_alias" != x; then
  690.   if test "x$build_alias" = x; then
  691.     cross_compiling=maybe
  692.     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  693.     If a cross compiler is detected then cross compile mode will be used." >&2
  694.   elif test "x$build_alias" != "x$host_alias"; then
  695.     cross_compiling=yes
  696.   fi
  697. fi
  698.  
  699. ac_tool_prefix=
  700. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  701.  
  702. test "$silent" = yes && exec 6>/dev/null
  703.  
  704.  
  705. # Find the source files, if location was not specified.
  706. if test -z "$srcdir"; then
  707.   ac_srcdir_defaulted=yes
  708.   # Try the directory containing this script, then its parent.
  709.   ac_confdir=`(dirname "$0") 2>/dev/null ||
  710. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  711.          X"$0" : 'X\(//\)[^/]' \| \
  712.          X"$0" : 'X\(//\)$' \| \
  713.          X"$0" : 'X\(/\)' \| \
  714.          .     : '\(.\)' 2>/dev/null ||
  715. echo X"$0" |
  716.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  717.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  718.         /^X\(\/\/\)$/{ s//\1/; q; }
  719.         /^X\(\/\).*/{ s//\1/; q; }
  720.         s/.*/./; q'`
  721.   srcdir=$ac_confdir
  722.   if test ! -r $srcdir/$ac_unique_file; then
  723.     srcdir=..
  724.   fi
  725. else
  726.   ac_srcdir_defaulted=no
  727. fi
  728. if test ! -r $srcdir/$ac_unique_file; then
  729.   if test "$ac_srcdir_defaulted" = yes; then
  730.     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  731.    { (exit 1); exit 1; }; }
  732.   else
  733.     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  734.    { (exit 1); exit 1; }; }
  735.   fi
  736. fi
  737. (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  738.   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  739.    { (exit 1); exit 1; }; }
  740. srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  741. ac_env_build_alias_set=${build_alias+set}
  742. ac_env_build_alias_value=$build_alias
  743. ac_cv_env_build_alias_set=${build_alias+set}
  744. ac_cv_env_build_alias_value=$build_alias
  745. ac_env_host_alias_set=${host_alias+set}
  746. ac_env_host_alias_value=$host_alias
  747. ac_cv_env_host_alias_set=${host_alias+set}
  748. ac_cv_env_host_alias_value=$host_alias
  749. ac_env_target_alias_set=${target_alias+set}
  750. ac_env_target_alias_value=$target_alias
  751. ac_cv_env_target_alias_set=${target_alias+set}
  752. ac_cv_env_target_alias_value=$target_alias
  753. ac_env_CC_set=${CC+set}
  754. ac_env_CC_value=$CC
  755. ac_cv_env_CC_set=${CC+set}
  756. ac_cv_env_CC_value=$CC
  757. ac_env_CFLAGS_set=${CFLAGS+set}
  758. ac_env_CFLAGS_value=$CFLAGS
  759. ac_cv_env_CFLAGS_set=${CFLAGS+set}
  760. ac_cv_env_CFLAGS_value=$CFLAGS
  761. ac_env_LDFLAGS_set=${LDFLAGS+set}
  762. ac_env_LDFLAGS_value=$LDFLAGS
  763. ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  764. ac_cv_env_LDFLAGS_value=$LDFLAGS
  765. ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  766. ac_env_CPPFLAGS_value=$CPPFLAGS
  767. ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  768. ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  769. ac_env_CPP_set=${CPP+set}
  770. ac_env_CPP_value=$CPP
  771. ac_cv_env_CPP_set=${CPP+set}
  772. ac_cv_env_CPP_value=$CPP
  773.  
  774. #
  775. # Report the --help message.
  776. #
  777. if test "$ac_init_help" = "long"; then
  778.   # Omit some internal or obsolete options to make the list less imposing.
  779.   # This message is too long to be a string in the A/UX 3.1 sh.
  780.   cat <<_ACEOF
  781. \`configure' configures this package to adapt to many kinds of systems.
  782.  
  783. Usage: $0 [OPTION]... [VAR=VALUE]...
  784.  
  785. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  786. VAR=VALUE.  See below for descriptions of some of the useful variables.
  787.  
  788. Defaults for the options are specified in brackets.
  789.  
  790. Configuration:
  791.   -h, --help              display this help and exit
  792.       --help=short        display options specific to this package
  793.       --help=recursive    display the short help of all the included packages
  794.   -V, --version           display version information and exit
  795.   -q, --quiet, --silent   do not print \`checking...' messages
  796.       --cache-file=FILE   cache test results in FILE [disabled]
  797.   -C, --config-cache      alias for \`--cache-file=config.cache'
  798.   -n, --no-create         do not create output files
  799.       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  800.  
  801. _ACEOF
  802.  
  803.   cat <<_ACEOF
  804. Installation directories:
  805.   --prefix=PREFIX         install architecture-independent files in PREFIX
  806.                           [$ac_default_prefix]
  807.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  808.                           [PREFIX]
  809.  
  810. By default, \`make install' will install all the files in
  811. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  812. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  813. for instance \`--prefix=\$HOME'.
  814.  
  815. For better control, use the options below.
  816.  
  817. Fine tuning of the installation directories:
  818.   --bindir=DIR           user executables [EPREFIX/bin]
  819.   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  820.   --libexecdir=DIR       program executables [EPREFIX/libexec]
  821.   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  822.   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  823.   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  824.   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  825.   --libdir=DIR           object code libraries [EPREFIX/lib]
  826.   --includedir=DIR       C header files [PREFIX/include]
  827.   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  828.   --infodir=DIR          info documentation [PREFIX/info]
  829.   --mandir=DIR           man documentation [PREFIX/man]
  830. _ACEOF
  831.  
  832.   cat <<\_ACEOF
  833. _ACEOF
  834. fi
  835.  
  836. if test -n "$ac_init_help"; then
  837.  
  838.   cat <<\_ACEOF
  839.  
  840. Optional Features:
  841.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  842.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  843.   --enable-debugging      Compile for debugging
  844.  
  845. Some influential environment variables:
  846.   CC          C compiler command
  847.   CFLAGS      C compiler flags
  848.   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  849.               nonstandard directory <lib dir>
  850.   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
  851.               headers in a nonstandard directory <include dir>
  852.   CPP         C preprocessor
  853.  
  854. Use these variables to override the choices made by `configure' or to help
  855. it to find libraries and programs with nonstandard names/locations.
  856.  
  857. _ACEOF
  858. fi
  859.  
  860. if test "$ac_init_help" = "recursive"; then
  861.   # If there are subdirs, report their specific --help.
  862.   ac_popdir=`pwd`
  863.   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  864.     test -d $ac_dir || continue
  865.     ac_builddir=.
  866.  
  867. if test "$ac_dir" != .; then
  868.   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  869.   # A "../" for each directory in $ac_dir_suffix.
  870.   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  871. else
  872.   ac_dir_suffix= ac_top_builddir=
  873. fi
  874.  
  875. case $srcdir in
  876.   .)  # No --srcdir option.  We are building in place.
  877.     ac_srcdir=.
  878.     if test -z "$ac_top_builddir"; then
  879.        ac_top_srcdir=.
  880.     else
  881.        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  882.     fi ;;
  883.   [\\/]* | ?:[\\/]* )  # Absolute path.
  884.     ac_srcdir=$srcdir$ac_dir_suffix;
  885.     ac_top_srcdir=$srcdir ;;
  886.   *) # Relative path.
  887.     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  888.     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  889. esac
  890. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  891. # absolute.
  892. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  893. ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  894. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  895. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  896.  
  897.     cd $ac_dir
  898.     # Check for guested configure; otherwise get Cygnus style configure.
  899.     if test -f $ac_srcdir/configure.gnu; then
  900.       echo
  901.       $SHELL $ac_srcdir/configure.gnu  --help=recursive
  902.     elif test -f $ac_srcdir/configure; then
  903.       echo
  904.       $SHELL $ac_srcdir/configure  --help=recursive
  905.     elif test -f $ac_srcdir/configure.ac ||
  906.            test -f $ac_srcdir/configure.in; then
  907.       echo
  908.       $ac_configure --help
  909.     else
  910.       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  911.     fi
  912.     cd $ac_popdir
  913.   done
  914. fi
  915.  
  916. test -n "$ac_init_help" && exit 0
  917. if $ac_init_version; then
  918.   cat <<\_ACEOF
  919.  
  920. Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  921. Free Software Foundation, Inc.
  922. This configure script is free software; the Free Software Foundation
  923. gives unlimited permission to copy, distribute and modify it.
  924. _ACEOF
  925.   exit 0
  926. fi
  927. exec 5>config.log
  928. cat >&5 <<_ACEOF
  929. This file contains any messages produced by compilers while
  930. running configure, to aid debugging if configure makes a mistake.
  931.  
  932. It was created by $as_me, which was
  933. generated by GNU Autoconf 2.57.  Invocation command line was
  934.  
  935.   $ $0 $@
  936.  
  937. _ACEOF
  938. {
  939. cat <<_ASUNAME
  940. ## --------- ##
  941. ## Platform. ##
  942. ## --------- ##
  943.  
  944. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  945. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  946. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  947. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  948. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  949.  
  950. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  951. /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  952.  
  953. /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  954. /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  955. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  956. hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
  957. /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  958. /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  959. /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  960.  
  961. _ASUNAME
  962.  
  963. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  964. for as_dir in $PATH
  965. do
  966.   IFS=$as_save_IFS
  967.   test -z "$as_dir" && as_dir=.
  968.   echo "PATH: $as_dir"
  969. done
  970.  
  971. } >&5
  972.  
  973. cat >&5 <<_ACEOF
  974.  
  975.  
  976. ## ----------- ##
  977. ## Core tests. ##
  978. ## ----------- ##
  979.  
  980. _ACEOF
  981.  
  982.  
  983. # Keep a trace of the command line.
  984. # Strip out --no-create and --no-recursion so they do not pile up.
  985. # Strip out --silent because we don't want to record it for future runs.
  986. # Also quote any args containing shell meta-characters.
  987. # Make two passes to allow for proper duplicate-argument suppression.
  988. ac_configure_args=
  989. ac_configure_args0=
  990. ac_configure_args1=
  991. ac_sep=
  992. ac_must_keep_next=false
  993. for ac_pass in 1 2
  994. do
  995.   for ac_arg
  996.   do
  997.     case $ac_arg in
  998.     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  999.     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1000.     | -silent | --silent | --silen | --sile | --sil)
  1001.       continue ;;
  1002.     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1003.       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1004.     esac
  1005.     case $ac_pass in
  1006.     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1007.     2)
  1008.       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1009.       if test $ac_must_keep_next = true; then
  1010.         ac_must_keep_next=false # Got value, back to normal.
  1011.       else
  1012.         case $ac_arg in
  1013.           *=* | --config-cache | -C | -disable-* | --disable-* \
  1014.           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1015.           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1016.           | -with-* | --with-* | -without-* | --without-* | --x)
  1017.             case "$ac_configure_args0 " in
  1018.               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1019.             esac
  1020.             ;;
  1021.           -* ) ac_must_keep_next=true ;;
  1022.         esac
  1023.       fi
  1024.       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1025.       # Get rid of the leading space.
  1026.       ac_sep=" "
  1027.       ;;
  1028.     esac
  1029.   done
  1030. done
  1031. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1032. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1033.  
  1034. # When interrupted or exit'd, cleanup temporary files, and complete
  1035. # config.log.  We remove comments because anyway the quotes in there
  1036. # would cause problems or look ugly.
  1037. # WARNING: Be sure not to use single quotes in there, as some shells,
  1038. # such as our DU 5.0 friend, will then `close' the trap.
  1039. trap 'exit_status=$?
  1040.   # Save into config.log some information that might help in debugging.
  1041.   {
  1042.     echo
  1043.  
  1044.     cat <<\_ASBOX
  1045. ## ---------------- ##
  1046. ## Cache variables. ##
  1047. ## ---------------- ##
  1048. _ASBOX
  1049.     echo
  1050.     # The following way of writing the cache mishandles newlines in values,
  1051. {
  1052.   (set) 2>&1 |
  1053.     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1054.     *ac_space=\ *)
  1055.       sed -n \
  1056.         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1057.           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1058.       ;;
  1059.     *)
  1060.       sed -n \
  1061.         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1062.       ;;
  1063.     esac;
  1064. }
  1065.     echo
  1066.  
  1067.     cat <<\_ASBOX
  1068. ## ----------------- ##
  1069. ## Output variables. ##
  1070. ## ----------------- ##
  1071. _ASBOX
  1072.     echo
  1073.     for ac_var in $ac_subst_vars
  1074.     do
  1075.       eval ac_val=$`echo $ac_var`
  1076.       echo "$ac_var='"'"'$ac_val'"'"'"
  1077.     done | sort
  1078.     echo
  1079.  
  1080.     if test -n "$ac_subst_files"; then
  1081.       cat <<\_ASBOX
  1082. ## ------------- ##
  1083. ## Output files. ##
  1084. ## ------------- ##
  1085. _ASBOX
  1086.       echo
  1087.       for ac_var in $ac_subst_files
  1088.       do
  1089.     eval ac_val=$`echo $ac_var`
  1090.         echo "$ac_var='"'"'$ac_val'"'"'"
  1091.       done | sort
  1092.       echo
  1093.     fi
  1094.  
  1095.     if test -s confdefs.h; then
  1096.       cat <<\_ASBOX
  1097. ## ----------- ##
  1098. ## confdefs.h. ##
  1099. ## ----------- ##
  1100. _ASBOX
  1101.       echo
  1102.       sed "/^$/d" confdefs.h | sort
  1103.       echo
  1104.     fi
  1105.     test "$ac_signal" != 0 &&
  1106.       echo "$as_me: caught signal $ac_signal"
  1107.     echo "$as_me: exit $exit_status"
  1108.   } >&5
  1109.   rm -f core core.* *.core &&
  1110.   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1111.     exit $exit_status
  1112.      ' 0
  1113. for ac_signal in 1 2 13 15; do
  1114.   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1115. done
  1116. ac_signal=0
  1117.  
  1118. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1119. rm -rf conftest* confdefs.h
  1120. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1121. echo >confdefs.h
  1122.  
  1123. # Predefined preprocessor variables.
  1124.  
  1125. cat >>confdefs.h <<_ACEOF
  1126. #define PACKAGE_NAME "$PACKAGE_NAME"
  1127. _ACEOF
  1128.  
  1129.  
  1130. cat >>confdefs.h <<_ACEOF
  1131. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1132. _ACEOF
  1133.  
  1134.  
  1135. cat >>confdefs.h <<_ACEOF
  1136. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1137. _ACEOF
  1138.  
  1139.  
  1140. cat >>confdefs.h <<_ACEOF
  1141. #define PACKAGE_STRING "$PACKAGE_STRING"
  1142. _ACEOF
  1143.  
  1144.  
  1145. cat >>confdefs.h <<_ACEOF
  1146. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1147. _ACEOF
  1148.  
  1149.  
  1150. # Let the site file select an alternate cache file if it wants to.
  1151. # Prefer explicitly selected file to automatically selected ones.
  1152. if test -z "$CONFIG_SITE"; then
  1153.   if test "x$prefix" != xNONE; then
  1154.     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1155.   else
  1156.     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1157.   fi
  1158. fi
  1159. for ac_site_file in $CONFIG_SITE; do
  1160.   if test -r "$ac_site_file"; then
  1161.     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1162. echo "$as_me: loading site script $ac_site_file" >&6;}
  1163.     sed 's/^/| /' "$ac_site_file" >&5
  1164.     . "$ac_site_file"
  1165.   fi
  1166. done
  1167.  
  1168. if test -r "$cache_file"; then
  1169.   # Some versions of bash will fail to source /dev/null (special
  1170.   # files actually), so we avoid doing that.
  1171.   if test -f "$cache_file"; then
  1172.     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1173. echo "$as_me: loading cache $cache_file" >&6;}
  1174.     case $cache_file in
  1175.       [\\/]* | ?:[\\/]* ) . $cache_file;;
  1176.       *)                      . ./$cache_file;;
  1177.     esac
  1178.   fi
  1179. else
  1180.   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1181. echo "$as_me: creating cache $cache_file" >&6;}
  1182.   >$cache_file
  1183. fi
  1184.  
  1185. # Check that the precious variables saved in the cache have kept the same
  1186. # value.
  1187. ac_cache_corrupted=false
  1188. for ac_var in `(set) 2>&1 |
  1189.                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1190.   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1191.   eval ac_new_set=\$ac_env_${ac_var}_set
  1192.   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1193.   eval ac_new_val="\$ac_env_${ac_var}_value"
  1194.   case $ac_old_set,$ac_new_set in
  1195.     set,)
  1196.       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1197. echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1198.       ac_cache_corrupted=: ;;
  1199.     ,set)
  1200.       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1201. echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1202.       ac_cache_corrupted=: ;;
  1203.     ,);;
  1204.     *)
  1205.       if test "x$ac_old_val" != "x$ac_new_val"; then
  1206.         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1207. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1208.         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1209. echo "$as_me:   former value:  $ac_old_val" >&2;}
  1210.         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1211. echo "$as_me:   current value: $ac_new_val" >&2;}
  1212.         ac_cache_corrupted=:
  1213.       fi;;
  1214.   esac
  1215.   # Pass precious variables to config.status.
  1216.   if test "$ac_new_set" = set; then
  1217.     case $ac_new_val in
  1218.     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1219.       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1220.     *) ac_arg=$ac_var=$ac_new_val ;;
  1221.     esac
  1222.     case " $ac_configure_args " in
  1223.       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1224.       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1225.     esac
  1226.   fi
  1227. done
  1228. if $ac_cache_corrupted; then
  1229.   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1230. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1231.   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1232. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1233.    { (exit 1); exit 1; }; }
  1234. fi
  1235.  
  1236. ac_ext=c
  1237. ac_cpp='$CPP $CPPFLAGS'
  1238. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1239. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1240. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.           ac_config_headers="$ac_config_headers config.h"
  1262.  
  1263.           ac_config_commands="$ac_config_commands default-1"
  1264.  
  1265. SUBDIRS="src"
  1266.  
  1267.  
  1268. PACKAGE="doorlib"
  1269. VERSION="0.9.3"
  1270. COPYRIGHT="Copyright (C) 2003 Michiel Broek, All Rights Reserved"
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276. cat >>confdefs.h <<_ACEOF
  1277. #define VERSION "$VERSION"
  1278. _ACEOF
  1279.  
  1280. cat >>confdefs.h <<_ACEOF
  1281. #define COPYRIGHT "$COPYRIGHT"
  1282. _ACEOF
  1283.  
  1284.  
  1285.  
  1286. ac_ext=c
  1287. ac_cpp='$CPP $CPPFLAGS'
  1288. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1289. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1290. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1291. if test -n "$ac_tool_prefix"; then
  1292.   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1293. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1294. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1295. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1296. if test "${ac_cv_prog_CC+set}" = set; then
  1297.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1298. else
  1299.   if test -n "$CC"; then
  1300.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1301. else
  1302. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1303. for as_dir in $PATH
  1304. do
  1305.   IFS=$as_save_IFS
  1306.   test -z "$as_dir" && as_dir=.
  1307.   for ac_exec_ext in '' $ac_executable_extensions; do
  1308.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1309.     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1310.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1311.     break 2
  1312.   fi
  1313. done
  1314. done
  1315.  
  1316. fi
  1317. fi
  1318. CC=$ac_cv_prog_CC
  1319. if test -n "$CC"; then
  1320.   echo "$as_me:$LINENO: result: $CC" >&5
  1321. echo "${ECHO_T}$CC" >&6
  1322. else
  1323.   echo "$as_me:$LINENO: result: no" >&5
  1324. echo "${ECHO_T}no" >&6
  1325. fi
  1326.  
  1327. fi
  1328. if test -z "$ac_cv_prog_CC"; then
  1329.   ac_ct_CC=$CC
  1330.   # Extract the first word of "gcc", so it can be a program name with args.
  1331. set dummy gcc; ac_word=$2
  1332. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1333. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1334. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1335.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1336. else
  1337.   if test -n "$ac_ct_CC"; then
  1338.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1339. else
  1340. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1341. for as_dir in $PATH
  1342. do
  1343.   IFS=$as_save_IFS
  1344.   test -z "$as_dir" && as_dir=.
  1345.   for ac_exec_ext in '' $ac_executable_extensions; do
  1346.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1347.     ac_cv_prog_ac_ct_CC="gcc"
  1348.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1349.     break 2
  1350.   fi
  1351. done
  1352. done
  1353.  
  1354. fi
  1355. fi
  1356. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1357. if test -n "$ac_ct_CC"; then
  1358.   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1359. echo "${ECHO_T}$ac_ct_CC" >&6
  1360. else
  1361.   echo "$as_me:$LINENO: result: no" >&5
  1362. echo "${ECHO_T}no" >&6
  1363. fi
  1364.  
  1365.   CC=$ac_ct_CC
  1366. else
  1367.   CC="$ac_cv_prog_CC"
  1368. fi
  1369.  
  1370. if test -z "$CC"; then
  1371.   if test -n "$ac_tool_prefix"; then
  1372.   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1373. set dummy ${ac_tool_prefix}cc; ac_word=$2
  1374. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1375. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1376. if test "${ac_cv_prog_CC+set}" = set; then
  1377.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1378. else
  1379.   if test -n "$CC"; then
  1380.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1381. else
  1382. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1383. for as_dir in $PATH
  1384. do
  1385.   IFS=$as_save_IFS
  1386.   test -z "$as_dir" && as_dir=.
  1387.   for ac_exec_ext in '' $ac_executable_extensions; do
  1388.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1389.     ac_cv_prog_CC="${ac_tool_prefix}cc"
  1390.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1391.     break 2
  1392.   fi
  1393. done
  1394. done
  1395.  
  1396. fi
  1397. fi
  1398. CC=$ac_cv_prog_CC
  1399. if test -n "$CC"; then
  1400.   echo "$as_me:$LINENO: result: $CC" >&5
  1401. echo "${ECHO_T}$CC" >&6
  1402. else
  1403.   echo "$as_me:$LINENO: result: no" >&5
  1404. echo "${ECHO_T}no" >&6
  1405. fi
  1406.  
  1407. fi
  1408. if test -z "$ac_cv_prog_CC"; then
  1409.   ac_ct_CC=$CC
  1410.   # Extract the first word of "cc", so it can be a program name with args.
  1411. set dummy cc; ac_word=$2
  1412. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1413. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1414. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1415.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1416. else
  1417.   if test -n "$ac_ct_CC"; then
  1418.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1419. else
  1420. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1421. for as_dir in $PATH
  1422. do
  1423.   IFS=$as_save_IFS
  1424.   test -z "$as_dir" && as_dir=.
  1425.   for ac_exec_ext in '' $ac_executable_extensions; do
  1426.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1427.     ac_cv_prog_ac_ct_CC="cc"
  1428.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1429.     break 2
  1430.   fi
  1431. done
  1432. done
  1433.  
  1434. fi
  1435. fi
  1436. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1437. if test -n "$ac_ct_CC"; then
  1438.   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1439. echo "${ECHO_T}$ac_ct_CC" >&6
  1440. else
  1441.   echo "$as_me:$LINENO: result: no" >&5
  1442. echo "${ECHO_T}no" >&6
  1443. fi
  1444.  
  1445.   CC=$ac_ct_CC
  1446. else
  1447.   CC="$ac_cv_prog_CC"
  1448. fi
  1449.  
  1450. fi
  1451. if test -z "$CC"; then
  1452.   # Extract the first word of "cc", so it can be a program name with args.
  1453. set dummy cc; ac_word=$2
  1454. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1455. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1456. if test "${ac_cv_prog_CC+set}" = set; then
  1457.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1458. else
  1459.   if test -n "$CC"; then
  1460.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1461. else
  1462.   ac_prog_rejected=no
  1463. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1464. for as_dir in $PATH
  1465. do
  1466.   IFS=$as_save_IFS
  1467.   test -z "$as_dir" && as_dir=.
  1468.   for ac_exec_ext in '' $ac_executable_extensions; do
  1469.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1470.     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1471.        ac_prog_rejected=yes
  1472.        continue
  1473.      fi
  1474.     ac_cv_prog_CC="cc"
  1475.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1476.     break 2
  1477.   fi
  1478. done
  1479. done
  1480.  
  1481. if test $ac_prog_rejected = yes; then
  1482.   # We found a bogon in the path, so make sure we never use it.
  1483.   set dummy $ac_cv_prog_CC
  1484.   shift
  1485.   if test $# != 0; then
  1486.     # We chose a different compiler from the bogus one.
  1487.     # However, it has the same basename, so the bogon will be chosen
  1488.     # first if we set CC to just the basename; use the full file name.
  1489.     shift
  1490.     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  1491.   fi
  1492. fi
  1493. fi
  1494. fi
  1495. CC=$ac_cv_prog_CC
  1496. if test -n "$CC"; then
  1497.   echo "$as_me:$LINENO: result: $CC" >&5
  1498. echo "${ECHO_T}$CC" >&6
  1499. else
  1500.   echo "$as_me:$LINENO: result: no" >&5
  1501. echo "${ECHO_T}no" >&6
  1502. fi
  1503.  
  1504. fi
  1505. if test -z "$CC"; then
  1506.   if test -n "$ac_tool_prefix"; then
  1507.   for ac_prog in cl
  1508.   do
  1509.     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1510. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1511. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1512. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1513. if test "${ac_cv_prog_CC+set}" = set; then
  1514.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1515. else
  1516.   if test -n "$CC"; then
  1517.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1518. else
  1519. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1520. for as_dir in $PATH
  1521. do
  1522.   IFS=$as_save_IFS
  1523.   test -z "$as_dir" && as_dir=.
  1524.   for ac_exec_ext in '' $ac_executable_extensions; do
  1525.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1526.     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1527.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1528.     break 2
  1529.   fi
  1530. done
  1531. done
  1532.  
  1533. fi
  1534. fi
  1535. CC=$ac_cv_prog_CC
  1536. if test -n "$CC"; then
  1537.   echo "$as_me:$LINENO: result: $CC" >&5
  1538. echo "${ECHO_T}$CC" >&6
  1539. else
  1540.   echo "$as_me:$LINENO: result: no" >&5
  1541. echo "${ECHO_T}no" >&6
  1542. fi
  1543.  
  1544.     test -n "$CC" && break
  1545.   done
  1546. fi
  1547. if test -z "$CC"; then
  1548.   ac_ct_CC=$CC
  1549.   for ac_prog in cl
  1550. do
  1551.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  1552. set dummy $ac_prog; ac_word=$2
  1553. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1554. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1555. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1556.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1557. else
  1558.   if test -n "$ac_ct_CC"; then
  1559.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1560. else
  1561. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1562. for as_dir in $PATH
  1563. do
  1564.   IFS=$as_save_IFS
  1565.   test -z "$as_dir" && as_dir=.
  1566.   for ac_exec_ext in '' $ac_executable_extensions; do
  1567.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1568.     ac_cv_prog_ac_ct_CC="$ac_prog"
  1569.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1570.     break 2
  1571.   fi
  1572. done
  1573. done
  1574.  
  1575. fi
  1576. fi
  1577. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1578. if test -n "$ac_ct_CC"; then
  1579.   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1580. echo "${ECHO_T}$ac_ct_CC" >&6
  1581. else
  1582.   echo "$as_me:$LINENO: result: no" >&5
  1583. echo "${ECHO_T}no" >&6
  1584. fi
  1585.  
  1586.   test -n "$ac_ct_CC" && break
  1587. done
  1588.  
  1589.   CC=$ac_ct_CC
  1590. fi
  1591.  
  1592. fi
  1593.  
  1594.  
  1595. test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  1596. See \`config.log' for more details." >&5
  1597. echo "$as_me: error: no acceptable C compiler found in \$PATH
  1598. See \`config.log' for more details." >&2;}
  1599.    { (exit 1); exit 1; }; }
  1600.  
  1601. # Provide some information about the compiler.
  1602. echo "$as_me:$LINENO:" \
  1603.      "checking for C compiler version" >&5
  1604. ac_compiler=`set X $ac_compile; echo $2`
  1605. { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  1606.   (eval $ac_compiler --version </dev/null >&5) 2>&5
  1607.   ac_status=$?
  1608.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1609.   (exit $ac_status); }
  1610. { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  1611.   (eval $ac_compiler -v </dev/null >&5) 2>&5
  1612.   ac_status=$?
  1613.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1614.   (exit $ac_status); }
  1615. { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  1616.   (eval $ac_compiler -V </dev/null >&5) 2>&5
  1617.   ac_status=$?
  1618.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1619.   (exit $ac_status); }
  1620.  
  1621. cat >conftest.$ac_ext <<_ACEOF
  1622. #line $LINENO "configure"
  1623. /* confdefs.h.  */
  1624. _ACEOF
  1625. cat confdefs.h >>conftest.$ac_ext
  1626. cat >>conftest.$ac_ext <<_ACEOF
  1627. /* end confdefs.h.  */
  1628.  
  1629. int
  1630. main ()
  1631. {
  1632.  
  1633.   ;
  1634.   return 0;
  1635. }
  1636. _ACEOF
  1637. ac_clean_files_save=$ac_clean_files
  1638. ac_clean_files="$ac_clean_files a.out a.exe b.out"
  1639. # Try to create an executable without -o first, disregard a.out.
  1640. # It will help us diagnose broken compilers, and finding out an intuition
  1641. # of exeext.
  1642. echo "$as_me:$LINENO: checking for C compiler default output" >&5
  1643. echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
  1644. ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  1645. if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  1646.   (eval $ac_link_default) 2>&5
  1647.   ac_status=$?
  1648.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1649.   (exit $ac_status); }; then
  1650.   # Find the output, starting from the most likely.  This scheme is
  1651. # not robust to junk in `.', hence go to wildcards (a.*) only as a last
  1652. # resort.
  1653.  
  1654. # Be careful to initialize this variable, since it used to be cached.
  1655. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  1656. ac_cv_exeext=
  1657. # b.out is created by i960 compilers.
  1658. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  1659. do
  1660.   test -f "$ac_file" || continue
  1661.   case $ac_file in
  1662.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  1663.         ;;
  1664.     conftest.$ac_ext )
  1665.         # This is the source file.
  1666.         ;;
  1667.     [ab].out )
  1668.         # We found the default executable, but exeext='' is most
  1669.         # certainly right.
  1670.         break;;
  1671.     *.* )
  1672.         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1673.         # FIXME: I believe we export ac_cv_exeext for Libtool,
  1674.         # but it would be cool to find out if it's true.  Does anybody
  1675.         # maintain Libtool? --akim.
  1676.         export ac_cv_exeext
  1677.         break;;
  1678.     * )
  1679.         break;;
  1680.   esac
  1681. done
  1682. else
  1683.   echo "$as_me: failed program was:" >&5
  1684. sed 's/^/| /' conftest.$ac_ext >&5
  1685.  
  1686. { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  1687. See \`config.log' for more details." >&5
  1688. echo "$as_me: error: C compiler cannot create executables
  1689. See \`config.log' for more details." >&2;}
  1690.    { (exit 77); exit 77; }; }
  1691. fi
  1692.  
  1693. ac_exeext=$ac_cv_exeext
  1694. echo "$as_me:$LINENO: result: $ac_file" >&5
  1695. echo "${ECHO_T}$ac_file" >&6
  1696.  
  1697. # Check the compiler produces executables we can run.  If not, either
  1698. # the compiler is broken, or we cross compile.
  1699. echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  1700. echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  1701. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  1702. # If not cross compiling, check that we can run a simple program.
  1703. if test "$cross_compiling" != yes; then
  1704.   if { ac_try='./$ac_file'
  1705.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1706.   (eval $ac_try) 2>&5
  1707.   ac_status=$?
  1708.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1709.   (exit $ac_status); }; }; then
  1710.     cross_compiling=no
  1711.   else
  1712.     if test "$cross_compiling" = maybe; then
  1713.     cross_compiling=yes
  1714.     else
  1715.     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  1716. If you meant to cross compile, use \`--host'.
  1717. See \`config.log' for more details." >&5
  1718. echo "$as_me: error: cannot run C compiled programs.
  1719. If you meant to cross compile, use \`--host'.
  1720. See \`config.log' for more details." >&2;}
  1721.    { (exit 1); exit 1; }; }
  1722.     fi
  1723.   fi
  1724. fi
  1725. echo "$as_me:$LINENO: result: yes" >&5
  1726. echo "${ECHO_T}yes" >&6
  1727.  
  1728. rm -f a.out a.exe conftest$ac_cv_exeext b.out
  1729. ac_clean_files=$ac_clean_files_save
  1730. # Check the compiler produces executables we can run.  If not, either
  1731. # the compiler is broken, or we cross compile.
  1732. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  1733. echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  1734. echo "$as_me:$LINENO: result: $cross_compiling" >&5
  1735. echo "${ECHO_T}$cross_compiling" >&6
  1736.  
  1737. echo "$as_me:$LINENO: checking for suffix of executables" >&5
  1738. echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  1739. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1740.   (eval $ac_link) 2>&5
  1741.   ac_status=$?
  1742.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1743.   (exit $ac_status); }; then
  1744.   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  1745. # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  1746. # work properly (i.e., refer to `conftest.exe'), while it won't with
  1747. # `rm'.
  1748. for ac_file in conftest.exe conftest conftest.*; do
  1749.   test -f "$ac_file" || continue
  1750.   case $ac_file in
  1751.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  1752.     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1753.           export ac_cv_exeext
  1754.           break;;
  1755.     * ) break;;
  1756.   esac
  1757. done
  1758. else
  1759.   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  1760. See \`config.log' for more details." >&5
  1761. echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  1762. See \`config.log' for more details." >&2;}
  1763.    { (exit 1); exit 1; }; }
  1764. fi
  1765.  
  1766. rm -f conftest$ac_cv_exeext
  1767. echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  1768. echo "${ECHO_T}$ac_cv_exeext" >&6
  1769.  
  1770. rm -f conftest.$ac_ext
  1771. EXEEXT=$ac_cv_exeext
  1772. ac_exeext=$EXEEXT
  1773. echo "$as_me:$LINENO: checking for suffix of object files" >&5
  1774. echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  1775. if test "${ac_cv_objext+set}" = set; then
  1776.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1777. else
  1778.   cat >conftest.$ac_ext <<_ACEOF
  1779. #line $LINENO "configure"
  1780. /* confdefs.h.  */
  1781. _ACEOF
  1782. cat confdefs.h >>conftest.$ac_ext
  1783. cat >>conftest.$ac_ext <<_ACEOF
  1784. /* end confdefs.h.  */
  1785.  
  1786. int
  1787. main ()
  1788. {
  1789.  
  1790.   ;
  1791.   return 0;
  1792. }
  1793. _ACEOF
  1794. rm -f conftest.o conftest.obj
  1795. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1796.   (eval $ac_compile) 2>&5
  1797.   ac_status=$?
  1798.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1799.   (exit $ac_status); }; then
  1800.   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  1801.   case $ac_file in
  1802.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  1803.     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  1804.        break;;
  1805.   esac
  1806. done
  1807. else
  1808.   echo "$as_me: failed program was:" >&5
  1809. sed 's/^/| /' conftest.$ac_ext >&5
  1810.  
  1811. { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  1812. See \`config.log' for more details." >&5
  1813. echo "$as_me: error: cannot compute suffix of object files: cannot compile
  1814. See \`config.log' for more details." >&2;}
  1815.    { (exit 1); exit 1; }; }
  1816. fi
  1817.  
  1818. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  1819. fi
  1820. echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  1821. echo "${ECHO_T}$ac_cv_objext" >&6
  1822. OBJEXT=$ac_cv_objext
  1823. ac_objext=$OBJEXT
  1824. echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  1825. echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  1826. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  1827.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1828. else
  1829.   cat >conftest.$ac_ext <<_ACEOF
  1830. #line $LINENO "configure"
  1831. /* confdefs.h.  */
  1832. _ACEOF
  1833. cat confdefs.h >>conftest.$ac_ext
  1834. cat >>conftest.$ac_ext <<_ACEOF
  1835. /* end confdefs.h.  */
  1836.  
  1837. int
  1838. main ()
  1839. {
  1840. #ifndef __GNUC__
  1841.        choke me
  1842. #endif
  1843.  
  1844.   ;
  1845.   return 0;
  1846. }
  1847. _ACEOF
  1848. rm -f conftest.$ac_objext
  1849. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1850.   (eval $ac_compile) 2>&5
  1851.   ac_status=$?
  1852.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1853.   (exit $ac_status); } &&
  1854.          { ac_try='test -s conftest.$ac_objext'
  1855.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1856.   (eval $ac_try) 2>&5
  1857.   ac_status=$?
  1858.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1859.   (exit $ac_status); }; }; then
  1860.   ac_compiler_gnu=yes
  1861. else
  1862.   echo "$as_me: failed program was:" >&5
  1863. sed 's/^/| /' conftest.$ac_ext >&5
  1864.  
  1865. ac_compiler_gnu=no
  1866. fi
  1867. rm -f conftest.$ac_objext conftest.$ac_ext
  1868. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  1869.  
  1870. fi
  1871. echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  1872. echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  1873. GCC=`test $ac_compiler_gnu = yes && echo yes`
  1874. ac_test_CFLAGS=${CFLAGS+set}
  1875. ac_save_CFLAGS=$CFLAGS
  1876. CFLAGS="-g"
  1877. echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  1878. echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  1879. if test "${ac_cv_prog_cc_g+set}" = set; then
  1880.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1881. else
  1882.   cat >conftest.$ac_ext <<_ACEOF
  1883. #line $LINENO "configure"
  1884. /* confdefs.h.  */
  1885. _ACEOF
  1886. cat confdefs.h >>conftest.$ac_ext
  1887. cat >>conftest.$ac_ext <<_ACEOF
  1888. /* end confdefs.h.  */
  1889.  
  1890. int
  1891. main ()
  1892. {
  1893.  
  1894.   ;
  1895.   return 0;
  1896. }
  1897. _ACEOF
  1898. rm -f conftest.$ac_objext
  1899. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1900.   (eval $ac_compile) 2>&5
  1901.   ac_status=$?
  1902.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1903.   (exit $ac_status); } &&
  1904.          { ac_try='test -s conftest.$ac_objext'
  1905.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1906.   (eval $ac_try) 2>&5
  1907.   ac_status=$?
  1908.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1909.   (exit $ac_status); }; }; then
  1910.   ac_cv_prog_cc_g=yes
  1911. else
  1912.   echo "$as_me: failed program was:" >&5
  1913. sed 's/^/| /' conftest.$ac_ext >&5
  1914.  
  1915. ac_cv_prog_cc_g=no
  1916. fi
  1917. rm -f conftest.$ac_objext conftest.$ac_ext
  1918. fi
  1919. echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  1920. echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  1921. if test "$ac_test_CFLAGS" = set; then
  1922.   CFLAGS=$ac_save_CFLAGS
  1923. elif test $ac_cv_prog_cc_g = yes; then
  1924.   if test "$GCC" = yes; then
  1925.     CFLAGS="-g -O2"
  1926.   else
  1927.     CFLAGS="-g"
  1928.   fi
  1929. else
  1930.   if test "$GCC" = yes; then
  1931.     CFLAGS="-O2"
  1932.   else
  1933.     CFLAGS=
  1934.   fi
  1935. fi
  1936. echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  1937. echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  1938. if test "${ac_cv_prog_cc_stdc+set}" = set; then
  1939.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1940. else
  1941.   ac_cv_prog_cc_stdc=no
  1942. ac_save_CC=$CC
  1943. cat >conftest.$ac_ext <<_ACEOF
  1944. #line $LINENO "configure"
  1945. /* confdefs.h.  */
  1946. _ACEOF
  1947. cat confdefs.h >>conftest.$ac_ext
  1948. cat >>conftest.$ac_ext <<_ACEOF
  1949. /* end confdefs.h.  */
  1950. #include <stdarg.h>
  1951. #include <stdio.h>
  1952. #include <sys/types.h>
  1953. #include <sys/stat.h>
  1954. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  1955. struct buf { int x; };
  1956. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  1957. static char *e (p, i)
  1958.      char **p;
  1959.      int i;
  1960. {
  1961.   return p[i];
  1962. }
  1963. static char *f (char * (*g) (char **, int), char **p, ...)
  1964. {
  1965.   char *s;
  1966.   va_list v;
  1967.   va_start (v,p);
  1968.   s = g (p, va_arg (v,int));
  1969.   va_end (v);
  1970.   return s;
  1971. }
  1972. int test (int i, double x);
  1973. struct s1 {int (*f) (int a);};
  1974. struct s2 {int (*f) (double a);};
  1975. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  1976. int argc;
  1977. char **argv;
  1978. int
  1979. main ()
  1980. {
  1981. return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  1982.   ;
  1983.   return 0;
  1984. }
  1985. _ACEOF
  1986. # Don't try gcc -ansi; that turns off useful extensions and
  1987. # breaks some systems' header files.
  1988. # AIX            -qlanglvl=ansi
  1989. # Ultrix and OSF/1    -std1
  1990. # HP-UX 10.20 and later    -Ae
  1991. # HP-UX older versions    -Aa -D_HPUX_SOURCE
  1992. # SVR4            -Xc -D__EXTENSIONS__
  1993. for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  1994. do
  1995.   CC="$ac_save_CC $ac_arg"
  1996.   rm -f conftest.$ac_objext
  1997. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1998.   (eval $ac_compile) 2>&5
  1999.   ac_status=$?
  2000.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2001.   (exit $ac_status); } &&
  2002.          { ac_try='test -s conftest.$ac_objext'
  2003.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2004.   (eval $ac_try) 2>&5
  2005.   ac_status=$?
  2006.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2007.   (exit $ac_status); }; }; then
  2008.   ac_cv_prog_cc_stdc=$ac_arg
  2009. break
  2010. else
  2011.   echo "$as_me: failed program was:" >&5
  2012. sed 's/^/| /' conftest.$ac_ext >&5
  2013.  
  2014. fi
  2015. rm -f conftest.$ac_objext
  2016. done
  2017. rm -f conftest.$ac_ext conftest.$ac_objext
  2018. CC=$ac_save_CC
  2019.  
  2020. fi
  2021.  
  2022. case "x$ac_cv_prog_cc_stdc" in
  2023.   x|xno)
  2024.     echo "$as_me:$LINENO: result: none needed" >&5
  2025. echo "${ECHO_T}none needed" >&6 ;;
  2026.   *)
  2027.     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  2028. echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  2029.     CC="$CC $ac_cv_prog_cc_stdc" ;;
  2030. esac
  2031.  
  2032. # Some people use a C++ compiler to compile C.  Since we use `exit',
  2033. # in C++ we need to declare it.  In case someone uses the same compiler
  2034. # for both compiling C and C++ we need to have the C++ compiler decide
  2035. # the declaration of exit, since it's the most demanding environment.
  2036. cat >conftest.$ac_ext <<_ACEOF
  2037. #ifndef __cplusplus
  2038.   choke me
  2039. #endif
  2040. _ACEOF
  2041. rm -f conftest.$ac_objext
  2042. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2043.   (eval $ac_compile) 2>&5
  2044.   ac_status=$?
  2045.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2046.   (exit $ac_status); } &&
  2047.          { ac_try='test -s conftest.$ac_objext'
  2048.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2049.   (eval $ac_try) 2>&5
  2050.   ac_status=$?
  2051.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2052.   (exit $ac_status); }; }; then
  2053.   for ac_declaration in \
  2054.    ''\
  2055.    '#include <stdlib.h>' \
  2056.    'extern "C" void std::exit (int) throw (); using std::exit;' \
  2057.    'extern "C" void std::exit (int); using std::exit;' \
  2058.    'extern "C" void exit (int) throw ();' \
  2059.    'extern "C" void exit (int);' \
  2060.    'void exit (int);'
  2061. do
  2062.   cat >conftest.$ac_ext <<_ACEOF
  2063. #line $LINENO "configure"
  2064. /* confdefs.h.  */
  2065. _ACEOF
  2066. cat confdefs.h >>conftest.$ac_ext
  2067. cat >>conftest.$ac_ext <<_ACEOF
  2068. /* end confdefs.h.  */
  2069. #include <stdlib.h>
  2070. $ac_declaration
  2071. int
  2072. main ()
  2073. {
  2074. exit (42);
  2075.   ;
  2076.   return 0;
  2077. }
  2078. _ACEOF
  2079. rm -f conftest.$ac_objext
  2080. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2081.   (eval $ac_compile) 2>&5
  2082.   ac_status=$?
  2083.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2084.   (exit $ac_status); } &&
  2085.          { ac_try='test -s conftest.$ac_objext'
  2086.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2087.   (eval $ac_try) 2>&5
  2088.   ac_status=$?
  2089.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2090.   (exit $ac_status); }; }; then
  2091.   :
  2092. else
  2093.   echo "$as_me: failed program was:" >&5
  2094. sed 's/^/| /' conftest.$ac_ext >&5
  2095.  
  2096. continue
  2097. fi
  2098. rm -f conftest.$ac_objext conftest.$ac_ext
  2099.   cat >conftest.$ac_ext <<_ACEOF
  2100. #line $LINENO "configure"
  2101. /* confdefs.h.  */
  2102. _ACEOF
  2103. cat confdefs.h >>conftest.$ac_ext
  2104. cat >>conftest.$ac_ext <<_ACEOF
  2105. /* end confdefs.h.  */
  2106. $ac_declaration
  2107. int
  2108. main ()
  2109. {
  2110. exit (42);
  2111.   ;
  2112.   return 0;
  2113. }
  2114. _ACEOF
  2115. rm -f conftest.$ac_objext
  2116. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2117.   (eval $ac_compile) 2>&5
  2118.   ac_status=$?
  2119.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2120.   (exit $ac_status); } &&
  2121.          { ac_try='test -s conftest.$ac_objext'
  2122.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2123.   (eval $ac_try) 2>&5
  2124.   ac_status=$?
  2125.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2126.   (exit $ac_status); }; }; then
  2127.   break
  2128. else
  2129.   echo "$as_me: failed program was:" >&5
  2130. sed 's/^/| /' conftest.$ac_ext >&5
  2131.  
  2132. fi
  2133. rm -f conftest.$ac_objext conftest.$ac_ext
  2134. done
  2135. rm -f conftest*
  2136. if test -n "$ac_declaration"; then
  2137.   echo '#ifdef __cplusplus' >>confdefs.h
  2138.   echo $ac_declaration      >>confdefs.h
  2139.   echo '#endif'             >>confdefs.h
  2140. fi
  2141.  
  2142. else
  2143.   echo "$as_me: failed program was:" >&5
  2144. sed 's/^/| /' conftest.$ac_ext >&5
  2145.  
  2146. fi
  2147. rm -f conftest.$ac_objext conftest.$ac_ext
  2148. ac_ext=c
  2149. ac_cpp='$CPP $CPPFLAGS'
  2150. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2151. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2152. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2153.  
  2154. if test -n "$ac_tool_prefix"; then
  2155.   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  2156. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  2157. echo "$as_me:$LINENO: checking for $ac_word" >&5
  2158. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2159. if test "${ac_cv_prog_RANLIB+set}" = set; then
  2160.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2161. else
  2162.   if test -n "$RANLIB"; then
  2163.   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  2164. else
  2165. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2166. for as_dir in $PATH
  2167. do
  2168.   IFS=$as_save_IFS
  2169.   test -z "$as_dir" && as_dir=.
  2170.   for ac_exec_ext in '' $ac_executable_extensions; do
  2171.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2172.     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  2173.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2174.     break 2
  2175.   fi
  2176. done
  2177. done
  2178.  
  2179. fi
  2180. fi
  2181. RANLIB=$ac_cv_prog_RANLIB
  2182. if test -n "$RANLIB"; then
  2183.   echo "$as_me:$LINENO: result: $RANLIB" >&5
  2184. echo "${ECHO_T}$RANLIB" >&6
  2185. else
  2186.   echo "$as_me:$LINENO: result: no" >&5
  2187. echo "${ECHO_T}no" >&6
  2188. fi
  2189.  
  2190. fi
  2191. if test -z "$ac_cv_prog_RANLIB"; then
  2192.   ac_ct_RANLIB=$RANLIB
  2193.   # Extract the first word of "ranlib", so it can be a program name with args.
  2194. set dummy ranlib; ac_word=$2
  2195. echo "$as_me:$LINENO: checking for $ac_word" >&5
  2196. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2197. if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  2198.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2199. else
  2200.   if test -n "$ac_ct_RANLIB"; then
  2201.   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  2202. else
  2203. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2204. for as_dir in $PATH
  2205. do
  2206.   IFS=$as_save_IFS
  2207.   test -z "$as_dir" && as_dir=.
  2208.   for ac_exec_ext in '' $ac_executable_extensions; do
  2209.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2210.     ac_cv_prog_ac_ct_RANLIB="ranlib"
  2211.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2212.     break 2
  2213.   fi
  2214. done
  2215. done
  2216.  
  2217.   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
  2218. fi
  2219. fi
  2220. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  2221. if test -n "$ac_ct_RANLIB"; then
  2222.   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  2223. echo "${ECHO_T}$ac_ct_RANLIB" >&6
  2224. else
  2225.   echo "$as_me:$LINENO: result: no" >&5
  2226. echo "${ECHO_T}no" >&6
  2227. fi
  2228.  
  2229.   RANLIB=$ac_ct_RANLIB
  2230. else
  2231.   RANLIB="$ac_cv_prog_RANLIB"
  2232. fi
  2233.  
  2234. echo "$as_me:$LINENO: checking whether ln -s works" >&5
  2235. echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
  2236. LN_S=$as_ln_s
  2237. if test "$LN_S" = "ln -s"; then
  2238.   echo "$as_me:$LINENO: result: yes" >&5
  2239. echo "${ECHO_T}yes" >&6
  2240. else
  2241.   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  2242. echo "${ECHO_T}no, using $LN_S" >&6
  2243. fi
  2244.  
  2245. # Extract the first word of "tar", so it can be a program name with args.
  2246. set dummy tar; ac_word=$2
  2247. echo "$as_me:$LINENO: checking for $ac_word" >&5
  2248. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2249. if test "${ac_cv_prog_TAR+set}" = set; then
  2250.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2251. else
  2252.   if test -n "$TAR"; then
  2253.   ac_cv_prog_TAR="$TAR" # Let the user override the test.
  2254. else
  2255. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2256. for as_dir in $PATH
  2257. do
  2258.   IFS=$as_save_IFS
  2259.   test -z "$as_dir" && as_dir=.
  2260.   for ac_exec_ext in '' $ac_executable_extensions; do
  2261.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2262.     ac_cv_prog_TAR="tar"
  2263.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2264.     break 2
  2265.   fi
  2266. done
  2267. done
  2268.  
  2269. fi
  2270. fi
  2271. TAR=$ac_cv_prog_TAR
  2272. if test -n "$TAR"; then
  2273.   echo "$as_me:$LINENO: result: $TAR" >&5
  2274. echo "${ECHO_T}$TAR" >&6
  2275. else
  2276.   echo "$as_me:$LINENO: result: no" >&5
  2277. echo "${ECHO_T}no" >&6
  2278. fi
  2279.  
  2280.  
  2281.  
  2282.  
  2283. # Check whether --enable-debugging or --disable-debugging was given.
  2284. if test "${enable_debugging+set}" = set; then
  2285.   enableval="$enable_debugging"
  2286.    debugging=$enableval
  2287. else
  2288.    debugging=no
  2289. fi;
  2290. if test "$debugging" = "yes"; then
  2291.     CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes"
  2292. else
  2293.     CFLAGS="-O3 -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes"
  2294. fi
  2295.  
  2296.  
  2297.  
  2298.  
  2299. ac_ext=c
  2300. ac_cpp='$CPP $CPPFLAGS'
  2301. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2302. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2303. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2304. echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  2305. echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  2306. # On Suns, sometimes $CPP names a directory.
  2307. if test -n "$CPP" && test -d "$CPP"; then
  2308.   CPP=
  2309. fi
  2310. if test -z "$CPP"; then
  2311.   if test "${ac_cv_prog_CPP+set}" = set; then
  2312.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2313. else
  2314.       # Double quotes because CPP needs to be expanded
  2315.     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  2316.     do
  2317.       ac_preproc_ok=false
  2318. for ac_c_preproc_warn_flag in '' yes
  2319. do
  2320.   # Use a header file that comes with gcc, so configuring glibc
  2321.   # with a fresh cross-compiler works.
  2322.   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2323.   # <limits.h> exists even on freestanding compilers.
  2324.   # On the NeXT, cc -E runs the code through the compiler's parser,
  2325.   # not just through cpp. "Syntax error" is here to catch this case.
  2326.   cat >conftest.$ac_ext <<_ACEOF
  2327. #line $LINENO "configure"
  2328. /* confdefs.h.  */
  2329. _ACEOF
  2330. cat confdefs.h >>conftest.$ac_ext
  2331. cat >>conftest.$ac_ext <<_ACEOF
  2332. /* end confdefs.h.  */
  2333. #ifdef __STDC__
  2334. # include <limits.h>
  2335. #else
  2336. # include <assert.h>
  2337. #endif
  2338.                      Syntax error
  2339. _ACEOF
  2340. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2341.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2342.   ac_status=$?
  2343.   grep -v '^ *+' conftest.er1 >conftest.err
  2344.   rm -f conftest.er1
  2345.   cat conftest.err >&5
  2346.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2347.   (exit $ac_status); } >/dev/null; then
  2348.   if test -s conftest.err; then
  2349.     ac_cpp_err=$ac_c_preproc_warn_flag
  2350.   else
  2351.     ac_cpp_err=
  2352.   fi
  2353. else
  2354.   ac_cpp_err=yes
  2355. fi
  2356. if test -z "$ac_cpp_err"; then
  2357.   :
  2358. else
  2359.   echo "$as_me: failed program was:" >&5
  2360. sed 's/^/| /' conftest.$ac_ext >&5
  2361.  
  2362.   # Broken: fails on valid input.
  2363. continue
  2364. fi
  2365. rm -f conftest.err conftest.$ac_ext
  2366.  
  2367.   # OK, works on sane cases.  Now check whether non-existent headers
  2368.   # can be detected and how.
  2369.   cat >conftest.$ac_ext <<_ACEOF
  2370. #line $LINENO "configure"
  2371. /* confdefs.h.  */
  2372. _ACEOF
  2373. cat confdefs.h >>conftest.$ac_ext
  2374. cat >>conftest.$ac_ext <<_ACEOF
  2375. /* end confdefs.h.  */
  2376. #include <ac_nonexistent.h>
  2377. _ACEOF
  2378. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2379.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2380.   ac_status=$?
  2381.   grep -v '^ *+' conftest.er1 >conftest.err
  2382.   rm -f conftest.er1
  2383.   cat conftest.err >&5
  2384.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2385.   (exit $ac_status); } >/dev/null; then
  2386.   if test -s conftest.err; then
  2387.     ac_cpp_err=$ac_c_preproc_warn_flag
  2388.   else
  2389.     ac_cpp_err=
  2390.   fi
  2391. else
  2392.   ac_cpp_err=yes
  2393. fi
  2394. if test -z "$ac_cpp_err"; then
  2395.   # Broken: success on invalid input.
  2396. continue
  2397. else
  2398.   echo "$as_me: failed program was:" >&5
  2399. sed 's/^/| /' conftest.$ac_ext >&5
  2400.  
  2401.   # Passes both tests.
  2402. ac_preproc_ok=:
  2403. break
  2404. fi
  2405. rm -f conftest.err conftest.$ac_ext
  2406.  
  2407. done
  2408. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  2409. rm -f conftest.err conftest.$ac_ext
  2410. if $ac_preproc_ok; then
  2411.   break
  2412. fi
  2413.  
  2414.     done
  2415.     ac_cv_prog_CPP=$CPP
  2416.  
  2417. fi
  2418.   CPP=$ac_cv_prog_CPP
  2419. else
  2420.   ac_cv_prog_CPP=$CPP
  2421. fi
  2422. echo "$as_me:$LINENO: result: $CPP" >&5
  2423. echo "${ECHO_T}$CPP" >&6
  2424. ac_preproc_ok=false
  2425. for ac_c_preproc_warn_flag in '' yes
  2426. do
  2427.   # Use a header file that comes with gcc, so configuring glibc
  2428.   # with a fresh cross-compiler works.
  2429.   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2430.   # <limits.h> exists even on freestanding compilers.
  2431.   # On the NeXT, cc -E runs the code through the compiler's parser,
  2432.   # not just through cpp. "Syntax error" is here to catch this case.
  2433.   cat >conftest.$ac_ext <<_ACEOF
  2434. #line $LINENO "configure"
  2435. /* confdefs.h.  */
  2436. _ACEOF
  2437. cat confdefs.h >>conftest.$ac_ext
  2438. cat >>conftest.$ac_ext <<_ACEOF
  2439. /* end confdefs.h.  */
  2440. #ifdef __STDC__
  2441. # include <limits.h>
  2442. #else
  2443. # include <assert.h>
  2444. #endif
  2445.                      Syntax error
  2446. _ACEOF
  2447. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2448.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2449.   ac_status=$?
  2450.   grep -v '^ *+' conftest.er1 >conftest.err
  2451.   rm -f conftest.er1
  2452.   cat conftest.err >&5
  2453.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2454.   (exit $ac_status); } >/dev/null; then
  2455.   if test -s conftest.err; then
  2456.     ac_cpp_err=$ac_c_preproc_warn_flag
  2457.   else
  2458.     ac_cpp_err=
  2459.   fi
  2460. else
  2461.   ac_cpp_err=yes
  2462. fi
  2463. if test -z "$ac_cpp_err"; then
  2464.   :
  2465. else
  2466.   echo "$as_me: failed program was:" >&5
  2467. sed 's/^/| /' conftest.$ac_ext >&5
  2468.  
  2469.   # Broken: fails on valid input.
  2470. continue
  2471. fi
  2472. rm -f conftest.err conftest.$ac_ext
  2473.  
  2474.   # OK, works on sane cases.  Now check whether non-existent headers
  2475.   # can be detected and how.
  2476.   cat >conftest.$ac_ext <<_ACEOF
  2477. #line $LINENO "configure"
  2478. /* confdefs.h.  */
  2479. _ACEOF
  2480. cat confdefs.h >>conftest.$ac_ext
  2481. cat >>conftest.$ac_ext <<_ACEOF
  2482. /* end confdefs.h.  */
  2483. #include <ac_nonexistent.h>
  2484. _ACEOF
  2485. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2486.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2487.   ac_status=$?
  2488.   grep -v '^ *+' conftest.er1 >conftest.err
  2489.   rm -f conftest.er1
  2490.   cat conftest.err >&5
  2491.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2492.   (exit $ac_status); } >/dev/null; then
  2493.   if test -s conftest.err; then
  2494.     ac_cpp_err=$ac_c_preproc_warn_flag
  2495.   else
  2496.     ac_cpp_err=
  2497.   fi
  2498. else
  2499.   ac_cpp_err=yes
  2500. fi
  2501. if test -z "$ac_cpp_err"; then
  2502.   # Broken: success on invalid input.
  2503. continue
  2504. else
  2505.   echo "$as_me: failed program was:" >&5
  2506. sed 's/^/| /' conftest.$ac_ext >&5
  2507.  
  2508.   # Passes both tests.
  2509. ac_preproc_ok=:
  2510. break
  2511. fi
  2512. rm -f conftest.err conftest.$ac_ext
  2513.  
  2514. done
  2515. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  2516. rm -f conftest.err conftest.$ac_ext
  2517. if $ac_preproc_ok; then
  2518.   :
  2519. else
  2520.   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  2521. See \`config.log' for more details." >&5
  2522. echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  2523. See \`config.log' for more details." >&2;}
  2524.    { (exit 1); exit 1; }; }
  2525. fi
  2526.  
  2527. ac_ext=c
  2528. ac_cpp='$CPP $CPPFLAGS'
  2529. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2530. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2531. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2532.  
  2533.  
  2534. echo "$as_me:$LINENO: checking for egrep" >&5
  2535. echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  2536. if test "${ac_cv_prog_egrep+set}" = set; then
  2537.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2538. else
  2539.   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  2540.     then ac_cv_prog_egrep='grep -E'
  2541.     else ac_cv_prog_egrep='egrep'
  2542.     fi
  2543. fi
  2544. echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  2545. echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  2546.  EGREP=$ac_cv_prog_egrep
  2547.  
  2548.  
  2549. echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  2550. echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  2551. if test "${ac_cv_header_stdc+set}" = set; then
  2552.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2553. else
  2554.   cat >conftest.$ac_ext <<_ACEOF
  2555. #line $LINENO "configure"
  2556. /* confdefs.h.  */
  2557. _ACEOF
  2558. cat confdefs.h >>conftest.$ac_ext
  2559. cat >>conftest.$ac_ext <<_ACEOF
  2560. /* end confdefs.h.  */
  2561. #include <stdlib.h>
  2562. #include <stdarg.h>
  2563. #include <string.h>
  2564. #include <float.h>
  2565.  
  2566. int
  2567. main ()
  2568. {
  2569.  
  2570.   ;
  2571.   return 0;
  2572. }
  2573. _ACEOF
  2574. rm -f conftest.$ac_objext
  2575. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2576.   (eval $ac_compile) 2>&5
  2577.   ac_status=$?
  2578.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2579.   (exit $ac_status); } &&
  2580.          { ac_try='test -s conftest.$ac_objext'
  2581.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2582.   (eval $ac_try) 2>&5
  2583.   ac_status=$?
  2584.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2585.   (exit $ac_status); }; }; then
  2586.   ac_cv_header_stdc=yes
  2587. else
  2588.   echo "$as_me: failed program was:" >&5
  2589. sed 's/^/| /' conftest.$ac_ext >&5
  2590.  
  2591. ac_cv_header_stdc=no
  2592. fi
  2593. rm -f conftest.$ac_objext conftest.$ac_ext
  2594.  
  2595. if test $ac_cv_header_stdc = yes; then
  2596.   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  2597.   cat >conftest.$ac_ext <<_ACEOF
  2598. #line $LINENO "configure"
  2599. /* confdefs.h.  */
  2600. _ACEOF
  2601. cat confdefs.h >>conftest.$ac_ext
  2602. cat >>conftest.$ac_ext <<_ACEOF
  2603. /* end confdefs.h.  */
  2604. #include <string.h>
  2605.  
  2606. _ACEOF
  2607. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  2608.   $EGREP "memchr" >/dev/null 2>&1; then
  2609.   :
  2610. else
  2611.   ac_cv_header_stdc=no
  2612. fi
  2613. rm -f conftest*
  2614.  
  2615. fi
  2616.  
  2617. if test $ac_cv_header_stdc = yes; then
  2618.   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  2619.   cat >conftest.$ac_ext <<_ACEOF
  2620. #line $LINENO "configure"
  2621. /* confdefs.h.  */
  2622. _ACEOF
  2623. cat confdefs.h >>conftest.$ac_ext
  2624. cat >>conftest.$ac_ext <<_ACEOF
  2625. /* end confdefs.h.  */
  2626. #include <stdlib.h>
  2627.  
  2628. _ACEOF
  2629. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  2630.   $EGREP "free" >/dev/null 2>&1; then
  2631.   :
  2632. else
  2633.   ac_cv_header_stdc=no
  2634. fi
  2635. rm -f conftest*
  2636.  
  2637. fi
  2638.  
  2639. if test $ac_cv_header_stdc = yes; then
  2640.   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  2641.   if test "$cross_compiling" = yes; then
  2642.   :
  2643. else
  2644.   cat >conftest.$ac_ext <<_ACEOF
  2645. #line $LINENO "configure"
  2646. /* confdefs.h.  */
  2647. _ACEOF
  2648. cat confdefs.h >>conftest.$ac_ext
  2649. cat >>conftest.$ac_ext <<_ACEOF
  2650. /* end confdefs.h.  */
  2651. #include <ctype.h>
  2652. #if ((' ' & 0x0FF) == 0x020)
  2653. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  2654. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  2655. #else
  2656. # define ISLOWER(c) \
  2657.                    (('a' <= (c) && (c) <= 'i') \
  2658.                      || ('j' <= (c) && (c) <= 'r') \
  2659.                      || ('s' <= (c) && (c) <= 'z'))
  2660. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  2661. #endif
  2662.  
  2663. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  2664. int
  2665. main ()
  2666. {
  2667.   int i;
  2668.   for (i = 0; i < 256; i++)
  2669.     if (XOR (islower (i), ISLOWER (i))
  2670.         || toupper (i) != TOUPPER (i))
  2671.       exit(2);
  2672.   exit (0);
  2673. }
  2674. _ACEOF
  2675. rm -f conftest$ac_exeext
  2676. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2677.   (eval $ac_link) 2>&5
  2678.   ac_status=$?
  2679.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2680.   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  2681.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2682.   (eval $ac_try) 2>&5
  2683.   ac_status=$?
  2684.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2685.   (exit $ac_status); }; }; then
  2686.   :
  2687. else
  2688.   echo "$as_me: program exited with status $ac_status" >&5
  2689. echo "$as_me: failed program was:" >&5
  2690. sed 's/^/| /' conftest.$ac_ext >&5
  2691.  
  2692. ( exit $ac_status )
  2693. ac_cv_header_stdc=no
  2694. fi
  2695. rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  2696. fi
  2697. fi
  2698. fi
  2699. echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  2700. echo "${ECHO_T}$ac_cv_header_stdc" >&6
  2701. if test $ac_cv_header_stdc = yes; then
  2702.  
  2703. cat >>confdefs.h <<\_ACEOF
  2704. #define STDC_HEADERS 1
  2705. _ACEOF
  2706.  
  2707. fi
  2708.  
  2709.  
  2710.  
  2711. echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  2712. echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
  2713. if test "${ac_cv_c_const+set}" = set; then
  2714.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2715. else
  2716.   cat >conftest.$ac_ext <<_ACEOF
  2717. #line $LINENO "configure"
  2718. /* confdefs.h.  */
  2719. _ACEOF
  2720. cat confdefs.h >>conftest.$ac_ext
  2721. cat >>conftest.$ac_ext <<_ACEOF
  2722. /* end confdefs.h.  */
  2723.  
  2724. int
  2725. main ()
  2726. {
  2727. /* FIXME: Include the comments suggested by Paul. */
  2728. #ifndef __cplusplus
  2729.   /* Ultrix mips cc rejects this.  */
  2730.   typedef int charset[2];
  2731.   const charset x;
  2732.   /* SunOS 4.1.1 cc rejects this.  */
  2733.   char const *const *ccp;
  2734.   char **p;
  2735.   /* NEC SVR4.0.2 mips cc rejects this.  */
  2736.   struct point {int x, y;};
  2737.   static struct point const zero = {0,0};
  2738.   /* AIX XL C 1.02.0.0 rejects this.
  2739.      It does not let you subtract one const X* pointer from another in
  2740.      an arm of an if-expression whose if-part is not a constant
  2741.      expression */
  2742.   const char *g = "string";
  2743.   ccp = &g + (g ? g-g : 0);
  2744.   /* HPUX 7.0 cc rejects these. */
  2745.   ++ccp;
  2746.   p = (char**) ccp;
  2747.   ccp = (char const *const *) p;
  2748.   { /* SCO 3.2v4 cc rejects this.  */
  2749.     char *t;
  2750.     char const *s = 0 ? (char *) 0 : (char const *) 0;
  2751.  
  2752.     *t++ = 0;
  2753.   }
  2754.   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
  2755.     int x[] = {25, 17};
  2756.     const int *foo = &x[0];
  2757.     ++foo;
  2758.   }
  2759.   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  2760.     typedef const int *iptr;
  2761.     iptr p = 0;
  2762.     ++p;
  2763.   }
  2764.   { /* AIX XL C 1.02.0.0 rejects this saying
  2765.        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  2766.     struct s { int j; const int *ap[3]; };
  2767.     struct s *b; b->j = 5;
  2768.   }
  2769.   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  2770.     const int foo = 10;
  2771.   }
  2772. #endif
  2773.  
  2774.   ;
  2775.   return 0;
  2776. }
  2777. _ACEOF
  2778. rm -f conftest.$ac_objext
  2779. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2780.   (eval $ac_compile) 2>&5
  2781.   ac_status=$?
  2782.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2783.   (exit $ac_status); } &&
  2784.          { ac_try='test -s conftest.$ac_objext'
  2785.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2786.   (eval $ac_try) 2>&5
  2787.   ac_status=$?
  2788.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2789.   (exit $ac_status); }; }; then
  2790.   ac_cv_c_const=yes
  2791. else
  2792.   echo "$as_me: failed program was:" >&5
  2793. sed 's/^/| /' conftest.$ac_ext >&5
  2794.  
  2795. ac_cv_c_const=no
  2796. fi
  2797. rm -f conftest.$ac_objext conftest.$ac_ext
  2798. fi
  2799. echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  2800. echo "${ECHO_T}$ac_cv_c_const" >&6
  2801. if test $ac_cv_c_const = no; then
  2802.  
  2803. cat >>confdefs.h <<\_ACEOF
  2804. #define const
  2805. _ACEOF
  2806.  
  2807. fi
  2808.  
  2809. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  2810.  
  2811.  
  2812.  
  2813.  
  2814.  
  2815.  
  2816.  
  2817.  
  2818.  
  2819. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  2820.                   inttypes.h stdint.h unistd.h
  2821. do
  2822. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  2823. echo "$as_me:$LINENO: checking for $ac_header" >&5
  2824. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  2825. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  2826.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2827. else
  2828.   cat >conftest.$ac_ext <<_ACEOF
  2829. #line $LINENO "configure"
  2830. /* confdefs.h.  */
  2831. _ACEOF
  2832. cat confdefs.h >>conftest.$ac_ext
  2833. cat >>conftest.$ac_ext <<_ACEOF
  2834. /* end confdefs.h.  */
  2835. $ac_includes_default
  2836.  
  2837. #include <$ac_header>
  2838. _ACEOF
  2839. rm -f conftest.$ac_objext
  2840. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2841.   (eval $ac_compile) 2>&5
  2842.   ac_status=$?
  2843.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2844.   (exit $ac_status); } &&
  2845.          { ac_try='test -s conftest.$ac_objext'
  2846.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2847.   (eval $ac_try) 2>&5
  2848.   ac_status=$?
  2849.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2850.   (exit $ac_status); }; }; then
  2851.   eval "$as_ac_Header=yes"
  2852. else
  2853.   echo "$as_me: failed program was:" >&5
  2854. sed 's/^/| /' conftest.$ac_ext >&5
  2855.  
  2856. eval "$as_ac_Header=no"
  2857. fi
  2858. rm -f conftest.$ac_objext conftest.$ac_ext
  2859. fi
  2860. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  2861. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  2862. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  2863.   cat >>confdefs.h <<_ACEOF
  2864. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  2865. _ACEOF
  2866.  
  2867. fi
  2868.  
  2869. done
  2870.  
  2871.  
  2872. echo "$as_me:$LINENO: checking for mode_t" >&5
  2873. echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
  2874. if test "${ac_cv_type_mode_t+set}" = set; then
  2875.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2876. else
  2877.   cat >conftest.$ac_ext <<_ACEOF
  2878. #line $LINENO "configure"
  2879. /* confdefs.h.  */
  2880. _ACEOF
  2881. cat confdefs.h >>conftest.$ac_ext
  2882. cat >>conftest.$ac_ext <<_ACEOF
  2883. /* end confdefs.h.  */
  2884. $ac_includes_default
  2885. int
  2886. main ()
  2887. {
  2888. if ((mode_t *) 0)
  2889.   return 0;
  2890. if (sizeof (mode_t))
  2891.   return 0;
  2892.   ;
  2893.   return 0;
  2894. }
  2895. _ACEOF
  2896. rm -f conftest.$ac_objext
  2897. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2898.   (eval $ac_compile) 2>&5
  2899.   ac_status=$?
  2900.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2901.   (exit $ac_status); } &&
  2902.          { ac_try='test -s conftest.$ac_objext'
  2903.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2904.   (eval $ac_try) 2>&5
  2905.   ac_status=$?
  2906.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2907.   (exit $ac_status); }; }; then
  2908.   ac_cv_type_mode_t=yes
  2909. else
  2910.   echo "$as_me: failed program was:" >&5
  2911. sed 's/^/| /' conftest.$ac_ext >&5
  2912.  
  2913. ac_cv_type_mode_t=no
  2914. fi
  2915. rm -f conftest.$ac_objext conftest.$ac_ext
  2916. fi
  2917. echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
  2918. echo "${ECHO_T}$ac_cv_type_mode_t" >&6
  2919. if test $ac_cv_type_mode_t = yes; then
  2920.   :
  2921. else
  2922.  
  2923. cat >>confdefs.h <<_ACEOF
  2924. #define mode_t int
  2925. _ACEOF
  2926.  
  2927. fi
  2928.  
  2929. echo "$as_me:$LINENO: checking for size_t" >&5
  2930. echo $ECHO_N "checking for size_t... $ECHO_C" >&6
  2931. if test "${ac_cv_type_size_t+set}" = set; then
  2932.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2933. else
  2934.   cat >conftest.$ac_ext <<_ACEOF
  2935. #line $LINENO "configure"
  2936. /* confdefs.h.  */
  2937. _ACEOF
  2938. cat confdefs.h >>conftest.$ac_ext
  2939. cat >>conftest.$ac_ext <<_ACEOF
  2940. /* end confdefs.h.  */
  2941. $ac_includes_default
  2942. int
  2943. main ()
  2944. {
  2945. if ((size_t *) 0)
  2946.   return 0;
  2947. if (sizeof (size_t))
  2948.   return 0;
  2949.   ;
  2950.   return 0;
  2951. }
  2952. _ACEOF
  2953. rm -f conftest.$ac_objext
  2954. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2955.   (eval $ac_compile) 2>&5
  2956.   ac_status=$?
  2957.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2958.   (exit $ac_status); } &&
  2959.          { ac_try='test -s conftest.$ac_objext'
  2960.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2961.   (eval $ac_try) 2>&5
  2962.   ac_status=$?
  2963.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2964.   (exit $ac_status); }; }; then
  2965.   ac_cv_type_size_t=yes
  2966. else
  2967.   echo "$as_me: failed program was:" >&5
  2968. sed 's/^/| /' conftest.$ac_ext >&5
  2969.  
  2970. ac_cv_type_size_t=no
  2971. fi
  2972. rm -f conftest.$ac_objext conftest.$ac_ext
  2973. fi
  2974. echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  2975. echo "${ECHO_T}$ac_cv_type_size_t" >&6
  2976. if test $ac_cv_type_size_t = yes; then
  2977.   :
  2978. else
  2979.  
  2980. cat >>confdefs.h <<_ACEOF
  2981. #define size_t unsigned
  2982. _ACEOF
  2983.  
  2984. fi
  2985.  
  2986.  
  2987.  
  2988. echo "$as_me:$LINENO: checking for working memcmp" >&5
  2989. echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
  2990. if test "${ac_cv_func_memcmp_working+set}" = set; then
  2991.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2992. else
  2993.   if test "$cross_compiling" = yes; then
  2994.   ac_cv_func_memcmp_working=no
  2995. else
  2996.   cat >conftest.$ac_ext <<_ACEOF
  2997. #line $LINENO "configure"
  2998. /* confdefs.h.  */
  2999. _ACEOF
  3000. cat confdefs.h >>conftest.$ac_ext
  3001. cat >>conftest.$ac_ext <<_ACEOF
  3002. /* end confdefs.h.  */
  3003.  
  3004. int
  3005. main ()
  3006. {
  3007.  
  3008.   /* Some versions of memcmp are not 8-bit clean.  */
  3009.   char c0 = 0x40, c1 = 0x80, c2 = 0x81;
  3010.   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
  3011.     exit (1);
  3012.  
  3013.   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
  3014.      or more and with at least one buffer not starting on a 4-byte boundary.
  3015.      William Lewis provided this test program.   */
  3016.   {
  3017.     char foo[21];
  3018.     char bar[21];
  3019.     int i;
  3020.     for (i = 0; i < 4; i++)
  3021.       {
  3022.         char *a = foo + i;
  3023.         char *b = bar + i;
  3024.         strcpy (a, "--------01111111");
  3025.         strcpy (b, "--------10000000");
  3026.         if (memcmp (a, b, 16) >= 0)
  3027.           exit (1);
  3028.       }
  3029.     exit (0);
  3030.   }
  3031.  
  3032.   ;
  3033.   return 0;
  3034. }
  3035. _ACEOF
  3036. rm -f conftest$ac_exeext
  3037. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3038.   (eval $ac_link) 2>&5
  3039.   ac_status=$?
  3040.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3041.   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  3042.   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3043.   (eval $ac_try) 2>&5
  3044.   ac_status=$?
  3045.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3046.   (exit $ac_status); }; }; then
  3047.   ac_cv_func_memcmp_working=yes
  3048. else
  3049.   echo "$as_me: program exited with status $ac_status" >&5
  3050. echo "$as_me: failed program was:" >&5
  3051. sed 's/^/| /' conftest.$ac_ext >&5
  3052.  
  3053. ( exit $ac_status )
  3054. ac_cv_func_memcmp_working=no
  3055. fi
  3056. rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3057. fi
  3058. fi
  3059. echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
  3060. echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
  3061. test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
  3062.  
  3063.  
  3064.  
  3065. echo "$as_me:$LINENO: checking location of pkgconfig directory" >&5
  3066. echo $ECHO_N "checking location of pkgconfig directory... $ECHO_C" >&6
  3067. for pkgdir in "${prefix}/lib/pkgconfig" "${prefix}/lib/libdata/pkgconfig" "${prefix}/libdata/pkgconfig" "/usr/lib/pkgconfig" "/usr/local/lib/pkgconfig" "/usr/libdata/pkgconfig" "/usr/local/libdata/pkgconfig" "/usr/pkg/lib/pkgconfig" "NONE"; do
  3068.     if test "$pkgdir" = "NONE"; then
  3069.         { { echo "$as_me:$LINENO: error: not found" >&5
  3070. echo "$as_me: error: not found" >&2;}
  3071.    { (exit 1); exit 1; }; }
  3072.     elif test -x $pkgdir; then
  3073.  
  3074.         echo "$as_me:$LINENO: result: $pkgdir" >&5
  3075. echo "${ECHO_T}$pkgdir" >&6
  3076.         break;
  3077.     fi
  3078. done
  3079.  
  3080.  
  3081.                                         ac_config_files="$ac_config_files Makefile.global INSTALL FILE_ID.DIZ door.pc"
  3082. cat >confcache <<\_ACEOF
  3083. # This file is a shell script that caches the results of configure
  3084. # tests run on this system so they can be shared between configure
  3085. # scripts and configure runs, see configure's option --config-cache.
  3086. # It is not useful on other systems.  If it contains results you don't
  3087. # want to keep, you may remove or edit it.
  3088. #
  3089. # config.status only pays attention to the cache file if you give it
  3090. # the --recheck option to rerun configure.
  3091. #
  3092. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  3093. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  3094. # following values.
  3095.  
  3096. _ACEOF
  3097.  
  3098. # The following way of writing the cache mishandles newlines in values,
  3099. # but we know of no workaround that is simple, portable, and efficient.
  3100. # So, don't put newlines in cache variables' values.
  3101. # Ultrix sh set writes to stderr and can't be redirected directly,
  3102. # and sets the high bit in the cache file unless we assign to the vars.
  3103. {
  3104.   (set) 2>&1 |
  3105.     case `(ac_space=' '; set | grep ac_space) 2>&1` in
  3106.     *ac_space=\ *)
  3107.       # `set' does not quote correctly, so add quotes (double-quote
  3108.       # substitution turns \\\\ into \\, and sed turns \\ into \).
  3109.       sed -n \
  3110.         "s/'/'\\\\''/g;
  3111.           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  3112.       ;;
  3113.     *)
  3114.       # `set' quotes correctly as required by POSIX, so do not add quotes.
  3115.       sed -n \
  3116.         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  3117.       ;;
  3118.     esac;
  3119. } |
  3120.   sed '
  3121.      t clear
  3122.      : clear
  3123.      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  3124.      t end
  3125.      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  3126.      : end' >>confcache
  3127. if diff $cache_file confcache >/dev/null 2>&1; then :; else
  3128.   if test -w $cache_file; then
  3129.     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  3130.     cat confcache >$cache_file
  3131.   else
  3132.     echo "not updating unwritable cache $cache_file"
  3133.   fi
  3134. fi
  3135. rm -f confcache
  3136.  
  3137. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  3138. # Let make expand exec_prefix.
  3139. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  3140.  
  3141. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  3142. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  3143. # trailing colons and then remove the whole line if VPATH becomes empty
  3144. # (actually we leave an empty line to preserve line numbers).
  3145. if test "x$srcdir" = x.; then
  3146.   ac_vpsub='/^[     ]*VPATH[     ]*=/{
  3147. s/:*\$(srcdir):*/:/;
  3148. s/:*\${srcdir}:*/:/;
  3149. s/:*@srcdir@:*/:/;
  3150. s/^\([^=]*=[     ]*\):*/\1/;
  3151. s/:*$//;
  3152. s/^[^=]*=[     ]*$//;
  3153. }'
  3154. fi
  3155.  
  3156. DEFS=-DHAVE_CONFIG_H
  3157.  
  3158. ac_libobjs=
  3159. ac_ltlibobjs=
  3160. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  3161.   # 1. Remove the extension, and $U if already installed.
  3162.   ac_i=`echo "$ac_i" |
  3163.          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  3164.   # 2. Add them.
  3165.   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  3166.   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  3167. done
  3168. LIBOBJS=$ac_libobjs
  3169.  
  3170. LTLIBOBJS=$ac_ltlibobjs
  3171.  
  3172.  
  3173.  
  3174. : ${CONFIG_STATUS=./config.status}
  3175. ac_clean_files_save=$ac_clean_files
  3176. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  3177. { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  3178. echo "$as_me: creating $CONFIG_STATUS" >&6;}
  3179. cat >$CONFIG_STATUS <<_ACEOF
  3180. #! $SHELL
  3181. # Generated by $as_me.
  3182. # Run this file to recreate the current configuration.
  3183. # Compiler output produced by configure, useful for debugging
  3184. # configure, is in config.log if it exists.
  3185.  
  3186. debug=false
  3187. ac_cs_recheck=false
  3188. ac_cs_silent=false
  3189. SHELL=\${CONFIG_SHELL-$SHELL}
  3190. _ACEOF
  3191.  
  3192. cat >>$CONFIG_STATUS <<\_ACEOF
  3193. ## --------------------- ##
  3194. ## M4sh Initialization.  ##
  3195. ## --------------------- ##
  3196.  
  3197. # Be Bourne compatible
  3198. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  3199.   emulate sh
  3200.   NULLCMD=:
  3201.   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  3202.   # is contrary to our usage.  Disable this feature.
  3203.   alias -g '${1+"$@"}'='"$@"'
  3204. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  3205.   set -o posix
  3206. fi
  3207.  
  3208. # Support unset when possible.
  3209. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  3210.   as_unset=unset
  3211. else
  3212.   as_unset=false
  3213. fi
  3214.  
  3215.  
  3216. # Work around bugs in pre-3.0 UWIN ksh.
  3217. $as_unset ENV MAIL MAILPATH
  3218. PS1='$ '
  3219. PS2='> '
  3220. PS4='+ '
  3221.  
  3222. # NLS nuisances.
  3223. for as_var in \
  3224.   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  3225.   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  3226.   LC_TELEPHONE LC_TIME
  3227. do
  3228.   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  3229.     eval $as_var=C; export $as_var
  3230.   else
  3231.     $as_unset $as_var
  3232.   fi
  3233. done
  3234.  
  3235. # Required to use basename.
  3236. if expr a : '\(a\)' >/dev/null 2>&1; then
  3237.   as_expr=expr
  3238. else
  3239.   as_expr=false
  3240. fi
  3241.  
  3242. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  3243.   as_basename=basename
  3244. else
  3245.   as_basename=false
  3246. fi
  3247.  
  3248.  
  3249. # Name of the executable.
  3250. as_me=`$as_basename "$0" ||
  3251. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  3252.      X"$0" : 'X\(//\)$' \| \
  3253.      X"$0" : 'X\(/\)$' \| \
  3254.      .     : '\(.\)' 2>/dev/null ||
  3255. echo X/"$0" |
  3256.     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  3257.         /^X\/\(\/\/\)$/{ s//\1/; q; }
  3258.         /^X\/\(\/\).*/{ s//\1/; q; }
  3259.         s/.*/./; q'`
  3260.  
  3261.  
  3262. # PATH needs CR, and LINENO needs CR and PATH.
  3263. # Avoid depending upon Character Ranges.
  3264. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  3265. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  3266. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  3267. as_cr_digits='0123456789'
  3268. as_cr_alnum=$as_cr_Letters$as_cr_digits
  3269.  
  3270. # The user is always right.
  3271. if test "${PATH_SEPARATOR+set}" != set; then
  3272.   echo "#! /bin/sh" >conf$$.sh
  3273.   echo  "exit 0"   >>conf$$.sh
  3274.   chmod +x conf$$.sh
  3275.   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  3276.     PATH_SEPARATOR=';'
  3277.   else
  3278.     PATH_SEPARATOR=:
  3279.   fi
  3280.   rm -f conf$$.sh
  3281. fi
  3282.  
  3283.  
  3284.   as_lineno_1=$LINENO
  3285.   as_lineno_2=$LINENO
  3286.   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  3287.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  3288.   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  3289.   # Find who we are.  Look in the path if we contain no path at all
  3290.   # relative or not.
  3291.   case $0 in
  3292.     *[\\/]* ) as_myself=$0 ;;
  3293.     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3294. for as_dir in $PATH
  3295. do
  3296.   IFS=$as_save_IFS
  3297.   test -z "$as_dir" && as_dir=.
  3298.   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  3299. done
  3300.  
  3301.        ;;
  3302.   esac
  3303.   # We did not find ourselves, most probably we were run as `sh COMMAND'
  3304.   # in which case we are not to be found in the path.
  3305.   if test "x$as_myself" = x; then
  3306.     as_myself=$0
  3307.   fi
  3308.   if test ! -f "$as_myself"; then
  3309.     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  3310. echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  3311.    { (exit 1); exit 1; }; }
  3312.   fi
  3313.   case $CONFIG_SHELL in
  3314.   '')
  3315.     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3316. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  3317. do
  3318.   IFS=$as_save_IFS
  3319.   test -z "$as_dir" && as_dir=.
  3320.   for as_base in sh bash ksh sh5; do
  3321.      case $as_dir in
  3322.      /*)
  3323.        if ("$as_dir/$as_base" -c '
  3324.   as_lineno_1=$LINENO
  3325.   as_lineno_2=$LINENO
  3326.   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  3327.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  3328.   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  3329.          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  3330.          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  3331.          CONFIG_SHELL=$as_dir/$as_base
  3332.          export CONFIG_SHELL
  3333.          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  3334.        fi;;
  3335.      esac
  3336.        done
  3337. done
  3338. ;;
  3339.   esac
  3340.  
  3341.   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  3342.   # uniformly replaced by the line number.  The first 'sed' inserts a
  3343.   # line-number line before each line; the second 'sed' does the real
  3344.   # work.  The second script uses 'N' to pair each line-number line
  3345.   # with the numbered line, and appends trailing '-' during
  3346.   # substitution so that $LINENO is not a special case at line end.
  3347.   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  3348.   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  3349.   sed '=' <$as_myself |
  3350.     sed '
  3351.       N
  3352.       s,$,-,
  3353.       : loop
  3354.       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  3355.       t loop
  3356.       s,-$,,
  3357.       s,^['$as_cr_digits']*\n,,
  3358.     ' >$as_me.lineno &&
  3359.   chmod +x $as_me.lineno ||
  3360.     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  3361. echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  3362.    { (exit 1); exit 1; }; }
  3363.  
  3364.   # Don't try to exec as it changes $[0], causing all sort of problems
  3365.   # (the dirname of $[0] is not the place where we might find the
  3366.   # original and so on.  Autoconf is especially sensible to this).
  3367.   . ./$as_me.lineno
  3368.   # Exit status is that of the last command.
  3369.   exit
  3370. }
  3371.  
  3372.  
  3373. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  3374.   *c*,-n*) ECHO_N= ECHO_C='
  3375. ' ECHO_T='    ' ;;
  3376.   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  3377.   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  3378. esac
  3379.  
  3380. if expr a : '\(a\)' >/dev/null 2>&1; then
  3381.   as_expr=expr
  3382. else
  3383.   as_expr=false
  3384. fi
  3385.  
  3386. rm -f conf$$ conf$$.exe conf$$.file
  3387. echo >conf$$.file
  3388. if ln -s conf$$.file conf$$ 2>/dev/null; then
  3389.   # We could just check for DJGPP; but this test a) works b) is more generic
  3390.   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  3391.   if test -f conf$$.exe; then
  3392.     # Don't use ln at all; we don't have any links
  3393.     as_ln_s='cp -p'
  3394.   else
  3395.     as_ln_s='ln -s'
  3396.   fi
  3397. elif ln conf$$.file conf$$ 2>/dev/null; then
  3398.   as_ln_s=ln
  3399. else
  3400.   as_ln_s='cp -p'
  3401. fi
  3402. rm -f conf$$ conf$$.exe conf$$.file
  3403.  
  3404. if mkdir -p . 2>/dev/null; then
  3405.   as_mkdir_p=:
  3406. else
  3407.   as_mkdir_p=false
  3408. fi
  3409.  
  3410. as_executable_p="test -f"
  3411.  
  3412. # Sed expression to map a string onto a valid CPP name.
  3413. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  3414.  
  3415. # Sed expression to map a string onto a valid variable name.
  3416. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  3417.  
  3418.  
  3419. # IFS
  3420. # We need space, tab and new line, in precisely that order.
  3421. as_nl='
  3422. '
  3423. IFS="     $as_nl"
  3424.  
  3425. # CDPATH.
  3426. $as_unset CDPATH
  3427.  
  3428. exec 6>&1
  3429.  
  3430. # Open the log real soon, to keep \$[0] and so on meaningful, and to
  3431. # report actual input values of CONFIG_FILES etc. instead of their
  3432. # values after options handling.  Logging --version etc. is OK.
  3433. exec 5>>config.log
  3434. {
  3435.   echo
  3436.   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  3437. ## Running $as_me. ##
  3438. _ASBOX
  3439. } >&5
  3440. cat >&5 <<_CSEOF
  3441.  
  3442. This file was extended by $as_me, which was
  3443. generated by GNU Autoconf 2.57.  Invocation command line was
  3444.  
  3445.   CONFIG_FILES    = $CONFIG_FILES
  3446.   CONFIG_HEADERS  = $CONFIG_HEADERS
  3447.   CONFIG_LINKS    = $CONFIG_LINKS
  3448.   CONFIG_COMMANDS = $CONFIG_COMMANDS
  3449.   $ $0 $@
  3450.  
  3451. _CSEOF
  3452. echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  3453. echo >&5
  3454. _ACEOF
  3455.  
  3456. # Files that config.status was made for.
  3457. if test -n "$ac_config_files"; then
  3458.   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  3459. fi
  3460.  
  3461. if test -n "$ac_config_headers"; then
  3462.   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  3463. fi
  3464.  
  3465. if test -n "$ac_config_links"; then
  3466.   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  3467. fi
  3468.  
  3469. if test -n "$ac_config_commands"; then
  3470.   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  3471. fi
  3472.  
  3473. cat >>$CONFIG_STATUS <<\_ACEOF
  3474.  
  3475. ac_cs_usage="\
  3476. \`$as_me' instantiates files from templates according to the
  3477. current configuration.
  3478.  
  3479. Usage: $0 [OPTIONS] [FILE]...
  3480.  
  3481.   -h, --help       print this help, then exit
  3482.   -V, --version    print version number, then exit
  3483.   -q, --quiet      do not print progress messages
  3484.   -d, --debug      don't remove temporary files
  3485.       --recheck    update $as_me by reconfiguring in the same conditions
  3486.   --file=FILE[:TEMPLATE]
  3487.                    instantiate the configuration file FILE
  3488.   --header=FILE[:TEMPLATE]
  3489.                    instantiate the configuration header FILE
  3490.  
  3491. Configuration files:
  3492. $config_files
  3493.  
  3494. Configuration headers:
  3495. $config_headers
  3496.  
  3497. Configuration commands:
  3498. $config_commands
  3499.  
  3500. Report bugs to <bug-autoconf@gnu.org>."
  3501. _ACEOF
  3502.  
  3503. cat >>$CONFIG_STATUS <<_ACEOF
  3504. ac_cs_version="\\
  3505. config.status
  3506. configured by $0, generated by GNU Autoconf 2.57,
  3507.   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  3508.  
  3509. Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  3510. Free Software Foundation, Inc.
  3511. This config.status script is free software; the Free Software Foundation
  3512. gives unlimited permission to copy, distribute and modify it."
  3513. srcdir=$srcdir
  3514. _ACEOF
  3515.  
  3516. cat >>$CONFIG_STATUS <<\_ACEOF
  3517. # If no file are specified by the user, then we need to provide default
  3518. # value.  By we need to know if files were specified by the user.
  3519. ac_need_defaults=:
  3520. while test $# != 0
  3521. do
  3522.   case $1 in
  3523.   --*=*)
  3524.     ac_option=`expr "x$1" : 'x\([^=]*\)='`
  3525.     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  3526.     ac_shift=:
  3527.     ;;
  3528.   -*)
  3529.     ac_option=$1
  3530.     ac_optarg=$2
  3531.     ac_shift=shift
  3532.     ;;
  3533.   *) # This is not an option, so the user has probably given explicit
  3534.      # arguments.
  3535.      ac_option=$1
  3536.      ac_need_defaults=false;;
  3537.   esac
  3538.  
  3539.   case $ac_option in
  3540.   # Handling of the options.
  3541. _ACEOF
  3542. cat >>$CONFIG_STATUS <<\_ACEOF
  3543.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  3544.     ac_cs_recheck=: ;;
  3545.   --version | --vers* | -V )
  3546.     echo "$ac_cs_version"; exit 0 ;;
  3547.   --he | --h)
  3548.     # Conflict between --help and --header
  3549.     { { echo "$as_me:$LINENO: error: ambiguous option: $1
  3550. Try \`$0 --help' for more information." >&5
  3551. echo "$as_me: error: ambiguous option: $1
  3552. Try \`$0 --help' for more information." >&2;}
  3553.    { (exit 1); exit 1; }; };;
  3554.   --help | --hel | -h )
  3555.     echo "$ac_cs_usage"; exit 0 ;;
  3556.   --debug | --d* | -d )
  3557.     debug=: ;;
  3558.   --file | --fil | --fi | --f )
  3559.     $ac_shift
  3560.     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  3561.     ac_need_defaults=false;;
  3562.   --header | --heade | --head | --hea )
  3563.     $ac_shift
  3564.     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  3565.     ac_need_defaults=false;;
  3566.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3567.   | -silent | --silent | --silen | --sile | --sil | --si | --s)
  3568.     ac_cs_silent=: ;;
  3569.  
  3570.   # This is an error.
  3571.   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  3572. Try \`$0 --help' for more information." >&5
  3573. echo "$as_me: error: unrecognized option: $1
  3574. Try \`$0 --help' for more information." >&2;}
  3575.    { (exit 1); exit 1; }; } ;;
  3576.  
  3577.   *) ac_config_targets="$ac_config_targets $1" ;;
  3578.  
  3579.   esac
  3580.   shift
  3581. done
  3582.  
  3583. ac_configure_extra_args=
  3584.  
  3585. if $ac_cs_silent; then
  3586.   exec 6>/dev/null
  3587.   ac_configure_extra_args="$ac_configure_extra_args --silent"
  3588. fi
  3589.  
  3590. _ACEOF
  3591. cat >>$CONFIG_STATUS <<_ACEOF
  3592. if \$ac_cs_recheck; then
  3593.   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  3594.   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  3595. fi
  3596.  
  3597. _ACEOF
  3598.  
  3599. cat >>$CONFIG_STATUS <<_ACEOF
  3600. #
  3601. # INIT-COMMANDS section.
  3602. #
  3603.  
  3604.  
  3605.  
  3606. _ACEOF
  3607.  
  3608.  
  3609.  
  3610. cat >>$CONFIG_STATUS <<\_ACEOF
  3611. for ac_config_target in $ac_config_targets
  3612. do
  3613.   case "$ac_config_target" in
  3614.   # Handling of arguments.
  3615.   "Makefile.global" ) CONFIG_FILES="$CONFIG_FILES Makefile.global" ;;
  3616.   "INSTALL" ) CONFIG_FILES="$CONFIG_FILES INSTALL" ;;
  3617.   "FILE_ID.DIZ" ) CONFIG_FILES="$CONFIG_FILES FILE_ID.DIZ" ;;
  3618.   "door.pc" ) CONFIG_FILES="$CONFIG_FILES door.pc" ;;
  3619.   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  3620.   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  3621.   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  3622. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  3623.    { (exit 1); exit 1; }; };;
  3624.   esac
  3625. done
  3626.  
  3627. # If the user did not use the arguments to specify the items to instantiate,
  3628. # then the envvar interface is used.  Set only those that are not.
  3629. # We use the long form for the default assignment because of an extremely
  3630. # bizarre bug on SunOS 4.1.3.
  3631. if $ac_need_defaults; then
  3632.   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  3633.   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  3634.   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  3635. fi
  3636.  
  3637. # Have a temporary directory for convenience.  Make it in the build tree
  3638. # simply because there is no reason to put it here, and in addition,
  3639. # creating and moving files from /tmp can sometimes cause problems.
  3640. # Create a temporary directory, and hook for its removal unless debugging.
  3641. $debug ||
  3642. {
  3643.   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  3644.   trap '{ (exit 1); exit 1; }' 1 2 13 15
  3645. }
  3646.  
  3647. # Create a (secure) tmp directory for tmp files.
  3648.  
  3649. {
  3650.   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  3651.   test -n "$tmp" && test -d "$tmp"
  3652. }  ||
  3653. {
  3654.   tmp=./confstat$$-$RANDOM
  3655.   (umask 077 && mkdir $tmp)
  3656. } ||
  3657. {
  3658.    echo "$me: cannot create a temporary directory in ." >&2
  3659.    { (exit 1); exit 1; }
  3660. }
  3661.  
  3662. _ACEOF
  3663.  
  3664. cat >>$CONFIG_STATUS <<_ACEOF
  3665.  
  3666. #
  3667. # CONFIG_FILES section.
  3668. #
  3669.  
  3670. # No need to generate the scripts if there are no CONFIG_FILES.
  3671. # This happens for instance when ./config.status config.h
  3672. if test -n "\$CONFIG_FILES"; then
  3673.   # Protect against being on the right side of a sed subst in config.status.
  3674.   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  3675.    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  3676. s,@SHELL@,$SHELL,;t t
  3677. s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
  3678. s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
  3679. s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
  3680. s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
  3681. s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
  3682. s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  3683. s,@exec_prefix@,$exec_prefix,;t t
  3684. s,@prefix@,$prefix,;t t
  3685. s,@program_transform_name@,$program_transform_name,;t t
  3686. s,@bindir@,$bindir,;t t
  3687. s,@sbindir@,$sbindir,;t t
  3688. s,@libexecdir@,$libexecdir,;t t
  3689. s,@datadir@,$datadir,;t t
  3690. s,@sysconfdir@,$sysconfdir,;t t
  3691. s,@sharedstatedir@,$sharedstatedir,;t t
  3692. s,@localstatedir@,$localstatedir,;t t
  3693. s,@libdir@,$libdir,;t t
  3694. s,@includedir@,$includedir,;t t
  3695. s,@oldincludedir@,$oldincludedir,;t t
  3696. s,@infodir@,$infodir,;t t
  3697. s,@mandir@,$mandir,;t t
  3698. s,@build_alias@,$build_alias,;t t
  3699. s,@host_alias@,$host_alias,;t t
  3700. s,@target_alias@,$target_alias,;t t
  3701. s,@DEFS@,$DEFS,;t t
  3702. s,@ECHO_C@,$ECHO_C,;t t
  3703. s,@ECHO_N@,$ECHO_N,;t t
  3704. s,@ECHO_T@,$ECHO_T,;t t
  3705. s,@LIBS@,$LIBS,;t t
  3706. s,@SUBDIRS@,$SUBDIRS,;t t
  3707. s,@PACKAGE@,$PACKAGE,;t t
  3708. s,@VERSION@,$VERSION,;t t
  3709. s,@LIBVERS@,$LIBVERS,;t t
  3710. s,@COPYRIGHT@,$COPYRIGHT,;t t
  3711. s,@CC@,$CC,;t t
  3712. s,@CFLAGS@,$CFLAGS,;t t
  3713. s,@LDFLAGS@,$LDFLAGS,;t t
  3714. s,@CPPFLAGS@,$CPPFLAGS,;t t
  3715. s,@ac_ct_CC@,$ac_ct_CC,;t t
  3716. s,@EXEEXT@,$EXEEXT,;t t
  3717. s,@OBJEXT@,$OBJEXT,;t t
  3718. s,@RANLIB@,$RANLIB,;t t
  3719. s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
  3720. s,@LN_S@,$LN_S,;t t
  3721. s,@TAR@,$TAR,;t t
  3722. s,@CPP@,$CPP,;t t
  3723. s,@EGREP@,$EGREP,;t t
  3724. s,@LIBOBJS@,$LIBOBJS,;t t
  3725. s,@pkgdir@,$pkgdir,;t t
  3726. s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  3727. CEOF
  3728.  
  3729. _ACEOF
  3730.  
  3731.   cat >>$CONFIG_STATUS <<\_ACEOF
  3732.   # Split the substitutions into bite-sized pieces for seds with
  3733.   # small command number limits, like on Digital OSF/1 and HP-UX.
  3734.   ac_max_sed_lines=48
  3735.   ac_sed_frag=1 # Number of current file.
  3736.   ac_beg=1 # First line for current file.
  3737.   ac_end=$ac_max_sed_lines # Line after last line for current file.
  3738.   ac_more_lines=:
  3739.   ac_sed_cmds=
  3740.   while $ac_more_lines; do
  3741.     if test $ac_beg -gt 1; then
  3742.       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  3743.     else
  3744.       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  3745.     fi
  3746.     if test ! -s $tmp/subs.frag; then
  3747.       ac_more_lines=false
  3748.     else
  3749.       # The purpose of the label and of the branching condition is to
  3750.       # speed up the sed processing (if there are no `@' at all, there
  3751.       # is no need to browse any of the substitutions).
  3752.       # These are the two extra sed commands mentioned above.
  3753.       (echo ':t
  3754.   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  3755.       if test -z "$ac_sed_cmds"; then
  3756.       ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  3757.       else
  3758.       ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  3759.       fi
  3760.       ac_sed_frag=`expr $ac_sed_frag + 1`
  3761.       ac_beg=$ac_end
  3762.       ac_end=`expr $ac_end + $ac_max_sed_lines`
  3763.     fi
  3764.   done
  3765.   if test -z "$ac_sed_cmds"; then
  3766.     ac_sed_cmds=cat
  3767.   fi
  3768. fi # test -n "$CONFIG_FILES"
  3769.  
  3770. _ACEOF
  3771. cat >>$CONFIG_STATUS <<\_ACEOF
  3772. for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  3773.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  3774.   case $ac_file in
  3775.   - | *:- | *:-:* ) # input from stdin
  3776.         cat >$tmp/stdin
  3777.         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  3778.         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  3779.   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  3780.         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  3781.   * )   ac_file_in=$ac_file.in ;;
  3782.   esac
  3783.  
  3784.   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  3785.   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  3786. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3787.          X"$ac_file" : 'X\(//\)[^/]' \| \
  3788.          X"$ac_file" : 'X\(//\)$' \| \
  3789.          X"$ac_file" : 'X\(/\)' \| \
  3790.          .     : '\(.\)' 2>/dev/null ||
  3791. echo X"$ac_file" |
  3792.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  3793.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  3794.         /^X\(\/\/\)$/{ s//\1/; q; }
  3795.         /^X\(\/\).*/{ s//\1/; q; }
  3796.         s/.*/./; q'`
  3797.   { if $as_mkdir_p; then
  3798.     mkdir -p "$ac_dir"
  3799.   else
  3800.     as_dir="$ac_dir"
  3801.     as_dirs=
  3802.     while test ! -d "$as_dir"; do
  3803.       as_dirs="$as_dir $as_dirs"
  3804.       as_dir=`(dirname "$as_dir") 2>/dev/null ||
  3805. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3806.          X"$as_dir" : 'X\(//\)[^/]' \| \
  3807.          X"$as_dir" : 'X\(//\)$' \| \
  3808.          X"$as_dir" : 'X\(/\)' \| \
  3809.          .     : '\(.\)' 2>/dev/null ||
  3810. echo X"$as_dir" |
  3811.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  3812.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  3813.         /^X\(\/\/\)$/{ s//\1/; q; }
  3814.         /^X\(\/\).*/{ s//\1/; q; }
  3815.         s/.*/./; q'`
  3816.     done
  3817.     test ! -n "$as_dirs" || mkdir $as_dirs
  3818.   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  3819. echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  3820.    { (exit 1); exit 1; }; }; }
  3821.  
  3822.   ac_builddir=.
  3823.  
  3824. if test "$ac_dir" != .; then
  3825.   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  3826.   # A "../" for each directory in $ac_dir_suffix.
  3827.   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  3828. else
  3829.   ac_dir_suffix= ac_top_builddir=
  3830. fi
  3831.  
  3832. case $srcdir in
  3833.   .)  # No --srcdir option.  We are building in place.
  3834.     ac_srcdir=.
  3835.     if test -z "$ac_top_builddir"; then
  3836.        ac_top_srcdir=.
  3837.     else
  3838.        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  3839.     fi ;;
  3840.   [\\/]* | ?:[\\/]* )  # Absolute path.
  3841.     ac_srcdir=$srcdir$ac_dir_suffix;
  3842.     ac_top_srcdir=$srcdir ;;
  3843.   *) # Relative path.
  3844.     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  3845.     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  3846. esac
  3847. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  3848. # absolute.
  3849. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  3850. ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  3851. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  3852. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  3853.  
  3854.  
  3855.  
  3856.   if test x"$ac_file" != x-; then
  3857.     { echo "$as_me:$LINENO: creating $ac_file" >&5
  3858. echo "$as_me: creating $ac_file" >&6;}
  3859.     rm -f "$ac_file"
  3860.   fi
  3861.   # Let's still pretend it is `configure' which instantiates (i.e., don't
  3862.   # use $as_me), people would be surprised to read:
  3863.   #    /* config.h.  Generated by config.status.  */
  3864.   if test x"$ac_file" = x-; then
  3865.     configure_input=
  3866.   else
  3867.     configure_input="$ac_file.  "
  3868.   fi
  3869.   configure_input=$configure_input"Generated from `echo $ac_file_in |
  3870.                                      sed 's,.*/,,'` by configure."
  3871.  
  3872.   # First look for the input files in the build tree, otherwise in the
  3873.   # src tree.
  3874.   ac_file_inputs=`IFS=:
  3875.     for f in $ac_file_in; do
  3876.       case $f in
  3877.       -) echo $tmp/stdin ;;
  3878.       [\\/$]*)
  3879.          # Absolute (can't be DOS-style, as IFS=:)
  3880.          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  3881. echo "$as_me: error: cannot find input file: $f" >&2;}
  3882.    { (exit 1); exit 1; }; }
  3883.          echo $f;;
  3884.       *) # Relative
  3885.          if test -f "$f"; then
  3886.            # Build tree
  3887.            echo $f
  3888.          elif test -f "$srcdir/$f"; then
  3889.            # Source tree
  3890.            echo $srcdir/$f
  3891.          else
  3892.            # /dev/null tree
  3893.            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  3894. echo "$as_me: error: cannot find input file: $f" >&2;}
  3895.    { (exit 1); exit 1; }; }
  3896.          fi;;
  3897.       esac
  3898.     done` || { (exit 1); exit 1; }
  3899. _ACEOF
  3900. cat >>$CONFIG_STATUS <<_ACEOF
  3901.   sed "$ac_vpsub
  3902. $extrasub
  3903. _ACEOF
  3904. cat >>$CONFIG_STATUS <<\_ACEOF
  3905. :t
  3906. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  3907. s,@configure_input@,$configure_input,;t t
  3908. s,@srcdir@,$ac_srcdir,;t t
  3909. s,@abs_srcdir@,$ac_abs_srcdir,;t t
  3910. s,@top_srcdir@,$ac_top_srcdir,;t t
  3911. s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
  3912. s,@builddir@,$ac_builddir,;t t
  3913. s,@abs_builddir@,$ac_abs_builddir,;t t
  3914. s,@top_builddir@,$ac_top_builddir,;t t
  3915. s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  3916. " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  3917.   rm -f $tmp/stdin
  3918.   if test x"$ac_file" != x-; then
  3919.     mv $tmp/out $ac_file
  3920.   else
  3921.     cat $tmp/out
  3922.     rm -f $tmp/out
  3923.   fi
  3924.  
  3925. done
  3926. _ACEOF
  3927. cat >>$CONFIG_STATUS <<\_ACEOF
  3928.  
  3929. #
  3930. # CONFIG_HEADER section.
  3931. #
  3932.  
  3933. # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  3934. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  3935. #
  3936. # ac_d sets the value in "#define NAME VALUE" lines.
  3937. ac_dA='s,^\([     ]*\)#\([     ]*define[     ][     ]*\)'
  3938. ac_dB='[     ].*$,\1#\2'
  3939. ac_dC=' '
  3940. ac_dD=',;t'
  3941. # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  3942. ac_uA='s,^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  3943. ac_uB='$,\1#\2define\3'
  3944. ac_uC=' '
  3945. ac_uD=',;t'
  3946.  
  3947. for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  3948.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  3949.   case $ac_file in
  3950.   - | *:- | *:-:* ) # input from stdin
  3951.         cat >$tmp/stdin
  3952.         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  3953.         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  3954.   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  3955.         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  3956.   * )   ac_file_in=$ac_file.in ;;
  3957.   esac
  3958.  
  3959.   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
  3960. echo "$as_me: creating $ac_file" >&6;}
  3961.  
  3962.   # First look for the input files in the build tree, otherwise in the
  3963.   # src tree.
  3964.   ac_file_inputs=`IFS=:
  3965.     for f in $ac_file_in; do
  3966.       case $f in
  3967.       -) echo $tmp/stdin ;;
  3968.       [\\/$]*)
  3969.          # Absolute (can't be DOS-style, as IFS=:)
  3970.          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  3971. echo "$as_me: error: cannot find input file: $f" >&2;}
  3972.    { (exit 1); exit 1; }; }
  3973.          echo $f;;
  3974.       *) # Relative
  3975.          if test -f "$f"; then
  3976.            # Build tree
  3977.            echo $f
  3978.          elif test -f "$srcdir/$f"; then
  3979.            # Source tree
  3980.            echo $srcdir/$f
  3981.          else
  3982.            # /dev/null tree
  3983.            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  3984. echo "$as_me: error: cannot find input file: $f" >&2;}
  3985.    { (exit 1); exit 1; }; }
  3986.          fi;;
  3987.       esac
  3988.     done` || { (exit 1); exit 1; }
  3989.   # Remove the trailing spaces.
  3990.   sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
  3991.  
  3992. _ACEOF
  3993.  
  3994. # Transform confdefs.h into two sed scripts, `conftest.defines' and
  3995. # `conftest.undefs', that substitutes the proper values into
  3996. # config.h.in to produce config.h.  The first handles `#define'
  3997. # templates, and the second `#undef' templates.
  3998. # And first: Protect against being on the right side of a sed subst in
  3999. # config.status.  Protect against being in an unquoted here document
  4000. # in config.status.
  4001. rm -f conftest.defines conftest.undefs
  4002. # Using a here document instead of a string reduces the quoting nightmare.
  4003. # Putting comments in sed scripts is not portable.
  4004. #
  4005. # `end' is used to avoid that the second main sed command (meant for
  4006. # 0-ary CPP macros) applies to n-ary macro definitions.
  4007. # See the Autoconf documentation for `clear'.
  4008. cat >confdef2sed.sed <<\_ACEOF
  4009. s/[\\&,]/\\&/g
  4010. s,[\\$`],\\&,g
  4011. t clear
  4012. : clear
  4013. s,^[     ]*#[     ]*define[     ][     ]*\([^     (][^     (]*\)\(([^)]*)\)[     ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
  4014. t end
  4015. s,^[     ]*#[     ]*define[     ][     ]*\([^     ][^     ]*\)[     ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  4016. : end
  4017. _ACEOF
  4018. # If some macros were called several times there might be several times
  4019. # the same #defines, which is useless.  Nevertheless, we may not want to
  4020. # sort them, since we want the *last* AC-DEFINE to be honored.
  4021. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
  4022. sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
  4023. rm -f confdef2sed.sed
  4024.  
  4025. # This sed command replaces #undef with comments.  This is necessary, for
  4026. # example, in the case of _POSIX_SOURCE, which is predefined and required
  4027. # on some systems where configure will not decide to define it.
  4028. cat >>conftest.undefs <<\_ACEOF
  4029. s,^[     ]*#[     ]*undef[     ][     ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  4030. _ACEOF
  4031.  
  4032. # Break up conftest.defines because some shells have a limit on the size
  4033. # of here documents, and old seds have small limits too (100 cmds).
  4034. echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
  4035. echo '  if grep "^[     ]*#[     ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
  4036. echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
  4037. echo '  :' >>$CONFIG_STATUS
  4038. rm -f conftest.tail
  4039. while grep . conftest.defines >/dev/null
  4040. do
  4041.   # Write a limited-size here document to $tmp/defines.sed.
  4042.   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  4043.   # Speed up: don't consider the non `#define' lines.
  4044.   echo '/^[     ]*#[     ]*define/!b' >>$CONFIG_STATUS
  4045.   # Work around the forget-to-reset-the-flag bug.
  4046.   echo 't clr' >>$CONFIG_STATUS
  4047.   echo ': clr' >>$CONFIG_STATUS
  4048.   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
  4049.   echo 'CEOF
  4050.   sed -f $tmp/defines.sed $tmp/in >$tmp/out
  4051.   rm -f $tmp/in
  4052.   mv $tmp/out $tmp/in
  4053. ' >>$CONFIG_STATUS
  4054.   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
  4055.   rm -f conftest.defines
  4056.   mv conftest.tail conftest.defines
  4057. done
  4058. rm -f conftest.defines
  4059. echo '  fi # grep' >>$CONFIG_STATUS
  4060. echo >>$CONFIG_STATUS
  4061.  
  4062. # Break up conftest.undefs because some shells have a limit on the size
  4063. # of here documents, and old seds have small limits too (100 cmds).
  4064. echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
  4065. rm -f conftest.tail
  4066. while grep . conftest.undefs >/dev/null
  4067. do
  4068.   # Write a limited-size here document to $tmp/undefs.sed.
  4069.   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  4070.   # Speed up: don't consider the non `#undef'
  4071.   echo '/^[     ]*#[     ]*undef/!b' >>$CONFIG_STATUS
  4072.   # Work around the forget-to-reset-the-flag bug.
  4073.   echo 't clr' >>$CONFIG_STATUS
  4074.   echo ': clr' >>$CONFIG_STATUS
  4075.   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
  4076.   echo 'CEOF
  4077.   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  4078.   rm -f $tmp/in
  4079.   mv $tmp/out $tmp/in
  4080. ' >>$CONFIG_STATUS
  4081.   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  4082.   rm -f conftest.undefs
  4083.   mv conftest.tail conftest.undefs
  4084. done
  4085. rm -f conftest.undefs
  4086.  
  4087. cat >>$CONFIG_STATUS <<\_ACEOF
  4088.   # Let's still pretend it is `configure' which instantiates (i.e., don't
  4089.   # use $as_me), people would be surprised to read:
  4090.   #    /* config.h.  Generated by config.status.  */
  4091.   if test x"$ac_file" = x-; then
  4092.     echo "/* Generated by configure.  */" >$tmp/config.h
  4093.   else
  4094.     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
  4095.   fi
  4096.   cat $tmp/in >>$tmp/config.h
  4097.   rm -f $tmp/in
  4098.   if test x"$ac_file" != x-; then
  4099.     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
  4100.       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  4101. echo "$as_me: $ac_file is unchanged" >&6;}
  4102.     else
  4103.       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  4104. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4105.          X"$ac_file" : 'X\(//\)[^/]' \| \
  4106.          X"$ac_file" : 'X\(//\)$' \| \
  4107.          X"$ac_file" : 'X\(/\)' \| \
  4108.          .     : '\(.\)' 2>/dev/null ||
  4109. echo X"$ac_file" |
  4110.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  4111.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  4112.         /^X\(\/\/\)$/{ s//\1/; q; }
  4113.         /^X\(\/\).*/{ s//\1/; q; }
  4114.         s/.*/./; q'`
  4115.       { if $as_mkdir_p; then
  4116.     mkdir -p "$ac_dir"
  4117.   else
  4118.     as_dir="$ac_dir"
  4119.     as_dirs=
  4120.     while test ! -d "$as_dir"; do
  4121.       as_dirs="$as_dir $as_dirs"
  4122.       as_dir=`(dirname "$as_dir") 2>/dev/null ||
  4123. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4124.          X"$as_dir" : 'X\(//\)[^/]' \| \
  4125.          X"$as_dir" : 'X\(//\)$' \| \
  4126.          X"$as_dir" : 'X\(/\)' \| \
  4127.          .     : '\(.\)' 2>/dev/null ||
  4128. echo X"$as_dir" |
  4129.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  4130.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  4131.         /^X\(\/\/\)$/{ s//\1/; q; }
  4132.         /^X\(\/\).*/{ s//\1/; q; }
  4133.         s/.*/./; q'`
  4134.     done
  4135.     test ! -n "$as_dirs" || mkdir $as_dirs
  4136.   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  4137. echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  4138.    { (exit 1); exit 1; }; }; }
  4139.  
  4140.       rm -f $ac_file
  4141.       mv $tmp/config.h $ac_file
  4142.     fi
  4143.   else
  4144.     cat $tmp/config.h
  4145.     rm -f $tmp/config.h
  4146.   fi
  4147. done
  4148. _ACEOF
  4149. cat >>$CONFIG_STATUS <<\_ACEOF
  4150.  
  4151. #
  4152. # CONFIG_COMMANDS section.
  4153. #
  4154. for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  4155.   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  4156.   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
  4157.   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
  4158. $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4159.          X"$ac_dest" : 'X\(//\)[^/]' \| \
  4160.          X"$ac_dest" : 'X\(//\)$' \| \
  4161.          X"$ac_dest" : 'X\(/\)' \| \
  4162.          .     : '\(.\)' 2>/dev/null ||
  4163. echo X"$ac_dest" |
  4164.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  4165.         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  4166.         /^X\(\/\/\)$/{ s//\1/; q; }
  4167.         /^X\(\/\).*/{ s//\1/; q; }
  4168.         s/.*/./; q'`
  4169.   ac_builddir=.
  4170.  
  4171. if test "$ac_dir" != .; then
  4172.   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  4173.   # A "../" for each directory in $ac_dir_suffix.
  4174.   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  4175. else
  4176.   ac_dir_suffix= ac_top_builddir=
  4177. fi
  4178.  
  4179. case $srcdir in
  4180.   .)  # No --srcdir option.  We are building in place.
  4181.     ac_srcdir=.
  4182.     if test -z "$ac_top_builddir"; then
  4183.        ac_top_srcdir=.
  4184.     else
  4185.        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  4186.     fi ;;
  4187.   [\\/]* | ?:[\\/]* )  # Absolute path.
  4188.     ac_srcdir=$srcdir$ac_dir_suffix;
  4189.     ac_top_srcdir=$srcdir ;;
  4190.   *) # Relative path.
  4191.     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  4192.     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  4193. esac
  4194. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  4195. # absolute.
  4196. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  4197. ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  4198. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  4199. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  4200.  
  4201.  
  4202.   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
  4203. echo "$as_me: executing $ac_dest commands" >&6;}
  4204.   case $ac_dest in
  4205.     default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
  4206.   esac
  4207. done
  4208. _ACEOF
  4209.  
  4210. cat >>$CONFIG_STATUS <<\_ACEOF
  4211.  
  4212. { (exit 0); exit 0; }
  4213. _ACEOF
  4214. chmod +x $CONFIG_STATUS
  4215. ac_clean_files=$ac_clean_files_save
  4216.  
  4217.  
  4218. # configure is writing to config.log, and then calls config.status.
  4219. # config.status does its own redirection, appending to config.log.
  4220. # Unfortunately, on DOS this fails, as config.log is still kept open
  4221. # by configure, so config.status won't be able to write to it; its
  4222. # output is simply discarded.  So we exec the FD to /dev/null,
  4223. # effectively closing config.log, so it can be properly (re)opened and
  4224. # appended to by config.status.  When coming back to configure, we
  4225. # need to make the FD available again.
  4226. if test "$no_create" != yes; then
  4227.   ac_cs_success=:
  4228.   ac_config_status_args=
  4229.   test "$silent" = yes &&
  4230.     ac_config_status_args="$ac_config_status_args --quiet"
  4231.   exec 5>/dev/null
  4232.   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  4233.   exec 5>>config.log
  4234.   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  4235.   # would make configure fail if this is the last instruction.
  4236.   $ac_cs_success || { (exit 1); exit 1; }
  4237. fi
  4238.  
  4239.  
  4240. #=================================================================================
  4241.  
  4242. echo "$as_me:$LINENO: result:
  4243. -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
  4244.  
  4245.   Configuration summary :
  4246.  
  4247.     Version : ..................... ${VERSION}
  4248. " >&5
  4249. echo "${ECHO_T}
  4250. -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
  4251.  
  4252.   Configuration summary :
  4253.  
  4254.     Version : ..................... ${VERSION}
  4255. " >&6
  4256.  
  4257. if test x$ac_cv_c_compiler_gnu = xyes ; then
  4258.         echo -e "  Tools :\n"
  4259.         echo "    Compiler is GCC : ............. ${ac_cv_c_compiler_gnu}"
  4260.     fi
  4261.  
  4262. echo "$as_me:$LINENO: result:
  4263.   Installation directories :
  4264.  
  4265.     Library directory : ........... ${prefix}/lib
  4266.     Include directory : ........... ${prefix}/include
  4267.     Pkgconfig directory : ......... ${pkgdir}
  4268. " >&5
  4269. echo "${ECHO_T}
  4270.   Installation directories :
  4271.  
  4272.     Library directory : ........... ${prefix}/lib
  4273.     Include directory : ........... ${prefix}/include
  4274.     Pkgconfig directory : ......... ${pkgdir}
  4275. " >&6
  4276.  
  4277.