configure
上传用户:wstnjxml
上传日期:2014-04-03
资源大小:7248k
文件大小:733k
源码类别:

Windows CE

开发平台:

C/C++

  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. if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
  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="src/mpc_decoder.c"
  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 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS LIBTOOL_DEPS SIZE16 USIZE16 SIZE32 USIZE32 SIZE64 OPT 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. _ACEOF
  892. fi
  893. if test -n "$ac_init_help"; then
  894.   cat <<_ACEOF
  895. Optional Features:
  896.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  897.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  898.   --enable-shared[=PKGS]
  899.                           build shared libraries [default=yes]
  900.   --enable-static[=PKGS]
  901.                           build static libraries [default=yes]
  902.   --enable-fast-install[=PKGS]
  903.                           optimize for fast installation [default=yes]
  904.   --disable-dependency-tracking  speeds up one-time build
  905.   --enable-dependency-tracking   do not reject slow dependency extractors
  906.   --disable-libtool-lock  avoid locking (might break parallel builds)
  907. Optional Packages:
  908.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  909.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  910.   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  911.   --with-pic              try to use only PIC/non-PIC objects [default=use
  912.                           both]
  913.   --with-tags[=TAGS]
  914.                           include additional configurations [automatic]
  915. Some influential environment variables:
  916.   CC          C compiler command
  917.   CFLAGS      C compiler flags
  918.   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  919.               nonstandard directory <lib dir>
  920.   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
  921.               headers in a nonstandard directory <include dir>
  922.   CPP         C preprocessor
  923.   CXX         C++ compiler command
  924.   CXXFLAGS    C++ compiler flags
  925.   CXXCPP      C++ preprocessor
  926.   F77         Fortran 77 compiler command
  927.   FFLAGS      Fortran 77 compiler flags
  928. Use these variables to override the choices made by `configure' or to help
  929. it to find libraries and programs with nonstandard names/locations.
  930. _ACEOF
  931. fi
  932. if test "$ac_init_help" = "recursive"; then
  933.   # If there are subdirs, report their specific --help.
  934.   ac_popdir=`pwd`
  935.   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  936.     test -d $ac_dir || continue
  937.     ac_builddir=.
  938. if test "$ac_dir" != .; then
  939.   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^.[\/],,'`
  940.   # A "../" for each directory in $ac_dir_suffix.
  941.   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\/]*,../,g'`
  942. else
  943.   ac_dir_suffix= ac_top_builddir=
  944. fi
  945. case $srcdir in
  946.   .)  # No --srcdir option.  We are building in place.
  947.     ac_srcdir=.
  948.     if test -z "$ac_top_builddir"; then
  949.        ac_top_srcdir=.
  950.     else
  951.        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  952.     fi ;;
  953.   [\/]* | ?:[\/]* )  # Absolute path.
  954.     ac_srcdir=$srcdir$ac_dir_suffix;
  955.     ac_top_srcdir=$srcdir ;;
  956.   *) # Relative path.
  957.     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  958.     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  959. esac
  960. # Do not use `cd foo && pwd` to compute absolute paths, because
  961. # the directories may not exist.
  962. case `pwd` in
  963. .) ac_abs_builddir="$ac_dir";;
  964. *)
  965.   case "$ac_dir" in
  966.   .) ac_abs_builddir=`pwd`;;
  967.   [\/]* | ?:[\/]* ) ac_abs_builddir="$ac_dir";;
  968.   *) ac_abs_builddir=`pwd`/"$ac_dir";;
  969.   esac;;
  970. esac
  971. case $ac_abs_builddir in
  972. .) ac_abs_top_builddir=${ac_top_builddir}.;;
  973. *)
  974.   case ${ac_top_builddir}. in
  975.   .) ac_abs_top_builddir=$ac_abs_builddir;;
  976.   [\/]* | ?:[\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  977.   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  978.   esac;;
  979. esac
  980. case $ac_abs_builddir in
  981. .) ac_abs_srcdir=$ac_srcdir;;
  982. *)
  983.   case $ac_srcdir in
  984.   .) ac_abs_srcdir=$ac_abs_builddir;;
  985.   [\/]* | ?:[\/]* ) ac_abs_srcdir=$ac_srcdir;;
  986.   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  987.   esac;;
  988. esac
  989. case $ac_abs_builddir in
  990. .) ac_abs_top_srcdir=$ac_top_srcdir;;
  991. *)
  992.   case $ac_top_srcdir in
  993.   .) ac_abs_top_srcdir=$ac_abs_builddir;;
  994.   [\/]* | ?:[\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  995.   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  996.   esac;;
  997. esac
  998.     cd $ac_dir
  999.     # Check for guested configure; otherwise get Cygnus style configure.
  1000.     if test -f $ac_srcdir/configure.gnu; then
  1001.       echo
  1002.       $SHELL $ac_srcdir/configure.gnu  --help=recursive
  1003.     elif test -f $ac_srcdir/configure; then
  1004.       echo
  1005.       $SHELL $ac_srcdir/configure  --help=recursive
  1006.     elif test -f $ac_srcdir/configure.ac ||
  1007.    test -f $ac_srcdir/configure.in; then
  1008.       echo
  1009.       $ac_configure --help
  1010.     else
  1011.       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1012.     fi
  1013.     cd "$ac_popdir"
  1014.   done
  1015. fi
  1016. test -n "$ac_init_help" && exit 0
  1017. if $ac_init_version; then
  1018.   cat <<_ACEOF
  1019. Copyright (C) 2003 Free Software Foundation, Inc.
  1020. This configure script is free software; the Free Software Foundation
  1021. gives unlimited permission to copy, distribute and modify it.
  1022. _ACEOF
  1023.   exit 0
  1024. fi
  1025. exec 5>config.log
  1026. cat >&5 <<_ACEOF
  1027. This file contains any messages produced by compilers while
  1028. running configure, to aid debugging if configure makes a mistake.
  1029. It was created by $as_me, which was
  1030. generated by GNU Autoconf 2.59.  Invocation command line was
  1031.   $ $0 $@
  1032. _ACEOF
  1033. {
  1034. cat <<_ASUNAME
  1035. ## --------- ##
  1036. ## Platform. ##
  1037. ## --------- ##
  1038. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1039. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1040. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1041. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1042. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1043. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1044. /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1045. /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1046. /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1047. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1048. hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
  1049. /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1050. /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1051. /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1052. _ASUNAME
  1053. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1054. for as_dir in $PATH
  1055. do
  1056.   IFS=$as_save_IFS
  1057.   test -z "$as_dir" && as_dir=.
  1058.   echo "PATH: $as_dir"
  1059. done
  1060. } >&5
  1061. cat >&5 <<_ACEOF
  1062. ## ----------- ##
  1063. ## Core tests. ##
  1064. ## ----------- ##
  1065. _ACEOF
  1066. # Keep a trace of the command line.
  1067. # Strip out --no-create and --no-recursion so they do not pile up.
  1068. # Strip out --silent because we don't want to record it for future runs.
  1069. # Also quote any args containing shell meta-characters.
  1070. # Make two passes to allow for proper duplicate-argument suppression.
  1071. ac_configure_args=
  1072. ac_configure_args0=
  1073. ac_configure_args1=
  1074. ac_sep=
  1075. ac_must_keep_next=false
  1076. for ac_pass in 1 2
  1077. do
  1078.   for ac_arg
  1079.   do
  1080.     case $ac_arg in
  1081.     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1082.     -q | -quiet | --quiet | --quie | --qui | --qu | --q 
  1083.     | -silent | --silent | --silen | --sile | --sil)
  1084.       continue ;;
  1085.     *" "*|*" "*|*[[]~#$^&*(){}\|;<>?"']*)
  1086.       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\''/g"` ;;
  1087.     esac
  1088.     case $ac_pass in
  1089.     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1090.     2)
  1091.       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1092.       if test $ac_must_keep_next = true; then
  1093. ac_must_keep_next=false # Got value, back to normal.
  1094.       else
  1095. case $ac_arg in
  1096.   *=* | --config-cache | -C | -disable-* | --disable-* 
  1097.   | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* 
  1098.   | -q | -quiet | --q* | -silent | --sil* | -v | -verb* 
  1099.   | -with-* | --with-* | -without-* | --without-* | --x)
  1100.     case "$ac_configure_args0 " in
  1101.       "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1102.     esac
  1103.     ;;
  1104.   -* ) ac_must_keep_next=true ;;
  1105. esac
  1106.       fi
  1107.       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1108.       # Get rid of the leading space.
  1109.       ac_sep=" "
  1110.       ;;
  1111.     esac
  1112.   done
  1113. done
  1114. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1115. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1116. # When interrupted or exit'd, cleanup temporary files, and complete
  1117. # config.log.  We remove comments because anyway the quotes in there
  1118. # would cause problems or look ugly.
  1119. # WARNING: Be sure not to use single quotes in there, as some shells,
  1120. # such as our DU 5.0 friend, will then `close' the trap.
  1121. trap 'exit_status=$?
  1122.   # Save into config.log some information that might help in debugging.
  1123.   {
  1124.     echo
  1125.     cat <<_ASBOX
  1126. ## ---------------- ##
  1127. ## Cache variables. ##
  1128. ## ---------------- ##
  1129. _ASBOX
  1130.     echo
  1131.     # The following way of writing the cache mishandles newlines in values,
  1132. {
  1133.   (set) 2>&1 |
  1134.     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1135.     *ac_space= *)
  1136.       sed -n 
  1137. "s/'"'"'/'"'"'\\'"'"''"'"'/g;
  1138.   s/^\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\)=\(.*\)/\1='"'"'\2'"'"'/p"
  1139.       ;;
  1140.     *)
  1141.       sed -n 
  1142. "s/^\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\)=\(.*\)/\1=\2/p"
  1143.       ;;
  1144.     esac;
  1145. }
  1146.     echo
  1147.     cat <<_ASBOX
  1148. ## ----------------- ##
  1149. ## Output variables. ##
  1150. ## ----------------- ##
  1151. _ASBOX
  1152.     echo
  1153.     for ac_var in $ac_subst_vars
  1154.     do
  1155.       eval ac_val=$`echo $ac_var`
  1156.       echo "$ac_var='"'"'$ac_val'"'"'"
  1157.     done | sort
  1158.     echo
  1159.     if test -n "$ac_subst_files"; then
  1160.       cat <<_ASBOX
  1161. ## ------------- ##
  1162. ## Output files. ##
  1163. ## ------------- ##
  1164. _ASBOX
  1165.       echo
  1166.       for ac_var in $ac_subst_files
  1167.       do
  1168. eval ac_val=$`echo $ac_var`
  1169. echo "$ac_var='"'"'$ac_val'"'"'"
  1170.       done | sort
  1171.       echo
  1172.     fi
  1173.     if test -s confdefs.h; then
  1174.       cat <<_ASBOX
  1175. ## ----------- ##
  1176. ## confdefs.h. ##
  1177. ## ----------- ##
  1178. _ASBOX
  1179.       echo
  1180.       sed "/^$/d" confdefs.h | sort
  1181.       echo
  1182.     fi
  1183.     test "$ac_signal" != 0 &&
  1184.       echo "$as_me: caught signal $ac_signal"
  1185.     echo "$as_me: exit $exit_status"
  1186.   } >&5
  1187.   rm -f core *.core &&
  1188.   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1189.     exit $exit_status
  1190.      ' 0
  1191. for ac_signal in 1 2 13 15; do
  1192.   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1193. done
  1194. ac_signal=0
  1195. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1196. rm -rf conftest* confdefs.h
  1197. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1198. echo >confdefs.h
  1199. # Predefined preprocessor variables.
  1200. cat >>confdefs.h <<_ACEOF
  1201. #define PACKAGE_NAME "$PACKAGE_NAME"
  1202. _ACEOF
  1203. cat >>confdefs.h <<_ACEOF
  1204. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1205. _ACEOF
  1206. cat >>confdefs.h <<_ACEOF
  1207. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1208. _ACEOF
  1209. cat >>confdefs.h <<_ACEOF
  1210. #define PACKAGE_STRING "$PACKAGE_STRING"
  1211. _ACEOF
  1212. cat >>confdefs.h <<_ACEOF
  1213. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1214. _ACEOF
  1215. # Let the site file select an alternate cache file if it wants to.
  1216. # Prefer explicitly selected file to automatically selected ones.
  1217. if test -z "$CONFIG_SITE"; then
  1218.   if test "x$prefix" != xNONE; then
  1219.     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1220.   else
  1221.     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1222.   fi
  1223. fi
  1224. for ac_site_file in $CONFIG_SITE; do
  1225.   if test -r "$ac_site_file"; then
  1226.     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1227. echo "$as_me: loading site script $ac_site_file" >&6;}
  1228.     sed 's/^/| /' "$ac_site_file" >&5
  1229.     . "$ac_site_file"
  1230.   fi
  1231. done
  1232. if test -r "$cache_file"; then
  1233.   # Some versions of bash will fail to source /dev/null (special
  1234.   # files actually), so we avoid doing that.
  1235.   if test -f "$cache_file"; then
  1236.     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1237. echo "$as_me: loading cache $cache_file" >&6;}
  1238.     case $cache_file in
  1239.       [\/]* | ?:[\/]* ) . $cache_file;;
  1240.       *)                      . ./$cache_file;;
  1241.     esac
  1242.   fi
  1243. else
  1244.   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1245. echo "$as_me: creating cache $cache_file" >&6;}
  1246.   >$cache_file
  1247. fi
  1248. # Check that the precious variables saved in the cache have kept the same
  1249. # value.
  1250. ac_cache_corrupted=false
  1251. for ac_var in `(set) 2>&1 |
  1252.        sed -n 's/^ac_env_([a-zA-Z_0-9]*)_set=.*/1/p'`; do
  1253.   eval ac_old_set=$ac_cv_env_${ac_var}_set
  1254.   eval ac_new_set=$ac_env_${ac_var}_set
  1255.   eval ac_old_val="$ac_cv_env_${ac_var}_value"
  1256.   eval ac_new_val="$ac_env_${ac_var}_value"
  1257.   case $ac_old_set,$ac_new_set in
  1258.     set,)
  1259.       { echo "$as_me:$LINENO: error: `$ac_var' was set to `$ac_old_val' in the previous run" >&5
  1260. echo "$as_me: error: `$ac_var' was set to `$ac_old_val' in the previous run" >&2;}
  1261.       ac_cache_corrupted=: ;;
  1262.     ,set)
  1263.       { echo "$as_me:$LINENO: error: `$ac_var' was not set in the previous run" >&5
  1264. echo "$as_me: error: `$ac_var' was not set in the previous run" >&2;}
  1265.       ac_cache_corrupted=: ;;
  1266.     ,);;
  1267.     *)
  1268.       if test "x$ac_old_val" != "x$ac_new_val"; then
  1269. { echo "$as_me:$LINENO: error: `$ac_var' has changed since the previous run:" >&5
  1270. echo "$as_me: error: `$ac_var' has changed since the previous run:" >&2;}
  1271. { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1272. echo "$as_me:   former value:  $ac_old_val" >&2;}
  1273. { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1274. echo "$as_me:   current value: $ac_new_val" >&2;}
  1275. ac_cache_corrupted=:
  1276.       fi;;
  1277.   esac
  1278.   # Pass precious variables to config.status.
  1279.   if test "$ac_new_set" = set; then
  1280.     case $ac_new_val in
  1281.     *" "*|*" "*|*[[]~#$^&*(){}\|;<>?"']*)
  1282.       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\''/g"` ;;
  1283.     *) ac_arg=$ac_var=$ac_new_val ;;
  1284.     esac
  1285.     case " $ac_configure_args " in
  1286.       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1287.       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1288.     esac
  1289.   fi
  1290. done
  1291. if $ac_cache_corrupted; then
  1292.   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1293. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1294.   { { echo "$as_me:$LINENO: error: run `make distclean' and/or `rm $cache_file' and start over" >&5
  1295. echo "$as_me: error: run `make distclean' and/or `rm $cache_file' and start over" >&2;}
  1296.    { (exit 1); exit 1; }; }
  1297. fi
  1298. ac_ext=c
  1299. ac_cpp='$CPP $CPPFLAGS'
  1300. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1301. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1302. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1303. ac_aux_dir=
  1304. for ac_dir in config $srcdir/config; do
  1305.   if test -f $ac_dir/install-sh; then
  1306.     ac_aux_dir=$ac_dir
  1307.     ac_install_sh="$ac_aux_dir/install-sh -c"
  1308.     break
  1309.   elif test -f $ac_dir/install.sh; then
  1310.     ac_aux_dir=$ac_dir
  1311.     ac_install_sh="$ac_aux_dir/install.sh -c"
  1312.     break
  1313.   elif test -f $ac_dir/shtool; then
  1314.     ac_aux_dir=$ac_dir
  1315.     ac_install_sh="$ac_aux_dir/shtool install -c"
  1316.     break
  1317.   fi
  1318. done
  1319. if test -z "$ac_aux_dir"; then
  1320.   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
  1321. echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
  1322.    { (exit 1); exit 1; }; }
  1323. fi
  1324. ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1325. ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1326. ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1327. am__api_version="1.9"
  1328. # Find a good install program.  We prefer a C program (faster),
  1329. # so one script is as good as another.  But avoid the broken or
  1330. # incompatible versions:
  1331. # SysV /etc/install, /usr/sbin/install
  1332. # SunOS /usr/etc/install
  1333. # IRIX /sbin/install
  1334. # AIX /bin/install
  1335. # AmigaOS /C/install, which installs bootblocks on floppy discs
  1336. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1337. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1338. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1339. # OS/2's system install, which has a completely different semantic
  1340. # ./install, which can be erroneously created by make from ./install.sh.
  1341. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1342. echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  1343. if test -z "$INSTALL"; then
  1344. if test "${ac_cv_path_install+set}" = set; then
  1345.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1346. else
  1347.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1348. for as_dir in $PATH
  1349. do
  1350.   IFS=$as_save_IFS
  1351.   test -z "$as_dir" && as_dir=.
  1352.   # Account for people who put trailing slashes in PATH elements.
  1353. case $as_dir/ in
  1354.   ./ | .// | /cC/* | 
  1355.   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | 
  1356.   ?:\/os2\/install\/* | ?:\/OS2\/INSTALL\/* | 
  1357.   /usr/ucb/* ) ;;
  1358.   *)
  1359.     # OSF1 and SCO ODT 3.0 have their own names for install.
  1360.     # Don't use installbsd from OSF since it installs stuff as root
  1361.     # by default.
  1362.     for ac_prog in ginstall scoinst install; do
  1363.       for ac_exec_ext in '' $ac_executable_extensions; do
  1364. if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  1365.   if test $ac_prog = install &&
  1366.     grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1367.     # AIX install.  It has an incompatible calling convention.
  1368.     :
  1369.   elif test $ac_prog = install &&
  1370.     grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1371.     # program-specific install script used by HP pwplus--don't use.
  1372.     :
  1373.   else
  1374.     ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1375.     break 3
  1376.   fi
  1377. fi
  1378.       done
  1379.     done
  1380.     ;;
  1381. esac
  1382. done
  1383. fi
  1384.   if test "${ac_cv_path_install+set}" = set; then
  1385.     INSTALL=$ac_cv_path_install
  1386.   else
  1387.     # As a last resort, use the slow shell script.  We don't cache a
  1388.     # path for INSTALL within a source directory, because that will
  1389.     # break other packages using the cache if that directory is
  1390.     # removed, or if the path is relative.
  1391.     INSTALL=$ac_install_sh
  1392.   fi
  1393. fi
  1394. echo "$as_me:$LINENO: result: $INSTALL" >&5
  1395. echo "${ECHO_T}$INSTALL" >&6
  1396. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1397. # It thinks the first close brace ends the variable substitution.
  1398. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1399. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1400. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1401. echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1402. echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
  1403. # Just in case
  1404. sleep 1
  1405. echo timestamp > conftest.file
  1406. # Do `set' in a subshell so we don't clobber the current shell's
  1407. # arguments.  Must try -L first in case configure is actually a
  1408. # symlink; some systems play weird games with the mod time of symlinks
  1409. # (eg FreeBSD returns the mod time of the symlink's containing
  1410. # directory).
  1411. if (
  1412.    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1413.    if test "$*" = "X"; then
  1414.       # -L didn't work.
  1415.       set X `ls -t $srcdir/configure conftest.file`
  1416.    fi
  1417.    rm -f conftest.file
  1418.    if test "$*" != "X $srcdir/configure conftest.file" 
  1419.       && test "$*" != "X conftest.file $srcdir/configure"; then
  1420.       # If neither matched, then we have a broken ls.  This can happen
  1421.       # if, for instance, CONFIG_SHELL is bash and it inherits a
  1422.       # broken ls alias from the environment.  This has actually
  1423.       # happened.  Such a system could not be considered "sane".
  1424.       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  1425. alias in your environment" >&5
  1426. echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  1427. alias in your environment" >&2;}
  1428.    { (exit 1); exit 1; }; }
  1429.    fi
  1430.    test "$2" = conftest.file
  1431.    )
  1432. then
  1433.    # Ok.
  1434.    :
  1435. else
  1436.    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1437. Check your system clock" >&5
  1438. echo "$as_me: error: newly created file is older than distributed files!
  1439. Check your system clock" >&2;}
  1440.    { (exit 1); exit 1; }; }
  1441. fi
  1442. echo "$as_me:$LINENO: result: yes" >&5
  1443. echo "${ECHO_T}yes" >&6
  1444. test "$program_prefix" != NONE &&
  1445.   program_transform_name="s,^,$program_prefix,;$program_transform_name"
  1446. # Use a double $ so make ignores it.
  1447. test "$program_suffix" != NONE &&
  1448.   program_transform_name="s,$,$program_suffix,;$program_transform_name"
  1449. # Double any  or $.  echo might interpret backslashes.
  1450. # By default was `s,x,x', remove it if useless.
  1451. cat <<_ACEOF >conftest.sed
  1452. s/[\$]/&&/g;s/;s,x,x,$//
  1453. _ACEOF
  1454. program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1455. rm conftest.sed
  1456. # expand $ac_aux_dir to an absolute path
  1457. am_aux_dir=`cd $ac_aux_dir && pwd`
  1458. test x"${MISSING+set}" = xset || MISSING="${SHELL} $am_aux_dir/missing"
  1459. # Use eval to expand $SHELL
  1460. if eval "$MISSING --run true"; then
  1461.   am_missing_run="$MISSING --run "
  1462. else
  1463.   am_missing_run=
  1464.   { echo "$as_me:$LINENO: WARNING: `missing' script is too old or missing" >&5
  1465. echo "$as_me: WARNING: `missing' script is too old or missing" >&2;}
  1466. fi
  1467. if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  1468.   # We used to keeping the `.' as first argument, in order to
  1469.   # allow $(mkdir_p) to be used without argument.  As in
  1470.   #   $(mkdir_p) $(somedir)
  1471.   # where $(somedir) is conditionally defined.  However this is wrong
  1472.   # for two reasons:
  1473.   #  1. if the package is installed by a user who cannot write `.'
  1474.   #     make install will fail,
  1475.   #  2. the above comment should most certainly read
  1476.   #     $(mkdir_p) $(DESTDIR)$(somedir)
  1477.   #     so it does not work when $(somedir) is undefined and
  1478.   #     $(DESTDIR) is not.
  1479.   #  To support the latter case, we have to write
  1480.   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  1481.   #  so the `.' trick is pointless.
  1482.   mkdir_p='mkdir -p --'
  1483. else
  1484.   # On NextStep and OpenStep, the `mkdir' command does not
  1485.   # recognize any option.  It will interpret all options as
  1486.   # directories to create, and then abort because `.' already
  1487.   # exists.
  1488.   for d in ./-p ./--version;
  1489.   do
  1490.     test -d $d && rmdir $d
  1491.   done
  1492.   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  1493.   if test -f "$ac_aux_dir/mkinstalldirs"; then
  1494.     mkdir_p='$(mkinstalldirs)'
  1495.   else
  1496.     mkdir_p='$(install_sh) -d'
  1497.   fi
  1498. fi
  1499. for ac_prog in gawk mawk nawk awk
  1500. do
  1501.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  1502. set dummy $ac_prog; ac_word=$2
  1503. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1504. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1505. if test "${ac_cv_prog_AWK+set}" = set; then
  1506.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1507. else
  1508.   if test -n "$AWK"; then
  1509.   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1510. else
  1511. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1512. for as_dir in $PATH
  1513. do
  1514.   IFS=$as_save_IFS
  1515.   test -z "$as_dir" && as_dir=.
  1516.   for ac_exec_ext in '' $ac_executable_extensions; do
  1517.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1518.     ac_cv_prog_AWK="$ac_prog"
  1519.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1520.     break 2
  1521.   fi
  1522. done
  1523. done
  1524. fi
  1525. fi
  1526. AWK=$ac_cv_prog_AWK
  1527. if test -n "$AWK"; then
  1528.   echo "$as_me:$LINENO: result: $AWK" >&5
  1529. echo "${ECHO_T}$AWK" >&6
  1530. else
  1531.   echo "$as_me:$LINENO: result: no" >&5
  1532. echo "${ECHO_T}no" >&6
  1533. fi
  1534.   test -n "$AWK" && break
  1535. done
  1536. echo "$as_me:$LINENO: checking whether ${MAKE-make} sets $(MAKE)" >&5
  1537. echo $ECHO_N "checking whether ${MAKE-make} sets $(MAKE)... $ECHO_C" >&6
  1538. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
  1539. if eval "test "${ac_cv_prog_make_${ac_make}_set+set}" = set"; then
  1540.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1541. else
  1542.   cat >conftest.make <<_ACEOF
  1543. all:
  1544. @echo 'ac_maketemp="$(MAKE)"'
  1545. _ACEOF
  1546. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1547. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  1548. if test -n "$ac_maketemp"; then
  1549.   eval ac_cv_prog_make_${ac_make}_set=yes
  1550. else
  1551.   eval ac_cv_prog_make_${ac_make}_set=no
  1552. fi
  1553. rm -f conftest.make
  1554. fi
  1555. if eval "test "`echo '$ac_cv_prog_make_'${ac_make}_set`" = yes"; then
  1556.   echo "$as_me:$LINENO: result: yes" >&5
  1557. echo "${ECHO_T}yes" >&6
  1558.   SET_MAKE=
  1559. else
  1560.   echo "$as_me:$LINENO: result: no" >&5
  1561. echo "${ECHO_T}no" >&6
  1562.   SET_MAKE="MAKE=${MAKE-make}"
  1563. fi
  1564. rm -rf .tst 2>/dev/null
  1565. mkdir .tst 2>/dev/null
  1566. if test -d .tst; then
  1567.   am__leading_dot=.
  1568. else
  1569.   am__leading_dot=_
  1570. fi
  1571. rmdir .tst 2>/dev/null
  1572. # test to see if srcdir already configured
  1573. if test "`cd $srcdir && pwd`" != "`pwd`" &&
  1574.    test -f $srcdir/config.status; then
  1575.   { { echo "$as_me:$LINENO: error: source directory already configured; run "make distclean" there first" >&5
  1576. echo "$as_me: error: source directory already configured; run "make distclean" there first" >&2;}
  1577.    { (exit 1); exit 1; }; }
  1578. fi
  1579. # test whether we have cygpath
  1580. if test -z "$CYGPATH_W"; then
  1581.   if (cygpath --version) >/dev/null 2>/dev/null; then
  1582.     CYGPATH_W='cygpath -w'
  1583.   else
  1584.     CYGPATH_W=echo
  1585.   fi
  1586. fi
  1587. # Define the identity of the package.
  1588.  PACKAGE=libmusepack
  1589.  VERSION=1.1.1
  1590. cat >>confdefs.h <<_ACEOF
  1591. #define PACKAGE "$PACKAGE"
  1592. _ACEOF
  1593. cat >>confdefs.h <<_ACEOF
  1594. #define VERSION "$VERSION"
  1595. _ACEOF
  1596. # Some tools Automake needs.
  1597. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  1598. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  1599. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  1600. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  1601. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  1602. install_sh=${install_sh-"$am_aux_dir/install-sh"}
  1603. # Installed binaries are usually stripped using `strip' when the user
  1604. # run `make install-strip'.  However `strip' might not be the right
  1605. # tool to use in cross-compilation environments, therefore Automake
  1606. # will honor the `STRIP' environment variable to overrule this program.
  1607. if test "$cross_compiling" != no; then
  1608.   if test -n "$ac_tool_prefix"; then
  1609.   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1610. set dummy ${ac_tool_prefix}strip; ac_word=$2
  1611. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1612. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1613. if test "${ac_cv_prog_STRIP+set}" = set; then
  1614.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1615. else
  1616.   if test -n "$STRIP"; then
  1617.   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1618. else
  1619. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1620. for as_dir in $PATH
  1621. do
  1622.   IFS=$as_save_IFS
  1623.   test -z "$as_dir" && as_dir=.
  1624.   for ac_exec_ext in '' $ac_executable_extensions; do
  1625.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1626.     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1627.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1628.     break 2
  1629.   fi
  1630. done
  1631. done
  1632. fi
  1633. fi
  1634. STRIP=$ac_cv_prog_STRIP
  1635. if test -n "$STRIP"; then
  1636.   echo "$as_me:$LINENO: result: $STRIP" >&5
  1637. echo "${ECHO_T}$STRIP" >&6
  1638. else
  1639.   echo "$as_me:$LINENO: result: no" >&5
  1640. echo "${ECHO_T}no" >&6
  1641. fi
  1642. fi
  1643. if test -z "$ac_cv_prog_STRIP"; then
  1644.   ac_ct_STRIP=$STRIP
  1645.   # Extract the first word of "strip", so it can be a program name with args.
  1646. set dummy strip; ac_word=$2
  1647. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1648. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1649. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  1650.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1651. else
  1652.   if test -n "$ac_ct_STRIP"; then
  1653.   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1654. else
  1655. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1656. for as_dir in $PATH
  1657. do
  1658.   IFS=$as_save_IFS
  1659.   test -z "$as_dir" && as_dir=.
  1660.   for ac_exec_ext in '' $ac_executable_extensions; do
  1661.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1662.     ac_cv_prog_ac_ct_STRIP="strip"
  1663.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1664.     break 2
  1665.   fi
  1666. done
  1667. done
  1668.   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
  1669. fi
  1670. fi
  1671. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1672. if test -n "$ac_ct_STRIP"; then
  1673.   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1674. echo "${ECHO_T}$ac_ct_STRIP" >&6
  1675. else
  1676.   echo "$as_me:$LINENO: result: no" >&5
  1677. echo "${ECHO_T}no" >&6
  1678. fi
  1679.   STRIP=$ac_ct_STRIP
  1680. else
  1681.   STRIP="$ac_cv_prog_STRIP"
  1682. fi
  1683. fi
  1684. INSTALL_STRIP_PROGRAM="${SHELL} $(install_sh) -c -s"
  1685. # We need awk for the "check" target.  The system "awk" is bad on
  1686. # some platforms.
  1687. # Always define AMTAR for backward compatibility.
  1688. AMTAR=${AMTAR-"${am_missing_run}tar"}
  1689. am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  1690.           ac_config_headers="$ac_config_headers include/config.h"
  1691. # Check whether --enable-shared or --disable-shared was given.
  1692. if test "${enable_shared+set}" = set; then
  1693.   enableval="$enable_shared"
  1694.   p=${PACKAGE-default}
  1695.     case $enableval in
  1696.     yes) enable_shared=yes ;;
  1697.     no) enable_shared=no ;;
  1698.     *)
  1699.       enable_shared=no
  1700.       # Look at the argument we got.  We use all the common list separators.
  1701.       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1702.       for pkg in $enableval; do
  1703. IFS="$lt_save_ifs"
  1704. if test "X$pkg" = "X$p"; then
  1705.   enable_shared=yes
  1706. fi
  1707.       done
  1708.       IFS="$lt_save_ifs"
  1709.       ;;
  1710.     esac
  1711. else
  1712.   enable_shared=yes
  1713. fi;
  1714. # Check whether --enable-static or --disable-static was given.
  1715. if test "${enable_static+set}" = set; then
  1716.   enableval="$enable_static"
  1717.   p=${PACKAGE-default}
  1718.     case $enableval in
  1719.     yes) enable_static=yes ;;
  1720.     no) enable_static=no ;;
  1721.     *)
  1722.      enable_static=no
  1723.       # Look at the argument we got.  We use all the common list separators.
  1724.       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1725.       for pkg in $enableval; do
  1726. IFS="$lt_save_ifs"
  1727. if test "X$pkg" = "X$p"; then
  1728.   enable_static=yes
  1729. fi
  1730.       done
  1731.       IFS="$lt_save_ifs"
  1732.       ;;
  1733.     esac
  1734. else
  1735.   enable_static=yes
  1736. fi;
  1737. # Check whether --enable-fast-install or --disable-fast-install was given.
  1738. if test "${enable_fast_install+set}" = set; then
  1739.   enableval="$enable_fast_install"
  1740.   p=${PACKAGE-default}
  1741.     case $enableval in
  1742.     yes) enable_fast_install=yes ;;
  1743.     no) enable_fast_install=no ;;
  1744.     *)
  1745.       enable_fast_install=no
  1746.       # Look at the argument we got.  We use all the common list separators.
  1747.       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1748.       for pkg in $enableval; do
  1749. IFS="$lt_save_ifs"
  1750. if test "X$pkg" = "X$p"; then
  1751.   enable_fast_install=yes
  1752. fi
  1753.       done
  1754.       IFS="$lt_save_ifs"
  1755.       ;;
  1756.     esac
  1757. else
  1758.   enable_fast_install=yes
  1759. fi;
  1760. # Make sure we can run config.sub.
  1761. $ac_config_sub sun4 >/dev/null 2>&1 ||
  1762.   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
  1763. echo "$as_me: error: cannot run $ac_config_sub" >&2;}
  1764.    { (exit 1); exit 1; }; }
  1765. echo "$as_me:$LINENO: checking build system type" >&5
  1766. echo $ECHO_N "checking build system type... $ECHO_C" >&6
  1767. if test "${ac_cv_build+set}" = set; then
  1768.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1769. else
  1770.   ac_cv_build_alias=$build_alias
  1771. test -z "$ac_cv_build_alias" &&
  1772.   ac_cv_build_alias=`$ac_config_guess`
  1773. test -z "$ac_cv_build_alias" &&
  1774.   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1775. echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1776.    { (exit 1); exit 1; }; }
  1777. ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  1778.   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
  1779. echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
  1780.    { (exit 1); exit 1; }; }
  1781. fi
  1782. echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1783. echo "${ECHO_T}$ac_cv_build" >&6
  1784. build=$ac_cv_build
  1785. build_cpu=`echo $ac_cv_build | sed 's/^([^-]*)-([^-]*)-(.*)$/1/'`
  1786. build_vendor=`echo $ac_cv_build | sed 's/^([^-]*)-([^-]*)-(.*)$/2/'`
  1787. build_os=`echo $ac_cv_build | sed 's/^([^-]*)-([^-]*)-(.*)$/3/'`
  1788. echo "$as_me:$LINENO: checking host system type" >&5
  1789. echo $ECHO_N "checking host system type... $ECHO_C" >&6
  1790. if test "${ac_cv_host+set}" = set; then
  1791.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1792. else
  1793.   ac_cv_host_alias=$host_alias
  1794. test -z "$ac_cv_host_alias" &&
  1795.   ac_cv_host_alias=$ac_cv_build_alias
  1796. ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  1797.   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
  1798. echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
  1799.    { (exit 1); exit 1; }; }
  1800. fi
  1801. echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  1802. echo "${ECHO_T}$ac_cv_host" >&6
  1803. host=$ac_cv_host
  1804. host_cpu=`echo $ac_cv_host | sed 's/^([^-]*)-([^-]*)-(.*)$/1/'`
  1805. host_vendor=`echo $ac_cv_host | sed 's/^([^-]*)-([^-]*)-(.*)$/2/'`
  1806. host_os=`echo $ac_cv_host | sed 's/^([^-]*)-([^-]*)-(.*)$/3/'`
  1807. DEPDIR="${am__leading_dot}deps"
  1808.           ac_config_commands="$ac_config_commands depfiles"
  1809. am_make=${MAKE-make}
  1810. cat > confinc << 'END'
  1811. am__doit:
  1812. @echo done
  1813. .PHONY: am__doit
  1814. END
  1815. # If we don't find an include directive, just comment out the code.
  1816. echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  1817. echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
  1818. am__include="#"
  1819. am__quote=
  1820. _am_result=none
  1821. # First try GNU make style include.
  1822. echo "include confinc" > confmf
  1823. # We grep out `Entering directory' and `Leaving directory'
  1824. # messages which can occur if `w' ends up in MAKEFLAGS.
  1825. # In particular we don't look at `^make:' because GNU make might
  1826. # be invoked under some other name (usually "gmake"), in which
  1827. # case it prints its new name instead of `make'.
  1828. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  1829.    am__include=include
  1830.    am__quote=
  1831.    _am_result=GNU
  1832. fi
  1833. # Now try BSD make style include.
  1834. if test "$am__include" = "#"; then
  1835.    echo '.include "confinc"' > confmf
  1836.    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  1837.       am__include=.include
  1838.       am__quote="""
  1839.       _am_result=BSD
  1840.    fi
  1841. fi
  1842. echo "$as_me:$LINENO: result: $_am_result" >&5
  1843. echo "${ECHO_T}$_am_result" >&6
  1844. rm -f confinc confmf
  1845. # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
  1846. if test "${enable_dependency_tracking+set}" = set; then
  1847.   enableval="$enable_dependency_tracking"
  1848. fi;
  1849. if test "x$enable_dependency_tracking" != xno; then
  1850.   am_depcomp="$ac_aux_dir/depcomp"
  1851.   AMDEPBACKSLASH=''
  1852. fi
  1853. if test "x$enable_dependency_tracking" != xno; then
  1854.   AMDEP_TRUE=
  1855.   AMDEP_FALSE='#'
  1856. else
  1857.   AMDEP_TRUE='#'
  1858.   AMDEP_FALSE=
  1859. fi
  1860. ac_ext=c
  1861. ac_cpp='$CPP $CPPFLAGS'
  1862. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1863. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1864. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1865. if test -n "$ac_tool_prefix"; then
  1866.   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1867. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1868. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1869. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1870. if test "${ac_cv_prog_CC+set}" = set; then
  1871.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1872. else
  1873.   if test -n "$CC"; then
  1874.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1875. else
  1876. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1877. for as_dir in $PATH
  1878. do
  1879.   IFS=$as_save_IFS
  1880.   test -z "$as_dir" && as_dir=.
  1881.   for ac_exec_ext in '' $ac_executable_extensions; do
  1882.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1883.     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1884.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1885.     break 2
  1886.   fi
  1887. done
  1888. done
  1889. fi
  1890. fi
  1891. CC=$ac_cv_prog_CC
  1892. if test -n "$CC"; then
  1893.   echo "$as_me:$LINENO: result: $CC" >&5
  1894. echo "${ECHO_T}$CC" >&6
  1895. else
  1896.   echo "$as_me:$LINENO: result: no" >&5
  1897. echo "${ECHO_T}no" >&6
  1898. fi
  1899. fi
  1900. if test -z "$ac_cv_prog_CC"; then
  1901.   ac_ct_CC=$CC
  1902.   # Extract the first word of "gcc", so it can be a program name with args.
  1903. set dummy gcc; ac_word=$2
  1904. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1905. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1906. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1907.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1908. else
  1909.   if test -n "$ac_ct_CC"; then
  1910.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1911. else
  1912. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1913. for as_dir in $PATH
  1914. do
  1915.   IFS=$as_save_IFS
  1916.   test -z "$as_dir" && as_dir=.
  1917.   for ac_exec_ext in '' $ac_executable_extensions; do
  1918.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1919.     ac_cv_prog_ac_ct_CC="gcc"
  1920.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1921.     break 2
  1922.   fi
  1923. done
  1924. done
  1925. fi
  1926. fi
  1927. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1928. if test -n "$ac_ct_CC"; then
  1929.   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1930. echo "${ECHO_T}$ac_ct_CC" >&6
  1931. else
  1932.   echo "$as_me:$LINENO: result: no" >&5
  1933. echo "${ECHO_T}no" >&6
  1934. fi
  1935.   CC=$ac_ct_CC
  1936. else
  1937.   CC="$ac_cv_prog_CC"
  1938. fi
  1939. if test -z "$CC"; then
  1940.   if test -n "$ac_tool_prefix"; then
  1941.   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1942. set dummy ${ac_tool_prefix}cc; ac_word=$2
  1943. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1944. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1945. if test "${ac_cv_prog_CC+set}" = set; then
  1946.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1947. else
  1948.   if test -n "$CC"; then
  1949.   ac_cv_prog_CC="$CC" # Let the user override the test.
  1950. else
  1951. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1952. for as_dir in $PATH
  1953. do
  1954.   IFS=$as_save_IFS
  1955.   test -z "$as_dir" && as_dir=.
  1956.   for ac_exec_ext in '' $ac_executable_extensions; do
  1957.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1958.     ac_cv_prog_CC="${ac_tool_prefix}cc"
  1959.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1960.     break 2
  1961.   fi
  1962. done
  1963. done
  1964. fi
  1965. fi
  1966. CC=$ac_cv_prog_CC
  1967. if test -n "$CC"; then
  1968.   echo "$as_me:$LINENO: result: $CC" >&5
  1969. echo "${ECHO_T}$CC" >&6
  1970. else
  1971.   echo "$as_me:$LINENO: result: no" >&5
  1972. echo "${ECHO_T}no" >&6
  1973. fi
  1974. fi
  1975. if test -z "$ac_cv_prog_CC"; then
  1976.   ac_ct_CC=$CC
  1977.   # Extract the first word of "cc", so it can be a program name with args.
  1978. set dummy cc; ac_word=$2
  1979. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1980. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1981. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1982.   echo $ECHO_N "(cached) $ECHO_C" >&6
  1983. else
  1984.   if test -n "$ac_ct_CC"; then
  1985.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1986. else
  1987. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1988. for as_dir in $PATH
  1989. do
  1990.   IFS=$as_save_IFS
  1991.   test -z "$as_dir" && as_dir=.
  1992.   for ac_exec_ext in '' $ac_executable_extensions; do
  1993.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1994.     ac_cv_prog_ac_ct_CC="cc"
  1995.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1996.     break 2
  1997.   fi
  1998. done
  1999. done
  2000. fi
  2001. fi
  2002. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2003. if test -n "$ac_ct_CC"; then
  2004.   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2005. echo "${ECHO_T}$ac_ct_CC" >&6
  2006. else
  2007.   echo "$as_me:$LINENO: result: no" >&5
  2008. echo "${ECHO_T}no" >&6
  2009. fi
  2010.   CC=$ac_ct_CC
  2011. else
  2012.   CC="$ac_cv_prog_CC"
  2013. fi
  2014. fi
  2015. if test -z "$CC"; then
  2016.   # Extract the first word of "cc", so it can be a program name with args.
  2017. set dummy cc; ac_word=$2
  2018. echo "$as_me:$LINENO: checking for $ac_word" >&5
  2019. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2020. if test "${ac_cv_prog_CC+set}" = set; then
  2021.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2022. else
  2023.   if test -n "$CC"; then
  2024.   ac_cv_prog_CC="$CC" # Let the user override the test.
  2025. else
  2026.   ac_prog_rejected=no
  2027. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2028. for as_dir in $PATH
  2029. do
  2030.   IFS=$as_save_IFS
  2031.   test -z "$as_dir" && as_dir=.
  2032.   for ac_exec_ext in '' $ac_executable_extensions; do
  2033.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2034.     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2035.        ac_prog_rejected=yes
  2036.        continue
  2037.      fi
  2038.     ac_cv_prog_CC="cc"
  2039.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2040.     break 2
  2041.   fi
  2042. done
  2043. done
  2044. if test $ac_prog_rejected = yes; then
  2045.   # We found a bogon in the path, so make sure we never use it.
  2046.   set dummy $ac_cv_prog_CC
  2047.   shift
  2048.   if test $# != 0; then
  2049.     # We chose a different compiler from the bogus one.
  2050.     # However, it has the same basename, so the bogon will be chosen
  2051.     # first if we set CC to just the basename; use the full file name.
  2052.     shift
  2053.     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2054.   fi
  2055. fi
  2056. fi
  2057. fi
  2058. CC=$ac_cv_prog_CC
  2059. if test -n "$CC"; then
  2060.   echo "$as_me:$LINENO: result: $CC" >&5
  2061. echo "${ECHO_T}$CC" >&6
  2062. else
  2063.   echo "$as_me:$LINENO: result: no" >&5
  2064. echo "${ECHO_T}no" >&6
  2065. fi
  2066. fi
  2067. if test -z "$CC"; then
  2068.   if test -n "$ac_tool_prefix"; then
  2069.   for ac_prog in cl
  2070.   do
  2071.     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2072. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2073. echo "$as_me:$LINENO: checking for $ac_word" >&5
  2074. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2075. if test "${ac_cv_prog_CC+set}" = set; then
  2076.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2077. else
  2078.   if test -n "$CC"; then
  2079.   ac_cv_prog_CC="$CC" # Let the user override the test.
  2080. else
  2081. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2082. for as_dir in $PATH
  2083. do
  2084.   IFS=$as_save_IFS
  2085.   test -z "$as_dir" && as_dir=.
  2086.   for ac_exec_ext in '' $ac_executable_extensions; do
  2087.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2088.     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2089.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2090.     break 2
  2091.   fi
  2092. done
  2093. done
  2094. fi
  2095. fi
  2096. CC=$ac_cv_prog_CC
  2097. if test -n "$CC"; then
  2098.   echo "$as_me:$LINENO: result: $CC" >&5
  2099. echo "${ECHO_T}$CC" >&6
  2100. else
  2101.   echo "$as_me:$LINENO: result: no" >&5
  2102. echo "${ECHO_T}no" >&6
  2103. fi
  2104.     test -n "$CC" && break
  2105.   done
  2106. fi
  2107. if test -z "$CC"; then
  2108.   ac_ct_CC=$CC
  2109.   for ac_prog in cl
  2110. do
  2111.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2112. set dummy $ac_prog; ac_word=$2
  2113. echo "$as_me:$LINENO: checking for $ac_word" >&5
  2114. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2115. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2116.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2117. else
  2118.   if test -n "$ac_ct_CC"; then
  2119.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2120. else
  2121. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2122. for as_dir in $PATH
  2123. do
  2124.   IFS=$as_save_IFS
  2125.   test -z "$as_dir" && as_dir=.
  2126.   for ac_exec_ext in '' $ac_executable_extensions; do
  2127.   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2128.     ac_cv_prog_ac_ct_CC="$ac_prog"
  2129.     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2130.     break 2
  2131.   fi
  2132. done
  2133. done
  2134. fi
  2135. fi
  2136. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2137. if test -n "$ac_ct_CC"; then
  2138.   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2139. echo "${ECHO_T}$ac_ct_CC" >&6
  2140. else
  2141.   echo "$as_me:$LINENO: result: no" >&5
  2142. echo "${ECHO_T}no" >&6
  2143. fi
  2144.   test -n "$ac_ct_CC" && break
  2145. done
  2146.   CC=$ac_ct_CC
  2147. fi
  2148. fi
  2149. test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in $PATH
  2150. See `config.log' for more details." >&5
  2151. echo "$as_me: error: no acceptable C compiler found in $PATH
  2152. See `config.log' for more details." >&2;}
  2153.    { (exit 1); exit 1; }; }
  2154. # Provide some information about the compiler.
  2155. echo "$as_me:$LINENO:" 
  2156.      "checking for C compiler version" >&5
  2157. ac_compiler=`set X $ac_compile; echo $2`
  2158. { (eval echo "$as_me:$LINENO: "$ac_compiler --version </dev/null >&5"") >&5
  2159.   (eval $ac_compiler --version </dev/null >&5) 2>&5
  2160.   ac_status=$?
  2161.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2162.   (exit $ac_status); }
  2163. { (eval echo "$as_me:$LINENO: "$ac_compiler -v </dev/null >&5"") >&5
  2164.   (eval $ac_compiler -v </dev/null >&5) 2>&5
  2165.   ac_status=$?
  2166.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2167.   (exit $ac_status); }
  2168. { (eval echo "$as_me:$LINENO: "$ac_compiler -V </dev/null >&5"") >&5
  2169.   (eval $ac_compiler -V </dev/null >&5) 2>&5
  2170.   ac_status=$?
  2171.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2172.   (exit $ac_status); }
  2173. cat >conftest.$ac_ext <<_ACEOF
  2174. /* confdefs.h.  */
  2175. _ACEOF
  2176. cat confdefs.h >>conftest.$ac_ext
  2177. cat >>conftest.$ac_ext <<_ACEOF
  2178. /* end confdefs.h.  */
  2179. int
  2180. main ()
  2181. {
  2182.   ;
  2183.   return 0;
  2184. }
  2185. _ACEOF
  2186. ac_clean_files_save=$ac_clean_files
  2187. ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2188. # Try to create an executable without -o first, disregard a.out.
  2189. # It will help us diagnose broken compilers, and finding out an intuition
  2190. # of exeext.
  2191. echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2192. echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
  2193. ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2194. if { (eval echo "$as_me:$LINENO: "$ac_link_default"") >&5
  2195.   (eval $ac_link_default) 2>&5
  2196.   ac_status=$?
  2197.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2198.   (exit $ac_status); }; then
  2199.   # Find the output, starting from the most likely.  This scheme is
  2200. # not robust to junk in `.', hence go to wildcards (a.*) only as a last
  2201. # resort.
  2202. # Be careful to initialize this variable, since it used to be cached.
  2203. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  2204. ac_cv_exeext=
  2205. # b.out is created by i960 compilers.
  2206. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  2207. do
  2208.   test -f "$ac_file" || continue
  2209.   case $ac_file in
  2210.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  2211. ;;
  2212.     conftest.$ac_ext )
  2213. # This is the source file.
  2214. ;;
  2215.     [ab].out )
  2216. # We found the default executable, but exeext='' is most
  2217. # certainly right.
  2218. break;;
  2219.     *.* )
  2220. ac_cv_exeext=`expr "$ac_file" : '[^.]*(..*)'`
  2221. # FIXME: I believe we export ac_cv_exeext for Libtool,
  2222. # but it would be cool to find out if it's true.  Does anybody
  2223. # maintain Libtool? --akim.
  2224. export ac_cv_exeext
  2225. break;;
  2226.     * )
  2227. break;;
  2228.   esac
  2229. done
  2230. else
  2231.   echo "$as_me: failed program was:" >&5
  2232. sed 's/^/| /' conftest.$ac_ext >&5
  2233. { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2234. See `config.log' for more details." >&5
  2235. echo "$as_me: error: C compiler cannot create executables
  2236. See `config.log' for more details." >&2;}
  2237.    { (exit 77); exit 77; }; }
  2238. fi
  2239. ac_exeext=$ac_cv_exeext
  2240. echo "$as_me:$LINENO: result: $ac_file" >&5
  2241. echo "${ECHO_T}$ac_file" >&6
  2242. # Check the compiler produces executables we can run.  If not, either
  2243. # the compiler is broken, or we cross compile.
  2244. echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2245. echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  2246. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2247. # If not cross compiling, check that we can run a simple program.
  2248. if test "$cross_compiling" != yes; then
  2249.   if { ac_try='./$ac_file'
  2250.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2251.   (eval $ac_try) 2>&5
  2252.   ac_status=$?
  2253.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2254.   (exit $ac_status); }; }; then
  2255.     cross_compiling=no
  2256.   else
  2257.     if test "$cross_compiling" = maybe; then
  2258. cross_compiling=yes
  2259.     else
  2260. { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2261. If you meant to cross compile, use `--host'.
  2262. See `config.log' for more details." >&5
  2263. echo "$as_me: error: cannot run C compiled programs.
  2264. If you meant to cross compile, use `--host'.
  2265. See `config.log' for more details." >&2;}
  2266.    { (exit 1); exit 1; }; }
  2267.     fi
  2268.   fi
  2269. fi
  2270. echo "$as_me:$LINENO: result: yes" >&5
  2271. echo "${ECHO_T}yes" >&6
  2272. rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2273. ac_clean_files=$ac_clean_files_save
  2274. # Check the compiler produces executables we can run.  If not, either
  2275. # the compiler is broken, or we cross compile.
  2276. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2277. echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  2278. echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2279. echo "${ECHO_T}$cross_compiling" >&6
  2280. echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2281. echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  2282. if { (eval echo "$as_me:$LINENO: "$ac_link"") >&5
  2283.   (eval $ac_link) 2>&5
  2284.   ac_status=$?
  2285.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2286.   (exit $ac_status); }; then
  2287.   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2288. # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2289. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2290. # `rm'.
  2291. for ac_file in conftest.exe conftest conftest.*; do
  2292.   test -f "$ac_file" || continue
  2293.   case $ac_file in
  2294.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  2295.     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*(..*)'`
  2296.   export ac_cv_exeext
  2297.   break;;
  2298.     * ) break;;
  2299.   esac
  2300. done
  2301. else
  2302.   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2303. See `config.log' for more details." >&5
  2304. echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2305. See `config.log' for more details." >&2;}
  2306.    { (exit 1); exit 1; }; }
  2307. fi
  2308. rm -f conftest$ac_cv_exeext
  2309. echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2310. echo "${ECHO_T}$ac_cv_exeext" >&6
  2311. rm -f conftest.$ac_ext
  2312. EXEEXT=$ac_cv_exeext
  2313. ac_exeext=$EXEEXT
  2314. echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2315. echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  2316. if test "${ac_cv_objext+set}" = set; then
  2317.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2318. else
  2319.   cat >conftest.$ac_ext <<_ACEOF
  2320. /* confdefs.h.  */
  2321. _ACEOF
  2322. cat confdefs.h >>conftest.$ac_ext
  2323. cat >>conftest.$ac_ext <<_ACEOF
  2324. /* end confdefs.h.  */
  2325. int
  2326. main ()
  2327. {
  2328.   ;
  2329.   return 0;
  2330. }
  2331. _ACEOF
  2332. rm -f conftest.o conftest.obj
  2333. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2334.   (eval $ac_compile) 2>&5
  2335.   ac_status=$?
  2336.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2337.   (exit $ac_status); }; then
  2338.   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  2339.   case $ac_file in
  2340.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  2341.     *) ac_cv_objext=`expr "$ac_file" : '.*.(.*)'`
  2342.        break;;
  2343.   esac
  2344. done
  2345. else
  2346.   echo "$as_me: failed program was:" >&5
  2347. sed 's/^/| /' conftest.$ac_ext >&5
  2348. { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2349. See `config.log' for more details." >&5
  2350. echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2351. See `config.log' for more details." >&2;}
  2352.    { (exit 1); exit 1; }; }
  2353. fi
  2354. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2355. fi
  2356. echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2357. echo "${ECHO_T}$ac_cv_objext" >&6
  2358. OBJEXT=$ac_cv_objext
  2359. ac_objext=$OBJEXT
  2360. echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2361. echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  2362. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2363.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2364. else
  2365.   cat >conftest.$ac_ext <<_ACEOF
  2366. /* confdefs.h.  */
  2367. _ACEOF
  2368. cat confdefs.h >>conftest.$ac_ext
  2369. cat >>conftest.$ac_ext <<_ACEOF
  2370. /* end confdefs.h.  */
  2371. int
  2372. main ()
  2373. {
  2374. #ifndef __GNUC__
  2375.        choke me
  2376. #endif
  2377.   ;
  2378.   return 0;
  2379. }
  2380. _ACEOF
  2381. rm -f conftest.$ac_objext
  2382. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2383.   (eval $ac_compile) 2>conftest.er1
  2384.   ac_status=$?
  2385.   grep -v '^ *+' conftest.er1 >conftest.err
  2386.   rm -f conftest.er1
  2387.   cat conftest.err >&5
  2388.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2389.   (exit $ac_status); } &&
  2390.  { ac_try='test -z "$ac_c_werror_flag"  || test ! -s conftest.err'
  2391.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2392.   (eval $ac_try) 2>&5
  2393.   ac_status=$?
  2394.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2395.   (exit $ac_status); }; } &&
  2396.  { ac_try='test -s conftest.$ac_objext'
  2397.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2398.   (eval $ac_try) 2>&5
  2399.   ac_status=$?
  2400.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2401.   (exit $ac_status); }; }; then
  2402.   ac_compiler_gnu=yes
  2403. else
  2404.   echo "$as_me: failed program was:" >&5
  2405. sed 's/^/| /' conftest.$ac_ext >&5
  2406. ac_compiler_gnu=no
  2407. fi
  2408. rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2409. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2410. fi
  2411. echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2412. echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  2413. GCC=`test $ac_compiler_gnu = yes && echo yes`
  2414. ac_test_CFLAGS=${CFLAGS+set}
  2415. ac_save_CFLAGS=$CFLAGS
  2416. CFLAGS="-g"
  2417. echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2418. echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  2419. if test "${ac_cv_prog_cc_g+set}" = set; then
  2420.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2421. else
  2422.   cat >conftest.$ac_ext <<_ACEOF
  2423. /* confdefs.h.  */
  2424. _ACEOF
  2425. cat confdefs.h >>conftest.$ac_ext
  2426. cat >>conftest.$ac_ext <<_ACEOF
  2427. /* end confdefs.h.  */
  2428. int
  2429. main ()
  2430. {
  2431.   ;
  2432.   return 0;
  2433. }
  2434. _ACEOF
  2435. rm -f conftest.$ac_objext
  2436. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2437.   (eval $ac_compile) 2>conftest.er1
  2438.   ac_status=$?
  2439.   grep -v '^ *+' conftest.er1 >conftest.err
  2440.   rm -f conftest.er1
  2441.   cat conftest.err >&5
  2442.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2443.   (exit $ac_status); } &&
  2444.  { ac_try='test -z "$ac_c_werror_flag"  || test ! -s conftest.err'
  2445.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2446.   (eval $ac_try) 2>&5
  2447.   ac_status=$?
  2448.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2449.   (exit $ac_status); }; } &&
  2450.  { ac_try='test -s conftest.$ac_objext'
  2451.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2452.   (eval $ac_try) 2>&5
  2453.   ac_status=$?
  2454.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2455.   (exit $ac_status); }; }; then
  2456.   ac_cv_prog_cc_g=yes
  2457. else
  2458.   echo "$as_me: failed program was:" >&5
  2459. sed 's/^/| /' conftest.$ac_ext >&5
  2460. ac_cv_prog_cc_g=no
  2461. fi
  2462. rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2463. fi
  2464. echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2465. echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  2466. if test "$ac_test_CFLAGS" = set; then
  2467.   CFLAGS=$ac_save_CFLAGS
  2468. elif test $ac_cv_prog_cc_g = yes; then
  2469.   if test "$GCC" = yes; then
  2470.     CFLAGS="-g -O2"
  2471.   else
  2472.     CFLAGS="-g"
  2473.   fi
  2474. else
  2475.   if test "$GCC" = yes; then
  2476.     CFLAGS="-O2"
  2477.   else
  2478.     CFLAGS=
  2479.   fi
  2480. fi
  2481. echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  2482. echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  2483. if test "${ac_cv_prog_cc_stdc+set}" = set; then
  2484.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2485. else
  2486.   ac_cv_prog_cc_stdc=no
  2487. ac_save_CC=$CC
  2488. cat >conftest.$ac_ext <<_ACEOF
  2489. /* confdefs.h.  */
  2490. _ACEOF
  2491. cat confdefs.h >>conftest.$ac_ext
  2492. cat >>conftest.$ac_ext <<_ACEOF
  2493. /* end confdefs.h.  */
  2494. #include <stdarg.h>
  2495. #include <stdio.h>
  2496. #include <sys/types.h>
  2497. #include <sys/stat.h>
  2498. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  2499. struct buf { int x; };
  2500. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2501. static char *e (p, i)
  2502.      char **p;
  2503.      int i;
  2504. {
  2505.   return p[i];
  2506. }
  2507. static char *f (char * (*g) (char **, int), char **p, ...)
  2508. {
  2509.   char *s;
  2510.   va_list v;
  2511.   va_start (v,p);
  2512.   s = g (p, va_arg (v,int));
  2513.   va_end (v);
  2514.   return s;
  2515. }
  2516. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  2517.    function prototypes and stuff, but not 'xHH' hex character constants.
  2518.    These don't provoke an error unfortunately, instead are silently treated
  2519.    as 'x'.  The following induces an error, until -std1 is added to get
  2520.    proper ANSI mode.  Curiously 'x00'!='x' always comes out true, for an
  2521.    array size at least.  It's necessary to write 'x00'==0 to get something
  2522.    that's true only with -std1.  */
  2523. int osf4_cc_array ['x00' == 0 ? 1 : -1];
  2524. int test (int i, double x);
  2525. struct s1 {int (*f) (int a);};
  2526. struct s2 {int (*f) (double a);};
  2527. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2528. int argc;
  2529. char **argv;
  2530. int
  2531. main ()
  2532. {
  2533. return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  2534.   ;
  2535.   return 0;
  2536. }
  2537. _ACEOF
  2538. # Don't try gcc -ansi; that turns off useful extensions and
  2539. # breaks some systems' header files.
  2540. # AIX -qlanglvl=ansi
  2541. # Ultrix and OSF/1 -std1
  2542. # HP-UX 10.20 and later -Ae
  2543. # HP-UX older versions -Aa -D_HPUX_SOURCE
  2544. # SVR4 -Xc -D__EXTENSIONS__
  2545. for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2546. do
  2547.   CC="$ac_save_CC $ac_arg"
  2548.   rm -f conftest.$ac_objext
  2549. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2550.   (eval $ac_compile) 2>conftest.er1
  2551.   ac_status=$?
  2552.   grep -v '^ *+' conftest.er1 >conftest.err
  2553.   rm -f conftest.er1
  2554.   cat conftest.err >&5
  2555.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2556.   (exit $ac_status); } &&
  2557.  { ac_try='test -z "$ac_c_werror_flag"  || test ! -s conftest.err'
  2558.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2559.   (eval $ac_try) 2>&5
  2560.   ac_status=$?
  2561.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2562.   (exit $ac_status); }; } &&
  2563.  { ac_try='test -s conftest.$ac_objext'
  2564.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2565.   (eval $ac_try) 2>&5
  2566.   ac_status=$?
  2567.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2568.   (exit $ac_status); }; }; then
  2569.   ac_cv_prog_cc_stdc=$ac_arg
  2570. break
  2571. else
  2572.   echo "$as_me: failed program was:" >&5
  2573. sed 's/^/| /' conftest.$ac_ext >&5
  2574. fi
  2575. rm -f conftest.err conftest.$ac_objext
  2576. done
  2577. rm -f conftest.$ac_ext conftest.$ac_objext
  2578. CC=$ac_save_CC
  2579. fi
  2580. case "x$ac_cv_prog_cc_stdc" in
  2581.   x|xno)
  2582.     echo "$as_me:$LINENO: result: none needed" >&5
  2583. echo "${ECHO_T}none needed" >&6 ;;
  2584.   *)
  2585.     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  2586. echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  2587.     CC="$CC $ac_cv_prog_cc_stdc" ;;
  2588. esac
  2589. # Some people use a C++ compiler to compile C.  Since we use `exit',
  2590. # in C++ we need to declare it.  In case someone uses the same compiler
  2591. # for both compiling C and C++ we need to have the C++ compiler decide
  2592. # the declaration of exit, since it's the most demanding environment.
  2593. cat >conftest.$ac_ext <<_ACEOF
  2594. #ifndef __cplusplus
  2595.   choke me
  2596. #endif
  2597. _ACEOF
  2598. rm -f conftest.$ac_objext
  2599. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2600.   (eval $ac_compile) 2>conftest.er1
  2601.   ac_status=$?
  2602.   grep -v '^ *+' conftest.er1 >conftest.err
  2603.   rm -f conftest.er1
  2604.   cat conftest.err >&5
  2605.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2606.   (exit $ac_status); } &&
  2607.  { ac_try='test -z "$ac_c_werror_flag"  || test ! -s conftest.err'
  2608.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2609.   (eval $ac_try) 2>&5
  2610.   ac_status=$?
  2611.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2612.   (exit $ac_status); }; } &&
  2613.  { ac_try='test -s conftest.$ac_objext'
  2614.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2615.   (eval $ac_try) 2>&5
  2616.   ac_status=$?
  2617.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2618.   (exit $ac_status); }; }; then
  2619.   for ac_declaration in 
  2620.    '' 
  2621.    'extern "C" void std::exit (int) throw (); using std::exit;' 
  2622.    'extern "C" void std::exit (int); using std::exit;' 
  2623.    'extern "C" void exit (int) throw ();' 
  2624.    'extern "C" void exit (int);' 
  2625.    'void exit (int);'
  2626. do
  2627.   cat >conftest.$ac_ext <<_ACEOF
  2628. /* confdefs.h.  */
  2629. _ACEOF
  2630. cat confdefs.h >>conftest.$ac_ext
  2631. cat >>conftest.$ac_ext <<_ACEOF
  2632. /* end confdefs.h.  */
  2633. $ac_declaration
  2634. #include <stdlib.h>
  2635. int
  2636. main ()
  2637. {
  2638. exit (42);
  2639.   ;
  2640.   return 0;
  2641. }
  2642. _ACEOF
  2643. rm -f conftest.$ac_objext
  2644. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2645.   (eval $ac_compile) 2>conftest.er1
  2646.   ac_status=$?
  2647.   grep -v '^ *+' conftest.er1 >conftest.err
  2648.   rm -f conftest.er1
  2649.   cat conftest.err >&5
  2650.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2651.   (exit $ac_status); } &&
  2652.  { ac_try='test -z "$ac_c_werror_flag"  || test ! -s conftest.err'
  2653.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2654.   (eval $ac_try) 2>&5
  2655.   ac_status=$?
  2656.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2657.   (exit $ac_status); }; } &&
  2658.  { ac_try='test -s conftest.$ac_objext'
  2659.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2660.   (eval $ac_try) 2>&5
  2661.   ac_status=$?
  2662.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2663.   (exit $ac_status); }; }; then
  2664.   :
  2665. else
  2666.   echo "$as_me: failed program was:" >&5
  2667. sed 's/^/| /' conftest.$ac_ext >&5
  2668. continue
  2669. fi
  2670. rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2671.   cat >conftest.$ac_ext <<_ACEOF
  2672. /* confdefs.h.  */
  2673. _ACEOF
  2674. cat confdefs.h >>conftest.$ac_ext
  2675. cat >>conftest.$ac_ext <<_ACEOF
  2676. /* end confdefs.h.  */
  2677. $ac_declaration
  2678. int
  2679. main ()
  2680. {
  2681. exit (42);
  2682.   ;
  2683.   return 0;
  2684. }
  2685. _ACEOF
  2686. rm -f conftest.$ac_objext
  2687. if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  2688.   (eval $ac_compile) 2>conftest.er1
  2689.   ac_status=$?
  2690.   grep -v '^ *+' conftest.er1 >conftest.err
  2691.   rm -f conftest.er1
  2692.   cat conftest.err >&5
  2693.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2694.   (exit $ac_status); } &&
  2695.  { ac_try='test -z "$ac_c_werror_flag"  || test ! -s conftest.err'
  2696.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2697.   (eval $ac_try) 2>&5
  2698.   ac_status=$?
  2699.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2700.   (exit $ac_status); }; } &&
  2701.  { ac_try='test -s conftest.$ac_objext'
  2702.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  2703.   (eval $ac_try) 2>&5
  2704.   ac_status=$?
  2705.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  2706.   (exit $ac_status); }; }; then
  2707.   break
  2708. else
  2709.   echo "$as_me: failed program was:" >&5
  2710. sed 's/^/| /' conftest.$ac_ext >&5
  2711. fi
  2712. rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2713. done
  2714. rm -f conftest*
  2715. if test -n "$ac_declaration"; then
  2716.   echo '#ifdef __cplusplus' >>confdefs.h
  2717.   echo $ac_declaration      >>confdefs.h
  2718.   echo '#endif'             >>confdefs.h
  2719. fi
  2720. else
  2721.   echo "$as_me: failed program was:" >&5
  2722. sed 's/^/| /' conftest.$ac_ext >&5
  2723. fi
  2724. rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2725. ac_ext=c
  2726. ac_cpp='$CPP $CPPFLAGS'
  2727. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2728. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2729. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2730. depcc="$CC"   am_compiler_list=
  2731. echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  2732. echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
  2733. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  2734.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2735. else
  2736.   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  2737.   # We make a subdir and do the tests there.  Otherwise we can end up
  2738.   # making bogus files that we don't know about and never remove.  For
  2739.   # instance it was reported that on HP-UX the gcc test will end up
  2740.   # making a dummy file named `D' -- because `-MD' means `put the output
  2741.   # in D'.
  2742.   mkdir conftest.dir
  2743.   # Copy depcomp to subdir because otherwise we won't find it if we're
  2744.   # using a relative directory.
  2745.   cp "$am_depcomp" conftest.dir
  2746.   cd conftest.dir
  2747.   # We will build objects and dependencies in a subdirectory because
  2748.   # it helps to detect inapplicable dependency modes.  For instance
  2749.   # both Tru64's cc and ICC support -MD to output dependencies as a
  2750.   # side effect of compilation, but ICC will put the dependencies in
  2751.   # the current directory while Tru64 will put them in the object
  2752.   # directory.
  2753.   mkdir sub
  2754.   am_cv_CC_dependencies_compiler_type=none
  2755.   if test "$am_compiler_list" = ""; then
  2756.      am_compiler_list=`sed -n 's/^#*([a-zA-Z0-9]*))$/1/p' < ./depcomp`
  2757.   fi
  2758.   for depmode in $am_compiler_list; do
  2759.     # Setup a source with many dependencies, because some compilers
  2760.     # like to wrap large dependency lists on column 80 (with ), and
  2761.     # we should not choose a depcomp mode which is confused by this.
  2762.     #
  2763.     # We need to recreate these files for each test, as the compiler may
  2764.     # overwrite some of them when testing with obscure command lines.
  2765.     # This happens at least with the AIX C compiler.
  2766.     : > sub/conftest.c
  2767.     for i in 1 2 3 4 5 6; do
  2768.       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  2769.       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  2770.       # Solaris 8's {/usr,}/bin/sh.
  2771.       touch sub/conftst$i.h
  2772.     done
  2773.     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  2774.     case $depmode in
  2775.     nosideeffect)
  2776.       # after this tag, mechanisms are not by side-effect, so they'll
  2777.       # only be used when explicitly requested
  2778.       if test "x$enable_dependency_tracking" = xyes; then
  2779. continue
  2780.       else
  2781. break
  2782.       fi
  2783.       ;;
  2784.     none) break ;;
  2785.     esac
  2786.     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  2787.     # mode.  It turns out that the SunPro C++ compiler does not properly
  2788.     # handle `-M -o', and we need to detect this.
  2789.     if depmode=$depmode 
  2790.        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} 
  2791.        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo 
  2792.        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c 
  2793.          >/dev/null 2>conftest.err &&
  2794.        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  2795.        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  2796.        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  2797.       # icc doesn't choke on unknown options, it will just issue warnings
  2798.       # or remarks (even with -Werror).  So we grep stderr for any message
  2799.       # that says an option was ignored or not supported.
  2800.       # When given -MP, icc 7.0 and 7.1 complain thusly:
  2801.       #   icc: Command line warning: ignoring option '-M'; no argument required
  2802.       # The diagnosis changed in icc 8.0:
  2803.       #   icc: Command line remark: option '-MP' not supported
  2804.       if (grep 'ignoring option' conftest.err ||
  2805.           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  2806.         am_cv_CC_dependencies_compiler_type=$depmode
  2807.         break
  2808.       fi
  2809.     fi
  2810.   done
  2811.   cd ..
  2812.   rm -rf conftest.dir
  2813. else
  2814.   am_cv_CC_dependencies_compiler_type=none
  2815. fi
  2816. fi
  2817. echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  2818. echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
  2819. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  2820. if
  2821.   test "x$enable_dependency_tracking" != xno 
  2822.   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  2823.   am__fastdepCC_TRUE=
  2824.   am__fastdepCC_FALSE='#'
  2825. else
  2826.   am__fastdepCC_TRUE='#'
  2827.   am__fastdepCC_FALSE=
  2828. fi
  2829. echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  2830. echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
  2831. if test "${lt_cv_path_SED+set}" = set; then
  2832.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2833. else
  2834.   # Loop through the user's path and test for sed and gsed.
  2835. # Then use that list of sed's as ones to test for truncation.
  2836. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2837. for as_dir in $PATH
  2838. do
  2839.   IFS=$as_save_IFS
  2840.   test -z "$as_dir" && as_dir=.
  2841.   for lt_ac_prog in sed gsed; do
  2842.     for ac_exec_ext in '' $ac_executable_extensions; do
  2843.       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
  2844.         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  2845.       fi
  2846.     done
  2847.   done
  2848. done
  2849. lt_ac_max=0
  2850. lt_ac_count=0
  2851. # Add /usr/xpg4/bin/sed as it is typically found on Solaris
  2852. # along with /bin/sed that truncates output.
  2853. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  2854.   test ! -f $lt_ac_sed && break
  2855.   cat /dev/null > conftest.in
  2856.   lt_ac_count=0
  2857.   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  2858.   # Check for GNU sed and select it if it is found.
  2859.   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  2860.     lt_cv_path_SED=$lt_ac_sed
  2861.     break
  2862.   fi
  2863.   while true; do
  2864.     cat conftest.in conftest.in >conftest.tmp
  2865.     mv conftest.tmp conftest.in
  2866.     cp conftest.in conftest.nl
  2867.     echo >>conftest.nl
  2868.     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  2869.     cmp -s conftest.out conftest.nl || break
  2870.     # 10000 chars as input seems more than enough
  2871.     test $lt_ac_count -gt 10 && break
  2872.     lt_ac_count=`expr $lt_ac_count + 1`
  2873.     if test $lt_ac_count -gt $lt_ac_max; then
  2874.       lt_ac_max=$lt_ac_count
  2875.       lt_cv_path_SED=$lt_ac_sed
  2876.     fi
  2877.   done
  2878. done
  2879. SED=$lt_cv_path_SED
  2880. fi
  2881. echo "$as_me:$LINENO: result: $SED" >&5
  2882. echo "${ECHO_T}$SED" >&6
  2883. echo "$as_me:$LINENO: checking for egrep" >&5
  2884. echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  2885. if test "${ac_cv_prog_egrep+set}" = set; then
  2886.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2887. else
  2888.   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  2889.     then ac_cv_prog_egrep='grep -E'
  2890.     else ac_cv_prog_egrep='egrep'
  2891.     fi
  2892. fi
  2893. echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  2894. echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  2895.  EGREP=$ac_cv_prog_egrep
  2896. # Check whether --with-gnu-ld or --without-gnu-ld was given.
  2897. if test "${with_gnu_ld+set}" = set; then
  2898.   withval="$with_gnu_ld"
  2899.   test "$withval" = no || with_gnu_ld=yes
  2900. else
  2901.   with_gnu_ld=no
  2902. fi;
  2903. ac_prog=ld
  2904. if test "$GCC" = yes; then
  2905.   # Check if gcc -print-prog-name=ld gives a path.
  2906.   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  2907. echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
  2908.   case $host in
  2909.   *-*-mingw*)
  2910.     # gcc leaves a trailing carriage return which upsets mingw
  2911.     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '15'` ;;
  2912.   *)
  2913.     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  2914.   esac
  2915.   case $ac_prog in
  2916.     # Accept absolute paths.
  2917.     [\/]* | ?:[\/]*)
  2918.       re_direlt='/[^/][^/]*/../'
  2919.       # Canonicalize the pathname of ld
  2920.       ac_prog=`echo $ac_prog| $SED 's%\\%/%g'`
  2921.       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  2922. ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  2923.       done
  2924.       test -z "$LD" && LD="$ac_prog"
  2925.       ;;
  2926.   "")
  2927.     # If it fails, then pretend we aren't using GCC.
  2928.     ac_prog=ld
  2929.     ;;
  2930.   *)
  2931.     # If it is relative, then search for the first ld in PATH.
  2932.     with_gnu_ld=unknown
  2933.     ;;
  2934.   esac
  2935. elif test "$with_gnu_ld" = yes; then
  2936.   echo "$as_me:$LINENO: checking for GNU ld" >&5
  2937. echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
  2938. else
  2939.   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  2940. echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
  2941. fi
  2942. if test "${lt_cv_path_LD+set}" = set; then
  2943.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2944. else
  2945.   if test -z "$LD"; then
  2946.   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  2947.   for ac_dir in $PATH; do
  2948.     IFS="$lt_save_ifs"
  2949.     test -z "$ac_dir" && ac_dir=.
  2950.     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  2951.       lt_cv_path_LD="$ac_dir/$ac_prog"
  2952.       # Check to see if the program is GNU ld.  I'd rather use --version,
  2953.       # but apparently some GNU ld's only accept -v.
  2954.       # Break only if it was the GNU/non-GNU ld that we prefer.
  2955.       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  2956.       *GNU* | *'with BFD'*)
  2957. test "$with_gnu_ld" != no && break
  2958. ;;
  2959.       *)
  2960. test "$with_gnu_ld" != yes && break
  2961. ;;
  2962.       esac
  2963.     fi
  2964.   done
  2965.   IFS="$lt_save_ifs"
  2966. else
  2967.   lt_cv_path_LD="$LD" # Let the user override the test with a path.
  2968. fi
  2969. fi
  2970. LD="$lt_cv_path_LD"
  2971. if test -n "$LD"; then
  2972.   echo "$as_me:$LINENO: result: $LD" >&5
  2973. echo "${ECHO_T}$LD" >&6
  2974. else
  2975.   echo "$as_me:$LINENO: result: no" >&5
  2976. echo "${ECHO_T}no" >&6
  2977. fi
  2978. test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in $PATH" >&5
  2979. echo "$as_me: error: no acceptable ld found in $PATH" >&2;}
  2980.    { (exit 1); exit 1; }; }
  2981. echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  2982. echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
  2983. if test "${lt_cv_prog_gnu_ld+set}" = set; then
  2984.   echo $ECHO_N "(cached) $ECHO_C" >&6
  2985. else
  2986.   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
  2987. case `$LD -v 2>&1 </dev/null` in
  2988. *GNU* | *'with BFD'*)
  2989.   lt_cv_prog_gnu_ld=yes
  2990.   ;;
  2991. *)
  2992.   lt_cv_prog_gnu_ld=no
  2993.   ;;
  2994. esac
  2995. fi
  2996. echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  2997. echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
  2998. with_gnu_ld=$lt_cv_prog_gnu_ld
  2999. echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  3000. echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
  3001. if test "${lt_cv_ld_reload_flag+set}" = set; then
  3002.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3003. else
  3004.   lt_cv_ld_reload_flag='-r'
  3005. fi
  3006. echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  3007. echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
  3008. reload_flag=$lt_cv_ld_reload_flag
  3009. case $reload_flag in
  3010. "" | " "*) ;;
  3011. *) reload_flag=" $reload_flag" ;;
  3012. esac
  3013. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  3014. echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
  3015. echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
  3016. if test "${lt_cv_path_NM+set}" = set; then
  3017.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3018. else
  3019.   if test -n "$NM"; then
  3020.   # Let the user override the test.
  3021.   lt_cv_path_NM="$NM"
  3022. else
  3023.   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3024.   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
  3025.     IFS="$lt_save_ifs"
  3026.     test -z "$ac_dir" && ac_dir=.
  3027.     tmp_nm="$ac_dir/${ac_tool_prefix}nm"
  3028.     if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  3029.       # Check to see if the nm accepts a BSD-compat flag.
  3030.       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  3031.       #   nm: unknown option "B" ignored
  3032.       # Tru64's nm complains that /dev/null is an invalid object file
  3033.       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  3034.       */dev/null* | *'Invalid file or object type'*)
  3035. lt_cv_path_NM="$tmp_nm -B"
  3036. break
  3037.         ;;
  3038.       *)
  3039. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  3040. */dev/null*)
  3041.   lt_cv_path_NM="$tmp_nm -p"
  3042.   break
  3043.   ;;
  3044. *)
  3045.   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  3046.   continue # so that we can try to find one that supports BSD flags
  3047.   ;;
  3048. esac
  3049.       esac
  3050.     fi
  3051.   done
  3052.   IFS="$lt_save_ifs"
  3053.   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  3054. fi
  3055. fi
  3056. echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  3057. echo "${ECHO_T}$lt_cv_path_NM" >&6
  3058. NM="$lt_cv_path_NM"
  3059. echo "$as_me:$LINENO: checking whether ln -s works" >&5
  3060. echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
  3061. LN_S=$as_ln_s
  3062. if test "$LN_S" = "ln -s"; then
  3063.   echo "$as_me:$LINENO: result: yes" >&5
  3064. echo "${ECHO_T}yes" >&6
  3065. else
  3066.   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  3067. echo "${ECHO_T}no, using $LN_S" >&6
  3068. fi
  3069. echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
  3070. echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
  3071. if test "${lt_cv_deplibs_check_method+set}" = set; then
  3072.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3073. else
  3074.   lt_cv_file_magic_cmd='$MAGIC_CMD'
  3075. lt_cv_file_magic_test_file=
  3076. lt_cv_deplibs_check_method='unknown'
  3077. # Need to set the preceding variable on all platforms that support
  3078. # interlibrary dependencies.
  3079. # 'none' -- dependencies not supported.
  3080. # `unknown' -- same as none, but documents that we really don't know.
  3081. # 'pass_all' -- all dependencies passed with no checks.
  3082. # 'test_compile' -- check by making test program.
  3083. # 'file_magic [[regex]]' -- check by looking for files in library path
  3084. # which responds to the $file_magic_cmd with a given extended regex.
  3085. # If you have `file' or equivalent on your system and you're not sure
  3086. # whether `pass_all' will *always* work, you probably want this one.
  3087. case $host_os in
  3088. aix4* | aix5*)
  3089.   lt_cv_deplibs_check_method=pass_all
  3090.   ;;
  3091. beos*)
  3092.   lt_cv_deplibs_check_method=pass_all
  3093.   ;;
  3094. bsdi4*)
  3095.   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  3096.   lt_cv_file_magic_cmd='/usr/bin/file -L'
  3097.   lt_cv_file_magic_test_file=/shlib/libc.so
  3098.   ;;
  3099. cygwin*)
  3100.   # func_win32_libid is a shell function defined in ltmain.sh
  3101.   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  3102.   lt_cv_file_magic_cmd='func_win32_libid'
  3103.   ;;
  3104. mingw* | pw32*)
  3105.   # Base MSYS/MinGW do not provide the 'file' command needed by
  3106.   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
  3107.   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  3108.   lt_cv_file_magic_cmd='$OBJDUMP -f'
  3109.   ;;
  3110. darwin* | rhapsody*)
  3111.   lt_cv_deplibs_check_method=pass_all
  3112.   ;;
  3113. freebsd* | kfreebsd*-gnu)
  3114.   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  3115.     case $host_cpu in
  3116.     i*86 )
  3117.       # Not sure whether the presence of OpenBSD here was a mistake.
  3118.       # Let's accept both of them until this is cleared up.
  3119.       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
  3120.       lt_cv_file_magic_cmd=/usr/bin/file
  3121.       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  3122.       ;;
  3123.     esac
  3124.   else
  3125.     lt_cv_deplibs_check_method=pass_all
  3126.   fi
  3127.   ;;
  3128. gnu*)
  3129.   lt_cv_deplibs_check_method=pass_all
  3130.   ;;
  3131. hpux10.20* | hpux11*)
  3132.   lt_cv_file_magic_cmd=/usr/bin/file
  3133.   case "$host_cpu" in
  3134.   ia64*)
  3135.     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  3136.     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  3137.     ;;
  3138.   hppa*64*)
  3139.     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
  3140.     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  3141.     ;;
  3142.   *)
  3143.     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  3144.     lt_cv_file_magic_test_file=/usr/lib/libc.sl
  3145.     ;;
  3146.   esac
  3147.   ;;
  3148. irix5* | irix6* | nonstopux*)
  3149.   case $LD in
  3150.   *-32|*"-32 ") libmagic=32-bit;;
  3151.   *-n32|*"-n32 ") libmagic=N32;;
  3152.   *-64|*"-64 ") libmagic=64-bit;;
  3153.   *) libmagic=never-match;;
  3154.   esac
  3155.   lt_cv_deplibs_check_method=pass_all
  3156.   ;;
  3157. # This must be Linux ELF.
  3158. linux*)
  3159.   lt_cv_deplibs_check_method=pass_all
  3160.   ;;
  3161. netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
  3162.   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  3163.     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(.so.[0-9]+.[0-9]+|_pic.a)$'
  3164.   else
  3165.     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(.so|_pic.a)$'
  3166.   fi
  3167.   ;;
  3168. newos6*)
  3169.   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  3170.   lt_cv_file_magic_cmd=/usr/bin/file
  3171.   lt_cv_file_magic_test_file=/usr/lib/libnls.so
  3172.   ;;
  3173. nto-qnx*)
  3174.   lt_cv_deplibs_check_method=unknown
  3175.   ;;
  3176. openbsd*)
  3177.   lt_cv_file_magic_cmd=/usr/bin/file
  3178.   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  3179.   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  3180.     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
  3181.   else
  3182.     lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
  3183.   fi
  3184.   ;;
  3185. osf3* | osf4* | osf5*)
  3186.   lt_cv_deplibs_check_method=pass_all
  3187.   ;;
  3188. sco3.2v5*)
  3189.   lt_cv_deplibs_check_method=pass_all
  3190.   ;;
  3191. solaris*)
  3192.   lt_cv_deplibs_check_method=pass_all
  3193.   ;;
  3194. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  3195.   case $host_vendor in
  3196.   motorola)
  3197.     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
  3198.     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  3199.     ;;
  3200.   ncr)
  3201.     lt_cv_deplibs_check_method=pass_all
  3202.     ;;
  3203.   sequent)
  3204.     lt_cv_file_magic_cmd='/bin/file'
  3205.     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  3206.     ;;
  3207.   sni)
  3208.     lt_cv_file_magic_cmd='/bin/file'
  3209.     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  3210.     lt_cv_file_magic_test_file=/lib/libc.so
  3211.     ;;
  3212.   siemens)
  3213.     lt_cv_deplibs_check_method=pass_all
  3214.     ;;
  3215.   esac
  3216.   ;;
  3217. sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
  3218.   lt_cv_deplibs_check_method=pass_all
  3219.   ;;
  3220. esac
  3221. fi
  3222. echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  3223. echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
  3224. file_magic_cmd=$lt_cv_file_magic_cmd
  3225. deplibs_check_method=$lt_cv_deplibs_check_method
  3226. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  3227. # If no C compiler was specified, use CC.
  3228. LTCC=${LTCC-"$CC"}
  3229. # Allow CC to be a program name with arguments.
  3230. compiler=$CC
  3231. # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
  3232. if test "${enable_libtool_lock+set}" = set; then
  3233.   enableval="$enable_libtool_lock"
  3234. fi;
  3235. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  3236. # Some flags need to be propagated to the compiler or linker for good
  3237. # libtool support.
  3238. case $host in
  3239. ia64-*-hpux*)
  3240.   # Find out which ABI we are using.
  3241.   echo 'int i;' > conftest.$ac_ext
  3242.   if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  3243.   (eval $ac_compile) 2>&5
  3244.   ac_status=$?
  3245.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  3246.   (exit $ac_status); }; then
  3247.     case `/usr/bin/file conftest.$ac_objext` in
  3248.     *ELF-32*)
  3249.       HPUX_IA64_MODE="32"
  3250.       ;;
  3251.     *ELF-64*)
  3252.       HPUX_IA64_MODE="64"
  3253.       ;;
  3254.     esac
  3255.   fi
  3256.   rm -rf conftest*
  3257.   ;;
  3258. *-*-irix6*)
  3259.   # Find out which ABI we are using.
  3260.   echo '#line 3634 "configure"' > conftest.$ac_ext
  3261.   if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  3262.   (eval $ac_compile) 2>&5
  3263.   ac_status=$?
  3264.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  3265.   (exit $ac_status); }; then
  3266.    if test "$lt_cv_prog_gnu_ld" = yes; then
  3267.     case `/usr/bin/file conftest.$ac_objext` in
  3268.     *32-bit*)
  3269.       LD="${LD-ld} -melf32bsmip"
  3270.       ;;
  3271.     *N32*)
  3272.       LD="${LD-ld} -melf32bmipn32"
  3273.       ;;
  3274.     *64-bit*)
  3275.       LD="${LD-ld} -melf64bmip"
  3276.       ;;
  3277.     esac
  3278.    else
  3279.     case `/usr/bin/file conftest.$ac_objext` in
  3280.     *32-bit*)
  3281.       LD="${LD-ld} -32"
  3282.       ;;
  3283.     *N32*)
  3284.       LD="${LD-ld} -n32"
  3285.       ;;
  3286.     *64-bit*)
  3287.       LD="${LD-ld} -64"
  3288.       ;;
  3289.     esac
  3290.    fi
  3291.   fi
  3292.   rm -rf conftest*
  3293.   ;;
  3294. x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
  3295.   # Find out which ABI we are using.
  3296.   echo 'int i;' > conftest.$ac_ext
  3297.   if { (eval echo "$as_me:$LINENO: "$ac_compile"") >&5
  3298.   (eval $ac_compile) 2>&5
  3299.   ac_status=$?
  3300.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  3301.   (exit $ac_status); }; then
  3302.     case "`/usr/bin/file conftest.o`" in
  3303.     *32-bit*)
  3304.       case $host in
  3305.         x86_64-*linux*)
  3306.           LD="${LD-ld} -m elf_i386"
  3307.           ;;
  3308.         ppc64-*linux*|powerpc64-*linux*)
  3309.           LD="${LD-ld} -m elf32ppclinux"
  3310.           ;;
  3311.         s390x-*linux*)
  3312.           LD="${LD-ld} -m elf_s390"
  3313.           ;;
  3314.         sparc64-*linux*)
  3315.           LD="${LD-ld} -m elf32_sparc"
  3316.           ;;
  3317.       esac
  3318.       ;;
  3319.     *64-bit*)
  3320.       case $host in
  3321.         x86_64-*linux*)
  3322.           LD="${LD-ld} -m elf_x86_64"
  3323.           ;;
  3324.         ppc*-*linux*|powerpc*-*linux*)
  3325.           LD="${LD-ld} -m elf64ppc"
  3326.           ;;
  3327.         s390*-*linux*)
  3328.           LD="${LD-ld} -m elf64_s390"
  3329.           ;;
  3330.         sparc*-*linux*)
  3331.           LD="${LD-ld} -m elf64_sparc"
  3332.           ;;
  3333.       esac
  3334.       ;;
  3335.     esac
  3336.   fi
  3337.   rm -rf conftest*
  3338.   ;;
  3339. *-*-sco3.2v5*)
  3340.   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  3341.   SAVE_CFLAGS="$CFLAGS"
  3342.   CFLAGS="$CFLAGS -belf"
  3343.   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  3344. echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
  3345. if test "${lt_cv_cc_needs_belf+set}" = set; then
  3346.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3347. else
  3348.   ac_ext=c
  3349. ac_cpp='$CPP $CPPFLAGS'
  3350. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3351. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3352. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3353.      cat >conftest.$ac_ext <<_ACEOF
  3354. /* confdefs.h.  */
  3355. _ACEOF
  3356. cat confdefs.h >>conftest.$ac_ext
  3357. cat >>conftest.$ac_ext <<_ACEOF
  3358. /* end confdefs.h.  */
  3359. int
  3360. main ()
  3361. {
  3362.   ;
  3363.   return 0;
  3364. }
  3365. _ACEOF
  3366. rm -f conftest.$ac_objext conftest$ac_exeext
  3367. if { (eval echo "$as_me:$LINENO: "$ac_link"") >&5
  3368.   (eval $ac_link) 2>conftest.er1
  3369.   ac_status=$?
  3370.   grep -v '^ *+' conftest.er1 >conftest.err
  3371.   rm -f conftest.er1
  3372.   cat conftest.err >&5
  3373.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  3374.   (exit $ac_status); } &&
  3375.  { ac_try='test -z "$ac_c_werror_flag"  || test ! -s conftest.err'
  3376.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  3377.   (eval $ac_try) 2>&5
  3378.   ac_status=$?
  3379.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  3380.   (exit $ac_status); }; } &&
  3381.  { ac_try='test -s conftest$ac_exeext'
  3382.   { (eval echo "$as_me:$LINENO: "$ac_try"") >&5
  3383.   (eval $ac_try) 2>&5
  3384.   ac_status=$?
  3385.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  3386.   (exit $ac_status); }; }; then
  3387.   lt_cv_cc_needs_belf=yes
  3388. else
  3389.   echo "$as_me: failed program was:" >&5
  3390. sed 's/^/| /' conftest.$ac_ext >&5
  3391. lt_cv_cc_needs_belf=no
  3392. fi
  3393. rm -f conftest.err conftest.$ac_objext 
  3394.       conftest$ac_exeext conftest.$ac_ext
  3395.      ac_ext=c
  3396. ac_cpp='$CPP $CPPFLAGS'
  3397. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3398. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3399. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3400. fi
  3401. echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  3402. echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
  3403.   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  3404.     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  3405.     CFLAGS="$SAVE_CFLAGS"
  3406.   fi
  3407.   ;;
  3408. esac
  3409. need_locks="$enable_libtool_lock"
  3410. ac_ext=c
  3411. ac_cpp='$CPP $CPPFLAGS'
  3412. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3413. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3414. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3415. echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  3416. echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  3417. # On Suns, sometimes $CPP names a directory.
  3418. if test -n "$CPP" && test -d "$CPP"; then
  3419.   CPP=
  3420. fi
  3421. if test -z "$CPP"; then
  3422.   if test "${ac_cv_prog_CPP+set}" = set; then
  3423.   echo $ECHO_N "(cached) $ECHO_C" >&6
  3424. else
  3425.       # Double quotes because CPP needs to be expanded
  3426.     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3427.     do
  3428.       ac_preproc_ok=false
  3429. for ac_c_preproc_warn_flag in '' yes
  3430. do
  3431.   # Use a header file that comes with gcc, so configuring glibc
  3432.   # with a fresh cross-compiler works.
  3433.   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3434.   # <limits.h> exists even on freestanding compilers.
  3435.   # On the NeXT, cc -E runs the code through the compiler's parser,
  3436.   # not just through cpp. "Syntax error" is here to catch this case.
  3437.   cat >conftest.$ac_ext <<_ACEOF
  3438. /* confdefs.h.  */
  3439. _ACEOF
  3440. cat confdefs.h >>conftest.$ac_ext
  3441. cat >>conftest.$ac_ext <<_ACEOF
  3442. /* end confdefs.h.  */
  3443. #ifdef __STDC__
  3444. # include <limits.h>
  3445. #else
  3446. # include <assert.h>
  3447. #endif
  3448.      Syntax error
  3449. _ACEOF
  3450. if { (eval echo "$as_me:$LINENO: "$ac_cpp conftest.$ac_ext"") >&5
  3451.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3452.   ac_status=$?
  3453.   grep -v '^ *+' conftest.er1 >conftest.err
  3454.   rm -f conftest.er1
  3455.   cat conftest.err >&5
  3456.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  3457.   (exit $ac_status); } >/dev/null; then
  3458.   if test -s conftest.err; then
  3459.     ac_cpp_err=$ac_c_preproc_warn_flag
  3460.     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3461.   else
  3462.     ac_cpp_err=
  3463.   fi
  3464. else
  3465.   ac_cpp_err=yes
  3466. fi
  3467. if test -z "$ac_cpp_err"; then
  3468.   :
  3469. else
  3470.   echo "$as_me: failed program was:" >&5
  3471. sed 's/^/| /' conftest.$ac_ext >&5
  3472.   # Broken: fails on valid input.
  3473. continue
  3474. fi
  3475. rm -f conftest.err conftest.$ac_ext
  3476.   # OK, works on sane cases.  Now check whether non-existent headers
  3477.   # can be detected and how.
  3478.   cat >conftest.$ac_ext <<_ACEOF
  3479. /* confdefs.h.  */
  3480. _ACEOF
  3481. cat confdefs.h >>conftest.$ac_ext
  3482. cat >>conftest.$ac_ext <<_ACEOF
  3483. /* end confdefs.h.  */
  3484. #include <ac_nonexistent.h>
  3485. _ACEOF
  3486. if { (eval echo "$as_me:$LINENO: "$ac_cpp conftest.$ac_ext"") >&5
  3487.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3488.   ac_status=$?
  3489.   grep -v '^ *+' conftest.er1 >conftest.err
  3490.   rm -f conftest.er1
  3491.   cat conftest.err >&5
  3492.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  3493.   (exit $ac_status); } >/dev/null; then
  3494.   if test -s conftest.err; then
  3495.     ac_cpp_err=$ac_c_preproc_warn_flag
  3496.     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3497.   else
  3498.     ac_cpp_err=
  3499.   fi
  3500. else
  3501.   ac_cpp_err=yes
  3502. fi
  3503. if test -z "$ac_cpp_err"; then
  3504.   # Broken: success on invalid input.
  3505. continue
  3506. else
  3507.   echo "$as_me: failed program was:" >&5
  3508. sed 's/^/| /' conftest.$ac_ext >&5
  3509.   # Passes both tests.
  3510. ac_preproc_ok=:
  3511. break
  3512. fi
  3513. rm -f conftest.err conftest.$ac_ext
  3514. done
  3515. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3516. rm -f conftest.err conftest.$ac_ext
  3517. if $ac_preproc_ok; then
  3518.   break
  3519. fi
  3520.     done
  3521.     ac_cv_prog_CPP=$CPP
  3522. fi
  3523.   CPP=$ac_cv_prog_CPP
  3524. else
  3525.   ac_cv_prog_CPP=$CPP
  3526. fi
  3527. echo "$as_me:$LINENO: result: $CPP" >&5
  3528. echo "${ECHO_T}$CPP" >&6
  3529. ac_preproc_ok=false
  3530. for ac_c_preproc_warn_flag in '' yes
  3531. do
  3532.   # Use a header file that comes with gcc, so configuring glibc
  3533.   # with a fresh cross-compiler works.
  3534.   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3535.   # <limits.h> exists even on freestanding compilers.
  3536.   # On the NeXT, cc -E runs the code through the compiler's parser,
  3537.   # not just through cpp. "Syntax error" is here to catch this case.
  3538.   cat >conftest.$ac_ext <<_ACEOF
  3539. /* confdefs.h.  */
  3540. _ACEOF
  3541. cat confdefs.h >>conftest.$ac_ext
  3542. cat >>conftest.$ac_ext <<_ACEOF
  3543. /* end confdefs.h.  */
  3544. #ifdef __STDC__
  3545. # include <limits.h>
  3546. #else
  3547. # include <assert.h>
  3548. #endif
  3549.      Syntax error
  3550. _ACEOF
  3551. if { (eval echo "$as_me:$LINENO: "$ac_cpp conftest.$ac_ext"") >&5
  3552.   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3553.   ac_status=$?
  3554.   grep -v '^ *+' conftest.er1 >conftest.err
  3555.   rm -f conftest.er1
  3556.   cat conftest.err >&5
  3557.   echo "$as_me:$LINENO: $? = $ac_status" >&5
  3558.   (exit $ac_status); } >/dev/null; then
  3559.   if test -s conftest.err; then
  3560.     ac_cpp_err=$ac_c_preproc_warn_flag
  3561.     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3562.   else
  3563.     ac_cpp_err=
  3564.   fi
  3565. else
  3566.   ac_cpp_err=yes
  3567. fi
  3568. if test -z "$ac_cpp_err"; then
  3569.   :
  3570. else
  3571.   echo "$as_me: failed program was:" >&5
  3572. sed 's/^/| /' conftest.$ac_ext >&5
  3573.   # Broken: fails on valid input.