1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.71 for libg15 3.0.1.
4#
5# Report bugs to <menelkir@itroll.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9# Inc.
10#
11#
12# This configure script is free software; the Free Software Foundation
13# gives unlimited permission to copy, distribute and modify it.
14## -------------------- ##
15## M4sh Initialization. ##
16## -------------------- ##
17
18# Be more Bourne compatible
19DUALCASE=1; export DUALCASE # for MKS sh
20as_nop=:
21if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22then :
23  emulate sh
24  NULLCMD=:
25  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26  # is contrary to our usage.  Disable this feature.
27  alias -g '${1+"$@"}'='"$@"'
28  setopt NO_GLOB_SUBST
29else $as_nop
30  case `(set -o) 2>/dev/null` in #(
31  *posix*) :
32    set -o posix ;; #(
33  *) :
34     ;;
35esac
36fi
37
38
39
40# Reset variables that may have inherited troublesome values from
41# the environment.
42
43# IFS needs to be set, to space, tab, and newline, in precisely that order.
44# (If _AS_PATH_WALK were called with IFS unset, it would have the
45# side effect of setting IFS to empty, thus disabling word splitting.)
46# Quoting is to prevent editors from complaining about space-tab.
47as_nl='
48'
49export as_nl
50IFS=" ""	$as_nl"
51
52PS1='$ '
53PS2='> '
54PS4='+ '
55
56# Ensure predictable behavior from utilities with locale-dependent output.
57LC_ALL=C
58export LC_ALL
59LANGUAGE=C
60export LANGUAGE
61
62# We cannot yet rely on "unset" to work, but we need these variables
63# to be unset--not just set to an empty or harmless value--now, to
64# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
65# also avoids known problems related to "unset" and subshell syntax
66# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68do eval test \${$as_var+y} \
69  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70done
71
72# Ensure that fds 0, 1, and 2 are open.
73if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
76
77# The user is always right.
78if ${PATH_SEPARATOR+false} :; then
79  PATH_SEPARATOR=:
80  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82      PATH_SEPARATOR=';'
83  }
84fi
85
86
87# Find who we are.  Look in the path if we contain no directory separator.
88as_myself=
89case $0 in #((
90  *[\\/]* ) as_myself=$0 ;;
91  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92for as_dir in $PATH
93do
94  IFS=$as_save_IFS
95  case $as_dir in #(((
96    '') as_dir=./ ;;
97    */) ;;
98    *) as_dir=$as_dir/ ;;
99  esac
100    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116
117# Use a proper internal environment variable to ensure we don't fall
118  # into an infinite loop, continuously re-executing ourselves.
119  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120    _as_can_reexec=no; export _as_can_reexec;
121    # We cannot yet assume a decent shell, so we have to provide a
122# neutralization value for shells without unset; and this also
123# works around shells that cannot unset nonexistent variables.
124# Preserve -v and -x to the replacement shell.
125BASH_ENV=/dev/null
126ENV=/dev/null
127(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128case $- in # ((((
129  *v*x* | *x*v* ) as_opts=-vx ;;
130  *v* ) as_opts=-v ;;
131  *x* ) as_opts=-x ;;
132  * ) as_opts= ;;
133esac
134exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135# Admittedly, this is quite paranoid, since all the known shells bail
136# out after a failed `exec'.
137printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138exit 255
139  fi
140  # We don't want this to propagate to other subprocesses.
141          { _as_can_reexec=; unset _as_can_reexec;}
142if test "x$CONFIG_SHELL" = x; then
143  as_bourne_compatible="as_nop=:
144if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145then :
146  emulate sh
147  NULLCMD=:
148  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149  # is contrary to our usage.  Disable this feature.
150  alias -g '\${1+\"\$@\"}'='\"\$@\"'
151  setopt NO_GLOB_SUBST
152else \$as_nop
153  case \`(set -o) 2>/dev/null\` in #(
154  *posix*) :
155    set -o posix ;; #(
156  *) :
157     ;;
158esac
159fi
160"
161  as_required="as_fn_return () { (exit \$1); }
162as_fn_success () { as_fn_return 0; }
163as_fn_failure () { as_fn_return 1; }
164as_fn_ret_success () { return 0; }
165as_fn_ret_failure () { return 1; }
166
167exitcode=0
168as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173then :
174
175else \$as_nop
176  exitcode=1; echo positional parameters were not saved.
177fi
178test x\$exitcode = x0 || exit 1
179blah=\$(echo \$(echo blah))
180test x\"\$blah\" = xblah || exit 1
181test -x / || exit 1"
182  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186
187  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
188    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
189    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
190    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
191    PATH=/empty FPATH=/empty; export PATH FPATH
192    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
193      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
194test \$(( 1 + 1 )) = 2 || exit 1"
195  if (eval "$as_required") 2>/dev/null
196then :
197  as_have_required=yes
198else $as_nop
199  as_have_required=no
200fi
201  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
202then :
203
204else $as_nop
205  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
206as_found=false
207for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
208do
209  IFS=$as_save_IFS
210  case $as_dir in #(((
211    '') as_dir=./ ;;
212    */) ;;
213    *) as_dir=$as_dir/ ;;
214  esac
215  as_found=:
216  case $as_dir in #(
217	 /*)
218	   for as_base in sh bash ksh sh5; do
219	     # Try only shells that exist, to save several forks.
220	     as_shell=$as_dir$as_base
221	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
223then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
226then :
227  break 2
228fi
229fi
230	   done;;
231       esac
232  as_found=false
233done
234IFS=$as_save_IFS
235if $as_found
236then :
237
238else $as_nop
239  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
241then :
242  CONFIG_SHELL=$SHELL as_have_required=yes
243fi
244fi
245
246
247      if test "x$CONFIG_SHELL" != x
248then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno
271then :
272  printf "%s\n" "$0: This script requires a shell more modern than all"
273  printf "%s\n" "$0: the shells that I found on your system."
274  if test ${ZSH_VERSION+y} ; then
275    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
277  else
278    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
279$0: menelkir@itroll.org about your system, including any
280$0: error possibly output before this message. Then install
281$0: a modern shell, or manually run the script under such a
282$0: shell if you do have one."
283  fi
284  exit 1
285fi
286fi
287fi
288SHELL=${CONFIG_SHELL-/bin/sh}
289export SHELL
290# Unset more variables known to interfere with behavior of common tools.
291CLICOLOR_FORCE= GREP_OPTIONS=
292unset CLICOLOR_FORCE GREP_OPTIONS
293
294## --------------------- ##
295## M4sh Shell Functions. ##
296## --------------------- ##
297# as_fn_unset VAR
298# ---------------
299# Portably unset VAR.
300as_fn_unset ()
301{
302  { eval $1=; unset $1;}
303}
304as_unset=as_fn_unset
305
306
307# as_fn_set_status STATUS
308# -----------------------
309# Set $? to STATUS, without forking.
310as_fn_set_status ()
311{
312  return $1
313} # as_fn_set_status
314
315# as_fn_exit STATUS
316# -----------------
317# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318as_fn_exit ()
319{
320  set +e
321  as_fn_set_status $1
322  exit $1
323} # as_fn_exit
324# as_fn_nop
325# ---------
326# Do nothing but, unlike ":", preserve the value of $?.
327as_fn_nop ()
328{
329  return $?
330}
331as_nop=as_fn_nop
332
333# as_fn_mkdir_p
334# -------------
335# Create "$as_dir" as a directory, including parents if necessary.
336as_fn_mkdir_p ()
337{
338
339  case $as_dir in #(
340  -*) as_dir=./$as_dir;;
341  esac
342  test -d "$as_dir" || eval $as_mkdir_p || {
343    as_dirs=
344    while :; do
345      case $as_dir in #(
346      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
347      *) as_qdir=$as_dir;;
348      esac
349      as_dirs="'$as_qdir' $as_dirs"
350      as_dir=`$as_dirname -- "$as_dir" ||
351$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
352	 X"$as_dir" : 'X\(//\)[^/]' \| \
353	 X"$as_dir" : 'X\(//\)$' \| \
354	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
355printf "%s\n" X"$as_dir" |
356    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
357	    s//\1/
358	    q
359	  }
360	  /^X\(\/\/\)[^/].*/{
361	    s//\1/
362	    q
363	  }
364	  /^X\(\/\/\)$/{
365	    s//\1/
366	    q
367	  }
368	  /^X\(\/\).*/{
369	    s//\1/
370	    q
371	  }
372	  s/.*/./; q'`
373      test -d "$as_dir" && break
374    done
375    test -z "$as_dirs" || eval "mkdir $as_dirs"
376  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
377
378
379} # as_fn_mkdir_p
380
381# as_fn_executable_p FILE
382# -----------------------
383# Test if FILE is an executable regular file.
384as_fn_executable_p ()
385{
386  test -f "$1" && test -x "$1"
387} # as_fn_executable_p
388# as_fn_append VAR VALUE
389# ----------------------
390# Append the text in VALUE to the end of the definition contained in VAR. Take
391# advantage of any shell optimizations that allow amortized linear growth over
392# repeated appends, instead of the typical quadratic growth present in naive
393# implementations.
394if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
395then :
396  eval 'as_fn_append ()
397  {
398    eval $1+=\$2
399  }'
400else $as_nop
401  as_fn_append ()
402  {
403    eval $1=\$$1\$2
404  }
405fi # as_fn_append
406
407# as_fn_arith ARG...
408# ------------------
409# Perform arithmetic evaluation on the ARGs, and store the result in the
410# global $as_val. Take advantage of shells that can avoid forks. The arguments
411# must be portable across $(()) and expr.
412if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
413then :
414  eval 'as_fn_arith ()
415  {
416    as_val=$(( $* ))
417  }'
418else $as_nop
419  as_fn_arith ()
420  {
421    as_val=`expr "$@" || test $? -eq 1`
422  }
423fi # as_fn_arith
424
425# as_fn_nop
426# ---------
427# Do nothing but, unlike ":", preserve the value of $?.
428as_fn_nop ()
429{
430  return $?
431}
432as_nop=as_fn_nop
433
434# as_fn_error STATUS ERROR [LINENO LOG_FD]
435# ----------------------------------------
436# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
437# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
438# script with STATUS, using 1 if that was 0.
439as_fn_error ()
440{
441  as_status=$1; test $as_status -eq 0 && as_status=1
442  if test "$4"; then
443    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
444    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
445  fi
446  printf "%s\n" "$as_me: error: $2" >&2
447  as_fn_exit $as_status
448} # as_fn_error
449
450if expr a : '\(a\)' >/dev/null 2>&1 &&
451   test "X`expr 00001 : '.*\(...\)'`" = X001; then
452  as_expr=expr
453else
454  as_expr=false
455fi
456
457if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
458  as_basename=basename
459else
460  as_basename=false
461fi
462
463if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
464  as_dirname=dirname
465else
466  as_dirname=false
467fi
468
469as_me=`$as_basename -- "$0" ||
470$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
471	 X"$0" : 'X\(//\)$' \| \
472	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
473printf "%s\n" X/"$0" |
474    sed '/^.*\/\([^/][^/]*\)\/*$/{
475	    s//\1/
476	    q
477	  }
478	  /^X\/\(\/\/\)$/{
479	    s//\1/
480	    q
481	  }
482	  /^X\/\(\/\).*/{
483	    s//\1/
484	    q
485	  }
486	  s/.*/./; q'`
487
488# Avoid depending upon Character Ranges.
489as_cr_letters='abcdefghijklmnopqrstuvwxyz'
490as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
491as_cr_Letters=$as_cr_letters$as_cr_LETTERS
492as_cr_digits='0123456789'
493as_cr_alnum=$as_cr_Letters$as_cr_digits
494
495
496  as_lineno_1=$LINENO as_lineno_1a=$LINENO
497  as_lineno_2=$LINENO as_lineno_2a=$LINENO
498  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
499  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
500  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
501  sed -n '
502    p
503    /[$]LINENO/=
504  ' <$as_myself |
505    sed '
506      s/[$]LINENO.*/&-/
507      t lineno
508      b
509      :lineno
510      N
511      :loop
512      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
513      t loop
514      s/-\n.*//
515    ' >$as_me.lineno &&
516  chmod +x "$as_me.lineno" ||
517    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
518
519  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
520  # already done that, so ensure we don't try to do so again and fall
521  # in an infinite loop.  This has already happened in practice.
522  _as_can_reexec=no; export _as_can_reexec
523  # Don't try to exec as it changes $[0], causing all sort of problems
524  # (the dirname of $[0] is not the place where we might find the
525  # original and so on.  Autoconf is especially sensitive to this).
526  . "./$as_me.lineno"
527  # Exit status is that of the last command.
528  exit
529}
530
531
532# Determine whether it's possible to make 'echo' print without a newline.
533# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
534# for compatibility with existing Makefiles.
535ECHO_C= ECHO_N= ECHO_T=
536case `echo -n x` in #(((((
537-n*)
538  case `echo 'xy\c'` in
539  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
540  xy)  ECHO_C='\c';;
541  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
542       ECHO_T='	';;
543  esac;;
544*)
545  ECHO_N='-n';;
546esac
547
548# For backward compatibility with old third-party macros, we provide
549# the shell variables $as_echo and $as_echo_n.  New code should use
550# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
551as_echo='printf %s\n'
552as_echo_n='printf %s'
553
554
555rm -f conf$$ conf$$.exe conf$$.file
556if test -d conf$$.dir; then
557  rm -f conf$$.dir/conf$$.file
558else
559  rm -f conf$$.dir
560  mkdir conf$$.dir 2>/dev/null
561fi
562if (echo >conf$$.file) 2>/dev/null; then
563  if ln -s conf$$.file conf$$ 2>/dev/null; then
564    as_ln_s='ln -s'
565    # ... but there are two gotchas:
566    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
567    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
568    # In both cases, we have to default to `cp -pR'.
569    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
570      as_ln_s='cp -pR'
571  elif ln conf$$.file conf$$ 2>/dev/null; then
572    as_ln_s=ln
573  else
574    as_ln_s='cp -pR'
575  fi
576else
577  as_ln_s='cp -pR'
578fi
579rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
580rmdir conf$$.dir 2>/dev/null
581
582if mkdir -p . 2>/dev/null; then
583  as_mkdir_p='mkdir -p "$as_dir"'
584else
585  test -d ./-p && rmdir ./-p
586  as_mkdir_p=false
587fi
588
589as_test_x='test -x'
590as_executable_p=as_fn_executable_p
591
592# Sed expression to map a string onto a valid CPP name.
593as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
594
595# Sed expression to map a string onto a valid variable name.
596as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
597
598SHELL=${CONFIG_SHELL-/bin/sh}
599
600
601test -n "$DJDIR" || exec 7<&0 </dev/null
602exec 6>&1
603
604# Name of the host.
605# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
606# so uname gets run too.
607ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
608
609#
610# Initializations.
611#
612ac_default_prefix=/usr/local
613ac_clean_files=
614ac_config_libobj_dir=.
615LIBOBJS=
616cross_compiling=no
617subdirs=
618MFLAGS=
619MAKEFLAGS=
620
621# Identity of this package.
622PACKAGE_NAME='libg15'
623PACKAGE_TARNAME='libg15'
624PACKAGE_VERSION='3.0.1'
625PACKAGE_STRING='libg15 3.0.1'
626PACKAGE_BUGREPORT='menelkir@itroll.org'
627PACKAGE_URL=''
628
629ac_default_prefix=/usr
630ac_unique_file="libg15.c"
631# Factoring default headers for most tests.
632ac_includes_default="\
633#include <stddef.h>
634#ifdef HAVE_STDIO_H
635# include <stdio.h>
636#endif
637#ifdef HAVE_STDLIB_H
638# include <stdlib.h>
639#endif
640#ifdef HAVE_STRING_H
641# include <string.h>
642#endif
643#ifdef HAVE_INTTYPES_H
644# include <inttypes.h>
645#endif
646#ifdef HAVE_STDINT_H
647# include <stdint.h>
648#endif
649#ifdef HAVE_STRINGS_H
650# include <strings.h>
651#endif
652#ifdef HAVE_SYS_TYPES_H
653# include <sys/types.h>
654#endif
655#ifdef HAVE_SYS_STAT_H
656# include <sys/stat.h>
657#endif
658#ifdef HAVE_UNISTD_H
659# include <unistd.h>
660#endif"
661
662ac_header_c_list=
663ac_subst_vars='am__EXEEXT_FALSE
664am__EXEEXT_TRUE
665LTLIBOBJS
666LIBOBJS
667LT_SYS_LIBRARY_PATH
668OTOOL64
669OTOOL
670LIPO
671NMEDIT
672DSYMUTIL
673MANIFEST_TOOL
674RANLIB
675ac_ct_AR
676AR
677DLLTOOL
678OBJDUMP
679LN_S
680NM
681ac_ct_DUMPBIN
682DUMPBIN
683LD
684FGREP
685EGREP
686GREP
687SED
688LIBTOOL
689am__fastdepCC_FALSE
690am__fastdepCC_TRUE
691CCDEPMODE
692am__nodep
693AMDEPBACKSLASH
694AMDEP_FALSE
695AMDEP_TRUE
696am__include
697DEPDIR
698OBJEXT
699EXEEXT
700ac_ct_CC
701CPPFLAGS
702LDFLAGS
703CFLAGS
704CC
705AM_BACKSLASH
706AM_DEFAULT_VERBOSITY
707AM_DEFAULT_V
708AM_V
709am__untar
710am__tar
711AMTAR
712am__leading_dot
713SET_MAKE
714AWK
715mkdir_p
716MKDIR_P
717INSTALL_STRIP_PROGRAM
718STRIP
719install_sh
720MAKEINFO
721AUTOHEADER
722AUTOMAKE
723AUTOCONF
724ACLOCAL
725VERSION
726PACKAGE
727CYGPATH_W
728am__isrc
729INSTALL_DATA
730INSTALL_SCRIPT
731INSTALL_PROGRAM
732target_os
733target_vendor
734target_cpu
735target
736host_os
737host_vendor
738host_cpu
739host
740build_os
741build_vendor
742build_cpu
743build
744target_alias
745host_alias
746build_alias
747LIBS
748ECHO_T
749ECHO_N
750ECHO_C
751DEFS
752mandir
753localedir
754libdir
755psdir
756pdfdir
757dvidir
758htmldir
759infodir
760docdir
761oldincludedir
762includedir
763runstatedir
764localstatedir
765sharedstatedir
766sysconfdir
767datadir
768datarootdir
769libexecdir
770sbindir
771bindir
772program_transform_name
773prefix
774exec_prefix
775PACKAGE_URL
776PACKAGE_BUGREPORT
777PACKAGE_STRING
778PACKAGE_VERSION
779PACKAGE_TARNAME
780PACKAGE_NAME
781PATH_SEPARATOR
782SHELL
783am__quote'
784ac_subst_files=''
785ac_user_opts='
786enable_option_checking
787enable_silent_rules
788enable_dependency_tracking
789enable_shared
790enable_static
791with_pic
792enable_fast_install
793with_aix_soname
794with_gnu_ld
795with_sysroot
796enable_libtool_lock
797'
798      ac_precious_vars='build_alias
799host_alias
800target_alias
801CC
802CFLAGS
803LDFLAGS
804LIBS
805CPPFLAGS
806LT_SYS_LIBRARY_PATH'
807
808
809# Initialize some variables set by options.
810ac_init_help=
811ac_init_version=false
812ac_unrecognized_opts=
813ac_unrecognized_sep=
814# The variables have the same names as the options, with
815# dashes changed to underlines.
816cache_file=/dev/null
817exec_prefix=NONE
818no_create=
819no_recursion=
820prefix=NONE
821program_prefix=NONE
822program_suffix=NONE
823program_transform_name=s,x,x,
824silent=
825site=
826srcdir=
827verbose=
828x_includes=NONE
829x_libraries=NONE
830
831# Installation directory options.
832# These are left unexpanded so users can "make install exec_prefix=/foo"
833# and all the variables that are supposed to be based on exec_prefix
834# by default will actually change.
835# Use braces instead of parens because sh, perl, etc. also accept them.
836# (The list follows the same order as the GNU Coding Standards.)
837bindir='${exec_prefix}/bin'
838sbindir='${exec_prefix}/sbin'
839libexecdir='${exec_prefix}/libexec'
840datarootdir='${prefix}/share'
841datadir='${datarootdir}'
842sysconfdir='${prefix}/etc'
843sharedstatedir='${prefix}/com'
844localstatedir='${prefix}/var'
845runstatedir='${localstatedir}/run'
846includedir='${prefix}/include'
847oldincludedir='/usr/include'
848docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
849infodir='${datarootdir}/info'
850htmldir='${docdir}'
851dvidir='${docdir}'
852pdfdir='${docdir}'
853psdir='${docdir}'
854libdir='${exec_prefix}/lib'
855localedir='${datarootdir}/locale'
856mandir='${datarootdir}/man'
857
858ac_prev=
859ac_dashdash=
860for ac_option
861do
862  # If the previous option needs an argument, assign it.
863  if test -n "$ac_prev"; then
864    eval $ac_prev=\$ac_option
865    ac_prev=
866    continue
867  fi
868
869  case $ac_option in
870  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
871  *=)   ac_optarg= ;;
872  *)    ac_optarg=yes ;;
873  esac
874
875  case $ac_dashdash$ac_option in
876  --)
877    ac_dashdash=yes ;;
878
879  -bindir | --bindir | --bindi | --bind | --bin | --bi)
880    ac_prev=bindir ;;
881  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
882    bindir=$ac_optarg ;;
883
884  -build | --build | --buil | --bui | --bu)
885    ac_prev=build_alias ;;
886  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
887    build_alias=$ac_optarg ;;
888
889  -cache-file | --cache-file | --cache-fil | --cache-fi \
890  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
891    ac_prev=cache_file ;;
892  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
893  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
894    cache_file=$ac_optarg ;;
895
896  --config-cache | -C)
897    cache_file=config.cache ;;
898
899  -datadir | --datadir | --datadi | --datad)
900    ac_prev=datadir ;;
901  -datadir=* | --datadir=* | --datadi=* | --datad=*)
902    datadir=$ac_optarg ;;
903
904  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
905  | --dataroo | --dataro | --datar)
906    ac_prev=datarootdir ;;
907  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
908  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
909    datarootdir=$ac_optarg ;;
910
911  -disable-* | --disable-*)
912    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
913    # Reject names that are not valid shell variable names.
914    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
915      as_fn_error $? "invalid feature name: \`$ac_useropt'"
916    ac_useropt_orig=$ac_useropt
917    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
918    case $ac_user_opts in
919      *"
920"enable_$ac_useropt"
921"*) ;;
922      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
923	 ac_unrecognized_sep=', ';;
924    esac
925    eval enable_$ac_useropt=no ;;
926
927  -docdir | --docdir | --docdi | --doc | --do)
928    ac_prev=docdir ;;
929  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
930    docdir=$ac_optarg ;;
931
932  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
933    ac_prev=dvidir ;;
934  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
935    dvidir=$ac_optarg ;;
936
937  -enable-* | --enable-*)
938    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
939    # Reject names that are not valid shell variable names.
940    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
941      as_fn_error $? "invalid feature name: \`$ac_useropt'"
942    ac_useropt_orig=$ac_useropt
943    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
944    case $ac_user_opts in
945      *"
946"enable_$ac_useropt"
947"*) ;;
948      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
949	 ac_unrecognized_sep=', ';;
950    esac
951    eval enable_$ac_useropt=\$ac_optarg ;;
952
953  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
954  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
955  | --exec | --exe | --ex)
956    ac_prev=exec_prefix ;;
957  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
958  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
959  | --exec=* | --exe=* | --ex=*)
960    exec_prefix=$ac_optarg ;;
961
962  -gas | --gas | --ga | --g)
963    # Obsolete; use --with-gas.
964    with_gas=yes ;;
965
966  -help | --help | --hel | --he | -h)
967    ac_init_help=long ;;
968  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
969    ac_init_help=recursive ;;
970  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
971    ac_init_help=short ;;
972
973  -host | --host | --hos | --ho)
974    ac_prev=host_alias ;;
975  -host=* | --host=* | --hos=* | --ho=*)
976    host_alias=$ac_optarg ;;
977
978  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
979    ac_prev=htmldir ;;
980  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
981  | --ht=*)
982    htmldir=$ac_optarg ;;
983
984  -includedir | --includedir | --includedi | --included | --include \
985  | --includ | --inclu | --incl | --inc)
986    ac_prev=includedir ;;
987  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
988  | --includ=* | --inclu=* | --incl=* | --inc=*)
989    includedir=$ac_optarg ;;
990
991  -infodir | --infodir | --infodi | --infod | --info | --inf)
992    ac_prev=infodir ;;
993  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
994    infodir=$ac_optarg ;;
995
996  -libdir | --libdir | --libdi | --libd)
997    ac_prev=libdir ;;
998  -libdir=* | --libdir=* | --libdi=* | --libd=*)
999    libdir=$ac_optarg ;;
1000
1001  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1002  | --libexe | --libex | --libe)
1003    ac_prev=libexecdir ;;
1004  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1005  | --libexe=* | --libex=* | --libe=*)
1006    libexecdir=$ac_optarg ;;
1007
1008  -localedir | --localedir | --localedi | --localed | --locale)
1009    ac_prev=localedir ;;
1010  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1011    localedir=$ac_optarg ;;
1012
1013  -localstatedir | --localstatedir | --localstatedi | --localstated \
1014  | --localstate | --localstat | --localsta | --localst | --locals)
1015    ac_prev=localstatedir ;;
1016  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1017  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1018    localstatedir=$ac_optarg ;;
1019
1020  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1021    ac_prev=mandir ;;
1022  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1023    mandir=$ac_optarg ;;
1024
1025  -nfp | --nfp | --nf)
1026    # Obsolete; use --without-fp.
1027    with_fp=no ;;
1028
1029  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1030  | --no-cr | --no-c | -n)
1031    no_create=yes ;;
1032
1033  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1034  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1035    no_recursion=yes ;;
1036
1037  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1038  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1039  | --oldin | --oldi | --old | --ol | --o)
1040    ac_prev=oldincludedir ;;
1041  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1042  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1043  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1044    oldincludedir=$ac_optarg ;;
1045
1046  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1047    ac_prev=prefix ;;
1048  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1049    prefix=$ac_optarg ;;
1050
1051  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1052  | --program-pre | --program-pr | --program-p)
1053    ac_prev=program_prefix ;;
1054  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1055  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1056    program_prefix=$ac_optarg ;;
1057
1058  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1059  | --program-suf | --program-su | --program-s)
1060    ac_prev=program_suffix ;;
1061  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1062  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1063    program_suffix=$ac_optarg ;;
1064
1065  -program-transform-name | --program-transform-name \
1066  | --program-transform-nam | --program-transform-na \
1067  | --program-transform-n | --program-transform- \
1068  | --program-transform | --program-transfor \
1069  | --program-transfo | --program-transf \
1070  | --program-trans | --program-tran \
1071  | --progr-tra | --program-tr | --program-t)
1072    ac_prev=program_transform_name ;;
1073  -program-transform-name=* | --program-transform-name=* \
1074  | --program-transform-nam=* | --program-transform-na=* \
1075  | --program-transform-n=* | --program-transform-=* \
1076  | --program-transform=* | --program-transfor=* \
1077  | --program-transfo=* | --program-transf=* \
1078  | --program-trans=* | --program-tran=* \
1079  | --progr-tra=* | --program-tr=* | --program-t=*)
1080    program_transform_name=$ac_optarg ;;
1081
1082  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1083    ac_prev=pdfdir ;;
1084  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1085    pdfdir=$ac_optarg ;;
1086
1087  -psdir | --psdir | --psdi | --psd | --ps)
1088    ac_prev=psdir ;;
1089  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1090    psdir=$ac_optarg ;;
1091
1092  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1093  | -silent | --silent | --silen | --sile | --sil)
1094    silent=yes ;;
1095
1096  -runstatedir | --runstatedir | --runstatedi | --runstated \
1097  | --runstate | --runstat | --runsta | --runst | --runs \
1098  | --run | --ru | --r)
1099    ac_prev=runstatedir ;;
1100  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1101  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1102  | --run=* | --ru=* | --r=*)
1103    runstatedir=$ac_optarg ;;
1104
1105  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1106    ac_prev=sbindir ;;
1107  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1108  | --sbi=* | --sb=*)
1109    sbindir=$ac_optarg ;;
1110
1111  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1112  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1113  | --sharedst | --shareds | --shared | --share | --shar \
1114  | --sha | --sh)
1115    ac_prev=sharedstatedir ;;
1116  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1117  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1118  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1119  | --sha=* | --sh=*)
1120    sharedstatedir=$ac_optarg ;;
1121
1122  -site | --site | --sit)
1123    ac_prev=site ;;
1124  -site=* | --site=* | --sit=*)
1125    site=$ac_optarg ;;
1126
1127  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1128    ac_prev=srcdir ;;
1129  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1130    srcdir=$ac_optarg ;;
1131
1132  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1133  | --syscon | --sysco | --sysc | --sys | --sy)
1134    ac_prev=sysconfdir ;;
1135  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1136  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1137    sysconfdir=$ac_optarg ;;
1138
1139  -target | --target | --targe | --targ | --tar | --ta | --t)
1140    ac_prev=target_alias ;;
1141  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1142    target_alias=$ac_optarg ;;
1143
1144  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1145    verbose=yes ;;
1146
1147  -version | --version | --versio | --versi | --vers | -V)
1148    ac_init_version=: ;;
1149
1150  -with-* | --with-*)
1151    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1152    # Reject names that are not valid shell variable names.
1153    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1154      as_fn_error $? "invalid package name: \`$ac_useropt'"
1155    ac_useropt_orig=$ac_useropt
1156    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1157    case $ac_user_opts in
1158      *"
1159"with_$ac_useropt"
1160"*) ;;
1161      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1162	 ac_unrecognized_sep=', ';;
1163    esac
1164    eval with_$ac_useropt=\$ac_optarg ;;
1165
1166  -without-* | --without-*)
1167    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1168    # Reject names that are not valid shell variable names.
1169    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170      as_fn_error $? "invalid package name: \`$ac_useropt'"
1171    ac_useropt_orig=$ac_useropt
1172    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1173    case $ac_user_opts in
1174      *"
1175"with_$ac_useropt"
1176"*) ;;
1177      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1178	 ac_unrecognized_sep=', ';;
1179    esac
1180    eval with_$ac_useropt=no ;;
1181
1182  --x)
1183    # Obsolete; use --with-x.
1184    with_x=yes ;;
1185
1186  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1187  | --x-incl | --x-inc | --x-in | --x-i)
1188    ac_prev=x_includes ;;
1189  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1190  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1191    x_includes=$ac_optarg ;;
1192
1193  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1194  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1195    ac_prev=x_libraries ;;
1196  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1197  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1198    x_libraries=$ac_optarg ;;
1199
1200  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1201Try \`$0 --help' for more information"
1202    ;;
1203
1204  *=*)
1205    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1206    # Reject names that are not valid shell variable names.
1207    case $ac_envvar in #(
1208      '' | [0-9]* | *[!_$as_cr_alnum]* )
1209      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1210    esac
1211    eval $ac_envvar=\$ac_optarg
1212    export $ac_envvar ;;
1213
1214  *)
1215    # FIXME: should be removed in autoconf 3.0.
1216    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1217    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1218      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1219    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1220    ;;
1221
1222  esac
1223done
1224
1225if test -n "$ac_prev"; then
1226  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1227  as_fn_error $? "missing argument to $ac_option"
1228fi
1229
1230if test -n "$ac_unrecognized_opts"; then
1231  case $enable_option_checking in
1232    no) ;;
1233    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1234    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1235  esac
1236fi
1237
1238# Check all directory arguments for consistency.
1239for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1240		datadir sysconfdir sharedstatedir localstatedir includedir \
1241		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1242		libdir localedir mandir runstatedir
1243do
1244  eval ac_val=\$$ac_var
1245  # Remove trailing slashes.
1246  case $ac_val in
1247    */ )
1248      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1249      eval $ac_var=\$ac_val;;
1250  esac
1251  # Be sure to have absolute directory names.
1252  case $ac_val in
1253    [\\/$]* | ?:[\\/]* )  continue;;
1254    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1255  esac
1256  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1257done
1258
1259# There might be people who depend on the old broken behavior: `$host'
1260# used to hold the argument of --host etc.
1261# FIXME: To remove some day.
1262build=$build_alias
1263host=$host_alias
1264target=$target_alias
1265
1266# FIXME: To remove some day.
1267if test "x$host_alias" != x; then
1268  if test "x$build_alias" = x; then
1269    cross_compiling=maybe
1270  elif test "x$build_alias" != "x$host_alias"; then
1271    cross_compiling=yes
1272  fi
1273fi
1274
1275ac_tool_prefix=
1276test -n "$host_alias" && ac_tool_prefix=$host_alias-
1277
1278test "$silent" = yes && exec 6>/dev/null
1279
1280
1281ac_pwd=`pwd` && test -n "$ac_pwd" &&
1282ac_ls_di=`ls -di .` &&
1283ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1284  as_fn_error $? "working directory cannot be determined"
1285test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1286  as_fn_error $? "pwd does not report name of working directory"
1287
1288
1289# Find the source files, if location was not specified.
1290if test -z "$srcdir"; then
1291  ac_srcdir_defaulted=yes
1292  # Try the directory containing this script, then the parent directory.
1293  ac_confdir=`$as_dirname -- "$as_myself" ||
1294$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1295	 X"$as_myself" : 'X\(//\)[^/]' \| \
1296	 X"$as_myself" : 'X\(//\)$' \| \
1297	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1298printf "%s\n" X"$as_myself" |
1299    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1300	    s//\1/
1301	    q
1302	  }
1303	  /^X\(\/\/\)[^/].*/{
1304	    s//\1/
1305	    q
1306	  }
1307	  /^X\(\/\/\)$/{
1308	    s//\1/
1309	    q
1310	  }
1311	  /^X\(\/\).*/{
1312	    s//\1/
1313	    q
1314	  }
1315	  s/.*/./; q'`
1316  srcdir=$ac_confdir
1317  if test ! -r "$srcdir/$ac_unique_file"; then
1318    srcdir=..
1319  fi
1320else
1321  ac_srcdir_defaulted=no
1322fi
1323if test ! -r "$srcdir/$ac_unique_file"; then
1324  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1325  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1326fi
1327ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1328ac_abs_confdir=`(
1329	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1330	pwd)`
1331# When building in place, set srcdir=.
1332if test "$ac_abs_confdir" = "$ac_pwd"; then
1333  srcdir=.
1334fi
1335# Remove unnecessary trailing slashes from srcdir.
1336# Double slashes in file names in object file debugging info
1337# mess up M-x gdb in Emacs.
1338case $srcdir in
1339*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1340esac
1341for ac_var in $ac_precious_vars; do
1342  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1343  eval ac_env_${ac_var}_value=\$${ac_var}
1344  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1345  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1346done
1347
1348#
1349# Report the --help message.
1350#
1351if test "$ac_init_help" = "long"; then
1352  # Omit some internal or obsolete options to make the list less imposing.
1353  # This message is too long to be a string in the A/UX 3.1 sh.
1354  cat <<_ACEOF
1355\`configure' configures libg15 3.0.1 to adapt to many kinds of systems.
1356
1357Usage: $0 [OPTION]... [VAR=VALUE]...
1358
1359To assign environment variables (e.g., CC, CFLAGS...), specify them as
1360VAR=VALUE.  See below for descriptions of some of the useful variables.
1361
1362Defaults for the options are specified in brackets.
1363
1364Configuration:
1365  -h, --help              display this help and exit
1366      --help=short        display options specific to this package
1367      --help=recursive    display the short help of all the included packages
1368  -V, --version           display version information and exit
1369  -q, --quiet, --silent   do not print \`checking ...' messages
1370      --cache-file=FILE   cache test results in FILE [disabled]
1371  -C, --config-cache      alias for \`--cache-file=config.cache'
1372  -n, --no-create         do not create output files
1373      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1374
1375Installation directories:
1376  --prefix=PREFIX         install architecture-independent files in PREFIX
1377                          [$ac_default_prefix]
1378  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1379                          [PREFIX]
1380
1381By default, \`make install' will install all the files in
1382\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1383an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1384for instance \`--prefix=\$HOME'.
1385
1386For better control, use the options below.
1387
1388Fine tuning of the installation directories:
1389  --bindir=DIR            user executables [EPREFIX/bin]
1390  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1391  --libexecdir=DIR        program executables [EPREFIX/libexec]
1392  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1393  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1394  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1395  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1396  --libdir=DIR            object code libraries [EPREFIX/lib]
1397  --includedir=DIR        C header files [PREFIX/include]
1398  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1399  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1400  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1401  --infodir=DIR           info documentation [DATAROOTDIR/info]
1402  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1403  --mandir=DIR            man documentation [DATAROOTDIR/man]
1404  --docdir=DIR            documentation root [DATAROOTDIR/doc/libg15]
1405  --htmldir=DIR           html documentation [DOCDIR]
1406  --dvidir=DIR            dvi documentation [DOCDIR]
1407  --pdfdir=DIR            pdf documentation [DOCDIR]
1408  --psdir=DIR             ps documentation [DOCDIR]
1409_ACEOF
1410
1411  cat <<\_ACEOF
1412
1413Program names:
1414  --program-prefix=PREFIX            prepend PREFIX to installed program names
1415  --program-suffix=SUFFIX            append SUFFIX to installed program names
1416  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1417
1418System types:
1419  --build=BUILD     configure for building on BUILD [guessed]
1420  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1421  --target=TARGET   configure for building compilers for TARGET [HOST]
1422_ACEOF
1423fi
1424
1425if test -n "$ac_init_help"; then
1426  case $ac_init_help in
1427     short | recursive ) echo "Configuration of libg15 3.0.1:";;
1428   esac
1429  cat <<\_ACEOF
1430
1431Optional Features:
1432  --disable-option-checking  ignore unrecognized --enable/--with options
1433  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1434  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1435  --enable-silent-rules   less verbose build output (undo: "make V=1")
1436  --disable-silent-rules  verbose build output (undo: "make V=0")
1437  --enable-dependency-tracking
1438                          do not reject slow dependency extractors
1439  --disable-dependency-tracking
1440                          speeds up one-time build
1441  --enable-shared[=PKGS]  build shared libraries [default=yes]
1442  --enable-static[=PKGS]  build static libraries [default=yes]
1443  --enable-fast-install[=PKGS]
1444                          optimize for fast installation [default=yes]
1445  --disable-libtool-lock  avoid locking (might break parallel builds)
1446
1447Optional Packages:
1448  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1449  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1450  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1451                          both]
1452  --with-aix-soname=aix|svr4|both
1453                          shared library versioning (aka "SONAME") variant to
1454                          provide on AIX, [default=aix].
1455  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1456  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1457                          compiler's sysroot if not specified).
1458
1459Some influential environment variables:
1460  CC          C compiler command
1461  CFLAGS      C compiler flags
1462  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1463              nonstandard directory <lib dir>
1464  LIBS        libraries to pass to the linker, e.g. -l<library>
1465  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1466              you have headers in a nonstandard directory <include dir>
1467  LT_SYS_LIBRARY_PATH
1468              User-defined run-time library search path.
1469
1470Use these variables to override the choices made by `configure' or to help
1471it to find libraries and programs with nonstandard names/locations.
1472
1473Report bugs to <menelkir@itroll.org>.
1474_ACEOF
1475ac_status=$?
1476fi
1477
1478if test "$ac_init_help" = "recursive"; then
1479  # If there are subdirs, report their specific --help.
1480  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1481    test -d "$ac_dir" ||
1482      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1483      continue
1484    ac_builddir=.
1485
1486case "$ac_dir" in
1487.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1488*)
1489  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1490  # A ".." for each directory in $ac_dir_suffix.
1491  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1492  case $ac_top_builddir_sub in
1493  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1494  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1495  esac ;;
1496esac
1497ac_abs_top_builddir=$ac_pwd
1498ac_abs_builddir=$ac_pwd$ac_dir_suffix
1499# for backward compatibility:
1500ac_top_builddir=$ac_top_build_prefix
1501
1502case $srcdir in
1503  .)  # We are building in place.
1504    ac_srcdir=.
1505    ac_top_srcdir=$ac_top_builddir_sub
1506    ac_abs_top_srcdir=$ac_pwd ;;
1507  [\\/]* | ?:[\\/]* )  # Absolute name.
1508    ac_srcdir=$srcdir$ac_dir_suffix;
1509    ac_top_srcdir=$srcdir
1510    ac_abs_top_srcdir=$srcdir ;;
1511  *) # Relative name.
1512    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1513    ac_top_srcdir=$ac_top_build_prefix$srcdir
1514    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1515esac
1516ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1517
1518    cd "$ac_dir" || { ac_status=$?; continue; }
1519    # Check for configure.gnu first; this name is used for a wrapper for
1520    # Metaconfig's "Configure" on case-insensitive file systems.
1521    if test -f "$ac_srcdir/configure.gnu"; then
1522      echo &&
1523      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1524    elif test -f "$ac_srcdir/configure"; then
1525      echo &&
1526      $SHELL "$ac_srcdir/configure" --help=recursive
1527    else
1528      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1529    fi || ac_status=$?
1530    cd "$ac_pwd" || { ac_status=$?; break; }
1531  done
1532fi
1533
1534test -n "$ac_init_help" && exit $ac_status
1535if $ac_init_version; then
1536  cat <<\_ACEOF
1537libg15 configure 3.0.1
1538generated by GNU Autoconf 2.71
1539
1540Copyright (C) 2021 Free Software Foundation, Inc.
1541This configure script is free software; the Free Software Foundation
1542gives unlimited permission to copy, distribute and modify it.
1543_ACEOF
1544  exit
1545fi
1546
1547## ------------------------ ##
1548## Autoconf initialization. ##
1549## ------------------------ ##
1550
1551# ac_fn_c_try_compile LINENO
1552# --------------------------
1553# Try to compile conftest.$ac_ext, and return whether this succeeded.
1554ac_fn_c_try_compile ()
1555{
1556  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557  rm -f conftest.$ac_objext conftest.beam
1558  if { { ac_try="$ac_compile"
1559case "(($ac_try" in
1560  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1561  *) ac_try_echo=$ac_try;;
1562esac
1563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564printf "%s\n" "$ac_try_echo"; } >&5
1565  (eval "$ac_compile") 2>conftest.err
1566  ac_status=$?
1567  if test -s conftest.err; then
1568    grep -v '^ *+' conftest.err >conftest.er1
1569    cat conftest.er1 >&5
1570    mv -f conftest.er1 conftest.err
1571  fi
1572  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573  test $ac_status = 0; } && {
1574	 test -z "$ac_c_werror_flag" ||
1575	 test ! -s conftest.err
1576       } && test -s conftest.$ac_objext
1577then :
1578  ac_retval=0
1579else $as_nop
1580  printf "%s\n" "$as_me: failed program was:" >&5
1581sed 's/^/| /' conftest.$ac_ext >&5
1582
1583	ac_retval=1
1584fi
1585  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1586  as_fn_set_status $ac_retval
1587
1588} # ac_fn_c_try_compile
1589
1590# ac_fn_c_try_link LINENO
1591# -----------------------
1592# Try to link conftest.$ac_ext, and return whether this succeeded.
1593ac_fn_c_try_link ()
1594{
1595  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596  rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1597  if { { ac_try="$ac_link"
1598case "(($ac_try" in
1599  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1600  *) ac_try_echo=$ac_try;;
1601esac
1602eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603printf "%s\n" "$ac_try_echo"; } >&5
1604  (eval "$ac_link") 2>conftest.err
1605  ac_status=$?
1606  if test -s conftest.err; then
1607    grep -v '^ *+' conftest.err >conftest.er1
1608    cat conftest.er1 >&5
1609    mv -f conftest.er1 conftest.err
1610  fi
1611  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612  test $ac_status = 0; } && {
1613	 test -z "$ac_c_werror_flag" ||
1614	 test ! -s conftest.err
1615       } && test -s conftest$ac_exeext && {
1616	 test "$cross_compiling" = yes ||
1617	 test -x conftest$ac_exeext
1618       }
1619then :
1620  ac_retval=0
1621else $as_nop
1622  printf "%s\n" "$as_me: failed program was:" >&5
1623sed 's/^/| /' conftest.$ac_ext >&5
1624
1625	ac_retval=1
1626fi
1627  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1628  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1629  # interfere with the next link command; also delete a directory that is
1630  # left behind by Apple's compiler.  We do this before executing the actions.
1631  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1632  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1633  as_fn_set_status $ac_retval
1634
1635} # ac_fn_c_try_link
1636
1637# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1638# -------------------------------------------------------
1639# Tests whether HEADER exists and can be compiled using the include files in
1640# INCLUDES, setting the cache variable VAR accordingly.
1641ac_fn_c_check_header_compile ()
1642{
1643  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645printf %s "checking for $2... " >&6; }
1646if eval test \${$3+y}
1647then :
1648  printf %s "(cached) " >&6
1649else $as_nop
1650  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1651/* end confdefs.h.  */
1652$4
1653#include <$2>
1654_ACEOF
1655if ac_fn_c_try_compile "$LINENO"
1656then :
1657  eval "$3=yes"
1658else $as_nop
1659  eval "$3=no"
1660fi
1661rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1662fi
1663eval ac_res=\$$3
1664	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1665printf "%s\n" "$ac_res" >&6; }
1666  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667
1668} # ac_fn_c_check_header_compile
1669
1670# ac_fn_c_check_func LINENO FUNC VAR
1671# ----------------------------------
1672# Tests whether FUNC exists, setting the cache variable VAR accordingly
1673ac_fn_c_check_func ()
1674{
1675  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677printf %s "checking for $2... " >&6; }
1678if eval test \${$3+y}
1679then :
1680  printf %s "(cached) " >&6
1681else $as_nop
1682  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1683/* end confdefs.h.  */
1684/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1685   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1686#define $2 innocuous_$2
1687
1688/* System header to define __stub macros and hopefully few prototypes,
1689   which can conflict with char $2 (); below.  */
1690
1691#include <limits.h>
1692#undef $2
1693
1694/* Override any GCC internal prototype to avoid an error.
1695   Use char because int might match the return type of a GCC
1696   builtin and then its argument prototype would still apply.  */
1697#ifdef __cplusplus
1698extern "C"
1699#endif
1700char $2 ();
1701/* The GNU C library defines this for functions which it implements
1702    to always fail with ENOSYS.  Some functions are actually named
1703    something starting with __ and the normal name is an alias.  */
1704#if defined __stub_$2 || defined __stub___$2
1705choke me
1706#endif
1707
1708int
1709main (void)
1710{
1711return $2 ();
1712  ;
1713  return 0;
1714}
1715_ACEOF
1716if ac_fn_c_try_link "$LINENO"
1717then :
1718  eval "$3=yes"
1719else $as_nop
1720  eval "$3=no"
1721fi
1722rm -f core conftest.err conftest.$ac_objext conftest.beam \
1723    conftest$ac_exeext conftest.$ac_ext
1724fi
1725eval ac_res=\$$3
1726	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1727printf "%s\n" "$ac_res" >&6; }
1728  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729
1730} # ac_fn_c_check_func
1731ac_configure_args_raw=
1732for ac_arg
1733do
1734  case $ac_arg in
1735  *\'*)
1736    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1737  esac
1738  as_fn_append ac_configure_args_raw " '$ac_arg'"
1739done
1740
1741case $ac_configure_args_raw in
1742  *$as_nl*)
1743    ac_safe_unquote= ;;
1744  *)
1745    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
1746    ac_unsafe_a="$ac_unsafe_z#~"
1747    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1748    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1749esac
1750
1751cat >config.log <<_ACEOF
1752This file contains any messages produced by compilers while
1753running configure, to aid debugging if configure makes a mistake.
1754
1755It was created by libg15 $as_me 3.0.1, which was
1756generated by GNU Autoconf 2.71.  Invocation command line was
1757
1758  $ $0$ac_configure_args_raw
1759
1760_ACEOF
1761exec 5>>config.log
1762{
1763cat <<_ASUNAME
1764## --------- ##
1765## Platform. ##
1766## --------- ##
1767
1768hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1769uname -m = `(uname -m) 2>/dev/null || echo unknown`
1770uname -r = `(uname -r) 2>/dev/null || echo unknown`
1771uname -s = `(uname -s) 2>/dev/null || echo unknown`
1772uname -v = `(uname -v) 2>/dev/null || echo unknown`
1773
1774/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1775/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1776
1777/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1778/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1779/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1780/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1781/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1782/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1783/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1784
1785_ASUNAME
1786
1787as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1788for as_dir in $PATH
1789do
1790  IFS=$as_save_IFS
1791  case $as_dir in #(((
1792    '') as_dir=./ ;;
1793    */) ;;
1794    *) as_dir=$as_dir/ ;;
1795  esac
1796    printf "%s\n" "PATH: $as_dir"
1797  done
1798IFS=$as_save_IFS
1799
1800} >&5
1801
1802cat >&5 <<_ACEOF
1803
1804
1805## ----------- ##
1806## Core tests. ##
1807## ----------- ##
1808
1809_ACEOF
1810
1811
1812# Keep a trace of the command line.
1813# Strip out --no-create and --no-recursion so they do not pile up.
1814# Strip out --silent because we don't want to record it for future runs.
1815# Also quote any args containing shell meta-characters.
1816# Make two passes to allow for proper duplicate-argument suppression.
1817ac_configure_args=
1818ac_configure_args0=
1819ac_configure_args1=
1820ac_must_keep_next=false
1821for ac_pass in 1 2
1822do
1823  for ac_arg
1824  do
1825    case $ac_arg in
1826    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1827    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1828    | -silent | --silent | --silen | --sile | --sil)
1829      continue ;;
1830    *\'*)
1831      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1832    esac
1833    case $ac_pass in
1834    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1835    2)
1836      as_fn_append ac_configure_args1 " '$ac_arg'"
1837      if test $ac_must_keep_next = true; then
1838	ac_must_keep_next=false # Got value, back to normal.
1839      else
1840	case $ac_arg in
1841	  *=* | --config-cache | -C | -disable-* | --disable-* \
1842	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1843	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1844	  | -with-* | --with-* | -without-* | --without-* | --x)
1845	    case "$ac_configure_args0 " in
1846	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1847	    esac
1848	    ;;
1849	  -* ) ac_must_keep_next=true ;;
1850	esac
1851      fi
1852      as_fn_append ac_configure_args " '$ac_arg'"
1853      ;;
1854    esac
1855  done
1856done
1857{ ac_configure_args0=; unset ac_configure_args0;}
1858{ ac_configure_args1=; unset ac_configure_args1;}
1859
1860# When interrupted or exit'd, cleanup temporary files, and complete
1861# config.log.  We remove comments because anyway the quotes in there
1862# would cause problems or look ugly.
1863# WARNING: Use '\'' to represent an apostrophe within the trap.
1864# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1865trap 'exit_status=$?
1866  # Sanitize IFS.
1867  IFS=" ""	$as_nl"
1868  # Save into config.log some information that might help in debugging.
1869  {
1870    echo
1871
1872    printf "%s\n" "## ---------------- ##
1873## Cache variables. ##
1874## ---------------- ##"
1875    echo
1876    # The following way of writing the cache mishandles newlines in values,
1877(
1878  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1879    eval ac_val=\$$ac_var
1880    case $ac_val in #(
1881    *${as_nl}*)
1882      case $ac_var in #(
1883      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1884printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1885      esac
1886      case $ac_var in #(
1887      _ | IFS | as_nl) ;; #(
1888      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1889      *) { eval $ac_var=; unset $ac_var;} ;;
1890      esac ;;
1891    esac
1892  done
1893  (set) 2>&1 |
1894    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1895    *${as_nl}ac_space=\ *)
1896      sed -n \
1897	"s/'\''/'\''\\\\'\'''\''/g;
1898	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1899      ;; #(
1900    *)
1901      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1902      ;;
1903    esac |
1904    sort
1905)
1906    echo
1907
1908    printf "%s\n" "## ----------------- ##
1909## Output variables. ##
1910## ----------------- ##"
1911    echo
1912    for ac_var in $ac_subst_vars
1913    do
1914      eval ac_val=\$$ac_var
1915      case $ac_val in
1916      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1917      esac
1918      printf "%s\n" "$ac_var='\''$ac_val'\''"
1919    done | sort
1920    echo
1921
1922    if test -n "$ac_subst_files"; then
1923      printf "%s\n" "## ------------------- ##
1924## File substitutions. ##
1925## ------------------- ##"
1926      echo
1927      for ac_var in $ac_subst_files
1928      do
1929	eval ac_val=\$$ac_var
1930	case $ac_val in
1931	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1932	esac
1933	printf "%s\n" "$ac_var='\''$ac_val'\''"
1934      done | sort
1935      echo
1936    fi
1937
1938    if test -s confdefs.h; then
1939      printf "%s\n" "## ----------- ##
1940## confdefs.h. ##
1941## ----------- ##"
1942      echo
1943      cat confdefs.h
1944      echo
1945    fi
1946    test "$ac_signal" != 0 &&
1947      printf "%s\n" "$as_me: caught signal $ac_signal"
1948    printf "%s\n" "$as_me: exit $exit_status"
1949  } >&5
1950  rm -f core *.core core.conftest.* &&
1951    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1952    exit $exit_status
1953' 0
1954for ac_signal in 1 2 13 15; do
1955  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1956done
1957ac_signal=0
1958
1959# confdefs.h avoids OS command line length limits that DEFS can exceed.
1960rm -f -r conftest* confdefs.h
1961
1962printf "%s\n" "/* confdefs.h */" > confdefs.h
1963
1964# Predefined preprocessor variables.
1965
1966printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1967
1968printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1969
1970printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1971
1972printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1973
1974printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1975
1976printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1977
1978
1979# Let the site file select an alternate cache file if it wants to.
1980# Prefer an explicitly selected file to automatically selected ones.
1981if test -n "$CONFIG_SITE"; then
1982  ac_site_files="$CONFIG_SITE"
1983elif test "x$prefix" != xNONE; then
1984  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1985else
1986  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1987fi
1988
1989for ac_site_file in $ac_site_files
1990do
1991  case $ac_site_file in #(
1992  */*) :
1993     ;; #(
1994  *) :
1995    ac_site_file=./$ac_site_file ;;
1996esac
1997  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1998    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1999printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2000    sed 's/^/| /' "$ac_site_file" >&5
2001    . "$ac_site_file" \
2002      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2003printf "%s\n" "$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    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2014printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2015    case $cache_file in
2016      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2017      *)                      . "./$cache_file";;
2018    esac
2019  fi
2020else
2021  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2022printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2023  >$cache_file
2024fi
2025
2026# Test code for whether the C compiler supports C89 (global declarations)
2027ac_c_conftest_c89_globals='
2028/* Does the compiler advertise C89 conformance?
2029   Do not test the value of __STDC__, because some compilers set it to 0
2030   while being otherwise adequately conformant. */
2031#if !defined __STDC__
2032# error "Compiler does not advertise C89 conformance"
2033#endif
2034
2035#include <stddef.h>
2036#include <stdarg.h>
2037struct stat;
2038/* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2039struct buf { int x; };
2040struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2041static char *e (p, i)
2042     char **p;
2043     int i;
2044{
2045  return p[i];
2046}
2047static char *f (char * (*g) (char **, int), char **p, ...)
2048{
2049  char *s;
2050  va_list v;
2051  va_start (v,p);
2052  s = g (p, va_arg (v,int));
2053  va_end (v);
2054  return s;
2055}
2056
2057/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2058   function prototypes and stuff, but not \xHH hex character constants.
2059   These do not provoke an error unfortunately, instead are silently treated
2060   as an "x".  The following induces an error, until -std is added to get
2061   proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2062   array size at least.  It is necessary to write \x00 == 0 to get something
2063   that is true only with -std.  */
2064int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2065
2066/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2067   inside strings and character constants.  */
2068#define FOO(x) '\''x'\''
2069int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2070
2071int test (int i, double x);
2072struct s1 {int (*f) (int a);};
2073struct s2 {int (*f) (double a);};
2074int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2075               int, int);'
2076
2077# Test code for whether the C compiler supports C89 (body of main).
2078ac_c_conftest_c89_main='
2079ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2080'
2081
2082# Test code for whether the C compiler supports C99 (global declarations)
2083ac_c_conftest_c99_globals='
2084// Does the compiler advertise C99 conformance?
2085#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2086# error "Compiler does not advertise C99 conformance"
2087#endif
2088
2089#include <stdbool.h>
2090extern int puts (const char *);
2091extern int printf (const char *, ...);
2092extern int dprintf (int, const char *, ...);
2093extern void *malloc (size_t);
2094
2095// Check varargs macros.  These examples are taken from C99 6.10.3.5.
2096// dprintf is used instead of fprintf to avoid needing to declare
2097// FILE and stderr.
2098#define debug(...) dprintf (2, __VA_ARGS__)
2099#define showlist(...) puts (#__VA_ARGS__)
2100#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2101static void
2102test_varargs_macros (void)
2103{
2104  int x = 1234;
2105  int y = 5678;
2106  debug ("Flag");
2107  debug ("X = %d\n", x);
2108  showlist (The first, second, and third items.);
2109  report (x>y, "x is %d but y is %d", x, y);
2110}
2111
2112// Check long long types.
2113#define BIG64 18446744073709551615ull
2114#define BIG32 4294967295ul
2115#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2116#if !BIG_OK
2117  #error "your preprocessor is broken"
2118#endif
2119#if BIG_OK
2120#else
2121  #error "your preprocessor is broken"
2122#endif
2123static long long int bignum = -9223372036854775807LL;
2124static unsigned long long int ubignum = BIG64;
2125
2126struct incomplete_array
2127{
2128  int datasize;
2129  double data[];
2130};
2131
2132struct named_init {
2133  int number;
2134  const wchar_t *name;
2135  double average;
2136};
2137
2138typedef const char *ccp;
2139
2140static inline int
2141test_restrict (ccp restrict text)
2142{
2143  // See if C++-style comments work.
2144  // Iterate through items via the restricted pointer.
2145  // Also check for declarations in for loops.
2146  for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2147    continue;
2148  return 0;
2149}
2150
2151// Check varargs and va_copy.
2152static bool
2153test_varargs (const char *format, ...)
2154{
2155  va_list args;
2156  va_start (args, format);
2157  va_list args_copy;
2158  va_copy (args_copy, args);
2159
2160  const char *str = "";
2161  int number = 0;
2162  float fnumber = 0;
2163
2164  while (*format)
2165    {
2166      switch (*format++)
2167	{
2168	case '\''s'\'': // string
2169	  str = va_arg (args_copy, const char *);
2170	  break;
2171	case '\''d'\'': // int
2172	  number = va_arg (args_copy, int);
2173	  break;
2174	case '\''f'\'': // float
2175	  fnumber = va_arg (args_copy, double);
2176	  break;
2177	default:
2178	  break;
2179	}
2180    }
2181  va_end (args_copy);
2182  va_end (args);
2183
2184  return *str && number && fnumber;
2185}
2186'
2187
2188# Test code for whether the C compiler supports C99 (body of main).
2189ac_c_conftest_c99_main='
2190  // Check bool.
2191  _Bool success = false;
2192  success |= (argc != 0);
2193
2194  // Check restrict.
2195  if (test_restrict ("String literal") == 0)
2196    success = true;
2197  char *restrict newvar = "Another string";
2198
2199  // Check varargs.
2200  success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2201  test_varargs_macros ();
2202
2203  // Check flexible array members.
2204  struct incomplete_array *ia =
2205    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2206  ia->datasize = 10;
2207  for (int i = 0; i < ia->datasize; ++i)
2208    ia->data[i] = i * 1.234;
2209
2210  // Check named initializers.
2211  struct named_init ni = {
2212    .number = 34,
2213    .name = L"Test wide string",
2214    .average = 543.34343,
2215  };
2216
2217  ni.number = 58;
2218
2219  int dynamic_array[ni.number];
2220  dynamic_array[0] = argv[0][0];
2221  dynamic_array[ni.number - 1] = 543;
2222
2223  // work around unused variable warnings
2224  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2225	 || dynamic_array[ni.number - 1] != 543);
2226'
2227
2228# Test code for whether the C compiler supports C11 (global declarations)
2229ac_c_conftest_c11_globals='
2230// Does the compiler advertise C11 conformance?
2231#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2232# error "Compiler does not advertise C11 conformance"
2233#endif
2234
2235// Check _Alignas.
2236char _Alignas (double) aligned_as_double;
2237char _Alignas (0) no_special_alignment;
2238extern char aligned_as_int;
2239char _Alignas (0) _Alignas (int) aligned_as_int;
2240
2241// Check _Alignof.
2242enum
2243{
2244  int_alignment = _Alignof (int),
2245  int_array_alignment = _Alignof (int[100]),
2246  char_alignment = _Alignof (char)
2247};
2248_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2249
2250// Check _Noreturn.
2251int _Noreturn does_not_return (void) { for (;;) continue; }
2252
2253// Check _Static_assert.
2254struct test_static_assert
2255{
2256  int x;
2257  _Static_assert (sizeof (int) <= sizeof (long int),
2258                  "_Static_assert does not work in struct");
2259  long int y;
2260};
2261
2262// Check UTF-8 literals.
2263#define u8 syntax error!
2264char const utf8_literal[] = u8"happens to be ASCII" "another string";
2265
2266// Check duplicate typedefs.
2267typedef long *long_ptr;
2268typedef long int *long_ptr;
2269typedef long_ptr long_ptr;
2270
2271// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2272struct anonymous
2273{
2274  union {
2275    struct { int i; int j; };
2276    struct { int k; long int l; } w;
2277  };
2278  int m;
2279} v1;
2280'
2281
2282# Test code for whether the C compiler supports C11 (body of main).
2283ac_c_conftest_c11_main='
2284  _Static_assert ((offsetof (struct anonymous, i)
2285		   == offsetof (struct anonymous, w.k)),
2286		  "Anonymous union alignment botch");
2287  v1.i = 2;
2288  v1.w.k = 5;
2289  ok |= v1.i != 5;
2290'
2291
2292# Test code for whether the C compiler supports C11 (complete).
2293ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2294${ac_c_conftest_c99_globals}
2295${ac_c_conftest_c11_globals}
2296
2297int
2298main (int argc, char **argv)
2299{
2300  int ok = 0;
2301  ${ac_c_conftest_c89_main}
2302  ${ac_c_conftest_c99_main}
2303  ${ac_c_conftest_c11_main}
2304  return ok;
2305}
2306"
2307
2308# Test code for whether the C compiler supports C99 (complete).
2309ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2310${ac_c_conftest_c99_globals}
2311
2312int
2313main (int argc, char **argv)
2314{
2315  int ok = 0;
2316  ${ac_c_conftest_c89_main}
2317  ${ac_c_conftest_c99_main}
2318  return ok;
2319}
2320"
2321
2322# Test code for whether the C compiler supports C89 (complete).
2323ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2324
2325int
2326main (int argc, char **argv)
2327{
2328  int ok = 0;
2329  ${ac_c_conftest_c89_main}
2330  return ok;
2331}
2332"
2333
2334as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2335as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2336as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2337as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2338as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2339as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2340as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2341as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2342as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2343
2344# Auxiliary files required by this configure script.
2345ac_aux_files="ltmain.sh compile missing install-sh config.guess config.sub"
2346
2347# Locations in which to look for auxiliary files.
2348ac_aux_dir_candidates="${srcdir}/config"
2349
2350# Search for a directory containing all of the required auxiliary files,
2351# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2352# If we don't find one directory that contains all the files we need,
2353# we report the set of missing files from the *first* directory in
2354# $ac_aux_dir_candidates and give up.
2355ac_missing_aux_files=""
2356ac_first_candidate=:
2357printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359as_found=false
2360for as_dir in $ac_aux_dir_candidates
2361do
2362  IFS=$as_save_IFS
2363  case $as_dir in #(((
2364    '') as_dir=./ ;;
2365    */) ;;
2366    *) as_dir=$as_dir/ ;;
2367  esac
2368  as_found=:
2369
2370  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
2371  ac_aux_dir_found=yes
2372  ac_install_sh=
2373  for ac_aux in $ac_aux_files
2374  do
2375    # As a special case, if "install-sh" is required, that requirement
2376    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2377    # and $ac_install_sh is set appropriately for whichever one is found.
2378    if test x"$ac_aux" = x"install-sh"
2379    then
2380      if test -f "${as_dir}install-sh"; then
2381        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
2382        ac_install_sh="${as_dir}install-sh -c"
2383      elif test -f "${as_dir}install.sh"; then
2384        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
2385        ac_install_sh="${as_dir}install.sh -c"
2386      elif test -f "${as_dir}shtool"; then
2387        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
2388        ac_install_sh="${as_dir}shtool install -c"
2389      else
2390        ac_aux_dir_found=no
2391        if $ac_first_candidate; then
2392          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2393        else
2394          break
2395        fi
2396      fi
2397    else
2398      if test -f "${as_dir}${ac_aux}"; then
2399        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
2400      else
2401        ac_aux_dir_found=no
2402        if $ac_first_candidate; then
2403          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2404        else
2405          break
2406        fi
2407      fi
2408    fi
2409  done
2410  if test "$ac_aux_dir_found" = yes; then
2411    ac_aux_dir="$as_dir"
2412    break
2413  fi
2414  ac_first_candidate=false
2415
2416  as_found=false
2417done
2418IFS=$as_save_IFS
2419if $as_found
2420then :
2421
2422else $as_nop
2423  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2424fi
2425
2426
2427# These three variables are undocumented and unsupported,
2428# and are intended to be withdrawn in a future Autoconf release.
2429# They can cause serious problems if a builder's source tree is in a directory
2430# whose full name contains unusual characters.
2431if test -f "${ac_aux_dir}config.guess"; then
2432  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2433fi
2434if test -f "${ac_aux_dir}config.sub"; then
2435  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2436fi
2437if test -f "$ac_aux_dir/configure"; then
2438  ac_configure="$SHELL ${ac_aux_dir}configure"
2439fi
2440
2441# Check that the precious variables saved in the cache have kept the same
2442# value.
2443ac_cache_corrupted=false
2444for ac_var in $ac_precious_vars; do
2445  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2446  eval ac_new_set=\$ac_env_${ac_var}_set
2447  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2448  eval ac_new_val=\$ac_env_${ac_var}_value
2449  case $ac_old_set,$ac_new_set in
2450    set,)
2451      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2452printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2453      ac_cache_corrupted=: ;;
2454    ,set)
2455      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2456printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2457      ac_cache_corrupted=: ;;
2458    ,);;
2459    *)
2460      if test "x$ac_old_val" != "x$ac_new_val"; then
2461	# differences in whitespace do not lead to failure.
2462	ac_old_val_w=`echo x $ac_old_val`
2463	ac_new_val_w=`echo x $ac_new_val`
2464	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2465	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2466printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2467	  ac_cache_corrupted=:
2468	else
2469	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2470printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2471	  eval $ac_var=\$ac_old_val
2472	fi
2473	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2474printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
2475	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2476printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
2477      fi;;
2478  esac
2479  # Pass precious variables to config.status.
2480  if test "$ac_new_set" = set; then
2481    case $ac_new_val in
2482    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2483    *) ac_arg=$ac_var=$ac_new_val ;;
2484    esac
2485    case " $ac_configure_args " in
2486      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2487      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2488    esac
2489  fi
2490done
2491if $ac_cache_corrupted; then
2492  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2493printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2494  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2495printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2496  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2497	    and start over" "$LINENO" 5
2498fi
2499## -------------------- ##
2500## Main body of script. ##
2501## -------------------- ##
2502
2503ac_ext=c
2504ac_cpp='$CPP $CPPFLAGS'
2505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2507ac_compiler_gnu=$ac_cv_c_compiler_gnu
2508
2509
2510
2511
2512
2513
2514
2515  # Make sure we can run config.sub.
2516$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
2517  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
2518
2519{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2520printf %s "checking build system type... " >&6; }
2521if test ${ac_cv_build+y}
2522then :
2523  printf %s "(cached) " >&6
2524else $as_nop
2525  ac_build_alias=$build_alias
2526test "x$ac_build_alias" = x &&
2527  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
2528test "x$ac_build_alias" = x &&
2529  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2530ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
2531  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2532
2533fi
2534{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2535printf "%s\n" "$ac_cv_build" >&6; }
2536case $ac_cv_build in
2537*-*-*) ;;
2538*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2539esac
2540build=$ac_cv_build
2541ac_save_IFS=$IFS; IFS='-'
2542set x $ac_cv_build
2543shift
2544build_cpu=$1
2545build_vendor=$2
2546shift; shift
2547# Remember, the first character of IFS is used to create $*,
2548# except with old shells:
2549build_os=$*
2550IFS=$ac_save_IFS
2551case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2552
2553
2554{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2555printf %s "checking host system type... " >&6; }
2556if test ${ac_cv_host+y}
2557then :
2558  printf %s "(cached) " >&6
2559else $as_nop
2560  if test "x$host_alias" = x; then
2561  ac_cv_host=$ac_cv_build
2562else
2563  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
2564    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
2565fi
2566
2567fi
2568{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2569printf "%s\n" "$ac_cv_host" >&6; }
2570case $ac_cv_host in
2571*-*-*) ;;
2572*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2573esac
2574host=$ac_cv_host
2575ac_save_IFS=$IFS; IFS='-'
2576set x $ac_cv_host
2577shift
2578host_cpu=$1
2579host_vendor=$2
2580shift; shift
2581# Remember, the first character of IFS is used to create $*,
2582# except with old shells:
2583host_os=$*
2584IFS=$ac_save_IFS
2585case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2586
2587
2588{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2589printf %s "checking target system type... " >&6; }
2590if test ${ac_cv_target+y}
2591then :
2592  printf %s "(cached) " >&6
2593else $as_nop
2594  if test "x$target_alias" = x; then
2595  ac_cv_target=$ac_cv_host
2596else
2597  ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
2598    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
2599fi
2600
2601fi
2602{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2603printf "%s\n" "$ac_cv_target" >&6; }
2604case $ac_cv_target in
2605*-*-*) ;;
2606*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2607esac
2608target=$ac_cv_target
2609ac_save_IFS=$IFS; IFS='-'
2610set x $ac_cv_target
2611shift
2612target_cpu=$1
2613target_vendor=$2
2614shift; shift
2615# Remember, the first character of IFS is used to create $*,
2616# except with old shells:
2617target_os=$*
2618IFS=$ac_save_IFS
2619case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2620
2621
2622# The aliases save the names the user supplied, while $host etc.
2623# will get canonicalized.
2624test -n "$target_alias" &&
2625  test "$program_prefix$program_suffix$program_transform_name" = \
2626    NONENONEs,x,x, &&
2627  program_prefix=${target_alias}-
2628
2629am__api_version='1.16'
2630
2631
2632  # Find a good install program.  We prefer a C program (faster),
2633# so one script is as good as another.  But avoid the broken or
2634# incompatible versions:
2635# SysV /etc/install, /usr/sbin/install
2636# SunOS /usr/etc/install
2637# IRIX /sbin/install
2638# AIX /bin/install
2639# AmigaOS /C/install, which installs bootblocks on floppy discs
2640# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2641# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2642# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2643# OS/2's system install, which has a completely different semantic
2644# ./install, which can be erroneously created by make from ./install.sh.
2645# Reject install programs that cannot install multiple files.
2646{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2647printf %s "checking for a BSD-compatible install... " >&6; }
2648if test -z "$INSTALL"; then
2649if test ${ac_cv_path_install+y}
2650then :
2651  printf %s "(cached) " >&6
2652else $as_nop
2653  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654for as_dir in $PATH
2655do
2656  IFS=$as_save_IFS
2657  case $as_dir in #(((
2658    '') as_dir=./ ;;
2659    */) ;;
2660    *) as_dir=$as_dir/ ;;
2661  esac
2662    # Account for fact that we put trailing slashes in our PATH walk.
2663case $as_dir in #((
2664  ./ | /[cC]/* | \
2665  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2666  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2667  /usr/ucb/* ) ;;
2668  *)
2669    # OSF1 and SCO ODT 3.0 have their own names for install.
2670    # Don't use installbsd from OSF since it installs stuff as root
2671    # by default.
2672    for ac_prog in ginstall scoinst install; do
2673      for ac_exec_ext in '' $ac_executable_extensions; do
2674	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2675	  if test $ac_prog = install &&
2676	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2677	    # AIX install.  It has an incompatible calling convention.
2678	    :
2679	  elif test $ac_prog = install &&
2680	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2681	    # program-specific install script used by HP pwplus--don't use.
2682	    :
2683	  else
2684	    rm -rf conftest.one conftest.two conftest.dir
2685	    echo one > conftest.one
2686	    echo two > conftest.two
2687	    mkdir conftest.dir
2688	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2689	      test -s conftest.one && test -s conftest.two &&
2690	      test -s conftest.dir/conftest.one &&
2691	      test -s conftest.dir/conftest.two
2692	    then
2693	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2694	      break 3
2695	    fi
2696	  fi
2697	fi
2698      done
2699    done
2700    ;;
2701esac
2702
2703  done
2704IFS=$as_save_IFS
2705
2706rm -rf conftest.one conftest.two conftest.dir
2707
2708fi
2709  if test ${ac_cv_path_install+y}; then
2710    INSTALL=$ac_cv_path_install
2711  else
2712    # As a last resort, use the slow shell script.  Don't cache a
2713    # value for INSTALL within a source directory, because that will
2714    # break other packages using the cache if that directory is
2715    # removed, or if the value is a relative name.
2716    INSTALL=$ac_install_sh
2717  fi
2718fi
2719{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2720printf "%s\n" "$INSTALL" >&6; }
2721
2722# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2723# It thinks the first close brace ends the variable substitution.
2724test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2725
2726test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2727
2728test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2729
2730{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2731printf %s "checking whether build environment is sane... " >&6; }
2732# Reject unsafe characters in $srcdir or the absolute working directory
2733# name.  Accept space and tab only in the latter.
2734am_lf='
2735'
2736case `pwd` in
2737  *[\\\"\#\$\&\'\`$am_lf]*)
2738    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2739esac
2740case $srcdir in
2741  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2742    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2743esac
2744
2745# Do 'set' in a subshell so we don't clobber the current shell's
2746# arguments.  Must try -L first in case configure is actually a
2747# symlink; some systems play weird games with the mod time of symlinks
2748# (eg FreeBSD returns the mod time of the symlink's containing
2749# directory).
2750if (
2751   am_has_slept=no
2752   for am_try in 1 2; do
2753     echo "timestamp, slept: $am_has_slept" > conftest.file
2754     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2755     if test "$*" = "X"; then
2756	# -L didn't work.
2757	set X `ls -t "$srcdir/configure" conftest.file`
2758     fi
2759     if test "$*" != "X $srcdir/configure conftest.file" \
2760	&& test "$*" != "X conftest.file $srcdir/configure"; then
2761
2762	# If neither matched, then we have a broken ls.  This can happen
2763	# if, for instance, CONFIG_SHELL is bash and it inherits a
2764	# broken ls alias from the environment.  This has actually
2765	# happened.  Such a system could not be considered "sane".
2766	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2767  alias in your environment" "$LINENO" 5
2768     fi
2769     if test "$2" = conftest.file || test $am_try -eq 2; then
2770       break
2771     fi
2772     # Just in case.
2773     sleep 1
2774     am_has_slept=yes
2775   done
2776   test "$2" = conftest.file
2777   )
2778then
2779   # Ok.
2780   :
2781else
2782   as_fn_error $? "newly created file is older than distributed files!
2783Check your system clock" "$LINENO" 5
2784fi
2785{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2786printf "%s\n" "yes" >&6; }
2787# If we didn't sleep, we still need to ensure time stamps of config.status and
2788# generated files are strictly newer.
2789am_sleep_pid=
2790if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2791  ( sleep 1 ) &
2792  am_sleep_pid=$!
2793fi
2794
2795rm -f conftest.file
2796
2797test "$program_prefix" != NONE &&
2798  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2799# Use a double $ so make ignores it.
2800test "$program_suffix" != NONE &&
2801  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2802# Double any \ or $.
2803# By default was `s,x,x', remove it if useless.
2804ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2805program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2806
2807
2808# Expand $ac_aux_dir to an absolute path.
2809am_aux_dir=`cd "$ac_aux_dir" && pwd`
2810
2811
2812  if test x"${MISSING+set}" != xset; then
2813  MISSING="\${SHELL} '$am_aux_dir/missing'"
2814fi
2815# Use eval to expand $SHELL
2816if eval "$MISSING --is-lightweight"; then
2817  am_missing_run="$MISSING "
2818else
2819  am_missing_run=
2820  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2821printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2822fi
2823
2824if test x"${install_sh+set}" != xset; then
2825  case $am_aux_dir in
2826  *\ * | *\	*)
2827    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2828  *)
2829    install_sh="\${SHELL} $am_aux_dir/install-sh"
2830  esac
2831fi
2832
2833# Installed binaries are usually stripped using 'strip' when the user
2834# run "make install-strip".  However 'strip' might not be the right
2835# tool to use in cross-compilation environments, therefore Automake
2836# will honor the 'STRIP' environment variable to overrule this program.
2837if test "$cross_compiling" != no; then
2838  if test -n "$ac_tool_prefix"; then
2839  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2840set dummy ${ac_tool_prefix}strip; ac_word=$2
2841{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842printf %s "checking for $ac_word... " >&6; }
2843if test ${ac_cv_prog_STRIP+y}
2844then :
2845  printf %s "(cached) " >&6
2846else $as_nop
2847  if test -n "$STRIP"; then
2848  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2849else
2850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851for as_dir in $PATH
2852do
2853  IFS=$as_save_IFS
2854  case $as_dir in #(((
2855    '') as_dir=./ ;;
2856    */) ;;
2857    *) as_dir=$as_dir/ ;;
2858  esac
2859    for ac_exec_ext in '' $ac_executable_extensions; do
2860  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2861    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2862    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2863    break 2
2864  fi
2865done
2866  done
2867IFS=$as_save_IFS
2868
2869fi
2870fi
2871STRIP=$ac_cv_prog_STRIP
2872if test -n "$STRIP"; then
2873  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2874printf "%s\n" "$STRIP" >&6; }
2875else
2876  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2877printf "%s\n" "no" >&6; }
2878fi
2879
2880
2881fi
2882if test -z "$ac_cv_prog_STRIP"; then
2883  ac_ct_STRIP=$STRIP
2884  # Extract the first word of "strip", so it can be a program name with args.
2885set dummy strip; ac_word=$2
2886{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887printf %s "checking for $ac_word... " >&6; }
2888if test ${ac_cv_prog_ac_ct_STRIP+y}
2889then :
2890  printf %s "(cached) " >&6
2891else $as_nop
2892  if test -n "$ac_ct_STRIP"; then
2893  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2894else
2895as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2896for as_dir in $PATH
2897do
2898  IFS=$as_save_IFS
2899  case $as_dir in #(((
2900    '') as_dir=./ ;;
2901    */) ;;
2902    *) as_dir=$as_dir/ ;;
2903  esac
2904    for ac_exec_ext in '' $ac_executable_extensions; do
2905  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2906    ac_cv_prog_ac_ct_STRIP="strip"
2907    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2908    break 2
2909  fi
2910done
2911  done
2912IFS=$as_save_IFS
2913
2914fi
2915fi
2916ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2917if test -n "$ac_ct_STRIP"; then
2918  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2919printf "%s\n" "$ac_ct_STRIP" >&6; }
2920else
2921  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922printf "%s\n" "no" >&6; }
2923fi
2924
2925  if test "x$ac_ct_STRIP" = x; then
2926    STRIP=":"
2927  else
2928    case $cross_compiling:$ac_tool_warned in
2929yes:)
2930{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2931printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2932ac_tool_warned=yes ;;
2933esac
2934    STRIP=$ac_ct_STRIP
2935  fi
2936else
2937  STRIP="$ac_cv_prog_STRIP"
2938fi
2939
2940fi
2941INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2942
2943
2944  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2945printf %s "checking for a race-free mkdir -p... " >&6; }
2946if test -z "$MKDIR_P"; then
2947  if test ${ac_cv_path_mkdir+y}
2948then :
2949  printf %s "(cached) " >&6
2950else $as_nop
2951  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2953do
2954  IFS=$as_save_IFS
2955  case $as_dir in #(((
2956    '') as_dir=./ ;;
2957    */) ;;
2958    *) as_dir=$as_dir/ ;;
2959  esac
2960    for ac_prog in mkdir gmkdir; do
2961	 for ac_exec_ext in '' $ac_executable_extensions; do
2962	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2963	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2964	     'mkdir ('*'coreutils) '* | \
2965	     'BusyBox '* | \
2966	     'mkdir (fileutils) '4.1*)
2967	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2968	       break 3;;
2969	   esac
2970	 done
2971       done
2972  done
2973IFS=$as_save_IFS
2974
2975fi
2976
2977  test -d ./--version && rmdir ./--version
2978  if test ${ac_cv_path_mkdir+y}; then
2979    MKDIR_P="$ac_cv_path_mkdir -p"
2980  else
2981    # As a last resort, use the slow shell script.  Don't cache a
2982    # value for MKDIR_P within a source directory, because that will
2983    # break other packages using the cache if that directory is
2984    # removed, or if the value is a relative name.
2985    MKDIR_P="$ac_install_sh -d"
2986  fi
2987fi
2988{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2989printf "%s\n" "$MKDIR_P" >&6; }
2990
2991for ac_prog in gawk mawk nawk awk
2992do
2993  # Extract the first word of "$ac_prog", so it can be a program name with args.
2994set dummy $ac_prog; ac_word=$2
2995{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996printf %s "checking for $ac_word... " >&6; }
2997if test ${ac_cv_prog_AWK+y}
2998then :
2999  printf %s "(cached) " >&6
3000else $as_nop
3001  if test -n "$AWK"; then
3002  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3003else
3004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005for as_dir in $PATH
3006do
3007  IFS=$as_save_IFS
3008  case $as_dir in #(((
3009    '') as_dir=./ ;;
3010    */) ;;
3011    *) as_dir=$as_dir/ ;;
3012  esac
3013    for ac_exec_ext in '' $ac_executable_extensions; do
3014  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3015    ac_cv_prog_AWK="$ac_prog"
3016    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3017    break 2
3018  fi
3019done
3020  done
3021IFS=$as_save_IFS
3022
3023fi
3024fi
3025AWK=$ac_cv_prog_AWK
3026if test -n "$AWK"; then
3027  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3028printf "%s\n" "$AWK" >&6; }
3029else
3030  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3031printf "%s\n" "no" >&6; }
3032fi
3033
3034
3035  test -n "$AWK" && break
3036done
3037
3038{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3039printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3040set x ${MAKE-make}
3041ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3042if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3043then :
3044  printf %s "(cached) " >&6
3045else $as_nop
3046  cat >conftest.make <<\_ACEOF
3047SHELL = /bin/sh
3048all:
3049	@echo '@@@%%%=$(MAKE)=@@@%%%'
3050_ACEOF
3051# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3052case `${MAKE-make} -f conftest.make 2>/dev/null` in
3053  *@@@%%%=?*=@@@%%%*)
3054    eval ac_cv_prog_make_${ac_make}_set=yes;;
3055  *)
3056    eval ac_cv_prog_make_${ac_make}_set=no;;
3057esac
3058rm -f conftest.make
3059fi
3060if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3061  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3062printf "%s\n" "yes" >&6; }
3063  SET_MAKE=
3064else
3065  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3066printf "%s\n" "no" >&6; }
3067  SET_MAKE="MAKE=${MAKE-make}"
3068fi
3069
3070rm -rf .tst 2>/dev/null
3071mkdir .tst 2>/dev/null
3072if test -d .tst; then
3073  am__leading_dot=.
3074else
3075  am__leading_dot=_
3076fi
3077rmdir .tst 2>/dev/null
3078
3079# Check whether --enable-silent-rules was given.
3080if test ${enable_silent_rules+y}
3081then :
3082  enableval=$enable_silent_rules;
3083fi
3084
3085case $enable_silent_rules in # (((
3086  yes) AM_DEFAULT_VERBOSITY=0;;
3087   no) AM_DEFAULT_VERBOSITY=1;;
3088    *) AM_DEFAULT_VERBOSITY=1;;
3089esac
3090am_make=${MAKE-make}
3091{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3092printf %s "checking whether $am_make supports nested variables... " >&6; }
3093if test ${am_cv_make_support_nested_variables+y}
3094then :
3095  printf %s "(cached) " >&6
3096else $as_nop
3097  if printf "%s\n" 'TRUE=$(BAR$(V))
3098BAR0=false
3099BAR1=true
3100V=1
3101am__doit:
3102	@$(TRUE)
3103.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3104  am_cv_make_support_nested_variables=yes
3105else
3106  am_cv_make_support_nested_variables=no
3107fi
3108fi
3109{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3110printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3111if test $am_cv_make_support_nested_variables = yes; then
3112    AM_V='$(V)'
3113  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3114else
3115  AM_V=$AM_DEFAULT_VERBOSITY
3116  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3117fi
3118AM_BACKSLASH='\'
3119
3120if test "`cd $srcdir && pwd`" != "`pwd`"; then
3121  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3122  # is not polluted with repeated "-I."
3123  am__isrc=' -I$(srcdir)'
3124  # test to see if srcdir already configured
3125  if test -f $srcdir/config.status; then
3126    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3127  fi
3128fi
3129
3130# test whether we have cygpath
3131if test -z "$CYGPATH_W"; then
3132  if (cygpath --version) >/dev/null 2>/dev/null; then
3133    CYGPATH_W='cygpath -w'
3134  else
3135    CYGPATH_W=echo
3136  fi
3137fi
3138
3139
3140# Define the identity of the package.
3141 PACKAGE='libg15'
3142 VERSION='3.0.1'
3143
3144
3145printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3146
3147
3148printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3149
3150# Some tools Automake needs.
3151
3152ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3153
3154
3155AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3156
3157
3158AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3159
3160
3161AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3162
3163
3164MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3165
3166# For better backward compatibility.  To be removed once Automake 1.9.x
3167# dies out for good.  For more background, see:
3168# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3169# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3170mkdir_p='$(MKDIR_P)'
3171
3172# We need awk for the "check" target (and possibly the TAP driver).  The
3173# system "awk" is bad on some platforms.
3174# Always define AMTAR for backward compatibility.  Yes, it's still used
3175# in the wild :-(  We should find a proper way to deprecate it ...
3176AMTAR='$${TAR-tar}'
3177
3178
3179# We'll loop over all known methods to create a tar archive until one works.
3180_am_tools='gnutar  pax cpio none'
3181
3182am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3183
3184
3185
3186
3187
3188
3189# POSIX will say in a future version that running "rm -f" with no argument
3190# is OK; and we want to be able to make that assumption in our Makefile
3191# recipes.  So use an aggressive probe to check that the usage we want is
3192# actually supported "in the wild" to an acceptable degree.
3193# See automake bug#10828.
3194# To make any issue more visible, cause the running configure to be aborted
3195# by default if the 'rm' program in use doesn't match our expectations; the
3196# user can still override this though.
3197if rm -f && rm -fr && rm -rf; then : OK; else
3198  cat >&2 <<'END'
3199Oops!
3200
3201Your 'rm' program seems unable to run without file operands specified
3202on the command line, even when the '-f' option is present.  This is contrary
3203to the behaviour of most rm programs out there, and not conforming with
3204the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3205
3206Please tell bug-automake@gnu.org about your system, including the value
3207of your $PATH and any error possibly output before this message.  This
3208can help us improve future automake versions.
3209
3210END
3211  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3212    echo 'Configuration will proceed anyway, since you have set the' >&2
3213    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3214    echo >&2
3215  else
3216    cat >&2 <<'END'
3217Aborting the configuration process, to ensure you take notice of the issue.
3218
3219You can download and install GNU coreutils to get an 'rm' implementation
3220that behaves properly: <https://www.gnu.org/software/coreutils/>.
3221
3222If you want to complete the configuration process using your problematic
3223'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3224to "yes", and re-run configure.
3225
3226END
3227    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3228  fi
3229fi
3230
3231
3232ac_config_headers="$ac_config_headers config.h"
3233
3234
3235# Checks for programs.
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245ac_ext=c
3246ac_cpp='$CPP $CPPFLAGS'
3247ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3248ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3249ac_compiler_gnu=$ac_cv_c_compiler_gnu
3250if test -n "$ac_tool_prefix"; then
3251  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3252set dummy ${ac_tool_prefix}gcc; ac_word=$2
3253{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254printf %s "checking for $ac_word... " >&6; }
3255if test ${ac_cv_prog_CC+y}
3256then :
3257  printf %s "(cached) " >&6
3258else $as_nop
3259  if test -n "$CC"; then
3260  ac_cv_prog_CC="$CC" # Let the user override the test.
3261else
3262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263for as_dir in $PATH
3264do
3265  IFS=$as_save_IFS
3266  case $as_dir in #(((
3267    '') as_dir=./ ;;
3268    */) ;;
3269    *) as_dir=$as_dir/ ;;
3270  esac
3271    for ac_exec_ext in '' $ac_executable_extensions; do
3272  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3273    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3274    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3275    break 2
3276  fi
3277done
3278  done
3279IFS=$as_save_IFS
3280
3281fi
3282fi
3283CC=$ac_cv_prog_CC
3284if test -n "$CC"; then
3285  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3286printf "%s\n" "$CC" >&6; }
3287else
3288  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289printf "%s\n" "no" >&6; }
3290fi
3291
3292
3293fi
3294if test -z "$ac_cv_prog_CC"; then
3295  ac_ct_CC=$CC
3296  # Extract the first word of "gcc", so it can be a program name with args.
3297set dummy gcc; ac_word=$2
3298{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3299printf %s "checking for $ac_word... " >&6; }
3300if test ${ac_cv_prog_ac_ct_CC+y}
3301then :
3302  printf %s "(cached) " >&6
3303else $as_nop
3304  if test -n "$ac_ct_CC"; then
3305  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3306else
3307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308for as_dir in $PATH
3309do
3310  IFS=$as_save_IFS
3311  case $as_dir in #(((
3312    '') as_dir=./ ;;
3313    */) ;;
3314    *) as_dir=$as_dir/ ;;
3315  esac
3316    for ac_exec_ext in '' $ac_executable_extensions; do
3317  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3318    ac_cv_prog_ac_ct_CC="gcc"
3319    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3320    break 2
3321  fi
3322done
3323  done
3324IFS=$as_save_IFS
3325
3326fi
3327fi
3328ac_ct_CC=$ac_cv_prog_ac_ct_CC
3329if test -n "$ac_ct_CC"; then
3330  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3331printf "%s\n" "$ac_ct_CC" >&6; }
3332else
3333  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334printf "%s\n" "no" >&6; }
3335fi
3336
3337  if test "x$ac_ct_CC" = x; then
3338    CC=""
3339  else
3340    case $cross_compiling:$ac_tool_warned in
3341yes:)
3342{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3343printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3344ac_tool_warned=yes ;;
3345esac
3346    CC=$ac_ct_CC
3347  fi
3348else
3349  CC="$ac_cv_prog_CC"
3350fi
3351
3352if test -z "$CC"; then
3353          if test -n "$ac_tool_prefix"; then
3354    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3355set dummy ${ac_tool_prefix}cc; ac_word=$2
3356{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357printf %s "checking for $ac_word... " >&6; }
3358if test ${ac_cv_prog_CC+y}
3359then :
3360  printf %s "(cached) " >&6
3361else $as_nop
3362  if test -n "$CC"; then
3363  ac_cv_prog_CC="$CC" # Let the user override the test.
3364else
3365as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366for as_dir in $PATH
3367do
3368  IFS=$as_save_IFS
3369  case $as_dir in #(((
3370    '') as_dir=./ ;;
3371    */) ;;
3372    *) as_dir=$as_dir/ ;;
3373  esac
3374    for ac_exec_ext in '' $ac_executable_extensions; do
3375  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3376    ac_cv_prog_CC="${ac_tool_prefix}cc"
3377    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3378    break 2
3379  fi
3380done
3381  done
3382IFS=$as_save_IFS
3383
3384fi
3385fi
3386CC=$ac_cv_prog_CC
3387if test -n "$CC"; then
3388  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3389printf "%s\n" "$CC" >&6; }
3390else
3391  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3392printf "%s\n" "no" >&6; }
3393fi
3394
3395
3396  fi
3397fi
3398if test -z "$CC"; then
3399  # Extract the first word of "cc", so it can be a program name with args.
3400set dummy cc; ac_word=$2
3401{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3402printf %s "checking for $ac_word... " >&6; }
3403if test ${ac_cv_prog_CC+y}
3404then :
3405  printf %s "(cached) " >&6
3406else $as_nop
3407  if test -n "$CC"; then
3408  ac_cv_prog_CC="$CC" # Let the user override the test.
3409else
3410  ac_prog_rejected=no
3411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3412for as_dir in $PATH
3413do
3414  IFS=$as_save_IFS
3415  case $as_dir in #(((
3416    '') as_dir=./ ;;
3417    */) ;;
3418    *) as_dir=$as_dir/ ;;
3419  esac
3420    for ac_exec_ext in '' $ac_executable_extensions; do
3421  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3422    if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3423       ac_prog_rejected=yes
3424       continue
3425     fi
3426    ac_cv_prog_CC="cc"
3427    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3428    break 2
3429  fi
3430done
3431  done
3432IFS=$as_save_IFS
3433
3434if test $ac_prog_rejected = yes; then
3435  # We found a bogon in the path, so make sure we never use it.
3436  set dummy $ac_cv_prog_CC
3437  shift
3438  if test $# != 0; then
3439    # We chose a different compiler from the bogus one.
3440    # However, it has the same basename, so the bogon will be chosen
3441    # first if we set CC to just the basename; use the full file name.
3442    shift
3443    ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3444  fi
3445fi
3446fi
3447fi
3448CC=$ac_cv_prog_CC
3449if test -n "$CC"; then
3450  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3451printf "%s\n" "$CC" >&6; }
3452else
3453  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3454printf "%s\n" "no" >&6; }
3455fi
3456
3457
3458fi
3459if test -z "$CC"; then
3460  if test -n "$ac_tool_prefix"; then
3461  for ac_prog in cl.exe
3462  do
3463    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3464set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3465{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3466printf %s "checking for $ac_word... " >&6; }
3467if test ${ac_cv_prog_CC+y}
3468then :
3469  printf %s "(cached) " >&6
3470else $as_nop
3471  if test -n "$CC"; then
3472  ac_cv_prog_CC="$CC" # Let the user override the test.
3473else
3474as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475for as_dir in $PATH
3476do
3477  IFS=$as_save_IFS
3478  case $as_dir in #(((
3479    '') as_dir=./ ;;
3480    */) ;;
3481    *) as_dir=$as_dir/ ;;
3482  esac
3483    for ac_exec_ext in '' $ac_executable_extensions; do
3484  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3485    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3486    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3487    break 2
3488  fi
3489done
3490  done
3491IFS=$as_save_IFS
3492
3493fi
3494fi
3495CC=$ac_cv_prog_CC
3496if test -n "$CC"; then
3497  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3498printf "%s\n" "$CC" >&6; }
3499else
3500  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3501printf "%s\n" "no" >&6; }
3502fi
3503
3504
3505    test -n "$CC" && break
3506  done
3507fi
3508if test -z "$CC"; then
3509  ac_ct_CC=$CC
3510  for ac_prog in cl.exe
3511do
3512  # Extract the first word of "$ac_prog", so it can be a program name with args.
3513set dummy $ac_prog; ac_word=$2
3514{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3515printf %s "checking for $ac_word... " >&6; }
3516if test ${ac_cv_prog_ac_ct_CC+y}
3517then :
3518  printf %s "(cached) " >&6
3519else $as_nop
3520  if test -n "$ac_ct_CC"; then
3521  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3522else
3523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3524for as_dir in $PATH
3525do
3526  IFS=$as_save_IFS
3527  case $as_dir in #(((
3528    '') as_dir=./ ;;
3529    */) ;;
3530    *) as_dir=$as_dir/ ;;
3531  esac
3532    for ac_exec_ext in '' $ac_executable_extensions; do
3533  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3534    ac_cv_prog_ac_ct_CC="$ac_prog"
3535    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3536    break 2
3537  fi
3538done
3539  done
3540IFS=$as_save_IFS
3541
3542fi
3543fi
3544ac_ct_CC=$ac_cv_prog_ac_ct_CC
3545if test -n "$ac_ct_CC"; then
3546  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3547printf "%s\n" "$ac_ct_CC" >&6; }
3548else
3549  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3550printf "%s\n" "no" >&6; }
3551fi
3552
3553
3554  test -n "$ac_ct_CC" && break
3555done
3556
3557  if test "x$ac_ct_CC" = x; then
3558    CC=""
3559  else
3560    case $cross_compiling:$ac_tool_warned in
3561yes:)
3562{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3563printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3564ac_tool_warned=yes ;;
3565esac
3566    CC=$ac_ct_CC
3567  fi
3568fi
3569
3570fi
3571if test -z "$CC"; then
3572  if test -n "$ac_tool_prefix"; then
3573  # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3574set dummy ${ac_tool_prefix}clang; ac_word=$2
3575{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3576printf %s "checking for $ac_word... " >&6; }
3577if test ${ac_cv_prog_CC+y}
3578then :
3579  printf %s "(cached) " >&6
3580else $as_nop
3581  if test -n "$CC"; then
3582  ac_cv_prog_CC="$CC" # Let the user override the test.
3583else
3584as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3585for as_dir in $PATH
3586do
3587  IFS=$as_save_IFS
3588  case $as_dir in #(((
3589    '') as_dir=./ ;;
3590    */) ;;
3591    *) as_dir=$as_dir/ ;;
3592  esac
3593    for ac_exec_ext in '' $ac_executable_extensions; do
3594  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3595    ac_cv_prog_CC="${ac_tool_prefix}clang"
3596    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3597    break 2
3598  fi
3599done
3600  done
3601IFS=$as_save_IFS
3602
3603fi
3604fi
3605CC=$ac_cv_prog_CC
3606if test -n "$CC"; then
3607  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3608printf "%s\n" "$CC" >&6; }
3609else
3610  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3611printf "%s\n" "no" >&6; }
3612fi
3613
3614
3615fi
3616if test -z "$ac_cv_prog_CC"; then
3617  ac_ct_CC=$CC
3618  # Extract the first word of "clang", so it can be a program name with args.
3619set dummy clang; ac_word=$2
3620{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3621printf %s "checking for $ac_word... " >&6; }
3622if test ${ac_cv_prog_ac_ct_CC+y}
3623then :
3624  printf %s "(cached) " >&6
3625else $as_nop
3626  if test -n "$ac_ct_CC"; then
3627  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3628else
3629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3630for as_dir in $PATH
3631do
3632  IFS=$as_save_IFS
3633  case $as_dir in #(((
3634    '') as_dir=./ ;;
3635    */) ;;
3636    *) as_dir=$as_dir/ ;;
3637  esac
3638    for ac_exec_ext in '' $ac_executable_extensions; do
3639  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3640    ac_cv_prog_ac_ct_CC="clang"
3641    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3642    break 2
3643  fi
3644done
3645  done
3646IFS=$as_save_IFS
3647
3648fi
3649fi
3650ac_ct_CC=$ac_cv_prog_ac_ct_CC
3651if test -n "$ac_ct_CC"; then
3652  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3653printf "%s\n" "$ac_ct_CC" >&6; }
3654else
3655  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3656printf "%s\n" "no" >&6; }
3657fi
3658
3659  if test "x$ac_ct_CC" = x; then
3660    CC=""
3661  else
3662    case $cross_compiling:$ac_tool_warned in
3663yes:)
3664{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3665printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3666ac_tool_warned=yes ;;
3667esac
3668    CC=$ac_ct_CC
3669  fi
3670else
3671  CC="$ac_cv_prog_CC"
3672fi
3673
3674fi
3675
3676
3677test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3678printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3679as_fn_error $? "no acceptable C compiler found in \$PATH
3680See \`config.log' for more details" "$LINENO" 5; }
3681
3682# Provide some information about the compiler.
3683printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3684set X $ac_compile
3685ac_compiler=$2
3686for ac_option in --version -v -V -qversion -version; do
3687  { { ac_try="$ac_compiler $ac_option >&5"
3688case "(($ac_try" in
3689  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3690  *) ac_try_echo=$ac_try;;
3691esac
3692eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3693printf "%s\n" "$ac_try_echo"; } >&5
3694  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3695  ac_status=$?
3696  if test -s conftest.err; then
3697    sed '10a\
3698... rest of stderr output deleted ...
3699         10q' conftest.err >conftest.er1
3700    cat conftest.er1 >&5
3701  fi
3702  rm -f conftest.er1 conftest.err
3703  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3704  test $ac_status = 0; }
3705done
3706
3707cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3708/* end confdefs.h.  */
3709
3710int
3711main (void)
3712{
3713
3714  ;
3715  return 0;
3716}
3717_ACEOF
3718ac_clean_files_save=$ac_clean_files
3719ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3720# Try to create an executable without -o first, disregard a.out.
3721# It will help us diagnose broken compilers, and finding out an intuition
3722# of exeext.
3723{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3724printf %s "checking whether the C compiler works... " >&6; }
3725ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3726
3727# The possible output files:
3728ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3729
3730ac_rmfiles=
3731for ac_file in $ac_files
3732do
3733  case $ac_file in
3734    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3735    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3736  esac
3737done
3738rm -f $ac_rmfiles
3739
3740if { { ac_try="$ac_link_default"
3741case "(($ac_try" in
3742  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3743  *) ac_try_echo=$ac_try;;
3744esac
3745eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3746printf "%s\n" "$ac_try_echo"; } >&5
3747  (eval "$ac_link_default") 2>&5
3748  ac_status=$?
3749  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3750  test $ac_status = 0; }
3751then :
3752  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3753# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3754# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3755# so that the user can short-circuit this test for compilers unknown to
3756# Autoconf.
3757for ac_file in $ac_files ''
3758do
3759  test -f "$ac_file" || continue
3760  case $ac_file in
3761    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3762	;;
3763    [ab].out )
3764	# We found the default executable, but exeext='' is most
3765	# certainly right.
3766	break;;
3767    *.* )
3768	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3769	then :; else
3770	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3771	fi
3772	# We set ac_cv_exeext here because the later test for it is not
3773	# safe: cross compilers may not add the suffix if given an `-o'
3774	# argument, so we may need to know it at that point already.
3775	# Even if this section looks crufty: it has the advantage of
3776	# actually working.
3777	break;;
3778    * )
3779	break;;
3780  esac
3781done
3782test "$ac_cv_exeext" = no && ac_cv_exeext=
3783
3784else $as_nop
3785  ac_file=''
3786fi
3787if test -z "$ac_file"
3788then :
3789  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790printf "%s\n" "no" >&6; }
3791printf "%s\n" "$as_me: failed program was:" >&5
3792sed 's/^/| /' conftest.$ac_ext >&5
3793
3794{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3795printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3796as_fn_error 77 "C compiler cannot create executables
3797See \`config.log' for more details" "$LINENO" 5; }
3798else $as_nop
3799  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3800printf "%s\n" "yes" >&6; }
3801fi
3802{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3803printf %s "checking for C compiler default output file name... " >&6; }
3804{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3805printf "%s\n" "$ac_file" >&6; }
3806ac_exeext=$ac_cv_exeext
3807
3808rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3809ac_clean_files=$ac_clean_files_save
3810{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3811printf %s "checking for suffix of executables... " >&6; }
3812if { { ac_try="$ac_link"
3813case "(($ac_try" in
3814  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3815  *) ac_try_echo=$ac_try;;
3816esac
3817eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3818printf "%s\n" "$ac_try_echo"; } >&5
3819  (eval "$ac_link") 2>&5
3820  ac_status=$?
3821  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3822  test $ac_status = 0; }
3823then :
3824  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3825# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3826# work properly (i.e., refer to `conftest.exe'), while it won't with
3827# `rm'.
3828for ac_file in conftest.exe conftest conftest.*; do
3829  test -f "$ac_file" || continue
3830  case $ac_file in
3831    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3832    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3833	  break;;
3834    * ) break;;
3835  esac
3836done
3837else $as_nop
3838  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3839printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3840as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3841See \`config.log' for more details" "$LINENO" 5; }
3842fi
3843rm -f conftest conftest$ac_cv_exeext
3844{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3845printf "%s\n" "$ac_cv_exeext" >&6; }
3846
3847rm -f conftest.$ac_ext
3848EXEEXT=$ac_cv_exeext
3849ac_exeext=$EXEEXT
3850cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3851/* end confdefs.h.  */
3852#include <stdio.h>
3853int
3854main (void)
3855{
3856FILE *f = fopen ("conftest.out", "w");
3857 return ferror (f) || fclose (f) != 0;
3858
3859  ;
3860  return 0;
3861}
3862_ACEOF
3863ac_clean_files="$ac_clean_files conftest.out"
3864# Check that the compiler produces executables we can run.  If not, either
3865# the compiler is broken, or we cross compile.
3866{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3867printf %s "checking whether we are cross compiling... " >&6; }
3868if test "$cross_compiling" != yes; then
3869  { { ac_try="$ac_link"
3870case "(($ac_try" in
3871  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872  *) ac_try_echo=$ac_try;;
3873esac
3874eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3875printf "%s\n" "$ac_try_echo"; } >&5
3876  (eval "$ac_link") 2>&5
3877  ac_status=$?
3878  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879  test $ac_status = 0; }
3880  if { ac_try='./conftest$ac_cv_exeext'
3881  { { case "(($ac_try" in
3882  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3883  *) ac_try_echo=$ac_try;;
3884esac
3885eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3886printf "%s\n" "$ac_try_echo"; } >&5
3887  (eval "$ac_try") 2>&5
3888  ac_status=$?
3889  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890  test $ac_status = 0; }; }; then
3891    cross_compiling=no
3892  else
3893    if test "$cross_compiling" = maybe; then
3894	cross_compiling=yes
3895    else
3896	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3897printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3898as_fn_error 77 "cannot run C compiled programs.
3899If you meant to cross compile, use \`--host'.
3900See \`config.log' for more details" "$LINENO" 5; }
3901    fi
3902  fi
3903fi
3904{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3905printf "%s\n" "$cross_compiling" >&6; }
3906
3907rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3908ac_clean_files=$ac_clean_files_save
3909{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3910printf %s "checking for suffix of object files... " >&6; }
3911if test ${ac_cv_objext+y}
3912then :
3913  printf %s "(cached) " >&6
3914else $as_nop
3915  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3916/* end confdefs.h.  */
3917
3918int
3919main (void)
3920{
3921
3922  ;
3923  return 0;
3924}
3925_ACEOF
3926rm -f conftest.o conftest.obj
3927if { { ac_try="$ac_compile"
3928case "(($ac_try" in
3929  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930  *) ac_try_echo=$ac_try;;
3931esac
3932eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3933printf "%s\n" "$ac_try_echo"; } >&5
3934  (eval "$ac_compile") 2>&5
3935  ac_status=$?
3936  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3937  test $ac_status = 0; }
3938then :
3939  for ac_file in conftest.o conftest.obj conftest.*; do
3940  test -f "$ac_file" || continue;
3941  case $ac_file in
3942    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3943    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3944       break;;
3945  esac
3946done
3947else $as_nop
3948  printf "%s\n" "$as_me: failed program was:" >&5
3949sed 's/^/| /' conftest.$ac_ext >&5
3950
3951{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3952printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3953as_fn_error $? "cannot compute suffix of object files: cannot compile
3954See \`config.log' for more details" "$LINENO" 5; }
3955fi
3956rm -f conftest.$ac_cv_objext conftest.$ac_ext
3957fi
3958{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3959printf "%s\n" "$ac_cv_objext" >&6; }
3960OBJEXT=$ac_cv_objext
3961ac_objext=$OBJEXT
3962{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3963printf %s "checking whether the compiler supports GNU C... " >&6; }
3964if test ${ac_cv_c_compiler_gnu+y}
3965then :
3966  printf %s "(cached) " >&6
3967else $as_nop
3968  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969/* end confdefs.h.  */
3970
3971int
3972main (void)
3973{
3974#ifndef __GNUC__
3975       choke me
3976#endif
3977
3978  ;
3979  return 0;
3980}
3981_ACEOF
3982if ac_fn_c_try_compile "$LINENO"
3983then :
3984  ac_compiler_gnu=yes
3985else $as_nop
3986  ac_compiler_gnu=no
3987fi
3988rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3989ac_cv_c_compiler_gnu=$ac_compiler_gnu
3990
3991fi
3992{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3993printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3994ac_compiler_gnu=$ac_cv_c_compiler_gnu
3995
3996if test $ac_compiler_gnu = yes; then
3997  GCC=yes
3998else
3999  GCC=
4000fi
4001ac_test_CFLAGS=${CFLAGS+y}
4002ac_save_CFLAGS=$CFLAGS
4003{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4004printf %s "checking whether $CC accepts -g... " >&6; }
4005if test ${ac_cv_prog_cc_g+y}
4006then :
4007  printf %s "(cached) " >&6
4008else $as_nop
4009  ac_save_c_werror_flag=$ac_c_werror_flag
4010   ac_c_werror_flag=yes
4011   ac_cv_prog_cc_g=no
4012   CFLAGS="-g"
4013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4014/* end confdefs.h.  */
4015
4016int
4017main (void)
4018{
4019
4020  ;
4021  return 0;
4022}
4023_ACEOF
4024if ac_fn_c_try_compile "$LINENO"
4025then :
4026  ac_cv_prog_cc_g=yes
4027else $as_nop
4028  CFLAGS=""
4029      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4030/* end confdefs.h.  */
4031
4032int
4033main (void)
4034{
4035
4036  ;
4037  return 0;
4038}
4039_ACEOF
4040if ac_fn_c_try_compile "$LINENO"
4041then :
4042
4043else $as_nop
4044  ac_c_werror_flag=$ac_save_c_werror_flag
4045	 CFLAGS="-g"
4046	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4047/* end confdefs.h.  */
4048
4049int
4050main (void)
4051{
4052
4053  ;
4054  return 0;
4055}
4056_ACEOF
4057if ac_fn_c_try_compile "$LINENO"
4058then :
4059  ac_cv_prog_cc_g=yes
4060fi
4061rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4062fi
4063rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4064fi
4065rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4066   ac_c_werror_flag=$ac_save_c_werror_flag
4067fi
4068{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4069printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4070if test $ac_test_CFLAGS; then
4071  CFLAGS=$ac_save_CFLAGS
4072elif test $ac_cv_prog_cc_g = yes; then
4073  if test "$GCC" = yes; then
4074    CFLAGS="-g -O2"
4075  else
4076    CFLAGS="-g"
4077  fi
4078else
4079  if test "$GCC" = yes; then
4080    CFLAGS="-O2"
4081  else
4082    CFLAGS=
4083  fi
4084fi
4085ac_prog_cc_stdc=no
4086if test x$ac_prog_cc_stdc = xno
4087then :
4088  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4089printf %s "checking for $CC option to enable C11 features... " >&6; }
4090if test ${ac_cv_prog_cc_c11+y}
4091then :
4092  printf %s "(cached) " >&6
4093else $as_nop
4094  ac_cv_prog_cc_c11=no
4095ac_save_CC=$CC
4096cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097/* end confdefs.h.  */
4098$ac_c_conftest_c11_program
4099_ACEOF
4100for ac_arg in '' -std=gnu11
4101do
4102  CC="$ac_save_CC $ac_arg"
4103  if ac_fn_c_try_compile "$LINENO"
4104then :
4105  ac_cv_prog_cc_c11=$ac_arg
4106fi
4107rm -f core conftest.err conftest.$ac_objext conftest.beam
4108  test "x$ac_cv_prog_cc_c11" != "xno" && break
4109done
4110rm -f conftest.$ac_ext
4111CC=$ac_save_CC
4112fi
4113
4114if test "x$ac_cv_prog_cc_c11" = xno
4115then :
4116  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4117printf "%s\n" "unsupported" >&6; }
4118else $as_nop
4119  if test "x$ac_cv_prog_cc_c11" = x
4120then :
4121  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4122printf "%s\n" "none needed" >&6; }
4123else $as_nop
4124  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4125printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4126     CC="$CC $ac_cv_prog_cc_c11"
4127fi
4128  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4129  ac_prog_cc_stdc=c11
4130fi
4131fi
4132if test x$ac_prog_cc_stdc = xno
4133then :
4134  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4135printf %s "checking for $CC option to enable C99 features... " >&6; }
4136if test ${ac_cv_prog_cc_c99+y}
4137then :
4138  printf %s "(cached) " >&6
4139else $as_nop
4140  ac_cv_prog_cc_c99=no
4141ac_save_CC=$CC
4142cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143/* end confdefs.h.  */
4144$ac_c_conftest_c99_program
4145_ACEOF
4146for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4147do
4148  CC="$ac_save_CC $ac_arg"
4149  if ac_fn_c_try_compile "$LINENO"
4150then :
4151  ac_cv_prog_cc_c99=$ac_arg
4152fi
4153rm -f core conftest.err conftest.$ac_objext conftest.beam
4154  test "x$ac_cv_prog_cc_c99" != "xno" && break
4155done
4156rm -f conftest.$ac_ext
4157CC=$ac_save_CC
4158fi
4159
4160if test "x$ac_cv_prog_cc_c99" = xno
4161then :
4162  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4163printf "%s\n" "unsupported" >&6; }
4164else $as_nop
4165  if test "x$ac_cv_prog_cc_c99" = x
4166then :
4167  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4168printf "%s\n" "none needed" >&6; }
4169else $as_nop
4170  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4171printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4172     CC="$CC $ac_cv_prog_cc_c99"
4173fi
4174  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4175  ac_prog_cc_stdc=c99
4176fi
4177fi
4178if test x$ac_prog_cc_stdc = xno
4179then :
4180  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4181printf %s "checking for $CC option to enable C89 features... " >&6; }
4182if test ${ac_cv_prog_cc_c89+y}
4183then :
4184  printf %s "(cached) " >&6
4185else $as_nop
4186  ac_cv_prog_cc_c89=no
4187ac_save_CC=$CC
4188cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189/* end confdefs.h.  */
4190$ac_c_conftest_c89_program
4191_ACEOF
4192for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4193do
4194  CC="$ac_save_CC $ac_arg"
4195  if ac_fn_c_try_compile "$LINENO"
4196then :
4197  ac_cv_prog_cc_c89=$ac_arg
4198fi
4199rm -f core conftest.err conftest.$ac_objext conftest.beam
4200  test "x$ac_cv_prog_cc_c89" != "xno" && break
4201done
4202rm -f conftest.$ac_ext
4203CC=$ac_save_CC
4204fi
4205
4206if test "x$ac_cv_prog_cc_c89" = xno
4207then :
4208  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4209printf "%s\n" "unsupported" >&6; }
4210else $as_nop
4211  if test "x$ac_cv_prog_cc_c89" = x
4212then :
4213  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4214printf "%s\n" "none needed" >&6; }
4215else $as_nop
4216  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4217printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4218     CC="$CC $ac_cv_prog_cc_c89"
4219fi
4220  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4221  ac_prog_cc_stdc=c89
4222fi
4223fi
4224
4225ac_ext=c
4226ac_cpp='$CPP $CPPFLAGS'
4227ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4228ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4229ac_compiler_gnu=$ac_cv_c_compiler_gnu
4230
4231
4232  ac_ext=c
4233ac_cpp='$CPP $CPPFLAGS'
4234ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4235ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4236ac_compiler_gnu=$ac_cv_c_compiler_gnu
4237{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4238printf %s "checking whether $CC understands -c and -o together... " >&6; }
4239if test ${am_cv_prog_cc_c_o+y}
4240then :
4241  printf %s "(cached) " >&6
4242else $as_nop
4243  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244/* end confdefs.h.  */
4245
4246int
4247main (void)
4248{
4249
4250  ;
4251  return 0;
4252}
4253_ACEOF
4254  # Make sure it works both with $CC and with simple cc.
4255  # Following AC_PROG_CC_C_O, we do the test twice because some
4256  # compilers refuse to overwrite an existing .o file with -o,
4257  # though they will create one.
4258  am_cv_prog_cc_c_o=yes
4259  for am_i in 1 2; do
4260    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4261   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4262   ac_status=$?
4263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264   (exit $ac_status); } \
4265         && test -f conftest2.$ac_objext; then
4266      : OK
4267    else
4268      am_cv_prog_cc_c_o=no
4269      break
4270    fi
4271  done
4272  rm -f core conftest*
4273  unset am_i
4274fi
4275{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4276printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4277if test "$am_cv_prog_cc_c_o" != yes; then
4278   # Losing compiler, so override with the script.
4279   # FIXME: It is wrong to rewrite CC.
4280   # But if we don't then we get into trouble of one sort or another.
4281   # A longer-term fix would be to have automake use am__CC in this case,
4282   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4283   CC="$am_aux_dir/compile $CC"
4284fi
4285ac_ext=c
4286ac_cpp='$CPP $CPPFLAGS'
4287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4289ac_compiler_gnu=$ac_cv_c_compiler_gnu
4290
4291DEPDIR="${am__leading_dot}deps"
4292
4293ac_config_commands="$ac_config_commands depfiles"
4294
4295{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4296printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4297cat > confinc.mk << 'END'
4298am__doit:
4299	@echo this is the am__doit target >confinc.out
4300.PHONY: am__doit
4301END
4302am__include="#"
4303am__quote=
4304# BSD make does it like this.
4305echo '.include "confinc.mk" # ignored' > confmf.BSD
4306# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4307echo 'include confinc.mk # ignored' > confmf.GNU
4308_am_result=no
4309for s in GNU BSD; do
4310  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4311   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4312   ac_status=$?
4313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314   (exit $ac_status); }
4315  case $?:`cat confinc.out 2>/dev/null` in #(
4316  '0:this is the am__doit target') :
4317    case $s in #(
4318  BSD) :
4319    am__include='.include' am__quote='"' ;; #(
4320  *) :
4321    am__include='include' am__quote='' ;;
4322esac ;; #(
4323  *) :
4324     ;;
4325esac
4326  if test "$am__include" != "#"; then
4327    _am_result="yes ($s style)"
4328    break
4329  fi
4330done
4331rm -f confinc.* confmf.*
4332{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4333printf "%s\n" "${_am_result}" >&6; }
4334
4335# Check whether --enable-dependency-tracking was given.
4336if test ${enable_dependency_tracking+y}
4337then :
4338  enableval=$enable_dependency_tracking;
4339fi
4340
4341if test "x$enable_dependency_tracking" != xno; then
4342  am_depcomp="$ac_aux_dir/depcomp"
4343  AMDEPBACKSLASH='\'
4344  am__nodep='_no'
4345fi
4346 if test "x$enable_dependency_tracking" != xno; then
4347  AMDEP_TRUE=
4348  AMDEP_FALSE='#'
4349else
4350  AMDEP_TRUE='#'
4351  AMDEP_FALSE=
4352fi
4353
4354
4355
4356depcc="$CC"   am_compiler_list=
4357
4358{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4359printf %s "checking dependency style of $depcc... " >&6; }
4360if test ${am_cv_CC_dependencies_compiler_type+y}
4361then :
4362  printf %s "(cached) " >&6
4363else $as_nop
4364  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4365  # We make a subdir and do the tests there.  Otherwise we can end up
4366  # making bogus files that we don't know about and never remove.  For
4367  # instance it was reported that on HP-UX the gcc test will end up
4368  # making a dummy file named 'D' -- because '-MD' means "put the output
4369  # in D".
4370  rm -rf conftest.dir
4371  mkdir conftest.dir
4372  # Copy depcomp to subdir because otherwise we won't find it if we're
4373  # using a relative directory.
4374  cp "$am_depcomp" conftest.dir
4375  cd conftest.dir
4376  # We will build objects and dependencies in a subdirectory because
4377  # it helps to detect inapplicable dependency modes.  For instance
4378  # both Tru64's cc and ICC support -MD to output dependencies as a
4379  # side effect of compilation, but ICC will put the dependencies in
4380  # the current directory while Tru64 will put them in the object
4381  # directory.
4382  mkdir sub
4383
4384  am_cv_CC_dependencies_compiler_type=none
4385  if test "$am_compiler_list" = ""; then
4386     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4387  fi
4388  am__universal=false
4389  case " $depcc " in #(
4390     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4391     esac
4392
4393  for depmode in $am_compiler_list; do
4394    # Setup a source with many dependencies, because some compilers
4395    # like to wrap large dependency lists on column 80 (with \), and
4396    # we should not choose a depcomp mode which is confused by this.
4397    #
4398    # We need to recreate these files for each test, as the compiler may
4399    # overwrite some of them when testing with obscure command lines.
4400    # This happens at least with the AIX C compiler.
4401    : > sub/conftest.c
4402    for i in 1 2 3 4 5 6; do
4403      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4404      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4405      # Solaris 10 /bin/sh.
4406      echo '/* dummy */' > sub/conftst$i.h
4407    done
4408    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4409
4410    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4411    # mode.  It turns out that the SunPro C++ compiler does not properly
4412    # handle '-M -o', and we need to detect this.  Also, some Intel
4413    # versions had trouble with output in subdirs.
4414    am__obj=sub/conftest.${OBJEXT-o}
4415    am__minus_obj="-o $am__obj"
4416    case $depmode in
4417    gcc)
4418      # This depmode causes a compiler race in universal mode.
4419      test "$am__universal" = false || continue
4420      ;;
4421    nosideeffect)
4422      # After this tag, mechanisms are not by side-effect, so they'll
4423      # only be used when explicitly requested.
4424      if test "x$enable_dependency_tracking" = xyes; then
4425	continue
4426      else
4427	break
4428      fi
4429      ;;
4430    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4431      # This compiler won't grok '-c -o', but also, the minuso test has
4432      # not run yet.  These depmodes are late enough in the game, and
4433      # so weak that their functioning should not be impacted.
4434      am__obj=conftest.${OBJEXT-o}
4435      am__minus_obj=
4436      ;;
4437    none) break ;;
4438    esac
4439    if depmode=$depmode \
4440       source=sub/conftest.c object=$am__obj \
4441       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4442       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4443         >/dev/null 2>conftest.err &&
4444       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4445       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4446       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4447       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4448      # icc doesn't choke on unknown options, it will just issue warnings
4449      # or remarks (even with -Werror).  So we grep stderr for any message
4450      # that says an option was ignored or not supported.
4451      # When given -MP, icc 7.0 and 7.1 complain thusly:
4452      #   icc: Command line warning: ignoring option '-M'; no argument required
4453      # The diagnosis changed in icc 8.0:
4454      #   icc: Command line remark: option '-MP' not supported
4455      if (grep 'ignoring option' conftest.err ||
4456          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4457        am_cv_CC_dependencies_compiler_type=$depmode
4458        break
4459      fi
4460    fi
4461  done
4462
4463  cd ..
4464  rm -rf conftest.dir
4465else
4466  am_cv_CC_dependencies_compiler_type=none
4467fi
4468
4469fi
4470{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4471printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4472CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4473
4474 if
4475  test "x$enable_dependency_tracking" != xno \
4476  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4477  am__fastdepCC_TRUE=
4478  am__fastdepCC_FALSE='#'
4479else
4480  am__fastdepCC_TRUE='#'
4481  am__fastdepCC_FALSE=
4482fi
4483
4484
4485case `pwd` in
4486  *\ * | *\	*)
4487    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4488printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4489esac
4490
4491
4492
4493macro_version='2.4.6.42-b88ce-dirty'
4494macro_revision='2.4.6.42'
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509ltmain=$ac_aux_dir/ltmain.sh
4510
4511# Backslashify metacharacters that are still active within
4512# double-quoted strings.
4513sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4514
4515# Same as above, but do not quote variable references.
4516double_quote_subst='s/\(["`\\]\)/\\\1/g'
4517
4518# Sed substitution to delay expansion of an escaped shell variable in a
4519# double_quote_subst'ed string.
4520delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4521
4522# Sed substitution to delay expansion of an escaped single quote.
4523delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4524
4525# Sed substitution to avoid accidental globbing in evaled expressions
4526no_glob_subst='s/\*/\\\*/g'
4527
4528ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4529ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4530ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4531
4532{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4533printf %s "checking how to print strings... " >&6; }
4534# Test print first, because it will be a builtin if present.
4535if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4536   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4537  ECHO='print -r --'
4538elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4539  ECHO='printf %s\n'
4540else
4541  # Use this function as a fallback that always works.
4542  func_fallback_echo ()
4543  {
4544    eval 'cat <<_LTECHO_EOF
4545$1
4546_LTECHO_EOF'
4547  }
4548  ECHO='func_fallback_echo'
4549fi
4550
4551# func_echo_all arg...
4552# Invoke $ECHO with all args, space-separated.
4553func_echo_all ()
4554{
4555    $ECHO ""
4556}
4557
4558case $ECHO in
4559  printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4560printf "%s\n" "printf" >&6; } ;;
4561  print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4562printf "%s\n" "print -r" >&6; } ;;
4563  *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4564printf "%s\n" "cat" >&6; } ;;
4565esac
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4581printf %s "checking for a sed that does not truncate output... " >&6; }
4582if test ${ac_cv_path_SED+y}
4583then :
4584  printf %s "(cached) " >&6
4585else $as_nop
4586            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4587     for ac_i in 1 2 3 4 5 6 7; do
4588       ac_script="$ac_script$as_nl$ac_script"
4589     done
4590     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4591     { ac_script=; unset ac_script;}
4592     if test -z "$SED"; then
4593  ac_path_SED_found=false
4594  # Loop through the user's path and test for each of PROGNAME-LIST
4595  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596for as_dir in $PATH
4597do
4598  IFS=$as_save_IFS
4599  case $as_dir in #(((
4600    '') as_dir=./ ;;
4601    */) ;;
4602    *) as_dir=$as_dir/ ;;
4603  esac
4604    for ac_prog in sed gsed
4605   do
4606    for ac_exec_ext in '' $ac_executable_extensions; do
4607      ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
4608      as_fn_executable_p "$ac_path_SED" || continue
4609# Check for GNU ac_path_SED and select it if it is found.
4610  # Check for GNU $ac_path_SED
4611case `"$ac_path_SED" --version 2>&1` in
4612*GNU*)
4613  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4614*)
4615  ac_count=0
4616  printf %s 0123456789 >"conftest.in"
4617  while :
4618  do
4619    cat "conftest.in" "conftest.in" >"conftest.tmp"
4620    mv "conftest.tmp" "conftest.in"
4621    cp "conftest.in" "conftest.nl"
4622    printf "%s\n" '' >> "conftest.nl"
4623    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4624    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4625    as_fn_arith $ac_count + 1 && ac_count=$as_val
4626    if test $ac_count -gt ${ac_path_SED_max-0}; then
4627      # Best one so far, save it but keep looking for a better one
4628      ac_cv_path_SED="$ac_path_SED"
4629      ac_path_SED_max=$ac_count
4630    fi
4631    # 10*(2^10) chars as input seems more than enough
4632    test $ac_count -gt 10 && break
4633  done
4634  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4635esac
4636
4637      $ac_path_SED_found && break 3
4638    done
4639  done
4640  done
4641IFS=$as_save_IFS
4642  if test -z "$ac_cv_path_SED"; then
4643    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4644  fi
4645else
4646  ac_cv_path_SED=$SED
4647fi
4648
4649fi
4650{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4651printf "%s\n" "$ac_cv_path_SED" >&6; }
4652 SED="$ac_cv_path_SED"
4653  rm -f conftest.sed
4654
4655test -z "$SED" && SED=sed
4656Xsed="$SED -e 1s/^X//"
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4669printf %s "checking for grep that handles long lines and -e... " >&6; }
4670if test ${ac_cv_path_GREP+y}
4671then :
4672  printf %s "(cached) " >&6
4673else $as_nop
4674  if test -z "$GREP"; then
4675  ac_path_GREP_found=false
4676  # Loop through the user's path and test for each of PROGNAME-LIST
4677  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4679do
4680  IFS=$as_save_IFS
4681  case $as_dir in #(((
4682    '') as_dir=./ ;;
4683    */) ;;
4684    *) as_dir=$as_dir/ ;;
4685  esac
4686    for ac_prog in grep ggrep
4687   do
4688    for ac_exec_ext in '' $ac_executable_extensions; do
4689      ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
4690      as_fn_executable_p "$ac_path_GREP" || continue
4691# Check for GNU ac_path_GREP and select it if it is found.
4692  # Check for GNU $ac_path_GREP
4693case `"$ac_path_GREP" --version 2>&1` in
4694*GNU*)
4695  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4696*)
4697  ac_count=0
4698  printf %s 0123456789 >"conftest.in"
4699  while :
4700  do
4701    cat "conftest.in" "conftest.in" >"conftest.tmp"
4702    mv "conftest.tmp" "conftest.in"
4703    cp "conftest.in" "conftest.nl"
4704    printf "%s\n" 'GREP' >> "conftest.nl"
4705    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4706    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4707    as_fn_arith $ac_count + 1 && ac_count=$as_val
4708    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4709      # Best one so far, save it but keep looking for a better one
4710      ac_cv_path_GREP="$ac_path_GREP"
4711      ac_path_GREP_max=$ac_count
4712    fi
4713    # 10*(2^10) chars as input seems more than enough
4714    test $ac_count -gt 10 && break
4715  done
4716  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4717esac
4718
4719      $ac_path_GREP_found && break 3
4720    done
4721  done
4722  done
4723IFS=$as_save_IFS
4724  if test -z "$ac_cv_path_GREP"; then
4725    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4726  fi
4727else
4728  ac_cv_path_GREP=$GREP
4729fi
4730
4731fi
4732{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4733printf "%s\n" "$ac_cv_path_GREP" >&6; }
4734 GREP="$ac_cv_path_GREP"
4735
4736
4737{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4738printf %s "checking for egrep... " >&6; }
4739if test ${ac_cv_path_EGREP+y}
4740then :
4741  printf %s "(cached) " >&6
4742else $as_nop
4743  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4744   then ac_cv_path_EGREP="$GREP -E"
4745   else
4746     if test -z "$EGREP"; then
4747  ac_path_EGREP_found=false
4748  # Loop through the user's path and test for each of PROGNAME-LIST
4749  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4750for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4751do
4752  IFS=$as_save_IFS
4753  case $as_dir in #(((
4754    '') as_dir=./ ;;
4755    */) ;;
4756    *) as_dir=$as_dir/ ;;
4757  esac
4758    for ac_prog in egrep
4759   do
4760    for ac_exec_ext in '' $ac_executable_extensions; do
4761      ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
4762      as_fn_executable_p "$ac_path_EGREP" || continue
4763# Check for GNU ac_path_EGREP and select it if it is found.
4764  # Check for GNU $ac_path_EGREP
4765case `"$ac_path_EGREP" --version 2>&1` in
4766*GNU*)
4767  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4768*)
4769  ac_count=0
4770  printf %s 0123456789 >"conftest.in"
4771  while :
4772  do
4773    cat "conftest.in" "conftest.in" >"conftest.tmp"
4774    mv "conftest.tmp" "conftest.in"
4775    cp "conftest.in" "conftest.nl"
4776    printf "%s\n" 'EGREP' >> "conftest.nl"
4777    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4778    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4779    as_fn_arith $ac_count + 1 && ac_count=$as_val
4780    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4781      # Best one so far, save it but keep looking for a better one
4782      ac_cv_path_EGREP="$ac_path_EGREP"
4783      ac_path_EGREP_max=$ac_count
4784    fi
4785    # 10*(2^10) chars as input seems more than enough
4786    test $ac_count -gt 10 && break
4787  done
4788  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4789esac
4790
4791      $ac_path_EGREP_found && break 3
4792    done
4793  done
4794  done
4795IFS=$as_save_IFS
4796  if test -z "$ac_cv_path_EGREP"; then
4797    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4798  fi
4799else
4800  ac_cv_path_EGREP=$EGREP
4801fi
4802
4803   fi
4804fi
4805{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4806printf "%s\n" "$ac_cv_path_EGREP" >&6; }
4807 EGREP="$ac_cv_path_EGREP"
4808
4809
4810{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4811printf %s "checking for fgrep... " >&6; }
4812if test ${ac_cv_path_FGREP+y}
4813then :
4814  printf %s "(cached) " >&6
4815else $as_nop
4816  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4817   then ac_cv_path_FGREP="$GREP -F"
4818   else
4819     if test -z "$FGREP"; then
4820  ac_path_FGREP_found=false
4821  # Loop through the user's path and test for each of PROGNAME-LIST
4822  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4824do
4825  IFS=$as_save_IFS
4826  case $as_dir in #(((
4827    '') as_dir=./ ;;
4828    */) ;;
4829    *) as_dir=$as_dir/ ;;
4830  esac
4831    for ac_prog in fgrep
4832   do
4833    for ac_exec_ext in '' $ac_executable_extensions; do
4834      ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
4835      as_fn_executable_p "$ac_path_FGREP" || continue
4836# Check for GNU ac_path_FGREP and select it if it is found.
4837  # Check for GNU $ac_path_FGREP
4838case `"$ac_path_FGREP" --version 2>&1` in
4839*GNU*)
4840  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4841*)
4842  ac_count=0
4843  printf %s 0123456789 >"conftest.in"
4844  while :
4845  do
4846    cat "conftest.in" "conftest.in" >"conftest.tmp"
4847    mv "conftest.tmp" "conftest.in"
4848    cp "conftest.in" "conftest.nl"
4849    printf "%s\n" 'FGREP' >> "conftest.nl"
4850    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4851    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4852    as_fn_arith $ac_count + 1 && ac_count=$as_val
4853    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4854      # Best one so far, save it but keep looking for a better one
4855      ac_cv_path_FGREP="$ac_path_FGREP"
4856      ac_path_FGREP_max=$ac_count
4857    fi
4858    # 10*(2^10) chars as input seems more than enough
4859    test $ac_count -gt 10 && break
4860  done
4861  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4862esac
4863
4864      $ac_path_FGREP_found && break 3
4865    done
4866  done
4867  done
4868IFS=$as_save_IFS
4869  if test -z "$ac_cv_path_FGREP"; then
4870    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4871  fi
4872else
4873  ac_cv_path_FGREP=$FGREP
4874fi
4875
4876   fi
4877fi
4878{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4879printf "%s\n" "$ac_cv_path_FGREP" >&6; }
4880 FGREP="$ac_cv_path_FGREP"
4881
4882
4883test -z "$GREP" && GREP=grep
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903# Check whether --with-gnu-ld was given.
4904if test ${with_gnu_ld+y}
4905then :
4906  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4907else $as_nop
4908  with_gnu_ld=no
4909fi
4910
4911ac_prog=ld
4912if test yes = "$GCC"; then
4913  # Check if gcc -print-prog-name=ld gives a path.
4914  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4915printf %s "checking for ld used by $CC... " >&6; }
4916  case $host in
4917  *-*-mingw*)
4918    # gcc leaves a trailing carriage return, which upsets mingw
4919    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4920  *)
4921    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4922  esac
4923  case $ac_prog in
4924    # Accept absolute paths.
4925    [\\/]* | ?:[\\/]*)
4926      re_direlt='/[^/][^/]*/\.\./'
4927      # Canonicalize the pathname of ld
4928      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4929      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4930	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4931      done
4932      test -z "$LD" && LD=$ac_prog
4933      ;;
4934  "")
4935    # If it fails, then pretend we aren't using GCC.
4936    ac_prog=ld
4937    ;;
4938  *)
4939    # If it is relative, then search for the first ld in PATH.
4940    with_gnu_ld=unknown
4941    ;;
4942  esac
4943elif test yes = "$with_gnu_ld"; then
4944  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4945printf %s "checking for GNU ld... " >&6; }
4946else
4947  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4948printf %s "checking for non-GNU ld... " >&6; }
4949fi
4950if test ${lt_cv_path_LD+y}
4951then :
4952  printf %s "(cached) " >&6
4953else $as_nop
4954  if test -z "$LD"; then
4955  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4956  for ac_dir in $PATH; do
4957    IFS=$lt_save_ifs
4958    test -z "$ac_dir" && ac_dir=.
4959    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4960      lt_cv_path_LD=$ac_dir/$ac_prog
4961      # Check to see if the program is GNU ld.  I'd rather use --version,
4962      # but apparently some variants of GNU ld only accept -v.
4963      # Break only if it was the GNU/non-GNU ld that we prefer.
4964      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4965      *GNU* | *'with BFD'*)
4966	test no != "$with_gnu_ld" && break
4967	;;
4968      *)
4969	test yes != "$with_gnu_ld" && break
4970	;;
4971      esac
4972    fi
4973  done
4974  IFS=$lt_save_ifs
4975else
4976  lt_cv_path_LD=$LD # Let the user override the test with a path.
4977fi
4978fi
4979
4980LD=$lt_cv_path_LD
4981if test -n "$LD"; then
4982  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4983printf "%s\n" "$LD" >&6; }
4984else
4985  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986printf "%s\n" "no" >&6; }
4987fi
4988test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4989{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4990printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
4991if test ${lt_cv_prog_gnu_ld+y}
4992then :
4993  printf %s "(cached) " >&6
4994else $as_nop
4995  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4996case `$LD -v 2>&1 </dev/null` in
4997*GNU* | *'with BFD'*)
4998  lt_cv_prog_gnu_ld=yes
4999  ;;
5000*)
5001  lt_cv_prog_gnu_ld=no
5002  ;;
5003esac
5004fi
5005{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5006printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
5007with_gnu_ld=$lt_cv_prog_gnu_ld
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5018printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5019if test ${lt_cv_path_NM+y}
5020then :
5021  printf %s "(cached) " >&6
5022else $as_nop
5023  if test -n "$NM"; then
5024  # Let the user override the test.
5025  lt_cv_path_NM=$NM
5026else
5027  lt_nm_to_check=${ac_tool_prefix}nm
5028  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5029    lt_nm_to_check="$lt_nm_to_check nm"
5030  fi
5031  for lt_tmp_nm in $lt_nm_to_check; do
5032    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5033    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5034      IFS=$lt_save_ifs
5035      test -z "$ac_dir" && ac_dir=.
5036      tmp_nm=$ac_dir/$lt_tmp_nm
5037      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5038	# Check to see if the nm accepts a BSD-compat flag.
5039	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5040	#   nm: unknown option "B" ignored
5041	# Tru64's nm complains that /dev/null is an invalid object file
5042	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5043	case $build_os in
5044	mingw*) lt_bad_file=conftest.nm/nofile ;;
5045	*) lt_bad_file=/dev/null ;;
5046	esac
5047	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5048	*$lt_bad_file* | *'Invalid file or object type'*)
5049	  lt_cv_path_NM="$tmp_nm -B"
5050	  break 2
5051	  ;;
5052	*)
5053	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5054	  */dev/null*)
5055	    lt_cv_path_NM="$tmp_nm -p"
5056	    break 2
5057	    ;;
5058	  *)
5059	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5060	    continue # so that we can try to find one that supports BSD flags
5061	    ;;
5062	  esac
5063	  ;;
5064	esac
5065      fi
5066    done
5067    IFS=$lt_save_ifs
5068  done
5069  : ${lt_cv_path_NM=no}
5070fi
5071fi
5072{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5073printf "%s\n" "$lt_cv_path_NM" >&6; }
5074if test no != "$lt_cv_path_NM"; then
5075  NM=$lt_cv_path_NM
5076else
5077  # Didn't find any BSD compatible name lister, look for dumpbin.
5078  if test -n "$DUMPBIN"; then :
5079    # Let the user override the test.
5080  else
5081    if test -n "$ac_tool_prefix"; then
5082  for ac_prog in dumpbin "link -dump"
5083  do
5084    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5085set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5086{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087printf %s "checking for $ac_word... " >&6; }
5088if test ${ac_cv_prog_DUMPBIN+y}
5089then :
5090  printf %s "(cached) " >&6
5091else $as_nop
5092  if test -n "$DUMPBIN"; then
5093  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5094else
5095as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5096for as_dir in $PATH
5097do
5098  IFS=$as_save_IFS
5099  case $as_dir in #(((
5100    '') as_dir=./ ;;
5101    */) ;;
5102    *) as_dir=$as_dir/ ;;
5103  esac
5104    for ac_exec_ext in '' $ac_executable_extensions; do
5105  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5106    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5107    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5108    break 2
5109  fi
5110done
5111  done
5112IFS=$as_save_IFS
5113
5114fi
5115fi
5116DUMPBIN=$ac_cv_prog_DUMPBIN
5117if test -n "$DUMPBIN"; then
5118  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5119printf "%s\n" "$DUMPBIN" >&6; }
5120else
5121  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122printf "%s\n" "no" >&6; }
5123fi
5124
5125
5126    test -n "$DUMPBIN" && break
5127  done
5128fi
5129if test -z "$DUMPBIN"; then
5130  ac_ct_DUMPBIN=$DUMPBIN
5131  for ac_prog in dumpbin "link -dump"
5132do
5133  # Extract the first word of "$ac_prog", so it can be a program name with args.
5134set dummy $ac_prog; ac_word=$2
5135{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136printf %s "checking for $ac_word... " >&6; }
5137if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5138then :
5139  printf %s "(cached) " >&6
5140else $as_nop
5141  if test -n "$ac_ct_DUMPBIN"; then
5142  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5143else
5144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145for as_dir in $PATH
5146do
5147  IFS=$as_save_IFS
5148  case $as_dir in #(((
5149    '') as_dir=./ ;;
5150    */) ;;
5151    *) as_dir=$as_dir/ ;;
5152  esac
5153    for ac_exec_ext in '' $ac_executable_extensions; do
5154  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5155    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5156    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5157    break 2
5158  fi
5159done
5160  done
5161IFS=$as_save_IFS
5162
5163fi
5164fi
5165ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5166if test -n "$ac_ct_DUMPBIN"; then
5167  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5168printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
5169else
5170  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171printf "%s\n" "no" >&6; }
5172fi
5173
5174
5175  test -n "$ac_ct_DUMPBIN" && break
5176done
5177
5178  if test "x$ac_ct_DUMPBIN" = x; then
5179    DUMPBIN=":"
5180  else
5181    case $cross_compiling:$ac_tool_warned in
5182yes:)
5183{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5184printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5185ac_tool_warned=yes ;;
5186esac
5187    DUMPBIN=$ac_ct_DUMPBIN
5188  fi
5189fi
5190
5191    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5192    *COFF*)
5193      DUMPBIN="$DUMPBIN -symbols -headers"
5194      ;;
5195    *)
5196      DUMPBIN=:
5197      ;;
5198    esac
5199  fi
5200
5201  if test : != "$DUMPBIN"; then
5202    NM=$DUMPBIN
5203  fi
5204fi
5205test -z "$NM" && NM=nm
5206
5207
5208
5209
5210
5211
5212{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5213printf %s "checking the name lister ($NM) interface... " >&6; }
5214if test ${lt_cv_nm_interface+y}
5215then :
5216  printf %s "(cached) " >&6
5217else $as_nop
5218  lt_cv_nm_interface="BSD nm"
5219  echo "int some_variable = 0;" > conftest.$ac_ext
5220  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5221  (eval "$ac_compile" 2>conftest.err)
5222  cat conftest.err >&5
5223  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5224  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5225  cat conftest.err >&5
5226  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5227  cat conftest.out >&5
5228  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5229    lt_cv_nm_interface="MS dumpbin"
5230  fi
5231  rm -f conftest*
5232fi
5233{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5234printf "%s\n" "$lt_cv_nm_interface" >&6; }
5235
5236{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5237printf %s "checking whether ln -s works... " >&6; }
5238LN_S=$as_ln_s
5239if test "$LN_S" = "ln -s"; then
5240  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5241printf "%s\n" "yes" >&6; }
5242else
5243  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5244printf "%s\n" "no, using $LN_S" >&6; }
5245fi
5246
5247# find the maximum length of command line arguments
5248{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5249printf %s "checking the maximum length of command line arguments... " >&6; }
5250if test ${lt_cv_sys_max_cmd_len+y}
5251then :
5252  printf %s "(cached) " >&6
5253else $as_nop
5254    i=0
5255  teststring=ABCD
5256
5257  case $build_os in
5258  msdosdjgpp*)
5259    # On DJGPP, this test can blow up pretty badly due to problems in libc
5260    # (any single argument exceeding 2000 bytes causes a buffer overrun
5261    # during glob expansion).  Even if it were fixed, the result of this
5262    # check would be larger than it should be.
5263    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5264    ;;
5265
5266  gnu*)
5267    # Under GNU Hurd, this test is not required because there is
5268    # no limit to the length of command line arguments.
5269    # Libtool will interpret -1 as no limit whatsoever
5270    lt_cv_sys_max_cmd_len=-1;
5271    ;;
5272
5273  cygwin* | mingw* | cegcc*)
5274    # On Win9x/ME, this test blows up -- it succeeds, but takes
5275    # about 5 minutes as the teststring grows exponentially.
5276    # Worse, since 9x/ME are not pre-emptively multitasking,
5277    # you end up with a "frozen" computer, even though with patience
5278    # the test eventually succeeds (with a max line length of 256k).
5279    # Instead, let's just punt: use the minimum linelength reported by
5280    # all of the supported platforms: 8192 (on NT/2K/XP).
5281    lt_cv_sys_max_cmd_len=8192;
5282    ;;
5283
5284  mint*)
5285    # On MiNT this can take a long time and run out of memory.
5286    lt_cv_sys_max_cmd_len=8192;
5287    ;;
5288
5289  amigaos*)
5290    # On AmigaOS with pdksh, this test takes hours, literally.
5291    # So we just punt and use a minimum line length of 8192.
5292    lt_cv_sys_max_cmd_len=8192;
5293    ;;
5294
5295  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5296    # This has been around since 386BSD, at least.  Likely further.
5297    if test -x /sbin/sysctl; then
5298      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5299    elif test -x /usr/sbin/sysctl; then
5300      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5301    else
5302      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5303    fi
5304    # And add a safety zone
5305    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5306    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5307    ;;
5308
5309  interix*)
5310    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5311    lt_cv_sys_max_cmd_len=196608
5312    ;;
5313
5314  os2*)
5315    # The test takes a long time on OS/2.
5316    lt_cv_sys_max_cmd_len=8192
5317    ;;
5318
5319  osf*)
5320    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5321    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5322    # nice to cause kernel panics so lets avoid the loop below.
5323    # First set a reasonable default.
5324    lt_cv_sys_max_cmd_len=16384
5325    #
5326    if test -x /sbin/sysconfig; then
5327      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5328        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5329      esac
5330    fi
5331    ;;
5332  sco3.2v5*)
5333    lt_cv_sys_max_cmd_len=102400
5334    ;;
5335  sysv5* | sco5v6* | sysv4.2uw2*)
5336    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5337    if test -n "$kargmax"; then
5338      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5339    else
5340      lt_cv_sys_max_cmd_len=32768
5341    fi
5342    ;;
5343  *)
5344    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5345    if test -n "$lt_cv_sys_max_cmd_len" && \
5346       test undefined != "$lt_cv_sys_max_cmd_len"; then
5347      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5348      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5349    else
5350      # Make teststring a little bigger before we do anything with it.
5351      # a 1K string should be a reasonable start.
5352      for i in 1 2 3 4 5 6 7 8; do
5353        teststring=$teststring$teststring
5354      done
5355      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5356      # If test is not a shell built-in, we'll probably end up computing a
5357      # maximum length that is only half of the actual maximum length, but
5358      # we can't tell.
5359      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5360	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5361	      test 17 != "$i" # 1/2 MB should be enough
5362      do
5363        i=`expr $i + 1`
5364        teststring=$teststring$teststring
5365      done
5366      # Only check the string length outside the loop.
5367      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5368      teststring=
5369      # Add a significant safety factor because C++ compilers can tack on
5370      # massive amounts of additional arguments before passing them to the
5371      # linker.  It appears as though 1/2 is a usable value.
5372      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5373    fi
5374    ;;
5375  esac
5376
5377fi
5378
5379if test -n "$lt_cv_sys_max_cmd_len"; then
5380  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5381printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
5382else
5383  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
5384printf "%s\n" "none" >&6; }
5385fi
5386max_cmd_len=$lt_cv_sys_max_cmd_len
5387
5388
5389
5390
5391
5392
5393: ${CP="cp -f"}
5394: ${MV="mv -f"}
5395: ${RM="rm -f"}
5396
5397if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5398  lt_unset=unset
5399else
5400  lt_unset=false
5401fi
5402
5403
5404
5405
5406
5407# test EBCDIC or ASCII
5408case `echo X|tr X '\101'` in
5409 A) # ASCII based system
5410    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5411  lt_SP2NL='tr \040 \012'
5412  lt_NL2SP='tr \015\012 \040\040'
5413  ;;
5414 *) # EBCDIC based system
5415  lt_SP2NL='tr \100 \n'
5416  lt_NL2SP='tr \r\n \100\100'
5417  ;;
5418esac
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5429printf %s "checking how to convert $build file names to $host format... " >&6; }
5430if test ${lt_cv_to_host_file_cmd+y}
5431then :
5432  printf %s "(cached) " >&6
5433else $as_nop
5434  case $host in
5435  *-*-mingw* )
5436    case $build in
5437      *-*-mingw* ) # actually msys
5438        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5439        ;;
5440      *-*-cygwin* )
5441        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5442        ;;
5443      * ) # otherwise, assume *nix
5444        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5445        ;;
5446    esac
5447    ;;
5448  *-*-cygwin* )
5449    case $build in
5450      *-*-mingw* ) # actually msys
5451        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5452        ;;
5453      *-*-cygwin* )
5454        lt_cv_to_host_file_cmd=func_convert_file_noop
5455        ;;
5456      * ) # otherwise, assume *nix
5457        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5458        ;;
5459    esac
5460    ;;
5461  * ) # unhandled hosts (and "normal" native builds)
5462    lt_cv_to_host_file_cmd=func_convert_file_noop
5463    ;;
5464esac
5465
5466fi
5467
5468to_host_file_cmd=$lt_cv_to_host_file_cmd
5469{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5470printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
5471
5472
5473
5474
5475
5476{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5477printf %s "checking how to convert $build file names to toolchain format... " >&6; }
5478if test ${lt_cv_to_tool_file_cmd+y}
5479then :
5480  printf %s "(cached) " >&6
5481else $as_nop
5482  #assume ordinary cross tools, or native build.
5483lt_cv_to_tool_file_cmd=func_convert_file_noop
5484case $host in
5485  *-*-mingw* )
5486    case $build in
5487      *-*-mingw* ) # actually msys
5488        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5489        ;;
5490    esac
5491    ;;
5492esac
5493
5494fi
5495
5496to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5497{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5498printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
5499
5500
5501
5502
5503
5504{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5505printf %s "checking for $LD option to reload object files... " >&6; }
5506if test ${lt_cv_ld_reload_flag+y}
5507then :
5508  printf %s "(cached) " >&6
5509else $as_nop
5510  lt_cv_ld_reload_flag='-r'
5511fi
5512{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5513printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
5514reload_flag=$lt_cv_ld_reload_flag
5515case $reload_flag in
5516"" | " "*) ;;
5517*) reload_flag=" $reload_flag" ;;
5518esac
5519reload_cmds='$LD$reload_flag -o $output$reload_objs'
5520case $host_os in
5521  cygwin* | mingw* | pw32* | cegcc*)
5522    if test yes != "$GCC"; then
5523      reload_cmds=false
5524    fi
5525    ;;
5526  darwin*)
5527    if test yes = "$GCC"; then
5528      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5529    else
5530      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5531    fi
5532    ;;
5533esac
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543if test -n "$ac_tool_prefix"; then
5544  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5545set dummy ${ac_tool_prefix}objdump; ac_word=$2
5546{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547printf %s "checking for $ac_word... " >&6; }
5548if test ${ac_cv_prog_OBJDUMP+y}
5549then :
5550  printf %s "(cached) " >&6
5551else $as_nop
5552  if test -n "$OBJDUMP"; then
5553  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5554else
5555as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556for as_dir in $PATH
5557do
5558  IFS=$as_save_IFS
5559  case $as_dir in #(((
5560    '') as_dir=./ ;;
5561    */) ;;
5562    *) as_dir=$as_dir/ ;;
5563  esac
5564    for ac_exec_ext in '' $ac_executable_extensions; do
5565  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5566    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5567    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5568    break 2
5569  fi
5570done
5571  done
5572IFS=$as_save_IFS
5573
5574fi
5575fi
5576OBJDUMP=$ac_cv_prog_OBJDUMP
5577if test -n "$OBJDUMP"; then
5578  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5579printf "%s\n" "$OBJDUMP" >&6; }
5580else
5581  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5582printf "%s\n" "no" >&6; }
5583fi
5584
5585
5586fi
5587if test -z "$ac_cv_prog_OBJDUMP"; then
5588  ac_ct_OBJDUMP=$OBJDUMP
5589  # Extract the first word of "objdump", so it can be a program name with args.
5590set dummy objdump; ac_word=$2
5591{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592printf %s "checking for $ac_word... " >&6; }
5593if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
5594then :
5595  printf %s "(cached) " >&6
5596else $as_nop
5597  if test -n "$ac_ct_OBJDUMP"; then
5598  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5599else
5600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5601for as_dir in $PATH
5602do
5603  IFS=$as_save_IFS
5604  case $as_dir in #(((
5605    '') as_dir=./ ;;
5606    */) ;;
5607    *) as_dir=$as_dir/ ;;
5608  esac
5609    for ac_exec_ext in '' $ac_executable_extensions; do
5610  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5611    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5612    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5613    break 2
5614  fi
5615done
5616  done
5617IFS=$as_save_IFS
5618
5619fi
5620fi
5621ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5622if test -n "$ac_ct_OBJDUMP"; then
5623  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5624printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
5625else
5626  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5627printf "%s\n" "no" >&6; }
5628fi
5629
5630  if test "x$ac_ct_OBJDUMP" = x; then
5631    OBJDUMP="false"
5632  else
5633    case $cross_compiling:$ac_tool_warned in
5634yes:)
5635{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5636printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5637ac_tool_warned=yes ;;
5638esac
5639    OBJDUMP=$ac_ct_OBJDUMP
5640  fi
5641else
5642  OBJDUMP="$ac_cv_prog_OBJDUMP"
5643fi
5644
5645test -z "$OBJDUMP" && OBJDUMP=objdump
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5656printf %s "checking how to recognize dependent libraries... " >&6; }
5657if test ${lt_cv_deplibs_check_method+y}
5658then :
5659  printf %s "(cached) " >&6
5660else $as_nop
5661  lt_cv_file_magic_cmd='$MAGIC_CMD'
5662lt_cv_file_magic_test_file=
5663lt_cv_deplibs_check_method='unknown'
5664# Need to set the preceding variable on all platforms that support
5665# interlibrary dependencies.
5666# 'none' -- dependencies not supported.
5667# 'unknown' -- same as none, but documents that we really don't know.
5668# 'pass_all' -- all dependencies passed with no checks.
5669# 'test_compile' -- check by making test program.
5670# 'file_magic [[regex]]' -- check by looking for files in library path
5671# that responds to the $file_magic_cmd with a given extended regex.
5672# If you have 'file' or equivalent on your system and you're not sure
5673# whether 'pass_all' will *always* work, you probably want this one.
5674
5675case $host_os in
5676aix[4-9]*)
5677  lt_cv_deplibs_check_method=pass_all
5678  ;;
5679
5680beos*)
5681  lt_cv_deplibs_check_method=pass_all
5682  ;;
5683
5684bsdi[45]*)
5685  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5686  lt_cv_file_magic_cmd='/usr/bin/file -L'
5687  lt_cv_file_magic_test_file=/shlib/libc.so
5688  ;;
5689
5690cygwin*)
5691  # func_win32_libid is a shell function defined in ltmain.sh
5692  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5693  lt_cv_file_magic_cmd='func_win32_libid'
5694  ;;
5695
5696mingw* | pw32*)
5697  # Base MSYS/MinGW do not provide the 'file' command needed by
5698  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5699  # unless we find 'file', for example because we are cross-compiling.
5700  if ( file / ) >/dev/null 2>&1; then
5701    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5702    lt_cv_file_magic_cmd='func_win32_libid'
5703  else
5704    # Keep this pattern in sync with the one in func_win32_libid.
5705    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5706    lt_cv_file_magic_cmd='$OBJDUMP -f'
5707  fi
5708  ;;
5709
5710cegcc*)
5711  # use the weaker test based on 'objdump'. See mingw*.
5712  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5713  lt_cv_file_magic_cmd='$OBJDUMP -f'
5714  ;;
5715
5716darwin* | rhapsody*)
5717  lt_cv_deplibs_check_method=pass_all
5718  ;;
5719
5720freebsd* | dragonfly*)
5721  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5722    case $host_cpu in
5723    i*86 )
5724      # Not sure whether the presence of OpenBSD here was a mistake.
5725      # Let's accept both of them until this is cleared up.
5726      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5727      lt_cv_file_magic_cmd=/usr/bin/file
5728      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5729      ;;
5730    esac
5731  else
5732    lt_cv_deplibs_check_method=pass_all
5733  fi
5734  ;;
5735
5736haiku*)
5737  lt_cv_deplibs_check_method=pass_all
5738  ;;
5739
5740hpux10.20* | hpux11*)
5741  lt_cv_file_magic_cmd=/usr/bin/file
5742  case $host_cpu in
5743  ia64*)
5744    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5745    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5746    ;;
5747  hppa*64*)
5748    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]'
5749    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5750    ;;
5751  *)
5752    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5753    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5754    ;;
5755  esac
5756  ;;
5757
5758interix[3-9]*)
5759  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5760  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5761  ;;
5762
5763irix5* | irix6* | nonstopux*)
5764  case $LD in
5765  *-32|*"-32 ") libmagic=32-bit;;
5766  *-n32|*"-n32 ") libmagic=N32;;
5767  *-64|*"-64 ") libmagic=64-bit;;
5768  *) libmagic=never-match;;
5769  esac
5770  lt_cv_deplibs_check_method=pass_all
5771  ;;
5772
5773# This must be glibc/ELF.
5774linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5775  lt_cv_deplibs_check_method=pass_all
5776  ;;
5777
5778netbsd*)
5779  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5780    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5781  else
5782    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5783  fi
5784  ;;
5785
5786newos6*)
5787  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5788  lt_cv_file_magic_cmd=/usr/bin/file
5789  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5790  ;;
5791
5792*nto* | *qnx*)
5793  lt_cv_deplibs_check_method=pass_all
5794  ;;
5795
5796openbsd* | bitrig*)
5797  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5798    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5799  else
5800    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5801  fi
5802  ;;
5803
5804osf3* | osf4* | osf5*)
5805  lt_cv_deplibs_check_method=pass_all
5806  ;;
5807
5808rdos*)
5809  lt_cv_deplibs_check_method=pass_all
5810  ;;
5811
5812solaris*)
5813  lt_cv_deplibs_check_method=pass_all
5814  ;;
5815
5816sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5817  lt_cv_deplibs_check_method=pass_all
5818  ;;
5819
5820sysv4 | sysv4.3*)
5821  case $host_vendor in
5822  motorola)
5823    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]'
5824    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5825    ;;
5826  ncr)
5827    lt_cv_deplibs_check_method=pass_all
5828    ;;
5829  sequent)
5830    lt_cv_file_magic_cmd='/bin/file'
5831    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5832    ;;
5833  sni)
5834    lt_cv_file_magic_cmd='/bin/file'
5835    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5836    lt_cv_file_magic_test_file=/lib/libc.so
5837    ;;
5838  siemens)
5839    lt_cv_deplibs_check_method=pass_all
5840    ;;
5841  pc)
5842    lt_cv_deplibs_check_method=pass_all
5843    ;;
5844  esac
5845  ;;
5846
5847tpf*)
5848  lt_cv_deplibs_check_method=pass_all
5849  ;;
5850os2*)
5851  lt_cv_deplibs_check_method=pass_all
5852  ;;
5853esac
5854
5855fi
5856{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5857printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
5858
5859file_magic_glob=
5860want_nocaseglob=no
5861if test "$build" = "$host"; then
5862  case $host_os in
5863  mingw* | pw32*)
5864    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5865      want_nocaseglob=yes
5866    else
5867      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5868    fi
5869    ;;
5870  esac
5871fi
5872
5873file_magic_cmd=$lt_cv_file_magic_cmd
5874deplibs_check_method=$lt_cv_deplibs_check_method
5875test -z "$deplibs_check_method" && deplibs_check_method=unknown
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898if test -n "$ac_tool_prefix"; then
5899  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5900set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5901{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902printf %s "checking for $ac_word... " >&6; }
5903if test ${ac_cv_prog_DLLTOOL+y}
5904then :
5905  printf %s "(cached) " >&6
5906else $as_nop
5907  if test -n "$DLLTOOL"; then
5908  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5909else
5910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911for as_dir in $PATH
5912do
5913  IFS=$as_save_IFS
5914  case $as_dir in #(((
5915    '') as_dir=./ ;;
5916    */) ;;
5917    *) as_dir=$as_dir/ ;;
5918  esac
5919    for ac_exec_ext in '' $ac_executable_extensions; do
5920  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5921    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5922    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5923    break 2
5924  fi
5925done
5926  done
5927IFS=$as_save_IFS
5928
5929fi
5930fi
5931DLLTOOL=$ac_cv_prog_DLLTOOL
5932if test -n "$DLLTOOL"; then
5933  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5934printf "%s\n" "$DLLTOOL" >&6; }
5935else
5936  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937printf "%s\n" "no" >&6; }
5938fi
5939
5940
5941fi
5942if test -z "$ac_cv_prog_DLLTOOL"; then
5943  ac_ct_DLLTOOL=$DLLTOOL
5944  # Extract the first word of "dlltool", so it can be a program name with args.
5945set dummy dlltool; ac_word=$2
5946{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947printf %s "checking for $ac_word... " >&6; }
5948if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
5949then :
5950  printf %s "(cached) " >&6
5951else $as_nop
5952  if test -n "$ac_ct_DLLTOOL"; then
5953  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5954else
5955as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956for as_dir in $PATH
5957do
5958  IFS=$as_save_IFS
5959  case $as_dir in #(((
5960    '') as_dir=./ ;;
5961    */) ;;
5962    *) as_dir=$as_dir/ ;;
5963  esac
5964    for ac_exec_ext in '' $ac_executable_extensions; do
5965  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5966    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5967    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5968    break 2
5969  fi
5970done
5971  done
5972IFS=$as_save_IFS
5973
5974fi
5975fi
5976ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5977if test -n "$ac_ct_DLLTOOL"; then
5978  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5979printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
5980else
5981  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5982printf "%s\n" "no" >&6; }
5983fi
5984
5985  if test "x$ac_ct_DLLTOOL" = x; then
5986    DLLTOOL="false"
5987  else
5988    case $cross_compiling:$ac_tool_warned in
5989yes:)
5990{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5991printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5992ac_tool_warned=yes ;;
5993esac
5994    DLLTOOL=$ac_ct_DLLTOOL
5995  fi
5996else
5997  DLLTOOL="$ac_cv_prog_DLLTOOL"
5998fi
5999
6000test -z "$DLLTOOL" && DLLTOOL=dlltool
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6012printf %s "checking how to associate runtime and link libraries... " >&6; }
6013if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6014then :
6015  printf %s "(cached) " >&6
6016else $as_nop
6017  lt_cv_sharedlib_from_linklib_cmd='unknown'
6018
6019case $host_os in
6020cygwin* | mingw* | pw32* | cegcc*)
6021  # two different shell functions defined in ltmain.sh;
6022  # decide which one to use based on capabilities of $DLLTOOL
6023  case `$DLLTOOL --help 2>&1` in
6024  *--identify-strict*)
6025    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6026    ;;
6027  *)
6028    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6029    ;;
6030  esac
6031  ;;
6032*)
6033  # fallback: assume linklib IS sharedlib
6034  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6035  ;;
6036esac
6037
6038fi
6039{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6040printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6041sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6042test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6043
6044
6045
6046
6047
6048
6049
6050
6051if test -n "$ac_tool_prefix"; then
6052  for ac_prog in ar
6053  do
6054    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6055set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6056{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057printf %s "checking for $ac_word... " >&6; }
6058if test ${ac_cv_prog_AR+y}
6059then :
6060  printf %s "(cached) " >&6
6061else $as_nop
6062  if test -n "$AR"; then
6063  ac_cv_prog_AR="$AR" # Let the user override the test.
6064else
6065as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6066for as_dir in $PATH
6067do
6068  IFS=$as_save_IFS
6069  case $as_dir in #(((
6070    '') as_dir=./ ;;
6071    */) ;;
6072    *) as_dir=$as_dir/ ;;
6073  esac
6074    for ac_exec_ext in '' $ac_executable_extensions; do
6075  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6076    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6077    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6078    break 2
6079  fi
6080done
6081  done
6082IFS=$as_save_IFS
6083
6084fi
6085fi
6086AR=$ac_cv_prog_AR
6087if test -n "$AR"; then
6088  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6089printf "%s\n" "$AR" >&6; }
6090else
6091  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092printf "%s\n" "no" >&6; }
6093fi
6094
6095
6096    test -n "$AR" && break
6097  done
6098fi
6099if test -z "$AR"; then
6100  ac_ct_AR=$AR
6101  for ac_prog in ar
6102do
6103  # Extract the first word of "$ac_prog", so it can be a program name with args.
6104set dummy $ac_prog; ac_word=$2
6105{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106printf %s "checking for $ac_word... " >&6; }
6107if test ${ac_cv_prog_ac_ct_AR+y}
6108then :
6109  printf %s "(cached) " >&6
6110else $as_nop
6111  if test -n "$ac_ct_AR"; then
6112  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6113else
6114as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6115for as_dir in $PATH
6116do
6117  IFS=$as_save_IFS
6118  case $as_dir in #(((
6119    '') as_dir=./ ;;
6120    */) ;;
6121    *) as_dir=$as_dir/ ;;
6122  esac
6123    for ac_exec_ext in '' $ac_executable_extensions; do
6124  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6125    ac_cv_prog_ac_ct_AR="$ac_prog"
6126    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6127    break 2
6128  fi
6129done
6130  done
6131IFS=$as_save_IFS
6132
6133fi
6134fi
6135ac_ct_AR=$ac_cv_prog_ac_ct_AR
6136if test -n "$ac_ct_AR"; then
6137  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6138printf "%s\n" "$ac_ct_AR" >&6; }
6139else
6140  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6141printf "%s\n" "no" >&6; }
6142fi
6143
6144
6145  test -n "$ac_ct_AR" && break
6146done
6147
6148  if test "x$ac_ct_AR" = x; then
6149    AR="false"
6150  else
6151    case $cross_compiling:$ac_tool_warned in
6152yes:)
6153{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6154printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6155ac_tool_warned=yes ;;
6156esac
6157    AR=$ac_ct_AR
6158  fi
6159fi
6160
6161: ${AR=ar}
6162
6163
6164
6165
6166
6167
6168# Use ARFLAGS variable as AR's operation code to sync the variable naming with
6169# Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
6170# higher priority because thats what people were doing historically (setting
6171# ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
6172# variable obsoleted/removed.
6173
6174test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
6175lt_ar_flags=$AR_FLAGS
6176
6177
6178
6179
6180
6181
6182# Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
6183# by AR_FLAGS because that was never working and AR_FLAGS is about to die.
6184
6185
6186
6187
6188
6189
6190{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6191printf %s "checking for archiver @FILE support... " >&6; }
6192if test ${lt_cv_ar_at_file+y}
6193then :
6194  printf %s "(cached) " >&6
6195else $as_nop
6196  lt_cv_ar_at_file=no
6197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6198/* end confdefs.h.  */
6199
6200int
6201main (void)
6202{
6203
6204  ;
6205  return 0;
6206}
6207_ACEOF
6208if ac_fn_c_try_compile "$LINENO"
6209then :
6210  echo conftest.$ac_objext > conftest.lst
6211      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6212      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6213  (eval $lt_ar_try) 2>&5
6214  ac_status=$?
6215  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6216  test $ac_status = 0; }
6217      if test 0 -eq "$ac_status"; then
6218	# Ensure the archiver fails upon bogus file names.
6219	rm -f conftest.$ac_objext libconftest.a
6220	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6221  (eval $lt_ar_try) 2>&5
6222  ac_status=$?
6223  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6224  test $ac_status = 0; }
6225	if test 0 -ne "$ac_status"; then
6226          lt_cv_ar_at_file=@
6227        fi
6228      fi
6229      rm -f conftest.* libconftest.a
6230
6231fi
6232rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6233
6234fi
6235{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6236printf "%s\n" "$lt_cv_ar_at_file" >&6; }
6237
6238if test no = "$lt_cv_ar_at_file"; then
6239  archiver_list_spec=
6240else
6241  archiver_list_spec=$lt_cv_ar_at_file
6242fi
6243
6244
6245
6246
6247
6248
6249
6250if test -n "$ac_tool_prefix"; then
6251  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6252set dummy ${ac_tool_prefix}strip; ac_word=$2
6253{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6254printf %s "checking for $ac_word... " >&6; }
6255if test ${ac_cv_prog_STRIP+y}
6256then :
6257  printf %s "(cached) " >&6
6258else $as_nop
6259  if test -n "$STRIP"; then
6260  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6261else
6262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263for as_dir in $PATH
6264do
6265  IFS=$as_save_IFS
6266  case $as_dir in #(((
6267    '') as_dir=./ ;;
6268    */) ;;
6269    *) as_dir=$as_dir/ ;;
6270  esac
6271    for ac_exec_ext in '' $ac_executable_extensions; do
6272  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6273    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6274    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6275    break 2
6276  fi
6277done
6278  done
6279IFS=$as_save_IFS
6280
6281fi
6282fi
6283STRIP=$ac_cv_prog_STRIP
6284if test -n "$STRIP"; then
6285  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6286printf "%s\n" "$STRIP" >&6; }
6287else
6288  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289printf "%s\n" "no" >&6; }
6290fi
6291
6292
6293fi
6294if test -z "$ac_cv_prog_STRIP"; then
6295  ac_ct_STRIP=$STRIP
6296  # Extract the first word of "strip", so it can be a program name with args.
6297set dummy strip; ac_word=$2
6298{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6299printf %s "checking for $ac_word... " >&6; }
6300if test ${ac_cv_prog_ac_ct_STRIP+y}
6301then :
6302  printf %s "(cached) " >&6
6303else $as_nop
6304  if test -n "$ac_ct_STRIP"; then
6305  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6306else
6307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6308for as_dir in $PATH
6309do
6310  IFS=$as_save_IFS
6311  case $as_dir in #(((
6312    '') as_dir=./ ;;
6313    */) ;;
6314    *) as_dir=$as_dir/ ;;
6315  esac
6316    for ac_exec_ext in '' $ac_executable_extensions; do
6317  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6318    ac_cv_prog_ac_ct_STRIP="strip"
6319    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6320    break 2
6321  fi
6322done
6323  done
6324IFS=$as_save_IFS
6325
6326fi
6327fi
6328ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6329if test -n "$ac_ct_STRIP"; then
6330  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6331printf "%s\n" "$ac_ct_STRIP" >&6; }
6332else
6333  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6334printf "%s\n" "no" >&6; }
6335fi
6336
6337  if test "x$ac_ct_STRIP" = x; then
6338    STRIP=":"
6339  else
6340    case $cross_compiling:$ac_tool_warned in
6341yes:)
6342{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6343printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6344ac_tool_warned=yes ;;
6345esac
6346    STRIP=$ac_ct_STRIP
6347  fi
6348else
6349  STRIP="$ac_cv_prog_STRIP"
6350fi
6351
6352test -z "$STRIP" && STRIP=:
6353
6354
6355
6356
6357
6358
6359if test -n "$ac_tool_prefix"; then
6360  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6361set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6362{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6363printf %s "checking for $ac_word... " >&6; }
6364if test ${ac_cv_prog_RANLIB+y}
6365then :
6366  printf %s "(cached) " >&6
6367else $as_nop
6368  if test -n "$RANLIB"; then
6369  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6370else
6371as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372for as_dir in $PATH
6373do
6374  IFS=$as_save_IFS
6375  case $as_dir in #(((
6376    '') as_dir=./ ;;
6377    */) ;;
6378    *) as_dir=$as_dir/ ;;
6379  esac
6380    for ac_exec_ext in '' $ac_executable_extensions; do
6381  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6382    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6383    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6384    break 2
6385  fi
6386done
6387  done
6388IFS=$as_save_IFS
6389
6390fi
6391fi
6392RANLIB=$ac_cv_prog_RANLIB
6393if test -n "$RANLIB"; then
6394  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6395printf "%s\n" "$RANLIB" >&6; }
6396else
6397  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6398printf "%s\n" "no" >&6; }
6399fi
6400
6401
6402fi
6403if test -z "$ac_cv_prog_RANLIB"; then
6404  ac_ct_RANLIB=$RANLIB
6405  # Extract the first word of "ranlib", so it can be a program name with args.
6406set dummy ranlib; ac_word=$2
6407{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6408printf %s "checking for $ac_word... " >&6; }
6409if test ${ac_cv_prog_ac_ct_RANLIB+y}
6410then :
6411  printf %s "(cached) " >&6
6412else $as_nop
6413  if test -n "$ac_ct_RANLIB"; then
6414  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6415else
6416as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417for as_dir in $PATH
6418do
6419  IFS=$as_save_IFS
6420  case $as_dir in #(((
6421    '') as_dir=./ ;;
6422    */) ;;
6423    *) as_dir=$as_dir/ ;;
6424  esac
6425    for ac_exec_ext in '' $ac_executable_extensions; do
6426  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6427    ac_cv_prog_ac_ct_RANLIB="ranlib"
6428    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6429    break 2
6430  fi
6431done
6432  done
6433IFS=$as_save_IFS
6434
6435fi
6436fi
6437ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6438if test -n "$ac_ct_RANLIB"; then
6439  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6440printf "%s\n" "$ac_ct_RANLIB" >&6; }
6441else
6442  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6443printf "%s\n" "no" >&6; }
6444fi
6445
6446  if test "x$ac_ct_RANLIB" = x; then
6447    RANLIB=":"
6448  else
6449    case $cross_compiling:$ac_tool_warned in
6450yes:)
6451{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6452printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6453ac_tool_warned=yes ;;
6454esac
6455    RANLIB=$ac_ct_RANLIB
6456  fi
6457else
6458  RANLIB="$ac_cv_prog_RANLIB"
6459fi
6460
6461test -z "$RANLIB" && RANLIB=:
6462
6463
6464
6465
6466
6467
6468# Determine commands to create old-style static archives.
6469old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6470old_postinstall_cmds='chmod 644 $oldlib'
6471old_postuninstall_cmds=
6472
6473if test -n "$RANLIB"; then
6474  case $host_os in
6475  bitrig* | openbsd*)
6476    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6477    ;;
6478  *)
6479    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6480    ;;
6481  esac
6482  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6483fi
6484
6485case $host_os in
6486  darwin*)
6487    lock_old_archive_extraction=yes ;;
6488  *)
6489    lock_old_archive_extraction=no ;;
6490esac
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530# If no C compiler was specified, use CC.
6531LTCC=${LTCC-"$CC"}
6532
6533# If no C compiler flags were specified, use CFLAGS.
6534LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6535
6536# Allow CC to be a program name with arguments.
6537compiler=$CC
6538
6539
6540# Check for command to grab the raw symbol name followed by C symbol from nm.
6541{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6542printf %s "checking command to parse $NM output from $compiler object... " >&6; }
6543if test ${lt_cv_sys_global_symbol_pipe+y}
6544then :
6545  printf %s "(cached) " >&6
6546else $as_nop
6547
6548# These are sane defaults that work on at least a few old systems.
6549# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6550
6551# Character class describing NM global symbol codes.
6552symcode='[BCDEGRST]'
6553
6554# Regexp to match symbols that can be accessed directly from C.
6555sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6556
6557# Define system-specific variables.
6558case $host_os in
6559aix*)
6560  symcode='[BCDT]'
6561  ;;
6562cygwin* | mingw* | pw32* | cegcc*)
6563  symcode='[ABCDGISTW]'
6564  ;;
6565hpux*)
6566  if test ia64 = "$host_cpu"; then
6567    symcode='[ABCDEGRST]'
6568  fi
6569  ;;
6570irix* | nonstopux*)
6571  symcode='[BCDEGRST]'
6572  ;;
6573osf*)
6574  symcode='[BCDEGQRST]'
6575  ;;
6576solaris*)
6577  symcode='[BDRT]'
6578  ;;
6579sco3.2v5*)
6580  symcode='[DT]'
6581  ;;
6582sysv4.2uw2*)
6583  symcode='[DT]'
6584  ;;
6585sysv5* | sco5v6* | unixware* | OpenUNIX*)
6586  symcode='[ABDT]'
6587  ;;
6588sysv4)
6589  symcode='[DFNSTU]'
6590  ;;
6591esac
6592
6593# If we're using GNU nm, then use its standard symbol codes.
6594case `$NM -V 2>&1` in
6595*GNU* | *'with BFD'*)
6596  symcode='[ABCDGIRSTW]' ;;
6597esac
6598
6599if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6600  # Gets list of data symbols to import.
6601  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6602  # Adjust the below global symbol transforms to fixup imported variables.
6603  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6604  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6605  lt_c_name_lib_hook="\
6606  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6607  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6608else
6609  # Disable hooks by default.
6610  lt_cv_sys_global_symbol_to_import=
6611  lt_cdecl_hook=
6612  lt_c_name_hook=
6613  lt_c_name_lib_hook=
6614fi
6615
6616# Transform an extracted symbol line into a proper C declaration.
6617# Some systems (esp. on ia64) link data and code symbols differently,
6618# so use this general approach.
6619lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6620$lt_cdecl_hook\
6621" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6622" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6623
6624# Transform an extracted symbol line into symbol name and symbol address
6625lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6626$lt_c_name_hook\
6627" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6628" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6629
6630# Transform an extracted symbol line into symbol name with lib prefix and
6631# symbol address.
6632lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6633$lt_c_name_lib_hook\
6634" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6635" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6636" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6637
6638# Handle CRLF in mingw tool chain
6639opt_cr=
6640case $build_os in
6641mingw*)
6642  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6643  ;;
6644esac
6645
6646# Try without a prefix underscore, then with it.
6647for ac_symprfx in "" "_"; do
6648
6649  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6650  symxfrm="\\1 $ac_symprfx\\2 \\2"
6651
6652  # Write the raw and C identifiers.
6653  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6654    # Fake it for dumpbin and say T for any non-static function,
6655    # D for any global variable and I for any imported variable.
6656    # Also find C++ and __fastcall symbols from MSVC++ or ICC,
6657    # which start with @ or ?.
6658    lt_cv_sys_global_symbol_pipe="$AWK '"\
6659"     {last_section=section; section=\$ 3};"\
6660"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6661"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6662"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6663"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6664"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6665"     \$ 0!~/External *\|/{next};"\
6666"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6667"     {if(hide[section]) next};"\
6668"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6669"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6670"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6671"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6672"     ' prfx=^$ac_symprfx"
6673  else
6674    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6675  fi
6676  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6677
6678  # Check to see that the pipe works correctly.
6679  pipe_works=no
6680
6681  rm -f conftest*
6682  cat > conftest.$ac_ext <<_LT_EOF
6683#ifdef __cplusplus
6684extern "C" {
6685#endif
6686char nm_test_var;
6687void nm_test_func(void);
6688void nm_test_func(void){}
6689#ifdef __cplusplus
6690}
6691#endif
6692int main(){nm_test_var='a';nm_test_func();return(0);}
6693_LT_EOF
6694
6695  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6696  (eval $ac_compile) 2>&5
6697  ac_status=$?
6698  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6699  test $ac_status = 0; }; then
6700    # Now try to grab the symbols.
6701    nlist=conftest.nm
6702    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6703  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6704  ac_status=$?
6705  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6706  test $ac_status = 0; } && test -s "$nlist"; then
6707      # Try sorting and uniquifying the output.
6708      if sort "$nlist" | uniq > "$nlist"T; then
6709	mv -f "$nlist"T "$nlist"
6710      else
6711	rm -f "$nlist"T
6712      fi
6713
6714      # Make sure that we snagged all the symbols we need.
6715      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6716	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6717	  cat <<_LT_EOF > conftest.$ac_ext
6718/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6719#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6720/* DATA imports from DLLs on WIN32 can't be const, because runtime
6721   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6722# define LT_DLSYM_CONST
6723#elif defined __osf__
6724/* This system does not cope well with relocations in const data.  */
6725# define LT_DLSYM_CONST
6726#else
6727# define LT_DLSYM_CONST const
6728#endif
6729
6730#ifdef __cplusplus
6731extern "C" {
6732#endif
6733
6734_LT_EOF
6735	  # Now generate the symbol file.
6736	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6737
6738	  cat <<_LT_EOF >> conftest.$ac_ext
6739
6740/* The mapping between symbol names and symbols.  */
6741LT_DLSYM_CONST struct {
6742  const char *name;
6743  void       *address;
6744}
6745lt__PROGRAM__LTX_preloaded_symbols[] =
6746{
6747  { "@PROGRAM@", (void *) 0 },
6748_LT_EOF
6749	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6750	  cat <<\_LT_EOF >> conftest.$ac_ext
6751  {0, (void *) 0}
6752};
6753
6754/* This works around a problem in FreeBSD linker */
6755#ifdef FREEBSD_WORKAROUND
6756static const void *lt_preloaded_setup() {
6757  return lt__PROGRAM__LTX_preloaded_symbols;
6758}
6759#endif
6760
6761#ifdef __cplusplus
6762}
6763#endif
6764_LT_EOF
6765	  # Now try linking the two files.
6766	  mv conftest.$ac_objext conftstm.$ac_objext
6767	  lt_globsym_save_LIBS=$LIBS
6768	  lt_globsym_save_CFLAGS=$CFLAGS
6769	  LIBS=conftstm.$ac_objext
6770	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6771	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6772  (eval $ac_link) 2>&5
6773  ac_status=$?
6774  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6775  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6776	    pipe_works=yes
6777	  fi
6778	  LIBS=$lt_globsym_save_LIBS
6779	  CFLAGS=$lt_globsym_save_CFLAGS
6780	else
6781	  echo "cannot find nm_test_func in $nlist" >&5
6782	fi
6783      else
6784	echo "cannot find nm_test_var in $nlist" >&5
6785      fi
6786    else
6787      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6788    fi
6789  else
6790    echo "$progname: failed program was:" >&5
6791    cat conftest.$ac_ext >&5
6792  fi
6793  rm -rf conftest* conftst*
6794
6795  # Do not use the global_symbol_pipe unless it works.
6796  if test yes = "$pipe_works"; then
6797    break
6798  else
6799    lt_cv_sys_global_symbol_pipe=
6800  fi
6801done
6802
6803fi
6804
6805if test -z "$lt_cv_sys_global_symbol_pipe"; then
6806  lt_cv_sys_global_symbol_to_cdecl=
6807fi
6808if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6809  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6810printf "%s\n" "failed" >&6; }
6811else
6812  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6813printf "%s\n" "ok" >&6; }
6814fi
6815
6816# Response file support.
6817if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6818  nm_file_list_spec='@'
6819elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6820  nm_file_list_spec='@'
6821fi
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
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6860printf %s "checking for sysroot... " >&6; }
6861
6862# Check whether --with-sysroot was given.
6863if test ${with_sysroot+y}
6864then :
6865  withval=$with_sysroot;
6866else $as_nop
6867  with_sysroot=no
6868fi
6869
6870
6871lt_sysroot=
6872case $with_sysroot in #(
6873 yes)
6874   if test yes = "$GCC"; then
6875     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6876   fi
6877   ;; #(
6878 /*)
6879   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6880   ;; #(
6881 no|'')
6882   ;; #(
6883 *)
6884   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6885printf "%s\n" "$with_sysroot" >&6; }
6886   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6887   ;;
6888esac
6889
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6891printf "%s\n" "${lt_sysroot:-no}" >&6; }
6892
6893
6894
6895
6896
6897{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6898printf %s "checking for a working dd... " >&6; }
6899if test ${ac_cv_path_lt_DD+y}
6900then :
6901  printf %s "(cached) " >&6
6902else $as_nop
6903  printf 0123456789abcdef0123456789abcdef >conftest.i
6904cat conftest.i conftest.i >conftest2.i
6905: ${lt_DD:=$DD}
6906if test -z "$lt_DD"; then
6907  ac_path_lt_DD_found=false
6908  # Loop through the user's path and test for each of PROGNAME-LIST
6909  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6910for as_dir in $PATH
6911do
6912  IFS=$as_save_IFS
6913  case $as_dir in #(((
6914    '') as_dir=./ ;;
6915    */) ;;
6916    *) as_dir=$as_dir/ ;;
6917  esac
6918    for ac_prog in dd
6919   do
6920    for ac_exec_ext in '' $ac_executable_extensions; do
6921      ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
6922      as_fn_executable_p "$ac_path_lt_DD" || continue
6923if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6924  cmp -s conftest.i conftest.out \
6925  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6926fi
6927      $ac_path_lt_DD_found && break 3
6928    done
6929  done
6930  done
6931IFS=$as_save_IFS
6932  if test -z "$ac_cv_path_lt_DD"; then
6933    :
6934  fi
6935else
6936  ac_cv_path_lt_DD=$lt_DD
6937fi
6938
6939rm -f conftest.i conftest2.i conftest.out
6940fi
6941{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6942printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
6943
6944
6945{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6946printf %s "checking how to truncate binary pipes... " >&6; }
6947if test ${lt_cv_truncate_bin+y}
6948then :
6949  printf %s "(cached) " >&6
6950else $as_nop
6951  printf 0123456789abcdef0123456789abcdef >conftest.i
6952cat conftest.i conftest.i >conftest2.i
6953lt_cv_truncate_bin=
6954if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6955  cmp -s conftest.i conftest.out \
6956  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6957fi
6958rm -f conftest.i conftest2.i conftest.out
6959test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6960fi
6961{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6962printf "%s\n" "$lt_cv_truncate_bin" >&6; }
6963
6964
6965
6966
6967
6968
6969
6970# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6971func_cc_basename ()
6972{
6973    for cc_temp in $*""; do
6974      case $cc_temp in
6975        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6976        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6977        \-*) ;;
6978        *) break;;
6979      esac
6980    done
6981    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6982}
6983
6984# Check whether --enable-libtool-lock was given.
6985if test ${enable_libtool_lock+y}
6986then :
6987  enableval=$enable_libtool_lock;
6988fi
6989
6990test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6991
6992# Some flags need to be propagated to the compiler or linker for good
6993# libtool support.
6994case $host in
6995ia64-*-hpux*)
6996  # Find out what ABI is being produced by ac_compile, and set mode
6997  # options accordingly.
6998  echo 'int i;' > conftest.$ac_ext
6999  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7000  (eval $ac_compile) 2>&5
7001  ac_status=$?
7002  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7003  test $ac_status = 0; }; then
7004    case `/usr/bin/file conftest.$ac_objext` in
7005      *ELF-32*)
7006	HPUX_IA64_MODE=32
7007	;;
7008      *ELF-64*)
7009	HPUX_IA64_MODE=64
7010	;;
7011    esac
7012  fi
7013  rm -rf conftest*
7014  ;;
7015*-*-irix6*)
7016  # Find out what ABI is being produced by ac_compile, and set linker
7017  # options accordingly.
7018  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7019  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7020  (eval $ac_compile) 2>&5
7021  ac_status=$?
7022  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7023  test $ac_status = 0; }; then
7024    if test yes = "$lt_cv_prog_gnu_ld"; then
7025      case `/usr/bin/file conftest.$ac_objext` in
7026	*32-bit*)
7027	  LD="${LD-ld} -melf32bsmip"
7028	  ;;
7029	*N32*)
7030	  LD="${LD-ld} -melf32bmipn32"
7031	  ;;
7032	*64-bit*)
7033	  LD="${LD-ld} -melf64bmip"
7034	;;
7035      esac
7036    else
7037      case `/usr/bin/file conftest.$ac_objext` in
7038	*32-bit*)
7039	  LD="${LD-ld} -32"
7040	  ;;
7041	*N32*)
7042	  LD="${LD-ld} -n32"
7043	  ;;
7044	*64-bit*)
7045	  LD="${LD-ld} -64"
7046	  ;;
7047      esac
7048    fi
7049  fi
7050  rm -rf conftest*
7051  ;;
7052
7053mips64*-*linux*)
7054  # Find out what ABI is being produced by ac_compile, and set linker
7055  # options accordingly.
7056  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7057  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7058  (eval $ac_compile) 2>&5
7059  ac_status=$?
7060  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7061  test $ac_status = 0; }; then
7062    emul=elf
7063    case `/usr/bin/file conftest.$ac_objext` in
7064      *32-bit*)
7065	emul="${emul}32"
7066	;;
7067      *64-bit*)
7068	emul="${emul}64"
7069	;;
7070    esac
7071    case `/usr/bin/file conftest.$ac_objext` in
7072      *MSB*)
7073	emul="${emul}btsmip"
7074	;;
7075      *LSB*)
7076	emul="${emul}ltsmip"
7077	;;
7078    esac
7079    case `/usr/bin/file conftest.$ac_objext` in
7080      *N32*)
7081	emul="${emul}n32"
7082	;;
7083    esac
7084    LD="${LD-ld} -m $emul"
7085  fi
7086  rm -rf conftest*
7087  ;;
7088
7089x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7090s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7091  # Find out what ABI is being produced by ac_compile, and set linker
7092  # options accordingly.  Note that the listed cases only cover the
7093  # situations where additional linker options are needed (such as when
7094  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7095  # vice versa); the common cases where no linker options are needed do
7096  # not appear in the list.
7097  echo 'int i;' > conftest.$ac_ext
7098  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7099  (eval $ac_compile) 2>&5
7100  ac_status=$?
7101  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7102  test $ac_status = 0; }; then
7103    case `/usr/bin/file conftest.o` in
7104      *32-bit*)
7105	case $host in
7106	  x86_64-*kfreebsd*-gnu)
7107	    LD="${LD-ld} -m elf_i386_fbsd"
7108	    ;;
7109	  x86_64-*linux*)
7110	    case `/usr/bin/file conftest.o` in
7111	      *x86-64*)
7112		LD="${LD-ld} -m elf32_x86_64"
7113		;;
7114	      *)
7115		LD="${LD-ld} -m elf_i386"
7116		;;
7117	    esac
7118	    ;;
7119	  powerpc64le-*linux*)
7120	    LD="${LD-ld} -m elf32lppclinux"
7121	    ;;
7122	  powerpc64-*linux*)
7123	    LD="${LD-ld} -m elf32ppclinux"
7124	    ;;
7125	  s390x-*linux*)
7126	    LD="${LD-ld} -m elf_s390"
7127	    ;;
7128	  sparc64-*linux*)
7129	    LD="${LD-ld} -m elf32_sparc"
7130	    ;;
7131	esac
7132	;;
7133      *64-bit*)
7134	case $host in
7135	  x86_64-*kfreebsd*-gnu)
7136	    LD="${LD-ld} -m elf_x86_64_fbsd"
7137	    ;;
7138	  x86_64-*linux*)
7139	    LD="${LD-ld} -m elf_x86_64"
7140	    ;;
7141	  powerpcle-*linux*)
7142	    LD="${LD-ld} -m elf64lppc"
7143	    ;;
7144	  powerpc-*linux*)
7145	    LD="${LD-ld} -m elf64ppc"
7146	    ;;
7147	  s390*-*linux*|s390*-*tpf*)
7148	    LD="${LD-ld} -m elf64_s390"
7149	    ;;
7150	  sparc*-*linux*)
7151	    LD="${LD-ld} -m elf64_sparc"
7152	    ;;
7153	esac
7154	;;
7155    esac
7156  fi
7157  rm -rf conftest*
7158  ;;
7159
7160*-*-sco3.2v5*)
7161  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7162  SAVE_CFLAGS=$CFLAGS
7163  CFLAGS="$CFLAGS -belf"
7164  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7165printf %s "checking whether the C compiler needs -belf... " >&6; }
7166if test ${lt_cv_cc_needs_belf+y}
7167then :
7168  printf %s "(cached) " >&6
7169else $as_nop
7170  ac_ext=c
7171ac_cpp='$CPP $CPPFLAGS'
7172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7174ac_compiler_gnu=$ac_cv_c_compiler_gnu
7175
7176     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7177/* end confdefs.h.  */
7178
7179int
7180main (void)
7181{
7182
7183  ;
7184  return 0;
7185}
7186_ACEOF
7187if ac_fn_c_try_link "$LINENO"
7188then :
7189  lt_cv_cc_needs_belf=yes
7190else $as_nop
7191  lt_cv_cc_needs_belf=no
7192fi
7193rm -f core conftest.err conftest.$ac_objext conftest.beam \
7194    conftest$ac_exeext conftest.$ac_ext
7195     ac_ext=c
7196ac_cpp='$CPP $CPPFLAGS'
7197ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7198ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7199ac_compiler_gnu=$ac_cv_c_compiler_gnu
7200
7201fi
7202{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7203printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
7204  if test yes != "$lt_cv_cc_needs_belf"; then
7205    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7206    CFLAGS=$SAVE_CFLAGS
7207  fi
7208  ;;
7209*-*solaris*)
7210  # Find out what ABI is being produced by ac_compile, and set linker
7211  # options accordingly.
7212  echo 'int i;' > conftest.$ac_ext
7213  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7214  (eval $ac_compile) 2>&5
7215  ac_status=$?
7216  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7217  test $ac_status = 0; }; then
7218    case `/usr/bin/file conftest.o` in
7219    *64-bit*)
7220      case $lt_cv_prog_gnu_ld in
7221      yes*)
7222        case $host in
7223        i?86-*-solaris*|x86_64-*-solaris*)
7224          LD="${LD-ld} -m elf_x86_64"
7225          ;;
7226        sparc*-*-solaris*)
7227          LD="${LD-ld} -m elf64_sparc"
7228          ;;
7229        esac
7230        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7231        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7232          LD=${LD-ld}_sol2
7233        fi
7234        ;;
7235      *)
7236	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7237	  LD="${LD-ld} -64"
7238	fi
7239	;;
7240      esac
7241      ;;
7242    esac
7243  fi
7244  rm -rf conftest*
7245  ;;
7246esac
7247
7248need_locks=$enable_libtool_lock
7249
7250if test -n "$ac_tool_prefix"; then
7251  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7252set dummy ${ac_tool_prefix}mt; ac_word=$2
7253{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7254printf %s "checking for $ac_word... " >&6; }
7255if test ${ac_cv_prog_MANIFEST_TOOL+y}
7256then :
7257  printf %s "(cached) " >&6
7258else $as_nop
7259  if test -n "$MANIFEST_TOOL"; then
7260  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7261else
7262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7263for as_dir in $PATH
7264do
7265  IFS=$as_save_IFS
7266  case $as_dir in #(((
7267    '') as_dir=./ ;;
7268    */) ;;
7269    *) as_dir=$as_dir/ ;;
7270  esac
7271    for ac_exec_ext in '' $ac_executable_extensions; do
7272  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7273    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7274    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7275    break 2
7276  fi
7277done
7278  done
7279IFS=$as_save_IFS
7280
7281fi
7282fi
7283MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7284if test -n "$MANIFEST_TOOL"; then
7285  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7286printf "%s\n" "$MANIFEST_TOOL" >&6; }
7287else
7288  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7289printf "%s\n" "no" >&6; }
7290fi
7291
7292
7293fi
7294if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7295  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7296  # Extract the first word of "mt", so it can be a program name with args.
7297set dummy mt; ac_word=$2
7298{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7299printf %s "checking for $ac_word... " >&6; }
7300if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
7301then :
7302  printf %s "(cached) " >&6
7303else $as_nop
7304  if test -n "$ac_ct_MANIFEST_TOOL"; then
7305  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7306else
7307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308for as_dir in $PATH
7309do
7310  IFS=$as_save_IFS
7311  case $as_dir in #(((
7312    '') as_dir=./ ;;
7313    */) ;;
7314    *) as_dir=$as_dir/ ;;
7315  esac
7316    for ac_exec_ext in '' $ac_executable_extensions; do
7317  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7318    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7319    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7320    break 2
7321  fi
7322done
7323  done
7324IFS=$as_save_IFS
7325
7326fi
7327fi
7328ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7329if test -n "$ac_ct_MANIFEST_TOOL"; then
7330  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7331printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
7332else
7333  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334printf "%s\n" "no" >&6; }
7335fi
7336
7337  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7338    MANIFEST_TOOL=":"
7339  else
7340    case $cross_compiling:$ac_tool_warned in
7341yes:)
7342{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7343printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7344ac_tool_warned=yes ;;
7345esac
7346    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7347  fi
7348else
7349  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7350fi
7351
7352test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7353{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7354printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7355if test ${lt_cv_path_mainfest_tool+y}
7356then :
7357  printf %s "(cached) " >&6
7358else $as_nop
7359  lt_cv_path_mainfest_tool=no
7360  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7361  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7362  cat conftest.err >&5
7363  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7364    lt_cv_path_mainfest_tool=yes
7365  fi
7366  rm -f conftest*
7367fi
7368{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7369printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
7370if test yes != "$lt_cv_path_mainfest_tool"; then
7371  MANIFEST_TOOL=:
7372fi
7373
7374
7375
7376
7377
7378
7379  case $host_os in
7380    rhapsody* | darwin*)
7381    if test -n "$ac_tool_prefix"; then
7382  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7383set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7384{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7385printf %s "checking for $ac_word... " >&6; }
7386if test ${ac_cv_prog_DSYMUTIL+y}
7387then :
7388  printf %s "(cached) " >&6
7389else $as_nop
7390  if test -n "$DSYMUTIL"; then
7391  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7392else
7393as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394for as_dir in $PATH
7395do
7396  IFS=$as_save_IFS
7397  case $as_dir in #(((
7398    '') as_dir=./ ;;
7399    */) ;;
7400    *) as_dir=$as_dir/ ;;
7401  esac
7402    for ac_exec_ext in '' $ac_executable_extensions; do
7403  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7404    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7405    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7406    break 2
7407  fi
7408done
7409  done
7410IFS=$as_save_IFS
7411
7412fi
7413fi
7414DSYMUTIL=$ac_cv_prog_DSYMUTIL
7415if test -n "$DSYMUTIL"; then
7416  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7417printf "%s\n" "$DSYMUTIL" >&6; }
7418else
7419  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420printf "%s\n" "no" >&6; }
7421fi
7422
7423
7424fi
7425if test -z "$ac_cv_prog_DSYMUTIL"; then
7426  ac_ct_DSYMUTIL=$DSYMUTIL
7427  # Extract the first word of "dsymutil", so it can be a program name with args.
7428set dummy dsymutil; ac_word=$2
7429{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430printf %s "checking for $ac_word... " >&6; }
7431if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
7432then :
7433  printf %s "(cached) " >&6
7434else $as_nop
7435  if test -n "$ac_ct_DSYMUTIL"; then
7436  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7437else
7438as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439for as_dir in $PATH
7440do
7441  IFS=$as_save_IFS
7442  case $as_dir in #(((
7443    '') as_dir=./ ;;
7444    */) ;;
7445    *) as_dir=$as_dir/ ;;
7446  esac
7447    for ac_exec_ext in '' $ac_executable_extensions; do
7448  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7449    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7450    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7451    break 2
7452  fi
7453done
7454  done
7455IFS=$as_save_IFS
7456
7457fi
7458fi
7459ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7460if test -n "$ac_ct_DSYMUTIL"; then
7461  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7462printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
7463else
7464  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465printf "%s\n" "no" >&6; }
7466fi
7467
7468  if test "x$ac_ct_DSYMUTIL" = x; then
7469    DSYMUTIL=":"
7470  else
7471    case $cross_compiling:$ac_tool_warned in
7472yes:)
7473{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7474printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7475ac_tool_warned=yes ;;
7476esac
7477    DSYMUTIL=$ac_ct_DSYMUTIL
7478  fi
7479else
7480  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7481fi
7482
7483    if test -n "$ac_tool_prefix"; then
7484  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7485set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7486{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7487printf %s "checking for $ac_word... " >&6; }
7488if test ${ac_cv_prog_NMEDIT+y}
7489then :
7490  printf %s "(cached) " >&6
7491else $as_nop
7492  if test -n "$NMEDIT"; then
7493  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7494else
7495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7496for as_dir in $PATH
7497do
7498  IFS=$as_save_IFS
7499  case $as_dir in #(((
7500    '') as_dir=./ ;;
7501    */) ;;
7502    *) as_dir=$as_dir/ ;;
7503  esac
7504    for ac_exec_ext in '' $ac_executable_extensions; do
7505  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7506    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7507    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7508    break 2
7509  fi
7510done
7511  done
7512IFS=$as_save_IFS
7513
7514fi
7515fi
7516NMEDIT=$ac_cv_prog_NMEDIT
7517if test -n "$NMEDIT"; then
7518  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7519printf "%s\n" "$NMEDIT" >&6; }
7520else
7521  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522printf "%s\n" "no" >&6; }
7523fi
7524
7525
7526fi
7527if test -z "$ac_cv_prog_NMEDIT"; then
7528  ac_ct_NMEDIT=$NMEDIT
7529  # Extract the first word of "nmedit", so it can be a program name with args.
7530set dummy nmedit; ac_word=$2
7531{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532printf %s "checking for $ac_word... " >&6; }
7533if test ${ac_cv_prog_ac_ct_NMEDIT+y}
7534then :
7535  printf %s "(cached) " >&6
7536else $as_nop
7537  if test -n "$ac_ct_NMEDIT"; then
7538  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7539else
7540as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7541for as_dir in $PATH
7542do
7543  IFS=$as_save_IFS
7544  case $as_dir in #(((
7545    '') as_dir=./ ;;
7546    */) ;;
7547    *) as_dir=$as_dir/ ;;
7548  esac
7549    for ac_exec_ext in '' $ac_executable_extensions; do
7550  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7551    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7552    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7553    break 2
7554  fi
7555done
7556  done
7557IFS=$as_save_IFS
7558
7559fi
7560fi
7561ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7562if test -n "$ac_ct_NMEDIT"; then
7563  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7564printf "%s\n" "$ac_ct_NMEDIT" >&6; }
7565else
7566  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7567printf "%s\n" "no" >&6; }
7568fi
7569
7570  if test "x$ac_ct_NMEDIT" = x; then
7571    NMEDIT=":"
7572  else
7573    case $cross_compiling:$ac_tool_warned in
7574yes:)
7575{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7576printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7577ac_tool_warned=yes ;;
7578esac
7579    NMEDIT=$ac_ct_NMEDIT
7580  fi
7581else
7582  NMEDIT="$ac_cv_prog_NMEDIT"
7583fi
7584
7585    if test -n "$ac_tool_prefix"; then
7586  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7587set dummy ${ac_tool_prefix}lipo; ac_word=$2
7588{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7589printf %s "checking for $ac_word... " >&6; }
7590if test ${ac_cv_prog_LIPO+y}
7591then :
7592  printf %s "(cached) " >&6
7593else $as_nop
7594  if test -n "$LIPO"; then
7595  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7596else
7597as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7598for as_dir in $PATH
7599do
7600  IFS=$as_save_IFS
7601  case $as_dir in #(((
7602    '') as_dir=./ ;;
7603    */) ;;
7604    *) as_dir=$as_dir/ ;;
7605  esac
7606    for ac_exec_ext in '' $ac_executable_extensions; do
7607  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7608    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7609    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7610    break 2
7611  fi
7612done
7613  done
7614IFS=$as_save_IFS
7615
7616fi
7617fi
7618LIPO=$ac_cv_prog_LIPO
7619if test -n "$LIPO"; then
7620  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7621printf "%s\n" "$LIPO" >&6; }
7622else
7623  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624printf "%s\n" "no" >&6; }
7625fi
7626
7627
7628fi
7629if test -z "$ac_cv_prog_LIPO"; then
7630  ac_ct_LIPO=$LIPO
7631  # Extract the first word of "lipo", so it can be a program name with args.
7632set dummy lipo; ac_word=$2
7633{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7634printf %s "checking for $ac_word... " >&6; }
7635if test ${ac_cv_prog_ac_ct_LIPO+y}
7636then :
7637  printf %s "(cached) " >&6
7638else $as_nop
7639  if test -n "$ac_ct_LIPO"; then
7640  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7641else
7642as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7643for as_dir in $PATH
7644do
7645  IFS=$as_save_IFS
7646  case $as_dir in #(((
7647    '') as_dir=./ ;;
7648    */) ;;
7649    *) as_dir=$as_dir/ ;;
7650  esac
7651    for ac_exec_ext in '' $ac_executable_extensions; do
7652  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7653    ac_cv_prog_ac_ct_LIPO="lipo"
7654    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7655    break 2
7656  fi
7657done
7658  done
7659IFS=$as_save_IFS
7660
7661fi
7662fi
7663ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7664if test -n "$ac_ct_LIPO"; then
7665  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7666printf "%s\n" "$ac_ct_LIPO" >&6; }
7667else
7668  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669printf "%s\n" "no" >&6; }
7670fi
7671
7672  if test "x$ac_ct_LIPO" = x; then
7673    LIPO=":"
7674  else
7675    case $cross_compiling:$ac_tool_warned in
7676yes:)
7677{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7678printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7679ac_tool_warned=yes ;;
7680esac
7681    LIPO=$ac_ct_LIPO
7682  fi
7683else
7684  LIPO="$ac_cv_prog_LIPO"
7685fi
7686
7687    if test -n "$ac_tool_prefix"; then
7688  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7689set dummy ${ac_tool_prefix}otool; ac_word=$2
7690{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7691printf %s "checking for $ac_word... " >&6; }
7692if test ${ac_cv_prog_OTOOL+y}
7693then :
7694  printf %s "(cached) " >&6
7695else $as_nop
7696  if test -n "$OTOOL"; then
7697  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7698else
7699as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7700for as_dir in $PATH
7701do
7702  IFS=$as_save_IFS
7703  case $as_dir in #(((
7704    '') as_dir=./ ;;
7705    */) ;;
7706    *) as_dir=$as_dir/ ;;
7707  esac
7708    for ac_exec_ext in '' $ac_executable_extensions; do
7709  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7710    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7711    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7712    break 2
7713  fi
7714done
7715  done
7716IFS=$as_save_IFS
7717
7718fi
7719fi
7720OTOOL=$ac_cv_prog_OTOOL
7721if test -n "$OTOOL"; then
7722  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7723printf "%s\n" "$OTOOL" >&6; }
7724else
7725  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7726printf "%s\n" "no" >&6; }
7727fi
7728
7729
7730fi
7731if test -z "$ac_cv_prog_OTOOL"; then
7732  ac_ct_OTOOL=$OTOOL
7733  # Extract the first word of "otool", so it can be a program name with args.
7734set dummy otool; ac_word=$2
7735{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7736printf %s "checking for $ac_word... " >&6; }
7737if test ${ac_cv_prog_ac_ct_OTOOL+y}
7738then :
7739  printf %s "(cached) " >&6
7740else $as_nop
7741  if test -n "$ac_ct_OTOOL"; then
7742  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7743else
7744as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7745for as_dir in $PATH
7746do
7747  IFS=$as_save_IFS
7748  case $as_dir in #(((
7749    '') as_dir=./ ;;
7750    */) ;;
7751    *) as_dir=$as_dir/ ;;
7752  esac
7753    for ac_exec_ext in '' $ac_executable_extensions; do
7754  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7755    ac_cv_prog_ac_ct_OTOOL="otool"
7756    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7757    break 2
7758  fi
7759done
7760  done
7761IFS=$as_save_IFS
7762
7763fi
7764fi
7765ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7766if test -n "$ac_ct_OTOOL"; then
7767  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7768printf "%s\n" "$ac_ct_OTOOL" >&6; }
7769else
7770  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7771printf "%s\n" "no" >&6; }
7772fi
7773
7774  if test "x$ac_ct_OTOOL" = x; then
7775    OTOOL=":"
7776  else
7777    case $cross_compiling:$ac_tool_warned in
7778yes:)
7779{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7780printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7781ac_tool_warned=yes ;;
7782esac
7783    OTOOL=$ac_ct_OTOOL
7784  fi
7785else
7786  OTOOL="$ac_cv_prog_OTOOL"
7787fi
7788
7789    if test -n "$ac_tool_prefix"; then
7790  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7791set dummy ${ac_tool_prefix}otool64; ac_word=$2
7792{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7793printf %s "checking for $ac_word... " >&6; }
7794if test ${ac_cv_prog_OTOOL64+y}
7795then :
7796  printf %s "(cached) " >&6
7797else $as_nop
7798  if test -n "$OTOOL64"; then
7799  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7800else
7801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7802for as_dir in $PATH
7803do
7804  IFS=$as_save_IFS
7805  case $as_dir in #(((
7806    '') as_dir=./ ;;
7807    */) ;;
7808    *) as_dir=$as_dir/ ;;
7809  esac
7810    for ac_exec_ext in '' $ac_executable_extensions; do
7811  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7812    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7813    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7814    break 2
7815  fi
7816done
7817  done
7818IFS=$as_save_IFS
7819
7820fi
7821fi
7822OTOOL64=$ac_cv_prog_OTOOL64
7823if test -n "$OTOOL64"; then
7824  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7825printf "%s\n" "$OTOOL64" >&6; }
7826else
7827  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7828printf "%s\n" "no" >&6; }
7829fi
7830
7831
7832fi
7833if test -z "$ac_cv_prog_OTOOL64"; then
7834  ac_ct_OTOOL64=$OTOOL64
7835  # Extract the first word of "otool64", so it can be a program name with args.
7836set dummy otool64; ac_word=$2
7837{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7838printf %s "checking for $ac_word... " >&6; }
7839if test ${ac_cv_prog_ac_ct_OTOOL64+y}
7840then :
7841  printf %s "(cached) " >&6
7842else $as_nop
7843  if test -n "$ac_ct_OTOOL64"; then
7844  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7845else
7846as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7847for as_dir in $PATH
7848do
7849  IFS=$as_save_IFS
7850  case $as_dir in #(((
7851    '') as_dir=./ ;;
7852    */) ;;
7853    *) as_dir=$as_dir/ ;;
7854  esac
7855    for ac_exec_ext in '' $ac_executable_extensions; do
7856  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7857    ac_cv_prog_ac_ct_OTOOL64="otool64"
7858    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7859    break 2
7860  fi
7861done
7862  done
7863IFS=$as_save_IFS
7864
7865fi
7866fi
7867ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7868if test -n "$ac_ct_OTOOL64"; then
7869  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7870printf "%s\n" "$ac_ct_OTOOL64" >&6; }
7871else
7872  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7873printf "%s\n" "no" >&6; }
7874fi
7875
7876  if test "x$ac_ct_OTOOL64" = x; then
7877    OTOOL64=":"
7878  else
7879    case $cross_compiling:$ac_tool_warned in
7880yes:)
7881{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7882printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7883ac_tool_warned=yes ;;
7884esac
7885    OTOOL64=$ac_ct_OTOOL64
7886  fi
7887else
7888  OTOOL64="$ac_cv_prog_OTOOL64"
7889fi
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7918printf %s "checking for -single_module linker flag... " >&6; }
7919if test ${lt_cv_apple_cc_single_mod+y}
7920then :
7921  printf %s "(cached) " >&6
7922else $as_nop
7923  lt_cv_apple_cc_single_mod=no
7924      if test -z "$LT_MULTI_MODULE"; then
7925	# By default we will add the -single_module flag. You can override
7926	# by either setting the environment variable LT_MULTI_MODULE
7927	# non-empty at configure time, or by adding -multi_module to the
7928	# link flags.
7929	rm -rf libconftest.dylib*
7930	echo "int foo(void){return 1;}" > conftest.c
7931	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7932-dynamiclib -Wl,-single_module conftest.c" >&5
7933	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7934	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7935        _lt_result=$?
7936	# If there is a non-empty error log, and "single_module"
7937	# appears in it, assume the flag caused a linker warning
7938        if test -s conftest.err && $GREP single_module conftest.err; then
7939	  cat conftest.err >&5
7940	# Otherwise, if the output was created with a 0 exit code from
7941	# the compiler, it worked.
7942	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7943	  lt_cv_apple_cc_single_mod=yes
7944	else
7945	  cat conftest.err >&5
7946	fi
7947	rm -rf libconftest.dylib*
7948	rm -f conftest.*
7949      fi
7950fi
7951{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7952printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
7953
7954    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7955printf %s "checking for -exported_symbols_list linker flag... " >&6; }
7956if test ${lt_cv_ld_exported_symbols_list+y}
7957then :
7958  printf %s "(cached) " >&6
7959else $as_nop
7960  lt_cv_ld_exported_symbols_list=no
7961      save_LDFLAGS=$LDFLAGS
7962      echo "_main" > conftest.sym
7963      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7964      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7965/* end confdefs.h.  */
7966
7967int
7968main (void)
7969{
7970
7971  ;
7972  return 0;
7973}
7974_ACEOF
7975if ac_fn_c_try_link "$LINENO"
7976then :
7977  lt_cv_ld_exported_symbols_list=yes
7978else $as_nop
7979  lt_cv_ld_exported_symbols_list=no
7980fi
7981rm -f core conftest.err conftest.$ac_objext conftest.beam \
7982    conftest$ac_exeext conftest.$ac_ext
7983	LDFLAGS=$save_LDFLAGS
7984
7985fi
7986{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7987printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
7988
7989    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7990printf %s "checking for -force_load linker flag... " >&6; }
7991if test ${lt_cv_ld_force_load+y}
7992then :
7993  printf %s "(cached) " >&6
7994else $as_nop
7995  lt_cv_ld_force_load=no
7996      cat > conftest.c << _LT_EOF
7997int forced_loaded() { return 2;}
7998_LT_EOF
7999      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8000      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8001      echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8002      $AR $AR_FLAGS libconftest.a conftest.o 2>&5
8003      echo "$RANLIB libconftest.a" >&5
8004      $RANLIB libconftest.a 2>&5
8005      cat > conftest.c << _LT_EOF
8006int main() { return 0;}
8007_LT_EOF
8008      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8009      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8010      _lt_result=$?
8011      if test -s conftest.err && $GREP force_load conftest.err; then
8012	cat conftest.err >&5
8013      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8014	lt_cv_ld_force_load=yes
8015      else
8016	cat conftest.err >&5
8017      fi
8018        rm -f conftest.err libconftest.a conftest conftest.c
8019        rm -rf conftest.dSYM
8020
8021fi
8022{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8023printf "%s\n" "$lt_cv_ld_force_load" >&6; }
8024    case $host_os in
8025    rhapsody* | darwin1.[012])
8026      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8027    darwin1.*)
8028      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8029    darwin*) # darwin 5.x on
8030      # if running on 10.5 or later, the deployment target defaults
8031      # to the OS version, if on x86, and 10.4, the deployment
8032      # target defaults to 10.4. Don't you love it?
8033      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8034	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8035	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8036	10.[012][,.]*)
8037	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8038	10.*)
8039	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8040      esac
8041    ;;
8042  esac
8043    if test yes = "$lt_cv_apple_cc_single_mod"; then
8044      _lt_dar_single_mod='$single_module'
8045    fi
8046    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8047      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8048    else
8049      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8050    fi
8051    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8052      _lt_dsymutil='~$DSYMUTIL $lib || :'
8053    else
8054      _lt_dsymutil=
8055    fi
8056    ;;
8057  esac
8058
8059# func_munge_path_list VARIABLE PATH
8060# -----------------------------------
8061# VARIABLE is name of variable containing _space_ separated list of
8062# directories to be munged by the contents of PATH, which is string
8063# having a format:
8064# "DIR[:DIR]:"
8065#       string "DIR[ DIR]" will be prepended to VARIABLE
8066# ":DIR[:DIR]"
8067#       string "DIR[ DIR]" will be appended to VARIABLE
8068# "DIRP[:DIRP]::[DIRA:]DIRA"
8069#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8070#       "DIRA[ DIRA]" will be appended to VARIABLE
8071# "DIR[:DIR]"
8072#       VARIABLE will be replaced by "DIR[ DIR]"
8073func_munge_path_list ()
8074{
8075    case x$2 in
8076    x)
8077        ;;
8078    *:)
8079        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8080        ;;
8081    x:*)
8082        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8083        ;;
8084    *::*)
8085        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8086        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8087        ;;
8088    *)
8089        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8090        ;;
8091    esac
8092}
8093
8094ac_header= ac_cache=
8095for ac_item in $ac_header_c_list
8096do
8097  if test $ac_cache; then
8098    ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8099    if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8100      printf "%s\n" "#define $ac_item 1" >> confdefs.h
8101    fi
8102    ac_header= ac_cache=
8103  elif test $ac_header; then
8104    ac_cache=$ac_item
8105  else
8106    ac_header=$ac_item
8107  fi
8108done
8109
8110
8111
8112
8113
8114
8115
8116
8117if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8118then :
8119
8120printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8121
8122fi
8123ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8124"
8125if test "x$ac_cv_header_dlfcn_h" = xyes
8126then :
8127  printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8128
8129fi
8130
8131
8132
8133
8134
8135# Set options
8136
8137
8138
8139        enable_dlopen=no
8140
8141
8142  enable_win32_dll=no
8143
8144
8145            # Check whether --enable-shared was given.
8146if test ${enable_shared+y}
8147then :
8148  enableval=$enable_shared; p=${PACKAGE-default}
8149    case $enableval in
8150    yes) enable_shared=yes ;;
8151    no) enable_shared=no ;;
8152    *)
8153      enable_shared=no
8154      # Look at the argument we got.  We use all the common list separators.
8155      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8156      for pkg in $enableval; do
8157	IFS=$lt_save_ifs
8158	if test "X$pkg" = "X$p"; then
8159	  enable_shared=yes
8160	fi
8161      done
8162      IFS=$lt_save_ifs
8163      ;;
8164    esac
8165else $as_nop
8166  enable_shared=yes
8167fi
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177  # Check whether --enable-static was given.
8178if test ${enable_static+y}
8179then :
8180  enableval=$enable_static; p=${PACKAGE-default}
8181    case $enableval in
8182    yes) enable_static=yes ;;
8183    no) enable_static=no ;;
8184    *)
8185     enable_static=no
8186      # Look at the argument we got.  We use all the common list separators.
8187      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8188      for pkg in $enableval; do
8189	IFS=$lt_save_ifs
8190	if test "X$pkg" = "X$p"; then
8191	  enable_static=yes
8192	fi
8193      done
8194      IFS=$lt_save_ifs
8195      ;;
8196    esac
8197else $as_nop
8198  enable_static=yes
8199fi
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210# Check whether --with-pic was given.
8211if test ${with_pic+y}
8212then :
8213  withval=$with_pic; lt_p=${PACKAGE-default}
8214    case $withval in
8215    yes|no) pic_mode=$withval ;;
8216    *)
8217      pic_mode=default
8218      # Look at the argument we got.  We use all the common list separators.
8219      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8220      for lt_pkg in $withval; do
8221	IFS=$lt_save_ifs
8222	if test "X$lt_pkg" = "X$lt_p"; then
8223	  pic_mode=yes
8224	fi
8225      done
8226      IFS=$lt_save_ifs
8227      ;;
8228    esac
8229else $as_nop
8230  pic_mode=default
8231fi
8232
8233
8234
8235
8236
8237
8238
8239
8240  # Check whether --enable-fast-install was given.
8241if test ${enable_fast_install+y}
8242then :
8243  enableval=$enable_fast_install; p=${PACKAGE-default}
8244    case $enableval in
8245    yes) enable_fast_install=yes ;;
8246    no) enable_fast_install=no ;;
8247    *)
8248      enable_fast_install=no
8249      # Look at the argument we got.  We use all the common list separators.
8250      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8251      for pkg in $enableval; do
8252	IFS=$lt_save_ifs
8253	if test "X$pkg" = "X$p"; then
8254	  enable_fast_install=yes
8255	fi
8256      done
8257      IFS=$lt_save_ifs
8258      ;;
8259    esac
8260else $as_nop
8261  enable_fast_install=yes
8262fi
8263
8264
8265
8266
8267
8268
8269
8270
8271  shared_archive_member_spec=
8272case $host,$enable_shared in
8273power*-*-aix[5-9]*,yes)
8274  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8275printf %s "checking which variant of shared library versioning to provide... " >&6; }
8276
8277# Check whether --with-aix-soname was given.
8278if test ${with_aix_soname+y}
8279then :
8280  withval=$with_aix_soname; case $withval in
8281    aix|svr4|both)
8282      ;;
8283    *)
8284      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8285      ;;
8286    esac
8287    lt_cv_with_aix_soname=$with_aix_soname
8288else $as_nop
8289  if test ${lt_cv_with_aix_soname+y}
8290then :
8291  printf %s "(cached) " >&6
8292else $as_nop
8293  lt_cv_with_aix_soname=aix
8294fi
8295
8296    with_aix_soname=$lt_cv_with_aix_soname
8297fi
8298
8299  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8300printf "%s\n" "$with_aix_soname" >&6; }
8301  if test aix != "$with_aix_soname"; then
8302    # For the AIX way of multilib, we name the shared archive member
8303    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8304    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8305    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8306    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8307    if test 64 = "${OBJECT_MODE-32}"; then
8308      shared_archive_member_spec=shr_64
8309    else
8310      shared_archive_member_spec=shr
8311    fi
8312  fi
8313  ;;
8314*)
8315  with_aix_soname=aix
8316  ;;
8317esac
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328# This can be used to rebuild libtool when needed
8329LIBTOOL_DEPS=$ltmain
8330
8331# Always use our own libtool.
8332LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363test -z "$LN_S" && LN_S="ln -s"
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378if test -n "${ZSH_VERSION+set}"; then
8379   setopt NO_GLOB_SUBST
8380fi
8381
8382{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8383printf %s "checking for objdir... " >&6; }
8384if test ${lt_cv_objdir+y}
8385then :
8386  printf %s "(cached) " >&6
8387else $as_nop
8388  rm -f .libs 2>/dev/null
8389mkdir .libs 2>/dev/null
8390if test -d .libs; then
8391  lt_cv_objdir=.libs
8392else
8393  # MS-DOS does not allow filenames that begin with a dot.
8394  lt_cv_objdir=_libs
8395fi
8396rmdir .libs 2>/dev/null
8397fi
8398{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8399printf "%s\n" "$lt_cv_objdir" >&6; }
8400objdir=$lt_cv_objdir
8401
8402
8403
8404
8405
8406printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
8407
8408
8409
8410
8411case $host_os in
8412aix3*)
8413  # AIX sometimes has problems with the GCC collect2 program.  For some
8414  # reason, if we set the COLLECT_NAMES environment variable, the problems
8415  # vanish in a puff of smoke.
8416  if test set != "${COLLECT_NAMES+set}"; then
8417    COLLECT_NAMES=
8418    export COLLECT_NAMES
8419  fi
8420  ;;
8421esac
8422
8423# Global variables:
8424ofile=libtool
8425can_build_shared=yes
8426
8427# All known linkers require a '.a' archive for static linking (except MSVC and
8428# ICC, which need '.lib').
8429libext=a
8430
8431with_gnu_ld=$lt_cv_prog_gnu_ld
8432
8433old_CC=$CC
8434old_CFLAGS=$CFLAGS
8435
8436# Set sane defaults for various variables
8437test -z "$CC" && CC=cc
8438test -z "$LTCC" && LTCC=$CC
8439test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8440test -z "$LD" && LD=ld
8441test -z "$ac_objext" && ac_objext=o
8442
8443func_cc_basename $compiler
8444cc_basename=$func_cc_basename_result
8445
8446
8447# Only perform the check for file, if the check method requires it
8448test -z "$MAGIC_CMD" && MAGIC_CMD=file
8449case $deplibs_check_method in
8450file_magic*)
8451  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8452    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8453printf %s "checking for ${ac_tool_prefix}file... " >&6; }
8454if test ${lt_cv_path_MAGIC_CMD+y}
8455then :
8456  printf %s "(cached) " >&6
8457else $as_nop
8458  case $MAGIC_CMD in
8459[\\/*] |  ?:[\\/]*)
8460  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8461  ;;
8462*)
8463  lt_save_MAGIC_CMD=$MAGIC_CMD
8464  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8465  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8466  for ac_dir in $ac_dummy; do
8467    IFS=$lt_save_ifs
8468    test -z "$ac_dir" && ac_dir=.
8469    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8470      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8471      if test -n "$file_magic_test_file"; then
8472	case $deplibs_check_method in
8473	"file_magic "*)
8474	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8475	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8476	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8477	    $EGREP "$file_magic_regex" > /dev/null; then
8478	    :
8479	  else
8480	    cat <<_LT_EOF 1>&2
8481
8482*** Warning: the command libtool uses to detect shared libraries,
8483*** $file_magic_cmd, produces output that libtool cannot recognize.
8484*** The result is that libtool may fail to recognize shared libraries
8485*** as such.  This will affect the creation of libtool libraries that
8486*** depend on shared libraries, but programs linked with such libtool
8487*** libraries will work regardless of this problem.  Nevertheless, you
8488*** may want to report the problem to your system manager and/or to
8489*** bug-libtool@gnu.org
8490
8491_LT_EOF
8492	  fi ;;
8493	esac
8494      fi
8495      break
8496    fi
8497  done
8498  IFS=$lt_save_ifs
8499  MAGIC_CMD=$lt_save_MAGIC_CMD
8500  ;;
8501esac
8502fi
8503
8504MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8505if test -n "$MAGIC_CMD"; then
8506  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8507printf "%s\n" "$MAGIC_CMD" >&6; }
8508else
8509  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8510printf "%s\n" "no" >&6; }
8511fi
8512
8513
8514
8515
8516
8517if test -z "$lt_cv_path_MAGIC_CMD"; then
8518  if test -n "$ac_tool_prefix"; then
8519    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8520printf %s "checking for file... " >&6; }
8521if test ${lt_cv_path_MAGIC_CMD+y}
8522then :
8523  printf %s "(cached) " >&6
8524else $as_nop
8525  case $MAGIC_CMD in
8526[\\/*] |  ?:[\\/]*)
8527  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8528  ;;
8529*)
8530  lt_save_MAGIC_CMD=$MAGIC_CMD
8531  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8532  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8533  for ac_dir in $ac_dummy; do
8534    IFS=$lt_save_ifs
8535    test -z "$ac_dir" && ac_dir=.
8536    if test -f "$ac_dir/file"; then
8537      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8538      if test -n "$file_magic_test_file"; then
8539	case $deplibs_check_method in
8540	"file_magic "*)
8541	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8542	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8543	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8544	    $EGREP "$file_magic_regex" > /dev/null; then
8545	    :
8546	  else
8547	    cat <<_LT_EOF 1>&2
8548
8549*** Warning: the command libtool uses to detect shared libraries,
8550*** $file_magic_cmd, produces output that libtool cannot recognize.
8551*** The result is that libtool may fail to recognize shared libraries
8552*** as such.  This will affect the creation of libtool libraries that
8553*** depend on shared libraries, but programs linked with such libtool
8554*** libraries will work regardless of this problem.  Nevertheless, you
8555*** may want to report the problem to your system manager and/or to
8556*** bug-libtool@gnu.org
8557
8558_LT_EOF
8559	  fi ;;
8560	esac
8561      fi
8562      break
8563    fi
8564  done
8565  IFS=$lt_save_ifs
8566  MAGIC_CMD=$lt_save_MAGIC_CMD
8567  ;;
8568esac
8569fi
8570
8571MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8572if test -n "$MAGIC_CMD"; then
8573  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8574printf "%s\n" "$MAGIC_CMD" >&6; }
8575else
8576  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8577printf "%s\n" "no" >&6; }
8578fi
8579
8580
8581  else
8582    MAGIC_CMD=:
8583  fi
8584fi
8585
8586  fi
8587  ;;
8588esac
8589
8590# Use C for the default configuration in the libtool script
8591
8592lt_save_CC=$CC
8593ac_ext=c
8594ac_cpp='$CPP $CPPFLAGS'
8595ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8596ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8597ac_compiler_gnu=$ac_cv_c_compiler_gnu
8598
8599
8600# Source file extension for C test sources.
8601ac_ext=c
8602
8603# Object file extension for compiled C test sources.
8604objext=o
8605objext=$objext
8606
8607# Code to be used in simple compile tests
8608lt_simple_compile_test_code="int some_variable = 0;"
8609
8610# Code to be used in simple link tests
8611lt_simple_link_test_code='int main(){return(0);}'
8612
8613
8614
8615
8616
8617
8618
8619# If no C compiler was specified, use CC.
8620LTCC=${LTCC-"$CC"}
8621
8622# If no C compiler flags were specified, use CFLAGS.
8623LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8624
8625# Allow CC to be a program name with arguments.
8626compiler=$CC
8627
8628# Save the default compiler, since it gets overwritten when the other
8629# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8630compiler_DEFAULT=$CC
8631
8632# save warnings/boilerplate of simple test code
8633ac_outfile=conftest.$ac_objext
8634echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8635eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8636_lt_compiler_boilerplate=`cat conftest.err`
8637$RM conftest*
8638
8639ac_outfile=conftest.$ac_objext
8640echo "$lt_simple_link_test_code" >conftest.$ac_ext
8641eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8642_lt_linker_boilerplate=`cat conftest.err`
8643$RM -r conftest*
8644
8645
8646if test -n "$compiler"; then
8647
8648lt_prog_compiler_no_builtin_flag=
8649
8650if test yes = "$GCC"; then
8651  case $cc_basename in
8652  nvcc*)
8653    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8654  *)
8655    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8656  esac
8657
8658  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8659printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8660if test ${lt_cv_prog_compiler_rtti_exceptions+y}
8661then :
8662  printf %s "(cached) " >&6
8663else $as_nop
8664  lt_cv_prog_compiler_rtti_exceptions=no
8665   ac_outfile=conftest.$ac_objext
8666   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8667   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8668   # Insert the option either (1) after the last *FLAGS variable, or
8669   # (2) before a word containing "conftest.", or (3) at the end.
8670   # Note that $ac_compile itself does not contain backslashes and begins
8671   # with a dollar sign (not a hyphen), so the echo should work correctly.
8672   # The option is referenced via a variable to avoid confusing sed.
8673   lt_compile=`echo "$ac_compile" | $SED \
8674   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8675   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8676   -e 's:$: $lt_compiler_flag:'`
8677   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8678   (eval "$lt_compile" 2>conftest.err)
8679   ac_status=$?
8680   cat conftest.err >&5
8681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682   if (exit $ac_status) && test -s "$ac_outfile"; then
8683     # The compiler can only warn and ignore the option if not recognized
8684     # So say no if there are warnings other than the usual output.
8685     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8686     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8687     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8688       lt_cv_prog_compiler_rtti_exceptions=yes
8689     fi
8690   fi
8691   $RM conftest*
8692
8693fi
8694{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8695printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8696
8697if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8698    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8699else
8700    :
8701fi
8702
8703fi
8704
8705
8706
8707
8708
8709
8710  lt_prog_compiler_wl=
8711lt_prog_compiler_pic=
8712lt_prog_compiler_static=
8713
8714
8715  if test yes = "$GCC"; then
8716    lt_prog_compiler_wl='-Wl,'
8717    lt_prog_compiler_static='-static'
8718
8719    case $host_os in
8720      aix*)
8721      # All AIX code is PIC.
8722      if test ia64 = "$host_cpu"; then
8723	# AIX 5 now supports IA64 processor
8724	lt_prog_compiler_static='-Bstatic'
8725      fi
8726      lt_prog_compiler_pic='-fPIC'
8727      ;;
8728
8729    amigaos*)
8730      case $host_cpu in
8731      powerpc)
8732            # see comment about AmigaOS4 .so support
8733            lt_prog_compiler_pic='-fPIC'
8734        ;;
8735      m68k)
8736            # FIXME: we need at least 68020 code to build shared libraries, but
8737            # adding the '-m68020' flag to GCC prevents building anything better,
8738            # like '-m68040'.
8739            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8740        ;;
8741      esac
8742      ;;
8743
8744    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8745      # PIC is the default for these OSes.
8746      ;;
8747
8748    mingw* | cygwin* | pw32* | os2* | cegcc*)
8749      # This hack is so that the source file can tell whether it is being
8750      # built for inclusion in a dll (and should export symbols for example).
8751      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8752      # (--disable-auto-import) libraries
8753      lt_prog_compiler_pic='-DDLL_EXPORT'
8754      case $host_os in
8755      os2*)
8756	lt_prog_compiler_static='$wl-static'
8757	;;
8758      esac
8759      ;;
8760
8761    darwin* | rhapsody*)
8762      # PIC is the default on this platform
8763      # Common symbols not allowed in MH_DYLIB files
8764      lt_prog_compiler_pic='-fno-common'
8765      ;;
8766
8767    haiku*)
8768      # PIC is the default for Haiku.
8769      # The "-static" flag exists, but is broken.
8770      lt_prog_compiler_static=
8771      ;;
8772
8773    hpux*)
8774      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8775      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8776      # sets the default TLS model and affects inlining.
8777      case $host_cpu in
8778      hppa*64*)
8779	# +Z the default
8780	;;
8781      *)
8782	lt_prog_compiler_pic='-fPIC'
8783	;;
8784      esac
8785      ;;
8786
8787    interix[3-9]*)
8788      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8789      # Instead, we relocate shared libraries at runtime.
8790      ;;
8791
8792    msdosdjgpp*)
8793      # Just because we use GCC doesn't mean we suddenly get shared libraries
8794      # on systems that don't support them.
8795      lt_prog_compiler_can_build_shared=no
8796      enable_shared=no
8797      ;;
8798
8799    *nto* | *qnx*)
8800      # QNX uses GNU C++, but need to define -shared option too, otherwise
8801      # it will coredump.
8802      lt_prog_compiler_pic='-fPIC -shared'
8803      ;;
8804
8805    sysv4*MP*)
8806      if test -d /usr/nec; then
8807	lt_prog_compiler_pic=-Kconform_pic
8808      fi
8809      ;;
8810
8811    *)
8812      lt_prog_compiler_pic='-fPIC'
8813      ;;
8814    esac
8815
8816    case $cc_basename in
8817    nvcc*) # Cuda Compiler Driver 2.2
8818      lt_prog_compiler_wl='-Xlinker '
8819      if test -n "$lt_prog_compiler_pic"; then
8820        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8821      fi
8822      ;;
8823    esac
8824  else
8825    # PORTME Check for flag to pass linker flags through the system compiler.
8826    case $host_os in
8827    aix*)
8828      lt_prog_compiler_wl='-Wl,'
8829      if test ia64 = "$host_cpu"; then
8830	# AIX 5 now supports IA64 processor
8831	lt_prog_compiler_static='-Bstatic'
8832      else
8833	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8834      fi
8835      ;;
8836
8837    darwin* | rhapsody*)
8838      # PIC is the default on this platform
8839      # Common symbols not allowed in MH_DYLIB files
8840      lt_prog_compiler_pic='-fno-common'
8841      case $cc_basename in
8842      nagfor*)
8843        # NAG Fortran compiler
8844        lt_prog_compiler_wl='-Wl,-Wl,,'
8845        lt_prog_compiler_pic='-PIC'
8846        lt_prog_compiler_static='-Bstatic'
8847        ;;
8848      esac
8849      ;;
8850
8851    mingw* | cygwin* | pw32* | os2* | cegcc*)
8852      # This hack is so that the source file can tell whether it is being
8853      # built for inclusion in a dll (and should export symbols for example).
8854      lt_prog_compiler_pic='-DDLL_EXPORT'
8855      case $host_os in
8856      os2*)
8857	lt_prog_compiler_static='$wl-static'
8858	;;
8859      esac
8860      ;;
8861
8862    hpux9* | hpux10* | hpux11*)
8863      lt_prog_compiler_wl='-Wl,'
8864      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8865      # not for PA HP-UX.
8866      case $host_cpu in
8867      hppa*64*|ia64*)
8868	# +Z the default
8869	;;
8870      *)
8871	lt_prog_compiler_pic='+Z'
8872	;;
8873      esac
8874      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8875      lt_prog_compiler_static='$wl-a ${wl}archive'
8876      ;;
8877
8878    irix5* | irix6* | nonstopux*)
8879      lt_prog_compiler_wl='-Wl,'
8880      # PIC (with -KPIC) is the default.
8881      lt_prog_compiler_static='-non_shared'
8882      ;;
8883
8884    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8885      case $cc_basename in
8886      # old Intel for x86_64, which still supported -KPIC.
8887      ecc*)
8888	lt_prog_compiler_wl='-Wl,'
8889	lt_prog_compiler_pic='-KPIC'
8890	lt_prog_compiler_static='-static'
8891        ;;
8892      # icc used to be incompatible with GCC.
8893      # ICC 10 doesn't accept -KPIC any more.
8894      icc* | ifort*)
8895	lt_prog_compiler_wl='-Wl,'
8896	lt_prog_compiler_pic='-fPIC'
8897	lt_prog_compiler_static='-static'
8898        ;;
8899      # Lahey Fortran 8.1.
8900      lf95*)
8901	lt_prog_compiler_wl='-Wl,'
8902	lt_prog_compiler_pic='--shared'
8903	lt_prog_compiler_static='--static'
8904	;;
8905      nagfor*)
8906	# NAG Fortran compiler
8907	lt_prog_compiler_wl='-Wl,-Wl,,'
8908	lt_prog_compiler_pic='-PIC'
8909	lt_prog_compiler_static='-Bstatic'
8910	;;
8911      tcc*)
8912	# Fabrice Bellard et al's Tiny C Compiler
8913	lt_prog_compiler_wl='-Wl,'
8914	lt_prog_compiler_pic='-fPIC'
8915	lt_prog_compiler_static='-static'
8916	;;
8917      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8918        # Portland Group compilers (*not* the Pentium gcc compiler,
8919	# which looks to be a dead project)
8920	lt_prog_compiler_wl='-Wl,'
8921	lt_prog_compiler_pic='-fpic'
8922	lt_prog_compiler_static='-Bstatic'
8923        ;;
8924      ccc*)
8925        lt_prog_compiler_wl='-Wl,'
8926        # All Alpha code is PIC.
8927        lt_prog_compiler_static='-non_shared'
8928        ;;
8929      xl* | bgxl* | bgf* | mpixl*)
8930	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8931	lt_prog_compiler_wl='-Wl,'
8932	lt_prog_compiler_pic='-qpic'
8933	lt_prog_compiler_static='-qstaticlink'
8934	;;
8935      *)
8936	case `$CC -V 2>&1 | sed 5q` in
8937	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8938	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8939	  lt_prog_compiler_pic='-KPIC'
8940	  lt_prog_compiler_static='-Bstatic'
8941	  lt_prog_compiler_wl=''
8942	  ;;
8943	*Sun\ F* | *Sun*Fortran*)
8944	  lt_prog_compiler_pic='-KPIC'
8945	  lt_prog_compiler_static='-Bstatic'
8946	  lt_prog_compiler_wl='-Qoption ld '
8947	  ;;
8948	*Sun\ C*)
8949	  # Sun C 5.9
8950	  lt_prog_compiler_pic='-KPIC'
8951	  lt_prog_compiler_static='-Bstatic'
8952	  lt_prog_compiler_wl='-Wl,'
8953	  ;;
8954        *Intel*\ [CF]*Compiler*)
8955	  lt_prog_compiler_wl='-Wl,'
8956	  lt_prog_compiler_pic='-fPIC'
8957	  lt_prog_compiler_static='-static'
8958	  ;;
8959	*Portland\ Group*)
8960	  lt_prog_compiler_wl='-Wl,'
8961	  lt_prog_compiler_pic='-fpic'
8962	  lt_prog_compiler_static='-Bstatic'
8963	  ;;
8964	esac
8965	;;
8966      esac
8967      ;;
8968
8969    newsos6)
8970      lt_prog_compiler_pic='-KPIC'
8971      lt_prog_compiler_static='-Bstatic'
8972      ;;
8973
8974    *nto* | *qnx*)
8975      # QNX uses GNU C++, but need to define -shared option too, otherwise
8976      # it will coredump.
8977      lt_prog_compiler_pic='-fPIC -shared'
8978      ;;
8979
8980    osf3* | osf4* | osf5*)
8981      lt_prog_compiler_wl='-Wl,'
8982      # All OSF/1 code is PIC.
8983      lt_prog_compiler_static='-non_shared'
8984      ;;
8985
8986    rdos*)
8987      lt_prog_compiler_static='-non_shared'
8988      ;;
8989
8990    solaris*)
8991      lt_prog_compiler_pic='-KPIC'
8992      lt_prog_compiler_static='-Bstatic'
8993      case $cc_basename in
8994      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8995	lt_prog_compiler_wl='-Qoption ld ';;
8996      *)
8997	lt_prog_compiler_wl='-Wl,';;
8998      esac
8999      ;;
9000
9001    sunos4*)
9002      lt_prog_compiler_wl='-Qoption ld '
9003      lt_prog_compiler_pic='-PIC'
9004      lt_prog_compiler_static='-Bstatic'
9005      ;;
9006
9007    sysv4 | sysv4.2uw2* | sysv4.3*)
9008      lt_prog_compiler_wl='-Wl,'
9009      lt_prog_compiler_pic='-KPIC'
9010      lt_prog_compiler_static='-Bstatic'
9011      ;;
9012
9013    sysv4*MP*)
9014      if test -d /usr/nec; then
9015	lt_prog_compiler_pic='-Kconform_pic'
9016	lt_prog_compiler_static='-Bstatic'
9017      fi
9018      ;;
9019
9020    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9021      lt_prog_compiler_wl='-Wl,'
9022      lt_prog_compiler_pic='-KPIC'
9023      lt_prog_compiler_static='-Bstatic'
9024      ;;
9025
9026    unicos*)
9027      lt_prog_compiler_wl='-Wl,'
9028      lt_prog_compiler_can_build_shared=no
9029      ;;
9030
9031    uts4*)
9032      lt_prog_compiler_pic='-pic'
9033      lt_prog_compiler_static='-Bstatic'
9034      ;;
9035
9036    *)
9037      lt_prog_compiler_can_build_shared=no
9038      ;;
9039    esac
9040  fi
9041
9042case $host_os in
9043  # For platforms that do not support PIC, -DPIC is meaningless:
9044  *djgpp*)
9045    lt_prog_compiler_pic=
9046    ;;
9047  *)
9048    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9049    ;;
9050esac
9051
9052{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9053printf %s "checking for $compiler option to produce PIC... " >&6; }
9054if test ${lt_cv_prog_compiler_pic+y}
9055then :
9056  printf %s "(cached) " >&6
9057else $as_nop
9058  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9059fi
9060{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9061printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
9062lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9063
9064#
9065# Check to make sure the PIC flag actually works.
9066#
9067if test -n "$lt_prog_compiler_pic"; then
9068  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9069printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9070if test ${lt_cv_prog_compiler_pic_works+y}
9071then :
9072  printf %s "(cached) " >&6
9073else $as_nop
9074  lt_cv_prog_compiler_pic_works=no
9075   ac_outfile=conftest.$ac_objext
9076   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9077   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9078   # Insert the option either (1) after the last *FLAGS variable, or
9079   # (2) before a word containing "conftest.", or (3) at the end.
9080   # Note that $ac_compile itself does not contain backslashes and begins
9081   # with a dollar sign (not a hyphen), so the echo should work correctly.
9082   # The option is referenced via a variable to avoid confusing sed.
9083   lt_compile=`echo "$ac_compile" | $SED \
9084   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9085   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9086   -e 's:$: $lt_compiler_flag:'`
9087   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9088   (eval "$lt_compile" 2>conftest.err)
9089   ac_status=$?
9090   cat conftest.err >&5
9091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092   if (exit $ac_status) && test -s "$ac_outfile"; then
9093     # The compiler can only warn and ignore the option if not recognized
9094     # So say no if there are warnings other than the usual output.
9095     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9096     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9097     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9098       lt_cv_prog_compiler_pic_works=yes
9099     fi
9100   fi
9101   $RM conftest*
9102
9103fi
9104{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9105printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
9106
9107if test yes = "$lt_cv_prog_compiler_pic_works"; then
9108    case $lt_prog_compiler_pic in
9109     "" | " "*) ;;
9110     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9111     esac
9112else
9113    lt_prog_compiler_pic=
9114     lt_prog_compiler_can_build_shared=no
9115fi
9116
9117fi
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129#
9130# Check to make sure the static flag actually works.
9131#
9132wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9133{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9134printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9135if test ${lt_cv_prog_compiler_static_works+y}
9136then :
9137  printf %s "(cached) " >&6
9138else $as_nop
9139  lt_cv_prog_compiler_static_works=no
9140   save_LDFLAGS=$LDFLAGS
9141   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9142   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9143   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9144     # The linker can only warn and ignore the option if not recognized
9145     # So say no if there are warnings
9146     if test -s conftest.err; then
9147       # Append any errors to the config.log.
9148       cat conftest.err 1>&5
9149       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9150       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9151       if diff conftest.exp conftest.er2 >/dev/null; then
9152         lt_cv_prog_compiler_static_works=yes
9153       fi
9154     else
9155       lt_cv_prog_compiler_static_works=yes
9156     fi
9157   fi
9158   $RM -r conftest*
9159   LDFLAGS=$save_LDFLAGS
9160
9161fi
9162{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9163printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
9164
9165if test yes = "$lt_cv_prog_compiler_static_works"; then
9166    :
9167else
9168    lt_prog_compiler_static=
9169fi
9170
9171
9172
9173
9174
9175
9176
9177  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9178printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9179if test ${lt_cv_prog_compiler_c_o+y}
9180then :
9181  printf %s "(cached) " >&6
9182else $as_nop
9183  lt_cv_prog_compiler_c_o=no
9184   $RM -r conftest 2>/dev/null
9185   mkdir conftest
9186   cd conftest
9187   mkdir out
9188   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9189
9190   lt_compiler_flag="-o out/conftest2.$ac_objext"
9191   # Insert the option either (1) after the last *FLAGS variable, or
9192   # (2) before a word containing "conftest.", or (3) at the end.
9193   # Note that $ac_compile itself does not contain backslashes and begins
9194   # with a dollar sign (not a hyphen), so the echo should work correctly.
9195   lt_compile=`echo "$ac_compile" | $SED \
9196   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9197   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9198   -e 's:$: $lt_compiler_flag:'`
9199   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9200   (eval "$lt_compile" 2>out/conftest.err)
9201   ac_status=$?
9202   cat out/conftest.err >&5
9203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9205   then
9206     # The compiler can only warn and ignore the option if not recognized
9207     # So say no if there are warnings
9208     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9209     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9210     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9211       lt_cv_prog_compiler_c_o=yes
9212     fi
9213   fi
9214   chmod u+w . 2>&5
9215   $RM conftest*
9216   # SGI C++ compiler will create directory out/ii_files/ for
9217   # template instantiation
9218   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9219   $RM out/* && rmdir out
9220   cd ..
9221   $RM -r conftest
9222   $RM conftest*
9223
9224fi
9225{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9226printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
9227
9228
9229
9230
9231
9232
9233  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9234printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9235if test ${lt_cv_prog_compiler_c_o+y}
9236then :
9237  printf %s "(cached) " >&6
9238else $as_nop
9239  lt_cv_prog_compiler_c_o=no
9240   $RM -r conftest 2>/dev/null
9241   mkdir conftest
9242   cd conftest
9243   mkdir out
9244   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9245
9246   lt_compiler_flag="-o out/conftest2.$ac_objext"
9247   # Insert the option either (1) after the last *FLAGS variable, or
9248   # (2) before a word containing "conftest.", or (3) at the end.
9249   # Note that $ac_compile itself does not contain backslashes and begins
9250   # with a dollar sign (not a hyphen), so the echo should work correctly.
9251   lt_compile=`echo "$ac_compile" | $SED \
9252   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9253   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9254   -e 's:$: $lt_compiler_flag:'`
9255   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9256   (eval "$lt_compile" 2>out/conftest.err)
9257   ac_status=$?
9258   cat out/conftest.err >&5
9259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9261   then
9262     # The compiler can only warn and ignore the option if not recognized
9263     # So say no if there are warnings
9264     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9265     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9266     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9267       lt_cv_prog_compiler_c_o=yes
9268     fi
9269   fi
9270   chmod u+w . 2>&5
9271   $RM conftest*
9272   # SGI C++ compiler will create directory out/ii_files/ for
9273   # template instantiation
9274   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9275   $RM out/* && rmdir out
9276   cd ..
9277   $RM -r conftest
9278   $RM conftest*
9279
9280fi
9281{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9282printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
9283
9284
9285
9286
9287hard_links=nottested
9288if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9289  # do not overwrite the value of need_locks provided by the user
9290  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9291printf %s "checking if we can lock with hard links... " >&6; }
9292  hard_links=yes
9293  $RM conftest*
9294  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9295  touch conftest.a
9296  ln conftest.a conftest.b 2>&5 || hard_links=no
9297  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9298  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9299printf "%s\n" "$hard_links" >&6; }
9300  if test no = "$hard_links"; then
9301    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9302printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9303    need_locks=warn
9304  fi
9305else
9306  need_locks=no
9307fi
9308
9309
9310
9311
9312
9313
9314  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9315printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9316
9317  runpath_var=
9318  allow_undefined_flag=
9319  always_export_symbols=no
9320  archive_cmds=
9321  archive_expsym_cmds=
9322  compiler_needs_object=no
9323  enable_shared_with_static_runtimes=no
9324  export_dynamic_flag_spec=
9325  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9326  hardcode_automatic=no
9327  hardcode_direct=no
9328  hardcode_direct_absolute=no
9329  hardcode_libdir_flag_spec=
9330  hardcode_libdir_separator=
9331  hardcode_minus_L=no
9332  hardcode_shlibpath_var=unsupported
9333  inherit_rpath=no
9334  link_all_deplibs=unknown
9335  module_cmds=
9336  module_expsym_cmds=
9337  old_archive_from_new_cmds=
9338  old_archive_from_expsyms_cmds=
9339  thread_safe_flag_spec=
9340  whole_archive_flag_spec=
9341  # include_expsyms should be a list of space-separated symbols to be *always*
9342  # included in the symbol list
9343  include_expsyms=
9344  # exclude_expsyms can be an extended regexp of symbols to exclude
9345  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9346  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9347  # as well as any symbol that contains 'd'.
9348  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9349  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9350  # platforms (ab)use it in PIC code, but their linkers get confused if
9351  # the symbol is explicitly referenced.  Since portable code cannot
9352  # rely on this symbol name, it's probably fine to never include it in
9353  # preloaded symbol tables.
9354  # Exclude shared library initialization/finalization symbols.
9355  extract_expsyms_cmds=
9356
9357  case $host_os in
9358  cygwin* | mingw* | pw32* | cegcc*)
9359    # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
9360    # When not using gcc, we currently assume that we are using
9361    # Microsoft Visual C++ or Intel C++ Compiler.
9362    if test yes != "$GCC"; then
9363      with_gnu_ld=no
9364    fi
9365    ;;
9366  interix*)
9367    # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
9368    with_gnu_ld=yes
9369    ;;
9370  openbsd* | bitrig*)
9371    with_gnu_ld=no
9372    ;;
9373  esac
9374
9375  ld_shlibs=yes
9376
9377  # On some targets, GNU ld is compatible enough with the native linker
9378  # that we're better off using the native interface for both.
9379  lt_use_gnu_ld_interface=no
9380  if test yes = "$with_gnu_ld"; then
9381    case $host_os in
9382      aix*)
9383	# The AIX port of GNU ld has always aspired to compatibility
9384	# with the native linker.  However, as the warning in the GNU ld
9385	# block says, versions before 2.19.5* couldn't really create working
9386	# shared libraries, regardless of the interface used.
9387	case `$LD -v 2>&1` in
9388	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9389	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9390	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9391	  *)
9392	    lt_use_gnu_ld_interface=yes
9393	    ;;
9394	esac
9395	;;
9396      *)
9397	lt_use_gnu_ld_interface=yes
9398	;;
9399    esac
9400  fi
9401
9402  if test yes = "$lt_use_gnu_ld_interface"; then
9403    # If archive_cmds runs LD, not CC, wlarc should be empty
9404    wlarc='$wl'
9405
9406    # Set some defaults for GNU ld with shared library support. These
9407    # are reset later if shared libraries are not supported. Putting them
9408    # here allows them to be overridden if necessary.
9409    runpath_var=LD_RUN_PATH
9410    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9411    export_dynamic_flag_spec='$wl--export-dynamic'
9412    # ancient GNU ld didn't support --whole-archive et. al.
9413    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9414      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9415    else
9416      whole_archive_flag_spec=
9417    fi
9418    supports_anon_versioning=no
9419    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9420      *GNU\ gold*) supports_anon_versioning=yes ;;
9421      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9422      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9423      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9424      *\ 2.11.*) ;; # other 2.11 versions
9425      *) supports_anon_versioning=yes ;;
9426    esac
9427
9428    # See if GNU ld supports shared libraries.
9429    case $host_os in
9430    aix[3-9]*)
9431      # On AIX/PPC, the GNU linker is very broken
9432      if test ia64 != "$host_cpu"; then
9433	ld_shlibs=no
9434	cat <<_LT_EOF 1>&2
9435
9436*** Warning: the GNU linker, at least up to release 2.19, is reported
9437*** to be unable to reliably create shared libraries on AIX.
9438*** Therefore, libtool is disabling shared libraries support.  If you
9439*** really care for shared libraries, you may want to install binutils
9440*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9441*** You will then need to restart the configuration process.
9442
9443_LT_EOF
9444      fi
9445      ;;
9446
9447    amigaos*)
9448      case $host_cpu in
9449      powerpc)
9450            # see comment about AmigaOS4 .so support
9451            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9452            archive_expsym_cmds=''
9453        ;;
9454      m68k)
9455            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)'
9456            hardcode_libdir_flag_spec='-L$libdir'
9457            hardcode_minus_L=yes
9458        ;;
9459      esac
9460      ;;
9461
9462    beos*)
9463      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9464	allow_undefined_flag=unsupported
9465	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9466	# support --undefined.  This deserves some investigation.  FIXME
9467	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9468      else
9469	ld_shlibs=no
9470      fi
9471      ;;
9472
9473    cygwin* | mingw* | pw32* | cegcc*)
9474      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9475      # as there is no search path for DLLs.
9476      hardcode_libdir_flag_spec='-L$libdir'
9477      export_dynamic_flag_spec='$wl--export-all-symbols'
9478      allow_undefined_flag=unsupported
9479      always_export_symbols=no
9480      enable_shared_with_static_runtimes=yes
9481      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'
9482      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9483
9484      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9485        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9486	# If the export-symbols file already is a .def file, use it as
9487	# is; otherwise, prepend EXPORTS...
9488	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9489          cp $export_symbols $output_objdir/$soname.def;
9490        else
9491          echo EXPORTS > $output_objdir/$soname.def;
9492          cat $export_symbols >> $output_objdir/$soname.def;
9493        fi~
9494        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9495      else
9496	ld_shlibs=no
9497      fi
9498      ;;
9499
9500    haiku*)
9501      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9502      link_all_deplibs=yes
9503      ;;
9504
9505    os2*)
9506      hardcode_libdir_flag_spec='-L$libdir'
9507      hardcode_minus_L=yes
9508      allow_undefined_flag=unsupported
9509      shrext_cmds=.dll
9510      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9511	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9512	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9513	$ECHO EXPORTS >> $output_objdir/$libname.def~
9514	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9515	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9516	emximp -o $lib $output_objdir/$libname.def'
9517      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9518	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9519	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9520	$ECHO EXPORTS >> $output_objdir/$libname.def~
9521	prefix_cmds="$SED"~
9522	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9523	  prefix_cmds="$prefix_cmds -e 1d";
9524	fi~
9525	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9526	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9527	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9528	emximp -o $lib $output_objdir/$libname.def'
9529      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9530      enable_shared_with_static_runtimes=yes
9531      file_list_spec='@'
9532      ;;
9533
9534    interix[3-9]*)
9535      hardcode_direct=no
9536      hardcode_shlibpath_var=no
9537      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9538      export_dynamic_flag_spec='$wl-E'
9539      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9540      # Instead, shared libraries are loaded at an image base (0x10000000 by
9541      # default) and relocated if they conflict, which is a slow very memory
9542      # consuming and fragmenting process.  To avoid this, we pick a random,
9543      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9544      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9545      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9546      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'
9547      ;;
9548
9549    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9550      tmp_diet=no
9551      if test linux-dietlibc = "$host_os"; then
9552	case $cc_basename in
9553	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9554	esac
9555      fi
9556      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9557	 && test no = "$tmp_diet"
9558      then
9559	tmp_addflag=' $pic_flag'
9560	tmp_sharedflag='-shared'
9561	case $cc_basename,$host_cpu in
9562        pgcc*)				# Portland Group C compiler
9563	  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'
9564	  tmp_addflag=' $pic_flag'
9565	  ;;
9566	pgf77* | pgf90* | pgf95* | pgfortran*)
9567					# Portland Group f77 and f90 compilers
9568	  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'
9569	  tmp_addflag=' $pic_flag -Mnomain' ;;
9570	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9571	  tmp_addflag=' -i_dynamic' ;;
9572	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9573	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9574	ifc* | ifort*)			# Intel Fortran compiler
9575	  tmp_addflag=' -nofor_main' ;;
9576	lf95*)				# Lahey Fortran 8.1
9577	  whole_archive_flag_spec=
9578	  tmp_sharedflag='--shared' ;;
9579        nagfor*)                        # NAGFOR 5.3
9580          tmp_sharedflag='-Wl,-shared' ;;
9581	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9582	  tmp_sharedflag='-qmkshrobj'
9583	  tmp_addflag= ;;
9584	nvcc*)	# Cuda Compiler Driver 2.2
9585	  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'
9586	  compiler_needs_object=yes
9587	  ;;
9588	esac
9589	case `$CC -V 2>&1 | sed 5q` in
9590	*Sun\ C*)			# Sun C 5.9
9591	  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'
9592	  compiler_needs_object=yes
9593	  tmp_sharedflag='-G' ;;
9594	*Sun\ F*)			# Sun Fortran 8.3
9595	  tmp_sharedflag='-G' ;;
9596	esac
9597	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9598
9599        if test yes = "$supports_anon_versioning"; then
9600          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9601            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9602            echo "local: *; };" >> $output_objdir/$libname.ver~
9603            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9604        fi
9605
9606	case $cc_basename in
9607	tcc*)
9608	  export_dynamic_flag_spec='-rdynamic'
9609	  ;;
9610	xlf* | bgf* | bgxlf* | mpixlf*)
9611	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9612	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9613	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9614	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9615	  if test yes = "$supports_anon_versioning"; then
9616	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9617              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9618              echo "local: *; };" >> $output_objdir/$libname.ver~
9619              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9620	  fi
9621	  ;;
9622	esac
9623      else
9624        ld_shlibs=no
9625      fi
9626      ;;
9627
9628    netbsd*)
9629      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9630	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9631	wlarc=
9632      else
9633	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9634	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9635      fi
9636      ;;
9637
9638    solaris*)
9639      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9640	ld_shlibs=no
9641	cat <<_LT_EOF 1>&2
9642
9643*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9644*** create shared libraries on Solaris systems.  Therefore, libtool
9645*** is disabling shared libraries support.  We urge you to upgrade GNU
9646*** binutils to release 2.9.1 or newer.  Another option is to modify
9647*** your PATH or compiler configuration so that the native linker is
9648*** used, and then restart.
9649
9650_LT_EOF
9651      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9652	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9653	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9654      else
9655	ld_shlibs=no
9656      fi
9657      ;;
9658
9659    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9660      case `$LD -v 2>&1` in
9661        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9662	ld_shlibs=no
9663	cat <<_LT_EOF 1>&2
9664
9665*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9666*** reliably create shared libraries on SCO systems.  Therefore, libtool
9667*** is disabling shared libraries support.  We urge you to upgrade GNU
9668*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9669*** your PATH or compiler configuration so that the native linker is
9670*** used, and then restart.
9671
9672_LT_EOF
9673	;;
9674	*)
9675	  # For security reasons, it is highly recommended that you always
9676	  # use absolute paths for naming shared libraries, and exclude the
9677	  # DT_RUNPATH tag from executables and libraries.  But doing so
9678	  # requires that you compile everything twice, which is a pain.
9679	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9680	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9681	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9682	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9683	  else
9684	    ld_shlibs=no
9685	  fi
9686	;;
9687      esac
9688      ;;
9689
9690    sunos4*)
9691      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9692      wlarc=
9693      hardcode_direct=yes
9694      hardcode_shlibpath_var=no
9695      ;;
9696
9697    *)
9698      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9699	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9700	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9701      else
9702	ld_shlibs=no
9703      fi
9704      ;;
9705    esac
9706
9707    if test no = "$ld_shlibs"; then
9708      runpath_var=
9709      hardcode_libdir_flag_spec=
9710      export_dynamic_flag_spec=
9711      whole_archive_flag_spec=
9712    fi
9713  else
9714    # PORTME fill in a description of your system's linker (not GNU ld)
9715    case $host_os in
9716    aix3*)
9717      allow_undefined_flag=unsupported
9718      always_export_symbols=yes
9719      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'
9720      # Note: this linker hardcodes the directories in LIBPATH if there
9721      # are no directories specified by -L.
9722      hardcode_minus_L=yes
9723      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9724	# Neither direct hardcoding nor static linking is supported with a
9725	# broken collect2.
9726	hardcode_direct=unsupported
9727      fi
9728      ;;
9729
9730    aix[4-9]*)
9731      if test ia64 = "$host_cpu"; then
9732	# On IA64, the linker does run time linking by default, so we don't
9733	# have to do anything special.
9734	aix_use_runtimelinking=no
9735	exp_sym_flag='-Bexport'
9736	no_entry_flag=
9737      else
9738	# If we're using GNU nm, then we don't want the "-C" option.
9739	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9740	# Without the "-l" option, or with the "-B" option, AIX nm treats
9741	# weak defined symbols like other global defined symbols, whereas
9742	# GNU nm marks them as "W".
9743	# While the 'weak' keyword is ignored in the Export File, we need
9744	# it in the Import File for the 'aix-soname' feature, so we have
9745	# to replace the "-B" option with "-P" for AIX nm.
9746	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9747	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9748	else
9749	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9750	fi
9751	aix_use_runtimelinking=no
9752
9753	# Test if we are trying to use run time linking or normal
9754	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9755	# have runtime linking enabled, and use it for executables.
9756	# For shared libraries, we enable/disable runtime linking
9757	# depending on the kind of the shared library created -
9758	# when "with_aix_soname,aix_use_runtimelinking" is:
9759	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9760	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9761	#            lib.a           static archive
9762	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9763	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9764	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9765	#            lib.a(lib.so.V) shared, rtl:no
9766	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9767	#            lib.a           static archive
9768	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9769	  for ld_flag in $LDFLAGS; do
9770	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9771	    aix_use_runtimelinking=yes
9772	    break
9773	  fi
9774	  done
9775	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9776	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9777	    # so we don't have lib.a shared libs to link our executables.
9778	    # We have to force runtime linking in this case.
9779	    aix_use_runtimelinking=yes
9780	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9781	  fi
9782	  ;;
9783	esac
9784
9785	exp_sym_flag='-bexport'
9786	no_entry_flag='-bnoentry'
9787      fi
9788
9789      # When large executables or shared objects are built, AIX ld can
9790      # have problems creating the table of contents.  If linking a library
9791      # or program results in "error TOC overflow" add -mminimal-toc to
9792      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9793      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9794
9795      archive_cmds=''
9796      hardcode_direct=yes
9797      hardcode_direct_absolute=yes
9798      hardcode_libdir_separator=':'
9799      link_all_deplibs=yes
9800      file_list_spec='$wl-f,'
9801      case $with_aix_soname,$aix_use_runtimelinking in
9802      aix,*) ;; # traditional, no import file
9803      svr4,* | *,yes) # use import file
9804	# The Import File defines what to hardcode.
9805	hardcode_direct=no
9806	hardcode_direct_absolute=no
9807	;;
9808      esac
9809
9810      if test yes = "$GCC"; then
9811	case $host_os in aix4.[012]|aix4.[012].*)
9812	# We only want to do this on AIX 4.2 and lower, the check
9813	# below for broken collect2 doesn't work under 4.3+
9814	  collect2name=`$CC -print-prog-name=collect2`
9815	  if test -f "$collect2name" &&
9816	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9817	  then
9818	  # We have reworked collect2
9819	  :
9820	  else
9821	  # We have old collect2
9822	  hardcode_direct=unsupported
9823	  # It fails to find uninstalled libraries when the uninstalled
9824	  # path is not listed in the libpath.  Setting hardcode_minus_L
9825	  # to unsupported forces relinking
9826	  hardcode_minus_L=yes
9827	  hardcode_libdir_flag_spec='-L$libdir'
9828	  hardcode_libdir_separator=
9829	  fi
9830	  ;;
9831	esac
9832	shared_flag='-shared'
9833	if test yes = "$aix_use_runtimelinking"; then
9834	  shared_flag="$shared_flag "'$wl-G'
9835	fi
9836	# Need to ensure runtime linking is disabled for the traditional
9837	# shared library, or the linker may eventually find shared libraries
9838	# /with/ Import File - we do not want to mix them.
9839	shared_flag_aix='-shared'
9840	shared_flag_svr4='-shared $wl-G'
9841      else
9842	# not using gcc
9843	if test ia64 = "$host_cpu"; then
9844	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9845	# chokes on -Wl,-G. The following line is correct:
9846	  shared_flag='-G'
9847	else
9848	  if test yes = "$aix_use_runtimelinking"; then
9849	    shared_flag='$wl-G'
9850	  else
9851	    shared_flag='$wl-bM:SRE'
9852	  fi
9853	  shared_flag_aix='$wl-bM:SRE'
9854	  shared_flag_svr4='$wl-G'
9855	fi
9856      fi
9857
9858      export_dynamic_flag_spec='$wl-bexpall'
9859      # It seems that -bexpall does not export symbols beginning with
9860      # underscore (_), so it is better to generate a list of symbols to export.
9861      always_export_symbols=yes
9862      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9863	# Warning - without using the other runtime loading flags (-brtl),
9864	# -berok will link without error, but may produce a broken library.
9865	allow_undefined_flag='-berok'
9866        # Determine the default libpath from the value encoded in an
9867        # empty executable.
9868        if test set = "${lt_cv_aix_libpath+set}"; then
9869  aix_libpath=$lt_cv_aix_libpath
9870else
9871  if test ${lt_cv_aix_libpath_+y}
9872then :
9873  printf %s "(cached) " >&6
9874else $as_nop
9875  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876/* end confdefs.h.  */
9877
9878int
9879main (void)
9880{
9881
9882  ;
9883  return 0;
9884}
9885_ACEOF
9886if ac_fn_c_try_link "$LINENO"
9887then :
9888
9889  lt_aix_libpath_sed='
9890      /Import File Strings/,/^$/ {
9891	  /^0/ {
9892	      s/^0  *\([^ ]*\) *$/\1/
9893	      p
9894	  }
9895      }'
9896  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9897  # Check for a 64-bit object if we didn't find anything.
9898  if test -z "$lt_cv_aix_libpath_"; then
9899    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9900  fi
9901fi
9902rm -f core conftest.err conftest.$ac_objext conftest.beam \
9903    conftest$ac_exeext conftest.$ac_ext
9904  if test -z "$lt_cv_aix_libpath_"; then
9905    lt_cv_aix_libpath_=/usr/lib:/lib
9906  fi
9907
9908fi
9909
9910  aix_libpath=$lt_cv_aix_libpath_
9911fi
9912
9913        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9914        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9915      else
9916	if test ia64 = "$host_cpu"; then
9917	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9918	  allow_undefined_flag="-z nodefs"
9919	  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"
9920	else
9921	 # Determine the default libpath from the value encoded in an
9922	 # empty executable.
9923	 if test set = "${lt_cv_aix_libpath+set}"; then
9924  aix_libpath=$lt_cv_aix_libpath
9925else
9926  if test ${lt_cv_aix_libpath_+y}
9927then :
9928  printf %s "(cached) " >&6
9929else $as_nop
9930  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9931/* end confdefs.h.  */
9932
9933int
9934main (void)
9935{
9936
9937  ;
9938  return 0;
9939}
9940_ACEOF
9941if ac_fn_c_try_link "$LINENO"
9942then :
9943
9944  lt_aix_libpath_sed='
9945      /Import File Strings/,/^$/ {
9946	  /^0/ {
9947	      s/^0  *\([^ ]*\) *$/\1/
9948	      p
9949	  }
9950      }'
9951  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9952  # Check for a 64-bit object if we didn't find anything.
9953  if test -z "$lt_cv_aix_libpath_"; then
9954    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9955  fi
9956fi
9957rm -f core conftest.err conftest.$ac_objext conftest.beam \
9958    conftest$ac_exeext conftest.$ac_ext
9959  if test -z "$lt_cv_aix_libpath_"; then
9960    lt_cv_aix_libpath_=/usr/lib:/lib
9961  fi
9962
9963fi
9964
9965  aix_libpath=$lt_cv_aix_libpath_
9966fi
9967
9968	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9969	  # Warning - without using the other run time loading flags,
9970	  # -berok will link without error, but may produce a broken library.
9971	  no_undefined_flag=' $wl-bernotok'
9972	  allow_undefined_flag=' $wl-berok'
9973	  if test yes = "$with_gnu_ld"; then
9974	    # We only use this code for GNU lds that support --whole-archive.
9975	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9976	  else
9977	    # Exported symbols can be pulled into shared objects from archives
9978	    whole_archive_flag_spec='$convenience'
9979	  fi
9980	  archive_cmds_need_lc=yes
9981	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9982	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9983	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9984	  if test svr4 != "$with_aix_soname"; then
9985	    # This is similar to how AIX traditionally builds its shared libraries.
9986	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9987	  fi
9988	  if test aix != "$with_aix_soname"; then
9989	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9990	  else
9991	    # used by -dlpreopen to get the symbols
9992	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9993	  fi
9994	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9995	fi
9996      fi
9997      ;;
9998
9999    amigaos*)
10000      case $host_cpu in
10001      powerpc)
10002            # see comment about AmigaOS4 .so support
10003            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10004            archive_expsym_cmds=''
10005        ;;
10006      m68k)
10007            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)'
10008            hardcode_libdir_flag_spec='-L$libdir'
10009            hardcode_minus_L=yes
10010        ;;
10011      esac
10012      ;;
10013
10014    bsdi[45]*)
10015      export_dynamic_flag_spec=-rdynamic
10016      ;;
10017
10018    cygwin* | mingw* | pw32* | cegcc*)
10019      # When not using gcc, we currently assume that we are using
10020      # Microsoft Visual C++ or Intel C++ Compiler.
10021      # hardcode_libdir_flag_spec is actually meaningless, as there is
10022      # no search path for DLLs.
10023      case $cc_basename in
10024      cl* | icl*)
10025	# Native MSVC or ICC
10026	hardcode_libdir_flag_spec=' '
10027	allow_undefined_flag=unsupported
10028	always_export_symbols=yes
10029	file_list_spec='@'
10030	# Tell ltmain to make .lib files, not .a files.
10031	libext=lib
10032	# Tell ltmain to make .dll files, not .so files.
10033	shrext_cmds=.dll
10034	# FIXME: Setting linknames here is a bad hack.
10035	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10036	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10037            cp "$export_symbols" "$output_objdir/$soname.def";
10038            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10039          else
10040            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10041          fi~
10042          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10043          linknames='
10044	# The linker will not automatically build a static lib if we build a DLL.
10045	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10046	enable_shared_with_static_runtimes=yes
10047	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10048	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10049	# Don't use ranlib
10050	old_postinstall_cmds='chmod 644 $oldlib'
10051	postlink_cmds='lt_outputfile="@OUTPUT@"~
10052          lt_tool_outputfile="@TOOL_OUTPUT@"~
10053          case $lt_outputfile in
10054            *.exe|*.EXE) ;;
10055            *)
10056              lt_outputfile=$lt_outputfile.exe
10057              lt_tool_outputfile=$lt_tool_outputfile.exe
10058              ;;
10059          esac~
10060          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10061            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10062            $RM "$lt_outputfile.manifest";
10063          fi'
10064	;;
10065      *)
10066	# Assume MSVC and ICC wrapper
10067	hardcode_libdir_flag_spec=' '
10068	allow_undefined_flag=unsupported
10069	# Tell ltmain to make .lib files, not .a files.
10070	libext=lib
10071	# Tell ltmain to make .dll files, not .so files.
10072	shrext_cmds=.dll
10073	# FIXME: Setting linknames here is a bad hack.
10074	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10075	# The linker will automatically build a .lib file if we build a DLL.
10076	old_archive_from_new_cmds='true'
10077	# FIXME: Should let the user specify the lib program.
10078	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10079	enable_shared_with_static_runtimes=yes
10080	;;
10081      esac
10082      ;;
10083
10084    darwin* | rhapsody*)
10085
10086
10087  archive_cmds_need_lc=no
10088  hardcode_direct=no
10089  hardcode_automatic=yes
10090  hardcode_shlibpath_var=unsupported
10091  if test yes = "$lt_cv_ld_force_load"; then
10092    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\"`'
10093
10094  else
10095    whole_archive_flag_spec=''
10096  fi
10097  link_all_deplibs=yes
10098  allow_undefined_flag=$_lt_dar_allow_undefined
10099  case $cc_basename in
10100     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10101     *) _lt_dar_can_shared=$GCC ;;
10102  esac
10103  if test yes = "$_lt_dar_can_shared"; then
10104    output_verbose_link_cmd=func_echo_all
10105    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10106    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10107    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"
10108    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"
10109
10110  else
10111  ld_shlibs=no
10112  fi
10113
10114      ;;
10115
10116    dgux*)
10117      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10118      hardcode_libdir_flag_spec='-L$libdir'
10119      hardcode_shlibpath_var=no
10120      ;;
10121
10122    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10123    # support.  Future versions do this automatically, but an explicit c++rt0.o
10124    # does not break anything, and helps significantly (at the cost of a little
10125    # extra space).
10126    freebsd2.2*)
10127      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10128      hardcode_libdir_flag_spec='-R$libdir'
10129      hardcode_direct=yes
10130      hardcode_shlibpath_var=no
10131      ;;
10132
10133    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10134    freebsd2.*)
10135      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10136      hardcode_direct=yes
10137      hardcode_minus_L=yes
10138      hardcode_shlibpath_var=no
10139      ;;
10140
10141    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10142    freebsd* | dragonfly*)
10143      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10144      hardcode_libdir_flag_spec='-R$libdir'
10145      hardcode_direct=yes
10146      hardcode_shlibpath_var=no
10147      ;;
10148
10149    hpux9*)
10150      if test yes = "$GCC"; then
10151	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10152      else
10153	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10154      fi
10155      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10156      hardcode_libdir_separator=:
10157      hardcode_direct=yes
10158
10159      # hardcode_minus_L: Not really in the search PATH,
10160      # but as the default location of the library.
10161      hardcode_minus_L=yes
10162      export_dynamic_flag_spec='$wl-E'
10163      ;;
10164
10165    hpux10*)
10166      if test yes,no = "$GCC,$with_gnu_ld"; then
10167	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10168      else
10169	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10170      fi
10171      if test no = "$with_gnu_ld"; then
10172	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10173	hardcode_libdir_separator=:
10174	hardcode_direct=yes
10175	hardcode_direct_absolute=yes
10176	export_dynamic_flag_spec='$wl-E'
10177	# hardcode_minus_L: Not really in the search PATH,
10178	# but as the default location of the library.
10179	hardcode_minus_L=yes
10180      fi
10181      ;;
10182
10183    hpux11*)
10184      if test yes,no = "$GCC,$with_gnu_ld"; then
10185	case $host_cpu in
10186	hppa*64*)
10187	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10188	  ;;
10189	ia64*)
10190	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10191	  ;;
10192	*)
10193	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10194	  ;;
10195	esac
10196      else
10197	case $host_cpu in
10198	hppa*64*)
10199	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10200	  ;;
10201	ia64*)
10202	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10203	  ;;
10204	*)
10205
10206	  # Older versions of the 11.00 compiler do not understand -b yet
10207	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10208	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10209printf %s "checking if $CC understands -b... " >&6; }
10210if test ${lt_cv_prog_compiler__b+y}
10211then :
10212  printf %s "(cached) " >&6
10213else $as_nop
10214  lt_cv_prog_compiler__b=no
10215   save_LDFLAGS=$LDFLAGS
10216   LDFLAGS="$LDFLAGS -b"
10217   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10218   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10219     # The linker can only warn and ignore the option if not recognized
10220     # So say no if there are warnings
10221     if test -s conftest.err; then
10222       # Append any errors to the config.log.
10223       cat conftest.err 1>&5
10224       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10225       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10226       if diff conftest.exp conftest.er2 >/dev/null; then
10227         lt_cv_prog_compiler__b=yes
10228       fi
10229     else
10230       lt_cv_prog_compiler__b=yes
10231     fi
10232   fi
10233   $RM -r conftest*
10234   LDFLAGS=$save_LDFLAGS
10235
10236fi
10237{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10238printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
10239
10240if test yes = "$lt_cv_prog_compiler__b"; then
10241    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10242else
10243    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10244fi
10245
10246	  ;;
10247	esac
10248      fi
10249      if test no = "$with_gnu_ld"; then
10250	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10251	hardcode_libdir_separator=:
10252
10253	case $host_cpu in
10254	hppa*64*|ia64*)
10255	  hardcode_direct=no
10256	  hardcode_shlibpath_var=no
10257	  ;;
10258	*)
10259	  hardcode_direct=yes
10260	  hardcode_direct_absolute=yes
10261	  export_dynamic_flag_spec='$wl-E'
10262
10263	  # hardcode_minus_L: Not really in the search PATH,
10264	  # but as the default location of the library.
10265	  hardcode_minus_L=yes
10266	  ;;
10267	esac
10268      fi
10269      ;;
10270
10271    irix5* | irix6* | nonstopux*)
10272      if test yes = "$GCC"; then
10273	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'
10274	# Try to use the -exported_symbol ld option, if it does not
10275	# work, assume that -exports_file does not work either and
10276	# implicitly export all symbols.
10277	# This should be the same for all languages, so no per-tag cache variable.
10278	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10279printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10280if test ${lt_cv_irix_exported_symbol+y}
10281then :
10282  printf %s "(cached) " >&6
10283else $as_nop
10284  save_LDFLAGS=$LDFLAGS
10285	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10286	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10287/* end confdefs.h.  */
10288int foo (void) { return 0; }
10289_ACEOF
10290if ac_fn_c_try_link "$LINENO"
10291then :
10292  lt_cv_irix_exported_symbol=yes
10293else $as_nop
10294  lt_cv_irix_exported_symbol=no
10295fi
10296rm -f core conftest.err conftest.$ac_objext conftest.beam \
10297    conftest$ac_exeext conftest.$ac_ext
10298           LDFLAGS=$save_LDFLAGS
10299fi
10300{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10301printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
10302	if test yes = "$lt_cv_irix_exported_symbol"; then
10303          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'
10304	fi
10305      else
10306	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'
10307	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'
10308      fi
10309      archive_cmds_need_lc='no'
10310      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10311      hardcode_libdir_separator=:
10312      inherit_rpath=yes
10313      link_all_deplibs=yes
10314      ;;
10315
10316    linux*)
10317      case $cc_basename in
10318      tcc*)
10319	# Fabrice Bellard et al's Tiny C Compiler
10320	ld_shlibs=yes
10321	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10322	;;
10323      esac
10324      ;;
10325
10326    netbsd*)
10327      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10328	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10329      else
10330	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10331      fi
10332      hardcode_libdir_flag_spec='-R$libdir'
10333      hardcode_direct=yes
10334      hardcode_shlibpath_var=no
10335      ;;
10336
10337    newsos6)
10338      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10339      hardcode_direct=yes
10340      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10341      hardcode_libdir_separator=:
10342      hardcode_shlibpath_var=no
10343      ;;
10344
10345    *nto* | *qnx*)
10346      ;;
10347
10348    openbsd* | bitrig*)
10349      if test -f /usr/libexec/ld.so; then
10350	hardcode_direct=yes
10351	hardcode_shlibpath_var=no
10352	hardcode_direct_absolute=yes
10353	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10354	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10355	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10356	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10357	  export_dynamic_flag_spec='$wl-E'
10358	else
10359	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10360	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10361	fi
10362      else
10363	ld_shlibs=no
10364      fi
10365      ;;
10366
10367    os2*)
10368      hardcode_libdir_flag_spec='-L$libdir'
10369      hardcode_minus_L=yes
10370      allow_undefined_flag=unsupported
10371      shrext_cmds=.dll
10372      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10373	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10374	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10375	$ECHO EXPORTS >> $output_objdir/$libname.def~
10376	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10377	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10378	emximp -o $lib $output_objdir/$libname.def'
10379      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10380	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10381	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10382	$ECHO EXPORTS >> $output_objdir/$libname.def~
10383	prefix_cmds="$SED"~
10384	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10385	  prefix_cmds="$prefix_cmds -e 1d";
10386	fi~
10387	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10388	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10389	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10390	emximp -o $lib $output_objdir/$libname.def'
10391      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10392      enable_shared_with_static_runtimes=yes
10393      file_list_spec='@'
10394      ;;
10395
10396    osf3*)
10397      if test yes = "$GCC"; then
10398	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10399	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'
10400      else
10401	allow_undefined_flag=' -expect_unresolved \*'
10402	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'
10403      fi
10404      archive_cmds_need_lc='no'
10405      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10406      hardcode_libdir_separator=:
10407      ;;
10408
10409    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10410      if test yes = "$GCC"; then
10411	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10412	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'
10413	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10414      else
10415	allow_undefined_flag=' -expect_unresolved \*'
10416	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'
10417	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~
10418          $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'
10419
10420	# Both c and cxx compiler support -rpath directly
10421	hardcode_libdir_flag_spec='-rpath $libdir'
10422      fi
10423      archive_cmds_need_lc='no'
10424      hardcode_libdir_separator=:
10425      ;;
10426
10427    solaris*)
10428      no_undefined_flag=' -z defs'
10429      if test yes = "$GCC"; then
10430	wlarc='$wl'
10431	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10432	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10433          $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'
10434      else
10435	case `$CC -V 2>&1` in
10436	*"Compilers 5.0"*)
10437	  wlarc=''
10438	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10439	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10440            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10441	  ;;
10442	*)
10443	  wlarc='$wl'
10444	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10445	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10446            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10447	  ;;
10448	esac
10449      fi
10450      hardcode_libdir_flag_spec='-R$libdir'
10451      hardcode_shlibpath_var=no
10452      case $host_os in
10453      solaris2.[0-5] | solaris2.[0-5].*) ;;
10454      *)
10455	# The compiler driver will combine and reorder linker options,
10456	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10457	# but is careful enough not to reorder.
10458	# Supported since Solaris 2.6 (maybe 2.5.1?)
10459	if test yes = "$GCC"; then
10460	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10461	else
10462	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10463	fi
10464	;;
10465      esac
10466      link_all_deplibs=yes
10467      ;;
10468
10469    sunos4*)
10470      if test sequent = "$host_vendor"; then
10471	# Use $CC to link under sequent, because it throws in some extra .o
10472	# files that make .init and .fini sections work.
10473	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10474      else
10475	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10476      fi
10477      hardcode_libdir_flag_spec='-L$libdir'
10478      hardcode_direct=yes
10479      hardcode_minus_L=yes
10480      hardcode_shlibpath_var=no
10481      ;;
10482
10483    sysv4)
10484      case $host_vendor in
10485	sni)
10486	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10487	  hardcode_direct=yes # is this really true???
10488	;;
10489	siemens)
10490	  ## LD is ld it makes a PLAMLIB
10491	  ## CC just makes a GrossModule.
10492	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10493	  reload_cmds='$CC -r -o $output$reload_objs'
10494	  hardcode_direct=no
10495        ;;
10496	motorola)
10497	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10498	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10499	;;
10500      esac
10501      runpath_var='LD_RUN_PATH'
10502      hardcode_shlibpath_var=no
10503      ;;
10504
10505    sysv4.3*)
10506      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10507      hardcode_shlibpath_var=no
10508      export_dynamic_flag_spec='-Bexport'
10509      ;;
10510
10511    sysv4*MP*)
10512      if test -d /usr/nec; then
10513	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10514	hardcode_shlibpath_var=no
10515	runpath_var=LD_RUN_PATH
10516	hardcode_runpath_var=yes
10517	ld_shlibs=yes
10518      fi
10519      ;;
10520
10521    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10522      no_undefined_flag='$wl-z,text'
10523      archive_cmds_need_lc=no
10524      hardcode_shlibpath_var=no
10525      runpath_var='LD_RUN_PATH'
10526
10527      if test yes = "$GCC"; then
10528	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10529	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10530      else
10531	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10532	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10533      fi
10534      ;;
10535
10536    sysv5* | sco3.2v5* | sco5v6*)
10537      # Note: We CANNOT use -z defs as we might desire, because we do not
10538      # link with -lc, and that would cause any symbols used from libc to
10539      # always be unresolved, which means just about no library would
10540      # ever link correctly.  If we're not using GNU ld we use -z text
10541      # though, which does catch some bad symbols but isn't as heavy-handed
10542      # as -z defs.
10543      no_undefined_flag='$wl-z,text'
10544      allow_undefined_flag='$wl-z,nodefs'
10545      archive_cmds_need_lc=no
10546      hardcode_shlibpath_var=no
10547      hardcode_libdir_flag_spec='$wl-R,$libdir'
10548      hardcode_libdir_separator=':'
10549      link_all_deplibs=yes
10550      export_dynamic_flag_spec='$wl-Bexport'
10551      runpath_var='LD_RUN_PATH'
10552
10553      if test yes = "$GCC"; then
10554	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10555	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10556      else
10557	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10558	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10559      fi
10560      ;;
10561
10562    uts4*)
10563      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10564      hardcode_libdir_flag_spec='-L$libdir'
10565      hardcode_shlibpath_var=no
10566      ;;
10567
10568    *)
10569      ld_shlibs=no
10570      ;;
10571    esac
10572
10573    if test sni = "$host_vendor"; then
10574      case $host in
10575      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10576	export_dynamic_flag_spec='$wl-Blargedynsym'
10577	;;
10578      esac
10579    fi
10580  fi
10581
10582{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10583printf "%s\n" "$ld_shlibs" >&6; }
10584test no = "$ld_shlibs" && can_build_shared=no
10585
10586with_gnu_ld=$with_gnu_ld
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602#
10603# Do we need to explicitly link libc?
10604#
10605case "x$archive_cmds_need_lc" in
10606x|xyes)
10607  # Assume -lc should be added
10608  archive_cmds_need_lc=yes
10609
10610  if test yes,yes = "$GCC,$enable_shared"; then
10611    case $archive_cmds in
10612    *'~'*)
10613      # FIXME: we may have to deal with multi-command sequences.
10614      ;;
10615    '$CC '*)
10616      # Test whether the compiler implicitly links with -lc since on some
10617      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10618      # to ld, don't add -lc before -lgcc.
10619      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10620printf %s "checking whether -lc should be explicitly linked in... " >&6; }
10621if test ${lt_cv_archive_cmds_need_lc+y}
10622then :
10623  printf %s "(cached) " >&6
10624else $as_nop
10625  $RM conftest*
10626	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10627
10628	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10629  (eval $ac_compile) 2>&5
10630  ac_status=$?
10631  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10632  test $ac_status = 0; } 2>conftest.err; then
10633	  soname=conftest
10634	  lib=conftest
10635	  libobjs=conftest.$ac_objext
10636	  deplibs=
10637	  wl=$lt_prog_compiler_wl
10638	  pic_flag=$lt_prog_compiler_pic
10639	  compiler_flags=-v
10640	  linker_flags=-v
10641	  verstring=
10642	  output_objdir=.
10643	  libname=conftest
10644	  lt_save_allow_undefined_flag=$allow_undefined_flag
10645	  allow_undefined_flag=
10646	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10647  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10648  ac_status=$?
10649  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10650  test $ac_status = 0; }
10651	  then
10652	    lt_cv_archive_cmds_need_lc=no
10653	  else
10654	    lt_cv_archive_cmds_need_lc=yes
10655	  fi
10656	  allow_undefined_flag=$lt_save_allow_undefined_flag
10657	else
10658	  cat conftest.err 1>&5
10659	fi
10660	$RM conftest*
10661
10662fi
10663{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10664printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
10665      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10666      ;;
10667    esac
10668  fi
10669  ;;
10670esac
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10824printf %s "checking dynamic linker characteristics... " >&6; }
10825
10826if test yes = "$GCC"; then
10827  case $host_os in
10828    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10829    *) lt_awk_arg='/^libraries:/' ;;
10830  esac
10831  case $host_os in
10832    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10833    *) lt_sed_strip_eq='s|=/|/|g' ;;
10834  esac
10835  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10836  case $lt_search_path_spec in
10837  *\;*)
10838    # if the path contains ";" then we assume it to be the separator
10839    # otherwise default to the standard path separator (i.e. ":") - it is
10840    # assumed that no part of a normal pathname contains ";" but that should
10841    # okay in the real world where ";" in dirpaths is itself problematic.
10842    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10843    ;;
10844  *)
10845    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10846    ;;
10847  esac
10848  # Ok, now we have the path, separated by spaces, we can step through it
10849  # and add multilib dir if necessary...
10850  lt_tmp_lt_search_path_spec=
10851  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10852  # ...but if some path component already ends with the multilib dir we assume
10853  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10854  case "$lt_multi_os_dir; $lt_search_path_spec " in
10855  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10856    lt_multi_os_dir=
10857    ;;
10858  esac
10859  for lt_sys_path in $lt_search_path_spec; do
10860    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10861      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10862    elif test -n "$lt_multi_os_dir"; then
10863      test -d "$lt_sys_path" && \
10864	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10865    fi
10866  done
10867  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10868BEGIN {RS = " "; FS = "/|\n";} {
10869  lt_foo = "";
10870  lt_count = 0;
10871  for (lt_i = NF; lt_i > 0; lt_i--) {
10872    if ($lt_i != "" && $lt_i != ".") {
10873      if ($lt_i == "..") {
10874        lt_count++;
10875      } else {
10876        if (lt_count == 0) {
10877          lt_foo = "/" $lt_i lt_foo;
10878        } else {
10879          lt_count--;
10880        }
10881      }
10882    }
10883  }
10884  if (lt_foo != "") { lt_freq[lt_foo]++; }
10885  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10886}'`
10887  # AWK program above erroneously prepends '/' to C:/dos/paths
10888  # for these hosts.
10889  case $host_os in
10890    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10891      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10892  esac
10893  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10894else
10895  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10896fi
10897library_names_spec=
10898libname_spec='lib$name'
10899soname_spec=
10900shrext_cmds=.so
10901postinstall_cmds=
10902postuninstall_cmds=
10903finish_cmds=
10904finish_eval=
10905shlibpath_var=
10906shlibpath_overrides_runpath=unknown
10907version_type=none
10908dynamic_linker="$host_os ld.so"
10909sys_lib_dlsearch_path_spec="/lib /usr/lib"
10910need_lib_prefix=unknown
10911hardcode_into_libs=no
10912
10913# when you set need_version to no, make sure it does not cause -set_version
10914# flags to be left without arguments
10915need_version=unknown
10916
10917
10918
10919case $host_os in
10920aix3*)
10921  version_type=linux # correct to gnu/linux during the next big refactor
10922  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10923  shlibpath_var=LIBPATH
10924
10925  # AIX 3 has no versioning support, so we append a major version to the name.
10926  soname_spec='$libname$release$shared_ext$major'
10927  ;;
10928
10929aix[4-9]*)
10930  version_type=linux # correct to gnu/linux during the next big refactor
10931  need_lib_prefix=no
10932  need_version=no
10933  hardcode_into_libs=yes
10934  if test ia64 = "$host_cpu"; then
10935    # AIX 5 supports IA64
10936    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10937    shlibpath_var=LD_LIBRARY_PATH
10938  else
10939    # With GCC up to 2.95.x, collect2 would create an import file
10940    # for dependence libraries.  The import file would start with
10941    # the line '#! .'.  This would cause the generated library to
10942    # depend on '.', always an invalid library.  This was fixed in
10943    # development snapshots of GCC prior to 3.0.
10944    case $host_os in
10945      aix4 | aix4.[01] | aix4.[01].*)
10946      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10947	   echo ' yes '
10948	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10949	:
10950      else
10951	can_build_shared=no
10952      fi
10953      ;;
10954    esac
10955    # Using Import Files as archive members, it is possible to support
10956    # filename-based versioning of shared library archives on AIX. While
10957    # this would work for both with and without runtime linking, it will
10958    # prevent static linking of such archives. So we do filename-based
10959    # shared library versioning with .so extension only, which is used
10960    # when both runtime linking and shared linking is enabled.
10961    # Unfortunately, runtime linking may impact performance, so we do
10962    # not want this to be the default eventually. Also, we use the
10963    # versioned .so libs for executables only if there is the -brtl
10964    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10965    # To allow for filename-based versioning support, we need to create
10966    # libNAME.so.V as an archive file, containing:
10967    # *) an Import File, referring to the versioned filename of the
10968    #    archive as well as the shared archive member, telling the
10969    #    bitwidth (32 or 64) of that shared object, and providing the
10970    #    list of exported symbols of that shared object, eventually
10971    #    decorated with the 'weak' keyword
10972    # *) the shared object with the F_LOADONLY flag set, to really avoid
10973    #    it being seen by the linker.
10974    # At run time we better use the real file rather than another symlink,
10975    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10976
10977    case $with_aix_soname,$aix_use_runtimelinking in
10978    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10979    # soname into executable. Probably we can add versioning support to
10980    # collect2, so additional links can be useful in future.
10981    aix,yes) # traditional libtool
10982      dynamic_linker='AIX unversionable lib.so'
10983      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10984      # instead of lib<name>.a to let people know that these are not
10985      # typical AIX shared libraries.
10986      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10987      ;;
10988    aix,no) # traditional AIX only
10989      dynamic_linker='AIX lib.a(lib.so.V)'
10990      # We preserve .a as extension for shared libraries through AIX4.2
10991      # and later when we are not doing run time linking.
10992      library_names_spec='$libname$release.a $libname.a'
10993      soname_spec='$libname$release$shared_ext$major'
10994      ;;
10995    svr4,*) # full svr4 only
10996      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10997      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10998      # We do not specify a path in Import Files, so LIBPATH fires.
10999      shlibpath_overrides_runpath=yes
11000      ;;
11001    *,yes) # both, prefer svr4
11002      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11003      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11004      # unpreferred sharedlib libNAME.a needs extra handling
11005      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11006      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11007      # We do not specify a path in Import Files, so LIBPATH fires.
11008      shlibpath_overrides_runpath=yes
11009      ;;
11010    *,no) # both, prefer aix
11011      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11012      library_names_spec='$libname$release.a $libname.a'
11013      soname_spec='$libname$release$shared_ext$major'
11014      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11015      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11016      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11017      ;;
11018    esac
11019    shlibpath_var=LIBPATH
11020  fi
11021  ;;
11022
11023amigaos*)
11024  case $host_cpu in
11025  powerpc)
11026    # Since July 2007 AmigaOS4 officially supports .so libraries.
11027    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11028    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11029    ;;
11030  m68k)
11031    library_names_spec='$libname.ixlibrary $libname.a'
11032    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11033    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11034    ;;
11035  esac
11036  ;;
11037
11038beos*)
11039  library_names_spec='$libname$shared_ext'
11040  dynamic_linker="$host_os ld.so"
11041  shlibpath_var=LIBRARY_PATH
11042  ;;
11043
11044bsdi[45]*)
11045  version_type=linux # correct to gnu/linux during the next big refactor
11046  need_version=no
11047  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11048  soname_spec='$libname$release$shared_ext$major'
11049  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11050  shlibpath_var=LD_LIBRARY_PATH
11051  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11052  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11053  # the default ld.so.conf also contains /usr/contrib/lib and
11054  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11055  # libtool to hard-code these into programs
11056  ;;
11057
11058cygwin* | mingw* | pw32* | cegcc*)
11059  version_type=windows
11060  shrext_cmds=.dll
11061  need_version=no
11062  need_lib_prefix=no
11063
11064  case $GCC,$cc_basename in
11065  yes,*)
11066    # gcc
11067    library_names_spec='$libname.dll.a'
11068    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11069    postinstall_cmds='base_file=`basename \$file`~
11070      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11071      dldir=$destdir/`dirname \$dlpath`~
11072      test -d \$dldir || mkdir -p \$dldir~
11073      $install_prog $dir/$dlname \$dldir/$dlname~
11074      chmod a+x \$dldir/$dlname~
11075      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11076        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11077      fi'
11078    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11079      dlpath=$dir/\$dldll~
11080       $RM \$dlpath'
11081    shlibpath_overrides_runpath=yes
11082
11083    case $host_os in
11084    cygwin*)
11085      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11086      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11087
11088      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11089      ;;
11090    mingw* | cegcc*)
11091      # MinGW DLLs use traditional 'lib' prefix
11092      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11093      ;;
11094    pw32*)
11095      # pw32 DLLs use 'pw' prefix rather than 'lib'
11096      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11097      ;;
11098    esac
11099    dynamic_linker='Win32 ld.exe'
11100    ;;
11101
11102  *,cl* | *,icl*)
11103    # Native MSVC or ICC
11104    libname_spec='$name'
11105    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11106    library_names_spec='$libname.dll.lib'
11107
11108    case $build_os in
11109    mingw*)
11110      sys_lib_search_path_spec=
11111      lt_save_ifs=$IFS
11112      IFS=';'
11113      for lt_path in $LIB
11114      do
11115        IFS=$lt_save_ifs
11116        # Let DOS variable expansion print the short 8.3 style file name.
11117        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11118        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11119      done
11120      IFS=$lt_save_ifs
11121      # Convert to MSYS style.
11122      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11123      ;;
11124    cygwin*)
11125      # Convert to unix form, then to dos form, then back to unix form
11126      # but this time dos style (no spaces!) so that the unix form looks
11127      # like /cygdrive/c/PROGRA~1:/cygdr...
11128      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11129      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11130      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11131      ;;
11132    *)
11133      sys_lib_search_path_spec=$LIB
11134      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11135        # It is most probably a Windows format PATH.
11136        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11137      else
11138        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11139      fi
11140      # FIXME: find the short name or the path components, as spaces are
11141      # common. (e.g. "Program Files" -> "PROGRA~1")
11142      ;;
11143    esac
11144
11145    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11146    postinstall_cmds='base_file=`basename \$file`~
11147      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11148      dldir=$destdir/`dirname \$dlpath`~
11149      test -d \$dldir || mkdir -p \$dldir~
11150      $install_prog $dir/$dlname \$dldir/$dlname'
11151    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11152      dlpath=$dir/\$dldll~
11153       $RM \$dlpath'
11154    shlibpath_overrides_runpath=yes
11155    dynamic_linker='Win32 link.exe'
11156    ;;
11157
11158  *)
11159    # Assume MSVC and ICC wrapper
11160    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11161    dynamic_linker='Win32 ld.exe'
11162    ;;
11163  esac
11164  # FIXME: first we should search . and the directory the executable is in
11165  shlibpath_var=PATH
11166  ;;
11167
11168darwin* | rhapsody*)
11169  dynamic_linker="$host_os dyld"
11170  version_type=darwin
11171  need_lib_prefix=no
11172  need_version=no
11173  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11174  soname_spec='$libname$release$major$shared_ext'
11175  shlibpath_overrides_runpath=yes
11176  shlibpath_var=DYLD_LIBRARY_PATH
11177  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11178
11179  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11180  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11181  ;;
11182
11183dgux*)
11184  version_type=linux # correct to gnu/linux during the next big refactor
11185  need_lib_prefix=no
11186  need_version=no
11187  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11188  soname_spec='$libname$release$shared_ext$major'
11189  shlibpath_var=LD_LIBRARY_PATH
11190  ;;
11191
11192freebsd* | dragonfly*)
11193  # DragonFly does not have aout.  When/if they implement a new
11194  # versioning mechanism, adjust this.
11195  if test -x /usr/bin/objformat; then
11196    objformat=`/usr/bin/objformat`
11197  else
11198    case $host_os in
11199    freebsd[23].*) objformat=aout ;;
11200    *) objformat=elf ;;
11201    esac
11202  fi
11203  version_type=freebsd-$objformat
11204  case $version_type in
11205    freebsd-elf*)
11206      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11207      soname_spec='$libname$release$shared_ext$major'
11208      need_version=no
11209      need_lib_prefix=no
11210      ;;
11211    freebsd-*)
11212      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11213      need_version=yes
11214      ;;
11215  esac
11216  shlibpath_var=LD_LIBRARY_PATH
11217  case $host_os in
11218  freebsd2.*)
11219    shlibpath_overrides_runpath=yes
11220    ;;
11221  freebsd3.[01]* | freebsdelf3.[01]*)
11222    shlibpath_overrides_runpath=yes
11223    hardcode_into_libs=yes
11224    ;;
11225  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11226  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11227    shlibpath_overrides_runpath=no
11228    hardcode_into_libs=yes
11229    ;;
11230  *) # from 4.6 on, and DragonFly
11231    shlibpath_overrides_runpath=yes
11232    hardcode_into_libs=yes
11233    ;;
11234  esac
11235  ;;
11236
11237haiku*)
11238  version_type=linux # correct to gnu/linux during the next big refactor
11239  need_lib_prefix=no
11240  need_version=no
11241  dynamic_linker="$host_os runtime_loader"
11242  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11243  soname_spec='$libname$release$shared_ext$major'
11244  shlibpath_var=LIBRARY_PATH
11245  shlibpath_overrides_runpath=no
11246  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11247  hardcode_into_libs=yes
11248  ;;
11249
11250hpux9* | hpux10* | hpux11*)
11251  # Give a soname corresponding to the major version so that dld.sl refuses to
11252  # link against other versions.
11253  version_type=sunos
11254  need_lib_prefix=no
11255  need_version=no
11256  case $host_cpu in
11257  ia64*)
11258    shrext_cmds='.so'
11259    hardcode_into_libs=yes
11260    dynamic_linker="$host_os dld.so"
11261    shlibpath_var=LD_LIBRARY_PATH
11262    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11263    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11264    soname_spec='$libname$release$shared_ext$major'
11265    if test 32 = "$HPUX_IA64_MODE"; then
11266      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11267      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11268    else
11269      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11270      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11271    fi
11272    ;;
11273  hppa*64*)
11274    shrext_cmds='.sl'
11275    hardcode_into_libs=yes
11276    dynamic_linker="$host_os dld.sl"
11277    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11278    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11282    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11283    ;;
11284  *)
11285    shrext_cmds='.sl'
11286    dynamic_linker="$host_os dld.sl"
11287    shlibpath_var=SHLIB_PATH
11288    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11289    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11290    soname_spec='$libname$release$shared_ext$major'
11291    ;;
11292  esac
11293  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11294  postinstall_cmds='chmod 555 $lib'
11295  # or fails outright, so override atomically:
11296  install_override_mode=555
11297  ;;
11298
11299interix[3-9]*)
11300  version_type=linux # correct to gnu/linux during the next big refactor
11301  need_lib_prefix=no
11302  need_version=no
11303  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11304  soname_spec='$libname$release$shared_ext$major'
11305  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11306  shlibpath_var=LD_LIBRARY_PATH
11307  shlibpath_overrides_runpath=no
11308  hardcode_into_libs=yes
11309  ;;
11310
11311irix5* | irix6* | nonstopux*)
11312  case $host_os in
11313    nonstopux*) version_type=nonstopux ;;
11314    *)
11315	if test yes = "$lt_cv_prog_gnu_ld"; then
11316		version_type=linux # correct to gnu/linux during the next big refactor
11317	else
11318		version_type=irix
11319	fi ;;
11320  esac
11321  need_lib_prefix=no
11322  need_version=no
11323  soname_spec='$libname$release$shared_ext$major'
11324  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11325  case $host_os in
11326  irix5* | nonstopux*)
11327    libsuff= shlibsuff=
11328    ;;
11329  *)
11330    case $LD in # libtool.m4 will add one of these switches to LD
11331    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11332      libsuff= shlibsuff= libmagic=32-bit;;
11333    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11334      libsuff=32 shlibsuff=N32 libmagic=N32;;
11335    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11336      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11337    *) libsuff= shlibsuff= libmagic=never-match;;
11338    esac
11339    ;;
11340  esac
11341  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11342  shlibpath_overrides_runpath=no
11343  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11344  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11345  hardcode_into_libs=yes
11346  ;;
11347
11348# No shared lib support for Linux oldld, aout, or coff.
11349linux*oldld* | linux*aout* | linux*coff*)
11350  dynamic_linker=no
11351  ;;
11352
11353linux*android*)
11354  version_type=none # Android doesn't support versioned libraries.
11355  need_lib_prefix=no
11356  need_version=no
11357  library_names_spec='$libname$release$shared_ext'
11358  soname_spec='$libname$release$shared_ext'
11359  finish_cmds=
11360  shlibpath_var=LD_LIBRARY_PATH
11361  shlibpath_overrides_runpath=yes
11362
11363  # This implies no fast_install, which is unacceptable.
11364  # Some rework will be needed to allow for fast_install
11365  # before this can be enabled.
11366  hardcode_into_libs=yes
11367
11368  dynamic_linker='Android linker'
11369  # Don't embed -rpath directories since the linker doesn't support them.
11370  hardcode_libdir_flag_spec='-L$libdir'
11371  ;;
11372
11373# This must be glibc/ELF.
11374linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11375  version_type=linux # correct to gnu/linux during the next big refactor
11376  need_lib_prefix=no
11377  need_version=no
11378  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11379  soname_spec='$libname$release$shared_ext$major'
11380  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11381  shlibpath_var=LD_LIBRARY_PATH
11382  shlibpath_overrides_runpath=no
11383
11384  # Some binutils ld are patched to set DT_RUNPATH
11385  if test ${lt_cv_shlibpath_overrides_runpath+y}
11386then :
11387  printf %s "(cached) " >&6
11388else $as_nop
11389  lt_cv_shlibpath_overrides_runpath=no
11390    save_LDFLAGS=$LDFLAGS
11391    save_libdir=$libdir
11392    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11393	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11394    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11395/* end confdefs.h.  */
11396
11397int
11398main (void)
11399{
11400
11401  ;
11402  return 0;
11403}
11404_ACEOF
11405if ac_fn_c_try_link "$LINENO"
11406then :
11407  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
11408then :
11409  lt_cv_shlibpath_overrides_runpath=yes
11410fi
11411fi
11412rm -f core conftest.err conftest.$ac_objext conftest.beam \
11413    conftest$ac_exeext conftest.$ac_ext
11414    LDFLAGS=$save_LDFLAGS
11415    libdir=$save_libdir
11416
11417fi
11418
11419  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11420
11421  # This implies no fast_install, which is unacceptable.
11422  # Some rework will be needed to allow for fast_install
11423  # before this can be enabled.
11424  hardcode_into_libs=yes
11425
11426  # Ideally, we could use ldconfig to report *all* directores which are
11427  # searched for libraries, however this is still not possible.  Aside from not
11428  # being certain /sbin/ldconfig is available, command
11429  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11430  # even though it is searched at run-time.  Try to do the best guess by
11431  # appending ld.so.conf contents (and includes) to the search path.
11432  if test -f /etc/ld.so.conf; then
11433    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' ' '`
11434    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11435  fi
11436
11437  # We used to test for /lib/ld.so.1 and disable shared libraries on
11438  # powerpc, because MkLinux only supported shared libraries with the
11439  # GNU dynamic linker.  Since this was broken with cross compilers,
11440  # most powerpc-linux boxes support dynamic linking these days and
11441  # people can always --disable-shared, the test was removed, and we
11442  # assume the GNU/Linux dynamic linker is in use.
11443  dynamic_linker='GNU/Linux ld.so'
11444  ;;
11445
11446netbsd*)
11447  version_type=sunos
11448  need_lib_prefix=no
11449  need_version=no
11450  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11451    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11452    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11453    dynamic_linker='NetBSD (a.out) ld.so'
11454  else
11455    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11456    soname_spec='$libname$release$shared_ext$major'
11457    dynamic_linker='NetBSD ld.elf_so'
11458  fi
11459  shlibpath_var=LD_LIBRARY_PATH
11460  shlibpath_overrides_runpath=yes
11461  hardcode_into_libs=yes
11462  ;;
11463
11464newsos6)
11465  version_type=linux # correct to gnu/linux during the next big refactor
11466  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11467  shlibpath_var=LD_LIBRARY_PATH
11468  shlibpath_overrides_runpath=yes
11469  ;;
11470
11471*nto* | *qnx*)
11472  version_type=qnx
11473  need_lib_prefix=no
11474  need_version=no
11475  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11476  soname_spec='$libname$release$shared_ext$major'
11477  shlibpath_var=LD_LIBRARY_PATH
11478  shlibpath_overrides_runpath=no
11479  hardcode_into_libs=yes
11480  dynamic_linker='ldqnx.so'
11481  ;;
11482
11483openbsd* | bitrig*)
11484  version_type=sunos
11485  sys_lib_dlsearch_path_spec=/usr/lib
11486  need_lib_prefix=no
11487  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11488    need_version=no
11489  else
11490    need_version=yes
11491  fi
11492  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11493  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11494  shlibpath_var=LD_LIBRARY_PATH
11495  shlibpath_overrides_runpath=yes
11496  ;;
11497
11498os2*)
11499  libname_spec='$name'
11500  version_type=windows
11501  shrext_cmds=.dll
11502  need_version=no
11503  need_lib_prefix=no
11504  # OS/2 can only load a DLL with a base name of 8 characters or less.
11505  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11506    v=$($ECHO $release$versuffix | tr -d .-);
11507    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11508    $ECHO $n$v`$shared_ext'
11509  library_names_spec='${libname}_dll.$libext'
11510  dynamic_linker='OS/2 ld.exe'
11511  shlibpath_var=BEGINLIBPATH
11512  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11513  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11514  postinstall_cmds='base_file=`basename \$file`~
11515    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11516    dldir=$destdir/`dirname \$dlpath`~
11517    test -d \$dldir || mkdir -p \$dldir~
11518    $install_prog $dir/$dlname \$dldir/$dlname~
11519    chmod a+x \$dldir/$dlname~
11520    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11521      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11522    fi'
11523  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11524    dlpath=$dir/\$dldll~
11525    $RM \$dlpath'
11526  ;;
11527
11528osf3* | osf4* | osf5*)
11529  version_type=osf
11530  need_lib_prefix=no
11531  need_version=no
11532  soname_spec='$libname$release$shared_ext$major'
11533  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11534  shlibpath_var=LD_LIBRARY_PATH
11535  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11536  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11537  ;;
11538
11539rdos*)
11540  dynamic_linker=no
11541  ;;
11542
11543solaris*)
11544  version_type=linux # correct to gnu/linux during the next big refactor
11545  need_lib_prefix=no
11546  need_version=no
11547  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11548  soname_spec='$libname$release$shared_ext$major'
11549  shlibpath_var=LD_LIBRARY_PATH
11550  shlibpath_overrides_runpath=yes
11551  hardcode_into_libs=yes
11552  # ldd complains unless libraries are executable
11553  postinstall_cmds='chmod +x $lib'
11554  ;;
11555
11556sunos4*)
11557  version_type=sunos
11558  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11559  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11560  shlibpath_var=LD_LIBRARY_PATH
11561  shlibpath_overrides_runpath=yes
11562  if test yes = "$with_gnu_ld"; then
11563    need_lib_prefix=no
11564  fi
11565  need_version=yes
11566  ;;
11567
11568sysv4 | sysv4.3*)
11569  version_type=linux # correct to gnu/linux during the next big refactor
11570  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11571  soname_spec='$libname$release$shared_ext$major'
11572  shlibpath_var=LD_LIBRARY_PATH
11573  case $host_vendor in
11574    sni)
11575      shlibpath_overrides_runpath=no
11576      need_lib_prefix=no
11577      runpath_var=LD_RUN_PATH
11578      ;;
11579    siemens)
11580      need_lib_prefix=no
11581      ;;
11582    motorola)
11583      need_lib_prefix=no
11584      need_version=no
11585      shlibpath_overrides_runpath=no
11586      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11587      ;;
11588  esac
11589  ;;
11590
11591sysv4*MP*)
11592  if test -d /usr/nec; then
11593    version_type=linux # correct to gnu/linux during the next big refactor
11594    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11595    soname_spec='$libname$shared_ext.$major'
11596    shlibpath_var=LD_LIBRARY_PATH
11597  fi
11598  ;;
11599
11600sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11601  version_type=sco
11602  need_lib_prefix=no
11603  need_version=no
11604  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11605  soname_spec='$libname$release$shared_ext$major'
11606  shlibpath_var=LD_LIBRARY_PATH
11607  shlibpath_overrides_runpath=yes
11608  hardcode_into_libs=yes
11609  if test yes = "$with_gnu_ld"; then
11610    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11611  else
11612    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11613    case $host_os in
11614      sco3.2v5*)
11615        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11616	;;
11617    esac
11618  fi
11619  sys_lib_dlsearch_path_spec='/usr/lib'
11620  ;;
11621
11622tpf*)
11623  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11624  version_type=linux # correct to gnu/linux during the next big refactor
11625  need_lib_prefix=no
11626  need_version=no
11627  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11628  shlibpath_var=LD_LIBRARY_PATH
11629  shlibpath_overrides_runpath=no
11630  hardcode_into_libs=yes
11631  ;;
11632
11633uts4*)
11634  version_type=linux # correct to gnu/linux during the next big refactor
11635  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11636  soname_spec='$libname$release$shared_ext$major'
11637  shlibpath_var=LD_LIBRARY_PATH
11638  ;;
11639
11640*)
11641  dynamic_linker=no
11642  ;;
11643esac
11644{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11645printf "%s\n" "$dynamic_linker" >&6; }
11646test no = "$dynamic_linker" && can_build_shared=no
11647
11648variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11649if test yes = "$GCC"; then
11650  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11651fi
11652
11653if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11654  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11655fi
11656
11657if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11658  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11659fi
11660
11661# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11662configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11663
11664# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11665func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11666
11667# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11668configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11767printf %s "checking how to hardcode library paths into programs... " >&6; }
11768hardcode_action=
11769if test -n "$hardcode_libdir_flag_spec" ||
11770   test -n "$runpath_var" ||
11771   test yes = "$hardcode_automatic"; then
11772
11773  # We can hardcode non-existent directories.
11774  if test no != "$hardcode_direct" &&
11775     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11776     # have to relink, otherwise we might link with an installed library
11777     # when we should be linking with a yet-to-be-installed one
11778     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11779     test no != "$hardcode_minus_L"; then
11780    # Linking always hardcodes the temporary library directory.
11781    hardcode_action=relink
11782  else
11783    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11784    hardcode_action=immediate
11785  fi
11786else
11787  # We cannot hardcode anything, or else we can only hardcode existing
11788  # directories.
11789  hardcode_action=unsupported
11790fi
11791{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11792printf "%s\n" "$hardcode_action" >&6; }
11793
11794if test relink = "$hardcode_action" ||
11795   test yes = "$inherit_rpath"; then
11796  # Fast installation is not supported
11797  enable_fast_install=no
11798elif test yes = "$shlibpath_overrides_runpath" ||
11799     test no = "$enable_shared"; then
11800  # Fast installation is not necessary
11801  enable_fast_install=needless
11802fi
11803
11804
11805
11806
11807
11808
11809  if test yes != "$enable_dlopen"; then
11810  enable_dlopen=unknown
11811  enable_dlopen_self=unknown
11812  enable_dlopen_self_static=unknown
11813else
11814  lt_cv_dlopen=no
11815  lt_cv_dlopen_libs=
11816
11817  case $host_os in
11818  beos*)
11819    lt_cv_dlopen=load_add_on
11820    lt_cv_dlopen_libs=
11821    lt_cv_dlopen_self=yes
11822    ;;
11823
11824  mingw* | pw32* | cegcc*)
11825    lt_cv_dlopen=LoadLibrary
11826    lt_cv_dlopen_libs=
11827    ;;
11828
11829  cygwin*)
11830    lt_cv_dlopen=dlopen
11831    lt_cv_dlopen_libs=
11832    ;;
11833
11834  darwin*)
11835    # if libdl is installed we need to link against it
11836    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11837printf %s "checking for dlopen in -ldl... " >&6; }
11838if test ${ac_cv_lib_dl_dlopen+y}
11839then :
11840  printf %s "(cached) " >&6
11841else $as_nop
11842  ac_check_lib_save_LIBS=$LIBS
11843LIBS="-ldl  $LIBS"
11844cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11845/* end confdefs.h.  */
11846
11847/* Override any GCC internal prototype to avoid an error.
11848   Use char because int might match the return type of a GCC
11849   builtin and then its argument prototype would still apply.  */
11850char dlopen ();
11851int
11852main (void)
11853{
11854return dlopen ();
11855  ;
11856  return 0;
11857}
11858_ACEOF
11859if ac_fn_c_try_link "$LINENO"
11860then :
11861  ac_cv_lib_dl_dlopen=yes
11862else $as_nop
11863  ac_cv_lib_dl_dlopen=no
11864fi
11865rm -f core conftest.err conftest.$ac_objext conftest.beam \
11866    conftest$ac_exeext conftest.$ac_ext
11867LIBS=$ac_check_lib_save_LIBS
11868fi
11869{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11870printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
11871if test "x$ac_cv_lib_dl_dlopen" = xyes
11872then :
11873  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11874else $as_nop
11875
11876    lt_cv_dlopen=dyld
11877    lt_cv_dlopen_libs=
11878    lt_cv_dlopen_self=yes
11879
11880fi
11881
11882    ;;
11883
11884  tpf*)
11885    # Don't try to run any link tests for TPF.  We know it's impossible
11886    # because TPF is a cross-compiler, and we know how we open DSOs.
11887    lt_cv_dlopen=dlopen
11888    lt_cv_dlopen_libs=
11889    lt_cv_dlopen_self=no
11890    ;;
11891
11892  *)
11893    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11894if test "x$ac_cv_func_shl_load" = xyes
11895then :
11896  lt_cv_dlopen=shl_load
11897else $as_nop
11898  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11899printf %s "checking for shl_load in -ldld... " >&6; }
11900if test ${ac_cv_lib_dld_shl_load+y}
11901then :
11902  printf %s "(cached) " >&6
11903else $as_nop
11904  ac_check_lib_save_LIBS=$LIBS
11905LIBS="-ldld  $LIBS"
11906cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11907/* end confdefs.h.  */
11908
11909/* Override any GCC internal prototype to avoid an error.
11910   Use char because int might match the return type of a GCC
11911   builtin and then its argument prototype would still apply.  */
11912char shl_load ();
11913int
11914main (void)
11915{
11916return shl_load ();
11917  ;
11918  return 0;
11919}
11920_ACEOF
11921if ac_fn_c_try_link "$LINENO"
11922then :
11923  ac_cv_lib_dld_shl_load=yes
11924else $as_nop
11925  ac_cv_lib_dld_shl_load=no
11926fi
11927rm -f core conftest.err conftest.$ac_objext conftest.beam \
11928    conftest$ac_exeext conftest.$ac_ext
11929LIBS=$ac_check_lib_save_LIBS
11930fi
11931{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11932printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
11933if test "x$ac_cv_lib_dld_shl_load" = xyes
11934then :
11935  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11936else $as_nop
11937  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11938if test "x$ac_cv_func_dlopen" = xyes
11939then :
11940  lt_cv_dlopen=dlopen
11941else $as_nop
11942  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11943printf %s "checking for dlopen in -ldl... " >&6; }
11944if test ${ac_cv_lib_dl_dlopen+y}
11945then :
11946  printf %s "(cached) " >&6
11947else $as_nop
11948  ac_check_lib_save_LIBS=$LIBS
11949LIBS="-ldl  $LIBS"
11950cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951/* end confdefs.h.  */
11952
11953/* Override any GCC internal prototype to avoid an error.
11954   Use char because int might match the return type of a GCC
11955   builtin and then its argument prototype would still apply.  */
11956char dlopen ();
11957int
11958main (void)
11959{
11960return dlopen ();
11961  ;
11962  return 0;
11963}
11964_ACEOF
11965if ac_fn_c_try_link "$LINENO"
11966then :
11967  ac_cv_lib_dl_dlopen=yes
11968else $as_nop
11969  ac_cv_lib_dl_dlopen=no
11970fi
11971rm -f core conftest.err conftest.$ac_objext conftest.beam \
11972    conftest$ac_exeext conftest.$ac_ext
11973LIBS=$ac_check_lib_save_LIBS
11974fi
11975{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11976printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
11977if test "x$ac_cv_lib_dl_dlopen" = xyes
11978then :
11979  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11980else $as_nop
11981  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11982printf %s "checking for dlopen in -lsvld... " >&6; }
11983if test ${ac_cv_lib_svld_dlopen+y}
11984then :
11985  printf %s "(cached) " >&6
11986else $as_nop
11987  ac_check_lib_save_LIBS=$LIBS
11988LIBS="-lsvld  $LIBS"
11989cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11990/* end confdefs.h.  */
11991
11992/* Override any GCC internal prototype to avoid an error.
11993   Use char because int might match the return type of a GCC
11994   builtin and then its argument prototype would still apply.  */
11995char dlopen ();
11996int
11997main (void)
11998{
11999return dlopen ();
12000  ;
12001  return 0;
12002}
12003_ACEOF
12004if ac_fn_c_try_link "$LINENO"
12005then :
12006  ac_cv_lib_svld_dlopen=yes
12007else $as_nop
12008  ac_cv_lib_svld_dlopen=no
12009fi
12010rm -f core conftest.err conftest.$ac_objext conftest.beam \
12011    conftest$ac_exeext conftest.$ac_ext
12012LIBS=$ac_check_lib_save_LIBS
12013fi
12014{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12015printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
12016if test "x$ac_cv_lib_svld_dlopen" = xyes
12017then :
12018  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12019else $as_nop
12020  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12021printf %s "checking for dld_link in -ldld... " >&6; }
12022if test ${ac_cv_lib_dld_dld_link+y}
12023then :
12024  printf %s "(cached) " >&6
12025else $as_nop
12026  ac_check_lib_save_LIBS=$LIBS
12027LIBS="-ldld  $LIBS"
12028cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12029/* end confdefs.h.  */
12030
12031/* Override any GCC internal prototype to avoid an error.
12032   Use char because int might match the return type of a GCC
12033   builtin and then its argument prototype would still apply.  */
12034char dld_link ();
12035int
12036main (void)
12037{
12038return dld_link ();
12039  ;
12040  return 0;
12041}
12042_ACEOF
12043if ac_fn_c_try_link "$LINENO"
12044then :
12045  ac_cv_lib_dld_dld_link=yes
12046else $as_nop
12047  ac_cv_lib_dld_dld_link=no
12048fi
12049rm -f core conftest.err conftest.$ac_objext conftest.beam \
12050    conftest$ac_exeext conftest.$ac_ext
12051LIBS=$ac_check_lib_save_LIBS
12052fi
12053{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12054printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
12055if test "x$ac_cv_lib_dld_dld_link" = xyes
12056then :
12057  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12058fi
12059
12060
12061fi
12062
12063
12064fi
12065
12066
12067fi
12068
12069
12070fi
12071
12072
12073fi
12074
12075    ;;
12076  esac
12077
12078  if test no = "$lt_cv_dlopen"; then
12079    enable_dlopen=no
12080  else
12081    enable_dlopen=yes
12082  fi
12083
12084  case $lt_cv_dlopen in
12085  dlopen)
12086    save_CPPFLAGS=$CPPFLAGS
12087    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12088
12089    save_LDFLAGS=$LDFLAGS
12090    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12091
12092    save_LIBS=$LIBS
12093    LIBS="$lt_cv_dlopen_libs $LIBS"
12094
12095    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12096printf %s "checking whether a program can dlopen itself... " >&6; }
12097if test ${lt_cv_dlopen_self+y}
12098then :
12099  printf %s "(cached) " >&6
12100else $as_nop
12101  	  if test yes = "$cross_compiling"; then :
12102  lt_cv_dlopen_self=cross
12103else
12104  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12105  lt_status=$lt_dlunknown
12106  cat > conftest.$ac_ext <<_LT_EOF
12107#line $LINENO "configure"
12108#include "confdefs.h"
12109
12110#if HAVE_DLFCN_H
12111#include <dlfcn.h>
12112#endif
12113
12114#include <stdio.h>
12115
12116#ifdef RTLD_GLOBAL
12117#  define LT_DLGLOBAL		RTLD_GLOBAL
12118#else
12119#  ifdef DL_GLOBAL
12120#    define LT_DLGLOBAL		DL_GLOBAL
12121#  else
12122#    define LT_DLGLOBAL		0
12123#  endif
12124#endif
12125
12126/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12127   find out it does not work in some platform. */
12128#ifndef LT_DLLAZY_OR_NOW
12129#  ifdef RTLD_LAZY
12130#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12131#  else
12132#    ifdef DL_LAZY
12133#      define LT_DLLAZY_OR_NOW		DL_LAZY
12134#    else
12135#      ifdef RTLD_NOW
12136#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12137#      else
12138#        ifdef DL_NOW
12139#          define LT_DLLAZY_OR_NOW	DL_NOW
12140#        else
12141#          define LT_DLLAZY_OR_NOW	0
12142#        endif
12143#      endif
12144#    endif
12145#  endif
12146#endif
12147
12148/* When -fvisibility=hidden is used, assume the code has been annotated
12149   correspondingly for the symbols needed.  */
12150#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12151int fnord () __attribute__((visibility("default")));
12152#endif
12153
12154int fnord () { return 42; }
12155int main ()
12156{
12157  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12158  int status = $lt_dlunknown;
12159
12160  if (self)
12161    {
12162      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12163      else
12164        {
12165	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12166          else puts (dlerror ());
12167	}
12168      /* dlclose (self); */
12169    }
12170  else
12171    puts (dlerror ());
12172
12173  return status;
12174}
12175_LT_EOF
12176  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12177  (eval $ac_link) 2>&5
12178  ac_status=$?
12179  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12180  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12181    (./conftest; exit; ) >&5 2>/dev/null
12182    lt_status=$?
12183    case x$lt_status in
12184      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12185      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12186      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12187    esac
12188  else :
12189    # compilation failed
12190    lt_cv_dlopen_self=no
12191  fi
12192fi
12193rm -fr conftest*
12194
12195
12196fi
12197{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12198printf "%s\n" "$lt_cv_dlopen_self" >&6; }
12199
12200    if test yes = "$lt_cv_dlopen_self"; then
12201      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12202      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12203printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
12204if test ${lt_cv_dlopen_self_static+y}
12205then :
12206  printf %s "(cached) " >&6
12207else $as_nop
12208  	  if test yes = "$cross_compiling"; then :
12209  lt_cv_dlopen_self_static=cross
12210else
12211  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12212  lt_status=$lt_dlunknown
12213  cat > conftest.$ac_ext <<_LT_EOF
12214#line $LINENO "configure"
12215#include "confdefs.h"
12216
12217#if HAVE_DLFCN_H
12218#include <dlfcn.h>
12219#endif
12220
12221#include <stdio.h>
12222
12223#ifdef RTLD_GLOBAL
12224#  define LT_DLGLOBAL		RTLD_GLOBAL
12225#else
12226#  ifdef DL_GLOBAL
12227#    define LT_DLGLOBAL		DL_GLOBAL
12228#  else
12229#    define LT_DLGLOBAL		0
12230#  endif
12231#endif
12232
12233/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12234   find out it does not work in some platform. */
12235#ifndef LT_DLLAZY_OR_NOW
12236#  ifdef RTLD_LAZY
12237#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12238#  else
12239#    ifdef DL_LAZY
12240#      define LT_DLLAZY_OR_NOW		DL_LAZY
12241#    else
12242#      ifdef RTLD_NOW
12243#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12244#      else
12245#        ifdef DL_NOW
12246#          define LT_DLLAZY_OR_NOW	DL_NOW
12247#        else
12248#          define LT_DLLAZY_OR_NOW	0
12249#        endif
12250#      endif
12251#    endif
12252#  endif
12253#endif
12254
12255/* When -fvisibility=hidden is used, assume the code has been annotated
12256   correspondingly for the symbols needed.  */
12257#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12258int fnord () __attribute__((visibility("default")));
12259#endif
12260
12261int fnord () { return 42; }
12262int main ()
12263{
12264  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12265  int status = $lt_dlunknown;
12266
12267  if (self)
12268    {
12269      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12270      else
12271        {
12272	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12273          else puts (dlerror ());
12274	}
12275      /* dlclose (self); */
12276    }
12277  else
12278    puts (dlerror ());
12279
12280  return status;
12281}
12282_LT_EOF
12283  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12284  (eval $ac_link) 2>&5
12285  ac_status=$?
12286  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12287  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12288    (./conftest; exit; ) >&5 2>/dev/null
12289    lt_status=$?
12290    case x$lt_status in
12291      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12292      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12293      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12294    esac
12295  else :
12296    # compilation failed
12297    lt_cv_dlopen_self_static=no
12298  fi
12299fi
12300rm -fr conftest*
12301
12302
12303fi
12304{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12305printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
12306    fi
12307
12308    CPPFLAGS=$save_CPPFLAGS
12309    LDFLAGS=$save_LDFLAGS
12310    LIBS=$save_LIBS
12311    ;;
12312  esac
12313
12314  case $lt_cv_dlopen_self in
12315  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12316  *) enable_dlopen_self=unknown ;;
12317  esac
12318
12319  case $lt_cv_dlopen_self_static in
12320  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12321  *) enable_dlopen_self_static=unknown ;;
12322  esac
12323fi
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341striplib=
12342old_striplib=
12343{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12344printf %s "checking whether stripping libraries is possible... " >&6; }
12345if test -z "$STRIP"; then
12346  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12347printf "%s\n" "no" >&6; }
12348else
12349  if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12350    old_striplib="$STRIP --strip-debug"
12351    striplib="$STRIP --strip-unneeded"
12352    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12353printf "%s\n" "yes" >&6; }
12354  else
12355    case $host_os in
12356    darwin*)
12357      # FIXME - insert some real tests, host_os isn't really good enough
12358      striplib="$STRIP -x"
12359      old_striplib="$STRIP -S"
12360      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12361printf "%s\n" "yes" >&6; }
12362      ;;
12363    freebsd*)
12364      if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
12365        old_striplib="$STRIP --strip-debug"
12366        striplib="$STRIP --strip-unneeded"
12367        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12368printf "%s\n" "yes" >&6; }
12369      else
12370        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12371printf "%s\n" "no" >&6; }
12372      fi
12373      ;;
12374    *)
12375      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12376printf "%s\n" "no" >&6; }
12377      ;;
12378    esac
12379  fi
12380fi
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393  # Report what library types will actually be built
12394  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12395printf %s "checking if libtool supports shared libraries... " >&6; }
12396  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12397printf "%s\n" "$can_build_shared" >&6; }
12398
12399  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12400printf %s "checking whether to build shared libraries... " >&6; }
12401  test no = "$can_build_shared" && enable_shared=no
12402
12403  # On AIX, shared libraries and static libraries use the same namespace, and
12404  # are all built from PIC.
12405  case $host_os in
12406  aix3*)
12407    test yes = "$enable_shared" && enable_static=no
12408    if test -n "$RANLIB"; then
12409      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12410      postinstall_cmds='$RANLIB $lib'
12411    fi
12412    ;;
12413
12414  aix[4-9]*)
12415    if test ia64 != "$host_cpu"; then
12416      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12417      yes,aix,yes) ;;			# shared object as lib.so file only
12418      yes,svr4,*) ;;			# shared object as lib.so archive member only
12419      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12420      esac
12421    fi
12422    ;;
12423  esac
12424  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12425printf "%s\n" "$enable_shared" >&6; }
12426
12427  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12428printf %s "checking whether to build static libraries... " >&6; }
12429  # Make sure either enable_shared or enable_static is yes.
12430  test yes = "$enable_shared" || enable_static=yes
12431  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12432printf "%s\n" "$enable_static" >&6; }
12433
12434
12435
12436
12437fi
12438ac_ext=c
12439ac_cpp='$CPP $CPPFLAGS'
12440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12442ac_compiler_gnu=$ac_cv_c_compiler_gnu
12443
12444CC=$lt_save_CC
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460        ac_config_commands="$ac_config_commands libtool"
12461
12462
12463
12464
12465# Only expand once:
12466
12467
12468
12469case $host_os in
12470	*linux*)
12471
12472printf "%s\n" "#define OSTYPE_LINUX 1" >>confdefs.h
12473
12474	  ;;
12475	*darwin*)
12476
12477printf "%s\n" "#define OSTYPE_DARWIN 1" >>confdefs.h
12478
12479	  ;;
12480	*freebsd*)
12481
12482printf "%s\n" "#define OSTYPE_FREEBSD 1" >>confdefs.h
12483
12484	  ;;
12485        *solaris*)
12486
12487printf "%s\n" "#define OSTYPE_SOLARIS 1" >>confdefs.h
12488
12489	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
12490printf %s "checking for library containing nanosleep... " >&6; }
12491if test ${ac_cv_search_nanosleep+y}
12492then :
12493  printf %s "(cached) " >&6
12494else $as_nop
12495  ac_func_search_save_LIBS=$LIBS
12496cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12497/* end confdefs.h.  */
12498
12499/* Override any GCC internal prototype to avoid an error.
12500   Use char because int might match the return type of a GCC
12501   builtin and then its argument prototype would still apply.  */
12502char nanosleep ();
12503int
12504main (void)
12505{
12506return nanosleep ();
12507  ;
12508  return 0;
12509}
12510_ACEOF
12511for ac_lib in '' rt
12512do
12513  if test -z "$ac_lib"; then
12514    ac_res="none required"
12515  else
12516    ac_res=-l$ac_lib
12517    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12518  fi
12519  if ac_fn_c_try_link "$LINENO"
12520then :
12521  ac_cv_search_nanosleep=$ac_res
12522fi
12523rm -f core conftest.err conftest.$ac_objext conftest.beam \
12524    conftest$ac_exeext
12525  if test ${ac_cv_search_nanosleep+y}
12526then :
12527  break
12528fi
12529done
12530if test ${ac_cv_search_nanosleep+y}
12531then :
12532
12533else $as_nop
12534  ac_cv_search_nanosleep=no
12535fi
12536rm conftest.$ac_ext
12537LIBS=$ac_func_search_save_LIBS
12538fi
12539{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
12540printf "%s\n" "$ac_cv_search_nanosleep" >&6; }
12541ac_res=$ac_cv_search_nanosleep
12542if test "$ac_res" != no
12543then :
12544  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12545
12546fi
12547
12548
12549printf "%s\n" "#define SUN_LIBUSB 1" >>confdefs.h
12550
12551	  libusb_blocks=true
12552	  ;;
12553esac
12554
12555# Checks for libraries.
12556{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lusb" >&5
12557printf %s "checking for main in -lusb... " >&6; }
12558if test ${ac_cv_lib_usb_main+y}
12559then :
12560  printf %s "(cached) " >&6
12561else $as_nop
12562  ac_check_lib_save_LIBS=$LIBS
12563LIBS="-lusb  $LIBS"
12564cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12565/* end confdefs.h.  */
12566
12567
12568int
12569main (void)
12570{
12571return main ();
12572  ;
12573  return 0;
12574}
12575_ACEOF
12576if ac_fn_c_try_link "$LINENO"
12577then :
12578  ac_cv_lib_usb_main=yes
12579else $as_nop
12580  ac_cv_lib_usb_main=no
12581fi
12582rm -f core conftest.err conftest.$ac_objext conftest.beam \
12583    conftest$ac_exeext conftest.$ac_ext
12584LIBS=$ac_check_lib_save_LIBS
12585fi
12586{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_main" >&5
12587printf "%s\n" "$ac_cv_lib_usb_main" >&6; }
12588if test "x$ac_cv_lib_usb_main" = xyes
12589then :
12590  printf "%s\n" "#define HAVE_LIBUSB 1" >>confdefs.h
12591
12592  LIBS="-lusb $LIBS"
12593
12594else $as_nop
12595  as_fn_error $? "\"libusb not found. please install it\"" "$LINENO" 5
12596fi
12597
12598
12599if test "x$libusb_blocks" == "xtrue"; then
12600
12601printf "%s\n" "#define LIBUSB_BLOCKS 1" >>confdefs.h
12602
12603fi
12604
12605# Checks for header files.
12606
12607{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
12608printf %s "checking for egrep... " >&6; }
12609if test ${ac_cv_path_EGREP+y}
12610then :
12611  printf %s "(cached) " >&6
12612else $as_nop
12613  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
12614   then ac_cv_path_EGREP="$GREP -E"
12615   else
12616     if test -z "$EGREP"; then
12617  ac_path_EGREP_found=false
12618  # Loop through the user's path and test for each of PROGNAME-LIST
12619  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12620for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
12621do
12622  IFS=$as_save_IFS
12623  case $as_dir in #(((
12624    '') as_dir=./ ;;
12625    */) ;;
12626    *) as_dir=$as_dir/ ;;
12627  esac
12628    for ac_prog in egrep
12629   do
12630    for ac_exec_ext in '' $ac_executable_extensions; do
12631      ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
12632      as_fn_executable_p "$ac_path_EGREP" || continue
12633# Check for GNU ac_path_EGREP and select it if it is found.
12634  # Check for GNU $ac_path_EGREP
12635case `"$ac_path_EGREP" --version 2>&1` in
12636*GNU*)
12637  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
12638*)
12639  ac_count=0
12640  printf %s 0123456789 >"conftest.in"
12641  while :
12642  do
12643    cat "conftest.in" "conftest.in" >"conftest.tmp"
12644    mv "conftest.tmp" "conftest.in"
12645    cp "conftest.in" "conftest.nl"
12646    printf "%s\n" 'EGREP' >> "conftest.nl"
12647    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
12648    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
12649    as_fn_arith $ac_count + 1 && ac_count=$as_val
12650    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
12651      # Best one so far, save it but keep looking for a better one
12652      ac_cv_path_EGREP="$ac_path_EGREP"
12653      ac_path_EGREP_max=$ac_count
12654    fi
12655    # 10*(2^10) chars as input seems more than enough
12656    test $ac_count -gt 10 && break
12657  done
12658  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
12659esac
12660
12661      $ac_path_EGREP_found && break 3
12662    done
12663  done
12664  done
12665IFS=$as_save_IFS
12666  if test -z "$ac_cv_path_EGREP"; then
12667    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
12668  fi
12669else
12670  ac_cv_path_EGREP=$EGREP
12671fi
12672
12673   fi
12674fi
12675{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
12676printf "%s\n" "$ac_cv_path_EGREP" >&6; }
12677 EGREP="$ac_cv_path_EGREP"
12678
12679
12680
12681ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12682if test "x$ac_cv_header_string_h" = xyes
12683then :
12684  printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
12685
12686fi
12687
12688ac_fn_c_check_header_compile "$LINENO" "usb.h" "ac_cv_header_usb_h" "$ac_includes_default"
12689if test "x$ac_cv_header_usb_h" = xyes
12690then :
12691  printf "%s\n" "#define HAVE_USB_H 1" >>confdefs.h
12692
12693fi
12694
12695
12696# Checks for typedefs, structures, and compiler characteristics.
12697{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12698printf %s "checking for an ANSI C-conforming const... " >&6; }
12699if test ${ac_cv_c_const+y}
12700then :
12701  printf %s "(cached) " >&6
12702else $as_nop
12703  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12704/* end confdefs.h.  */
12705
12706int
12707main (void)
12708{
12709
12710#ifndef __cplusplus
12711  /* Ultrix mips cc rejects this sort of thing.  */
12712  typedef int charset[2];
12713  const charset cs = { 0, 0 };
12714  /* SunOS 4.1.1 cc rejects this.  */
12715  char const *const *pcpcc;
12716  char **ppc;
12717  /* NEC SVR4.0.2 mips cc rejects this.  */
12718  struct point {int x, y;};
12719  static struct point const zero = {0,0};
12720  /* IBM XL C 1.02.0.0 rejects this.
12721     It does not let you subtract one const X* pointer from another in
12722     an arm of an if-expression whose if-part is not a constant
12723     expression */
12724  const char *g = "string";
12725  pcpcc = &g + (g ? g-g : 0);
12726  /* HPUX 7.0 cc rejects these. */
12727  ++pcpcc;
12728  ppc = (char**) pcpcc;
12729  pcpcc = (char const *const *) ppc;
12730  { /* SCO 3.2v4 cc rejects this sort of thing.  */
12731    char tx;
12732    char *t = &tx;
12733    char const *s = 0 ? (char *) 0 : (char const *) 0;
12734
12735    *t++ = 0;
12736    if (s) return 0;
12737  }
12738  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12739    int x[] = {25, 17};
12740    const int *foo = &x[0];
12741    ++foo;
12742  }
12743  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12744    typedef const int *iptr;
12745    iptr p = 0;
12746    ++p;
12747  }
12748  { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
12749       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12750    struct s { int j; const int *ap[3]; } bx;
12751    struct s *b = &bx; b->j = 5;
12752  }
12753  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12754    const int foo = 10;
12755    if (!foo) return 0;
12756  }
12757  return !cs[0] && !zero.x;
12758#endif
12759
12760  ;
12761  return 0;
12762}
12763_ACEOF
12764if ac_fn_c_try_compile "$LINENO"
12765then :
12766  ac_cv_c_const=yes
12767else $as_nop
12768  ac_cv_c_const=no
12769fi
12770rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12771fi
12772{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12773printf "%s\n" "$ac_cv_c_const" >&6; }
12774if test $ac_cv_c_const = no; then
12775
12776printf "%s\n" "#define const /**/" >>confdefs.h
12777
12778fi
12779
12780
12781# Checks for library functions.
12782ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
12783if test "x$ac_cv_func_memset" = xyes
12784then :
12785  printf "%s\n" "#define HAVE_MEMSET 1" >>confdefs.h
12786
12787fi
12788
12789
12790ac_config_files="$ac_config_files Makefile"
12791
12792cat >confcache <<\_ACEOF
12793# This file is a shell script that caches the results of configure
12794# tests run on this system so they can be shared between configure
12795# scripts and configure runs, see configure's option --config-cache.
12796# It is not useful on other systems.  If it contains results you don't
12797# want to keep, you may remove or edit it.
12798#
12799# config.status only pays attention to the cache file if you give it
12800# the --recheck option to rerun configure.
12801#
12802# `ac_cv_env_foo' variables (set or unset) will be overridden when
12803# loading this file, other *unset* `ac_cv_foo' will be assigned the
12804# following values.
12805
12806_ACEOF
12807
12808# The following way of writing the cache mishandles newlines in values,
12809# but we know of no workaround that is simple, portable, and efficient.
12810# So, we kill variables containing newlines.
12811# Ultrix sh set writes to stderr and can't be redirected directly,
12812# and sets the high bit in the cache file unless we assign to the vars.
12813(
12814  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12815    eval ac_val=\$$ac_var
12816    case $ac_val in #(
12817    *${as_nl}*)
12818      case $ac_var in #(
12819      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12820printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12821      esac
12822      case $ac_var in #(
12823      _ | IFS | as_nl) ;; #(
12824      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12825      *) { eval $ac_var=; unset $ac_var;} ;;
12826      esac ;;
12827    esac
12828  done
12829
12830  (set) 2>&1 |
12831    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12832    *${as_nl}ac_space=\ *)
12833      # `set' does not quote correctly, so add quotes: double-quote
12834      # substitution turns \\\\ into \\, and sed turns \\ into \.
12835      sed -n \
12836	"s/'/'\\\\''/g;
12837	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12838      ;; #(
12839    *)
12840      # `set' quotes correctly as required by POSIX, so do not add quotes.
12841      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12842      ;;
12843    esac |
12844    sort
12845) |
12846  sed '
12847     /^ac_cv_env_/b end
12848     t clear
12849     :clear
12850     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
12851     t end
12852     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12853     :end' >>confcache
12854if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12855  if test -w "$cache_file"; then
12856    if test "x$cache_file" != "x/dev/null"; then
12857      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12858printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
12859      if test ! -f "$cache_file" || test -h "$cache_file"; then
12860	cat confcache >"$cache_file"
12861      else
12862        case $cache_file in #(
12863        */* | ?:*)
12864	  mv -f confcache "$cache_file"$$ &&
12865	  mv -f "$cache_file"$$ "$cache_file" ;; #(
12866        *)
12867	  mv -f confcache "$cache_file" ;;
12868	esac
12869      fi
12870    fi
12871  else
12872    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12873printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
12874  fi
12875fi
12876rm -f confcache
12877
12878test "x$prefix" = xNONE && prefix=$ac_default_prefix
12879# Let make expand exec_prefix.
12880test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12881
12882DEFS=-DHAVE_CONFIG_H
12883
12884ac_libobjs=
12885ac_ltlibobjs=
12886U=
12887for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12888  # 1. Remove the extension, and $U if already installed.
12889  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12890  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
12891  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12892  #    will be set to the directory where LIBOBJS objects are built.
12893  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12894  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12895done
12896LIBOBJS=$ac_libobjs
12897
12898LTLIBOBJS=$ac_ltlibobjs
12899
12900
12901{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12902printf %s "checking that generated files are newer than configure... " >&6; }
12903   if test -n "$am_sleep_pid"; then
12904     # Hide warnings about reused PIDs.
12905     wait $am_sleep_pid 2>/dev/null
12906   fi
12907   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
12908printf "%s\n" "done" >&6; }
12909 if test -n "$EXEEXT"; then
12910  am__EXEEXT_TRUE=
12911  am__EXEEXT_FALSE='#'
12912else
12913  am__EXEEXT_TRUE='#'
12914  am__EXEEXT_FALSE=
12915fi
12916
12917if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12918  as_fn_error $? "conditional \"AMDEP\" was never defined.
12919Usually this means the macro was only invoked conditionally." "$LINENO" 5
12920fi
12921if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12922  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12923Usually this means the macro was only invoked conditionally." "$LINENO" 5
12924fi
12925
12926: "${CONFIG_STATUS=./config.status}"
12927ac_write_fail=0
12928ac_clean_files_save=$ac_clean_files
12929ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12930{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12931printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
12932as_write_fail=0
12933cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12934#! $SHELL
12935# Generated by $as_me.
12936# Run this file to recreate the current configuration.
12937# Compiler output produced by configure, useful for debugging
12938# configure, is in config.log if it exists.
12939
12940debug=false
12941ac_cs_recheck=false
12942ac_cs_silent=false
12943
12944SHELL=\${CONFIG_SHELL-$SHELL}
12945export SHELL
12946_ASEOF
12947cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12948## -------------------- ##
12949## M4sh Initialization. ##
12950## -------------------- ##
12951
12952# Be more Bourne compatible
12953DUALCASE=1; export DUALCASE # for MKS sh
12954as_nop=:
12955if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
12956then :
12957  emulate sh
12958  NULLCMD=:
12959  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12960  # is contrary to our usage.  Disable this feature.
12961  alias -g '${1+"$@"}'='"$@"'
12962  setopt NO_GLOB_SUBST
12963else $as_nop
12964  case `(set -o) 2>/dev/null` in #(
12965  *posix*) :
12966    set -o posix ;; #(
12967  *) :
12968     ;;
12969esac
12970fi
12971
12972
12973
12974# Reset variables that may have inherited troublesome values from
12975# the environment.
12976
12977# IFS needs to be set, to space, tab, and newline, in precisely that order.
12978# (If _AS_PATH_WALK were called with IFS unset, it would have the
12979# side effect of setting IFS to empty, thus disabling word splitting.)
12980# Quoting is to prevent editors from complaining about space-tab.
12981as_nl='
12982'
12983export as_nl
12984IFS=" ""	$as_nl"
12985
12986PS1='$ '
12987PS2='> '
12988PS4='+ '
12989
12990# Ensure predictable behavior from utilities with locale-dependent output.
12991LC_ALL=C
12992export LC_ALL
12993LANGUAGE=C
12994export LANGUAGE
12995
12996# We cannot yet rely on "unset" to work, but we need these variables
12997# to be unset--not just set to an empty or harmless value--now, to
12998# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
12999# also avoids known problems related to "unset" and subshell syntax
13000# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
13001for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
13002do eval test \${$as_var+y} \
13003  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13004done
13005
13006# Ensure that fds 0, 1, and 2 are open.
13007if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
13008if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
13009if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
13010
13011# The user is always right.
13012if ${PATH_SEPARATOR+false} :; then
13013  PATH_SEPARATOR=:
13014  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13015    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13016      PATH_SEPARATOR=';'
13017  }
13018fi
13019
13020
13021# Find who we are.  Look in the path if we contain no directory separator.
13022as_myself=
13023case $0 in #((
13024  *[\\/]* ) as_myself=$0 ;;
13025  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13026for as_dir in $PATH
13027do
13028  IFS=$as_save_IFS
13029  case $as_dir in #(((
13030    '') as_dir=./ ;;
13031    */) ;;
13032    *) as_dir=$as_dir/ ;;
13033  esac
13034    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
13035  done
13036IFS=$as_save_IFS
13037
13038     ;;
13039esac
13040# We did not find ourselves, most probably we were run as `sh COMMAND'
13041# in which case we are not to be found in the path.
13042if test "x$as_myself" = x; then
13043  as_myself=$0
13044fi
13045if test ! -f "$as_myself"; then
13046  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13047  exit 1
13048fi
13049
13050
13051
13052# as_fn_error STATUS ERROR [LINENO LOG_FD]
13053# ----------------------------------------
13054# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13055# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13056# script with STATUS, using 1 if that was 0.
13057as_fn_error ()
13058{
13059  as_status=$1; test $as_status -eq 0 && as_status=1
13060  if test "$4"; then
13061    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13062    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13063  fi
13064  printf "%s\n" "$as_me: error: $2" >&2
13065  as_fn_exit $as_status
13066} # as_fn_error
13067
13068
13069
13070# as_fn_set_status STATUS
13071# -----------------------
13072# Set $? to STATUS, without forking.
13073as_fn_set_status ()
13074{
13075  return $1
13076} # as_fn_set_status
13077
13078# as_fn_exit STATUS
13079# -----------------
13080# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13081as_fn_exit ()
13082{
13083  set +e
13084  as_fn_set_status $1
13085  exit $1
13086} # as_fn_exit
13087
13088# as_fn_unset VAR
13089# ---------------
13090# Portably unset VAR.
13091as_fn_unset ()
13092{
13093  { eval $1=; unset $1;}
13094}
13095as_unset=as_fn_unset
13096
13097# as_fn_append VAR VALUE
13098# ----------------------
13099# Append the text in VALUE to the end of the definition contained in VAR. Take
13100# advantage of any shell optimizations that allow amortized linear growth over
13101# repeated appends, instead of the typical quadratic growth present in naive
13102# implementations.
13103if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
13104then :
13105  eval 'as_fn_append ()
13106  {
13107    eval $1+=\$2
13108  }'
13109else $as_nop
13110  as_fn_append ()
13111  {
13112    eval $1=\$$1\$2
13113  }
13114fi # as_fn_append
13115
13116# as_fn_arith ARG...
13117# ------------------
13118# Perform arithmetic evaluation on the ARGs, and store the result in the
13119# global $as_val. Take advantage of shells that can avoid forks. The arguments
13120# must be portable across $(()) and expr.
13121if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
13122then :
13123  eval 'as_fn_arith ()
13124  {
13125    as_val=$(( $* ))
13126  }'
13127else $as_nop
13128  as_fn_arith ()
13129  {
13130    as_val=`expr "$@" || test $? -eq 1`
13131  }
13132fi # as_fn_arith
13133
13134
13135if expr a : '\(a\)' >/dev/null 2>&1 &&
13136   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13137  as_expr=expr
13138else
13139  as_expr=false
13140fi
13141
13142if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13143  as_basename=basename
13144else
13145  as_basename=false
13146fi
13147
13148if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13149  as_dirname=dirname
13150else
13151  as_dirname=false
13152fi
13153
13154as_me=`$as_basename -- "$0" ||
13155$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13156	 X"$0" : 'X\(//\)$' \| \
13157	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13158printf "%s\n" X/"$0" |
13159    sed '/^.*\/\([^/][^/]*\)\/*$/{
13160	    s//\1/
13161	    q
13162	  }
13163	  /^X\/\(\/\/\)$/{
13164	    s//\1/
13165	    q
13166	  }
13167	  /^X\/\(\/\).*/{
13168	    s//\1/
13169	    q
13170	  }
13171	  s/.*/./; q'`
13172
13173# Avoid depending upon Character Ranges.
13174as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13175as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13176as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13177as_cr_digits='0123456789'
13178as_cr_alnum=$as_cr_Letters$as_cr_digits
13179
13180
13181# Determine whether it's possible to make 'echo' print without a newline.
13182# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
13183# for compatibility with existing Makefiles.
13184ECHO_C= ECHO_N= ECHO_T=
13185case `echo -n x` in #(((((
13186-n*)
13187  case `echo 'xy\c'` in
13188  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13189  xy)  ECHO_C='\c';;
13190  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13191       ECHO_T='	';;
13192  esac;;
13193*)
13194  ECHO_N='-n';;
13195esac
13196
13197# For backward compatibility with old third-party macros, we provide
13198# the shell variables $as_echo and $as_echo_n.  New code should use
13199# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
13200as_echo='printf %s\n'
13201as_echo_n='printf %s'
13202
13203rm -f conf$$ conf$$.exe conf$$.file
13204if test -d conf$$.dir; then
13205  rm -f conf$$.dir/conf$$.file
13206else
13207  rm -f conf$$.dir
13208  mkdir conf$$.dir 2>/dev/null
13209fi
13210if (echo >conf$$.file) 2>/dev/null; then
13211  if ln -s conf$$.file conf$$ 2>/dev/null; then
13212    as_ln_s='ln -s'
13213    # ... but there are two gotchas:
13214    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13215    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13216    # In both cases, we have to default to `cp -pR'.
13217    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13218      as_ln_s='cp -pR'
13219  elif ln conf$$.file conf$$ 2>/dev/null; then
13220    as_ln_s=ln
13221  else
13222    as_ln_s='cp -pR'
13223  fi
13224else
13225  as_ln_s='cp -pR'
13226fi
13227rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13228rmdir conf$$.dir 2>/dev/null
13229
13230
13231# as_fn_mkdir_p
13232# -------------
13233# Create "$as_dir" as a directory, including parents if necessary.
13234as_fn_mkdir_p ()
13235{
13236
13237  case $as_dir in #(
13238  -*) as_dir=./$as_dir;;
13239  esac
13240  test -d "$as_dir" || eval $as_mkdir_p || {
13241    as_dirs=
13242    while :; do
13243      case $as_dir in #(
13244      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13245      *) as_qdir=$as_dir;;
13246      esac
13247      as_dirs="'$as_qdir' $as_dirs"
13248      as_dir=`$as_dirname -- "$as_dir" ||
13249$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13250	 X"$as_dir" : 'X\(//\)[^/]' \| \
13251	 X"$as_dir" : 'X\(//\)$' \| \
13252	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13253printf "%s\n" X"$as_dir" |
13254    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13255	    s//\1/
13256	    q
13257	  }
13258	  /^X\(\/\/\)[^/].*/{
13259	    s//\1/
13260	    q
13261	  }
13262	  /^X\(\/\/\)$/{
13263	    s//\1/
13264	    q
13265	  }
13266	  /^X\(\/\).*/{
13267	    s//\1/
13268	    q
13269	  }
13270	  s/.*/./; q'`
13271      test -d "$as_dir" && break
13272    done
13273    test -z "$as_dirs" || eval "mkdir $as_dirs"
13274  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13275
13276
13277} # as_fn_mkdir_p
13278if mkdir -p . 2>/dev/null; then
13279  as_mkdir_p='mkdir -p "$as_dir"'
13280else
13281  test -d ./-p && rmdir ./-p
13282  as_mkdir_p=false
13283fi
13284
13285
13286# as_fn_executable_p FILE
13287# -----------------------
13288# Test if FILE is an executable regular file.
13289as_fn_executable_p ()
13290{
13291  test -f "$1" && test -x "$1"
13292} # as_fn_executable_p
13293as_test_x='test -x'
13294as_executable_p=as_fn_executable_p
13295
13296# Sed expression to map a string onto a valid CPP name.
13297as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13298
13299# Sed expression to map a string onto a valid variable name.
13300as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13301
13302
13303exec 6>&1
13304## ----------------------------------- ##
13305## Main body of $CONFIG_STATUS script. ##
13306## ----------------------------------- ##
13307_ASEOF
13308test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13309
13310cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13311# Save the log message, to keep $0 and so on meaningful, and to
13312# report actual input values of CONFIG_FILES etc. instead of their
13313# values after options handling.
13314ac_log="
13315This file was extended by libg15 $as_me 3.0, which was
13316generated by GNU Autoconf 2.71.  Invocation command line was
13317
13318  CONFIG_FILES    = $CONFIG_FILES
13319  CONFIG_HEADERS  = $CONFIG_HEADERS
13320  CONFIG_LINKS    = $CONFIG_LINKS
13321  CONFIG_COMMANDS = $CONFIG_COMMANDS
13322  $ $0 $@
13323
13324on `(hostname || uname -n) 2>/dev/null | sed 1q`
13325"
13326
13327_ACEOF
13328
13329case $ac_config_files in *"
13330"*) set x $ac_config_files; shift; ac_config_files=$*;;
13331esac
13332
13333case $ac_config_headers in *"
13334"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13335esac
13336
13337
13338cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13339# Files that config.status was made for.
13340config_files="$ac_config_files"
13341config_headers="$ac_config_headers"
13342config_commands="$ac_config_commands"
13343
13344_ACEOF
13345
13346cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13347ac_cs_usage="\
13348\`$as_me' instantiates files and other configuration actions
13349from templates according to the current configuration.  Unless the files
13350and actions are specified as TAGs, all are instantiated by default.
13351
13352Usage: $0 [OPTION]... [TAG]...
13353
13354  -h, --help       print this help, then exit
13355  -V, --version    print version number and configuration settings, then exit
13356      --config     print configuration, then exit
13357  -q, --quiet, --silent
13358                   do not print progress messages
13359  -d, --debug      don't remove temporary files
13360      --recheck    update $as_me by reconfiguring in the same conditions
13361      --file=FILE[:TEMPLATE]
13362                   instantiate the configuration file FILE
13363      --header=FILE[:TEMPLATE]
13364                   instantiate the configuration header FILE
13365
13366Configuration files:
13367$config_files
13368
13369Configuration headers:
13370$config_headers
13371
13372Configuration commands:
13373$config_commands
13374
13375Report bugs to <menelkir@itroll.org>."
13376
13377_ACEOF
13378ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
13379ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
13380cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13381ac_cs_config='$ac_cs_config_escaped'
13382ac_cs_version="\\
13383libg15 config.status 3.0
13384configured by $0, generated by GNU Autoconf 2.71,
13385  with options \\"\$ac_cs_config\\"
13386
13387Copyright (C) 2021 Free Software Foundation, Inc.
13388This config.status script is free software; the Free Software Foundation
13389gives unlimited permission to copy, distribute and modify it."
13390
13391ac_pwd='$ac_pwd'
13392srcdir='$srcdir'
13393INSTALL='$INSTALL'
13394MKDIR_P='$MKDIR_P'
13395AWK='$AWK'
13396test -n "\$AWK" || AWK=awk
13397_ACEOF
13398
13399cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13400# The default lists apply if the user does not specify any file.
13401ac_need_defaults=:
13402while test $# != 0
13403do
13404  case $1 in
13405  --*=?*)
13406    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13407    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13408    ac_shift=:
13409    ;;
13410  --*=)
13411    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13412    ac_optarg=
13413    ac_shift=:
13414    ;;
13415  *)
13416    ac_option=$1
13417    ac_optarg=$2
13418    ac_shift=shift
13419    ;;
13420  esac
13421
13422  case $ac_option in
13423  # Handling of the options.
13424  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13425    ac_cs_recheck=: ;;
13426  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13427    printf "%s\n" "$ac_cs_version"; exit ;;
13428  --config | --confi | --conf | --con | --co | --c )
13429    printf "%s\n" "$ac_cs_config"; exit ;;
13430  --debug | --debu | --deb | --de | --d | -d )
13431    debug=: ;;
13432  --file | --fil | --fi | --f )
13433    $ac_shift
13434    case $ac_optarg in
13435    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13436    '') as_fn_error $? "missing file argument" ;;
13437    esac
13438    as_fn_append CONFIG_FILES " '$ac_optarg'"
13439    ac_need_defaults=false;;
13440  --header | --heade | --head | --hea )
13441    $ac_shift
13442    case $ac_optarg in
13443    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13444    esac
13445    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13446    ac_need_defaults=false;;
13447  --he | --h)
13448    # Conflict between --help and --header
13449    as_fn_error $? "ambiguous option: \`$1'
13450Try \`$0 --help' for more information.";;
13451  --help | --hel | -h )
13452    printf "%s\n" "$ac_cs_usage"; exit ;;
13453  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13454  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13455    ac_cs_silent=: ;;
13456
13457  # This is an error.
13458  -*) as_fn_error $? "unrecognized option: \`$1'
13459Try \`$0 --help' for more information." ;;
13460
13461  *) as_fn_append ac_config_targets " $1"
13462     ac_need_defaults=false ;;
13463
13464  esac
13465  shift
13466done
13467
13468ac_configure_extra_args=
13469
13470if $ac_cs_silent; then
13471  exec 6>/dev/null
13472  ac_configure_extra_args="$ac_configure_extra_args --silent"
13473fi
13474
13475_ACEOF
13476cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13477if \$ac_cs_recheck; then
13478  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13479  shift
13480  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
13481  CONFIG_SHELL='$SHELL'
13482  export CONFIG_SHELL
13483  exec "\$@"
13484fi
13485
13486_ACEOF
13487cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13488exec 5>>config.log
13489{
13490  echo
13491  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13492## Running $as_me. ##
13493_ASBOX
13494  printf "%s\n" "$ac_log"
13495} >&5
13496
13497_ACEOF
13498cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13499#
13500# INIT-COMMANDS
13501#
13502AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
13503
13504
13505# The HP-UX ksh and POSIX shell print the target directory to stdout
13506# if CDPATH is set.
13507(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13508
13509sed_quote_subst='$sed_quote_subst'
13510double_quote_subst='$double_quote_subst'
13511delay_variable_subst='$delay_variable_subst'
13512macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13513macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13514enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13515enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13516pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13517enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13518shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13519SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13520ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13521PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13522host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13523host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13524host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13525build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13526build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13527build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13528SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13529Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13530GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13531EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13532FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13533LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13534NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13535LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13536max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13537ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13538exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13539lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13540lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13541lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13542lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13543lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13544reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13545reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13546OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13547deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13548file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13549file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13550want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13551DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13552sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13553AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13554lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
13555AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13556archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13557STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13558RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13559old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13560old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13561old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13562lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13563CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13564CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13565compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13566GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13567lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13568lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13569lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13570lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13571lt_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"`'
13572lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13573nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13574lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13575lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13576objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13577MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13578lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13579lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13580lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13581lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13582lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13583need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13584MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13585DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13586NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13587LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13588OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13589OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13590libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13591shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13592extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13593archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13594enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13595export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13596whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13597compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13598old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13599old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13600archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13601archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13602module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13603module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13604with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13605allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13606no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13607hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13608hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13609hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13610hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13611hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13612hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13613hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13614inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13615link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13616always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13617export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13618exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13619include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13620prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13621postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13622file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13623variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13624need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13625need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13626version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13627runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13628shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13629shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13630libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13631library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13632soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13633install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13634postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13635postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13636finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13637finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13638hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13639sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13640configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13641configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13642hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13643enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13644enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13645enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13646old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13647striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13648
13649LTCC='$LTCC'
13650LTCFLAGS='$LTCFLAGS'
13651compiler='$compiler_DEFAULT'
13652
13653# A function that is used when there is no print builtin or printf.
13654func_fallback_echo ()
13655{
13656  eval 'cat <<_LTECHO_EOF
13657\$1
13658_LTECHO_EOF'
13659}
13660
13661# Quote evaled strings.
13662for var in SHELL \
13663ECHO \
13664PATH_SEPARATOR \
13665SED \
13666GREP \
13667EGREP \
13668FGREP \
13669LD \
13670NM \
13671LN_S \
13672lt_SP2NL \
13673lt_NL2SP \
13674reload_flag \
13675OBJDUMP \
13676deplibs_check_method \
13677file_magic_cmd \
13678file_magic_glob \
13679want_nocaseglob \
13680DLLTOOL \
13681sharedlib_from_linklib_cmd \
13682AR \
13683archiver_list_spec \
13684STRIP \
13685RANLIB \
13686CC \
13687CFLAGS \
13688compiler \
13689lt_cv_sys_global_symbol_pipe \
13690lt_cv_sys_global_symbol_to_cdecl \
13691lt_cv_sys_global_symbol_to_import \
13692lt_cv_sys_global_symbol_to_c_name_address \
13693lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13694lt_cv_nm_interface \
13695nm_file_list_spec \
13696lt_cv_truncate_bin \
13697lt_prog_compiler_no_builtin_flag \
13698lt_prog_compiler_pic \
13699lt_prog_compiler_wl \
13700lt_prog_compiler_static \
13701lt_cv_prog_compiler_c_o \
13702need_locks \
13703MANIFEST_TOOL \
13704DSYMUTIL \
13705NMEDIT \
13706LIPO \
13707OTOOL \
13708OTOOL64 \
13709shrext_cmds \
13710export_dynamic_flag_spec \
13711whole_archive_flag_spec \
13712compiler_needs_object \
13713with_gnu_ld \
13714allow_undefined_flag \
13715no_undefined_flag \
13716hardcode_libdir_flag_spec \
13717hardcode_libdir_separator \
13718exclude_expsyms \
13719include_expsyms \
13720file_list_spec \
13721variables_saved_for_relink \
13722libname_spec \
13723library_names_spec \
13724soname_spec \
13725install_override_mode \
13726finish_eval \
13727old_striplib \
13728striplib; do
13729    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13730    *[\\\\\\\`\\"\\\$]*)
13731      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13732      ;;
13733    *)
13734      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13735      ;;
13736    esac
13737done
13738
13739# Double-quote double-evaled strings.
13740for var in reload_cmds \
13741old_postinstall_cmds \
13742old_postuninstall_cmds \
13743old_archive_cmds \
13744extract_expsyms_cmds \
13745old_archive_from_new_cmds \
13746old_archive_from_expsyms_cmds \
13747archive_cmds \
13748archive_expsym_cmds \
13749module_cmds \
13750module_expsym_cmds \
13751export_symbols_cmds \
13752prelink_cmds \
13753postlink_cmds \
13754postinstall_cmds \
13755postuninstall_cmds \
13756finish_cmds \
13757sys_lib_search_path_spec \
13758configure_time_dlsearch_path \
13759configure_time_lt_sys_library_path; do
13760    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13761    *[\\\\\\\`\\"\\\$]*)
13762      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13763      ;;
13764    *)
13765      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13766      ;;
13767    esac
13768done
13769
13770ac_aux_dir='$ac_aux_dir'
13771
13772# See if we are running on zsh, and set the options that allow our
13773# commands through without removal of \ escapes INIT.
13774if test -n "\${ZSH_VERSION+set}"; then
13775   setopt NO_GLOB_SUBST
13776fi
13777
13778
13779    PACKAGE='$PACKAGE'
13780    VERSION='$VERSION'
13781    RM='$RM'
13782    ofile='$ofile'
13783
13784
13785
13786
13787_ACEOF
13788
13789cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13790
13791# Handling of arguments.
13792for ac_config_target in $ac_config_targets
13793do
13794  case $ac_config_target in
13795    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13796    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13797    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13798    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13799
13800  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13801  esac
13802done
13803
13804
13805# If the user did not use the arguments to specify the items to instantiate,
13806# then the envvar interface is used.  Set only those that are not.
13807# We use the long form for the default assignment because of an extremely
13808# bizarre bug on SunOS 4.1.3.
13809if $ac_need_defaults; then
13810  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
13811  test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
13812  test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
13813fi
13814
13815# Have a temporary directory for convenience.  Make it in the build tree
13816# simply because there is no reason against having it here, and in addition,
13817# creating and moving files from /tmp can sometimes cause problems.
13818# Hook for its removal unless debugging.
13819# Note that there is a small window in which the directory will not be cleaned:
13820# after its creation but before its name has been assigned to `$tmp'.
13821$debug ||
13822{
13823  tmp= ac_tmp=
13824  trap 'exit_status=$?
13825  : "${ac_tmp:=$tmp}"
13826  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13827' 0
13828  trap 'as_fn_exit 1' 1 2 13 15
13829}
13830# Create a (secure) tmp directory for tmp files.
13831
13832{
13833  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13834  test -d "$tmp"
13835}  ||
13836{
13837  tmp=./conf$$-$RANDOM
13838  (umask 077 && mkdir "$tmp")
13839} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13840ac_tmp=$tmp
13841
13842# Set up the scripts for CONFIG_FILES section.
13843# No need to generate them if there are no CONFIG_FILES.
13844# This happens for instance with `./config.status config.h'.
13845if test -n "$CONFIG_FILES"; then
13846
13847
13848ac_cr=`echo X | tr X '\015'`
13849# On cygwin, bash can eat \r inside `` if the user requested igncr.
13850# But we know of no other shell where ac_cr would be empty at this
13851# point, so we can use a bashism as a fallback.
13852if test "x$ac_cr" = x; then
13853  eval ac_cr=\$\'\\r\'
13854fi
13855ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13856if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13857  ac_cs_awk_cr='\\r'
13858else
13859  ac_cs_awk_cr=$ac_cr
13860fi
13861
13862echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13863_ACEOF
13864
13865
13866{
13867  echo "cat >conf$$subs.awk <<_ACEOF" &&
13868  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13869  echo "_ACEOF"
13870} >conf$$subs.sh ||
13871  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13872ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13873ac_delim='%!_!# '
13874for ac_last_try in false false false false false :; do
13875  . ./conf$$subs.sh ||
13876    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13877
13878  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13879  if test $ac_delim_n = $ac_delim_num; then
13880    break
13881  elif $ac_last_try; then
13882    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13883  else
13884    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13885  fi
13886done
13887rm -f conf$$subs.sh
13888
13889cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13890cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13891_ACEOF
13892sed -n '
13893h
13894s/^/S["/; s/!.*/"]=/
13895p
13896g
13897s/^[^!]*!//
13898:repl
13899t repl
13900s/'"$ac_delim"'$//
13901t delim
13902:nl
13903h
13904s/\(.\{148\}\)..*/\1/
13905t more1
13906s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13907p
13908n
13909b repl
13910:more1
13911s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13912p
13913g
13914s/.\{148\}//
13915t nl
13916:delim
13917h
13918s/\(.\{148\}\)..*/\1/
13919t more2
13920s/["\\]/\\&/g; s/^/"/; s/$/"/
13921p
13922b
13923:more2
13924s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13925p
13926g
13927s/.\{148\}//
13928t delim
13929' <conf$$subs.awk | sed '
13930/^[^""]/{
13931  N
13932  s/\n//
13933}
13934' >>$CONFIG_STATUS || ac_write_fail=1
13935rm -f conf$$subs.awk
13936cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13937_ACAWK
13938cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13939  for (key in S) S_is_set[key] = 1
13940  FS = ""
13941
13942}
13943{
13944  line = $ 0
13945  nfields = split(line, field, "@")
13946  substed = 0
13947  len = length(field[1])
13948  for (i = 2; i < nfields; i++) {
13949    key = field[i]
13950    keylen = length(key)
13951    if (S_is_set[key]) {
13952      value = S[key]
13953      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13954      len += length(value) + length(field[++i])
13955      substed = 1
13956    } else
13957      len += 1 + keylen
13958  }
13959
13960  print line
13961}
13962
13963_ACAWK
13964_ACEOF
13965cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13966if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13967  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13968else
13969  cat
13970fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13971  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13972_ACEOF
13973
13974# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13975# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13976# trailing colons and then remove the whole line if VPATH becomes empty
13977# (actually we leave an empty line to preserve line numbers).
13978if test "x$srcdir" = x.; then
13979  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
13980h
13981s///
13982s/^/:/
13983s/[	 ]*$/:/
13984s/:\$(srcdir):/:/g
13985s/:\${srcdir}:/:/g
13986s/:@srcdir@:/:/g
13987s/^:*//
13988s/:*$//
13989x
13990s/\(=[	 ]*\).*/\1/
13991G
13992s/\n//
13993s/^[^=]*=[	 ]*$//
13994}'
13995fi
13996
13997cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13998fi # test -n "$CONFIG_FILES"
13999
14000# Set up the scripts for CONFIG_HEADERS section.
14001# No need to generate them if there are no CONFIG_HEADERS.
14002# This happens for instance with `./config.status Makefile'.
14003if test -n "$CONFIG_HEADERS"; then
14004cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14005BEGIN {
14006_ACEOF
14007
14008# Transform confdefs.h into an awk script `defines.awk', embedded as
14009# here-document in config.status, that substitutes the proper values into
14010# config.h.in to produce config.h.
14011
14012# Create a delimiter string that does not exist in confdefs.h, to ease
14013# handling of long lines.
14014ac_delim='%!_!# '
14015for ac_last_try in false false :; do
14016  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14017  if test -z "$ac_tt"; then
14018    break
14019  elif $ac_last_try; then
14020    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14021  else
14022    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14023  fi
14024done
14025
14026# For the awk script, D is an array of macro values keyed by name,
14027# likewise P contains macro parameters if any.  Preserve backslash
14028# newline sequences.
14029
14030ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14031sed -n '
14032s/.\{148\}/&'"$ac_delim"'/g
14033t rset
14034:rset
14035s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14036t def
14037d
14038:def
14039s/\\$//
14040t bsnl
14041s/["\\]/\\&/g
14042s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14043D["\1"]=" \3"/p
14044s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14045d
14046:bsnl
14047s/["\\]/\\&/g
14048s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14049D["\1"]=" \3\\\\\\n"\\/p
14050t cont
14051s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14052t cont
14053d
14054:cont
14055n
14056s/.\{148\}/&'"$ac_delim"'/g
14057t clear
14058:clear
14059s/\\$//
14060t bsnlc
14061s/["\\]/\\&/g; s/^/"/; s/$/"/p
14062d
14063:bsnlc
14064s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14065b cont
14066' <confdefs.h | sed '
14067s/'"$ac_delim"'/"\\\
14068"/g' >>$CONFIG_STATUS || ac_write_fail=1
14069
14070cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14071  for (key in D) D_is_set[key] = 1
14072  FS = ""
14073}
14074/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14075  line = \$ 0
14076  split(line, arg, " ")
14077  if (arg[1] == "#") {
14078    defundef = arg[2]
14079    mac1 = arg[3]
14080  } else {
14081    defundef = substr(arg[1], 2)
14082    mac1 = arg[2]
14083  }
14084  split(mac1, mac2, "(") #)
14085  macro = mac2[1]
14086  prefix = substr(line, 1, index(line, defundef) - 1)
14087  if (D_is_set[macro]) {
14088    # Preserve the white space surrounding the "#".
14089    print prefix "define", macro P[macro] D[macro]
14090    next
14091  } else {
14092    # Replace #undef with comments.  This is necessary, for example,
14093    # in the case of _POSIX_SOURCE, which is predefined and required
14094    # on some systems where configure will not decide to define it.
14095    if (defundef == "undef") {
14096      print "/*", prefix defundef, macro, "*/"
14097      next
14098    }
14099  }
14100}
14101{ print }
14102_ACAWK
14103_ACEOF
14104cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14105  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14106fi # test -n "$CONFIG_HEADERS"
14107
14108
14109eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14110shift
14111for ac_tag
14112do
14113  case $ac_tag in
14114  :[FHLC]) ac_mode=$ac_tag; continue;;
14115  esac
14116  case $ac_mode$ac_tag in
14117  :[FHL]*:*);;
14118  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14119  :[FH]-) ac_tag=-:-;;
14120  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14121  esac
14122  ac_save_IFS=$IFS
14123  IFS=:
14124  set x $ac_tag
14125  IFS=$ac_save_IFS
14126  shift
14127  ac_file=$1
14128  shift
14129
14130  case $ac_mode in
14131  :L) ac_source=$1;;
14132  :[FH])
14133    ac_file_inputs=
14134    for ac_f
14135    do
14136      case $ac_f in
14137      -) ac_f="$ac_tmp/stdin";;
14138      *) # Look for the file first in the build tree, then in the source tree
14139	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14140	 # because $ac_f cannot contain `:'.
14141	 test -f "$ac_f" ||
14142	   case $ac_f in
14143	   [\\/$]*) false;;
14144	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14145	   esac ||
14146	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14147      esac
14148      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14149      as_fn_append ac_file_inputs " '$ac_f'"
14150    done
14151
14152    # Let's still pretend it is `configure' which instantiates (i.e., don't
14153    # use $as_me), people would be surprised to read:
14154    #    /* config.h.  Generated by config.status.  */
14155    configure_input='Generated from '`
14156	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14157	`' by configure.'
14158    if test x"$ac_file" != x-; then
14159      configure_input="$ac_file.  $configure_input"
14160      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14161printf "%s\n" "$as_me: creating $ac_file" >&6;}
14162    fi
14163    # Neutralize special characters interpreted by sed in replacement strings.
14164    case $configure_input in #(
14165    *\&* | *\|* | *\\* )
14166       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
14167       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14168    *) ac_sed_conf_input=$configure_input;;
14169    esac
14170
14171    case $ac_tag in
14172    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14173      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14174    esac
14175    ;;
14176  esac
14177
14178  ac_dir=`$as_dirname -- "$ac_file" ||
14179$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14180	 X"$ac_file" : 'X\(//\)[^/]' \| \
14181	 X"$ac_file" : 'X\(//\)$' \| \
14182	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14183printf "%s\n" X"$ac_file" |
14184    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14185	    s//\1/
14186	    q
14187	  }
14188	  /^X\(\/\/\)[^/].*/{
14189	    s//\1/
14190	    q
14191	  }
14192	  /^X\(\/\/\)$/{
14193	    s//\1/
14194	    q
14195	  }
14196	  /^X\(\/\).*/{
14197	    s//\1/
14198	    q
14199	  }
14200	  s/.*/./; q'`
14201  as_dir="$ac_dir"; as_fn_mkdir_p
14202  ac_builddir=.
14203
14204case "$ac_dir" in
14205.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14206*)
14207  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
14208  # A ".." for each directory in $ac_dir_suffix.
14209  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14210  case $ac_top_builddir_sub in
14211  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14212  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14213  esac ;;
14214esac
14215ac_abs_top_builddir=$ac_pwd
14216ac_abs_builddir=$ac_pwd$ac_dir_suffix
14217# for backward compatibility:
14218ac_top_builddir=$ac_top_build_prefix
14219
14220case $srcdir in
14221  .)  # We are building in place.
14222    ac_srcdir=.
14223    ac_top_srcdir=$ac_top_builddir_sub
14224    ac_abs_top_srcdir=$ac_pwd ;;
14225  [\\/]* | ?:[\\/]* )  # Absolute name.
14226    ac_srcdir=$srcdir$ac_dir_suffix;
14227    ac_top_srcdir=$srcdir
14228    ac_abs_top_srcdir=$srcdir ;;
14229  *) # Relative name.
14230    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14231    ac_top_srcdir=$ac_top_build_prefix$srcdir
14232    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14233esac
14234ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14235
14236
14237  case $ac_mode in
14238  :F)
14239  #
14240  # CONFIG_FILE
14241  #
14242
14243  case $INSTALL in
14244  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14245  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14246  esac
14247  ac_MKDIR_P=$MKDIR_P
14248  case $MKDIR_P in
14249  [\\/$]* | ?:[\\/]* ) ;;
14250  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14251  esac
14252_ACEOF
14253
14254cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14255# If the template does not know about datarootdir, expand it.
14256# FIXME: This hack should be removed a few years after 2.60.
14257ac_datarootdir_hack=; ac_datarootdir_seen=
14258ac_sed_dataroot='
14259/datarootdir/ {
14260  p
14261  q
14262}
14263/@datadir@/p
14264/@docdir@/p
14265/@infodir@/p
14266/@localedir@/p
14267/@mandir@/p'
14268case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14269*datarootdir*) ac_datarootdir_seen=yes;;
14270*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14271  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14272printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14273_ACEOF
14274cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14275  ac_datarootdir_hack='
14276  s&@datadir@&$datadir&g
14277  s&@docdir@&$docdir&g
14278  s&@infodir@&$infodir&g
14279  s&@localedir@&$localedir&g
14280  s&@mandir@&$mandir&g
14281  s&\\\${datarootdir}&$datarootdir&g' ;;
14282esac
14283_ACEOF
14284
14285# Neutralize VPATH when `$srcdir' = `.'.
14286# Shell code in configure.ac might set extrasub.
14287# FIXME: do we really want to maintain this feature?
14288cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14289ac_sed_extra="$ac_vpsub
14290$extrasub
14291_ACEOF
14292cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14293:t
14294/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14295s|@configure_input@|$ac_sed_conf_input|;t t
14296s&@top_builddir@&$ac_top_builddir_sub&;t t
14297s&@top_build_prefix@&$ac_top_build_prefix&;t t
14298s&@srcdir@&$ac_srcdir&;t t
14299s&@abs_srcdir@&$ac_abs_srcdir&;t t
14300s&@top_srcdir@&$ac_top_srcdir&;t t
14301s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14302s&@builddir@&$ac_builddir&;t t
14303s&@abs_builddir@&$ac_abs_builddir&;t t
14304s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14305s&@INSTALL@&$ac_INSTALL&;t t
14306s&@MKDIR_P@&$ac_MKDIR_P&;t t
14307$ac_datarootdir_hack
14308"
14309eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14310  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14311
14312test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14313  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14314  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
14315      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14316  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14317which seems to be undefined.  Please make sure it is defined" >&5
14318printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14319which seems to be undefined.  Please make sure it is defined" >&2;}
14320
14321  rm -f "$ac_tmp/stdin"
14322  case $ac_file in
14323  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14324  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14325  esac \
14326  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14327 ;;
14328  :H)
14329  #
14330  # CONFIG_HEADER
14331  #
14332  if test x"$ac_file" != x-; then
14333    {
14334      printf "%s\n" "/* $configure_input  */" >&1 \
14335      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14336    } >"$ac_tmp/config.h" \
14337      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14338    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14339      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14340printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
14341    else
14342      rm -f "$ac_file"
14343      mv "$ac_tmp/config.h" "$ac_file" \
14344	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14345    fi
14346  else
14347    printf "%s\n" "/* $configure_input  */" >&1 \
14348      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14349      || as_fn_error $? "could not create -" "$LINENO" 5
14350  fi
14351# Compute "$ac_file"'s index in $config_headers.
14352_am_arg="$ac_file"
14353_am_stamp_count=1
14354for _am_header in $config_headers :; do
14355  case $_am_header in
14356    $_am_arg | $_am_arg:* )
14357      break ;;
14358    * )
14359      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14360  esac
14361done
14362echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14363$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14364	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14365	 X"$_am_arg" : 'X\(//\)$' \| \
14366	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14367printf "%s\n" X"$_am_arg" |
14368    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14369	    s//\1/
14370	    q
14371	  }
14372	  /^X\(\/\/\)[^/].*/{
14373	    s//\1/
14374	    q
14375	  }
14376	  /^X\(\/\/\)$/{
14377	    s//\1/
14378	    q
14379	  }
14380	  /^X\(\/\).*/{
14381	    s//\1/
14382	    q
14383	  }
14384	  s/.*/./; q'`/stamp-h$_am_stamp_count
14385 ;;
14386
14387  :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14388printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
14389 ;;
14390  esac
14391
14392
14393  case $ac_file$ac_mode in
14394    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14395  # Older Autoconf quotes --file arguments for eval, but not when files
14396  # are listed without --file.  Let's play safe and only enable the eval
14397  # if we detect the quoting.
14398  # TODO: see whether this extra hack can be removed once we start
14399  # requiring Autoconf 2.70 or later.
14400  case $CONFIG_FILES in #(
14401  *\'*) :
14402    eval set x "$CONFIG_FILES" ;; #(
14403  *) :
14404    set x $CONFIG_FILES ;; #(
14405  *) :
14406     ;;
14407esac
14408  shift
14409  # Used to flag and report bootstrapping failures.
14410  am_rc=0
14411  for am_mf
14412  do
14413    # Strip MF so we end up with the name of the file.
14414    am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
14415    # Check whether this is an Automake generated Makefile which includes
14416    # dependency-tracking related rules and includes.
14417    # Grep'ing the whole file directly is not great: AIX grep has a line
14418    # limit of 2048, but all sed's we know have understand at least 4000.
14419    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
14420      || continue
14421    am_dirpart=`$as_dirname -- "$am_mf" ||
14422$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14423	 X"$am_mf" : 'X\(//\)[^/]' \| \
14424	 X"$am_mf" : 'X\(//\)$' \| \
14425	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14426printf "%s\n" X"$am_mf" |
14427    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14428	    s//\1/
14429	    q
14430	  }
14431	  /^X\(\/\/\)[^/].*/{
14432	    s//\1/
14433	    q
14434	  }
14435	  /^X\(\/\/\)$/{
14436	    s//\1/
14437	    q
14438	  }
14439	  /^X\(\/\).*/{
14440	    s//\1/
14441	    q
14442	  }
14443	  s/.*/./; q'`
14444    am_filepart=`$as_basename -- "$am_mf" ||
14445$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
14446	 X"$am_mf" : 'X\(//\)$' \| \
14447	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14448printf "%s\n" X/"$am_mf" |
14449    sed '/^.*\/\([^/][^/]*\)\/*$/{
14450	    s//\1/
14451	    q
14452	  }
14453	  /^X\/\(\/\/\)$/{
14454	    s//\1/
14455	    q
14456	  }
14457	  /^X\/\(\/\).*/{
14458	    s//\1/
14459	    q
14460	  }
14461	  s/.*/./; q'`
14462    { echo "$as_me:$LINENO: cd "$am_dirpart" \
14463      && sed -e '/# am--include-marker/d' "$am_filepart" \
14464        | $MAKE -f - am--depfiles" >&5
14465   (cd "$am_dirpart" \
14466      && sed -e '/# am--include-marker/d' "$am_filepart" \
14467        | $MAKE -f - am--depfiles) >&5 2>&5
14468   ac_status=$?
14469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470   (exit $ac_status); } || am_rc=$?
14471  done
14472  if test $am_rc -ne 0; then
14473    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14474printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14475as_fn_error $? "Something went wrong bootstrapping makefile fragments
14476    for automatic dependency tracking.  If GNU make was not used, consider
14477    re-running the configure script with MAKE=\"gmake\" (or whatever is
14478    necessary).  You can also try re-running configure with the
14479    '--disable-dependency-tracking' option to at least be able to build
14480    the package (albeit without support for automatic dependency tracking).
14481See \`config.log' for more details" "$LINENO" 5; }
14482  fi
14483  { am_dirpart=; unset am_dirpart;}
14484  { am_filepart=; unset am_filepart;}
14485  { am_mf=; unset am_mf;}
14486  { am_rc=; unset am_rc;}
14487  rm -f conftest-deps.mk
14488}
14489 ;;
14490    "libtool":C)
14491
14492    # See if we are running on zsh, and set the options that allow our
14493    # commands through without removal of \ escapes.
14494    if test -n "${ZSH_VERSION+set}"; then
14495      setopt NO_GLOB_SUBST
14496    fi
14497
14498    cfgfile=${ofile}T
14499    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14500    $RM "$cfgfile"
14501
14502    cat <<_LT_EOF >> "$cfgfile"
14503#! $SHELL
14504# Generated automatically by $as_me ($PACKAGE) $VERSION
14505# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14506
14507# Provide generalized library-building support services.
14508# Written by Gordon Matzigkeit, 1996
14509
14510# Copyright (C) 2014 Free Software Foundation, Inc.
14511# This is free software; see the source for copying conditions.  There is NO
14512# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14513
14514# GNU Libtool is free software; you can redistribute it and/or modify
14515# it under the terms of the GNU General Public License as published by
14516# the Free Software Foundation; either version 2 of of the License, or
14517# (at your option) any later version.
14518#
14519# As a special exception to the GNU General Public License, if you
14520# distribute this file as part of a program or library that is built
14521# using GNU Libtool, you may include this file under the  same
14522# distribution terms that you use for the rest of that program.
14523#
14524# GNU Libtool is distributed in the hope that it will be useful, but
14525# WITHOUT ANY WARRANTY; without even the implied warranty of
14526# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14527# GNU General Public License for more details.
14528#
14529# You should have received a copy of the GNU General Public License
14530# along with this program.  If not, see <http://www.gnu.org/licenses/>.
14531
14532
14533# The names of the tagged configurations supported by this script.
14534available_tags=''
14535
14536# Configured defaults for sys_lib_dlsearch_path munging.
14537: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14538
14539# ### BEGIN LIBTOOL CONFIG
14540
14541# Which release of libtool.m4 was used?
14542macro_version=$macro_version
14543macro_revision=$macro_revision
14544
14545# Whether or not to build shared libraries.
14546build_libtool_libs=$enable_shared
14547
14548# Whether or not to build static libraries.
14549build_old_libs=$enable_static
14550
14551# What type of objects to build.
14552pic_mode=$pic_mode
14553
14554# Whether or not to optimize for fast installation.
14555fast_install=$enable_fast_install
14556
14557# Shared archive member basename,for filename based shared library versioning on AIX.
14558shared_archive_member_spec=$shared_archive_member_spec
14559
14560# Shell to use when invoking shell scripts.
14561SHELL=$lt_SHELL
14562
14563# An echo program that protects backslashes.
14564ECHO=$lt_ECHO
14565
14566# The PATH separator for the build system.
14567PATH_SEPARATOR=$lt_PATH_SEPARATOR
14568
14569# The host system.
14570host_alias=$host_alias
14571host=$host
14572host_os=$host_os
14573
14574# The build system.
14575build_alias=$build_alias
14576build=$build
14577build_os=$build_os
14578
14579# A sed program that does not truncate output.
14580SED=$lt_SED
14581
14582# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14583Xsed="\$SED -e 1s/^X//"
14584
14585# A grep program that handles long lines.
14586GREP=$lt_GREP
14587
14588# An ERE matcher.
14589EGREP=$lt_EGREP
14590
14591# A literal string matcher.
14592FGREP=$lt_FGREP
14593
14594# A BSD- or MS-compatible name lister.
14595NM=$lt_NM
14596
14597# Whether we need soft or hard links.
14598LN_S=$lt_LN_S
14599
14600# What is the maximum length of a command?
14601max_cmd_len=$max_cmd_len
14602
14603# Object file suffix (normally "o").
14604objext=$ac_objext
14605
14606# Executable file suffix (normally "").
14607exeext=$exeext
14608
14609# whether the shell understands "unset".
14610lt_unset=$lt_unset
14611
14612# turn spaces into newlines.
14613SP2NL=$lt_lt_SP2NL
14614
14615# turn newlines into spaces.
14616NL2SP=$lt_lt_NL2SP
14617
14618# convert \$build file names to \$host format.
14619to_host_file_cmd=$lt_cv_to_host_file_cmd
14620
14621# convert \$build files to toolchain format.
14622to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14623
14624# An object symbol dumper.
14625OBJDUMP=$lt_OBJDUMP
14626
14627# Method to check whether dependent libraries are shared objects.
14628deplibs_check_method=$lt_deplibs_check_method
14629
14630# Command to use when deplibs_check_method = "file_magic".
14631file_magic_cmd=$lt_file_magic_cmd
14632
14633# How to find potential files when deplibs_check_method = "file_magic".
14634file_magic_glob=$lt_file_magic_glob
14635
14636# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14637want_nocaseglob=$lt_want_nocaseglob
14638
14639# DLL creation program.
14640DLLTOOL=$lt_DLLTOOL
14641
14642# Command to associate shared and link libraries.
14643sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14644
14645# The archiver.
14646AR=$lt_AR
14647
14648# Flags to create an archive (by configure).
14649lt_ar_flags=$lt_ar_flags
14650
14651# Flags to create an archive.
14652AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
14653
14654# How to feed a file listing to the archiver.
14655archiver_list_spec=$lt_archiver_list_spec
14656
14657# A symbol stripping program.
14658STRIP=$lt_STRIP
14659
14660# Commands used to install an old-style archive.
14661RANLIB=$lt_RANLIB
14662old_postinstall_cmds=$lt_old_postinstall_cmds
14663old_postuninstall_cmds=$lt_old_postuninstall_cmds
14664
14665# Whether to use a lock for old archive extraction.
14666lock_old_archive_extraction=$lock_old_archive_extraction
14667
14668# A C compiler.
14669LTCC=$lt_CC
14670
14671# LTCC compiler flags.
14672LTCFLAGS=$lt_CFLAGS
14673
14674# Take the output of nm and produce a listing of raw symbols and C names.
14675global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14676
14677# Transform the output of nm in a proper C declaration.
14678global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14679
14680# Transform the output of nm into a list of symbols to manually relocate.
14681global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14682
14683# Transform the output of nm in a C name address pair.
14684global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14685
14686# Transform the output of nm in a C name address pair when lib prefix is needed.
14687global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14688
14689# The name lister interface.
14690nm_interface=$lt_lt_cv_nm_interface
14691
14692# Specify filename containing input files for \$NM.
14693nm_file_list_spec=$lt_nm_file_list_spec
14694
14695# The root where to search for dependent libraries,and where our libraries should be installed.
14696lt_sysroot=$lt_sysroot
14697
14698# Command to truncate a binary pipe.
14699lt_truncate_bin=$lt_lt_cv_truncate_bin
14700
14701# The name of the directory that contains temporary libtool files.
14702objdir=$objdir
14703
14704# Used to examine libraries when file_magic_cmd begins with "file".
14705MAGIC_CMD=$MAGIC_CMD
14706
14707# Must we lock files when doing compilation?
14708need_locks=$lt_need_locks
14709
14710# Manifest tool.
14711MANIFEST_TOOL=$lt_MANIFEST_TOOL
14712
14713# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14714DSYMUTIL=$lt_DSYMUTIL
14715
14716# Tool to change global to local symbols on Mac OS X.
14717NMEDIT=$lt_NMEDIT
14718
14719# Tool to manipulate fat objects and archives on Mac OS X.
14720LIPO=$lt_LIPO
14721
14722# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14723OTOOL=$lt_OTOOL
14724
14725# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14726OTOOL64=$lt_OTOOL64
14727
14728# Old archive suffix (normally "a").
14729libext=$libext
14730
14731# Shared library suffix (normally ".so").
14732shrext_cmds=$lt_shrext_cmds
14733
14734# The commands to extract the exported symbol list from a shared archive.
14735extract_expsyms_cmds=$lt_extract_expsyms_cmds
14736
14737# Variables whose values should be saved in libtool wrapper scripts and
14738# restored at link time.
14739variables_saved_for_relink=$lt_variables_saved_for_relink
14740
14741# Do we need the "lib" prefix for modules?
14742need_lib_prefix=$need_lib_prefix
14743
14744# Do we need a version for libraries?
14745need_version=$need_version
14746
14747# Library versioning type.
14748version_type=$version_type
14749
14750# Shared library runtime path variable.
14751runpath_var=$runpath_var
14752
14753# Shared library path variable.
14754shlibpath_var=$shlibpath_var
14755
14756# Is shlibpath searched before the hard-coded library search path?
14757shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14758
14759# Format of library name prefix.
14760libname_spec=$lt_libname_spec
14761
14762# List of archive names.  First name is the real one, the rest are links.
14763# The last name is the one that the linker finds with -lNAME
14764library_names_spec=$lt_library_names_spec
14765
14766# The coded name of the library, if different from the real name.
14767soname_spec=$lt_soname_spec
14768
14769# Permission mode override for installation of shared libraries.
14770install_override_mode=$lt_install_override_mode
14771
14772# Command to use after installation of a shared archive.
14773postinstall_cmds=$lt_postinstall_cmds
14774
14775# Command to use after uninstallation of a shared archive.
14776postuninstall_cmds=$lt_postuninstall_cmds
14777
14778# Commands used to finish a libtool library installation in a directory.
14779finish_cmds=$lt_finish_cmds
14780
14781# As "finish_cmds", except a single script fragment to be evaled but
14782# not shown.
14783finish_eval=$lt_finish_eval
14784
14785# Whether we should hardcode library paths into libraries.
14786hardcode_into_libs=$hardcode_into_libs
14787
14788# Compile-time system search path for libraries.
14789sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14790
14791# Detected run-time system search path for libraries.
14792sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14793
14794# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14795configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14796
14797# Whether dlopen is supported.
14798dlopen_support=$enable_dlopen
14799
14800# Whether dlopen of programs is supported.
14801dlopen_self=$enable_dlopen_self
14802
14803# Whether dlopen of statically linked programs is supported.
14804dlopen_self_static=$enable_dlopen_self_static
14805
14806# Commands to strip libraries.
14807old_striplib=$lt_old_striplib
14808striplib=$lt_striplib
14809
14810
14811# The linker used to build libraries.
14812LD=$lt_LD
14813
14814# How to create reloadable object files.
14815reload_flag=$lt_reload_flag
14816reload_cmds=$lt_reload_cmds
14817
14818# Commands used to build an old-style archive.
14819old_archive_cmds=$lt_old_archive_cmds
14820
14821# A language specific compiler.
14822CC=$lt_compiler
14823
14824# Is the compiler the GNU compiler?
14825with_gcc=$GCC
14826
14827# Compiler flag to turn off builtin functions.
14828no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14829
14830# Additional compiler flags for building library objects.
14831pic_flag=$lt_lt_prog_compiler_pic
14832
14833# How to pass a linker flag through the compiler.
14834wl=$lt_lt_prog_compiler_wl
14835
14836# Compiler flag to prevent dynamic linking.
14837link_static_flag=$lt_lt_prog_compiler_static
14838
14839# Does compiler simultaneously support -c and -o options?
14840compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14841
14842# Whether or not to add -lc for building shared libraries.
14843build_libtool_need_lc=$archive_cmds_need_lc
14844
14845# Whether or not to disallow shared libs when runtime libs are static.
14846allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14847
14848# Compiler flag to allow reflexive dlopens.
14849export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14850
14851# Compiler flag to generate shared objects directly from archives.
14852whole_archive_flag_spec=$lt_whole_archive_flag_spec
14853
14854# Whether the compiler copes with passing no objects directly.
14855compiler_needs_object=$lt_compiler_needs_object
14856
14857# Create an old-style archive from a shared archive.
14858old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14859
14860# Create a temporary old-style archive to link instead of a shared archive.
14861old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14862
14863# Commands used to build a shared archive.
14864archive_cmds=$lt_archive_cmds
14865archive_expsym_cmds=$lt_archive_expsym_cmds
14866
14867# Commands used to build a loadable module if different from building
14868# a shared archive.
14869module_cmds=$lt_module_cmds
14870module_expsym_cmds=$lt_module_expsym_cmds
14871
14872# Whether we are building with GNU ld or not.
14873with_gnu_ld=$lt_with_gnu_ld
14874
14875# Flag that allows shared libraries with undefined symbols to be built.
14876allow_undefined_flag=$lt_allow_undefined_flag
14877
14878# Flag that enforces no undefined symbols.
14879no_undefined_flag=$lt_no_undefined_flag
14880
14881# Flag to hardcode \$libdir into a binary during linking.
14882# This must work even if \$libdir does not exist
14883hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14884
14885# Whether we need a single "-rpath" flag with a separated argument.
14886hardcode_libdir_separator=$lt_hardcode_libdir_separator
14887
14888# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14889# DIR into the resulting binary.
14890hardcode_direct=$hardcode_direct
14891
14892# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14893# DIR into the resulting binary and the resulting library dependency is
14894# "absolute",i.e impossible to change by setting \$shlibpath_var if the
14895# library is relocated.
14896hardcode_direct_absolute=$hardcode_direct_absolute
14897
14898# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14899# into the resulting binary.
14900hardcode_minus_L=$hardcode_minus_L
14901
14902# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14903# into the resulting binary.
14904hardcode_shlibpath_var=$hardcode_shlibpath_var
14905
14906# Set to "yes" if building a shared library automatically hardcodes DIR
14907# into the library and all subsequent libraries and executables linked
14908# against it.
14909hardcode_automatic=$hardcode_automatic
14910
14911# Set to yes if linker adds runtime paths of dependent libraries
14912# to runtime path list.
14913inherit_rpath=$inherit_rpath
14914
14915# Whether libtool must link a program against all its dependency libraries.
14916link_all_deplibs=$link_all_deplibs
14917
14918# Set to "yes" if exported symbols are required.
14919always_export_symbols=$always_export_symbols
14920
14921# The commands to list exported symbols.
14922export_symbols_cmds=$lt_export_symbols_cmds
14923
14924# Symbols that should not be listed in the preloaded symbols.
14925exclude_expsyms=$lt_exclude_expsyms
14926
14927# Symbols that must always be exported.
14928include_expsyms=$lt_include_expsyms
14929
14930# Commands necessary for linking programs (against libraries) with templates.
14931prelink_cmds=$lt_prelink_cmds
14932
14933# Commands necessary for finishing linking programs.
14934postlink_cmds=$lt_postlink_cmds
14935
14936# Specify filename containing input files.
14937file_list_spec=$lt_file_list_spec
14938
14939# How to hardcode a shared library path into an executable.
14940hardcode_action=$hardcode_action
14941
14942# ### END LIBTOOL CONFIG
14943
14944_LT_EOF
14945
14946    cat <<'_LT_EOF' >> "$cfgfile"
14947
14948# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14949
14950# func_munge_path_list VARIABLE PATH
14951# -----------------------------------
14952# VARIABLE is name of variable containing _space_ separated list of
14953# directories to be munged by the contents of PATH, which is string
14954# having a format:
14955# "DIR[:DIR]:"
14956#       string "DIR[ DIR]" will be prepended to VARIABLE
14957# ":DIR[:DIR]"
14958#       string "DIR[ DIR]" will be appended to VARIABLE
14959# "DIRP[:DIRP]::[DIRA:]DIRA"
14960#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14961#       "DIRA[ DIRA]" will be appended to VARIABLE
14962# "DIR[:DIR]"
14963#       VARIABLE will be replaced by "DIR[ DIR]"
14964func_munge_path_list ()
14965{
14966    case x$2 in
14967    x)
14968        ;;
14969    *:)
14970        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14971        ;;
14972    x:*)
14973        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14974        ;;
14975    *::*)
14976        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14977        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14978        ;;
14979    *)
14980        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14981        ;;
14982    esac
14983}
14984
14985
14986# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
14987func_cc_basename ()
14988{
14989    for cc_temp in $*""; do
14990      case $cc_temp in
14991        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14992        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14993        \-*) ;;
14994        *) break;;
14995      esac
14996    done
14997    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14998}
14999
15000
15001# ### END FUNCTIONS SHARED WITH CONFIGURE
15002
15003_LT_EOF
15004
15005  case $host_os in
15006  aix3*)
15007    cat <<\_LT_EOF >> "$cfgfile"
15008# AIX sometimes has problems with the GCC collect2 program.  For some
15009# reason, if we set the COLLECT_NAMES environment variable, the problems
15010# vanish in a puff of smoke.
15011if test set != "${COLLECT_NAMES+set}"; then
15012  COLLECT_NAMES=
15013  export COLLECT_NAMES
15014fi
15015_LT_EOF
15016    ;;
15017  esac
15018
15019
15020
15021ltmain=$ac_aux_dir/ltmain.sh
15022
15023
15024  # We use sed instead of cat because bash on DJGPP gets confused if
15025  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15026  # text mode, it properly converts lines to CR/LF.  This bash problem
15027  # is reportedly fixed, but why not run on old versions too?
15028  sed '$q' "$ltmain" >> "$cfgfile" \
15029     || (rm -f "$cfgfile"; exit 1)
15030
15031   mv -f "$cfgfile" "$ofile" ||
15032    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15033  chmod +x "$ofile"
15034
15035 ;;
15036
15037  esac
15038done # for ac_tag
15039
15040
15041as_fn_exit 0
15042_ACEOF
15043ac_clean_files=$ac_clean_files_save
15044
15045test $ac_write_fail = 0 ||
15046  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15047
15048
15049# configure is writing to config.log, and then calls config.status.
15050# config.status does its own redirection, appending to config.log.
15051# Unfortunately, on DOS this fails, as config.log is still kept open
15052# by configure, so config.status won't be able to write to it; its
15053# output is simply discarded.  So we exec the FD to /dev/null,
15054# effectively closing config.log, so it can be properly (re)opened and
15055# appended to by config.status.  When coming back to configure, we
15056# need to make the FD available again.
15057if test "$no_create" != yes; then
15058  ac_cs_success=:
15059  ac_config_status_args=
15060  test "$silent" = yes &&
15061    ac_config_status_args="$ac_config_status_args --quiet"
15062  exec 5>/dev/null
15063  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15064  exec 5>>config.log
15065  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15066  # would make configure fail if this is the last instruction.
15067  $ac_cs_success || as_fn_exit 1
15068fi
15069if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15070  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15071printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15072fi
15073
15074
15075