1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for guile-readline 1.8.8.
4#
5# Report bugs to <bug-guile@gnu.org>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94as_myself=
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	# Preserve -v and -x to the replacement shell.
229	BASH_ENV=/dev/null
230	ENV=/dev/null
231	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232	export CONFIG_SHELL
233	case $- in # ((((
234	  *v*x* | *x*v* ) as_opts=-vx ;;
235	  *v* ) as_opts=-v ;;
236	  *x* ) as_opts=-x ;;
237	  * ) as_opts= ;;
238	esac
239	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240fi
241
242    if test x$as_have_required = xno; then :
243  $as_echo "$0: This script requires a shell more modern than all"
244  $as_echo "$0: the shells that I found on your system."
245  if test x${ZSH_VERSION+set} = xset ; then
246    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248  else
249    $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-guile@gnu.org
250$0: about your system, including any error possibly output
251$0: before this message. Then install a modern shell, or
252$0: manually run the script under such a shell if you do
253$0: have one."
254  fi
255  exit 1
256fi
257fi
258fi
259SHELL=${CONFIG_SHELL-/bin/sh}
260export SHELL
261# Unset more variables known to interfere with behavior of common tools.
262CLICOLOR_FORCE= GREP_OPTIONS=
263unset CLICOLOR_FORCE GREP_OPTIONS
264
265## --------------------- ##
266## M4sh Shell Functions. ##
267## --------------------- ##
268# as_fn_unset VAR
269# ---------------
270# Portably unset VAR.
271as_fn_unset ()
272{
273  { eval $1=; unset $1;}
274}
275as_unset=as_fn_unset
276
277# as_fn_set_status STATUS
278# -----------------------
279# Set $? to STATUS, without forking.
280as_fn_set_status ()
281{
282  return $1
283} # as_fn_set_status
284
285# as_fn_exit STATUS
286# -----------------
287# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288as_fn_exit ()
289{
290  set +e
291  as_fn_set_status $1
292  exit $1
293} # as_fn_exit
294
295# as_fn_mkdir_p
296# -------------
297# Create "$as_dir" as a directory, including parents if necessary.
298as_fn_mkdir_p ()
299{
300
301  case $as_dir in #(
302  -*) as_dir=./$as_dir;;
303  esac
304  test -d "$as_dir" || eval $as_mkdir_p || {
305    as_dirs=
306    while :; do
307      case $as_dir in #(
308      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309      *) as_qdir=$as_dir;;
310      esac
311      as_dirs="'$as_qdir' $as_dirs"
312      as_dir=`$as_dirname -- "$as_dir" ||
313$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314	 X"$as_dir" : 'X\(//\)[^/]' \| \
315	 X"$as_dir" : 'X\(//\)$' \| \
316	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317$as_echo X"$as_dir" |
318    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319	    s//\1/
320	    q
321	  }
322	  /^X\(\/\/\)[^/].*/{
323	    s//\1/
324	    q
325	  }
326	  /^X\(\/\/\)$/{
327	    s//\1/
328	    q
329	  }
330	  /^X\(\/\).*/{
331	    s//\1/
332	    q
333	  }
334	  s/.*/./; q'`
335      test -d "$as_dir" && break
336    done
337    test -z "$as_dirs" || eval "mkdir $as_dirs"
338  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341} # as_fn_mkdir_p
342# as_fn_append VAR VALUE
343# ----------------------
344# Append the text in VALUE to the end of the definition contained in VAR. Take
345# advantage of any shell optimizations that allow amortized linear growth over
346# repeated appends, instead of the typical quadratic growth present in naive
347# implementations.
348if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349  eval 'as_fn_append ()
350  {
351    eval $1+=\$2
352  }'
353else
354  as_fn_append ()
355  {
356    eval $1=\$$1\$2
357  }
358fi # as_fn_append
359
360# as_fn_arith ARG...
361# ------------------
362# Perform arithmetic evaluation on the ARGs, and store the result in the
363# global $as_val. Take advantage of shells that can avoid forks. The arguments
364# must be portable across $(()) and expr.
365if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366  eval 'as_fn_arith ()
367  {
368    as_val=$(( $* ))
369  }'
370else
371  as_fn_arith ()
372  {
373    as_val=`expr "$@" || test $? -eq 1`
374  }
375fi # as_fn_arith
376
377
378# as_fn_error STATUS ERROR [LINENO LOG_FD]
379# ----------------------------------------
380# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382# script with STATUS, using 1 if that was 0.
383as_fn_error ()
384{
385  as_status=$1; test $as_status -eq 0 && as_status=1
386  if test "$4"; then
387    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389  fi
390  $as_echo "$as_me: error: $2" >&2
391  as_fn_exit $as_status
392} # as_fn_error
393
394if expr a : '\(a\)' >/dev/null 2>&1 &&
395   test "X`expr 00001 : '.*\(...\)'`" = X001; then
396  as_expr=expr
397else
398  as_expr=false
399fi
400
401if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402  as_basename=basename
403else
404  as_basename=false
405fi
406
407if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408  as_dirname=dirname
409else
410  as_dirname=false
411fi
412
413as_me=`$as_basename -- "$0" ||
414$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415	 X"$0" : 'X\(//\)$' \| \
416	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417$as_echo X/"$0" |
418    sed '/^.*\/\([^/][^/]*\)\/*$/{
419	    s//\1/
420	    q
421	  }
422	  /^X\/\(\/\/\)$/{
423	    s//\1/
424	    q
425	  }
426	  /^X\/\(\/\).*/{
427	    s//\1/
428	    q
429	  }
430	  s/.*/./; q'`
431
432# Avoid depending upon Character Ranges.
433as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436as_cr_digits='0123456789'
437as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440  as_lineno_1=$LINENO as_lineno_1a=$LINENO
441  as_lineno_2=$LINENO as_lineno_2a=$LINENO
442  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445  sed -n '
446    p
447    /[$]LINENO/=
448  ' <$as_myself |
449    sed '
450      s/[$]LINENO.*/&-/
451      t lineno
452      b
453      :lineno
454      N
455      :loop
456      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457      t loop
458      s/-\n.*//
459    ' >$as_me.lineno &&
460  chmod +x "$as_me.lineno" ||
461    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463  # Don't try to exec as it changes $[0], causing all sort of problems
464  # (the dirname of $[0] is not the place where we might find the
465  # original and so on.  Autoconf is especially sensitive to this).
466  . "./$as_me.lineno"
467  # Exit status is that of the last command.
468  exit
469}
470
471ECHO_C= ECHO_N= ECHO_T=
472case `echo -n x` in #(((((
473-n*)
474  case `echo 'xy\c'` in
475  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
476  xy)  ECHO_C='\c';;
477  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478       ECHO_T='	';;
479  esac;;
480*)
481  ECHO_N='-n';;
482esac
483
484rm -f conf$$ conf$$.exe conf$$.file
485if test -d conf$$.dir; then
486  rm -f conf$$.dir/conf$$.file
487else
488  rm -f conf$$.dir
489  mkdir conf$$.dir 2>/dev/null
490fi
491if (echo >conf$$.file) 2>/dev/null; then
492  if ln -s conf$$.file conf$$ 2>/dev/null; then
493    as_ln_s='ln -s'
494    # ... but there are two gotchas:
495    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497    # In both cases, we have to default to `cp -p'.
498    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499      as_ln_s='cp -p'
500  elif ln conf$$.file conf$$ 2>/dev/null; then
501    as_ln_s=ln
502  else
503    as_ln_s='cp -p'
504  fi
505else
506  as_ln_s='cp -p'
507fi
508rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509rmdir conf$$.dir 2>/dev/null
510
511if mkdir -p . 2>/dev/null; then
512  as_mkdir_p='mkdir -p "$as_dir"'
513else
514  test -d ./-p && rmdir ./-p
515  as_mkdir_p=false
516fi
517
518if test -x / >/dev/null 2>&1; then
519  as_test_x='test -x'
520else
521  if ls -dL / >/dev/null 2>&1; then
522    as_ls_L_option=L
523  else
524    as_ls_L_option=
525  fi
526  as_test_x='
527    eval sh -c '\''
528      if test -d "$1"; then
529	test -d "$1/.";
530      else
531	case $1 in #(
532	-*)set "./$1";;
533	esac;
534	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535	???[sx]*):;;*)false;;esac;fi
536    '\'' sh
537  '
538fi
539as_executable_p=$as_test_x
540
541# Sed expression to map a string onto a valid CPP name.
542as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544# Sed expression to map a string onto a valid variable name.
545as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550test -n "$DJDIR" || exec 7<&0 </dev/null
551exec 6>&1
552
553# Name of the host.
554# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555# so uname gets run too.
556ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558#
559# Initializations.
560#
561ac_default_prefix=/usr/local
562ac_clean_files=
563ac_config_libobj_dir=.
564LIBOBJS=
565cross_compiling=no
566subdirs=
567MFLAGS=
568MAKEFLAGS=
569
570# Identity of this package.
571PACKAGE_NAME='guile-readline'
572PACKAGE_TARNAME='guile-readline'
573PACKAGE_VERSION='1.8.8'
574PACKAGE_STRING='guile-readline 1.8.8'
575PACKAGE_BUGREPORT='bug-guile@gnu.org'
576PACKAGE_URL=''
577
578ac_unique_file="readline.c"
579# Factoring default headers for most tests.
580ac_includes_default="\
581#include <stdio.h>
582#ifdef HAVE_SYS_TYPES_H
583# include <sys/types.h>
584#endif
585#ifdef HAVE_SYS_STAT_H
586# include <sys/stat.h>
587#endif
588#ifdef STDC_HEADERS
589# include <stdlib.h>
590# include <stddef.h>
591#else
592# ifdef HAVE_STDLIB_H
593#  include <stdlib.h>
594# endif
595#endif
596#ifdef HAVE_STRING_H
597# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598#  include <memory.h>
599# endif
600# include <string.h>
601#endif
602#ifdef HAVE_STRINGS_H
603# include <strings.h>
604#endif
605#ifdef HAVE_INTTYPES_H
606# include <inttypes.h>
607#endif
608#ifdef HAVE_STDINT_H
609# include <stdint.h>
610#endif
611#ifdef HAVE_UNISTD_H
612# include <unistd.h>
613#endif"
614
615ac_subst_vars='am__EXEEXT_FALSE
616am__EXEEXT_TRUE
617LTLIBOBJS
618LIBOBJS
619GUILE_EFFECTIVE_VERSION
620LIBGUILEREADLINE_INTERFACE
621LIBGUILEREADLINE_INTERFACE_AGE
622LIBGUILEREADLINE_INTERFACE_REVISION
623LIBGUILEREADLINE_INTERFACE_CURRENT
624LIBGUILEREADLINE_MAJOR
625EXTRA_DEFS
626CPP
627OTOOL64
628OTOOL
629LIPO
630NMEDIT
631DSYMUTIL
632MANIFEST_TOOL
633RANLIB
634ac_ct_AR
635AR
636LN_S
637NM
638ac_ct_DUMPBIN
639DUMPBIN
640LD
641FGREP
642EGREP
643GREP
644SED
645LIBTOOL
646OBJDUMP
647DLLTOOL
648AS
649host_os
650host_vendor
651host_cpu
652host
653build_os
654build_vendor
655build_cpu
656build
657am__fastdepCC_FALSE
658am__fastdepCC_TRUE
659CCDEPMODE
660AMDEPBACKSLASH
661AMDEP_FALSE
662AMDEP_TRUE
663am__quote
664am__include
665DEPDIR
666OBJEXT
667EXEEXT
668ac_ct_CC
669CPPFLAGS
670LDFLAGS
671CFLAGS
672CC
673am__untar
674am__tar
675AMTAR
676am__leading_dot
677SET_MAKE
678AWK
679mkdir_p
680MKDIR_P
681INSTALL_STRIP_PROGRAM
682STRIP
683install_sh
684MAKEINFO
685AUTOHEADER
686AUTOMAKE
687AUTOCONF
688ACLOCAL
689VERSION
690PACKAGE
691CYGPATH_W
692am__isrc
693INSTALL_DATA
694INSTALL_SCRIPT
695INSTALL_PROGRAM
696target_alias
697host_alias
698build_alias
699LIBS
700ECHO_T
701ECHO_N
702ECHO_C
703DEFS
704mandir
705localedir
706libdir
707psdir
708pdfdir
709dvidir
710htmldir
711infodir
712docdir
713oldincludedir
714includedir
715localstatedir
716sharedstatedir
717sysconfdir
718datadir
719datarootdir
720libexecdir
721sbindir
722bindir
723program_transform_name
724prefix
725exec_prefix
726PACKAGE_URL
727PACKAGE_BUGREPORT
728PACKAGE_STRING
729PACKAGE_VERSION
730PACKAGE_TARNAME
731PACKAGE_NAME
732PATH_SEPARATOR
733SHELL'
734ac_subst_files=''
735ac_user_opts='
736enable_option_checking
737enable_dependency_tracking
738enable_shared
739enable_static
740with_pic
741enable_fast_install
742with_gnu_ld
743with_sysroot
744enable_libtool_lock
745'
746      ac_precious_vars='build_alias
747host_alias
748target_alias
749CC
750CFLAGS
751LDFLAGS
752LIBS
753CPPFLAGS
754CPP'
755
756
757# Initialize some variables set by options.
758ac_init_help=
759ac_init_version=false
760ac_unrecognized_opts=
761ac_unrecognized_sep=
762# The variables have the same names as the options, with
763# dashes changed to underlines.
764cache_file=/dev/null
765exec_prefix=NONE
766no_create=
767no_recursion=
768prefix=NONE
769program_prefix=NONE
770program_suffix=NONE
771program_transform_name=s,x,x,
772silent=
773site=
774srcdir=
775verbose=
776x_includes=NONE
777x_libraries=NONE
778
779# Installation directory options.
780# These are left unexpanded so users can "make install exec_prefix=/foo"
781# and all the variables that are supposed to be based on exec_prefix
782# by default will actually change.
783# Use braces instead of parens because sh, perl, etc. also accept them.
784# (The list follows the same order as the GNU Coding Standards.)
785bindir='${exec_prefix}/bin'
786sbindir='${exec_prefix}/sbin'
787libexecdir='${exec_prefix}/libexec'
788datarootdir='${prefix}/share'
789datadir='${datarootdir}'
790sysconfdir='${prefix}/etc'
791sharedstatedir='${prefix}/com'
792localstatedir='${prefix}/var'
793includedir='${prefix}/include'
794oldincludedir='/usr/include'
795docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
796infodir='${datarootdir}/info'
797htmldir='${docdir}'
798dvidir='${docdir}'
799pdfdir='${docdir}'
800psdir='${docdir}'
801libdir='${exec_prefix}/lib'
802localedir='${datarootdir}/locale'
803mandir='${datarootdir}/man'
804
805ac_prev=
806ac_dashdash=
807for ac_option
808do
809  # If the previous option needs an argument, assign it.
810  if test -n "$ac_prev"; then
811    eval $ac_prev=\$ac_option
812    ac_prev=
813    continue
814  fi
815
816  case $ac_option in
817  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
818  *=)   ac_optarg= ;;
819  *)    ac_optarg=yes ;;
820  esac
821
822  # Accept the important Cygnus configure options, so we can diagnose typos.
823
824  case $ac_dashdash$ac_option in
825  --)
826    ac_dashdash=yes ;;
827
828  -bindir | --bindir | --bindi | --bind | --bin | --bi)
829    ac_prev=bindir ;;
830  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
831    bindir=$ac_optarg ;;
832
833  -build | --build | --buil | --bui | --bu)
834    ac_prev=build_alias ;;
835  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
836    build_alias=$ac_optarg ;;
837
838  -cache-file | --cache-file | --cache-fil | --cache-fi \
839  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
840    ac_prev=cache_file ;;
841  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
842  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
843    cache_file=$ac_optarg ;;
844
845  --config-cache | -C)
846    cache_file=config.cache ;;
847
848  -datadir | --datadir | --datadi | --datad)
849    ac_prev=datadir ;;
850  -datadir=* | --datadir=* | --datadi=* | --datad=*)
851    datadir=$ac_optarg ;;
852
853  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
854  | --dataroo | --dataro | --datar)
855    ac_prev=datarootdir ;;
856  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
857  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
858    datarootdir=$ac_optarg ;;
859
860  -disable-* | --disable-*)
861    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
862    # Reject names that are not valid shell variable names.
863    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
864      as_fn_error $? "invalid feature name: $ac_useropt"
865    ac_useropt_orig=$ac_useropt
866    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
867    case $ac_user_opts in
868      *"
869"enable_$ac_useropt"
870"*) ;;
871      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
872	 ac_unrecognized_sep=', ';;
873    esac
874    eval enable_$ac_useropt=no ;;
875
876  -docdir | --docdir | --docdi | --doc | --do)
877    ac_prev=docdir ;;
878  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
879    docdir=$ac_optarg ;;
880
881  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
882    ac_prev=dvidir ;;
883  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
884    dvidir=$ac_optarg ;;
885
886  -enable-* | --enable-*)
887    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
888    # Reject names that are not valid shell variable names.
889    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
890      as_fn_error $? "invalid feature name: $ac_useropt"
891    ac_useropt_orig=$ac_useropt
892    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
893    case $ac_user_opts in
894      *"
895"enable_$ac_useropt"
896"*) ;;
897      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
898	 ac_unrecognized_sep=', ';;
899    esac
900    eval enable_$ac_useropt=\$ac_optarg ;;
901
902  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
903  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
904  | --exec | --exe | --ex)
905    ac_prev=exec_prefix ;;
906  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
907  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
908  | --exec=* | --exe=* | --ex=*)
909    exec_prefix=$ac_optarg ;;
910
911  -gas | --gas | --ga | --g)
912    # Obsolete; use --with-gas.
913    with_gas=yes ;;
914
915  -help | --help | --hel | --he | -h)
916    ac_init_help=long ;;
917  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
918    ac_init_help=recursive ;;
919  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
920    ac_init_help=short ;;
921
922  -host | --host | --hos | --ho)
923    ac_prev=host_alias ;;
924  -host=* | --host=* | --hos=* | --ho=*)
925    host_alias=$ac_optarg ;;
926
927  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
928    ac_prev=htmldir ;;
929  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
930  | --ht=*)
931    htmldir=$ac_optarg ;;
932
933  -includedir | --includedir | --includedi | --included | --include \
934  | --includ | --inclu | --incl | --inc)
935    ac_prev=includedir ;;
936  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
937  | --includ=* | --inclu=* | --incl=* | --inc=*)
938    includedir=$ac_optarg ;;
939
940  -infodir | --infodir | --infodi | --infod | --info | --inf)
941    ac_prev=infodir ;;
942  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
943    infodir=$ac_optarg ;;
944
945  -libdir | --libdir | --libdi | --libd)
946    ac_prev=libdir ;;
947  -libdir=* | --libdir=* | --libdi=* | --libd=*)
948    libdir=$ac_optarg ;;
949
950  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
951  | --libexe | --libex | --libe)
952    ac_prev=libexecdir ;;
953  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
954  | --libexe=* | --libex=* | --libe=*)
955    libexecdir=$ac_optarg ;;
956
957  -localedir | --localedir | --localedi | --localed | --locale)
958    ac_prev=localedir ;;
959  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
960    localedir=$ac_optarg ;;
961
962  -localstatedir | --localstatedir | --localstatedi | --localstated \
963  | --localstate | --localstat | --localsta | --localst | --locals)
964    ac_prev=localstatedir ;;
965  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
966  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
967    localstatedir=$ac_optarg ;;
968
969  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
970    ac_prev=mandir ;;
971  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
972    mandir=$ac_optarg ;;
973
974  -nfp | --nfp | --nf)
975    # Obsolete; use --without-fp.
976    with_fp=no ;;
977
978  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
979  | --no-cr | --no-c | -n)
980    no_create=yes ;;
981
982  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
983  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
984    no_recursion=yes ;;
985
986  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
987  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
988  | --oldin | --oldi | --old | --ol | --o)
989    ac_prev=oldincludedir ;;
990  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
991  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
992  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
993    oldincludedir=$ac_optarg ;;
994
995  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
996    ac_prev=prefix ;;
997  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
998    prefix=$ac_optarg ;;
999
1000  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1001  | --program-pre | --program-pr | --program-p)
1002    ac_prev=program_prefix ;;
1003  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1004  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1005    program_prefix=$ac_optarg ;;
1006
1007  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1008  | --program-suf | --program-su | --program-s)
1009    ac_prev=program_suffix ;;
1010  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1011  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1012    program_suffix=$ac_optarg ;;
1013
1014  -program-transform-name | --program-transform-name \
1015  | --program-transform-nam | --program-transform-na \
1016  | --program-transform-n | --program-transform- \
1017  | --program-transform | --program-transfor \
1018  | --program-transfo | --program-transf \
1019  | --program-trans | --program-tran \
1020  | --progr-tra | --program-tr | --program-t)
1021    ac_prev=program_transform_name ;;
1022  -program-transform-name=* | --program-transform-name=* \
1023  | --program-transform-nam=* | --program-transform-na=* \
1024  | --program-transform-n=* | --program-transform-=* \
1025  | --program-transform=* | --program-transfor=* \
1026  | --program-transfo=* | --program-transf=* \
1027  | --program-trans=* | --program-tran=* \
1028  | --progr-tra=* | --program-tr=* | --program-t=*)
1029    program_transform_name=$ac_optarg ;;
1030
1031  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1032    ac_prev=pdfdir ;;
1033  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1034    pdfdir=$ac_optarg ;;
1035
1036  -psdir | --psdir | --psdi | --psd | --ps)
1037    ac_prev=psdir ;;
1038  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1039    psdir=$ac_optarg ;;
1040
1041  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1042  | -silent | --silent | --silen | --sile | --sil)
1043    silent=yes ;;
1044
1045  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1046    ac_prev=sbindir ;;
1047  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1048  | --sbi=* | --sb=*)
1049    sbindir=$ac_optarg ;;
1050
1051  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1052  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1053  | --sharedst | --shareds | --shared | --share | --shar \
1054  | --sha | --sh)
1055    ac_prev=sharedstatedir ;;
1056  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1057  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1058  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1059  | --sha=* | --sh=*)
1060    sharedstatedir=$ac_optarg ;;
1061
1062  -site | --site | --sit)
1063    ac_prev=site ;;
1064  -site=* | --site=* | --sit=*)
1065    site=$ac_optarg ;;
1066
1067  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1068    ac_prev=srcdir ;;
1069  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1070    srcdir=$ac_optarg ;;
1071
1072  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1073  | --syscon | --sysco | --sysc | --sys | --sy)
1074    ac_prev=sysconfdir ;;
1075  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1076  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1077    sysconfdir=$ac_optarg ;;
1078
1079  -target | --target | --targe | --targ | --tar | --ta | --t)
1080    ac_prev=target_alias ;;
1081  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1082    target_alias=$ac_optarg ;;
1083
1084  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1085    verbose=yes ;;
1086
1087  -version | --version | --versio | --versi | --vers | -V)
1088    ac_init_version=: ;;
1089
1090  -with-* | --with-*)
1091    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1092    # Reject names that are not valid shell variable names.
1093    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094      as_fn_error $? "invalid package name: $ac_useropt"
1095    ac_useropt_orig=$ac_useropt
1096    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097    case $ac_user_opts in
1098      *"
1099"with_$ac_useropt"
1100"*) ;;
1101      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1102	 ac_unrecognized_sep=', ';;
1103    esac
1104    eval with_$ac_useropt=\$ac_optarg ;;
1105
1106  -without-* | --without-*)
1107    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1108    # Reject names that are not valid shell variable names.
1109    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1110      as_fn_error $? "invalid package name: $ac_useropt"
1111    ac_useropt_orig=$ac_useropt
1112    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113    case $ac_user_opts in
1114      *"
1115"with_$ac_useropt"
1116"*) ;;
1117      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1118	 ac_unrecognized_sep=', ';;
1119    esac
1120    eval with_$ac_useropt=no ;;
1121
1122  --x)
1123    # Obsolete; use --with-x.
1124    with_x=yes ;;
1125
1126  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1127  | --x-incl | --x-inc | --x-in | --x-i)
1128    ac_prev=x_includes ;;
1129  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1130  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1131    x_includes=$ac_optarg ;;
1132
1133  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1134  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1135    ac_prev=x_libraries ;;
1136  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1137  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1138    x_libraries=$ac_optarg ;;
1139
1140  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1141Try \`$0 --help' for more information"
1142    ;;
1143
1144  *=*)
1145    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1146    # Reject names that are not valid shell variable names.
1147    case $ac_envvar in #(
1148      '' | [0-9]* | *[!_$as_cr_alnum]* )
1149      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1150    esac
1151    eval $ac_envvar=\$ac_optarg
1152    export $ac_envvar ;;
1153
1154  *)
1155    # FIXME: should be removed in autoconf 3.0.
1156    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1157    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1158      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1159    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1160    ;;
1161
1162  esac
1163done
1164
1165if test -n "$ac_prev"; then
1166  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1167  as_fn_error $? "missing argument to $ac_option"
1168fi
1169
1170if test -n "$ac_unrecognized_opts"; then
1171  case $enable_option_checking in
1172    no) ;;
1173    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1174    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1175  esac
1176fi
1177
1178# Check all directory arguments for consistency.
1179for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180		datadir sysconfdir sharedstatedir localstatedir includedir \
1181		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182		libdir localedir mandir
1183do
1184  eval ac_val=\$$ac_var
1185  # Remove trailing slashes.
1186  case $ac_val in
1187    */ )
1188      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1189      eval $ac_var=\$ac_val;;
1190  esac
1191  # Be sure to have absolute directory names.
1192  case $ac_val in
1193    [\\/$]* | ?:[\\/]* )  continue;;
1194    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195  esac
1196  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1197done
1198
1199# There might be people who depend on the old broken behavior: `$host'
1200# used to hold the argument of --host etc.
1201# FIXME: To remove some day.
1202build=$build_alias
1203host=$host_alias
1204target=$target_alias
1205
1206# FIXME: To remove some day.
1207if test "x$host_alias" != x; then
1208  if test "x$build_alias" = x; then
1209    cross_compiling=maybe
1210    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1211    If a cross compiler is detected then cross compile mode will be used" >&2
1212  elif test "x$build_alias" != "x$host_alias"; then
1213    cross_compiling=yes
1214  fi
1215fi
1216
1217ac_tool_prefix=
1218test -n "$host_alias" && ac_tool_prefix=$host_alias-
1219
1220test "$silent" = yes && exec 6>/dev/null
1221
1222
1223ac_pwd=`pwd` && test -n "$ac_pwd" &&
1224ac_ls_di=`ls -di .` &&
1225ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1226  as_fn_error $? "working directory cannot be determined"
1227test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1228  as_fn_error $? "pwd does not report name of working directory"
1229
1230
1231# Find the source files, if location was not specified.
1232if test -z "$srcdir"; then
1233  ac_srcdir_defaulted=yes
1234  # Try the directory containing this script, then the parent directory.
1235  ac_confdir=`$as_dirname -- "$as_myself" ||
1236$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1237	 X"$as_myself" : 'X\(//\)[^/]' \| \
1238	 X"$as_myself" : 'X\(//\)$' \| \
1239	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1240$as_echo X"$as_myself" |
1241    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1242	    s//\1/
1243	    q
1244	  }
1245	  /^X\(\/\/\)[^/].*/{
1246	    s//\1/
1247	    q
1248	  }
1249	  /^X\(\/\/\)$/{
1250	    s//\1/
1251	    q
1252	  }
1253	  /^X\(\/\).*/{
1254	    s//\1/
1255	    q
1256	  }
1257	  s/.*/./; q'`
1258  srcdir=$ac_confdir
1259  if test ! -r "$srcdir/$ac_unique_file"; then
1260    srcdir=..
1261  fi
1262else
1263  ac_srcdir_defaulted=no
1264fi
1265if test ! -r "$srcdir/$ac_unique_file"; then
1266  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1267  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1268fi
1269ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1270ac_abs_confdir=`(
1271	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1272	pwd)`
1273# When building in place, set srcdir=.
1274if test "$ac_abs_confdir" = "$ac_pwd"; then
1275  srcdir=.
1276fi
1277# Remove unnecessary trailing slashes from srcdir.
1278# Double slashes in file names in object file debugging info
1279# mess up M-x gdb in Emacs.
1280case $srcdir in
1281*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282esac
1283for ac_var in $ac_precious_vars; do
1284  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1285  eval ac_env_${ac_var}_value=\$${ac_var}
1286  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1287  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1288done
1289
1290#
1291# Report the --help message.
1292#
1293if test "$ac_init_help" = "long"; then
1294  # Omit some internal or obsolete options to make the list less imposing.
1295  # This message is too long to be a string in the A/UX 3.1 sh.
1296  cat <<_ACEOF
1297\`configure' configures guile-readline 1.8.8 to adapt to many kinds of systems.
1298
1299Usage: $0 [OPTION]... [VAR=VALUE]...
1300
1301To assign environment variables (e.g., CC, CFLAGS...), specify them as
1302VAR=VALUE.  See below for descriptions of some of the useful variables.
1303
1304Defaults for the options are specified in brackets.
1305
1306Configuration:
1307  -h, --help              display this help and exit
1308      --help=short        display options specific to this package
1309      --help=recursive    display the short help of all the included packages
1310  -V, --version           display version information and exit
1311  -q, --quiet, --silent   do not print \`checking ...' messages
1312      --cache-file=FILE   cache test results in FILE [disabled]
1313  -C, --config-cache      alias for \`--cache-file=config.cache'
1314  -n, --no-create         do not create output files
1315      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1316
1317Installation directories:
1318  --prefix=PREFIX         install architecture-independent files in PREFIX
1319                          [$ac_default_prefix]
1320  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1321                          [PREFIX]
1322
1323By default, \`make install' will install all the files in
1324\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1325an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1326for instance \`--prefix=\$HOME'.
1327
1328For better control, use the options below.
1329
1330Fine tuning of the installation directories:
1331  --bindir=DIR            user executables [EPREFIX/bin]
1332  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1333  --libexecdir=DIR        program executables [EPREFIX/libexec]
1334  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1335  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1336  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1337  --libdir=DIR            object code libraries [EPREFIX/lib]
1338  --includedir=DIR        C header files [PREFIX/include]
1339  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1340  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1341  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1342  --infodir=DIR           info documentation [DATAROOTDIR/info]
1343  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1344  --mandir=DIR            man documentation [DATAROOTDIR/man]
1345  --docdir=DIR            documentation root [DATAROOTDIR/doc/guile-readline]
1346  --htmldir=DIR           html documentation [DOCDIR]
1347  --dvidir=DIR            dvi documentation [DOCDIR]
1348  --pdfdir=DIR            pdf documentation [DOCDIR]
1349  --psdir=DIR             ps documentation [DOCDIR]
1350_ACEOF
1351
1352  cat <<\_ACEOF
1353
1354Program names:
1355  --program-prefix=PREFIX            prepend PREFIX to installed program names
1356  --program-suffix=SUFFIX            append SUFFIX to installed program names
1357  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1358
1359System types:
1360  --build=BUILD     configure for building on BUILD [guessed]
1361  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1362_ACEOF
1363fi
1364
1365if test -n "$ac_init_help"; then
1366  case $ac_init_help in
1367     short | recursive ) echo "Configuration of guile-readline 1.8.8:";;
1368   esac
1369  cat <<\_ACEOF
1370
1371Optional Features:
1372  --disable-option-checking  ignore unrecognized --enable/--with options
1373  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1374  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1375  --disable-dependency-tracking  speeds up one-time build
1376  --enable-dependency-tracking   do not reject slow dependency extractors
1377  --enable-shared[=PKGS]  build shared libraries [default=yes]
1378  --enable-static[=PKGS]  build static libraries [default=yes]
1379  --enable-fast-install[=PKGS]
1380                          optimize for fast installation [default=yes]
1381  --disable-libtool-lock  avoid locking (might break parallel builds)
1382
1383Optional Packages:
1384  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1385  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1386  --with-pic              try to use only PIC/non-PIC objects [default=use
1387                          both]
1388  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1389  --with-sysroot=DIR Search for dependent libraries within DIR
1390                        (or the compiler's sysroot if not specified).
1391
1392Some influential environment variables:
1393  CC          C compiler command
1394  CFLAGS      C compiler flags
1395  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1396              nonstandard directory <lib dir>
1397  LIBS        libraries to pass to the linker, e.g. -l<library>
1398  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1399              you have headers in a nonstandard directory <include dir>
1400  CPP         C preprocessor
1401
1402Use these variables to override the choices made by `configure' or to help
1403it to find libraries and programs with nonstandard names/locations.
1404
1405Report bugs to <bug-guile@gnu.org>.
1406_ACEOF
1407ac_status=$?
1408fi
1409
1410if test "$ac_init_help" = "recursive"; then
1411  # If there are subdirs, report their specific --help.
1412  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1413    test -d "$ac_dir" ||
1414      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1415      continue
1416    ac_builddir=.
1417
1418case "$ac_dir" in
1419.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1420*)
1421  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1422  # A ".." for each directory in $ac_dir_suffix.
1423  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1424  case $ac_top_builddir_sub in
1425  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1426  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1427  esac ;;
1428esac
1429ac_abs_top_builddir=$ac_pwd
1430ac_abs_builddir=$ac_pwd$ac_dir_suffix
1431# for backward compatibility:
1432ac_top_builddir=$ac_top_build_prefix
1433
1434case $srcdir in
1435  .)  # We are building in place.
1436    ac_srcdir=.
1437    ac_top_srcdir=$ac_top_builddir_sub
1438    ac_abs_top_srcdir=$ac_pwd ;;
1439  [\\/]* | ?:[\\/]* )  # Absolute name.
1440    ac_srcdir=$srcdir$ac_dir_suffix;
1441    ac_top_srcdir=$srcdir
1442    ac_abs_top_srcdir=$srcdir ;;
1443  *) # Relative name.
1444    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1445    ac_top_srcdir=$ac_top_build_prefix$srcdir
1446    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1447esac
1448ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1449
1450    cd "$ac_dir" || { ac_status=$?; continue; }
1451    # Check for guested configure.
1452    if test -f "$ac_srcdir/configure.gnu"; then
1453      echo &&
1454      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1455    elif test -f "$ac_srcdir/configure"; then
1456      echo &&
1457      $SHELL "$ac_srcdir/configure" --help=recursive
1458    else
1459      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1460    fi || ac_status=$?
1461    cd "$ac_pwd" || { ac_status=$?; break; }
1462  done
1463fi
1464
1465test -n "$ac_init_help" && exit $ac_status
1466if $ac_init_version; then
1467  cat <<\_ACEOF
1468guile-readline configure 1.8.8
1469generated by GNU Autoconf 2.68
1470
1471Copyright (C) 2010 Free Software Foundation, Inc.
1472This configure script is free software; the Free Software Foundation
1473gives unlimited permission to copy, distribute and modify it.
1474_ACEOF
1475  exit
1476fi
1477
1478## ------------------------ ##
1479## Autoconf initialization. ##
1480## ------------------------ ##
1481
1482# ac_fn_c_try_compile LINENO
1483# --------------------------
1484# Try to compile conftest.$ac_ext, and return whether this succeeded.
1485ac_fn_c_try_compile ()
1486{
1487  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1488  rm -f conftest.$ac_objext
1489  if { { ac_try="$ac_compile"
1490case "(($ac_try" in
1491  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1492  *) ac_try_echo=$ac_try;;
1493esac
1494eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1495$as_echo "$ac_try_echo"; } >&5
1496  (eval "$ac_compile") 2>conftest.err
1497  ac_status=$?
1498  if test -s conftest.err; then
1499    grep -v '^ *+' conftest.err >conftest.er1
1500    cat conftest.er1 >&5
1501    mv -f conftest.er1 conftest.err
1502  fi
1503  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1504  test $ac_status = 0; } && {
1505	 test -z "$ac_c_werror_flag" ||
1506	 test ! -s conftest.err
1507       } && test -s conftest.$ac_objext; then :
1508  ac_retval=0
1509else
1510  $as_echo "$as_me: failed program was:" >&5
1511sed 's/^/| /' conftest.$ac_ext >&5
1512
1513	ac_retval=1
1514fi
1515  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1516  as_fn_set_status $ac_retval
1517
1518} # ac_fn_c_try_compile
1519
1520# ac_fn_c_try_link LINENO
1521# -----------------------
1522# Try to link conftest.$ac_ext, and return whether this succeeded.
1523ac_fn_c_try_link ()
1524{
1525  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1526  rm -f conftest.$ac_objext conftest$ac_exeext
1527  if { { ac_try="$ac_link"
1528case "(($ac_try" in
1529  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1530  *) ac_try_echo=$ac_try;;
1531esac
1532eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533$as_echo "$ac_try_echo"; } >&5
1534  (eval "$ac_link") 2>conftest.err
1535  ac_status=$?
1536  if test -s conftest.err; then
1537    grep -v '^ *+' conftest.err >conftest.er1
1538    cat conftest.er1 >&5
1539    mv -f conftest.er1 conftest.err
1540  fi
1541  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542  test $ac_status = 0; } && {
1543	 test -z "$ac_c_werror_flag" ||
1544	 test ! -s conftest.err
1545       } && test -s conftest$ac_exeext && {
1546	 test "$cross_compiling" = yes ||
1547	 $as_test_x conftest$ac_exeext
1548       }; then :
1549  ac_retval=0
1550else
1551  $as_echo "$as_me: failed program was:" >&5
1552sed 's/^/| /' conftest.$ac_ext >&5
1553
1554	ac_retval=1
1555fi
1556  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1557  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1558  # interfere with the next link command; also delete a directory that is
1559  # left behind by Apple's compiler.  We do this before executing the actions.
1560  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1561  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1562  as_fn_set_status $ac_retval
1563
1564} # ac_fn_c_try_link
1565
1566# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1567# -------------------------------------------------------
1568# Tests whether HEADER exists and can be compiled using the include files in
1569# INCLUDES, setting the cache variable VAR accordingly.
1570ac_fn_c_check_header_compile ()
1571{
1572  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1574$as_echo_n "checking for $2... " >&6; }
1575if eval \${$3+:} false; then :
1576  $as_echo_n "(cached) " >&6
1577else
1578  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1579/* end confdefs.h.  */
1580$4
1581#include <$2>
1582_ACEOF
1583if ac_fn_c_try_compile "$LINENO"; then :
1584  eval "$3=yes"
1585else
1586  eval "$3=no"
1587fi
1588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1589fi
1590eval ac_res=\$$3
1591	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1592$as_echo "$ac_res" >&6; }
1593  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1594
1595} # ac_fn_c_check_header_compile
1596
1597# ac_fn_c_try_cpp LINENO
1598# ----------------------
1599# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1600ac_fn_c_try_cpp ()
1601{
1602  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603  if { { ac_try="$ac_cpp conftest.$ac_ext"
1604case "(($ac_try" in
1605  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606  *) ac_try_echo=$ac_try;;
1607esac
1608eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609$as_echo "$ac_try_echo"; } >&5
1610  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1611  ac_status=$?
1612  if test -s conftest.err; then
1613    grep -v '^ *+' conftest.err >conftest.er1
1614    cat conftest.er1 >&5
1615    mv -f conftest.er1 conftest.err
1616  fi
1617  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618  test $ac_status = 0; } > conftest.i && {
1619	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1620	 test ! -s conftest.err
1621       }; then :
1622  ac_retval=0
1623else
1624  $as_echo "$as_me: failed program was:" >&5
1625sed 's/^/| /' conftest.$ac_ext >&5
1626
1627    ac_retval=1
1628fi
1629  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630  as_fn_set_status $ac_retval
1631
1632} # ac_fn_c_try_cpp
1633
1634# ac_fn_c_try_run LINENO
1635# ----------------------
1636# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1637# that executables *can* be run.
1638ac_fn_c_try_run ()
1639{
1640  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641  if { { ac_try="$ac_link"
1642case "(($ac_try" in
1643  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1644  *) ac_try_echo=$ac_try;;
1645esac
1646eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647$as_echo "$ac_try_echo"; } >&5
1648  (eval "$ac_link") 2>&5
1649  ac_status=$?
1650  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1652  { { case "(($ac_try" in
1653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1654  *) ac_try_echo=$ac_try;;
1655esac
1656eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1657$as_echo "$ac_try_echo"; } >&5
1658  (eval "$ac_try") 2>&5
1659  ac_status=$?
1660  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661  test $ac_status = 0; }; }; then :
1662  ac_retval=0
1663else
1664  $as_echo "$as_me: program exited with status $ac_status" >&5
1665       $as_echo "$as_me: failed program was:" >&5
1666sed 's/^/| /' conftest.$ac_ext >&5
1667
1668       ac_retval=$ac_status
1669fi
1670  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1671  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1672  as_fn_set_status $ac_retval
1673
1674} # ac_fn_c_try_run
1675
1676# ac_fn_c_check_func LINENO FUNC VAR
1677# ----------------------------------
1678# Tests whether FUNC exists, setting the cache variable VAR accordingly
1679ac_fn_c_check_func ()
1680{
1681  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683$as_echo_n "checking for $2... " >&6; }
1684if eval \${$3+:} false; then :
1685  $as_echo_n "(cached) " >&6
1686else
1687  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1688/* end confdefs.h.  */
1689/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1690   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1691#define $2 innocuous_$2
1692
1693/* System header to define __stub macros and hopefully few prototypes,
1694    which can conflict with char $2 (); below.
1695    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1696    <limits.h> exists even on freestanding compilers.  */
1697
1698#ifdef __STDC__
1699# include <limits.h>
1700#else
1701# include <assert.h>
1702#endif
1703
1704#undef $2
1705
1706/* Override any GCC internal prototype to avoid an error.
1707   Use char because int might match the return type of a GCC
1708   builtin and then its argument prototype would still apply.  */
1709#ifdef __cplusplus
1710extern "C"
1711#endif
1712char $2 ();
1713/* The GNU C library defines this for functions which it implements
1714    to always fail with ENOSYS.  Some functions are actually named
1715    something starting with __ and the normal name is an alias.  */
1716#if defined __stub_$2 || defined __stub___$2
1717choke me
1718#endif
1719
1720int
1721main ()
1722{
1723return $2 ();
1724  ;
1725  return 0;
1726}
1727_ACEOF
1728if ac_fn_c_try_link "$LINENO"; then :
1729  eval "$3=yes"
1730else
1731  eval "$3=no"
1732fi
1733rm -f core conftest.err conftest.$ac_objext \
1734    conftest$ac_exeext conftest.$ac_ext
1735fi
1736eval ac_res=\$$3
1737	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1738$as_echo "$ac_res" >&6; }
1739  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740
1741} # ac_fn_c_check_func
1742cat >config.log <<_ACEOF
1743This file contains any messages produced by compilers while
1744running configure, to aid debugging if configure makes a mistake.
1745
1746It was created by guile-readline $as_me 1.8.8, which was
1747generated by GNU Autoconf 2.68.  Invocation command line was
1748
1749  $ $0 $@
1750
1751_ACEOF
1752exec 5>>config.log
1753{
1754cat <<_ASUNAME
1755## --------- ##
1756## Platform. ##
1757## --------- ##
1758
1759hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1760uname -m = `(uname -m) 2>/dev/null || echo unknown`
1761uname -r = `(uname -r) 2>/dev/null || echo unknown`
1762uname -s = `(uname -s) 2>/dev/null || echo unknown`
1763uname -v = `(uname -v) 2>/dev/null || echo unknown`
1764
1765/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1766/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1767
1768/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1769/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1770/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1771/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1772/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1773/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1774/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1775
1776_ASUNAME
1777
1778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779for as_dir in $PATH
1780do
1781  IFS=$as_save_IFS
1782  test -z "$as_dir" && as_dir=.
1783    $as_echo "PATH: $as_dir"
1784  done
1785IFS=$as_save_IFS
1786
1787} >&5
1788
1789cat >&5 <<_ACEOF
1790
1791
1792## ----------- ##
1793## Core tests. ##
1794## ----------- ##
1795
1796_ACEOF
1797
1798
1799# Keep a trace of the command line.
1800# Strip out --no-create and --no-recursion so they do not pile up.
1801# Strip out --silent because we don't want to record it for future runs.
1802# Also quote any args containing shell meta-characters.
1803# Make two passes to allow for proper duplicate-argument suppression.
1804ac_configure_args=
1805ac_configure_args0=
1806ac_configure_args1=
1807ac_must_keep_next=false
1808for ac_pass in 1 2
1809do
1810  for ac_arg
1811  do
1812    case $ac_arg in
1813    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1814    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1815    | -silent | --silent | --silen | --sile | --sil)
1816      continue ;;
1817    *\'*)
1818      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1819    esac
1820    case $ac_pass in
1821    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1822    2)
1823      as_fn_append ac_configure_args1 " '$ac_arg'"
1824      if test $ac_must_keep_next = true; then
1825	ac_must_keep_next=false # Got value, back to normal.
1826      else
1827	case $ac_arg in
1828	  *=* | --config-cache | -C | -disable-* | --disable-* \
1829	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1830	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1831	  | -with-* | --with-* | -without-* | --without-* | --x)
1832	    case "$ac_configure_args0 " in
1833	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1834	    esac
1835	    ;;
1836	  -* ) ac_must_keep_next=true ;;
1837	esac
1838      fi
1839      as_fn_append ac_configure_args " '$ac_arg'"
1840      ;;
1841    esac
1842  done
1843done
1844{ ac_configure_args0=; unset ac_configure_args0;}
1845{ ac_configure_args1=; unset ac_configure_args1;}
1846
1847# When interrupted or exit'd, cleanup temporary files, and complete
1848# config.log.  We remove comments because anyway the quotes in there
1849# would cause problems or look ugly.
1850# WARNING: Use '\'' to represent an apostrophe within the trap.
1851# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1852trap 'exit_status=$?
1853  # Save into config.log some information that might help in debugging.
1854  {
1855    echo
1856
1857    $as_echo "## ---------------- ##
1858## Cache variables. ##
1859## ---------------- ##"
1860    echo
1861    # The following way of writing the cache mishandles newlines in values,
1862(
1863  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1864    eval ac_val=\$$ac_var
1865    case $ac_val in #(
1866    *${as_nl}*)
1867      case $ac_var in #(
1868      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1869$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1870      esac
1871      case $ac_var in #(
1872      _ | IFS | as_nl) ;; #(
1873      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1874      *) { eval $ac_var=; unset $ac_var;} ;;
1875      esac ;;
1876    esac
1877  done
1878  (set) 2>&1 |
1879    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1880    *${as_nl}ac_space=\ *)
1881      sed -n \
1882	"s/'\''/'\''\\\\'\'''\''/g;
1883	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1884      ;; #(
1885    *)
1886      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1887      ;;
1888    esac |
1889    sort
1890)
1891    echo
1892
1893    $as_echo "## ----------------- ##
1894## Output variables. ##
1895## ----------------- ##"
1896    echo
1897    for ac_var in $ac_subst_vars
1898    do
1899      eval ac_val=\$$ac_var
1900      case $ac_val in
1901      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1902      esac
1903      $as_echo "$ac_var='\''$ac_val'\''"
1904    done | sort
1905    echo
1906
1907    if test -n "$ac_subst_files"; then
1908      $as_echo "## ------------------- ##
1909## File substitutions. ##
1910## ------------------- ##"
1911      echo
1912      for ac_var in $ac_subst_files
1913      do
1914	eval ac_val=\$$ac_var
1915	case $ac_val in
1916	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1917	esac
1918	$as_echo "$ac_var='\''$ac_val'\''"
1919      done | sort
1920      echo
1921    fi
1922
1923    if test -s confdefs.h; then
1924      $as_echo "## ----------- ##
1925## confdefs.h. ##
1926## ----------- ##"
1927      echo
1928      cat confdefs.h
1929      echo
1930    fi
1931    test "$ac_signal" != 0 &&
1932      $as_echo "$as_me: caught signal $ac_signal"
1933    $as_echo "$as_me: exit $exit_status"
1934  } >&5
1935  rm -f core *.core core.conftest.* &&
1936    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1937    exit $exit_status
1938' 0
1939for ac_signal in 1 2 13 15; do
1940  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1941done
1942ac_signal=0
1943
1944# confdefs.h avoids OS command line length limits that DEFS can exceed.
1945rm -f -r conftest* confdefs.h
1946
1947$as_echo "/* confdefs.h */" > confdefs.h
1948
1949# Predefined preprocessor variables.
1950
1951cat >>confdefs.h <<_ACEOF
1952#define PACKAGE_NAME "$PACKAGE_NAME"
1953_ACEOF
1954
1955cat >>confdefs.h <<_ACEOF
1956#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1957_ACEOF
1958
1959cat >>confdefs.h <<_ACEOF
1960#define PACKAGE_VERSION "$PACKAGE_VERSION"
1961_ACEOF
1962
1963cat >>confdefs.h <<_ACEOF
1964#define PACKAGE_STRING "$PACKAGE_STRING"
1965_ACEOF
1966
1967cat >>confdefs.h <<_ACEOF
1968#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1969_ACEOF
1970
1971cat >>confdefs.h <<_ACEOF
1972#define PACKAGE_URL "$PACKAGE_URL"
1973_ACEOF
1974
1975
1976# Let the site file select an alternate cache file if it wants to.
1977# Prefer an explicitly selected file to automatically selected ones.
1978ac_site_file1=NONE
1979ac_site_file2=NONE
1980if test -n "$CONFIG_SITE"; then
1981  # We do not want a PATH search for config.site.
1982  case $CONFIG_SITE in #((
1983    -*)  ac_site_file1=./$CONFIG_SITE;;
1984    */*) ac_site_file1=$CONFIG_SITE;;
1985    *)   ac_site_file1=./$CONFIG_SITE;;
1986  esac
1987elif test "x$prefix" != xNONE; then
1988  ac_site_file1=$prefix/share/config.site
1989  ac_site_file2=$prefix/etc/config.site
1990else
1991  ac_site_file1=$ac_default_prefix/share/config.site
1992  ac_site_file2=$ac_default_prefix/etc/config.site
1993fi
1994for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1995do
1996  test "x$ac_site_file" = xNONE && continue
1997  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1998    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1999$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2000    sed 's/^/| /' "$ac_site_file" >&5
2001    . "$ac_site_file" \
2002      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2003$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2004as_fn_error $? "failed to load site script $ac_site_file
2005See \`config.log' for more details" "$LINENO" 5; }
2006  fi
2007done
2008
2009if test -r "$cache_file"; then
2010  # Some versions of bash will fail to source /dev/null (special files
2011  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2012  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2013    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2014$as_echo "$as_me: loading cache $cache_file" >&6;}
2015    case $cache_file in
2016      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2017      *)                      . "./$cache_file";;
2018    esac
2019  fi
2020else
2021  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2022$as_echo "$as_me: creating cache $cache_file" >&6;}
2023  >$cache_file
2024fi
2025
2026# Check that the precious variables saved in the cache have kept the same
2027# value.
2028ac_cache_corrupted=false
2029for ac_var in $ac_precious_vars; do
2030  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2031  eval ac_new_set=\$ac_env_${ac_var}_set
2032  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2033  eval ac_new_val=\$ac_env_${ac_var}_value
2034  case $ac_old_set,$ac_new_set in
2035    set,)
2036      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2037$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2038      ac_cache_corrupted=: ;;
2039    ,set)
2040      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2041$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2042      ac_cache_corrupted=: ;;
2043    ,);;
2044    *)
2045      if test "x$ac_old_val" != "x$ac_new_val"; then
2046	# differences in whitespace do not lead to failure.
2047	ac_old_val_w=`echo x $ac_old_val`
2048	ac_new_val_w=`echo x $ac_new_val`
2049	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2050	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2051$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2052	  ac_cache_corrupted=:
2053	else
2054	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2055$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2056	  eval $ac_var=\$ac_old_val
2057	fi
2058	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2059$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2060	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2061$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2062      fi;;
2063  esac
2064  # Pass precious variables to config.status.
2065  if test "$ac_new_set" = set; then
2066    case $ac_new_val in
2067    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2068    *) ac_arg=$ac_var=$ac_new_val ;;
2069    esac
2070    case " $ac_configure_args " in
2071      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2072      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2073    esac
2074  fi
2075done
2076if $ac_cache_corrupted; then
2077  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2078$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2079  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2080$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2081  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2082fi
2083## -------------------- ##
2084## Main body of script. ##
2085## -------------------- ##
2086
2087ac_ext=c
2088ac_cpp='$CPP $CPPFLAGS'
2089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2091ac_compiler_gnu=$ac_cv_c_compiler_gnu
2092
2093
2094
2095ac_aux_dir=
2096for ac_dir in . "$srcdir"/.; do
2097  if test -f "$ac_dir/install-sh"; then
2098    ac_aux_dir=$ac_dir
2099    ac_install_sh="$ac_aux_dir/install-sh -c"
2100    break
2101  elif test -f "$ac_dir/install.sh"; then
2102    ac_aux_dir=$ac_dir
2103    ac_install_sh="$ac_aux_dir/install.sh -c"
2104    break
2105  elif test -f "$ac_dir/shtool"; then
2106    ac_aux_dir=$ac_dir
2107    ac_install_sh="$ac_aux_dir/shtool install -c"
2108    break
2109  fi
2110done
2111if test -z "$ac_aux_dir"; then
2112  as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2113fi
2114
2115# These three variables are undocumented and unsupported,
2116# and are intended to be withdrawn in a future Autoconf release.
2117# They can cause serious problems if a builder's source tree is in a directory
2118# whose full name contains unusual characters.
2119ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2120ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2121ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2122
2123
2124
2125ac_config_headers="$ac_config_headers guile-readline-config.h"
2126
2127am__api_version='1.11'
2128
2129# Find a good install program.  We prefer a C program (faster),
2130# so one script is as good as another.  But avoid the broken or
2131# incompatible versions:
2132# SysV /etc/install, /usr/sbin/install
2133# SunOS /usr/etc/install
2134# IRIX /sbin/install
2135# AIX /bin/install
2136# AmigaOS /C/install, which installs bootblocks on floppy discs
2137# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2138# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2139# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2140# OS/2's system install, which has a completely different semantic
2141# ./install, which can be erroneously created by make from ./install.sh.
2142# Reject install programs that cannot install multiple files.
2143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2144$as_echo_n "checking for a BSD-compatible install... " >&6; }
2145if test -z "$INSTALL"; then
2146if ${ac_cv_path_install+:} false; then :
2147  $as_echo_n "(cached) " >&6
2148else
2149  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150for as_dir in $PATH
2151do
2152  IFS=$as_save_IFS
2153  test -z "$as_dir" && as_dir=.
2154    # Account for people who put trailing slashes in PATH elements.
2155case $as_dir/ in #((
2156  ./ | .// | /[cC]/* | \
2157  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2158  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2159  /usr/ucb/* ) ;;
2160  *)
2161    # OSF1 and SCO ODT 3.0 have their own names for install.
2162    # Don't use installbsd from OSF since it installs stuff as root
2163    # by default.
2164    for ac_prog in ginstall scoinst install; do
2165      for ac_exec_ext in '' $ac_executable_extensions; do
2166	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2167	  if test $ac_prog = install &&
2168	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2169	    # AIX install.  It has an incompatible calling convention.
2170	    :
2171	  elif test $ac_prog = install &&
2172	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2173	    # program-specific install script used by HP pwplus--don't use.
2174	    :
2175	  else
2176	    rm -rf conftest.one conftest.two conftest.dir
2177	    echo one > conftest.one
2178	    echo two > conftest.two
2179	    mkdir conftest.dir
2180	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2181	      test -s conftest.one && test -s conftest.two &&
2182	      test -s conftest.dir/conftest.one &&
2183	      test -s conftest.dir/conftest.two
2184	    then
2185	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2186	      break 3
2187	    fi
2188	  fi
2189	fi
2190      done
2191    done
2192    ;;
2193esac
2194
2195  done
2196IFS=$as_save_IFS
2197
2198rm -rf conftest.one conftest.two conftest.dir
2199
2200fi
2201  if test "${ac_cv_path_install+set}" = set; then
2202    INSTALL=$ac_cv_path_install
2203  else
2204    # As a last resort, use the slow shell script.  Don't cache a
2205    # value for INSTALL within a source directory, because that will
2206    # break other packages using the cache if that directory is
2207    # removed, or if the value is a relative name.
2208    INSTALL=$ac_install_sh
2209  fi
2210fi
2211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2212$as_echo "$INSTALL" >&6; }
2213
2214# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2215# It thinks the first close brace ends the variable substitution.
2216test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2217
2218test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2219
2220test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2221
2222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2223$as_echo_n "checking whether build environment is sane... " >&6; }
2224# Just in case
2225sleep 1
2226echo timestamp > conftest.file
2227# Reject unsafe characters in $srcdir or the absolute working directory
2228# name.  Accept space and tab only in the latter.
2229am_lf='
2230'
2231case `pwd` in
2232  *[\\\"\#\$\&\'\`$am_lf]*)
2233    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2234esac
2235case $srcdir in
2236  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2237    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2238esac
2239
2240# Do `set' in a subshell so we don't clobber the current shell's
2241# arguments.  Must try -L first in case configure is actually a
2242# symlink; some systems play weird games with the mod time of symlinks
2243# (eg FreeBSD returns the mod time of the symlink's containing
2244# directory).
2245if (
2246   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2247   if test "$*" = "X"; then
2248      # -L didn't work.
2249      set X `ls -t "$srcdir/configure" conftest.file`
2250   fi
2251   rm -f conftest.file
2252   if test "$*" != "X $srcdir/configure conftest.file" \
2253      && test "$*" != "X conftest.file $srcdir/configure"; then
2254
2255      # If neither matched, then we have a broken ls.  This can happen
2256      # if, for instance, CONFIG_SHELL is bash and it inherits a
2257      # broken ls alias from the environment.  This has actually
2258      # happened.  Such a system could not be considered "sane".
2259      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2260alias in your environment" "$LINENO" 5
2261   fi
2262
2263   test "$2" = conftest.file
2264   )
2265then
2266   # Ok.
2267   :
2268else
2269   as_fn_error $? "newly created file is older than distributed files!
2270Check your system clock" "$LINENO" 5
2271fi
2272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2273$as_echo "yes" >&6; }
2274test "$program_prefix" != NONE &&
2275  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2276# Use a double $ so make ignores it.
2277test "$program_suffix" != NONE &&
2278  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2279# Double any \ or $.
2280# By default was `s,x,x', remove it if useless.
2281ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2282program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2283
2284# expand $ac_aux_dir to an absolute path
2285am_aux_dir=`cd $ac_aux_dir && pwd`
2286
2287if test x"${MISSING+set}" != xset; then
2288  case $am_aux_dir in
2289  *\ * | *\	*)
2290    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2291  *)
2292    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2293  esac
2294fi
2295# Use eval to expand $SHELL
2296if eval "$MISSING --run true"; then
2297  am_missing_run="$MISSING --run "
2298else
2299  am_missing_run=
2300  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2301$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2302fi
2303
2304if test x"${install_sh}" != xset; then
2305  case $am_aux_dir in
2306  *\ * | *\	*)
2307    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2308  *)
2309    install_sh="\${SHELL} $am_aux_dir/install-sh"
2310  esac
2311fi
2312
2313# Installed binaries are usually stripped using `strip' when the user
2314# run `make install-strip'.  However `strip' might not be the right
2315# tool to use in cross-compilation environments, therefore Automake
2316# will honor the `STRIP' environment variable to overrule this program.
2317if test "$cross_compiling" != no; then
2318  if test -n "$ac_tool_prefix"; then
2319  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2320set dummy ${ac_tool_prefix}strip; ac_word=$2
2321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2322$as_echo_n "checking for $ac_word... " >&6; }
2323if ${ac_cv_prog_STRIP+:} false; then :
2324  $as_echo_n "(cached) " >&6
2325else
2326  if test -n "$STRIP"; then
2327  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2328else
2329as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330for as_dir in $PATH
2331do
2332  IFS=$as_save_IFS
2333  test -z "$as_dir" && as_dir=.
2334    for ac_exec_ext in '' $ac_executable_extensions; do
2335  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2336    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2337    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2338    break 2
2339  fi
2340done
2341  done
2342IFS=$as_save_IFS
2343
2344fi
2345fi
2346STRIP=$ac_cv_prog_STRIP
2347if test -n "$STRIP"; then
2348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2349$as_echo "$STRIP" >&6; }
2350else
2351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2352$as_echo "no" >&6; }
2353fi
2354
2355
2356fi
2357if test -z "$ac_cv_prog_STRIP"; then
2358  ac_ct_STRIP=$STRIP
2359  # Extract the first word of "strip", so it can be a program name with args.
2360set dummy strip; ac_word=$2
2361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2362$as_echo_n "checking for $ac_word... " >&6; }
2363if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2364  $as_echo_n "(cached) " >&6
2365else
2366  if test -n "$ac_ct_STRIP"; then
2367  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2368else
2369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370for as_dir in $PATH
2371do
2372  IFS=$as_save_IFS
2373  test -z "$as_dir" && as_dir=.
2374    for ac_exec_ext in '' $ac_executable_extensions; do
2375  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2376    ac_cv_prog_ac_ct_STRIP="strip"
2377    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2378    break 2
2379  fi
2380done
2381  done
2382IFS=$as_save_IFS
2383
2384fi
2385fi
2386ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2387if test -n "$ac_ct_STRIP"; then
2388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2389$as_echo "$ac_ct_STRIP" >&6; }
2390else
2391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2392$as_echo "no" >&6; }
2393fi
2394
2395  if test "x$ac_ct_STRIP" = x; then
2396    STRIP=":"
2397  else
2398    case $cross_compiling:$ac_tool_warned in
2399yes:)
2400{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2401$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2402ac_tool_warned=yes ;;
2403esac
2404    STRIP=$ac_ct_STRIP
2405  fi
2406else
2407  STRIP="$ac_cv_prog_STRIP"
2408fi
2409
2410fi
2411INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2412
2413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2414$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2415if test -z "$MKDIR_P"; then
2416  if ${ac_cv_path_mkdir+:} false; then :
2417  $as_echo_n "(cached) " >&6
2418else
2419  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2420for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2421do
2422  IFS=$as_save_IFS
2423  test -z "$as_dir" && as_dir=.
2424    for ac_prog in mkdir gmkdir; do
2425	 for ac_exec_ext in '' $ac_executable_extensions; do
2426	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2427	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2428	     'mkdir (GNU coreutils) '* | \
2429	     'mkdir (coreutils) '* | \
2430	     'mkdir (fileutils) '4.1*)
2431	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2432	       break 3;;
2433	   esac
2434	 done
2435       done
2436  done
2437IFS=$as_save_IFS
2438
2439fi
2440
2441  test -d ./--version && rmdir ./--version
2442  if test "${ac_cv_path_mkdir+set}" = set; then
2443    MKDIR_P="$ac_cv_path_mkdir -p"
2444  else
2445    # As a last resort, use the slow shell script.  Don't cache a
2446    # value for MKDIR_P within a source directory, because that will
2447    # break other packages using the cache if that directory is
2448    # removed, or if the value is a relative name.
2449    MKDIR_P="$ac_install_sh -d"
2450  fi
2451fi
2452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2453$as_echo "$MKDIR_P" >&6; }
2454
2455mkdir_p="$MKDIR_P"
2456case $mkdir_p in
2457  [\\/$]* | ?:[\\/]*) ;;
2458  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2459esac
2460
2461for ac_prog in gawk mawk nawk awk
2462do
2463  # Extract the first word of "$ac_prog", so it can be a program name with args.
2464set dummy $ac_prog; ac_word=$2
2465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2466$as_echo_n "checking for $ac_word... " >&6; }
2467if ${ac_cv_prog_AWK+:} false; then :
2468  $as_echo_n "(cached) " >&6
2469else
2470  if test -n "$AWK"; then
2471  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2472else
2473as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474for as_dir in $PATH
2475do
2476  IFS=$as_save_IFS
2477  test -z "$as_dir" && as_dir=.
2478    for ac_exec_ext in '' $ac_executable_extensions; do
2479  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480    ac_cv_prog_AWK="$ac_prog"
2481    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2482    break 2
2483  fi
2484done
2485  done
2486IFS=$as_save_IFS
2487
2488fi
2489fi
2490AWK=$ac_cv_prog_AWK
2491if test -n "$AWK"; then
2492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2493$as_echo "$AWK" >&6; }
2494else
2495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2496$as_echo "no" >&6; }
2497fi
2498
2499
2500  test -n "$AWK" && break
2501done
2502
2503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2504$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2505set x ${MAKE-make}
2506ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2507if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2508  $as_echo_n "(cached) " >&6
2509else
2510  cat >conftest.make <<\_ACEOF
2511SHELL = /bin/sh
2512all:
2513	@echo '@@@%%%=$(MAKE)=@@@%%%'
2514_ACEOF
2515# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2516case `${MAKE-make} -f conftest.make 2>/dev/null` in
2517  *@@@%%%=?*=@@@%%%*)
2518    eval ac_cv_prog_make_${ac_make}_set=yes;;
2519  *)
2520    eval ac_cv_prog_make_${ac_make}_set=no;;
2521esac
2522rm -f conftest.make
2523fi
2524if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2526$as_echo "yes" >&6; }
2527  SET_MAKE=
2528else
2529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2530$as_echo "no" >&6; }
2531  SET_MAKE="MAKE=${MAKE-make}"
2532fi
2533
2534rm -rf .tst 2>/dev/null
2535mkdir .tst 2>/dev/null
2536if test -d .tst; then
2537  am__leading_dot=.
2538else
2539  am__leading_dot=_
2540fi
2541rmdir .tst 2>/dev/null
2542
2543if test "`cd $srcdir && pwd`" != "`pwd`"; then
2544  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2545  # is not polluted with repeated "-I."
2546  am__isrc=' -I$(srcdir)'
2547  # test to see if srcdir already configured
2548  if test -f $srcdir/config.status; then
2549    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2550  fi
2551fi
2552
2553# test whether we have cygpath
2554if test -z "$CYGPATH_W"; then
2555  if (cygpath --version) >/dev/null 2>/dev/null; then
2556    CYGPATH_W='cygpath -w'
2557  else
2558    CYGPATH_W=echo
2559  fi
2560fi
2561
2562
2563# Define the identity of the package.
2564 PACKAGE='guile-readline'
2565 VERSION='1.8.8'
2566
2567
2568# Some tools Automake needs.
2569
2570ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2571
2572
2573AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2574
2575
2576AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2577
2578
2579AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2580
2581
2582MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2583
2584# We need awk for the "check" target.  The system "awk" is bad on
2585# some platforms.
2586# Always define AMTAR for backward compatibility.
2587
2588AMTAR=${AMTAR-"${am_missing_run}tar"}
2589
2590am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2591
2592
2593
2594
2595
2596
2597. $srcdir/../GUILE-VERSION
2598
2599
2600ac_ext=c
2601ac_cpp='$CPP $CPPFLAGS'
2602ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2603ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2604ac_compiler_gnu=$ac_cv_c_compiler_gnu
2605if test -n "$ac_tool_prefix"; then
2606  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2607set dummy ${ac_tool_prefix}gcc; ac_word=$2
2608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609$as_echo_n "checking for $ac_word... " >&6; }
2610if ${ac_cv_prog_CC+:} false; then :
2611  $as_echo_n "(cached) " >&6
2612else
2613  if test -n "$CC"; then
2614  ac_cv_prog_CC="$CC" # Let the user override the test.
2615else
2616as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617for as_dir in $PATH
2618do
2619  IFS=$as_save_IFS
2620  test -z "$as_dir" && as_dir=.
2621    for ac_exec_ext in '' $ac_executable_extensions; do
2622  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2623    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2624    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2625    break 2
2626  fi
2627done
2628  done
2629IFS=$as_save_IFS
2630
2631fi
2632fi
2633CC=$ac_cv_prog_CC
2634if test -n "$CC"; then
2635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2636$as_echo "$CC" >&6; }
2637else
2638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639$as_echo "no" >&6; }
2640fi
2641
2642
2643fi
2644if test -z "$ac_cv_prog_CC"; then
2645  ac_ct_CC=$CC
2646  # Extract the first word of "gcc", so it can be a program name with args.
2647set dummy gcc; ac_word=$2
2648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649$as_echo_n "checking for $ac_word... " >&6; }
2650if ${ac_cv_prog_ac_ct_CC+:} false; then :
2651  $as_echo_n "(cached) " >&6
2652else
2653  if test -n "$ac_ct_CC"; then
2654  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2655else
2656as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657for as_dir in $PATH
2658do
2659  IFS=$as_save_IFS
2660  test -z "$as_dir" && as_dir=.
2661    for ac_exec_ext in '' $ac_executable_extensions; do
2662  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2663    ac_cv_prog_ac_ct_CC="gcc"
2664    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2665    break 2
2666  fi
2667done
2668  done
2669IFS=$as_save_IFS
2670
2671fi
2672fi
2673ac_ct_CC=$ac_cv_prog_ac_ct_CC
2674if test -n "$ac_ct_CC"; then
2675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2676$as_echo "$ac_ct_CC" >&6; }
2677else
2678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679$as_echo "no" >&6; }
2680fi
2681
2682  if test "x$ac_ct_CC" = x; then
2683    CC=""
2684  else
2685    case $cross_compiling:$ac_tool_warned in
2686yes:)
2687{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2688$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2689ac_tool_warned=yes ;;
2690esac
2691    CC=$ac_ct_CC
2692  fi
2693else
2694  CC="$ac_cv_prog_CC"
2695fi
2696
2697if test -z "$CC"; then
2698          if test -n "$ac_tool_prefix"; then
2699    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2700set dummy ${ac_tool_prefix}cc; ac_word=$2
2701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2702$as_echo_n "checking for $ac_word... " >&6; }
2703if ${ac_cv_prog_CC+:} false; then :
2704  $as_echo_n "(cached) " >&6
2705else
2706  if test -n "$CC"; then
2707  ac_cv_prog_CC="$CC" # Let the user override the test.
2708else
2709as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2710for as_dir in $PATH
2711do
2712  IFS=$as_save_IFS
2713  test -z "$as_dir" && as_dir=.
2714    for ac_exec_ext in '' $ac_executable_extensions; do
2715  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2716    ac_cv_prog_CC="${ac_tool_prefix}cc"
2717    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718    break 2
2719  fi
2720done
2721  done
2722IFS=$as_save_IFS
2723
2724fi
2725fi
2726CC=$ac_cv_prog_CC
2727if test -n "$CC"; then
2728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2729$as_echo "$CC" >&6; }
2730else
2731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2732$as_echo "no" >&6; }
2733fi
2734
2735
2736  fi
2737fi
2738if test -z "$CC"; then
2739  # Extract the first word of "cc", so it can be a program name with args.
2740set dummy cc; ac_word=$2
2741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2742$as_echo_n "checking for $ac_word... " >&6; }
2743if ${ac_cv_prog_CC+:} false; then :
2744  $as_echo_n "(cached) " >&6
2745else
2746  if test -n "$CC"; then
2747  ac_cv_prog_CC="$CC" # Let the user override the test.
2748else
2749  ac_prog_rejected=no
2750as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751for as_dir in $PATH
2752do
2753  IFS=$as_save_IFS
2754  test -z "$as_dir" && as_dir=.
2755    for ac_exec_ext in '' $ac_executable_extensions; do
2756  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2757    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2758       ac_prog_rejected=yes
2759       continue
2760     fi
2761    ac_cv_prog_CC="cc"
2762    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2763    break 2
2764  fi
2765done
2766  done
2767IFS=$as_save_IFS
2768
2769if test $ac_prog_rejected = yes; then
2770  # We found a bogon in the path, so make sure we never use it.
2771  set dummy $ac_cv_prog_CC
2772  shift
2773  if test $# != 0; then
2774    # We chose a different compiler from the bogus one.
2775    # However, it has the same basename, so the bogon will be chosen
2776    # first if we set CC to just the basename; use the full file name.
2777    shift
2778    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2779  fi
2780fi
2781fi
2782fi
2783CC=$ac_cv_prog_CC
2784if test -n "$CC"; then
2785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2786$as_echo "$CC" >&6; }
2787else
2788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2789$as_echo "no" >&6; }
2790fi
2791
2792
2793fi
2794if test -z "$CC"; then
2795  if test -n "$ac_tool_prefix"; then
2796  for ac_prog in cl.exe
2797  do
2798    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2799set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2801$as_echo_n "checking for $ac_word... " >&6; }
2802if ${ac_cv_prog_CC+:} false; then :
2803  $as_echo_n "(cached) " >&6
2804else
2805  if test -n "$CC"; then
2806  ac_cv_prog_CC="$CC" # Let the user override the test.
2807else
2808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809for as_dir in $PATH
2810do
2811  IFS=$as_save_IFS
2812  test -z "$as_dir" && as_dir=.
2813    for ac_exec_ext in '' $ac_executable_extensions; do
2814  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2816    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2817    break 2
2818  fi
2819done
2820  done
2821IFS=$as_save_IFS
2822
2823fi
2824fi
2825CC=$ac_cv_prog_CC
2826if test -n "$CC"; then
2827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2828$as_echo "$CC" >&6; }
2829else
2830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831$as_echo "no" >&6; }
2832fi
2833
2834
2835    test -n "$CC" && break
2836  done
2837fi
2838if test -z "$CC"; then
2839  ac_ct_CC=$CC
2840  for ac_prog in cl.exe
2841do
2842  # Extract the first word of "$ac_prog", so it can be a program name with args.
2843set dummy $ac_prog; ac_word=$2
2844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845$as_echo_n "checking for $ac_word... " >&6; }
2846if ${ac_cv_prog_ac_ct_CC+:} false; then :
2847  $as_echo_n "(cached) " >&6
2848else
2849  if test -n "$ac_ct_CC"; then
2850  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2851else
2852as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2853for as_dir in $PATH
2854do
2855  IFS=$as_save_IFS
2856  test -z "$as_dir" && as_dir=.
2857    for ac_exec_ext in '' $ac_executable_extensions; do
2858  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2859    ac_cv_prog_ac_ct_CC="$ac_prog"
2860    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2861    break 2
2862  fi
2863done
2864  done
2865IFS=$as_save_IFS
2866
2867fi
2868fi
2869ac_ct_CC=$ac_cv_prog_ac_ct_CC
2870if test -n "$ac_ct_CC"; then
2871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2872$as_echo "$ac_ct_CC" >&6; }
2873else
2874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875$as_echo "no" >&6; }
2876fi
2877
2878
2879  test -n "$ac_ct_CC" && break
2880done
2881
2882  if test "x$ac_ct_CC" = x; then
2883    CC=""
2884  else
2885    case $cross_compiling:$ac_tool_warned in
2886yes:)
2887{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2888$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2889ac_tool_warned=yes ;;
2890esac
2891    CC=$ac_ct_CC
2892  fi
2893fi
2894
2895fi
2896
2897
2898test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2899$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2900as_fn_error $? "no acceptable C compiler found in \$PATH
2901See \`config.log' for more details" "$LINENO" 5; }
2902
2903# Provide some information about the compiler.
2904$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2905set X $ac_compile
2906ac_compiler=$2
2907for ac_option in --version -v -V -qversion; do
2908  { { ac_try="$ac_compiler $ac_option >&5"
2909case "(($ac_try" in
2910  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911  *) ac_try_echo=$ac_try;;
2912esac
2913eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2914$as_echo "$ac_try_echo"; } >&5
2915  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2916  ac_status=$?
2917  if test -s conftest.err; then
2918    sed '10a\
2919... rest of stderr output deleted ...
2920         10q' conftest.err >conftest.er1
2921    cat conftest.er1 >&5
2922  fi
2923  rm -f conftest.er1 conftest.err
2924  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2925  test $ac_status = 0; }
2926done
2927
2928cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2929/* end confdefs.h.  */
2930
2931int
2932main ()
2933{
2934
2935  ;
2936  return 0;
2937}
2938_ACEOF
2939ac_clean_files_save=$ac_clean_files
2940ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2941# Try to create an executable without -o first, disregard a.out.
2942# It will help us diagnose broken compilers, and finding out an intuition
2943# of exeext.
2944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2945$as_echo_n "checking whether the C compiler works... " >&6; }
2946ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2947
2948# The possible output files:
2949ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2950
2951ac_rmfiles=
2952for ac_file in $ac_files
2953do
2954  case $ac_file in
2955    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2956    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2957  esac
2958done
2959rm -f $ac_rmfiles
2960
2961if { { ac_try="$ac_link_default"
2962case "(($ac_try" in
2963  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964  *) ac_try_echo=$ac_try;;
2965esac
2966eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2967$as_echo "$ac_try_echo"; } >&5
2968  (eval "$ac_link_default") 2>&5
2969  ac_status=$?
2970  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2971  test $ac_status = 0; }; then :
2972  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2973# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2974# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2975# so that the user can short-circuit this test for compilers unknown to
2976# Autoconf.
2977for ac_file in $ac_files ''
2978do
2979  test -f "$ac_file" || continue
2980  case $ac_file in
2981    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2982	;;
2983    [ab].out )
2984	# We found the default executable, but exeext='' is most
2985	# certainly right.
2986	break;;
2987    *.* )
2988	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2989	then :; else
2990	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2991	fi
2992	# We set ac_cv_exeext here because the later test for it is not
2993	# safe: cross compilers may not add the suffix if given an `-o'
2994	# argument, so we may need to know it at that point already.
2995	# Even if this section looks crufty: it has the advantage of
2996	# actually working.
2997	break;;
2998    * )
2999	break;;
3000  esac
3001done
3002test "$ac_cv_exeext" = no && ac_cv_exeext=
3003
3004else
3005  ac_file=''
3006fi
3007if test -z "$ac_file"; then :
3008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009$as_echo "no" >&6; }
3010$as_echo "$as_me: failed program was:" >&5
3011sed 's/^/| /' conftest.$ac_ext >&5
3012
3013{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3014$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015as_fn_error 77 "C compiler cannot create executables
3016See \`config.log' for more details" "$LINENO" 5; }
3017else
3018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3019$as_echo "yes" >&6; }
3020fi
3021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3022$as_echo_n "checking for C compiler default output file name... " >&6; }
3023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3024$as_echo "$ac_file" >&6; }
3025ac_exeext=$ac_cv_exeext
3026
3027rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3028ac_clean_files=$ac_clean_files_save
3029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3030$as_echo_n "checking for suffix of executables... " >&6; }
3031if { { ac_try="$ac_link"
3032case "(($ac_try" in
3033  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034  *) ac_try_echo=$ac_try;;
3035esac
3036eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3037$as_echo "$ac_try_echo"; } >&5
3038  (eval "$ac_link") 2>&5
3039  ac_status=$?
3040  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3041  test $ac_status = 0; }; then :
3042  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3043# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3044# work properly (i.e., refer to `conftest.exe'), while it won't with
3045# `rm'.
3046for ac_file in conftest.exe conftest conftest.*; do
3047  test -f "$ac_file" || continue
3048  case $ac_file in
3049    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3050    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3051	  break;;
3052    * ) break;;
3053  esac
3054done
3055else
3056  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3057$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3058as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3059See \`config.log' for more details" "$LINENO" 5; }
3060fi
3061rm -f conftest conftest$ac_cv_exeext
3062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3063$as_echo "$ac_cv_exeext" >&6; }
3064
3065rm -f conftest.$ac_ext
3066EXEEXT=$ac_cv_exeext
3067ac_exeext=$EXEEXT
3068cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069/* end confdefs.h.  */
3070#include <stdio.h>
3071int
3072main ()
3073{
3074FILE *f = fopen ("conftest.out", "w");
3075 return ferror (f) || fclose (f) != 0;
3076
3077  ;
3078  return 0;
3079}
3080_ACEOF
3081ac_clean_files="$ac_clean_files conftest.out"
3082# Check that the compiler produces executables we can run.  If not, either
3083# the compiler is broken, or we cross compile.
3084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3085$as_echo_n "checking whether we are cross compiling... " >&6; }
3086if test "$cross_compiling" != yes; then
3087  { { ac_try="$ac_link"
3088case "(($ac_try" in
3089  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090  *) ac_try_echo=$ac_try;;
3091esac
3092eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3093$as_echo "$ac_try_echo"; } >&5
3094  (eval "$ac_link") 2>&5
3095  ac_status=$?
3096  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3097  test $ac_status = 0; }
3098  if { ac_try='./conftest$ac_cv_exeext'
3099  { { case "(($ac_try" in
3100  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101  *) ac_try_echo=$ac_try;;
3102esac
3103eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3104$as_echo "$ac_try_echo"; } >&5
3105  (eval "$ac_try") 2>&5
3106  ac_status=$?
3107  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3108  test $ac_status = 0; }; }; then
3109    cross_compiling=no
3110  else
3111    if test "$cross_compiling" = maybe; then
3112	cross_compiling=yes
3113    else
3114	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3115$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3116as_fn_error $? "cannot run C compiled programs.
3117If you meant to cross compile, use \`--host'.
3118See \`config.log' for more details" "$LINENO" 5; }
3119    fi
3120  fi
3121fi
3122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3123$as_echo "$cross_compiling" >&6; }
3124
3125rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3126ac_clean_files=$ac_clean_files_save
3127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3128$as_echo_n "checking for suffix of object files... " >&6; }
3129if ${ac_cv_objext+:} false; then :
3130  $as_echo_n "(cached) " >&6
3131else
3132  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133/* end confdefs.h.  */
3134
3135int
3136main ()
3137{
3138
3139  ;
3140  return 0;
3141}
3142_ACEOF
3143rm -f conftest.o conftest.obj
3144if { { ac_try="$ac_compile"
3145case "(($ac_try" in
3146  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147  *) ac_try_echo=$ac_try;;
3148esac
3149eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3150$as_echo "$ac_try_echo"; } >&5
3151  (eval "$ac_compile") 2>&5
3152  ac_status=$?
3153  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3154  test $ac_status = 0; }; then :
3155  for ac_file in conftest.o conftest.obj conftest.*; do
3156  test -f "$ac_file" || continue;
3157  case $ac_file in
3158    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3159    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3160       break;;
3161  esac
3162done
3163else
3164  $as_echo "$as_me: failed program was:" >&5
3165sed 's/^/| /' conftest.$ac_ext >&5
3166
3167{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3168$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3169as_fn_error $? "cannot compute suffix of object files: cannot compile
3170See \`config.log' for more details" "$LINENO" 5; }
3171fi
3172rm -f conftest.$ac_cv_objext conftest.$ac_ext
3173fi
3174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3175$as_echo "$ac_cv_objext" >&6; }
3176OBJEXT=$ac_cv_objext
3177ac_objext=$OBJEXT
3178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3179$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3180if ${ac_cv_c_compiler_gnu+:} false; then :
3181  $as_echo_n "(cached) " >&6
3182else
3183  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3184/* end confdefs.h.  */
3185
3186int
3187main ()
3188{
3189#ifndef __GNUC__
3190       choke me
3191#endif
3192
3193  ;
3194  return 0;
3195}
3196_ACEOF
3197if ac_fn_c_try_compile "$LINENO"; then :
3198  ac_compiler_gnu=yes
3199else
3200  ac_compiler_gnu=no
3201fi
3202rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3203ac_cv_c_compiler_gnu=$ac_compiler_gnu
3204
3205fi
3206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3207$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3208if test $ac_compiler_gnu = yes; then
3209  GCC=yes
3210else
3211  GCC=
3212fi
3213ac_test_CFLAGS=${CFLAGS+set}
3214ac_save_CFLAGS=$CFLAGS
3215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3216$as_echo_n "checking whether $CC accepts -g... " >&6; }
3217if ${ac_cv_prog_cc_g+:} false; then :
3218  $as_echo_n "(cached) " >&6
3219else
3220  ac_save_c_werror_flag=$ac_c_werror_flag
3221   ac_c_werror_flag=yes
3222   ac_cv_prog_cc_g=no
3223   CFLAGS="-g"
3224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225/* end confdefs.h.  */
3226
3227int
3228main ()
3229{
3230
3231  ;
3232  return 0;
3233}
3234_ACEOF
3235if ac_fn_c_try_compile "$LINENO"; then :
3236  ac_cv_prog_cc_g=yes
3237else
3238  CFLAGS=""
3239      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3240/* end confdefs.h.  */
3241
3242int
3243main ()
3244{
3245
3246  ;
3247  return 0;
3248}
3249_ACEOF
3250if ac_fn_c_try_compile "$LINENO"; then :
3251
3252else
3253  ac_c_werror_flag=$ac_save_c_werror_flag
3254	 CFLAGS="-g"
3255	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256/* end confdefs.h.  */
3257
3258int
3259main ()
3260{
3261
3262  ;
3263  return 0;
3264}
3265_ACEOF
3266if ac_fn_c_try_compile "$LINENO"; then :
3267  ac_cv_prog_cc_g=yes
3268fi
3269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3270fi
3271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3272fi
3273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3274   ac_c_werror_flag=$ac_save_c_werror_flag
3275fi
3276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3277$as_echo "$ac_cv_prog_cc_g" >&6; }
3278if test "$ac_test_CFLAGS" = set; then
3279  CFLAGS=$ac_save_CFLAGS
3280elif test $ac_cv_prog_cc_g = yes; then
3281  if test "$GCC" = yes; then
3282    CFLAGS="-g -O2"
3283  else
3284    CFLAGS="-g"
3285  fi
3286else
3287  if test "$GCC" = yes; then
3288    CFLAGS="-O2"
3289  else
3290    CFLAGS=
3291  fi
3292fi
3293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3294$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3295if ${ac_cv_prog_cc_c89+:} false; then :
3296  $as_echo_n "(cached) " >&6
3297else
3298  ac_cv_prog_cc_c89=no
3299ac_save_CC=$CC
3300cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301/* end confdefs.h.  */
3302#include <stdarg.h>
3303#include <stdio.h>
3304#include <sys/types.h>
3305#include <sys/stat.h>
3306/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3307struct buf { int x; };
3308FILE * (*rcsopen) (struct buf *, struct stat *, int);
3309static char *e (p, i)
3310     char **p;
3311     int i;
3312{
3313  return p[i];
3314}
3315static char *f (char * (*g) (char **, int), char **p, ...)
3316{
3317  char *s;
3318  va_list v;
3319  va_start (v,p);
3320  s = g (p, va_arg (v,int));
3321  va_end (v);
3322  return s;
3323}
3324
3325/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3326   function prototypes and stuff, but not '\xHH' hex character constants.
3327   These don't provoke an error unfortunately, instead are silently treated
3328   as 'x'.  The following induces an error, until -std is added to get
3329   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3330   array size at least.  It's necessary to write '\x00'==0 to get something
3331   that's true only with -std.  */
3332int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3333
3334/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3335   inside strings and character constants.  */
3336#define FOO(x) 'x'
3337int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3338
3339int test (int i, double x);
3340struct s1 {int (*f) (int a);};
3341struct s2 {int (*f) (double a);};
3342int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3343int argc;
3344char **argv;
3345int
3346main ()
3347{
3348return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3349  ;
3350  return 0;
3351}
3352_ACEOF
3353for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3354	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3355do
3356  CC="$ac_save_CC $ac_arg"
3357  if ac_fn_c_try_compile "$LINENO"; then :
3358  ac_cv_prog_cc_c89=$ac_arg
3359fi
3360rm -f core conftest.err conftest.$ac_objext
3361  test "x$ac_cv_prog_cc_c89" != "xno" && break
3362done
3363rm -f conftest.$ac_ext
3364CC=$ac_save_CC
3365
3366fi
3367# AC_CACHE_VAL
3368case "x$ac_cv_prog_cc_c89" in
3369  x)
3370    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3371$as_echo "none needed" >&6; } ;;
3372  xno)
3373    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3374$as_echo "unsupported" >&6; } ;;
3375  *)
3376    CC="$CC $ac_cv_prog_cc_c89"
3377    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3378$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3379esac
3380if test "x$ac_cv_prog_cc_c89" != xno; then :
3381
3382fi
3383
3384ac_ext=c
3385ac_cpp='$CPP $CPPFLAGS'
3386ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3387ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3388ac_compiler_gnu=$ac_cv_c_compiler_gnu
3389DEPDIR="${am__leading_dot}deps"
3390
3391ac_config_commands="$ac_config_commands depfiles"
3392
3393
3394am_make=${MAKE-make}
3395cat > confinc << 'END'
3396am__doit:
3397	@echo this is the am__doit target
3398.PHONY: am__doit
3399END
3400# If we don't find an include directive, just comment out the code.
3401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3402$as_echo_n "checking for style of include used by $am_make... " >&6; }
3403am__include="#"
3404am__quote=
3405_am_result=none
3406# First try GNU make style include.
3407echo "include confinc" > confmf
3408# Ignore all kinds of additional output from `make'.
3409case `$am_make -s -f confmf 2> /dev/null` in #(
3410*the\ am__doit\ target*)
3411  am__include=include
3412  am__quote=
3413  _am_result=GNU
3414  ;;
3415esac
3416# Now try BSD make style include.
3417if test "$am__include" = "#"; then
3418   echo '.include "confinc"' > confmf
3419   case `$am_make -s -f confmf 2> /dev/null` in #(
3420   *the\ am__doit\ target*)
3421     am__include=.include
3422     am__quote="\""
3423     _am_result=BSD
3424     ;;
3425   esac
3426fi
3427
3428
3429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3430$as_echo "$_am_result" >&6; }
3431rm -f confinc confmf
3432
3433# Check whether --enable-dependency-tracking was given.
3434if test "${enable_dependency_tracking+set}" = set; then :
3435  enableval=$enable_dependency_tracking;
3436fi
3437
3438if test "x$enable_dependency_tracking" != xno; then
3439  am_depcomp="$ac_aux_dir/depcomp"
3440  AMDEPBACKSLASH='\'
3441fi
3442 if test "x$enable_dependency_tracking" != xno; then
3443  AMDEP_TRUE=
3444  AMDEP_FALSE='#'
3445else
3446  AMDEP_TRUE='#'
3447  AMDEP_FALSE=
3448fi
3449
3450
3451
3452depcc="$CC"   am_compiler_list=
3453
3454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3455$as_echo_n "checking dependency style of $depcc... " >&6; }
3456if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3457  $as_echo_n "(cached) " >&6
3458else
3459  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3460  # We make a subdir and do the tests there.  Otherwise we can end up
3461  # making bogus files that we don't know about and never remove.  For
3462  # instance it was reported that on HP-UX the gcc test will end up
3463  # making a dummy file named `D' -- because `-MD' means `put the output
3464  # in D'.
3465  mkdir conftest.dir
3466  # Copy depcomp to subdir because otherwise we won't find it if we're
3467  # using a relative directory.
3468  cp "$am_depcomp" conftest.dir
3469  cd conftest.dir
3470  # We will build objects and dependencies in a subdirectory because
3471  # it helps to detect inapplicable dependency modes.  For instance
3472  # both Tru64's cc and ICC support -MD to output dependencies as a
3473  # side effect of compilation, but ICC will put the dependencies in
3474  # the current directory while Tru64 will put them in the object
3475  # directory.
3476  mkdir sub
3477
3478  am_cv_CC_dependencies_compiler_type=none
3479  if test "$am_compiler_list" = ""; then
3480     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3481  fi
3482  am__universal=false
3483  case " $depcc " in #(
3484     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3485     esac
3486
3487  for depmode in $am_compiler_list; do
3488    # Setup a source with many dependencies, because some compilers
3489    # like to wrap large dependency lists on column 80 (with \), and
3490    # we should not choose a depcomp mode which is confused by this.
3491    #
3492    # We need to recreate these files for each test, as the compiler may
3493    # overwrite some of them when testing with obscure command lines.
3494    # This happens at least with the AIX C compiler.
3495    : > sub/conftest.c
3496    for i in 1 2 3 4 5 6; do
3497      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3498      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3499      # Solaris 8's {/usr,}/bin/sh.
3500      touch sub/conftst$i.h
3501    done
3502    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3503
3504    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3505    # mode.  It turns out that the SunPro C++ compiler does not properly
3506    # handle `-M -o', and we need to detect this.  Also, some Intel
3507    # versions had trouble with output in subdirs
3508    am__obj=sub/conftest.${OBJEXT-o}
3509    am__minus_obj="-o $am__obj"
3510    case $depmode in
3511    gcc)
3512      # This depmode causes a compiler race in universal mode.
3513      test "$am__universal" = false || continue
3514      ;;
3515    nosideeffect)
3516      # after this tag, mechanisms are not by side-effect, so they'll
3517      # only be used when explicitly requested
3518      if test "x$enable_dependency_tracking" = xyes; then
3519	continue
3520      else
3521	break
3522      fi
3523      ;;
3524    msvisualcpp | msvcmsys)
3525      # This compiler won't grok `-c -o', but also, the minuso test has
3526      # not run yet.  These depmodes are late enough in the game, and
3527      # so weak that their functioning should not be impacted.
3528      am__obj=conftest.${OBJEXT-o}
3529      am__minus_obj=
3530      ;;
3531    none) break ;;
3532    esac
3533    if depmode=$depmode \
3534       source=sub/conftest.c object=$am__obj \
3535       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3536       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3537         >/dev/null 2>conftest.err &&
3538       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3539       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3540       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3541       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3542      # icc doesn't choke on unknown options, it will just issue warnings
3543      # or remarks (even with -Werror).  So we grep stderr for any message
3544      # that says an option was ignored or not supported.
3545      # When given -MP, icc 7.0 and 7.1 complain thusly:
3546      #   icc: Command line warning: ignoring option '-M'; no argument required
3547      # The diagnosis changed in icc 8.0:
3548      #   icc: Command line remark: option '-MP' not supported
3549      if (grep 'ignoring option' conftest.err ||
3550          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3551        am_cv_CC_dependencies_compiler_type=$depmode
3552        break
3553      fi
3554    fi
3555  done
3556
3557  cd ..
3558  rm -rf conftest.dir
3559else
3560  am_cv_CC_dependencies_compiler_type=none
3561fi
3562
3563fi
3564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3565$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3566CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3567
3568 if
3569  test "x$enable_dependency_tracking" != xno \
3570  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3571  am__fastdepCC_TRUE=
3572  am__fastdepCC_FALSE='#'
3573else
3574  am__fastdepCC_TRUE='#'
3575  am__fastdepCC_FALSE=
3576fi
3577
3578
3579ac_ext=c
3580ac_cpp='$CPP $CPPFLAGS'
3581ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3582ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3583ac_compiler_gnu=$ac_cv_c_compiler_gnu
3584if test -n "$ac_tool_prefix"; then
3585  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3586set dummy ${ac_tool_prefix}gcc; ac_word=$2
3587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3588$as_echo_n "checking for $ac_word... " >&6; }
3589if ${ac_cv_prog_CC+:} false; then :
3590  $as_echo_n "(cached) " >&6
3591else
3592  if test -n "$CC"; then
3593  ac_cv_prog_CC="$CC" # Let the user override the test.
3594else
3595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3596for as_dir in $PATH
3597do
3598  IFS=$as_save_IFS
3599  test -z "$as_dir" && as_dir=.
3600    for ac_exec_ext in '' $ac_executable_extensions; do
3601  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3602    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3603    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3604    break 2
3605  fi
3606done
3607  done
3608IFS=$as_save_IFS
3609
3610fi
3611fi
3612CC=$ac_cv_prog_CC
3613if test -n "$CC"; then
3614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3615$as_echo "$CC" >&6; }
3616else
3617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618$as_echo "no" >&6; }
3619fi
3620
3621
3622fi
3623if test -z "$ac_cv_prog_CC"; then
3624  ac_ct_CC=$CC
3625  # Extract the first word of "gcc", so it can be a program name with args.
3626set dummy gcc; ac_word=$2
3627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3628$as_echo_n "checking for $ac_word... " >&6; }
3629if ${ac_cv_prog_ac_ct_CC+:} false; then :
3630  $as_echo_n "(cached) " >&6
3631else
3632  if test -n "$ac_ct_CC"; then
3633  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3634else
3635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3636for as_dir in $PATH
3637do
3638  IFS=$as_save_IFS
3639  test -z "$as_dir" && as_dir=.
3640    for ac_exec_ext in '' $ac_executable_extensions; do
3641  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3642    ac_cv_prog_ac_ct_CC="gcc"
3643    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644    break 2
3645  fi
3646done
3647  done
3648IFS=$as_save_IFS
3649
3650fi
3651fi
3652ac_ct_CC=$ac_cv_prog_ac_ct_CC
3653if test -n "$ac_ct_CC"; then
3654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3655$as_echo "$ac_ct_CC" >&6; }
3656else
3657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3658$as_echo "no" >&6; }
3659fi
3660
3661  if test "x$ac_ct_CC" = x; then
3662    CC=""
3663  else
3664    case $cross_compiling:$ac_tool_warned in
3665yes:)
3666{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3667$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3668ac_tool_warned=yes ;;
3669esac
3670    CC=$ac_ct_CC
3671  fi
3672else
3673  CC="$ac_cv_prog_CC"
3674fi
3675
3676if test -z "$CC"; then
3677          if test -n "$ac_tool_prefix"; then
3678    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3679set dummy ${ac_tool_prefix}cc; ac_word=$2
3680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3681$as_echo_n "checking for $ac_word... " >&6; }
3682if ${ac_cv_prog_CC+:} false; then :
3683  $as_echo_n "(cached) " >&6
3684else
3685  if test -n "$CC"; then
3686  ac_cv_prog_CC="$CC" # Let the user override the test.
3687else
3688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3689for as_dir in $PATH
3690do
3691  IFS=$as_save_IFS
3692  test -z "$as_dir" && as_dir=.
3693    for ac_exec_ext in '' $ac_executable_extensions; do
3694  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3695    ac_cv_prog_CC="${ac_tool_prefix}cc"
3696    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3697    break 2
3698  fi
3699done
3700  done
3701IFS=$as_save_IFS
3702
3703fi
3704fi
3705CC=$ac_cv_prog_CC
3706if test -n "$CC"; then
3707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3708$as_echo "$CC" >&6; }
3709else
3710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3711$as_echo "no" >&6; }
3712fi
3713
3714
3715  fi
3716fi
3717if test -z "$CC"; then
3718  # Extract the first word of "cc", so it can be a program name with args.
3719set dummy cc; ac_word=$2
3720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3721$as_echo_n "checking for $ac_word... " >&6; }
3722if ${ac_cv_prog_CC+:} false; then :
3723  $as_echo_n "(cached) " >&6
3724else
3725  if test -n "$CC"; then
3726  ac_cv_prog_CC="$CC" # Let the user override the test.
3727else
3728  ac_prog_rejected=no
3729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730for as_dir in $PATH
3731do
3732  IFS=$as_save_IFS
3733  test -z "$as_dir" && as_dir=.
3734    for ac_exec_ext in '' $ac_executable_extensions; do
3735  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3736    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3737       ac_prog_rejected=yes
3738       continue
3739     fi
3740    ac_cv_prog_CC="cc"
3741    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3742    break 2
3743  fi
3744done
3745  done
3746IFS=$as_save_IFS
3747
3748if test $ac_prog_rejected = yes; then
3749  # We found a bogon in the path, so make sure we never use it.
3750  set dummy $ac_cv_prog_CC
3751  shift
3752  if test $# != 0; then
3753    # We chose a different compiler from the bogus one.
3754    # However, it has the same basename, so the bogon will be chosen
3755    # first if we set CC to just the basename; use the full file name.
3756    shift
3757    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3758  fi
3759fi
3760fi
3761fi
3762CC=$ac_cv_prog_CC
3763if test -n "$CC"; then
3764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3765$as_echo "$CC" >&6; }
3766else
3767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768$as_echo "no" >&6; }
3769fi
3770
3771
3772fi
3773if test -z "$CC"; then
3774  if test -n "$ac_tool_prefix"; then
3775  for ac_prog in cl.exe
3776  do
3777    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3778set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3780$as_echo_n "checking for $ac_word... " >&6; }
3781if ${ac_cv_prog_CC+:} false; then :
3782  $as_echo_n "(cached) " >&6
3783else
3784  if test -n "$CC"; then
3785  ac_cv_prog_CC="$CC" # Let the user override the test.
3786else
3787as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788for as_dir in $PATH
3789do
3790  IFS=$as_save_IFS
3791  test -z "$as_dir" && as_dir=.
3792    for ac_exec_ext in '' $ac_executable_extensions; do
3793  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3794    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3795    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796    break 2
3797  fi
3798done
3799  done
3800IFS=$as_save_IFS
3801
3802fi
3803fi
3804CC=$ac_cv_prog_CC
3805if test -n "$CC"; then
3806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3807$as_echo "$CC" >&6; }
3808else
3809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3810$as_echo "no" >&6; }
3811fi
3812
3813
3814    test -n "$CC" && break
3815  done
3816fi
3817if test -z "$CC"; then
3818  ac_ct_CC=$CC
3819  for ac_prog in cl.exe
3820do
3821  # Extract the first word of "$ac_prog", so it can be a program name with args.
3822set dummy $ac_prog; ac_word=$2
3823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3824$as_echo_n "checking for $ac_word... " >&6; }
3825if ${ac_cv_prog_ac_ct_CC+:} false; then :
3826  $as_echo_n "(cached) " >&6
3827else
3828  if test -n "$ac_ct_CC"; then
3829  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3830else
3831as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3832for as_dir in $PATH
3833do
3834  IFS=$as_save_IFS
3835  test -z "$as_dir" && as_dir=.
3836    for ac_exec_ext in '' $ac_executable_extensions; do
3837  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3838    ac_cv_prog_ac_ct_CC="$ac_prog"
3839    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840    break 2
3841  fi
3842done
3843  done
3844IFS=$as_save_IFS
3845
3846fi
3847fi
3848ac_ct_CC=$ac_cv_prog_ac_ct_CC
3849if test -n "$ac_ct_CC"; then
3850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3851$as_echo "$ac_ct_CC" >&6; }
3852else
3853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3854$as_echo "no" >&6; }
3855fi
3856
3857
3858  test -n "$ac_ct_CC" && break
3859done
3860
3861  if test "x$ac_ct_CC" = x; then
3862    CC=""
3863  else
3864    case $cross_compiling:$ac_tool_warned in
3865yes:)
3866{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3867$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3868ac_tool_warned=yes ;;
3869esac
3870    CC=$ac_ct_CC
3871  fi
3872fi
3873
3874fi
3875
3876
3877test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3878$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3879as_fn_error $? "no acceptable C compiler found in \$PATH
3880See \`config.log' for more details" "$LINENO" 5; }
3881
3882# Provide some information about the compiler.
3883$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3884set X $ac_compile
3885ac_compiler=$2
3886for ac_option in --version -v -V -qversion; do
3887  { { ac_try="$ac_compiler $ac_option >&5"
3888case "(($ac_try" in
3889  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3890  *) ac_try_echo=$ac_try;;
3891esac
3892eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3893$as_echo "$ac_try_echo"; } >&5
3894  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3895  ac_status=$?
3896  if test -s conftest.err; then
3897    sed '10a\
3898... rest of stderr output deleted ...
3899         10q' conftest.err >conftest.er1
3900    cat conftest.er1 >&5
3901  fi
3902  rm -f conftest.er1 conftest.err
3903  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3904  test $ac_status = 0; }
3905done
3906
3907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3908$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3909if ${ac_cv_c_compiler_gnu+:} false; then :
3910  $as_echo_n "(cached) " >&6
3911else
3912  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3913/* end confdefs.h.  */
3914
3915int
3916main ()
3917{
3918#ifndef __GNUC__
3919       choke me
3920#endif
3921
3922  ;
3923  return 0;
3924}
3925_ACEOF
3926if ac_fn_c_try_compile "$LINENO"; then :
3927  ac_compiler_gnu=yes
3928else
3929  ac_compiler_gnu=no
3930fi
3931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3932ac_cv_c_compiler_gnu=$ac_compiler_gnu
3933
3934fi
3935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3936$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3937if test $ac_compiler_gnu = yes; then
3938  GCC=yes
3939else
3940  GCC=
3941fi
3942ac_test_CFLAGS=${CFLAGS+set}
3943ac_save_CFLAGS=$CFLAGS
3944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3945$as_echo_n "checking whether $CC accepts -g... " >&6; }
3946if ${ac_cv_prog_cc_g+:} false; then :
3947  $as_echo_n "(cached) " >&6
3948else
3949  ac_save_c_werror_flag=$ac_c_werror_flag
3950   ac_c_werror_flag=yes
3951   ac_cv_prog_cc_g=no
3952   CFLAGS="-g"
3953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954/* end confdefs.h.  */
3955
3956int
3957main ()
3958{
3959
3960  ;
3961  return 0;
3962}
3963_ACEOF
3964if ac_fn_c_try_compile "$LINENO"; then :
3965  ac_cv_prog_cc_g=yes
3966else
3967  CFLAGS=""
3968      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969/* end confdefs.h.  */
3970
3971int
3972main ()
3973{
3974
3975  ;
3976  return 0;
3977}
3978_ACEOF
3979if ac_fn_c_try_compile "$LINENO"; then :
3980
3981else
3982  ac_c_werror_flag=$ac_save_c_werror_flag
3983	 CFLAGS="-g"
3984	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985/* end confdefs.h.  */
3986
3987int
3988main ()
3989{
3990
3991  ;
3992  return 0;
3993}
3994_ACEOF
3995if ac_fn_c_try_compile "$LINENO"; then :
3996  ac_cv_prog_cc_g=yes
3997fi
3998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3999fi
4000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4001fi
4002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4003   ac_c_werror_flag=$ac_save_c_werror_flag
4004fi
4005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4006$as_echo "$ac_cv_prog_cc_g" >&6; }
4007if test "$ac_test_CFLAGS" = set; then
4008  CFLAGS=$ac_save_CFLAGS
4009elif test $ac_cv_prog_cc_g = yes; then
4010  if test "$GCC" = yes; then
4011    CFLAGS="-g -O2"
4012  else
4013    CFLAGS="-g"
4014  fi
4015else
4016  if test "$GCC" = yes; then
4017    CFLAGS="-O2"
4018  else
4019    CFLAGS=
4020  fi
4021fi
4022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4023$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4024if ${ac_cv_prog_cc_c89+:} false; then :
4025  $as_echo_n "(cached) " >&6
4026else
4027  ac_cv_prog_cc_c89=no
4028ac_save_CC=$CC
4029cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4030/* end confdefs.h.  */
4031#include <stdarg.h>
4032#include <stdio.h>
4033#include <sys/types.h>
4034#include <sys/stat.h>
4035/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4036struct buf { int x; };
4037FILE * (*rcsopen) (struct buf *, struct stat *, int);
4038static char *e (p, i)
4039     char **p;
4040     int i;
4041{
4042  return p[i];
4043}
4044static char *f (char * (*g) (char **, int), char **p, ...)
4045{
4046  char *s;
4047  va_list v;
4048  va_start (v,p);
4049  s = g (p, va_arg (v,int));
4050  va_end (v);
4051  return s;
4052}
4053
4054/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4055   function prototypes and stuff, but not '\xHH' hex character constants.
4056   These don't provoke an error unfortunately, instead are silently treated
4057   as 'x'.  The following induces an error, until -std is added to get
4058   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4059   array size at least.  It's necessary to write '\x00'==0 to get something
4060   that's true only with -std.  */
4061int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4062
4063/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4064   inside strings and character constants.  */
4065#define FOO(x) 'x'
4066int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4067
4068int test (int i, double x);
4069struct s1 {int (*f) (int a);};
4070struct s2 {int (*f) (double a);};
4071int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4072int argc;
4073char **argv;
4074int
4075main ()
4076{
4077return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4078  ;
4079  return 0;
4080}
4081_ACEOF
4082for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4083	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4084do
4085  CC="$ac_save_CC $ac_arg"
4086  if ac_fn_c_try_compile "$LINENO"; then :
4087  ac_cv_prog_cc_c89=$ac_arg
4088fi
4089rm -f core conftest.err conftest.$ac_objext
4090  test "x$ac_cv_prog_cc_c89" != "xno" && break
4091done
4092rm -f conftest.$ac_ext
4093CC=$ac_save_CC
4094
4095fi
4096# AC_CACHE_VAL
4097case "x$ac_cv_prog_cc_c89" in
4098  x)
4099    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4100$as_echo "none needed" >&6; } ;;
4101  xno)
4102    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4103$as_echo "unsupported" >&6; } ;;
4104  *)
4105    CC="$CC $ac_cv_prog_cc_c89"
4106    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4107$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4108esac
4109if test "x$ac_cv_prog_cc_c89" != xno; then :
4110
4111fi
4112
4113ac_ext=c
4114ac_cpp='$CPP $CPPFLAGS'
4115ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4116ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4117ac_compiler_gnu=$ac_cv_c_compiler_gnu
4118
4119depcc="$CC"   am_compiler_list=
4120
4121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4122$as_echo_n "checking dependency style of $depcc... " >&6; }
4123if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4124  $as_echo_n "(cached) " >&6
4125else
4126  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4127  # We make a subdir and do the tests there.  Otherwise we can end up
4128  # making bogus files that we don't know about and never remove.  For
4129  # instance it was reported that on HP-UX the gcc test will end up
4130  # making a dummy file named `D' -- because `-MD' means `put the output
4131  # in D'.
4132  mkdir conftest.dir
4133  # Copy depcomp to subdir because otherwise we won't find it if we're
4134  # using a relative directory.
4135  cp "$am_depcomp" conftest.dir
4136  cd conftest.dir
4137  # We will build objects and dependencies in a subdirectory because
4138  # it helps to detect inapplicable dependency modes.  For instance
4139  # both Tru64's cc and ICC support -MD to output dependencies as a
4140  # side effect of compilation, but ICC will put the dependencies in
4141  # the current directory while Tru64 will put them in the object
4142  # directory.
4143  mkdir sub
4144
4145  am_cv_CC_dependencies_compiler_type=none
4146  if test "$am_compiler_list" = ""; then
4147     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4148  fi
4149  am__universal=false
4150  case " $depcc " in #(
4151     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4152     esac
4153
4154  for depmode in $am_compiler_list; do
4155    # Setup a source with many dependencies, because some compilers
4156    # like to wrap large dependency lists on column 80 (with \), and
4157    # we should not choose a depcomp mode which is confused by this.
4158    #
4159    # We need to recreate these files for each test, as the compiler may
4160    # overwrite some of them when testing with obscure command lines.
4161    # This happens at least with the AIX C compiler.
4162    : > sub/conftest.c
4163    for i in 1 2 3 4 5 6; do
4164      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4165      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4166      # Solaris 8's {/usr,}/bin/sh.
4167      touch sub/conftst$i.h
4168    done
4169    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4170
4171    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4172    # mode.  It turns out that the SunPro C++ compiler does not properly
4173    # handle `-M -o', and we need to detect this.  Also, some Intel
4174    # versions had trouble with output in subdirs
4175    am__obj=sub/conftest.${OBJEXT-o}
4176    am__minus_obj="-o $am__obj"
4177    case $depmode in
4178    gcc)
4179      # This depmode causes a compiler race in universal mode.
4180      test "$am__universal" = false || continue
4181      ;;
4182    nosideeffect)
4183      # after this tag, mechanisms are not by side-effect, so they'll
4184      # only be used when explicitly requested
4185      if test "x$enable_dependency_tracking" = xyes; then
4186	continue
4187      else
4188	break
4189      fi
4190      ;;
4191    msvisualcpp | msvcmsys)
4192      # This compiler won't grok `-c -o', but also, the minuso test has
4193      # not run yet.  These depmodes are late enough in the game, and
4194      # so weak that their functioning should not be impacted.
4195      am__obj=conftest.${OBJEXT-o}
4196      am__minus_obj=
4197      ;;
4198    none) break ;;
4199    esac
4200    if depmode=$depmode \
4201       source=sub/conftest.c object=$am__obj \
4202       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4203       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4204         >/dev/null 2>conftest.err &&
4205       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4206       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4207       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4208       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4209      # icc doesn't choke on unknown options, it will just issue warnings
4210      # or remarks (even with -Werror).  So we grep stderr for any message
4211      # that says an option was ignored or not supported.
4212      # When given -MP, icc 7.0 and 7.1 complain thusly:
4213      #   icc: Command line warning: ignoring option '-M'; no argument required
4214      # The diagnosis changed in icc 8.0:
4215      #   icc: Command line remark: option '-MP' not supported
4216      if (grep 'ignoring option' conftest.err ||
4217          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4218        am_cv_CC_dependencies_compiler_type=$depmode
4219        break
4220      fi
4221    fi
4222  done
4223
4224  cd ..
4225  rm -rf conftest.dir
4226else
4227  am_cv_CC_dependencies_compiler_type=none
4228fi
4229
4230fi
4231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4232$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4233CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4234
4235 if
4236  test "x$enable_dependency_tracking" != xno \
4237  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4238  am__fastdepCC_TRUE=
4239  am__fastdepCC_FALSE='#'
4240else
4241  am__fastdepCC_TRUE='#'
4242  am__fastdepCC_FALSE=
4243fi
4244
4245
4246
4247am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4248
4249# Make sure we can run config.sub.
4250$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4251  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4252
4253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4254$as_echo_n "checking build system type... " >&6; }
4255if ${ac_cv_build+:} false; then :
4256  $as_echo_n "(cached) " >&6
4257else
4258  ac_build_alias=$build_alias
4259test "x$ac_build_alias" = x &&
4260  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4261test "x$ac_build_alias" = x &&
4262  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4263ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4264  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4265
4266fi
4267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4268$as_echo "$ac_cv_build" >&6; }
4269case $ac_cv_build in
4270*-*-*) ;;
4271*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4272esac
4273build=$ac_cv_build
4274ac_save_IFS=$IFS; IFS='-'
4275set x $ac_cv_build
4276shift
4277build_cpu=$1
4278build_vendor=$2
4279shift; shift
4280# Remember, the first character of IFS is used to create $*,
4281# except with old shells:
4282build_os=$*
4283IFS=$ac_save_IFS
4284case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4285
4286
4287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4288$as_echo_n "checking host system type... " >&6; }
4289if ${ac_cv_host+:} false; then :
4290  $as_echo_n "(cached) " >&6
4291else
4292  if test "x$host_alias" = x; then
4293  ac_cv_host=$ac_cv_build
4294else
4295  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4296    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4297fi
4298
4299fi
4300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4301$as_echo "$ac_cv_host" >&6; }
4302case $ac_cv_host in
4303*-*-*) ;;
4304*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4305esac
4306host=$ac_cv_host
4307ac_save_IFS=$IFS; IFS='-'
4308set x $ac_cv_host
4309shift
4310host_cpu=$1
4311host_vendor=$2
4312shift; shift
4313# Remember, the first character of IFS is used to create $*,
4314# except with old shells:
4315host_os=$*
4316IFS=$ac_save_IFS
4317case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4318
4319
4320enable_win32_dll=yes
4321
4322case $host in
4323*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4324  if test -n "$ac_tool_prefix"; then
4325  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4326set dummy ${ac_tool_prefix}as; ac_word=$2
4327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4328$as_echo_n "checking for $ac_word... " >&6; }
4329if ${ac_cv_prog_AS+:} false; then :
4330  $as_echo_n "(cached) " >&6
4331else
4332  if test -n "$AS"; then
4333  ac_cv_prog_AS="$AS" # Let the user override the test.
4334else
4335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4336for as_dir in $PATH
4337do
4338  IFS=$as_save_IFS
4339  test -z "$as_dir" && as_dir=.
4340    for ac_exec_ext in '' $ac_executable_extensions; do
4341  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4342    ac_cv_prog_AS="${ac_tool_prefix}as"
4343    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4344    break 2
4345  fi
4346done
4347  done
4348IFS=$as_save_IFS
4349
4350fi
4351fi
4352AS=$ac_cv_prog_AS
4353if test -n "$AS"; then
4354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4355$as_echo "$AS" >&6; }
4356else
4357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4358$as_echo "no" >&6; }
4359fi
4360
4361
4362fi
4363if test -z "$ac_cv_prog_AS"; then
4364  ac_ct_AS=$AS
4365  # Extract the first word of "as", so it can be a program name with args.
4366set dummy as; ac_word=$2
4367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4368$as_echo_n "checking for $ac_word... " >&6; }
4369if ${ac_cv_prog_ac_ct_AS+:} false; then :
4370  $as_echo_n "(cached) " >&6
4371else
4372  if test -n "$ac_ct_AS"; then
4373  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4374else
4375as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4376for as_dir in $PATH
4377do
4378  IFS=$as_save_IFS
4379  test -z "$as_dir" && as_dir=.
4380    for ac_exec_ext in '' $ac_executable_extensions; do
4381  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4382    ac_cv_prog_ac_ct_AS="as"
4383    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4384    break 2
4385  fi
4386done
4387  done
4388IFS=$as_save_IFS
4389
4390fi
4391fi
4392ac_ct_AS=$ac_cv_prog_ac_ct_AS
4393if test -n "$ac_ct_AS"; then
4394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4395$as_echo "$ac_ct_AS" >&6; }
4396else
4397  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4398$as_echo "no" >&6; }
4399fi
4400
4401  if test "x$ac_ct_AS" = x; then
4402    AS="false"
4403  else
4404    case $cross_compiling:$ac_tool_warned in
4405yes:)
4406{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4407$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4408ac_tool_warned=yes ;;
4409esac
4410    AS=$ac_ct_AS
4411  fi
4412else
4413  AS="$ac_cv_prog_AS"
4414fi
4415
4416  if test -n "$ac_tool_prefix"; then
4417  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4418set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4420$as_echo_n "checking for $ac_word... " >&6; }
4421if ${ac_cv_prog_DLLTOOL+:} false; then :
4422  $as_echo_n "(cached) " >&6
4423else
4424  if test -n "$DLLTOOL"; then
4425  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4426else
4427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4428for as_dir in $PATH
4429do
4430  IFS=$as_save_IFS
4431  test -z "$as_dir" && as_dir=.
4432    for ac_exec_ext in '' $ac_executable_extensions; do
4433  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4434    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4435    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436    break 2
4437  fi
4438done
4439  done
4440IFS=$as_save_IFS
4441
4442fi
4443fi
4444DLLTOOL=$ac_cv_prog_DLLTOOL
4445if test -n "$DLLTOOL"; then
4446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4447$as_echo "$DLLTOOL" >&6; }
4448else
4449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4450$as_echo "no" >&6; }
4451fi
4452
4453
4454fi
4455if test -z "$ac_cv_prog_DLLTOOL"; then
4456  ac_ct_DLLTOOL=$DLLTOOL
4457  # Extract the first word of "dlltool", so it can be a program name with args.
4458set dummy dlltool; ac_word=$2
4459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4460$as_echo_n "checking for $ac_word... " >&6; }
4461if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4462  $as_echo_n "(cached) " >&6
4463else
4464  if test -n "$ac_ct_DLLTOOL"; then
4465  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4466else
4467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468for as_dir in $PATH
4469do
4470  IFS=$as_save_IFS
4471  test -z "$as_dir" && as_dir=.
4472    for ac_exec_ext in '' $ac_executable_extensions; do
4473  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4474    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4475    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4476    break 2
4477  fi
4478done
4479  done
4480IFS=$as_save_IFS
4481
4482fi
4483fi
4484ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4485if test -n "$ac_ct_DLLTOOL"; then
4486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4487$as_echo "$ac_ct_DLLTOOL" >&6; }
4488else
4489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4490$as_echo "no" >&6; }
4491fi
4492
4493  if test "x$ac_ct_DLLTOOL" = x; then
4494    DLLTOOL="false"
4495  else
4496    case $cross_compiling:$ac_tool_warned in
4497yes:)
4498{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4499$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4500ac_tool_warned=yes ;;
4501esac
4502    DLLTOOL=$ac_ct_DLLTOOL
4503  fi
4504else
4505  DLLTOOL="$ac_cv_prog_DLLTOOL"
4506fi
4507
4508  if test -n "$ac_tool_prefix"; then
4509  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4510set dummy ${ac_tool_prefix}objdump; ac_word=$2
4511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4512$as_echo_n "checking for $ac_word... " >&6; }
4513if ${ac_cv_prog_OBJDUMP+:} false; then :
4514  $as_echo_n "(cached) " >&6
4515else
4516  if test -n "$OBJDUMP"; then
4517  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4518else
4519as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4520for as_dir in $PATH
4521do
4522  IFS=$as_save_IFS
4523  test -z "$as_dir" && as_dir=.
4524    for ac_exec_ext in '' $ac_executable_extensions; do
4525  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4526    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4527    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4528    break 2
4529  fi
4530done
4531  done
4532IFS=$as_save_IFS
4533
4534fi
4535fi
4536OBJDUMP=$ac_cv_prog_OBJDUMP
4537if test -n "$OBJDUMP"; then
4538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4539$as_echo "$OBJDUMP" >&6; }
4540else
4541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4542$as_echo "no" >&6; }
4543fi
4544
4545
4546fi
4547if test -z "$ac_cv_prog_OBJDUMP"; then
4548  ac_ct_OBJDUMP=$OBJDUMP
4549  # Extract the first word of "objdump", so it can be a program name with args.
4550set dummy objdump; ac_word=$2
4551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4552$as_echo_n "checking for $ac_word... " >&6; }
4553if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4554  $as_echo_n "(cached) " >&6
4555else
4556  if test -n "$ac_ct_OBJDUMP"; then
4557  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4558else
4559as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560for as_dir in $PATH
4561do
4562  IFS=$as_save_IFS
4563  test -z "$as_dir" && as_dir=.
4564    for ac_exec_ext in '' $ac_executable_extensions; do
4565  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4566    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4567    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4568    break 2
4569  fi
4570done
4571  done
4572IFS=$as_save_IFS
4573
4574fi
4575fi
4576ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4577if test -n "$ac_ct_OBJDUMP"; then
4578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4579$as_echo "$ac_ct_OBJDUMP" >&6; }
4580else
4581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4582$as_echo "no" >&6; }
4583fi
4584
4585  if test "x$ac_ct_OBJDUMP" = x; then
4586    OBJDUMP="false"
4587  else
4588    case $cross_compiling:$ac_tool_warned in
4589yes:)
4590{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4591$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4592ac_tool_warned=yes ;;
4593esac
4594    OBJDUMP=$ac_ct_OBJDUMP
4595  fi
4596else
4597  OBJDUMP="$ac_cv_prog_OBJDUMP"
4598fi
4599
4600  ;;
4601esac
4602
4603test -z "$AS" && AS=as
4604
4605
4606
4607
4608
4609test -z "$DLLTOOL" && DLLTOOL=dlltool
4610
4611
4612
4613
4614
4615test -z "$OBJDUMP" && OBJDUMP=objdump
4616
4617
4618
4619
4620
4621
4622
4623case `pwd` in
4624  *\ * | *\	*)
4625    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4626$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4627esac
4628
4629
4630
4631macro_version='2.4'
4632macro_revision='1.3293'
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646ltmain="$ac_aux_dir/ltmain.sh"
4647
4648# Backslashify metacharacters that are still active within
4649# double-quoted strings.
4650sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4651
4652# Same as above, but do not quote variable references.
4653double_quote_subst='s/\(["`\\]\)/\\\1/g'
4654
4655# Sed substitution to delay expansion of an escaped shell variable in a
4656# double_quote_subst'ed string.
4657delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4658
4659# Sed substitution to delay expansion of an escaped single quote.
4660delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4661
4662# Sed substitution to avoid accidental globbing in evaled expressions
4663no_glob_subst='s/\*/\\\*/g'
4664
4665ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4666ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4667ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4668
4669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4670$as_echo_n "checking how to print strings... " >&6; }
4671# Test print first, because it will be a builtin if present.
4672if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4673   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4674  ECHO='print -r --'
4675elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4676  ECHO='printf %s\n'
4677else
4678  # Use this function as a fallback that always works.
4679  func_fallback_echo ()
4680  {
4681    eval 'cat <<_LTECHO_EOF
4682$1
4683_LTECHO_EOF'
4684  }
4685  ECHO='func_fallback_echo'
4686fi
4687
4688# func_echo_all arg...
4689# Invoke $ECHO with all args, space-separated.
4690func_echo_all ()
4691{
4692    $ECHO ""
4693}
4694
4695case "$ECHO" in
4696  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4697$as_echo "printf" >&6; } ;;
4698  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4699$as_echo "print -r" >&6; } ;;
4700  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4701$as_echo "cat" >&6; } ;;
4702esac
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4718$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4719if ${ac_cv_path_SED+:} false; then :
4720  $as_echo_n "(cached) " >&6
4721else
4722            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4723     for ac_i in 1 2 3 4 5 6 7; do
4724       ac_script="$ac_script$as_nl$ac_script"
4725     done
4726     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4727     { ac_script=; unset ac_script;}
4728     if test -z "$SED"; then
4729  ac_path_SED_found=false
4730  # Loop through the user's path and test for each of PROGNAME-LIST
4731  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4732for as_dir in $PATH
4733do
4734  IFS=$as_save_IFS
4735  test -z "$as_dir" && as_dir=.
4736    for ac_prog in sed gsed; do
4737    for ac_exec_ext in '' $ac_executable_extensions; do
4738      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4739      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4740# Check for GNU ac_path_SED and select it if it is found.
4741  # Check for GNU $ac_path_SED
4742case `"$ac_path_SED" --version 2>&1` in
4743*GNU*)
4744  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4745*)
4746  ac_count=0
4747  $as_echo_n 0123456789 >"conftest.in"
4748  while :
4749  do
4750    cat "conftest.in" "conftest.in" >"conftest.tmp"
4751    mv "conftest.tmp" "conftest.in"
4752    cp "conftest.in" "conftest.nl"
4753    $as_echo '' >> "conftest.nl"
4754    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4755    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4756    as_fn_arith $ac_count + 1 && ac_count=$as_val
4757    if test $ac_count -gt ${ac_path_SED_max-0}; then
4758      # Best one so far, save it but keep looking for a better one
4759      ac_cv_path_SED="$ac_path_SED"
4760      ac_path_SED_max=$ac_count
4761    fi
4762    # 10*(2^10) chars as input seems more than enough
4763    test $ac_count -gt 10 && break
4764  done
4765  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4766esac
4767
4768      $ac_path_SED_found && break 3
4769    done
4770  done
4771  done
4772IFS=$as_save_IFS
4773  if test -z "$ac_cv_path_SED"; then
4774    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4775  fi
4776else
4777  ac_cv_path_SED=$SED
4778fi
4779
4780fi
4781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4782$as_echo "$ac_cv_path_SED" >&6; }
4783 SED="$ac_cv_path_SED"
4784  rm -f conftest.sed
4785
4786test -z "$SED" && SED=sed
4787Xsed="$SED -e 1s/^X//"
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4800$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4801if ${ac_cv_path_GREP+:} false; then :
4802  $as_echo_n "(cached) " >&6
4803else
4804  if test -z "$GREP"; then
4805  ac_path_GREP_found=false
4806  # Loop through the user's path and test for each of PROGNAME-LIST
4807  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4808for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4809do
4810  IFS=$as_save_IFS
4811  test -z "$as_dir" && as_dir=.
4812    for ac_prog in grep ggrep; do
4813    for ac_exec_ext in '' $ac_executable_extensions; do
4814      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4815      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4816# Check for GNU ac_path_GREP and select it if it is found.
4817  # Check for GNU $ac_path_GREP
4818case `"$ac_path_GREP" --version 2>&1` in
4819*GNU*)
4820  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4821*)
4822  ac_count=0
4823  $as_echo_n 0123456789 >"conftest.in"
4824  while :
4825  do
4826    cat "conftest.in" "conftest.in" >"conftest.tmp"
4827    mv "conftest.tmp" "conftest.in"
4828    cp "conftest.in" "conftest.nl"
4829    $as_echo 'GREP' >> "conftest.nl"
4830    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4831    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4832    as_fn_arith $ac_count + 1 && ac_count=$as_val
4833    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4834      # Best one so far, save it but keep looking for a better one
4835      ac_cv_path_GREP="$ac_path_GREP"
4836      ac_path_GREP_max=$ac_count
4837    fi
4838    # 10*(2^10) chars as input seems more than enough
4839    test $ac_count -gt 10 && break
4840  done
4841  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4842esac
4843
4844      $ac_path_GREP_found && break 3
4845    done
4846  done
4847  done
4848IFS=$as_save_IFS
4849  if test -z "$ac_cv_path_GREP"; then
4850    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4851  fi
4852else
4853  ac_cv_path_GREP=$GREP
4854fi
4855
4856fi
4857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4858$as_echo "$ac_cv_path_GREP" >&6; }
4859 GREP="$ac_cv_path_GREP"
4860
4861
4862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4863$as_echo_n "checking for egrep... " >&6; }
4864if ${ac_cv_path_EGREP+:} false; then :
4865  $as_echo_n "(cached) " >&6
4866else
4867  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4868   then ac_cv_path_EGREP="$GREP -E"
4869   else
4870     if test -z "$EGREP"; then
4871  ac_path_EGREP_found=false
4872  # Loop through the user's path and test for each of PROGNAME-LIST
4873  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4875do
4876  IFS=$as_save_IFS
4877  test -z "$as_dir" && as_dir=.
4878    for ac_prog in egrep; do
4879    for ac_exec_ext in '' $ac_executable_extensions; do
4880      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4881      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4882# Check for GNU ac_path_EGREP and select it if it is found.
4883  # Check for GNU $ac_path_EGREP
4884case `"$ac_path_EGREP" --version 2>&1` in
4885*GNU*)
4886  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4887*)
4888  ac_count=0
4889  $as_echo_n 0123456789 >"conftest.in"
4890  while :
4891  do
4892    cat "conftest.in" "conftest.in" >"conftest.tmp"
4893    mv "conftest.tmp" "conftest.in"
4894    cp "conftest.in" "conftest.nl"
4895    $as_echo 'EGREP' >> "conftest.nl"
4896    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4897    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4898    as_fn_arith $ac_count + 1 && ac_count=$as_val
4899    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4900      # Best one so far, save it but keep looking for a better one
4901      ac_cv_path_EGREP="$ac_path_EGREP"
4902      ac_path_EGREP_max=$ac_count
4903    fi
4904    # 10*(2^10) chars as input seems more than enough
4905    test $ac_count -gt 10 && break
4906  done
4907  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4908esac
4909
4910      $ac_path_EGREP_found && break 3
4911    done
4912  done
4913  done
4914IFS=$as_save_IFS
4915  if test -z "$ac_cv_path_EGREP"; then
4916    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4917  fi
4918else
4919  ac_cv_path_EGREP=$EGREP
4920fi
4921
4922   fi
4923fi
4924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4925$as_echo "$ac_cv_path_EGREP" >&6; }
4926 EGREP="$ac_cv_path_EGREP"
4927
4928
4929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4930$as_echo_n "checking for fgrep... " >&6; }
4931if ${ac_cv_path_FGREP+:} false; then :
4932  $as_echo_n "(cached) " >&6
4933else
4934  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4935   then ac_cv_path_FGREP="$GREP -F"
4936   else
4937     if test -z "$FGREP"; then
4938  ac_path_FGREP_found=false
4939  # Loop through the user's path and test for each of PROGNAME-LIST
4940  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4941for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4942do
4943  IFS=$as_save_IFS
4944  test -z "$as_dir" && as_dir=.
4945    for ac_prog in fgrep; do
4946    for ac_exec_ext in '' $ac_executable_extensions; do
4947      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4948      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4949# Check for GNU ac_path_FGREP and select it if it is found.
4950  # Check for GNU $ac_path_FGREP
4951case `"$ac_path_FGREP" --version 2>&1` in
4952*GNU*)
4953  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4954*)
4955  ac_count=0
4956  $as_echo_n 0123456789 >"conftest.in"
4957  while :
4958  do
4959    cat "conftest.in" "conftest.in" >"conftest.tmp"
4960    mv "conftest.tmp" "conftest.in"
4961    cp "conftest.in" "conftest.nl"
4962    $as_echo 'FGREP' >> "conftest.nl"
4963    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4964    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4965    as_fn_arith $ac_count + 1 && ac_count=$as_val
4966    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4967      # Best one so far, save it but keep looking for a better one
4968      ac_cv_path_FGREP="$ac_path_FGREP"
4969      ac_path_FGREP_max=$ac_count
4970    fi
4971    # 10*(2^10) chars as input seems more than enough
4972    test $ac_count -gt 10 && break
4973  done
4974  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4975esac
4976
4977      $ac_path_FGREP_found && break 3
4978    done
4979  done
4980  done
4981IFS=$as_save_IFS
4982  if test -z "$ac_cv_path_FGREP"; then
4983    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4984  fi
4985else
4986  ac_cv_path_FGREP=$FGREP
4987fi
4988
4989   fi
4990fi
4991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4992$as_echo "$ac_cv_path_FGREP" >&6; }
4993 FGREP="$ac_cv_path_FGREP"
4994
4995
4996test -z "$GREP" && GREP=grep
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016# Check whether --with-gnu-ld was given.
5017if test "${with_gnu_ld+set}" = set; then :
5018  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5019else
5020  with_gnu_ld=no
5021fi
5022
5023ac_prog=ld
5024if test "$GCC" = yes; then
5025  # Check if gcc -print-prog-name=ld gives a path.
5026  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5027$as_echo_n "checking for ld used by $CC... " >&6; }
5028  case $host in
5029  *-*-mingw*)
5030    # gcc leaves a trailing carriage return which upsets mingw
5031    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5032  *)
5033    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5034  esac
5035  case $ac_prog in
5036    # Accept absolute paths.
5037    [\\/]* | ?:[\\/]*)
5038      re_direlt='/[^/][^/]*/\.\./'
5039      # Canonicalize the pathname of ld
5040      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5041      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5042	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5043      done
5044      test -z "$LD" && LD="$ac_prog"
5045      ;;
5046  "")
5047    # If it fails, then pretend we aren't using GCC.
5048    ac_prog=ld
5049    ;;
5050  *)
5051    # If it is relative, then search for the first ld in PATH.
5052    with_gnu_ld=unknown
5053    ;;
5054  esac
5055elif test "$with_gnu_ld" = yes; then
5056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5057$as_echo_n "checking for GNU ld... " >&6; }
5058else
5059  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5060$as_echo_n "checking for non-GNU ld... " >&6; }
5061fi
5062if ${lt_cv_path_LD+:} false; then :
5063  $as_echo_n "(cached) " >&6
5064else
5065  if test -z "$LD"; then
5066  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5067  for ac_dir in $PATH; do
5068    IFS="$lt_save_ifs"
5069    test -z "$ac_dir" && ac_dir=.
5070    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5071      lt_cv_path_LD="$ac_dir/$ac_prog"
5072      # Check to see if the program is GNU ld.  I'd rather use --version,
5073      # but apparently some variants of GNU ld only accept -v.
5074      # Break only if it was the GNU/non-GNU ld that we prefer.
5075      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5076      *GNU* | *'with BFD'*)
5077	test "$with_gnu_ld" != no && break
5078	;;
5079      *)
5080	test "$with_gnu_ld" != yes && break
5081	;;
5082      esac
5083    fi
5084  done
5085  IFS="$lt_save_ifs"
5086else
5087  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5088fi
5089fi
5090
5091LD="$lt_cv_path_LD"
5092if test -n "$LD"; then
5093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5094$as_echo "$LD" >&6; }
5095else
5096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097$as_echo "no" >&6; }
5098fi
5099test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5101$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5102if ${lt_cv_prog_gnu_ld+:} false; then :
5103  $as_echo_n "(cached) " >&6
5104else
5105  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5106case `$LD -v 2>&1 </dev/null` in
5107*GNU* | *'with BFD'*)
5108  lt_cv_prog_gnu_ld=yes
5109  ;;
5110*)
5111  lt_cv_prog_gnu_ld=no
5112  ;;
5113esac
5114fi
5115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5116$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5117with_gnu_ld=$lt_cv_prog_gnu_ld
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5128$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5129if ${lt_cv_path_NM+:} false; then :
5130  $as_echo_n "(cached) " >&6
5131else
5132  if test -n "$NM"; then
5133  # Let the user override the test.
5134  lt_cv_path_NM="$NM"
5135else
5136  lt_nm_to_check="${ac_tool_prefix}nm"
5137  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5138    lt_nm_to_check="$lt_nm_to_check nm"
5139  fi
5140  for lt_tmp_nm in $lt_nm_to_check; do
5141    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5142    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5143      IFS="$lt_save_ifs"
5144      test -z "$ac_dir" && ac_dir=.
5145      tmp_nm="$ac_dir/$lt_tmp_nm"
5146      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5147	# Check to see if the nm accepts a BSD-compat flag.
5148	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5149	#   nm: unknown option "B" ignored
5150	# Tru64's nm complains that /dev/null is an invalid object file
5151	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5152	*/dev/null* | *'Invalid file or object type'*)
5153	  lt_cv_path_NM="$tmp_nm -B"
5154	  break
5155	  ;;
5156	*)
5157	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5158	  */dev/null*)
5159	    lt_cv_path_NM="$tmp_nm -p"
5160	    break
5161	    ;;
5162	  *)
5163	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5164	    continue # so that we can try to find one that supports BSD flags
5165	    ;;
5166	  esac
5167	  ;;
5168	esac
5169      fi
5170    done
5171    IFS="$lt_save_ifs"
5172  done
5173  : ${lt_cv_path_NM=no}
5174fi
5175fi
5176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5177$as_echo "$lt_cv_path_NM" >&6; }
5178if test "$lt_cv_path_NM" != "no"; then
5179  NM="$lt_cv_path_NM"
5180else
5181  # Didn't find any BSD compatible name lister, look for dumpbin.
5182  if test -n "$DUMPBIN"; then :
5183    # Let the user override the test.
5184  else
5185    if test -n "$ac_tool_prefix"; then
5186  for ac_prog in dumpbin "link -dump"
5187  do
5188    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5189set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5191$as_echo_n "checking for $ac_word... " >&6; }
5192if ${ac_cv_prog_DUMPBIN+:} false; then :
5193  $as_echo_n "(cached) " >&6
5194else
5195  if test -n "$DUMPBIN"; then
5196  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5197else
5198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199for as_dir in $PATH
5200do
5201  IFS=$as_save_IFS
5202  test -z "$as_dir" && as_dir=.
5203    for ac_exec_ext in '' $ac_executable_extensions; do
5204  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5205    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5206    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5207    break 2
5208  fi
5209done
5210  done
5211IFS=$as_save_IFS
5212
5213fi
5214fi
5215DUMPBIN=$ac_cv_prog_DUMPBIN
5216if test -n "$DUMPBIN"; then
5217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5218$as_echo "$DUMPBIN" >&6; }
5219else
5220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221$as_echo "no" >&6; }
5222fi
5223
5224
5225    test -n "$DUMPBIN" && break
5226  done
5227fi
5228if test -z "$DUMPBIN"; then
5229  ac_ct_DUMPBIN=$DUMPBIN
5230  for ac_prog in dumpbin "link -dump"
5231do
5232  # Extract the first word of "$ac_prog", so it can be a program name with args.
5233set dummy $ac_prog; ac_word=$2
5234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5235$as_echo_n "checking for $ac_word... " >&6; }
5236if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5237  $as_echo_n "(cached) " >&6
5238else
5239  if test -n "$ac_ct_DUMPBIN"; then
5240  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5241else
5242as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243for as_dir in $PATH
5244do
5245  IFS=$as_save_IFS
5246  test -z "$as_dir" && as_dir=.
5247    for ac_exec_ext in '' $ac_executable_extensions; do
5248  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5249    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5250    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5251    break 2
5252  fi
5253done
5254  done
5255IFS=$as_save_IFS
5256
5257fi
5258fi
5259ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5260if test -n "$ac_ct_DUMPBIN"; then
5261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5262$as_echo "$ac_ct_DUMPBIN" >&6; }
5263else
5264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5265$as_echo "no" >&6; }
5266fi
5267
5268
5269  test -n "$ac_ct_DUMPBIN" && break
5270done
5271
5272  if test "x$ac_ct_DUMPBIN" = x; then
5273    DUMPBIN=":"
5274  else
5275    case $cross_compiling:$ac_tool_warned in
5276yes:)
5277{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5278$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5279ac_tool_warned=yes ;;
5280esac
5281    DUMPBIN=$ac_ct_DUMPBIN
5282  fi
5283fi
5284
5285    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5286    *COFF*)
5287      DUMPBIN="$DUMPBIN -symbols"
5288      ;;
5289    *)
5290      DUMPBIN=:
5291      ;;
5292    esac
5293  fi
5294
5295  if test "$DUMPBIN" != ":"; then
5296    NM="$DUMPBIN"
5297  fi
5298fi
5299test -z "$NM" && NM=nm
5300
5301
5302
5303
5304
5305
5306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5307$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5308if ${lt_cv_nm_interface+:} false; then :
5309  $as_echo_n "(cached) " >&6
5310else
5311  lt_cv_nm_interface="BSD nm"
5312  echo "int some_variable = 0;" > conftest.$ac_ext
5313  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5314  (eval "$ac_compile" 2>conftest.err)
5315  cat conftest.err >&5
5316  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5317  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5318  cat conftest.err >&5
5319  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5320  cat conftest.out >&5
5321  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5322    lt_cv_nm_interface="MS dumpbin"
5323  fi
5324  rm -f conftest*
5325fi
5326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5327$as_echo "$lt_cv_nm_interface" >&6; }
5328
5329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5330$as_echo_n "checking whether ln -s works... " >&6; }
5331LN_S=$as_ln_s
5332if test "$LN_S" = "ln -s"; then
5333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5334$as_echo "yes" >&6; }
5335else
5336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5337$as_echo "no, using $LN_S" >&6; }
5338fi
5339
5340# find the maximum length of command line arguments
5341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5342$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5343if ${lt_cv_sys_max_cmd_len+:} false; then :
5344  $as_echo_n "(cached) " >&6
5345else
5346    i=0
5347  teststring="ABCD"
5348
5349  case $build_os in
5350  msdosdjgpp*)
5351    # On DJGPP, this test can blow up pretty badly due to problems in libc
5352    # (any single argument exceeding 2000 bytes causes a buffer overrun
5353    # during glob expansion).  Even if it were fixed, the result of this
5354    # check would be larger than it should be.
5355    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5356    ;;
5357
5358  gnu*)
5359    # Under GNU Hurd, this test is not required because there is
5360    # no limit to the length of command line arguments.
5361    # Libtool will interpret -1 as no limit whatsoever
5362    lt_cv_sys_max_cmd_len=-1;
5363    ;;
5364
5365  cygwin* | mingw* | cegcc*)
5366    # On Win9x/ME, this test blows up -- it succeeds, but takes
5367    # about 5 minutes as the teststring grows exponentially.
5368    # Worse, since 9x/ME are not pre-emptively multitasking,
5369    # you end up with a "frozen" computer, even though with patience
5370    # the test eventually succeeds (with a max line length of 256k).
5371    # Instead, let's just punt: use the minimum linelength reported by
5372    # all of the supported platforms: 8192 (on NT/2K/XP).
5373    lt_cv_sys_max_cmd_len=8192;
5374    ;;
5375
5376  mint*)
5377    # On MiNT this can take a long time and run out of memory.
5378    lt_cv_sys_max_cmd_len=8192;
5379    ;;
5380
5381  amigaos*)
5382    # On AmigaOS with pdksh, this test takes hours, literally.
5383    # So we just punt and use a minimum line length of 8192.
5384    lt_cv_sys_max_cmd_len=8192;
5385    ;;
5386
5387  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5388    # This has been around since 386BSD, at least.  Likely further.
5389    if test -x /sbin/sysctl; then
5390      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5391    elif test -x /usr/sbin/sysctl; then
5392      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5393    else
5394      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5395    fi
5396    # And add a safety zone
5397    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5398    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5399    ;;
5400
5401  interix*)
5402    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5403    lt_cv_sys_max_cmd_len=196608
5404    ;;
5405
5406  osf*)
5407    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5408    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5409    # nice to cause kernel panics so lets avoid the loop below.
5410    # First set a reasonable default.
5411    lt_cv_sys_max_cmd_len=16384
5412    #
5413    if test -x /sbin/sysconfig; then
5414      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5415        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5416      esac
5417    fi
5418    ;;
5419  sco3.2v5*)
5420    lt_cv_sys_max_cmd_len=102400
5421    ;;
5422  sysv5* | sco5v6* | sysv4.2uw2*)
5423    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5424    if test -n "$kargmax"; then
5425      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5426    else
5427      lt_cv_sys_max_cmd_len=32768
5428    fi
5429    ;;
5430  *)
5431    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5432    if test -n "$lt_cv_sys_max_cmd_len"; then
5433      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5434      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5435    else
5436      # Make teststring a little bigger before we do anything with it.
5437      # a 1K string should be a reasonable start.
5438      for i in 1 2 3 4 5 6 7 8 ; do
5439        teststring=$teststring$teststring
5440      done
5441      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5442      # If test is not a shell built-in, we'll probably end up computing a
5443      # maximum length that is only half of the actual maximum length, but
5444      # we can't tell.
5445      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5446	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5447	      test $i != 17 # 1/2 MB should be enough
5448      do
5449        i=`expr $i + 1`
5450        teststring=$teststring$teststring
5451      done
5452      # Only check the string length outside the loop.
5453      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5454      teststring=
5455      # Add a significant safety factor because C++ compilers can tack on
5456      # massive amounts of additional arguments before passing them to the
5457      # linker.  It appears as though 1/2 is a usable value.
5458      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5459    fi
5460    ;;
5461  esac
5462
5463fi
5464
5465if test -n $lt_cv_sys_max_cmd_len ; then
5466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5467$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5468else
5469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5470$as_echo "none" >&6; }
5471fi
5472max_cmd_len=$lt_cv_sys_max_cmd_len
5473
5474
5475
5476
5477
5478
5479: ${CP="cp -f"}
5480: ${MV="mv -f"}
5481: ${RM="rm -f"}
5482
5483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5484$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5485# Try some XSI features
5486xsi_shell=no
5487( _lt_dummy="a/b/c"
5488  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5489      = c,a/b,b/c, \
5490    && eval 'test $(( 1 + 1 )) -eq 2 \
5491    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5492  && xsi_shell=yes
5493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5494$as_echo "$xsi_shell" >&6; }
5495
5496
5497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5498$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5499lt_shell_append=no
5500( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5501    >/dev/null 2>&1 \
5502  && lt_shell_append=yes
5503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5504$as_echo "$lt_shell_append" >&6; }
5505
5506
5507if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5508  lt_unset=unset
5509else
5510  lt_unset=false
5511fi
5512
5513
5514
5515
5516
5517# test EBCDIC or ASCII
5518case `echo X|tr X '\101'` in
5519 A) # ASCII based system
5520    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5521  lt_SP2NL='tr \040 \012'
5522  lt_NL2SP='tr \015\012 \040\040'
5523  ;;
5524 *) # EBCDIC based system
5525  lt_SP2NL='tr \100 \n'
5526  lt_NL2SP='tr \r\n \100\100'
5527  ;;
5528esac
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5539$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5540if ${lt_cv_to_host_file_cmd+:} false; then :
5541  $as_echo_n "(cached) " >&6
5542else
5543  case $host in
5544  *-*-mingw* )
5545    case $build in
5546      *-*-mingw* ) # actually msys
5547        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5548        ;;
5549      *-*-cygwin* )
5550        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5551        ;;
5552      * ) # otherwise, assume *nix
5553        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5554        ;;
5555    esac
5556    ;;
5557  *-*-cygwin* )
5558    case $build in
5559      *-*-mingw* ) # actually msys
5560        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5561        ;;
5562      *-*-cygwin* )
5563        lt_cv_to_host_file_cmd=func_convert_file_noop
5564        ;;
5565      * ) # otherwise, assume *nix
5566        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5567        ;;
5568    esac
5569    ;;
5570  * ) # unhandled hosts (and "normal" native builds)
5571    lt_cv_to_host_file_cmd=func_convert_file_noop
5572    ;;
5573esac
5574
5575fi
5576
5577to_host_file_cmd=$lt_cv_to_host_file_cmd
5578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5579$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5580
5581
5582
5583
5584
5585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5586$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5587if ${lt_cv_to_tool_file_cmd+:} false; then :
5588  $as_echo_n "(cached) " >&6
5589else
5590  #assume ordinary cross tools, or native build.
5591lt_cv_to_tool_file_cmd=func_convert_file_noop
5592case $host in
5593  *-*-mingw* )
5594    case $build in
5595      *-*-mingw* ) # actually msys
5596        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5597        ;;
5598    esac
5599    ;;
5600esac
5601
5602fi
5603
5604to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5606$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5607
5608
5609
5610
5611
5612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5613$as_echo_n "checking for $LD option to reload object files... " >&6; }
5614if ${lt_cv_ld_reload_flag+:} false; then :
5615  $as_echo_n "(cached) " >&6
5616else
5617  lt_cv_ld_reload_flag='-r'
5618fi
5619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5620$as_echo "$lt_cv_ld_reload_flag" >&6; }
5621reload_flag=$lt_cv_ld_reload_flag
5622case $reload_flag in
5623"" | " "*) ;;
5624*) reload_flag=" $reload_flag" ;;
5625esac
5626reload_cmds='$LD$reload_flag -o $output$reload_objs'
5627case $host_os in
5628  cygwin* | mingw* | pw32* | cegcc*)
5629    if test "$GCC" != yes; then
5630      reload_cmds=false
5631    fi
5632    ;;
5633  darwin*)
5634    if test "$GCC" = yes; then
5635      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5636    else
5637      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5638    fi
5639    ;;
5640esac
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650if test -n "$ac_tool_prefix"; then
5651  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5652set dummy ${ac_tool_prefix}objdump; ac_word=$2
5653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654$as_echo_n "checking for $ac_word... " >&6; }
5655if ${ac_cv_prog_OBJDUMP+:} false; then :
5656  $as_echo_n "(cached) " >&6
5657else
5658  if test -n "$OBJDUMP"; then
5659  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5660else
5661as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5662for as_dir in $PATH
5663do
5664  IFS=$as_save_IFS
5665  test -z "$as_dir" && as_dir=.
5666    for ac_exec_ext in '' $ac_executable_extensions; do
5667  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5668    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5669    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5670    break 2
5671  fi
5672done
5673  done
5674IFS=$as_save_IFS
5675
5676fi
5677fi
5678OBJDUMP=$ac_cv_prog_OBJDUMP
5679if test -n "$OBJDUMP"; then
5680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5681$as_echo "$OBJDUMP" >&6; }
5682else
5683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5684$as_echo "no" >&6; }
5685fi
5686
5687
5688fi
5689if test -z "$ac_cv_prog_OBJDUMP"; then
5690  ac_ct_OBJDUMP=$OBJDUMP
5691  # Extract the first word of "objdump", so it can be a program name with args.
5692set dummy objdump; ac_word=$2
5693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5694$as_echo_n "checking for $ac_word... " >&6; }
5695if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5696  $as_echo_n "(cached) " >&6
5697else
5698  if test -n "$ac_ct_OBJDUMP"; then
5699  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5700else
5701as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5702for as_dir in $PATH
5703do
5704  IFS=$as_save_IFS
5705  test -z "$as_dir" && as_dir=.
5706    for ac_exec_ext in '' $ac_executable_extensions; do
5707  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5708    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5709    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5710    break 2
5711  fi
5712done
5713  done
5714IFS=$as_save_IFS
5715
5716fi
5717fi
5718ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5719if test -n "$ac_ct_OBJDUMP"; then
5720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5721$as_echo "$ac_ct_OBJDUMP" >&6; }
5722else
5723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5724$as_echo "no" >&6; }
5725fi
5726
5727  if test "x$ac_ct_OBJDUMP" = x; then
5728    OBJDUMP="false"
5729  else
5730    case $cross_compiling:$ac_tool_warned in
5731yes:)
5732{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5733$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5734ac_tool_warned=yes ;;
5735esac
5736    OBJDUMP=$ac_ct_OBJDUMP
5737  fi
5738else
5739  OBJDUMP="$ac_cv_prog_OBJDUMP"
5740fi
5741
5742test -z "$OBJDUMP" && OBJDUMP=objdump
5743
5744
5745
5746
5747
5748
5749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5750$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5751if ${lt_cv_deplibs_check_method+:} false; then :
5752  $as_echo_n "(cached) " >&6
5753else
5754  lt_cv_file_magic_cmd='$MAGIC_CMD'
5755lt_cv_file_magic_test_file=
5756lt_cv_deplibs_check_method='unknown'
5757# Need to set the preceding variable on all platforms that support
5758# interlibrary dependencies.
5759# 'none' -- dependencies not supported.
5760# `unknown' -- same as none, but documents that we really don't know.
5761# 'pass_all' -- all dependencies passed with no checks.
5762# 'test_compile' -- check by making test program.
5763# 'file_magic [[regex]]' -- check by looking for files in library path
5764# which responds to the $file_magic_cmd with a given extended regex.
5765# If you have `file' or equivalent on your system and you're not sure
5766# whether `pass_all' will *always* work, you probably want this one.
5767
5768case $host_os in
5769aix[4-9]*)
5770  lt_cv_deplibs_check_method=pass_all
5771  ;;
5772
5773beos*)
5774  lt_cv_deplibs_check_method=pass_all
5775  ;;
5776
5777bsdi[45]*)
5778  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5779  lt_cv_file_magic_cmd='/usr/bin/file -L'
5780  lt_cv_file_magic_test_file=/shlib/libc.so
5781  ;;
5782
5783cygwin*)
5784  # func_win32_libid is a shell function defined in ltmain.sh
5785  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5786  lt_cv_file_magic_cmd='func_win32_libid'
5787  ;;
5788
5789mingw* | pw32*)
5790  # Base MSYS/MinGW do not provide the 'file' command needed by
5791  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5792  # unless we find 'file', for example because we are cross-compiling.
5793  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5794  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5795    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5796    lt_cv_file_magic_cmd='func_win32_libid'
5797  else
5798    # Keep this pattern in sync with the one in func_win32_libid.
5799    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5800    lt_cv_file_magic_cmd='$OBJDUMP -f'
5801  fi
5802  ;;
5803
5804cegcc*)
5805  # use the weaker test based on 'objdump'. See mingw*.
5806  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5807  lt_cv_file_magic_cmd='$OBJDUMP -f'
5808  ;;
5809
5810darwin* | rhapsody*)
5811  lt_cv_deplibs_check_method=pass_all
5812  ;;
5813
5814freebsd* | dragonfly*)
5815  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5816    case $host_cpu in
5817    i*86 )
5818      # Not sure whether the presence of OpenBSD here was a mistake.
5819      # Let's accept both of them until this is cleared up.
5820      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5821      lt_cv_file_magic_cmd=/usr/bin/file
5822      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5823      ;;
5824    esac
5825  else
5826    lt_cv_deplibs_check_method=pass_all
5827  fi
5828  ;;
5829
5830gnu*)
5831  lt_cv_deplibs_check_method=pass_all
5832  ;;
5833
5834haiku*)
5835  lt_cv_deplibs_check_method=pass_all
5836  ;;
5837
5838hpux10.20* | hpux11*)
5839  lt_cv_file_magic_cmd=/usr/bin/file
5840  case $host_cpu in
5841  ia64*)
5842    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5843    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5844    ;;
5845  hppa*64*)
5846    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]'
5847    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5848    ;;
5849  *)
5850    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5851    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5852    ;;
5853  esac
5854  ;;
5855
5856interix[3-9]*)
5857  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5858  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5859  ;;
5860
5861irix5* | irix6* | nonstopux*)
5862  case $LD in
5863  *-32|*"-32 ") libmagic=32-bit;;
5864  *-n32|*"-n32 ") libmagic=N32;;
5865  *-64|*"-64 ") libmagic=64-bit;;
5866  *) libmagic=never-match;;
5867  esac
5868  lt_cv_deplibs_check_method=pass_all
5869  ;;
5870
5871# This must be Linux ELF.
5872linux* | k*bsd*-gnu | kopensolaris*-gnu)
5873  lt_cv_deplibs_check_method=pass_all
5874  ;;
5875
5876netbsd*)
5877  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5878    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5879  else
5880    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5881  fi
5882  ;;
5883
5884newos6*)
5885  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5886  lt_cv_file_magic_cmd=/usr/bin/file
5887  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5888  ;;
5889
5890*nto* | *qnx*)
5891  lt_cv_deplibs_check_method=pass_all
5892  ;;
5893
5894openbsd*)
5895  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5896    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5897  else
5898    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5899  fi
5900  ;;
5901
5902osf3* | osf4* | osf5*)
5903  lt_cv_deplibs_check_method=pass_all
5904  ;;
5905
5906rdos*)
5907  lt_cv_deplibs_check_method=pass_all
5908  ;;
5909
5910solaris*)
5911  lt_cv_deplibs_check_method=pass_all
5912  ;;
5913
5914sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5915  lt_cv_deplibs_check_method=pass_all
5916  ;;
5917
5918sysv4 | sysv4.3*)
5919  case $host_vendor in
5920  motorola)
5921    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]'
5922    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5923    ;;
5924  ncr)
5925    lt_cv_deplibs_check_method=pass_all
5926    ;;
5927  sequent)
5928    lt_cv_file_magic_cmd='/bin/file'
5929    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5930    ;;
5931  sni)
5932    lt_cv_file_magic_cmd='/bin/file'
5933    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5934    lt_cv_file_magic_test_file=/lib/libc.so
5935    ;;
5936  siemens)
5937    lt_cv_deplibs_check_method=pass_all
5938    ;;
5939  pc)
5940    lt_cv_deplibs_check_method=pass_all
5941    ;;
5942  esac
5943  ;;
5944
5945tpf*)
5946  lt_cv_deplibs_check_method=pass_all
5947  ;;
5948esac
5949
5950fi
5951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5952$as_echo "$lt_cv_deplibs_check_method" >&6; }
5953
5954file_magic_glob=
5955want_nocaseglob=no
5956if test "$build" = "$host"; then
5957  case $host_os in
5958  mingw* | pw32*)
5959    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5960      want_nocaseglob=yes
5961    else
5962      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5963    fi
5964    ;;
5965  esac
5966fi
5967
5968file_magic_cmd=$lt_cv_file_magic_cmd
5969deplibs_check_method=$lt_cv_deplibs_check_method
5970test -z "$deplibs_check_method" && deplibs_check_method=unknown
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993if test -n "$ac_tool_prefix"; then
5994  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5995set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997$as_echo_n "checking for $ac_word... " >&6; }
5998if ${ac_cv_prog_DLLTOOL+:} false; then :
5999  $as_echo_n "(cached) " >&6
6000else
6001  if test -n "$DLLTOOL"; then
6002  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6003else
6004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005for as_dir in $PATH
6006do
6007  IFS=$as_save_IFS
6008  test -z "$as_dir" && as_dir=.
6009    for ac_exec_ext in '' $ac_executable_extensions; do
6010  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6011    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6012    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6013    break 2
6014  fi
6015done
6016  done
6017IFS=$as_save_IFS
6018
6019fi
6020fi
6021DLLTOOL=$ac_cv_prog_DLLTOOL
6022if test -n "$DLLTOOL"; then
6023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6024$as_echo "$DLLTOOL" >&6; }
6025else
6026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6027$as_echo "no" >&6; }
6028fi
6029
6030
6031fi
6032if test -z "$ac_cv_prog_DLLTOOL"; then
6033  ac_ct_DLLTOOL=$DLLTOOL
6034  # Extract the first word of "dlltool", so it can be a program name with args.
6035set dummy dlltool; ac_word=$2
6036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037$as_echo_n "checking for $ac_word... " >&6; }
6038if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6039  $as_echo_n "(cached) " >&6
6040else
6041  if test -n "$ac_ct_DLLTOOL"; then
6042  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6043else
6044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045for as_dir in $PATH
6046do
6047  IFS=$as_save_IFS
6048  test -z "$as_dir" && as_dir=.
6049    for ac_exec_ext in '' $ac_executable_extensions; do
6050  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6051    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6052    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6053    break 2
6054  fi
6055done
6056  done
6057IFS=$as_save_IFS
6058
6059fi
6060fi
6061ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6062if test -n "$ac_ct_DLLTOOL"; then
6063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6064$as_echo "$ac_ct_DLLTOOL" >&6; }
6065else
6066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067$as_echo "no" >&6; }
6068fi
6069
6070  if test "x$ac_ct_DLLTOOL" = x; then
6071    DLLTOOL="false"
6072  else
6073    case $cross_compiling:$ac_tool_warned in
6074yes:)
6075{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6076$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6077ac_tool_warned=yes ;;
6078esac
6079    DLLTOOL=$ac_ct_DLLTOOL
6080  fi
6081else
6082  DLLTOOL="$ac_cv_prog_DLLTOOL"
6083fi
6084
6085test -z "$DLLTOOL" && DLLTOOL=dlltool
6086
6087
6088
6089
6090
6091
6092
6093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6094$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6095if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6096  $as_echo_n "(cached) " >&6
6097else
6098  lt_cv_sharedlib_from_linklib_cmd='unknown'
6099
6100case $host_os in
6101cygwin* | mingw* | pw32* | cegcc*)
6102  # two different shell functions defined in ltmain.sh
6103  # decide which to use based on capabilities of $DLLTOOL
6104  case `$DLLTOOL --help 2>&1` in
6105  *--identify-strict*)
6106    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6107    ;;
6108  *)
6109    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6110    ;;
6111  esac
6112  ;;
6113*)
6114  # fallback: assume linklib IS sharedlib
6115  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6116  ;;
6117esac
6118
6119fi
6120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6121$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6122sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6123test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6124
6125
6126
6127
6128
6129
6130
6131
6132if test -n "$ac_tool_prefix"; then
6133  for ac_prog in ar
6134  do
6135    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6136set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6138$as_echo_n "checking for $ac_word... " >&6; }
6139if ${ac_cv_prog_AR+:} false; then :
6140  $as_echo_n "(cached) " >&6
6141else
6142  if test -n "$AR"; then
6143  ac_cv_prog_AR="$AR" # Let the user override the test.
6144else
6145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146for as_dir in $PATH
6147do
6148  IFS=$as_save_IFS
6149  test -z "$as_dir" && as_dir=.
6150    for ac_exec_ext in '' $ac_executable_extensions; do
6151  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6152    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6153    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6154    break 2
6155  fi
6156done
6157  done
6158IFS=$as_save_IFS
6159
6160fi
6161fi
6162AR=$ac_cv_prog_AR
6163if test -n "$AR"; then
6164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6165$as_echo "$AR" >&6; }
6166else
6167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6168$as_echo "no" >&6; }
6169fi
6170
6171
6172    test -n "$AR" && break
6173  done
6174fi
6175if test -z "$AR"; then
6176  ac_ct_AR=$AR
6177  for ac_prog in ar
6178do
6179  # Extract the first word of "$ac_prog", so it can be a program name with args.
6180set dummy $ac_prog; ac_word=$2
6181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6182$as_echo_n "checking for $ac_word... " >&6; }
6183if ${ac_cv_prog_ac_ct_AR+:} false; then :
6184  $as_echo_n "(cached) " >&6
6185else
6186  if test -n "$ac_ct_AR"; then
6187  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6188else
6189as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190for as_dir in $PATH
6191do
6192  IFS=$as_save_IFS
6193  test -z "$as_dir" && as_dir=.
6194    for ac_exec_ext in '' $ac_executable_extensions; do
6195  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6196    ac_cv_prog_ac_ct_AR="$ac_prog"
6197    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6198    break 2
6199  fi
6200done
6201  done
6202IFS=$as_save_IFS
6203
6204fi
6205fi
6206ac_ct_AR=$ac_cv_prog_ac_ct_AR
6207if test -n "$ac_ct_AR"; then
6208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6209$as_echo "$ac_ct_AR" >&6; }
6210else
6211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6212$as_echo "no" >&6; }
6213fi
6214
6215
6216  test -n "$ac_ct_AR" && break
6217done
6218
6219  if test "x$ac_ct_AR" = x; then
6220    AR="false"
6221  else
6222    case $cross_compiling:$ac_tool_warned in
6223yes:)
6224{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6225$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6226ac_tool_warned=yes ;;
6227esac
6228    AR=$ac_ct_AR
6229  fi
6230fi
6231
6232: ${AR=ar}
6233: ${AR_FLAGS=cru}
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6246$as_echo_n "checking for archiver @FILE support... " >&6; }
6247if ${lt_cv_ar_at_file+:} false; then :
6248  $as_echo_n "(cached) " >&6
6249else
6250  lt_cv_ar_at_file=no
6251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6252/* end confdefs.h.  */
6253
6254int
6255main ()
6256{
6257
6258  ;
6259  return 0;
6260}
6261_ACEOF
6262if ac_fn_c_try_compile "$LINENO"; then :
6263  echo conftest.$ac_objext > conftest.lst
6264      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6265      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6266  (eval $lt_ar_try) 2>&5
6267  ac_status=$?
6268  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6269  test $ac_status = 0; }
6270      if test "$ac_status" -eq 0; then
6271	# Ensure the archiver fails upon bogus file names.
6272	rm -f conftest.$ac_objext libconftest.a
6273	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6274  (eval $lt_ar_try) 2>&5
6275  ac_status=$?
6276  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6277  test $ac_status = 0; }
6278	if test "$ac_status" -ne 0; then
6279          lt_cv_ar_at_file=@
6280        fi
6281      fi
6282      rm -f conftest.* libconftest.a
6283
6284fi
6285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6286
6287fi
6288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6289$as_echo "$lt_cv_ar_at_file" >&6; }
6290
6291if test "x$lt_cv_ar_at_file" = xno; then
6292  archiver_list_spec=
6293else
6294  archiver_list_spec=$lt_cv_ar_at_file
6295fi
6296
6297
6298
6299
6300
6301
6302
6303if test -n "$ac_tool_prefix"; then
6304  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6305set dummy ${ac_tool_prefix}strip; ac_word=$2
6306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6307$as_echo_n "checking for $ac_word... " >&6; }
6308if ${ac_cv_prog_STRIP+:} false; then :
6309  $as_echo_n "(cached) " >&6
6310else
6311  if test -n "$STRIP"; then
6312  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6313else
6314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315for as_dir in $PATH
6316do
6317  IFS=$as_save_IFS
6318  test -z "$as_dir" && as_dir=.
6319    for ac_exec_ext in '' $ac_executable_extensions; do
6320  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6321    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6322    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6323    break 2
6324  fi
6325done
6326  done
6327IFS=$as_save_IFS
6328
6329fi
6330fi
6331STRIP=$ac_cv_prog_STRIP
6332if test -n "$STRIP"; then
6333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6334$as_echo "$STRIP" >&6; }
6335else
6336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6337$as_echo "no" >&6; }
6338fi
6339
6340
6341fi
6342if test -z "$ac_cv_prog_STRIP"; then
6343  ac_ct_STRIP=$STRIP
6344  # Extract the first word of "strip", so it can be a program name with args.
6345set dummy strip; ac_word=$2
6346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6347$as_echo_n "checking for $ac_word... " >&6; }
6348if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6349  $as_echo_n "(cached) " >&6
6350else
6351  if test -n "$ac_ct_STRIP"; then
6352  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6353else
6354as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6355for as_dir in $PATH
6356do
6357  IFS=$as_save_IFS
6358  test -z "$as_dir" && as_dir=.
6359    for ac_exec_ext in '' $ac_executable_extensions; do
6360  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6361    ac_cv_prog_ac_ct_STRIP="strip"
6362    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6363    break 2
6364  fi
6365done
6366  done
6367IFS=$as_save_IFS
6368
6369fi
6370fi
6371ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6372if test -n "$ac_ct_STRIP"; then
6373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6374$as_echo "$ac_ct_STRIP" >&6; }
6375else
6376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6377$as_echo "no" >&6; }
6378fi
6379
6380  if test "x$ac_ct_STRIP" = x; then
6381    STRIP=":"
6382  else
6383    case $cross_compiling:$ac_tool_warned in
6384yes:)
6385{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6386$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6387ac_tool_warned=yes ;;
6388esac
6389    STRIP=$ac_ct_STRIP
6390  fi
6391else
6392  STRIP="$ac_cv_prog_STRIP"
6393fi
6394
6395test -z "$STRIP" && STRIP=:
6396
6397
6398
6399
6400
6401
6402if test -n "$ac_tool_prefix"; then
6403  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6404set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6406$as_echo_n "checking for $ac_word... " >&6; }
6407if ${ac_cv_prog_RANLIB+:} false; then :
6408  $as_echo_n "(cached) " >&6
6409else
6410  if test -n "$RANLIB"; then
6411  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6412else
6413as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6414for as_dir in $PATH
6415do
6416  IFS=$as_save_IFS
6417  test -z "$as_dir" && as_dir=.
6418    for ac_exec_ext in '' $ac_executable_extensions; do
6419  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6420    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6421    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6422    break 2
6423  fi
6424done
6425  done
6426IFS=$as_save_IFS
6427
6428fi
6429fi
6430RANLIB=$ac_cv_prog_RANLIB
6431if test -n "$RANLIB"; then
6432  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6433$as_echo "$RANLIB" >&6; }
6434else
6435  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6436$as_echo "no" >&6; }
6437fi
6438
6439
6440fi
6441if test -z "$ac_cv_prog_RANLIB"; then
6442  ac_ct_RANLIB=$RANLIB
6443  # Extract the first word of "ranlib", so it can be a program name with args.
6444set dummy ranlib; ac_word=$2
6445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446$as_echo_n "checking for $ac_word... " >&6; }
6447if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6448  $as_echo_n "(cached) " >&6
6449else
6450  if test -n "$ac_ct_RANLIB"; then
6451  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6452else
6453as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454for as_dir in $PATH
6455do
6456  IFS=$as_save_IFS
6457  test -z "$as_dir" && as_dir=.
6458    for ac_exec_ext in '' $ac_executable_extensions; do
6459  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6460    ac_cv_prog_ac_ct_RANLIB="ranlib"
6461    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6462    break 2
6463  fi
6464done
6465  done
6466IFS=$as_save_IFS
6467
6468fi
6469fi
6470ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6471if test -n "$ac_ct_RANLIB"; then
6472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6473$as_echo "$ac_ct_RANLIB" >&6; }
6474else
6475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476$as_echo "no" >&6; }
6477fi
6478
6479  if test "x$ac_ct_RANLIB" = x; then
6480    RANLIB=":"
6481  else
6482    case $cross_compiling:$ac_tool_warned in
6483yes:)
6484{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6485$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6486ac_tool_warned=yes ;;
6487esac
6488    RANLIB=$ac_ct_RANLIB
6489  fi
6490else
6491  RANLIB="$ac_cv_prog_RANLIB"
6492fi
6493
6494test -z "$RANLIB" && RANLIB=:
6495
6496
6497
6498
6499
6500
6501# Determine commands to create old-style static archives.
6502old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6503old_postinstall_cmds='chmod 644 $oldlib'
6504old_postuninstall_cmds=
6505
6506if test -n "$RANLIB"; then
6507  case $host_os in
6508  openbsd*)
6509    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6510    ;;
6511  *)
6512    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6513    ;;
6514  esac
6515  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6516fi
6517
6518case $host_os in
6519  darwin*)
6520    lock_old_archive_extraction=yes ;;
6521  *)
6522    lock_old_archive_extraction=no ;;
6523esac
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563# If no C compiler was specified, use CC.
6564LTCC=${LTCC-"$CC"}
6565
6566# If no C compiler flags were specified, use CFLAGS.
6567LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6568
6569# Allow CC to be a program name with arguments.
6570compiler=$CC
6571
6572
6573# Check for command to grab the raw symbol name followed by C symbol from nm.
6574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6575$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6576if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6577  $as_echo_n "(cached) " >&6
6578else
6579
6580# These are sane defaults that work on at least a few old systems.
6581# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6582
6583# Character class describing NM global symbol codes.
6584symcode='[BCDEGRST]'
6585
6586# Regexp to match symbols that can be accessed directly from C.
6587sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6588
6589# Define system-specific variables.
6590case $host_os in
6591aix*)
6592  symcode='[BCDT]'
6593  ;;
6594cygwin* | mingw* | pw32* | cegcc*)
6595  symcode='[ABCDGISTW]'
6596  ;;
6597hpux*)
6598  if test "$host_cpu" = ia64; then
6599    symcode='[ABCDEGRST]'
6600  fi
6601  ;;
6602irix* | nonstopux*)
6603  symcode='[BCDEGRST]'
6604  ;;
6605osf*)
6606  symcode='[BCDEGQRST]'
6607  ;;
6608solaris*)
6609  symcode='[BDRT]'
6610  ;;
6611sco3.2v5*)
6612  symcode='[DT]'
6613  ;;
6614sysv4.2uw2*)
6615  symcode='[DT]'
6616  ;;
6617sysv5* | sco5v6* | unixware* | OpenUNIX*)
6618  symcode='[ABDT]'
6619  ;;
6620sysv4)
6621  symcode='[DFNSTU]'
6622  ;;
6623esac
6624
6625# If we're using GNU nm, then use its standard symbol codes.
6626case `$NM -V 2>&1` in
6627*GNU* | *'with BFD'*)
6628  symcode='[ABCDGIRSTW]' ;;
6629esac
6630
6631# Transform an extracted symbol line into a proper C declaration.
6632# Some systems (esp. on ia64) link data and code symbols differently,
6633# so use this general approach.
6634lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6635
6636# Transform an extracted symbol line into symbol name and symbol address
6637lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6638lt_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'"
6639
6640# Handle CRLF in mingw tool chain
6641opt_cr=
6642case $build_os in
6643mingw*)
6644  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6645  ;;
6646esac
6647
6648# Try without a prefix underscore, then with it.
6649for ac_symprfx in "" "_"; do
6650
6651  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6652  symxfrm="\\1 $ac_symprfx\\2 \\2"
6653
6654  # Write the raw and C identifiers.
6655  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6656    # Fake it for dumpbin and say T for any non-static function
6657    # and D for any global variable.
6658    # Also find C++ and __fastcall symbols from MSVC++,
6659    # which start with @ or ?.
6660    lt_cv_sys_global_symbol_pipe="$AWK '"\
6661"     {last_section=section; section=\$ 3};"\
6662"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6663"     \$ 0!~/External *\|/{next};"\
6664"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6665"     {if(hide[section]) next};"\
6666"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6667"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6668"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6669"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6670"     ' prfx=^$ac_symprfx"
6671  else
6672    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6673  fi
6674  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6675
6676  # Check to see that the pipe works correctly.
6677  pipe_works=no
6678
6679  rm -f conftest*
6680  cat > conftest.$ac_ext <<_LT_EOF
6681#ifdef __cplusplus
6682extern "C" {
6683#endif
6684char nm_test_var;
6685void nm_test_func(void);
6686void nm_test_func(void){}
6687#ifdef __cplusplus
6688}
6689#endif
6690int main(){nm_test_var='a';nm_test_func();return(0);}
6691_LT_EOF
6692
6693  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6694  (eval $ac_compile) 2>&5
6695  ac_status=$?
6696  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6697  test $ac_status = 0; }; then
6698    # Now try to grab the symbols.
6699    nlist=conftest.nm
6700    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6701  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6702  ac_status=$?
6703  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6704  test $ac_status = 0; } && test -s "$nlist"; then
6705      # Try sorting and uniquifying the output.
6706      if sort "$nlist" | uniq > "$nlist"T; then
6707	mv -f "$nlist"T "$nlist"
6708      else
6709	rm -f "$nlist"T
6710      fi
6711
6712      # Make sure that we snagged all the symbols we need.
6713      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6714	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6715	  cat <<_LT_EOF > conftest.$ac_ext
6716/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6717#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6718/* DATA imports from DLLs on WIN32 con't be const, because runtime
6719   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6720# define LT_DLSYM_CONST
6721#elif defined(__osf__)
6722/* This system does not cope well with relocations in const data.  */
6723# define LT_DLSYM_CONST
6724#else
6725# define LT_DLSYM_CONST const
6726#endif
6727
6728#ifdef __cplusplus
6729extern "C" {
6730#endif
6731
6732_LT_EOF
6733	  # Now generate the symbol file.
6734	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6735
6736	  cat <<_LT_EOF >> conftest.$ac_ext
6737
6738/* The mapping between symbol names and symbols.  */
6739LT_DLSYM_CONST struct {
6740  const char *name;
6741  void       *address;
6742}
6743lt__PROGRAM__LTX_preloaded_symbols[] =
6744{
6745  { "@PROGRAM@", (void *) 0 },
6746_LT_EOF
6747	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6748	  cat <<\_LT_EOF >> conftest.$ac_ext
6749  {0, (void *) 0}
6750};
6751
6752/* This works around a problem in FreeBSD linker */
6753#ifdef FREEBSD_WORKAROUND
6754static const void *lt_preloaded_setup() {
6755  return lt__PROGRAM__LTX_preloaded_symbols;
6756}
6757#endif
6758
6759#ifdef __cplusplus
6760}
6761#endif
6762_LT_EOF
6763	  # Now try linking the two files.
6764	  mv conftest.$ac_objext conftstm.$ac_objext
6765	  lt_globsym_save_LIBS=$LIBS
6766	  lt_globsym_save_CFLAGS=$CFLAGS
6767	  LIBS="conftstm.$ac_objext"
6768	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6769	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6770  (eval $ac_link) 2>&5
6771  ac_status=$?
6772  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6773  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6774	    pipe_works=yes
6775	  fi
6776	  LIBS=$lt_globsym_save_LIBS
6777	  CFLAGS=$lt_globsym_save_CFLAGS
6778	else
6779	  echo "cannot find nm_test_func in $nlist" >&5
6780	fi
6781      else
6782	echo "cannot find nm_test_var in $nlist" >&5
6783      fi
6784    else
6785      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6786    fi
6787  else
6788    echo "$progname: failed program was:" >&5
6789    cat conftest.$ac_ext >&5
6790  fi
6791  rm -rf conftest* conftst*
6792
6793  # Do not use the global_symbol_pipe unless it works.
6794  if test "$pipe_works" = yes; then
6795    break
6796  else
6797    lt_cv_sys_global_symbol_pipe=
6798  fi
6799done
6800
6801fi
6802
6803if test -z "$lt_cv_sys_global_symbol_pipe"; then
6804  lt_cv_sys_global_symbol_to_cdecl=
6805fi
6806if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6808$as_echo "failed" >&6; }
6809else
6810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6811$as_echo "ok" >&6; }
6812fi
6813
6814# Response file support.
6815if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6816  nm_file_list_spec='@'
6817elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6818  nm_file_list_spec='@'
6819fi
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6848$as_echo_n "checking for sysroot... " >&6; }
6849
6850# Check whether --with-sysroot was given.
6851if test "${with_sysroot+set}" = set; then :
6852  withval=$with_sysroot;
6853else
6854  with_sysroot=no
6855fi
6856
6857
6858lt_sysroot=
6859case ${with_sysroot} in #(
6860 yes)
6861   if test "$GCC" = yes; then
6862     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6863   fi
6864   ;; #(
6865 /*)
6866   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6867   ;; #(
6868 no|'')
6869   ;; #(
6870 *)
6871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6872$as_echo "${with_sysroot}" >&6; }
6873   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6874   ;;
6875esac
6876
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6878$as_echo "${lt_sysroot:-no}" >&6; }
6879
6880
6881
6882
6883
6884# Check whether --enable-libtool-lock was given.
6885if test "${enable_libtool_lock+set}" = set; then :
6886  enableval=$enable_libtool_lock;
6887fi
6888
6889test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6890
6891# Some flags need to be propagated to the compiler or linker for good
6892# libtool support.
6893case $host in
6894ia64-*-hpux*)
6895  # Find out which ABI we are using.
6896  echo 'int i;' > conftest.$ac_ext
6897  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6898  (eval $ac_compile) 2>&5
6899  ac_status=$?
6900  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6901  test $ac_status = 0; }; then
6902    case `/usr/bin/file conftest.$ac_objext` in
6903      *ELF-32*)
6904	HPUX_IA64_MODE="32"
6905	;;
6906      *ELF-64*)
6907	HPUX_IA64_MODE="64"
6908	;;
6909    esac
6910  fi
6911  rm -rf conftest*
6912  ;;
6913*-*-irix6*)
6914  # Find out which ABI we are using.
6915  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6916  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6917  (eval $ac_compile) 2>&5
6918  ac_status=$?
6919  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6920  test $ac_status = 0; }; then
6921    if test "$lt_cv_prog_gnu_ld" = yes; then
6922      case `/usr/bin/file conftest.$ac_objext` in
6923	*32-bit*)
6924	  LD="${LD-ld} -melf32bsmip"
6925	  ;;
6926	*N32*)
6927	  LD="${LD-ld} -melf32bmipn32"
6928	  ;;
6929	*64-bit*)
6930	  LD="${LD-ld} -melf64bmip"
6931	;;
6932      esac
6933    else
6934      case `/usr/bin/file conftest.$ac_objext` in
6935	*32-bit*)
6936	  LD="${LD-ld} -32"
6937	  ;;
6938	*N32*)
6939	  LD="${LD-ld} -n32"
6940	  ;;
6941	*64-bit*)
6942	  LD="${LD-ld} -64"
6943	  ;;
6944      esac
6945    fi
6946  fi
6947  rm -rf conftest*
6948  ;;
6949
6950x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6951s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6952  # Find out which ABI we are using.
6953  echo 'int i;' > conftest.$ac_ext
6954  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6955  (eval $ac_compile) 2>&5
6956  ac_status=$?
6957  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6958  test $ac_status = 0; }; then
6959    case `/usr/bin/file conftest.o` in
6960      *32-bit*)
6961	case $host in
6962	  x86_64-*kfreebsd*-gnu)
6963	    LD="${LD-ld} -m elf_i386_fbsd"
6964	    ;;
6965	  x86_64-*linux*)
6966	    LD="${LD-ld} -m elf_i386"
6967	    ;;
6968	  ppc64-*linux*|powerpc64-*linux*)
6969	    LD="${LD-ld} -m elf32ppclinux"
6970	    ;;
6971	  s390x-*linux*)
6972	    LD="${LD-ld} -m elf_s390"
6973	    ;;
6974	  sparc64-*linux*)
6975	    LD="${LD-ld} -m elf32_sparc"
6976	    ;;
6977	esac
6978	;;
6979      *64-bit*)
6980	case $host in
6981	  x86_64-*kfreebsd*-gnu)
6982	    LD="${LD-ld} -m elf_x86_64_fbsd"
6983	    ;;
6984	  x86_64-*linux*)
6985	    LD="${LD-ld} -m elf_x86_64"
6986	    ;;
6987	  ppc*-*linux*|powerpc*-*linux*)
6988	    LD="${LD-ld} -m elf64ppc"
6989	    ;;
6990	  s390*-*linux*|s390*-*tpf*)
6991	    LD="${LD-ld} -m elf64_s390"
6992	    ;;
6993	  sparc*-*linux*)
6994	    LD="${LD-ld} -m elf64_sparc"
6995	    ;;
6996	esac
6997	;;
6998    esac
6999  fi
7000  rm -rf conftest*
7001  ;;
7002
7003*-*-sco3.2v5*)
7004  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7005  SAVE_CFLAGS="$CFLAGS"
7006  CFLAGS="$CFLAGS -belf"
7007  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7008$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7009if ${lt_cv_cc_needs_belf+:} false; then :
7010  $as_echo_n "(cached) " >&6
7011else
7012  ac_ext=c
7013ac_cpp='$CPP $CPPFLAGS'
7014ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7015ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7016ac_compiler_gnu=$ac_cv_c_compiler_gnu
7017
7018     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7019/* end confdefs.h.  */
7020
7021int
7022main ()
7023{
7024
7025  ;
7026  return 0;
7027}
7028_ACEOF
7029if ac_fn_c_try_link "$LINENO"; then :
7030  lt_cv_cc_needs_belf=yes
7031else
7032  lt_cv_cc_needs_belf=no
7033fi
7034rm -f core conftest.err conftest.$ac_objext \
7035    conftest$ac_exeext conftest.$ac_ext
7036     ac_ext=c
7037ac_cpp='$CPP $CPPFLAGS'
7038ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7039ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7040ac_compiler_gnu=$ac_cv_c_compiler_gnu
7041
7042fi
7043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7044$as_echo "$lt_cv_cc_needs_belf" >&6; }
7045  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7046    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7047    CFLAGS="$SAVE_CFLAGS"
7048  fi
7049  ;;
7050sparc*-*solaris*)
7051  # Find out which ABI we are using.
7052  echo 'int i;' > conftest.$ac_ext
7053  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7054  (eval $ac_compile) 2>&5
7055  ac_status=$?
7056  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7057  test $ac_status = 0; }; then
7058    case `/usr/bin/file conftest.o` in
7059    *64-bit*)
7060      case $lt_cv_prog_gnu_ld in
7061      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7062      *)
7063	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7064	  LD="${LD-ld} -64"
7065	fi
7066	;;
7067      esac
7068      ;;
7069    esac
7070  fi
7071  rm -rf conftest*
7072  ;;
7073esac
7074
7075need_locks="$enable_libtool_lock"
7076
7077if test -n "$ac_tool_prefix"; then
7078  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7079set dummy ${ac_tool_prefix}mt; ac_word=$2
7080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081$as_echo_n "checking for $ac_word... " >&6; }
7082if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7083  $as_echo_n "(cached) " >&6
7084else
7085  if test -n "$MANIFEST_TOOL"; then
7086  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7087else
7088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089for as_dir in $PATH
7090do
7091  IFS=$as_save_IFS
7092  test -z "$as_dir" && as_dir=.
7093    for ac_exec_ext in '' $ac_executable_extensions; do
7094  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7095    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7096    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7097    break 2
7098  fi
7099done
7100  done
7101IFS=$as_save_IFS
7102
7103fi
7104fi
7105MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7106if test -n "$MANIFEST_TOOL"; then
7107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7108$as_echo "$MANIFEST_TOOL" >&6; }
7109else
7110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111$as_echo "no" >&6; }
7112fi
7113
7114
7115fi
7116if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7117  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7118  # Extract the first word of "mt", so it can be a program name with args.
7119set dummy mt; ac_word=$2
7120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121$as_echo_n "checking for $ac_word... " >&6; }
7122if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7123  $as_echo_n "(cached) " >&6
7124else
7125  if test -n "$ac_ct_MANIFEST_TOOL"; then
7126  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7127else
7128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129for as_dir in $PATH
7130do
7131  IFS=$as_save_IFS
7132  test -z "$as_dir" && as_dir=.
7133    for ac_exec_ext in '' $ac_executable_extensions; do
7134  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7135    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7136    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7137    break 2
7138  fi
7139done
7140  done
7141IFS=$as_save_IFS
7142
7143fi
7144fi
7145ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7146if test -n "$ac_ct_MANIFEST_TOOL"; then
7147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7148$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7149else
7150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151$as_echo "no" >&6; }
7152fi
7153
7154  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7155    MANIFEST_TOOL=":"
7156  else
7157    case $cross_compiling:$ac_tool_warned in
7158yes:)
7159{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7160$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7161ac_tool_warned=yes ;;
7162esac
7163    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7164  fi
7165else
7166  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7167fi
7168
7169test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7171$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7172if ${lt_cv_path_mainfest_tool+:} false; then :
7173  $as_echo_n "(cached) " >&6
7174else
7175  lt_cv_path_mainfest_tool=no
7176  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7177  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7178  cat conftest.err >&5
7179  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7180    lt_cv_path_mainfest_tool=yes
7181  fi
7182  rm -f conftest*
7183fi
7184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7185$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7186if test "x$lt_cv_path_mainfest_tool" != xyes; then
7187  MANIFEST_TOOL=:
7188fi
7189
7190
7191
7192
7193
7194
7195  case $host_os in
7196    rhapsody* | darwin*)
7197    if test -n "$ac_tool_prefix"; then
7198  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7199set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7201$as_echo_n "checking for $ac_word... " >&6; }
7202if ${ac_cv_prog_DSYMUTIL+:} false; then :
7203  $as_echo_n "(cached) " >&6
7204else
7205  if test -n "$DSYMUTIL"; then
7206  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7207else
7208as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209for as_dir in $PATH
7210do
7211  IFS=$as_save_IFS
7212  test -z "$as_dir" && as_dir=.
7213    for ac_exec_ext in '' $ac_executable_extensions; do
7214  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7215    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7216    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7217    break 2
7218  fi
7219done
7220  done
7221IFS=$as_save_IFS
7222
7223fi
7224fi
7225DSYMUTIL=$ac_cv_prog_DSYMUTIL
7226if test -n "$DSYMUTIL"; then
7227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7228$as_echo "$DSYMUTIL" >&6; }
7229else
7230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7231$as_echo "no" >&6; }
7232fi
7233
7234
7235fi
7236if test -z "$ac_cv_prog_DSYMUTIL"; then
7237  ac_ct_DSYMUTIL=$DSYMUTIL
7238  # Extract the first word of "dsymutil", so it can be a program name with args.
7239set dummy dsymutil; ac_word=$2
7240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7241$as_echo_n "checking for $ac_word... " >&6; }
7242if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7243  $as_echo_n "(cached) " >&6
7244else
7245  if test -n "$ac_ct_DSYMUTIL"; then
7246  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7247else
7248as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7249for as_dir in $PATH
7250do
7251  IFS=$as_save_IFS
7252  test -z "$as_dir" && as_dir=.
7253    for ac_exec_ext in '' $ac_executable_extensions; do
7254  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7255    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7256    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7257    break 2
7258  fi
7259done
7260  done
7261IFS=$as_save_IFS
7262
7263fi
7264fi
7265ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7266if test -n "$ac_ct_DSYMUTIL"; then
7267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7268$as_echo "$ac_ct_DSYMUTIL" >&6; }
7269else
7270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7271$as_echo "no" >&6; }
7272fi
7273
7274  if test "x$ac_ct_DSYMUTIL" = x; then
7275    DSYMUTIL=":"
7276  else
7277    case $cross_compiling:$ac_tool_warned in
7278yes:)
7279{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7280$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7281ac_tool_warned=yes ;;
7282esac
7283    DSYMUTIL=$ac_ct_DSYMUTIL
7284  fi
7285else
7286  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7287fi
7288
7289    if test -n "$ac_tool_prefix"; then
7290  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7291set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293$as_echo_n "checking for $ac_word... " >&6; }
7294if ${ac_cv_prog_NMEDIT+:} false; then :
7295  $as_echo_n "(cached) " >&6
7296else
7297  if test -n "$NMEDIT"; then
7298  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7299else
7300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301for as_dir in $PATH
7302do
7303  IFS=$as_save_IFS
7304  test -z "$as_dir" && as_dir=.
7305    for ac_exec_ext in '' $ac_executable_extensions; do
7306  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7307    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7308    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7309    break 2
7310  fi
7311done
7312  done
7313IFS=$as_save_IFS
7314
7315fi
7316fi
7317NMEDIT=$ac_cv_prog_NMEDIT
7318if test -n "$NMEDIT"; then
7319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7320$as_echo "$NMEDIT" >&6; }
7321else
7322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323$as_echo "no" >&6; }
7324fi
7325
7326
7327fi
7328if test -z "$ac_cv_prog_NMEDIT"; then
7329  ac_ct_NMEDIT=$NMEDIT
7330  # Extract the first word of "nmedit", so it can be a program name with args.
7331set dummy nmedit; ac_word=$2
7332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7333$as_echo_n "checking for $ac_word... " >&6; }
7334if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7335  $as_echo_n "(cached) " >&6
7336else
7337  if test -n "$ac_ct_NMEDIT"; then
7338  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7339else
7340as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341for as_dir in $PATH
7342do
7343  IFS=$as_save_IFS
7344  test -z "$as_dir" && as_dir=.
7345    for ac_exec_ext in '' $ac_executable_extensions; do
7346  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7347    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7348    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7349    break 2
7350  fi
7351done
7352  done
7353IFS=$as_save_IFS
7354
7355fi
7356fi
7357ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7358if test -n "$ac_ct_NMEDIT"; then
7359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7360$as_echo "$ac_ct_NMEDIT" >&6; }
7361else
7362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363$as_echo "no" >&6; }
7364fi
7365
7366  if test "x$ac_ct_NMEDIT" = x; then
7367    NMEDIT=":"
7368  else
7369    case $cross_compiling:$ac_tool_warned in
7370yes:)
7371{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7372$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7373ac_tool_warned=yes ;;
7374esac
7375    NMEDIT=$ac_ct_NMEDIT
7376  fi
7377else
7378  NMEDIT="$ac_cv_prog_NMEDIT"
7379fi
7380
7381    if test -n "$ac_tool_prefix"; then
7382  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7383set dummy ${ac_tool_prefix}lipo; ac_word=$2
7384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7385$as_echo_n "checking for $ac_word... " >&6; }
7386if ${ac_cv_prog_LIPO+:} false; then :
7387  $as_echo_n "(cached) " >&6
7388else
7389  if test -n "$LIPO"; then
7390  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7391else
7392as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393for as_dir in $PATH
7394do
7395  IFS=$as_save_IFS
7396  test -z "$as_dir" && as_dir=.
7397    for ac_exec_ext in '' $ac_executable_extensions; do
7398  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7399    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7400    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7401    break 2
7402  fi
7403done
7404  done
7405IFS=$as_save_IFS
7406
7407fi
7408fi
7409LIPO=$ac_cv_prog_LIPO
7410if test -n "$LIPO"; then
7411  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7412$as_echo "$LIPO" >&6; }
7413else
7414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7415$as_echo "no" >&6; }
7416fi
7417
7418
7419fi
7420if test -z "$ac_cv_prog_LIPO"; then
7421  ac_ct_LIPO=$LIPO
7422  # Extract the first word of "lipo", so it can be a program name with args.
7423set dummy lipo; ac_word=$2
7424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7425$as_echo_n "checking for $ac_word... " >&6; }
7426if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7427  $as_echo_n "(cached) " >&6
7428else
7429  if test -n "$ac_ct_LIPO"; then
7430  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7431else
7432as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433for as_dir in $PATH
7434do
7435  IFS=$as_save_IFS
7436  test -z "$as_dir" && as_dir=.
7437    for ac_exec_ext in '' $ac_executable_extensions; do
7438  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7439    ac_cv_prog_ac_ct_LIPO="lipo"
7440    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7441    break 2
7442  fi
7443done
7444  done
7445IFS=$as_save_IFS
7446
7447fi
7448fi
7449ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7450if test -n "$ac_ct_LIPO"; then
7451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7452$as_echo "$ac_ct_LIPO" >&6; }
7453else
7454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7455$as_echo "no" >&6; }
7456fi
7457
7458  if test "x$ac_ct_LIPO" = x; then
7459    LIPO=":"
7460  else
7461    case $cross_compiling:$ac_tool_warned in
7462yes:)
7463{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7464$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7465ac_tool_warned=yes ;;
7466esac
7467    LIPO=$ac_ct_LIPO
7468  fi
7469else
7470  LIPO="$ac_cv_prog_LIPO"
7471fi
7472
7473    if test -n "$ac_tool_prefix"; then
7474  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7475set dummy ${ac_tool_prefix}otool; ac_word=$2
7476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477$as_echo_n "checking for $ac_word... " >&6; }
7478if ${ac_cv_prog_OTOOL+:} false; then :
7479  $as_echo_n "(cached) " >&6
7480else
7481  if test -n "$OTOOL"; then
7482  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7483else
7484as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485for as_dir in $PATH
7486do
7487  IFS=$as_save_IFS
7488  test -z "$as_dir" && as_dir=.
7489    for ac_exec_ext in '' $ac_executable_extensions; do
7490  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7491    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7492    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7493    break 2
7494  fi
7495done
7496  done
7497IFS=$as_save_IFS
7498
7499fi
7500fi
7501OTOOL=$ac_cv_prog_OTOOL
7502if test -n "$OTOOL"; then
7503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7504$as_echo "$OTOOL" >&6; }
7505else
7506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507$as_echo "no" >&6; }
7508fi
7509
7510
7511fi
7512if test -z "$ac_cv_prog_OTOOL"; then
7513  ac_ct_OTOOL=$OTOOL
7514  # Extract the first word of "otool", so it can be a program name with args.
7515set dummy otool; ac_word=$2
7516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7517$as_echo_n "checking for $ac_word... " >&6; }
7518if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7519  $as_echo_n "(cached) " >&6
7520else
7521  if test -n "$ac_ct_OTOOL"; then
7522  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7523else
7524as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525for as_dir in $PATH
7526do
7527  IFS=$as_save_IFS
7528  test -z "$as_dir" && as_dir=.
7529    for ac_exec_ext in '' $ac_executable_extensions; do
7530  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7531    ac_cv_prog_ac_ct_OTOOL="otool"
7532    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7533    break 2
7534  fi
7535done
7536  done
7537IFS=$as_save_IFS
7538
7539fi
7540fi
7541ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7542if test -n "$ac_ct_OTOOL"; then
7543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7544$as_echo "$ac_ct_OTOOL" >&6; }
7545else
7546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7547$as_echo "no" >&6; }
7548fi
7549
7550  if test "x$ac_ct_OTOOL" = x; then
7551    OTOOL=":"
7552  else
7553    case $cross_compiling:$ac_tool_warned in
7554yes:)
7555{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7556$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7557ac_tool_warned=yes ;;
7558esac
7559    OTOOL=$ac_ct_OTOOL
7560  fi
7561else
7562  OTOOL="$ac_cv_prog_OTOOL"
7563fi
7564
7565    if test -n "$ac_tool_prefix"; then
7566  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7567set dummy ${ac_tool_prefix}otool64; ac_word=$2
7568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569$as_echo_n "checking for $ac_word... " >&6; }
7570if ${ac_cv_prog_OTOOL64+:} false; then :
7571  $as_echo_n "(cached) " >&6
7572else
7573  if test -n "$OTOOL64"; then
7574  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7575else
7576as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577for as_dir in $PATH
7578do
7579  IFS=$as_save_IFS
7580  test -z "$as_dir" && as_dir=.
7581    for ac_exec_ext in '' $ac_executable_extensions; do
7582  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7583    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7584    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7585    break 2
7586  fi
7587done
7588  done
7589IFS=$as_save_IFS
7590
7591fi
7592fi
7593OTOOL64=$ac_cv_prog_OTOOL64
7594if test -n "$OTOOL64"; then
7595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7596$as_echo "$OTOOL64" >&6; }
7597else
7598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599$as_echo "no" >&6; }
7600fi
7601
7602
7603fi
7604if test -z "$ac_cv_prog_OTOOL64"; then
7605  ac_ct_OTOOL64=$OTOOL64
7606  # Extract the first word of "otool64", so it can be a program name with args.
7607set dummy otool64; ac_word=$2
7608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7609$as_echo_n "checking for $ac_word... " >&6; }
7610if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7611  $as_echo_n "(cached) " >&6
7612else
7613  if test -n "$ac_ct_OTOOL64"; then
7614  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7615else
7616as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617for as_dir in $PATH
7618do
7619  IFS=$as_save_IFS
7620  test -z "$as_dir" && as_dir=.
7621    for ac_exec_ext in '' $ac_executable_extensions; do
7622  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7623    ac_cv_prog_ac_ct_OTOOL64="otool64"
7624    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7625    break 2
7626  fi
7627done
7628  done
7629IFS=$as_save_IFS
7630
7631fi
7632fi
7633ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7634if test -n "$ac_ct_OTOOL64"; then
7635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7636$as_echo "$ac_ct_OTOOL64" >&6; }
7637else
7638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7639$as_echo "no" >&6; }
7640fi
7641
7642  if test "x$ac_ct_OTOOL64" = x; then
7643    OTOOL64=":"
7644  else
7645    case $cross_compiling:$ac_tool_warned in
7646yes:)
7647{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7648$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7649ac_tool_warned=yes ;;
7650esac
7651    OTOOL64=$ac_ct_OTOOL64
7652  fi
7653else
7654  OTOOL64="$ac_cv_prog_OTOOL64"
7655fi
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7684$as_echo_n "checking for -single_module linker flag... " >&6; }
7685if ${lt_cv_apple_cc_single_mod+:} false; then :
7686  $as_echo_n "(cached) " >&6
7687else
7688  lt_cv_apple_cc_single_mod=no
7689      if test -z "${LT_MULTI_MODULE}"; then
7690	# By default we will add the -single_module flag. You can override
7691	# by either setting the environment variable LT_MULTI_MODULE
7692	# non-empty at configure time, or by adding -multi_module to the
7693	# link flags.
7694	rm -rf libconftest.dylib*
7695	echo "int foo(void){return 1;}" > conftest.c
7696	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7697-dynamiclib -Wl,-single_module conftest.c" >&5
7698	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7699	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7700        _lt_result=$?
7701	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7702	  lt_cv_apple_cc_single_mod=yes
7703	else
7704	  cat conftest.err >&5
7705	fi
7706	rm -rf libconftest.dylib*
7707	rm -f conftest.*
7708      fi
7709fi
7710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7711$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7712    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7713$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7714if ${lt_cv_ld_exported_symbols_list+:} false; then :
7715  $as_echo_n "(cached) " >&6
7716else
7717  lt_cv_ld_exported_symbols_list=no
7718      save_LDFLAGS=$LDFLAGS
7719      echo "_main" > conftest.sym
7720      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7721      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7722/* end confdefs.h.  */
7723
7724int
7725main ()
7726{
7727
7728  ;
7729  return 0;
7730}
7731_ACEOF
7732if ac_fn_c_try_link "$LINENO"; then :
7733  lt_cv_ld_exported_symbols_list=yes
7734else
7735  lt_cv_ld_exported_symbols_list=no
7736fi
7737rm -f core conftest.err conftest.$ac_objext \
7738    conftest$ac_exeext conftest.$ac_ext
7739	LDFLAGS="$save_LDFLAGS"
7740
7741fi
7742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7743$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7744    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7745$as_echo_n "checking for -force_load linker flag... " >&6; }
7746if ${lt_cv_ld_force_load+:} false; then :
7747  $as_echo_n "(cached) " >&6
7748else
7749  lt_cv_ld_force_load=no
7750      cat > conftest.c << _LT_EOF
7751int forced_loaded() { return 2;}
7752_LT_EOF
7753      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7754      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7755      echo "$AR cru libconftest.a conftest.o" >&5
7756      $AR cru libconftest.a conftest.o 2>&5
7757      echo "$RANLIB libconftest.a" >&5
7758      $RANLIB libconftest.a 2>&5
7759      cat > conftest.c << _LT_EOF
7760int main() { return 0;}
7761_LT_EOF
7762      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7763      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7764      _lt_result=$?
7765      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7766	lt_cv_ld_force_load=yes
7767      else
7768	cat conftest.err >&5
7769      fi
7770        rm -f conftest.err libconftest.a conftest conftest.c
7771        rm -rf conftest.dSYM
7772
7773fi
7774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7775$as_echo "$lt_cv_ld_force_load" >&6; }
7776    case $host_os in
7777    rhapsody* | darwin1.[012])
7778      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7779    darwin1.*)
7780      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7781    darwin*) # darwin 5.x on
7782      # if running on 10.5 or later, the deployment target defaults
7783      # to the OS version, if on x86, and 10.4, the deployment
7784      # target defaults to 10.4. Don't you love it?
7785      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7786	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7787	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7788	10.[012]*)
7789	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7790	10.*)
7791	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7792      esac
7793    ;;
7794  esac
7795    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7796      _lt_dar_single_mod='$single_module'
7797    fi
7798    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7799      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7800    else
7801      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7802    fi
7803    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7804      _lt_dsymutil='~$DSYMUTIL $lib || :'
7805    else
7806      _lt_dsymutil=
7807    fi
7808    ;;
7809  esac
7810
7811ac_ext=c
7812ac_cpp='$CPP $CPPFLAGS'
7813ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7814ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7815ac_compiler_gnu=$ac_cv_c_compiler_gnu
7816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7817$as_echo_n "checking how to run the C preprocessor... " >&6; }
7818# On Suns, sometimes $CPP names a directory.
7819if test -n "$CPP" && test -d "$CPP"; then
7820  CPP=
7821fi
7822if test -z "$CPP"; then
7823  if ${ac_cv_prog_CPP+:} false; then :
7824  $as_echo_n "(cached) " >&6
7825else
7826      # Double quotes because CPP needs to be expanded
7827    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7828    do
7829      ac_preproc_ok=false
7830for ac_c_preproc_warn_flag in '' yes
7831do
7832  # Use a header file that comes with gcc, so configuring glibc
7833  # with a fresh cross-compiler works.
7834  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7835  # <limits.h> exists even on freestanding compilers.
7836  # On the NeXT, cc -E runs the code through the compiler's parser,
7837  # not just through cpp. "Syntax error" is here to catch this case.
7838  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7839/* end confdefs.h.  */
7840#ifdef __STDC__
7841# include <limits.h>
7842#else
7843# include <assert.h>
7844#endif
7845		     Syntax error
7846_ACEOF
7847if ac_fn_c_try_cpp "$LINENO"; then :
7848
7849else
7850  # Broken: fails on valid input.
7851continue
7852fi
7853rm -f conftest.err conftest.i conftest.$ac_ext
7854
7855  # OK, works on sane cases.  Now check whether nonexistent headers
7856  # can be detected and how.
7857  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7858/* end confdefs.h.  */
7859#include <ac_nonexistent.h>
7860_ACEOF
7861if ac_fn_c_try_cpp "$LINENO"; then :
7862  # Broken: success on invalid input.
7863continue
7864else
7865  # Passes both tests.
7866ac_preproc_ok=:
7867break
7868fi
7869rm -f conftest.err conftest.i conftest.$ac_ext
7870
7871done
7872# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7873rm -f conftest.i conftest.err conftest.$ac_ext
7874if $ac_preproc_ok; then :
7875  break
7876fi
7877
7878    done
7879    ac_cv_prog_CPP=$CPP
7880
7881fi
7882  CPP=$ac_cv_prog_CPP
7883else
7884  ac_cv_prog_CPP=$CPP
7885fi
7886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7887$as_echo "$CPP" >&6; }
7888ac_preproc_ok=false
7889for ac_c_preproc_warn_flag in '' yes
7890do
7891  # Use a header file that comes with gcc, so configuring glibc
7892  # with a fresh cross-compiler works.
7893  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7894  # <limits.h> exists even on freestanding compilers.
7895  # On the NeXT, cc -E runs the code through the compiler's parser,
7896  # not just through cpp. "Syntax error" is here to catch this case.
7897  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7898/* end confdefs.h.  */
7899#ifdef __STDC__
7900# include <limits.h>
7901#else
7902# include <assert.h>
7903#endif
7904		     Syntax error
7905_ACEOF
7906if ac_fn_c_try_cpp "$LINENO"; then :
7907
7908else
7909  # Broken: fails on valid input.
7910continue
7911fi
7912rm -f conftest.err conftest.i conftest.$ac_ext
7913
7914  # OK, works on sane cases.  Now check whether nonexistent headers
7915  # can be detected and how.
7916  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7917/* end confdefs.h.  */
7918#include <ac_nonexistent.h>
7919_ACEOF
7920if ac_fn_c_try_cpp "$LINENO"; then :
7921  # Broken: success on invalid input.
7922continue
7923else
7924  # Passes both tests.
7925ac_preproc_ok=:
7926break
7927fi
7928rm -f conftest.err conftest.i conftest.$ac_ext
7929
7930done
7931# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7932rm -f conftest.i conftest.err conftest.$ac_ext
7933if $ac_preproc_ok; then :
7934
7935else
7936  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7937$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7938as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7939See \`config.log' for more details" "$LINENO" 5; }
7940fi
7941
7942ac_ext=c
7943ac_cpp='$CPP $CPPFLAGS'
7944ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7945ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7946ac_compiler_gnu=$ac_cv_c_compiler_gnu
7947
7948
7949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7950$as_echo_n "checking for ANSI C header files... " >&6; }
7951if ${ac_cv_header_stdc+:} false; then :
7952  $as_echo_n "(cached) " >&6
7953else
7954  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7955/* end confdefs.h.  */
7956#include <stdlib.h>
7957#include <stdarg.h>
7958#include <string.h>
7959#include <float.h>
7960
7961int
7962main ()
7963{
7964
7965  ;
7966  return 0;
7967}
7968_ACEOF
7969if ac_fn_c_try_compile "$LINENO"; then :
7970  ac_cv_header_stdc=yes
7971else
7972  ac_cv_header_stdc=no
7973fi
7974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7975
7976if test $ac_cv_header_stdc = yes; then
7977  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7978  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7979/* end confdefs.h.  */
7980#include <string.h>
7981
7982_ACEOF
7983if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7984  $EGREP "memchr" >/dev/null 2>&1; then :
7985
7986else
7987  ac_cv_header_stdc=no
7988fi
7989rm -f conftest*
7990
7991fi
7992
7993if test $ac_cv_header_stdc = yes; then
7994  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7995  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7996/* end confdefs.h.  */
7997#include <stdlib.h>
7998
7999_ACEOF
8000if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8001  $EGREP "free" >/dev/null 2>&1; then :
8002
8003else
8004  ac_cv_header_stdc=no
8005fi
8006rm -f conftest*
8007
8008fi
8009
8010if test $ac_cv_header_stdc = yes; then
8011  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8012  if test "$cross_compiling" = yes; then :
8013  :
8014else
8015  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8016/* end confdefs.h.  */
8017#include <ctype.h>
8018#include <stdlib.h>
8019#if ((' ' & 0x0FF) == 0x020)
8020# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8021# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8022#else
8023# define ISLOWER(c) \
8024		   (('a' <= (c) && (c) <= 'i') \
8025		     || ('j' <= (c) && (c) <= 'r') \
8026		     || ('s' <= (c) && (c) <= 'z'))
8027# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8028#endif
8029
8030#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8031int
8032main ()
8033{
8034  int i;
8035  for (i = 0; i < 256; i++)
8036    if (XOR (islower (i), ISLOWER (i))
8037	|| toupper (i) != TOUPPER (i))
8038      return 2;
8039  return 0;
8040}
8041_ACEOF
8042if ac_fn_c_try_run "$LINENO"; then :
8043
8044else
8045  ac_cv_header_stdc=no
8046fi
8047rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8048  conftest.$ac_objext conftest.beam conftest.$ac_ext
8049fi
8050
8051fi
8052fi
8053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8054$as_echo "$ac_cv_header_stdc" >&6; }
8055if test $ac_cv_header_stdc = yes; then
8056
8057$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8058
8059fi
8060
8061# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8062for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8063		  inttypes.h stdint.h unistd.h
8064do :
8065  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8066ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8067"
8068if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8069  cat >>confdefs.h <<_ACEOF
8070#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8071_ACEOF
8072
8073fi
8074
8075done
8076
8077
8078for ac_header in dlfcn.h
8079do :
8080  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8081"
8082if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8083  cat >>confdefs.h <<_ACEOF
8084#define HAVE_DLFCN_H 1
8085_ACEOF
8086
8087fi
8088
8089done
8090
8091
8092
8093
8094
8095# Set options
8096
8097
8098
8099        enable_dlopen=no
8100
8101
8102
8103            # Check whether --enable-shared was given.
8104if test "${enable_shared+set}" = set; then :
8105  enableval=$enable_shared; p=${PACKAGE-default}
8106    case $enableval in
8107    yes) enable_shared=yes ;;
8108    no) enable_shared=no ;;
8109    *)
8110      enable_shared=no
8111      # Look at the argument we got.  We use all the common list separators.
8112      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8113      for pkg in $enableval; do
8114	IFS="$lt_save_ifs"
8115	if test "X$pkg" = "X$p"; then
8116	  enable_shared=yes
8117	fi
8118      done
8119      IFS="$lt_save_ifs"
8120      ;;
8121    esac
8122else
8123  enable_shared=yes
8124fi
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134  # Check whether --enable-static was given.
8135if test "${enable_static+set}" = set; then :
8136  enableval=$enable_static; p=${PACKAGE-default}
8137    case $enableval in
8138    yes) enable_static=yes ;;
8139    no) enable_static=no ;;
8140    *)
8141     enable_static=no
8142      # Look at the argument we got.  We use all the common list separators.
8143      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8144      for pkg in $enableval; do
8145	IFS="$lt_save_ifs"
8146	if test "X$pkg" = "X$p"; then
8147	  enable_static=yes
8148	fi
8149      done
8150      IFS="$lt_save_ifs"
8151      ;;
8152    esac
8153else
8154  enable_static=yes
8155fi
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166# Check whether --with-pic was given.
8167if test "${with_pic+set}" = set; then :
8168  withval=$with_pic; pic_mode="$withval"
8169else
8170  pic_mode=default
8171fi
8172
8173
8174test -z "$pic_mode" && pic_mode=default
8175
8176
8177
8178
8179
8180
8181
8182  # Check whether --enable-fast-install was given.
8183if test "${enable_fast_install+set}" = set; then :
8184  enableval=$enable_fast_install; p=${PACKAGE-default}
8185    case $enableval in
8186    yes) enable_fast_install=yes ;;
8187    no) enable_fast_install=no ;;
8188    *)
8189      enable_fast_install=no
8190      # Look at the argument we got.  We use all the common list separators.
8191      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8192      for pkg in $enableval; do
8193	IFS="$lt_save_ifs"
8194	if test "X$pkg" = "X$p"; then
8195	  enable_fast_install=yes
8196	fi
8197      done
8198      IFS="$lt_save_ifs"
8199      ;;
8200    esac
8201else
8202  enable_fast_install=yes
8203fi
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215# This can be used to rebuild libtool when needed
8216LIBTOOL_DEPS="$ltmain"
8217
8218# Always use our own libtool.
8219LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246test -z "$LN_S" && LN_S="ln -s"
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261if test -n "${ZSH_VERSION+set}" ; then
8262   setopt NO_GLOB_SUBST
8263fi
8264
8265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8266$as_echo_n "checking for objdir... " >&6; }
8267if ${lt_cv_objdir+:} false; then :
8268  $as_echo_n "(cached) " >&6
8269else
8270  rm -f .libs 2>/dev/null
8271mkdir .libs 2>/dev/null
8272if test -d .libs; then
8273  lt_cv_objdir=.libs
8274else
8275  # MS-DOS does not allow filenames that begin with a dot.
8276  lt_cv_objdir=_libs
8277fi
8278rmdir .libs 2>/dev/null
8279fi
8280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8281$as_echo "$lt_cv_objdir" >&6; }
8282objdir=$lt_cv_objdir
8283
8284
8285
8286
8287
8288cat >>confdefs.h <<_ACEOF
8289#define LT_OBJDIR "$lt_cv_objdir/"
8290_ACEOF
8291
8292
8293
8294
8295case $host_os in
8296aix3*)
8297  # AIX sometimes has problems with the GCC collect2 program.  For some
8298  # reason, if we set the COLLECT_NAMES environment variable, the problems
8299  # vanish in a puff of smoke.
8300  if test "X${COLLECT_NAMES+set}" != Xset; then
8301    COLLECT_NAMES=
8302    export COLLECT_NAMES
8303  fi
8304  ;;
8305esac
8306
8307# Global variables:
8308ofile=libtool
8309can_build_shared=yes
8310
8311# All known linkers require a `.a' archive for static linking (except MSVC,
8312# which needs '.lib').
8313libext=a
8314
8315with_gnu_ld="$lt_cv_prog_gnu_ld"
8316
8317old_CC="$CC"
8318old_CFLAGS="$CFLAGS"
8319
8320# Set sane defaults for various variables
8321test -z "$CC" && CC=cc
8322test -z "$LTCC" && LTCC=$CC
8323test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8324test -z "$LD" && LD=ld
8325test -z "$ac_objext" && ac_objext=o
8326
8327for cc_temp in $compiler""; do
8328  case $cc_temp in
8329    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8330    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8331    \-*) ;;
8332    *) break;;
8333  esac
8334done
8335cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8336
8337
8338# Only perform the check for file, if the check method requires it
8339test -z "$MAGIC_CMD" && MAGIC_CMD=file
8340case $deplibs_check_method in
8341file_magic*)
8342  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8343    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8344$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8345if ${lt_cv_path_MAGIC_CMD+:} false; then :
8346  $as_echo_n "(cached) " >&6
8347else
8348  case $MAGIC_CMD in
8349[\\/*] |  ?:[\\/]*)
8350  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8351  ;;
8352*)
8353  lt_save_MAGIC_CMD="$MAGIC_CMD"
8354  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8355  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8356  for ac_dir in $ac_dummy; do
8357    IFS="$lt_save_ifs"
8358    test -z "$ac_dir" && ac_dir=.
8359    if test -f $ac_dir/${ac_tool_prefix}file; then
8360      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8361      if test -n "$file_magic_test_file"; then
8362	case $deplibs_check_method in
8363	"file_magic "*)
8364	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8365	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8366	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8367	    $EGREP "$file_magic_regex" > /dev/null; then
8368	    :
8369	  else
8370	    cat <<_LT_EOF 1>&2
8371
8372*** Warning: the command libtool uses to detect shared libraries,
8373*** $file_magic_cmd, produces output that libtool cannot recognize.
8374*** The result is that libtool may fail to recognize shared libraries
8375*** as such.  This will affect the creation of libtool libraries that
8376*** depend on shared libraries, but programs linked with such libtool
8377*** libraries will work regardless of this problem.  Nevertheless, you
8378*** may want to report the problem to your system manager and/or to
8379*** bug-libtool@gnu.org
8380
8381_LT_EOF
8382	  fi ;;
8383	esac
8384      fi
8385      break
8386    fi
8387  done
8388  IFS="$lt_save_ifs"
8389  MAGIC_CMD="$lt_save_MAGIC_CMD"
8390  ;;
8391esac
8392fi
8393
8394MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8395if test -n "$MAGIC_CMD"; then
8396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8397$as_echo "$MAGIC_CMD" >&6; }
8398else
8399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8400$as_echo "no" >&6; }
8401fi
8402
8403
8404
8405
8406
8407if test -z "$lt_cv_path_MAGIC_CMD"; then
8408  if test -n "$ac_tool_prefix"; then
8409    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8410$as_echo_n "checking for file... " >&6; }
8411if ${lt_cv_path_MAGIC_CMD+:} false; then :
8412  $as_echo_n "(cached) " >&6
8413else
8414  case $MAGIC_CMD in
8415[\\/*] |  ?:[\\/]*)
8416  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8417  ;;
8418*)
8419  lt_save_MAGIC_CMD="$MAGIC_CMD"
8420  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8421  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8422  for ac_dir in $ac_dummy; do
8423    IFS="$lt_save_ifs"
8424    test -z "$ac_dir" && ac_dir=.
8425    if test -f $ac_dir/file; then
8426      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8427      if test -n "$file_magic_test_file"; then
8428	case $deplibs_check_method in
8429	"file_magic "*)
8430	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8431	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8432	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8433	    $EGREP "$file_magic_regex" > /dev/null; then
8434	    :
8435	  else
8436	    cat <<_LT_EOF 1>&2
8437
8438*** Warning: the command libtool uses to detect shared libraries,
8439*** $file_magic_cmd, produces output that libtool cannot recognize.
8440*** The result is that libtool may fail to recognize shared libraries
8441*** as such.  This will affect the creation of libtool libraries that
8442*** depend on shared libraries, but programs linked with such libtool
8443*** libraries will work regardless of this problem.  Nevertheless, you
8444*** may want to report the problem to your system manager and/or to
8445*** bug-libtool@gnu.org
8446
8447_LT_EOF
8448	  fi ;;
8449	esac
8450      fi
8451      break
8452    fi
8453  done
8454  IFS="$lt_save_ifs"
8455  MAGIC_CMD="$lt_save_MAGIC_CMD"
8456  ;;
8457esac
8458fi
8459
8460MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8461if test -n "$MAGIC_CMD"; then
8462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8463$as_echo "$MAGIC_CMD" >&6; }
8464else
8465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8466$as_echo "no" >&6; }
8467fi
8468
8469
8470  else
8471    MAGIC_CMD=:
8472  fi
8473fi
8474
8475  fi
8476  ;;
8477esac
8478
8479# Use C for the default configuration in the libtool script
8480
8481lt_save_CC="$CC"
8482ac_ext=c
8483ac_cpp='$CPP $CPPFLAGS'
8484ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8485ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8486ac_compiler_gnu=$ac_cv_c_compiler_gnu
8487
8488
8489# Source file extension for C test sources.
8490ac_ext=c
8491
8492# Object file extension for compiled C test sources.
8493objext=o
8494objext=$objext
8495
8496# Code to be used in simple compile tests
8497lt_simple_compile_test_code="int some_variable = 0;"
8498
8499# Code to be used in simple link tests
8500lt_simple_link_test_code='int main(){return(0);}'
8501
8502
8503
8504
8505
8506
8507
8508# If no C compiler was specified, use CC.
8509LTCC=${LTCC-"$CC"}
8510
8511# If no C compiler flags were specified, use CFLAGS.
8512LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8513
8514# Allow CC to be a program name with arguments.
8515compiler=$CC
8516
8517# Save the default compiler, since it gets overwritten when the other
8518# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8519compiler_DEFAULT=$CC
8520
8521# save warnings/boilerplate of simple test code
8522ac_outfile=conftest.$ac_objext
8523echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8524eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8525_lt_compiler_boilerplate=`cat conftest.err`
8526$RM conftest*
8527
8528ac_outfile=conftest.$ac_objext
8529echo "$lt_simple_link_test_code" >conftest.$ac_ext
8530eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8531_lt_linker_boilerplate=`cat conftest.err`
8532$RM -r conftest*
8533
8534
8535if test -n "$compiler"; then
8536
8537lt_prog_compiler_no_builtin_flag=
8538
8539if test "$GCC" = yes; then
8540  case $cc_basename in
8541  nvcc*)
8542    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8543  *)
8544    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8545  esac
8546
8547  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8548$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8549if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8550  $as_echo_n "(cached) " >&6
8551else
8552  lt_cv_prog_compiler_rtti_exceptions=no
8553   ac_outfile=conftest.$ac_objext
8554   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8555   lt_compiler_flag="-fno-rtti -fno-exceptions"
8556   # Insert the option either (1) after the last *FLAGS variable, or
8557   # (2) before a word containing "conftest.", or (3) at the end.
8558   # Note that $ac_compile itself does not contain backslashes and begins
8559   # with a dollar sign (not a hyphen), so the echo should work correctly.
8560   # The option is referenced via a variable to avoid confusing sed.
8561   lt_compile=`echo "$ac_compile" | $SED \
8562   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8563   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8564   -e 's:$: $lt_compiler_flag:'`
8565   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8566   (eval "$lt_compile" 2>conftest.err)
8567   ac_status=$?
8568   cat conftest.err >&5
8569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570   if (exit $ac_status) && test -s "$ac_outfile"; then
8571     # The compiler can only warn and ignore the option if not recognized
8572     # So say no if there are warnings other than the usual output.
8573     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8574     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8575     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8576       lt_cv_prog_compiler_rtti_exceptions=yes
8577     fi
8578   fi
8579   $RM conftest*
8580
8581fi
8582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8583$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8584
8585if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8586    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8587else
8588    :
8589fi
8590
8591fi
8592
8593
8594
8595
8596
8597
8598  lt_prog_compiler_wl=
8599lt_prog_compiler_pic=
8600lt_prog_compiler_static=
8601
8602
8603  if test "$GCC" = yes; then
8604    lt_prog_compiler_wl='-Wl,'
8605    lt_prog_compiler_static='-static'
8606
8607    case $host_os in
8608      aix*)
8609      # All AIX code is PIC.
8610      if test "$host_cpu" = ia64; then
8611	# AIX 5 now supports IA64 processor
8612	lt_prog_compiler_static='-Bstatic'
8613      fi
8614      ;;
8615
8616    amigaos*)
8617      case $host_cpu in
8618      powerpc)
8619            # see comment about AmigaOS4 .so support
8620            lt_prog_compiler_pic='-fPIC'
8621        ;;
8622      m68k)
8623            # FIXME: we need at least 68020 code to build shared libraries, but
8624            # adding the `-m68020' flag to GCC prevents building anything better,
8625            # like `-m68040'.
8626            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8627        ;;
8628      esac
8629      ;;
8630
8631    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8632      # PIC is the default for these OSes.
8633      ;;
8634
8635    mingw* | cygwin* | pw32* | os2* | cegcc*)
8636      # This hack is so that the source file can tell whether it is being
8637      # built for inclusion in a dll (and should export symbols for example).
8638      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8639      # (--disable-auto-import) libraries
8640      lt_prog_compiler_pic='-DDLL_EXPORT'
8641      ;;
8642
8643    darwin* | rhapsody*)
8644      # PIC is the default on this platform
8645      # Common symbols not allowed in MH_DYLIB files
8646      lt_prog_compiler_pic='-fno-common'
8647      ;;
8648
8649    haiku*)
8650      # PIC is the default for Haiku.
8651      # The "-static" flag exists, but is broken.
8652      lt_prog_compiler_static=
8653      ;;
8654
8655    hpux*)
8656      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8657      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8658      # sets the default TLS model and affects inlining.
8659      case $host_cpu in
8660      hppa*64*)
8661	# +Z the default
8662	;;
8663      *)
8664	lt_prog_compiler_pic='-fPIC'
8665	;;
8666      esac
8667      ;;
8668
8669    interix[3-9]*)
8670      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8671      # Instead, we relocate shared libraries at runtime.
8672      ;;
8673
8674    msdosdjgpp*)
8675      # Just because we use GCC doesn't mean we suddenly get shared libraries
8676      # on systems that don't support them.
8677      lt_prog_compiler_can_build_shared=no
8678      enable_shared=no
8679      ;;
8680
8681    *nto* | *qnx*)
8682      # QNX uses GNU C++, but need to define -shared option too, otherwise
8683      # it will coredump.
8684      lt_prog_compiler_pic='-fPIC -shared'
8685      ;;
8686
8687    sysv4*MP*)
8688      if test -d /usr/nec; then
8689	lt_prog_compiler_pic=-Kconform_pic
8690      fi
8691      ;;
8692
8693    *)
8694      lt_prog_compiler_pic='-fPIC'
8695      ;;
8696    esac
8697
8698    case $cc_basename in
8699    nvcc*) # Cuda Compiler Driver 2.2
8700      lt_prog_compiler_wl='-Xlinker '
8701      lt_prog_compiler_pic='-Xcompiler -fPIC'
8702      ;;
8703    esac
8704  else
8705    # PORTME Check for flag to pass linker flags through the system compiler.
8706    case $host_os in
8707    aix*)
8708      lt_prog_compiler_wl='-Wl,'
8709      if test "$host_cpu" = ia64; then
8710	# AIX 5 now supports IA64 processor
8711	lt_prog_compiler_static='-Bstatic'
8712      else
8713	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8714      fi
8715      ;;
8716
8717    mingw* | cygwin* | pw32* | os2* | cegcc*)
8718      # This hack is so that the source file can tell whether it is being
8719      # built for inclusion in a dll (and should export symbols for example).
8720      lt_prog_compiler_pic='-DDLL_EXPORT'
8721      ;;
8722
8723    hpux9* | hpux10* | hpux11*)
8724      lt_prog_compiler_wl='-Wl,'
8725      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8726      # not for PA HP-UX.
8727      case $host_cpu in
8728      hppa*64*|ia64*)
8729	# +Z the default
8730	;;
8731      *)
8732	lt_prog_compiler_pic='+Z'
8733	;;
8734      esac
8735      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8736      lt_prog_compiler_static='${wl}-a ${wl}archive'
8737      ;;
8738
8739    irix5* | irix6* | nonstopux*)
8740      lt_prog_compiler_wl='-Wl,'
8741      # PIC (with -KPIC) is the default.
8742      lt_prog_compiler_static='-non_shared'
8743      ;;
8744
8745    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8746      case $cc_basename in
8747      # old Intel for x86_64 which still supported -KPIC.
8748      ecc*)
8749	lt_prog_compiler_wl='-Wl,'
8750	lt_prog_compiler_pic='-KPIC'
8751	lt_prog_compiler_static='-static'
8752        ;;
8753      # icc used to be incompatible with GCC.
8754      # ICC 10 doesn't accept -KPIC any more.
8755      icc* | ifort*)
8756	lt_prog_compiler_wl='-Wl,'
8757	lt_prog_compiler_pic='-fPIC'
8758	lt_prog_compiler_static='-static'
8759        ;;
8760      # Lahey Fortran 8.1.
8761      lf95*)
8762	lt_prog_compiler_wl='-Wl,'
8763	lt_prog_compiler_pic='--shared'
8764	lt_prog_compiler_static='--static'
8765	;;
8766      nagfor*)
8767	# NAG Fortran compiler
8768	lt_prog_compiler_wl='-Wl,-Wl,,'
8769	lt_prog_compiler_pic='-PIC'
8770	lt_prog_compiler_static='-Bstatic'
8771	;;
8772      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8773        # Portland Group compilers (*not* the Pentium gcc compiler,
8774	# which looks to be a dead project)
8775	lt_prog_compiler_wl='-Wl,'
8776	lt_prog_compiler_pic='-fpic'
8777	lt_prog_compiler_static='-Bstatic'
8778        ;;
8779      ccc*)
8780        lt_prog_compiler_wl='-Wl,'
8781        # All Alpha code is PIC.
8782        lt_prog_compiler_static='-non_shared'
8783        ;;
8784      xl* | bgxl* | bgf* | mpixl*)
8785	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8786	lt_prog_compiler_wl='-Wl,'
8787	lt_prog_compiler_pic='-qpic'
8788	lt_prog_compiler_static='-qstaticlink'
8789	;;
8790      *)
8791	case `$CC -V 2>&1 | sed 5q` in
8792	*Sun\ F* | *Sun*Fortran*)
8793	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8794	  lt_prog_compiler_pic='-KPIC'
8795	  lt_prog_compiler_static='-Bstatic'
8796	  lt_prog_compiler_wl=''
8797	  ;;
8798	*Sun\ C*)
8799	  # Sun C 5.9
8800	  lt_prog_compiler_pic='-KPIC'
8801	  lt_prog_compiler_static='-Bstatic'
8802	  lt_prog_compiler_wl='-Wl,'
8803	  ;;
8804	esac
8805	;;
8806      esac
8807      ;;
8808
8809    newsos6)
8810      lt_prog_compiler_pic='-KPIC'
8811      lt_prog_compiler_static='-Bstatic'
8812      ;;
8813
8814    *nto* | *qnx*)
8815      # QNX uses GNU C++, but need to define -shared option too, otherwise
8816      # it will coredump.
8817      lt_prog_compiler_pic='-fPIC -shared'
8818      ;;
8819
8820    osf3* | osf4* | osf5*)
8821      lt_prog_compiler_wl='-Wl,'
8822      # All OSF/1 code is PIC.
8823      lt_prog_compiler_static='-non_shared'
8824      ;;
8825
8826    rdos*)
8827      lt_prog_compiler_static='-non_shared'
8828      ;;
8829
8830    solaris*)
8831      lt_prog_compiler_pic='-KPIC'
8832      lt_prog_compiler_static='-Bstatic'
8833      case $cc_basename in
8834      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8835	lt_prog_compiler_wl='-Qoption ld ';;
8836      *)
8837	lt_prog_compiler_wl='-Wl,';;
8838      esac
8839      ;;
8840
8841    sunos4*)
8842      lt_prog_compiler_wl='-Qoption ld '
8843      lt_prog_compiler_pic='-PIC'
8844      lt_prog_compiler_static='-Bstatic'
8845      ;;
8846
8847    sysv4 | sysv4.2uw2* | sysv4.3*)
8848      lt_prog_compiler_wl='-Wl,'
8849      lt_prog_compiler_pic='-KPIC'
8850      lt_prog_compiler_static='-Bstatic'
8851      ;;
8852
8853    sysv4*MP*)
8854      if test -d /usr/nec ;then
8855	lt_prog_compiler_pic='-Kconform_pic'
8856	lt_prog_compiler_static='-Bstatic'
8857      fi
8858      ;;
8859
8860    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8861      lt_prog_compiler_wl='-Wl,'
8862      lt_prog_compiler_pic='-KPIC'
8863      lt_prog_compiler_static='-Bstatic'
8864      ;;
8865
8866    unicos*)
8867      lt_prog_compiler_wl='-Wl,'
8868      lt_prog_compiler_can_build_shared=no
8869      ;;
8870
8871    uts4*)
8872      lt_prog_compiler_pic='-pic'
8873      lt_prog_compiler_static='-Bstatic'
8874      ;;
8875
8876    *)
8877      lt_prog_compiler_can_build_shared=no
8878      ;;
8879    esac
8880  fi
8881
8882case $host_os in
8883  # For platforms which do not support PIC, -DPIC is meaningless:
8884  *djgpp*)
8885    lt_prog_compiler_pic=
8886    ;;
8887  *)
8888    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8889    ;;
8890esac
8891
8892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8893$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8894if ${lt_cv_prog_compiler_pic+:} false; then :
8895  $as_echo_n "(cached) " >&6
8896else
8897  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8898fi
8899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8900$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8901lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8902
8903#
8904# Check to make sure the PIC flag actually works.
8905#
8906if test -n "$lt_prog_compiler_pic"; then
8907  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8908$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8909if ${lt_cv_prog_compiler_pic_works+:} false; then :
8910  $as_echo_n "(cached) " >&6
8911else
8912  lt_cv_prog_compiler_pic_works=no
8913   ac_outfile=conftest.$ac_objext
8914   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8916   # Insert the option either (1) after the last *FLAGS variable, or
8917   # (2) before a word containing "conftest.", or (3) at the end.
8918   # Note that $ac_compile itself does not contain backslashes and begins
8919   # with a dollar sign (not a hyphen), so the echo should work correctly.
8920   # The option is referenced via a variable to avoid confusing sed.
8921   lt_compile=`echo "$ac_compile" | $SED \
8922   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924   -e 's:$: $lt_compiler_flag:'`
8925   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926   (eval "$lt_compile" 2>conftest.err)
8927   ac_status=$?
8928   cat conftest.err >&5
8929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930   if (exit $ac_status) && test -s "$ac_outfile"; then
8931     # The compiler can only warn and ignore the option if not recognized
8932     # So say no if there are warnings other than the usual output.
8933     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8934     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8935     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8936       lt_cv_prog_compiler_pic_works=yes
8937     fi
8938   fi
8939   $RM conftest*
8940
8941fi
8942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8943$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8944
8945if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8946    case $lt_prog_compiler_pic in
8947     "" | " "*) ;;
8948     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8949     esac
8950else
8951    lt_prog_compiler_pic=
8952     lt_prog_compiler_can_build_shared=no
8953fi
8954
8955fi
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967#
8968# Check to make sure the static flag actually works.
8969#
8970wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8972$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8973if ${lt_cv_prog_compiler_static_works+:} false; then :
8974  $as_echo_n "(cached) " >&6
8975else
8976  lt_cv_prog_compiler_static_works=no
8977   save_LDFLAGS="$LDFLAGS"
8978   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8979   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8980   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8981     # The linker can only warn and ignore the option if not recognized
8982     # So say no if there are warnings
8983     if test -s conftest.err; then
8984       # Append any errors to the config.log.
8985       cat conftest.err 1>&5
8986       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8987       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8988       if diff conftest.exp conftest.er2 >/dev/null; then
8989         lt_cv_prog_compiler_static_works=yes
8990       fi
8991     else
8992       lt_cv_prog_compiler_static_works=yes
8993     fi
8994   fi
8995   $RM -r conftest*
8996   LDFLAGS="$save_LDFLAGS"
8997
8998fi
8999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9000$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9001
9002if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9003    :
9004else
9005    lt_prog_compiler_static=
9006fi
9007
9008
9009
9010
9011
9012
9013
9014  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9015$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9016if ${lt_cv_prog_compiler_c_o+:} false; then :
9017  $as_echo_n "(cached) " >&6
9018else
9019  lt_cv_prog_compiler_c_o=no
9020   $RM -r conftest 2>/dev/null
9021   mkdir conftest
9022   cd conftest
9023   mkdir out
9024   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9025
9026   lt_compiler_flag="-o out/conftest2.$ac_objext"
9027   # Insert the option either (1) after the last *FLAGS variable, or
9028   # (2) before a word containing "conftest.", or (3) at the end.
9029   # Note that $ac_compile itself does not contain backslashes and begins
9030   # with a dollar sign (not a hyphen), so the echo should work correctly.
9031   lt_compile=`echo "$ac_compile" | $SED \
9032   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9033   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9034   -e 's:$: $lt_compiler_flag:'`
9035   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9036   (eval "$lt_compile" 2>out/conftest.err)
9037   ac_status=$?
9038   cat out/conftest.err >&5
9039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9041   then
9042     # The compiler can only warn and ignore the option if not recognized
9043     # So say no if there are warnings
9044     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9045     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9046     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9047       lt_cv_prog_compiler_c_o=yes
9048     fi
9049   fi
9050   chmod u+w . 2>&5
9051   $RM conftest*
9052   # SGI C++ compiler will create directory out/ii_files/ for
9053   # template instantiation
9054   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9055   $RM out/* && rmdir out
9056   cd ..
9057   $RM -r conftest
9058   $RM conftest*
9059
9060fi
9061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9062$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9063
9064
9065
9066
9067
9068
9069  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9070$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9071if ${lt_cv_prog_compiler_c_o+:} false; then :
9072  $as_echo_n "(cached) " >&6
9073else
9074  lt_cv_prog_compiler_c_o=no
9075   $RM -r conftest 2>/dev/null
9076   mkdir conftest
9077   cd conftest
9078   mkdir out
9079   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9080
9081   lt_compiler_flag="-o out/conftest2.$ac_objext"
9082   # Insert the option either (1) after the last *FLAGS variable, or
9083   # (2) before a word containing "conftest.", or (3) at the end.
9084   # Note that $ac_compile itself does not contain backslashes and begins
9085   # with a dollar sign (not a hyphen), so the echo should work correctly.
9086   lt_compile=`echo "$ac_compile" | $SED \
9087   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9088   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9089   -e 's:$: $lt_compiler_flag:'`
9090   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9091   (eval "$lt_compile" 2>out/conftest.err)
9092   ac_status=$?
9093   cat out/conftest.err >&5
9094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9095   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9096   then
9097     # The compiler can only warn and ignore the option if not recognized
9098     # So say no if there are warnings
9099     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9100     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9101     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9102       lt_cv_prog_compiler_c_o=yes
9103     fi
9104   fi
9105   chmod u+w . 2>&5
9106   $RM conftest*
9107   # SGI C++ compiler will create directory out/ii_files/ for
9108   # template instantiation
9109   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9110   $RM out/* && rmdir out
9111   cd ..
9112   $RM -r conftest
9113   $RM conftest*
9114
9115fi
9116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9117$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9118
9119
9120
9121
9122hard_links="nottested"
9123if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9124  # do not overwrite the value of need_locks provided by the user
9125  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9126$as_echo_n "checking if we can lock with hard links... " >&6; }
9127  hard_links=yes
9128  $RM conftest*
9129  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9130  touch conftest.a
9131  ln conftest.a conftest.b 2>&5 || hard_links=no
9132  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9134$as_echo "$hard_links" >&6; }
9135  if test "$hard_links" = no; then
9136    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9137$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9138    need_locks=warn
9139  fi
9140else
9141  need_locks=no
9142fi
9143
9144
9145
9146
9147
9148
9149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9150$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9151
9152  runpath_var=
9153  allow_undefined_flag=
9154  always_export_symbols=no
9155  archive_cmds=
9156  archive_expsym_cmds=
9157  compiler_needs_object=no
9158  enable_shared_with_static_runtimes=no
9159  export_dynamic_flag_spec=
9160  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9161  hardcode_automatic=no
9162  hardcode_direct=no
9163  hardcode_direct_absolute=no
9164  hardcode_libdir_flag_spec=
9165  hardcode_libdir_flag_spec_ld=
9166  hardcode_libdir_separator=
9167  hardcode_minus_L=no
9168  hardcode_shlibpath_var=unsupported
9169  inherit_rpath=no
9170  link_all_deplibs=unknown
9171  module_cmds=
9172  module_expsym_cmds=
9173  old_archive_from_new_cmds=
9174  old_archive_from_expsyms_cmds=
9175  thread_safe_flag_spec=
9176  whole_archive_flag_spec=
9177  # include_expsyms should be a list of space-separated symbols to be *always*
9178  # included in the symbol list
9179  include_expsyms=
9180  # exclude_expsyms can be an extended regexp of symbols to exclude
9181  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9182  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9183  # as well as any symbol that contains `d'.
9184  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9185  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9186  # platforms (ab)use it in PIC code, but their linkers get confused if
9187  # the symbol is explicitly referenced.  Since portable code cannot
9188  # rely on this symbol name, it's probably fine to never include it in
9189  # preloaded symbol tables.
9190  # Exclude shared library initialization/finalization symbols.
9191  extract_expsyms_cmds=
9192
9193  case $host_os in
9194  cygwin* | mingw* | pw32* | cegcc*)
9195    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9196    # When not using gcc, we currently assume that we are using
9197    # Microsoft Visual C++.
9198    if test "$GCC" != yes; then
9199      with_gnu_ld=no
9200    fi
9201    ;;
9202  interix*)
9203    # we just hope/assume this is gcc and not c89 (= MSVC++)
9204    with_gnu_ld=yes
9205    ;;
9206  openbsd*)
9207    with_gnu_ld=no
9208    ;;
9209  esac
9210
9211  ld_shlibs=yes
9212
9213  # On some targets, GNU ld is compatible enough with the native linker
9214  # that we're better off using the native interface for both.
9215  lt_use_gnu_ld_interface=no
9216  if test "$with_gnu_ld" = yes; then
9217    case $host_os in
9218      aix*)
9219	# The AIX port of GNU ld has always aspired to compatibility
9220	# with the native linker.  However, as the warning in the GNU ld
9221	# block says, versions before 2.19.5* couldn't really create working
9222	# shared libraries, regardless of the interface used.
9223	case `$LD -v 2>&1` in
9224	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9225	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9226	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9227	  *)
9228	    lt_use_gnu_ld_interface=yes
9229	    ;;
9230	esac
9231	;;
9232      *)
9233	lt_use_gnu_ld_interface=yes
9234	;;
9235    esac
9236  fi
9237
9238  if test "$lt_use_gnu_ld_interface" = yes; then
9239    # If archive_cmds runs LD, not CC, wlarc should be empty
9240    wlarc='${wl}'
9241
9242    # Set some defaults for GNU ld with shared library support. These
9243    # are reset later if shared libraries are not supported. Putting them
9244    # here allows them to be overridden if necessary.
9245    runpath_var=LD_RUN_PATH
9246    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9247    export_dynamic_flag_spec='${wl}--export-dynamic'
9248    # ancient GNU ld didn't support --whole-archive et. al.
9249    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9250      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9251    else
9252      whole_archive_flag_spec=
9253    fi
9254    supports_anon_versioning=no
9255    case `$LD -v 2>&1` in
9256      *GNU\ gold*) supports_anon_versioning=yes ;;
9257      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9258      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9259      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9260      *\ 2.11.*) ;; # other 2.11 versions
9261      *) supports_anon_versioning=yes ;;
9262    esac
9263
9264    # See if GNU ld supports shared libraries.
9265    case $host_os in
9266    aix[3-9]*)
9267      # On AIX/PPC, the GNU linker is very broken
9268      if test "$host_cpu" != ia64; then
9269	ld_shlibs=no
9270	cat <<_LT_EOF 1>&2
9271
9272*** Warning: the GNU linker, at least up to release 2.19, is reported
9273*** to be unable to reliably create shared libraries on AIX.
9274*** Therefore, libtool is disabling shared libraries support.  If you
9275*** really care for shared libraries, you may want to install binutils
9276*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9277*** You will then need to restart the configuration process.
9278
9279_LT_EOF
9280      fi
9281      ;;
9282
9283    amigaos*)
9284      case $host_cpu in
9285      powerpc)
9286            # see comment about AmigaOS4 .so support
9287            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9288            archive_expsym_cmds=''
9289        ;;
9290      m68k)
9291            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9292            hardcode_libdir_flag_spec='-L$libdir'
9293            hardcode_minus_L=yes
9294        ;;
9295      esac
9296      ;;
9297
9298    beos*)
9299      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9300	allow_undefined_flag=unsupported
9301	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9302	# support --undefined.  This deserves some investigation.  FIXME
9303	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9304      else
9305	ld_shlibs=no
9306      fi
9307      ;;
9308
9309    cygwin* | mingw* | pw32* | cegcc*)
9310      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9311      # as there is no search path for DLLs.
9312      hardcode_libdir_flag_spec='-L$libdir'
9313      export_dynamic_flag_spec='${wl}--export-all-symbols'
9314      allow_undefined_flag=unsupported
9315      always_export_symbols=no
9316      enable_shared_with_static_runtimes=yes
9317      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9318      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9319
9320      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9321        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9322	# If the export-symbols file already is a .def file (1st line
9323	# is EXPORTS), use it as is; otherwise, prepend...
9324	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9325	  cp $export_symbols $output_objdir/$soname.def;
9326	else
9327	  echo EXPORTS > $output_objdir/$soname.def;
9328	  cat $export_symbols >> $output_objdir/$soname.def;
9329	fi~
9330	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9331      else
9332	ld_shlibs=no
9333      fi
9334      ;;
9335
9336    haiku*)
9337      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9338      link_all_deplibs=yes
9339      ;;
9340
9341    interix[3-9]*)
9342      hardcode_direct=no
9343      hardcode_shlibpath_var=no
9344      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9345      export_dynamic_flag_spec='${wl}-E'
9346      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9347      # Instead, shared libraries are loaded at an image base (0x10000000 by
9348      # default) and relocated if they conflict, which is a slow very memory
9349      # consuming and fragmenting process.  To avoid this, we pick a random,
9350      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9351      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9352      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9353      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9354      ;;
9355
9356    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9357      tmp_diet=no
9358      if test "$host_os" = linux-dietlibc; then
9359	case $cc_basename in
9360	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9361	esac
9362      fi
9363      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9364	 && test "$tmp_diet" = no
9365      then
9366	tmp_addflag=' $pic_flag'
9367	tmp_sharedflag='-shared'
9368	case $cc_basename,$host_cpu in
9369        pgcc*)				# Portland Group C compiler
9370	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9371	  tmp_addflag=' $pic_flag'
9372	  ;;
9373	pgf77* | pgf90* | pgf95* | pgfortran*)
9374					# Portland Group f77 and f90 compilers
9375	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9376	  tmp_addflag=' $pic_flag -Mnomain' ;;
9377	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9378	  tmp_addflag=' -i_dynamic' ;;
9379	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9380	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9381	ifc* | ifort*)			# Intel Fortran compiler
9382	  tmp_addflag=' -nofor_main' ;;
9383	lf95*)				# Lahey Fortran 8.1
9384	  whole_archive_flag_spec=
9385	  tmp_sharedflag='--shared' ;;
9386	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9387	  tmp_sharedflag='-qmkshrobj'
9388	  tmp_addflag= ;;
9389	nvcc*)	# Cuda Compiler Driver 2.2
9390	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9391	  compiler_needs_object=yes
9392	  ;;
9393	esac
9394	case `$CC -V 2>&1 | sed 5q` in
9395	*Sun\ C*)			# Sun C 5.9
9396	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9397	  compiler_needs_object=yes
9398	  tmp_sharedflag='-G' ;;
9399	*Sun\ F*)			# Sun Fortran 8.3
9400	  tmp_sharedflag='-G' ;;
9401	esac
9402	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9403
9404        if test "x$supports_anon_versioning" = xyes; then
9405          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9406	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9407	    echo "local: *; };" >> $output_objdir/$libname.ver~
9408	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9409        fi
9410
9411	case $cc_basename in
9412	xlf* | bgf* | bgxlf* | mpixlf*)
9413	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9414	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9415	  hardcode_libdir_flag_spec=
9416	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9417	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9418	  if test "x$supports_anon_versioning" = xyes; then
9419	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9420	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9421	      echo "local: *; };" >> $output_objdir/$libname.ver~
9422	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9423	  fi
9424	  ;;
9425	esac
9426      else
9427        ld_shlibs=no
9428      fi
9429      ;;
9430
9431    netbsd*)
9432      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9433	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9434	wlarc=
9435      else
9436	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9437	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9438      fi
9439      ;;
9440
9441    solaris*)
9442      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9443	ld_shlibs=no
9444	cat <<_LT_EOF 1>&2
9445
9446*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9447*** create shared libraries on Solaris systems.  Therefore, libtool
9448*** is disabling shared libraries support.  We urge you to upgrade GNU
9449*** binutils to release 2.9.1 or newer.  Another option is to modify
9450*** your PATH or compiler configuration so that the native linker is
9451*** used, and then restart.
9452
9453_LT_EOF
9454      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9455	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9456	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9457      else
9458	ld_shlibs=no
9459      fi
9460      ;;
9461
9462    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9463      case `$LD -v 2>&1` in
9464        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9465	ld_shlibs=no
9466	cat <<_LT_EOF 1>&2
9467
9468*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9469*** reliably create shared libraries on SCO systems.  Therefore, libtool
9470*** is disabling shared libraries support.  We urge you to upgrade GNU
9471*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9472*** your PATH or compiler configuration so that the native linker is
9473*** used, and then restart.
9474
9475_LT_EOF
9476	;;
9477	*)
9478	  # For security reasons, it is highly recommended that you always
9479	  # use absolute paths for naming shared libraries, and exclude the
9480	  # DT_RUNPATH tag from executables and libraries.  But doing so
9481	  # requires that you compile everything twice, which is a pain.
9482	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9483	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9484	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9485	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9486	  else
9487	    ld_shlibs=no
9488	  fi
9489	;;
9490      esac
9491      ;;
9492
9493    sunos4*)
9494      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9495      wlarc=
9496      hardcode_direct=yes
9497      hardcode_shlibpath_var=no
9498      ;;
9499
9500    *)
9501      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9502	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9503	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9504      else
9505	ld_shlibs=no
9506      fi
9507      ;;
9508    esac
9509
9510    if test "$ld_shlibs" = no; then
9511      runpath_var=
9512      hardcode_libdir_flag_spec=
9513      export_dynamic_flag_spec=
9514      whole_archive_flag_spec=
9515    fi
9516  else
9517    # PORTME fill in a description of your system's linker (not GNU ld)
9518    case $host_os in
9519    aix3*)
9520      allow_undefined_flag=unsupported
9521      always_export_symbols=yes
9522      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9523      # Note: this linker hardcodes the directories in LIBPATH if there
9524      # are no directories specified by -L.
9525      hardcode_minus_L=yes
9526      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9527	# Neither direct hardcoding nor static linking is supported with a
9528	# broken collect2.
9529	hardcode_direct=unsupported
9530      fi
9531      ;;
9532
9533    aix[4-9]*)
9534      if test "$host_cpu" = ia64; then
9535	# On IA64, the linker does run time linking by default, so we don't
9536	# have to do anything special.
9537	aix_use_runtimelinking=no
9538	exp_sym_flag='-Bexport'
9539	no_entry_flag=""
9540      else
9541	# If we're using GNU nm, then we don't want the "-C" option.
9542	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9543	# Also, AIX nm treats weak defined symbols like other global
9544	# defined symbols, whereas GNU nm marks them as "W".
9545	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9546	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9547	else
9548	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9549	fi
9550	aix_use_runtimelinking=no
9551
9552	# Test if we are trying to use run time linking or normal
9553	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9554	# need to do runtime linking.
9555	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9556	  for ld_flag in $LDFLAGS; do
9557	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9558	    aix_use_runtimelinking=yes
9559	    break
9560	  fi
9561	  done
9562	  ;;
9563	esac
9564
9565	exp_sym_flag='-bexport'
9566	no_entry_flag='-bnoentry'
9567      fi
9568
9569      # When large executables or shared objects are built, AIX ld can
9570      # have problems creating the table of contents.  If linking a library
9571      # or program results in "error TOC overflow" add -mminimal-toc to
9572      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9573      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9574
9575      archive_cmds=''
9576      hardcode_direct=yes
9577      hardcode_direct_absolute=yes
9578      hardcode_libdir_separator=':'
9579      link_all_deplibs=yes
9580      file_list_spec='${wl}-f,'
9581
9582      if test "$GCC" = yes; then
9583	case $host_os in aix4.[012]|aix4.[012].*)
9584	# We only want to do this on AIX 4.2 and lower, the check
9585	# below for broken collect2 doesn't work under 4.3+
9586	  collect2name=`${CC} -print-prog-name=collect2`
9587	  if test -f "$collect2name" &&
9588	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9589	  then
9590	  # We have reworked collect2
9591	  :
9592	  else
9593	  # We have old collect2
9594	  hardcode_direct=unsupported
9595	  # It fails to find uninstalled libraries when the uninstalled
9596	  # path is not listed in the libpath.  Setting hardcode_minus_L
9597	  # to unsupported forces relinking
9598	  hardcode_minus_L=yes
9599	  hardcode_libdir_flag_spec='-L$libdir'
9600	  hardcode_libdir_separator=
9601	  fi
9602	  ;;
9603	esac
9604	shared_flag='-shared'
9605	if test "$aix_use_runtimelinking" = yes; then
9606	  shared_flag="$shared_flag "'${wl}-G'
9607	fi
9608      else
9609	# not using gcc
9610	if test "$host_cpu" = ia64; then
9611	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9612	# chokes on -Wl,-G. The following line is correct:
9613	  shared_flag='-G'
9614	else
9615	  if test "$aix_use_runtimelinking" = yes; then
9616	    shared_flag='${wl}-G'
9617	  else
9618	    shared_flag='${wl}-bM:SRE'
9619	  fi
9620	fi
9621      fi
9622
9623      export_dynamic_flag_spec='${wl}-bexpall'
9624      # It seems that -bexpall does not export symbols beginning with
9625      # underscore (_), so it is better to generate a list of symbols to export.
9626      always_export_symbols=yes
9627      if test "$aix_use_runtimelinking" = yes; then
9628	# Warning - without using the other runtime loading flags (-brtl),
9629	# -berok will link without error, but may produce a broken library.
9630	allow_undefined_flag='-berok'
9631        # Determine the default libpath from the value encoded in an
9632        # empty executable.
9633        if test "${lt_cv_aix_libpath+set}" = set; then
9634  aix_libpath=$lt_cv_aix_libpath
9635else
9636  if ${lt_cv_aix_libpath_+:} false; then :
9637  $as_echo_n "(cached) " >&6
9638else
9639  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9640/* end confdefs.h.  */
9641
9642int
9643main ()
9644{
9645
9646  ;
9647  return 0;
9648}
9649_ACEOF
9650if ac_fn_c_try_link "$LINENO"; then :
9651
9652  lt_aix_libpath_sed='
9653      /Import File Strings/,/^$/ {
9654	  /^0/ {
9655	      s/^0  *\([^ ]*\) *$/\1/
9656	      p
9657	  }
9658      }'
9659  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9660  # Check for a 64-bit object if we didn't find anything.
9661  if test -z "$lt_cv_aix_libpath_"; then
9662    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9663  fi
9664fi
9665rm -f core conftest.err conftest.$ac_objext \
9666    conftest$ac_exeext conftest.$ac_ext
9667  if test -z "$lt_cv_aix_libpath_"; then
9668    lt_cv_aix_libpath_="/usr/lib:/lib"
9669  fi
9670
9671fi
9672
9673  aix_libpath=$lt_cv_aix_libpath_
9674fi
9675
9676        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9677        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9678      else
9679	if test "$host_cpu" = ia64; then
9680	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9681	  allow_undefined_flag="-z nodefs"
9682	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9683	else
9684	 # Determine the default libpath from the value encoded in an
9685	 # empty executable.
9686	 if test "${lt_cv_aix_libpath+set}" = set; then
9687  aix_libpath=$lt_cv_aix_libpath
9688else
9689  if ${lt_cv_aix_libpath_+:} false; then :
9690  $as_echo_n "(cached) " >&6
9691else
9692  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9693/* end confdefs.h.  */
9694
9695int
9696main ()
9697{
9698
9699  ;
9700  return 0;
9701}
9702_ACEOF
9703if ac_fn_c_try_link "$LINENO"; then :
9704
9705  lt_aix_libpath_sed='
9706      /Import File Strings/,/^$/ {
9707	  /^0/ {
9708	      s/^0  *\([^ ]*\) *$/\1/
9709	      p
9710	  }
9711      }'
9712  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9713  # Check for a 64-bit object if we didn't find anything.
9714  if test -z "$lt_cv_aix_libpath_"; then
9715    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9716  fi
9717fi
9718rm -f core conftest.err conftest.$ac_objext \
9719    conftest$ac_exeext conftest.$ac_ext
9720  if test -z "$lt_cv_aix_libpath_"; then
9721    lt_cv_aix_libpath_="/usr/lib:/lib"
9722  fi
9723
9724fi
9725
9726  aix_libpath=$lt_cv_aix_libpath_
9727fi
9728
9729	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9730	  # Warning - without using the other run time loading flags,
9731	  # -berok will link without error, but may produce a broken library.
9732	  no_undefined_flag=' ${wl}-bernotok'
9733	  allow_undefined_flag=' ${wl}-berok'
9734	  if test "$with_gnu_ld" = yes; then
9735	    # We only use this code for GNU lds that support --whole-archive.
9736	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9737	  else
9738	    # Exported symbols can be pulled into shared objects from archives
9739	    whole_archive_flag_spec='$convenience'
9740	  fi
9741	  archive_cmds_need_lc=yes
9742	  # This is similar to how AIX traditionally builds its shared libraries.
9743	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9744	fi
9745      fi
9746      ;;
9747
9748    amigaos*)
9749      case $host_cpu in
9750      powerpc)
9751            # see comment about AmigaOS4 .so support
9752            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9753            archive_expsym_cmds=''
9754        ;;
9755      m68k)
9756            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9757            hardcode_libdir_flag_spec='-L$libdir'
9758            hardcode_minus_L=yes
9759        ;;
9760      esac
9761      ;;
9762
9763    bsdi[45]*)
9764      export_dynamic_flag_spec=-rdynamic
9765      ;;
9766
9767    cygwin* | mingw* | pw32* | cegcc*)
9768      # When not using gcc, we currently assume that we are using
9769      # Microsoft Visual C++.
9770      # hardcode_libdir_flag_spec is actually meaningless, as there is
9771      # no search path for DLLs.
9772      case $cc_basename in
9773      cl*)
9774	# Native MSVC
9775	hardcode_libdir_flag_spec=' '
9776	allow_undefined_flag=unsupported
9777	always_export_symbols=yes
9778	file_list_spec='@'
9779	# Tell ltmain to make .lib files, not .a files.
9780	libext=lib
9781	# Tell ltmain to make .dll files, not .so files.
9782	shrext_cmds=".dll"
9783	# FIXME: Setting linknames here is a bad hack.
9784	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9785	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9786	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9787	  else
9788	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9789	  fi~
9790	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9791	  linknames='
9792	# The linker will not automatically build a static lib if we build a DLL.
9793	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9794	enable_shared_with_static_runtimes=yes
9795	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9796	# Don't use ranlib
9797	old_postinstall_cmds='chmod 644 $oldlib'
9798	postlink_cmds='lt_outputfile="@OUTPUT@"~
9799	  lt_tool_outputfile="@TOOL_OUTPUT@"~
9800	  case $lt_outputfile in
9801	    *.exe|*.EXE) ;;
9802	    *)
9803	      lt_outputfile="$lt_outputfile.exe"
9804	      lt_tool_outputfile="$lt_tool_outputfile.exe"
9805	      ;;
9806	  esac~
9807	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9808	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9809	    $RM "$lt_outputfile.manifest";
9810	  fi'
9811	;;
9812      *)
9813	# Assume MSVC wrapper
9814	hardcode_libdir_flag_spec=' '
9815	allow_undefined_flag=unsupported
9816	# Tell ltmain to make .lib files, not .a files.
9817	libext=lib
9818	# Tell ltmain to make .dll files, not .so files.
9819	shrext_cmds=".dll"
9820	# FIXME: Setting linknames here is a bad hack.
9821	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9822	# The linker will automatically build a .lib file if we build a DLL.
9823	old_archive_from_new_cmds='true'
9824	# FIXME: Should let the user specify the lib program.
9825	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9826	enable_shared_with_static_runtimes=yes
9827	;;
9828      esac
9829      ;;
9830
9831    darwin* | rhapsody*)
9832
9833
9834  archive_cmds_need_lc=no
9835  hardcode_direct=no
9836  hardcode_automatic=yes
9837  hardcode_shlibpath_var=unsupported
9838  if test "$lt_cv_ld_force_load" = "yes"; then
9839    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9840  else
9841    whole_archive_flag_spec=''
9842  fi
9843  link_all_deplibs=yes
9844  allow_undefined_flag="$_lt_dar_allow_undefined"
9845  case $cc_basename in
9846     ifort*) _lt_dar_can_shared=yes ;;
9847     *) _lt_dar_can_shared=$GCC ;;
9848  esac
9849  if test "$_lt_dar_can_shared" = "yes"; then
9850    output_verbose_link_cmd=func_echo_all
9851    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9852    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9853    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9854    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9855
9856  else
9857  ld_shlibs=no
9858  fi
9859
9860      ;;
9861
9862    dgux*)
9863      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9864      hardcode_libdir_flag_spec='-L$libdir'
9865      hardcode_shlibpath_var=no
9866      ;;
9867
9868    freebsd1*)
9869      ld_shlibs=no
9870      ;;
9871
9872    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9873    # support.  Future versions do this automatically, but an explicit c++rt0.o
9874    # does not break anything, and helps significantly (at the cost of a little
9875    # extra space).
9876    freebsd2.2*)
9877      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9878      hardcode_libdir_flag_spec='-R$libdir'
9879      hardcode_direct=yes
9880      hardcode_shlibpath_var=no
9881      ;;
9882
9883    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9884    freebsd2*)
9885      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9886      hardcode_direct=yes
9887      hardcode_minus_L=yes
9888      hardcode_shlibpath_var=no
9889      ;;
9890
9891    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9892    freebsd* | dragonfly*)
9893      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9894      hardcode_libdir_flag_spec='-R$libdir'
9895      hardcode_direct=yes
9896      hardcode_shlibpath_var=no
9897      ;;
9898
9899    hpux9*)
9900      if test "$GCC" = yes; then
9901	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9902      else
9903	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9904      fi
9905      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9906      hardcode_libdir_separator=:
9907      hardcode_direct=yes
9908
9909      # hardcode_minus_L: Not really in the search PATH,
9910      # but as the default location of the library.
9911      hardcode_minus_L=yes
9912      export_dynamic_flag_spec='${wl}-E'
9913      ;;
9914
9915    hpux10*)
9916      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9917	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9918      else
9919	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9920      fi
9921      if test "$with_gnu_ld" = no; then
9922	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9923	hardcode_libdir_flag_spec_ld='+b $libdir'
9924	hardcode_libdir_separator=:
9925	hardcode_direct=yes
9926	hardcode_direct_absolute=yes
9927	export_dynamic_flag_spec='${wl}-E'
9928	# hardcode_minus_L: Not really in the search PATH,
9929	# but as the default location of the library.
9930	hardcode_minus_L=yes
9931      fi
9932      ;;
9933
9934    hpux11*)
9935      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9936	case $host_cpu in
9937	hppa*64*)
9938	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9939	  ;;
9940	ia64*)
9941	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9942	  ;;
9943	*)
9944	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9945	  ;;
9946	esac
9947      else
9948	case $host_cpu in
9949	hppa*64*)
9950	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9951	  ;;
9952	ia64*)
9953	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9954	  ;;
9955	*)
9956
9957	  # Older versions of the 11.00 compiler do not understand -b yet
9958	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9959	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9960$as_echo_n "checking if $CC understands -b... " >&6; }
9961if ${lt_cv_prog_compiler__b+:} false; then :
9962  $as_echo_n "(cached) " >&6
9963else
9964  lt_cv_prog_compiler__b=no
9965   save_LDFLAGS="$LDFLAGS"
9966   LDFLAGS="$LDFLAGS -b"
9967   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9968   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9969     # The linker can only warn and ignore the option if not recognized
9970     # So say no if there are warnings
9971     if test -s conftest.err; then
9972       # Append any errors to the config.log.
9973       cat conftest.err 1>&5
9974       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9975       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9976       if diff conftest.exp conftest.er2 >/dev/null; then
9977         lt_cv_prog_compiler__b=yes
9978       fi
9979     else
9980       lt_cv_prog_compiler__b=yes
9981     fi
9982   fi
9983   $RM -r conftest*
9984   LDFLAGS="$save_LDFLAGS"
9985
9986fi
9987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9988$as_echo "$lt_cv_prog_compiler__b" >&6; }
9989
9990if test x"$lt_cv_prog_compiler__b" = xyes; then
9991    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9992else
9993    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9994fi
9995
9996	  ;;
9997	esac
9998      fi
9999      if test "$with_gnu_ld" = no; then
10000	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10001	hardcode_libdir_separator=:
10002
10003	case $host_cpu in
10004	hppa*64*|ia64*)
10005	  hardcode_direct=no
10006	  hardcode_shlibpath_var=no
10007	  ;;
10008	*)
10009	  hardcode_direct=yes
10010	  hardcode_direct_absolute=yes
10011	  export_dynamic_flag_spec='${wl}-E'
10012
10013	  # hardcode_minus_L: Not really in the search PATH,
10014	  # but as the default location of the library.
10015	  hardcode_minus_L=yes
10016	  ;;
10017	esac
10018      fi
10019      ;;
10020
10021    irix5* | irix6* | nonstopux*)
10022      if test "$GCC" = yes; then
10023	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10024	# Try to use the -exported_symbol ld option, if it does not
10025	# work, assume that -exports_file does not work either and
10026	# implicitly export all symbols.
10027	# This should be the same for all languages, so no per-tag cache variable.
10028	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10029$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10030if ${lt_cv_irix_exported_symbol+:} false; then :
10031  $as_echo_n "(cached) " >&6
10032else
10033  save_LDFLAGS="$LDFLAGS"
10034	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10035	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036/* end confdefs.h.  */
10037int foo (void) { return 0; }
10038_ACEOF
10039if ac_fn_c_try_link "$LINENO"; then :
10040  lt_cv_irix_exported_symbol=yes
10041else
10042  lt_cv_irix_exported_symbol=no
10043fi
10044rm -f core conftest.err conftest.$ac_objext \
10045    conftest$ac_exeext conftest.$ac_ext
10046           LDFLAGS="$save_LDFLAGS"
10047fi
10048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10049$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10050	if test "$lt_cv_irix_exported_symbol" = yes; then
10051          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10052	fi
10053      else
10054	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10055	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10056      fi
10057      archive_cmds_need_lc='no'
10058      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10059      hardcode_libdir_separator=:
10060      inherit_rpath=yes
10061      link_all_deplibs=yes
10062      ;;
10063
10064    netbsd*)
10065      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10066	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10067      else
10068	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10069      fi
10070      hardcode_libdir_flag_spec='-R$libdir'
10071      hardcode_direct=yes
10072      hardcode_shlibpath_var=no
10073      ;;
10074
10075    newsos6)
10076      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10077      hardcode_direct=yes
10078      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10079      hardcode_libdir_separator=:
10080      hardcode_shlibpath_var=no
10081      ;;
10082
10083    *nto* | *qnx*)
10084      ;;
10085
10086    openbsd*)
10087      if test -f /usr/libexec/ld.so; then
10088	hardcode_direct=yes
10089	hardcode_shlibpath_var=no
10090	hardcode_direct_absolute=yes
10091	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10092	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10093	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10094	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10095	  export_dynamic_flag_spec='${wl}-E'
10096	else
10097	  case $host_os in
10098	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10099	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10100	     hardcode_libdir_flag_spec='-R$libdir'
10101	     ;;
10102	   *)
10103	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10104	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10105	     ;;
10106	  esac
10107	fi
10108      else
10109	ld_shlibs=no
10110      fi
10111      ;;
10112
10113    os2*)
10114      hardcode_libdir_flag_spec='-L$libdir'
10115      hardcode_minus_L=yes
10116      allow_undefined_flag=unsupported
10117      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10118      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10119      ;;
10120
10121    osf3*)
10122      if test "$GCC" = yes; then
10123	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10124	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10125      else
10126	allow_undefined_flag=' -expect_unresolved \*'
10127	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10128      fi
10129      archive_cmds_need_lc='no'
10130      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10131      hardcode_libdir_separator=:
10132      ;;
10133
10134    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10135      if test "$GCC" = yes; then
10136	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10137	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10138	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10139      else
10140	allow_undefined_flag=' -expect_unresolved \*'
10141	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10142	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10143	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10144
10145	# Both c and cxx compiler support -rpath directly
10146	hardcode_libdir_flag_spec='-rpath $libdir'
10147      fi
10148      archive_cmds_need_lc='no'
10149      hardcode_libdir_separator=:
10150      ;;
10151
10152    solaris*)
10153      no_undefined_flag=' -z defs'
10154      if test "$GCC" = yes; then
10155	wlarc='${wl}'
10156	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10157	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10158	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10159      else
10160	case `$CC -V 2>&1` in
10161	*"Compilers 5.0"*)
10162	  wlarc=''
10163	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10164	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10165	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10166	  ;;
10167	*)
10168	  wlarc='${wl}'
10169	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10170	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10171	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10172	  ;;
10173	esac
10174      fi
10175      hardcode_libdir_flag_spec='-R$libdir'
10176      hardcode_shlibpath_var=no
10177      case $host_os in
10178      solaris2.[0-5] | solaris2.[0-5].*) ;;
10179      *)
10180	# The compiler driver will combine and reorder linker options,
10181	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10182	# but is careful enough not to reorder.
10183	# Supported since Solaris 2.6 (maybe 2.5.1?)
10184	if test "$GCC" = yes; then
10185	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10186	else
10187	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10188	fi
10189	;;
10190      esac
10191      link_all_deplibs=yes
10192      ;;
10193
10194    sunos4*)
10195      if test "x$host_vendor" = xsequent; then
10196	# Use $CC to link under sequent, because it throws in some extra .o
10197	# files that make .init and .fini sections work.
10198	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10199      else
10200	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10201      fi
10202      hardcode_libdir_flag_spec='-L$libdir'
10203      hardcode_direct=yes
10204      hardcode_minus_L=yes
10205      hardcode_shlibpath_var=no
10206      ;;
10207
10208    sysv4)
10209      case $host_vendor in
10210	sni)
10211	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10212	  hardcode_direct=yes # is this really true???
10213	;;
10214	siemens)
10215	  ## LD is ld it makes a PLAMLIB
10216	  ## CC just makes a GrossModule.
10217	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10218	  reload_cmds='$CC -r -o $output$reload_objs'
10219	  hardcode_direct=no
10220        ;;
10221	motorola)
10222	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10223	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10224	;;
10225      esac
10226      runpath_var='LD_RUN_PATH'
10227      hardcode_shlibpath_var=no
10228      ;;
10229
10230    sysv4.3*)
10231      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10232      hardcode_shlibpath_var=no
10233      export_dynamic_flag_spec='-Bexport'
10234      ;;
10235
10236    sysv4*MP*)
10237      if test -d /usr/nec; then
10238	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10239	hardcode_shlibpath_var=no
10240	runpath_var=LD_RUN_PATH
10241	hardcode_runpath_var=yes
10242	ld_shlibs=yes
10243      fi
10244      ;;
10245
10246    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10247      no_undefined_flag='${wl}-z,text'
10248      archive_cmds_need_lc=no
10249      hardcode_shlibpath_var=no
10250      runpath_var='LD_RUN_PATH'
10251
10252      if test "$GCC" = yes; then
10253	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10254	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10255      else
10256	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10257	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10258      fi
10259      ;;
10260
10261    sysv5* | sco3.2v5* | sco5v6*)
10262      # Note: We can NOT use -z defs as we might desire, because we do not
10263      # link with -lc, and that would cause any symbols used from libc to
10264      # always be unresolved, which means just about no library would
10265      # ever link correctly.  If we're not using GNU ld we use -z text
10266      # though, which does catch some bad symbols but isn't as heavy-handed
10267      # as -z defs.
10268      no_undefined_flag='${wl}-z,text'
10269      allow_undefined_flag='${wl}-z,nodefs'
10270      archive_cmds_need_lc=no
10271      hardcode_shlibpath_var=no
10272      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10273      hardcode_libdir_separator=':'
10274      link_all_deplibs=yes
10275      export_dynamic_flag_spec='${wl}-Bexport'
10276      runpath_var='LD_RUN_PATH'
10277
10278      if test "$GCC" = yes; then
10279	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10280	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10281      else
10282	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10283	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10284      fi
10285      ;;
10286
10287    uts4*)
10288      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10289      hardcode_libdir_flag_spec='-L$libdir'
10290      hardcode_shlibpath_var=no
10291      ;;
10292
10293    *)
10294      ld_shlibs=no
10295      ;;
10296    esac
10297
10298    if test x$host_vendor = xsni; then
10299      case $host in
10300      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10301	export_dynamic_flag_spec='${wl}-Blargedynsym'
10302	;;
10303      esac
10304    fi
10305  fi
10306
10307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10308$as_echo "$ld_shlibs" >&6; }
10309test "$ld_shlibs" = no && can_build_shared=no
10310
10311with_gnu_ld=$with_gnu_ld
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327#
10328# Do we need to explicitly link libc?
10329#
10330case "x$archive_cmds_need_lc" in
10331x|xyes)
10332  # Assume -lc should be added
10333  archive_cmds_need_lc=yes
10334
10335  if test "$enable_shared" = yes && test "$GCC" = yes; then
10336    case $archive_cmds in
10337    *'~'*)
10338      # FIXME: we may have to deal with multi-command sequences.
10339      ;;
10340    '$CC '*)
10341      # Test whether the compiler implicitly links with -lc since on some
10342      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10343      # to ld, don't add -lc before -lgcc.
10344      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10345$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10346if ${lt_cv_archive_cmds_need_lc+:} false; then :
10347  $as_echo_n "(cached) " >&6
10348else
10349  $RM conftest*
10350	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10351
10352	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10353  (eval $ac_compile) 2>&5
10354  ac_status=$?
10355  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10356  test $ac_status = 0; } 2>conftest.err; then
10357	  soname=conftest
10358	  lib=conftest
10359	  libobjs=conftest.$ac_objext
10360	  deplibs=
10361	  wl=$lt_prog_compiler_wl
10362	  pic_flag=$lt_prog_compiler_pic
10363	  compiler_flags=-v
10364	  linker_flags=-v
10365	  verstring=
10366	  output_objdir=.
10367	  libname=conftest
10368	  lt_save_allow_undefined_flag=$allow_undefined_flag
10369	  allow_undefined_flag=
10370	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10371  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10372  ac_status=$?
10373  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10374  test $ac_status = 0; }
10375	  then
10376	    lt_cv_archive_cmds_need_lc=no
10377	  else
10378	    lt_cv_archive_cmds_need_lc=yes
10379	  fi
10380	  allow_undefined_flag=$lt_save_allow_undefined_flag
10381	else
10382	  cat conftest.err 1>&5
10383	fi
10384	$RM conftest*
10385
10386fi
10387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10388$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10389      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10390      ;;
10391    esac
10392  fi
10393  ;;
10394esac
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10553$as_echo_n "checking dynamic linker characteristics... " >&6; }
10554
10555if test "$GCC" = yes; then
10556  case $host_os in
10557    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10558    *) lt_awk_arg="/^libraries:/" ;;
10559  esac
10560  case $host_os in
10561    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10562    *) lt_sed_strip_eq="s,=/,/,g" ;;
10563  esac
10564  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10565  case $lt_search_path_spec in
10566  *\;*)
10567    # if the path contains ";" then we assume it to be the separator
10568    # otherwise default to the standard path separator (i.e. ":") - it is
10569    # assumed that no part of a normal pathname contains ";" but that should
10570    # okay in the real world where ";" in dirpaths is itself problematic.
10571    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10572    ;;
10573  *)
10574    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10575    ;;
10576  esac
10577  # Ok, now we have the path, separated by spaces, we can step through it
10578  # and add multilib dir if necessary.
10579  lt_tmp_lt_search_path_spec=
10580  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10581  for lt_sys_path in $lt_search_path_spec; do
10582    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10583      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10584    else
10585      test -d "$lt_sys_path" && \
10586	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10587    fi
10588  done
10589  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10590BEGIN {RS=" "; FS="/|\n";} {
10591  lt_foo="";
10592  lt_count=0;
10593  for (lt_i = NF; lt_i > 0; lt_i--) {
10594    if ($lt_i != "" && $lt_i != ".") {
10595      if ($lt_i == "..") {
10596        lt_count++;
10597      } else {
10598        if (lt_count == 0) {
10599          lt_foo="/" $lt_i lt_foo;
10600        } else {
10601          lt_count--;
10602        }
10603      }
10604    }
10605  }
10606  if (lt_foo != "") { lt_freq[lt_foo]++; }
10607  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10608}'`
10609  # AWK program above erroneously prepends '/' to C:/dos/paths
10610  # for these hosts.
10611  case $host_os in
10612    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10613      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10614  esac
10615  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10616else
10617  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10618fi
10619library_names_spec=
10620libname_spec='lib$name'
10621soname_spec=
10622shrext_cmds=".so"
10623postinstall_cmds=
10624postuninstall_cmds=
10625finish_cmds=
10626finish_eval=
10627shlibpath_var=
10628shlibpath_overrides_runpath=unknown
10629version_type=none
10630dynamic_linker="$host_os ld.so"
10631sys_lib_dlsearch_path_spec="/lib /usr/lib"
10632need_lib_prefix=unknown
10633hardcode_into_libs=no
10634
10635# when you set need_version to no, make sure it does not cause -set_version
10636# flags to be left without arguments
10637need_version=unknown
10638
10639case $host_os in
10640aix3*)
10641  version_type=linux
10642  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10643  shlibpath_var=LIBPATH
10644
10645  # AIX 3 has no versioning support, so we append a major version to the name.
10646  soname_spec='${libname}${release}${shared_ext}$major'
10647  ;;
10648
10649aix[4-9]*)
10650  version_type=linux
10651  need_lib_prefix=no
10652  need_version=no
10653  hardcode_into_libs=yes
10654  if test "$host_cpu" = ia64; then
10655    # AIX 5 supports IA64
10656    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10657    shlibpath_var=LD_LIBRARY_PATH
10658  else
10659    # With GCC up to 2.95.x, collect2 would create an import file
10660    # for dependence libraries.  The import file would start with
10661    # the line `#! .'.  This would cause the generated library to
10662    # depend on `.', always an invalid library.  This was fixed in
10663    # development snapshots of GCC prior to 3.0.
10664    case $host_os in
10665      aix4 | aix4.[01] | aix4.[01].*)
10666      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10667	   echo ' yes '
10668	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10669	:
10670      else
10671	can_build_shared=no
10672      fi
10673      ;;
10674    esac
10675    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10676    # soname into executable. Probably we can add versioning support to
10677    # collect2, so additional links can be useful in future.
10678    if test "$aix_use_runtimelinking" = yes; then
10679      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10680      # instead of lib<name>.a to let people know that these are not
10681      # typical AIX shared libraries.
10682      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10683    else
10684      # We preserve .a as extension for shared libraries through AIX4.2
10685      # and later when we are not doing run time linking.
10686      library_names_spec='${libname}${release}.a $libname.a'
10687      soname_spec='${libname}${release}${shared_ext}$major'
10688    fi
10689    shlibpath_var=LIBPATH
10690  fi
10691  ;;
10692
10693amigaos*)
10694  case $host_cpu in
10695  powerpc)
10696    # Since July 2007 AmigaOS4 officially supports .so libraries.
10697    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10698    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10699    ;;
10700  m68k)
10701    library_names_spec='$libname.ixlibrary $libname.a'
10702    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10703    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10704    ;;
10705  esac
10706  ;;
10707
10708beos*)
10709  library_names_spec='${libname}${shared_ext}'
10710  dynamic_linker="$host_os ld.so"
10711  shlibpath_var=LIBRARY_PATH
10712  ;;
10713
10714bsdi[45]*)
10715  version_type=linux
10716  need_version=no
10717  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10718  soname_spec='${libname}${release}${shared_ext}$major'
10719  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10720  shlibpath_var=LD_LIBRARY_PATH
10721  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10722  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10723  # the default ld.so.conf also contains /usr/contrib/lib and
10724  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10725  # libtool to hard-code these into programs
10726  ;;
10727
10728cygwin* | mingw* | pw32* | cegcc*)
10729  version_type=windows
10730  shrext_cmds=".dll"
10731  need_version=no
10732  need_lib_prefix=no
10733
10734  case $GCC,$cc_basename in
10735  yes,*)
10736    # gcc
10737    library_names_spec='$libname.dll.a'
10738    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10739    postinstall_cmds='base_file=`basename \${file}`~
10740      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10741      dldir=$destdir/`dirname \$dlpath`~
10742      test -d \$dldir || mkdir -p \$dldir~
10743      $install_prog $dir/$dlname \$dldir/$dlname~
10744      chmod a+x \$dldir/$dlname~
10745      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10746        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10747      fi'
10748    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10749      dlpath=$dir/\$dldll~
10750       $RM \$dlpath'
10751    shlibpath_overrides_runpath=yes
10752
10753    case $host_os in
10754    cygwin*)
10755      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10756      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10757
10758      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10759      ;;
10760    mingw* | cegcc*)
10761      # MinGW DLLs use traditional 'lib' prefix
10762      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10763      ;;
10764    pw32*)
10765      # pw32 DLLs use 'pw' prefix rather than 'lib'
10766      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10767      ;;
10768    esac
10769    dynamic_linker='Win32 ld.exe'
10770    ;;
10771
10772  *,cl*)
10773    # Native MSVC
10774    libname_spec='$name'
10775    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10776    library_names_spec='${libname}.dll.lib'
10777
10778    case $build_os in
10779    mingw*)
10780      sys_lib_search_path_spec=
10781      lt_save_ifs=$IFS
10782      IFS=';'
10783      for lt_path in $LIB
10784      do
10785        IFS=$lt_save_ifs
10786        # Let DOS variable expansion print the short 8.3 style file name.
10787        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10788        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10789      done
10790      IFS=$lt_save_ifs
10791      # Convert to MSYS style.
10792      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10793      ;;
10794    cygwin*)
10795      # Convert to unix form, then to dos form, then back to unix form
10796      # but this time dos style (no spaces!) so that the unix form looks
10797      # like /cygdrive/c/PROGRA~1:/cygdr...
10798      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10799      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10800      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10801      ;;
10802    *)
10803      sys_lib_search_path_spec="$LIB"
10804      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10805        # It is most probably a Windows format PATH.
10806        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10807      else
10808        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10809      fi
10810      # FIXME: find the short name or the path components, as spaces are
10811      # common. (e.g. "Program Files" -> "PROGRA~1")
10812      ;;
10813    esac
10814
10815    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10816    postinstall_cmds='base_file=`basename \${file}`~
10817      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10818      dldir=$destdir/`dirname \$dlpath`~
10819      test -d \$dldir || mkdir -p \$dldir~
10820      $install_prog $dir/$dlname \$dldir/$dlname'
10821    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10822      dlpath=$dir/\$dldll~
10823       $RM \$dlpath'
10824    shlibpath_overrides_runpath=yes
10825    dynamic_linker='Win32 link.exe'
10826    ;;
10827
10828  *)
10829    # Assume MSVC wrapper
10830    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10831    dynamic_linker='Win32 ld.exe'
10832    ;;
10833  esac
10834  # FIXME: first we should search . and the directory the executable is in
10835  shlibpath_var=PATH
10836  ;;
10837
10838darwin* | rhapsody*)
10839  dynamic_linker="$host_os dyld"
10840  version_type=darwin
10841  need_lib_prefix=no
10842  need_version=no
10843  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10844  soname_spec='${libname}${release}${major}$shared_ext'
10845  shlibpath_overrides_runpath=yes
10846  shlibpath_var=DYLD_LIBRARY_PATH
10847  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10848
10849  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10850  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10851  ;;
10852
10853dgux*)
10854  version_type=linux
10855  need_lib_prefix=no
10856  need_version=no
10857  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10858  soname_spec='${libname}${release}${shared_ext}$major'
10859  shlibpath_var=LD_LIBRARY_PATH
10860  ;;
10861
10862freebsd1*)
10863  dynamic_linker=no
10864  ;;
10865
10866freebsd* | dragonfly*)
10867  # DragonFly does not have aout.  When/if they implement a new
10868  # versioning mechanism, adjust this.
10869  if test -x /usr/bin/objformat; then
10870    objformat=`/usr/bin/objformat`
10871  else
10872    case $host_os in
10873    freebsd[123]*) objformat=aout ;;
10874    *) objformat=elf ;;
10875    esac
10876  fi
10877  version_type=freebsd-$objformat
10878  case $version_type in
10879    freebsd-elf*)
10880      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10881      need_version=no
10882      need_lib_prefix=no
10883      ;;
10884    freebsd-*)
10885      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10886      need_version=yes
10887      ;;
10888  esac
10889  shlibpath_var=LD_LIBRARY_PATH
10890  case $host_os in
10891  freebsd2*)
10892    shlibpath_overrides_runpath=yes
10893    ;;
10894  freebsd3.[01]* | freebsdelf3.[01]*)
10895    shlibpath_overrides_runpath=yes
10896    hardcode_into_libs=yes
10897    ;;
10898  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10899  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10900    shlibpath_overrides_runpath=no
10901    hardcode_into_libs=yes
10902    ;;
10903  *) # from 4.6 on, and DragonFly
10904    shlibpath_overrides_runpath=yes
10905    hardcode_into_libs=yes
10906    ;;
10907  esac
10908  ;;
10909
10910gnu*)
10911  version_type=linux
10912  need_lib_prefix=no
10913  need_version=no
10914  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10915  soname_spec='${libname}${release}${shared_ext}$major'
10916  shlibpath_var=LD_LIBRARY_PATH
10917  hardcode_into_libs=yes
10918  ;;
10919
10920haiku*)
10921  version_type=linux
10922  need_lib_prefix=no
10923  need_version=no
10924  dynamic_linker="$host_os runtime_loader"
10925  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10926  soname_spec='${libname}${release}${shared_ext}$major'
10927  shlibpath_var=LIBRARY_PATH
10928  shlibpath_overrides_runpath=yes
10929  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10930  hardcode_into_libs=yes
10931  ;;
10932
10933hpux9* | hpux10* | hpux11*)
10934  # Give a soname corresponding to the major version so that dld.sl refuses to
10935  # link against other versions.
10936  version_type=sunos
10937  need_lib_prefix=no
10938  need_version=no
10939  case $host_cpu in
10940  ia64*)
10941    shrext_cmds='.so'
10942    hardcode_into_libs=yes
10943    dynamic_linker="$host_os dld.so"
10944    shlibpath_var=LD_LIBRARY_PATH
10945    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10946    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10947    soname_spec='${libname}${release}${shared_ext}$major'
10948    if test "X$HPUX_IA64_MODE" = X32; then
10949      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10950    else
10951      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10952    fi
10953    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10954    ;;
10955  hppa*64*)
10956    shrext_cmds='.sl'
10957    hardcode_into_libs=yes
10958    dynamic_linker="$host_os dld.sl"
10959    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10960    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10961    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10962    soname_spec='${libname}${release}${shared_ext}$major'
10963    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10964    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10965    ;;
10966  *)
10967    shrext_cmds='.sl'
10968    dynamic_linker="$host_os dld.sl"
10969    shlibpath_var=SHLIB_PATH
10970    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10971    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10972    soname_spec='${libname}${release}${shared_ext}$major'
10973    ;;
10974  esac
10975  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10976  postinstall_cmds='chmod 555 $lib'
10977  # or fails outright, so override atomically:
10978  install_override_mode=555
10979  ;;
10980
10981interix[3-9]*)
10982  version_type=linux
10983  need_lib_prefix=no
10984  need_version=no
10985  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10986  soname_spec='${libname}${release}${shared_ext}$major'
10987  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10988  shlibpath_var=LD_LIBRARY_PATH
10989  shlibpath_overrides_runpath=no
10990  hardcode_into_libs=yes
10991  ;;
10992
10993irix5* | irix6* | nonstopux*)
10994  case $host_os in
10995    nonstopux*) version_type=nonstopux ;;
10996    *)
10997	if test "$lt_cv_prog_gnu_ld" = yes; then
10998		version_type=linux
10999	else
11000		version_type=irix
11001	fi ;;
11002  esac
11003  need_lib_prefix=no
11004  need_version=no
11005  soname_spec='${libname}${release}${shared_ext}$major'
11006  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11007  case $host_os in
11008  irix5* | nonstopux*)
11009    libsuff= shlibsuff=
11010    ;;
11011  *)
11012    case $LD in # libtool.m4 will add one of these switches to LD
11013    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11014      libsuff= shlibsuff= libmagic=32-bit;;
11015    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11016      libsuff=32 shlibsuff=N32 libmagic=N32;;
11017    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11018      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11019    *) libsuff= shlibsuff= libmagic=never-match;;
11020    esac
11021    ;;
11022  esac
11023  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11024  shlibpath_overrides_runpath=no
11025  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11026  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11027  hardcode_into_libs=yes
11028  ;;
11029
11030# No shared lib support for Linux oldld, aout, or coff.
11031linux*oldld* | linux*aout* | linux*coff*)
11032  dynamic_linker=no
11033  ;;
11034
11035# This must be Linux ELF.
11036linux* | k*bsd*-gnu | kopensolaris*-gnu)
11037  version_type=linux
11038  need_lib_prefix=no
11039  need_version=no
11040  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11041  soname_spec='${libname}${release}${shared_ext}$major'
11042  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11043  shlibpath_var=LD_LIBRARY_PATH
11044  shlibpath_overrides_runpath=no
11045
11046  # Some binutils ld are patched to set DT_RUNPATH
11047  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11048  $as_echo_n "(cached) " >&6
11049else
11050  lt_cv_shlibpath_overrides_runpath=no
11051    save_LDFLAGS=$LDFLAGS
11052    save_libdir=$libdir
11053    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11054	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11055    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056/* end confdefs.h.  */
11057
11058int
11059main ()
11060{
11061
11062  ;
11063  return 0;
11064}
11065_ACEOF
11066if ac_fn_c_try_link "$LINENO"; then :
11067  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11068  lt_cv_shlibpath_overrides_runpath=yes
11069fi
11070fi
11071rm -f core conftest.err conftest.$ac_objext \
11072    conftest$ac_exeext conftest.$ac_ext
11073    LDFLAGS=$save_LDFLAGS
11074    libdir=$save_libdir
11075
11076fi
11077
11078  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11079
11080  # This implies no fast_install, which is unacceptable.
11081  # Some rework will be needed to allow for fast_install
11082  # before this can be enabled.
11083  hardcode_into_libs=yes
11084
11085  # Append ld.so.conf contents to the search path
11086  if test -f /etc/ld.so.conf; then
11087    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11088    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11089  fi
11090
11091  # We used to test for /lib/ld.so.1 and disable shared libraries on
11092  # powerpc, because MkLinux only supported shared libraries with the
11093  # GNU dynamic linker.  Since this was broken with cross compilers,
11094  # most powerpc-linux boxes support dynamic linking these days and
11095  # people can always --disable-shared, the test was removed, and we
11096  # assume the GNU/Linux dynamic linker is in use.
11097  dynamic_linker='GNU/Linux ld.so'
11098  ;;
11099
11100netbsd*)
11101  version_type=sunos
11102  need_lib_prefix=no
11103  need_version=no
11104  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11105    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11106    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11107    dynamic_linker='NetBSD (a.out) ld.so'
11108  else
11109    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11110    soname_spec='${libname}${release}${shared_ext}$major'
11111    dynamic_linker='NetBSD ld.elf_so'
11112  fi
11113  shlibpath_var=LD_LIBRARY_PATH
11114  shlibpath_overrides_runpath=yes
11115  hardcode_into_libs=yes
11116  ;;
11117
11118newsos6)
11119  version_type=linux
11120  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11121  shlibpath_var=LD_LIBRARY_PATH
11122  shlibpath_overrides_runpath=yes
11123  ;;
11124
11125*nto* | *qnx*)
11126  version_type=qnx
11127  need_lib_prefix=no
11128  need_version=no
11129  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11130  soname_spec='${libname}${release}${shared_ext}$major'
11131  shlibpath_var=LD_LIBRARY_PATH
11132  shlibpath_overrides_runpath=no
11133  hardcode_into_libs=yes
11134  dynamic_linker='ldqnx.so'
11135  ;;
11136
11137openbsd*)
11138  version_type=sunos
11139  sys_lib_dlsearch_path_spec="/usr/lib"
11140  need_lib_prefix=no
11141  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11142  case $host_os in
11143    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11144    *)				need_version=no  ;;
11145  esac
11146  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11147  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11148  shlibpath_var=LD_LIBRARY_PATH
11149  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11150    case $host_os in
11151      openbsd2.[89] | openbsd2.[89].*)
11152	shlibpath_overrides_runpath=no
11153	;;
11154      *)
11155	shlibpath_overrides_runpath=yes
11156	;;
11157      esac
11158  else
11159    shlibpath_overrides_runpath=yes
11160  fi
11161  ;;
11162
11163os2*)
11164  libname_spec='$name'
11165  shrext_cmds=".dll"
11166  need_lib_prefix=no
11167  library_names_spec='$libname${shared_ext} $libname.a'
11168  dynamic_linker='OS/2 ld.exe'
11169  shlibpath_var=LIBPATH
11170  ;;
11171
11172osf3* | osf4* | osf5*)
11173  version_type=osf
11174  need_lib_prefix=no
11175  need_version=no
11176  soname_spec='${libname}${release}${shared_ext}$major'
11177  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11178  shlibpath_var=LD_LIBRARY_PATH
11179  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11180  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11181  ;;
11182
11183rdos*)
11184  dynamic_linker=no
11185  ;;
11186
11187solaris*)
11188  version_type=linux
11189  need_lib_prefix=no
11190  need_version=no
11191  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11192  soname_spec='${libname}${release}${shared_ext}$major'
11193  shlibpath_var=LD_LIBRARY_PATH
11194  shlibpath_overrides_runpath=yes
11195  hardcode_into_libs=yes
11196  # ldd complains unless libraries are executable
11197  postinstall_cmds='chmod +x $lib'
11198  ;;
11199
11200sunos4*)
11201  version_type=sunos
11202  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11203  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11204  shlibpath_var=LD_LIBRARY_PATH
11205  shlibpath_overrides_runpath=yes
11206  if test "$with_gnu_ld" = yes; then
11207    need_lib_prefix=no
11208  fi
11209  need_version=yes
11210  ;;
11211
11212sysv4 | sysv4.3*)
11213  version_type=linux
11214  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11215  soname_spec='${libname}${release}${shared_ext}$major'
11216  shlibpath_var=LD_LIBRARY_PATH
11217  case $host_vendor in
11218    sni)
11219      shlibpath_overrides_runpath=no
11220      need_lib_prefix=no
11221      runpath_var=LD_RUN_PATH
11222      ;;
11223    siemens)
11224      need_lib_prefix=no
11225      ;;
11226    motorola)
11227      need_lib_prefix=no
11228      need_version=no
11229      shlibpath_overrides_runpath=no
11230      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11231      ;;
11232  esac
11233  ;;
11234
11235sysv4*MP*)
11236  if test -d /usr/nec ;then
11237    version_type=linux
11238    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11239    soname_spec='$libname${shared_ext}.$major'
11240    shlibpath_var=LD_LIBRARY_PATH
11241  fi
11242  ;;
11243
11244sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11245  version_type=freebsd-elf
11246  need_lib_prefix=no
11247  need_version=no
11248  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11249  soname_spec='${libname}${release}${shared_ext}$major'
11250  shlibpath_var=LD_LIBRARY_PATH
11251  shlibpath_overrides_runpath=yes
11252  hardcode_into_libs=yes
11253  if test "$with_gnu_ld" = yes; then
11254    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11255  else
11256    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11257    case $host_os in
11258      sco3.2v5*)
11259        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11260	;;
11261    esac
11262  fi
11263  sys_lib_dlsearch_path_spec='/usr/lib'
11264  ;;
11265
11266tpf*)
11267  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11268  version_type=linux
11269  need_lib_prefix=no
11270  need_version=no
11271  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11272  shlibpath_var=LD_LIBRARY_PATH
11273  shlibpath_overrides_runpath=no
11274  hardcode_into_libs=yes
11275  ;;
11276
11277uts4*)
11278  version_type=linux
11279  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11280  soname_spec='${libname}${release}${shared_ext}$major'
11281  shlibpath_var=LD_LIBRARY_PATH
11282  ;;
11283
11284*)
11285  dynamic_linker=no
11286  ;;
11287esac
11288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11289$as_echo "$dynamic_linker" >&6; }
11290test "$dynamic_linker" = no && can_build_shared=no
11291
11292variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11293if test "$GCC" = yes; then
11294  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11295fi
11296
11297if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11298  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11299fi
11300if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11301  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11302fi
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11396$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11397hardcode_action=
11398if test -n "$hardcode_libdir_flag_spec" ||
11399   test -n "$runpath_var" ||
11400   test "X$hardcode_automatic" = "Xyes" ; then
11401
11402  # We can hardcode non-existent directories.
11403  if test "$hardcode_direct" != no &&
11404     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11405     # have to relink, otherwise we might link with an installed library
11406     # when we should be linking with a yet-to-be-installed one
11407     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11408     test "$hardcode_minus_L" != no; then
11409    # Linking always hardcodes the temporary library directory.
11410    hardcode_action=relink
11411  else
11412    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11413    hardcode_action=immediate
11414  fi
11415else
11416  # We cannot hardcode anything, or else we can only hardcode existing
11417  # directories.
11418  hardcode_action=unsupported
11419fi
11420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11421$as_echo "$hardcode_action" >&6; }
11422
11423if test "$hardcode_action" = relink ||
11424   test "$inherit_rpath" = yes; then
11425  # Fast installation is not supported
11426  enable_fast_install=no
11427elif test "$shlibpath_overrides_runpath" = yes ||
11428     test "$enable_shared" = no; then
11429  # Fast installation is not necessary
11430  enable_fast_install=needless
11431fi
11432
11433
11434
11435
11436
11437
11438  if test "x$enable_dlopen" != xyes; then
11439  enable_dlopen=unknown
11440  enable_dlopen_self=unknown
11441  enable_dlopen_self_static=unknown
11442else
11443  lt_cv_dlopen=no
11444  lt_cv_dlopen_libs=
11445
11446  case $host_os in
11447  beos*)
11448    lt_cv_dlopen="load_add_on"
11449    lt_cv_dlopen_libs=
11450    lt_cv_dlopen_self=yes
11451    ;;
11452
11453  mingw* | pw32* | cegcc*)
11454    lt_cv_dlopen="LoadLibrary"
11455    lt_cv_dlopen_libs=
11456    ;;
11457
11458  cygwin*)
11459    lt_cv_dlopen="dlopen"
11460    lt_cv_dlopen_libs=
11461    ;;
11462
11463  darwin*)
11464  # if libdl is installed we need to link against it
11465    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11466$as_echo_n "checking for dlopen in -ldl... " >&6; }
11467if ${ac_cv_lib_dl_dlopen+:} false; then :
11468  $as_echo_n "(cached) " >&6
11469else
11470  ac_check_lib_save_LIBS=$LIBS
11471LIBS="-ldl  $LIBS"
11472cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11473/* end confdefs.h.  */
11474
11475/* Override any GCC internal prototype to avoid an error.
11476   Use char because int might match the return type of a GCC
11477   builtin and then its argument prototype would still apply.  */
11478#ifdef __cplusplus
11479extern "C"
11480#endif
11481char dlopen ();
11482int
11483main ()
11484{
11485return dlopen ();
11486  ;
11487  return 0;
11488}
11489_ACEOF
11490if ac_fn_c_try_link "$LINENO"; then :
11491  ac_cv_lib_dl_dlopen=yes
11492else
11493  ac_cv_lib_dl_dlopen=no
11494fi
11495rm -f core conftest.err conftest.$ac_objext \
11496    conftest$ac_exeext conftest.$ac_ext
11497LIBS=$ac_check_lib_save_LIBS
11498fi
11499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11500$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11501if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11502  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11503else
11504
11505    lt_cv_dlopen="dyld"
11506    lt_cv_dlopen_libs=
11507    lt_cv_dlopen_self=yes
11508
11509fi
11510
11511    ;;
11512
11513  *)
11514    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11515if test "x$ac_cv_func_shl_load" = xyes; then :
11516  lt_cv_dlopen="shl_load"
11517else
11518  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11519$as_echo_n "checking for shl_load in -ldld... " >&6; }
11520if ${ac_cv_lib_dld_shl_load+:} false; then :
11521  $as_echo_n "(cached) " >&6
11522else
11523  ac_check_lib_save_LIBS=$LIBS
11524LIBS="-ldld  $LIBS"
11525cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11526/* end confdefs.h.  */
11527
11528/* Override any GCC internal prototype to avoid an error.
11529   Use char because int might match the return type of a GCC
11530   builtin and then its argument prototype would still apply.  */
11531#ifdef __cplusplus
11532extern "C"
11533#endif
11534char shl_load ();
11535int
11536main ()
11537{
11538return shl_load ();
11539  ;
11540  return 0;
11541}
11542_ACEOF
11543if ac_fn_c_try_link "$LINENO"; then :
11544  ac_cv_lib_dld_shl_load=yes
11545else
11546  ac_cv_lib_dld_shl_load=no
11547fi
11548rm -f core conftest.err conftest.$ac_objext \
11549    conftest$ac_exeext conftest.$ac_ext
11550LIBS=$ac_check_lib_save_LIBS
11551fi
11552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11553$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11554if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11555  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11556else
11557  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11558if test "x$ac_cv_func_dlopen" = xyes; then :
11559  lt_cv_dlopen="dlopen"
11560else
11561  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11562$as_echo_n "checking for dlopen in -ldl... " >&6; }
11563if ${ac_cv_lib_dl_dlopen+:} false; then :
11564  $as_echo_n "(cached) " >&6
11565else
11566  ac_check_lib_save_LIBS=$LIBS
11567LIBS="-ldl  $LIBS"
11568cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11569/* end confdefs.h.  */
11570
11571/* Override any GCC internal prototype to avoid an error.
11572   Use char because int might match the return type of a GCC
11573   builtin and then its argument prototype would still apply.  */
11574#ifdef __cplusplus
11575extern "C"
11576#endif
11577char dlopen ();
11578int
11579main ()
11580{
11581return dlopen ();
11582  ;
11583  return 0;
11584}
11585_ACEOF
11586if ac_fn_c_try_link "$LINENO"; then :
11587  ac_cv_lib_dl_dlopen=yes
11588else
11589  ac_cv_lib_dl_dlopen=no
11590fi
11591rm -f core conftest.err conftest.$ac_objext \
11592    conftest$ac_exeext conftest.$ac_ext
11593LIBS=$ac_check_lib_save_LIBS
11594fi
11595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11596$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11597if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11598  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11599else
11600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11601$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11602if ${ac_cv_lib_svld_dlopen+:} false; then :
11603  $as_echo_n "(cached) " >&6
11604else
11605  ac_check_lib_save_LIBS=$LIBS
11606LIBS="-lsvld  $LIBS"
11607cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608/* end confdefs.h.  */
11609
11610/* Override any GCC internal prototype to avoid an error.
11611   Use char because int might match the return type of a GCC
11612   builtin and then its argument prototype would still apply.  */
11613#ifdef __cplusplus
11614extern "C"
11615#endif
11616char dlopen ();
11617int
11618main ()
11619{
11620return dlopen ();
11621  ;
11622  return 0;
11623}
11624_ACEOF
11625if ac_fn_c_try_link "$LINENO"; then :
11626  ac_cv_lib_svld_dlopen=yes
11627else
11628  ac_cv_lib_svld_dlopen=no
11629fi
11630rm -f core conftest.err conftest.$ac_objext \
11631    conftest$ac_exeext conftest.$ac_ext
11632LIBS=$ac_check_lib_save_LIBS
11633fi
11634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11635$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11636if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11637  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11638else
11639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11640$as_echo_n "checking for dld_link in -ldld... " >&6; }
11641if ${ac_cv_lib_dld_dld_link+:} false; then :
11642  $as_echo_n "(cached) " >&6
11643else
11644  ac_check_lib_save_LIBS=$LIBS
11645LIBS="-ldld  $LIBS"
11646cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11647/* end confdefs.h.  */
11648
11649/* Override any GCC internal prototype to avoid an error.
11650   Use char because int might match the return type of a GCC
11651   builtin and then its argument prototype would still apply.  */
11652#ifdef __cplusplus
11653extern "C"
11654#endif
11655char dld_link ();
11656int
11657main ()
11658{
11659return dld_link ();
11660  ;
11661  return 0;
11662}
11663_ACEOF
11664if ac_fn_c_try_link "$LINENO"; then :
11665  ac_cv_lib_dld_dld_link=yes
11666else
11667  ac_cv_lib_dld_dld_link=no
11668fi
11669rm -f core conftest.err conftest.$ac_objext \
11670    conftest$ac_exeext conftest.$ac_ext
11671LIBS=$ac_check_lib_save_LIBS
11672fi
11673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11674$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11675if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11676  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11677fi
11678
11679
11680fi
11681
11682
11683fi
11684
11685
11686fi
11687
11688
11689fi
11690
11691
11692fi
11693
11694    ;;
11695  esac
11696
11697  if test "x$lt_cv_dlopen" != xno; then
11698    enable_dlopen=yes
11699  else
11700    enable_dlopen=no
11701  fi
11702
11703  case $lt_cv_dlopen in
11704  dlopen)
11705    save_CPPFLAGS="$CPPFLAGS"
11706    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11707
11708    save_LDFLAGS="$LDFLAGS"
11709    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11710
11711    save_LIBS="$LIBS"
11712    LIBS="$lt_cv_dlopen_libs $LIBS"
11713
11714    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11715$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11716if ${lt_cv_dlopen_self+:} false; then :
11717  $as_echo_n "(cached) " >&6
11718else
11719  	  if test "$cross_compiling" = yes; then :
11720  lt_cv_dlopen_self=cross
11721else
11722  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11723  lt_status=$lt_dlunknown
11724  cat > conftest.$ac_ext <<_LT_EOF
11725#line $LINENO "configure"
11726#include "confdefs.h"
11727
11728#if HAVE_DLFCN_H
11729#include <dlfcn.h>
11730#endif
11731
11732#include <stdio.h>
11733
11734#ifdef RTLD_GLOBAL
11735#  define LT_DLGLOBAL		RTLD_GLOBAL
11736#else
11737#  ifdef DL_GLOBAL
11738#    define LT_DLGLOBAL		DL_GLOBAL
11739#  else
11740#    define LT_DLGLOBAL		0
11741#  endif
11742#endif
11743
11744/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11745   find out it does not work in some platform. */
11746#ifndef LT_DLLAZY_OR_NOW
11747#  ifdef RTLD_LAZY
11748#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11749#  else
11750#    ifdef DL_LAZY
11751#      define LT_DLLAZY_OR_NOW		DL_LAZY
11752#    else
11753#      ifdef RTLD_NOW
11754#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11755#      else
11756#        ifdef DL_NOW
11757#          define LT_DLLAZY_OR_NOW	DL_NOW
11758#        else
11759#          define LT_DLLAZY_OR_NOW	0
11760#        endif
11761#      endif
11762#    endif
11763#  endif
11764#endif
11765
11766/* When -fvisbility=hidden is used, assume the code has been annotated
11767   correspondingly for the symbols needed.  */
11768#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11769int fnord () __attribute__((visibility("default")));
11770#endif
11771
11772int fnord () { return 42; }
11773int main ()
11774{
11775  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11776  int status = $lt_dlunknown;
11777
11778  if (self)
11779    {
11780      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11781      else
11782        {
11783	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11784          else puts (dlerror ());
11785	}
11786      /* dlclose (self); */
11787    }
11788  else
11789    puts (dlerror ());
11790
11791  return status;
11792}
11793_LT_EOF
11794  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11795  (eval $ac_link) 2>&5
11796  ac_status=$?
11797  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11798  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11799    (./conftest; exit; ) >&5 2>/dev/null
11800    lt_status=$?
11801    case x$lt_status in
11802      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11803      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11804      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11805    esac
11806  else :
11807    # compilation failed
11808    lt_cv_dlopen_self=no
11809  fi
11810fi
11811rm -fr conftest*
11812
11813
11814fi
11815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11816$as_echo "$lt_cv_dlopen_self" >&6; }
11817
11818    if test "x$lt_cv_dlopen_self" = xyes; then
11819      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11820      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11821$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11822if ${lt_cv_dlopen_self_static+:} false; then :
11823  $as_echo_n "(cached) " >&6
11824else
11825  	  if test "$cross_compiling" = yes; then :
11826  lt_cv_dlopen_self_static=cross
11827else
11828  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11829  lt_status=$lt_dlunknown
11830  cat > conftest.$ac_ext <<_LT_EOF
11831#line $LINENO "configure"
11832#include "confdefs.h"
11833
11834#if HAVE_DLFCN_H
11835#include <dlfcn.h>
11836#endif
11837
11838#include <stdio.h>
11839
11840#ifdef RTLD_GLOBAL
11841#  define LT_DLGLOBAL		RTLD_GLOBAL
11842#else
11843#  ifdef DL_GLOBAL
11844#    define LT_DLGLOBAL		DL_GLOBAL
11845#  else
11846#    define LT_DLGLOBAL		0
11847#  endif
11848#endif
11849
11850/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11851   find out it does not work in some platform. */
11852#ifndef LT_DLLAZY_OR_NOW
11853#  ifdef RTLD_LAZY
11854#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11855#  else
11856#    ifdef DL_LAZY
11857#      define LT_DLLAZY_OR_NOW		DL_LAZY
11858#    else
11859#      ifdef RTLD_NOW
11860#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11861#      else
11862#        ifdef DL_NOW
11863#          define LT_DLLAZY_OR_NOW	DL_NOW
11864#        else
11865#          define LT_DLLAZY_OR_NOW	0
11866#        endif
11867#      endif
11868#    endif
11869#  endif
11870#endif
11871
11872/* When -fvisbility=hidden is used, assume the code has been annotated
11873   correspondingly for the symbols needed.  */
11874#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11875int fnord () __attribute__((visibility("default")));
11876#endif
11877
11878int fnord () { return 42; }
11879int main ()
11880{
11881  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11882  int status = $lt_dlunknown;
11883
11884  if (self)
11885    {
11886      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11887      else
11888        {
11889	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11890          else puts (dlerror ());
11891	}
11892      /* dlclose (self); */
11893    }
11894  else
11895    puts (dlerror ());
11896
11897  return status;
11898}
11899_LT_EOF
11900  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11901  (eval $ac_link) 2>&5
11902  ac_status=$?
11903  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11904  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11905    (./conftest; exit; ) >&5 2>/dev/null
11906    lt_status=$?
11907    case x$lt_status in
11908      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11909      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11910      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11911    esac
11912  else :
11913    # compilation failed
11914    lt_cv_dlopen_self_static=no
11915  fi
11916fi
11917rm -fr conftest*
11918
11919
11920fi
11921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11922$as_echo "$lt_cv_dlopen_self_static" >&6; }
11923    fi
11924
11925    CPPFLAGS="$save_CPPFLAGS"
11926    LDFLAGS="$save_LDFLAGS"
11927    LIBS="$save_LIBS"
11928    ;;
11929  esac
11930
11931  case $lt_cv_dlopen_self in
11932  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11933  *) enable_dlopen_self=unknown ;;
11934  esac
11935
11936  case $lt_cv_dlopen_self_static in
11937  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11938  *) enable_dlopen_self_static=unknown ;;
11939  esac
11940fi
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958striplib=
11959old_striplib=
11960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11961$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11962if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11963  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11964  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11966$as_echo "yes" >&6; }
11967else
11968# FIXME - insert some real tests, host_os isn't really good enough
11969  case $host_os in
11970  darwin*)
11971    if test -n "$STRIP" ; then
11972      striplib="$STRIP -x"
11973      old_striplib="$STRIP -S"
11974      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11975$as_echo "yes" >&6; }
11976    else
11977      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11978$as_echo "no" >&6; }
11979    fi
11980    ;;
11981  *)
11982    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11983$as_echo "no" >&6; }
11984    ;;
11985  esac
11986fi
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999  # Report which library types will actually be built
12000  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12001$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12003$as_echo "$can_build_shared" >&6; }
12004
12005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12006$as_echo_n "checking whether to build shared libraries... " >&6; }
12007  test "$can_build_shared" = "no" && enable_shared=no
12008
12009  # On AIX, shared libraries and static libraries use the same namespace, and
12010  # are all built from PIC.
12011  case $host_os in
12012  aix3*)
12013    test "$enable_shared" = yes && enable_static=no
12014    if test -n "$RANLIB"; then
12015      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12016      postinstall_cmds='$RANLIB $lib'
12017    fi
12018    ;;
12019
12020  aix[4-9]*)
12021    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12022      test "$enable_shared" = yes && enable_static=no
12023    fi
12024    ;;
12025  esac
12026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12027$as_echo "$enable_shared" >&6; }
12028
12029  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12030$as_echo_n "checking whether to build static libraries... " >&6; }
12031  # Make sure either enable_shared or enable_static is yes.
12032  test "$enable_shared" = yes || enable_static=yes
12033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12034$as_echo "$enable_static" >&6; }
12035
12036
12037
12038
12039fi
12040ac_ext=c
12041ac_cpp='$CPP $CPPFLAGS'
12042ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12043ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12044ac_compiler_gnu=$ac_cv_c_compiler_gnu
12045
12046CC="$lt_save_CC"
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060        ac_config_commands="$ac_config_commands libtool"
12061
12062
12063
12064
12065# Only expand once:
12066
12067
12068
12069
12070case $host_os in
12071  *cygwin* ) CYGWIN=yes;;
12072	 * ) CYGWIN=no;;
12073esac
12074
12075
12076case $host_os in
12077  *mingw32* ) MINGW32=yes;;
12078	  * ) MINGW32=no;;
12079esac
12080
12081EXTRA_DEFS=""
12082if test "$MINGW32" = "yes" ; then
12083    if test $enable_shared = yes ; then
12084      EXTRA_DEFS="-DSCM_IMPORT"
12085    fi
12086fi
12087
12088
12089for termlib in ncurses curses termcap terminfo termlib ; do
12090   as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tgoto" | $as_tr_sh`
12091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgoto in -l${termlib}" >&5
12092$as_echo_n "checking for tgoto in -l${termlib}... " >&6; }
12093if eval \${$as_ac_Lib+:} false; then :
12094  $as_echo_n "(cached) " >&6
12095else
12096  ac_check_lib_save_LIBS=$LIBS
12097LIBS="-l${termlib}  $LIBS"
12098cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099/* end confdefs.h.  */
12100
12101/* Override any GCC internal prototype to avoid an error.
12102   Use char because int might match the return type of a GCC
12103   builtin and then its argument prototype would still apply.  */
12104#ifdef __cplusplus
12105extern "C"
12106#endif
12107char tgoto ();
12108int
12109main ()
12110{
12111return tgoto ();
12112  ;
12113  return 0;
12114}
12115_ACEOF
12116if ac_fn_c_try_link "$LINENO"; then :
12117  eval "$as_ac_Lib=yes"
12118else
12119  eval "$as_ac_Lib=no"
12120fi
12121rm -f core conftest.err conftest.$ac_objext \
12122    conftest$ac_exeext conftest.$ac_ext
12123LIBS=$ac_check_lib_save_LIBS
12124fi
12125eval ac_res=\$$as_ac_Lib
12126	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12127$as_echo "$ac_res" >&6; }
12128if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
12129  LIBS="-l${termlib} $LIBS"; break
12130fi
12131
12132done
12133
12134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
12135$as_echo_n "checking for readline in -lreadline... " >&6; }
12136if ${ac_cv_lib_readline_readline+:} false; then :
12137  $as_echo_n "(cached) " >&6
12138else
12139  ac_check_lib_save_LIBS=$LIBS
12140LIBS="-lreadline  $LIBS"
12141cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12142/* end confdefs.h.  */
12143
12144/* Override any GCC internal prototype to avoid an error.
12145   Use char because int might match the return type of a GCC
12146   builtin and then its argument prototype would still apply.  */
12147#ifdef __cplusplus
12148extern "C"
12149#endif
12150char readline ();
12151int
12152main ()
12153{
12154return readline ();
12155  ;
12156  return 0;
12157}
12158_ACEOF
12159if ac_fn_c_try_link "$LINENO"; then :
12160  ac_cv_lib_readline_readline=yes
12161else
12162  ac_cv_lib_readline_readline=no
12163fi
12164rm -f core conftest.err conftest.$ac_objext \
12165    conftest$ac_exeext conftest.$ac_ext
12166LIBS=$ac_check_lib_save_LIBS
12167fi
12168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
12169$as_echo "$ac_cv_lib_readline_readline" >&6; }
12170if test "x$ac_cv_lib_readline_readline" = xyes; then :
12171  cat >>confdefs.h <<_ACEOF
12172#define HAVE_LIBREADLINE 1
12173_ACEOF
12174
12175  LIBS="-lreadline $LIBS"
12176
12177fi
12178
12179if test $ac_cv_lib_readline_readline = no; then
12180  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libreadline was not found on your system." >&5
12181$as_echo "$as_me: WARNING: libreadline was not found on your system." >&2;}
12182fi
12183
12184for ac_func in siginterrupt rl_clear_signals rl_cleanup_after_signal
12185do :
12186  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12187ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12188if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12189  cat >>confdefs.h <<_ACEOF
12190#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12191_ACEOF
12192
12193fi
12194done
12195
12196
12197for ac_func in rl_filename_completion_function
12198do :
12199  ac_fn_c_check_func "$LINENO" "rl_filename_completion_function" "ac_cv_func_rl_filename_completion_function"
12200if test "x$ac_cv_func_rl_filename_completion_function" = xyes; then :
12201  cat >>confdefs.h <<_ACEOF
12202#define HAVE_RL_FILENAME_COMPLETION_FUNCTION 1
12203_ACEOF
12204
12205fi
12206done
12207
12208
12209for ac_func in rl_get_keymap
12210do :
12211  ac_fn_c_check_func "$LINENO" "rl_get_keymap" "ac_cv_func_rl_get_keymap"
12212if test "x$ac_cv_func_rl_get_keymap" = xyes; then :
12213  cat >>confdefs.h <<_ACEOF
12214#define HAVE_RL_GET_KEYMAP 1
12215_ACEOF
12216
12217fi
12218done
12219
12220
12221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_getc_function pointer in readline" >&5
12222$as_echo_n "checking for rl_getc_function pointer in readline... " >&6; }
12223if ${ac_cv_var_rl_getc_function+:} false; then :
12224  $as_echo_n "(cached) " >&6
12225else
12226  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227/* end confdefs.h.  */
12228
12229#include <stdio.h>
12230#include <readline/readline.h>
12231int
12232main ()
12233{
12234printf ("%ld", (long) rl_getc_function)
12235  ;
12236  return 0;
12237}
12238_ACEOF
12239if ac_fn_c_try_link "$LINENO"; then :
12240  ac_cv_var_rl_getc_function=yes
12241else
12242  ac_cv_var_rl_getc_function=no
12243fi
12244rm -f core conftest.err conftest.$ac_objext \
12245    conftest$ac_exeext conftest.$ac_ext
12246fi
12247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_rl_getc_function" >&5
12248$as_echo "$ac_cv_var_rl_getc_function" >&6; }
12249if test "${ac_cv_var_rl_getc_function}" = "yes"; then
12250
12251$as_echo "#define HAVE_RL_GETC_FUNCTION 1" >>confdefs.h
12252
12253fi
12254
12255if test $ac_cv_lib_readline_readline = yes \
12256        -a $ac_cv_var_rl_getc_function = no; then
12257  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** libreadline is too old on your system." >&5
12258$as_echo "$as_me: WARNING: *** libreadline is too old on your system." >&2;}
12259  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** You need readline version 2.1 or later." >&5
12260$as_echo "$as_me: WARNING: *** You need readline version 2.1 or later." >&2;}
12261fi
12262
12263for ac_func in strdup
12264do :
12265  ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
12266if test "x$ac_cv_func_strdup" = xyes; then :
12267  cat >>confdefs.h <<_ACEOF
12268#define HAVE_STRDUP 1
12269_ACEOF
12270
12271fi
12272done
12273
12274
12275. $srcdir/LIBGUILEREADLINE-VERSION
12276
12277
12278
12279
12280
12281
12282
12283
12284ac_config_files="$ac_config_files Makefile ice-9/Makefile"
12285
12286cat >confcache <<\_ACEOF
12287# This file is a shell script that caches the results of configure
12288# tests run on this system so they can be shared between configure
12289# scripts and configure runs, see configure's option --config-cache.
12290# It is not useful on other systems.  If it contains results you don't
12291# want to keep, you may remove or edit it.
12292#
12293# config.status only pays attention to the cache file if you give it
12294# the --recheck option to rerun configure.
12295#
12296# `ac_cv_env_foo' variables (set or unset) will be overridden when
12297# loading this file, other *unset* `ac_cv_foo' will be assigned the
12298# following values.
12299
12300_ACEOF
12301
12302# The following way of writing the cache mishandles newlines in values,
12303# but we know of no workaround that is simple, portable, and efficient.
12304# So, we kill variables containing newlines.
12305# Ultrix sh set writes to stderr and can't be redirected directly,
12306# and sets the high bit in the cache file unless we assign to the vars.
12307(
12308  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12309    eval ac_val=\$$ac_var
12310    case $ac_val in #(
12311    *${as_nl}*)
12312      case $ac_var in #(
12313      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12314$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12315      esac
12316      case $ac_var in #(
12317      _ | IFS | as_nl) ;; #(
12318      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12319      *) { eval $ac_var=; unset $ac_var;} ;;
12320      esac ;;
12321    esac
12322  done
12323
12324  (set) 2>&1 |
12325    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12326    *${as_nl}ac_space=\ *)
12327      # `set' does not quote correctly, so add quotes: double-quote
12328      # substitution turns \\\\ into \\, and sed turns \\ into \.
12329      sed -n \
12330	"s/'/'\\\\''/g;
12331	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12332      ;; #(
12333    *)
12334      # `set' quotes correctly as required by POSIX, so do not add quotes.
12335      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12336      ;;
12337    esac |
12338    sort
12339) |
12340  sed '
12341     /^ac_cv_env_/b end
12342     t clear
12343     :clear
12344     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12345     t end
12346     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12347     :end' >>confcache
12348if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12349  if test -w "$cache_file"; then
12350    if test "x$cache_file" != "x/dev/null"; then
12351      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12352$as_echo "$as_me: updating cache $cache_file" >&6;}
12353      if test ! -f "$cache_file" || test -h "$cache_file"; then
12354	cat confcache >"$cache_file"
12355      else
12356        case $cache_file in #(
12357        */* | ?:*)
12358	  mv -f confcache "$cache_file"$$ &&
12359	  mv -f "$cache_file"$$ "$cache_file" ;; #(
12360        *)
12361	  mv -f confcache "$cache_file" ;;
12362	esac
12363      fi
12364    fi
12365  else
12366    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12367$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12368  fi
12369fi
12370rm -f confcache
12371
12372test "x$prefix" = xNONE && prefix=$ac_default_prefix
12373# Let make expand exec_prefix.
12374test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12375
12376DEFS=-DHAVE_CONFIG_H
12377
12378ac_libobjs=
12379ac_ltlibobjs=
12380U=
12381for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12382  # 1. Remove the extension, and $U if already installed.
12383  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12384  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12385  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12386  #    will be set to the directory where LIBOBJS objects are built.
12387  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12388  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12389done
12390LIBOBJS=$ac_libobjs
12391
12392LTLIBOBJS=$ac_ltlibobjs
12393
12394
12395 if test -n "$EXEEXT"; then
12396  am__EXEEXT_TRUE=
12397  am__EXEEXT_FALSE='#'
12398else
12399  am__EXEEXT_TRUE='#'
12400  am__EXEEXT_FALSE=
12401fi
12402
12403if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12404  as_fn_error $? "conditional \"AMDEP\" was never defined.
12405Usually this means the macro was only invoked conditionally." "$LINENO" 5
12406fi
12407if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12408  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12409Usually this means the macro was only invoked conditionally." "$LINENO" 5
12410fi
12411if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12412  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12413Usually this means the macro was only invoked conditionally." "$LINENO" 5
12414fi
12415
12416: "${CONFIG_STATUS=./config.status}"
12417ac_write_fail=0
12418ac_clean_files_save=$ac_clean_files
12419ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12420{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12421$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12422as_write_fail=0
12423cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12424#! $SHELL
12425# Generated by $as_me.
12426# Run this file to recreate the current configuration.
12427# Compiler output produced by configure, useful for debugging
12428# configure, is in config.log if it exists.
12429
12430debug=false
12431ac_cs_recheck=false
12432ac_cs_silent=false
12433
12434SHELL=\${CONFIG_SHELL-$SHELL}
12435export SHELL
12436_ASEOF
12437cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12438## -------------------- ##
12439## M4sh Initialization. ##
12440## -------------------- ##
12441
12442# Be more Bourne compatible
12443DUALCASE=1; export DUALCASE # for MKS sh
12444if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12445  emulate sh
12446  NULLCMD=:
12447  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12448  # is contrary to our usage.  Disable this feature.
12449  alias -g '${1+"$@"}'='"$@"'
12450  setopt NO_GLOB_SUBST
12451else
12452  case `(set -o) 2>/dev/null` in #(
12453  *posix*) :
12454    set -o posix ;; #(
12455  *) :
12456     ;;
12457esac
12458fi
12459
12460
12461as_nl='
12462'
12463export as_nl
12464# Printing a long string crashes Solaris 7 /usr/bin/printf.
12465as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12466as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12467as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12468# Prefer a ksh shell builtin over an external printf program on Solaris,
12469# but without wasting forks for bash or zsh.
12470if test -z "$BASH_VERSION$ZSH_VERSION" \
12471    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12472  as_echo='print -r --'
12473  as_echo_n='print -rn --'
12474elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12475  as_echo='printf %s\n'
12476  as_echo_n='printf %s'
12477else
12478  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12479    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12480    as_echo_n='/usr/ucb/echo -n'
12481  else
12482    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12483    as_echo_n_body='eval
12484      arg=$1;
12485      case $arg in #(
12486      *"$as_nl"*)
12487	expr "X$arg" : "X\\(.*\\)$as_nl";
12488	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12489      esac;
12490      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12491    '
12492    export as_echo_n_body
12493    as_echo_n='sh -c $as_echo_n_body as_echo'
12494  fi
12495  export as_echo_body
12496  as_echo='sh -c $as_echo_body as_echo'
12497fi
12498
12499# The user is always right.
12500if test "${PATH_SEPARATOR+set}" != set; then
12501  PATH_SEPARATOR=:
12502  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12503    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12504      PATH_SEPARATOR=';'
12505  }
12506fi
12507
12508
12509# IFS
12510# We need space, tab and new line, in precisely that order.  Quoting is
12511# there to prevent editors from complaining about space-tab.
12512# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12513# splitting by setting IFS to empty value.)
12514IFS=" ""	$as_nl"
12515
12516# Find who we are.  Look in the path if we contain no directory separator.
12517as_myself=
12518case $0 in #((
12519  *[\\/]* ) as_myself=$0 ;;
12520  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12521for as_dir in $PATH
12522do
12523  IFS=$as_save_IFS
12524  test -z "$as_dir" && as_dir=.
12525    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12526  done
12527IFS=$as_save_IFS
12528
12529     ;;
12530esac
12531# We did not find ourselves, most probably we were run as `sh COMMAND'
12532# in which case we are not to be found in the path.
12533if test "x$as_myself" = x; then
12534  as_myself=$0
12535fi
12536if test ! -f "$as_myself"; then
12537  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12538  exit 1
12539fi
12540
12541# Unset variables that we do not need and which cause bugs (e.g. in
12542# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12543# suppresses any "Segmentation fault" message there.  '((' could
12544# trigger a bug in pdksh 5.2.14.
12545for as_var in BASH_ENV ENV MAIL MAILPATH
12546do eval test x\${$as_var+set} = xset \
12547  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12548done
12549PS1='$ '
12550PS2='> '
12551PS4='+ '
12552
12553# NLS nuisances.
12554LC_ALL=C
12555export LC_ALL
12556LANGUAGE=C
12557export LANGUAGE
12558
12559# CDPATH.
12560(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12561
12562
12563# as_fn_error STATUS ERROR [LINENO LOG_FD]
12564# ----------------------------------------
12565# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12566# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12567# script with STATUS, using 1 if that was 0.
12568as_fn_error ()
12569{
12570  as_status=$1; test $as_status -eq 0 && as_status=1
12571  if test "$4"; then
12572    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12573    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12574  fi
12575  $as_echo "$as_me: error: $2" >&2
12576  as_fn_exit $as_status
12577} # as_fn_error
12578
12579
12580# as_fn_set_status STATUS
12581# -----------------------
12582# Set $? to STATUS, without forking.
12583as_fn_set_status ()
12584{
12585  return $1
12586} # as_fn_set_status
12587
12588# as_fn_exit STATUS
12589# -----------------
12590# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12591as_fn_exit ()
12592{
12593  set +e
12594  as_fn_set_status $1
12595  exit $1
12596} # as_fn_exit
12597
12598# as_fn_unset VAR
12599# ---------------
12600# Portably unset VAR.
12601as_fn_unset ()
12602{
12603  { eval $1=; unset $1;}
12604}
12605as_unset=as_fn_unset
12606# as_fn_append VAR VALUE
12607# ----------------------
12608# Append the text in VALUE to the end of the definition contained in VAR. Take
12609# advantage of any shell optimizations that allow amortized linear growth over
12610# repeated appends, instead of the typical quadratic growth present in naive
12611# implementations.
12612if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12613  eval 'as_fn_append ()
12614  {
12615    eval $1+=\$2
12616  }'
12617else
12618  as_fn_append ()
12619  {
12620    eval $1=\$$1\$2
12621  }
12622fi # as_fn_append
12623
12624# as_fn_arith ARG...
12625# ------------------
12626# Perform arithmetic evaluation on the ARGs, and store the result in the
12627# global $as_val. Take advantage of shells that can avoid forks. The arguments
12628# must be portable across $(()) and expr.
12629if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12630  eval 'as_fn_arith ()
12631  {
12632    as_val=$(( $* ))
12633  }'
12634else
12635  as_fn_arith ()
12636  {
12637    as_val=`expr "$@" || test $? -eq 1`
12638  }
12639fi # as_fn_arith
12640
12641
12642if expr a : '\(a\)' >/dev/null 2>&1 &&
12643   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12644  as_expr=expr
12645else
12646  as_expr=false
12647fi
12648
12649if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12650  as_basename=basename
12651else
12652  as_basename=false
12653fi
12654
12655if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12656  as_dirname=dirname
12657else
12658  as_dirname=false
12659fi
12660
12661as_me=`$as_basename -- "$0" ||
12662$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12663	 X"$0" : 'X\(//\)$' \| \
12664	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12665$as_echo X/"$0" |
12666    sed '/^.*\/\([^/][^/]*\)\/*$/{
12667	    s//\1/
12668	    q
12669	  }
12670	  /^X\/\(\/\/\)$/{
12671	    s//\1/
12672	    q
12673	  }
12674	  /^X\/\(\/\).*/{
12675	    s//\1/
12676	    q
12677	  }
12678	  s/.*/./; q'`
12679
12680# Avoid depending upon Character Ranges.
12681as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12682as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12683as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12684as_cr_digits='0123456789'
12685as_cr_alnum=$as_cr_Letters$as_cr_digits
12686
12687ECHO_C= ECHO_N= ECHO_T=
12688case `echo -n x` in #(((((
12689-n*)
12690  case `echo 'xy\c'` in
12691  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
12692  xy)  ECHO_C='\c';;
12693  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12694       ECHO_T='	';;
12695  esac;;
12696*)
12697  ECHO_N='-n';;
12698esac
12699
12700rm -f conf$$ conf$$.exe conf$$.file
12701if test -d conf$$.dir; then
12702  rm -f conf$$.dir/conf$$.file
12703else
12704  rm -f conf$$.dir
12705  mkdir conf$$.dir 2>/dev/null
12706fi
12707if (echo >conf$$.file) 2>/dev/null; then
12708  if ln -s conf$$.file conf$$ 2>/dev/null; then
12709    as_ln_s='ln -s'
12710    # ... but there are two gotchas:
12711    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12712    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12713    # In both cases, we have to default to `cp -p'.
12714    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12715      as_ln_s='cp -p'
12716  elif ln conf$$.file conf$$ 2>/dev/null; then
12717    as_ln_s=ln
12718  else
12719    as_ln_s='cp -p'
12720  fi
12721else
12722  as_ln_s='cp -p'
12723fi
12724rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12725rmdir conf$$.dir 2>/dev/null
12726
12727
12728# as_fn_mkdir_p
12729# -------------
12730# Create "$as_dir" as a directory, including parents if necessary.
12731as_fn_mkdir_p ()
12732{
12733
12734  case $as_dir in #(
12735  -*) as_dir=./$as_dir;;
12736  esac
12737  test -d "$as_dir" || eval $as_mkdir_p || {
12738    as_dirs=
12739    while :; do
12740      case $as_dir in #(
12741      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12742      *) as_qdir=$as_dir;;
12743      esac
12744      as_dirs="'$as_qdir' $as_dirs"
12745      as_dir=`$as_dirname -- "$as_dir" ||
12746$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12747	 X"$as_dir" : 'X\(//\)[^/]' \| \
12748	 X"$as_dir" : 'X\(//\)$' \| \
12749	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12750$as_echo X"$as_dir" |
12751    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12752	    s//\1/
12753	    q
12754	  }
12755	  /^X\(\/\/\)[^/].*/{
12756	    s//\1/
12757	    q
12758	  }
12759	  /^X\(\/\/\)$/{
12760	    s//\1/
12761	    q
12762	  }
12763	  /^X\(\/\).*/{
12764	    s//\1/
12765	    q
12766	  }
12767	  s/.*/./; q'`
12768      test -d "$as_dir" && break
12769    done
12770    test -z "$as_dirs" || eval "mkdir $as_dirs"
12771  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12772
12773
12774} # as_fn_mkdir_p
12775if mkdir -p . 2>/dev/null; then
12776  as_mkdir_p='mkdir -p "$as_dir"'
12777else
12778  test -d ./-p && rmdir ./-p
12779  as_mkdir_p=false
12780fi
12781
12782if test -x / >/dev/null 2>&1; then
12783  as_test_x='test -x'
12784else
12785  if ls -dL / >/dev/null 2>&1; then
12786    as_ls_L_option=L
12787  else
12788    as_ls_L_option=
12789  fi
12790  as_test_x='
12791    eval sh -c '\''
12792      if test -d "$1"; then
12793	test -d "$1/.";
12794      else
12795	case $1 in #(
12796	-*)set "./$1";;
12797	esac;
12798	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12799	???[sx]*):;;*)false;;esac;fi
12800    '\'' sh
12801  '
12802fi
12803as_executable_p=$as_test_x
12804
12805# Sed expression to map a string onto a valid CPP name.
12806as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12807
12808# Sed expression to map a string onto a valid variable name.
12809as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12810
12811
12812exec 6>&1
12813## ----------------------------------- ##
12814## Main body of $CONFIG_STATUS script. ##
12815## ----------------------------------- ##
12816_ASEOF
12817test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12818
12819cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12820# Save the log message, to keep $0 and so on meaningful, and to
12821# report actual input values of CONFIG_FILES etc. instead of their
12822# values after options handling.
12823ac_log="
12824This file was extended by guile-readline $as_me 1.8.8, which was
12825generated by GNU Autoconf 2.68.  Invocation command line was
12826
12827  CONFIG_FILES    = $CONFIG_FILES
12828  CONFIG_HEADERS  = $CONFIG_HEADERS
12829  CONFIG_LINKS    = $CONFIG_LINKS
12830  CONFIG_COMMANDS = $CONFIG_COMMANDS
12831  $ $0 $@
12832
12833on `(hostname || uname -n) 2>/dev/null | sed 1q`
12834"
12835
12836_ACEOF
12837
12838case $ac_config_files in *"
12839"*) set x $ac_config_files; shift; ac_config_files=$*;;
12840esac
12841
12842case $ac_config_headers in *"
12843"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12844esac
12845
12846
12847cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12848# Files that config.status was made for.
12849config_files="$ac_config_files"
12850config_headers="$ac_config_headers"
12851config_commands="$ac_config_commands"
12852
12853_ACEOF
12854
12855cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12856ac_cs_usage="\
12857\`$as_me' instantiates files and other configuration actions
12858from templates according to the current configuration.  Unless the files
12859and actions are specified as TAGs, all are instantiated by default.
12860
12861Usage: $0 [OPTION]... [TAG]...
12862
12863  -h, --help       print this help, then exit
12864  -V, --version    print version number and configuration settings, then exit
12865      --config     print configuration, then exit
12866  -q, --quiet, --silent
12867                   do not print progress messages
12868  -d, --debug      don't remove temporary files
12869      --recheck    update $as_me by reconfiguring in the same conditions
12870      --file=FILE[:TEMPLATE]
12871                   instantiate the configuration file FILE
12872      --header=FILE[:TEMPLATE]
12873                   instantiate the configuration header FILE
12874
12875Configuration files:
12876$config_files
12877
12878Configuration headers:
12879$config_headers
12880
12881Configuration commands:
12882$config_commands
12883
12884Report bugs to <bug-guile@gnu.org>."
12885
12886_ACEOF
12887cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12888ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12889ac_cs_version="\\
12890guile-readline config.status 1.8.8
12891configured by $0, generated by GNU Autoconf 2.68,
12892  with options \\"\$ac_cs_config\\"
12893
12894Copyright (C) 2010 Free Software Foundation, Inc.
12895This config.status script is free software; the Free Software Foundation
12896gives unlimited permission to copy, distribute and modify it."
12897
12898ac_pwd='$ac_pwd'
12899srcdir='$srcdir'
12900INSTALL='$INSTALL'
12901MKDIR_P='$MKDIR_P'
12902AWK='$AWK'
12903test -n "\$AWK" || AWK=awk
12904_ACEOF
12905
12906cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12907# The default lists apply if the user does not specify any file.
12908ac_need_defaults=:
12909while test $# != 0
12910do
12911  case $1 in
12912  --*=?*)
12913    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12914    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12915    ac_shift=:
12916    ;;
12917  --*=)
12918    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12919    ac_optarg=
12920    ac_shift=:
12921    ;;
12922  *)
12923    ac_option=$1
12924    ac_optarg=$2
12925    ac_shift=shift
12926    ;;
12927  esac
12928
12929  case $ac_option in
12930  # Handling of the options.
12931  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12932    ac_cs_recheck=: ;;
12933  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12934    $as_echo "$ac_cs_version"; exit ;;
12935  --config | --confi | --conf | --con | --co | --c )
12936    $as_echo "$ac_cs_config"; exit ;;
12937  --debug | --debu | --deb | --de | --d | -d )
12938    debug=: ;;
12939  --file | --fil | --fi | --f )
12940    $ac_shift
12941    case $ac_optarg in
12942    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12943    '') as_fn_error $? "missing file argument" ;;
12944    esac
12945    as_fn_append CONFIG_FILES " '$ac_optarg'"
12946    ac_need_defaults=false;;
12947  --header | --heade | --head | --hea )
12948    $ac_shift
12949    case $ac_optarg in
12950    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12951    esac
12952    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12953    ac_need_defaults=false;;
12954  --he | --h)
12955    # Conflict between --help and --header
12956    as_fn_error $? "ambiguous option: \`$1'
12957Try \`$0 --help' for more information.";;
12958  --help | --hel | -h )
12959    $as_echo "$ac_cs_usage"; exit ;;
12960  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12961  | -silent | --silent | --silen | --sile | --sil | --si | --s)
12962    ac_cs_silent=: ;;
12963
12964  # This is an error.
12965  -*) as_fn_error $? "unrecognized option: \`$1'
12966Try \`$0 --help' for more information." ;;
12967
12968  *) as_fn_append ac_config_targets " $1"
12969     ac_need_defaults=false ;;
12970
12971  esac
12972  shift
12973done
12974
12975ac_configure_extra_args=
12976
12977if $ac_cs_silent; then
12978  exec 6>/dev/null
12979  ac_configure_extra_args="$ac_configure_extra_args --silent"
12980fi
12981
12982_ACEOF
12983cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12984if \$ac_cs_recheck; then
12985  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12986  shift
12987  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12988  CONFIG_SHELL='$SHELL'
12989  export CONFIG_SHELL
12990  exec "\$@"
12991fi
12992
12993_ACEOF
12994cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12995exec 5>>config.log
12996{
12997  echo
12998  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12999## Running $as_me. ##
13000_ASBOX
13001  $as_echo "$ac_log"
13002} >&5
13003
13004_ACEOF
13005cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13006#
13007# INIT-COMMANDS
13008#
13009AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13010
13011
13012# The HP-UX ksh and POSIX shell print the target directory to stdout
13013# if CDPATH is set.
13014(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13015
13016sed_quote_subst='$sed_quote_subst'
13017double_quote_subst='$double_quote_subst'
13018delay_variable_subst='$delay_variable_subst'
13019AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
13020DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13021OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13022macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13023macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13024enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13025enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13026pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13027enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13028SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13029ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13030host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13031host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13032host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13033build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13034build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13035build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13036SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13037Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13038GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13039EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13040FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13041LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13042NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13043LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13044max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13045ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13046exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13047lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13048lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13049lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13050lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13051lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13052reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13053reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13054deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13055file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13056file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13057want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13058sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13059AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13060AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13061archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13062STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13063RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13064old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13065old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13066old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13067lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13068CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13069CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13070compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13071GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13072lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13073lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13074lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13075lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13076nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13077lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13078objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13079MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13080lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13081lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13082lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13083lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13084lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13085need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13086MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13087DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13088NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13089LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13090OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13091OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13092libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13093shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13094extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13095archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13096enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13097export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13098whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13099compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13100old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13101old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13102archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13103archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13104module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13105module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13106with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13107allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13108no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13109hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13110hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13111hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13112hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13113hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13114hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13115hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13116hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13117inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13118link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13119always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13120export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13121exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13122include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13123prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13124postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13125file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13126variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13127need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13128need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13129version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13130runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13131shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13132shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13133libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13134library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13135soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13136install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13137postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13138postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13139finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13140finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13141hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13142sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13143sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13144hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13145enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13146enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13147enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13148old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13149striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13150
13151LTCC='$LTCC'
13152LTCFLAGS='$LTCFLAGS'
13153compiler='$compiler_DEFAULT'
13154
13155# A function that is used when there is no print builtin or printf.
13156func_fallback_echo ()
13157{
13158  eval 'cat <<_LTECHO_EOF
13159\$1
13160_LTECHO_EOF'
13161}
13162
13163# Quote evaled strings.
13164for var in AS \
13165DLLTOOL \
13166OBJDUMP \
13167SHELL \
13168ECHO \
13169SED \
13170GREP \
13171EGREP \
13172FGREP \
13173LD \
13174NM \
13175LN_S \
13176lt_SP2NL \
13177lt_NL2SP \
13178reload_flag \
13179deplibs_check_method \
13180file_magic_cmd \
13181file_magic_glob \
13182want_nocaseglob \
13183sharedlib_from_linklib_cmd \
13184AR \
13185AR_FLAGS \
13186archiver_list_spec \
13187STRIP \
13188RANLIB \
13189CC \
13190CFLAGS \
13191compiler \
13192lt_cv_sys_global_symbol_pipe \
13193lt_cv_sys_global_symbol_to_cdecl \
13194lt_cv_sys_global_symbol_to_c_name_address \
13195lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13196nm_file_list_spec \
13197lt_prog_compiler_no_builtin_flag \
13198lt_prog_compiler_pic \
13199lt_prog_compiler_wl \
13200lt_prog_compiler_static \
13201lt_cv_prog_compiler_c_o \
13202need_locks \
13203MANIFEST_TOOL \
13204DSYMUTIL \
13205NMEDIT \
13206LIPO \
13207OTOOL \
13208OTOOL64 \
13209shrext_cmds \
13210export_dynamic_flag_spec \
13211whole_archive_flag_spec \
13212compiler_needs_object \
13213with_gnu_ld \
13214allow_undefined_flag \
13215no_undefined_flag \
13216hardcode_libdir_flag_spec \
13217hardcode_libdir_flag_spec_ld \
13218hardcode_libdir_separator \
13219exclude_expsyms \
13220include_expsyms \
13221file_list_spec \
13222variables_saved_for_relink \
13223libname_spec \
13224library_names_spec \
13225soname_spec \
13226install_override_mode \
13227finish_eval \
13228old_striplib \
13229striplib; do
13230    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13231    *[\\\\\\\`\\"\\\$]*)
13232      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13233      ;;
13234    *)
13235      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13236      ;;
13237    esac
13238done
13239
13240# Double-quote double-evaled strings.
13241for var in reload_cmds \
13242old_postinstall_cmds \
13243old_postuninstall_cmds \
13244old_archive_cmds \
13245extract_expsyms_cmds \
13246old_archive_from_new_cmds \
13247old_archive_from_expsyms_cmds \
13248archive_cmds \
13249archive_expsym_cmds \
13250module_cmds \
13251module_expsym_cmds \
13252export_symbols_cmds \
13253prelink_cmds \
13254postlink_cmds \
13255postinstall_cmds \
13256postuninstall_cmds \
13257finish_cmds \
13258sys_lib_search_path_spec \
13259sys_lib_dlsearch_path_spec; do
13260    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13261    *[\\\\\\\`\\"\\\$]*)
13262      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13263      ;;
13264    *)
13265      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13266      ;;
13267    esac
13268done
13269
13270ac_aux_dir='$ac_aux_dir'
13271xsi_shell='$xsi_shell'
13272lt_shell_append='$lt_shell_append'
13273
13274# See if we are running on zsh, and set the options which allow our
13275# commands through without removal of \ escapes INIT.
13276if test -n "\${ZSH_VERSION+set}" ; then
13277   setopt NO_GLOB_SUBST
13278fi
13279
13280
13281    PACKAGE='$PACKAGE'
13282    VERSION='$VERSION'
13283    TIMESTAMP='$TIMESTAMP'
13284    RM='$RM'
13285    ofile='$ofile'
13286
13287
13288
13289
13290_ACEOF
13291
13292cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13293
13294# Handling of arguments.
13295for ac_config_target in $ac_config_targets
13296do
13297  case $ac_config_target in
13298    "guile-readline-config.h") CONFIG_HEADERS="$CONFIG_HEADERS guile-readline-config.h" ;;
13299    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13300    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13301    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13302    "ice-9/Makefile") CONFIG_FILES="$CONFIG_FILES ice-9/Makefile" ;;
13303
13304  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13305  esac
13306done
13307
13308
13309# If the user did not use the arguments to specify the items to instantiate,
13310# then the envvar interface is used.  Set only those that are not.
13311# We use the long form for the default assignment because of an extremely
13312# bizarre bug on SunOS 4.1.3.
13313if $ac_need_defaults; then
13314  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13315  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13316  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13317fi
13318
13319# Have a temporary directory for convenience.  Make it in the build tree
13320# simply because there is no reason against having it here, and in addition,
13321# creating and moving files from /tmp can sometimes cause problems.
13322# Hook for its removal unless debugging.
13323# Note that there is a small window in which the directory will not be cleaned:
13324# after its creation but before its name has been assigned to `$tmp'.
13325$debug ||
13326{
13327  tmp= ac_tmp=
13328  trap 'exit_status=$?
13329  : "${ac_tmp:=$tmp}"
13330  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13331' 0
13332  trap 'as_fn_exit 1' 1 2 13 15
13333}
13334# Create a (secure) tmp directory for tmp files.
13335
13336{
13337  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13338  test -d "$tmp"
13339}  ||
13340{
13341  tmp=./conf$$-$RANDOM
13342  (umask 077 && mkdir "$tmp")
13343} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13344ac_tmp=$tmp
13345
13346# Set up the scripts for CONFIG_FILES section.
13347# No need to generate them if there are no CONFIG_FILES.
13348# This happens for instance with `./config.status config.h'.
13349if test -n "$CONFIG_FILES"; then
13350
13351
13352ac_cr=`echo X | tr X '\015'`
13353# On cygwin, bash can eat \r inside `` if the user requested igncr.
13354# But we know of no other shell where ac_cr would be empty at this
13355# point, so we can use a bashism as a fallback.
13356if test "x$ac_cr" = x; then
13357  eval ac_cr=\$\'\\r\'
13358fi
13359ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13360if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13361  ac_cs_awk_cr='\\r'
13362else
13363  ac_cs_awk_cr=$ac_cr
13364fi
13365
13366echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13367_ACEOF
13368
13369
13370{
13371  echo "cat >conf$$subs.awk <<_ACEOF" &&
13372  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13373  echo "_ACEOF"
13374} >conf$$subs.sh ||
13375  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13376ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13377ac_delim='%!_!# '
13378for ac_last_try in false false false false false :; do
13379  . ./conf$$subs.sh ||
13380    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13381
13382  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13383  if test $ac_delim_n = $ac_delim_num; then
13384    break
13385  elif $ac_last_try; then
13386    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13387  else
13388    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13389  fi
13390done
13391rm -f conf$$subs.sh
13392
13393cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13394cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13395_ACEOF
13396sed -n '
13397h
13398s/^/S["/; s/!.*/"]=/
13399p
13400g
13401s/^[^!]*!//
13402:repl
13403t repl
13404s/'"$ac_delim"'$//
13405t delim
13406:nl
13407h
13408s/\(.\{148\}\)..*/\1/
13409t more1
13410s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13411p
13412n
13413b repl
13414:more1
13415s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13416p
13417g
13418s/.\{148\}//
13419t nl
13420:delim
13421h
13422s/\(.\{148\}\)..*/\1/
13423t more2
13424s/["\\]/\\&/g; s/^/"/; s/$/"/
13425p
13426b
13427:more2
13428s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13429p
13430g
13431s/.\{148\}//
13432t delim
13433' <conf$$subs.awk | sed '
13434/^[^""]/{
13435  N
13436  s/\n//
13437}
13438' >>$CONFIG_STATUS || ac_write_fail=1
13439rm -f conf$$subs.awk
13440cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13441_ACAWK
13442cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13443  for (key in S) S_is_set[key] = 1
13444  FS = ""
13445
13446}
13447{
13448  line = $ 0
13449  nfields = split(line, field, "@")
13450  substed = 0
13451  len = length(field[1])
13452  for (i = 2; i < nfields; i++) {
13453    key = field[i]
13454    keylen = length(key)
13455    if (S_is_set[key]) {
13456      value = S[key]
13457      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13458      len += length(value) + length(field[++i])
13459      substed = 1
13460    } else
13461      len += 1 + keylen
13462  }
13463
13464  print line
13465}
13466
13467_ACAWK
13468_ACEOF
13469cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13470if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13471  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13472else
13473  cat
13474fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13475  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13476_ACEOF
13477
13478# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13479# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13480# trailing colons and then remove the whole line if VPATH becomes empty
13481# (actually we leave an empty line to preserve line numbers).
13482if test "x$srcdir" = x.; then
13483  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
13484h
13485s///
13486s/^/:/
13487s/[	 ]*$/:/
13488s/:\$(srcdir):/:/g
13489s/:\${srcdir}:/:/g
13490s/:@srcdir@:/:/g
13491s/^:*//
13492s/:*$//
13493x
13494s/\(=[	 ]*\).*/\1/
13495G
13496s/\n//
13497s/^[^=]*=[	 ]*$//
13498}'
13499fi
13500
13501cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13502fi # test -n "$CONFIG_FILES"
13503
13504# Set up the scripts for CONFIG_HEADERS section.
13505# No need to generate them if there are no CONFIG_HEADERS.
13506# This happens for instance with `./config.status Makefile'.
13507if test -n "$CONFIG_HEADERS"; then
13508cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13509BEGIN {
13510_ACEOF
13511
13512# Transform confdefs.h into an awk script `defines.awk', embedded as
13513# here-document in config.status, that substitutes the proper values into
13514# config.h.in to produce config.h.
13515
13516# Create a delimiter string that does not exist in confdefs.h, to ease
13517# handling of long lines.
13518ac_delim='%!_!# '
13519for ac_last_try in false false :; do
13520  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13521  if test -z "$ac_tt"; then
13522    break
13523  elif $ac_last_try; then
13524    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13525  else
13526    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13527  fi
13528done
13529
13530# For the awk script, D is an array of macro values keyed by name,
13531# likewise P contains macro parameters if any.  Preserve backslash
13532# newline sequences.
13533
13534ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13535sed -n '
13536s/.\{148\}/&'"$ac_delim"'/g
13537t rset
13538:rset
13539s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
13540t def
13541d
13542:def
13543s/\\$//
13544t bsnl
13545s/["\\]/\\&/g
13546s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13547D["\1"]=" \3"/p
13548s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
13549d
13550:bsnl
13551s/["\\]/\\&/g
13552s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13553D["\1"]=" \3\\\\\\n"\\/p
13554t cont
13555s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13556t cont
13557d
13558:cont
13559n
13560s/.\{148\}/&'"$ac_delim"'/g
13561t clear
13562:clear
13563s/\\$//
13564t bsnlc
13565s/["\\]/\\&/g; s/^/"/; s/$/"/p
13566d
13567:bsnlc
13568s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13569b cont
13570' <confdefs.h | sed '
13571s/'"$ac_delim"'/"\\\
13572"/g' >>$CONFIG_STATUS || ac_write_fail=1
13573
13574cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13575  for (key in D) D_is_set[key] = 1
13576  FS = ""
13577}
13578/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13579  line = \$ 0
13580  split(line, arg, " ")
13581  if (arg[1] == "#") {
13582    defundef = arg[2]
13583    mac1 = arg[3]
13584  } else {
13585    defundef = substr(arg[1], 2)
13586    mac1 = arg[2]
13587  }
13588  split(mac1, mac2, "(") #)
13589  macro = mac2[1]
13590  prefix = substr(line, 1, index(line, defundef) - 1)
13591  if (D_is_set[macro]) {
13592    # Preserve the white space surrounding the "#".
13593    print prefix "define", macro P[macro] D[macro]
13594    next
13595  } else {
13596    # Replace #undef with comments.  This is necessary, for example,
13597    # in the case of _POSIX_SOURCE, which is predefined and required
13598    # on some systems where configure will not decide to define it.
13599    if (defundef == "undef") {
13600      print "/*", prefix defundef, macro, "*/"
13601      next
13602    }
13603  }
13604}
13605{ print }
13606_ACAWK
13607_ACEOF
13608cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13609  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13610fi # test -n "$CONFIG_HEADERS"
13611
13612
13613eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13614shift
13615for ac_tag
13616do
13617  case $ac_tag in
13618  :[FHLC]) ac_mode=$ac_tag; continue;;
13619  esac
13620  case $ac_mode$ac_tag in
13621  :[FHL]*:*);;
13622  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13623  :[FH]-) ac_tag=-:-;;
13624  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13625  esac
13626  ac_save_IFS=$IFS
13627  IFS=:
13628  set x $ac_tag
13629  IFS=$ac_save_IFS
13630  shift
13631  ac_file=$1
13632  shift
13633
13634  case $ac_mode in
13635  :L) ac_source=$1;;
13636  :[FH])
13637    ac_file_inputs=
13638    for ac_f
13639    do
13640      case $ac_f in
13641      -) ac_f="$ac_tmp/stdin";;
13642      *) # Look for the file first in the build tree, then in the source tree
13643	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
13644	 # because $ac_f cannot contain `:'.
13645	 test -f "$ac_f" ||
13646	   case $ac_f in
13647	   [\\/$]*) false;;
13648	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13649	   esac ||
13650	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13651      esac
13652      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13653      as_fn_append ac_file_inputs " '$ac_f'"
13654    done
13655
13656    # Let's still pretend it is `configure' which instantiates (i.e., don't
13657    # use $as_me), people would be surprised to read:
13658    #    /* config.h.  Generated by config.status.  */
13659    configure_input='Generated from '`
13660	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13661	`' by configure.'
13662    if test x"$ac_file" != x-; then
13663      configure_input="$ac_file.  $configure_input"
13664      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13665$as_echo "$as_me: creating $ac_file" >&6;}
13666    fi
13667    # Neutralize special characters interpreted by sed in replacement strings.
13668    case $configure_input in #(
13669    *\&* | *\|* | *\\* )
13670       ac_sed_conf_input=`$as_echo "$configure_input" |
13671       sed 's/[\\\\&|]/\\\\&/g'`;; #(
13672    *) ac_sed_conf_input=$configure_input;;
13673    esac
13674
13675    case $ac_tag in
13676    *:-:* | *:-) cat >"$ac_tmp/stdin" \
13677      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13678    esac
13679    ;;
13680  esac
13681
13682  ac_dir=`$as_dirname -- "$ac_file" ||
13683$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13684	 X"$ac_file" : 'X\(//\)[^/]' \| \
13685	 X"$ac_file" : 'X\(//\)$' \| \
13686	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13687$as_echo X"$ac_file" |
13688    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13689	    s//\1/
13690	    q
13691	  }
13692	  /^X\(\/\/\)[^/].*/{
13693	    s//\1/
13694	    q
13695	  }
13696	  /^X\(\/\/\)$/{
13697	    s//\1/
13698	    q
13699	  }
13700	  /^X\(\/\).*/{
13701	    s//\1/
13702	    q
13703	  }
13704	  s/.*/./; q'`
13705  as_dir="$ac_dir"; as_fn_mkdir_p
13706  ac_builddir=.
13707
13708case "$ac_dir" in
13709.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13710*)
13711  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13712  # A ".." for each directory in $ac_dir_suffix.
13713  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13714  case $ac_top_builddir_sub in
13715  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13716  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13717  esac ;;
13718esac
13719ac_abs_top_builddir=$ac_pwd
13720ac_abs_builddir=$ac_pwd$ac_dir_suffix
13721# for backward compatibility:
13722ac_top_builddir=$ac_top_build_prefix
13723
13724case $srcdir in
13725  .)  # We are building in place.
13726    ac_srcdir=.
13727    ac_top_srcdir=$ac_top_builddir_sub
13728    ac_abs_top_srcdir=$ac_pwd ;;
13729  [\\/]* | ?:[\\/]* )  # Absolute name.
13730    ac_srcdir=$srcdir$ac_dir_suffix;
13731    ac_top_srcdir=$srcdir
13732    ac_abs_top_srcdir=$srcdir ;;
13733  *) # Relative name.
13734    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13735    ac_top_srcdir=$ac_top_build_prefix$srcdir
13736    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13737esac
13738ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13739
13740
13741  case $ac_mode in
13742  :F)
13743  #
13744  # CONFIG_FILE
13745  #
13746
13747  case $INSTALL in
13748  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13749  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13750  esac
13751  ac_MKDIR_P=$MKDIR_P
13752  case $MKDIR_P in
13753  [\\/$]* | ?:[\\/]* ) ;;
13754  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13755  esac
13756_ACEOF
13757
13758cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13759# If the template does not know about datarootdir, expand it.
13760# FIXME: This hack should be removed a few years after 2.60.
13761ac_datarootdir_hack=; ac_datarootdir_seen=
13762ac_sed_dataroot='
13763/datarootdir/ {
13764  p
13765  q
13766}
13767/@datadir@/p
13768/@docdir@/p
13769/@infodir@/p
13770/@localedir@/p
13771/@mandir@/p'
13772case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13773*datarootdir*) ac_datarootdir_seen=yes;;
13774*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13775  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13776$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13777_ACEOF
13778cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13779  ac_datarootdir_hack='
13780  s&@datadir@&$datadir&g
13781  s&@docdir@&$docdir&g
13782  s&@infodir@&$infodir&g
13783  s&@localedir@&$localedir&g
13784  s&@mandir@&$mandir&g
13785  s&\\\${datarootdir}&$datarootdir&g' ;;
13786esac
13787_ACEOF
13788
13789# Neutralize VPATH when `$srcdir' = `.'.
13790# Shell code in configure.ac might set extrasub.
13791# FIXME: do we really want to maintain this feature?
13792cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13793ac_sed_extra="$ac_vpsub
13794$extrasub
13795_ACEOF
13796cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13797:t
13798/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13799s|@configure_input@|$ac_sed_conf_input|;t t
13800s&@top_builddir@&$ac_top_builddir_sub&;t t
13801s&@top_build_prefix@&$ac_top_build_prefix&;t t
13802s&@srcdir@&$ac_srcdir&;t t
13803s&@abs_srcdir@&$ac_abs_srcdir&;t t
13804s&@top_srcdir@&$ac_top_srcdir&;t t
13805s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13806s&@builddir@&$ac_builddir&;t t
13807s&@abs_builddir@&$ac_abs_builddir&;t t
13808s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13809s&@INSTALL@&$ac_INSTALL&;t t
13810s&@MKDIR_P@&$ac_MKDIR_P&;t t
13811$ac_datarootdir_hack
13812"
13813eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13814  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13815
13816test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13817  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13818  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
13819      "$ac_tmp/out"`; test -z "$ac_out"; } &&
13820  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13821which seems to be undefined.  Please make sure it is defined" >&5
13822$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13823which seems to be undefined.  Please make sure it is defined" >&2;}
13824
13825  rm -f "$ac_tmp/stdin"
13826  case $ac_file in
13827  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13828  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13829  esac \
13830  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13831 ;;
13832  :H)
13833  #
13834  # CONFIG_HEADER
13835  #
13836  if test x"$ac_file" != x-; then
13837    {
13838      $as_echo "/* $configure_input  */" \
13839      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13840    } >"$ac_tmp/config.h" \
13841      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13842    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13843      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13844$as_echo "$as_me: $ac_file is unchanged" >&6;}
13845    else
13846      rm -f "$ac_file"
13847      mv "$ac_tmp/config.h" "$ac_file" \
13848	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
13849    fi
13850  else
13851    $as_echo "/* $configure_input  */" \
13852      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13853      || as_fn_error $? "could not create -" "$LINENO" 5
13854  fi
13855# Compute "$ac_file"'s index in $config_headers.
13856_am_arg="$ac_file"
13857_am_stamp_count=1
13858for _am_header in $config_headers :; do
13859  case $_am_header in
13860    $_am_arg | $_am_arg:* )
13861      break ;;
13862    * )
13863      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13864  esac
13865done
13866echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13867$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13868	 X"$_am_arg" : 'X\(//\)[^/]' \| \
13869	 X"$_am_arg" : 'X\(//\)$' \| \
13870	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13871$as_echo X"$_am_arg" |
13872    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13873	    s//\1/
13874	    q
13875	  }
13876	  /^X\(\/\/\)[^/].*/{
13877	    s//\1/
13878	    q
13879	  }
13880	  /^X\(\/\/\)$/{
13881	    s//\1/
13882	    q
13883	  }
13884	  /^X\(\/\).*/{
13885	    s//\1/
13886	    q
13887	  }
13888	  s/.*/./; q'`/stamp-h$_am_stamp_count
13889 ;;
13890
13891  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13892$as_echo "$as_me: executing $ac_file commands" >&6;}
13893 ;;
13894  esac
13895
13896
13897  case $ac_file$ac_mode in
13898    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13899  # Autoconf 2.62 quotes --file arguments for eval, but not when files
13900  # are listed without --file.  Let's play safe and only enable the eval
13901  # if we detect the quoting.
13902  case $CONFIG_FILES in
13903  *\'*) eval set x "$CONFIG_FILES" ;;
13904  *)   set x $CONFIG_FILES ;;
13905  esac
13906  shift
13907  for mf
13908  do
13909    # Strip MF so we end up with the name of the file.
13910    mf=`echo "$mf" | sed -e 's/:.*$//'`
13911    # Check whether this is an Automake generated Makefile or not.
13912    # We used to match only the files named `Makefile.in', but
13913    # some people rename them; so instead we look at the file content.
13914    # Grep'ing the first line is not enough: some people post-process
13915    # each Makefile.in and add a new line on top of each file to say so.
13916    # Grep'ing the whole file is not good either: AIX grep has a line
13917    # limit of 2048, but all sed's we know have understand at least 4000.
13918    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13919      dirpart=`$as_dirname -- "$mf" ||
13920$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13921	 X"$mf" : 'X\(//\)[^/]' \| \
13922	 X"$mf" : 'X\(//\)$' \| \
13923	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13924$as_echo X"$mf" |
13925    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13926	    s//\1/
13927	    q
13928	  }
13929	  /^X\(\/\/\)[^/].*/{
13930	    s//\1/
13931	    q
13932	  }
13933	  /^X\(\/\/\)$/{
13934	    s//\1/
13935	    q
13936	  }
13937	  /^X\(\/\).*/{
13938	    s//\1/
13939	    q
13940	  }
13941	  s/.*/./; q'`
13942    else
13943      continue
13944    fi
13945    # Extract the definition of DEPDIR, am__include, and am__quote
13946    # from the Makefile without running `make'.
13947    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13948    test -z "$DEPDIR" && continue
13949    am__include=`sed -n 's/^am__include = //p' < "$mf"`
13950    test -z "am__include" && continue
13951    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13952    # When using ansi2knr, U may be empty or an underscore; expand it
13953    U=`sed -n 's/^U = //p' < "$mf"`
13954    # Find all dependency output files, they are included files with
13955    # $(DEPDIR) in their names.  We invoke sed twice because it is the
13956    # simplest approach to changing $(DEPDIR) to its actual value in the
13957    # expansion.
13958    for file in `sed -n "
13959      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13960	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13961      # Make sure the directory exists.
13962      test -f "$dirpart/$file" && continue
13963      fdir=`$as_dirname -- "$file" ||
13964$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13965	 X"$file" : 'X\(//\)[^/]' \| \
13966	 X"$file" : 'X\(//\)$' \| \
13967	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13968$as_echo X"$file" |
13969    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13970	    s//\1/
13971	    q
13972	  }
13973	  /^X\(\/\/\)[^/].*/{
13974	    s//\1/
13975	    q
13976	  }
13977	  /^X\(\/\/\)$/{
13978	    s//\1/
13979	    q
13980	  }
13981	  /^X\(\/\).*/{
13982	    s//\1/
13983	    q
13984	  }
13985	  s/.*/./; q'`
13986      as_dir=$dirpart/$fdir; as_fn_mkdir_p
13987      # echo "creating $dirpart/$file"
13988      echo '# dummy' > "$dirpart/$file"
13989    done
13990  done
13991}
13992 ;;
13993    "libtool":C)
13994
13995    # See if we are running on zsh, and set the options which allow our
13996    # commands through without removal of \ escapes.
13997    if test -n "${ZSH_VERSION+set}" ; then
13998      setopt NO_GLOB_SUBST
13999    fi
14000
14001    cfgfile="${ofile}T"
14002    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14003    $RM "$cfgfile"
14004
14005    cat <<_LT_EOF >> "$cfgfile"
14006#! $SHELL
14007
14008# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14009# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14010# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14011# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14012#
14013#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14014#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14015#                 Inc.
14016#   Written by Gordon Matzigkeit, 1996
14017#
14018#   This file is part of GNU Libtool.
14019#
14020# GNU Libtool is free software; you can redistribute it and/or
14021# modify it under the terms of the GNU General Public License as
14022# published by the Free Software Foundation; either version 2 of
14023# the License, or (at your option) any later version.
14024#
14025# As a special exception to the GNU General Public License,
14026# if you distribute this file as part of a program or library that
14027# is built using GNU Libtool, you may include this file under the
14028# same distribution terms that you use for the rest of that program.
14029#
14030# GNU Libtool is distributed in the hope that it will be useful,
14031# but WITHOUT ANY WARRANTY; without even the implied warranty of
14032# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14033# GNU General Public License for more details.
14034#
14035# You should have received a copy of the GNU General Public License
14036# along with GNU Libtool; see the file COPYING.  If not, a copy
14037# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14038# obtained by writing to the Free Software Foundation, Inc.,
14039# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14040
14041
14042# The names of the tagged configurations supported by this script.
14043available_tags=""
14044
14045# ### BEGIN LIBTOOL CONFIG
14046
14047# Assembler program.
14048AS=$lt_AS
14049
14050# DLL creation program.
14051DLLTOOL=$lt_DLLTOOL
14052
14053# Object dumper program.
14054OBJDUMP=$lt_OBJDUMP
14055
14056# Which release of libtool.m4 was used?
14057macro_version=$macro_version
14058macro_revision=$macro_revision
14059
14060# Whether or not to build shared libraries.
14061build_libtool_libs=$enable_shared
14062
14063# Whether or not to build static libraries.
14064build_old_libs=$enable_static
14065
14066# What type of objects to build.
14067pic_mode=$pic_mode
14068
14069# Whether or not to optimize for fast installation.
14070fast_install=$enable_fast_install
14071
14072# Shell to use when invoking shell scripts.
14073SHELL=$lt_SHELL
14074
14075# An echo program that protects backslashes.
14076ECHO=$lt_ECHO
14077
14078# The host system.
14079host_alias=$host_alias
14080host=$host
14081host_os=$host_os
14082
14083# The build system.
14084build_alias=$build_alias
14085build=$build
14086build_os=$build_os
14087
14088# A sed program that does not truncate output.
14089SED=$lt_SED
14090
14091# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14092Xsed="\$SED -e 1s/^X//"
14093
14094# A grep program that handles long lines.
14095GREP=$lt_GREP
14096
14097# An ERE matcher.
14098EGREP=$lt_EGREP
14099
14100# A literal string matcher.
14101FGREP=$lt_FGREP
14102
14103# A BSD- or MS-compatible name lister.
14104NM=$lt_NM
14105
14106# Whether we need soft or hard links.
14107LN_S=$lt_LN_S
14108
14109# What is the maximum length of a command?
14110max_cmd_len=$max_cmd_len
14111
14112# Object file suffix (normally "o").
14113objext=$ac_objext
14114
14115# Executable file suffix (normally "").
14116exeext=$exeext
14117
14118# whether the shell understands "unset".
14119lt_unset=$lt_unset
14120
14121# turn spaces into newlines.
14122SP2NL=$lt_lt_SP2NL
14123
14124# turn newlines into spaces.
14125NL2SP=$lt_lt_NL2SP
14126
14127# convert \$build file names to \$host format.
14128to_host_file_cmd=$lt_cv_to_host_file_cmd
14129
14130# convert \$build files to toolchain format.
14131to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14132
14133# Method to check whether dependent libraries are shared objects.
14134deplibs_check_method=$lt_deplibs_check_method
14135
14136# Command to use when deplibs_check_method = "file_magic".
14137file_magic_cmd=$lt_file_magic_cmd
14138
14139# How to find potential files when deplibs_check_method = "file_magic".
14140file_magic_glob=$lt_file_magic_glob
14141
14142# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14143want_nocaseglob=$lt_want_nocaseglob
14144
14145# Command to associate shared and link libraries.
14146sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14147
14148# The archiver.
14149AR=$lt_AR
14150
14151# Flags to create an archive.
14152AR_FLAGS=$lt_AR_FLAGS
14153
14154# How to feed a file listing to the archiver.
14155archiver_list_spec=$lt_archiver_list_spec
14156
14157# A symbol stripping program.
14158STRIP=$lt_STRIP
14159
14160# Commands used to install an old-style archive.
14161RANLIB=$lt_RANLIB
14162old_postinstall_cmds=$lt_old_postinstall_cmds
14163old_postuninstall_cmds=$lt_old_postuninstall_cmds
14164
14165# Whether to use a lock for old archive extraction.
14166lock_old_archive_extraction=$lock_old_archive_extraction
14167
14168# A C compiler.
14169LTCC=$lt_CC
14170
14171# LTCC compiler flags.
14172LTCFLAGS=$lt_CFLAGS
14173
14174# Take the output of nm and produce a listing of raw symbols and C names.
14175global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14176
14177# Transform the output of nm in a proper C declaration.
14178global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14179
14180# Transform the output of nm in a C name address pair.
14181global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14182
14183# Transform the output of nm in a C name address pair when lib prefix is needed.
14184global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14185
14186# Specify filename containing input files for \$NM.
14187nm_file_list_spec=$lt_nm_file_list_spec
14188
14189# The root where to search for dependent libraries,and in which our libraries should be installed.
14190lt_sysroot=$lt_sysroot
14191
14192# The name of the directory that contains temporary libtool files.
14193objdir=$objdir
14194
14195# Used to examine libraries when file_magic_cmd begins with "file".
14196MAGIC_CMD=$MAGIC_CMD
14197
14198# Must we lock files when doing compilation?
14199need_locks=$lt_need_locks
14200
14201# Manifest tool.
14202MANIFEST_TOOL=$lt_MANIFEST_TOOL
14203
14204# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14205DSYMUTIL=$lt_DSYMUTIL
14206
14207# Tool to change global to local symbols on Mac OS X.
14208NMEDIT=$lt_NMEDIT
14209
14210# Tool to manipulate fat objects and archives on Mac OS X.
14211LIPO=$lt_LIPO
14212
14213# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14214OTOOL=$lt_OTOOL
14215
14216# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14217OTOOL64=$lt_OTOOL64
14218
14219# Old archive suffix (normally "a").
14220libext=$libext
14221
14222# Shared library suffix (normally ".so").
14223shrext_cmds=$lt_shrext_cmds
14224
14225# The commands to extract the exported symbol list from a shared archive.
14226extract_expsyms_cmds=$lt_extract_expsyms_cmds
14227
14228# Variables whose values should be saved in libtool wrapper scripts and
14229# restored at link time.
14230variables_saved_for_relink=$lt_variables_saved_for_relink
14231
14232# Do we need the "lib" prefix for modules?
14233need_lib_prefix=$need_lib_prefix
14234
14235# Do we need a version for libraries?
14236need_version=$need_version
14237
14238# Library versioning type.
14239version_type=$version_type
14240
14241# Shared library runtime path variable.
14242runpath_var=$runpath_var
14243
14244# Shared library path variable.
14245shlibpath_var=$shlibpath_var
14246
14247# Is shlibpath searched before the hard-coded library search path?
14248shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14249
14250# Format of library name prefix.
14251libname_spec=$lt_libname_spec
14252
14253# List of archive names.  First name is the real one, the rest are links.
14254# The last name is the one that the linker finds with -lNAME
14255library_names_spec=$lt_library_names_spec
14256
14257# The coded name of the library, if different from the real name.
14258soname_spec=$lt_soname_spec
14259
14260# Permission mode override for installation of shared libraries.
14261install_override_mode=$lt_install_override_mode
14262
14263# Command to use after installation of a shared archive.
14264postinstall_cmds=$lt_postinstall_cmds
14265
14266# Command to use after uninstallation of a shared archive.
14267postuninstall_cmds=$lt_postuninstall_cmds
14268
14269# Commands used to finish a libtool library installation in a directory.
14270finish_cmds=$lt_finish_cmds
14271
14272# As "finish_cmds", except a single script fragment to be evaled but
14273# not shown.
14274finish_eval=$lt_finish_eval
14275
14276# Whether we should hardcode library paths into libraries.
14277hardcode_into_libs=$hardcode_into_libs
14278
14279# Compile-time system search path for libraries.
14280sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14281
14282# Run-time system search path for libraries.
14283sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14284
14285# Whether dlopen is supported.
14286dlopen_support=$enable_dlopen
14287
14288# Whether dlopen of programs is supported.
14289dlopen_self=$enable_dlopen_self
14290
14291# Whether dlopen of statically linked programs is supported.
14292dlopen_self_static=$enable_dlopen_self_static
14293
14294# Commands to strip libraries.
14295old_striplib=$lt_old_striplib
14296striplib=$lt_striplib
14297
14298
14299# The linker used to build libraries.
14300LD=$lt_LD
14301
14302# How to create reloadable object files.
14303reload_flag=$lt_reload_flag
14304reload_cmds=$lt_reload_cmds
14305
14306# Commands used to build an old-style archive.
14307old_archive_cmds=$lt_old_archive_cmds
14308
14309# A language specific compiler.
14310CC=$lt_compiler
14311
14312# Is the compiler the GNU compiler?
14313with_gcc=$GCC
14314
14315# Compiler flag to turn off builtin functions.
14316no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14317
14318# Additional compiler flags for building library objects.
14319pic_flag=$lt_lt_prog_compiler_pic
14320
14321# How to pass a linker flag through the compiler.
14322wl=$lt_lt_prog_compiler_wl
14323
14324# Compiler flag to prevent dynamic linking.
14325link_static_flag=$lt_lt_prog_compiler_static
14326
14327# Does compiler simultaneously support -c and -o options?
14328compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14329
14330# Whether or not to add -lc for building shared libraries.
14331build_libtool_need_lc=$archive_cmds_need_lc
14332
14333# Whether or not to disallow shared libs when runtime libs are static.
14334allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14335
14336# Compiler flag to allow reflexive dlopens.
14337export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14338
14339# Compiler flag to generate shared objects directly from archives.
14340whole_archive_flag_spec=$lt_whole_archive_flag_spec
14341
14342# Whether the compiler copes with passing no objects directly.
14343compiler_needs_object=$lt_compiler_needs_object
14344
14345# Create an old-style archive from a shared archive.
14346old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14347
14348# Create a temporary old-style archive to link instead of a shared archive.
14349old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14350
14351# Commands used to build a shared archive.
14352archive_cmds=$lt_archive_cmds
14353archive_expsym_cmds=$lt_archive_expsym_cmds
14354
14355# Commands used to build a loadable module if different from building
14356# a shared archive.
14357module_cmds=$lt_module_cmds
14358module_expsym_cmds=$lt_module_expsym_cmds
14359
14360# Whether we are building with GNU ld or not.
14361with_gnu_ld=$lt_with_gnu_ld
14362
14363# Flag that allows shared libraries with undefined symbols to be built.
14364allow_undefined_flag=$lt_allow_undefined_flag
14365
14366# Flag that enforces no undefined symbols.
14367no_undefined_flag=$lt_no_undefined_flag
14368
14369# Flag to hardcode \$libdir into a binary during linking.
14370# This must work even if \$libdir does not exist
14371hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14372
14373# If ld is used when linking, flag to hardcode \$libdir into a binary
14374# during linking.  This must work even if \$libdir does not exist.
14375hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14376
14377# Whether we need a single "-rpath" flag with a separated argument.
14378hardcode_libdir_separator=$lt_hardcode_libdir_separator
14379
14380# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14381# DIR into the resulting binary.
14382hardcode_direct=$hardcode_direct
14383
14384# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14385# DIR into the resulting binary and the resulting library dependency is
14386# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14387# library is relocated.
14388hardcode_direct_absolute=$hardcode_direct_absolute
14389
14390# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14391# into the resulting binary.
14392hardcode_minus_L=$hardcode_minus_L
14393
14394# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14395# into the resulting binary.
14396hardcode_shlibpath_var=$hardcode_shlibpath_var
14397
14398# Set to "yes" if building a shared library automatically hardcodes DIR
14399# into the library and all subsequent libraries and executables linked
14400# against it.
14401hardcode_automatic=$hardcode_automatic
14402
14403# Set to yes if linker adds runtime paths of dependent libraries
14404# to runtime path list.
14405inherit_rpath=$inherit_rpath
14406
14407# Whether libtool must link a program against all its dependency libraries.
14408link_all_deplibs=$link_all_deplibs
14409
14410# Set to "yes" if exported symbols are required.
14411always_export_symbols=$always_export_symbols
14412
14413# The commands to list exported symbols.
14414export_symbols_cmds=$lt_export_symbols_cmds
14415
14416# Symbols that should not be listed in the preloaded symbols.
14417exclude_expsyms=$lt_exclude_expsyms
14418
14419# Symbols that must always be exported.
14420include_expsyms=$lt_include_expsyms
14421
14422# Commands necessary for linking programs (against libraries) with templates.
14423prelink_cmds=$lt_prelink_cmds
14424
14425# Commands necessary for finishing linking programs.
14426postlink_cmds=$lt_postlink_cmds
14427
14428# Specify filename containing input files.
14429file_list_spec=$lt_file_list_spec
14430
14431# How to hardcode a shared library path into an executable.
14432hardcode_action=$hardcode_action
14433
14434# ### END LIBTOOL CONFIG
14435
14436_LT_EOF
14437
14438  case $host_os in
14439  aix3*)
14440    cat <<\_LT_EOF >> "$cfgfile"
14441# AIX sometimes has problems with the GCC collect2 program.  For some
14442# reason, if we set the COLLECT_NAMES environment variable, the problems
14443# vanish in a puff of smoke.
14444if test "X${COLLECT_NAMES+set}" != Xset; then
14445  COLLECT_NAMES=
14446  export COLLECT_NAMES
14447fi
14448_LT_EOF
14449    ;;
14450  esac
14451
14452
14453ltmain="$ac_aux_dir/ltmain.sh"
14454
14455
14456  # We use sed instead of cat because bash on DJGPP gets confused if
14457  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14458  # text mode, it properly converts lines to CR/LF.  This bash problem
14459  # is reportedly fixed, but why not run on old versions too?
14460  sed '$q' "$ltmain" >> "$cfgfile" \
14461     || (rm -f "$cfgfile"; exit 1)
14462
14463  if test x"$xsi_shell" = xyes; then
14464  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14465func_dirname ()\
14466{\
14467\    case ${1} in\
14468\      */*) func_dirname_result="${1%/*}${2}" ;;\
14469\      *  ) func_dirname_result="${3}" ;;\
14470\    esac\
14471} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14472  && mv -f "$cfgfile.tmp" "$cfgfile" \
14473    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14474test 0 -eq $? || _lt_function_replace_fail=:
14475
14476
14477  sed -e '/^func_basename ()$/,/^} # func_basename /c\
14478func_basename ()\
14479{\
14480\    func_basename_result="${1##*/}"\
14481} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14482  && mv -f "$cfgfile.tmp" "$cfgfile" \
14483    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14484test 0 -eq $? || _lt_function_replace_fail=:
14485
14486
14487  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14488func_dirname_and_basename ()\
14489{\
14490\    case ${1} in\
14491\      */*) func_dirname_result="${1%/*}${2}" ;;\
14492\      *  ) func_dirname_result="${3}" ;;\
14493\    esac\
14494\    func_basename_result="${1##*/}"\
14495} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14496  && mv -f "$cfgfile.tmp" "$cfgfile" \
14497    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14498test 0 -eq $? || _lt_function_replace_fail=:
14499
14500
14501  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14502func_stripname ()\
14503{\
14504\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14505\    # positional parameters, so assign one to ordinary parameter first.\
14506\    func_stripname_result=${3}\
14507\    func_stripname_result=${func_stripname_result#"${1}"}\
14508\    func_stripname_result=${func_stripname_result%"${2}"}\
14509} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14510  && mv -f "$cfgfile.tmp" "$cfgfile" \
14511    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14512test 0 -eq $? || _lt_function_replace_fail=:
14513
14514
14515  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14516func_split_long_opt ()\
14517{\
14518\    func_split_long_opt_name=${1%%=*}\
14519\    func_split_long_opt_arg=${1#*=}\
14520} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14521  && mv -f "$cfgfile.tmp" "$cfgfile" \
14522    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14523test 0 -eq $? || _lt_function_replace_fail=:
14524
14525
14526  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14527func_split_short_opt ()\
14528{\
14529\    func_split_short_opt_arg=${1#??}\
14530\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14531} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14532  && mv -f "$cfgfile.tmp" "$cfgfile" \
14533    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14534test 0 -eq $? || _lt_function_replace_fail=:
14535
14536
14537  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14538func_lo2o ()\
14539{\
14540\    case ${1} in\
14541\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14542\      *)    func_lo2o_result=${1} ;;\
14543\    esac\
14544} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14545  && mv -f "$cfgfile.tmp" "$cfgfile" \
14546    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14547test 0 -eq $? || _lt_function_replace_fail=:
14548
14549
14550  sed -e '/^func_xform ()$/,/^} # func_xform /c\
14551func_xform ()\
14552{\
14553    func_xform_result=${1%.*}.lo\
14554} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14555  && mv -f "$cfgfile.tmp" "$cfgfile" \
14556    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14557test 0 -eq $? || _lt_function_replace_fail=:
14558
14559
14560  sed -e '/^func_arith ()$/,/^} # func_arith /c\
14561func_arith ()\
14562{\
14563    func_arith_result=$(( $* ))\
14564} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14565  && mv -f "$cfgfile.tmp" "$cfgfile" \
14566    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14567test 0 -eq $? || _lt_function_replace_fail=:
14568
14569
14570  sed -e '/^func_len ()$/,/^} # func_len /c\
14571func_len ()\
14572{\
14573    func_len_result=${#1}\
14574} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14575  && mv -f "$cfgfile.tmp" "$cfgfile" \
14576    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14577test 0 -eq $? || _lt_function_replace_fail=:
14578
14579fi
14580
14581if test x"$lt_shell_append" = xyes; then
14582  sed -e '/^func_append ()$/,/^} # func_append /c\
14583func_append ()\
14584{\
14585    eval "${1}+=\\${2}"\
14586} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14587  && mv -f "$cfgfile.tmp" "$cfgfile" \
14588    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14589test 0 -eq $? || _lt_function_replace_fail=:
14590
14591
14592  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14593func_append_quoted ()\
14594{\
14595\    func_quote_for_eval "${2}"\
14596\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14597} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14598  && mv -f "$cfgfile.tmp" "$cfgfile" \
14599    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14600test 0 -eq $? || _lt_function_replace_fail=:
14601
14602
14603  # Save a `func_append' function call where possible by direct use of '+='
14604  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14605    && mv -f "$cfgfile.tmp" "$cfgfile" \
14606      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14607  test 0 -eq $? || _lt_function_replace_fail=:
14608else
14609  # Save a `func_append' function call even when '+=' is not available
14610  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14611    && mv -f "$cfgfile.tmp" "$cfgfile" \
14612      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14613  test 0 -eq $? || _lt_function_replace_fail=:
14614fi
14615
14616if test x"$_lt_function_replace_fail" = x":"; then
14617  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14618$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14619fi
14620
14621
14622   mv -f "$cfgfile" "$ofile" ||
14623    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14624  chmod +x "$ofile"
14625
14626 ;;
14627
14628  esac
14629done # for ac_tag
14630
14631
14632as_fn_exit 0
14633_ACEOF
14634ac_clean_files=$ac_clean_files_save
14635
14636test $ac_write_fail = 0 ||
14637  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14638
14639
14640# configure is writing to config.log, and then calls config.status.
14641# config.status does its own redirection, appending to config.log.
14642# Unfortunately, on DOS this fails, as config.log is still kept open
14643# by configure, so config.status won't be able to write to it; its
14644# output is simply discarded.  So we exec the FD to /dev/null,
14645# effectively closing config.log, so it can be properly (re)opened and
14646# appended to by config.status.  When coming back to configure, we
14647# need to make the FD available again.
14648if test "$no_create" != yes; then
14649  ac_cs_success=:
14650  ac_config_status_args=
14651  test "$silent" = yes &&
14652    ac_config_status_args="$ac_config_status_args --quiet"
14653  exec 5>/dev/null
14654  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14655  exec 5>>config.log
14656  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14657  # would make configure fail if this is the last instruction.
14658  $ac_cs_success || as_fn_exit 1
14659fi
14660if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14661  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14662$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14663fi
14664
14665