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

信息检索与抽取

开发平台:

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. # Check that we are running under the correct shell.
  215. SHELL=${CONFIG_SHELL-/bin/sh}
  216. case X$ECHO in
  217. X*--fallback-echo)
  218.   # Remove one level of quotation (which was required for Make).
  219.   ECHO=`echo "$ECHO" | sed 's,\\$\$0,'$0','`
  220.   ;;
  221. esac
  222. echo=${ECHO-echo}
  223. if test "X$1" = X--no-reexec; then
  224.   # Discard the --no-reexec flag, and continue.
  225.   shift
  226. elif test "X$1" = X--fallback-echo; then
  227.   # Avoid inline document here, it may be left over
  228.   :
  229. elif test "X`($echo 't') 2>/dev/null`" = 'Xt' ; then
  230.   # Yippee, $echo works!
  231.   :
  232. else
  233.   # Restart under the correct shell.
  234.   exec $SHELL "$0" --no-reexec ${1+"$@"}
  235. fi
  236. if test "X$1" = X--fallback-echo; then
  237.   # used as fallback echo
  238.   shift
  239.   cat <<EOF
  240. $*
  241. EOF
  242.   exit 0
  243. fi
  244. # The HP-UX ksh and POSIX shell print the target directory to stdout
  245. # if CDPATH is set.
  246. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  247. if test -z "$ECHO"; then
  248. if test "X${echo_test_string+set}" != Xset; then
  249. # find a string as large as possible, as long as the shell can cope with it
  250.   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  251.     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  252.     if (echo_test_string="`eval $cmd`") 2>/dev/null &&
  253.        echo_test_string="`eval $cmd`" &&
  254.        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  255.     then
  256.       break
  257.     fi
  258.   done
  259. fi
  260. if test "X`($echo 't') 2>/dev/null`" = 'Xt' &&
  261.    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  262.    test "X$echo_testing_string" = "X$echo_test_string"; then
  263.   :
  264. else
  265.   # The Solaris, AIX, and Digital Unix default echo programs unquote
  266.   # backslashes.  This makes it impossible to quote backslashes using
  267.   #   echo "$something" | sed 's/\/\\/g'
  268.   #
  269.   # So, first we look for a working echo in the user's PATH.
  270.   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  271.   for dir in $PATH /usr/ucb; do
  272.     IFS="$lt_save_ifs"
  273.     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  274.        test "X`($dir/echo 't') 2>/dev/null`" = 'Xt' &&
  275.        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  276.        test "X$echo_testing_string" = "X$echo_test_string"; then
  277.       echo="$dir/echo"
  278.       break
  279.     fi
  280.   done
  281.   IFS="$lt_save_ifs"
  282.   if test "X$echo" = Xecho; then
  283.     # We didn't find a better echo, so look for alternatives.
  284.     if test "X`(print -r 't') 2>/dev/null`" = 'Xt' &&
  285.        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  286.        test "X$echo_testing_string" = "X$echo_test_string"; then
  287.       # This shell has a builtin print -r that does the trick.
  288.       echo='print -r'
  289.     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  290.  test "X$CONFIG_SHELL" != X/bin/ksh; then
  291.       # If we have ksh, try running configure again with it.
  292.       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  293.       export ORIGINAL_CONFIG_SHELL
  294.       CONFIG_SHELL=/bin/ksh
  295.       export CONFIG_SHELL
  296.       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  297.     else
  298.       # Try using printf.
  299.       echo='printf %sn'
  300.       if test "X`($echo 't') 2>/dev/null`" = 'Xt' &&
  301.  echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  302.  test "X$echo_testing_string" = "X$echo_test_string"; then
  303. # Cool, printf works
  304. :
  305.       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo 't') 2>/dev/null` &&
  306.    test "X$echo_testing_string" = 'Xt' &&
  307.    echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  308.    test "X$echo_testing_string" = "X$echo_test_string"; then
  309. CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  310. export CONFIG_SHELL
  311. SHELL="$CONFIG_SHELL"
  312. export SHELL
  313. echo="$CONFIG_SHELL $0 --fallback-echo"
  314.       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo 't') 2>/dev/null` &&
  315.    test "X$echo_testing_string" = 'Xt' &&
  316.    echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  317.    test "X$echo_testing_string" = "X$echo_test_string"; then
  318. echo="$CONFIG_SHELL $0 --fallback-echo"
  319.       else
  320. # maybe with a smaller string...
  321. prev=:
  322. for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  323.   if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  324.   then
  325.     break
  326.   fi
  327.   prev="$cmd"
  328. done
  329. if test "$prev" != 'sed 50q "$0"'; then
  330.   echo_test_string=`eval $prev`
  331.   export echo_test_string
  332.   exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  333. else
  334.   # Oops.  We lost completely, so just stick with echo.
  335.   echo=echo
  336. fi
  337.       fi
  338.     fi
  339.   fi
  340. fi
  341. fi
  342. # Copy echo and quote the copy suitably for passing to libtool from
  343. # the Makefile, instead of quoting the original, which is used later.
  344. ECHO=$echo
  345. if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  346.    ECHO="$CONFIG_SHELL \$$0 --fallback-echo"
  347. fi
  348. tagnames=${tagnames+${tagnames},}CXX
  349. tagnames=${tagnames+${tagnames},}F77
  350. # Name of the host.
  351. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  352. # so uname gets run too.
  353. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  354. exec 6>&1
  355. #
  356. # Initializations.
  357. #
  358. ac_default_prefix=/usr/local
  359. ac_config_libobj_dir=.
  360. cross_compiling=no
  361. subdirs=
  362. MFLAGS=
  363. MAKEFLAGS=
  364. SHELL=${CONFIG_SHELL-/bin/sh}
  365. # Maximum number of lines to put in a shell here document.
  366. # This variable seems obsolete.  It should probably be removed, and
  367. # only ac_max_sed_lines should be used.
  368. : ${ac_max_here_lines=38}
  369. # Identity of this package.
  370. PACKAGE_NAME=
  371. PACKAGE_TARNAME=
  372. PACKAGE_VERSION=
  373. PACKAGE_STRING=
  374. PACKAGE_BUGREPORT=
  375. ac_unique_file="objc/objc.h"
  376. # Factoring default headers for most tests.
  377. ac_includes_default="
  378. #include <stdio.h>
  379. #if HAVE_SYS_TYPES_H
  380. # include <sys/types.h>
  381. #endif
  382. #if HAVE_SYS_STAT_H
  383. # include <sys/stat.h>
  384. #endif
  385. #if STDC_HEADERS
  386. # include <stdlib.h>
  387. # include <stddef.h>
  388. #else
  389. # if HAVE_STDLIB_H
  390. #  include <stdlib.h>
  391. # endif
  392. #endif
  393. #if HAVE_STRING_H
  394. # if !STDC_HEADERS && HAVE_MEMORY_H
  395. #  include <memory.h>
  396. # endif
  397. # include <string.h>
  398. #endif
  399. #if HAVE_STRINGS_H
  400. # include <strings.h>
  401. #endif
  402. #if HAVE_INTTYPES_H
  403. # include <inttypes.h>
  404. #else
  405. # if HAVE_STDINT_H
  406. #  include <stdint.h>
  407. # endif
  408. #endif
  409. #if HAVE_UNISTD_H
  410. # include <unistd.h>
  411. #endif"
  412. 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE OBJC OBJCDEPMODE am__fastdepOBJC_TRUE am__fastdepOBJC_FALSE SED OBJCFLAGS EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL OBJC_THREAD_FILE COMPILERINFOHEADER MFRAMEHEADER DLLWRAP USEDLL USEDLL_TRUE USEDLL_FALSE inst_LIBS inst_LDFLAGS noinst_LIBS OBJC_DLL ONELIB LIBOBJS LTLIBOBJS'
  413. ac_subst_files=''
  414. # Initialize some variables set by options.
  415. ac_init_help=
  416. ac_init_version=false
  417. # The variables have the same names as the options, with
  418. # dashes changed to underlines.
  419. cache_file=/dev/null
  420. exec_prefix=NONE
  421. no_create=
  422. no_recursion=
  423. prefix=NONE
  424. program_prefix=NONE
  425. program_suffix=NONE
  426. program_transform_name=s,x,x,
  427. silent=
  428. site=
  429. srcdir=
  430. verbose=
  431. x_includes=NONE
  432. x_libraries=NONE
  433. # Installation directory options.
  434. # These are left unexpanded so users can "make install exec_prefix=/foo"
  435. # and all the variables that are supposed to be based on exec_prefix
  436. # by default will actually change.
  437. # Use braces instead of parens because sh, perl, etc. also accept them.
  438. bindir='${exec_prefix}/bin'
  439. sbindir='${exec_prefix}/sbin'
  440. libexecdir='${exec_prefix}/libexec'
  441. datadir='${prefix}/share'
  442. sysconfdir='${prefix}/etc'
  443. sharedstatedir='${prefix}/com'
  444. localstatedir='${prefix}/var'
  445. libdir='${exec_prefix}/lib'
  446. includedir='${prefix}/include'
  447. oldincludedir='/usr/include'
  448. infodir='${prefix}/info'
  449. mandir='${prefix}/man'
  450. ac_prev=
  451. for ac_option
  452. do
  453.   # If the previous option needs an argument, assign it.
  454.   if test -n "$ac_prev"; then
  455.     eval "$ac_prev=$ac_option"
  456.     ac_prev=
  457.     continue
  458.   fi
  459.   ac_optarg=`expr "x$ac_option" : 'x[^=]*=(.*)'`
  460.   # Accept the important Cygnus configure options, so we can diagnose typos.
  461.   case $ac_option in
  462.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  463.     ac_prev=bindir ;;
  464.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  465.     bindir=$ac_optarg ;;
  466.   -build | --build | --buil | --bui | --bu)
  467.     ac_prev=build_alias ;;
  468.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  469.     build_alias=$ac_optarg ;;
  470.   -cache-file | --cache-file | --cache-fil | --cache-fi 
  471.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  472.     ac_prev=cache_file ;;
  473.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* 
  474.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  475.     cache_file=$ac_optarg ;;
  476.   --config-cache | -C)
  477.     cache_file=config.cache ;;
  478.   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  479.     ac_prev=datadir ;;
  480.   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* 
  481.   | --da=*)
  482.     datadir=$ac_optarg ;;
  483.   -disable-* | --disable-*)
  484.     ac_feature=`expr "x$ac_option" : 'x-*disable-(.*)'`
  485.     # Reject names that are not valid shell variable names.
  486.     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  487.       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  488.    { (exit 1); exit 1; }; }
  489.     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  490.     eval "enable_$ac_feature=no" ;;
  491.   -enable-* | --enable-*)
  492.     ac_feature=`expr "x$ac_option" : 'x-*enable-([^=]*)'`
  493.     # Reject names that are not valid shell variable names.
  494.     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  495.       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  496.    { (exit 1); exit 1; }; }
  497.     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  498.     case $ac_option in
  499.       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\''/g"`;;
  500.       *) ac_optarg=yes ;;
  501.     esac
  502.     eval "enable_$ac_feature='$ac_optarg'" ;;
  503.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi 
  504.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- 
  505.   | --exec | --exe | --ex)
  506.     ac_prev=exec_prefix ;;
  507.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* 
  508.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* 
  509.   | --exec=* | --exe=* | --ex=*)
  510.     exec_prefix=$ac_optarg ;;
  511.   -gas | --gas | --ga | --g)
  512.     # Obsolete; use --with-gas.
  513.     with_gas=yes ;;
  514.   -help | --help | --hel | --he | -h)
  515.     ac_init_help=long ;;
  516.   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  517.     ac_init_help=recursive ;;
  518.   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  519.     ac_init_help=short ;;
  520.   -host | --host | --hos | --ho)
  521.     ac_prev=host_alias ;;
  522.   -host=* | --host=* | --hos=* | --ho=*)
  523.     host_alias=$ac_optarg ;;
  524.   -includedir | --includedir | --includedi | --included | --include 
  525.   | --includ | --inclu | --incl | --inc)
  526.     ac_prev=includedir ;;
  527.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* 
  528.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  529.     includedir=$ac_optarg ;;
  530.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  531.     ac_prev=infodir ;;
  532.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  533.     infodir=$ac_optarg ;;
  534.   -libdir | --libdir | --libdi | --libd)
  535.     ac_prev=libdir ;;
  536.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  537.     libdir=$ac_optarg ;;
  538.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec 
  539.   | --libexe | --libex | --libe)
  540.     ac_prev=libexecdir ;;
  541.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* 
  542.   | --libexe=* | --libex=* | --libe=*)
  543.     libexecdir=$ac_optarg ;;
  544.   -localstatedir | --localstatedir | --localstatedi | --localstated 
  545.   | --localstate | --localstat | --localsta | --localst 
  546.   | --locals | --local | --loca | --loc | --lo)
  547.     ac_prev=localstatedir ;;
  548.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* 
  549.   | --localstate=* | --localstat=* | --localsta=* | --localst=* 
  550.   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  551.     localstatedir=$ac_optarg ;;
  552.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  553.     ac_prev=mandir ;;
  554.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  555.     mandir=$ac_optarg ;;
  556.   -nfp | --nfp | --nf)
  557.     # Obsolete; use --without-fp.
  558.     with_fp=no ;;
  559.   -no-create | --no-create | --no-creat | --no-crea | --no-cre 
  560.   | --no-cr | --no-c | -n)
  561.     no_create=yes ;;
  562.   -no-recursion | --no-recursion | --no-recursio | --no-recursi 
  563.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  564.     no_recursion=yes ;;
  565.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded 
  566.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc 
  567.   | --oldin | --oldi | --old | --ol | --o)
  568.     ac_prev=oldincludedir ;;
  569.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* 
  570.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* 
  571.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  572.     oldincludedir=$ac_optarg ;;
  573.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  574.     ac_prev=prefix ;;
  575.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  576.     prefix=$ac_optarg ;;
  577.   -program-prefix | --program-prefix | --program-prefi | --program-pref 
  578.   | --program-pre | --program-pr | --program-p)
  579.     ac_prev=program_prefix ;;
  580.   -program-prefix=* | --program-prefix=* | --program-prefi=* 
  581.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  582.     program_prefix=$ac_optarg ;;
  583.   -program-suffix | --program-suffix | --program-suffi | --program-suff 
  584.   | --program-suf | --program-su | --program-s)
  585.     ac_prev=program_suffix ;;
  586.   -program-suffix=* | --program-suffix=* | --program-suffi=* 
  587.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  588.     program_suffix=$ac_optarg ;;
  589.   -program-transform-name | --program-transform-name 
  590.   | --program-transform-nam | --program-transform-na 
  591.   | --program-transform-n | --program-transform- 
  592.   | --program-transform | --program-transfor 
  593.   | --program-transfo | --program-transf 
  594.   | --program-trans | --program-tran 
  595.   | --progr-tra | --program-tr | --program-t)
  596.     ac_prev=program_transform_name ;;
  597.   -program-transform-name=* | --program-transform-name=* 
  598.   | --program-transform-nam=* | --program-transform-na=* 
  599.   | --program-transform-n=* | --program-transform-=* 
  600.   | --program-transform=* | --program-transfor=* 
  601.   | --program-transfo=* | --program-transf=* 
  602.   | --program-trans=* | --program-tran=* 
  603.   | --progr-tra=* | --program-tr=* | --program-t=*)
  604.     program_transform_name=$ac_optarg ;;
  605.   -q | -quiet | --quiet | --quie | --qui | --qu | --q 
  606.   | -silent | --silent | --silen | --sile | --sil)
  607.     silent=yes ;;
  608.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  609.     ac_prev=sbindir ;;
  610.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* 
  611.   | --sbi=* | --sb=*)
  612.     sbindir=$ac_optarg ;;
  613.   -sharedstatedir | --sharedstatedir | --sharedstatedi 
  614.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta 
  615.   | --sharedst | --shareds | --shared | --share | --shar 
  616.   | --sha | --sh)
  617.     ac_prev=sharedstatedir ;;
  618.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* 
  619.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* 
  620.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* 
  621.   | --sha=* | --sh=*)
  622.     sharedstatedir=$ac_optarg ;;
  623.   -site | --site | --sit)
  624.     ac_prev=site ;;
  625.   -site=* | --site=* | --sit=*)
  626.     site=$ac_optarg ;;
  627.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  628.     ac_prev=srcdir ;;
  629.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  630.     srcdir=$ac_optarg ;;
  631.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf 
  632.   | --syscon | --sysco | --sysc | --sys | --sy)
  633.     ac_prev=sysconfdir ;;
  634.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* 
  635.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  636.     sysconfdir=$ac_optarg ;;
  637.   -target | --target | --targe | --targ | --tar | --ta | --t)
  638.     ac_prev=target_alias ;;
  639.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  640.     target_alias=$ac_optarg ;;
  641.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  642.     verbose=yes ;;
  643.   -version | --version | --versio | --versi | --vers | -V)
  644.     ac_init_version=: ;;
  645.   -with-* | --with-*)
  646.     ac_package=`expr "x$ac_option" : 'x-*with-([^=]*)'`
  647.     # Reject names that are not valid shell variable names.
  648.     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  649.       { echo "$as_me: error: invalid package name: $ac_package" >&2
  650.    { (exit 1); exit 1; }; }
  651.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  652.     case $ac_option in
  653.       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\''/g"`;;
  654.       *) ac_optarg=yes ;;
  655.     esac
  656.     eval "with_$ac_package='$ac_optarg'" ;;
  657.   -without-* | --without-*)
  658.     ac_package=`expr "x$ac_option" : 'x-*without-(.*)'`
  659.     # Reject names that are not valid shell variable names.
  660.     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  661.       { echo "$as_me: error: invalid package name: $ac_package" >&2
  662.    { (exit 1); exit 1; }; }
  663.     ac_package=`echo $ac_package | sed 's/-/_/g'`
  664.     eval "with_$ac_package=no" ;;
  665.   --x)
  666.     # Obsolete; use --with-x.
  667.     with_x=yes ;;
  668.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu 
  669.   | --x-incl | --x-inc | --x-in | --x-i)
  670.     ac_prev=x_includes ;;
  671.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* 
  672.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  673.     x_includes=$ac_optarg ;;
  674.   -x-libraries | --x-libraries | --x-librarie | --x-librari 
  675.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  676.     ac_prev=x_libraries ;;
  677.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* 
  678.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  679.     x_libraries=$ac_optarg ;;
  680.   -*) { echo "$as_me: error: unrecognized option: $ac_option
  681. Try `$0 --help' for more information." >&2
  682.    { (exit 1); exit 1; }; }
  683.     ;;
  684.   *=*)
  685.     ac_envvar=`expr "x$ac_option" : 'x([^=]*)='`
  686.     # Reject names that are not valid shell variable names.
  687.     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  688.       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  689.    { (exit 1); exit 1; }; }
  690.     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\''/g"`
  691.     eval "$ac_envvar='$ac_optarg'"
  692.     export $ac_envvar ;;
  693.   *)
  694.     # FIXME: should be removed in autoconf 3.0.
  695.     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  696.     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  697.       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  698.     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  699.     ;;
  700.   esac
  701. done
  702. if test -n "$ac_prev"; then
  703.   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  704.   { echo "$as_me: error: missing argument to $ac_option" >&2
  705.    { (exit 1); exit 1; }; }
  706. fi
  707. # Be sure to have absolute paths.
  708. for ac_var in exec_prefix prefix
  709. do
  710.   eval ac_val=$`echo $ac_var`
  711.   case $ac_val in
  712.     [\/$]* | ?:[\/]* | NONE | '' ) ;;
  713.     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  714.    { (exit 1); exit 1; }; };;
  715.   esac
  716. done
  717. # Be sure to have absolute paths.
  718. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir 
  719.       localstatedir libdir includedir oldincludedir infodir mandir
  720. do
  721.   eval ac_val=$`echo $ac_var`
  722.   case $ac_val in
  723.     [\/$]* | ?:[\/]* ) ;;
  724.     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  725.    { (exit 1); exit 1; }; };;
  726.   esac
  727. done
  728. # There might be people who depend on the old broken behavior: `$host'
  729. # used to hold the argument of --host etc.
  730. # FIXME: To remove some day.
  731. build=$build_alias
  732. host=$host_alias
  733. target=$target_alias
  734. # FIXME: To remove some day.
  735. if test "x$host_alias" != x; then
  736.   if test "x$build_alias" = x; then
  737.     cross_compiling=maybe
  738.     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  739.     If a cross compiler is detected then cross compile mode will be used." >&2
  740.   elif test "x$build_alias" != "x$host_alias"; then
  741.     cross_compiling=yes
  742.   fi
  743. fi
  744. ac_tool_prefix=
  745. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  746. test "$silent" = yes && exec 6>/dev/null
  747. # Find the source files, if location was not specified.
  748. if test -z "$srcdir"; then
  749.   ac_srcdir_defaulted=yes
  750.   # Try the directory containing this script, then its parent.
  751.   ac_confdir=`(dirname "$0") 2>/dev/null ||
  752. $as_expr X"$0" : 'X(.*[^/])//*[^/][^/]*/*$' | 
  753.  X"$0" : 'X(//)[^/]' | 
  754.  X"$0" : 'X(//)$' | 
  755.  X"$0" : 'X(/)' | 
  756.  .     : '(.)' 2>/dev/null ||
  757. echo X"$0" |
  758.     sed '/^X(.*[^/])//*[^/][^/]*/*$/{ s//1/; q; }
  759.      /^X(//)[^/].*/{ s//1/; q; }
  760.      /^X(//)$/{ s//1/; q; }
  761.      /^X(/).*/{ s//1/; q; }
  762.      s/.*/./; q'`
  763.   srcdir=$ac_confdir
  764.   if test ! -r $srcdir/$ac_unique_file; then
  765.     srcdir=..
  766.   fi
  767. else
  768.   ac_srcdir_defaulted=no
  769. fi
  770. if test ! -r $srcdir/$ac_unique_file; then
  771.   if test "$ac_srcdir_defaulted" = yes; then
  772.     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  773.    { (exit 1); exit 1; }; }
  774.   else
  775.     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  776.    { (exit 1); exit 1; }; }
  777.   fi
  778. fi
  779. (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  780.   { echo "$as_me: error: sources are in $srcdir, but `cd $srcdir' does not work" >&2
  781.    { (exit 1); exit 1; }; }
  782. srcdir=`echo "$srcdir" | sed 's%([^\/])[\/]*$%1%'`
  783. ac_env_build_alias_set=${build_alias+set}
  784. ac_env_build_alias_value=$build_alias
  785. ac_cv_env_build_alias_set=${build_alias+set}
  786. ac_cv_env_build_alias_value=$build_alias
  787. ac_env_host_alias_set=${host_alias+set}
  788. ac_env_host_alias_value=$host_alias
  789. ac_cv_env_host_alias_set=${host_alias+set}
  790. ac_cv_env_host_alias_value=$host_alias
  791. ac_env_target_alias_set=${target_alias+set}
  792. ac_env_target_alias_value=$target_alias
  793. ac_cv_env_target_alias_set=${target_alias+set}
  794. ac_cv_env_target_alias_value=$target_alias
  795. ac_env_CC_set=${CC+set}
  796. ac_env_CC_value=$CC
  797. ac_cv_env_CC_set=${CC+set}
  798. ac_cv_env_CC_value=$CC
  799. ac_env_CFLAGS_set=${CFLAGS+set}
  800. ac_env_CFLAGS_value=$CFLAGS
  801. ac_cv_env_CFLAGS_set=${CFLAGS+set}
  802. ac_cv_env_CFLAGS_value=$CFLAGS
  803. ac_env_LDFLAGS_set=${LDFLAGS+set}
  804. ac_env_LDFLAGS_value=$LDFLAGS
  805. ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  806. ac_cv_env_LDFLAGS_value=$LDFLAGS
  807. ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  808. ac_env_CPPFLAGS_value=$CPPFLAGS
  809. ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  810. ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  811. ac_env_CPP_set=${CPP+set}
  812. ac_env_CPP_value=$CPP
  813. ac_cv_env_CPP_set=${CPP+set}
  814. ac_cv_env_CPP_value=$CPP
  815. ac_env_CXX_set=${CXX+set}
  816. ac_env_CXX_value=$CXX
  817. ac_cv_env_CXX_set=${CXX+set}
  818. ac_cv_env_CXX_value=$CXX
  819. ac_env_CXXFLAGS_set=${CXXFLAGS+set}
  820. ac_env_CXXFLAGS_value=$CXXFLAGS
  821. ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
  822. ac_cv_env_CXXFLAGS_value=$CXXFLAGS
  823. ac_env_CXXCPP_set=${CXXCPP+set}
  824. ac_env_CXXCPP_value=$CXXCPP
  825. ac_cv_env_CXXCPP_set=${CXXCPP+set}
  826. ac_cv_env_CXXCPP_value=$CXXCPP
  827. ac_env_F77_set=${F77+set}
  828. ac_env_F77_value=$F77
  829. ac_cv_env_F77_set=${F77+set}
  830. ac_cv_env_F77_value=$F77
  831. ac_env_FFLAGS_set=${FFLAGS+set}
  832. ac_env_FFLAGS_value=$FFLAGS
  833. ac_cv_env_FFLAGS_set=${FFLAGS+set}
  834. ac_cv_env_FFLAGS_value=$FFLAGS
  835. #
  836. # Report the --help message.
  837. #
  838. if test "$ac_init_help" = "long"; then
  839.   # Omit some internal or obsolete options to make the list less imposing.
  840.   # This message is too long to be a string in the A/UX 3.1 sh.
  841.   cat <<_ACEOF
  842. `configure' configures this package to adapt to many kinds of systems.
  843. Usage: $0 [OPTION]... [VAR=VALUE]...
  844. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  845. VAR=VALUE.  See below for descriptions of some of the useful variables.
  846. Defaults for the options are specified in brackets.
  847. Configuration:
  848.   -h, --help              display this help and exit
  849.       --help=short        display options specific to this package
  850.       --help=recursive    display the short help of all the included packages
  851.   -V, --version           display version information and exit
  852.   -q, --quiet, --silent   do not print `checking...' messages
  853.       --cache-file=FILE   cache test results in FILE [disabled]
  854.   -C, --config-cache      alias for `--cache-file=config.cache'
  855.   -n, --no-create         do not create output files
  856.       --srcdir=DIR        find the sources in DIR [configure dir or `..']
  857. _ACEOF
  858.   cat <<_ACEOF
  859. Installation directories:
  860.   --prefix=PREFIX         install architecture-independent files in PREFIX
  861.   [$ac_default_prefix]
  862.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  863.   [PREFIX]
  864. By default, `make install' will install all the files in
  865. `$ac_default_prefix/bin', `$ac_default_prefix/lib' etc.  You can specify
  866. an installation prefix other than `$ac_default_prefix' using `--prefix',
  867. for instance `--prefix=$HOME'.
  868. For better control, use the options below.
  869. Fine tuning of the installation directories:
  870.   --bindir=DIR           user executables [EPREFIX/bin]
  871.   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  872.   --libexecdir=DIR       program executables [EPREFIX/libexec]
  873.   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  874.   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  875.   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  876.   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  877.   --libdir=DIR           object code libraries [EPREFIX/lib]
  878.   --includedir=DIR       C header files [PREFIX/include]
  879.   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  880.   --infodir=DIR          info documentation [PREFIX/info]
  881.   --mandir=DIR           man documentation [PREFIX/man]
  882. _ACEOF
  883.   cat <<_ACEOF
  884. Program names:
  885.   --program-prefix=PREFIX            prepend PREFIX to installed program names
  886.   --program-suffix=SUFFIX            append SUFFIX to installed program names
  887.   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  888. System types:
  889.   --build=BUILD     configure for building on BUILD [guessed]
  890.   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  891.   --target=TARGET   configure for building compilers for TARGET [HOST]
  892. _ACEOF
  893. fi
  894. if test -n "$ac_init_help"; then
  895.   cat <<_ACEOF
  896. Optional Features:
  897.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  898.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  899.   --disable-dependency-tracking  speeds up one-time build
  900.   --enable-dependency-tracking   do not reject slow dependency extractors
  901.   --enable-shared[=PKGS]
  902.                           build shared libraries [default=yes]
  903.   --enable-static[=PKGS]
  904.                           build static libraries [default=yes]
  905.   --enable-fast-install[=PKGS]
  906.                           optimize for fast installation [default=yes]
  907.   --disable-libtool-lock  avoid locking (might break parallel builds)
  908.   --enable-threads        enable thread usage for target GCC.
  909.   --enable-threads=LIB    use LIB thread package for target GCC.
  910.   --enable-objc-gc       enable the use of Boehm's garbage collector with
  911.                           the GNU Objective-C runtime.
  912.   --enable-onelib       build as a single library
  913. Optional Packages:
  914.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  915.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  916.   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  917.   --with-pic              try to use only PIC/non-PIC objects [default=use
  918.                           both]
  919.   --with-tags[=TAGS]
  920.                           include additional configurations [automatic]
  921. Some influential environment variables:
  922.   CC          C compiler command
  923.   CFLAGS      C compiler flags
  924.   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  925.               nonstandard directory <lib dir>
  926.   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
  927.               headers in a nonstandard directory <include dir>
  928.   CPP         C preprocessor
  929.   CXX         C++ compiler command
  930.   CXXFLAGS    C++ compiler flags
  931.   CXXCPP      C++ preprocessor
  932.   F77         Fortran 77 compiler command
  933.   FFLAGS      Fortran 77 compiler flags
  934. Use these variables to override the choices made by `configure' or to help
  935. it to find libraries and programs with nonstandard names/locations.
  936. _ACEOF
  937. fi
  938. if test "$ac_init_help" = "recursive"; then
  939.   # If there are subdirs, report their specific --help.
  940.   ac_popdir=`pwd`
  941.   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  942.     test -d $ac_dir || continue
  943.     ac_builddir=.
  944. if test "$ac_dir" != .; then
  945.   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^.[\/],,'`
  946.   # A "../" for each directory in $ac_dir_suffix.
  947.   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\/]*,../,g'`
  948. else
  949.   ac_dir_suffix= ac_top_builddir=
  950. fi
  951. case $srcdir in
  952.   .)  # No --srcdir option.  We are building in place.
  953.     ac_srcdir=.
  954.     if test -z "$ac_top_builddir"; then
  955.        ac_top_srcdir=.
  956.     else
  957.        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  958.     fi ;;
  959.   [\/]* | ?:[\/]* )  # Absolute path.
  960.     ac_srcdir=$srcdir$ac_dir_suffix;
  961.     ac_top_srcdir=$srcdir ;;
  962.   *) # Relative path.
  963.     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  964.     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  965. esac
  966. # Do not use `cd foo && pwd` to compute absolute paths, because
  967. # the directories may not exist.
  968. case `pwd` in
  969. .) ac_abs_builddir="$ac_dir";;
  970. *)
  971.   case "$ac_dir" in
  972.   .) ac_abs_builddir=`pwd`;;
  973.   [\/]* | ?:[\/]* ) ac_abs_builddir="$ac_dir";;
  974.   *) ac_abs_builddir=`pwd`/"$ac_dir";;
  975.   esac;;
  976. esac
  977. case $ac_abs_builddir in
  978. .) ac_abs_top_builddir=${ac_top_builddir}.;;
  979. *)
  980.   case ${ac_top_builddir}. in
  981.   .) ac_abs_top_builddir=$ac_abs_builddir;;
  982.   [\/]* | ?:[\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  983.   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  984.   esac;;
  985. esac
  986. case $ac_abs_builddir in
  987. .) ac_abs_srcdir=$ac_srcdir;;
  988. *)
  989.   case $ac_srcdir in
  990.   .) ac_abs_srcdir=$ac_abs_builddir;;
  991.   [\/]* | ?:[\/]* ) ac_abs_srcdir=$ac_srcdir;;
  992.   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  993.   esac;;
  994. esac
  995. case $ac_abs_builddir in
  996. .) ac_abs_top_srcdir=$ac_top_srcdir;;
  997. *)
  998.   case $ac_top_srcdir in
  999.   .) ac_abs_top_srcdir=$ac_abs_builddir;;
  1000.   [\/]* | ?:[\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  1001.   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  1002.   esac;;
  1003. esac
  1004.     cd $ac_dir
  1005.     # Check for guested configure; otherwise get Cygnus style configure.
  1006.     if test -f $ac_srcdir/configure.gnu; then
  1007.       echo
  1008.       $SHELL $ac_srcdir/configure.gnu  --help=recursive
  1009.     elif test -f $ac_srcdir/configure; then
  1010.       echo
  1011.       $SHELL $ac_srcdir/configure  --help=recursive
  1012.     elif test -f $ac_srcdir/configure.ac ||
  1013.    test -f $ac_srcdir/configure.in; then
  1014.       echo
  1015.       $ac_configure --help
  1016.     else
  1017.       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1018.     fi
  1019.     cd $ac_popdir
  1020.   done
  1021. fi
  1022. test -n "$ac_init_help" && exit 0
  1023. if $ac_init_version; then
  1024.   cat <<_ACEOF
  1025. Copyright (C) 2003 Free Software Foundation, Inc.
  1026. This configure script is free software; the Free Software Foundation
  1027. gives unlimited permission to copy, distribute and modify it.
  1028. _ACEOF
  1029.   exit 0
  1030. fi
  1031. exec 5>config.log
  1032. cat >&5 <<_ACEOF
  1033. This file contains any messages produced by compilers while
  1034. running configure, to aid debugging if configure makes a mistake.
  1035. It was created by $as_me, which was
  1036. generated by GNU Autoconf 2.59.  Invocation command line was
  1037.   $ $0 $@
  1038. _ACEOF
  1039. {
  1040. cat <<_ASUNAME
  1041. ## --------- ##
  1042. ## Platform. ##
  1043. ## --------- ##
  1044. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1045. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1046. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1047. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1048. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1049. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1050. /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1051. /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1052. /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1053. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1054. hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
  1055. /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1056. /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1057. /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1058. _ASUNAME
  1059. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1060. for as_dir in $PATH
  1061. do
  1062.   IFS=$as_save_IFS
  1063.   test -z "$as_dir" && as_dir=.
  1064.   echo "PATH: $as_dir"
  1065. done
  1066. } >&5
  1067. cat >&5 <<_ACEOF
  1068. ## ----------- ##
  1069. ## Core tests. ##
  1070. ## ----------- ##
  1071. _ACEOF
  1072. # Keep a trace of the command line.
  1073. # Strip out --no-create and --no-recursion so they do not pile up.
  1074. # Strip out --silent because we don't want to record it for future runs.
  1075. # Also quote any args containing shell meta-characters.
  1076. # Make two passes to allow for proper duplicate-argument suppression.
  1077. ac_configure_args=
  1078. ac_configure_args0=
  1079. ac_configure_args1=
  1080. ac_sep=
  1081. ac_must_keep_next=false
  1082. for ac_pass in 1 2
  1083. do
  1084.   for ac_arg
  1085.   do
  1086.     case $ac_arg in
  1087.     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1088.     -q | -quiet | --quiet | --quie | --qui | --qu | --q 
  1089.     | -silent | --silent | --silen | --sile | --sil)
  1090.       continue ;;
  1091.     *" "*|*" "*|*[[]~#$^&*(){}\|;<>?"']*)
  1092.       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\''/g"` ;;
  1093.     esac
  1094.     case $ac_pass in
  1095.     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1096.     2)
  1097.       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1098.       if test $ac_must_keep_next = true; then
  1099. ac_must_keep_next=false # Got value, back to normal.
  1100.       else
  1101. case $ac_arg in
  1102.   *=* | --config-cache | -C | -disable-* | --disable-* 
  1103.   | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* 
  1104.   | -q | -quiet | --q* | -silent | --sil* | -v | -verb* 
  1105.   | -with-* | --with-* | -without-* | --without-* | --x)
  1106.     case "$ac_configure_args0 " in
  1107.       "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1108.     esac
  1109.     ;;
  1110.   -* ) ac_must_keep_next=true ;;
  1111. esac
  1112.       fi
  1113.       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1114.       # Get rid of the leading space.
  1115.       ac_sep=" "
  1116.       ;;
  1117.     esac
  1118.   done
  1119. done
  1120. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1121. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1122. # When interrupted or exit'd, cleanup temporary files, and complete
  1123. # config.log.  We remove comments because anyway the quotes in there
  1124. # would cause problems or look ugly.
  1125. # WARNING: Be sure not to use single quotes in there, as some shells,
  1126. # such as our DU 5.0 friend, will then `close' the trap.
  1127. trap 'exit_status=$?
  1128.   # Save into config.log some information that might help in debugging.
  1129.   {
  1130.     echo
  1131.     cat <<_ASBOX
  1132. ## ---------------- ##
  1133. ## Cache variables. ##
  1134. ## ---------------- ##
  1135. _ASBOX
  1136.     echo
  1137.     # The following way of writing the cache mishandles newlines in values,
  1138. {
  1139.   (set) 2>&1 |
  1140.     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1141.     *ac_space= *)
  1142.       sed -n 
  1143. "s/'"'"'/'"'"'\\'"'"''"'"'/g;
  1144.   s/^\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\)=\(.*\)/\1='"'"'\2'"'"'/p"
  1145.       ;;
  1146.     *)
  1147.       sed -n 
  1148. "s/^\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\)=\(.*\)/\1=\2/p"
  1149.       ;;
  1150.     esac;
  1151. }
  1152.     echo
  1153.     cat <<_ASBOX
  1154. ## ----------------- ##
  1155. ## Output variables. ##
  1156. ## ----------------- ##
  1157. _ASBOX
  1158.     echo
  1159.     for ac_var in $ac_subst_vars
  1160.     do
  1161.       eval ac_val=$`echo $ac_var`
  1162.       echo "$ac_var='"'"'$ac_val'"'"'"
  1163.     done | sort
  1164.     echo
  1165.     if test -n "$ac_subst_files"; then
  1166.       cat <<_ASBOX
  1167. ## ------------- ##
  1168. ## Output files. ##
  1169. ## ------------- ##
  1170. _ASBOX
  1171.       echo
  1172.       for ac_var in $ac_subst_files
  1173.       do
  1174. eval ac_val=$`echo $ac_var`
  1175. echo "$ac_var='"'"'$ac_val'"'"'"
  1176.       done | sort
  1177.       echo
  1178.     fi
  1179.     if test -s confdefs.h; then
  1180.       cat <<_ASBOX
  1181. ## ----------- ##
  1182. ## confdefs.h. ##
  1183. ## ----------- ##
  1184. _ASBOX
  1185.       echo
  1186.       sed "/^$/d" confdefs.h | sort
  1187.       echo
  1188.     fi
  1189.     test "$ac_signal" != 0 &&
  1190.       echo "$as_me: caught signal $ac_signal"
  1191.     echo "$as_me: exit $exit_status"
  1192.   } >&5
  1193.   rm -f core *.core &&
  1194.   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1195.     exit $exit_status
  1196.      ' 0
  1197. for ac_signal in 1 2 13 15; do
  1198.   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1199. done
  1200. ac_signal=0
  1201. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1202. rm -rf conftest* confdefs.h
  1203. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1204. echo >confdefs.h
  1205. # Predefined preprocessor variables.
  1206. cat >>confdefs.h <<_ACEOF
  1207. #define PACKAGE_NAME "$PACKAGE_NAME"
  1208. _ACEOF
  1209. cat >>confdefs.h <<_ACEOF
  1210. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1211. _ACEOF
  1212. cat >>confdefs.h <<_ACEOF
  1213. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1214. _ACEOF
  1215. cat >>confdefs.h <<_ACEOF
  1216. #define PACKAGE_STRING "$PACKAGE_STRING"
  1217. _ACEOF
  1218. cat >>confdefs.h <<_ACEOF
  1219. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1220. _ACEOF
  1221. # Let the site file select an alternate cache file if it wants to.
  1222. # Prefer explicitly selected file to automatically selected ones.
  1223. if test -z "$CONFIG_SITE"; then
  1224.   if test "x$prefix" != xNONE; then
  1225.     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1226.   else
  1227.     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1228.   fi
  1229. fi
  1230. for ac_site_file in $CONFIG_SITE; do
  1231.   if test -r "$ac_site_file"; then
  1232.     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1233. echo "$as_me: loading site script $ac_site_file" >&6;}
  1234.     sed 's/^/| /' "$ac_site_file" >&5
  1235.     . "$ac_site_file"
  1236.   fi
  1237. done
  1238. if test -r "$cache_file"; then
  1239.   # Some versions of bash will fail to source /dev/null (special
  1240.   # files actually), so we avoid doing that.
  1241.   if test -f "$cache_file"; then
  1242.     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1243. echo "$as_me: loading cache $cache_file" >&6;}
  1244.     case $cache_file in
  1245.       [\/]* | ?:[\/]* ) . $cache_file;;
  1246.       *)                      . ./$cache_file;;
  1247.     esac
  1248.   fi
  1249. else
  1250.   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1251. echo "$as_me: creating cache $cache_file" >&6;}
  1252.   >$cache_file
  1253. fi
  1254. # Check that the precious variables saved in the cache have kept the same
  1255. # value.
  1256. ac_cache_corrupted=false
  1257. for ac_var in `(set) 2>&1 |
  1258.        sed -n 's/^ac_env_([a-zA-Z_0-9]*)_set=.*/1/p'`; do
  1259.   eval ac_old_set=$ac_cv_env_${ac_var}_set
  1260.   eval ac_new_set=$ac_env_${ac_var}_set
  1261.   eval ac_old_val="$ac_cv_env_${ac_var}_value"
  1262.   eval ac_new_val="$ac_env_${ac_var}_value"
  1263.   case $ac_old_set,$ac_new_set in
  1264.     set,)
  1265.       { echo "$as_me:$LINENO: error: `$ac_var' was set to `$ac_old_val' in the previous run" >&5
  1266. echo "$as_me: error: `$ac_var' was set to `$ac_old_val' in the previous run" >&2;}
  1267.       ac_cache_corrupted=: ;;
  1268.     ,set)
  1269.       { echo "$as_me:$LINENO: error: `$ac_var' was not set in the previous run" >&5
  1270. echo "$as_me: error: `$ac_var' was not set in the previous run" >&2;}
  1271.       ac_cache_corrupted=: ;;
  1272.     ,);;
  1273.     *)
  1274.       if test "x$ac_old_val" != "x$ac_new_val"; then
  1275. { echo "$as_me:$LINENO: error: `$ac_var' has changed since the previous run:" >&5
  1276. echo "$as_me: error: `$ac_var' has changed since the previous run:" >&2;}
  1277. { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1278. echo "$as_me:   former value:  $ac_old_val" >&2;}
  1279. { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1280. echo "$as_me:   current value: $ac_new_val" >&2;}
  1281. ac_cache_corrupted=:
  1282.       fi;;
  1283.   esac
  1284.   # Pass precious variables to config.status.
  1285.   if test "$ac_new_set" = set; then
  1286.     case $ac_new_val in
  1287.     *" "*|*" "*|*[[]~#$^&*(){}\|;<>?"']*)
  1288.       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\''/g"` ;;
  1289.     *) ac_arg=$ac_var=$ac_new_val ;;
  1290.     esac
  1291.     case " $ac_configure_args " in
  1292.       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1293.       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1294.     esac
  1295.   fi
  1296. done
  1297. if $ac_cache_corrupted; then
  1298.   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1299. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1300.   { { echo "$as_me:$LINENO: error: run `make distclean' and/or `rm $cache_file' and start over" >&5
  1301. echo "$as_me: error: run `make distclean' and/or `rm $cache_file' and start over" >&2;}
  1302.    { (exit 1); exit 1; }; }
  1303. fi
  1304. ac_ext=c
  1305. ac_cpp='$CPP $CPPFLAGS'
  1306. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1307. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1308. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1309. ac_aux_dir=
  1310. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1311.   if test -f $ac_dir/install-sh; then
  1312.     ac_aux_dir=$ac_dir
  1313.     ac_install_sh="$ac_aux_dir/install-sh -c"
  1314.     break
  1315.   elif test -f $ac_dir/install.sh; then
  1316.     ac_aux_dir=$ac_dir
  1317.     ac_install_sh="$ac_aux_dir/install.sh -c"
  1318.     break
  1319.   elif test -f $ac_dir/shtool; then
  1320.     ac_aux_dir=$ac_dir
  1321.     ac_install_sh="$ac_aux_dir/shtool install -c"
  1322.     break
  1323.   fi
  1324. done
  1325. if test -z "$ac_aux_dir"; then
  1326.   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1327. echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  1328.    { (exit 1); exit 1; }; }
  1329. fi
  1330. ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1331. ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1332. ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1333. # Make sure we can run config.sub.
  1334. $ac_config_sub sun4 >/dev/null 2>&1 ||
  1335.   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
  1336. echo "$as_me: error: cannot run $ac_config_sub" >&2;}
  1337.    { (exit 1); exit 1; }; }
  1338. echo "$as_me:$LINENO: checking build system type" >&5
  1339. echo $ECHO_N "checking build system type... $ECHO_C" >&6
  1340. if test "${ac_cv_build+set}" = set; then
  1341.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1342. else
  1343.   ac_cv_build_alias=$build_alias
  1344. test -z "$ac_cv_build_alias" &&
  1345.   ac_cv_build_alias=`$ac_config_guess`
  1346. test -z "$ac_cv_build_alias" &&
  1347.   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1348. echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1349.    { (exit 1); exit 1; }; }
  1350. ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  1351.   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
  1352. echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
  1353.    { (exit 1); exit 1; }; }
  1354. fi
  1355. echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1356. echo "${ECHO_T}$ac_cv_build" >&6
  1357. build=$ac_cv_build
  1358. build_cpu=`echo $ac_cv_build | sed 's/^([^-]*)-([^-]*)-(.*)$/1/'`
  1359. build_vendor=`echo $ac_cv_build | sed 's/^([^-]*)-([^-]*)-(.*)$/2/'`
  1360. build_os=`echo $ac_cv_build | sed 's/^([^-]*)-([^-]*)-(.*)$/3/'`
  1361. echo "$as_me:$LINENO: checking host system type" >&5
  1362. echo $ECHO_N "checking host system type... $ECHO_C" >&6
  1363. if test "${ac_cv_host+set}" = set; then
  1364.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1365. else
  1366.   ac_cv_host_alias=$host_alias
  1367. test -z "$ac_cv_host_alias" &&
  1368.   ac_cv_host_alias=$ac_cv_build_alias
  1369. ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  1370.   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
  1371. echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
  1372.    { (exit 1); exit 1; }; }
  1373. fi
  1374. echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  1375. echo "${ECHO_T}$ac_cv_host" >&6
  1376. host=$ac_cv_host
  1377. host_cpu=`echo $ac_cv_host | sed 's/^([^-]*)-([^-]*)-(.*)$/1/'`
  1378. host_vendor=`echo $ac_cv_host | sed 's/^([^-]*)-([^-]*)-(.*)$/2/'`
  1379. host_os=`echo $ac_cv_host | sed 's/^([^-]*)-([^-]*)-(.*)$/3/'`
  1380. echo "$as_me:$LINENO: checking target system type" >&5
  1381. echo $ECHO_N "checking target system type... $ECHO_C" >&6
  1382. if test "${ac_cv_target+set}" = set; then
  1383.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1384. else
  1385.   ac_cv_target_alias=$target_alias
  1386. test "x$ac_cv_target_alias" = "x" &&
  1387.   ac_cv_target_alias=$ac_cv_host_alias
  1388. ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
  1389.   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
  1390. echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
  1391.    { (exit 1); exit 1; }; }
  1392. fi
  1393. echo "$as_me:$LINENO: result: $ac_cv_target" >&5
  1394. echo "${ECHO_T}$ac_cv_target" >&6
  1395. target=$ac_cv_target
  1396. target_cpu=`echo $ac_cv_target | sed 's/^([^-]*)-([^-]*)-(.*)$/1/'`
  1397. target_vendor=`echo $ac_cv_target | sed 's/^([^-]*)-([^-]*)-(.*)$/2/'`
  1398. target_os=`echo $ac_cv_target | sed 's/^([^-]*)-([^-]*)-(.*)$/3/'`
  1399. # The aliases save the names the user supplied, while $host etc.
  1400. # will get canonicalized.
  1401. test -n "$target_alias" &&
  1402.   test "$program_prefix$program_suffix$program_transform_name" = 
  1403.     NONENONEs,x,x, &&
  1404.   program_prefix=${target_alias}-
  1405. am__api_version="1.9"
  1406. # Find a good install program.  We prefer a C program (faster),
  1407. # so one script is as good as another.  But avoid the broken or
  1408. # incompatible versions:
  1409. # SysV /etc/install, /usr/sbin/install
  1410. # SunOS /usr/etc/install
  1411. # IRIX /sbin/install
  1412. # AIX /bin/install
  1413. # AmigaOS /C/install, which installs bootblocks on floppy discs
  1414. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1415. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1416. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1417. # OS/2's system install, which has a completely different semantic
  1418. # ./install, which can be erroneously created by make from ./install.sh.
  1419. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1420. echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  1421. if test -z "$INSTALL"; then
  1422. if test "${ac_cv_path_install+set}" = set; then
  1423.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1424. else
  1425.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1426. for as_dir in $PATH
  1427. do
  1428.   IFS=$as_save_IFS
  1429.   test -z "$as_dir" && as_dir=.
  1430.   # Account for people who put trailing slashes in PATH elements.
  1431. case $as_dir/ in
  1432.   ./ | .// | /cC/* | 
  1433.   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | 
  1434.   ?:\/os2\/install\/* | ?:\/OS2\/INSTALL\/* | 
  1435.   /usr/ucb/* ) ;;
  1436.   *)
  1437.     # OSF1 and SCO ODT 3.0 have their own names for install.
  1438.     # Don't use installbsd from OSF since it installs stuff as root
  1439.     # by default.
  1440.     for ac_prog in ginstall scoinst install; do
  1441.       for ac_exec_ext in '' $ac_executable_extensions; do
  1442. if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  1443.   if test $ac_prog = install &&
  1444.     grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1445.     # AIX install.  It has an incompatible calling convention.
  1446.     :
  1447.   elif test $ac_prog = install &&
  1448.     grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1449.     # program-specific install script used by HP pwplus--don't use.
  1450.     :
  1451.   else
  1452.     ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1453.     break 3
  1454.   fi
  1455. fi
  1456.       done
  1457.     done
  1458.     ;;
  1459. esac
  1460. done
  1461. fi
  1462.   if test "${ac_cv_path_install+set}" = set; then
  1463.     INSTALL=$ac_cv_path_install
  1464.   else
  1465.     # As a last resort, use the slow shell script.  We don't cache a
  1466.     # path for INSTALL within a source directory, because that will
  1467.     # break other packages using the cache if that directory is
  1468.     # removed, or if the path is relative.
  1469.     INSTALL=$ac_install_sh
  1470.   fi
  1471. fi
  1472. echo "$as_me:$LINENO: result: $INSTALL" >&5
  1473. echo "${ECHO_T}$INSTALL" >&6
  1474. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1475. # It thinks the first close brace ends the variable substitution.
  1476. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1477. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1478. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1479. echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1480. echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
  1481. # Just in case
  1482. sleep 1
  1483. echo timestamp > conftest.file
  1484. # Do `set' in a subshell so we don't clobber the current shell's
  1485. # arguments.  Must try -L first in case configure is actually a
  1486. # symlink; some systems play weird games with the mod time of symlinks
  1487. # (eg FreeBSD returns the mod time of the symlink's containing
  1488. # directory).
  1489. if (
  1490.    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1491.    if test "$*" = "X"; then
  1492.       # -L didn't work.
  1493.       set X `ls -t $srcdir/configure conftest.file`
  1494.    fi
  1495.    rm -f conftest.file
  1496.    if test "$*" != "X $srcdir/configure conftest.file" 
  1497.       && test "$*" != "X conftest.file $srcdir/configure"; then
  1498.       # If neither matched, then we have a broken ls.  This can happen
  1499.       # if, for instance, CONFIG_SHELL is bash and it inherits a
  1500.       # broken ls alias from the environment.  This has actually
  1501.       # happened.  Such a system could not be considered "sane".
  1502.       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  1503. alias in your environment" >&5
  1504. echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  1505. alias in your environment" >&2;}
  1506.    { (exit 1); exit 1; }; }
  1507.    fi
  1508.    test "$2" = conftest.file
  1509.    )
  1510. then
  1511.    # Ok.
  1512.    :
  1513. else
  1514.    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1515. Check your system clock" >&5
  1516. echo "$as_me: error: newly created file is older than distributed files!
  1517. Check your system clock" >&2;}
  1518.    { (exit 1); exit 1; }; }
  1519. fi
  1520. echo "$as_me:$LINENO: result: yes" >&5
  1521. echo "${ECHO_T}yes" >&6
  1522. test "$program_prefix" != NONE &&
  1523.   program_transform_name="s,^,$program_prefix,;$program_transform_name"
  1524. # Use a double $ so make ignores it.
  1525. test "$program_suffix" != NONE &&
  1526.   program_transform_name="s,$,$program_suffix,;$program_transform_name"
  1527. # Double any  or $.  echo might interpret backslashes.
  1528. # By default was `s,x,x', remove it if useless.
  1529. cat <<_ACEOF >conftest.sed
  1530. s/[\$]/&&/g;s/;s,x,x,$//
  1531. _ACEOF
  1532. program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1533. rm conftest.sed
  1534. # expand $ac_aux_dir to an absolute path
  1535. am_aux_dir=`cd $ac_aux_dir && pwd`
  1536. test x"${MISSING+set}" = xset || MISSING="${SHELL} $am_aux_dir/missing"
  1537. # Use eval to expand $SHELL
  1538. if eval "$MISSING --run true"; then
  1539.   am_missing_run="$MISSING --run "
  1540. else
  1541.   am_missing_run=
  1542.   { echo "$as_me:$LINENO: WARNING: `missing' script is too old or missing" >&5
  1543. echo "$as_me: WARNING: `missing' script is too old or missing" >&2;}
  1544. fi
  1545. if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  1546.   # We used to keeping the `.' as first argument, in order to
  1547.   # allow $(mkdir_p) to be used without argument.  As in
  1548.   #   $(mkdir_p) $(somedir)
  1549.   # where $(somedir) is conditionally defined.  However this is wrong
  1550.   # for two reasons:
  1551.   #  1. if the package is installed by a user who cannot write `.'
  1552.   #     make install will fail,
  1553.   #  2. the above comment should most certainly read
  1554.   #     $(mkdir_p) $(DESTDIR)$(somedir)
  1555.   #     so it does not work when $(somedir) is undefined and
  1556.   #     $(DESTDIR) is not.
  1557.   #  To support the latter case, we have to write
  1558.   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  1559.   #  so the `.' trick is pointless.
  1560.   mkdir_p='mkdir -p --'
  1561. else
  1562.   # On NextStep and OpenStep, the `mkdir' command does not
  1563.   # recognize any option.  It will interpret all options as
  1564.   # directories to create, and then abort because `.' already
  1565.   # exists.
  1566.   for d in ./-p ./--version;
  1567.   do
  1568.     test -d $d && rmdir $d
  1569.   done
  1570.   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  1571.   if test -f "$ac_aux_dir/mkinstalldirs"; then
  1572.     mkdir_p='$(mkinstalldirs)'
  1573.   else
  1574.     mkdir_p='$(install_sh) -d'
  1575.   fi
  1576. fi
  1577. for ac_prog in gawk mawk nawk awk
  1578. do
  1579.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  1580. set dummy $ac_prog; ac_word=$2
  1581. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1582. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1583. if test "${ac_cv_prog_AWK+set}" = set; then
  1584.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1585. else
  1586.   if test -n "$AWK"; then
  1587.   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1588. else
  1589. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1590. for as_dir in $PATH
  1591. do
  1592.   IFS=$as_save_IFS
  1593.   test -z "$as_dir" && as_dir=.
  1594.   for ac_exec_ext in '' $ac_executable_extensions; do
  1595.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1596.     ac_cv_prog_AWK="$ac_prog"
  1597.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1598.     break 2
  1599.   fi
  1600. done
  1601. done
  1602. fi
  1603. fi
  1604. AWK=$ac_cv_prog_AWK
  1605. if test -n "$AWK"; then
  1606.   echo "$as_me:$LINENO: result: $AWK" >&5
  1607. echo "${ECHO_T}$AWK" >&6
  1608. else
  1609.   echo "$as_me:$LINENO: result: no" >&5
  1610. echo "${ECHO_T}no" >&6
  1611. fi
  1612.   test -n "$AWK" && break
  1613. done
  1614. echo "$as_me:$LINENO: checking whether ${MAKE-make} sets $(MAKE)" >&5
  1615. echo $ECHO_N "checking whether ${MAKE-make} sets $(MAKE)... $ECHO_C" >&6
  1616. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
  1617. if eval "test "${ac_cv_prog_make_${ac_make}_set+set}" = set"; then
  1618.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1619. else
  1620.   cat >conftest.make <<_ACEOF
  1621. all:
  1622. @echo 'ac_maketemp="$(MAKE)"'
  1623. _ACEOF
  1624. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1625. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  1626. if test -n "$ac_maketemp"; then
  1627.   eval ac_cv_prog_make_${ac_make}_set=yes
  1628. else
  1629.   eval ac_cv_prog_make_${ac_make}_set=no
  1630. fi
  1631. rm -f conftest.make
  1632. fi
  1633. if eval "test "`echo '$ac_cv_prog_make_'${ac_make}_set`" = yes"; then
  1634.   echo "$as_me:$LINENO: result: yes" >&5
  1635. echo "${ECHO_T}yes" >&6
  1636.   SET_MAKE=
  1637. else
  1638.   echo "$as_me:$LINENO: result: no" >&5
  1639. echo "${ECHO_T}no" >&6
  1640.   SET_MAKE="MAKE=${MAKE-make}"
  1641. fi
  1642. rm -rf .tst 2>/dev/null
  1643. mkdir .tst 2>/dev/null
  1644. if test -d .tst; then
  1645.   am__leading_dot=.
  1646. else
  1647.   am__leading_dot=_
  1648. fi
  1649. rmdir .tst 2>/dev/null
  1650. # test to see if srcdir already configured
  1651. if test "`cd $srcdir && pwd`" != "`pwd`" &&
  1652.    test -f $srcdir/config.status; then
  1653.   { { echo "$as_me:$LINENO: error: source directory already configured; run "make distclean" there first" >&5
  1654. echo "$as_me: error: source directory already configured; run "make distclean" there first" >&2;}
  1655.    { (exit 1); exit 1; }; }
  1656. fi
  1657. # test whether we have cygpath
  1658. if test -z "$CYGPATH_W"; then
  1659.   if (cygpath --version) >/dev/null 2>/dev/null; then
  1660.     CYGPATH_W='cygpath -w'
  1661.   else
  1662.     CYGPATH_W=echo
  1663.   fi
  1664. fi
  1665. # Define the identity of the package.
  1666.  PACKAGE=libobjc
  1667.  VERSION=1.2
  1668. cat >>confdefs.h <<_ACEOF
  1669. #define PACKAGE "$PACKAGE"
  1670. _ACEOF
  1671. cat >>confdefs.h <<_ACEOF
  1672. #define VERSION "$VERSION"
  1673. _ACEOF
  1674. # Some tools Automake needs.
  1675. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  1676. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  1677. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  1678. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  1679. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  1680. install_sh=${install_sh-"$am_aux_dir/install-sh"}
  1681. # Installed binaries are usually stripped using `strip' when the user
  1682. # run `make install-strip'.  However `strip' might not be the right
  1683. # tool to use in cross-compilation environments, therefore Automake
  1684. # will honor the `STRIP' environment variable to overrule this program.
  1685. if test "$cross_compiling" != no; then
  1686.   if test -n "$ac_tool_prefix"; then
  1687.   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1688. set dummy ${ac_tool_prefix}strip; ac_word=$2
  1689. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1690. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1691. if test "${ac_cv_prog_STRIP+set}" = set; then
  1692.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1693. else
  1694.   if test -n "$STRIP"; then
  1695.   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1696. else
  1697. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1698. for as_dir in $PATH
  1699. do
  1700.   IFS=$as_save_IFS
  1701.   test -z "$as_dir" && as_dir=.
  1702.   for ac_exec_ext in '' $ac_executable_extensions; do
  1703.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1704.     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1705.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1706.     break 2
  1707.   fi
  1708. done
  1709. done
  1710. fi
  1711. fi
  1712. STRIP=$ac_cv_prog_STRIP
  1713. if test -n "$STRIP"; then
  1714.   echo "$as_me:$LINENO: result: $STRIP" >&5
  1715. echo "${ECHO_T}$STRIP" >&6
  1716. else
  1717.   echo "$as_me:$LINENO: result: no" >&5
  1718. echo "${ECHO_T}no" >&6
  1719. fi
  1720. fi
  1721. if test -z "$ac_cv_prog_STRIP"; then
  1722.   ac_ct_STRIP=$STRIP
  1723.   # Extract the first word of "strip", so it can be a program name with args.
  1724. set dummy strip; ac_word=$2
  1725. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1726. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1727. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  1728.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1729. else
  1730.   if test -n "$ac_ct_STRIP"; then
  1731.   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1732. else
  1733. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1734. for as_dir in $PATH
  1735. do
  1736.   IFS=$as_save_IFS
  1737.   test -z "$as_dir" && as_dir=.
  1738.   for ac_exec_ext in '' $ac_executable_extensions; do
  1739.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1740.     ac_cv_prog_ac_ct_STRIP="strip"
  1741.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1742.     break 2
  1743.   fi
  1744. done
  1745. done
  1746.   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
  1747. fi
  1748. fi
  1749. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1750. if test -n "$ac_ct_STRIP"; then
  1751.   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1752. echo "${ECHO_T}$ac_ct_STRIP" >&6
  1753. else
  1754.   echo "$as_me:$LINENO: result: no" >&5
  1755. echo "${ECHO_T}no" >&6
  1756. fi
  1757.   STRIP=$ac_ct_STRIP
  1758. else
  1759.   STRIP="$ac_cv_prog_STRIP"
  1760. fi
  1761. fi
  1762. INSTALL_STRIP_PROGRAM="${SHELL} $(install_sh) -c -s"
  1763. # We need awk for the "check" target.  The system "awk" is bad on
  1764. # some platforms.
  1765. # Always define AMTAR for backward compatibility.
  1766. AMTAR=${AMTAR-"${am_missing_run}tar"}
  1767. am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  1768. test "x$ACLOCAL" = xaclocal && ACLOCAL="aclocal -I m4"
  1769. ac_ext=c
  1770. ac_cpp='$CPP $CPPFLAGS'
  1771. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1772. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1773. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1774. if test -n "$ac_tool_prefix"; then
  1775.   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1776. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1777. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1778. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1779. if test "${ac_cv_prog_CC+set}" = set; then
  1780.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1781. else
  1782.   if test -n "$CC"; then
  1783.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1784. else
  1785. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1786. for as_dir in $PATH
  1787. do
  1788.   IFS=$as_save_IFS
  1789.   test -z "$as_dir" && as_dir=.
  1790.   for ac_exec_ext in '' $ac_executable_extensions; do
  1791.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1792.     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1793.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1794.     break 2
  1795.   fi
  1796. done
  1797. done
  1798. fi
  1799. fi
  1800. CC=$ac_cv_prog_CC
  1801. if test -n "$CC"; then
  1802.   echo "$as_me:$LINENO: result: $CC" >&5
  1803. echo "${ECHO_T}$CC" >&6
  1804. else
  1805.   echo "$as_me:$LINENO: result: no" >&5
  1806. echo "${ECHO_T}no" >&6
  1807. fi
  1808. fi
  1809. if test -z "$ac_cv_prog_CC"; then
  1810.   ac_ct_CC=$CC
  1811.   # Extract the first word of "gcc", so it can be a program name with args.
  1812. set dummy gcc; ac_word=$2
  1813. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1814. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1815. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1816.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1817. else
  1818.   if test -n "$ac_ct_CC"; then
  1819.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1820. else
  1821. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1822. for as_dir in $PATH
  1823. do
  1824.   IFS=$as_save_IFS
  1825.   test -z "$as_dir" && as_dir=.
  1826.   for ac_exec_ext in '' $ac_executable_extensions; do
  1827.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1828.     ac_cv_prog_ac_ct_CC="gcc"
  1829.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1830.     break 2
  1831.   fi
  1832. done
  1833. done
  1834. fi
  1835. fi
  1836. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1837. if test -n "$ac_ct_CC"; then
  1838.   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1839. echo "${ECHO_T}$ac_ct_CC" >&6
  1840. else
  1841.   echo "$as_me:$LINENO: result: no" >&5
  1842. echo "${ECHO_T}no" >&6
  1843. fi
  1844.   CC=$ac_ct_CC
  1845. else
  1846.   CC="$ac_cv_prog_CC"
  1847. fi
  1848. if test -z "$CC"; then
  1849.   if test -n "$ac_tool_prefix"; then
  1850.   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1851. set dummy ${ac_tool_prefix}cc; ac_word=$2
  1852. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1853. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1854. if test "${ac_cv_prog_CC+set}" = set; then
  1855.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1856. else
  1857.   if test -n "$CC"; then
  1858.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1859. else
  1860. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1861. for as_dir in $PATH
  1862. do
  1863.   IFS=$as_save_IFS
  1864.   test -z "$as_dir" && as_dir=.
  1865.   for ac_exec_ext in '' $ac_executable_extensions; do
  1866.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1867.     ac_cv_prog_CC="${ac_tool_prefix}cc"
  1868.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1869.     break 2
  1870.   fi
  1871. done
  1872. done
  1873. fi
  1874. fi
  1875. CC=$ac_cv_prog_CC
  1876. if test -n "$CC"; then
  1877.   echo "$as_me:$LINENO: result: $CC" >&5
  1878. echo "${ECHO_T}$CC" >&6
  1879. else
  1880.   echo "$as_me:$LINENO: result: no" >&5
  1881. echo "${ECHO_T}no" >&6
  1882. fi
  1883. fi
  1884. if test -z "$ac_cv_prog_CC"; then
  1885.   ac_ct_CC=$CC
  1886.   # Extract the first word of "cc", so it can be a program name with args.
  1887. set dummy cc; ac_word=$2
  1888. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1889. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1890. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1891.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1892. else
  1893.   if test -n "$ac_ct_CC"; then
  1894.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1895. else
  1896. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1897. for as_dir in $PATH
  1898. do
  1899.   IFS=$as_save_IFS
  1900.   test -z "$as_dir" && as_dir=.
  1901.   for ac_exec_ext in '' $ac_executable_extensions; do
  1902.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1903.     ac_cv_prog_ac_ct_CC="cc"
  1904.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1905.     break 2
  1906.   fi
  1907. done
  1908. done
  1909. fi
  1910. fi
  1911. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1912. if test -n "$ac_ct_CC"; then
  1913.   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1914. echo "${ECHO_T}$ac_ct_CC" >&6
  1915. else
  1916.   echo "$as_me:$LINENO: result: no" >&5
  1917. echo "${ECHO_T}no" >&6
  1918. fi
  1919.   CC=$ac_ct_CC
  1920. else
  1921.   CC="$ac_cv_prog_CC"
  1922. fi
  1923. fi
  1924. if test -z "$CC"; then
  1925.   # Extract the first word of "cc", so it can be a program name with args.
  1926. set dummy cc; ac_word=$2
  1927. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1928. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1929. if test "${ac_cv_prog_CC+set}" = set; then
  1930.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1931. else
  1932.   if test -n "$CC"; then
  1933.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1934. else
  1935.   ac_prog_rejected=no
  1936. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1937. for as_dir in $PATH
  1938. do
  1939.   IFS=$as_save_IFS
  1940.   test -z "$as_dir" && as_dir=.
  1941.   for ac_exec_ext in '' $ac_executable_extensions; do
  1942.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1943.     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1944.        ac_prog_rejected=yes
  1945.        continue
  1946.      fi
  1947.     ac_cv_prog_CC="cc"
  1948.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1949.     break 2
  1950.   fi
  1951. done
  1952. done
  1953. if test $ac_prog_rejected = yes; then
  1954.   # We found a bogon in the path, so make sure we never use it.
  1955.   set dummy $ac_cv_prog_CC
  1956.   shift
  1957.   if test $# != 0; then
  1958.     # We chose a different compiler from the bogus one.
  1959.     # However, it has the same basename, so the bogon will be chosen
  1960.     # first if we set CC to just the basename; use the full file name.
  1961.     shift
  1962.     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  1963.   fi
  1964. fi
  1965. fi
  1966. fi
  1967. CC=$ac_cv_prog_CC
  1968. if test -n "$CC"; then
  1969.   echo "$as_me:$LINENO: result: $CC" >&5
  1970. echo "${ECHO_T}$CC" >&6
  1971. else
  1972.   echo "$as_me:$LINENO: result: no" >&5
  1973. echo "${ECHO_T}no" >&6
  1974. fi
  1975. fi
  1976. if test -z "$CC"; then
  1977.   if test -n "$ac_tool_prefix"; then
  1978.   for ac_prog in cl
  1979.   do
  1980.     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1981. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1982. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1983. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1984. if test "${ac_cv_prog_CC+set}" = set; then
  1985.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1986. else
  1987.   if test -n "$CC"; then
  1988.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1989. else
  1990. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1991. for as_dir in $PATH
  1992. do
  1993.   IFS=$as_save_IFS
  1994.   test -z "$as_dir" && as_dir=.
  1995.   for ac_exec_ext in '' $ac_executable_extensions; do
  1996.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1997.     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1998.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1999.     break 2
  2000.   fi
  2001. done
  2002. done
  2003. fi
  2004. fi
  2005. CC=$ac_cv_prog_CC
  2006. if test -n "$CC"; then
  2007.   echo "$as_me:$LINENO: result: $CC" >&5
  2008. echo "${ECHO_T}$CC" >&6
  2009. else
  2010.   echo "$as_me:$LINENO: result: no" >&5
  2011. echo "${ECHO_T}no" >&6
  2012. fi
  2013.     test -n "$CC" && break
  2014.   done
  2015. fi
  2016. if test -z "$CC"; then
  2017.   ac_ct_CC=$CC
  2018.   for ac_prog in cl
  2019. do
  2020.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2021. set dummy $ac_prog; ac_word=$2
  2022. echo "$as_me:$LINENO: checking for $ac_word" >&5
  2023. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2024. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2025.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2026. else
  2027.   if test -n "$ac_ct_CC"; then
  2028.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2029. else
  2030. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2031. for as_dir in $PATH
  2032. do
  2033.   IFS=$as_save_IFS
  2034.   test -z "$as_dir" && as_dir=.
  2035.   for ac_exec_ext in '' $ac_executable_extensions; do
  2036.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2037.     ac_cv_prog_ac_ct_CC="$ac_prog"
  2038.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2039.     break 2
  2040.   fi
  2041. done
  2042. done
  2043. fi
  2044. fi
  2045. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2046. if test -n "$ac_ct_CC"; then
  2047.   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2048. echo "${ECHO_T}$ac_ct_CC" >&6
  2049. else
  2050.   echo "$as_me:$LINENO: result: no" >&5
  2051. echo "${ECHO_T}no" >&6
  2052. fi
  2053.   test -n "$ac_ct_CC" && break
  2054. done
  2055.   CC=$ac_ct_CC
  2056. fi
  2057. fi
  2058. test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in $PATH
  2059. See `config.log' for more details." >&5
  2060. echo "$as_me: error: no acceptable C compiler found in $PATH
  2061. See `config.log' for more details." >&2;}
  2062.    { (exit 1); exit 1; }; }
  2063. # Provide some information about the compiler.
  2064. echo "$as_me:$LINENO:" 
  2065.      "checking for C compiler version" >&5
  2066. ac_compiler=`set X $ac_compile; echo $2`
  2067. { (eval echo "$as_me:$LINENO: "$ac_compiler --version </dev/null >&5"") >&5
  2068.   (eval $ac_compiler --version </dev/null >&5) 2>&5
  2069.   ac_status=$?
  2070.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2071.   (exit $ac_status); }
  2072. { (eval echo "$as_me:$LINENO: "$ac_compiler -v </dev/null >&5"") >&5
  2073.   (eval $ac_compiler -v </dev/null >&5) 2>&5
  2074.   ac_status=$?
  2075.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2076.   (exit $ac_status); }
  2077. { (eval echo "$as_me:$LINENO: "$ac_compiler -V </dev/null >&5"") >&5
  2078.   (eval $ac_compiler -V </dev/null >&5) 2>&5
  2079.   ac_status=$?
  2080.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2081.   (exit $ac_status); }
  2082. cat >conftest.$ac_ext <<_ACEOF
  2083. /* confdefs.h.  */
  2084. _ACEOF
  2085. cat confdefs.h >>conftest.$ac_ext
  2086. cat >>conftest.$ac_ext <<_ACEOF
  2087. /* end confdefs.h.  */
  2088. int
  2089. main ()
  2090. {
  2091.   ;
  2092.   return 0;
  2093. }
  2094. _ACEOF
  2095. ac_clean_files_save=$ac_clean_files
  2096. ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2097. # Try to create an executable without -o first, disregard a.out.
  2098. # It will help us diagnose broken compilers, and finding out an intuition
  2099. # of exeext.
  2100. echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2101. echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
  2102. ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2103. if { (eval echo "$as_me:$LINENO: "$ac_link_default"") >&5
  2104.   (eval $ac_link_default) 2>&5
  2105.   ac_status=$?
  2106.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2107.   (exit $ac_status); }; then
  2108.   # Find the output, starting from the most likely.  This scheme is
  2109. # not robust to junk in `.', hence go to wildcards (a.*) only as a last
  2110. # resort.
  2111. # Be careful to initialize this variable, since it used to be cached.
  2112. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  2113. ac_cv_exeext=
  2114. # b.out is created by i960 compilers.
  2115. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  2116. do
  2117.   test -f "$ac_file" || continue
  2118.   case $ac_file in
  2119.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  2120. ;;
  2121.     conftest.$ac_ext )
  2122. # This is the source file.
  2123. ;;
  2124.     [ab].out )
  2125. # We found the default executable, but exeext='' is most
  2126. # certainly right.
  2127. break;;
  2128.     *.* )
  2129. ac_cv_exeext=`expr "$ac_file" : '[^.]*(..*)'`
  2130. # FIXME: I believe we export ac_cv_exeext for Libtool,
  2131. # but it would be cool to find out if it's true.  Does anybody
  2132. # maintain Libtool? --akim.
  2133. export ac_cv_exeext
  2134. break;;
  2135.     * )
  2136. break;;
  2137.   esac
  2138. done
  2139. else
  2140.   echo "$as_me: failed program was:" >&5
  2141. sed 's/^/| /' conftest.$ac_ext >&5
  2142. { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2143. See `config.log' for more details." >&5
  2144. echo "$as_me: error: C compiler cannot create executables
  2145. See `config.log' for more details." >&2;}
  2146.    { (exit 77); exit 77; }; }
  2147. fi
  2148. ac_exeext=$ac_cv_exeext
  2149. echo "$as_me:$LINENO: result: $ac_file" >&5
  2150. echo "${ECHO_T}$ac_file" >&6
  2151. # Check the compiler produces executables we can run.  If not, either
  2152. # the compiler is broken, or we cross compile.
  2153. echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2154. echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  2155. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2156. # If not cross compiling, check that we can run a simple program.
  2157. if test "$cross_compiling" != yes; then
  2158.   if { ac_try='./$ac_file'
  2159.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2160.   (eval $ac_try) 2>&5
  2161.   ac_status=$?
  2162.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2163.   (exit $ac_status); }; }; then
  2164.     cross_compiling=no
  2165.   else
  2166.     if test "$cross_compiling" = maybe; then
  2167. cross_compiling=yes
  2168.     else
  2169. { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2170. If you meant to cross compile, use `--host'.
  2171. See `config.log' for more details." >&5
  2172. echo "$as_me: error: cannot run C compiled programs.
  2173. If you meant to cross compile, use `--host'.
  2174. See `config.log' for more details." >&2;}
  2175.    { (exit 1); exit 1; }; }
  2176.     fi
  2177.   fi
  2178. fi
  2179. echo "$as_me:$LINENO: result: yes" >&5
  2180. echo "${ECHO_T}yes" >&6
  2181. rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2182. ac_clean_files=$ac_clean_files_save
  2183. # Check the compiler produces executables we can run.  If not, either
  2184. # the compiler is broken, or we cross compile.
  2185. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2186. echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  2187. echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2188. echo "${ECHO_T}$cross_compiling" >&6
  2189. echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2190. echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  2191. if { (eval echo "$as_me:$LINENO: "$ac_link"") >&5
  2192.   (eval $ac_link) 2>&5
  2193.   ac_status=$?
  2194.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2195.   (exit $ac_status); }; then
  2196.   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2197. # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2198. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2199. # `rm'.
  2200. for ac_file in conftest.exe conftest conftest.*; do
  2201.   test -f "$ac_file" || continue
  2202.   case $ac_file in
  2203.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  2204.     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*(..*)'`
  2205.   export ac_cv_exeext
  2206.   break;;
  2207.     * ) break;;
  2208.   esac
  2209. done
  2210. else
  2211.   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2212. See `config.log' for more details." >&5
  2213. echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2214. See `config.log' for more details." >&2;}
  2215.    { (exit 1); exit 1; }; }
  2216. fi
  2217. rm -f conftest$ac_cv_exeext
  2218. echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2219. echo "${ECHO_T}$ac_cv_exeext" >&6
  2220. rm -f conftest.$ac_ext
  2221. EXEEXT=$ac_cv_exeext
  2222. ac_exeext=$EXEEXT
  2223. echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2224. echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  2225. if test "${ac_cv_objext+set}" = set; then
  2226.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2227. else
  2228.   cat >conftest.$ac_ext <<_ACEOF
  2229. /* confdefs.h.  */
  2230. _ACEOF
  2231. cat confdefs.h >>conftest.$ac_ext
  2232. cat >>conftest.$ac_ext <<_ACEOF
  2233. /* end confdefs.h.  */
  2234. int
  2235. main ()
  2236. {
  2237.   ;
  2238.   return 0;
  2239. }
  2240. _ACEOF
  2241. rm -f conftest.o conftest.obj
  2242. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2243.   (eval $ac_compile) 2>&5
  2244.   ac_status=$?
  2245.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2246.   (exit $ac_status); }; then
  2247.   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  2248.   case $ac_file in
  2249.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  2250.     *) ac_cv_objext=`expr "$ac_file" : '.*.(.*)'`
  2251.        break;;
  2252.   esac
  2253. done
  2254. else
  2255.   echo "$as_me: failed program was:" >&5
  2256. sed 's/^/| /' conftest.$ac_ext >&5
  2257. { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2258. See `config.log' for more details." >&5
  2259. echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2260. See `config.log' for more details." >&2;}
  2261.    { (exit 1); exit 1; }; }
  2262. fi
  2263. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2264. fi
  2265. echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2266. echo "${ECHO_T}$ac_cv_objext" >&6
  2267. OBJEXT=$ac_cv_objext
  2268. ac_objext=$OBJEXT
  2269. echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2270. echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  2271. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2272.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2273. else
  2274.   cat >conftest.$ac_ext <<_ACEOF
  2275. /* confdefs.h.  */
  2276. _ACEOF
  2277. cat confdefs.h >>conftest.$ac_ext
  2278. cat >>conftest.$ac_ext <<_ACEOF
  2279. /* end confdefs.h.  */
  2280. int
  2281. main ()
  2282. {
  2283. #ifndef __GNUC__
  2284.        choke me
  2285. #endif
  2286.   ;
  2287.   return 0;
  2288. }
  2289. _ACEOF
  2290. rm -f conftest.$ac_objext
  2291. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2292.   (eval $ac_compile) 2>conftest.er1
  2293.   ac_status=$?
  2294.   grep -v '^ *+' conftest.er1 >conftest.err
  2295.   rm -f conftest.er1
  2296.   cat conftest.err >&5
  2297.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2298.   (exit $ac_status); } &&
  2299.  { ac_try='test -z "$ac_c_werror_flag"
  2300.  || test ! -s conftest.err'
  2301.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2302.   (eval $ac_try) 2>&5
  2303.   ac_status=$?
  2304.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2305.   (exit $ac_status); }; } &&
  2306.  { ac_try='test -s conftest.$ac_objext'
  2307.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2308.   (eval $ac_try) 2>&5
  2309.   ac_status=$?
  2310.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2311.   (exit $ac_status); }; }; then
  2312.   ac_compiler_gnu=yes
  2313. else
  2314.   echo "$as_me: failed program was:" >&5
  2315. sed 's/^/| /' conftest.$ac_ext >&5
  2316. ac_compiler_gnu=no
  2317. fi
  2318. rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2319. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2320. fi
  2321. echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2322. echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  2323. GCC=`test $ac_compiler_gnu = yes && echo yes`
  2324. ac_test_CFLAGS=${CFLAGS+set}
  2325. ac_save_CFLAGS=$CFLAGS
  2326. CFLAGS="-g"
  2327. echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2328. echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  2329. if test "${ac_cv_prog_cc_g+set}" = set; then
  2330.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2331. else
  2332.   cat >conftest.$ac_ext <<_ACEOF
  2333. /* confdefs.h.  */
  2334. _ACEOF
  2335. cat confdefs.h >>conftest.$ac_ext
  2336. cat >>conftest.$ac_ext <<_ACEOF
  2337. /* end confdefs.h.  */
  2338. int
  2339. main ()
  2340. {
  2341.   ;
  2342.   return 0;
  2343. }
  2344. _ACEOF
  2345. rm -f conftest.$ac_objext
  2346. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2347.   (eval $ac_compile) 2>conftest.er1
  2348.   ac_status=$?
  2349.   grep -v '^ *+' conftest.er1 >conftest.err
  2350.   rm -f conftest.er1
  2351.   cat conftest.err >&5
  2352.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2353.   (exit $ac_status); } &&
  2354.  { ac_try='test -z "$ac_c_werror_flag"
  2355.  || test ! -s conftest.err'
  2356.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2357.   (eval $ac_try) 2>&5
  2358.   ac_status=$?
  2359.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2360.   (exit $ac_status); }; } &&
  2361.  { ac_try='test -s conftest.$ac_objext'
  2362.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2363.   (eval $ac_try) 2>&5
  2364.   ac_status=$?
  2365.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2366.   (exit $ac_status); }; }; then
  2367.   ac_cv_prog_cc_g=yes
  2368. else
  2369.   echo "$as_me: failed program was:" >&5
  2370. sed 's/^/| /' conftest.$ac_ext >&5
  2371. ac_cv_prog_cc_g=no
  2372. fi
  2373. rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2374. fi
  2375. echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2376. echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  2377. if test "$ac_test_CFLAGS" = set; then
  2378.   CFLAGS=$ac_save_CFLAGS
  2379. elif test $ac_cv_prog_cc_g = yes; then
  2380.   if test "$GCC" = yes; then
  2381.     CFLAGS="-g -O2"
  2382.   else
  2383.     CFLAGS="-g"
  2384.   fi
  2385. else
  2386.   if test "$GCC" = yes; then
  2387.     CFLAGS="-O2"
  2388.   else
  2389.     CFLAGS=
  2390.   fi
  2391. fi
  2392. echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  2393. echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  2394. if test "${ac_cv_prog_cc_stdc+set}" = set; then
  2395.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2396. else
  2397.   ac_cv_prog_cc_stdc=no
  2398. ac_save_CC=$CC
  2399. cat >conftest.$ac_ext <<_ACEOF
  2400. /* confdefs.h.  */
  2401. _ACEOF
  2402. cat confdefs.h >>conftest.$ac_ext
  2403. cat >>conftest.$ac_ext <<_ACEOF
  2404. /* end confdefs.h.  */
  2405. #include <stdarg.h>
  2406. #include <stdio.h>
  2407. #include <sys/types.h>
  2408. #include <sys/stat.h>
  2409. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  2410. struct buf { int x; };
  2411. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2412. static char *e (p, i)
  2413.      char **p;
  2414.      int i;
  2415. {
  2416.   return p[i];
  2417. }
  2418. static char *f (char * (*g) (char **, int), char **p, ...)
  2419. {
  2420.   char *s;
  2421.   va_list v;
  2422.   va_start (v,p);
  2423.   s = g (p, va_arg (v,int));
  2424.   va_end (v);
  2425.   return s;
  2426. }
  2427. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  2428.    function prototypes and stuff, but not 'xHH' hex character constants.
  2429.    These don't provoke an error unfortunately, instead are silently treated
  2430.    as 'x'.  The following induces an error, until -std1 is added to get
  2431.    proper ANSI mode.  Curiously 'x00'!='x' always comes out true, for an
  2432.    array size at least.  It's necessary to write 'x00'==0 to get something
  2433.    that's true only with -std1.  */
  2434. int osf4_cc_array ['x00' == 0 ? 1 : -1];
  2435. int test (int i, double x);
  2436. struct s1 {int (*f) (int a);};
  2437. struct s2 {int (*f) (double a);};
  2438. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2439. int argc;
  2440. char **argv;
  2441. int
  2442. main ()
  2443. {
  2444. return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  2445.   ;
  2446.   return 0;
  2447. }
  2448. _ACEOF
  2449. # Don't try gcc -ansi; that turns off useful extensions and
  2450. # breaks some systems' header files.
  2451. # AIX -qlanglvl=ansi
  2452. # Ultrix and OSF/1 -std1
  2453. # HP-UX 10.20 and later -Ae
  2454. # HP-UX older versions -Aa -D_HPUX_SOURCE
  2455. # SVR4 -Xc -D__EXTENSIONS__
  2456. for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2457. do
  2458.   CC="$ac_save_CC $ac_arg"
  2459.   rm -f conftest.$ac_objext
  2460. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2461.   (eval $ac_compile) 2>conftest.er1
  2462.   ac_status=$?
  2463.   grep -v '^ *+' conftest.er1 >conftest.err
  2464.   rm -f conftest.er1
  2465.   cat conftest.err >&5
  2466.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2467.   (exit $ac_status); } &&
  2468.  { ac_try='test -z "$ac_c_werror_flag"
  2469.  || test ! -s conftest.err'
  2470.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2471.   (eval $ac_try) 2>&5
  2472.   ac_status=$?
  2473.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2474.   (exit $ac_status); }; } &&
  2475.  { ac_try='test -s conftest.$ac_objext'
  2476.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2477.   (eval $ac_try) 2>&5
  2478.   ac_status=$?
  2479.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2480.   (exit $ac_status); }; }; then
  2481.   ac_cv_prog_cc_stdc=$ac_arg
  2482. break
  2483. else
  2484.   echo "$as_me: failed program was:" >&5
  2485. sed 's/^/| /' conftest.$ac_ext >&5
  2486. fi
  2487. rm -f conftest.err conftest.$ac_objext
  2488. done
  2489. rm -f conftest.$ac_ext conftest.$ac_objext
  2490. CC=$ac_save_CC
  2491. fi
  2492. case "x$ac_cv_prog_cc_stdc" in
  2493.   x|xno)
  2494.     echo "$as_me:$LINENO: result: none needed" >&5
  2495. echo "${ECHO_T}none needed" >&6 ;;
  2496.   *)
  2497.     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  2498. echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  2499.     CC="$CC $ac_cv_prog_cc_stdc" ;;
  2500. esac
  2501. # Some people use a C++ compiler to compile C.  Since we use `exit',
  2502. # in C++ we need to declare it.  In case someone uses the same compiler
  2503. # for both compiling C and C++ we need to have the C++ compiler decide
  2504. # the declaration of exit, since it's the most demanding environment.
  2505. cat >conftest.$ac_ext <<_ACEOF
  2506. #ifndef __cplusplus
  2507.   choke me
  2508. #endif
  2509. _ACEOF
  2510. rm -f conftest.$ac_objext
  2511. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2512.   (eval $ac_compile) 2>conftest.er1
  2513.   ac_status=$?
  2514.   grep -v '^ *+' conftest.er1 >conftest.err
  2515.   rm -f conftest.er1
  2516.   cat conftest.err >&5
  2517.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2518.   (exit $ac_status); } &&
  2519.  { ac_try='test -z "$ac_c_werror_flag"
  2520.  || test ! -s conftest.err'
  2521.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2522.   (eval $ac_try) 2>&5
  2523.   ac_status=$?
  2524.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2525.   (exit $ac_status); }; } &&
  2526.  { ac_try='test -s conftest.$ac_objext'
  2527.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2528.   (eval $ac_try) 2>&5
  2529.   ac_status=$?
  2530.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2531.   (exit $ac_status); }; }; then
  2532.   for ac_declaration in 
  2533.    '' 
  2534.    'extern "C" void std::exit (int) throw (); using std::exit;' 
  2535.    'extern "C" void std::exit (int); using std::exit;' 
  2536.    'extern "C" void exit (int) throw ();' 
  2537.    'extern "C" void exit (int);' 
  2538.    'void exit (int);'
  2539. do
  2540.   cat >conftest.$ac_ext <<_ACEOF
  2541. /* confdefs.h.  */
  2542. _ACEOF
  2543. cat confdefs.h >>conftest.$ac_ext
  2544. cat >>conftest.$ac_ext <<_ACEOF
  2545. /* end confdefs.h.  */
  2546. $ac_declaration
  2547. #include <stdlib.h>
  2548. int
  2549. main ()
  2550. {
  2551. exit (42);
  2552.   ;
  2553.   return 0;
  2554. }
  2555. _ACEOF
  2556. rm -f conftest.$ac_objext
  2557. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2558.   (eval $ac_compile) 2>conftest.er1
  2559.   ac_status=$?
  2560.   grep -v '^ *+' conftest.er1 >conftest.err
  2561.   rm -f conftest.er1
  2562.   cat conftest.err >&5
  2563.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2564.   (exit $ac_status); } &&
  2565.  { ac_try='test -z "$ac_c_werror_flag"
  2566.  || test ! -s conftest.err'
  2567.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2568.   (eval $ac_try) 2>&5
  2569.   ac_status=$?
  2570.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2571.   (exit $ac_status); }; } &&
  2572.  { ac_try='test -s conftest.$ac_objext'
  2573.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2574.   (eval $ac_try) 2>&5
  2575.   ac_status=$?
  2576.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2577.   (exit $ac_status); }; }; then
  2578.   :
  2579. else
  2580.   echo "$as_me: failed program was:" >&5
  2581. sed 's/^/| /' conftest.$ac_ext >&5
  2582. continue
  2583. fi
  2584. rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2585.   cat >conftest.$ac_ext <<_ACEOF
  2586. /* confdefs.h.  */
  2587. _ACEOF
  2588. cat confdefs.h >>conftest.$ac_ext
  2589. cat >>conftest.$ac_ext <<_ACEOF
  2590. /* end confdefs.h.  */
  2591. $ac_declaration
  2592. int
  2593. main ()
  2594. {
  2595. exit (42);
  2596.   ;
  2597.   return 0;
  2598. }
  2599. _ACEOF
  2600. rm -f conftest.$ac_objext
  2601. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2602.   (eval $ac_compile) 2>conftest.er1
  2603.   ac_status=$?
  2604.   grep -v '^ *+' conftest.er1 >conftest.err
  2605.   rm -f conftest.er1
  2606.   cat conftest.err >&5
  2607.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2608.   (exit $ac_status); } &&
  2609.  { ac_try='test -z "$ac_c_werror_flag"
  2610.  || test ! -s conftest.err'
  2611.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2612.   (eval $ac_try) 2>&5
  2613.   ac_status=$?
  2614.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2615.   (exit $ac_status); }; } &&
  2616.  { ac_try='test -s conftest.$ac_objext'
  2617.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2618.   (eval $ac_try) 2>&5
  2619.   ac_status=$?
  2620.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2621.   (exit $ac_status); }; }; then
  2622.   break
  2623. else
  2624.   echo "$as_me: failed program was:" >&5
  2625. sed 's/^/| /' conftest.$ac_ext >&5
  2626. fi
  2627. rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2628. done
  2629. rm -f conftest*
  2630. if test -n "$ac_declaration"; then
  2631.   echo '#ifdef __cplusplus' >>confdefs.h
  2632.   echo $ac_declaration      >>confdefs.h
  2633.   echo '#endif'             >>confdefs.h
  2634. fi
  2635. else
  2636.   echo "$as_me: failed program was:" >&5
  2637. sed 's/^/| /' conftest.$ac_ext >&5
  2638. fi
  2639. rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2640. ac_ext=c
  2641. ac_cpp='$CPP $CPPFLAGS'
  2642. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2643. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2644. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2645. DEPDIR="${am__leading_dot}deps"
  2646.           ac_config_commands="$ac_config_commands depfiles"
  2647. am_make=${MAKE-make}
  2648. cat > confinc << 'END'
  2649. am__doit:
  2650. @echo done
  2651. .PHONY: am__doit
  2652. END
  2653. # If we don't find an include directive, just comment out the code.
  2654. echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2655. echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
  2656. am__include="#"
  2657. am__quote=
  2658. _am_result=none
  2659. # First try GNU make style include.
  2660. echo "include confinc" > confmf
  2661. # We grep out `Entering directory' and `Leaving directory'
  2662. # messages which can occur if `w' ends up in MAKEFLAGS.
  2663. # In particular we don't look at `^make:' because GNU make might
  2664. # be invoked under some other name (usually "gmake"), in which
  2665. # case it prints its new name instead of `make'.
  2666. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2667.    am__include=include
  2668.    am__quote=
  2669.    _am_result=GNU
  2670. fi
  2671. # Now try BSD make style include.
  2672. if test "$am__include" = "#"; then
  2673.    echo '.include "confinc"' > confmf
  2674.    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2675.       am__include=.include
  2676.       am__quote="""
  2677.       _am_result=BSD
  2678.    fi
  2679. fi
  2680. echo "$as_me:$LINENO: result: $_am_result" >&5
  2681. echo "${ECHO_T}$_am_result" >&6
  2682. rm -f confinc confmf
  2683. # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
  2684. if test "${enable_dependency_tracking+set}" = set; then
  2685.   enableval="$enable_dependency_tracking"
  2686. fi;
  2687. if test "x$enable_dependency_tracking" != xno; then
  2688.   am_depcomp="$ac_aux_dir/depcomp"
  2689.   AMDEPBACKSLASH=''
  2690. fi
  2691. if test "x$enable_dependency_tracking" != xno; then
  2692.   AMDEP_TRUE=
  2693.   AMDEP_FALSE='#'
  2694. else
  2695.   AMDEP_TRUE='#'
  2696.   AMDEP_FALSE=
  2697. fi
  2698. depcc="$CC"   am_compiler_list=
  2699. echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  2700. echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
  2701. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  2702.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2703. else
  2704.   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  2705.   # We make a subdir and do the tests there.  Otherwise we can end up
  2706.   # making bogus files that we don't know about and never remove.  For
  2707.   # instance it was reported that on HP-UX the gcc test will end up
  2708.   # making a dummy file named `D' -- because `-MD' means `put the output
  2709.   # in D'.
  2710.   mkdir conftest.dir
  2711.   # Copy depcomp to subdir because otherwise we won't find it if we're
  2712.   # using a relative directory.
  2713.   cp "$am_depcomp" conftest.dir
  2714.   cd conftest.dir
  2715.   # We will build objects and dependencies in a subdirectory because
  2716.   # it helps to detect inapplicable dependency modes.  For instance
  2717.   # both Tru64's cc and ICC support -MD to output dependencies as a
  2718.   # side effect of compilation, but ICC will put the dependencies in
  2719.   # the current directory while Tru64 will put them in the object
  2720.   # directory.
  2721.   mkdir sub
  2722.   am_cv_CC_dependencies_compiler_type=none
  2723.   if test "$am_compiler_list" = ""; then
  2724.      am_compiler_list=`sed -n 's/^#*([a-zA-Z0-9]*))$/1/p' < ./depcomp`
  2725.   fi
  2726.   for depmode in $am_compiler_list; do
  2727.     # Setup a source with many dependencies, because some compilers
  2728.     # like to wrap large dependency lists on column 80 (with ), and
  2729.     # we should not choose a depcomp mode which is confused by this.
  2730.     #
  2731.     # We need to recreate these files for each test, as the compiler may
  2732.     # overwrite some of them when testing with obscure command lines.
  2733.     # This happens at least with the AIX C compiler.
  2734.     : > sub/conftest.c
  2735.     for i in 1 2 3 4 5 6; do
  2736.       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  2737.       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  2738.       # Solaris 8's {/usr,}/bin/sh.
  2739.       touch sub/conftst$i.h
  2740.     done
  2741.     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  2742.     case $depmode in
  2743.     nosideeffect)
  2744.       # after this tag, mechanisms are not by side-effect, so they'll
  2745.       # only be used when explicitly requested
  2746.       if test "x$enable_dependency_tracking" = xyes; then
  2747. continue
  2748.       else
  2749. break
  2750.       fi
  2751.       ;;
  2752.     none) break ;;
  2753.     esac
  2754.     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  2755.     # mode.  It turns out that the SunPro C++ compiler does not properly
  2756.     # handle `-M -o', and we need to detect this.
  2757.     if depmode=$depmode 
  2758.        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} 
  2759.        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo 
  2760.        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c 
  2761.          >/dev/null 2>conftest.err &&
  2762.        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  2763.        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  2764.        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  2765.       # icc doesn't choke on unknown options, it will just issue warnings
  2766.       # or remarks (even with -Werror).  So we grep stderr for any message
  2767.       # that says an option was ignored or not supported.
  2768.       # When given -MP, icc 7.0 and 7.1 complain thusly:
  2769.       #   icc: Command line warning: ignoring option '-M'; no argument required
  2770.       # The diagnosis changed in icc 8.0:
  2771.       #   icc: Command line remark: option '-MP' not supported
  2772.       if (grep 'ignoring option' conftest.err ||
  2773.           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  2774.         am_cv_CC_dependencies_compiler_type=$depmode
  2775.         break
  2776.       fi
  2777.     fi
  2778.   done
  2779.   cd ..
  2780.   rm -rf conftest.dir
  2781. else
  2782.   am_cv_CC_dependencies_compiler_type=none
  2783. fi
  2784. fi
  2785. echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  2786. echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
  2787. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  2788. if
  2789.   test "x$enable_dependency_tracking" != xno 
  2790.   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  2791.   am__fastdepCC_TRUE=
  2792.   am__fastdepCC_FALSE='#'
  2793. else
  2794.   am__fastdepCC_TRUE='#'
  2795.   am__fastdepCC_FALSE=
  2796. fi
  2797. test -n "$OBJC" || OBJC="$CC"
  2798. depcc="$OBJC" am_compiler_list='gcc3 gcc'
  2799. echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  2800. echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
  2801. if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
  2802.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2803. else
  2804.   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  2805.   # We make a subdir and do the tests there.  Otherwise we can end up
  2806.   # making bogus files that we don't know about and never remove.  For
  2807.   # instance it was reported that on HP-UX the gcc test will end up
  2808.   # making a dummy file named `D' -- because `-MD' means `put the output
  2809.   # in D'.
  2810.   mkdir conftest.dir
  2811.   # Copy depcomp to subdir because otherwise we won't find it if we're
  2812.   # using a relative directory.
  2813.   cp "$am_depcomp" conftest.dir
  2814.   cd conftest.dir
  2815.   # We will build objects and dependencies in a subdirectory because
  2816.   # it helps to detect inapplicable dependency modes.  For instance
  2817.   # both Tru64's cc and ICC support -MD to output dependencies as a
  2818.   # side effect of compilation, but ICC will put the dependencies in
  2819.   # the current directory while Tru64 will put them in the object
  2820.   # directory.
  2821.   mkdir sub
  2822.   am_cv_OBJC_dependencies_compiler_type=none
  2823.   if test "$am_compiler_list" = ""; then
  2824.      am_compiler_list=`sed -n 's/^#*([a-zA-Z0-9]*))$/1/p' < ./depcomp`
  2825.   fi
  2826.   for depmode in $am_compiler_list; do
  2827.     # Setup a source with many dependencies, because some compilers
  2828.     # like to wrap large dependency lists on column 80 (with ), and
  2829.     # we should not choose a depcomp mode which is confused by this.
  2830.     #
  2831.     # We need to recreate these files for each test, as the compiler may
  2832.     # overwrite some of them when testing with obscure command lines.
  2833.     # This happens at least with the AIX C compiler.
  2834.     : > sub/conftest.c
  2835.     for i in 1 2 3 4 5 6; do
  2836.       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  2837.       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  2838.       # Solaris 8's {/usr,}/bin/sh.
  2839.       touch sub/conftst$i.h
  2840.     done
  2841.     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  2842.     case $depmode in
  2843.     nosideeffect)
  2844.       # after this tag, mechanisms are not by side-effect, so they'll
  2845.       # only be used when explicitly requested
  2846.       if test "x$enable_dependency_tracking" = xyes; then
  2847. continue
  2848.       else
  2849. break
  2850.       fi
  2851.       ;;
  2852.     none) break ;;
  2853.     esac
  2854.     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  2855.     # mode.  It turns out that the SunPro C++ compiler does not properly
  2856.     # handle `-M -o', and we need to detect this.
  2857.     if depmode=$depmode 
  2858.        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} 
  2859.        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo 
  2860.        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c 
  2861.          >/dev/null 2>conftest.err &&
  2862.        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  2863.        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  2864.        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  2865.       # icc doesn't choke on unknown options, it will just issue warnings
  2866.       # or remarks (even with -Werror).  So we grep stderr for any message
  2867.       # that says an option was ignored or not supported.
  2868.       # When given -MP, icc 7.0 and 7.1 complain thusly:
  2869.       #   icc: Command line warning: ignoring option '-M'; no argument required
  2870.       # The diagnosis changed in icc 8.0:
  2871.       #   icc: Command line remark: option '-MP' not supported
  2872.       if (grep 'ignoring option' conftest.err ||
  2873.           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  2874.         am_cv_OBJC_dependencies_compiler_type=$depmode
  2875.         break
  2876.       fi
  2877.     fi
  2878.   done
  2879.   cd ..
  2880.   rm -rf conftest.dir
  2881. else
  2882.   am_cv_OBJC_dependencies_compiler_type=none
  2883. fi
  2884. fi
  2885. echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
  2886. echo "${ECHO_T}$am_cv_OBJC_dependencies_compiler_type" >&6
  2887. OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
  2888. if
  2889.   test "x$enable_dependency_tracking" != xno 
  2890.   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
  2891.   am__fastdepOBJC_TRUE=
  2892.   am__fastdepOBJC_FALSE='#'
  2893. else
  2894.   am__fastdepOBJC_TRUE='#'
  2895.   am__fastdepOBJC_FALSE=
  2896. fi
  2897.                     ac_config_headers="$ac_config_headers config.h objc/externvar.h"
  2898. # Find a good install program.  We prefer a C program (faster),
  2899. # so one script is as good as another.  But avoid the broken or
  2900. # incompatible versions:
  2901. # SysV /etc/install, /usr/sbin/install
  2902. # SunOS /usr/etc/install
  2903. # IRIX /sbin/install
  2904. # AIX /bin/install
  2905. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2906. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2907. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2908. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2909. # OS/2's system install, which has a completely different semantic
  2910. # ./install, which can be erroneously created by make from ./install.sh.
  2911. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  2912. echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  2913. if test -z "$INSTALL"; then
  2914. if test "${ac_cv_path_install+set}" = set; then
  2915.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2916. else
  2917.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2918. for as_dir in $PATH
  2919. do
  2920.   IFS=$as_save_IFS
  2921.   test -z "$as_dir" && as_dir=.
  2922.   # Account for people who put trailing slashes in PATH elements.
  2923. case $as_dir/ in
  2924.   ./ | .// | /cC/* | 
  2925.   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | 
  2926.   ?:\/os2\/install\/* | ?:\/OS2\/INSTALL\/* | 
  2927.   /usr/ucb/* ) ;;
  2928.   *)
  2929.     # OSF1 and SCO ODT 3.0 have their own names for install.
  2930.     # Don't use installbsd from OSF since it installs stuff as root
  2931.     # by default.
  2932.     for ac_prog in ginstall scoinst install; do
  2933.       for ac_exec_ext in '' $ac_executable_extensions; do
  2934. if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2935.   if test $ac_prog = install &&
  2936.     grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2937.     # AIX install.  It has an incompatible calling convention.
  2938.     :
  2939.   elif test $ac_prog = install &&
  2940.     grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2941.     # program-specific install script used by HP pwplus--don't use.
  2942.     :
  2943.   else
  2944.     ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2945.     break 3
  2946.   fi
  2947. fi
  2948.       done
  2949.     done
  2950.     ;;
  2951. esac
  2952. done
  2953. fi
  2954.   if test "${ac_cv_path_install+set}" = set; then
  2955.     INSTALL=$ac_cv_path_install
  2956.   else
  2957.     # As a last resort, use the slow shell script.  We don't cache a
  2958.     # path for INSTALL within a source directory, because that will
  2959.     # break other packages using the cache if that directory is
  2960.     # removed, or if the path is relative.
  2961.     INSTALL=$ac_install_sh
  2962.   fi
  2963. fi
  2964. echo "$as_me:$LINENO: result: $INSTALL" >&5
  2965. echo "${ECHO_T}$INSTALL" >&6
  2966. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2967. # It thinks the first close brace ends the variable substitution.
  2968. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2969. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2970. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2971. echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  2972. echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
  2973. if test "${lt_cv_path_SED+set}" = set; then
  2974.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2975. else
  2976.   # Loop through the user's path and test for sed and gsed.
  2977. # Then use that list of sed's as ones to test for truncation.
  2978. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2979. for as_dir in $PATH
  2980. do
  2981.   IFS=$as_save_IFS
  2982.   test -z "$as_dir" && as_dir=.
  2983.   for lt_ac_prog in sed gsed; do
  2984.     for ac_exec_ext in '' $ac_executable_extensions; do
  2985.       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
  2986.         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  2987.       fi
  2988.     done
  2989.   done
  2990. done
  2991. lt_ac_max=0
  2992. lt_ac_count=0
  2993. # Add /usr/xpg4/bin/sed as it is typically found on Solaris
  2994. # along with /bin/sed that truncates output.
  2995. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  2996.   test ! -f $lt_ac_sed && break
  2997.   cat /dev/null > conftest.in
  2998.   lt_ac_count=0
  2999.   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  3000.   # Check for GNU sed and select it if it is found.
  3001.   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  3002.     lt_cv_path_SED=$lt_ac_sed
  3003.     break
  3004.   fi
  3005.   while true; do
  3006.     cat conftest.in conftest.in >conftest.tmp
  3007.     mv conftest.tmp conftest.in
  3008.     cp conftest.in conftest.nl
  3009.     echo >>conftest.nl
  3010.     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  3011.     cmp -s conftest.out conftest.nl || break
  3012.     # 10000 chars as input seems more than enough
  3013.     test $lt_ac_count -gt 10 && break
  3014.     lt_ac_count=`expr $lt_ac_count + 1`
  3015.     if test $lt_ac_count -gt $lt_ac_max; then
  3016.       lt_ac_max=$lt_ac_count
  3017.       lt_cv_path_SED=$lt_ac_sed
  3018.     fi
  3019.   done
  3020. done
  3021. fi
  3022. SED=$lt_cv_path_SED
  3023. echo "$as_me:$LINENO: result: $SED" >&5
  3024. echo "${ECHO_T}$SED" >&6
  3025. #gccdir=`$CC -print-libgcc-file-name | sed 's//libgcc.a//'`
  3026. #AC_SUBST(gccdir)
  3027. #AC_MSG_CHECKING(if cc1obj -print-objc-runtime-info reports enough information)
  3028. #if $gccdir/cc1obj -print-objc-runtime-info </dev/null | grep INVISIBLE_STRUCT_RETURN > /dev/null; then
  3029. #  AC_MSG_RESULT(yes)
  3030. #else
  3031. #  AC_MSG_RESULT(no)
  3032. #fi
  3033. # AC_DISABLE_SHARED
  3034. test -n "$OBJCFLAGS" || OBJCFLAGS="$CFLAGS"
  3035. case ${host} in
  3036.         *-*-darwin*)
  3037.                 OBJCFLAGS="$OBJCFLAGS -B $(top_srcdir)/../tools"
  3038.                 ;;
  3039.         *)
  3040.                 ;;
  3041. esac
  3042. OBJCFLAGS="$OBJCFLAGS -fgnu-runtime -fno-strict-aliasing -Wall -Wno-import -Wno-protocol -Wno-long-long"
  3043. # Check whether --enable-shared or --disable-shared was given.
  3044. if test "${enable_shared+set}" = set; then
  3045.   enableval="$enable_shared"
  3046.   p=${PACKAGE-default}
  3047.     case $enableval in
  3048.     yes) enable_shared=yes ;;
  3049.     no) enable_shared=no ;;
  3050.     *)
  3051.       enable_shared=no
  3052.       # Look at the argument we got.  We use all the common list separators.
  3053.       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  3054.       for pkg in $enableval; do
  3055. IFS="$lt_save_ifs"
  3056. if test "X$pkg" = "X$p"; then
  3057.   enable_shared=yes
  3058. fi
  3059.       done
  3060.       IFS="$lt_save_ifs"
  3061.       ;;
  3062.     esac
  3063. else
  3064.   enable_shared=yes
  3065. fi;
  3066. # Check whether --enable-static or --disable-static was given.
  3067. if test "${enable_static+set}" = set; then
  3068.   enableval="$enable_static"
  3069.   p=${PACKAGE-default}
  3070.     case $enableval in
  3071.     yes) enable_static=yes ;;
  3072.     no) enable_static=no ;;
  3073.     *)
  3074.      enable_static=no
  3075.       # Look at the argument we got.  We use all the common list separators.
  3076.       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  3077.       for pkg in $enableval; do
  3078. IFS="$lt_save_ifs"
  3079. if test "X$pkg" = "X$p"; then
  3080.   enable_static=yes
  3081. fi
  3082.       done
  3083.       IFS="$lt_save_ifs"
  3084.       ;;
  3085.     esac
  3086. else
  3087.   enable_static=yes
  3088. fi;
  3089. # Check whether --enable-fast-install or --disable-fast-install was given.
  3090. if test "${enable_fast_install+set}" = set; then
  3091.   enableval="$enable_fast_install"
  3092.   p=${PACKAGE-default}
  3093.     case $enableval in
  3094.     yes) enable_fast_install=yes ;;
  3095.     no) enable_fast_install=no ;;
  3096.     *)
  3097.       enable_fast_install=no
  3098.       # Look at the argument we got.  We use all the common list separators.
  3099.       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  3100.       for pkg in $enableval; do
  3101. IFS="$lt_save_ifs"
  3102. if test "X$pkg" = "X$p"; then
  3103.   enable_fast_install=yes
  3104. fi
  3105.       done
  3106.       IFS="$lt_save_ifs"
  3107.       ;;
  3108.     esac
  3109. else
  3110.   enable_fast_install=yes
  3111. fi;
  3112. echo "$as_me:$LINENO: checking for egrep" >&5
  3113. echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  3114. if test "${ac_cv_prog_egrep+set}" = set; then
  3115.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3116. else
  3117.   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  3118.     then ac_cv_prog_egrep='grep -E'
  3119.     else ac_cv_prog_egrep='egrep'
  3120.     fi
  3121. fi
  3122. echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  3123. echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  3124.  EGREP=$ac_cv_prog_egrep
  3125. # Check whether --with-gnu-ld or --without-gnu-ld was given.
  3126. if test "${with_gnu_ld+set}" = set; then
  3127.   withval="$with_gnu_ld"
  3128.   test "$withval" = no || with_gnu_ld=yes
  3129. else
  3130.   with_gnu_ld=no
  3131. fi;
  3132. ac_prog=ld
  3133. if test "$GCC" = yes; then
  3134.   # Check if gcc -print-prog-name=ld gives a path.
  3135.   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  3136. echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
  3137.   case $host in
  3138.   *-*-mingw*)
  3139.     # gcc leaves a trailing carriage return which upsets mingw
  3140.     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '15'` ;;
  3141.   *)
  3142.     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  3143.   esac
  3144.   case $ac_prog in
  3145.     # Accept absolute paths.
  3146.     [\/]* | ?:[\/]*)
  3147.       re_direlt='/[^/][^/]*/../'
  3148.       # Canonicalize the pathname of ld
  3149.       ac_prog=`echo $ac_prog| $SED 's%\\%/%g'`
  3150.       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  3151. ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  3152.       done
  3153.       test -z "$LD" && LD="$ac_prog"
  3154.       ;;
  3155.   "")
  3156.     # If it fails, then pretend we aren't using GCC.
  3157.     ac_prog=ld
  3158.     ;;
  3159.   *)
  3160.     # If it is relative, then search for the first ld in PATH.
  3161.     with_gnu_ld=unknown
  3162.     ;;
  3163.   esac
  3164. elif test "$with_gnu_ld" = yes; then
  3165.   echo "$as_me:$LINENO: checking for GNU ld" >&5
  3166. echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
  3167. else
  3168.   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  3169. echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
  3170. fi
  3171. if test "${lt_cv_path_LD+set}" = set; then
  3172.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3173. else
  3174.   if test -z "$LD"; then
  3175.   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3176.   for ac_dir in $PATH; do
  3177.     IFS="$lt_save_ifs"
  3178.     test -z "$ac_dir" && ac_dir=.
  3179.     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  3180.       lt_cv_path_LD="$ac_dir/$ac_prog"
  3181.       # Check to see if the program is GNU ld.  I'd rather use --version,
  3182.       # but apparently some GNU ld's only accept -v.
  3183.       # Break only if it was the GNU/non-GNU ld that we prefer.
  3184.       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  3185.       *GNU* | *'with BFD'*)
  3186. test "$with_gnu_ld" != no && break
  3187. ;;
  3188.       *)
  3189. test "$with_gnu_ld" != yes && break
  3190. ;;
  3191.       esac
  3192.     fi
  3193.   done
  3194.   IFS="$lt_save_ifs"
  3195. else
  3196.   lt_cv_path_LD="$LD" # Let the user override the test with a path.
  3197. fi
  3198. fi
  3199. LD="$lt_cv_path_LD"
  3200. if test -n "$LD"; then
  3201.   echo "$as_me:$LINENO: result: $LD" >&5
  3202. echo "${ECHO_T}$LD" >&6
  3203. else
  3204.   echo "$as_me:$LINENO: result: no" >&5
  3205. echo "${ECHO_T}no" >&6
  3206. fi
  3207. test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in $PATH" >&5
  3208. echo "$as_me: error: no acceptable ld found in $PATH" >&2;}
  3209.    { (exit 1); exit 1; }; }
  3210. echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  3211. echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
  3212. if test "${lt_cv_prog_gnu_ld+set}" = set; then
  3213.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3214. else
  3215.   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
  3216. case `$LD -v 2>&1 </dev/null` in
  3217. *GNU* | *'with BFD'*)
  3218.   lt_cv_prog_gnu_ld=yes
  3219.   ;;
  3220. *)
  3221.   lt_cv_prog_gnu_ld=no
  3222.   ;;
  3223. esac
  3224. fi
  3225. echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  3226. echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
  3227. with_gnu_ld=$lt_cv_prog_gnu_ld
  3228. echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  3229. echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
  3230. if test "${lt_cv_ld_reload_flag+set}" = set; then