configure
上传用户:shenzhenrh
上传日期:2013-05-12
资源大小:2904k
文件大小:276k
源码类别:

信息检索与抽取

开发平台:

Unix_Linux

  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.59.
  4. #
  5. # Copyright (C) 2003 Free Software Foundation, Inc.
  6. # This configure script is free software; the Free Software Foundation
  7. # gives unlimited permission to copy, distribute and modify it.
  8. ## --------------------- ##
  9. ## M4sh Initialization.  ##
  10. ## --------------------- ##
  11. # Be Bourne compatible
  12. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  13.   emulate sh
  14.   NULLCMD=:
  15.   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  16.   # is contrary to our usage.  Disable this feature.
  17.   alias -g '${1+"$@"}'='"$@"'
  18. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  19.   set -o posix
  20. fi
  21. DUALCASE=1; export DUALCASE # for MKS sh
  22. # Support unset when possible.
  23. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  24.   as_unset=unset
  25. else
  26.   as_unset=false
  27. fi
  28. # Work around bugs in pre-3.0 UWIN ksh.
  29. $as_unset ENV MAIL MAILPATH
  30. PS1='$ '
  31. PS2='> '
  32. PS4='+ '
  33. # NLS nuisances.
  34. for as_var in 
  35.   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION 
  36.   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER 
  37.   LC_TELEPHONE LC_TIME
  38. do
  39.   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  40.     eval $as_var=C; export $as_var
  41.   else
  42.     $as_unset $as_var
  43.   fi
  44. done
  45. # Required to use basename.
  46. if expr a : '(a)' >/dev/null 2>&1; then
  47.   as_expr=expr
  48. else
  49.   as_expr=false
  50. fi
  51. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  52.   as_basename=basename
  53. else
  54.   as_basename=false
  55. fi
  56. # Name of the executable.
  57. as_me=`$as_basename "$0" ||
  58. $as_expr X/"$0" : '.*/([^/][^/]*)/*$' | 
  59.  X"$0" : 'X(//)$' | 
  60.  X"$0" : 'X(/)$' | 
  61.  .     : '(.)' 2>/dev/null ||
  62. echo X/"$0" |
  63.     sed '/^.*/([^/][^/]*)/*$/{ s//1/; q; }
  64.      /^X/(//)$/{ s//1/; q; }
  65.      /^X/(/).*/{ s//1/; q; }
  66.      s/.*/./; q'`
  67. # PATH needs CR, and LINENO needs CR and PATH.
  68. # Avoid depending upon Character Ranges.
  69. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  70. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  71. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  72. as_cr_digits='0123456789'
  73. as_cr_alnum=$as_cr_Letters$as_cr_digits
  74. # The user is always right.
  75. if test "${PATH_SEPARATOR+set}" != set; then
  76.   echo "#! /bin/sh" >conf$$.sh
  77.   echo  "exit 0"   >>conf$$.sh
  78.   chmod +x conf$$.sh
  79.   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  80.     PATH_SEPARATOR=';'
  81.   else
  82.     PATH_SEPARATOR=:
  83.   fi
  84.   rm -f conf$$.sh
  85. fi
  86.   as_lineno_1=$LINENO
  87.   as_lineno_2=$LINENO
  88.   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  89.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  90.   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  91.   # Find who we are.  Look in the path if we contain no path at all
  92.   # relative or not.
  93.   case $0 in
  94.     *[\/]* ) as_myself=$0 ;;
  95.     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  96. for as_dir in $PATH
  97. do
  98.   IFS=$as_save_IFS
  99.   test -z "$as_dir" && as_dir=.
  100.   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101. done
  102.        ;;
  103.   esac
  104.   # We did not find ourselves, most probably we were run as `sh COMMAND'
  105.   # in which case we are not to be found in the path.
  106.   if test "x$as_myself" = x; then
  107.     as_myself=$0
  108.   fi
  109.   if test ! -f "$as_myself"; then
  110.     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  111.    { (exit 1); exit 1; }; }
  112.   fi
  113.   case $CONFIG_SHELL in
  114.   '')
  115.     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  116. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  117. do
  118.   IFS=$as_save_IFS
  119.   test -z "$as_dir" && as_dir=.
  120.   for as_base in sh bash ksh sh5; do
  121.  case $as_dir in
  122.  /*)
  123.    if ("$as_dir/$as_base" -c '
  124.   as_lineno_1=$LINENO
  125.   as_lineno_2=$LINENO
  126.   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  127.   test "x$as_lineno_1" != "x$as_lineno_2" &&
  128.   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  129.      $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  130.      $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  131.      CONFIG_SHELL=$as_dir/$as_base
  132.      export CONFIG_SHELL
  133.      exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  134.    fi;;
  135.  esac
  136.        done
  137. done
  138. ;;
  139.   esac
  140.   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  141.   # uniformly replaced by the line number.  The first 'sed' inserts a
  142.   # line-number line before each line; the second 'sed' does the real
  143.   # work.  The second script uses 'N' to pair each line-number line
  144.   # with the numbered line, and appends trailing '-' during
  145.   # substitution so that $LINENO is not a special case at line end.
  146.   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  147.   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  148.   sed '=' <$as_myself |
  149.     sed '
  150.       N
  151.       s,$,-,
  152.       : loop
  153.       s,^(['$as_cr_digits']*)(.*)[$]LINENO([^'$as_cr_alnum'_]),1213,
  154.       t loop
  155.       s,-$,,
  156.       s,^['$as_cr_digits']*n,,
  157.     ' >$as_me.lineno &&
  158.   chmod +x $as_me.lineno ||
  159.     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  160.    { (exit 1); exit 1; }; }
  161.   # Don't try to exec as it changes $[0], causing all sort of problems
  162.   # (the dirname of $[0] is not the place where we might find the
  163.   # original and so on.  Autoconf is especially sensible to this).
  164.   . ./$as_me.lineno
  165.   # Exit status is that of the last command.
  166.   exit
  167. }
  168. case `echo "testingc"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  169.   *c*,-n*) ECHO_N= ECHO_C='
  170. ' ECHO_T=' ' ;;
  171.   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  172.   *)       ECHO_N= ECHO_C='c' ECHO_T= ;;
  173. esac
  174. if expr a : '(a)' >/dev/null 2>&1; then
  175.   as_expr=expr
  176. else
  177.   as_expr=false
  178. fi
  179. rm -f conf$$ conf$$.exe conf$$.file
  180. echo >conf$$.file
  181. if ln -s conf$$.file conf$$ 2>/dev/null; then
  182.   # We could just check for DJGPP; but this test a) works b) is more generic
  183.   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  184.   if test -f conf$$.exe; then
  185.     # Don't use ln at all; we don't have any links
  186.     as_ln_s='cp -p'
  187.   else
  188.     as_ln_s='ln -s'
  189.   fi
  190. elif ln conf$$.file conf$$ 2>/dev/null; then
  191.   as_ln_s=ln
  192. else
  193.   as_ln_s='cp -p'
  194. fi
  195. rm -f conf$$ conf$$.exe conf$$.file
  196. if mkdir -p . 2>/dev/null; then
  197.   as_mkdir_p=:
  198. else
  199.   test -d ./-p && rmdir ./-p
  200.   as_mkdir_p=false
  201. fi
  202. as_executable_p="test -f"
  203. # Sed expression to map a string onto a valid CPP name.
  204. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  205. # Sed expression to map a string onto a valid variable name.
  206. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  207. # IFS
  208. # We need space, tab and new line, in precisely that order.
  209. as_nl='
  210. '
  211. IFS="  $as_nl"
  212. # CDPATH.
  213. $as_unset CDPATH
  214. # Find the correct PATH separator.  Usually this is `:', but
  215. # DJGPP uses `;' like DOS.
  216. if test "X${PATH_SEPARATOR+set}" != Xset; then
  217.   UNAME=${UNAME-`uname 2>/dev/null`}
  218.   case X$UNAME in
  219.     *-DOS) lt_cv_sys_path_separator=';' ;;
  220.     *)     lt_cv_sys_path_separator=':' ;;
  221.   esac
  222.   PATH_SEPARATOR=$lt_cv_sys_path_separator
  223. fi
  224. # Check that we are running under the correct shell.
  225. SHELL=${CONFIG_SHELL-/bin/sh}
  226. case X$ECHO in
  227. X*--fallback-echo)
  228.   # Remove one level of quotation (which was required for Make).
  229.   ECHO=`echo "$ECHO" | sed 's,\\$\$0,'$0','`
  230.   ;;
  231. esac
  232. echo=${ECHO-echo}
  233. if test "X$1" = X--no-reexec; then
  234.   # Discard the --no-reexec flag, and continue.
  235.   shift
  236. elif test "X$1" = X--fallback-echo; then
  237.   # Avoid inline document here, it may be left over
  238.   :
  239. elif test "X`($echo 't') 2>/dev/null`" = 'Xt'; then
  240.   # Yippee, $echo works!
  241.   :
  242. else
  243.   # Restart under the correct shell.
  244.   exec $SHELL "$0" --no-reexec ${1+"$@"}
  245. fi
  246. if test "X$1" = X--fallback-echo; then
  247.   # used as fallback echo
  248.   shift
  249.   cat <<EOF
  250. EOF
  251.   exit 0
  252. fi
  253. # The HP-UX ksh and POSIX shell print the target directory to stdout
  254. # if CDPATH is set.
  255. if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
  256. if test -z "$ECHO"; then
  257. if test "X${echo_test_string+set}" != Xset; then
  258. # find a string as large as possible, as long as the shell can cope with it
  259.   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  260.     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  261.     if (echo_test_string="`eval $cmd`") 2>/dev/null &&
  262.        echo_test_string="`eval $cmd`" &&
  263.        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  264.     then
  265.       break
  266.     fi
  267.   done
  268. fi
  269. if test "X`($echo 't') 2>/dev/null`" = 'Xt' &&
  270.    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  271.    test "X$echo_testing_string" = "X$echo_test_string"; then
  272.   :
  273. else
  274.   # The Solaris, AIX, and Digital Unix default echo programs unquote
  275.   # backslashes.  This makes it impossible to quote backslashes using
  276.   #   echo "$something" | sed 's/\/\\/g'
  277.   #
  278.   # So, first we look for a working echo in the user's PATH.
  279.   IFS="${IFS=  }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  280.   for dir in $PATH /usr/ucb; do
  281.     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  282.        test "X`($dir/echo 't') 2>/dev/null`" = 'Xt' &&
  283.        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  284.        test "X$echo_testing_string" = "X$echo_test_string"; then
  285.       echo="$dir/echo"
  286.       break
  287.     fi
  288.   done
  289.   IFS="$save_ifs"
  290.   if test "X$echo" = Xecho; then
  291.     # We didn't find a better echo, so look for alternatives.
  292.     if test "X`(print -r 't') 2>/dev/null`" = 'Xt' &&
  293.        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  294.        test "X$echo_testing_string" = "X$echo_test_string"; then
  295.       # This shell has a builtin print -r that does the trick.
  296.       echo='print -r'
  297.     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  298.  test "X$CONFIG_SHELL" != X/bin/ksh; then
  299.       # If we have ksh, try running configure again with it.
  300.       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  301.       export ORIGINAL_CONFIG_SHELL
  302.       CONFIG_SHELL=/bin/ksh
  303.       export CONFIG_SHELL
  304.       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  305.     else
  306.       # Try using printf.
  307.       echo='printf %sn'
  308.       if test "X`($echo 't') 2>/dev/null`" = 'Xt' &&
  309.  echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  310.  test "X$echo_testing_string" = "X$echo_test_string"; then
  311. # Cool, printf works
  312. :
  313.       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo 't') 2>/dev/null` &&
  314.    test "X$echo_testing_string" = 'Xt' &&
  315.    echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  316.    test "X$echo_testing_string" = "X$echo_test_string"; then
  317. CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  318. export CONFIG_SHELL
  319. SHELL="$CONFIG_SHELL"
  320. export SHELL
  321. echo="$CONFIG_SHELL $0 --fallback-echo"
  322.       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo 't') 2>/dev/null` &&
  323.    test "X$echo_testing_string" = 'Xt' &&
  324.    echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  325.    test "X$echo_testing_string" = "X$echo_test_string"; then
  326. echo="$CONFIG_SHELL $0 --fallback-echo"
  327.       else
  328. # maybe with a smaller string...
  329. prev=:
  330. for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  331.   if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  332.   then
  333.     break
  334.   fi
  335.   prev="$cmd"
  336. done
  337. if test "$prev" != 'sed 50q "$0"'; then
  338.   echo_test_string=`eval $prev`
  339.   export echo_test_string
  340.   exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  341. else
  342.   # Oops.  We lost completely, so just stick with echo.
  343.   echo=echo
  344. fi
  345.       fi
  346.     fi
  347.   fi
  348. fi
  349. fi
  350. # Copy echo and quote the copy suitably for passing to libtool from
  351. # the Makefile, instead of quoting the original, which is used later.
  352. ECHO=$echo
  353. if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  354.    ECHO="$CONFIG_SHELL \$$0 --fallback-echo"
  355. fi
  356. # Name of the host.
  357. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  358. # so uname gets run too.
  359. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  360. exec 6>&1
  361. #
  362. # Initializations.
  363. #
  364. ac_default_prefix=/usr/local
  365. ac_config_libobj_dir=.
  366. cross_compiling=no
  367. subdirs=
  368. MFLAGS=
  369. MAKEFLAGS=
  370. SHELL=${CONFIG_SHELL-/bin/sh}
  371. # Maximum number of lines to put in a shell here document.
  372. # This variable seems obsolete.  It should probably be removed, and
  373. # only ac_max_sed_lines should be used.
  374. : ${ac_max_here_lines=38}
  375. # Identity of this package.
  376. PACKAGE_NAME=
  377. PACKAGE_TARNAME=
  378. PACKAGE_VERSION=
  379. PACKAGE_STRING=
  380. PACKAGE_BUGREPORT=
  381. ac_unique_file="avcall.h.in"
  382. # Factoring default headers for most tests.
  383. ac_includes_default="
  384. #include <stdio.h>
  385. #if HAVE_SYS_TYPES_H
  386. # include <sys/types.h>
  387. #endif
  388. #if HAVE_SYS_STAT_H
  389. # include <sys/stat.h>
  390. #endif
  391. #if STDC_HEADERS
  392. # include <stdlib.h>
  393. # include <stddef.h>
  394. #else
  395. # if HAVE_STDLIB_H
  396. #  include <stdlib.h>
  397. # endif
  398. #endif
  399. #if HAVE_STRING_H
  400. # if !STDC_HEADERS && HAVE_MEMORY_H
  401. #  include <memory.h>
  402. # endif
  403. # include <string.h>
  404. #endif
  405. #if HAVE_STRINGS_H
  406. # include <strings.h>
  407. #endif
  408. #if HAVE_INTTYPES_H
  409. # include <inttypes.h>
  410. #else
  411. # if HAVE_STDINT_H
  412. #  include <stdint.h>
  413. # endif
  414. #endif
  415. #if HAVE_UNISTD_H
  416. # include <unistd.h>
  417. #endif"
  418. 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT SED CPP EGREP CC_GCC GCC_X_NONE AS_UNDERSCORE RANLIB SET_MAKE INSTALL INSTALL_PROGRAM INSTALL_DATA CP LN build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL LIBOBJS LTLIBOBJS'
  419. ac_subst_files=''
  420. # Initialize some variables set by options.
  421. ac_init_help=
  422. ac_init_version=false
  423. # The variables have the same names as the options, with
  424. # dashes changed to underlines.
  425. cache_file=/dev/null
  426. exec_prefix=NONE
  427. no_create=
  428. no_recursion=
  429. prefix=NONE
  430. program_prefix=NONE
  431. program_suffix=NONE
  432. program_transform_name=s,x,x,
  433. silent=
  434. site=
  435. srcdir=
  436. verbose=
  437. x_includes=NONE
  438. x_libraries=NONE
  439. # Installation directory options.
  440. # These are left unexpanded so users can "make install exec_prefix=/foo"
  441. # and all the variables that are supposed to be based on exec_prefix
  442. # by default will actually change.
  443. # Use braces instead of parens because sh, perl, etc. also accept them.
  444. bindir='${exec_prefix}/bin'
  445. sbindir='${exec_prefix}/sbin'
  446. libexecdir='${exec_prefix}/libexec'
  447. datadir='${prefix}/share'
  448. sysconfdir='${prefix}/etc'
  449. sharedstatedir='${prefix}/com'
  450. localstatedir='${prefix}/var'
  451. libdir='${exec_prefix}/lib'
  452. includedir='${prefix}/include'
  453. oldincludedir='/usr/include'
  454. infodir='${prefix}/info'
  455. mandir='${prefix}/man'
  456. ac_prev=
  457. for ac_option
  458. do
  459.   # If the previous option needs an argument, assign it.
  460.   if test -n "$ac_prev"; then
  461.     eval "$ac_prev=$ac_option"
  462.     ac_prev=
  463.     continue
  464.   fi
  465.   ac_optarg=`expr "x$ac_option" : 'x[^=]*=(.*)'`
  466.   # Accept the important Cygnus configure options, so we can diagnose typos.
  467.   case $ac_option in
  468.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  469.     ac_prev=bindir ;;
  470.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  471.     bindir=$ac_optarg ;;
  472.   -build | --build | --buil | --bui | --bu)
  473.     ac_prev=build_alias ;;
  474.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  475.     build_alias=$ac_optarg ;;
  476.   -cache-file | --cache-file | --cache-fil | --cache-fi 
  477.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  478.     ac_prev=cache_file ;;
  479.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* 
  480.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  481.     cache_file=$ac_optarg ;;
  482.   --config-cache | -C)
  483.     cache_file=config.cache ;;
  484.   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  485.     ac_prev=datadir ;;
  486.   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* 
  487.   | --da=*)
  488.     datadir=$ac_optarg ;;
  489.   -disable-* | --disable-*)
  490.     ac_feature=`expr "x$ac_option" : 'x-*disable-(.*)'`
  491.     # Reject names that are not valid shell variable names.
  492.     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  493.       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  494.    { (exit 1); exit 1; }; }
  495.     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  496.     eval "enable_$ac_feature=no" ;;
  497.   -enable-* | --enable-*)
  498.     ac_feature=`expr "x$ac_option" : 'x-*enable-([^=]*)'`
  499.     # Reject names that are not valid shell variable names.
  500.     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  501.       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  502.    { (exit 1); exit 1; }; }
  503.     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  504.     case $ac_option in
  505.       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\''/g"`;;
  506.       *) ac_optarg=yes ;;
  507.     esac
  508.     eval "enable_$ac_feature='$ac_optarg'" ;;
  509.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi 
  510.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- 
  511.   | --exec | --exe | --ex)
  512.     ac_prev=exec_prefix ;;
  513.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* 
  514.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* 
  515.   | --exec=* | --exe=* | --ex=*)
  516.     exec_prefix=$ac_optarg ;;
  517.   -gas | --gas | --ga | --g)
  518.     # Obsolete; use --with-gas.
  519.     with_gas=yes ;;
  520.   -help | --help | --hel | --he | -h)
  521.     ac_init_help=long ;;
  522.   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  523.     ac_init_help=recursive ;;
  524.   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  525.     ac_init_help=short ;;
  526.   -host | --host | --hos | --ho)
  527.     ac_prev=host_alias ;;
  528.   -host=* | --host=* | --hos=* | --ho=*)
  529.     host_alias=$ac_optarg ;;
  530.   -includedir | --includedir | --includedi | --included | --include 
  531.   | --includ | --inclu | --incl | --inc)
  532.     ac_prev=includedir ;;
  533.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* 
  534.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  535.     includedir=$ac_optarg ;;
  536.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  537.     ac_prev=infodir ;;
  538.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  539.     infodir=$ac_optarg ;;
  540.   -libdir | --libdir | --libdi | --libd)
  541.     ac_prev=libdir ;;
  542.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  543.     libdir=$ac_optarg ;;
  544.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec 
  545.   | --libexe | --libex | --libe)
  546.     ac_prev=libexecdir ;;
  547.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* 
  548.   | --libexe=* | --libex=* | --libe=*)
  549.     libexecdir=$ac_optarg ;;
  550.   -localstatedir | --localstatedir | --localstatedi | --localstated 
  551.   | --localstate | --localstat | --localsta | --localst 
  552.   | --locals | --local | --loca | --loc | --lo)
  553.     ac_prev=localstatedir ;;
  554.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* 
  555.   | --localstate=* | --localstat=* | --localsta=* | --localst=* 
  556.   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  557.     localstatedir=$ac_optarg ;;
  558.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  559.     ac_prev=mandir ;;
  560.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  561.     mandir=$ac_optarg ;;
  562.   -nfp | --nfp | --nf)
  563.     # Obsolete; use --without-fp.
  564.     with_fp=no ;;
  565.   -no-create | --no-create | --no-creat | --no-crea | --no-cre 
  566.   | --no-cr | --no-c | -n)
  567.     no_create=yes ;;
  568.   -no-recursion | --no-recursion | --no-recursio | --no-recursi 
  569.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  570.     no_recursion=yes ;;
  571.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded 
  572.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc 
  573.   | --oldin | --oldi | --old | --ol | --o)
  574.     ac_prev=oldincludedir ;;
  575.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* 
  576.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* 
  577.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  578.     oldincludedir=$ac_optarg ;;
  579.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  580.     ac_prev=prefix ;;
  581.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  582.     prefix=$ac_optarg ;;
  583.   -program-prefix | --program-prefix | --program-prefi | --program-pref 
  584.   | --program-pre | --program-pr | --program-p)
  585.     ac_prev=program_prefix ;;
  586.   -program-prefix=* | --program-prefix=* | --program-prefi=* 
  587.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  588.     program_prefix=$ac_optarg ;;
  589.   -program-suffix | --program-suffix | --program-suffi | --program-suff 
  590.   | --program-suf | --program-su | --program-s)
  591.     ac_prev=program_suffix ;;
  592.   -program-suffix=* | --program-suffix=* | --program-suffi=* 
  593.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  594.     program_suffix=$ac_optarg ;;
  595.   -program-transform-name | --program-transform-name 
  596.   | --program-transform-nam | --program-transform-na 
  597.   | --program-transform-n | --program-transform- 
  598.   | --program-transform | --program-transfor 
  599.   | --program-transfo | --program-transf 
  600.   | --program-trans | --program-tran 
  601.   | --progr-tra | --program-tr | --program-t)
  602.     ac_prev=program_transform_name ;;
  603.   -program-transform-name=* | --program-transform-name=* 
  604.   | --program-transform-nam=* | --program-transform-na=* 
  605.   | --program-transform-n=* | --program-transform-=* 
  606.   | --program-transform=* | --program-transfor=* 
  607.   | --program-transfo=* | --program-transf=* 
  608.   | --program-trans=* | --program-tran=* 
  609.   | --progr-tra=* | --program-tr=* | --program-t=*)
  610.     program_transform_name=$ac_optarg ;;
  611.   -q | -quiet | --quiet | --quie | --qui | --qu | --q 
  612.   | -silent | --silent | --silen | --sile | --sil)
  613.     silent=yes ;;
  614.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  615.     ac_prev=sbindir ;;
  616.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* 
  617.   | --sbi=* | --sb=*)
  618.     sbindir=$ac_optarg ;;
  619.   -sharedstatedir | --sharedstatedir | --sharedstatedi 
  620.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta 
  621.   | --sharedst | --shareds | --shared | --share | --shar 
  622.   | --sha | --sh)
  623.     ac_prev=sharedstatedir ;;
  624.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* 
  625.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* 
  626.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* 
  627.   | --sha=* | --sh=*)
  628.     sharedstatedir=$ac_optarg ;;
  629.   -site | --site | --sit)
  630.     ac_prev=site ;;
  631.   -site=* | --site=* | --sit=*)
  632.     site=$ac_optarg ;;
  633.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  634.     ac_prev=srcdir ;;
  635.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  636.     srcdir=$ac_optarg ;;
  637.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf 
  638.   | --syscon | --sysco | --sysc | --sys | --sy)
  639.     ac_prev=sysconfdir ;;
  640.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* 
  641.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  642.     sysconfdir=$ac_optarg ;;
  643.   -target | --target | --targe | --targ | --tar | --ta | --t)
  644.     ac_prev=target_alias ;;
  645.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  646.     target_alias=$ac_optarg ;;
  647.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  648.     verbose=yes ;;
  649.   -version | --version | --versio | --versi | --vers | -V)
  650.     ac_init_version=: ;;
  651.   -with-* | --with-*)
  652.     ac_package=`expr "x$ac_option" : 'x-*with-([^=]*)'`
  653.     # Reject names that are not valid shell variable names.
  654.     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  655.       { echo "$as_me: error: invalid package name: $ac_package" >&2
  656.    { (exit 1); exit 1; }; }
  657.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  658.     case $ac_option in
  659.       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\''/g"`;;
  660.       *) ac_optarg=yes ;;
  661.     esac
  662.     eval "with_$ac_package='$ac_optarg'" ;;
  663.   -without-* | --without-*)
  664.     ac_package=`expr "x$ac_option" : 'x-*without-(.*)'`
  665.     # Reject names that are not valid shell variable names.
  666.     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  667.       { echo "$as_me: error: invalid package name: $ac_package" >&2
  668.    { (exit 1); exit 1; }; }
  669.     ac_package=`echo $ac_package | sed 's/-/_/g'`
  670.     eval "with_$ac_package=no" ;;
  671.   --x)
  672.     # Obsolete; use --with-x.
  673.     with_x=yes ;;
  674.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu 
  675.   | --x-incl | --x-inc | --x-in | --x-i)
  676.     ac_prev=x_includes ;;
  677.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* 
  678.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  679.     x_includes=$ac_optarg ;;
  680.   -x-libraries | --x-libraries | --x-librarie | --x-librari 
  681.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  682.     ac_prev=x_libraries ;;
  683.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* 
  684.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  685.     x_libraries=$ac_optarg ;;
  686.   -*) { echo "$as_me: error: unrecognized option: $ac_option
  687. Try `$0 --help' for more information." >&2
  688.    { (exit 1); exit 1; }; }
  689.     ;;
  690.   *=*)
  691.     ac_envvar=`expr "x$ac_option" : 'x([^=]*)='`
  692.     # Reject names that are not valid shell variable names.
  693.     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  694.       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  695.    { (exit 1); exit 1; }; }
  696.     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\''/g"`
  697.     eval "$ac_envvar='$ac_optarg'"
  698.     export $ac_envvar ;;
  699.   *)
  700.     # FIXME: should be removed in autoconf 3.0.
  701.     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  702.     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  703.       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  704.     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  705.     ;;
  706.   esac
  707. done
  708. if test -n "$ac_prev"; then
  709.   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  710.   { echo "$as_me: error: missing argument to $ac_option" >&2
  711.    { (exit 1); exit 1; }; }
  712. fi
  713. # Be sure to have absolute paths.
  714. for ac_var in exec_prefix prefix
  715. do
  716.   eval ac_val=$`echo $ac_var`
  717.   case $ac_val in
  718.     [\/$]* | ?:[\/]* | NONE | '' ) ;;
  719.     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  720.    { (exit 1); exit 1; }; };;
  721.   esac
  722. done
  723. # Be sure to have absolute paths.
  724. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir 
  725.       localstatedir libdir includedir oldincludedir infodir mandir
  726. do
  727.   eval ac_val=$`echo $ac_var`
  728.   case $ac_val in
  729.     [\/$]* | ?:[\/]* ) ;;
  730.     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  731.    { (exit 1); exit 1; }; };;
  732.   esac
  733. done
  734. # There might be people who depend on the old broken behavior: `$host'
  735. # used to hold the argument of --host etc.
  736. # FIXME: To remove some day.
  737. build=$build_alias
  738. host=$host_alias
  739. target=$target_alias
  740. # FIXME: To remove some day.
  741. if test "x$host_alias" != x; then
  742.   if test "x$build_alias" = x; then
  743.     cross_compiling=maybe
  744.     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  745.     If a cross compiler is detected then cross compile mode will be used." >&2
  746.   elif test "x$build_alias" != "x$host_alias"; then
  747.     cross_compiling=yes
  748.   fi
  749. fi
  750. ac_tool_prefix=
  751. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  752. test "$silent" = yes && exec 6>/dev/null
  753. # Find the source files, if location was not specified.
  754. if test -z "$srcdir"; then
  755.   ac_srcdir_defaulted=yes
  756.   # Try the directory containing this script, then its parent.
  757.   ac_confdir=`(dirname "$0") 2>/dev/null ||
  758. $as_expr X"$0" : 'X(.*[^/])//*[^/][^/]*/*$' | 
  759.  X"$0" : 'X(//)[^/]' | 
  760.  X"$0" : 'X(//)$' | 
  761.  X"$0" : 'X(/)' | 
  762.  .     : '(.)' 2>/dev/null ||
  763. echo X"$0" |
  764.     sed '/^X(.*[^/])//*[^/][^/]*/*$/{ s//1/; q; }
  765.      /^X(//)[^/].*/{ s//1/; q; }
  766.      /^X(//)$/{ s//1/; q; }
  767.      /^X(/).*/{ s//1/; q; }
  768.      s/.*/./; q'`
  769.   srcdir=$ac_confdir
  770.   if test ! -r $srcdir/$ac_unique_file; then
  771.     srcdir=..
  772.   fi
  773. else
  774.   ac_srcdir_defaulted=no
  775. fi
  776. if test ! -r $srcdir/$ac_unique_file; then
  777.   if test "$ac_srcdir_defaulted" = yes; then
  778.     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  779.    { (exit 1); exit 1; }; }
  780.   else
  781.     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  782.    { (exit 1); exit 1; }; }
  783.   fi
  784. fi
  785. (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  786.   { echo "$as_me: error: sources are in $srcdir, but `cd $srcdir' does not work" >&2
  787.    { (exit 1); exit 1; }; }
  788. srcdir=`echo "$srcdir" | sed 's%([^\/])[\/]*$%1%'`
  789. ac_env_build_alias_set=${build_alias+set}
  790. ac_env_build_alias_value=$build_alias
  791. ac_cv_env_build_alias_set=${build_alias+set}
  792. ac_cv_env_build_alias_value=$build_alias
  793. ac_env_host_alias_set=${host_alias+set}
  794. ac_env_host_alias_value=$host_alias
  795. ac_cv_env_host_alias_set=${host_alias+set}
  796. ac_cv_env_host_alias_value=$host_alias
  797. ac_env_target_alias_set=${target_alias+set}
  798. ac_env_target_alias_value=$target_alias
  799. ac_cv_env_target_alias_set=${target_alias+set}
  800. ac_cv_env_target_alias_value=$target_alias
  801. ac_env_CC_set=${CC+set}
  802. ac_env_CC_value=$CC
  803. ac_cv_env_CC_set=${CC+set}
  804. ac_cv_env_CC_value=$CC
  805. ac_env_CFLAGS_set=${CFLAGS+set}
  806. ac_env_CFLAGS_value=$CFLAGS
  807. ac_cv_env_CFLAGS_set=${CFLAGS+set}
  808. ac_cv_env_CFLAGS_value=$CFLAGS
  809. ac_env_LDFLAGS_set=${LDFLAGS+set}
  810. ac_env_LDFLAGS_value=$LDFLAGS
  811. ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  812. ac_cv_env_LDFLAGS_value=$LDFLAGS
  813. ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  814. ac_env_CPPFLAGS_value=$CPPFLAGS
  815. ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  816. ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  817. ac_env_CPP_set=${CPP+set}
  818. ac_env_CPP_value=$CPP
  819. ac_cv_env_CPP_set=${CPP+set}
  820. ac_cv_env_CPP_value=$CPP
  821. #
  822. # Report the --help message.
  823. #
  824. if test "$ac_init_help" = "long"; then
  825.   # Omit some internal or obsolete options to make the list less imposing.
  826.   # This message is too long to be a string in the A/UX 3.1 sh.
  827.   cat <<_ACEOF
  828. `configure' configures this package to adapt to many kinds of systems.
  829. Usage: $0 [OPTION]... [VAR=VALUE]...
  830. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  831. VAR=VALUE.  See below for descriptions of some of the useful variables.
  832. Defaults for the options are specified in brackets.
  833. Configuration:
  834.   -h, --help              display this help and exit
  835.       --help=short        display options specific to this package
  836.       --help=recursive    display the short help of all the included packages
  837.   -V, --version           display version information and exit
  838.   -q, --quiet, --silent   do not print `checking...' messages
  839.       --cache-file=FILE   cache test results in FILE [disabled]
  840.   -C, --config-cache      alias for `--cache-file=config.cache'
  841.   -n, --no-create         do not create output files
  842.       --srcdir=DIR        find the sources in DIR [configure dir or `..']
  843. _ACEOF
  844.   cat <<_ACEOF
  845. Installation directories:
  846.   --prefix=PREFIX         install architecture-independent files in PREFIX
  847.   [$ac_default_prefix]
  848.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  849.   [PREFIX]
  850. By default, `make install' will install all the files in
  851. `$ac_default_prefix/bin', `$ac_default_prefix/lib' etc.  You can specify
  852. an installation prefix other than `$ac_default_prefix' using `--prefix',
  853. for instance `--prefix=$HOME'.
  854. For better control, use the options below.
  855. Fine tuning of the installation directories:
  856.   --bindir=DIR           user executables [EPREFIX/bin]
  857.   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  858.   --libexecdir=DIR       program executables [EPREFIX/libexec]
  859.   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  860.   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  861.   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  862.   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  863.   --libdir=DIR           object code libraries [EPREFIX/lib]
  864.   --includedir=DIR       C header files [PREFIX/include]
  865.   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  866.   --infodir=DIR          info documentation [PREFIX/info]
  867.   --mandir=DIR           man documentation [PREFIX/man]
  868. _ACEOF
  869.   cat <<_ACEOF
  870. System types:
  871.   --build=BUILD     configure for building on BUILD [guessed]
  872.   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  873. _ACEOF
  874. fi
  875. if test -n "$ac_init_help"; then
  876.   cat <<_ACEOF
  877. Optional Features:
  878.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  879.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  880.   --enable-shared=PKGS  build shared libraries default=no
  881.   --enable-static=PKGS  build static libraries default=yes
  882.   --enable-fast-install=PKGS  optimize for fast installation default=yes
  883.   --disable-libtool-lock  avoid locking (might break parallel builds)
  884. Optional Packages:
  885.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  886.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  887.   --with-gnu-ld           assume the C compiler uses GNU ld default=no
  888.   --with-pic              try to use only PIC/non-PIC objects default=use both
  889. Some influential environment variables:
  890.   CC          C compiler command
  891.   CFLAGS      C compiler flags
  892.   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  893.               nonstandard directory <lib dir>
  894.   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
  895.               headers in a nonstandard directory <include dir>
  896.   CPP         C preprocessor
  897. Use these variables to override the choices made by `configure' or to help
  898. it to find libraries and programs with nonstandard names/locations.
  899. _ACEOF
  900. fi
  901. if test "$ac_init_help" = "recursive"; then
  902.   # If there are subdirs, report their specific --help.
  903.   ac_popdir=`pwd`
  904.   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  905.     test -d $ac_dir || continue
  906.     ac_builddir=.
  907. if test "$ac_dir" != .; then
  908.   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^.[\/],,'`
  909.   # A "../" for each directory in $ac_dir_suffix.
  910.   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\/]*,../,g'`
  911. else
  912.   ac_dir_suffix= ac_top_builddir=
  913. fi
  914. case $srcdir in
  915.   .)  # No --srcdir option.  We are building in place.
  916.     ac_srcdir=.
  917.     if test -z "$ac_top_builddir"; then
  918.        ac_top_srcdir=.
  919.     else
  920.        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  921.     fi ;;
  922.   [\/]* | ?:[\/]* )  # Absolute path.
  923.     ac_srcdir=$srcdir$ac_dir_suffix;
  924.     ac_top_srcdir=$srcdir ;;
  925.   *) # Relative path.
  926.     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  927.     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  928. esac
  929. # Do not use `cd foo && pwd` to compute absolute paths, because
  930. # the directories may not exist.
  931. case `pwd` in
  932. .) ac_abs_builddir="$ac_dir";;
  933. *)
  934.   case "$ac_dir" in
  935.   .) ac_abs_builddir=`pwd`;;
  936.   [\/]* | ?:[\/]* ) ac_abs_builddir="$ac_dir";;
  937.   *) ac_abs_builddir=`pwd`/"$ac_dir";;
  938.   esac;;
  939. esac
  940. case $ac_abs_builddir in
  941. .) ac_abs_top_builddir=${ac_top_builddir}.;;
  942. *)
  943.   case ${ac_top_builddir}. in
  944.   .) ac_abs_top_builddir=$ac_abs_builddir;;
  945.   [\/]* | ?:[\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  946.   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  947.   esac;;
  948. esac
  949. case $ac_abs_builddir in
  950. .) ac_abs_srcdir=$ac_srcdir;;
  951. *)
  952.   case $ac_srcdir in
  953.   .) ac_abs_srcdir=$ac_abs_builddir;;
  954.   [\/]* | ?:[\/]* ) ac_abs_srcdir=$ac_srcdir;;
  955.   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  956.   esac;;
  957. esac
  958. case $ac_abs_builddir in
  959. .) ac_abs_top_srcdir=$ac_top_srcdir;;
  960. *)
  961.   case $ac_top_srcdir in
  962.   .) ac_abs_top_srcdir=$ac_abs_builddir;;
  963.   [\/]* | ?:[\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  964.   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  965.   esac;;
  966. esac
  967.     cd $ac_dir
  968.     # Check for guested configure; otherwise get Cygnus style configure.
  969.     if test -f $ac_srcdir/configure.gnu; then
  970.       echo
  971.       $SHELL $ac_srcdir/configure.gnu  --help=recursive
  972.     elif test -f $ac_srcdir/configure; then
  973.       echo
  974.       $SHELL $ac_srcdir/configure  --help=recursive
  975.     elif test -f $ac_srcdir/configure.ac ||
  976.    test -f $ac_srcdir/configure.in; then
  977.       echo
  978.       $ac_configure --help
  979.     else
  980.       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  981.     fi
  982.     cd $ac_popdir
  983.   done
  984. fi
  985. test -n "$ac_init_help" && exit 0
  986. if $ac_init_version; then
  987.   cat <<_ACEOF
  988. Copyright (C) 2003 Free Software Foundation, Inc.
  989. This configure script is free software; the Free Software Foundation
  990. gives unlimited permission to copy, distribute and modify it.
  991. _ACEOF
  992.   exit 0
  993. fi
  994. exec 5>config.log
  995. cat >&5 <<_ACEOF
  996. This file contains any messages produced by compilers while
  997. running configure, to aid debugging if configure makes a mistake.
  998. It was created by $as_me, which was
  999. generated by GNU Autoconf 2.59.  Invocation command line was
  1000.   $ $0 $@
  1001. _ACEOF
  1002. {
  1003. cat <<_ASUNAME
  1004. ## --------- ##
  1005. ## Platform. ##
  1006. ## --------- ##
  1007. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1008. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1009. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1010. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1011. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1012. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1013. /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1014. /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1015. /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1016. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1017. hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
  1018. /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1019. /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1020. /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1021. _ASUNAME
  1022. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1023. for as_dir in $PATH
  1024. do
  1025.   IFS=$as_save_IFS
  1026.   test -z "$as_dir" && as_dir=.
  1027.   echo "PATH: $as_dir"
  1028. done
  1029. } >&5
  1030. cat >&5 <<_ACEOF
  1031. ## ----------- ##
  1032. ## Core tests. ##
  1033. ## ----------- ##
  1034. _ACEOF
  1035. # Keep a trace of the command line.
  1036. # Strip out --no-create and --no-recursion so they do not pile up.
  1037. # Strip out --silent because we don't want to record it for future runs.
  1038. # Also quote any args containing shell meta-characters.
  1039. # Make two passes to allow for proper duplicate-argument suppression.
  1040. ac_configure_args=
  1041. ac_configure_args0=
  1042. ac_configure_args1=
  1043. ac_sep=
  1044. ac_must_keep_next=false
  1045. for ac_pass in 1 2
  1046. do
  1047.   for ac_arg
  1048.   do
  1049.     case $ac_arg in
  1050.     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1051.     -q | -quiet | --quiet | --quie | --qui | --qu | --q 
  1052.     | -silent | --silent | --silen | --sile | --sil)
  1053.       continue ;;
  1054.     *" "*|*" "*|*[[]~#$^&*(){}\|;<>?"']*)
  1055.       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\''/g"` ;;
  1056.     esac
  1057.     case $ac_pass in
  1058.     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1059.     2)
  1060.       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1061.       if test $ac_must_keep_next = true; then
  1062. ac_must_keep_next=false # Got value, back to normal.
  1063.       else
  1064. case $ac_arg in
  1065.   *=* | --config-cache | -C | -disable-* | --disable-* 
  1066.   | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* 
  1067.   | -q | -quiet | --q* | -silent | --sil* | -v | -verb* 
  1068.   | -with-* | --with-* | -without-* | --without-* | --x)
  1069.     case "$ac_configure_args0 " in
  1070.       "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1071.     esac
  1072.     ;;
  1073.   -* ) ac_must_keep_next=true ;;
  1074. esac
  1075.       fi
  1076.       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1077.       # Get rid of the leading space.
  1078.       ac_sep=" "
  1079.       ;;
  1080.     esac
  1081.   done
  1082. done
  1083. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1084. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1085. # When interrupted or exit'd, cleanup temporary files, and complete
  1086. # config.log.  We remove comments because anyway the quotes in there
  1087. # would cause problems or look ugly.
  1088. # WARNING: Be sure not to use single quotes in there, as some shells,
  1089. # such as our DU 5.0 friend, will then `close' the trap.
  1090. trap 'exit_status=$?
  1091.   # Save into config.log some information that might help in debugging.
  1092.   {
  1093.     echo
  1094.     cat <<_ASBOX
  1095. ## ---------------- ##
  1096. ## Cache variables. ##
  1097. ## ---------------- ##
  1098. _ASBOX
  1099.     echo
  1100.     # The following way of writing the cache mishandles newlines in values,
  1101. {
  1102.   (set) 2>&1 |
  1103.     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1104.     *ac_space= *)
  1105.       sed -n 
  1106. "s/'"'"'/'"'"'\\'"'"''"'"'/g;
  1107.   s/^\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\)=\(.*\)/\1='"'"'\2'"'"'/p"
  1108.       ;;
  1109.     *)
  1110.       sed -n 
  1111. "s/^\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\)=\(.*\)/\1=\2/p"
  1112.       ;;
  1113.     esac;
  1114. }
  1115.     echo
  1116.     cat <<_ASBOX
  1117. ## ----------------- ##
  1118. ## Output variables. ##
  1119. ## ----------------- ##
  1120. _ASBOX
  1121.     echo
  1122.     for ac_var in $ac_subst_vars
  1123.     do
  1124.       eval ac_val=$`echo $ac_var`
  1125.       echo "$ac_var='"'"'$ac_val'"'"'"
  1126.     done | sort
  1127.     echo
  1128.     if test -n "$ac_subst_files"; then
  1129.       cat <<_ASBOX
  1130. ## ------------- ##
  1131. ## Output files. ##
  1132. ## ------------- ##
  1133. _ASBOX
  1134.       echo
  1135.       for ac_var in $ac_subst_files
  1136.       do
  1137. eval ac_val=$`echo $ac_var`
  1138. echo "$ac_var='"'"'$ac_val'"'"'"
  1139.       done | sort
  1140.       echo
  1141.     fi
  1142.     if test -s confdefs.h; then
  1143.       cat <<_ASBOX
  1144. ## ----------- ##
  1145. ## confdefs.h. ##
  1146. ## ----------- ##
  1147. _ASBOX
  1148.       echo
  1149.       sed "/^$/d" confdefs.h | sort
  1150.       echo
  1151.     fi
  1152.     test "$ac_signal" != 0 &&
  1153.       echo "$as_me: caught signal $ac_signal"
  1154.     echo "$as_me: exit $exit_status"
  1155.   } >&5
  1156.   rm -f core *.core &&
  1157.   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1158.     exit $exit_status
  1159.      ' 0
  1160. for ac_signal in 1 2 13 15; do
  1161.   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1162. done
  1163. ac_signal=0
  1164. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1165. rm -rf conftest* confdefs.h
  1166. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1167. echo >confdefs.h
  1168. # Predefined preprocessor variables.
  1169. cat >>confdefs.h <<_ACEOF
  1170. #define PACKAGE_NAME "$PACKAGE_NAME"
  1171. _ACEOF
  1172. cat >>confdefs.h <<_ACEOF
  1173. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1174. _ACEOF
  1175. cat >>confdefs.h <<_ACEOF
  1176. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1177. _ACEOF
  1178. cat >>confdefs.h <<_ACEOF
  1179. #define PACKAGE_STRING "$PACKAGE_STRING"
  1180. _ACEOF
  1181. cat >>confdefs.h <<_ACEOF
  1182. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1183. _ACEOF
  1184. # Let the site file select an alternate cache file if it wants to.
  1185. # Prefer explicitly selected file to automatically selected ones.
  1186. if test -z "$CONFIG_SITE"; then
  1187.   if test "x$prefix" != xNONE; then
  1188.     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1189.   else
  1190.     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1191.   fi
  1192. fi
  1193. for ac_site_file in $CONFIG_SITE; do
  1194.   if test -r "$ac_site_file"; then
  1195.     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1196. echo "$as_me: loading site script $ac_site_file" >&6;}
  1197.     sed 's/^/| /' "$ac_site_file" >&5
  1198.     . "$ac_site_file"
  1199.   fi
  1200. done
  1201. if test -r "$cache_file"; then
  1202.   # Some versions of bash will fail to source /dev/null (special
  1203.   # files actually), so we avoid doing that.
  1204.   if test -f "$cache_file"; then
  1205.     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1206. echo "$as_me: loading cache $cache_file" >&6;}
  1207.     case $cache_file in
  1208.       [\/]* | ?:[\/]* ) . $cache_file;;
  1209.       *)                      . ./$cache_file;;
  1210.     esac
  1211.   fi
  1212. else
  1213.   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1214. echo "$as_me: creating cache $cache_file" >&6;}
  1215.   >$cache_file
  1216. fi
  1217. # Check that the precious variables saved in the cache have kept the same
  1218. # value.
  1219. ac_cache_corrupted=false
  1220. for ac_var in `(set) 2>&1 |
  1221.        sed -n 's/^ac_env_([a-zA-Z_0-9]*)_set=.*/1/p'`; do
  1222.   eval ac_old_set=$ac_cv_env_${ac_var}_set
  1223.   eval ac_new_set=$ac_env_${ac_var}_set
  1224.   eval ac_old_val="$ac_cv_env_${ac_var}_value"
  1225.   eval ac_new_val="$ac_env_${ac_var}_value"
  1226.   case $ac_old_set,$ac_new_set in
  1227.     set,)
  1228.       { echo "$as_me:$LINENO: error: `$ac_var' was set to `$ac_old_val' in the previous run" >&5
  1229. echo "$as_me: error: `$ac_var' was set to `$ac_old_val' in the previous run" >&2;}
  1230.       ac_cache_corrupted=: ;;
  1231.     ,set)
  1232.       { echo "$as_me:$LINENO: error: `$ac_var' was not set in the previous run" >&5
  1233. echo "$as_me: error: `$ac_var' was not set in the previous run" >&2;}
  1234.       ac_cache_corrupted=: ;;
  1235.     ,);;
  1236.     *)
  1237.       if test "x$ac_old_val" != "x$ac_new_val"; then
  1238. { echo "$as_me:$LINENO: error: `$ac_var' has changed since the previous run:" >&5
  1239. echo "$as_me: error: `$ac_var' has changed since the previous run:" >&2;}
  1240. { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1241. echo "$as_me:   former value:  $ac_old_val" >&2;}
  1242. { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1243. echo "$as_me:   current value: $ac_new_val" >&2;}
  1244. ac_cache_corrupted=:
  1245.       fi;;
  1246.   esac
  1247.   # Pass precious variables to config.status.
  1248.   if test "$ac_new_set" = set; then
  1249.     case $ac_new_val in
  1250.     *" "*|*" "*|*[[]~#$^&*(){}\|;<>?"']*)
  1251.       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\''/g"` ;;
  1252.     *) ac_arg=$ac_var=$ac_new_val ;;
  1253.     esac
  1254.     case " $ac_configure_args " in
  1255.       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1256.       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1257.     esac
  1258.   fi
  1259. done
  1260. if $ac_cache_corrupted; then
  1261.   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1262. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1263.   { { echo "$as_me:$LINENO: error: run `make distclean' and/or `rm $cache_file' and start over" >&5
  1264. echo "$as_me: error: run `make distclean' and/or `rm $cache_file' and start over" >&2;}
  1265.    { (exit 1); exit 1; }; }
  1266. fi
  1267. ac_ext=c
  1268. ac_cpp='$CPP $CPPFLAGS'
  1269. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1270. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1271. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1272.           ac_config_headers="$ac_config_headers avcall.h"
  1273. ac_ext=c
  1274. ac_cpp='$CPP $CPPFLAGS'
  1275. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1276. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1277. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1278. if test -n "$ac_tool_prefix"; then
  1279.   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1280. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1281. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1282. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1283. if test "${ac_cv_prog_CC+set}" = set; then
  1284.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1285. else
  1286.   if test -n "$CC"; then
  1287.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1288. else
  1289. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1290. for as_dir in $PATH
  1291. do
  1292.   IFS=$as_save_IFS
  1293.   test -z "$as_dir" && as_dir=.
  1294.   for ac_exec_ext in '' $ac_executable_extensions; do
  1295.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1296.     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1297.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1298.     break 2
  1299.   fi
  1300. done
  1301. done
  1302. fi
  1303. fi
  1304. CC=$ac_cv_prog_CC
  1305. if test -n "$CC"; then
  1306.   echo "$as_me:$LINENO: result: $CC" >&5
  1307. echo "${ECHO_T}$CC" >&6
  1308. else
  1309.   echo "$as_me:$LINENO: result: no" >&5
  1310. echo "${ECHO_T}no" >&6
  1311. fi
  1312. fi
  1313. if test -z "$ac_cv_prog_CC"; then
  1314.   ac_ct_CC=$CC
  1315.   # Extract the first word of "gcc", so it can be a program name with args.
  1316. set dummy gcc; ac_word=$2
  1317. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1318. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1319. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1320.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1321. else
  1322.   if test -n "$ac_ct_CC"; then
  1323.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1324. else
  1325. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1326. for as_dir in $PATH
  1327. do
  1328.   IFS=$as_save_IFS
  1329.   test -z "$as_dir" && as_dir=.
  1330.   for ac_exec_ext in '' $ac_executable_extensions; do
  1331.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1332.     ac_cv_prog_ac_ct_CC="gcc"
  1333.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1334.     break 2
  1335.   fi
  1336. done
  1337. done
  1338. fi
  1339. fi
  1340. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1341. if test -n "$ac_ct_CC"; then
  1342.   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1343. echo "${ECHO_T}$ac_ct_CC" >&6
  1344. else
  1345.   echo "$as_me:$LINENO: result: no" >&5
  1346. echo "${ECHO_T}no" >&6
  1347. fi
  1348.   CC=$ac_ct_CC
  1349. else
  1350.   CC="$ac_cv_prog_CC"
  1351. fi
  1352. if test -z "$CC"; then
  1353.   if test -n "$ac_tool_prefix"; then
  1354.   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1355. set dummy ${ac_tool_prefix}cc; ac_word=$2
  1356. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1357. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1358. if test "${ac_cv_prog_CC+set}" = set; then
  1359.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1360. else
  1361.   if test -n "$CC"; then
  1362.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1363. else
  1364. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1365. for as_dir in $PATH
  1366. do
  1367.   IFS=$as_save_IFS
  1368.   test -z "$as_dir" && as_dir=.
  1369.   for ac_exec_ext in '' $ac_executable_extensions; do
  1370.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1371.     ac_cv_prog_CC="${ac_tool_prefix}cc"
  1372.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1373.     break 2
  1374.   fi
  1375. done
  1376. done
  1377. fi
  1378. fi
  1379. CC=$ac_cv_prog_CC
  1380. if test -n "$CC"; then
  1381.   echo "$as_me:$LINENO: result: $CC" >&5
  1382. echo "${ECHO_T}$CC" >&6
  1383. else
  1384.   echo "$as_me:$LINENO: result: no" >&5
  1385. echo "${ECHO_T}no" >&6
  1386. fi
  1387. fi
  1388. if test -z "$ac_cv_prog_CC"; then
  1389.   ac_ct_CC=$CC
  1390.   # Extract the first word of "cc", so it can be a program name with args.
  1391. set dummy cc; ac_word=$2
  1392. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1393. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1394. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1395.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1396. else
  1397.   if test -n "$ac_ct_CC"; then
  1398.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1399. else
  1400. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1401. for as_dir in $PATH
  1402. do
  1403.   IFS=$as_save_IFS
  1404.   test -z "$as_dir" && as_dir=.
  1405.   for ac_exec_ext in '' $ac_executable_extensions; do
  1406.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1407.     ac_cv_prog_ac_ct_CC="cc"
  1408.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1409.     break 2
  1410.   fi
  1411. done
  1412. done
  1413. fi
  1414. fi
  1415. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1416. if test -n "$ac_ct_CC"; then
  1417.   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1418. echo "${ECHO_T}$ac_ct_CC" >&6
  1419. else
  1420.   echo "$as_me:$LINENO: result: no" >&5
  1421. echo "${ECHO_T}no" >&6
  1422. fi
  1423.   CC=$ac_ct_CC
  1424. else
  1425.   CC="$ac_cv_prog_CC"
  1426. fi
  1427. fi
  1428. if test -z "$CC"; then
  1429.   # Extract the first word of "cc", so it can be a program name with args.
  1430. set dummy cc; ac_word=$2
  1431. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1432. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1433. if test "${ac_cv_prog_CC+set}" = set; then
  1434.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1435. else
  1436.   if test -n "$CC"; then
  1437.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1438. else
  1439.   ac_prog_rejected=no
  1440. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1441. for as_dir in $PATH
  1442. do
  1443.   IFS=$as_save_IFS
  1444.   test -z "$as_dir" && as_dir=.
  1445.   for ac_exec_ext in '' $ac_executable_extensions; do
  1446.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1447.     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1448.        ac_prog_rejected=yes
  1449.        continue
  1450.      fi
  1451.     ac_cv_prog_CC="cc"
  1452.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1453.     break 2
  1454.   fi
  1455. done
  1456. done
  1457. if test $ac_prog_rejected = yes; then
  1458.   # We found a bogon in the path, so make sure we never use it.
  1459.   set dummy $ac_cv_prog_CC
  1460.   shift
  1461.   if test $# != 0; then
  1462.     # We chose a different compiler from the bogus one.
  1463.     # However, it has the same basename, so the bogon will be chosen
  1464.     # first if we set CC to just the basename; use the full file name.
  1465.     shift
  1466.     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  1467.   fi
  1468. fi
  1469. fi
  1470. fi
  1471. CC=$ac_cv_prog_CC
  1472. if test -n "$CC"; then
  1473.   echo "$as_me:$LINENO: result: $CC" >&5
  1474. echo "${ECHO_T}$CC" >&6
  1475. else
  1476.   echo "$as_me:$LINENO: result: no" >&5
  1477. echo "${ECHO_T}no" >&6
  1478. fi
  1479. fi
  1480. if test -z "$CC"; then
  1481.   if test -n "$ac_tool_prefix"; then
  1482.   for ac_prog in cl
  1483.   do
  1484.     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1485. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1486. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1487. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1488. if test "${ac_cv_prog_CC+set}" = set; then
  1489.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1490. else
  1491.   if test -n "$CC"; then
  1492.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1493. else
  1494. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1495. for as_dir in $PATH
  1496. do
  1497.   IFS=$as_save_IFS
  1498.   test -z "$as_dir" && as_dir=.
  1499.   for ac_exec_ext in '' $ac_executable_extensions; do
  1500.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1501.     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1502.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1503.     break 2
  1504.   fi
  1505. done
  1506. done
  1507. fi
  1508. fi
  1509. CC=$ac_cv_prog_CC
  1510. if test -n "$CC"; then
  1511.   echo "$as_me:$LINENO: result: $CC" >&5
  1512. echo "${ECHO_T}$CC" >&6
  1513. else
  1514.   echo "$as_me:$LINENO: result: no" >&5
  1515. echo "${ECHO_T}no" >&6
  1516. fi
  1517.     test -n "$CC" && break
  1518.   done
  1519. fi
  1520. if test -z "$CC"; then
  1521.   ac_ct_CC=$CC
  1522.   for ac_prog in cl
  1523. do
  1524.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  1525. set dummy $ac_prog; ac_word=$2
  1526. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1527. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1528. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1529.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1530. else
  1531.   if test -n "$ac_ct_CC"; then
  1532.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1533. else
  1534. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1535. for as_dir in $PATH
  1536. do
  1537.   IFS=$as_save_IFS
  1538.   test -z "$as_dir" && as_dir=.
  1539.   for ac_exec_ext in '' $ac_executable_extensions; do
  1540.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1541.     ac_cv_prog_ac_ct_CC="$ac_prog"
  1542.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1543.     break 2
  1544.   fi
  1545. done
  1546. done
  1547. fi
  1548. fi
  1549. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1550. if test -n "$ac_ct_CC"; then
  1551.   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1552. echo "${ECHO_T}$ac_ct_CC" >&6
  1553. else
  1554.   echo "$as_me:$LINENO: result: no" >&5
  1555. echo "${ECHO_T}no" >&6
  1556. fi
  1557.   test -n "$ac_ct_CC" && break
  1558. done
  1559.   CC=$ac_ct_CC
  1560. fi
  1561. fi
  1562. test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in $PATH
  1563. See `config.log' for more details." >&5
  1564. echo "$as_me: error: no acceptable C compiler found in $PATH
  1565. See `config.log' for more details." >&2;}
  1566.    { (exit 1); exit 1; }; }
  1567. # Provide some information about the compiler.
  1568. echo "$as_me:$LINENO:" 
  1569.      "checking for C compiler version" >&5
  1570. ac_compiler=`set X $ac_compile; echo $2`
  1571. { (eval echo "$as_me:$LINENO: "$ac_compiler --version </dev/null >&5"") >&5
  1572.   (eval $ac_compiler --version </dev/null >&5) 2>&5
  1573.   ac_status=$?
  1574.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1575.   (exit $ac_status); }
  1576. { (eval echo "$as_me:$LINENO: "$ac_compiler -v </dev/null >&5"") >&5
  1577.   (eval $ac_compiler -v </dev/null >&5) 2>&5
  1578.   ac_status=$?
  1579.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1580.   (exit $ac_status); }
  1581. { (eval echo "$as_me:$LINENO: "$ac_compiler -V </dev/null >&5"") >&5
  1582.   (eval $ac_compiler -V </dev/null >&5) 2>&5
  1583.   ac_status=$?
  1584.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1585.   (exit $ac_status); }
  1586. cat >conftest.$ac_ext <<_ACEOF
  1587. /* confdefs.h.  */
  1588. _ACEOF
  1589. cat confdefs.h >>conftest.$ac_ext
  1590. cat >>conftest.$ac_ext <<_ACEOF
  1591. /* end confdefs.h.  */
  1592. int
  1593. main ()
  1594. {
  1595.   ;
  1596.   return 0;
  1597. }
  1598. _ACEOF
  1599. ac_clean_files_save=$ac_clean_files
  1600. ac_clean_files="$ac_clean_files a.out a.exe b.out"
  1601. # Try to create an executable without -o first, disregard a.out.
  1602. # It will help us diagnose broken compilers, and finding out an intuition
  1603. # of exeext.
  1604. echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  1605. echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
  1606. ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  1607. if { (eval echo "$as_me:$LINENO: "$ac_link_default"") >&5
  1608.   (eval $ac_link_default) 2>&5
  1609.   ac_status=$?
  1610.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1611.   (exit $ac_status); }; then
  1612.   # Find the output, starting from the most likely.  This scheme is
  1613. # not robust to junk in `.', hence go to wildcards (a.*) only as a last
  1614. # resort.
  1615. # Be careful to initialize this variable, since it used to be cached.
  1616. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  1617. ac_cv_exeext=
  1618. # b.out is created by i960 compilers.
  1619. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  1620. do
  1621.   test -f "$ac_file" || continue
  1622.   case $ac_file in
  1623.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  1624. ;;
  1625.     conftest.$ac_ext )
  1626. # This is the source file.
  1627. ;;
  1628.     [ab].out )
  1629. # We found the default executable, but exeext='' is most
  1630. # certainly right.
  1631. break;;
  1632.     *.* )
  1633. ac_cv_exeext=`expr "$ac_file" : '[^.]*(..*)'`
  1634. # FIXME: I believe we export ac_cv_exeext for Libtool,
  1635. # but it would be cool to find out if it's true.  Does anybody
  1636. # maintain Libtool? --akim.
  1637. export ac_cv_exeext
  1638. break;;
  1639.     * )
  1640. break;;
  1641.   esac
  1642. done
  1643. else
  1644.   echo "$as_me: failed program was:" >&5
  1645. sed 's/^/| /' conftest.$ac_ext >&5
  1646. { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  1647. See `config.log' for more details." >&5
  1648. echo "$as_me: error: C compiler cannot create executables
  1649. See `config.log' for more details." >&2;}
  1650.    { (exit 77); exit 77; }; }
  1651. fi
  1652. ac_exeext=$ac_cv_exeext
  1653. echo "$as_me:$LINENO: result: $ac_file" >&5
  1654. echo "${ECHO_T}$ac_file" >&6
  1655. # Check the compiler produces executables we can run.  If not, either
  1656. # the compiler is broken, or we cross compile.
  1657. echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  1658. echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  1659. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  1660. # If not cross compiling, check that we can run a simple program.
  1661. if test "$cross_compiling" != yes; then
  1662.   if { ac_try='./$ac_file'
  1663.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  1664.   (eval $ac_try) 2>&5
  1665.   ac_status=$?
  1666.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1667.   (exit $ac_status); }; }; then
  1668.     cross_compiling=no
  1669.   else
  1670.     if test "$cross_compiling" = maybe; then
  1671. cross_compiling=yes
  1672.     else
  1673. { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  1674. If you meant to cross compile, use `--host'.
  1675. See `config.log' for more details." >&5
  1676. echo "$as_me: error: cannot run C compiled programs.
  1677. If you meant to cross compile, use `--host'.
  1678. See `config.log' for more details." >&2;}
  1679.    { (exit 1); exit 1; }; }
  1680.     fi
  1681.   fi
  1682. fi
  1683. echo "$as_me:$LINENO: result: yes" >&5
  1684. echo "${ECHO_T}yes" >&6
  1685. rm -f a.out a.exe conftest$ac_cv_exeext b.out
  1686. ac_clean_files=$ac_clean_files_save
  1687. # Check the compiler produces executables we can run.  If not, either
  1688. # the compiler is broken, or we cross compile.
  1689. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  1690. echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  1691. echo "$as_me:$LINENO: result: $cross_compiling" >&5
  1692. echo "${ECHO_T}$cross_compiling" >&6
  1693. echo "$as_me:$LINENO: checking for suffix of executables" >&5
  1694. echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  1695. if { (eval echo "$as_me:$LINENO: "$ac_link"") >&5
  1696.   (eval $ac_link) 2>&5
  1697.   ac_status=$?
  1698.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1699.   (exit $ac_status); }; then
  1700.   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  1701. # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  1702. # work properly (i.e., refer to `conftest.exe'), while it won't with
  1703. # `rm'.
  1704. for ac_file in conftest.exe conftest conftest.*; do
  1705.   test -f "$ac_file" || continue
  1706.   case $ac_file in
  1707.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  1708.     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*(..*)'`
  1709.   export ac_cv_exeext
  1710.   break;;
  1711.     * ) break;;
  1712.   esac
  1713. done
  1714. else
  1715.   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  1716. See `config.log' for more details." >&5
  1717. echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  1718. See `config.log' for more details." >&2;}
  1719.    { (exit 1); exit 1; }; }
  1720. fi
  1721. rm -f conftest$ac_cv_exeext
  1722. echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  1723. echo "${ECHO_T}$ac_cv_exeext" >&6
  1724. rm -f conftest.$ac_ext
  1725. EXEEXT=$ac_cv_exeext
  1726. ac_exeext=$EXEEXT
  1727. echo "$as_me:$LINENO: checking for suffix of object files" >&5
  1728. echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  1729. if test "${ac_cv_objext+set}" = set; then
  1730.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1731. else
  1732.   cat >conftest.$ac_ext <<_ACEOF
  1733. /* confdefs.h.  */
  1734. _ACEOF
  1735. cat confdefs.h >>conftest.$ac_ext
  1736. cat >>conftest.$ac_ext <<_ACEOF
  1737. /* end confdefs.h.  */
  1738. int
  1739. main ()
  1740. {
  1741.   ;
  1742.   return 0;
  1743. }
  1744. _ACEOF
  1745. rm -f conftest.o conftest.obj
  1746. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  1747.   (eval $ac_compile) 2>&5
  1748.   ac_status=$?
  1749.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1750.   (exit $ac_status); }; then
  1751.   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  1752.   case $ac_file in
  1753.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  1754.     *) ac_cv_objext=`expr "$ac_file" : '.*.(.*)'`
  1755.        break;;
  1756.   esac
  1757. done
  1758. else
  1759.   echo "$as_me: failed program was:" >&5
  1760. sed 's/^/| /' conftest.$ac_ext >&5
  1761. { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  1762. See `config.log' for more details." >&5
  1763. echo "$as_me: error: cannot compute suffix of object files: cannot compile
  1764. See `config.log' for more details." >&2;}
  1765.    { (exit 1); exit 1; }; }
  1766. fi
  1767. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  1768. fi
  1769. echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  1770. echo "${ECHO_T}$ac_cv_objext" >&6
  1771. OBJEXT=$ac_cv_objext
  1772. ac_objext=$OBJEXT
  1773. echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  1774. echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  1775. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  1776.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1777. else
  1778.   cat >conftest.$ac_ext <<_ACEOF
  1779. /* confdefs.h.  */
  1780. _ACEOF
  1781. cat confdefs.h >>conftest.$ac_ext
  1782. cat >>conftest.$ac_ext <<_ACEOF
  1783. /* end confdefs.h.  */
  1784. int
  1785. main ()
  1786. {
  1787. #ifndef __GNUC__
  1788.        choke me
  1789. #endif
  1790.   ;
  1791.   return 0;
  1792. }
  1793. _ACEOF
  1794. rm -f conftest.$ac_objext
  1795. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  1796.   (eval $ac_compile) 2>conftest.er1
  1797.   ac_status=$?
  1798.   grep -v '^ *+' conftest.er1 >conftest.err
  1799.   rm -f conftest.er1
  1800.   cat conftest.err >&5
  1801.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1802.   (exit $ac_status); } &&
  1803.  { ac_try='test -z "$ac_c_werror_flag"
  1804.  || test ! -s conftest.err'
  1805.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  1806.   (eval $ac_try) 2>&5
  1807.   ac_status=$?
  1808.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1809.   (exit $ac_status); }; } &&
  1810.  { ac_try='test -s conftest.$ac_objext'
  1811.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  1812.   (eval $ac_try) 2>&5
  1813.   ac_status=$?
  1814.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1815.   (exit $ac_status); }; }; then
  1816.   ac_compiler_gnu=yes
  1817. else
  1818.   echo "$as_me: failed program was:" >&5
  1819. sed 's/^/| /' conftest.$ac_ext >&5
  1820. ac_compiler_gnu=no
  1821. fi
  1822. rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  1823. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  1824. fi
  1825. echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  1826. echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  1827. GCC=`test $ac_compiler_gnu = yes && echo yes`
  1828. ac_test_CFLAGS=${CFLAGS+set}
  1829. ac_save_CFLAGS=$CFLAGS
  1830. CFLAGS="-g"
  1831. echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  1832. echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  1833. if test "${ac_cv_prog_cc_g+set}" = set; then
  1834.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1835. else
  1836.   cat >conftest.$ac_ext <<_ACEOF
  1837. /* confdefs.h.  */
  1838. _ACEOF
  1839. cat confdefs.h >>conftest.$ac_ext
  1840. cat >>conftest.$ac_ext <<_ACEOF
  1841. /* end confdefs.h.  */
  1842. int
  1843. main ()
  1844. {
  1845.   ;
  1846.   return 0;
  1847. }
  1848. _ACEOF
  1849. rm -f conftest.$ac_objext
  1850. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  1851.   (eval $ac_compile) 2>conftest.er1
  1852.   ac_status=$?
  1853.   grep -v '^ *+' conftest.er1 >conftest.err
  1854.   rm -f conftest.er1
  1855.   cat conftest.err >&5
  1856.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1857.   (exit $ac_status); } &&
  1858.  { ac_try='test -z "$ac_c_werror_flag"
  1859.  || test ! -s conftest.err'
  1860.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  1861.   (eval $ac_try) 2>&5
  1862.   ac_status=$?
  1863.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1864.   (exit $ac_status); }; } &&
  1865.  { ac_try='test -s conftest.$ac_objext'
  1866.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  1867.   (eval $ac_try) 2>&5
  1868.   ac_status=$?
  1869.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1870.   (exit $ac_status); }; }; then
  1871.   ac_cv_prog_cc_g=yes
  1872. else
  1873.   echo "$as_me: failed program was:" >&5
  1874. sed 's/^/| /' conftest.$ac_ext >&5
  1875. ac_cv_prog_cc_g=no
  1876. fi
  1877. rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  1878. fi
  1879. echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  1880. echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  1881. if test "$ac_test_CFLAGS" = set; then
  1882.   CFLAGS=$ac_save_CFLAGS
  1883. elif test $ac_cv_prog_cc_g = yes; then
  1884.   if test "$GCC" = yes; then
  1885.     CFLAGS="-g -O2"
  1886.   else
  1887.     CFLAGS="-g"
  1888.   fi
  1889. else
  1890.   if test "$GCC" = yes; then
  1891.     CFLAGS="-O2"
  1892.   else
  1893.     CFLAGS=
  1894.   fi
  1895. fi
  1896. echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  1897. echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  1898. if test "${ac_cv_prog_cc_stdc+set}" = set; then
  1899.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1900. else
  1901.   ac_cv_prog_cc_stdc=no
  1902. ac_save_CC=$CC
  1903. cat >conftest.$ac_ext <<_ACEOF
  1904. /* confdefs.h.  */
  1905. _ACEOF
  1906. cat confdefs.h >>conftest.$ac_ext
  1907. cat >>conftest.$ac_ext <<_ACEOF
  1908. /* end confdefs.h.  */
  1909. #include <stdarg.h>
  1910. #include <stdio.h>
  1911. #include <sys/types.h>
  1912. #include <sys/stat.h>
  1913. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  1914. struct buf { int x; };
  1915. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  1916. static char *e (p, i)
  1917.      char **p;
  1918.      int i;
  1919. {
  1920.   return p[i];
  1921. }
  1922. static char *f (char * (*g) (char **, int), char **p, ...)
  1923. {
  1924.   char *s;
  1925.   va_list v;
  1926.   va_start (v,p);
  1927.   s = g (p, va_arg (v,int));
  1928.   va_end (v);
  1929.   return s;
  1930. }
  1931. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  1932.    function prototypes and stuff, but not 'xHH' hex character constants.
  1933.    These don't provoke an error unfortunately, instead are silently treated
  1934.    as 'x'.  The following induces an error, until -std1 is added to get
  1935.    proper ANSI mode.  Curiously 'x00'!='x' always comes out true, for an
  1936.    array size at least.  It's necessary to write 'x00'==0 to get something
  1937.    that's true only with -std1.  */
  1938. int osf4_cc_array ['x00' == 0 ? 1 : -1];
  1939. int test (int i, double x);
  1940. struct s1 {int (*f) (int a);};
  1941. struct s2 {int (*f) (double a);};
  1942. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  1943. int argc;
  1944. char **argv;
  1945. int
  1946. main ()
  1947. {
  1948. return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  1949.   ;
  1950.   return 0;
  1951. }
  1952. _ACEOF
  1953. # Don't try gcc -ansi; that turns off useful extensions and
  1954. # breaks some systems' header files.
  1955. # AIX -qlanglvl=ansi
  1956. # Ultrix and OSF/1 -std1
  1957. # HP-UX 10.20 and later -Ae
  1958. # HP-UX older versions -Aa -D_HPUX_SOURCE
  1959. # SVR4 -Xc -D__EXTENSIONS__
  1960. for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  1961. do
  1962.   CC="$ac_save_CC $ac_arg"
  1963.   rm -f conftest.$ac_objext
  1964. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  1965.   (eval $ac_compile) 2>conftest.er1
  1966.   ac_status=$?
  1967.   grep -v '^ *+' conftest.er1 >conftest.err
  1968.   rm -f conftest.er1
  1969.   cat conftest.err >&5
  1970.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1971.   (exit $ac_status); } &&
  1972.  { ac_try='test -z "$ac_c_werror_flag"
  1973.  || test ! -s conftest.err'
  1974.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  1975.   (eval $ac_try) 2>&5
  1976.   ac_status=$?
  1977.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1978.   (exit $ac_status); }; } &&
  1979.  { ac_try='test -s conftest.$ac_objext'
  1980.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  1981.   (eval $ac_try) 2>&5
  1982.   ac_status=$?
  1983.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  1984.   (exit $ac_status); }; }; then
  1985.   ac_cv_prog_cc_stdc=$ac_arg
  1986. break
  1987. else
  1988.   echo "$as_me: failed program was:" >&5
  1989. sed 's/^/| /' conftest.$ac_ext >&5
  1990. fi
  1991. rm -f conftest.err conftest.$ac_objext
  1992. done
  1993. rm -f conftest.$ac_ext conftest.$ac_objext
  1994. CC=$ac_save_CC
  1995. fi
  1996. case "x$ac_cv_prog_cc_stdc" in
  1997.   x|xno)
  1998.     echo "$as_me:$LINENO: result: none needed" >&5
  1999. echo "${ECHO_T}none needed" >&6 ;;
  2000.   *)
  2001.     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  2002. echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  2003.     CC="$CC $ac_cv_prog_cc_stdc" ;;
  2004. esac
  2005. # Some people use a C++ compiler to compile C.  Since we use `exit',
  2006. # in C++ we need to declare it.  In case someone uses the same compiler
  2007. # for both compiling C and C++ we need to have the C++ compiler decide
  2008. # the declaration of exit, since it's the most demanding environment.
  2009. cat >conftest.$ac_ext <<_ACEOF
  2010. #ifndef __cplusplus
  2011.   choke me
  2012. #endif
  2013. _ACEOF
  2014. rm -f conftest.$ac_objext
  2015. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2016.   (eval $ac_compile) 2>conftest.er1
  2017.   ac_status=$?
  2018.   grep -v '^ *+' conftest.er1 >conftest.err
  2019.   rm -f conftest.er1
  2020.   cat conftest.err >&5
  2021.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2022.   (exit $ac_status); } &&
  2023.  { ac_try='test -z "$ac_c_werror_flag"
  2024.  || test ! -s conftest.err'
  2025.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2026.   (eval $ac_try) 2>&5
  2027.   ac_status=$?
  2028.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2029.   (exit $ac_status); }; } &&
  2030.  { ac_try='test -s conftest.$ac_objext'
  2031.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2032.   (eval $ac_try) 2>&5
  2033.   ac_status=$?
  2034.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2035.   (exit $ac_status); }; }; then
  2036.   for ac_declaration in 
  2037.    '' 
  2038.    'extern "C" void std::exit (int) throw (); using std::exit;' 
  2039.    'extern "C" void std::exit (int); using std::exit;' 
  2040.    'extern "C" void exit (int) throw ();' 
  2041.    'extern "C" void exit (int);' 
  2042.    'void exit (int);'
  2043. do
  2044.   cat >conftest.$ac_ext <<_ACEOF
  2045. /* confdefs.h.  */
  2046. _ACEOF
  2047. cat confdefs.h >>conftest.$ac_ext
  2048. cat >>conftest.$ac_ext <<_ACEOF
  2049. /* end confdefs.h.  */
  2050. $ac_declaration
  2051. #include <stdlib.h>
  2052. int
  2053. main ()
  2054. {
  2055. exit (42);
  2056.   ;
  2057.   return 0;
  2058. }
  2059. _ACEOF
  2060. rm -f conftest.$ac_objext
  2061. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2062.   (eval $ac_compile) 2>conftest.er1
  2063.   ac_status=$?
  2064.   grep -v '^ *+' conftest.er1 >conftest.err
  2065.   rm -f conftest.er1
  2066.   cat conftest.err >&5
  2067.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2068.   (exit $ac_status); } &&
  2069.  { ac_try='test -z "$ac_c_werror_flag"
  2070.  || test ! -s conftest.err'
  2071.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2072.   (eval $ac_try) 2>&5
  2073.   ac_status=$?
  2074.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2075.   (exit $ac_status); }; } &&
  2076.  { ac_try='test -s conftest.$ac_objext'
  2077.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2078.   (eval $ac_try) 2>&5
  2079.   ac_status=$?
  2080.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2081.   (exit $ac_status); }; }; then
  2082.   :
  2083. else
  2084.   echo "$as_me: failed program was:" >&5
  2085. sed 's/^/| /' conftest.$ac_ext >&5
  2086. continue
  2087. fi
  2088. rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2089.   cat >conftest.$ac_ext <<_ACEOF
  2090. /* confdefs.h.  */
  2091. _ACEOF
  2092. cat confdefs.h >>conftest.$ac_ext
  2093. cat >>conftest.$ac_ext <<_ACEOF
  2094. /* end confdefs.h.  */
  2095. $ac_declaration
  2096. int
  2097. main ()
  2098. {
  2099. exit (42);
  2100.   ;
  2101.   return 0;
  2102. }
  2103. _ACEOF
  2104. rm -f conftest.$ac_objext
  2105. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2106.   (eval $ac_compile) 2>conftest.er1
  2107.   ac_status=$?
  2108.   grep -v '^ *+' conftest.er1 >conftest.err
  2109.   rm -f conftest.er1
  2110.   cat conftest.err >&5
  2111.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2112.   (exit $ac_status); } &&
  2113.  { ac_try='test -z "$ac_c_werror_flag"
  2114.  || test ! -s conftest.err'
  2115.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2116.   (eval $ac_try) 2>&5
  2117.   ac_status=$?
  2118.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2119.   (exit $ac_status); }; } &&
  2120.  { ac_try='test -s conftest.$ac_objext'
  2121.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2122.   (eval $ac_try) 2>&5
  2123.   ac_status=$?
  2124.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2125.   (exit $ac_status); }; }; then
  2126.   break
  2127. else
  2128.   echo "$as_me: failed program was:" >&5
  2129. sed 's/^/| /' conftest.$ac_ext >&5
  2130. fi
  2131. rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2132. done
  2133. rm -f conftest*
  2134. if test -n "$ac_declaration"; then
  2135.   echo '#ifdef __cplusplus' >>confdefs.h
  2136.   echo $ac_declaration      >>confdefs.h
  2137.   echo '#endif'             >>confdefs.h
  2138. fi
  2139. else
  2140.   echo "$as_me: failed program was:" >&5
  2141. sed 's/^/| /' conftest.$ac_ext >&5
  2142. fi
  2143. rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2144. ac_ext=c
  2145. ac_cpp='$CPP $CPPFLAGS'
  2146. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2147. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2148. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2149. echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  2150. echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
  2151. if test "${lt_cv_path_SED+set}" = set; then
  2152.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2153. else
  2154.   # Loop through the user's path and test for sed and gsed.
  2155. # Then use that list of sed's as ones to test for truncation.
  2156. as_executable_p="test -f"
  2157. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2158. for as_dir in $PATH
  2159. do
  2160.   IFS=$as_save_IFS
  2161.   test -z "$as_dir" && as_dir=.
  2162.   for ac_prog in sed gsed; do
  2163.     for ac_exec_ext in '' $ac_executable_extensions; do
  2164.       if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2165.         _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
  2166.       fi
  2167.     done
  2168.   done
  2169. done
  2170.   # Create a temporary directory, and hook for its removal unless debugging.
  2171. $debug ||
  2172. {
  2173.   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  2174.   trap '{ (exit 1); exit 1; }' 1 2 13 15
  2175. }
  2176. # Create a (secure) tmp directory for tmp files.
  2177. : ${TMPDIR=/tmp}
  2178. {
  2179.   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
  2180.   test -n "$tmp" && test -d "$tmp"
  2181. }  ||
  2182. {
  2183.   tmp=$TMPDIR/sed$$-$RANDOM
  2184.   (umask 077 && mkdir $tmp)
  2185. } ||
  2186. {
  2187.    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
  2188.    { (exit 1); exit 1; }
  2189. }
  2190.   _max=0
  2191.   _count=0
  2192.   # Add /usr/xpg4/bin/sed as it is typically found on Solaris
  2193.   # along with /bin/sed that truncates output.
  2194.   for _sed in $_sed_list /usr/xpg4/bin/sed; do
  2195.     test ! -f ${_sed} && break
  2196.     cat /dev/null > "$tmp/sed.in"
  2197.     _count=0
  2198.     echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
  2199.     # Check for GNU sed and select it if it is found.
  2200.     if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
  2201.       lt_cv_path_SED=${_sed}
  2202.       break
  2203.     fi
  2204.     while true; do
  2205.       cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
  2206.       mv "$tmp/sed.tmp" "$tmp/sed.in"
  2207.       cp "$tmp/sed.in" "$tmp/sed.nl"
  2208.       echo >>"$tmp/sed.nl"
  2209.       ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
  2210.       cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
  2211.       # 40000 chars as input seems more than enough
  2212.       test $_count -gt 10 && break
  2213.       _count=`expr $_count + 1`
  2214.       if test $_count -gt $_max; then
  2215.         _max=$_count
  2216.         lt_cv_path_SED=$_sed
  2217.       fi
  2218.     done
  2219.   done
  2220.   rm -rf "$tmp"
  2221. fi
  2222. if test "X$SED" != "X"; then
  2223.   lt_cv_path_SED=$SED
  2224. else
  2225.   SED=$lt_cv_path_SED
  2226. fi
  2227. echo "$as_me:$LINENO: result: $SED" >&5
  2228. echo "${ECHO_T}$SED" >&6
  2229. ac_ext=c
  2230. ac_cpp='$CPP $CPPFLAGS'
  2231. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2232. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2233. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2234. echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  2235. echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  2236. # On Suns, sometimes $CPP names a directory.
  2237. if test -n "$CPP" && test -d "$CPP"; then
  2238.   CPP=
  2239. fi
  2240. if test -z "$CPP"; then
  2241.   if test "${ac_cv_prog_CPP+set}" = set; then
  2242.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2243. else
  2244.       # Double quotes because CPP needs to be expanded
  2245.     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  2246.     do
  2247.       ac_preproc_ok=false
  2248. for ac_c_preproc_warn_flag in '' yes
  2249. do
  2250.   # Use a header file that comes with gcc, so configuring glibc
  2251.   # with a fresh cross-compiler works.
  2252.   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2253.   # <limits.h> exists even on freestanding compilers.
  2254.   # On the NeXT, cc -E runs the code through the compiler's parser,
  2255.   # not just through cpp. "Syntax error" is here to catch this case.
  2256.   cat >conftest.$ac_ext <<_ACEOF
  2257. /* confdefs.h.  */
  2258. _ACEOF
  2259. cat confdefs.h >>conftest.$ac_ext
  2260. cat >>conftest.$ac_ext <<_ACEOF
  2261. /* end confdefs.h.  */
  2262. #ifdef __STDC__
  2263. # include <limits.h>
  2264. #else
  2265. # include <assert.h>
  2266. #endif
  2267.      Syntax error
  2268. _ACEOF
  2269. if { (eval echo "$as_me:$LINENO: "$ac_cpp conftest.$ac_ext"") >&5
  2270.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2271.   ac_status=$?
  2272.   grep -v '^ *+' conftest.er1 >conftest.err
  2273.   rm -f conftest.er1
  2274.   cat conftest.err >&5
  2275.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2276.   (exit $ac_status); } >/dev/null; then
  2277.   if test -s conftest.err; then
  2278.     ac_cpp_err=$ac_c_preproc_warn_flag
  2279.     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2280.   else
  2281.     ac_cpp_err=
  2282.   fi
  2283. else
  2284.   ac_cpp_err=yes
  2285. fi
  2286. if test -z "$ac_cpp_err"; then
  2287.   :
  2288. else
  2289.   echo "$as_me: failed program was:" >&5
  2290. sed 's/^/| /' conftest.$ac_ext >&5
  2291.   # Broken: fails on valid input.
  2292. continue
  2293. fi
  2294. rm -f conftest.err conftest.$ac_ext
  2295.   # OK, works on sane cases.  Now check whether non-existent headers
  2296.   # can be detected and how.
  2297.   cat >conftest.$ac_ext <<_ACEOF
  2298. /* confdefs.h.  */
  2299. _ACEOF
  2300. cat confdefs.h >>conftest.$ac_ext
  2301. cat >>conftest.$ac_ext <<_ACEOF
  2302. /* end confdefs.h.  */
  2303. #include <ac_nonexistent.h>
  2304. _ACEOF
  2305. if { (eval echo "$as_me:$LINENO: "$ac_cpp conftest.$ac_ext"") >&5
  2306.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2307.   ac_status=$?
  2308.   grep -v '^ *+' conftest.er1 >conftest.err
  2309.   rm -f conftest.er1
  2310.   cat conftest.err >&5
  2311.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2312.   (exit $ac_status); } >/dev/null; then
  2313.   if test -s conftest.err; then
  2314.     ac_cpp_err=$ac_c_preproc_warn_flag
  2315.     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2316.   else
  2317.     ac_cpp_err=
  2318.   fi
  2319. else
  2320.   ac_cpp_err=yes
  2321. fi
  2322. if test -z "$ac_cpp_err"; then
  2323.   # Broken: success on invalid input.
  2324. continue
  2325. else
  2326.   echo "$as_me: failed program was:" >&5
  2327. sed 's/^/| /' conftest.$ac_ext >&5
  2328.   # Passes both tests.
  2329. ac_preproc_ok=:
  2330. break
  2331. fi
  2332. rm -f conftest.err conftest.$ac_ext
  2333. done
  2334. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  2335. rm -f conftest.err conftest.$ac_ext
  2336. if $ac_preproc_ok; then
  2337.   break
  2338. fi
  2339.     done
  2340.     ac_cv_prog_CPP=$CPP
  2341. fi
  2342.   CPP=$ac_cv_prog_CPP
  2343. else
  2344.   ac_cv_prog_CPP=$CPP
  2345. fi
  2346. echo "$as_me:$LINENO: result: $CPP" >&5
  2347. echo "${ECHO_T}$CPP" >&6
  2348. ac_preproc_ok=false
  2349. for ac_c_preproc_warn_flag in '' yes
  2350. do
  2351.   # Use a header file that comes with gcc, so configuring glibc
  2352.   # with a fresh cross-compiler works.
  2353.   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2354.   # <limits.h> exists even on freestanding compilers.
  2355.   # On the NeXT, cc -E runs the code through the compiler's parser,
  2356.   # not just through cpp. "Syntax error" is here to catch this case.
  2357.   cat >conftest.$ac_ext <<_ACEOF
  2358. /* confdefs.h.  */
  2359. _ACEOF
  2360. cat confdefs.h >>conftest.$ac_ext
  2361. cat >>conftest.$ac_ext <<_ACEOF
  2362. /* end confdefs.h.  */
  2363. #ifdef __STDC__
  2364. # include <limits.h>
  2365. #else
  2366. # include <assert.h>
  2367. #endif
  2368.      Syntax error
  2369. _ACEOF
  2370. if { (eval echo "$as_me:$LINENO: "$ac_cpp conftest.$ac_ext"") >&5
  2371.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2372.   ac_status=$?
  2373.   grep -v '^ *+' conftest.er1 >conftest.err
  2374.   rm -f conftest.er1
  2375.   cat conftest.err >&5
  2376.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2377.   (exit $ac_status); } >/dev/null; then
  2378.   if test -s conftest.err; then
  2379.     ac_cpp_err=$ac_c_preproc_warn_flag
  2380.     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2381.   else
  2382.     ac_cpp_err=
  2383.   fi
  2384. else
  2385.   ac_cpp_err=yes
  2386. fi
  2387. if test -z "$ac_cpp_err"; then
  2388.   :
  2389. else
  2390.   echo "$as_me: failed program was:" >&5
  2391. sed 's/^/| /' conftest.$ac_ext >&5
  2392.   # Broken: fails on valid input.
  2393. continue
  2394. fi
  2395. rm -f conftest.err conftest.$ac_ext
  2396.   # OK, works on sane cases.  Now check whether non-existent headers
  2397.   # can be detected and how.
  2398.   cat >conftest.$ac_ext <<_ACEOF
  2399. /* confdefs.h.  */
  2400. _ACEOF
  2401. cat confdefs.h >>conftest.$ac_ext
  2402. cat >>conftest.$ac_ext <<_ACEOF
  2403. /* end confdefs.h.  */
  2404. #include <ac_nonexistent.h>
  2405. _ACEOF
  2406. if { (eval echo "$as_me:$LINENO: "$ac_cpp conftest.$ac_ext"") >&5
  2407.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2408.   ac_status=$?
  2409.   grep -v '^ *+' conftest.er1 >conftest.err
  2410.   rm -f conftest.er1
  2411.   cat conftest.err >&5
  2412.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2413.   (exit $ac_status); } >/dev/null; then
  2414.   if test -s conftest.err; then
  2415.     ac_cpp_err=$ac_c_preproc_warn_flag
  2416.     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2417.   else
  2418.     ac_cpp_err=
  2419.   fi
  2420. else
  2421.   ac_cpp_err=yes
  2422. fi
  2423. if test -z "$ac_cpp_err"; then
  2424.   # Broken: success on invalid input.
  2425. continue
  2426. else
  2427.   echo "$as_me: failed program was:" >&5
  2428. sed 's/^/| /' conftest.$ac_ext >&5
  2429.   # Passes both tests.
  2430. ac_preproc_ok=:
  2431. break
  2432. fi
  2433. rm -f conftest.err conftest.$ac_ext
  2434. done
  2435. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  2436. rm -f conftest.err conftest.$ac_ext
  2437. if $ac_preproc_ok; then
  2438.   :
  2439. else
  2440.   { { echo "$as_me:$LINENO: error: C preprocessor "$CPP" fails sanity check
  2441. See `config.log' for more details." >&5
  2442. echo "$as_me: error: C preprocessor "$CPP" fails sanity check
  2443. See `config.log' for more details." >&2;}
  2444.    { (exit 1); exit 1; }; }
  2445. fi
  2446. ac_ext=c
  2447. ac_cpp='$CPP $CPPFLAGS'
  2448. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2449. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2450. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2451. echo "$as_me:$LINENO: checking for egrep" >&5
  2452. echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  2453. if test "${ac_cv_prog_egrep+set}" = set; then
  2454.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2455. else
  2456.   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  2457.     then ac_cv_prog_egrep='grep -E'
  2458.     else ac_cv_prog_egrep='egrep'
  2459.     fi
  2460. fi
  2461. echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  2462. echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  2463.  EGREP=$ac_cv_prog_egrep
  2464. if test $ac_cv_c_compiler_gnu = yes; then
  2465.     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
  2466. echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
  2467. if test "${ac_cv_prog_gcc_traditional+set}" = set; then
  2468.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2469. else
  2470.     ac_pattern="Autoconf.*'x'"
  2471.   cat >conftest.$ac_ext <<_ACEOF
  2472. /* confdefs.h.  */
  2473. _ACEOF
  2474. cat confdefs.h >>conftest.$ac_ext
  2475. cat >>conftest.$ac_ext <<_ACEOF
  2476. /* end confdefs.h.  */
  2477. #include <sgtty.h>
  2478. Autoconf TIOCGETP
  2479. _ACEOF
  2480. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  2481.   $EGREP "$ac_pattern" >/dev/null 2>&1; then
  2482.   ac_cv_prog_gcc_traditional=yes
  2483. else
  2484.   ac_cv_prog_gcc_traditional=no
  2485. fi
  2486. rm -f conftest*
  2487.   if test $ac_cv_prog_gcc_traditional = no; then
  2488.     cat >conftest.$ac_ext <<_ACEOF
  2489. /* confdefs.h.  */
  2490. _ACEOF
  2491. cat confdefs.h >>conftest.$ac_ext
  2492. cat >>conftest.$ac_ext <<_ACEOF
  2493. /* end confdefs.h.  */
  2494. #include <termio.h>
  2495. Autoconf TCGETA
  2496. _ACEOF
  2497. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  2498.   $EGREP "$ac_pattern" >/dev/null 2>&1; then
  2499.   ac_cv_prog_gcc_traditional=yes
  2500. fi
  2501. rm -f conftest*
  2502.   fi
  2503. fi
  2504. echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
  2505. echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
  2506.   if test $ac_cv_prog_gcc_traditional = yes; then
  2507.     CC="$CC -traditional"
  2508.   fi
  2509. fi
  2510. echo "$as_me:$LINENO: checking whether using GNU C" >&5
  2511. echo $ECHO_N "checking whether using GNU C... $ECHO_C" >&6
  2512. if test "${cl_cv_prog_cc_gcc+set}" = set; then
  2513.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2514. else
  2515. cat >conftest.$ac_ext <<_ACEOF
  2516. /* confdefs.h.  */
  2517. _ACEOF
  2518. cat confdefs.h >>conftest.$ac_ext
  2519. cat >>conftest.$ac_ext <<_ACEOF
  2520. /* end confdefs.h.  */
  2521. #ifdef __GNUC__
  2522.   yes
  2523. #endif
  2524. _ACEOF
  2525. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  2526.   $EGREP "yes" >/dev/null 2>&1; then
  2527.   cl_cv_prog_cc_gcc=yes
  2528. else
  2529.   cl_cv_prog_cc_gcc=no
  2530. fi
  2531. rm -f conftest*
  2532. fi
  2533. echo "$as_me:$LINENO: result: $cl_cv_prog_cc_gcc" >&5
  2534. echo "${ECHO_T}$cl_cv_prog_cc_gcc" >&6
  2535. if test $cl_cv_prog_cc_gcc = yes; then
  2536.   CC_GCC=true
  2537.   GCC_X_NONE='-x none'
  2538. else
  2539.   CC_GCC=false
  2540.   GCC_X_NONE=''
  2541. fi
  2542. echo "$as_me:$LINENO: checking for underscore in external names" >&5
  2543. echo $ECHO_N "checking for underscore in external names... $ECHO_C" >&6
  2544. if test "${cl_cv_prog_as_underscore+set}" = set; then
  2545.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2546. else
  2547. cat > conftest.c <<EOF
  2548. #ifdef __cplusplus
  2549. extern "C"
  2550. #endif
  2551. int foo() { return 0; }
  2552. EOF
  2553. # look for the assembly language name in the .s file
  2554. { ac_try='${CC-cc} -S conftest.c'
  2555.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2556.   (eval $ac_try) 2>&5
  2557.   ac_status=$?
  2558.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2559.   (exit $ac_status); }; } >/dev/null 2>&1
  2560. if grep _foo conftest.s >/dev/null ; then
  2561.   cl_cv_prog_as_underscore=yes
  2562. else
  2563.   cl_cv_prog_as_underscore=no
  2564. fi
  2565. rm -f conftest*
  2566. fi
  2567. echo "$as_me:$LINENO: result: $cl_cv_prog_as_underscore" >&5
  2568. echo "${ECHO_T}$cl_cv_prog_as_underscore" >&6
  2569. if test $cl_cv_prog_as_underscore = yes; then
  2570.   AS_UNDERSCORE=true
  2571. cat >>confdefs.h <<_ACEOF
  2572. #define ASM_UNDERSCORE
  2573. _ACEOF
  2574. else
  2575.   AS_UNDERSCORE=false
  2576. fi
  2577. # Extract the first word of "ranlib", so it can be a program name with args.
  2578. set dummy ranlib; ac_word=$2
  2579. echo "$as_me:$LINENO: checking for $ac_word" >&5
  2580. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2581. if test "${ac_cv_prog_RANLIB+set}" = set; then
  2582.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2583. else
  2584.   if test -n "$RANLIB"; then
  2585.   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  2586. else
  2587. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2588. for as_dir in $PATH
  2589. do
  2590.   IFS=$as_save_IFS
  2591.   test -z "$as_dir" && as_dir=.
  2592.   for ac_exec_ext in '' $ac_executable_extensions; do
  2593.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2594.     ac_cv_prog_RANLIB="ranlib"
  2595.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2596.     break 2
  2597.   fi
  2598. done
  2599. done
  2600.   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="true"
  2601. fi
  2602. fi
  2603. RANLIB=$ac_cv_prog_RANLIB
  2604. if test -n "$RANLIB"; then
  2605.   echo "$as_me:$LINENO: result: $RANLIB" >&5
  2606. echo "${ECHO_T}$RANLIB" >&6
  2607. else
  2608.   echo "$as_me:$LINENO: result: no" >&5
  2609. echo "${ECHO_T}no" >&6
  2610. fi
  2611. echo "$as_me:$LINENO: checking whether ${MAKE-make} sets $(MAKE)" >&5
  2612. echo $ECHO_N "checking whether ${MAKE-make} sets $(MAKE)... $ECHO_C" >&6
  2613. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
  2614. if eval "test "${ac_cv_prog_make_${ac_make}_set+set}" = set"; then
  2615.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2616. else
  2617.   cat >conftest.make <<_ACEOF
  2618. all:
  2619. @echo 'ac_maketemp="$(MAKE)"'
  2620. _ACEOF
  2621. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2622. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  2623. if test -n "$ac_maketemp"; then
  2624.   eval ac_cv_prog_make_${ac_make}_set=yes
  2625. else
  2626.   eval ac_cv_prog_make_${ac_make}_set=no
  2627. fi
  2628. rm -f conftest.make
  2629. fi
  2630. if eval "test "`echo '$ac_cv_prog_make_'${ac_make}_set`" = yes"; then
  2631.   echo "$as_me:$LINENO: result: yes" >&5
  2632. echo "${ECHO_T}yes" >&6
  2633.   SET_MAKE=
  2634. else
  2635.   echo "$as_me:$LINENO: result: no" >&5
  2636. echo "${ECHO_T}no" >&6
  2637.   SET_MAKE="MAKE=${MAKE-make}"
  2638. fi
  2639. # Find a good install program.  We prefer a C program (faster),
  2640. # so one script is as good as another.  But avoid the broken or
  2641. # incompatible versions:
  2642. # SysV /etc/install, /usr/sbin/install
  2643. # SunOS /usr/etc/install
  2644. # IRIX /sbin/install
  2645. # AIX /bin/install
  2646. # AFS /usr/afsws/bin/install, which mis-handles nonexistent args
  2647. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2648. # ./install, which can be erroneously created by make from ./install.sh.
  2649. echo "$as_me:$LINENO: checking for a BSD compatible install" >&5
  2650. echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
  2651. if test -z "$INSTALL"; then
  2652. if test "${cl_cv_path_install+set}" = set; then
  2653.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2654. else
  2655.     IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  2656.   for ac_dir in $PATH; do
  2657.     # Account for people who put trailing slashes in PATH elements.
  2658.     case "$ac_dir/" in
  2659.     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  2660.     *)
  2661.       # OSF1 and SCO ODT 3.0 have their own names for install.
  2662.       # Don't use installbsd from OSF since it installs stuff as root
  2663.       # by default.
  2664.       for ac_prog in ginstall scoinst install; do
  2665.         if test -f $ac_dir/$ac_prog; then
  2666.   if test $ac_prog = install &&
  2667.             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  2668.     # AIX install.  It has an incompatible calling convention.
  2669.     :
  2670.   else
  2671.     cl_cv_path_install="$ac_dir/$ac_prog -c"
  2672.     break 2
  2673.   fi
  2674. fi
  2675.       done
  2676.       ;;
  2677.     esac
  2678.   done
  2679.   IFS="$ac_save_ifs"
  2680.   # As a last resort, use the absolute pathname of cp.
  2681.   if test -z "$cl_cv_path_install"; then
  2682.     cl_cv_path_install="cp"
  2683.     IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  2684.     for ac_dir in $PATH; do
  2685.       if test -f $ac_dir/cp; then
  2686.         cl_cv_path_install="$ac_dir/cp"
  2687.         break
  2688.       fi
  2689.     done
  2690.     IFS="$ac_save_ifs"
  2691.   fi
  2692. fi
  2693.   INSTALL="$cl_cv_path_install"
  2694. fi
  2695. echo "$as_me:$LINENO: result: $INSTALL" >&5
  2696. echo "${ECHO_T}$INSTALL" >&6
  2697. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2698. # It thinks the first close brace ends the variable substitution.
  2699. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='$(INSTALL)'
  2700. if test -z "$INSTALL_DATA"; then
  2701.   case "$INSTALL" in
  2702.     cp | */cp ) INSTALL_DATA='$(INSTALL)' ;;
  2703.     * )         INSTALL_DATA='$(INSTALL) -m 644' ;;
  2704.   esac
  2705. fi
  2706. echo "$as_me:$LINENO: checking how to copy files" >&5
  2707. echo $ECHO_N "checking how to copy files... $ECHO_C" >&6
  2708. if test "${cl_cv_prog_cp+set}" = set; then
  2709.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2710. else
  2711. echo "blabla" > conftest.x
  2712. err=`/bin/sh -c "cp -p conftest.x conftest.y 2>&1"`
  2713. if test -z "$err"; then
  2714.   cl_cv_prog_cp='cp -p'
  2715. else
  2716.   cl_cv_prog_cp='cp'
  2717. fi
  2718. rm -f conftest*
  2719. fi
  2720. echo "$as_me:$LINENO: result: $cl_cv_prog_cp" >&5
  2721. echo "${ECHO_T}$cl_cv_prog_cp" >&6
  2722. CP="$cl_cv_prog_cp"
  2723. echo "$as_me:$LINENO: checking how to make hard links" >&5
  2724. echo $ECHO_N "checking how to make hard links... $ECHO_C" >&6
  2725. if test "${cl_cv_prog_LN+set}" = set; then
  2726.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2727. else
  2728. rm -f conftestdata conftestfile
  2729. echo data > conftestfile
  2730. if ln conftestfile conftestdata 2>/dev/null; then
  2731.   cl_cv_prog_LN=ln
  2732. else
  2733.   cl_cv_prog_LN="$cl_cv_prog_cp"
  2734. fi
  2735. rm -f conftestdata conftestfile
  2736. fi
  2737. echo "$as_me:$LINENO: result: $cl_cv_prog_LN" >&5
  2738. echo "${ECHO_T}$cl_cv_prog_LN" >&6
  2739. LN="$cl_cv_prog_LN"
  2740.  ac_aux_dir=${srcdir}/..
  2741. ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  2742. ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  2743. # Make sure we can run config.sub.
  2744. $ac_config_sub sun4 >/dev/null 2>&1 ||
  2745.   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
  2746. echo "$as_me: error: cannot run $ac_config_sub" >&2;}
  2747.    { (exit 1); exit 1; }; }
  2748. echo "$as_me:$LINENO: checking build system type" >&5
  2749. echo $ECHO_N "checking build system type... $ECHO_C" >&6
  2750. if test "${ac_cv_build+set}" = set; then
  2751.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2752. else
  2753.   ac_cv_build_alias=$build_alias
  2754. test -z "$ac_cv_build_alias" &&
  2755.   ac_cv_build_alias=`$ac_config_guess`
  2756. test -z "$ac_cv_build_alias" &&
  2757.   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  2758. echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  2759.    { (exit 1); exit 1; }; }
  2760. ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  2761.   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
  2762. echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
  2763.    { (exit 1); exit 1; }; }
  2764. fi
  2765. echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  2766. echo "${ECHO_T}$ac_cv_build" >&6
  2767. build=$ac_cv_build
  2768. build_cpu=`echo $ac_cv_build | sed 's/^([^-]*)-([^-]*)-(.*)$/1/'`
  2769. build_vendor=`echo $ac_cv_build | sed 's/^([^-]*)-([^-]*)-(.*)$/2/'`
  2770. build_os=`echo $ac_cv_build | sed 's/^([^-]*)-([^-]*)-(.*)$/3/'`
  2771. echo "$as_me:$LINENO: checking host system type" >&5
  2772. echo $ECHO_N "checking host system type... $ECHO_C" >&6
  2773. if test "${ac_cv_host+set}" = set; then
  2774.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2775. else
  2776.   ac_cv_host_alias=$host_alias
  2777. test -z "$ac_cv_host_alias" &&
  2778.   ac_cv_host_alias=$ac_cv_build_alias
  2779. ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  2780.   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
  2781. echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
  2782.    { (exit 1); exit 1; }; }
  2783. fi
  2784. echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  2785. echo "${ECHO_T}$ac_cv_host" >&6
  2786. host=$ac_cv_host
  2787. host_cpu=`echo $ac_cv_host | sed 's/^([^-]*)-([^-]*)-(.*)$/1/'`
  2788. host_vendor=`echo $ac_cv_host | sed 's/^([^-]*)-([^-]*)-(.*)$/2/'`