1#! /bin/sh
2# From configure.ac Revision.
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.65 for Heimdal 1.5.2.
5#
6# Report bugs to <heimdal-bugs@h5l.org>.
7#
8#
9# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11# Inc.
12#
13#
14# This configure script is free software; the Free Software Foundation
15# gives unlimited permission to copy, distribute and modify it.
16## -------------------- ##
17## M4sh Initialization. ##
18## -------------------- ##
19
20# Be more Bourne compatible
21DUALCASE=1; export DUALCASE # for MKS sh
22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23  emulate sh
24  NULLCMD=:
25  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26  # is contrary to our usage.  Disable this feature.
27  alias -g '${1+"$@"}'='"$@"'
28  setopt NO_GLOB_SUBST
29else
30  case `(set -o) 2>/dev/null` in #(
31  *posix*) :
32    set -o posix ;; #(
33  *) :
34     ;;
35esac
36fi
37
38
39as_nl='
40'
41export as_nl
42# Printing a long string crashes Solaris 7 /usr/bin/printf.
43as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46# Prefer a ksh shell builtin over an external printf program on Solaris,
47# but without wasting forks for bash or zsh.
48if test -z "$BASH_VERSION$ZSH_VERSION" \
49    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='print -r --'
51  as_echo_n='print -rn --'
52elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53  as_echo='printf %s\n'
54  as_echo_n='printf %s'
55else
56  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58    as_echo_n='/usr/ucb/echo -n'
59  else
60    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61    as_echo_n_body='eval
62      arg=$1;
63      case $arg in #(
64      *"$as_nl"*)
65	expr "X$arg" : "X\\(.*\\)$as_nl";
66	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67      esac;
68      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69    '
70    export as_echo_n_body
71    as_echo_n='sh -c $as_echo_n_body as_echo'
72  fi
73  export as_echo_body
74  as_echo='sh -c $as_echo_body as_echo'
75fi
76
77# The user is always right.
78if test "${PATH_SEPARATOR+set}" != set; then
79  PATH_SEPARATOR=:
80  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82      PATH_SEPARATOR=';'
83  }
84fi
85
86
87# IFS
88# We need space, tab and new line, in precisely that order.  Quoting is
89# there to prevent editors from complaining about space-tab.
90# (If _AS_PATH_WALK were called with IFS unset, it would disable word
91# splitting by setting IFS to empty value.)
92IFS=" ""	$as_nl"
93
94# Find who we are.  Look in the path if we contain no directory separator.
95case $0 in #((
96  *[\\/]* ) as_myself=$0 ;;
97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100  IFS=$as_save_IFS
101  test -z "$as_dir" && as_dir=.
102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103  done
104IFS=$as_save_IFS
105
106     ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111  as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115  exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there.  '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if test "x$CONFIG_SHELL" = x; then
140  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141  emulate sh
142  NULLCMD=:
143  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144  # is contrary to our usage.  Disable this feature.
145  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146  setopt NO_GLOB_SUBST
147else
148  case \`(set -o) 2>/dev/null\` in #(
149  *posix*) :
150    set -o posix ;; #(
151  *) :
152     ;;
153esac
154fi
155"
156  as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170  exitcode=1; echo positional parameters were not saved.
171fi
172test x\$exitcode = x0 || exit 1"
173  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182    PATH=/empty FPATH=/empty; export PATH FPATH
183    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185test \$(( 1 + 1 )) = 2 || exit 1"
186  if (eval "$as_required") 2>/dev/null; then :
187  as_have_required=yes
188else
189  as_have_required=no
190fi
191  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193else
194  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195as_found=false
196for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197do
198  IFS=$as_save_IFS
199  test -z "$as_dir" && as_dir=.
200  as_found=:
201  case $as_dir in #(
202	 /*)
203	   for as_base in sh bash ksh sh5; do
204	     # Try only shells that exist, to save several forks.
205	     as_shell=$as_dir/$as_base
206	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208  CONFIG_SHELL=$as_shell as_have_required=yes
209		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210  break 2
211fi
212fi
213	   done;;
214       esac
215  as_found=false
216done
217$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219  CONFIG_SHELL=$SHELL as_have_required=yes
220fi; }
221IFS=$as_save_IFS
222
223
224      if test "x$CONFIG_SHELL" != x; then :
225  # We cannot yet assume a decent shell, so we have to provide a
226	# neutralization value for shells without unset; and this also
227	# works around shells that cannot unset nonexistent variables.
228	BASH_ENV=/dev/null
229	ENV=/dev/null
230	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
231	export CONFIG_SHELL
232	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
233fi
234
235    if test x$as_have_required = xno; then :
236  $as_echo "$0: This script requires a shell more modern than all"
237  $as_echo "$0: the shells that I found on your system."
238  if test x${ZSH_VERSION+set} = xset ; then
239    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
240    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241  else
242    $as_echo "$0: Please tell bug-autoconf@gnu.org and
243$0: heimdal-bugs@h5l.org about your system, including any
244$0: error possibly output before this message. Then install
245$0: a modern shell, or manually run the script under such a
246$0: shell if you do have one."
247  fi
248  exit 1
249fi
250fi
251fi
252SHELL=${CONFIG_SHELL-/bin/sh}
253export SHELL
254# Unset more variables known to interfere with behavior of common tools.
255CLICOLOR_FORCE= GREP_OPTIONS=
256unset CLICOLOR_FORCE GREP_OPTIONS
257
258## --------------------- ##
259## M4sh Shell Functions. ##
260## --------------------- ##
261# as_fn_unset VAR
262# ---------------
263# Portably unset VAR.
264as_fn_unset ()
265{
266  { eval $1=; unset $1;}
267}
268as_unset=as_fn_unset
269
270# as_fn_set_status STATUS
271# -----------------------
272# Set $? to STATUS, without forking.
273as_fn_set_status ()
274{
275  return $1
276} # as_fn_set_status
277
278# as_fn_exit STATUS
279# -----------------
280# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281as_fn_exit ()
282{
283  set +e
284  as_fn_set_status $1
285  exit $1
286} # as_fn_exit
287
288# as_fn_mkdir_p
289# -------------
290# Create "$as_dir" as a directory, including parents if necessary.
291as_fn_mkdir_p ()
292{
293
294  case $as_dir in #(
295  -*) as_dir=./$as_dir;;
296  esac
297  test -d "$as_dir" || eval $as_mkdir_p || {
298    as_dirs=
299    while :; do
300      case $as_dir in #(
301      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302      *) as_qdir=$as_dir;;
303      esac
304      as_dirs="'$as_qdir' $as_dirs"
305      as_dir=`$as_dirname -- "$as_dir" ||
306$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307	 X"$as_dir" : 'X\(//\)[^/]' \| \
308	 X"$as_dir" : 'X\(//\)$' \| \
309	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310$as_echo X"$as_dir" |
311    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
312	    s//\1/
313	    q
314	  }
315	  /^X\(\/\/\)[^/].*/{
316	    s//\1/
317	    q
318	  }
319	  /^X\(\/\/\)$/{
320	    s//\1/
321	    q
322	  }
323	  /^X\(\/\).*/{
324	    s//\1/
325	    q
326	  }
327	  s/.*/./; q'`
328      test -d "$as_dir" && break
329    done
330    test -z "$as_dirs" || eval "mkdir $as_dirs"
331  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
332
333
334} # as_fn_mkdir_p
335# as_fn_append VAR VALUE
336# ----------------------
337# Append the text in VALUE to the end of the definition contained in VAR. Take
338# advantage of any shell optimizations that allow amortized linear growth over
339# repeated appends, instead of the typical quadratic growth present in naive
340# implementations.
341if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342  eval 'as_fn_append ()
343  {
344    eval $1+=\$2
345  }'
346else
347  as_fn_append ()
348  {
349    eval $1=\$$1\$2
350  }
351fi # as_fn_append
352
353# as_fn_arith ARG...
354# ------------------
355# Perform arithmetic evaluation on the ARGs, and store the result in the
356# global $as_val. Take advantage of shells that can avoid forks. The arguments
357# must be portable across $(()) and expr.
358if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
359  eval 'as_fn_arith ()
360  {
361    as_val=$(( $* ))
362  }'
363else
364  as_fn_arith ()
365  {
366    as_val=`expr "$@" || test $? -eq 1`
367  }
368fi # as_fn_arith
369
370
371# as_fn_error ERROR [LINENO LOG_FD]
372# ---------------------------------
373# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375# script with status $?, using 1 if that was 0.
376as_fn_error ()
377{
378  as_status=$?; test $as_status -eq 0 && as_status=1
379  if test "$3"; then
380    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
382  fi
383  $as_echo "$as_me: error: $1" >&2
384  as_fn_exit $as_status
385} # as_fn_error
386
387if expr a : '\(a\)' >/dev/null 2>&1 &&
388   test "X`expr 00001 : '.*\(...\)'`" = X001; then
389  as_expr=expr
390else
391  as_expr=false
392fi
393
394if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395  as_basename=basename
396else
397  as_basename=false
398fi
399
400if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
401  as_dirname=dirname
402else
403  as_dirname=false
404fi
405
406as_me=`$as_basename -- "$0" ||
407$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408	 X"$0" : 'X\(//\)$' \| \
409	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410$as_echo X/"$0" |
411    sed '/^.*\/\([^/][^/]*\)\/*$/{
412	    s//\1/
413	    q
414	  }
415	  /^X\/\(\/\/\)$/{
416	    s//\1/
417	    q
418	  }
419	  /^X\/\(\/\).*/{
420	    s//\1/
421	    q
422	  }
423	  s/.*/./; q'`
424
425# Avoid depending upon Character Ranges.
426as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429as_cr_digits='0123456789'
430as_cr_alnum=$as_cr_Letters$as_cr_digits
431
432
433  as_lineno_1=$LINENO as_lineno_1a=$LINENO
434  as_lineno_2=$LINENO as_lineno_2a=$LINENO
435  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
438  sed -n '
439    p
440    /[$]LINENO/=
441  ' <$as_myself |
442    sed '
443      s/[$]LINENO.*/&-/
444      t lineno
445      b
446      :lineno
447      N
448      :loop
449      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450      t loop
451      s/-\n.*//
452    ' >$as_me.lineno &&
453  chmod +x "$as_me.lineno" ||
454    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455
456  # Don't try to exec as it changes $[0], causing all sort of problems
457  # (the dirname of $[0] is not the place where we might find the
458  # original and so on.  Autoconf is especially sensitive to this).
459  . "./$as_me.lineno"
460  # Exit status is that of the last command.
461  exit
462}
463
464ECHO_C= ECHO_N= ECHO_T=
465case `echo -n x` in #(((((
466-n*)
467  case `echo 'xy\c'` in
468  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
469  xy)  ECHO_C='\c';;
470  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
471       ECHO_T='	';;
472  esac;;
473*)
474  ECHO_N='-n';;
475esac
476
477rm -f conf$$ conf$$.exe conf$$.file
478if test -d conf$$.dir; then
479  rm -f conf$$.dir/conf$$.file
480else
481  rm -f conf$$.dir
482  mkdir conf$$.dir 2>/dev/null
483fi
484if (echo >conf$$.file) 2>/dev/null; then
485  if ln -s conf$$.file conf$$ 2>/dev/null; then
486    as_ln_s='ln -s'
487    # ... but there are two gotchas:
488    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490    # In both cases, we have to default to `cp -p'.
491    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492      as_ln_s='cp -p'
493  elif ln conf$$.file conf$$ 2>/dev/null; then
494    as_ln_s=ln
495  else
496    as_ln_s='cp -p'
497  fi
498else
499  as_ln_s='cp -p'
500fi
501rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502rmdir conf$$.dir 2>/dev/null
503
504if mkdir -p . 2>/dev/null; then
505  as_mkdir_p='mkdir -p "$as_dir"'
506else
507  test -d ./-p && rmdir ./-p
508  as_mkdir_p=false
509fi
510
511if test -x / >/dev/null 2>&1; then
512  as_test_x='test -x'
513else
514  if ls -dL / >/dev/null 2>&1; then
515    as_ls_L_option=L
516  else
517    as_ls_L_option=
518  fi
519  as_test_x='
520    eval sh -c '\''
521      if test -d "$1"; then
522	test -d "$1/.";
523      else
524	case $1 in #(
525	-*)set "./$1";;
526	esac;
527	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528	???[sx]*):;;*)false;;esac;fi
529    '\'' sh
530  '
531fi
532as_executable_p=$as_test_x
533
534# Sed expression to map a string onto a valid CPP name.
535as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536
537# Sed expression to map a string onto a valid variable name.
538as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539
540SHELL=${CONFIG_SHELL-/bin/sh}
541
542
543test -n "$DJDIR" || exec 7<&0 </dev/null
544exec 6>&1
545
546# Name of the host.
547# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
548# so uname gets run too.
549ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
550
551#
552# Initializations.
553#
554ac_default_prefix=/usr/local
555ac_clean_files=
556ac_config_libobj_dir=.
557LIBOBJS=
558cross_compiling=no
559subdirs=
560MFLAGS=
561MAKEFLAGS=
562
563# Identity of this package.
564PACKAGE_NAME='Heimdal'
565PACKAGE_TARNAME='heimdal'
566PACKAGE_VERSION='1.5.2'
567PACKAGE_STRING='Heimdal 1.5.2'
568PACKAGE_BUGREPORT='heimdal-bugs@h5l.org'
569PACKAGE_URL=''
570
571ac_unique_file="kuser/kinit.c"
572# Factoring default headers for most tests.
573ac_includes_default="\
574#include <stdio.h>
575#ifdef HAVE_SYS_TYPES_H
576# include <sys/types.h>
577#endif
578#ifdef HAVE_SYS_STAT_H
579# include <sys/stat.h>
580#endif
581#ifdef STDC_HEADERS
582# include <stdlib.h>
583# include <stddef.h>
584#else
585# ifdef HAVE_STDLIB_H
586#  include <stdlib.h>
587# endif
588#endif
589#ifdef HAVE_STRING_H
590# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
591#  include <memory.h>
592# endif
593# include <string.h>
594#endif
595#ifdef HAVE_STRINGS_H
596# include <strings.h>
597#endif
598#ifdef HAVE_INTTYPES_H
599# include <inttypes.h>
600#endif
601#ifdef HAVE_STDINT_H
602# include <stdint.h>
603#endif
604#ifdef HAVE_UNISTD_H
605# include <unistd.h>
606#endif"
607
608ac_default_prefix=/usr/heimdal
609ac_header_list=
610enable_option_checking=no
611ac_subst_vars='am__EXEEXT_FALSE
612am__EXEEXT_TRUE
613LTLIBOBJS
614HEIMDAL_DOCUMENTATION_FALSE
615HEIMDAL_DOCUMENTATION_TRUE
616LIB_AUTH_SUBDIRS
617LIB_com_err_so
618LIB_com_err_a
619LIB_com_err
620DIR_com_err
621COM_ERR_FALSE
622COM_ERR_TRUE
623COMPILE_ET
624LIBEDIT_FALSE
625LIBEDIT_TRUE
626FRAMEWORK_SECURITY_FALSE
627FRAMEWORK_SECURITY_TRUE
628KCM_FALSE
629KCM_TRUE
630LIB_door_create
631LIB_getpwnam_r
632LIB_tgetent
633LIB_openpty
634LIB_logout
635LIB_logwtmp
636NEED_WRITEAUTH_FALSE
637NEED_WRITEAUTH_TRUE
638LIB_XauFileName
639LIB_XauReadAuth
640LIB_XauWriteAuth
641HAVE_X_FALSE
642HAVE_X_TRUE
643X_EXTRA_LIBS
644X_LIBS
645X_PRE_LIBS
646X_CFLAGS
647XMKMF
648LIB_hesiod
649INCLUDE_hesiod
650subdirs
651LIB_libedit
652INCLUDE_libedit
653LIB_readline
654INCLUDE_readline
655CATMANEXT
656CATMAN_FALSE
657CATMAN_TRUE
658CATMAN
659GROFF
660NROFF
661LIB_security
662have_gcd_FALSE
663have_gcd_TRUE
664LIB_dispatch_async_f
665OTP_FALSE
666OTP_TRUE
667LIB_otp
668LIBADD_roken
669INCLUDES_roken
670LIB_roken
671DIR_roken
672have_socket_wrapper_FALSE
673have_socket_wrapper_TRUE
674LIB_crypt
675have_fnmatch_h_FALSE
676have_fnmatch_h_TRUE
677LIB_gai_strerror
678LIB_freeaddrinfo
679LIB_getnameinfo
680LIB_getaddrinfo
681LIB_pidfile
682LIB_bswap32
683LIB_bswap16
684LIB_hstrerror
685LIB_setsockopt
686LIB_getsockopt
687have_cgetent_FALSE
688have_cgetent_TRUE
689have_glob_h_FALSE
690have_glob_h_TRUE
691LIBOBJS
692LIB_dn_expand
693LIB_dns_search
694LIB_res_ndestroy
695LIB_res_nsearch
696LIB_res_search
697LIB_gethostbyname2
698LIB_syslog
699LIB_gethostbyname
700LIB_socket
701have_vis_h_FALSE
702have_vis_h_TRUE
703have_search_h_FALSE
704have_search_h_TRUE
705have_ifaddrs_h_FALSE
706have_ifaddrs_h_TRUE
707have_err_h_FALSE
708have_err_h_TRUE
709WFLAGS_NOIMPLICITINT
710WFLAGS_NOUNUSED
711WFLAGS
712LIB_NDBM
713DBLIB
714HAVE_DBHEADER_FALSE
715HAVE_DBHEADER_TRUE
716HAVE_NDBM_FALSE
717HAVE_NDBM_TRUE
718HAVE_DB3_FALSE
719HAVE_DB3_TRUE
720HAVE_DB1_FALSE
721HAVE_DB1_TRUE
722LIB_dbm_firstkey
723LIB_dbopen
724LIB_db_create
725DBHEADER
726NO_AFS
727dpagaix_ldflags
728dpagaix_ldadd
729dpagaix_cflags
730DCE_FALSE
731DCE_TRUE
732PTHREAD_LIBADD
733PTHREAD_LDADD
734PTHREAD_CFLAGS
735LIB_hcrypto_appl
736LIB_hcrypto_so
737LIB_hcrypto_a
738LIB_hcrypto
739INCLUDE_hcrypto
740DIR_hcrypto
741HAVE_OPENSSL_FALSE
742HAVE_OPENSSL_TRUE
743LIB_kdb
744do_roken_rename_FALSE
745do_roken_rename_TRUE
746KRB5_FALSE
747KRB5_TRUE
748KRB4_FALSE
749KRB4_TRUE
750LIB_krb4
751INCLUDE_krb4
752DIR_hdbdir
753LIB_libintl
754INCLUDE_libintl
755have_scc_FALSE
756have_scc_TRUE
757SQLITE3_FALSE
758SQLITE3_TRUE
759LIB_sqlite3
760INCLUDE_sqlite3
761HAVE_CAPNG_FALSE
762HAVE_CAPNG_TRUE
763CAPNG_LIBS
764CAPNG_CFLAGS
765PKG_CONFIG
766PKINIT_FALSE
767PKINIT_TRUE
768OPENLDAP_MODULE_FALSE
769OPENLDAP_MODULE_TRUE
770LIB_openldap
771INCLUDE_openldap
772SLC_DEP
773SLC
774ASN1_COMPILE_DEP
775ASN1_COMPILE
776CROSS_COMPILE_FALSE
777CROSS_COMPILE_TRUE
778LDFLAGS_VERSION_SCRIPT
779versionscript_FALSE
780versionscript_TRUE
781VERSIONING
782ENABLE_SHARED_FALSE
783ENABLE_SHARED_TRUE
784LEXLIB
785LEX_OUTPUT_ROOT
786LEX
787YFLAGS
788YACC
789IRIX_FALSE
790IRIX_TRUE
791AIX_EXTRA_KAFS
792AIX_DYNAMIC_AFS_FALSE
793AIX_DYNAMIC_AFS_TRUE
794LIB_loadquery
795HAVE_DLOPEN_FALSE
796HAVE_DLOPEN_TRUE
797LIB_dlopen
798AIX4_FALSE
799AIX4_TRUE
800AIX_FALSE
801AIX_TRUE
802CANONICAL_HOST
803OTOOL64
804OTOOL
805LIPO
806NMEDIT
807DSYMUTIL
808MANIFEST_TOOL
809RANLIB
810ac_ct_AR
811AR
812DLLTOOL
813OBJDUMP
814LN_S
815NM
816ac_ct_DUMPBIN
817DUMPBIN
818LD
819FGREP
820EGREP
821GREP
822SED
823host_os
824host_vendor
825host_cpu
826host
827build_os
828build_vendor
829build_cpu
830build
831LIBTOOL
832CPP
833am__fastdepCC_FALSE
834am__fastdepCC_TRUE
835CCDEPMODE
836AMDEPBACKSLASH
837AMDEP_FALSE
838AMDEP_TRUE
839am__quote
840am__include
841DEPDIR
842OBJEXT
843EXEEXT
844ac_ct_CC
845CPPFLAGS
846LDFLAGS
847CFLAGS
848CC
849MAINT
850MAINTAINER_MODE_FALSE
851MAINTAINER_MODE_TRUE
852am__untar
853am__tar
854AMTAR
855am__leading_dot
856SET_MAKE
857AWK
858mkdir_p
859MKDIR_P
860INSTALL_STRIP_PROGRAM
861STRIP
862install_sh
863MAKEINFO
864AUTOHEADER
865AUTOMAKE
866AUTOCONF
867ACLOCAL
868VERSION
869PACKAGE
870CYGPATH_W
871am__isrc
872INSTALL_DATA
873INSTALL_SCRIPT
874INSTALL_PROGRAM
875target_alias
876host_alias
877build_alias
878LIBS
879ECHO_T
880ECHO_N
881ECHO_C
882DEFS
883mandir
884localedir
885libdir
886psdir
887pdfdir
888dvidir
889htmldir
890infodir
891docdir
892oldincludedir
893includedir
894localstatedir
895sharedstatedir
896sysconfdir
897datadir
898datarootdir
899libexecdir
900sbindir
901bindir
902program_transform_name
903prefix
904exec_prefix
905PACKAGE_URL
906PACKAGE_BUGREPORT
907PACKAGE_STRING
908PACKAGE_VERSION
909PACKAGE_TARNAME
910PACKAGE_NAME
911PATH_SEPARATOR
912SHELL'
913ac_subst_files=''
914ac_user_opts='
915enable_option_checking
916enable_maintainer_mode
917enable_dependency_tracking
918enable_shared
919enable_static
920with_pic
921enable_fast_install
922with_gnu_ld
923with_sysroot
924enable_libtool_lock
925enable_largefile
926enable_dynamic_afs
927with_mips_abi
928with_cross_tools
929with_openldap
930with_openldap_lib
931with_openldap_include
932with_openldap_config
933enable_hdb_openldap_module
934enable_pk_init
935enable_digest
936enable_kx509
937with_capng
938with_sqlite3
939with_sqlite3_lib
940with_sqlite3_include
941with_sqlite3_config
942enable_sqlite_cache
943with_libintl
944with_libintl_lib
945with_libintl_include
946with_libintl_config
947with_hdbdir
948with_openssl
949with_openssl_lib
950with_openssl_include
951enable_pthread_support
952enable_dce
953enable_afs_support
954with_berkeley_db
955with_berkeley_db_include
956enable_ndbm_db
957enable_developer
958with_ipv6
959enable_socket_wrapper
960enable_otp
961enable_osfc2
962enable_mmap
963enable_afs_string_to_key
964with_readline
965with_readline_lib
966with_readline_include
967with_readline_config
968with_libedit
969with_libedit_lib
970with_libedit_include
971with_libedit_config
972with_hesiod
973with_hesiod_lib
974with_hesiod_include
975with_hesiod_config
976enable_bigendian
977enable_littleendian
978with_x
979enable_kcm
980enable_heimdal_documentation
981'
982      ac_precious_vars='build_alias
983host_alias
984target_alias
985CC
986CFLAGS
987LDFLAGS
988LIBS
989CPPFLAGS
990CPP
991YACC
992YFLAGS
993PKG_CONFIG
994CAPNG_CFLAGS
995CAPNG_LIBS
996XMKMF'
997ac_subdirs_all='lib/libedit'
998
999# Initialize some variables set by options.
1000ac_init_help=
1001ac_init_version=false
1002ac_unrecognized_opts=
1003ac_unrecognized_sep=
1004# The variables have the same names as the options, with
1005# dashes changed to underlines.
1006cache_file=/dev/null
1007exec_prefix=NONE
1008no_create=
1009no_recursion=
1010prefix=NONE
1011program_prefix=NONE
1012program_suffix=NONE
1013program_transform_name=s,x,x,
1014silent=
1015site=
1016srcdir=
1017verbose=
1018x_includes=NONE
1019x_libraries=NONE
1020
1021# Installation directory options.
1022# These are left unexpanded so users can "make install exec_prefix=/foo"
1023# and all the variables that are supposed to be based on exec_prefix
1024# by default will actually change.
1025# Use braces instead of parens because sh, perl, etc. also accept them.
1026# (The list follows the same order as the GNU Coding Standards.)
1027bindir='${exec_prefix}/bin'
1028sbindir='${exec_prefix}/sbin'
1029libexecdir='${exec_prefix}/libexec'
1030datarootdir='${prefix}/share'
1031datadir='${datarootdir}'
1032sysconfdir='${prefix}/etc'
1033sharedstatedir='${prefix}/com'
1034localstatedir='${prefix}/var'
1035includedir='${prefix}/include'
1036oldincludedir='/usr/include'
1037docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1038infodir='${datarootdir}/info'
1039htmldir='${docdir}'
1040dvidir='${docdir}'
1041pdfdir='${docdir}'
1042psdir='${docdir}'
1043libdir='${exec_prefix}/lib'
1044localedir='${datarootdir}/locale'
1045mandir='${datarootdir}/man'
1046
1047ac_prev=
1048ac_dashdash=
1049for ac_option
1050do
1051  # If the previous option needs an argument, assign it.
1052  if test -n "$ac_prev"; then
1053    eval $ac_prev=\$ac_option
1054    ac_prev=
1055    continue
1056  fi
1057
1058  case $ac_option in
1059  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1060  *)	ac_optarg=yes ;;
1061  esac
1062
1063  # Accept the important Cygnus configure options, so we can diagnose typos.
1064
1065  case $ac_dashdash$ac_option in
1066  --)
1067    ac_dashdash=yes ;;
1068
1069  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1070    ac_prev=bindir ;;
1071  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1072    bindir=$ac_optarg ;;
1073
1074  -build | --build | --buil | --bui | --bu)
1075    ac_prev=build_alias ;;
1076  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1077    build_alias=$ac_optarg ;;
1078
1079  -cache-file | --cache-file | --cache-fil | --cache-fi \
1080  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1081    ac_prev=cache_file ;;
1082  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1083  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1084    cache_file=$ac_optarg ;;
1085
1086  --config-cache | -C)
1087    cache_file=config.cache ;;
1088
1089  -datadir | --datadir | --datadi | --datad)
1090    ac_prev=datadir ;;
1091  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1092    datadir=$ac_optarg ;;
1093
1094  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1095  | --dataroo | --dataro | --datar)
1096    ac_prev=datarootdir ;;
1097  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1098  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1099    datarootdir=$ac_optarg ;;
1100
1101  -disable-* | --disable-*)
1102    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1103    # Reject names that are not valid shell variable names.
1104    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1105      as_fn_error "invalid feature name: $ac_useropt"
1106    ac_useropt_orig=$ac_useropt
1107    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108    case $ac_user_opts in
1109      *"
1110"enable_$ac_useropt"
1111"*) ;;
1112      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1113	 ac_unrecognized_sep=', ';;
1114    esac
1115    eval enable_$ac_useropt=no ;;
1116
1117  -docdir | --docdir | --docdi | --doc | --do)
1118    ac_prev=docdir ;;
1119  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1120    docdir=$ac_optarg ;;
1121
1122  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1123    ac_prev=dvidir ;;
1124  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1125    dvidir=$ac_optarg ;;
1126
1127  -enable-* | --enable-*)
1128    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1129    # Reject names that are not valid shell variable names.
1130    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1131      as_fn_error "invalid feature name: $ac_useropt"
1132    ac_useropt_orig=$ac_useropt
1133    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134    case $ac_user_opts in
1135      *"
1136"enable_$ac_useropt"
1137"*) ;;
1138      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1139	 ac_unrecognized_sep=', ';;
1140    esac
1141    eval enable_$ac_useropt=\$ac_optarg ;;
1142
1143  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1144  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1145  | --exec | --exe | --ex)
1146    ac_prev=exec_prefix ;;
1147  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1148  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1149  | --exec=* | --exe=* | --ex=*)
1150    exec_prefix=$ac_optarg ;;
1151
1152  -gas | --gas | --ga | --g)
1153    # Obsolete; use --with-gas.
1154    with_gas=yes ;;
1155
1156  -help | --help | --hel | --he | -h)
1157    ac_init_help=long ;;
1158  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1159    ac_init_help=recursive ;;
1160  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1161    ac_init_help=short ;;
1162
1163  -host | --host | --hos | --ho)
1164    ac_prev=host_alias ;;
1165  -host=* | --host=* | --hos=* | --ho=*)
1166    host_alias=$ac_optarg ;;
1167
1168  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1169    ac_prev=htmldir ;;
1170  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1171  | --ht=*)
1172    htmldir=$ac_optarg ;;
1173
1174  -includedir | --includedir | --includedi | --included | --include \
1175  | --includ | --inclu | --incl | --inc)
1176    ac_prev=includedir ;;
1177  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1178  | --includ=* | --inclu=* | --incl=* | --inc=*)
1179    includedir=$ac_optarg ;;
1180
1181  -infodir | --infodir | --infodi | --infod | --info | --inf)
1182    ac_prev=infodir ;;
1183  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1184    infodir=$ac_optarg ;;
1185
1186  -libdir | --libdir | --libdi | --libd)
1187    ac_prev=libdir ;;
1188  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1189    libdir=$ac_optarg ;;
1190
1191  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1192  | --libexe | --libex | --libe)
1193    ac_prev=libexecdir ;;
1194  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1195  | --libexe=* | --libex=* | --libe=*)
1196    libexecdir=$ac_optarg ;;
1197
1198  -localedir | --localedir | --localedi | --localed | --locale)
1199    ac_prev=localedir ;;
1200  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1201    localedir=$ac_optarg ;;
1202
1203  -localstatedir | --localstatedir | --localstatedi | --localstated \
1204  | --localstate | --localstat | --localsta | --localst | --locals)
1205    ac_prev=localstatedir ;;
1206  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1207  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1208    localstatedir=$ac_optarg ;;
1209
1210  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1211    ac_prev=mandir ;;
1212  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1213    mandir=$ac_optarg ;;
1214
1215  -nfp | --nfp | --nf)
1216    # Obsolete; use --without-fp.
1217    with_fp=no ;;
1218
1219  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1220  | --no-cr | --no-c | -n)
1221    no_create=yes ;;
1222
1223  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1224  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1225    no_recursion=yes ;;
1226
1227  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1228  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1229  | --oldin | --oldi | --old | --ol | --o)
1230    ac_prev=oldincludedir ;;
1231  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1232  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1233  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1234    oldincludedir=$ac_optarg ;;
1235
1236  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1237    ac_prev=prefix ;;
1238  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1239    prefix=$ac_optarg ;;
1240
1241  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1242  | --program-pre | --program-pr | --program-p)
1243    ac_prev=program_prefix ;;
1244  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1245  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1246    program_prefix=$ac_optarg ;;
1247
1248  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1249  | --program-suf | --program-su | --program-s)
1250    ac_prev=program_suffix ;;
1251  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1252  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1253    program_suffix=$ac_optarg ;;
1254
1255  -program-transform-name | --program-transform-name \
1256  | --program-transform-nam | --program-transform-na \
1257  | --program-transform-n | --program-transform- \
1258  | --program-transform | --program-transfor \
1259  | --program-transfo | --program-transf \
1260  | --program-trans | --program-tran \
1261  | --progr-tra | --program-tr | --program-t)
1262    ac_prev=program_transform_name ;;
1263  -program-transform-name=* | --program-transform-name=* \
1264  | --program-transform-nam=* | --program-transform-na=* \
1265  | --program-transform-n=* | --program-transform-=* \
1266  | --program-transform=* | --program-transfor=* \
1267  | --program-transfo=* | --program-transf=* \
1268  | --program-trans=* | --program-tran=* \
1269  | --progr-tra=* | --program-tr=* | --program-t=*)
1270    program_transform_name=$ac_optarg ;;
1271
1272  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1273    ac_prev=pdfdir ;;
1274  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1275    pdfdir=$ac_optarg ;;
1276
1277  -psdir | --psdir | --psdi | --psd | --ps)
1278    ac_prev=psdir ;;
1279  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1280    psdir=$ac_optarg ;;
1281
1282  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1283  | -silent | --silent | --silen | --sile | --sil)
1284    silent=yes ;;
1285
1286  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1287    ac_prev=sbindir ;;
1288  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1289  | --sbi=* | --sb=*)
1290    sbindir=$ac_optarg ;;
1291
1292  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1293  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1294  | --sharedst | --shareds | --shared | --share | --shar \
1295  | --sha | --sh)
1296    ac_prev=sharedstatedir ;;
1297  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1298  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1299  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1300  | --sha=* | --sh=*)
1301    sharedstatedir=$ac_optarg ;;
1302
1303  -site | --site | --sit)
1304    ac_prev=site ;;
1305  -site=* | --site=* | --sit=*)
1306    site=$ac_optarg ;;
1307
1308  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1309    ac_prev=srcdir ;;
1310  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1311    srcdir=$ac_optarg ;;
1312
1313  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1314  | --syscon | --sysco | --sysc | --sys | --sy)
1315    ac_prev=sysconfdir ;;
1316  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1317  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1318    sysconfdir=$ac_optarg ;;
1319
1320  -target | --target | --targe | --targ | --tar | --ta | --t)
1321    ac_prev=target_alias ;;
1322  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1323    target_alias=$ac_optarg ;;
1324
1325  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1326    verbose=yes ;;
1327
1328  -version | --version | --versio | --versi | --vers | -V)
1329    ac_init_version=: ;;
1330
1331  -with-* | --with-*)
1332    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1333    # Reject names that are not valid shell variable names.
1334    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1335      as_fn_error "invalid package name: $ac_useropt"
1336    ac_useropt_orig=$ac_useropt
1337    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1338    case $ac_user_opts in
1339      *"
1340"with_$ac_useropt"
1341"*) ;;
1342      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1343	 ac_unrecognized_sep=', ';;
1344    esac
1345    eval with_$ac_useropt=\$ac_optarg ;;
1346
1347  -without-* | --without-*)
1348    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1349    # Reject names that are not valid shell variable names.
1350    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1351      as_fn_error "invalid package name: $ac_useropt"
1352    ac_useropt_orig=$ac_useropt
1353    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1354    case $ac_user_opts in
1355      *"
1356"with_$ac_useropt"
1357"*) ;;
1358      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1359	 ac_unrecognized_sep=', ';;
1360    esac
1361    eval with_$ac_useropt=no ;;
1362
1363  --x)
1364    # Obsolete; use --with-x.
1365    with_x=yes ;;
1366
1367  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1368  | --x-incl | --x-inc | --x-in | --x-i)
1369    ac_prev=x_includes ;;
1370  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1371  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1372    x_includes=$ac_optarg ;;
1373
1374  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1375  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1376    ac_prev=x_libraries ;;
1377  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1378  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1379    x_libraries=$ac_optarg ;;
1380
1381  -*) as_fn_error "unrecognized option: \`$ac_option'
1382Try \`$0 --help' for more information."
1383    ;;
1384
1385  *=*)
1386    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1387    # Reject names that are not valid shell variable names.
1388    case $ac_envvar in #(
1389      '' | [0-9]* | *[!_$as_cr_alnum]* )
1390      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1391    esac
1392    eval $ac_envvar=\$ac_optarg
1393    export $ac_envvar ;;
1394
1395  *)
1396    # FIXME: should be removed in autoconf 3.0.
1397    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1398    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1399      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1400    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1401    ;;
1402
1403  esac
1404done
1405
1406if test -n "$ac_prev"; then
1407  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1408  as_fn_error "missing argument to $ac_option"
1409fi
1410
1411if test -n "$ac_unrecognized_opts"; then
1412  case $enable_option_checking in
1413    no) ;;
1414    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1415    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1416  esac
1417fi
1418
1419# Check all directory arguments for consistency.
1420for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1421		datadir sysconfdir sharedstatedir localstatedir includedir \
1422		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1423		libdir localedir mandir
1424do
1425  eval ac_val=\$$ac_var
1426  # Remove trailing slashes.
1427  case $ac_val in
1428    */ )
1429      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1430      eval $ac_var=\$ac_val;;
1431  esac
1432  # Be sure to have absolute directory names.
1433  case $ac_val in
1434    [\\/$]* | ?:[\\/]* )  continue;;
1435    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1436  esac
1437  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1438done
1439
1440# There might be people who depend on the old broken behavior: `$host'
1441# used to hold the argument of --host etc.
1442# FIXME: To remove some day.
1443build=$build_alias
1444host=$host_alias
1445target=$target_alias
1446
1447# FIXME: To remove some day.
1448if test "x$host_alias" != x; then
1449  if test "x$build_alias" = x; then
1450    cross_compiling=maybe
1451    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1452    If a cross compiler is detected then cross compile mode will be used." >&2
1453  elif test "x$build_alias" != "x$host_alias"; then
1454    cross_compiling=yes
1455  fi
1456fi
1457
1458ac_tool_prefix=
1459test -n "$host_alias" && ac_tool_prefix=$host_alias-
1460
1461test "$silent" = yes && exec 6>/dev/null
1462
1463
1464ac_pwd=`pwd` && test -n "$ac_pwd" &&
1465ac_ls_di=`ls -di .` &&
1466ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1467  as_fn_error "working directory cannot be determined"
1468test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1469  as_fn_error "pwd does not report name of working directory"
1470
1471
1472# Find the source files, if location was not specified.
1473if test -z "$srcdir"; then
1474  ac_srcdir_defaulted=yes
1475  # Try the directory containing this script, then the parent directory.
1476  ac_confdir=`$as_dirname -- "$as_myself" ||
1477$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1478	 X"$as_myself" : 'X\(//\)[^/]' \| \
1479	 X"$as_myself" : 'X\(//\)$' \| \
1480	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1481$as_echo X"$as_myself" |
1482    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1483	    s//\1/
1484	    q
1485	  }
1486	  /^X\(\/\/\)[^/].*/{
1487	    s//\1/
1488	    q
1489	  }
1490	  /^X\(\/\/\)$/{
1491	    s//\1/
1492	    q
1493	  }
1494	  /^X\(\/\).*/{
1495	    s//\1/
1496	    q
1497	  }
1498	  s/.*/./; q'`
1499  srcdir=$ac_confdir
1500  if test ! -r "$srcdir/$ac_unique_file"; then
1501    srcdir=..
1502  fi
1503else
1504  ac_srcdir_defaulted=no
1505fi
1506if test ! -r "$srcdir/$ac_unique_file"; then
1507  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1508  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1509fi
1510ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1511ac_abs_confdir=`(
1512	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1513	pwd)`
1514# When building in place, set srcdir=.
1515if test "$ac_abs_confdir" = "$ac_pwd"; then
1516  srcdir=.
1517fi
1518# Remove unnecessary trailing slashes from srcdir.
1519# Double slashes in file names in object file debugging info
1520# mess up M-x gdb in Emacs.
1521case $srcdir in
1522*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1523esac
1524for ac_var in $ac_precious_vars; do
1525  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1526  eval ac_env_${ac_var}_value=\$${ac_var}
1527  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1528  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1529done
1530
1531#
1532# Report the --help message.
1533#
1534if test "$ac_init_help" = "long"; then
1535  # Omit some internal or obsolete options to make the list less imposing.
1536  # This message is too long to be a string in the A/UX 3.1 sh.
1537  cat <<_ACEOF
1538\`configure' configures Heimdal 1.5.2 to adapt to many kinds of systems.
1539
1540Usage: $0 [OPTION]... [VAR=VALUE]...
1541
1542To assign environment variables (e.g., CC, CFLAGS...), specify them as
1543VAR=VALUE.  See below for descriptions of some of the useful variables.
1544
1545Defaults for the options are specified in brackets.
1546
1547Configuration:
1548  -h, --help              display this help and exit
1549      --help=short        display options specific to this package
1550      --help=recursive    display the short help of all the included packages
1551  -V, --version           display version information and exit
1552  -q, --quiet, --silent   do not print \`checking...' messages
1553      --cache-file=FILE   cache test results in FILE [disabled]
1554  -C, --config-cache      alias for \`--cache-file=config.cache'
1555  -n, --no-create         do not create output files
1556      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1557
1558Installation directories:
1559  --prefix=PREFIX         install architecture-independent files in PREFIX
1560                          [$ac_default_prefix]
1561  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1562                          [PREFIX]
1563
1564By default, \`make install' will install all the files in
1565\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1566an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1567for instance \`--prefix=\$HOME'.
1568
1569For better control, use the options below.
1570
1571Fine tuning of the installation directories:
1572  --bindir=DIR            user executables [EPREFIX/bin]
1573  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1574  --libexecdir=DIR        program executables [EPREFIX/libexec]
1575  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1576  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1577  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1578  --libdir=DIR            object code libraries [EPREFIX/lib]
1579  --includedir=DIR        C header files [PREFIX/include]
1580  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1581  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1582  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1583  --infodir=DIR           info documentation [DATAROOTDIR/info]
1584  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1585  --mandir=DIR            man documentation [DATAROOTDIR/man]
1586  --docdir=DIR            documentation root [DATAROOTDIR/doc/heimdal]
1587  --htmldir=DIR           html documentation [DOCDIR]
1588  --dvidir=DIR            dvi documentation [DOCDIR]
1589  --pdfdir=DIR            pdf documentation [DOCDIR]
1590  --psdir=DIR             ps documentation [DOCDIR]
1591_ACEOF
1592
1593  cat <<\_ACEOF
1594
1595Program names:
1596  --program-prefix=PREFIX            prepend PREFIX to installed program names
1597  --program-suffix=SUFFIX            append SUFFIX to installed program names
1598  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1599
1600X features:
1601  --x-includes=DIR    X include files are in DIR
1602  --x-libraries=DIR   X library files are in DIR
1603
1604System types:
1605  --build=BUILD     configure for building on BUILD [guessed]
1606  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1607_ACEOF
1608fi
1609
1610if test -n "$ac_init_help"; then
1611  case $ac_init_help in
1612     short | recursive ) echo "Configuration of Heimdal 1.5.2:";;
1613   esac
1614  cat <<\_ACEOF
1615
1616Optional Features:
1617  --disable-option-checking  ignore unrecognized --enable/--with options
1618  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1619  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1620  --enable-maintainer-mode  enable make rules and dependencies not useful
1621			  (and sometimes confusing) to the casual installer
1622  --disable-dependency-tracking  speeds up one-time build
1623  --enable-dependency-tracking   do not reject slow dependency extractors
1624  --enable-shared[=PKGS]  build shared libraries [default=yes]
1625  --enable-static[=PKGS]  build static libraries [default=yes]
1626  --enable-fast-install[=PKGS]
1627                          optimize for fast installation [default=yes]
1628  --disable-libtool-lock  avoid locking (might break parallel builds)
1629  --disable-largefile     omit support for large files
1630  --disable-dynamic-afs   do not use loaded AFS library with AIX
1631  --enable-hdb-openldap-module
1632                          if you want support to build openldap hdb as shared
1633                          object
1634  --disable-pk-init       if you want disable to PK-INIT support
1635  --disable-digest        if you want disable to DIGEST support
1636  --disable-kx509         if you want disable to kx509 support
1637  --disable-sqlite-cache  if you want support for cache in sqlite
1638  --enable-pthread-support
1639                          if you want thread safe libraries
1640  --enable-dce            if you want support for DCE/DFS PAG's
1641  --disable-afs-support   if you don't want support for AFS
1642  --disable-ndbm-db       if you don't want ndbm db
1643  --enable-developer      enable developer warnings
1644  --enable-socket-wrapper use sambas socket-wrapper for testing
1645  --disable-otp           if you don't want OTP support
1646  --enable-osfc2          enable some OSF C2 support
1647  --disable-mmap          disable use of mmap
1648  --disable-afs-string-to-key
1649                          disable use of weak AFS string-to-key functions
1650  --enable-bigendian      the target is big endian
1651  --enable-littleendian   the target is little endian
1652  --enable-kcm            enable Kerberos Credentials Manager
1653  --disable-heimdal-documentation
1654                          if you want disable to heimdal documentation
1655
1656Optional Packages:
1657  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1658  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1659  --with-pic              try to use only PIC/non-PIC objects [default=use
1660                          both]
1661  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1662  --with-sysroot=DIR Search for dependent libraries within DIR
1663                        (or the compiler's sysroot if not specified).
1664  --with-mips-abi=abi     ABI to use for IRIX (32, n32, or 64)
1665  --with-cross-tools=dir  use cross tools in dir
1666  --with-openldap=dir     use openldap in dir
1667  --with-openldap-lib=dir use openldap libraries in dir
1668  --with-openldap-include=dir
1669                          use openldap headers in dir
1670  --with-openldap-config=path
1671                          config program for openldap
1672  --with-capng            use libcap-ng to drop KDC privileges [default=check]
1673  --with-sqlite3=dir      use sqlite3 in dir
1674  --with-sqlite3-lib=dir  use sqlite3 libraries in dir
1675  --with-sqlite3-include=dir
1676                          use sqlite3 headers in dir
1677  --with-sqlite3-config=path
1678                          config program for sqlite3
1679  --with-libintl=dir      use libintl in dir
1680  --with-libintl-lib=dir  use libintl libraries in dir
1681  --with-libintl-include=dir
1682                          use libintl headers in dir
1683  --with-libintl-config=path
1684                          config program for libintl
1685  --with-hdbdir           Default location for KDC database
1686                          [default=/var/heimdal]
1687  --with-openssl=dir      use openssl in dir
1688  --with-openssl-lib=dir  use openssl libraries in dir
1689  --with-openssl-include=dir
1690                          use openssl headers in dir
1691  --with-berkeley-db      enable support for berkeley db [default=check]
1692  --with-berkeley-db-include=dir
1693                          use berkeley-db headers in dir
1694  --without-ipv6          do not enable IPv6 support
1695  --with-readline=dir     use readline in dir
1696  --with-readline-lib=dir use readline libraries in dir
1697  --with-readline-include=dir
1698                          use readline headers in dir
1699  --with-readline-config=path
1700                          config program for readline
1701  --with-libedit=dir      use libedit in dir
1702  --with-libedit-lib=dir  use libedit libraries in dir
1703  --with-libedit-include=dir
1704                          use libedit headers in dir
1705  --with-libedit-config=path
1706                          config program for libedit
1707  --with-hesiod=dir       use hesiod in dir
1708  --with-hesiod-lib=dir   use hesiod libraries in dir
1709  --with-hesiod-include=dir
1710                          use hesiod headers in dir
1711  --with-hesiod-config=path
1712                          config program for hesiod
1713  --with-x                use the X Window System
1714
1715Some influential environment variables:
1716  CC          C compiler command
1717  CFLAGS      C compiler flags
1718  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1719              nonstandard directory <lib dir>
1720  LIBS        libraries to pass to the linker, e.g. -l<library>
1721  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1722              you have headers in a nonstandard directory <include dir>
1723  CPP         C preprocessor
1724  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1725              the first program found out of: `bison -y', `byacc', `yacc'.
1726  YFLAGS      The list of arguments that will be passed by default to $YACC.
1727              This script will default YFLAGS to the empty string to avoid a
1728              default value of `-d' given by some make applications.
1729  PKG_CONFIG  path to pkg-config utility
1730  CAPNG_CFLAGS
1731              C compiler flags for CAPNG, overriding pkg-config
1732  CAPNG_LIBS  linker flags for CAPNG, overriding pkg-config
1733  XMKMF       Path to xmkmf, Makefile generator for X Window System
1734
1735Use these variables to override the choices made by `configure' or to help
1736it to find libraries and programs with nonstandard names/locations.
1737
1738Report bugs to <heimdal-bugs@h5l.org>.
1739_ACEOF
1740ac_status=$?
1741fi
1742
1743if test "$ac_init_help" = "recursive"; then
1744  # If there are subdirs, report their specific --help.
1745  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1746    test -d "$ac_dir" ||
1747      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1748      continue
1749    ac_builddir=.
1750
1751case "$ac_dir" in
1752.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1753*)
1754  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1755  # A ".." for each directory in $ac_dir_suffix.
1756  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1757  case $ac_top_builddir_sub in
1758  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1759  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1760  esac ;;
1761esac
1762ac_abs_top_builddir=$ac_pwd
1763ac_abs_builddir=$ac_pwd$ac_dir_suffix
1764# for backward compatibility:
1765ac_top_builddir=$ac_top_build_prefix
1766
1767case $srcdir in
1768  .)  # We are building in place.
1769    ac_srcdir=.
1770    ac_top_srcdir=$ac_top_builddir_sub
1771    ac_abs_top_srcdir=$ac_pwd ;;
1772  [\\/]* | ?:[\\/]* )  # Absolute name.
1773    ac_srcdir=$srcdir$ac_dir_suffix;
1774    ac_top_srcdir=$srcdir
1775    ac_abs_top_srcdir=$srcdir ;;
1776  *) # Relative name.
1777    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1778    ac_top_srcdir=$ac_top_build_prefix$srcdir
1779    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1780esac
1781ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1782
1783    cd "$ac_dir" || { ac_status=$?; continue; }
1784    # Check for guested configure.
1785    if test -f "$ac_srcdir/configure.gnu"; then
1786      echo &&
1787      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1788    elif test -f "$ac_srcdir/configure"; then
1789      echo &&
1790      $SHELL "$ac_srcdir/configure" --help=recursive
1791    else
1792      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1793    fi || ac_status=$?
1794    cd "$ac_pwd" || { ac_status=$?; break; }
1795  done
1796fi
1797
1798test -n "$ac_init_help" && exit $ac_status
1799if $ac_init_version; then
1800  cat <<\_ACEOF
1801Heimdal configure 1.5.2
1802generated by GNU Autoconf 2.65
1803
1804Copyright (C) 2009 Free Software Foundation, Inc.
1805This configure script is free software; the Free Software Foundation
1806gives unlimited permission to copy, distribute and modify it.
1807_ACEOF
1808  exit
1809fi
1810
1811## ------------------------ ##
1812## Autoconf initialization. ##
1813## ------------------------ ##
1814
1815# ac_fn_c_try_compile LINENO
1816# --------------------------
1817# Try to compile conftest.$ac_ext, and return whether this succeeded.
1818ac_fn_c_try_compile ()
1819{
1820  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821  rm -f conftest.$ac_objext
1822  if { { ac_try="$ac_compile"
1823case "(($ac_try" in
1824  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1825  *) ac_try_echo=$ac_try;;
1826esac
1827eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828$as_echo "$ac_try_echo"; } >&5
1829  (eval "$ac_compile") 2>conftest.err
1830  ac_status=$?
1831  if test -s conftest.err; then
1832    grep -v '^ *+' conftest.err >conftest.er1
1833    cat conftest.er1 >&5
1834    mv -f conftest.er1 conftest.err
1835  fi
1836  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837  test $ac_status = 0; } && {
1838	 test -z "$ac_c_werror_flag" ||
1839	 test ! -s conftest.err
1840       } && test -s conftest.$ac_objext; then :
1841  ac_retval=0
1842else
1843  $as_echo "$as_me: failed program was:" >&5
1844sed 's/^/| /' conftest.$ac_ext >&5
1845
1846	ac_retval=1
1847fi
1848  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1849  as_fn_set_status $ac_retval
1850
1851} # ac_fn_c_try_compile
1852
1853# ac_fn_c_try_cpp LINENO
1854# ----------------------
1855# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1856ac_fn_c_try_cpp ()
1857{
1858  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859  if { { ac_try="$ac_cpp conftest.$ac_ext"
1860case "(($ac_try" in
1861  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1862  *) ac_try_echo=$ac_try;;
1863esac
1864eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865$as_echo "$ac_try_echo"; } >&5
1866  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1867  ac_status=$?
1868  if test -s conftest.err; then
1869    grep -v '^ *+' conftest.err >conftest.er1
1870    cat conftest.er1 >&5
1871    mv -f conftest.er1 conftest.err
1872  fi
1873  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874  test $ac_status = 0; } >/dev/null && {
1875	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1876	 test ! -s conftest.err
1877       }; then :
1878  ac_retval=0
1879else
1880  $as_echo "$as_me: failed program was:" >&5
1881sed 's/^/| /' conftest.$ac_ext >&5
1882
1883    ac_retval=1
1884fi
1885  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1886  as_fn_set_status $ac_retval
1887
1888} # ac_fn_c_try_cpp
1889
1890# ac_fn_c_try_link LINENO
1891# -----------------------
1892# Try to link conftest.$ac_ext, and return whether this succeeded.
1893ac_fn_c_try_link ()
1894{
1895  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1896  rm -f conftest.$ac_objext conftest$ac_exeext
1897  if { { ac_try="$ac_link"
1898case "(($ac_try" in
1899  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900  *) ac_try_echo=$ac_try;;
1901esac
1902eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903$as_echo "$ac_try_echo"; } >&5
1904  (eval "$ac_link") 2>conftest.err
1905  ac_status=$?
1906  if test -s conftest.err; then
1907    grep -v '^ *+' conftest.err >conftest.er1
1908    cat conftest.er1 >&5
1909    mv -f conftest.er1 conftest.err
1910  fi
1911  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912  test $ac_status = 0; } && {
1913	 test -z "$ac_c_werror_flag" ||
1914	 test ! -s conftest.err
1915       } && test -s conftest$ac_exeext && {
1916	 test "$cross_compiling" = yes ||
1917	 $as_test_x conftest$ac_exeext
1918       }; then :
1919  ac_retval=0
1920else
1921  $as_echo "$as_me: failed program was:" >&5
1922sed 's/^/| /' conftest.$ac_ext >&5
1923
1924	ac_retval=1
1925fi
1926  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1927  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1928  # interfere with the next link command; also delete a directory that is
1929  # left behind by Apple's compiler.  We do this before executing the actions.
1930  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1931  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1932  as_fn_set_status $ac_retval
1933
1934} # ac_fn_c_try_link
1935
1936# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1937# -------------------------------------------------------
1938# Tests whether HEADER exists and can be compiled using the include files in
1939# INCLUDES, setting the cache variable VAR accordingly.
1940ac_fn_c_check_header_compile ()
1941{
1942  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944$as_echo_n "checking for $2... " >&6; }
1945if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1946  $as_echo_n "(cached) " >&6
1947else
1948  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1949/* end confdefs.h.  */
1950$4
1951#include <$2>
1952_ACEOF
1953if ac_fn_c_try_compile "$LINENO"; then :
1954  eval "$3=yes"
1955else
1956  eval "$3=no"
1957fi
1958rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1959fi
1960eval ac_res=\$$3
1961	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1962$as_echo "$ac_res" >&6; }
1963  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1964
1965} # ac_fn_c_check_header_compile
1966
1967# ac_fn_c_try_run LINENO
1968# ----------------------
1969# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1970# that executables *can* be run.
1971ac_fn_c_try_run ()
1972{
1973  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974  if { { ac_try="$ac_link"
1975case "(($ac_try" in
1976  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1977  *) ac_try_echo=$ac_try;;
1978esac
1979eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1980$as_echo "$ac_try_echo"; } >&5
1981  (eval "$ac_link") 2>&5
1982  ac_status=$?
1983  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1984  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1985  { { case "(($ac_try" in
1986  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1987  *) ac_try_echo=$ac_try;;
1988esac
1989eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1990$as_echo "$ac_try_echo"; } >&5
1991  (eval "$ac_try") 2>&5
1992  ac_status=$?
1993  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1994  test $ac_status = 0; }; }; then :
1995  ac_retval=0
1996else
1997  $as_echo "$as_me: program exited with status $ac_status" >&5
1998       $as_echo "$as_me: failed program was:" >&5
1999sed 's/^/| /' conftest.$ac_ext >&5
2000
2001       ac_retval=$ac_status
2002fi
2003  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2004  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2005  as_fn_set_status $ac_retval
2006
2007} # ac_fn_c_try_run
2008
2009# ac_fn_c_check_func LINENO FUNC VAR
2010# ----------------------------------
2011# Tests whether FUNC exists, setting the cache variable VAR accordingly
2012ac_fn_c_check_func ()
2013{
2014  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2016$as_echo_n "checking for $2... " >&6; }
2017if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2018  $as_echo_n "(cached) " >&6
2019else
2020  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021/* end confdefs.h.  */
2022/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2023   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2024#define $2 innocuous_$2
2025
2026/* System header to define __stub macros and hopefully few prototypes,
2027    which can conflict with char $2 (); below.
2028    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2029    <limits.h> exists even on freestanding compilers.  */
2030
2031#ifdef __STDC__
2032# include <limits.h>
2033#else
2034# include <assert.h>
2035#endif
2036
2037#undef $2
2038
2039/* Override any GCC internal prototype to avoid an error.
2040   Use char because int might match the return type of a GCC
2041   builtin and then its argument prototype would still apply.  */
2042#ifdef __cplusplus
2043extern "C"
2044#endif
2045char $2 ();
2046/* The GNU C library defines this for functions which it implements
2047    to always fail with ENOSYS.  Some functions are actually named
2048    something starting with __ and the normal name is an alias.  */
2049#if defined __stub_$2 || defined __stub___$2
2050choke me
2051#endif
2052
2053int
2054main ()
2055{
2056return $2 ();
2057  ;
2058  return 0;
2059}
2060_ACEOF
2061if ac_fn_c_try_link "$LINENO"; then :
2062  eval "$3=yes"
2063else
2064  eval "$3=no"
2065fi
2066rm -f core conftest.err conftest.$ac_objext \
2067    conftest$ac_exeext conftest.$ac_ext
2068fi
2069eval ac_res=\$$3
2070	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071$as_echo "$ac_res" >&6; }
2072  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2073
2074} # ac_fn_c_check_func
2075
2076# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2077# -------------------------------------------------------
2078# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2079# the include files in INCLUDES and setting the cache variable VAR
2080# accordingly.
2081ac_fn_c_check_header_mongrel ()
2082{
2083  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086$as_echo_n "checking for $2... " >&6; }
2087if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088  $as_echo_n "(cached) " >&6
2089fi
2090eval ac_res=\$$3
2091	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092$as_echo "$ac_res" >&6; }
2093else
2094  # Is the header compilable?
2095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2096$as_echo_n "checking $2 usability... " >&6; }
2097cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098/* end confdefs.h.  */
2099$4
2100#include <$2>
2101_ACEOF
2102if ac_fn_c_try_compile "$LINENO"; then :
2103  ac_header_compiler=yes
2104else
2105  ac_header_compiler=no
2106fi
2107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2109$as_echo "$ac_header_compiler" >&6; }
2110
2111# Is the header present?
2112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2113$as_echo_n "checking $2 presence... " >&6; }
2114cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115/* end confdefs.h.  */
2116#include <$2>
2117_ACEOF
2118if ac_fn_c_try_cpp "$LINENO"; then :
2119  ac_header_preproc=yes
2120else
2121  ac_header_preproc=no
2122fi
2123rm -f conftest.err conftest.$ac_ext
2124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2125$as_echo "$ac_header_preproc" >&6; }
2126
2127# So?  What about this header?
2128case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2129  yes:no: )
2130    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2131$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2132    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2134    ;;
2135  no:yes:* )
2136    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2137$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2138    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2139$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2140    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2141$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2142    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2143$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2144    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2146( cat <<\_ASBOX
2147## ----------------------------------- ##
2148## Report this to heimdal-bugs@h5l.org ##
2149## ----------------------------------- ##
2150_ASBOX
2151     ) | sed "s/^/$as_me: WARNING:     /" >&2
2152    ;;
2153esac
2154  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2155$as_echo_n "checking for $2... " >&6; }
2156if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2157  $as_echo_n "(cached) " >&6
2158else
2159  eval "$3=\$ac_header_compiler"
2160fi
2161eval ac_res=\$$3
2162	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2163$as_echo "$ac_res" >&6; }
2164fi
2165  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2166
2167} # ac_fn_c_check_header_mongrel
2168
2169# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2170# -------------------------------------------
2171# Tests whether TYPE exists after having included INCLUDES, setting cache
2172# variable VAR accordingly.
2173ac_fn_c_check_type ()
2174{
2175  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2176  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2177$as_echo_n "checking for $2... " >&6; }
2178if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2179  $as_echo_n "(cached) " >&6
2180else
2181  eval "$3=no"
2182  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183/* end confdefs.h.  */
2184$4
2185int
2186main ()
2187{
2188if (sizeof ($2))
2189	 return 0;
2190  ;
2191  return 0;
2192}
2193_ACEOF
2194if ac_fn_c_try_compile "$LINENO"; then :
2195  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2196/* end confdefs.h.  */
2197$4
2198int
2199main ()
2200{
2201if (sizeof (($2)))
2202	    return 0;
2203  ;
2204  return 0;
2205}
2206_ACEOF
2207if ac_fn_c_try_compile "$LINENO"; then :
2208
2209else
2210  eval "$3=yes"
2211fi
2212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2213fi
2214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215fi
2216eval ac_res=\$$3
2217	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2218$as_echo "$ac_res" >&6; }
2219  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2220
2221} # ac_fn_c_check_type
2222
2223# ac_fn_c_check_header_preproc LINENO HEADER VAR
2224# ----------------------------------------------
2225# Tests whether HEADER is present, setting the cache variable VAR accordingly.
2226ac_fn_c_check_header_preproc ()
2227{
2228  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2229  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2230$as_echo_n "checking for $2... " >&6; }
2231if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2232  $as_echo_n "(cached) " >&6
2233else
2234  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2235/* end confdefs.h.  */
2236#include <$2>
2237_ACEOF
2238if ac_fn_c_try_cpp "$LINENO"; then :
2239  eval "$3=yes"
2240else
2241  eval "$3=no"
2242fi
2243rm -f conftest.err conftest.$ac_ext
2244fi
2245eval ac_res=\$$3
2246	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247$as_echo "$ac_res" >&6; }
2248  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2249
2250} # ac_fn_c_check_header_preproc
2251cat >config.log <<_ACEOF
2252This file contains any messages produced by compilers while
2253running configure, to aid debugging if configure makes a mistake.
2254
2255It was created by Heimdal $as_me 1.5.2, which was
2256generated by GNU Autoconf 2.65.  Invocation command line was
2257
2258  $ $0 $@
2259
2260_ACEOF
2261exec 5>>config.log
2262{
2263cat <<_ASUNAME
2264## --------- ##
2265## Platform. ##
2266## --------- ##
2267
2268hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2269uname -m = `(uname -m) 2>/dev/null || echo unknown`
2270uname -r = `(uname -r) 2>/dev/null || echo unknown`
2271uname -s = `(uname -s) 2>/dev/null || echo unknown`
2272uname -v = `(uname -v) 2>/dev/null || echo unknown`
2273
2274/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2275/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2276
2277/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2278/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2279/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2280/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2281/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2282/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2283/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2284
2285_ASUNAME
2286
2287as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2288for as_dir in $PATH
2289do
2290  IFS=$as_save_IFS
2291  test -z "$as_dir" && as_dir=.
2292    $as_echo "PATH: $as_dir"
2293  done
2294IFS=$as_save_IFS
2295
2296} >&5
2297
2298cat >&5 <<_ACEOF
2299
2300
2301## ----------- ##
2302## Core tests. ##
2303## ----------- ##
2304
2305_ACEOF
2306
2307
2308# Keep a trace of the command line.
2309# Strip out --no-create and --no-recursion so they do not pile up.
2310# Strip out --silent because we don't want to record it for future runs.
2311# Also quote any args containing shell meta-characters.
2312# Make two passes to allow for proper duplicate-argument suppression.
2313ac_configure_args=
2314ac_configure_args0=
2315ac_configure_args1=
2316ac_must_keep_next=false
2317for ac_pass in 1 2
2318do
2319  for ac_arg
2320  do
2321    case $ac_arg in
2322    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2323    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2324    | -silent | --silent | --silen | --sile | --sil)
2325      continue ;;
2326    *\'*)
2327      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2328    esac
2329    case $ac_pass in
2330    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2331    2)
2332      as_fn_append ac_configure_args1 " '$ac_arg'"
2333      if test $ac_must_keep_next = true; then
2334	ac_must_keep_next=false # Got value, back to normal.
2335      else
2336	case $ac_arg in
2337	  *=* | --config-cache | -C | -disable-* | --disable-* \
2338	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2339	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2340	  | -with-* | --with-* | -without-* | --without-* | --x)
2341	    case "$ac_configure_args0 " in
2342	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2343	    esac
2344	    ;;
2345	  -* ) ac_must_keep_next=true ;;
2346	esac
2347      fi
2348      as_fn_append ac_configure_args " '$ac_arg'"
2349      ;;
2350    esac
2351  done
2352done
2353{ ac_configure_args0=; unset ac_configure_args0;}
2354{ ac_configure_args1=; unset ac_configure_args1;}
2355
2356# When interrupted or exit'd, cleanup temporary files, and complete
2357# config.log.  We remove comments because anyway the quotes in there
2358# would cause problems or look ugly.
2359# WARNING: Use '\'' to represent an apostrophe within the trap.
2360# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2361trap 'exit_status=$?
2362  # Save into config.log some information that might help in debugging.
2363  {
2364    echo
2365
2366    cat <<\_ASBOX
2367## ---------------- ##
2368## Cache variables. ##
2369## ---------------- ##
2370_ASBOX
2371    echo
2372    # The following way of writing the cache mishandles newlines in values,
2373(
2374  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2375    eval ac_val=\$$ac_var
2376    case $ac_val in #(
2377    *${as_nl}*)
2378      case $ac_var in #(
2379      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2380$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2381      esac
2382      case $ac_var in #(
2383      _ | IFS | as_nl) ;; #(
2384      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2385      *) { eval $ac_var=; unset $ac_var;} ;;
2386      esac ;;
2387    esac
2388  done
2389  (set) 2>&1 |
2390    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2391    *${as_nl}ac_space=\ *)
2392      sed -n \
2393	"s/'\''/'\''\\\\'\'''\''/g;
2394	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2395      ;; #(
2396    *)
2397      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2398      ;;
2399    esac |
2400    sort
2401)
2402    echo
2403
2404    cat <<\_ASBOX
2405## ----------------- ##
2406## Output variables. ##
2407## ----------------- ##
2408_ASBOX
2409    echo
2410    for ac_var in $ac_subst_vars
2411    do
2412      eval ac_val=\$$ac_var
2413      case $ac_val in
2414      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2415      esac
2416      $as_echo "$ac_var='\''$ac_val'\''"
2417    done | sort
2418    echo
2419
2420    if test -n "$ac_subst_files"; then
2421      cat <<\_ASBOX
2422## ------------------- ##
2423## File substitutions. ##
2424## ------------------- ##
2425_ASBOX
2426      echo
2427      for ac_var in $ac_subst_files
2428      do
2429	eval ac_val=\$$ac_var
2430	case $ac_val in
2431	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2432	esac
2433	$as_echo "$ac_var='\''$ac_val'\''"
2434      done | sort
2435      echo
2436    fi
2437
2438    if test -s confdefs.h; then
2439      cat <<\_ASBOX
2440## ----------- ##
2441## confdefs.h. ##
2442## ----------- ##
2443_ASBOX
2444      echo
2445      cat confdefs.h
2446      echo
2447    fi
2448    test "$ac_signal" != 0 &&
2449      $as_echo "$as_me: caught signal $ac_signal"
2450    $as_echo "$as_me: exit $exit_status"
2451  } >&5
2452  rm -f core *.core core.conftest.* &&
2453    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2454    exit $exit_status
2455' 0
2456for ac_signal in 1 2 13 15; do
2457  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2458done
2459ac_signal=0
2460
2461# confdefs.h avoids OS command line length limits that DEFS can exceed.
2462rm -f -r conftest* confdefs.h
2463
2464$as_echo "/* confdefs.h */" > confdefs.h
2465
2466# Predefined preprocessor variables.
2467
2468cat >>confdefs.h <<_ACEOF
2469#define PACKAGE_NAME "$PACKAGE_NAME"
2470_ACEOF
2471
2472cat >>confdefs.h <<_ACEOF
2473#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2474_ACEOF
2475
2476cat >>confdefs.h <<_ACEOF
2477#define PACKAGE_VERSION "$PACKAGE_VERSION"
2478_ACEOF
2479
2480cat >>confdefs.h <<_ACEOF
2481#define PACKAGE_STRING "$PACKAGE_STRING"
2482_ACEOF
2483
2484cat >>confdefs.h <<_ACEOF
2485#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2486_ACEOF
2487
2488cat >>confdefs.h <<_ACEOF
2489#define PACKAGE_URL "$PACKAGE_URL"
2490_ACEOF
2491
2492
2493# Let the site file select an alternate cache file if it wants to.
2494# Prefer an explicitly selected file to automatically selected ones.
2495ac_site_file1=NONE
2496ac_site_file2=NONE
2497if test -n "$CONFIG_SITE"; then
2498  ac_site_file1=$CONFIG_SITE
2499elif test "x$prefix" != xNONE; then
2500  ac_site_file1=$prefix/share/config.site
2501  ac_site_file2=$prefix/etc/config.site
2502else
2503  ac_site_file1=$ac_default_prefix/share/config.site
2504  ac_site_file2=$ac_default_prefix/etc/config.site
2505fi
2506for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2507do
2508  test "x$ac_site_file" = xNONE && continue
2509  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2510    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2511$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2512    sed 's/^/| /' "$ac_site_file" >&5
2513    . "$ac_site_file"
2514  fi
2515done
2516
2517if test -r "$cache_file"; then
2518  # Some versions of bash will fail to source /dev/null (special files
2519  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2520  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2521    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2522$as_echo "$as_me: loading cache $cache_file" >&6;}
2523    case $cache_file in
2524      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2525      *)                      . "./$cache_file";;
2526    esac
2527  fi
2528else
2529  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2530$as_echo "$as_me: creating cache $cache_file" >&6;}
2531  >$cache_file
2532fi
2533
2534as_fn_append ac_header_list " stdlib.h"
2535as_fn_append ac_header_list " unistd.h"
2536as_fn_append ac_header_list " sys/param.h"
2537# Check that the precious variables saved in the cache have kept the same
2538# value.
2539ac_cache_corrupted=false
2540for ac_var in $ac_precious_vars; do
2541  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2542  eval ac_new_set=\$ac_env_${ac_var}_set
2543  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2544  eval ac_new_val=\$ac_env_${ac_var}_value
2545  case $ac_old_set,$ac_new_set in
2546    set,)
2547      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2548$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2549      ac_cache_corrupted=: ;;
2550    ,set)
2551      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2552$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2553      ac_cache_corrupted=: ;;
2554    ,);;
2555    *)
2556      if test "x$ac_old_val" != "x$ac_new_val"; then
2557	# differences in whitespace do not lead to failure.
2558	ac_old_val_w=`echo x $ac_old_val`
2559	ac_new_val_w=`echo x $ac_new_val`
2560	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2561	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2562$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2563	  ac_cache_corrupted=:
2564	else
2565	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2566$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2567	  eval $ac_var=\$ac_old_val
2568	fi
2569	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2570$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2571	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2572$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2573      fi;;
2574  esac
2575  # Pass precious variables to config.status.
2576  if test "$ac_new_set" = set; then
2577    case $ac_new_val in
2578    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2579    *) ac_arg=$ac_var=$ac_new_val ;;
2580    esac
2581    case " $ac_configure_args " in
2582      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2583      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2584    esac
2585  fi
2586done
2587if $ac_cache_corrupted; then
2588  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2589$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2590  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2591$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2592  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2593fi
2594## -------------------- ##
2595## Main body of script. ##
2596## -------------------- ##
2597
2598ac_ext=c
2599ac_cpp='$CPP $CPPFLAGS'
2600ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2601ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2602ac_compiler_gnu=$ac_cv_c_compiler_gnu
2603
2604
2605
2606ac_config_headers="$ac_config_headers include/config.h"
2607
2608
2609
2610am__api_version='1.11'
2611
2612ac_aux_dir=
2613for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2614  for ac_t in install-sh install.sh shtool; do
2615    if test -f "$ac_dir/$ac_t"; then
2616      ac_aux_dir=$ac_dir
2617      ac_install_sh="$ac_aux_dir/$ac_t -c"
2618      break 2
2619    fi
2620  done
2621done
2622if test -z "$ac_aux_dir"; then
2623  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2624fi
2625
2626# These three variables are undocumented and unsupported,
2627# and are intended to be withdrawn in a future Autoconf release.
2628# They can cause serious problems if a builder's source tree is in a directory
2629# whose full name contains unusual characters.
2630ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2631ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2632ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2633
2634
2635# Find a good install program.  We prefer a C program (faster),
2636# so one script is as good as another.  But avoid the broken or
2637# incompatible versions:
2638# SysV /etc/install, /usr/sbin/install
2639# SunOS /usr/etc/install
2640# IRIX /sbin/install
2641# AIX /bin/install
2642# AmigaOS /C/install, which installs bootblocks on floppy discs
2643# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2644# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2645# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2646# OS/2's system install, which has a completely different semantic
2647# ./install, which can be erroneously created by make from ./install.sh.
2648# Reject install programs that cannot install multiple files.
2649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2650$as_echo_n "checking for a BSD-compatible install... " >&6; }
2651if test -z "$INSTALL"; then
2652if test "${ac_cv_path_install+set}" = set; then :
2653  $as_echo_n "(cached) " >&6
2654else
2655  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656for as_dir in $PATH
2657do
2658  IFS=$as_save_IFS
2659  test -z "$as_dir" && as_dir=.
2660    # Account for people who put trailing slashes in PATH elements.
2661case $as_dir/ in #((
2662  ./ | .// | /[cC]/* | \
2663  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2664  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2665  /usr/ucb/* ) ;;
2666  *)
2667    # OSF1 and SCO ODT 3.0 have their own names for install.
2668    # Don't use installbsd from OSF since it installs stuff as root
2669    # by default.
2670    for ac_prog in ginstall scoinst install; do
2671      for ac_exec_ext in '' $ac_executable_extensions; do
2672	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2673	  if test $ac_prog = install &&
2674	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2675	    # AIX install.  It has an incompatible calling convention.
2676	    :
2677	  elif test $ac_prog = install &&
2678	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2679	    # program-specific install script used by HP pwplus--don't use.
2680	    :
2681	  else
2682	    rm -rf conftest.one conftest.two conftest.dir
2683	    echo one > conftest.one
2684	    echo two > conftest.two
2685	    mkdir conftest.dir
2686	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2687	      test -s conftest.one && test -s conftest.two &&
2688	      test -s conftest.dir/conftest.one &&
2689	      test -s conftest.dir/conftest.two
2690	    then
2691	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2692	      break 3
2693	    fi
2694	  fi
2695	fi
2696      done
2697    done
2698    ;;
2699esac
2700
2701  done
2702IFS=$as_save_IFS
2703
2704rm -rf conftest.one conftest.two conftest.dir
2705
2706fi
2707  if test "${ac_cv_path_install+set}" = set; then
2708    INSTALL=$ac_cv_path_install
2709  else
2710    # As a last resort, use the slow shell script.  Don't cache a
2711    # value for INSTALL within a source directory, because that will
2712    # break other packages using the cache if that directory is
2713    # removed, or if the value is a relative name.
2714    INSTALL=$ac_install_sh
2715  fi
2716fi
2717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2718$as_echo "$INSTALL" >&6; }
2719
2720# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2721# It thinks the first close brace ends the variable substitution.
2722test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2723
2724test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2725
2726test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2727
2728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2729$as_echo_n "checking whether build environment is sane... " >&6; }
2730# Just in case
2731sleep 1
2732echo timestamp > conftest.file
2733# Reject unsafe characters in $srcdir or the absolute working directory
2734# name.  Accept space and tab only in the latter.
2735am_lf='
2736'
2737case `pwd` in
2738  *[\\\"\#\$\&\'\`$am_lf]*)
2739    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2740esac
2741case $srcdir in
2742  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2743    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2744esac
2745
2746# Do `set' in a subshell so we don't clobber the current shell's
2747# arguments.  Must try -L first in case configure is actually a
2748# symlink; some systems play weird games with the mod time of symlinks
2749# (eg FreeBSD returns the mod time of the symlink's containing
2750# directory).
2751if (
2752   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2753   if test "$*" = "X"; then
2754      # -L didn't work.
2755      set X `ls -t "$srcdir/configure" conftest.file`
2756   fi
2757   rm -f conftest.file
2758   if test "$*" != "X $srcdir/configure conftest.file" \
2759      && test "$*" != "X conftest.file $srcdir/configure"; then
2760
2761      # If neither matched, then we have a broken ls.  This can happen
2762      # if, for instance, CONFIG_SHELL is bash and it inherits a
2763      # broken ls alias from the environment.  This has actually
2764      # happened.  Such a system could not be considered "sane".
2765      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2766alias in your environment" "$LINENO" 5
2767   fi
2768
2769   test "$2" = conftest.file
2770   )
2771then
2772   # Ok.
2773   :
2774else
2775   as_fn_error "newly created file is older than distributed files!
2776Check your system clock" "$LINENO" 5
2777fi
2778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2779$as_echo "yes" >&6; }
2780test "$program_prefix" != NONE &&
2781  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2782# Use a double $ so make ignores it.
2783test "$program_suffix" != NONE &&
2784  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2785# Double any \ or $.
2786# By default was `s,x,x', remove it if useless.
2787ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2788program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2789
2790# expand $ac_aux_dir to an absolute path
2791am_aux_dir=`cd $ac_aux_dir && pwd`
2792
2793if test x"${MISSING+set}" != xset; then
2794  case $am_aux_dir in
2795  *\ * | *\	*)
2796    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2797  *)
2798    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2799  esac
2800fi
2801# Use eval to expand $SHELL
2802if eval "$MISSING --run true"; then
2803  am_missing_run="$MISSING --run "
2804else
2805  am_missing_run=
2806  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2807$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2808fi
2809
2810if test x"${install_sh}" != xset; then
2811  case $am_aux_dir in
2812  *\ * | *\	*)
2813    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2814  *)
2815    install_sh="\${SHELL} $am_aux_dir/install-sh"
2816  esac
2817fi
2818
2819# Installed binaries are usually stripped using `strip' when the user
2820# run `make install-strip'.  However `strip' might not be the right
2821# tool to use in cross-compilation environments, therefore Automake
2822# will honor the `STRIP' environment variable to overrule this program.
2823if test "$cross_compiling" != no; then
2824  if test -n "$ac_tool_prefix"; then
2825  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2826set dummy ${ac_tool_prefix}strip; ac_word=$2
2827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2828$as_echo_n "checking for $ac_word... " >&6; }
2829if test "${ac_cv_prog_STRIP+set}" = set; then :
2830  $as_echo_n "(cached) " >&6
2831else
2832  if test -n "$STRIP"; then
2833  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2834else
2835as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2836for as_dir in $PATH
2837do
2838  IFS=$as_save_IFS
2839  test -z "$as_dir" && as_dir=.
2840    for ac_exec_ext in '' $ac_executable_extensions; do
2841  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2842    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2843    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2844    break 2
2845  fi
2846done
2847  done
2848IFS=$as_save_IFS
2849
2850fi
2851fi
2852STRIP=$ac_cv_prog_STRIP
2853if test -n "$STRIP"; then
2854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2855$as_echo "$STRIP" >&6; }
2856else
2857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2858$as_echo "no" >&6; }
2859fi
2860
2861
2862fi
2863if test -z "$ac_cv_prog_STRIP"; then
2864  ac_ct_STRIP=$STRIP
2865  # Extract the first word of "strip", so it can be a program name with args.
2866set dummy strip; ac_word=$2
2867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2868$as_echo_n "checking for $ac_word... " >&6; }
2869if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2870  $as_echo_n "(cached) " >&6
2871else
2872  if test -n "$ac_ct_STRIP"; then
2873  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2874else
2875as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2876for as_dir in $PATH
2877do
2878  IFS=$as_save_IFS
2879  test -z "$as_dir" && as_dir=.
2880    for ac_exec_ext in '' $ac_executable_extensions; do
2881  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2882    ac_cv_prog_ac_ct_STRIP="strip"
2883    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2884    break 2
2885  fi
2886done
2887  done
2888IFS=$as_save_IFS
2889
2890fi
2891fi
2892ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2893if test -n "$ac_ct_STRIP"; then
2894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2895$as_echo "$ac_ct_STRIP" >&6; }
2896else
2897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2898$as_echo "no" >&6; }
2899fi
2900
2901  if test "x$ac_ct_STRIP" = x; then
2902    STRIP=":"
2903  else
2904    case $cross_compiling:$ac_tool_warned in
2905yes:)
2906{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2907$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2908ac_tool_warned=yes ;;
2909esac
2910    STRIP=$ac_ct_STRIP
2911  fi
2912else
2913  STRIP="$ac_cv_prog_STRIP"
2914fi
2915
2916fi
2917INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2918
2919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2920$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2921if test -z "$MKDIR_P"; then
2922  if test "${ac_cv_path_mkdir+set}" = set; then :
2923  $as_echo_n "(cached) " >&6
2924else
2925  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2927do
2928  IFS=$as_save_IFS
2929  test -z "$as_dir" && as_dir=.
2930    for ac_prog in mkdir gmkdir; do
2931	 for ac_exec_ext in '' $ac_executable_extensions; do
2932	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2933	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2934	     'mkdir (GNU coreutils) '* | \
2935	     'mkdir (coreutils) '* | \
2936	     'mkdir (fileutils) '4.1*)
2937	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2938	       break 3;;
2939	   esac
2940	 done
2941       done
2942  done
2943IFS=$as_save_IFS
2944
2945fi
2946
2947  test -d ./--version && rmdir ./--version
2948  if test "${ac_cv_path_mkdir+set}" = set; then
2949    MKDIR_P="$ac_cv_path_mkdir -p"
2950  else
2951    # As a last resort, use the slow shell script.  Don't cache a
2952    # value for MKDIR_P within a source directory, because that will
2953    # break other packages using the cache if that directory is
2954    # removed, or if the value is a relative name.
2955    MKDIR_P="$ac_install_sh -d"
2956  fi
2957fi
2958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2959$as_echo "$MKDIR_P" >&6; }
2960
2961mkdir_p="$MKDIR_P"
2962case $mkdir_p in
2963  [\\/$]* | ?:[\\/]*) ;;
2964  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2965esac
2966
2967for ac_prog in gawk mawk nawk awk
2968do
2969  # Extract the first word of "$ac_prog", so it can be a program name with args.
2970set dummy $ac_prog; ac_word=$2
2971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2972$as_echo_n "checking for $ac_word... " >&6; }
2973if test "${ac_cv_prog_AWK+set}" = set; then :
2974  $as_echo_n "(cached) " >&6
2975else
2976  if test -n "$AWK"; then
2977  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2978else
2979as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980for as_dir in $PATH
2981do
2982  IFS=$as_save_IFS
2983  test -z "$as_dir" && as_dir=.
2984    for ac_exec_ext in '' $ac_executable_extensions; do
2985  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2986    ac_cv_prog_AWK="$ac_prog"
2987    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988    break 2
2989  fi
2990done
2991  done
2992IFS=$as_save_IFS
2993
2994fi
2995fi
2996AWK=$ac_cv_prog_AWK
2997if test -n "$AWK"; then
2998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2999$as_echo "$AWK" >&6; }
3000else
3001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002$as_echo "no" >&6; }
3003fi
3004
3005
3006  test -n "$AWK" && break
3007done
3008
3009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3010$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3011set x ${MAKE-make}
3012ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3013if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3014  $as_echo_n "(cached) " >&6
3015else
3016  cat >conftest.make <<\_ACEOF
3017SHELL = /bin/sh
3018all:
3019	@echo '@@@%%%=$(MAKE)=@@@%%%'
3020_ACEOF
3021# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3022case `${MAKE-make} -f conftest.make 2>/dev/null` in
3023  *@@@%%%=?*=@@@%%%*)
3024    eval ac_cv_prog_make_${ac_make}_set=yes;;
3025  *)
3026    eval ac_cv_prog_make_${ac_make}_set=no;;
3027esac
3028rm -f conftest.make
3029fi
3030if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3032$as_echo "yes" >&6; }
3033  SET_MAKE=
3034else
3035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3036$as_echo "no" >&6; }
3037  SET_MAKE="MAKE=${MAKE-make}"
3038fi
3039
3040rm -rf .tst 2>/dev/null
3041mkdir .tst 2>/dev/null
3042if test -d .tst; then
3043  am__leading_dot=.
3044else
3045  am__leading_dot=_
3046fi
3047rmdir .tst 2>/dev/null
3048
3049if test "`cd $srcdir && pwd`" != "`pwd`"; then
3050  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3051  # is not polluted with repeated "-I."
3052  am__isrc=' -I$(srcdir)'
3053  # test to see if srcdir already configured
3054  if test -f $srcdir/config.status; then
3055    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3056  fi
3057fi
3058
3059# test whether we have cygpath
3060if test -z "$CYGPATH_W"; then
3061  if (cygpath --version) >/dev/null 2>/dev/null; then
3062    CYGPATH_W='cygpath -w'
3063  else
3064    CYGPATH_W=echo
3065  fi
3066fi
3067
3068
3069# Define the identity of the package.
3070 PACKAGE='heimdal'
3071 VERSION='1.5.2'
3072
3073
3074cat >>confdefs.h <<_ACEOF
3075#define PACKAGE "$PACKAGE"
3076_ACEOF
3077
3078
3079cat >>confdefs.h <<_ACEOF
3080#define VERSION "$VERSION"
3081_ACEOF
3082
3083# Some tools Automake needs.
3084
3085ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3086
3087
3088AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3089
3090
3091AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3092
3093
3094AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3095
3096
3097MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3098
3099# We need awk for the "check" target.  The system "awk" is bad on
3100# some platforms.
3101# Always define AMTAR for backward compatibility.
3102
3103AMTAR=${AMTAR-"${am_missing_run}tar"}
3104
3105am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3106
3107
3108
3109
3110
3111
3112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3113$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3114    # Check whether --enable-maintainer-mode was given.
3115if test "${enable_maintainer_mode+set}" = set; then :
3116  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3117else
3118  USE_MAINTAINER_MODE=no
3119fi
3120
3121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3122$as_echo "$USE_MAINTAINER_MODE" >&6; }
3123   if test $USE_MAINTAINER_MODE = yes; then
3124  MAINTAINER_MODE_TRUE=
3125  MAINTAINER_MODE_FALSE='#'
3126else
3127  MAINTAINER_MODE_TRUE='#'
3128  MAINTAINER_MODE_FALSE=
3129fi
3130
3131  MAINT=$MAINTAINER_MODE_TRUE
3132
3133
3134
3135ac_ext=c
3136ac_cpp='$CPP $CPPFLAGS'
3137ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3138ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3139ac_compiler_gnu=$ac_cv_c_compiler_gnu
3140if test -n "$ac_tool_prefix"; then
3141  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3142set dummy ${ac_tool_prefix}gcc; ac_word=$2
3143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3144$as_echo_n "checking for $ac_word... " >&6; }
3145if test "${ac_cv_prog_CC+set}" = set; then :
3146  $as_echo_n "(cached) " >&6
3147else
3148  if test -n "$CC"; then
3149  ac_cv_prog_CC="$CC" # Let the user override the test.
3150else
3151as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3152for as_dir in $PATH
3153do
3154  IFS=$as_save_IFS
3155  test -z "$as_dir" && as_dir=.
3156    for ac_exec_ext in '' $ac_executable_extensions; do
3157  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3158    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3159    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3160    break 2
3161  fi
3162done
3163  done
3164IFS=$as_save_IFS
3165
3166fi
3167fi
3168CC=$ac_cv_prog_CC
3169if test -n "$CC"; then
3170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3171$as_echo "$CC" >&6; }
3172else
3173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174$as_echo "no" >&6; }
3175fi
3176
3177
3178fi
3179if test -z "$ac_cv_prog_CC"; then
3180  ac_ct_CC=$CC
3181  # Extract the first word of "gcc", so it can be a program name with args.
3182set dummy gcc; ac_word=$2
3183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3184$as_echo_n "checking for $ac_word... " >&6; }
3185if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3186  $as_echo_n "(cached) " >&6
3187else
3188  if test -n "$ac_ct_CC"; then
3189  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3190else
3191as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3192for as_dir in $PATH
3193do
3194  IFS=$as_save_IFS
3195  test -z "$as_dir" && as_dir=.
3196    for ac_exec_ext in '' $ac_executable_extensions; do
3197  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3198    ac_cv_prog_ac_ct_CC="gcc"
3199    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200    break 2
3201  fi
3202done
3203  done
3204IFS=$as_save_IFS
3205
3206fi
3207fi
3208ac_ct_CC=$ac_cv_prog_ac_ct_CC
3209if test -n "$ac_ct_CC"; then
3210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3211$as_echo "$ac_ct_CC" >&6; }
3212else
3213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3214$as_echo "no" >&6; }
3215fi
3216
3217  if test "x$ac_ct_CC" = x; then
3218    CC=""
3219  else
3220    case $cross_compiling:$ac_tool_warned in
3221yes:)
3222{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3223$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3224ac_tool_warned=yes ;;
3225esac
3226    CC=$ac_ct_CC
3227  fi
3228else
3229  CC="$ac_cv_prog_CC"
3230fi
3231
3232if test -z "$CC"; then
3233          if test -n "$ac_tool_prefix"; then
3234    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3235set dummy ${ac_tool_prefix}cc; ac_word=$2
3236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3237$as_echo_n "checking for $ac_word... " >&6; }
3238if test "${ac_cv_prog_CC+set}" = set; then :
3239  $as_echo_n "(cached) " >&6
3240else
3241  if test -n "$CC"; then
3242  ac_cv_prog_CC="$CC" # Let the user override the test.
3243else
3244as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3245for as_dir in $PATH
3246do
3247  IFS=$as_save_IFS
3248  test -z "$as_dir" && as_dir=.
3249    for ac_exec_ext in '' $ac_executable_extensions; do
3250  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3251    ac_cv_prog_CC="${ac_tool_prefix}cc"
3252    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3253    break 2
3254  fi
3255done
3256  done
3257IFS=$as_save_IFS
3258
3259fi
3260fi
3261CC=$ac_cv_prog_CC
3262if test -n "$CC"; then
3263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3264$as_echo "$CC" >&6; }
3265else
3266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3267$as_echo "no" >&6; }
3268fi
3269
3270
3271  fi
3272fi
3273if test -z "$CC"; then
3274  # Extract the first word of "cc", so it can be a program name with args.
3275set dummy cc; ac_word=$2
3276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3277$as_echo_n "checking for $ac_word... " >&6; }
3278if test "${ac_cv_prog_CC+set}" = set; then :
3279  $as_echo_n "(cached) " >&6
3280else
3281  if test -n "$CC"; then
3282  ac_cv_prog_CC="$CC" # Let the user override the test.
3283else
3284  ac_prog_rejected=no
3285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3286for as_dir in $PATH
3287do
3288  IFS=$as_save_IFS
3289  test -z "$as_dir" && as_dir=.
3290    for ac_exec_ext in '' $ac_executable_extensions; do
3291  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3292    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3293       ac_prog_rejected=yes
3294       continue
3295     fi
3296    ac_cv_prog_CC="cc"
3297    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3298    break 2
3299  fi
3300done
3301  done
3302IFS=$as_save_IFS
3303
3304if test $ac_prog_rejected = yes; then
3305  # We found a bogon in the path, so make sure we never use it.
3306  set dummy $ac_cv_prog_CC
3307  shift
3308  if test $# != 0; then
3309    # We chose a different compiler from the bogus one.
3310    # However, it has the same basename, so the bogon will be chosen
3311    # first if we set CC to just the basename; use the full file name.
3312    shift
3313    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3314  fi
3315fi
3316fi
3317fi
3318CC=$ac_cv_prog_CC
3319if test -n "$CC"; then
3320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3321$as_echo "$CC" >&6; }
3322else
3323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324$as_echo "no" >&6; }
3325fi
3326
3327
3328fi
3329if test -z "$CC"; then
3330  if test -n "$ac_tool_prefix"; then
3331  for ac_prog in cl.exe
3332  do
3333    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3334set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3336$as_echo_n "checking for $ac_word... " >&6; }
3337if test "${ac_cv_prog_CC+set}" = set; then :
3338  $as_echo_n "(cached) " >&6
3339else
3340  if test -n "$CC"; then
3341  ac_cv_prog_CC="$CC" # Let the user override the test.
3342else
3343as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3344for as_dir in $PATH
3345do
3346  IFS=$as_save_IFS
3347  test -z "$as_dir" && as_dir=.
3348    for ac_exec_ext in '' $ac_executable_extensions; do
3349  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3350    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3351    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3352    break 2
3353  fi
3354done
3355  done
3356IFS=$as_save_IFS
3357
3358fi
3359fi
3360CC=$ac_cv_prog_CC
3361if test -n "$CC"; then
3362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3363$as_echo "$CC" >&6; }
3364else
3365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3366$as_echo "no" >&6; }
3367fi
3368
3369
3370    test -n "$CC" && break
3371  done
3372fi
3373if test -z "$CC"; then
3374  ac_ct_CC=$CC
3375  for ac_prog in cl.exe
3376do
3377  # Extract the first word of "$ac_prog", so it can be a program name with args.
3378set dummy $ac_prog; ac_word=$2
3379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3380$as_echo_n "checking for $ac_word... " >&6; }
3381if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3382  $as_echo_n "(cached) " >&6
3383else
3384  if test -n "$ac_ct_CC"; then
3385  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3386else
3387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3388for as_dir in $PATH
3389do
3390  IFS=$as_save_IFS
3391  test -z "$as_dir" && as_dir=.
3392    for ac_exec_ext in '' $ac_executable_extensions; do
3393  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3394    ac_cv_prog_ac_ct_CC="$ac_prog"
3395    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3396    break 2
3397  fi
3398done
3399  done
3400IFS=$as_save_IFS
3401
3402fi
3403fi
3404ac_ct_CC=$ac_cv_prog_ac_ct_CC
3405if test -n "$ac_ct_CC"; then
3406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3407$as_echo "$ac_ct_CC" >&6; }
3408else
3409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3410$as_echo "no" >&6; }
3411fi
3412
3413
3414  test -n "$ac_ct_CC" && break
3415done
3416
3417  if test "x$ac_ct_CC" = x; then
3418    CC=""
3419  else
3420    case $cross_compiling:$ac_tool_warned in
3421yes:)
3422{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3423$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3424ac_tool_warned=yes ;;
3425esac
3426    CC=$ac_ct_CC
3427  fi
3428fi
3429
3430fi
3431
3432
3433test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3434$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3435as_fn_error "no acceptable C compiler found in \$PATH
3436See \`config.log' for more details." "$LINENO" 5; }
3437
3438# Provide some information about the compiler.
3439$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3440set X $ac_compile
3441ac_compiler=$2
3442for ac_option in --version -v -V -qversion; do
3443  { { ac_try="$ac_compiler $ac_option >&5"
3444case "(($ac_try" in
3445  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446  *) ac_try_echo=$ac_try;;
3447esac
3448eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3449$as_echo "$ac_try_echo"; } >&5
3450  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3451  ac_status=$?
3452  if test -s conftest.err; then
3453    sed '10a\
3454... rest of stderr output deleted ...
3455         10q' conftest.err >conftest.er1
3456    cat conftest.er1 >&5
3457  fi
3458  rm -f conftest.er1 conftest.err
3459  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3460  test $ac_status = 0; }
3461done
3462
3463cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3464/* end confdefs.h.  */
3465
3466int
3467main ()
3468{
3469
3470  ;
3471  return 0;
3472}
3473_ACEOF
3474ac_clean_files_save=$ac_clean_files
3475ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3476# Try to create an executable without -o first, disregard a.out.
3477# It will help us diagnose broken compilers, and finding out an intuition
3478# of exeext.
3479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3480$as_echo_n "checking whether the C compiler works... " >&6; }
3481ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3482
3483# The possible output files:
3484ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3485
3486ac_rmfiles=
3487for ac_file in $ac_files
3488do
3489  case $ac_file in
3490    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3491    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3492  esac
3493done
3494rm -f $ac_rmfiles
3495
3496if { { ac_try="$ac_link_default"
3497case "(($ac_try" in
3498  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3499  *) ac_try_echo=$ac_try;;
3500esac
3501eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3502$as_echo "$ac_try_echo"; } >&5
3503  (eval "$ac_link_default") 2>&5
3504  ac_status=$?
3505  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3506  test $ac_status = 0; }; then :
3507  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3508# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3509# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3510# so that the user can short-circuit this test for compilers unknown to
3511# Autoconf.
3512for ac_file in $ac_files ''
3513do
3514  test -f "$ac_file" || continue
3515  case $ac_file in
3516    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3517	;;
3518    [ab].out )
3519	# We found the default executable, but exeext='' is most
3520	# certainly right.
3521	break;;
3522    *.* )
3523	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3524	then :; else
3525	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3526	fi
3527	# We set ac_cv_exeext here because the later test for it is not
3528	# safe: cross compilers may not add the suffix if given an `-o'
3529	# argument, so we may need to know it at that point already.
3530	# Even if this section looks crufty: it has the advantage of
3531	# actually working.
3532	break;;
3533    * )
3534	break;;
3535  esac
3536done
3537test "$ac_cv_exeext" = no && ac_cv_exeext=
3538
3539else
3540  ac_file=''
3541fi
3542if test -z "$ac_file"; then :
3543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544$as_echo "no" >&6; }
3545$as_echo "$as_me: failed program was:" >&5
3546sed 's/^/| /' conftest.$ac_ext >&5
3547
3548{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3549$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3550{ as_fn_set_status 77
3551as_fn_error "C compiler cannot create executables
3552See \`config.log' for more details." "$LINENO" 5; }; }
3553else
3554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3555$as_echo "yes" >&6; }
3556fi
3557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3558$as_echo_n "checking for C compiler default output file name... " >&6; }
3559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3560$as_echo "$ac_file" >&6; }
3561ac_exeext=$ac_cv_exeext
3562
3563rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3564ac_clean_files=$ac_clean_files_save
3565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3566$as_echo_n "checking for suffix of executables... " >&6; }
3567if { { ac_try="$ac_link"
3568case "(($ac_try" in
3569  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3570  *) ac_try_echo=$ac_try;;
3571esac
3572eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3573$as_echo "$ac_try_echo"; } >&5
3574  (eval "$ac_link") 2>&5
3575  ac_status=$?
3576  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3577  test $ac_status = 0; }; then :
3578  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3579# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3580# work properly (i.e., refer to `conftest.exe'), while it won't with
3581# `rm'.
3582for ac_file in conftest.exe conftest conftest.*; do
3583  test -f "$ac_file" || continue
3584  case $ac_file in
3585    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3586    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3587	  break;;
3588    * ) break;;
3589  esac
3590done
3591else
3592  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3593$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3594as_fn_error "cannot compute suffix of executables: cannot compile and link
3595See \`config.log' for more details." "$LINENO" 5; }
3596fi
3597rm -f conftest conftest$ac_cv_exeext
3598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3599$as_echo "$ac_cv_exeext" >&6; }
3600
3601rm -f conftest.$ac_ext
3602EXEEXT=$ac_cv_exeext
3603ac_exeext=$EXEEXT
3604cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605/* end confdefs.h.  */
3606#include <stdio.h>
3607int
3608main ()
3609{
3610FILE *f = fopen ("conftest.out", "w");
3611 return ferror (f) || fclose (f) != 0;
3612
3613  ;
3614  return 0;
3615}
3616_ACEOF
3617ac_clean_files="$ac_clean_files conftest.out"
3618# Check that the compiler produces executables we can run.  If not, either
3619# the compiler is broken, or we cross compile.
3620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3621$as_echo_n "checking whether we are cross compiling... " >&6; }
3622if test "$cross_compiling" != yes; then
3623  { { ac_try="$ac_link"
3624case "(($ac_try" in
3625  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626  *) ac_try_echo=$ac_try;;
3627esac
3628eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3629$as_echo "$ac_try_echo"; } >&5
3630  (eval "$ac_link") 2>&5
3631  ac_status=$?
3632  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3633  test $ac_status = 0; }
3634  if { ac_try='./conftest$ac_cv_exeext'
3635  { { case "(($ac_try" in
3636  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637  *) ac_try_echo=$ac_try;;
3638esac
3639eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3640$as_echo "$ac_try_echo"; } >&5
3641  (eval "$ac_try") 2>&5
3642  ac_status=$?
3643  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3644  test $ac_status = 0; }; }; then
3645    cross_compiling=no
3646  else
3647    if test "$cross_compiling" = maybe; then
3648	cross_compiling=yes
3649    else
3650	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3651$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3652as_fn_error "cannot run C compiled programs.
3653If you meant to cross compile, use \`--host'.
3654See \`config.log' for more details." "$LINENO" 5; }
3655    fi
3656  fi
3657fi
3658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3659$as_echo "$cross_compiling" >&6; }
3660
3661rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3662ac_clean_files=$ac_clean_files_save
3663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3664$as_echo_n "checking for suffix of object files... " >&6; }
3665if test "${ac_cv_objext+set}" = set; then :
3666  $as_echo_n "(cached) " >&6
3667else
3668  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669/* end confdefs.h.  */
3670
3671int
3672main ()
3673{
3674
3675  ;
3676  return 0;
3677}
3678_ACEOF
3679rm -f conftest.o conftest.obj
3680if { { ac_try="$ac_compile"
3681case "(($ac_try" in
3682  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3683  *) ac_try_echo=$ac_try;;
3684esac
3685eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3686$as_echo "$ac_try_echo"; } >&5
3687  (eval "$ac_compile") 2>&5
3688  ac_status=$?
3689  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3690  test $ac_status = 0; }; then :
3691  for ac_file in conftest.o conftest.obj conftest.*; do
3692  test -f "$ac_file" || continue;
3693  case $ac_file in
3694    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3695    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3696       break;;
3697  esac
3698done
3699else
3700  $as_echo "$as_me: failed program was:" >&5
3701sed 's/^/| /' conftest.$ac_ext >&5
3702
3703{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3704$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3705as_fn_error "cannot compute suffix of object files: cannot compile
3706See \`config.log' for more details." "$LINENO" 5; }
3707fi
3708rm -f conftest.$ac_cv_objext conftest.$ac_ext
3709fi
3710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3711$as_echo "$ac_cv_objext" >&6; }
3712OBJEXT=$ac_cv_objext
3713ac_objext=$OBJEXT
3714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3715$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3716if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3717  $as_echo_n "(cached) " >&6
3718else
3719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720/* end confdefs.h.  */
3721
3722int
3723main ()
3724{
3725#ifndef __GNUC__
3726       choke me
3727#endif
3728
3729  ;
3730  return 0;
3731}
3732_ACEOF
3733if ac_fn_c_try_compile "$LINENO"; then :
3734  ac_compiler_gnu=yes
3735else
3736  ac_compiler_gnu=no
3737fi
3738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3739ac_cv_c_compiler_gnu=$ac_compiler_gnu
3740
3741fi
3742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3743$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3744if test $ac_compiler_gnu = yes; then
3745  GCC=yes
3746else
3747  GCC=
3748fi
3749ac_test_CFLAGS=${CFLAGS+set}
3750ac_save_CFLAGS=$CFLAGS
3751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3752$as_echo_n "checking whether $CC accepts -g... " >&6; }
3753if test "${ac_cv_prog_cc_g+set}" = set; then :
3754  $as_echo_n "(cached) " >&6
3755else
3756  ac_save_c_werror_flag=$ac_c_werror_flag
3757   ac_c_werror_flag=yes
3758   ac_cv_prog_cc_g=no
3759   CFLAGS="-g"
3760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3761/* end confdefs.h.  */
3762
3763int
3764main ()
3765{
3766
3767  ;
3768  return 0;
3769}
3770_ACEOF
3771if ac_fn_c_try_compile "$LINENO"; then :
3772  ac_cv_prog_cc_g=yes
3773else
3774  CFLAGS=""
3775      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776/* end confdefs.h.  */
3777
3778int
3779main ()
3780{
3781
3782  ;
3783  return 0;
3784}
3785_ACEOF
3786if ac_fn_c_try_compile "$LINENO"; then :
3787
3788else
3789  ac_c_werror_flag=$ac_save_c_werror_flag
3790	 CFLAGS="-g"
3791	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792/* end confdefs.h.  */
3793
3794int
3795main ()
3796{
3797
3798  ;
3799  return 0;
3800}
3801_ACEOF
3802if ac_fn_c_try_compile "$LINENO"; then :
3803  ac_cv_prog_cc_g=yes
3804fi
3805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3806fi
3807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3808fi
3809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3810   ac_c_werror_flag=$ac_save_c_werror_flag
3811fi
3812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3813$as_echo "$ac_cv_prog_cc_g" >&6; }
3814if test "$ac_test_CFLAGS" = set; then
3815  CFLAGS=$ac_save_CFLAGS
3816elif test $ac_cv_prog_cc_g = yes; then
3817  if test "$GCC" = yes; then
3818    CFLAGS="-g -O2"
3819  else
3820    CFLAGS="-g"
3821  fi
3822else
3823  if test "$GCC" = yes; then
3824    CFLAGS="-O2"
3825  else
3826    CFLAGS=
3827  fi
3828fi
3829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3830$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3831if test "${ac_cv_prog_cc_c89+set}" = set; then :
3832  $as_echo_n "(cached) " >&6
3833else
3834  ac_cv_prog_cc_c89=no
3835ac_save_CC=$CC
3836cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837/* end confdefs.h.  */
3838#include <stdarg.h>
3839#include <stdio.h>
3840#include <sys/types.h>
3841#include <sys/stat.h>
3842/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3843struct buf { int x; };
3844FILE * (*rcsopen) (struct buf *, struct stat *, int);
3845static char *e (p, i)
3846     char **p;
3847     int i;
3848{
3849  return p[i];
3850}
3851static char *f (char * (*g) (char **, int), char **p, ...)
3852{
3853  char *s;
3854  va_list v;
3855  va_start (v,p);
3856  s = g (p, va_arg (v,int));
3857  va_end (v);
3858  return s;
3859}
3860
3861/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3862   function prototypes and stuff, but not '\xHH' hex character constants.
3863   These don't provoke an error unfortunately, instead are silently treated
3864   as 'x'.  The following induces an error, until -std is added to get
3865   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3866   array size at least.  It's necessary to write '\x00'==0 to get something
3867   that's true only with -std.  */
3868int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3869
3870/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3871   inside strings and character constants.  */
3872#define FOO(x) 'x'
3873int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3874
3875int test (int i, double x);
3876struct s1 {int (*f) (int a);};
3877struct s2 {int (*f) (double a);};
3878int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3879int argc;
3880char **argv;
3881int
3882main ()
3883{
3884return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3885  ;
3886  return 0;
3887}
3888_ACEOF
3889for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3890	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3891do
3892  CC="$ac_save_CC $ac_arg"
3893  if ac_fn_c_try_compile "$LINENO"; then :
3894  ac_cv_prog_cc_c89=$ac_arg
3895fi
3896rm -f core conftest.err conftest.$ac_objext
3897  test "x$ac_cv_prog_cc_c89" != "xno" && break
3898done
3899rm -f conftest.$ac_ext
3900CC=$ac_save_CC
3901
3902fi
3903# AC_CACHE_VAL
3904case "x$ac_cv_prog_cc_c89" in
3905  x)
3906    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3907$as_echo "none needed" >&6; } ;;
3908  xno)
3909    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3910$as_echo "unsupported" >&6; } ;;
3911  *)
3912    CC="$CC $ac_cv_prog_cc_c89"
3913    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3914$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3915esac
3916if test "x$ac_cv_prog_cc_c89" != xno; then :
3917
3918fi
3919
3920ac_ext=c
3921ac_cpp='$CPP $CPPFLAGS'
3922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3924ac_compiler_gnu=$ac_cv_c_compiler_gnu
3925DEPDIR="${am__leading_dot}deps"
3926
3927ac_config_commands="$ac_config_commands depfiles"
3928
3929
3930am_make=${MAKE-make}
3931cat > confinc << 'END'
3932am__doit:
3933	@echo this is the am__doit target
3934.PHONY: am__doit
3935END
3936# If we don't find an include directive, just comment out the code.
3937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3938$as_echo_n "checking for style of include used by $am_make... " >&6; }
3939am__include="#"
3940am__quote=
3941_am_result=none
3942# First try GNU make style include.
3943echo "include confinc" > confmf
3944# Ignore all kinds of additional output from `make'.
3945case `$am_make -s -f confmf 2> /dev/null` in #(
3946*the\ am__doit\ target*)
3947  am__include=include
3948  am__quote=
3949  _am_result=GNU
3950  ;;
3951esac
3952# Now try BSD make style include.
3953if test "$am__include" = "#"; then
3954   echo '.include "confinc"' > confmf
3955   case `$am_make -s -f confmf 2> /dev/null` in #(
3956   *the\ am__doit\ target*)
3957     am__include=.include
3958     am__quote="\""
3959     _am_result=BSD
3960     ;;
3961   esac
3962fi
3963
3964
3965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3966$as_echo "$_am_result" >&6; }
3967rm -f confinc confmf
3968
3969# Check whether --enable-dependency-tracking was given.
3970if test "${enable_dependency_tracking+set}" = set; then :
3971  enableval=$enable_dependency_tracking;
3972fi
3973
3974if test "x$enable_dependency_tracking" != xno; then
3975  am_depcomp="$ac_aux_dir/depcomp"
3976  AMDEPBACKSLASH='\'
3977fi
3978 if test "x$enable_dependency_tracking" != xno; then
3979  AMDEP_TRUE=
3980  AMDEP_FALSE='#'
3981else
3982  AMDEP_TRUE='#'
3983  AMDEP_FALSE=
3984fi
3985
3986
3987
3988depcc="$CC"   am_compiler_list=
3989
3990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3991$as_echo_n "checking dependency style of $depcc... " >&6; }
3992if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3993  $as_echo_n "(cached) " >&6
3994else
3995  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3996  # We make a subdir and do the tests there.  Otherwise we can end up
3997  # making bogus files that we don't know about and never remove.  For
3998  # instance it was reported that on HP-UX the gcc test will end up
3999  # making a dummy file named `D' -- because `-MD' means `put the output
4000  # in D'.
4001  mkdir conftest.dir
4002  # Copy depcomp to subdir because otherwise we won't find it if we're
4003  # using a relative directory.
4004  cp "$am_depcomp" conftest.dir
4005  cd conftest.dir
4006  # We will build objects and dependencies in a subdirectory because
4007  # it helps to detect inapplicable dependency modes.  For instance
4008  # both Tru64's cc and ICC support -MD to output dependencies as a
4009  # side effect of compilation, but ICC will put the dependencies in
4010  # the current directory while Tru64 will put them in the object
4011  # directory.
4012  mkdir sub
4013
4014  am_cv_CC_dependencies_compiler_type=none
4015  if test "$am_compiler_list" = ""; then
4016     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4017  fi
4018  am__universal=false
4019  case " $depcc " in #(
4020     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4021     esac
4022
4023  for depmode in $am_compiler_list; do
4024    # Setup a source with many dependencies, because some compilers
4025    # like to wrap large dependency lists on column 80 (with \), and
4026    # we should not choose a depcomp mode which is confused by this.
4027    #
4028    # We need to recreate these files for each test, as the compiler may
4029    # overwrite some of them when testing with obscure command lines.
4030    # This happens at least with the AIX C compiler.
4031    : > sub/conftest.c
4032    for i in 1 2 3 4 5 6; do
4033      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4034      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4035      # Solaris 8's {/usr,}/bin/sh.
4036      touch sub/conftst$i.h
4037    done
4038    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4039
4040    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4041    # mode.  It turns out that the SunPro C++ compiler does not properly
4042    # handle `-M -o', and we need to detect this.  Also, some Intel
4043    # versions had trouble with output in subdirs
4044    am__obj=sub/conftest.${OBJEXT-o}
4045    am__minus_obj="-o $am__obj"
4046    case $depmode in
4047    gcc)
4048      # This depmode causes a compiler race in universal mode.
4049      test "$am__universal" = false || continue
4050      ;;
4051    nosideeffect)
4052      # after this tag, mechanisms are not by side-effect, so they'll
4053      # only be used when explicitly requested
4054      if test "x$enable_dependency_tracking" = xyes; then
4055	continue
4056      else
4057	break
4058      fi
4059      ;;
4060    msvisualcpp | msvcmsys)
4061      # This compiler won't grok `-c -o', but also, the minuso test has
4062      # not run yet.  These depmodes are late enough in the game, and
4063      # so weak that their functioning should not be impacted.
4064      am__obj=conftest.${OBJEXT-o}
4065      am__minus_obj=
4066      ;;
4067    none) break ;;
4068    esac
4069    if depmode=$depmode \
4070       source=sub/conftest.c object=$am__obj \
4071       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4072       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4073         >/dev/null 2>conftest.err &&
4074       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4075       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4076       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4077       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4078      # icc doesn't choke on unknown options, it will just issue warnings
4079      # or remarks (even with -Werror).  So we grep stderr for any message
4080      # that says an option was ignored or not supported.
4081      # When given -MP, icc 7.0 and 7.1 complain thusly:
4082      #   icc: Command line warning: ignoring option '-M'; no argument required
4083      # The diagnosis changed in icc 8.0:
4084      #   icc: Command line remark: option '-MP' not supported
4085      if (grep 'ignoring option' conftest.err ||
4086          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4087        am_cv_CC_dependencies_compiler_type=$depmode
4088        break
4089      fi
4090    fi
4091  done
4092
4093  cd ..
4094  rm -rf conftest.dir
4095else
4096  am_cv_CC_dependencies_compiler_type=none
4097fi
4098
4099fi
4100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4101$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4102CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4103
4104 if
4105  test "x$enable_dependency_tracking" != xno \
4106  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4107  am__fastdepCC_TRUE=
4108  am__fastdepCC_FALSE='#'
4109else
4110  am__fastdepCC_TRUE='#'
4111  am__fastdepCC_FALSE=
4112fi
4113
4114
4115if test "x$CC" != xcc; then
4116  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4117$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4118else
4119  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4120$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4121fi
4122set dummy $CC; ac_cc=`$as_echo "$2" |
4123		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4124if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
4125  $as_echo_n "(cached) " >&6
4126else
4127  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128/* end confdefs.h.  */
4129
4130int
4131main ()
4132{
4133
4134  ;
4135  return 0;
4136}
4137_ACEOF
4138# Make sure it works both with $CC and with simple cc.
4139# We do the test twice because some compilers refuse to overwrite an
4140# existing .o file with -o, though they will create one.
4141ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4142rm -f conftest2.*
4143if { { case "(($ac_try" in
4144  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4145  *) ac_try_echo=$ac_try;;
4146esac
4147eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4148$as_echo "$ac_try_echo"; } >&5
4149  (eval "$ac_try") 2>&5
4150  ac_status=$?
4151  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4152  test $ac_status = 0; } &&
4153   test -f conftest2.$ac_objext && { { case "(($ac_try" in
4154  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4155  *) ac_try_echo=$ac_try;;
4156esac
4157eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4158$as_echo "$ac_try_echo"; } >&5
4159  (eval "$ac_try") 2>&5
4160  ac_status=$?
4161  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4162  test $ac_status = 0; };
4163then
4164  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4165  if test "x$CC" != xcc; then
4166    # Test first that cc exists at all.
4167    if { ac_try='cc -c conftest.$ac_ext >&5'
4168  { { case "(($ac_try" in
4169  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4170  *) ac_try_echo=$ac_try;;
4171esac
4172eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4173$as_echo "$ac_try_echo"; } >&5
4174  (eval "$ac_try") 2>&5
4175  ac_status=$?
4176  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4177  test $ac_status = 0; }; }; then
4178      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4179      rm -f conftest2.*
4180      if { { case "(($ac_try" in
4181  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4182  *) ac_try_echo=$ac_try;;
4183esac
4184eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4185$as_echo "$ac_try_echo"; } >&5
4186  (eval "$ac_try") 2>&5
4187  ac_status=$?
4188  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4189  test $ac_status = 0; } &&
4190	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4191  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192  *) ac_try_echo=$ac_try;;
4193esac
4194eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4195$as_echo "$ac_try_echo"; } >&5
4196  (eval "$ac_try") 2>&5
4197  ac_status=$?
4198  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4199  test $ac_status = 0; };
4200      then
4201	# cc works too.
4202	:
4203      else
4204	# cc exists but doesn't like -o.
4205	eval ac_cv_prog_cc_${ac_cc}_c_o=no
4206      fi
4207    fi
4208  fi
4209else
4210  eval ac_cv_prog_cc_${ac_cc}_c_o=no
4211fi
4212rm -f core conftest*
4213
4214fi
4215if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4217$as_echo "yes" >&6; }
4218else
4219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4220$as_echo "no" >&6; }
4221
4222$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4223
4224fi
4225
4226# FIXME: we rely on the cache variable name because
4227# there is no other way.
4228set dummy $CC
4229am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4230eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4231if test "$am_t" != yes; then
4232   # Losing compiler, so override with the script.
4233   # FIXME: It is wrong to rewrite CC.
4234   # But if we don't then we get into trouble of one sort or another.
4235   # A longer-term fix would be to have automake use am__CC in this case,
4236   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4237   CC="$am_aux_dir/compile $CC"
4238fi
4239
4240
4241ac_ext=c
4242ac_cpp='$CPP $CPPFLAGS'
4243ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4244ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4245ac_compiler_gnu=$ac_cv_c_compiler_gnu
4246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4247$as_echo_n "checking how to run the C preprocessor... " >&6; }
4248# On Suns, sometimes $CPP names a directory.
4249if test -n "$CPP" && test -d "$CPP"; then
4250  CPP=
4251fi
4252if test -z "$CPP"; then
4253  if test "${ac_cv_prog_CPP+set}" = set; then :
4254  $as_echo_n "(cached) " >&6
4255else
4256      # Double quotes because CPP needs to be expanded
4257    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4258    do
4259      ac_preproc_ok=false
4260for ac_c_preproc_warn_flag in '' yes
4261do
4262  # Use a header file that comes with gcc, so configuring glibc
4263  # with a fresh cross-compiler works.
4264  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4265  # <limits.h> exists even on freestanding compilers.
4266  # On the NeXT, cc -E runs the code through the compiler's parser,
4267  # not just through cpp. "Syntax error" is here to catch this case.
4268  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269/* end confdefs.h.  */
4270#ifdef __STDC__
4271# include <limits.h>
4272#else
4273# include <assert.h>
4274#endif
4275		     Syntax error
4276_ACEOF
4277if ac_fn_c_try_cpp "$LINENO"; then :
4278
4279else
4280  # Broken: fails on valid input.
4281continue
4282fi
4283rm -f conftest.err conftest.$ac_ext
4284
4285  # OK, works on sane cases.  Now check whether nonexistent headers
4286  # can be detected and how.
4287  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288/* end confdefs.h.  */
4289#include <ac_nonexistent.h>
4290_ACEOF
4291if ac_fn_c_try_cpp "$LINENO"; then :
4292  # Broken: success on invalid input.
4293continue
4294else
4295  # Passes both tests.
4296ac_preproc_ok=:
4297break
4298fi
4299rm -f conftest.err conftest.$ac_ext
4300
4301done
4302# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4303rm -f conftest.err conftest.$ac_ext
4304if $ac_preproc_ok; then :
4305  break
4306fi
4307
4308    done
4309    ac_cv_prog_CPP=$CPP
4310
4311fi
4312  CPP=$ac_cv_prog_CPP
4313else
4314  ac_cv_prog_CPP=$CPP
4315fi
4316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4317$as_echo "$CPP" >&6; }
4318ac_preproc_ok=false
4319for ac_c_preproc_warn_flag in '' yes
4320do
4321  # Use a header file that comes with gcc, so configuring glibc
4322  # with a fresh cross-compiler works.
4323  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4324  # <limits.h> exists even on freestanding compilers.
4325  # On the NeXT, cc -E runs the code through the compiler's parser,
4326  # not just through cpp. "Syntax error" is here to catch this case.
4327  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328/* end confdefs.h.  */
4329#ifdef __STDC__
4330# include <limits.h>
4331#else
4332# include <assert.h>
4333#endif
4334		     Syntax error
4335_ACEOF
4336if ac_fn_c_try_cpp "$LINENO"; then :
4337
4338else
4339  # Broken: fails on valid input.
4340continue
4341fi
4342rm -f conftest.err conftest.$ac_ext
4343
4344  # OK, works on sane cases.  Now check whether nonexistent headers
4345  # can be detected and how.
4346  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347/* end confdefs.h.  */
4348#include <ac_nonexistent.h>
4349_ACEOF
4350if ac_fn_c_try_cpp "$LINENO"; then :
4351  # Broken: success on invalid input.
4352continue
4353else
4354  # Passes both tests.
4355ac_preproc_ok=:
4356break
4357fi
4358rm -f conftest.err conftest.$ac_ext
4359
4360done
4361# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4362rm -f conftest.err conftest.$ac_ext
4363if $ac_preproc_ok; then :
4364
4365else
4366  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4367$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4368as_fn_error "C preprocessor \"$CPP\" fails sanity check
4369See \`config.log' for more details." "$LINENO" 5; }
4370fi
4371
4372ac_ext=c
4373ac_cpp='$CPP $CPPFLAGS'
4374ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4375ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4376ac_compiler_gnu=$ac_cv_c_compiler_gnu
4377
4378case `pwd` in
4379  *\ * | *\	*)
4380    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4381$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4382esac
4383
4384
4385
4386macro_version='2.4'
4387macro_revision='1.3293'
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401ltmain="$ac_aux_dir/ltmain.sh"
4402
4403# Make sure we can run config.sub.
4404$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4405  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4406
4407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4408$as_echo_n "checking build system type... " >&6; }
4409if test "${ac_cv_build+set}" = set; then :
4410  $as_echo_n "(cached) " >&6
4411else
4412  ac_build_alias=$build_alias
4413test "x$ac_build_alias" = x &&
4414  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4415test "x$ac_build_alias" = x &&
4416  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4417ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4418  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4419
4420fi
4421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4422$as_echo "$ac_cv_build" >&6; }
4423case $ac_cv_build in
4424*-*-*) ;;
4425*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4426esac
4427build=$ac_cv_build
4428ac_save_IFS=$IFS; IFS='-'
4429set x $ac_cv_build
4430shift
4431build_cpu=$1
4432build_vendor=$2
4433shift; shift
4434# Remember, the first character of IFS is used to create $*,
4435# except with old shells:
4436build_os=$*
4437IFS=$ac_save_IFS
4438case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4439
4440
4441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4442$as_echo_n "checking host system type... " >&6; }
4443if test "${ac_cv_host+set}" = set; then :
4444  $as_echo_n "(cached) " >&6
4445else
4446  if test "x$host_alias" = x; then
4447  ac_cv_host=$ac_cv_build
4448else
4449  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4450    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4451fi
4452
4453fi
4454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4455$as_echo "$ac_cv_host" >&6; }
4456case $ac_cv_host in
4457*-*-*) ;;
4458*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4459esac
4460host=$ac_cv_host
4461ac_save_IFS=$IFS; IFS='-'
4462set x $ac_cv_host
4463shift
4464host_cpu=$1
4465host_vendor=$2
4466shift; shift
4467# Remember, the first character of IFS is used to create $*,
4468# except with old shells:
4469host_os=$*
4470IFS=$ac_save_IFS
4471case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4472
4473
4474# Backslashify metacharacters that are still active within
4475# double-quoted strings.
4476sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4477
4478# Same as above, but do not quote variable references.
4479double_quote_subst='s/\(["`\\]\)/\\\1/g'
4480
4481# Sed substitution to delay expansion of an escaped shell variable in a
4482# double_quote_subst'ed string.
4483delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4484
4485# Sed substitution to delay expansion of an escaped single quote.
4486delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4487
4488# Sed substitution to avoid accidental globbing in evaled expressions
4489no_glob_subst='s/\*/\\\*/g'
4490
4491ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4492ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4493ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4494
4495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4496$as_echo_n "checking how to print strings... " >&6; }
4497# Test print first, because it will be a builtin if present.
4498if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4499   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4500  ECHO='print -r --'
4501elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4502  ECHO='printf %s\n'
4503else
4504  # Use this function as a fallback that always works.
4505  func_fallback_echo ()
4506  {
4507    eval 'cat <<_LTECHO_EOF
4508$1
4509_LTECHO_EOF'
4510  }
4511  ECHO='func_fallback_echo'
4512fi
4513
4514# func_echo_all arg...
4515# Invoke $ECHO with all args, space-separated.
4516func_echo_all ()
4517{
4518    $ECHO ""
4519}
4520
4521case "$ECHO" in
4522  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4523$as_echo "printf" >&6; } ;;
4524  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4525$as_echo "print -r" >&6; } ;;
4526  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4527$as_echo "cat" >&6; } ;;
4528esac
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4544$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4545if test "${ac_cv_path_SED+set}" = set; then :
4546  $as_echo_n "(cached) " >&6
4547else
4548            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4549     for ac_i in 1 2 3 4 5 6 7; do
4550       ac_script="$ac_script$as_nl$ac_script"
4551     done
4552     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4553     { ac_script=; unset ac_script;}
4554     if test -z "$SED"; then
4555  ac_path_SED_found=false
4556  # Loop through the user's path and test for each of PROGNAME-LIST
4557  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558for as_dir in $PATH
4559do
4560  IFS=$as_save_IFS
4561  test -z "$as_dir" && as_dir=.
4562    for ac_prog in sed gsed; do
4563    for ac_exec_ext in '' $ac_executable_extensions; do
4564      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4565      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4566# Check for GNU ac_path_SED and select it if it is found.
4567  # Check for GNU $ac_path_SED
4568case `"$ac_path_SED" --version 2>&1` in
4569*GNU*)
4570  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4571*)
4572  ac_count=0
4573  $as_echo_n 0123456789 >"conftest.in"
4574  while :
4575  do
4576    cat "conftest.in" "conftest.in" >"conftest.tmp"
4577    mv "conftest.tmp" "conftest.in"
4578    cp "conftest.in" "conftest.nl"
4579    $as_echo '' >> "conftest.nl"
4580    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4581    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4582    as_fn_arith $ac_count + 1 && ac_count=$as_val
4583    if test $ac_count -gt ${ac_path_SED_max-0}; then
4584      # Best one so far, save it but keep looking for a better one
4585      ac_cv_path_SED="$ac_path_SED"
4586      ac_path_SED_max=$ac_count
4587    fi
4588    # 10*(2^10) chars as input seems more than enough
4589    test $ac_count -gt 10 && break
4590  done
4591  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4592esac
4593
4594      $ac_path_SED_found && break 3
4595    done
4596  done
4597  done
4598IFS=$as_save_IFS
4599  if test -z "$ac_cv_path_SED"; then
4600    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4601  fi
4602else
4603  ac_cv_path_SED=$SED
4604fi
4605
4606fi
4607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4608$as_echo "$ac_cv_path_SED" >&6; }
4609 SED="$ac_cv_path_SED"
4610  rm -f conftest.sed
4611
4612test -z "$SED" && SED=sed
4613Xsed="$SED -e 1s/^X//"
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4626$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4627if test "${ac_cv_path_GREP+set}" = set; then :
4628  $as_echo_n "(cached) " >&6
4629else
4630  if test -z "$GREP"; then
4631  ac_path_GREP_found=false
4632  # Loop through the user's path and test for each of PROGNAME-LIST
4633  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4634for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4635do
4636  IFS=$as_save_IFS
4637  test -z "$as_dir" && as_dir=.
4638    for ac_prog in grep ggrep; do
4639    for ac_exec_ext in '' $ac_executable_extensions; do
4640      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4641      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4642# Check for GNU ac_path_GREP and select it if it is found.
4643  # Check for GNU $ac_path_GREP
4644case `"$ac_path_GREP" --version 2>&1` in
4645*GNU*)
4646  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4647*)
4648  ac_count=0
4649  $as_echo_n 0123456789 >"conftest.in"
4650  while :
4651  do
4652    cat "conftest.in" "conftest.in" >"conftest.tmp"
4653    mv "conftest.tmp" "conftest.in"
4654    cp "conftest.in" "conftest.nl"
4655    $as_echo 'GREP' >> "conftest.nl"
4656    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4657    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4658    as_fn_arith $ac_count + 1 && ac_count=$as_val
4659    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4660      # Best one so far, save it but keep looking for a better one
4661      ac_cv_path_GREP="$ac_path_GREP"
4662      ac_path_GREP_max=$ac_count
4663    fi
4664    # 10*(2^10) chars as input seems more than enough
4665    test $ac_count -gt 10 && break
4666  done
4667  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4668esac
4669
4670      $ac_path_GREP_found && break 3
4671    done
4672  done
4673  done
4674IFS=$as_save_IFS
4675  if test -z "$ac_cv_path_GREP"; then
4676    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4677  fi
4678else
4679  ac_cv_path_GREP=$GREP
4680fi
4681
4682fi
4683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4684$as_echo "$ac_cv_path_GREP" >&6; }
4685 GREP="$ac_cv_path_GREP"
4686
4687
4688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4689$as_echo_n "checking for egrep... " >&6; }
4690if test "${ac_cv_path_EGREP+set}" = set; then :
4691  $as_echo_n "(cached) " >&6
4692else
4693  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4694   then ac_cv_path_EGREP="$GREP -E"
4695   else
4696     if test -z "$EGREP"; then
4697  ac_path_EGREP_found=false
4698  # Loop through the user's path and test for each of PROGNAME-LIST
4699  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4701do
4702  IFS=$as_save_IFS
4703  test -z "$as_dir" && as_dir=.
4704    for ac_prog in egrep; do
4705    for ac_exec_ext in '' $ac_executable_extensions; do
4706      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4707      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4708# Check for GNU ac_path_EGREP and select it if it is found.
4709  # Check for GNU $ac_path_EGREP
4710case `"$ac_path_EGREP" --version 2>&1` in
4711*GNU*)
4712  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4713*)
4714  ac_count=0
4715  $as_echo_n 0123456789 >"conftest.in"
4716  while :
4717  do
4718    cat "conftest.in" "conftest.in" >"conftest.tmp"
4719    mv "conftest.tmp" "conftest.in"
4720    cp "conftest.in" "conftest.nl"
4721    $as_echo 'EGREP' >> "conftest.nl"
4722    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4723    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4724    as_fn_arith $ac_count + 1 && ac_count=$as_val
4725    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4726      # Best one so far, save it but keep looking for a better one
4727      ac_cv_path_EGREP="$ac_path_EGREP"
4728      ac_path_EGREP_max=$ac_count
4729    fi
4730    # 10*(2^10) chars as input seems more than enough
4731    test $ac_count -gt 10 && break
4732  done
4733  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4734esac
4735
4736      $ac_path_EGREP_found && break 3
4737    done
4738  done
4739  done
4740IFS=$as_save_IFS
4741  if test -z "$ac_cv_path_EGREP"; then
4742    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4743  fi
4744else
4745  ac_cv_path_EGREP=$EGREP
4746fi
4747
4748   fi
4749fi
4750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4751$as_echo "$ac_cv_path_EGREP" >&6; }
4752 EGREP="$ac_cv_path_EGREP"
4753
4754
4755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4756$as_echo_n "checking for fgrep... " >&6; }
4757if test "${ac_cv_path_FGREP+set}" = set; then :
4758  $as_echo_n "(cached) " >&6
4759else
4760  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4761   then ac_cv_path_FGREP="$GREP -F"
4762   else
4763     if test -z "$FGREP"; then
4764  ac_path_FGREP_found=false
4765  # Loop through the user's path and test for each of PROGNAME-LIST
4766  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4768do
4769  IFS=$as_save_IFS
4770  test -z "$as_dir" && as_dir=.
4771    for ac_prog in fgrep; do
4772    for ac_exec_ext in '' $ac_executable_extensions; do
4773      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4774      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4775# Check for GNU ac_path_FGREP and select it if it is found.
4776  # Check for GNU $ac_path_FGREP
4777case `"$ac_path_FGREP" --version 2>&1` in
4778*GNU*)
4779  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4780*)
4781  ac_count=0
4782  $as_echo_n 0123456789 >"conftest.in"
4783  while :
4784  do
4785    cat "conftest.in" "conftest.in" >"conftest.tmp"
4786    mv "conftest.tmp" "conftest.in"
4787    cp "conftest.in" "conftest.nl"
4788    $as_echo 'FGREP' >> "conftest.nl"
4789    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4790    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4791    as_fn_arith $ac_count + 1 && ac_count=$as_val
4792    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4793      # Best one so far, save it but keep looking for a better one
4794      ac_cv_path_FGREP="$ac_path_FGREP"
4795      ac_path_FGREP_max=$ac_count
4796    fi
4797    # 10*(2^10) chars as input seems more than enough
4798    test $ac_count -gt 10 && break
4799  done
4800  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4801esac
4802
4803      $ac_path_FGREP_found && break 3
4804    done
4805  done
4806  done
4807IFS=$as_save_IFS
4808  if test -z "$ac_cv_path_FGREP"; then
4809    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4810  fi
4811else
4812  ac_cv_path_FGREP=$FGREP
4813fi
4814
4815   fi
4816fi
4817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4818$as_echo "$ac_cv_path_FGREP" >&6; }
4819 FGREP="$ac_cv_path_FGREP"
4820
4821
4822test -z "$GREP" && GREP=grep
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842# Check whether --with-gnu-ld was given.
4843if test "${with_gnu_ld+set}" = set; then :
4844  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4845else
4846  with_gnu_ld=no
4847fi
4848
4849ac_prog=ld
4850if test "$GCC" = yes; then
4851  # Check if gcc -print-prog-name=ld gives a path.
4852  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4853$as_echo_n "checking for ld used by $CC... " >&6; }
4854  case $host in
4855  *-*-mingw*)
4856    # gcc leaves a trailing carriage return which upsets mingw
4857    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4858  *)
4859    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4860  esac
4861  case $ac_prog in
4862    # Accept absolute paths.
4863    [\\/]* | ?:[\\/]*)
4864      re_direlt='/[^/][^/]*/\.\./'
4865      # Canonicalize the pathname of ld
4866      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4867      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4868	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4869      done
4870      test -z "$LD" && LD="$ac_prog"
4871      ;;
4872  "")
4873    # If it fails, then pretend we aren't using GCC.
4874    ac_prog=ld
4875    ;;
4876  *)
4877    # If it is relative, then search for the first ld in PATH.
4878    with_gnu_ld=unknown
4879    ;;
4880  esac
4881elif test "$with_gnu_ld" = yes; then
4882  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4883$as_echo_n "checking for GNU ld... " >&6; }
4884else
4885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4886$as_echo_n "checking for non-GNU ld... " >&6; }
4887fi
4888if test "${lt_cv_path_LD+set}" = set; then :
4889  $as_echo_n "(cached) " >&6
4890else
4891  if test -z "$LD"; then
4892  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4893  for ac_dir in $PATH; do
4894    IFS="$lt_save_ifs"
4895    test -z "$ac_dir" && ac_dir=.
4896    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4897      lt_cv_path_LD="$ac_dir/$ac_prog"
4898      # Check to see if the program is GNU ld.  I'd rather use --version,
4899      # but apparently some variants of GNU ld only accept -v.
4900      # Break only if it was the GNU/non-GNU ld that we prefer.
4901      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4902      *GNU* | *'with BFD'*)
4903	test "$with_gnu_ld" != no && break
4904	;;
4905      *)
4906	test "$with_gnu_ld" != yes && break
4907	;;
4908      esac
4909    fi
4910  done
4911  IFS="$lt_save_ifs"
4912else
4913  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4914fi
4915fi
4916
4917LD="$lt_cv_path_LD"
4918if test -n "$LD"; then
4919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4920$as_echo "$LD" >&6; }
4921else
4922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923$as_echo "no" >&6; }
4924fi
4925test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4927$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4928if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4929  $as_echo_n "(cached) " >&6
4930else
4931  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4932case `$LD -v 2>&1 </dev/null` in
4933*GNU* | *'with BFD'*)
4934  lt_cv_prog_gnu_ld=yes
4935  ;;
4936*)
4937  lt_cv_prog_gnu_ld=no
4938  ;;
4939esac
4940fi
4941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4942$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4943with_gnu_ld=$lt_cv_prog_gnu_ld
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4954$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4955if test "${lt_cv_path_NM+set}" = set; then :
4956  $as_echo_n "(cached) " >&6
4957else
4958  if test -n "$NM"; then
4959  # Let the user override the test.
4960  lt_cv_path_NM="$NM"
4961else
4962  lt_nm_to_check="${ac_tool_prefix}nm"
4963  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4964    lt_nm_to_check="$lt_nm_to_check nm"
4965  fi
4966  for lt_tmp_nm in $lt_nm_to_check; do
4967    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4968    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4969      IFS="$lt_save_ifs"
4970      test -z "$ac_dir" && ac_dir=.
4971      tmp_nm="$ac_dir/$lt_tmp_nm"
4972      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4973	# Check to see if the nm accepts a BSD-compat flag.
4974	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4975	#   nm: unknown option "B" ignored
4976	# Tru64's nm complains that /dev/null is an invalid object file
4977	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4978	*/dev/null* | *'Invalid file or object type'*)
4979	  lt_cv_path_NM="$tmp_nm -B"
4980	  break
4981	  ;;
4982	*)
4983	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4984	  */dev/null*)
4985	    lt_cv_path_NM="$tmp_nm -p"
4986	    break
4987	    ;;
4988	  *)
4989	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4990	    continue # so that we can try to find one that supports BSD flags
4991	    ;;
4992	  esac
4993	  ;;
4994	esac
4995      fi
4996    done
4997    IFS="$lt_save_ifs"
4998  done
4999  : ${lt_cv_path_NM=no}
5000fi
5001fi
5002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5003$as_echo "$lt_cv_path_NM" >&6; }
5004if test "$lt_cv_path_NM" != "no"; then
5005  NM="$lt_cv_path_NM"
5006else
5007  # Didn't find any BSD compatible name lister, look for dumpbin.
5008  if test -n "$DUMPBIN"; then :
5009    # Let the user override the test.
5010  else
5011    if test -n "$ac_tool_prefix"; then
5012  for ac_prog in dumpbin "link -dump"
5013  do
5014    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5015set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5017$as_echo_n "checking for $ac_word... " >&6; }
5018if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5019  $as_echo_n "(cached) " >&6
5020else
5021  if test -n "$DUMPBIN"; then
5022  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5023else
5024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5025for as_dir in $PATH
5026do
5027  IFS=$as_save_IFS
5028  test -z "$as_dir" && as_dir=.
5029    for ac_exec_ext in '' $ac_executable_extensions; do
5030  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5031    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5032    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5033    break 2
5034  fi
5035done
5036  done
5037IFS=$as_save_IFS
5038
5039fi
5040fi
5041DUMPBIN=$ac_cv_prog_DUMPBIN
5042if test -n "$DUMPBIN"; then
5043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5044$as_echo "$DUMPBIN" >&6; }
5045else
5046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047$as_echo "no" >&6; }
5048fi
5049
5050
5051    test -n "$DUMPBIN" && break
5052  done
5053fi
5054if test -z "$DUMPBIN"; then
5055  ac_ct_DUMPBIN=$DUMPBIN
5056  for ac_prog in dumpbin "link -dump"
5057do
5058  # Extract the first word of "$ac_prog", so it can be a program name with args.
5059set dummy $ac_prog; ac_word=$2
5060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061$as_echo_n "checking for $ac_word... " >&6; }
5062if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5063  $as_echo_n "(cached) " >&6
5064else
5065  if test -n "$ac_ct_DUMPBIN"; then
5066  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5067else
5068as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069for as_dir in $PATH
5070do
5071  IFS=$as_save_IFS
5072  test -z "$as_dir" && as_dir=.
5073    for ac_exec_ext in '' $ac_executable_extensions; do
5074  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5075    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5076    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5077    break 2
5078  fi
5079done
5080  done
5081IFS=$as_save_IFS
5082
5083fi
5084fi
5085ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5086if test -n "$ac_ct_DUMPBIN"; then
5087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5088$as_echo "$ac_ct_DUMPBIN" >&6; }
5089else
5090  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5091$as_echo "no" >&6; }
5092fi
5093
5094
5095  test -n "$ac_ct_DUMPBIN" && break
5096done
5097
5098  if test "x$ac_ct_DUMPBIN" = x; then
5099    DUMPBIN=":"
5100  else
5101    case $cross_compiling:$ac_tool_warned in
5102yes:)
5103{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5104$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5105ac_tool_warned=yes ;;
5106esac
5107    DUMPBIN=$ac_ct_DUMPBIN
5108  fi
5109fi
5110
5111    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5112    *COFF*)
5113      DUMPBIN="$DUMPBIN -symbols"
5114      ;;
5115    *)
5116      DUMPBIN=:
5117      ;;
5118    esac
5119  fi
5120
5121  if test "$DUMPBIN" != ":"; then
5122    NM="$DUMPBIN"
5123  fi
5124fi
5125test -z "$NM" && NM=nm
5126
5127
5128
5129
5130
5131
5132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5133$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5134if test "${lt_cv_nm_interface+set}" = set; then :
5135  $as_echo_n "(cached) " >&6
5136else
5137  lt_cv_nm_interface="BSD nm"
5138  echo "int some_variable = 0;" > conftest.$ac_ext
5139  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5140  (eval "$ac_compile" 2>conftest.err)
5141  cat conftest.err >&5
5142  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5143  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5144  cat conftest.err >&5
5145  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5146  cat conftest.out >&5
5147  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5148    lt_cv_nm_interface="MS dumpbin"
5149  fi
5150  rm -f conftest*
5151fi
5152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5153$as_echo "$lt_cv_nm_interface" >&6; }
5154
5155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5156$as_echo_n "checking whether ln -s works... " >&6; }
5157LN_S=$as_ln_s
5158if test "$LN_S" = "ln -s"; then
5159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5160$as_echo "yes" >&6; }
5161else
5162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5163$as_echo "no, using $LN_S" >&6; }
5164fi
5165
5166# find the maximum length of command line arguments
5167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5168$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5169if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5170  $as_echo_n "(cached) " >&6
5171else
5172    i=0
5173  teststring="ABCD"
5174
5175  case $build_os in
5176  msdosdjgpp*)
5177    # On DJGPP, this test can blow up pretty badly due to problems in libc
5178    # (any single argument exceeding 2000 bytes causes a buffer overrun
5179    # during glob expansion).  Even if it were fixed, the result of this
5180    # check would be larger than it should be.
5181    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5182    ;;
5183
5184  gnu*)
5185    # Under GNU Hurd, this test is not required because there is
5186    # no limit to the length of command line arguments.
5187    # Libtool will interpret -1 as no limit whatsoever
5188    lt_cv_sys_max_cmd_len=-1;
5189    ;;
5190
5191  cygwin* | mingw* | cegcc*)
5192    # On Win9x/ME, this test blows up -- it succeeds, but takes
5193    # about 5 minutes as the teststring grows exponentially.
5194    # Worse, since 9x/ME are not pre-emptively multitasking,
5195    # you end up with a "frozen" computer, even though with patience
5196    # the test eventually succeeds (with a max line length of 256k).
5197    # Instead, let's just punt: use the minimum linelength reported by
5198    # all of the supported platforms: 8192 (on NT/2K/XP).
5199    lt_cv_sys_max_cmd_len=8192;
5200    ;;
5201
5202  mint*)
5203    # On MiNT this can take a long time and run out of memory.
5204    lt_cv_sys_max_cmd_len=8192;
5205    ;;
5206
5207  amigaos*)
5208    # On AmigaOS with pdksh, this test takes hours, literally.
5209    # So we just punt and use a minimum line length of 8192.
5210    lt_cv_sys_max_cmd_len=8192;
5211    ;;
5212
5213  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5214    # This has been around since 386BSD, at least.  Likely further.
5215    if test -x /sbin/sysctl; then
5216      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5217    elif test -x /usr/sbin/sysctl; then
5218      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5219    else
5220      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5221    fi
5222    # And add a safety zone
5223    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5224    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5225    ;;
5226
5227  interix*)
5228    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5229    lt_cv_sys_max_cmd_len=196608
5230    ;;
5231
5232  osf*)
5233    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5234    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5235    # nice to cause kernel panics so lets avoid the loop below.
5236    # First set a reasonable default.
5237    lt_cv_sys_max_cmd_len=16384
5238    #
5239    if test -x /sbin/sysconfig; then
5240      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5241        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5242      esac
5243    fi
5244    ;;
5245  sco3.2v5*)
5246    lt_cv_sys_max_cmd_len=102400
5247    ;;
5248  sysv5* | sco5v6* | sysv4.2uw2*)
5249    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5250    if test -n "$kargmax"; then
5251      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5252    else
5253      lt_cv_sys_max_cmd_len=32768
5254    fi
5255    ;;
5256  *)
5257    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5258    if test -n "$lt_cv_sys_max_cmd_len"; then
5259      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5260      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5261    else
5262      # Make teststring a little bigger before we do anything with it.
5263      # a 1K string should be a reasonable start.
5264      for i in 1 2 3 4 5 6 7 8 ; do
5265        teststring=$teststring$teststring
5266      done
5267      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5268      # If test is not a shell built-in, we'll probably end up computing a
5269      # maximum length that is only half of the actual maximum length, but
5270      # we can't tell.
5271      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5272	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5273	      test $i != 17 # 1/2 MB should be enough
5274      do
5275        i=`expr $i + 1`
5276        teststring=$teststring$teststring
5277      done
5278      # Only check the string length outside the loop.
5279      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5280      teststring=
5281      # Add a significant safety factor because C++ compilers can tack on
5282      # massive amounts of additional arguments before passing them to the
5283      # linker.  It appears as though 1/2 is a usable value.
5284      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5285    fi
5286    ;;
5287  esac
5288
5289fi
5290
5291if test -n $lt_cv_sys_max_cmd_len ; then
5292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5293$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5294else
5295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5296$as_echo "none" >&6; }
5297fi
5298max_cmd_len=$lt_cv_sys_max_cmd_len
5299
5300
5301
5302
5303
5304
5305: ${CP="cp -f"}
5306: ${MV="mv -f"}
5307: ${RM="rm -f"}
5308
5309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5310$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5311# Try some XSI features
5312xsi_shell=no
5313( _lt_dummy="a/b/c"
5314  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5315      = c,a/b,b/c, \
5316    && eval 'test $(( 1 + 1 )) -eq 2 \
5317    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5318  && xsi_shell=yes
5319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5320$as_echo "$xsi_shell" >&6; }
5321
5322
5323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5324$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5325lt_shell_append=no
5326( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5327    >/dev/null 2>&1 \
5328  && lt_shell_append=yes
5329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5330$as_echo "$lt_shell_append" >&6; }
5331
5332
5333if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5334  lt_unset=unset
5335else
5336  lt_unset=false
5337fi
5338
5339
5340
5341
5342
5343# test EBCDIC or ASCII
5344case `echo X|tr X '\101'` in
5345 A) # ASCII based system
5346    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5347  lt_SP2NL='tr \040 \012'
5348  lt_NL2SP='tr \015\012 \040\040'
5349  ;;
5350 *) # EBCDIC based system
5351  lt_SP2NL='tr \100 \n'
5352  lt_NL2SP='tr \r\n \100\100'
5353  ;;
5354esac
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5365$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5366if test "${lt_cv_to_host_file_cmd+set}" = set; then :
5367  $as_echo_n "(cached) " >&6
5368else
5369  case $host in
5370  *-*-mingw* )
5371    case $build in
5372      *-*-mingw* ) # actually msys
5373        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5374        ;;
5375      *-*-cygwin* )
5376        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5377        ;;
5378      * ) # otherwise, assume *nix
5379        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5380        ;;
5381    esac
5382    ;;
5383  *-*-cygwin* )
5384    case $build in
5385      *-*-mingw* ) # actually msys
5386        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5387        ;;
5388      *-*-cygwin* )
5389        lt_cv_to_host_file_cmd=func_convert_file_noop
5390        ;;
5391      * ) # otherwise, assume *nix
5392        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5393        ;;
5394    esac
5395    ;;
5396  * ) # unhandled hosts (and "normal" native builds)
5397    lt_cv_to_host_file_cmd=func_convert_file_noop
5398    ;;
5399esac
5400
5401fi
5402
5403to_host_file_cmd=$lt_cv_to_host_file_cmd
5404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5405$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5406
5407
5408
5409
5410
5411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5412$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5413if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
5414  $as_echo_n "(cached) " >&6
5415else
5416  #assume ordinary cross tools, or native build.
5417lt_cv_to_tool_file_cmd=func_convert_file_noop
5418case $host in
5419  *-*-mingw* )
5420    case $build in
5421      *-*-mingw* ) # actually msys
5422        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5423        ;;
5424    esac
5425    ;;
5426esac
5427
5428fi
5429
5430to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5432$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5433
5434
5435
5436
5437
5438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5439$as_echo_n "checking for $LD option to reload object files... " >&6; }
5440if test "${lt_cv_ld_reload_flag+set}" = set; then :
5441  $as_echo_n "(cached) " >&6
5442else
5443  lt_cv_ld_reload_flag='-r'
5444fi
5445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5446$as_echo "$lt_cv_ld_reload_flag" >&6; }
5447reload_flag=$lt_cv_ld_reload_flag
5448case $reload_flag in
5449"" | " "*) ;;
5450*) reload_flag=" $reload_flag" ;;
5451esac
5452reload_cmds='$LD$reload_flag -o $output$reload_objs'
5453case $host_os in
5454  cygwin* | mingw* | pw32* | cegcc*)
5455    if test "$GCC" != yes; then
5456      reload_cmds=false
5457    fi
5458    ;;
5459  darwin*)
5460    if test "$GCC" = yes; then
5461      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5462    else
5463      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5464    fi
5465    ;;
5466esac
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476if test -n "$ac_tool_prefix"; then
5477  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5478set dummy ${ac_tool_prefix}objdump; ac_word=$2
5479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480$as_echo_n "checking for $ac_word... " >&6; }
5481if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5482  $as_echo_n "(cached) " >&6
5483else
5484  if test -n "$OBJDUMP"; then
5485  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5486else
5487as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488for as_dir in $PATH
5489do
5490  IFS=$as_save_IFS
5491  test -z "$as_dir" && as_dir=.
5492    for ac_exec_ext in '' $ac_executable_extensions; do
5493  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5494    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5495    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496    break 2
5497  fi
5498done
5499  done
5500IFS=$as_save_IFS
5501
5502fi
5503fi
5504OBJDUMP=$ac_cv_prog_OBJDUMP
5505if test -n "$OBJDUMP"; then
5506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5507$as_echo "$OBJDUMP" >&6; }
5508else
5509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510$as_echo "no" >&6; }
5511fi
5512
5513
5514fi
5515if test -z "$ac_cv_prog_OBJDUMP"; then
5516  ac_ct_OBJDUMP=$OBJDUMP
5517  # Extract the first word of "objdump", so it can be a program name with args.
5518set dummy objdump; ac_word=$2
5519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520$as_echo_n "checking for $ac_word... " >&6; }
5521if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5522  $as_echo_n "(cached) " >&6
5523else
5524  if test -n "$ac_ct_OBJDUMP"; then
5525  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5526else
5527as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528for as_dir in $PATH
5529do
5530  IFS=$as_save_IFS
5531  test -z "$as_dir" && as_dir=.
5532    for ac_exec_ext in '' $ac_executable_extensions; do
5533  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5534    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5535    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5536    break 2
5537  fi
5538done
5539  done
5540IFS=$as_save_IFS
5541
5542fi
5543fi
5544ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5545if test -n "$ac_ct_OBJDUMP"; then
5546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5547$as_echo "$ac_ct_OBJDUMP" >&6; }
5548else
5549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550$as_echo "no" >&6; }
5551fi
5552
5553  if test "x$ac_ct_OBJDUMP" = x; then
5554    OBJDUMP="false"
5555  else
5556    case $cross_compiling:$ac_tool_warned in
5557yes:)
5558{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5559$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5560ac_tool_warned=yes ;;
5561esac
5562    OBJDUMP=$ac_ct_OBJDUMP
5563  fi
5564else
5565  OBJDUMP="$ac_cv_prog_OBJDUMP"
5566fi
5567
5568test -z "$OBJDUMP" && OBJDUMP=objdump
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5579$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5580if test "${lt_cv_deplibs_check_method+set}" = set; then :
5581  $as_echo_n "(cached) " >&6
5582else
5583  lt_cv_file_magic_cmd='$MAGIC_CMD'
5584lt_cv_file_magic_test_file=
5585lt_cv_deplibs_check_method='unknown'
5586# Need to set the preceding variable on all platforms that support
5587# interlibrary dependencies.
5588# 'none' -- dependencies not supported.
5589# `unknown' -- same as none, but documents that we really don't know.
5590# 'pass_all' -- all dependencies passed with no checks.
5591# 'test_compile' -- check by making test program.
5592# 'file_magic [[regex]]' -- check by looking for files in library path
5593# which responds to the $file_magic_cmd with a given extended regex.
5594# If you have `file' or equivalent on your system and you're not sure
5595# whether `pass_all' will *always* work, you probably want this one.
5596
5597case $host_os in
5598aix[4-9]*)
5599  lt_cv_deplibs_check_method=pass_all
5600  ;;
5601
5602beos*)
5603  lt_cv_deplibs_check_method=pass_all
5604  ;;
5605
5606bsdi[45]*)
5607  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5608  lt_cv_file_magic_cmd='/usr/bin/file -L'
5609  lt_cv_file_magic_test_file=/shlib/libc.so
5610  ;;
5611
5612cygwin*)
5613  # func_win32_libid is a shell function defined in ltmain.sh
5614  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5615  lt_cv_file_magic_cmd='func_win32_libid'
5616  ;;
5617
5618mingw* | pw32*)
5619  # Base MSYS/MinGW do not provide the 'file' command needed by
5620  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5621  # unless we find 'file', for example because we are cross-compiling.
5622  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5623  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5624    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5625    lt_cv_file_magic_cmd='func_win32_libid'
5626  else
5627    # Keep this pattern in sync with the one in func_win32_libid.
5628    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5629    lt_cv_file_magic_cmd='$OBJDUMP -f'
5630  fi
5631  ;;
5632
5633cegcc*)
5634  # use the weaker test based on 'objdump'. See mingw*.
5635  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5636  lt_cv_file_magic_cmd='$OBJDUMP -f'
5637  ;;
5638
5639darwin* | rhapsody*)
5640  lt_cv_deplibs_check_method=pass_all
5641  ;;
5642
5643freebsd* | dragonfly*)
5644  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5645    case $host_cpu in
5646    i*86 )
5647      # Not sure whether the presence of OpenBSD here was a mistake.
5648      # Let's accept both of them until this is cleared up.
5649      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5650      lt_cv_file_magic_cmd=/usr/bin/file
5651      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5652      ;;
5653    esac
5654  else
5655    lt_cv_deplibs_check_method=pass_all
5656  fi
5657  ;;
5658
5659gnu*)
5660  lt_cv_deplibs_check_method=pass_all
5661  ;;
5662
5663haiku*)
5664  lt_cv_deplibs_check_method=pass_all
5665  ;;
5666
5667hpux10.20* | hpux11*)
5668  lt_cv_file_magic_cmd=/usr/bin/file
5669  case $host_cpu in
5670  ia64*)
5671    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5672    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5673    ;;
5674  hppa*64*)
5675    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5676    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5677    ;;
5678  *)
5679    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5680    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5681    ;;
5682  esac
5683  ;;
5684
5685interix[3-9]*)
5686  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5687  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5688  ;;
5689
5690irix5* | irix6* | nonstopux*)
5691  case $LD in
5692  *-32|*"-32 ") libmagic=32-bit;;
5693  *-n32|*"-n32 ") libmagic=N32;;
5694  *-64|*"-64 ") libmagic=64-bit;;
5695  *) libmagic=never-match;;
5696  esac
5697  lt_cv_deplibs_check_method=pass_all
5698  ;;
5699
5700# This must be Linux ELF.
5701linux* | k*bsd*-gnu | kopensolaris*-gnu)
5702  lt_cv_deplibs_check_method=pass_all
5703  ;;
5704
5705netbsd*)
5706  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5707    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5708  else
5709    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5710  fi
5711  ;;
5712
5713newos6*)
5714  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5715  lt_cv_file_magic_cmd=/usr/bin/file
5716  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5717  ;;
5718
5719*nto* | *qnx*)
5720  lt_cv_deplibs_check_method=pass_all
5721  ;;
5722
5723openbsd*)
5724  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5725    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5726  else
5727    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5728  fi
5729  ;;
5730
5731osf3* | osf4* | osf5*)
5732  lt_cv_deplibs_check_method=pass_all
5733  ;;
5734
5735rdos*)
5736  lt_cv_deplibs_check_method=pass_all
5737  ;;
5738
5739solaris*)
5740  lt_cv_deplibs_check_method=pass_all
5741  ;;
5742
5743sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5744  lt_cv_deplibs_check_method=pass_all
5745  ;;
5746
5747sysv4 | sysv4.3*)
5748  case $host_vendor in
5749  motorola)
5750    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5751    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5752    ;;
5753  ncr)
5754    lt_cv_deplibs_check_method=pass_all
5755    ;;
5756  sequent)
5757    lt_cv_file_magic_cmd='/bin/file'
5758    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5759    ;;
5760  sni)
5761    lt_cv_file_magic_cmd='/bin/file'
5762    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5763    lt_cv_file_magic_test_file=/lib/libc.so
5764    ;;
5765  siemens)
5766    lt_cv_deplibs_check_method=pass_all
5767    ;;
5768  pc)
5769    lt_cv_deplibs_check_method=pass_all
5770    ;;
5771  esac
5772  ;;
5773
5774tpf*)
5775  lt_cv_deplibs_check_method=pass_all
5776  ;;
5777esac
5778
5779fi
5780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5781$as_echo "$lt_cv_deplibs_check_method" >&6; }
5782
5783file_magic_glob=
5784want_nocaseglob=no
5785if test "$build" = "$host"; then
5786  case $host_os in
5787  mingw* | pw32*)
5788    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5789      want_nocaseglob=yes
5790    else
5791      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5792    fi
5793    ;;
5794  esac
5795fi
5796
5797file_magic_cmd=$lt_cv_file_magic_cmd
5798deplibs_check_method=$lt_cv_deplibs_check_method
5799test -z "$deplibs_check_method" && deplibs_check_method=unknown
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822if test -n "$ac_tool_prefix"; then
5823  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5824set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5826$as_echo_n "checking for $ac_word... " >&6; }
5827if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5828  $as_echo_n "(cached) " >&6
5829else
5830  if test -n "$DLLTOOL"; then
5831  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5832else
5833as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5834for as_dir in $PATH
5835do
5836  IFS=$as_save_IFS
5837  test -z "$as_dir" && as_dir=.
5838    for ac_exec_ext in '' $ac_executable_extensions; do
5839  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5840    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5841    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842    break 2
5843  fi
5844done
5845  done
5846IFS=$as_save_IFS
5847
5848fi
5849fi
5850DLLTOOL=$ac_cv_prog_DLLTOOL
5851if test -n "$DLLTOOL"; then
5852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5853$as_echo "$DLLTOOL" >&6; }
5854else
5855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5856$as_echo "no" >&6; }
5857fi
5858
5859
5860fi
5861if test -z "$ac_cv_prog_DLLTOOL"; then
5862  ac_ct_DLLTOOL=$DLLTOOL
5863  # Extract the first word of "dlltool", so it can be a program name with args.
5864set dummy dlltool; ac_word=$2
5865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5866$as_echo_n "checking for $ac_word... " >&6; }
5867if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5868  $as_echo_n "(cached) " >&6
5869else
5870  if test -n "$ac_ct_DLLTOOL"; then
5871  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5872else
5873as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874for as_dir in $PATH
5875do
5876  IFS=$as_save_IFS
5877  test -z "$as_dir" && as_dir=.
5878    for ac_exec_ext in '' $ac_executable_extensions; do
5879  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5880    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5881    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882    break 2
5883  fi
5884done
5885  done
5886IFS=$as_save_IFS
5887
5888fi
5889fi
5890ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5891if test -n "$ac_ct_DLLTOOL"; then
5892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5893$as_echo "$ac_ct_DLLTOOL" >&6; }
5894else
5895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5896$as_echo "no" >&6; }
5897fi
5898
5899  if test "x$ac_ct_DLLTOOL" = x; then
5900    DLLTOOL="false"
5901  else
5902    case $cross_compiling:$ac_tool_warned in
5903yes:)
5904{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5905$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5906ac_tool_warned=yes ;;
5907esac
5908    DLLTOOL=$ac_ct_DLLTOOL
5909  fi
5910else
5911  DLLTOOL="$ac_cv_prog_DLLTOOL"
5912fi
5913
5914test -z "$DLLTOOL" && DLLTOOL=dlltool
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5926$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5927if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
5928  $as_echo_n "(cached) " >&6
5929else
5930  lt_cv_sharedlib_from_linklib_cmd='unknown'
5931
5932case $host_os in
5933cygwin* | mingw* | pw32* | cegcc*)
5934  # two different shell functions defined in ltmain.sh
5935  # decide which to use based on capabilities of $DLLTOOL
5936  case `$DLLTOOL --help 2>&1` in
5937  *--identify-strict*)
5938    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5939    ;;
5940  *)
5941    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5942    ;;
5943  esac
5944  ;;
5945*)
5946  # fallback: assume linklib IS sharedlib
5947  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5948  ;;
5949esac
5950
5951fi
5952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5953$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5954sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5955test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5956
5957
5958
5959
5960
5961
5962
5963
5964if test -n "$ac_tool_prefix"; then
5965  for ac_prog in ar
5966  do
5967    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5968set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5970$as_echo_n "checking for $ac_word... " >&6; }
5971if test "${ac_cv_prog_AR+set}" = set; then :
5972  $as_echo_n "(cached) " >&6
5973else
5974  if test -n "$AR"; then
5975  ac_cv_prog_AR="$AR" # Let the user override the test.
5976else
5977as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5978for as_dir in $PATH
5979do
5980  IFS=$as_save_IFS
5981  test -z "$as_dir" && as_dir=.
5982    for ac_exec_ext in '' $ac_executable_extensions; do
5983  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5984    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5985    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5986    break 2
5987  fi
5988done
5989  done
5990IFS=$as_save_IFS
5991
5992fi
5993fi
5994AR=$ac_cv_prog_AR
5995if test -n "$AR"; then
5996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5997$as_echo "$AR" >&6; }
5998else
5999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6000$as_echo "no" >&6; }
6001fi
6002
6003
6004    test -n "$AR" && break
6005  done
6006fi
6007if test -z "$AR"; then
6008  ac_ct_AR=$AR
6009  for ac_prog in ar
6010do
6011  # Extract the first word of "$ac_prog", so it can be a program name with args.
6012set dummy $ac_prog; ac_word=$2
6013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014$as_echo_n "checking for $ac_word... " >&6; }
6015if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6016  $as_echo_n "(cached) " >&6
6017else
6018  if test -n "$ac_ct_AR"; then
6019  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6020else
6021as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6022for as_dir in $PATH
6023do
6024  IFS=$as_save_IFS
6025  test -z "$as_dir" && as_dir=.
6026    for ac_exec_ext in '' $ac_executable_extensions; do
6027  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6028    ac_cv_prog_ac_ct_AR="$ac_prog"
6029    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6030    break 2
6031  fi
6032done
6033  done
6034IFS=$as_save_IFS
6035
6036fi
6037fi
6038ac_ct_AR=$ac_cv_prog_ac_ct_AR
6039if test -n "$ac_ct_AR"; then
6040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6041$as_echo "$ac_ct_AR" >&6; }
6042else
6043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044$as_echo "no" >&6; }
6045fi
6046
6047
6048  test -n "$ac_ct_AR" && break
6049done
6050
6051  if test "x$ac_ct_AR" = x; then
6052    AR="false"
6053  else
6054    case $cross_compiling:$ac_tool_warned in
6055yes:)
6056{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6057$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6058ac_tool_warned=yes ;;
6059esac
6060    AR=$ac_ct_AR
6061  fi
6062fi
6063
6064: ${AR=ar}
6065: ${AR_FLAGS=cru}
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6078$as_echo_n "checking for archiver @FILE support... " >&6; }
6079if test "${lt_cv_ar_at_file+set}" = set; then :
6080  $as_echo_n "(cached) " >&6
6081else
6082  lt_cv_ar_at_file=no
6083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6084/* end confdefs.h.  */
6085
6086int
6087main ()
6088{
6089
6090  ;
6091  return 0;
6092}
6093_ACEOF
6094if ac_fn_c_try_compile "$LINENO"; then :
6095  echo conftest.$ac_objext > conftest.lst
6096      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6097      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6098  (eval $lt_ar_try) 2>&5
6099  ac_status=$?
6100  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6101  test $ac_status = 0; }
6102      if test "$ac_status" -eq 0; then
6103	# Ensure the archiver fails upon bogus file names.
6104	rm -f conftest.$ac_objext libconftest.a
6105	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6106  (eval $lt_ar_try) 2>&5
6107  ac_status=$?
6108  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6109  test $ac_status = 0; }
6110	if test "$ac_status" -ne 0; then
6111          lt_cv_ar_at_file=@
6112        fi
6113      fi
6114      rm -f conftest.* libconftest.a
6115
6116fi
6117rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6118
6119fi
6120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6121$as_echo "$lt_cv_ar_at_file" >&6; }
6122
6123if test "x$lt_cv_ar_at_file" = xno; then
6124  archiver_list_spec=
6125else
6126  archiver_list_spec=$lt_cv_ar_at_file
6127fi
6128
6129
6130
6131
6132
6133
6134
6135if test -n "$ac_tool_prefix"; then
6136  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6137set dummy ${ac_tool_prefix}strip; ac_word=$2
6138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6139$as_echo_n "checking for $ac_word... " >&6; }
6140if test "${ac_cv_prog_STRIP+set}" = set; then :
6141  $as_echo_n "(cached) " >&6
6142else
6143  if test -n "$STRIP"; then
6144  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6145else
6146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147for as_dir in $PATH
6148do
6149  IFS=$as_save_IFS
6150  test -z "$as_dir" && as_dir=.
6151    for ac_exec_ext in '' $ac_executable_extensions; do
6152  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6153    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6154    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6155    break 2
6156  fi
6157done
6158  done
6159IFS=$as_save_IFS
6160
6161fi
6162fi
6163STRIP=$ac_cv_prog_STRIP
6164if test -n "$STRIP"; then
6165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6166$as_echo "$STRIP" >&6; }
6167else
6168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6169$as_echo "no" >&6; }
6170fi
6171
6172
6173fi
6174if test -z "$ac_cv_prog_STRIP"; then
6175  ac_ct_STRIP=$STRIP
6176  # Extract the first word of "strip", so it can be a program name with args.
6177set dummy strip; ac_word=$2
6178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6179$as_echo_n "checking for $ac_word... " >&6; }
6180if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6181  $as_echo_n "(cached) " >&6
6182else
6183  if test -n "$ac_ct_STRIP"; then
6184  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6185else
6186as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6187for as_dir in $PATH
6188do
6189  IFS=$as_save_IFS
6190  test -z "$as_dir" && as_dir=.
6191    for ac_exec_ext in '' $ac_executable_extensions; do
6192  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6193    ac_cv_prog_ac_ct_STRIP="strip"
6194    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6195    break 2
6196  fi
6197done
6198  done
6199IFS=$as_save_IFS
6200
6201fi
6202fi
6203ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6204if test -n "$ac_ct_STRIP"; then
6205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6206$as_echo "$ac_ct_STRIP" >&6; }
6207else
6208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6209$as_echo "no" >&6; }
6210fi
6211
6212  if test "x$ac_ct_STRIP" = x; then
6213    STRIP=":"
6214  else
6215    case $cross_compiling:$ac_tool_warned in
6216yes:)
6217{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6218$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6219ac_tool_warned=yes ;;
6220esac
6221    STRIP=$ac_ct_STRIP
6222  fi
6223else
6224  STRIP="$ac_cv_prog_STRIP"
6225fi
6226
6227test -z "$STRIP" && STRIP=:
6228
6229
6230
6231
6232
6233
6234if test -n "$ac_tool_prefix"; then
6235  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6236set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238$as_echo_n "checking for $ac_word... " >&6; }
6239if test "${ac_cv_prog_RANLIB+set}" = set; then :
6240  $as_echo_n "(cached) " >&6
6241else
6242  if test -n "$RANLIB"; then
6243  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6244else
6245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6246for as_dir in $PATH
6247do
6248  IFS=$as_save_IFS
6249  test -z "$as_dir" && as_dir=.
6250    for ac_exec_ext in '' $ac_executable_extensions; do
6251  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6252    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6253    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6254    break 2
6255  fi
6256done
6257  done
6258IFS=$as_save_IFS
6259
6260fi
6261fi
6262RANLIB=$ac_cv_prog_RANLIB
6263if test -n "$RANLIB"; then
6264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6265$as_echo "$RANLIB" >&6; }
6266else
6267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6268$as_echo "no" >&6; }
6269fi
6270
6271
6272fi
6273if test -z "$ac_cv_prog_RANLIB"; then
6274  ac_ct_RANLIB=$RANLIB
6275  # Extract the first word of "ranlib", so it can be a program name with args.
6276set dummy ranlib; ac_word=$2
6277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6278$as_echo_n "checking for $ac_word... " >&6; }
6279if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6280  $as_echo_n "(cached) " >&6
6281else
6282  if test -n "$ac_ct_RANLIB"; then
6283  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6284else
6285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6286for as_dir in $PATH
6287do
6288  IFS=$as_save_IFS
6289  test -z "$as_dir" && as_dir=.
6290    for ac_exec_ext in '' $ac_executable_extensions; do
6291  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6292    ac_cv_prog_ac_ct_RANLIB="ranlib"
6293    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6294    break 2
6295  fi
6296done
6297  done
6298IFS=$as_save_IFS
6299
6300fi
6301fi
6302ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6303if test -n "$ac_ct_RANLIB"; then
6304  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6305$as_echo "$ac_ct_RANLIB" >&6; }
6306else
6307  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6308$as_echo "no" >&6; }
6309fi
6310
6311  if test "x$ac_ct_RANLIB" = x; then
6312    RANLIB=":"
6313  else
6314    case $cross_compiling:$ac_tool_warned in
6315yes:)
6316{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6317$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6318ac_tool_warned=yes ;;
6319esac
6320    RANLIB=$ac_ct_RANLIB
6321  fi
6322else
6323  RANLIB="$ac_cv_prog_RANLIB"
6324fi
6325
6326test -z "$RANLIB" && RANLIB=:
6327
6328
6329
6330
6331
6332
6333# Determine commands to create old-style static archives.
6334old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6335old_postinstall_cmds='chmod 644 $oldlib'
6336old_postuninstall_cmds=
6337
6338if test -n "$RANLIB"; then
6339  case $host_os in
6340  openbsd*)
6341    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6342    ;;
6343  *)
6344    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6345    ;;
6346  esac
6347  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6348fi
6349
6350case $host_os in
6351  darwin*)
6352    lock_old_archive_extraction=yes ;;
6353  *)
6354    lock_old_archive_extraction=no ;;
6355esac
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395# If no C compiler was specified, use CC.
6396LTCC=${LTCC-"$CC"}
6397
6398# If no C compiler flags were specified, use CFLAGS.
6399LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6400
6401# Allow CC to be a program name with arguments.
6402compiler=$CC
6403
6404
6405# Check for command to grab the raw symbol name followed by C symbol from nm.
6406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6407$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6408if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6409  $as_echo_n "(cached) " >&6
6410else
6411
6412# These are sane defaults that work on at least a few old systems.
6413# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6414
6415# Character class describing NM global symbol codes.
6416symcode='[BCDEGRST]'
6417
6418# Regexp to match symbols that can be accessed directly from C.
6419sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6420
6421# Define system-specific variables.
6422case $host_os in
6423aix*)
6424  symcode='[BCDT]'
6425  ;;
6426cygwin* | mingw* | pw32* | cegcc*)
6427  symcode='[ABCDGISTW]'
6428  ;;
6429hpux*)
6430  if test "$host_cpu" = ia64; then
6431    symcode='[ABCDEGRST]'
6432  fi
6433  ;;
6434irix* | nonstopux*)
6435  symcode='[BCDEGRST]'
6436  ;;
6437osf*)
6438  symcode='[BCDEGQRST]'
6439  ;;
6440solaris*)
6441  symcode='[BDRT]'
6442  ;;
6443sco3.2v5*)
6444  symcode='[DT]'
6445  ;;
6446sysv4.2uw2*)
6447  symcode='[DT]'
6448  ;;
6449sysv5* | sco5v6* | unixware* | OpenUNIX*)
6450  symcode='[ABDT]'
6451  ;;
6452sysv4)
6453  symcode='[DFNSTU]'
6454  ;;
6455esac
6456
6457# If we're using GNU nm, then use its standard symbol codes.
6458case `$NM -V 2>&1` in
6459*GNU* | *'with BFD'*)
6460  symcode='[ABCDGIRSTW]' ;;
6461esac
6462
6463# Transform an extracted symbol line into a proper C declaration.
6464# Some systems (esp. on ia64) link data and code symbols differently,
6465# so use this general approach.
6466lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6467
6468# Transform an extracted symbol line into symbol name and symbol address
6469lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6470lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6471
6472# Handle CRLF in mingw tool chain
6473opt_cr=
6474case $build_os in
6475mingw*)
6476  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6477  ;;
6478esac
6479
6480# Try without a prefix underscore, then with it.
6481for ac_symprfx in "" "_"; do
6482
6483  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6484  symxfrm="\\1 $ac_symprfx\\2 \\2"
6485
6486  # Write the raw and C identifiers.
6487  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6488    # Fake it for dumpbin and say T for any non-static function
6489    # and D for any global variable.
6490    # Also find C++ and __fastcall symbols from MSVC++,
6491    # which start with @ or ?.
6492    lt_cv_sys_global_symbol_pipe="$AWK '"\
6493"     {last_section=section; section=\$ 3};"\
6494"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6495"     \$ 0!~/External *\|/{next};"\
6496"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6497"     {if(hide[section]) next};"\
6498"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6499"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6500"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6501"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6502"     ' prfx=^$ac_symprfx"
6503  else
6504    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6505  fi
6506  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6507
6508  # Check to see that the pipe works correctly.
6509  pipe_works=no
6510
6511  rm -f conftest*
6512  cat > conftest.$ac_ext <<_LT_EOF
6513#ifdef __cplusplus
6514extern "C" {
6515#endif
6516char nm_test_var;
6517void nm_test_func(void);
6518void nm_test_func(void){}
6519#ifdef __cplusplus
6520}
6521#endif
6522int main(){nm_test_var='a';nm_test_func();return(0);}
6523_LT_EOF
6524
6525  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6526  (eval $ac_compile) 2>&5
6527  ac_status=$?
6528  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6529  test $ac_status = 0; }; then
6530    # Now try to grab the symbols.
6531    nlist=conftest.nm
6532    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6533  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6534  ac_status=$?
6535  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6536  test $ac_status = 0; } && test -s "$nlist"; then
6537      # Try sorting and uniquifying the output.
6538      if sort "$nlist" | uniq > "$nlist"T; then
6539	mv -f "$nlist"T "$nlist"
6540      else
6541	rm -f "$nlist"T
6542      fi
6543
6544      # Make sure that we snagged all the symbols we need.
6545      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6546	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6547	  cat <<_LT_EOF > conftest.$ac_ext
6548/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6549#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6550/* DATA imports from DLLs on WIN32 con't be const, because runtime
6551   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6552# define LT_DLSYM_CONST
6553#elif defined(__osf__)
6554/* This system does not cope well with relocations in const data.  */
6555# define LT_DLSYM_CONST
6556#else
6557# define LT_DLSYM_CONST const
6558#endif
6559
6560#ifdef __cplusplus
6561extern "C" {
6562#endif
6563
6564_LT_EOF
6565	  # Now generate the symbol file.
6566	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6567
6568	  cat <<_LT_EOF >> conftest.$ac_ext
6569
6570/* The mapping between symbol names and symbols.  */
6571LT_DLSYM_CONST struct {
6572  const char *name;
6573  void       *address;
6574}
6575lt__PROGRAM__LTX_preloaded_symbols[] =
6576{
6577  { "@PROGRAM@", (void *) 0 },
6578_LT_EOF
6579	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6580	  cat <<\_LT_EOF >> conftest.$ac_ext
6581  {0, (void *) 0}
6582};
6583
6584/* This works around a problem in FreeBSD linker */
6585#ifdef FREEBSD_WORKAROUND
6586static const void *lt_preloaded_setup() {
6587  return lt__PROGRAM__LTX_preloaded_symbols;
6588}
6589#endif
6590
6591#ifdef __cplusplus
6592}
6593#endif
6594_LT_EOF
6595	  # Now try linking the two files.
6596	  mv conftest.$ac_objext conftstm.$ac_objext
6597	  lt_globsym_save_LIBS=$LIBS
6598	  lt_globsym_save_CFLAGS=$CFLAGS
6599	  LIBS="conftstm.$ac_objext"
6600	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6601	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6602  (eval $ac_link) 2>&5
6603  ac_status=$?
6604  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6605  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6606	    pipe_works=yes
6607	  fi
6608	  LIBS=$lt_globsym_save_LIBS
6609	  CFLAGS=$lt_globsym_save_CFLAGS
6610	else
6611	  echo "cannot find nm_test_func in $nlist" >&5
6612	fi
6613      else
6614	echo "cannot find nm_test_var in $nlist" >&5
6615      fi
6616    else
6617      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6618    fi
6619  else
6620    echo "$progname: failed program was:" >&5
6621    cat conftest.$ac_ext >&5
6622  fi
6623  rm -rf conftest* conftst*
6624
6625  # Do not use the global_symbol_pipe unless it works.
6626  if test "$pipe_works" = yes; then
6627    break
6628  else
6629    lt_cv_sys_global_symbol_pipe=
6630  fi
6631done
6632
6633fi
6634
6635if test -z "$lt_cv_sys_global_symbol_pipe"; then
6636  lt_cv_sys_global_symbol_to_cdecl=
6637fi
6638if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6640$as_echo "failed" >&6; }
6641else
6642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6643$as_echo "ok" >&6; }
6644fi
6645
6646# Response file support.
6647if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6648  nm_file_list_spec='@'
6649elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6650  nm_file_list_spec='@'
6651fi
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6680$as_echo_n "checking for sysroot... " >&6; }
6681
6682# Check whether --with-sysroot was given.
6683if test "${with_sysroot+set}" = set; then :
6684  withval=$with_sysroot;
6685else
6686  with_sysroot=no
6687fi
6688
6689
6690lt_sysroot=
6691case ${with_sysroot} in #(
6692 yes)
6693   if test "$GCC" = yes; then
6694     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6695   fi
6696   ;; #(
6697 /*)
6698   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6699   ;; #(
6700 no|'')
6701   ;; #(
6702 *)
6703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6704$as_echo "${with_sysroot}" >&6; }
6705   as_fn_error "The sysroot must be an absolute path." "$LINENO" 5
6706   ;;
6707esac
6708
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6710$as_echo "${lt_sysroot:-no}" >&6; }
6711
6712
6713
6714
6715
6716# Check whether --enable-libtool-lock was given.
6717if test "${enable_libtool_lock+set}" = set; then :
6718  enableval=$enable_libtool_lock;
6719fi
6720
6721test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6722
6723# Some flags need to be propagated to the compiler or linker for good
6724# libtool support.
6725case $host in
6726ia64-*-hpux*)
6727  # Find out which ABI we are using.
6728  echo 'int i;' > conftest.$ac_ext
6729  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6730  (eval $ac_compile) 2>&5
6731  ac_status=$?
6732  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6733  test $ac_status = 0; }; then
6734    case `/usr/bin/file conftest.$ac_objext` in
6735      *ELF-32*)
6736	HPUX_IA64_MODE="32"
6737	;;
6738      *ELF-64*)
6739	HPUX_IA64_MODE="64"
6740	;;
6741    esac
6742  fi
6743  rm -rf conftest*
6744  ;;
6745*-*-irix6*)
6746  # Find out which ABI we are using.
6747  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6748  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6749  (eval $ac_compile) 2>&5
6750  ac_status=$?
6751  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6752  test $ac_status = 0; }; then
6753    if test "$lt_cv_prog_gnu_ld" = yes; then
6754      case `/usr/bin/file conftest.$ac_objext` in
6755	*32-bit*)
6756	  LD="${LD-ld} -melf32bsmip"
6757	  ;;
6758	*N32*)
6759	  LD="${LD-ld} -melf32bmipn32"
6760	  ;;
6761	*64-bit*)
6762	  LD="${LD-ld} -melf64bmip"
6763	;;
6764      esac
6765    else
6766      case `/usr/bin/file conftest.$ac_objext` in
6767	*32-bit*)
6768	  LD="${LD-ld} -32"
6769	  ;;
6770	*N32*)
6771	  LD="${LD-ld} -n32"
6772	  ;;
6773	*64-bit*)
6774	  LD="${LD-ld} -64"
6775	  ;;
6776      esac
6777    fi
6778  fi
6779  rm -rf conftest*
6780  ;;
6781
6782x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6783s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6784  # Find out which ABI we are using.
6785  echo 'int i;' > conftest.$ac_ext
6786  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6787  (eval $ac_compile) 2>&5
6788  ac_status=$?
6789  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6790  test $ac_status = 0; }; then
6791    case `/usr/bin/file conftest.o` in
6792      *32-bit*)
6793	case $host in
6794	  x86_64-*kfreebsd*-gnu)
6795	    LD="${LD-ld} -m elf_i386_fbsd"
6796	    ;;
6797	  x86_64-*linux*)
6798	    LD="${LD-ld} -m elf_i386"
6799	    ;;
6800	  ppc64-*linux*|powerpc64-*linux*)
6801	    LD="${LD-ld} -m elf32ppclinux"
6802	    ;;
6803	  s390x-*linux*)
6804	    LD="${LD-ld} -m elf_s390"
6805	    ;;
6806	  sparc64-*linux*)
6807	    LD="${LD-ld} -m elf32_sparc"
6808	    ;;
6809	esac
6810	;;
6811      *64-bit*)
6812	case $host in
6813	  x86_64-*kfreebsd*-gnu)
6814	    LD="${LD-ld} -m elf_x86_64_fbsd"
6815	    ;;
6816	  x86_64-*linux*)
6817	    LD="${LD-ld} -m elf_x86_64"
6818	    ;;
6819	  ppc*-*linux*|powerpc*-*linux*)
6820	    LD="${LD-ld} -m elf64ppc"
6821	    ;;
6822	  s390*-*linux*|s390*-*tpf*)
6823	    LD="${LD-ld} -m elf64_s390"
6824	    ;;
6825	  sparc*-*linux*)
6826	    LD="${LD-ld} -m elf64_sparc"
6827	    ;;
6828	esac
6829	;;
6830    esac
6831  fi
6832  rm -rf conftest*
6833  ;;
6834
6835*-*-sco3.2v5*)
6836  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6837  SAVE_CFLAGS="$CFLAGS"
6838  CFLAGS="$CFLAGS -belf"
6839  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6840$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6841if test "${lt_cv_cc_needs_belf+set}" = set; then :
6842  $as_echo_n "(cached) " >&6
6843else
6844  ac_ext=c
6845ac_cpp='$CPP $CPPFLAGS'
6846ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6847ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6848ac_compiler_gnu=$ac_cv_c_compiler_gnu
6849
6850     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6851/* end confdefs.h.  */
6852
6853int
6854main ()
6855{
6856
6857  ;
6858  return 0;
6859}
6860_ACEOF
6861if ac_fn_c_try_link "$LINENO"; then :
6862  lt_cv_cc_needs_belf=yes
6863else
6864  lt_cv_cc_needs_belf=no
6865fi
6866rm -f core conftest.err conftest.$ac_objext \
6867    conftest$ac_exeext conftest.$ac_ext
6868     ac_ext=c
6869ac_cpp='$CPP $CPPFLAGS'
6870ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6871ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6872ac_compiler_gnu=$ac_cv_c_compiler_gnu
6873
6874fi
6875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6876$as_echo "$lt_cv_cc_needs_belf" >&6; }
6877  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6878    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6879    CFLAGS="$SAVE_CFLAGS"
6880  fi
6881  ;;
6882sparc*-*solaris*)
6883  # Find out which ABI we are using.
6884  echo 'int i;' > conftest.$ac_ext
6885  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6886  (eval $ac_compile) 2>&5
6887  ac_status=$?
6888  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6889  test $ac_status = 0; }; then
6890    case `/usr/bin/file conftest.o` in
6891    *64-bit*)
6892      case $lt_cv_prog_gnu_ld in
6893      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6894      *)
6895	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6896	  LD="${LD-ld} -64"
6897	fi
6898	;;
6899      esac
6900      ;;
6901    esac
6902  fi
6903  rm -rf conftest*
6904  ;;
6905esac
6906
6907need_locks="$enable_libtool_lock"
6908
6909if test -n "$ac_tool_prefix"; then
6910  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6911set dummy ${ac_tool_prefix}mt; ac_word=$2
6912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913$as_echo_n "checking for $ac_word... " >&6; }
6914if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
6915  $as_echo_n "(cached) " >&6
6916else
6917  if test -n "$MANIFEST_TOOL"; then
6918  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6919else
6920as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6921for as_dir in $PATH
6922do
6923  IFS=$as_save_IFS
6924  test -z "$as_dir" && as_dir=.
6925    for ac_exec_ext in '' $ac_executable_extensions; do
6926  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6927    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6928    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6929    break 2
6930  fi
6931done
6932  done
6933IFS=$as_save_IFS
6934
6935fi
6936fi
6937MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6938if test -n "$MANIFEST_TOOL"; then
6939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6940$as_echo "$MANIFEST_TOOL" >&6; }
6941else
6942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943$as_echo "no" >&6; }
6944fi
6945
6946
6947fi
6948if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6949  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6950  # Extract the first word of "mt", so it can be a program name with args.
6951set dummy mt; ac_word=$2
6952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6953$as_echo_n "checking for $ac_word... " >&6; }
6954if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
6955  $as_echo_n "(cached) " >&6
6956else
6957  if test -n "$ac_ct_MANIFEST_TOOL"; then
6958  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6959else
6960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6961for as_dir in $PATH
6962do
6963  IFS=$as_save_IFS
6964  test -z "$as_dir" && as_dir=.
6965    for ac_exec_ext in '' $ac_executable_extensions; do
6966  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6967    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6968    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6969    break 2
6970  fi
6971done
6972  done
6973IFS=$as_save_IFS
6974
6975fi
6976fi
6977ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6978if test -n "$ac_ct_MANIFEST_TOOL"; then
6979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6980$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6981else
6982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6983$as_echo "no" >&6; }
6984fi
6985
6986  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6987    MANIFEST_TOOL=":"
6988  else
6989    case $cross_compiling:$ac_tool_warned in
6990yes:)
6991{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6992$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6993ac_tool_warned=yes ;;
6994esac
6995    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6996  fi
6997else
6998  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6999fi
7000
7001test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7003$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7004if test "${lt_cv_path_mainfest_tool+set}" = set; then :
7005  $as_echo_n "(cached) " >&6
7006else
7007  lt_cv_path_mainfest_tool=no
7008  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7009  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7010  cat conftest.err >&5
7011  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7012    lt_cv_path_mainfest_tool=yes
7013  fi
7014  rm -f conftest*
7015fi
7016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7017$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7018if test "x$lt_cv_path_mainfest_tool" != xyes; then
7019  MANIFEST_TOOL=:
7020fi
7021
7022
7023
7024
7025
7026
7027  case $host_os in
7028    rhapsody* | darwin*)
7029    if test -n "$ac_tool_prefix"; then
7030  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7031set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7033$as_echo_n "checking for $ac_word... " >&6; }
7034if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7035  $as_echo_n "(cached) " >&6
7036else
7037  if test -n "$DSYMUTIL"; then
7038  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7039else
7040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7041for as_dir in $PATH
7042do
7043  IFS=$as_save_IFS
7044  test -z "$as_dir" && as_dir=.
7045    for ac_exec_ext in '' $ac_executable_extensions; do
7046  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7047    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7048    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7049    break 2
7050  fi
7051done
7052  done
7053IFS=$as_save_IFS
7054
7055fi
7056fi
7057DSYMUTIL=$ac_cv_prog_DSYMUTIL
7058if test -n "$DSYMUTIL"; then
7059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7060$as_echo "$DSYMUTIL" >&6; }
7061else
7062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7063$as_echo "no" >&6; }
7064fi
7065
7066
7067fi
7068if test -z "$ac_cv_prog_DSYMUTIL"; then
7069  ac_ct_DSYMUTIL=$DSYMUTIL
7070  # Extract the first word of "dsymutil", so it can be a program name with args.
7071set dummy dsymutil; ac_word=$2
7072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7073$as_echo_n "checking for $ac_word... " >&6; }
7074if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7075  $as_echo_n "(cached) " >&6
7076else
7077  if test -n "$ac_ct_DSYMUTIL"; then
7078  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7079else
7080as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7081for as_dir in $PATH
7082do
7083  IFS=$as_save_IFS
7084  test -z "$as_dir" && as_dir=.
7085    for ac_exec_ext in '' $ac_executable_extensions; do
7086  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7087    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7088    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7089    break 2
7090  fi
7091done
7092  done
7093IFS=$as_save_IFS
7094
7095fi
7096fi
7097ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7098if test -n "$ac_ct_DSYMUTIL"; then
7099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7100$as_echo "$ac_ct_DSYMUTIL" >&6; }
7101else
7102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7103$as_echo "no" >&6; }
7104fi
7105
7106  if test "x$ac_ct_DSYMUTIL" = x; then
7107    DSYMUTIL=":"
7108  else
7109    case $cross_compiling:$ac_tool_warned in
7110yes:)
7111{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7112$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7113ac_tool_warned=yes ;;
7114esac
7115    DSYMUTIL=$ac_ct_DSYMUTIL
7116  fi
7117else
7118  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7119fi
7120
7121    if test -n "$ac_tool_prefix"; then
7122  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7123set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7125$as_echo_n "checking for $ac_word... " >&6; }
7126if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7127  $as_echo_n "(cached) " >&6
7128else
7129  if test -n "$NMEDIT"; then
7130  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7131else
7132as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7133for as_dir in $PATH
7134do
7135  IFS=$as_save_IFS
7136  test -z "$as_dir" && as_dir=.
7137    for ac_exec_ext in '' $ac_executable_extensions; do
7138  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7139    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7140    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7141    break 2
7142  fi
7143done
7144  done
7145IFS=$as_save_IFS
7146
7147fi
7148fi
7149NMEDIT=$ac_cv_prog_NMEDIT
7150if test -n "$NMEDIT"; then
7151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7152$as_echo "$NMEDIT" >&6; }
7153else
7154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7155$as_echo "no" >&6; }
7156fi
7157
7158
7159fi
7160if test -z "$ac_cv_prog_NMEDIT"; then
7161  ac_ct_NMEDIT=$NMEDIT
7162  # Extract the first word of "nmedit", so it can be a program name with args.
7163set dummy nmedit; ac_word=$2
7164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7165$as_echo_n "checking for $ac_word... " >&6; }
7166if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7167  $as_echo_n "(cached) " >&6
7168else
7169  if test -n "$ac_ct_NMEDIT"; then
7170  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7171else
7172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7173for as_dir in $PATH
7174do
7175  IFS=$as_save_IFS
7176  test -z "$as_dir" && as_dir=.
7177    for ac_exec_ext in '' $ac_executable_extensions; do
7178  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7179    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7180    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7181    break 2
7182  fi
7183done
7184  done
7185IFS=$as_save_IFS
7186
7187fi
7188fi
7189ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7190if test -n "$ac_ct_NMEDIT"; then
7191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7192$as_echo "$ac_ct_NMEDIT" >&6; }
7193else
7194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7195$as_echo "no" >&6; }
7196fi
7197
7198  if test "x$ac_ct_NMEDIT" = x; then
7199    NMEDIT=":"
7200  else
7201    case $cross_compiling:$ac_tool_warned in
7202yes:)
7203{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7204$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7205ac_tool_warned=yes ;;
7206esac
7207    NMEDIT=$ac_ct_NMEDIT
7208  fi
7209else
7210  NMEDIT="$ac_cv_prog_NMEDIT"
7211fi
7212
7213    if test -n "$ac_tool_prefix"; then
7214  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7215set dummy ${ac_tool_prefix}lipo; ac_word=$2
7216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7217$as_echo_n "checking for $ac_word... " >&6; }
7218if test "${ac_cv_prog_LIPO+set}" = set; then :
7219  $as_echo_n "(cached) " >&6
7220else
7221  if test -n "$LIPO"; then
7222  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7223else
7224as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7225for as_dir in $PATH
7226do
7227  IFS=$as_save_IFS
7228  test -z "$as_dir" && as_dir=.
7229    for ac_exec_ext in '' $ac_executable_extensions; do
7230  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7231    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7232    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7233    break 2
7234  fi
7235done
7236  done
7237IFS=$as_save_IFS
7238
7239fi
7240fi
7241LIPO=$ac_cv_prog_LIPO
7242if test -n "$LIPO"; then
7243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7244$as_echo "$LIPO" >&6; }
7245else
7246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7247$as_echo "no" >&6; }
7248fi
7249
7250
7251fi
7252if test -z "$ac_cv_prog_LIPO"; then
7253  ac_ct_LIPO=$LIPO
7254  # Extract the first word of "lipo", so it can be a program name with args.
7255set dummy lipo; ac_word=$2
7256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7257$as_echo_n "checking for $ac_word... " >&6; }
7258if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7259  $as_echo_n "(cached) " >&6
7260else
7261  if test -n "$ac_ct_LIPO"; then
7262  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7263else
7264as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7265for as_dir in $PATH
7266do
7267  IFS=$as_save_IFS
7268  test -z "$as_dir" && as_dir=.
7269    for ac_exec_ext in '' $ac_executable_extensions; do
7270  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7271    ac_cv_prog_ac_ct_LIPO="lipo"
7272    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7273    break 2
7274  fi
7275done
7276  done
7277IFS=$as_save_IFS
7278
7279fi
7280fi
7281ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7282if test -n "$ac_ct_LIPO"; then
7283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7284$as_echo "$ac_ct_LIPO" >&6; }
7285else
7286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287$as_echo "no" >&6; }
7288fi
7289
7290  if test "x$ac_ct_LIPO" = x; then
7291    LIPO=":"
7292  else
7293    case $cross_compiling:$ac_tool_warned in
7294yes:)
7295{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7296$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7297ac_tool_warned=yes ;;
7298esac
7299    LIPO=$ac_ct_LIPO
7300  fi
7301else
7302  LIPO="$ac_cv_prog_LIPO"
7303fi
7304
7305    if test -n "$ac_tool_prefix"; then
7306  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7307set dummy ${ac_tool_prefix}otool; ac_word=$2
7308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7309$as_echo_n "checking for $ac_word... " >&6; }
7310if test "${ac_cv_prog_OTOOL+set}" = set; then :
7311  $as_echo_n "(cached) " >&6
7312else
7313  if test -n "$OTOOL"; then
7314  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7315else
7316as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7317for as_dir in $PATH
7318do
7319  IFS=$as_save_IFS
7320  test -z "$as_dir" && as_dir=.
7321    for ac_exec_ext in '' $ac_executable_extensions; do
7322  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7323    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7324    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7325    break 2
7326  fi
7327done
7328  done
7329IFS=$as_save_IFS
7330
7331fi
7332fi
7333OTOOL=$ac_cv_prog_OTOOL
7334if test -n "$OTOOL"; then
7335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7336$as_echo "$OTOOL" >&6; }
7337else
7338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7339$as_echo "no" >&6; }
7340fi
7341
7342
7343fi
7344if test -z "$ac_cv_prog_OTOOL"; then
7345  ac_ct_OTOOL=$OTOOL
7346  # Extract the first word of "otool", so it can be a program name with args.
7347set dummy otool; ac_word=$2
7348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7349$as_echo_n "checking for $ac_word... " >&6; }
7350if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7351  $as_echo_n "(cached) " >&6
7352else
7353  if test -n "$ac_ct_OTOOL"; then
7354  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7355else
7356as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7357for as_dir in $PATH
7358do
7359  IFS=$as_save_IFS
7360  test -z "$as_dir" && as_dir=.
7361    for ac_exec_ext in '' $ac_executable_extensions; do
7362  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7363    ac_cv_prog_ac_ct_OTOOL="otool"
7364    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7365    break 2
7366  fi
7367done
7368  done
7369IFS=$as_save_IFS
7370
7371fi
7372fi
7373ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7374if test -n "$ac_ct_OTOOL"; then
7375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7376$as_echo "$ac_ct_OTOOL" >&6; }
7377else
7378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379$as_echo "no" >&6; }
7380fi
7381
7382  if test "x$ac_ct_OTOOL" = x; then
7383    OTOOL=":"
7384  else
7385    case $cross_compiling:$ac_tool_warned in
7386yes:)
7387{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7388$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7389ac_tool_warned=yes ;;
7390esac
7391    OTOOL=$ac_ct_OTOOL
7392  fi
7393else
7394  OTOOL="$ac_cv_prog_OTOOL"
7395fi
7396
7397    if test -n "$ac_tool_prefix"; then
7398  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7399set dummy ${ac_tool_prefix}otool64; ac_word=$2
7400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7401$as_echo_n "checking for $ac_word... " >&6; }
7402if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7403  $as_echo_n "(cached) " >&6
7404else
7405  if test -n "$OTOOL64"; then
7406  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7407else
7408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7409for as_dir in $PATH
7410do
7411  IFS=$as_save_IFS
7412  test -z "$as_dir" && as_dir=.
7413    for ac_exec_ext in '' $ac_executable_extensions; do
7414  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7415    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7416    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7417    break 2
7418  fi
7419done
7420  done
7421IFS=$as_save_IFS
7422
7423fi
7424fi
7425OTOOL64=$ac_cv_prog_OTOOL64
7426if test -n "$OTOOL64"; then
7427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7428$as_echo "$OTOOL64" >&6; }
7429else
7430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431$as_echo "no" >&6; }
7432fi
7433
7434
7435fi
7436if test -z "$ac_cv_prog_OTOOL64"; then
7437  ac_ct_OTOOL64=$OTOOL64
7438  # Extract the first word of "otool64", so it can be a program name with args.
7439set dummy otool64; ac_word=$2
7440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7441$as_echo_n "checking for $ac_word... " >&6; }
7442if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7443  $as_echo_n "(cached) " >&6
7444else
7445  if test -n "$ac_ct_OTOOL64"; then
7446  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7447else
7448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7449for as_dir in $PATH
7450do
7451  IFS=$as_save_IFS
7452  test -z "$as_dir" && as_dir=.
7453    for ac_exec_ext in '' $ac_executable_extensions; do
7454  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7455    ac_cv_prog_ac_ct_OTOOL64="otool64"
7456    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7457    break 2
7458  fi
7459done
7460  done
7461IFS=$as_save_IFS
7462
7463fi
7464fi
7465ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7466if test -n "$ac_ct_OTOOL64"; then
7467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7468$as_echo "$ac_ct_OTOOL64" >&6; }
7469else
7470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7471$as_echo "no" >&6; }
7472fi
7473
7474  if test "x$ac_ct_OTOOL64" = x; then
7475    OTOOL64=":"
7476  else
7477    case $cross_compiling:$ac_tool_warned in
7478yes:)
7479{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7480$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7481ac_tool_warned=yes ;;
7482esac
7483    OTOOL64=$ac_ct_OTOOL64
7484  fi
7485else
7486  OTOOL64="$ac_cv_prog_OTOOL64"
7487fi
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7516$as_echo_n "checking for -single_module linker flag... " >&6; }
7517if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7518  $as_echo_n "(cached) " >&6
7519else
7520  lt_cv_apple_cc_single_mod=no
7521      if test -z "${LT_MULTI_MODULE}"; then
7522	# By default we will add the -single_module flag. You can override
7523	# by either setting the environment variable LT_MULTI_MODULE
7524	# non-empty at configure time, or by adding -multi_module to the
7525	# link flags.
7526	rm -rf libconftest.dylib*
7527	echo "int foo(void){return 1;}" > conftest.c
7528	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7529-dynamiclib -Wl,-single_module conftest.c" >&5
7530	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7531	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7532        _lt_result=$?
7533	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7534	  lt_cv_apple_cc_single_mod=yes
7535	else
7536	  cat conftest.err >&5
7537	fi
7538	rm -rf libconftest.dylib*
7539	rm -f conftest.*
7540      fi
7541fi
7542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7543$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7544    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7545$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7546if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7547  $as_echo_n "(cached) " >&6
7548else
7549  lt_cv_ld_exported_symbols_list=no
7550      save_LDFLAGS=$LDFLAGS
7551      echo "_main" > conftest.sym
7552      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7553      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7554/* end confdefs.h.  */
7555
7556int
7557main ()
7558{
7559
7560  ;
7561  return 0;
7562}
7563_ACEOF
7564if ac_fn_c_try_link "$LINENO"; then :
7565  lt_cv_ld_exported_symbols_list=yes
7566else
7567  lt_cv_ld_exported_symbols_list=no
7568fi
7569rm -f core conftest.err conftest.$ac_objext \
7570    conftest$ac_exeext conftest.$ac_ext
7571	LDFLAGS="$save_LDFLAGS"
7572
7573fi
7574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7575$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7576    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7577$as_echo_n "checking for -force_load linker flag... " >&6; }
7578if test "${lt_cv_ld_force_load+set}" = set; then :
7579  $as_echo_n "(cached) " >&6
7580else
7581  lt_cv_ld_force_load=no
7582      cat > conftest.c << _LT_EOF
7583int forced_loaded() { return 2;}
7584_LT_EOF
7585      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7586      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7587      echo "$AR cru libconftest.a conftest.o" >&5
7588      $AR cru libconftest.a conftest.o 2>&5
7589      echo "$RANLIB libconftest.a" >&5
7590      $RANLIB libconftest.a 2>&5
7591      cat > conftest.c << _LT_EOF
7592int main() { return 0;}
7593_LT_EOF
7594      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7595      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7596      _lt_result=$?
7597      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7598	lt_cv_ld_force_load=yes
7599      else
7600	cat conftest.err >&5
7601      fi
7602        rm -f conftest.err libconftest.a conftest conftest.c
7603        rm -rf conftest.dSYM
7604
7605fi
7606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7607$as_echo "$lt_cv_ld_force_load" >&6; }
7608    case $host_os in
7609    rhapsody* | darwin1.[012])
7610      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7611    darwin1.*)
7612      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7613    darwin*) # darwin 5.x on
7614      # if running on 10.5 or later, the deployment target defaults
7615      # to the OS version, if on x86, and 10.4, the deployment
7616      # target defaults to 10.4. Don't you love it?
7617      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7618	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7619	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7620	10.[012]*)
7621	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7622	10.*)
7623	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7624      esac
7625    ;;
7626  esac
7627    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7628      _lt_dar_single_mod='$single_module'
7629    fi
7630    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7631      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7632    else
7633      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7634    fi
7635    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7636      _lt_dsymutil='~$DSYMUTIL $lib || :'
7637    else
7638      _lt_dsymutil=
7639    fi
7640    ;;
7641  esac
7642
7643
7644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7645$as_echo_n "checking for ANSI C header files... " >&6; }
7646if test "${ac_cv_header_stdc+set}" = set; then :
7647  $as_echo_n "(cached) " >&6
7648else
7649  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7650/* end confdefs.h.  */
7651#include <stdlib.h>
7652#include <stdarg.h>
7653#include <string.h>
7654#include <float.h>
7655
7656int
7657main ()
7658{
7659
7660  ;
7661  return 0;
7662}
7663_ACEOF
7664if ac_fn_c_try_compile "$LINENO"; then :
7665  ac_cv_header_stdc=yes
7666else
7667  ac_cv_header_stdc=no
7668fi
7669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7670
7671if test $ac_cv_header_stdc = yes; then
7672  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7673  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7674/* end confdefs.h.  */
7675#include <string.h>
7676
7677_ACEOF
7678if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7679  $EGREP "memchr" >/dev/null 2>&1; then :
7680
7681else
7682  ac_cv_header_stdc=no
7683fi
7684rm -f conftest*
7685
7686fi
7687
7688if test $ac_cv_header_stdc = yes; then
7689  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7690  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7691/* end confdefs.h.  */
7692#include <stdlib.h>
7693
7694_ACEOF
7695if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7696  $EGREP "free" >/dev/null 2>&1; then :
7697
7698else
7699  ac_cv_header_stdc=no
7700fi
7701rm -f conftest*
7702
7703fi
7704
7705if test $ac_cv_header_stdc = yes; then
7706  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7707  if test "$cross_compiling" = yes; then :
7708  :
7709else
7710  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7711/* end confdefs.h.  */
7712#include <ctype.h>
7713#include <stdlib.h>
7714#if ((' ' & 0x0FF) == 0x020)
7715# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7716# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7717#else
7718# define ISLOWER(c) \
7719		   (('a' <= (c) && (c) <= 'i') \
7720		     || ('j' <= (c) && (c) <= 'r') \
7721		     || ('s' <= (c) && (c) <= 'z'))
7722# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7723#endif
7724
7725#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7726int
7727main ()
7728{
7729  int i;
7730  for (i = 0; i < 256; i++)
7731    if (XOR (islower (i), ISLOWER (i))
7732	|| toupper (i) != TOUPPER (i))
7733      return 2;
7734  return 0;
7735}
7736_ACEOF
7737if ac_fn_c_try_run "$LINENO"; then :
7738
7739else
7740  ac_cv_header_stdc=no
7741fi
7742rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7743  conftest.$ac_objext conftest.beam conftest.$ac_ext
7744fi
7745
7746fi
7747fi
7748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7749$as_echo "$ac_cv_header_stdc" >&6; }
7750if test $ac_cv_header_stdc = yes; then
7751
7752$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7753
7754fi
7755
7756# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7757for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7758		  inttypes.h stdint.h unistd.h
7759do :
7760  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7761ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7762"
7763eval as_val=\$$as_ac_Header
7764   if test "x$as_val" = x""yes; then :
7765  cat >>confdefs.h <<_ACEOF
7766#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7767_ACEOF
7768
7769fi
7770
7771done
7772
7773
7774for ac_header in dlfcn.h
7775do :
7776  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7777"
7778if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7779  cat >>confdefs.h <<_ACEOF
7780#define HAVE_DLFCN_H 1
7781_ACEOF
7782
7783fi
7784
7785done
7786
7787
7788
7789
7790
7791# Set options
7792
7793
7794
7795        enable_dlopen=no
7796
7797
7798  enable_win32_dll=no
7799
7800
7801            # Check whether --enable-shared was given.
7802if test "${enable_shared+set}" = set; then :
7803  enableval=$enable_shared; p=${PACKAGE-default}
7804    case $enableval in
7805    yes) enable_shared=yes ;;
7806    no) enable_shared=no ;;
7807    *)
7808      enable_shared=no
7809      # Look at the argument we got.  We use all the common list separators.
7810      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7811      for pkg in $enableval; do
7812	IFS="$lt_save_ifs"
7813	if test "X$pkg" = "X$p"; then
7814	  enable_shared=yes
7815	fi
7816      done
7817      IFS="$lt_save_ifs"
7818      ;;
7819    esac
7820else
7821  enable_shared=yes
7822fi
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832  # Check whether --enable-static was given.
7833if test "${enable_static+set}" = set; then :
7834  enableval=$enable_static; p=${PACKAGE-default}
7835    case $enableval in
7836    yes) enable_static=yes ;;
7837    no) enable_static=no ;;
7838    *)
7839     enable_static=no
7840      # Look at the argument we got.  We use all the common list separators.
7841      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7842      for pkg in $enableval; do
7843	IFS="$lt_save_ifs"
7844	if test "X$pkg" = "X$p"; then
7845	  enable_static=yes
7846	fi
7847      done
7848      IFS="$lt_save_ifs"
7849      ;;
7850    esac
7851else
7852  enable_static=yes
7853fi
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864# Check whether --with-pic was given.
7865if test "${with_pic+set}" = set; then :
7866  withval=$with_pic; pic_mode="$withval"
7867else
7868  pic_mode=default
7869fi
7870
7871
7872test -z "$pic_mode" && pic_mode=default
7873
7874
7875
7876
7877
7878
7879
7880  # Check whether --enable-fast-install was given.
7881if test "${enable_fast_install+set}" = set; then :
7882  enableval=$enable_fast_install; p=${PACKAGE-default}
7883    case $enableval in
7884    yes) enable_fast_install=yes ;;
7885    no) enable_fast_install=no ;;
7886    *)
7887      enable_fast_install=no
7888      # Look at the argument we got.  We use all the common list separators.
7889      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7890      for pkg in $enableval; do
7891	IFS="$lt_save_ifs"
7892	if test "X$pkg" = "X$p"; then
7893	  enable_fast_install=yes
7894	fi
7895      done
7896      IFS="$lt_save_ifs"
7897      ;;
7898    esac
7899else
7900  enable_fast_install=yes
7901fi
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913# This can be used to rebuild libtool when needed
7914LIBTOOL_DEPS="$ltmain"
7915
7916# Always use our own libtool.
7917LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944test -z "$LN_S" && LN_S="ln -s"
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959if test -n "${ZSH_VERSION+set}" ; then
7960   setopt NO_GLOB_SUBST
7961fi
7962
7963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7964$as_echo_n "checking for objdir... " >&6; }
7965if test "${lt_cv_objdir+set}" = set; then :
7966  $as_echo_n "(cached) " >&6
7967else
7968  rm -f .libs 2>/dev/null
7969mkdir .libs 2>/dev/null
7970if test -d .libs; then
7971  lt_cv_objdir=.libs
7972else
7973  # MS-DOS does not allow filenames that begin with a dot.
7974  lt_cv_objdir=_libs
7975fi
7976rmdir .libs 2>/dev/null
7977fi
7978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7979$as_echo "$lt_cv_objdir" >&6; }
7980objdir=$lt_cv_objdir
7981
7982
7983
7984
7985
7986cat >>confdefs.h <<_ACEOF
7987#define LT_OBJDIR "$lt_cv_objdir/"
7988_ACEOF
7989
7990
7991
7992
7993case $host_os in
7994aix3*)
7995  # AIX sometimes has problems with the GCC collect2 program.  For some
7996  # reason, if we set the COLLECT_NAMES environment variable, the problems
7997  # vanish in a puff of smoke.
7998  if test "X${COLLECT_NAMES+set}" != Xset; then
7999    COLLECT_NAMES=
8000    export COLLECT_NAMES
8001  fi
8002  ;;
8003esac
8004
8005# Global variables:
8006ofile=libtool
8007can_build_shared=yes
8008
8009# All known linkers require a `.a' archive for static linking (except MSVC,
8010# which needs '.lib').
8011libext=a
8012
8013with_gnu_ld="$lt_cv_prog_gnu_ld"
8014
8015old_CC="$CC"
8016old_CFLAGS="$CFLAGS"
8017
8018# Set sane defaults for various variables
8019test -z "$CC" && CC=cc
8020test -z "$LTCC" && LTCC=$CC
8021test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8022test -z "$LD" && LD=ld
8023test -z "$ac_objext" && ac_objext=o
8024
8025for cc_temp in $compiler""; do
8026  case $cc_temp in
8027    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8028    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8029    \-*) ;;
8030    *) break;;
8031  esac
8032done
8033cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8034
8035
8036# Only perform the check for file, if the check method requires it
8037test -z "$MAGIC_CMD" && MAGIC_CMD=file
8038case $deplibs_check_method in
8039file_magic*)
8040  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8041    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8042$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8043if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8044  $as_echo_n "(cached) " >&6
8045else
8046  case $MAGIC_CMD in
8047[\\/*] |  ?:[\\/]*)
8048  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8049  ;;
8050*)
8051  lt_save_MAGIC_CMD="$MAGIC_CMD"
8052  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8053  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8054  for ac_dir in $ac_dummy; do
8055    IFS="$lt_save_ifs"
8056    test -z "$ac_dir" && ac_dir=.
8057    if test -f $ac_dir/${ac_tool_prefix}file; then
8058      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8059      if test -n "$file_magic_test_file"; then
8060	case $deplibs_check_method in
8061	"file_magic "*)
8062	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8063	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8064	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8065	    $EGREP "$file_magic_regex" > /dev/null; then
8066	    :
8067	  else
8068	    cat <<_LT_EOF 1>&2
8069
8070*** Warning: the command libtool uses to detect shared libraries,
8071*** $file_magic_cmd, produces output that libtool cannot recognize.
8072*** The result is that libtool may fail to recognize shared libraries
8073*** as such.  This will affect the creation of libtool libraries that
8074*** depend on shared libraries, but programs linked with such libtool
8075*** libraries will work regardless of this problem.  Nevertheless, you
8076*** may want to report the problem to your system manager and/or to
8077*** bug-libtool@gnu.org
8078
8079_LT_EOF
8080	  fi ;;
8081	esac
8082      fi
8083      break
8084    fi
8085  done
8086  IFS="$lt_save_ifs"
8087  MAGIC_CMD="$lt_save_MAGIC_CMD"
8088  ;;
8089esac
8090fi
8091
8092MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8093if test -n "$MAGIC_CMD"; then
8094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8095$as_echo "$MAGIC_CMD" >&6; }
8096else
8097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8098$as_echo "no" >&6; }
8099fi
8100
8101
8102
8103
8104
8105if test -z "$lt_cv_path_MAGIC_CMD"; then
8106  if test -n "$ac_tool_prefix"; then
8107    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8108$as_echo_n "checking for file... " >&6; }
8109if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8110  $as_echo_n "(cached) " >&6
8111else
8112  case $MAGIC_CMD in
8113[\\/*] |  ?:[\\/]*)
8114  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8115  ;;
8116*)
8117  lt_save_MAGIC_CMD="$MAGIC_CMD"
8118  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8119  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8120  for ac_dir in $ac_dummy; do
8121    IFS="$lt_save_ifs"
8122    test -z "$ac_dir" && ac_dir=.
8123    if test -f $ac_dir/file; then
8124      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8125      if test -n "$file_magic_test_file"; then
8126	case $deplibs_check_method in
8127	"file_magic "*)
8128	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8129	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8130	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8131	    $EGREP "$file_magic_regex" > /dev/null; then
8132	    :
8133	  else
8134	    cat <<_LT_EOF 1>&2
8135
8136*** Warning: the command libtool uses to detect shared libraries,
8137*** $file_magic_cmd, produces output that libtool cannot recognize.
8138*** The result is that libtool may fail to recognize shared libraries
8139*** as such.  This will affect the creation of libtool libraries that
8140*** depend on shared libraries, but programs linked with such libtool
8141*** libraries will work regardless of this problem.  Nevertheless, you
8142*** may want to report the problem to your system manager and/or to
8143*** bug-libtool@gnu.org
8144
8145_LT_EOF
8146	  fi ;;
8147	esac
8148      fi
8149      break
8150    fi
8151  done
8152  IFS="$lt_save_ifs"
8153  MAGIC_CMD="$lt_save_MAGIC_CMD"
8154  ;;
8155esac
8156fi
8157
8158MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8159if test -n "$MAGIC_CMD"; then
8160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8161$as_echo "$MAGIC_CMD" >&6; }
8162else
8163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8164$as_echo "no" >&6; }
8165fi
8166
8167
8168  else
8169    MAGIC_CMD=:
8170  fi
8171fi
8172
8173  fi
8174  ;;
8175esac
8176
8177# Use C for the default configuration in the libtool script
8178
8179lt_save_CC="$CC"
8180ac_ext=c
8181ac_cpp='$CPP $CPPFLAGS'
8182ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8183ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8184ac_compiler_gnu=$ac_cv_c_compiler_gnu
8185
8186
8187# Source file extension for C test sources.
8188ac_ext=c
8189
8190# Object file extension for compiled C test sources.
8191objext=o
8192objext=$objext
8193
8194# Code to be used in simple compile tests
8195lt_simple_compile_test_code="int some_variable = 0;"
8196
8197# Code to be used in simple link tests
8198lt_simple_link_test_code='int main(){return(0);}'
8199
8200
8201
8202
8203
8204
8205
8206# If no C compiler was specified, use CC.
8207LTCC=${LTCC-"$CC"}
8208
8209# If no C compiler flags were specified, use CFLAGS.
8210LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8211
8212# Allow CC to be a program name with arguments.
8213compiler=$CC
8214
8215# Save the default compiler, since it gets overwritten when the other
8216# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8217compiler_DEFAULT=$CC
8218
8219# save warnings/boilerplate of simple test code
8220ac_outfile=conftest.$ac_objext
8221echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8222eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8223_lt_compiler_boilerplate=`cat conftest.err`
8224$RM conftest*
8225
8226ac_outfile=conftest.$ac_objext
8227echo "$lt_simple_link_test_code" >conftest.$ac_ext
8228eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8229_lt_linker_boilerplate=`cat conftest.err`
8230$RM -r conftest*
8231
8232
8233## CAVEAT EMPTOR:
8234## There is no encapsulation within the following macros, do not change
8235## the running order or otherwise move them around unless you know exactly
8236## what you are doing...
8237if test -n "$compiler"; then
8238
8239lt_prog_compiler_no_builtin_flag=
8240
8241if test "$GCC" = yes; then
8242  case $cc_basename in
8243  nvcc*)
8244    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8245  *)
8246    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8247  esac
8248
8249  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8250$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8251if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8252  $as_echo_n "(cached) " >&6
8253else
8254  lt_cv_prog_compiler_rtti_exceptions=no
8255   ac_outfile=conftest.$ac_objext
8256   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8257   lt_compiler_flag="-fno-rtti -fno-exceptions"
8258   # Insert the option either (1) after the last *FLAGS variable, or
8259   # (2) before a word containing "conftest.", or (3) at the end.
8260   # Note that $ac_compile itself does not contain backslashes and begins
8261   # with a dollar sign (not a hyphen), so the echo should work correctly.
8262   # The option is referenced via a variable to avoid confusing sed.
8263   lt_compile=`echo "$ac_compile" | $SED \
8264   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8265   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8266   -e 's:$: $lt_compiler_flag:'`
8267   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8268   (eval "$lt_compile" 2>conftest.err)
8269   ac_status=$?
8270   cat conftest.err >&5
8271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272   if (exit $ac_status) && test -s "$ac_outfile"; then
8273     # The compiler can only warn and ignore the option if not recognized
8274     # So say no if there are warnings other than the usual output.
8275     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8276     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8277     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8278       lt_cv_prog_compiler_rtti_exceptions=yes
8279     fi
8280   fi
8281   $RM conftest*
8282
8283fi
8284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8285$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8286
8287if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8288    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8289else
8290    :
8291fi
8292
8293fi
8294
8295
8296
8297
8298
8299
8300  lt_prog_compiler_wl=
8301lt_prog_compiler_pic=
8302lt_prog_compiler_static=
8303
8304
8305  if test "$GCC" = yes; then
8306    lt_prog_compiler_wl='-Wl,'
8307    lt_prog_compiler_static='-static'
8308
8309    case $host_os in
8310      aix*)
8311      # All AIX code is PIC.
8312      if test "$host_cpu" = ia64; then
8313	# AIX 5 now supports IA64 processor
8314	lt_prog_compiler_static='-Bstatic'
8315      fi
8316      ;;
8317
8318    amigaos*)
8319      case $host_cpu in
8320      powerpc)
8321            # see comment about AmigaOS4 .so support
8322            lt_prog_compiler_pic='-fPIC'
8323        ;;
8324      m68k)
8325            # FIXME: we need at least 68020 code to build shared libraries, but
8326            # adding the `-m68020' flag to GCC prevents building anything better,
8327            # like `-m68040'.
8328            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8329        ;;
8330      esac
8331      ;;
8332
8333    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8334      # PIC is the default for these OSes.
8335      ;;
8336
8337    mingw* | cygwin* | pw32* | os2* | cegcc*)
8338      # This hack is so that the source file can tell whether it is being
8339      # built for inclusion in a dll (and should export symbols for example).
8340      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8341      # (--disable-auto-import) libraries
8342      lt_prog_compiler_pic='-DDLL_EXPORT'
8343      ;;
8344
8345    darwin* | rhapsody*)
8346      # PIC is the default on this platform
8347      # Common symbols not allowed in MH_DYLIB files
8348      lt_prog_compiler_pic='-fno-common'
8349      ;;
8350
8351    haiku*)
8352      # PIC is the default for Haiku.
8353      # The "-static" flag exists, but is broken.
8354      lt_prog_compiler_static=
8355      ;;
8356
8357    hpux*)
8358      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8359      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8360      # sets the default TLS model and affects inlining.
8361      case $host_cpu in
8362      hppa*64*)
8363	# +Z the default
8364	;;
8365      *)
8366	lt_prog_compiler_pic='-fPIC'
8367	;;
8368      esac
8369      ;;
8370
8371    interix[3-9]*)
8372      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8373      # Instead, we relocate shared libraries at runtime.
8374      ;;
8375
8376    msdosdjgpp*)
8377      # Just because we use GCC doesn't mean we suddenly get shared libraries
8378      # on systems that don't support them.
8379      lt_prog_compiler_can_build_shared=no
8380      enable_shared=no
8381      ;;
8382
8383    *nto* | *qnx*)
8384      # QNX uses GNU C++, but need to define -shared option too, otherwise
8385      # it will coredump.
8386      lt_prog_compiler_pic='-fPIC -shared'
8387      ;;
8388
8389    sysv4*MP*)
8390      if test -d /usr/nec; then
8391	lt_prog_compiler_pic=-Kconform_pic
8392      fi
8393      ;;
8394
8395    *)
8396      lt_prog_compiler_pic='-fPIC'
8397      ;;
8398    esac
8399
8400    case $cc_basename in
8401    nvcc*) # Cuda Compiler Driver 2.2
8402      lt_prog_compiler_wl='-Xlinker '
8403      lt_prog_compiler_pic='-Xcompiler -fPIC'
8404      ;;
8405    esac
8406  else
8407    # PORTME Check for flag to pass linker flags through the system compiler.
8408    case $host_os in
8409    aix*)
8410      lt_prog_compiler_wl='-Wl,'
8411      if test "$host_cpu" = ia64; then
8412	# AIX 5 now supports IA64 processor
8413	lt_prog_compiler_static='-Bstatic'
8414      else
8415	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8416      fi
8417      ;;
8418
8419    mingw* | cygwin* | pw32* | os2* | cegcc*)
8420      # This hack is so that the source file can tell whether it is being
8421      # built for inclusion in a dll (and should export symbols for example).
8422      lt_prog_compiler_pic='-DDLL_EXPORT'
8423      ;;
8424
8425    hpux9* | hpux10* | hpux11*)
8426      lt_prog_compiler_wl='-Wl,'
8427      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8428      # not for PA HP-UX.
8429      case $host_cpu in
8430      hppa*64*|ia64*)
8431	# +Z the default
8432	;;
8433      *)
8434	lt_prog_compiler_pic='+Z'
8435	;;
8436      esac
8437      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8438      lt_prog_compiler_static='${wl}-a ${wl}archive'
8439      ;;
8440
8441    irix5* | irix6* | nonstopux*)
8442      lt_prog_compiler_wl='-Wl,'
8443      # PIC (with -KPIC) is the default.
8444      lt_prog_compiler_static='-non_shared'
8445      ;;
8446
8447    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8448      case $cc_basename in
8449      # old Intel for x86_64 which still supported -KPIC.
8450      ecc*)
8451	lt_prog_compiler_wl='-Wl,'
8452	lt_prog_compiler_pic='-KPIC'
8453	lt_prog_compiler_static='-static'
8454        ;;
8455      # icc used to be incompatible with GCC.
8456      # ICC 10 doesn't accept -KPIC any more.
8457      icc* | ifort*)
8458	lt_prog_compiler_wl='-Wl,'
8459	lt_prog_compiler_pic='-fPIC'
8460	lt_prog_compiler_static='-static'
8461        ;;
8462      # Lahey Fortran 8.1.
8463      lf95*)
8464	lt_prog_compiler_wl='-Wl,'
8465	lt_prog_compiler_pic='--shared'
8466	lt_prog_compiler_static='--static'
8467	;;
8468      nagfor*)
8469	# NAG Fortran compiler
8470	lt_prog_compiler_wl='-Wl,-Wl,,'
8471	lt_prog_compiler_pic='-PIC'
8472	lt_prog_compiler_static='-Bstatic'
8473	;;
8474      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8475        # Portland Group compilers (*not* the Pentium gcc compiler,
8476	# which looks to be a dead project)
8477	lt_prog_compiler_wl='-Wl,'
8478	lt_prog_compiler_pic='-fpic'
8479	lt_prog_compiler_static='-Bstatic'
8480        ;;
8481      ccc*)
8482        lt_prog_compiler_wl='-Wl,'
8483        # All Alpha code is PIC.
8484        lt_prog_compiler_static='-non_shared'
8485        ;;
8486      xl* | bgxl* | bgf* | mpixl*)
8487	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8488	lt_prog_compiler_wl='-Wl,'
8489	lt_prog_compiler_pic='-qpic'
8490	lt_prog_compiler_static='-qstaticlink'
8491	;;
8492      *)
8493	case `$CC -V 2>&1 | sed 5q` in
8494	*Sun\ F* | *Sun*Fortran*)
8495	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8496	  lt_prog_compiler_pic='-KPIC'
8497	  lt_prog_compiler_static='-Bstatic'
8498	  lt_prog_compiler_wl=''
8499	  ;;
8500	*Sun\ C*)
8501	  # Sun C 5.9
8502	  lt_prog_compiler_pic='-KPIC'
8503	  lt_prog_compiler_static='-Bstatic'
8504	  lt_prog_compiler_wl='-Wl,'
8505	  ;;
8506	esac
8507	;;
8508      esac
8509      ;;
8510
8511    newsos6)
8512      lt_prog_compiler_pic='-KPIC'
8513      lt_prog_compiler_static='-Bstatic'
8514      ;;
8515
8516    *nto* | *qnx*)
8517      # QNX uses GNU C++, but need to define -shared option too, otherwise
8518      # it will coredump.
8519      lt_prog_compiler_pic='-fPIC -shared'
8520      ;;
8521
8522    osf3* | osf4* | osf5*)
8523      lt_prog_compiler_wl='-Wl,'
8524      # All OSF/1 code is PIC.
8525      lt_prog_compiler_static='-non_shared'
8526      ;;
8527
8528    rdos*)
8529      lt_prog_compiler_static='-non_shared'
8530      ;;
8531
8532    solaris*)
8533      lt_prog_compiler_pic='-KPIC'
8534      lt_prog_compiler_static='-Bstatic'
8535      case $cc_basename in
8536      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8537	lt_prog_compiler_wl='-Qoption ld ';;
8538      *)
8539	lt_prog_compiler_wl='-Wl,';;
8540      esac
8541      ;;
8542
8543    sunos4*)
8544      lt_prog_compiler_wl='-Qoption ld '
8545      lt_prog_compiler_pic='-PIC'
8546      lt_prog_compiler_static='-Bstatic'
8547      ;;
8548
8549    sysv4 | sysv4.2uw2* | sysv4.3*)
8550      lt_prog_compiler_wl='-Wl,'
8551      lt_prog_compiler_pic='-KPIC'
8552      lt_prog_compiler_static='-Bstatic'
8553      ;;
8554
8555    sysv4*MP*)
8556      if test -d /usr/nec ;then
8557	lt_prog_compiler_pic='-Kc