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

信息检索与抽取

开发平台:

Unix_Linux

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