1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.71 for libg15render 3.0.
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='libg15render'
623PACKAGE_TARNAME='libg15render'
624PACKAGE_VERSION='3.0'
625PACKAGE_STRING='libg15render 3.0'
626PACKAGE_BUGREPORT='menelkir@itroll.org'
627PACKAGE_URL=''
628
629ac_unique_file="libg15render.h"
630# Factoring default headers for most tests.
631ac_includes_default="\
632#include <stddef.h>
633#ifdef HAVE_STDIO_H
634# include <stdio.h>
635#endif
636#ifdef HAVE_STDLIB_H
637# include <stdlib.h>
638#endif
639#ifdef HAVE_STRING_H
640# include <string.h>
641#endif
642#ifdef HAVE_INTTYPES_H
643# include <inttypes.h>
644#endif
645#ifdef HAVE_STDINT_H
646# include <stdint.h>
647#endif
648#ifdef HAVE_STRINGS_H
649# include <strings.h>
650#endif
651#ifdef HAVE_SYS_TYPES_H
652# include <sys/types.h>
653#endif
654#ifdef HAVE_SYS_STAT_H
655# include <sys/stat.h>
656#endif
657#ifdef HAVE_UNISTD_H
658# include <unistd.h>
659#endif"
660
661ac_header_c_list=
662ac_subst_vars='am__EXEEXT_FALSE
663am__EXEEXT_TRUE
664LTLIBOBJS
665LIBOBJS
666FTLIB
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
688host_os
689host_vendor
690host_cpu
691host
692build_os
693build_vendor
694build_cpu
695build
696LIBTOOL
697am__fastdepCC_FALSE
698am__fastdepCC_TRUE
699CCDEPMODE
700am__nodep
701AMDEPBACKSLASH
702AMDEP_FALSE
703AMDEP_TRUE
704am__include
705DEPDIR
706OBJEXT
707EXEEXT
708ac_ct_CC
709CPPFLAGS
710LDFLAGS
711CFLAGS
712CC
713AM_BACKSLASH
714AM_DEFAULT_VERBOSITY
715AM_DEFAULT_V
716AM_V
717am__untar
718am__tar
719AMTAR
720am__leading_dot
721SET_MAKE
722AWK
723mkdir_p
724MKDIR_P
725INSTALL_STRIP_PROGRAM
726STRIP
727install_sh
728MAKEINFO
729AUTOHEADER
730AUTOMAKE
731AUTOCONF
732ACLOCAL
733VERSION
734PACKAGE
735CYGPATH_W
736am__isrc
737INSTALL_DATA
738INSTALL_SCRIPT
739INSTALL_PROGRAM
740target_alias
741host_alias
742build_alias
743LIBS
744ECHO_T
745ECHO_N
746ECHO_C
747DEFS
748mandir
749localedir
750libdir
751psdir
752pdfdir
753dvidir
754htmldir
755infodir
756docdir
757oldincludedir
758includedir
759runstatedir
760localstatedir
761sharedstatedir
762sysconfdir
763datadir
764datarootdir
765libexecdir
766sbindir
767bindir
768program_transform_name
769prefix
770exec_prefix
771PACKAGE_URL
772PACKAGE_BUGREPORT
773PACKAGE_STRING
774PACKAGE_VERSION
775PACKAGE_TARNAME
776PACKAGE_NAME
777PATH_SEPARATOR
778SHELL
779am__quote'
780ac_subst_files=''
781ac_user_opts='
782enable_option_checking
783enable_silent_rules
784enable_dependency_tracking
785enable_shared
786enable_static
787with_pic
788enable_fast_install
789with_aix_soname
790with_gnu_ld
791with_sysroot
792enable_libtool_lock
793enable_ttf
794'
795      ac_precious_vars='build_alias
796host_alias
797target_alias
798CC
799CFLAGS
800LDFLAGS
801LIBS
802CPPFLAGS
803LT_SYS_LIBRARY_PATH'
804
805
806# Initialize some variables set by options.
807ac_init_help=
808ac_init_version=false
809ac_unrecognized_opts=
810ac_unrecognized_sep=
811# The variables have the same names as the options, with
812# dashes changed to underlines.
813cache_file=/dev/null
814exec_prefix=NONE
815no_create=
816no_recursion=
817prefix=NONE
818program_prefix=NONE
819program_suffix=NONE
820program_transform_name=s,x,x,
821silent=
822site=
823srcdir=
824verbose=
825x_includes=NONE
826x_libraries=NONE
827
828# Installation directory options.
829# These are left unexpanded so users can "make install exec_prefix=/foo"
830# and all the variables that are supposed to be based on exec_prefix
831# by default will actually change.
832# Use braces instead of parens because sh, perl, etc. also accept them.
833# (The list follows the same order as the GNU Coding Standards.)
834bindir='${exec_prefix}/bin'
835sbindir='${exec_prefix}/sbin'
836libexecdir='${exec_prefix}/libexec'
837datarootdir='${prefix}/share'
838datadir='${datarootdir}'
839sysconfdir='${prefix}/etc'
840sharedstatedir='${prefix}/com'
841localstatedir='${prefix}/var'
842runstatedir='${localstatedir}/run'
843includedir='${prefix}/include'
844oldincludedir='/usr/include'
845docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
846infodir='${datarootdir}/info'
847htmldir='${docdir}'
848dvidir='${docdir}'
849pdfdir='${docdir}'
850psdir='${docdir}'
851libdir='${exec_prefix}/lib'
852localedir='${datarootdir}/locale'
853mandir='${datarootdir}/man'
854
855ac_prev=
856ac_dashdash=
857for ac_option
858do
859  # If the previous option needs an argument, assign it.
860  if test -n "$ac_prev"; then
861    eval $ac_prev=\$ac_option
862    ac_prev=
863    continue
864  fi
865
866  case $ac_option in
867  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
868  *=)   ac_optarg= ;;
869  *)    ac_optarg=yes ;;
870  esac
871
872  case $ac_dashdash$ac_option in
873  --)
874    ac_dashdash=yes ;;
875
876  -bindir | --bindir | --bindi | --bind | --bin | --bi)
877    ac_prev=bindir ;;
878  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
879    bindir=$ac_optarg ;;
880
881  -build | --build | --buil | --bui | --bu)
882    ac_prev=build_alias ;;
883  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
884    build_alias=$ac_optarg ;;
885
886  -cache-file | --cache-file | --cache-fil | --cache-fi \
887  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
888    ac_prev=cache_file ;;
889  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
890  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
891    cache_file=$ac_optarg ;;
892
893  --config-cache | -C)
894    cache_file=config.cache ;;
895
896  -datadir | --datadir | --datadi | --datad)
897    ac_prev=datadir ;;
898  -datadir=* | --datadir=* | --datadi=* | --datad=*)
899    datadir=$ac_optarg ;;
900
901  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
902  | --dataroo | --dataro | --datar)
903    ac_prev=datarootdir ;;
904  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
905  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
906    datarootdir=$ac_optarg ;;
907
908  -disable-* | --disable-*)
909    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
910    # Reject names that are not valid shell variable names.
911    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
912      as_fn_error $? "invalid feature name: \`$ac_useropt'"
913    ac_useropt_orig=$ac_useropt
914    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
915    case $ac_user_opts in
916      *"
917"enable_$ac_useropt"
918"*) ;;
919      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
920	 ac_unrecognized_sep=', ';;
921    esac
922    eval enable_$ac_useropt=no ;;
923
924  -docdir | --docdir | --docdi | --doc | --do)
925    ac_prev=docdir ;;
926  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
927    docdir=$ac_optarg ;;
928
929  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
930    ac_prev=dvidir ;;
931  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
932    dvidir=$ac_optarg ;;
933
934  -enable-* | --enable-*)
935    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
936    # Reject names that are not valid shell variable names.
937    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938      as_fn_error $? "invalid feature name: \`$ac_useropt'"
939    ac_useropt_orig=$ac_useropt
940    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
941    case $ac_user_opts in
942      *"
943"enable_$ac_useropt"
944"*) ;;
945      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
946	 ac_unrecognized_sep=', ';;
947    esac
948    eval enable_$ac_useropt=\$ac_optarg ;;
949
950  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
951  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
952  | --exec | --exe | --ex)
953    ac_prev=exec_prefix ;;
954  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
955  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
956  | --exec=* | --exe=* | --ex=*)
957    exec_prefix=$ac_optarg ;;
958
959  -gas | --gas | --ga | --g)
960    # Obsolete; use --with-gas.
961    with_gas=yes ;;
962
963  -help | --help | --hel | --he | -h)
964    ac_init_help=long ;;
965  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
966    ac_init_help=recursive ;;
967  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
968    ac_init_help=short ;;
969
970  -host | --host | --hos | --ho)
971    ac_prev=host_alias ;;
972  -host=* | --host=* | --hos=* | --ho=*)
973    host_alias=$ac_optarg ;;
974
975  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
976    ac_prev=htmldir ;;
977  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
978  | --ht=*)
979    htmldir=$ac_optarg ;;
980
981  -includedir | --includedir | --includedi | --included | --include \
982  | --includ | --inclu | --incl | --inc)
983    ac_prev=includedir ;;
984  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
985  | --includ=* | --inclu=* | --incl=* | --inc=*)
986    includedir=$ac_optarg ;;
987
988  -infodir | --infodir | --infodi | --infod | --info | --inf)
989    ac_prev=infodir ;;
990  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
991    infodir=$ac_optarg ;;
992
993  -libdir | --libdir | --libdi | --libd)
994    ac_prev=libdir ;;
995  -libdir=* | --libdir=* | --libdi=* | --libd=*)
996    libdir=$ac_optarg ;;
997
998  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
999  | --libexe | --libex | --libe)
1000    ac_prev=libexecdir ;;
1001  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1002  | --libexe=* | --libex=* | --libe=*)
1003    libexecdir=$ac_optarg ;;
1004
1005  -localedir | --localedir | --localedi | --localed | --locale)
1006    ac_prev=localedir ;;
1007  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1008    localedir=$ac_optarg ;;
1009
1010  -localstatedir | --localstatedir | --localstatedi | --localstated \
1011  | --localstate | --localstat | --localsta | --localst | --locals)
1012    ac_prev=localstatedir ;;
1013  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1014  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1015    localstatedir=$ac_optarg ;;
1016
1017  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1018    ac_prev=mandir ;;
1019  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1020    mandir=$ac_optarg ;;
1021
1022  -nfp | --nfp | --nf)
1023    # Obsolete; use --without-fp.
1024    with_fp=no ;;
1025
1026  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1027  | --no-cr | --no-c | -n)
1028    no_create=yes ;;
1029
1030  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1031  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1032    no_recursion=yes ;;
1033
1034  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1035  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1036  | --oldin | --oldi | --old | --ol | --o)
1037    ac_prev=oldincludedir ;;
1038  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1039  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1040  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1041    oldincludedir=$ac_optarg ;;
1042
1043  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1044    ac_prev=prefix ;;
1045  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1046    prefix=$ac_optarg ;;
1047
1048  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1049  | --program-pre | --program-pr | --program-p)
1050    ac_prev=program_prefix ;;
1051  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1052  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1053    program_prefix=$ac_optarg ;;
1054
1055  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1056  | --program-suf | --program-su | --program-s)
1057    ac_prev=program_suffix ;;
1058  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1059  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1060    program_suffix=$ac_optarg ;;
1061
1062  -program-transform-name | --program-transform-name \
1063  | --program-transform-nam | --program-transform-na \
1064  | --program-transform-n | --program-transform- \
1065  | --program-transform | --program-transfor \
1066  | --program-transfo | --program-transf \
1067  | --program-trans | --program-tran \
1068  | --progr-tra | --program-tr | --program-t)
1069    ac_prev=program_transform_name ;;
1070  -program-transform-name=* | --program-transform-name=* \
1071  | --program-transform-nam=* | --program-transform-na=* \
1072  | --program-transform-n=* | --program-transform-=* \
1073  | --program-transform=* | --program-transfor=* \
1074  | --program-transfo=* | --program-transf=* \
1075  | --program-trans=* | --program-tran=* \
1076  | --progr-tra=* | --program-tr=* | --program-t=*)
1077    program_transform_name=$ac_optarg ;;
1078
1079  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1080    ac_prev=pdfdir ;;
1081  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1082    pdfdir=$ac_optarg ;;
1083
1084  -psdir | --psdir | --psdi | --psd | --ps)
1085    ac_prev=psdir ;;
1086  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1087    psdir=$ac_optarg ;;
1088
1089  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1090  | -silent | --silent | --silen | --sile | --sil)
1091    silent=yes ;;
1092
1093  -runstatedir | --runstatedir | --runstatedi | --runstated \
1094  | --runstate | --runstat | --runsta | --runst | --runs \
1095  | --run | --ru | --r)
1096    ac_prev=runstatedir ;;
1097  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1098  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1099  | --run=* | --ru=* | --r=*)
1100    runstatedir=$ac_optarg ;;
1101
1102  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1103    ac_prev=sbindir ;;
1104  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1105  | --sbi=* | --sb=*)
1106    sbindir=$ac_optarg ;;
1107
1108  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1109  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1110  | --sharedst | --shareds | --shared | --share | --shar \
1111  | --sha | --sh)
1112    ac_prev=sharedstatedir ;;
1113  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1114  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1115  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1116  | --sha=* | --sh=*)
1117    sharedstatedir=$ac_optarg ;;
1118
1119  -site | --site | --sit)
1120    ac_prev=site ;;
1121  -site=* | --site=* | --sit=*)
1122    site=$ac_optarg ;;
1123
1124  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1125    ac_prev=srcdir ;;
1126  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1127    srcdir=$ac_optarg ;;
1128
1129  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1130  | --syscon | --sysco | --sysc | --sys | --sy)
1131    ac_prev=sysconfdir ;;
1132  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1133  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1134    sysconfdir=$ac_optarg ;;
1135
1136  -target | --target | --targe | --targ | --tar | --ta | --t)
1137    ac_prev=target_alias ;;
1138  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1139    target_alias=$ac_optarg ;;
1140
1141  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1142    verbose=yes ;;
1143
1144  -version | --version | --versio | --versi | --vers | -V)
1145    ac_init_version=: ;;
1146
1147  -with-* | --with-*)
1148    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1149    # Reject names that are not valid shell variable names.
1150    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1151      as_fn_error $? "invalid package name: \`$ac_useropt'"
1152    ac_useropt_orig=$ac_useropt
1153    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1154    case $ac_user_opts in
1155      *"
1156"with_$ac_useropt"
1157"*) ;;
1158      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1159	 ac_unrecognized_sep=', ';;
1160    esac
1161    eval with_$ac_useropt=\$ac_optarg ;;
1162
1163  -without-* | --without-*)
1164    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1165    # Reject names that are not valid shell variable names.
1166    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1167      as_fn_error $? "invalid package name: \`$ac_useropt'"
1168    ac_useropt_orig=$ac_useropt
1169    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1170    case $ac_user_opts in
1171      *"
1172"with_$ac_useropt"
1173"*) ;;
1174      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1175	 ac_unrecognized_sep=', ';;
1176    esac
1177    eval with_$ac_useropt=no ;;
1178
1179  --x)
1180    # Obsolete; use --with-x.
1181    with_x=yes ;;
1182
1183  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1184  | --x-incl | --x-inc | --x-in | --x-i)
1185    ac_prev=x_includes ;;
1186  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1187  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1188    x_includes=$ac_optarg ;;
1189
1190  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1191  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1192    ac_prev=x_libraries ;;
1193  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1194  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1195    x_libraries=$ac_optarg ;;
1196
1197  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1198Try \`$0 --help' for more information"
1199    ;;
1200
1201  *=*)
1202    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1203    # Reject names that are not valid shell variable names.
1204    case $ac_envvar in #(
1205      '' | [0-9]* | *[!_$as_cr_alnum]* )
1206      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1207    esac
1208    eval $ac_envvar=\$ac_optarg
1209    export $ac_envvar ;;
1210
1211  *)
1212    # FIXME: should be removed in autoconf 3.0.
1213    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1214    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1215      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1216    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1217    ;;
1218
1219  esac
1220done
1221
1222if test -n "$ac_prev"; then
1223  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1224  as_fn_error $? "missing argument to $ac_option"
1225fi
1226
1227if test -n "$ac_unrecognized_opts"; then
1228  case $enable_option_checking in
1229    no) ;;
1230    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1231    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1232  esac
1233fi
1234
1235# Check all directory arguments for consistency.
1236for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1237		datadir sysconfdir sharedstatedir localstatedir includedir \
1238		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1239		libdir localedir mandir runstatedir
1240do
1241  eval ac_val=\$$ac_var
1242  # Remove trailing slashes.
1243  case $ac_val in
1244    */ )
1245      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1246      eval $ac_var=\$ac_val;;
1247  esac
1248  # Be sure to have absolute directory names.
1249  case $ac_val in
1250    [\\/$]* | ?:[\\/]* )  continue;;
1251    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1252  esac
1253  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1254done
1255
1256# There might be people who depend on the old broken behavior: `$host'
1257# used to hold the argument of --host etc.
1258# FIXME: To remove some day.
1259build=$build_alias
1260host=$host_alias
1261target=$target_alias
1262
1263# FIXME: To remove some day.
1264if test "x$host_alias" != x; then
1265  if test "x$build_alias" = x; then
1266    cross_compiling=maybe
1267  elif test "x$build_alias" != "x$host_alias"; then
1268    cross_compiling=yes
1269  fi
1270fi
1271
1272ac_tool_prefix=
1273test -n "$host_alias" && ac_tool_prefix=$host_alias-
1274
1275test "$silent" = yes && exec 6>/dev/null
1276
1277
1278ac_pwd=`pwd` && test -n "$ac_pwd" &&
1279ac_ls_di=`ls -di .` &&
1280ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1281  as_fn_error $? "working directory cannot be determined"
1282test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1283  as_fn_error $? "pwd does not report name of working directory"
1284
1285
1286# Find the source files, if location was not specified.
1287if test -z "$srcdir"; then
1288  ac_srcdir_defaulted=yes
1289  # Try the directory containing this script, then the parent directory.
1290  ac_confdir=`$as_dirname -- "$as_myself" ||
1291$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1292	 X"$as_myself" : 'X\(//\)[^/]' \| \
1293	 X"$as_myself" : 'X\(//\)$' \| \
1294	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1295printf "%s\n" X"$as_myself" |
1296    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1297	    s//\1/
1298	    q
1299	  }
1300	  /^X\(\/\/\)[^/].*/{
1301	    s//\1/
1302	    q
1303	  }
1304	  /^X\(\/\/\)$/{
1305	    s//\1/
1306	    q
1307	  }
1308	  /^X\(\/\).*/{
1309	    s//\1/
1310	    q
1311	  }
1312	  s/.*/./; q'`
1313  srcdir=$ac_confdir
1314  if test ! -r "$srcdir/$ac_unique_file"; then
1315    srcdir=..
1316  fi
1317else
1318  ac_srcdir_defaulted=no
1319fi
1320if test ! -r "$srcdir/$ac_unique_file"; then
1321  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1322  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1323fi
1324ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1325ac_abs_confdir=`(
1326	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1327	pwd)`
1328# When building in place, set srcdir=.
1329if test "$ac_abs_confdir" = "$ac_pwd"; then
1330  srcdir=.
1331fi
1332# Remove unnecessary trailing slashes from srcdir.
1333# Double slashes in file names in object file debugging info
1334# mess up M-x gdb in Emacs.
1335case $srcdir in
1336*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1337esac
1338for ac_var in $ac_precious_vars; do
1339  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1340  eval ac_env_${ac_var}_value=\$${ac_var}
1341  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1342  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1343done
1344
1345#
1346# Report the --help message.
1347#
1348if test "$ac_init_help" = "long"; then
1349  # Omit some internal or obsolete options to make the list less imposing.
1350  # This message is too long to be a string in the A/UX 3.1 sh.
1351  cat <<_ACEOF
1352\`configure' configures libg15render 3.0 to adapt to many kinds of systems.
1353
1354Usage: $0 [OPTION]... [VAR=VALUE]...
1355
1356To assign environment variables (e.g., CC, CFLAGS...), specify them as
1357VAR=VALUE.  See below for descriptions of some of the useful variables.
1358
1359Defaults for the options are specified in brackets.
1360
1361Configuration:
1362  -h, --help              display this help and exit
1363      --help=short        display options specific to this package
1364      --help=recursive    display the short help of all the included packages
1365  -V, --version           display version information and exit
1366  -q, --quiet, --silent   do not print \`checking ...' messages
1367      --cache-file=FILE   cache test results in FILE [disabled]
1368  -C, --config-cache      alias for \`--cache-file=config.cache'
1369  -n, --no-create         do not create output files
1370      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1371
1372Installation directories:
1373  --prefix=PREFIX         install architecture-independent files in PREFIX
1374                          [$ac_default_prefix]
1375  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1376                          [PREFIX]
1377
1378By default, \`make install' will install all the files in
1379\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1380an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1381for instance \`--prefix=\$HOME'.
1382
1383For better control, use the options below.
1384
1385Fine tuning of the installation directories:
1386  --bindir=DIR            user executables [EPREFIX/bin]
1387  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1388  --libexecdir=DIR        program executables [EPREFIX/libexec]
1389  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1390  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1391  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1392  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1393  --libdir=DIR            object code libraries [EPREFIX/lib]
1394  --includedir=DIR        C header files [PREFIX/include]
1395  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1396  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1397  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1398  --infodir=DIR           info documentation [DATAROOTDIR/info]
1399  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1400  --mandir=DIR            man documentation [DATAROOTDIR/man]
1401  --docdir=DIR            documentation root [DATAROOTDIR/doc/libg15render]
1402  --htmldir=DIR           html documentation [DOCDIR]
1403  --dvidir=DIR            dvi documentation [DOCDIR]
1404  --pdfdir=DIR            pdf documentation [DOCDIR]
1405  --psdir=DIR             ps documentation [DOCDIR]
1406_ACEOF
1407
1408  cat <<\_ACEOF
1409
1410Program names:
1411  --program-prefix=PREFIX            prepend PREFIX to installed program names
1412  --program-suffix=SUFFIX            append SUFFIX to installed program names
1413  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1414
1415System types:
1416  --build=BUILD     configure for building on BUILD [guessed]
1417  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1418_ACEOF
1419fi
1420
1421if test -n "$ac_init_help"; then
1422  case $ac_init_help in
1423     short | recursive ) echo "Configuration of libg15render 3.0:";;
1424   esac
1425  cat <<\_ACEOF
1426
1427Optional Features:
1428  --disable-option-checking  ignore unrecognized --enable/--with options
1429  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1430  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1431  --enable-silent-rules   less verbose build output (undo: "make V=1")
1432  --disable-silent-rules  verbose build output (undo: "make V=0")
1433  --enable-dependency-tracking
1434                          do not reject slow dependency extractors
1435  --disable-dependency-tracking
1436                          speeds up one-time build
1437  --enable-shared[=PKGS]  build shared libraries [default=yes]
1438  --enable-static[=PKGS]  build static libraries [default=yes]
1439  --enable-fast-install[=PKGS]
1440                          optimize for fast installation [default=yes]
1441  --disable-libtool-lock  avoid locking (might break parallel builds)
1442  --enable-ttf		enable FreeType2 support
1443
1444Optional Packages:
1445  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1446  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1447  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1448                          both]
1449  --with-aix-soname=aix|svr4|both
1450                          shared library versioning (aka "SONAME") variant to
1451                          provide on AIX, [default=aix].
1452  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1453  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1454                          compiler's sysroot if not specified).
1455
1456Some influential environment variables:
1457  CC          C compiler command
1458  CFLAGS      C compiler flags
1459  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1460              nonstandard directory <lib dir>
1461  LIBS        libraries to pass to the linker, e.g. -l<library>
1462  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1463              you have headers in a nonstandard directory <include dir>
1464  LT_SYS_LIBRARY_PATH
1465              User-defined run-time library search path.
1466
1467Use these variables to override the choices made by `configure' or to help
1468it to find libraries and programs with nonstandard names/locations.
1469
1470Report bugs to <menelkir@itroll.org>.
1471_ACEOF
1472ac_status=$?
1473fi
1474
1475if test "$ac_init_help" = "recursive"; then
1476  # If there are subdirs, report their specific --help.
1477  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1478    test -d "$ac_dir" ||
1479      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1480      continue
1481    ac_builddir=.
1482
1483case "$ac_dir" in
1484.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1485*)
1486  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1487  # A ".." for each directory in $ac_dir_suffix.
1488  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1489  case $ac_top_builddir_sub in
1490  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1491  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1492  esac ;;
1493esac
1494ac_abs_top_builddir=$ac_pwd
1495ac_abs_builddir=$ac_pwd$ac_dir_suffix
1496# for backward compatibility:
1497ac_top_builddir=$ac_top_build_prefix
1498
1499case $srcdir in
1500  .)  # We are building in place.
1501    ac_srcdir=.
1502    ac_top_srcdir=$ac_top_builddir_sub
1503    ac_abs_top_srcdir=$ac_pwd ;;
1504  [\\/]* | ?:[\\/]* )  # Absolute name.
1505    ac_srcdir=$srcdir$ac_dir_suffix;
1506    ac_top_srcdir=$srcdir
1507    ac_abs_top_srcdir=$srcdir ;;
1508  *) # Relative name.
1509    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1510    ac_top_srcdir=$ac_top_build_prefix$srcdir
1511    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1512esac
1513ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1514
1515    cd "$ac_dir" || { ac_status=$?; continue; }
1516    # Check for configure.gnu first; this name is used for a wrapper for
1517    # Metaconfig's "Configure" on case-insensitive file systems.
1518    if test -f "$ac_srcdir/configure.gnu"; then
1519      echo &&
1520      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1521    elif test -f "$ac_srcdir/configure"; then
1522      echo &&
1523      $SHELL "$ac_srcdir/configure" --help=recursive
1524    else
1525      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1526    fi || ac_status=$?
1527    cd "$ac_pwd" || { ac_status=$?; break; }
1528  done
1529fi
1530
1531test -n "$ac_init_help" && exit $ac_status
1532if $ac_init_version; then
1533  cat <<\_ACEOF
1534libg15render configure 3.0
1535generated by GNU Autoconf 2.71
1536
1537Copyright (C) 2021 Free Software Foundation, Inc.
1538This configure script is free software; the Free Software Foundation
1539gives unlimited permission to copy, distribute and modify it.
1540_ACEOF
1541  exit
1542fi
1543
1544## ------------------------ ##
1545## Autoconf initialization. ##
1546## ------------------------ ##
1547
1548# ac_fn_c_try_compile LINENO
1549# --------------------------
1550# Try to compile conftest.$ac_ext, and return whether this succeeded.
1551ac_fn_c_try_compile ()
1552{
1553  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554  rm -f conftest.$ac_objext conftest.beam
1555  if { { ac_try="$ac_compile"
1556case "(($ac_try" in
1557  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1558  *) ac_try_echo=$ac_try;;
1559esac
1560eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561printf "%s\n" "$ac_try_echo"; } >&5
1562  (eval "$ac_compile") 2>conftest.err
1563  ac_status=$?
1564  if test -s conftest.err; then
1565    grep -v '^ *+' conftest.err >conftest.er1
1566    cat conftest.er1 >&5
1567    mv -f conftest.er1 conftest.err
1568  fi
1569  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570  test $ac_status = 0; } && {
1571	 test -z "$ac_c_werror_flag" ||
1572	 test ! -s conftest.err
1573       } && test -s conftest.$ac_objext
1574then :
1575  ac_retval=0
1576else $as_nop
1577  printf "%s\n" "$as_me: failed program was:" >&5
1578sed 's/^/| /' conftest.$ac_ext >&5
1579
1580	ac_retval=1
1581fi
1582  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1583  as_fn_set_status $ac_retval
1584
1585} # ac_fn_c_try_compile
1586
1587# ac_fn_c_try_link LINENO
1588# -----------------------
1589# Try to link conftest.$ac_ext, and return whether this succeeded.
1590ac_fn_c_try_link ()
1591{
1592  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593  rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1594  if { { ac_try="$ac_link"
1595case "(($ac_try" in
1596  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1597  *) ac_try_echo=$ac_try;;
1598esac
1599eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600printf "%s\n" "$ac_try_echo"; } >&5
1601  (eval "$ac_link") 2>conftest.err
1602  ac_status=$?
1603  if test -s conftest.err; then
1604    grep -v '^ *+' conftest.err >conftest.er1
1605    cat conftest.er1 >&5
1606    mv -f conftest.er1 conftest.err
1607  fi
1608  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609  test $ac_status = 0; } && {
1610	 test -z "$ac_c_werror_flag" ||
1611	 test ! -s conftest.err
1612       } && test -s conftest$ac_exeext && {
1613	 test "$cross_compiling" = yes ||
1614	 test -x conftest$ac_exeext
1615       }
1616then :
1617  ac_retval=0
1618else $as_nop
1619  printf "%s\n" "$as_me: failed program was:" >&5
1620sed 's/^/| /' conftest.$ac_ext >&5
1621
1622	ac_retval=1
1623fi
1624  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1625  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1626  # interfere with the next link command; also delete a directory that is
1627  # left behind by Apple's compiler.  We do this before executing the actions.
1628  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1629  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630  as_fn_set_status $ac_retval
1631
1632} # ac_fn_c_try_link
1633
1634# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1635# -------------------------------------------------------
1636# Tests whether HEADER exists and can be compiled using the include files in
1637# INCLUDES, setting the cache variable VAR accordingly.
1638ac_fn_c_check_header_compile ()
1639{
1640  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1642printf %s "checking for $2... " >&6; }
1643if eval test \${$3+y}
1644then :
1645  printf %s "(cached) " >&6
1646else $as_nop
1647  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1648/* end confdefs.h.  */
1649$4
1650#include <$2>
1651_ACEOF
1652if ac_fn_c_try_compile "$LINENO"
1653then :
1654  eval "$3=yes"
1655else $as_nop
1656  eval "$3=no"
1657fi
1658rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1659fi
1660eval ac_res=\$$3
1661	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1662printf "%s\n" "$ac_res" >&6; }
1663  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664
1665} # ac_fn_c_check_header_compile
1666
1667# ac_fn_c_check_func LINENO FUNC VAR
1668# ----------------------------------
1669# Tests whether FUNC exists, setting the cache variable VAR accordingly
1670ac_fn_c_check_func ()
1671{
1672  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1674printf %s "checking for $2... " >&6; }
1675if eval test \${$3+y}
1676then :
1677  printf %s "(cached) " >&6
1678else $as_nop
1679  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1680/* end confdefs.h.  */
1681/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1682   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1683#define $2 innocuous_$2
1684
1685/* System header to define __stub macros and hopefully few prototypes,
1686   which can conflict with char $2 (); below.  */
1687
1688#include <limits.h>
1689#undef $2
1690
1691/* Override any GCC internal prototype to avoid an error.
1692   Use char because int might match the return type of a GCC
1693   builtin and then its argument prototype would still apply.  */
1694#ifdef __cplusplus
1695extern "C"
1696#endif
1697char $2 ();
1698/* The GNU C library defines this for functions which it implements
1699    to always fail with ENOSYS.  Some functions are actually named
1700    something starting with __ and the normal name is an alias.  */
1701#if defined __stub_$2 || defined __stub___$2
1702choke me
1703#endif
1704
1705int
1706main (void)
1707{
1708return $2 ();
1709  ;
1710  return 0;
1711}
1712_ACEOF
1713if ac_fn_c_try_link "$LINENO"
1714then :
1715  eval "$3=yes"
1716else $as_nop
1717  eval "$3=no"
1718fi
1719rm -f core conftest.err conftest.$ac_objext conftest.beam \
1720    conftest$ac_exeext conftest.$ac_ext
1721fi
1722eval ac_res=\$$3
1723	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1724printf "%s\n" "$ac_res" >&6; }
1725  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726
1727} # ac_fn_c_check_func
1728ac_configure_args_raw=
1729for ac_arg
1730do
1731  case $ac_arg in
1732  *\'*)
1733    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1734  esac
1735  as_fn_append ac_configure_args_raw " '$ac_arg'"
1736done
1737
1738case $ac_configure_args_raw in
1739  *$as_nl*)
1740    ac_safe_unquote= ;;
1741  *)
1742    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
1743    ac_unsafe_a="$ac_unsafe_z#~"
1744    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1745    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1746esac
1747
1748cat >config.log <<_ACEOF
1749This file contains any messages produced by compilers while
1750running configure, to aid debugging if configure makes a mistake.
1751
1752It was created by libg15render $as_me 3.0, which was
1753generated by GNU Autoconf 2.71.  Invocation command line was
1754
1755  $ $0$ac_configure_args_raw
1756
1757_ACEOF
1758exec 5>>config.log
1759{
1760cat <<_ASUNAME
1761## --------- ##
1762## Platform. ##
1763## --------- ##
1764
1765hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1766uname -m = `(uname -m) 2>/dev/null || echo unknown`
1767uname -r = `(uname -r) 2>/dev/null || echo unknown`
1768uname -s = `(uname -s) 2>/dev/null || echo unknown`
1769uname -v = `(uname -v) 2>/dev/null || echo unknown`
1770
1771/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1772/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1773
1774/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1775/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1776/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1777/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1778/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1779/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1780/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1781
1782_ASUNAME
1783
1784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1785for as_dir in $PATH
1786do
1787  IFS=$as_save_IFS
1788  case $as_dir in #(((
1789    '') as_dir=./ ;;
1790    */) ;;
1791    *) as_dir=$as_dir/ ;;
1792  esac
1793    printf "%s\n" "PATH: $as_dir"
1794  done
1795IFS=$as_save_IFS
1796
1797} >&5
1798
1799cat >&5 <<_ACEOF
1800
1801
1802## ----------- ##
1803## Core tests. ##
1804## ----------- ##
1805
1806_ACEOF
1807
1808
1809# Keep a trace of the command line.
1810# Strip out --no-create and --no-recursion so they do not pile up.
1811# Strip out --silent because we don't want to record it for future runs.
1812# Also quote any args containing shell meta-characters.
1813# Make two passes to allow for proper duplicate-argument suppression.
1814ac_configure_args=
1815ac_configure_args0=
1816ac_configure_args1=
1817ac_must_keep_next=false
1818for ac_pass in 1 2
1819do
1820  for ac_arg
1821  do
1822    case $ac_arg in
1823    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1824    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1825    | -silent | --silent | --silen | --sile | --sil)
1826      continue ;;
1827    *\'*)
1828      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1829    esac
1830    case $ac_pass in
1831    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1832    2)
1833      as_fn_append ac_configure_args1 " '$ac_arg'"
1834      if test $ac_must_keep_next = true; then
1835	ac_must_keep_next=false # Got value, back to normal.
1836      else
1837	case $ac_arg in
1838	  *=* | --config-cache | -C | -disable-* | --disable-* \
1839	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1840	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1841	  | -with-* | --with-* | -without-* | --without-* | --x)
1842	    case "$ac_configure_args0 " in
1843	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1844	    esac
1845	    ;;
1846	  -* ) ac_must_keep_next=true ;;
1847	esac
1848      fi
1849      as_fn_append ac_configure_args " '$ac_arg'"
1850      ;;
1851    esac
1852  done
1853done
1854{ ac_configure_args0=; unset ac_configure_args0;}
1855{ ac_configure_args1=; unset ac_configure_args1;}
1856
1857# When interrupted or exit'd, cleanup temporary files, and complete
1858# config.log.  We remove comments because anyway the quotes in there
1859# would cause problems or look ugly.
1860# WARNING: Use '\'' to represent an apostrophe within the trap.
1861# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1862trap 'exit_status=$?
1863  # Sanitize IFS.
1864  IFS=" ""	$as_nl"
1865  # Save into config.log some information that might help in debugging.
1866  {
1867    echo
1868
1869    printf "%s\n" "## ---------------- ##
1870## Cache variables. ##
1871## ---------------- ##"
1872    echo
1873    # The following way of writing the cache mishandles newlines in values,
1874(
1875  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1876    eval ac_val=\$$ac_var
1877    case $ac_val in #(
1878    *${as_nl}*)
1879      case $ac_var in #(
1880      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1881printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1882      esac
1883      case $ac_var in #(
1884      _ | IFS | as_nl) ;; #(
1885      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1886      *) { eval $ac_var=; unset $ac_var;} ;;
1887      esac ;;
1888    esac
1889  done
1890  (set) 2>&1 |
1891    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1892    *${as_nl}ac_space=\ *)
1893      sed -n \
1894	"s/'\''/'\''\\\\'\'''\''/g;
1895	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1896      ;; #(
1897    *)
1898      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1899      ;;
1900    esac |
1901    sort
1902)
1903    echo
1904
1905    printf "%s\n" "## ----------------- ##
1906## Output variables. ##
1907## ----------------- ##"
1908    echo
1909    for ac_var in $ac_subst_vars
1910    do
1911      eval ac_val=\$$ac_var
1912      case $ac_val in
1913      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1914      esac
1915      printf "%s\n" "$ac_var='\''$ac_val'\''"
1916    done | sort
1917    echo
1918
1919    if test -n "$ac_subst_files"; then
1920      printf "%s\n" "## ------------------- ##
1921## File substitutions. ##
1922## ------------------- ##"
1923      echo
1924      for ac_var in $ac_subst_files
1925      do
1926	eval ac_val=\$$ac_var
1927	case $ac_val in
1928	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1929	esac
1930	printf "%s\n" "$ac_var='\''$ac_val'\''"
1931      done | sort
1932      echo
1933    fi
1934
1935    if test -s confdefs.h; then
1936      printf "%s\n" "## ----------- ##
1937## confdefs.h. ##
1938## ----------- ##"
1939      echo
1940      cat confdefs.h
1941      echo
1942    fi
1943    test "$ac_signal" != 0 &&
1944      printf "%s\n" "$as_me: caught signal $ac_signal"
1945    printf "%s\n" "$as_me: exit $exit_status"
1946  } >&5
1947  rm -f core *.core core.conftest.* &&
1948    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1949    exit $exit_status
1950' 0
1951for ac_signal in 1 2 13 15; do
1952  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1953done
1954ac_signal=0
1955
1956# confdefs.h avoids OS command line length limits that DEFS can exceed.
1957rm -f -r conftest* confdefs.h
1958
1959printf "%s\n" "/* confdefs.h */" > confdefs.h
1960
1961# Predefined preprocessor variables.
1962
1963printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1964
1965printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1966
1967printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1968
1969printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1970
1971printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1972
1973printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1974
1975
1976# Let the site file select an alternate cache file if it wants to.
1977# Prefer an explicitly selected file to automatically selected ones.
1978if test -n "$CONFIG_SITE"; then
1979  ac_site_files="$CONFIG_SITE"
1980elif test "x$prefix" != xNONE; then
1981  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1982else
1983  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1984fi
1985
1986for ac_site_file in $ac_site_files
1987do
1988  case $ac_site_file in #(
1989  */*) :
1990     ;; #(
1991  *) :
1992    ac_site_file=./$ac_site_file ;;
1993esac
1994  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1995    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1996printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1997    sed 's/^/| /' "$ac_site_file" >&5
1998    . "$ac_site_file" \
1999      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2000printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2001as_fn_error $? "failed to load site script $ac_site_file
2002See \`config.log' for more details" "$LINENO" 5; }
2003  fi
2004done
2005
2006if test -r "$cache_file"; then
2007  # Some versions of bash will fail to source /dev/null (special files
2008  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2009  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2010    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2011printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2012    case $cache_file in
2013      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2014      *)                      . "./$cache_file";;
2015    esac
2016  fi
2017else
2018  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2019printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2020  >$cache_file
2021fi
2022
2023# Test code for whether the C compiler supports C89 (global declarations)
2024ac_c_conftest_c89_globals='
2025/* Does the compiler advertise C89 conformance?
2026   Do not test the value of __STDC__, because some compilers set it to 0
2027   while being otherwise adequately conformant. */
2028#if !defined __STDC__
2029# error "Compiler does not advertise C89 conformance"
2030#endif
2031
2032#include <stddef.h>
2033#include <stdarg.h>
2034struct stat;
2035/* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2036struct buf { int x; };
2037struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2038static char *e (p, i)
2039     char **p;
2040     int i;
2041{
2042  return p[i];
2043}
2044static char *f (char * (*g) (char **, int), char **p, ...)
2045{
2046  char *s;
2047  va_list v;
2048  va_start (v,p);
2049  s = g (p, va_arg (v,int));
2050  va_end (v);
2051  return s;
2052}
2053
2054/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2055   function prototypes and stuff, but not \xHH hex character constants.
2056   These do not provoke an error unfortunately, instead are silently treated
2057   as an "x".  The following induces an error, until -std is added to get
2058   proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2059   array size at least.  It is necessary to write \x00 == 0 to get something
2060   that is true only with -std.  */
2061int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2062
2063/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2064   inside strings and character constants.  */
2065#define FOO(x) '\''x'\''
2066int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2067
2068int test (int i, double x);
2069struct s1 {int (*f) (int a);};
2070struct s2 {int (*f) (double a);};
2071int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2072               int, int);'
2073
2074# Test code for whether the C compiler supports C89 (body of main).
2075ac_c_conftest_c89_main='
2076ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2077'
2078
2079# Test code for whether the C compiler supports C99 (global declarations)
2080ac_c_conftest_c99_globals='
2081// Does the compiler advertise C99 conformance?
2082#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2083# error "Compiler does not advertise C99 conformance"
2084#endif
2085
2086#include <stdbool.h>
2087extern int puts (const char *);
2088extern int printf (const char *, ...);
2089extern int dprintf (int, const char *, ...);
2090extern void *malloc (size_t);
2091
2092// Check varargs macros.  These examples are taken from C99 6.10.3.5.
2093// dprintf is used instead of fprintf to avoid needing to declare
2094// FILE and stderr.
2095#define debug(...) dprintf (2, __VA_ARGS__)
2096#define showlist(...) puts (#__VA_ARGS__)
2097#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2098static void
2099test_varargs_macros (void)
2100{
2101  int x = 1234;
2102  int y = 5678;
2103  debug ("Flag");
2104  debug ("X = %d\n", x);
2105  showlist (The first, second, and third items.);
2106  report (x>y, "x is %d but y is %d", x, y);
2107}
2108
2109// Check long long types.
2110#define BIG64 18446744073709551615ull
2111#define BIG32 4294967295ul
2112#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2113#if !BIG_OK
2114  #error "your preprocessor is broken"
2115#endif
2116#if BIG_OK
2117#else
2118  #error "your preprocessor is broken"
2119#endif
2120static long long int bignum = -9223372036854775807LL;
2121static unsigned long long int ubignum = BIG64;
2122
2123struct incomplete_array
2124{
2125  int datasize;
2126  double data[];
2127};
2128
2129struct named_init {
2130  int number;
2131  const wchar_t *name;
2132  double average;
2133};
2134
2135typedef const char *ccp;
2136
2137static inline int
2138test_restrict (ccp restrict text)
2139{
2140  // See if C++-style comments work.
2141  // Iterate through items via the restricted pointer.
2142  // Also check for declarations in for loops.
2143  for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2144    continue;
2145  return 0;
2146}
2147
2148// Check varargs and va_copy.
2149static bool
2150test_varargs (const char *format, ...)
2151{
2152  va_list args;
2153  va_start (args, format);
2154  va_list args_copy;
2155  va_copy (args_copy, args);
2156
2157  const char *str = "";
2158  int number = 0;
2159  float fnumber = 0;
2160
2161  while (*format)
2162    {
2163      switch (*format++)
2164	{
2165	case '\''s'\'': // string
2166	  str = va_arg (args_copy, const char *);
2167	  break;
2168	case '\''d'\'': // int
2169	  number = va_arg (args_copy, int);
2170	  break;
2171	case '\''f'\'': // float
2172	  fnumber = va_arg (args_copy, double);
2173	  break;
2174	default:
2175	  break;
2176	}
2177    }
2178  va_end (args_copy);
2179  va_end (args);
2180
2181  return *str && number && fnumber;
2182}
2183'
2184
2185# Test code for whether the C compiler supports C99 (body of main).
2186ac_c_conftest_c99_main='
2187  // Check bool.
2188  _Bool success = false;
2189  success |= (argc != 0);
2190
2191  // Check restrict.
2192  if (test_restrict ("String literal") == 0)
2193    success = true;
2194  char *restrict newvar = "Another string";
2195
2196  // Check varargs.
2197  success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2198  test_varargs_macros ();
2199
2200  // Check flexible array members.
2201  struct incomplete_array *ia =
2202    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2203  ia->datasize = 10;
2204  for (int i = 0; i < ia->datasize; ++i)
2205    ia->data[i] = i * 1.234;
2206
2207  // Check named initializers.
2208  struct named_init ni = {
2209    .number = 34,
2210    .name = L"Test wide string",
2211    .average = 543.34343,
2212  };
2213
2214  ni.number = 58;
2215
2216  int dynamic_array[ni.number];
2217  dynamic_array[0] = argv[0][0];
2218  dynamic_array[ni.number - 1] = 543;
2219
2220  // work around unused variable warnings
2221  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2222	 || dynamic_array[ni.number - 1] != 543);
2223'
2224
2225# Test code for whether the C compiler supports C11 (global declarations)
2226ac_c_conftest_c11_globals='
2227// Does the compiler advertise C11 conformance?
2228#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2229# error "Compiler does not advertise C11 conformance"
2230#endif
2231
2232// Check _Alignas.
2233char _Alignas (double) aligned_as_double;
2234char _Alignas (0) no_special_alignment;
2235extern char aligned_as_int;
2236char _Alignas (0) _Alignas (int) aligned_as_int;
2237
2238// Check _Alignof.
2239enum
2240{
2241  int_alignment = _Alignof (int),
2242  int_array_alignment = _Alignof (int[100]),
2243  char_alignment = _Alignof (char)
2244};
2245_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2246
2247// Check _Noreturn.
2248int _Noreturn does_not_return (void) { for (;;) continue; }
2249
2250// Check _Static_assert.
2251struct test_static_assert
2252{
2253  int x;
2254  _Static_assert (sizeof (int) <= sizeof (long int),
2255                  "_Static_assert does not work in struct");
2256  long int y;
2257};
2258
2259// Check UTF-8 literals.
2260#define u8 syntax error!
2261char const utf8_literal[] = u8"happens to be ASCII" "another string";
2262
2263// Check duplicate typedefs.
2264typedef long *long_ptr;
2265typedef long int *long_ptr;
2266typedef long_ptr long_ptr;
2267
2268// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2269struct anonymous
2270{
2271  union {
2272    struct { int i; int j; };
2273    struct { int k; long int l; } w;
2274  };
2275  int m;
2276} v1;
2277'
2278
2279# Test code for whether the C compiler supports C11 (body of main).
2280ac_c_conftest_c11_main='
2281  _Static_assert ((offsetof (struct anonymous, i)
2282		   == offsetof (struct anonymous, w.k)),
2283		  "Anonymous union alignment botch");
2284  v1.i = 2;
2285  v1.w.k = 5;
2286  ok |= v1.i != 5;
2287'
2288
2289# Test code for whether the C compiler supports C11 (complete).
2290ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2291${ac_c_conftest_c99_globals}
2292${ac_c_conftest_c11_globals}
2293
2294int
2295main (int argc, char **argv)
2296{
2297  int ok = 0;
2298  ${ac_c_conftest_c89_main}
2299  ${ac_c_conftest_c99_main}
2300  ${ac_c_conftest_c11_main}
2301  return ok;
2302}
2303"
2304
2305# Test code for whether the C compiler supports C99 (complete).
2306ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2307${ac_c_conftest_c99_globals}
2308
2309int
2310main (int argc, char **argv)
2311{
2312  int ok = 0;
2313  ${ac_c_conftest_c89_main}
2314  ${ac_c_conftest_c99_main}
2315  return ok;
2316}
2317"
2318
2319# Test code for whether the C compiler supports C89 (complete).
2320ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2321
2322int
2323main (int argc, char **argv)
2324{
2325  int ok = 0;
2326  ${ac_c_conftest_c89_main}
2327  return ok;
2328}
2329"
2330
2331as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2332as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2333as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2334as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2335as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2336as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2337as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2338as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2339as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2340
2341# Auxiliary files required by this configure script.
2342ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh"
2343
2344# Locations in which to look for auxiliary files.
2345ac_aux_dir_candidates="${srcdir}/config"
2346
2347# Search for a directory containing all of the required auxiliary files,
2348# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2349# If we don't find one directory that contains all the files we need,
2350# we report the set of missing files from the *first* directory in
2351# $ac_aux_dir_candidates and give up.
2352ac_missing_aux_files=""
2353ac_first_candidate=:
2354printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356as_found=false
2357for as_dir in $ac_aux_dir_candidates
2358do
2359  IFS=$as_save_IFS
2360  case $as_dir in #(((
2361    '') as_dir=./ ;;
2362    */) ;;
2363    *) as_dir=$as_dir/ ;;
2364  esac
2365  as_found=:
2366
2367  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
2368  ac_aux_dir_found=yes
2369  ac_install_sh=
2370  for ac_aux in $ac_aux_files
2371  do
2372    # As a special case, if "install-sh" is required, that requirement
2373    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2374    # and $ac_install_sh is set appropriately for whichever one is found.
2375    if test x"$ac_aux" = x"install-sh"
2376    then
2377      if test -f "${as_dir}install-sh"; then
2378        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
2379        ac_install_sh="${as_dir}install-sh -c"
2380      elif 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}shtool"; then
2384        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
2385        ac_install_sh="${as_dir}shtool install -c"
2386      else
2387        ac_aux_dir_found=no
2388        if $ac_first_candidate; then
2389          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2390        else
2391          break
2392        fi
2393      fi
2394    else
2395      if test -f "${as_dir}${ac_aux}"; then
2396        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
2397      else
2398        ac_aux_dir_found=no
2399        if $ac_first_candidate; then
2400          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2401        else
2402          break
2403        fi
2404      fi
2405    fi
2406  done
2407  if test "$ac_aux_dir_found" = yes; then
2408    ac_aux_dir="$as_dir"
2409    break
2410  fi
2411  ac_first_candidate=false
2412
2413  as_found=false
2414done
2415IFS=$as_save_IFS
2416if $as_found
2417then :
2418
2419else $as_nop
2420  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2421fi
2422
2423
2424# These three variables are undocumented and unsupported,
2425# and are intended to be withdrawn in a future Autoconf release.
2426# They can cause serious problems if a builder's source tree is in a directory
2427# whose full name contains unusual characters.
2428if test -f "${ac_aux_dir}config.guess"; then
2429  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2430fi
2431if test -f "${ac_aux_dir}config.sub"; then
2432  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2433fi
2434if test -f "$ac_aux_dir/configure"; then
2435  ac_configure="$SHELL ${ac_aux_dir}configure"
2436fi
2437
2438# Check that the precious variables saved in the cache have kept the same
2439# value.
2440ac_cache_corrupted=false
2441for ac_var in $ac_precious_vars; do
2442  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2443  eval ac_new_set=\$ac_env_${ac_var}_set
2444  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2445  eval ac_new_val=\$ac_env_${ac_var}_value
2446  case $ac_old_set,$ac_new_set in
2447    set,)
2448      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2449printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2450      ac_cache_corrupted=: ;;
2451    ,set)
2452      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2453printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2454      ac_cache_corrupted=: ;;
2455    ,);;
2456    *)
2457      if test "x$ac_old_val" != "x$ac_new_val"; then
2458	# differences in whitespace do not lead to failure.
2459	ac_old_val_w=`echo x $ac_old_val`
2460	ac_new_val_w=`echo x $ac_new_val`
2461	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2462	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2463printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2464	  ac_cache_corrupted=:
2465	else
2466	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2467printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2468	  eval $ac_var=\$ac_old_val
2469	fi
2470	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2471printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
2472	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2473printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
2474      fi;;
2475  esac
2476  # Pass precious variables to config.status.
2477  if test "$ac_new_set" = set; then
2478    case $ac_new_val in
2479    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2480    *) ac_arg=$ac_var=$ac_new_val ;;
2481    esac
2482    case " $ac_configure_args " in
2483      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2484      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2485    esac
2486  fi
2487done
2488if $ac_cache_corrupted; then
2489  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2490printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2491  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2492printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2493  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2494	    and start over" "$LINENO" 5
2495fi
2496## -------------------- ##
2497## Main body of script. ##
2498## -------------------- ##
2499
2500ac_ext=c
2501ac_cpp='$CPP $CPPFLAGS'
2502ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2503ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2504ac_compiler_gnu=$ac_cv_c_compiler_gnu
2505
2506
2507
2508am__api_version='1.16'
2509
2510
2511
2512  # Find a good install program.  We prefer a C program (faster),
2513# so one script is as good as another.  But avoid the broken or
2514# incompatible versions:
2515# SysV /etc/install, /usr/sbin/install
2516# SunOS /usr/etc/install
2517# IRIX /sbin/install
2518# AIX /bin/install
2519# AmigaOS /C/install, which installs bootblocks on floppy discs
2520# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2521# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2522# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2523# OS/2's system install, which has a completely different semantic
2524# ./install, which can be erroneously created by make from ./install.sh.
2525# Reject install programs that cannot install multiple files.
2526{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2527printf %s "checking for a BSD-compatible install... " >&6; }
2528if test -z "$INSTALL"; then
2529if test ${ac_cv_path_install+y}
2530then :
2531  printf %s "(cached) " >&6
2532else $as_nop
2533  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534for as_dir in $PATH
2535do
2536  IFS=$as_save_IFS
2537  case $as_dir in #(((
2538    '') as_dir=./ ;;
2539    */) ;;
2540    *) as_dir=$as_dir/ ;;
2541  esac
2542    # Account for fact that we put trailing slashes in our PATH walk.
2543case $as_dir in #((
2544  ./ | /[cC]/* | \
2545  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2546  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2547  /usr/ucb/* ) ;;
2548  *)
2549    # OSF1 and SCO ODT 3.0 have their own names for install.
2550    # Don't use installbsd from OSF since it installs stuff as root
2551    # by default.
2552    for ac_prog in ginstall scoinst install; do
2553      for ac_exec_ext in '' $ac_executable_extensions; do
2554	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2555	  if test $ac_prog = install &&
2556	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2557	    # AIX install.  It has an incompatible calling convention.
2558	    :
2559	  elif test $ac_prog = install &&
2560	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2561	    # program-specific install script used by HP pwplus--don't use.
2562	    :
2563	  else
2564	    rm -rf conftest.one conftest.two conftest.dir
2565	    echo one > conftest.one
2566	    echo two > conftest.two
2567	    mkdir conftest.dir
2568	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2569	      test -s conftest.one && test -s conftest.two &&
2570	      test -s conftest.dir/conftest.one &&
2571	      test -s conftest.dir/conftest.two
2572	    then
2573	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2574	      break 3
2575	    fi
2576	  fi
2577	fi
2578      done
2579    done
2580    ;;
2581esac
2582
2583  done
2584IFS=$as_save_IFS
2585
2586rm -rf conftest.one conftest.two conftest.dir
2587
2588fi
2589  if test ${ac_cv_path_install+y}; then
2590    INSTALL=$ac_cv_path_install
2591  else
2592    # As a last resort, use the slow shell script.  Don't cache a
2593    # value for INSTALL within a source directory, because that will
2594    # break other packages using the cache if that directory is
2595    # removed, or if the value is a relative name.
2596    INSTALL=$ac_install_sh
2597  fi
2598fi
2599{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2600printf "%s\n" "$INSTALL" >&6; }
2601
2602# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2603# It thinks the first close brace ends the variable substitution.
2604test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2605
2606test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2607
2608test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2609
2610{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2611printf %s "checking whether build environment is sane... " >&6; }
2612# Reject unsafe characters in $srcdir or the absolute working directory
2613# name.  Accept space and tab only in the latter.
2614am_lf='
2615'
2616case `pwd` in
2617  *[\\\"\#\$\&\'\`$am_lf]*)
2618    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2619esac
2620case $srcdir in
2621  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2622    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2623esac
2624
2625# Do 'set' in a subshell so we don't clobber the current shell's
2626# arguments.  Must try -L first in case configure is actually a
2627# symlink; some systems play weird games with the mod time of symlinks
2628# (eg FreeBSD returns the mod time of the symlink's containing
2629# directory).
2630if (
2631   am_has_slept=no
2632   for am_try in 1 2; do
2633     echo "timestamp, slept: $am_has_slept" > conftest.file
2634     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2635     if test "$*" = "X"; then
2636	# -L didn't work.
2637	set X `ls -t "$srcdir/configure" conftest.file`
2638     fi
2639     if test "$*" != "X $srcdir/configure conftest.file" \
2640	&& test "$*" != "X conftest.file $srcdir/configure"; then
2641
2642	# If neither matched, then we have a broken ls.  This can happen
2643	# if, for instance, CONFIG_SHELL is bash and it inherits a
2644	# broken ls alias from the environment.  This has actually
2645	# happened.  Such a system could not be considered "sane".
2646	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2647  alias in your environment" "$LINENO" 5
2648     fi
2649     if test "$2" = conftest.file || test $am_try -eq 2; then
2650       break
2651     fi
2652     # Just in case.
2653     sleep 1
2654     am_has_slept=yes
2655   done
2656   test "$2" = conftest.file
2657   )
2658then
2659   # Ok.
2660   :
2661else
2662   as_fn_error $? "newly created file is older than distributed files!
2663Check your system clock" "$LINENO" 5
2664fi
2665{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2666printf "%s\n" "yes" >&6; }
2667# If we didn't sleep, we still need to ensure time stamps of config.status and
2668# generated files are strictly newer.
2669am_sleep_pid=
2670if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2671  ( sleep 1 ) &
2672  am_sleep_pid=$!
2673fi
2674
2675rm -f conftest.file
2676
2677test "$program_prefix" != NONE &&
2678  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2679# Use a double $ so make ignores it.
2680test "$program_suffix" != NONE &&
2681  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2682# Double any \ or $.
2683# By default was `s,x,x', remove it if useless.
2684ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2685program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2686
2687
2688# Expand $ac_aux_dir to an absolute path.
2689am_aux_dir=`cd "$ac_aux_dir" && pwd`
2690
2691
2692  if test x"${MISSING+set}" != xset; then
2693  MISSING="\${SHELL} '$am_aux_dir/missing'"
2694fi
2695# Use eval to expand $SHELL
2696if eval "$MISSING --is-lightweight"; then
2697  am_missing_run="$MISSING "
2698else
2699  am_missing_run=
2700  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2701printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2702fi
2703
2704if test x"${install_sh+set}" != xset; then
2705  case $am_aux_dir in
2706  *\ * | *\	*)
2707    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2708  *)
2709    install_sh="\${SHELL} $am_aux_dir/install-sh"
2710  esac
2711fi
2712
2713# Installed binaries are usually stripped using 'strip' when the user
2714# run "make install-strip".  However 'strip' might not be the right
2715# tool to use in cross-compilation environments, therefore Automake
2716# will honor the 'STRIP' environment variable to overrule this program.
2717if test "$cross_compiling" != no; then
2718  if test -n "$ac_tool_prefix"; then
2719  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2720set dummy ${ac_tool_prefix}strip; ac_word=$2
2721{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722printf %s "checking for $ac_word... " >&6; }
2723if test ${ac_cv_prog_STRIP+y}
2724then :
2725  printf %s "(cached) " >&6
2726else $as_nop
2727  if test -n "$STRIP"; then
2728  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2729else
2730as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731for as_dir in $PATH
2732do
2733  IFS=$as_save_IFS
2734  case $as_dir in #(((
2735    '') as_dir=./ ;;
2736    */) ;;
2737    *) as_dir=$as_dir/ ;;
2738  esac
2739    for ac_exec_ext in '' $ac_executable_extensions; do
2740  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2741    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2742    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2743    break 2
2744  fi
2745done
2746  done
2747IFS=$as_save_IFS
2748
2749fi
2750fi
2751STRIP=$ac_cv_prog_STRIP
2752if test -n "$STRIP"; then
2753  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2754printf "%s\n" "$STRIP" >&6; }
2755else
2756  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2757printf "%s\n" "no" >&6; }
2758fi
2759
2760
2761fi
2762if test -z "$ac_cv_prog_STRIP"; then
2763  ac_ct_STRIP=$STRIP
2764  # Extract the first word of "strip", so it can be a program name with args.
2765set dummy strip; ac_word=$2
2766{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2767printf %s "checking for $ac_word... " >&6; }
2768if test ${ac_cv_prog_ac_ct_STRIP+y}
2769then :
2770  printf %s "(cached) " >&6
2771else $as_nop
2772  if test -n "$ac_ct_STRIP"; then
2773  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2774else
2775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2776for as_dir in $PATH
2777do
2778  IFS=$as_save_IFS
2779  case $as_dir in #(((
2780    '') as_dir=./ ;;
2781    */) ;;
2782    *) as_dir=$as_dir/ ;;
2783  esac
2784    for ac_exec_ext in '' $ac_executable_extensions; do
2785  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2786    ac_cv_prog_ac_ct_STRIP="strip"
2787    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2788    break 2
2789  fi
2790done
2791  done
2792IFS=$as_save_IFS
2793
2794fi
2795fi
2796ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2797if test -n "$ac_ct_STRIP"; then
2798  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2799printf "%s\n" "$ac_ct_STRIP" >&6; }
2800else
2801  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2802printf "%s\n" "no" >&6; }
2803fi
2804
2805  if test "x$ac_ct_STRIP" = x; then
2806    STRIP=":"
2807  else
2808    case $cross_compiling:$ac_tool_warned in
2809yes:)
2810{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2811printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2812ac_tool_warned=yes ;;
2813esac
2814    STRIP=$ac_ct_STRIP
2815  fi
2816else
2817  STRIP="$ac_cv_prog_STRIP"
2818fi
2819
2820fi
2821INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2822
2823
2824  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2825printf %s "checking for a race-free mkdir -p... " >&6; }
2826if test -z "$MKDIR_P"; then
2827  if test ${ac_cv_path_mkdir+y}
2828then :
2829  printf %s "(cached) " >&6
2830else $as_nop
2831  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2833do
2834  IFS=$as_save_IFS
2835  case $as_dir in #(((
2836    '') as_dir=./ ;;
2837    */) ;;
2838    *) as_dir=$as_dir/ ;;
2839  esac
2840    for ac_prog in mkdir gmkdir; do
2841	 for ac_exec_ext in '' $ac_executable_extensions; do
2842	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2843	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2844	     'mkdir ('*'coreutils) '* | \
2845	     'BusyBox '* | \
2846	     'mkdir (fileutils) '4.1*)
2847	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2848	       break 3;;
2849	   esac
2850	 done
2851       done
2852  done
2853IFS=$as_save_IFS
2854
2855fi
2856
2857  test -d ./--version && rmdir ./--version
2858  if test ${ac_cv_path_mkdir+y}; then
2859    MKDIR_P="$ac_cv_path_mkdir -p"
2860  else
2861    # As a last resort, use the slow shell script.  Don't cache a
2862    # value for MKDIR_P within a source directory, because that will
2863    # break other packages using the cache if that directory is
2864    # removed, or if the value is a relative name.
2865    MKDIR_P="$ac_install_sh -d"
2866  fi
2867fi
2868{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2869printf "%s\n" "$MKDIR_P" >&6; }
2870
2871for ac_prog in gawk mawk nawk awk
2872do
2873  # Extract the first word of "$ac_prog", so it can be a program name with args.
2874set dummy $ac_prog; ac_word=$2
2875{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2876printf %s "checking for $ac_word... " >&6; }
2877if test ${ac_cv_prog_AWK+y}
2878then :
2879  printf %s "(cached) " >&6
2880else $as_nop
2881  if test -n "$AWK"; then
2882  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2883else
2884as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885for as_dir in $PATH
2886do
2887  IFS=$as_save_IFS
2888  case $as_dir in #(((
2889    '') as_dir=./ ;;
2890    */) ;;
2891    *) as_dir=$as_dir/ ;;
2892  esac
2893    for ac_exec_ext in '' $ac_executable_extensions; do
2894  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2895    ac_cv_prog_AWK="$ac_prog"
2896    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2897    break 2
2898  fi
2899done
2900  done
2901IFS=$as_save_IFS
2902
2903fi
2904fi
2905AWK=$ac_cv_prog_AWK
2906if test -n "$AWK"; then
2907  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2908printf "%s\n" "$AWK" >&6; }
2909else
2910  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911printf "%s\n" "no" >&6; }
2912fi
2913
2914
2915  test -n "$AWK" && break
2916done
2917
2918{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2919printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2920set x ${MAKE-make}
2921ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2922if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2923then :
2924  printf %s "(cached) " >&6
2925else $as_nop
2926  cat >conftest.make <<\_ACEOF
2927SHELL = /bin/sh
2928all:
2929	@echo '@@@%%%=$(MAKE)=@@@%%%'
2930_ACEOF
2931# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2932case `${MAKE-make} -f conftest.make 2>/dev/null` in
2933  *@@@%%%=?*=@@@%%%*)
2934    eval ac_cv_prog_make_${ac_make}_set=yes;;
2935  *)
2936    eval ac_cv_prog_make_${ac_make}_set=no;;
2937esac
2938rm -f conftest.make
2939fi
2940if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2941  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2942printf "%s\n" "yes" >&6; }
2943  SET_MAKE=
2944else
2945  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946printf "%s\n" "no" >&6; }
2947  SET_MAKE="MAKE=${MAKE-make}"
2948fi
2949
2950rm -rf .tst 2>/dev/null
2951mkdir .tst 2>/dev/null
2952if test -d .tst; then
2953  am__leading_dot=.
2954else
2955  am__leading_dot=_
2956fi
2957rmdir .tst 2>/dev/null
2958
2959# Check whether --enable-silent-rules was given.
2960if test ${enable_silent_rules+y}
2961then :
2962  enableval=$enable_silent_rules;
2963fi
2964
2965case $enable_silent_rules in # (((
2966  yes) AM_DEFAULT_VERBOSITY=0;;
2967   no) AM_DEFAULT_VERBOSITY=1;;
2968    *) AM_DEFAULT_VERBOSITY=1;;
2969esac
2970am_make=${MAKE-make}
2971{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2972printf %s "checking whether $am_make supports nested variables... " >&6; }
2973if test ${am_cv_make_support_nested_variables+y}
2974then :
2975  printf %s "(cached) " >&6
2976else $as_nop
2977  if printf "%s\n" 'TRUE=$(BAR$(V))
2978BAR0=false
2979BAR1=true
2980V=1
2981am__doit:
2982	@$(TRUE)
2983.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2984  am_cv_make_support_nested_variables=yes
2985else
2986  am_cv_make_support_nested_variables=no
2987fi
2988fi
2989{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2990printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2991if test $am_cv_make_support_nested_variables = yes; then
2992    AM_V='$(V)'
2993  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2994else
2995  AM_V=$AM_DEFAULT_VERBOSITY
2996  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2997fi
2998AM_BACKSLASH='\'
2999
3000if test "`cd $srcdir && pwd`" != "`pwd`"; then
3001  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3002  # is not polluted with repeated "-I."
3003  am__isrc=' -I$(srcdir)'
3004  # test to see if srcdir already configured
3005  if test -f $srcdir/config.status; then
3006    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3007  fi
3008fi
3009
3010# test whether we have cygpath
3011if test -z "$CYGPATH_W"; then
3012  if (cygpath --version) >/dev/null 2>/dev/null; then
3013    CYGPATH_W='cygpath -w'
3014  else
3015    CYGPATH_W=echo
3016  fi
3017fi
3018
3019
3020# Define the identity of the package.
3021 PACKAGE='libg15render'
3022 VERSION='3.0'
3023
3024
3025printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3026
3027
3028printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3029
3030# Some tools Automake needs.
3031
3032ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3033
3034
3035AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3036
3037
3038AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3039
3040
3041AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3042
3043
3044MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3045
3046# For better backward compatibility.  To be removed once Automake 1.9.x
3047# dies out for good.  For more background, see:
3048# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3049# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3050mkdir_p='$(MKDIR_P)'
3051
3052# We need awk for the "check" target (and possibly the TAP driver).  The
3053# system "awk" is bad on some platforms.
3054# Always define AMTAR for backward compatibility.  Yes, it's still used
3055# in the wild :-(  We should find a proper way to deprecate it ...
3056AMTAR='$${TAR-tar}'
3057
3058
3059# We'll loop over all known methods to create a tar archive until one works.
3060_am_tools='gnutar  pax cpio none'
3061
3062am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3063
3064
3065
3066
3067
3068
3069# POSIX will say in a future version that running "rm -f" with no argument
3070# is OK; and we want to be able to make that assumption in our Makefile
3071# recipes.  So use an aggressive probe to check that the usage we want is
3072# actually supported "in the wild" to an acceptable degree.
3073# See automake bug#10828.
3074# To make any issue more visible, cause the running configure to be aborted
3075# by default if the 'rm' program in use doesn't match our expectations; the
3076# user can still override this though.
3077if rm -f && rm -fr && rm -rf; then : OK; else
3078  cat >&2 <<'END'
3079Oops!
3080
3081Your 'rm' program seems unable to run without file operands specified
3082on the command line, even when the '-f' option is present.  This is contrary
3083to the behaviour of most rm programs out there, and not conforming with
3084the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3085
3086Please tell bug-automake@gnu.org about your system, including the value
3087of your $PATH and any error possibly output before this message.  This
3088can help us improve future automake versions.
3089
3090END
3091  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3092    echo 'Configuration will proceed anyway, since you have set the' >&2
3093    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3094    echo >&2
3095  else
3096    cat >&2 <<'END'
3097Aborting the configuration process, to ensure you take notice of the issue.
3098
3099You can download and install GNU coreutils to get an 'rm' implementation
3100that behaves properly: <https://www.gnu.org/software/coreutils/>.
3101
3102If you want to complete the configuration process using your problematic
3103'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3104to "yes", and re-run configure.
3105
3106END
3107    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3108  fi
3109fi
3110
3111
3112ac_config_headers="$ac_config_headers config.h"
3113
3114
3115
3116# Checks for programs.
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126ac_ext=c
3127ac_cpp='$CPP $CPPFLAGS'
3128ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3129ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3130ac_compiler_gnu=$ac_cv_c_compiler_gnu
3131if test -n "$ac_tool_prefix"; then
3132  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3133set dummy ${ac_tool_prefix}gcc; ac_word=$2
3134{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135printf %s "checking for $ac_word... " >&6; }
3136if test ${ac_cv_prog_CC+y}
3137then :
3138  printf %s "(cached) " >&6
3139else $as_nop
3140  if test -n "$CC"; then
3141  ac_cv_prog_CC="$CC" # Let the user override the test.
3142else
3143as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144for as_dir in $PATH
3145do
3146  IFS=$as_save_IFS
3147  case $as_dir in #(((
3148    '') as_dir=./ ;;
3149    */) ;;
3150    *) as_dir=$as_dir/ ;;
3151  esac
3152    for ac_exec_ext in '' $ac_executable_extensions; do
3153  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3154    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3155    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3156    break 2
3157  fi
3158done
3159  done
3160IFS=$as_save_IFS
3161
3162fi
3163fi
3164CC=$ac_cv_prog_CC
3165if test -n "$CC"; then
3166  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3167printf "%s\n" "$CC" >&6; }
3168else
3169  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170printf "%s\n" "no" >&6; }
3171fi
3172
3173
3174fi
3175if test -z "$ac_cv_prog_CC"; then
3176  ac_ct_CC=$CC
3177  # Extract the first word of "gcc", so it can be a program name with args.
3178set dummy gcc; ac_word=$2
3179{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3180printf %s "checking for $ac_word... " >&6; }
3181if test ${ac_cv_prog_ac_ct_CC+y}
3182then :
3183  printf %s "(cached) " >&6
3184else $as_nop
3185  if test -n "$ac_ct_CC"; then
3186  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3187else
3188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189for as_dir in $PATH
3190do
3191  IFS=$as_save_IFS
3192  case $as_dir in #(((
3193    '') as_dir=./ ;;
3194    */) ;;
3195    *) as_dir=$as_dir/ ;;
3196  esac
3197    for ac_exec_ext in '' $ac_executable_extensions; do
3198  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3199    ac_cv_prog_ac_ct_CC="gcc"
3200    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3201    break 2
3202  fi
3203done
3204  done
3205IFS=$as_save_IFS
3206
3207fi
3208fi
3209ac_ct_CC=$ac_cv_prog_ac_ct_CC
3210if test -n "$ac_ct_CC"; then
3211  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3212printf "%s\n" "$ac_ct_CC" >&6; }
3213else
3214  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215printf "%s\n" "no" >&6; }
3216fi
3217
3218  if test "x$ac_ct_CC" = x; then
3219    CC=""
3220  else
3221    case $cross_compiling:$ac_tool_warned in
3222yes:)
3223{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3224printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3225ac_tool_warned=yes ;;
3226esac
3227    CC=$ac_ct_CC
3228  fi
3229else
3230  CC="$ac_cv_prog_CC"
3231fi
3232
3233if test -z "$CC"; then
3234          if test -n "$ac_tool_prefix"; then
3235    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3236set dummy ${ac_tool_prefix}cc; ac_word=$2
3237{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3238printf %s "checking for $ac_word... " >&6; }
3239if test ${ac_cv_prog_CC+y}
3240then :
3241  printf %s "(cached) " >&6
3242else $as_nop
3243  if test -n "$CC"; then
3244  ac_cv_prog_CC="$CC" # Let the user override the test.
3245else
3246as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3247for as_dir in $PATH
3248do
3249  IFS=$as_save_IFS
3250  case $as_dir in #(((
3251    '') as_dir=./ ;;
3252    */) ;;
3253    *) as_dir=$as_dir/ ;;
3254  esac
3255    for ac_exec_ext in '' $ac_executable_extensions; do
3256  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3257    ac_cv_prog_CC="${ac_tool_prefix}cc"
3258    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3259    break 2
3260  fi
3261done
3262  done
3263IFS=$as_save_IFS
3264
3265fi
3266fi
3267CC=$ac_cv_prog_CC
3268if test -n "$CC"; then
3269  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3270printf "%s\n" "$CC" >&6; }
3271else
3272  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3273printf "%s\n" "no" >&6; }
3274fi
3275
3276
3277  fi
3278fi
3279if test -z "$CC"; then
3280  # Extract the first word of "cc", so it can be a program name with args.
3281set dummy cc; ac_word=$2
3282{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3283printf %s "checking for $ac_word... " >&6; }
3284if test ${ac_cv_prog_CC+y}
3285then :
3286  printf %s "(cached) " >&6
3287else $as_nop
3288  if test -n "$CC"; then
3289  ac_cv_prog_CC="$CC" # Let the user override the test.
3290else
3291  ac_prog_rejected=no
3292as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293for as_dir in $PATH
3294do
3295  IFS=$as_save_IFS
3296  case $as_dir in #(((
3297    '') as_dir=./ ;;
3298    */) ;;
3299    *) as_dir=$as_dir/ ;;
3300  esac
3301    for ac_exec_ext in '' $ac_executable_extensions; do
3302  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3303    if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3304       ac_prog_rejected=yes
3305       continue
3306     fi
3307    ac_cv_prog_CC="cc"
3308    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3309    break 2
3310  fi
3311done
3312  done
3313IFS=$as_save_IFS
3314
3315if test $ac_prog_rejected = yes; then
3316  # We found a bogon in the path, so make sure we never use it.
3317  set dummy $ac_cv_prog_CC
3318  shift
3319  if test $# != 0; then
3320    # We chose a different compiler from the bogus one.
3321    # However, it has the same basename, so the bogon will be chosen
3322    # first if we set CC to just the basename; use the full file name.
3323    shift
3324    ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3325  fi
3326fi
3327fi
3328fi
3329CC=$ac_cv_prog_CC
3330if test -n "$CC"; then
3331  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3332printf "%s\n" "$CC" >&6; }
3333else
3334  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3335printf "%s\n" "no" >&6; }
3336fi
3337
3338
3339fi
3340if test -z "$CC"; then
3341  if test -n "$ac_tool_prefix"; then
3342  for ac_prog in cl.exe
3343  do
3344    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3345set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3346{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347printf %s "checking for $ac_word... " >&6; }
3348if test ${ac_cv_prog_CC+y}
3349then :
3350  printf %s "(cached) " >&6
3351else $as_nop
3352  if test -n "$CC"; then
3353  ac_cv_prog_CC="$CC" # Let the user override the test.
3354else
3355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3356for as_dir in $PATH
3357do
3358  IFS=$as_save_IFS
3359  case $as_dir in #(((
3360    '') as_dir=./ ;;
3361    */) ;;
3362    *) as_dir=$as_dir/ ;;
3363  esac
3364    for ac_exec_ext in '' $ac_executable_extensions; do
3365  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3366    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3367    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3368    break 2
3369  fi
3370done
3371  done
3372IFS=$as_save_IFS
3373
3374fi
3375fi
3376CC=$ac_cv_prog_CC
3377if test -n "$CC"; then
3378  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3379printf "%s\n" "$CC" >&6; }
3380else
3381  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3382printf "%s\n" "no" >&6; }
3383fi
3384
3385
3386    test -n "$CC" && break
3387  done
3388fi
3389if test -z "$CC"; then
3390  ac_ct_CC=$CC
3391  for ac_prog in cl.exe
3392do
3393  # Extract the first word of "$ac_prog", so it can be a program name with args.
3394set dummy $ac_prog; ac_word=$2
3395{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396printf %s "checking for $ac_word... " >&6; }
3397if test ${ac_cv_prog_ac_ct_CC+y}
3398then :
3399  printf %s "(cached) " >&6
3400else $as_nop
3401  if test -n "$ac_ct_CC"; then
3402  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3403else
3404as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405for as_dir in $PATH
3406do
3407  IFS=$as_save_IFS
3408  case $as_dir in #(((
3409    '') as_dir=./ ;;
3410    */) ;;
3411    *) as_dir=$as_dir/ ;;
3412  esac
3413    for ac_exec_ext in '' $ac_executable_extensions; do
3414  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3415    ac_cv_prog_ac_ct_CC="$ac_prog"
3416    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3417    break 2
3418  fi
3419done
3420  done
3421IFS=$as_save_IFS
3422
3423fi
3424fi
3425ac_ct_CC=$ac_cv_prog_ac_ct_CC
3426if test -n "$ac_ct_CC"; then
3427  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3428printf "%s\n" "$ac_ct_CC" >&6; }
3429else
3430  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431printf "%s\n" "no" >&6; }
3432fi
3433
3434
3435  test -n "$ac_ct_CC" && break
3436done
3437
3438  if test "x$ac_ct_CC" = x; then
3439    CC=""
3440  else
3441    case $cross_compiling:$ac_tool_warned in
3442yes:)
3443{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3444printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3445ac_tool_warned=yes ;;
3446esac
3447    CC=$ac_ct_CC
3448  fi
3449fi
3450
3451fi
3452if test -z "$CC"; then
3453  if test -n "$ac_tool_prefix"; then
3454  # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3455set dummy ${ac_tool_prefix}clang; ac_word=$2
3456{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3457printf %s "checking for $ac_word... " >&6; }
3458if test ${ac_cv_prog_CC+y}
3459then :
3460  printf %s "(cached) " >&6
3461else $as_nop
3462  if test -n "$CC"; then
3463  ac_cv_prog_CC="$CC" # Let the user override the test.
3464else
3465as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466for as_dir in $PATH
3467do
3468  IFS=$as_save_IFS
3469  case $as_dir in #(((
3470    '') as_dir=./ ;;
3471    */) ;;
3472    *) as_dir=$as_dir/ ;;
3473  esac
3474    for ac_exec_ext in '' $ac_executable_extensions; do
3475  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3476    ac_cv_prog_CC="${ac_tool_prefix}clang"
3477    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3478    break 2
3479  fi
3480done
3481  done
3482IFS=$as_save_IFS
3483
3484fi
3485fi
3486CC=$ac_cv_prog_CC
3487if test -n "$CC"; then
3488  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3489printf "%s\n" "$CC" >&6; }
3490else
3491  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3492printf "%s\n" "no" >&6; }
3493fi
3494
3495
3496fi
3497if test -z "$ac_cv_prog_CC"; then
3498  ac_ct_CC=$CC
3499  # Extract the first word of "clang", so it can be a program name with args.
3500set dummy clang; ac_word=$2
3501{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3502printf %s "checking for $ac_word... " >&6; }
3503if test ${ac_cv_prog_ac_ct_CC+y}
3504then :
3505  printf %s "(cached) " >&6
3506else $as_nop
3507  if test -n "$ac_ct_CC"; then
3508  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3509else
3510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3511for as_dir in $PATH
3512do
3513  IFS=$as_save_IFS
3514  case $as_dir in #(((
3515    '') as_dir=./ ;;
3516    */) ;;
3517    *) as_dir=$as_dir/ ;;
3518  esac
3519    for ac_exec_ext in '' $ac_executable_extensions; do
3520  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3521    ac_cv_prog_ac_ct_CC="clang"
3522    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3523    break 2
3524  fi
3525done
3526  done
3527IFS=$as_save_IFS
3528
3529fi
3530fi
3531ac_ct_CC=$ac_cv_prog_ac_ct_CC
3532if test -n "$ac_ct_CC"; then
3533  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3534printf "%s\n" "$ac_ct_CC" >&6; }
3535else
3536  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3537printf "%s\n" "no" >&6; }
3538fi
3539
3540  if test "x$ac_ct_CC" = x; then
3541    CC=""
3542  else
3543    case $cross_compiling:$ac_tool_warned in
3544yes:)
3545{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3546printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3547ac_tool_warned=yes ;;
3548esac
3549    CC=$ac_ct_CC
3550  fi
3551else
3552  CC="$ac_cv_prog_CC"
3553fi
3554
3555fi
3556
3557
3558test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3559printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3560as_fn_error $? "no acceptable C compiler found in \$PATH
3561See \`config.log' for more details" "$LINENO" 5; }
3562
3563# Provide some information about the compiler.
3564printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3565set X $ac_compile
3566ac_compiler=$2
3567for ac_option in --version -v -V -qversion -version; do
3568  { { ac_try="$ac_compiler $ac_option >&5"
3569case "(($ac_try" in
3570  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571  *) ac_try_echo=$ac_try;;
3572esac
3573eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3574printf "%s\n" "$ac_try_echo"; } >&5
3575  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3576  ac_status=$?
3577  if test -s conftest.err; then
3578    sed '10a\
3579... rest of stderr output deleted ...
3580         10q' conftest.err >conftest.er1
3581    cat conftest.er1 >&5
3582  fi
3583  rm -f conftest.er1 conftest.err
3584  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3585  test $ac_status = 0; }
3586done
3587
3588cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589/* end confdefs.h.  */
3590
3591int
3592main (void)
3593{
3594
3595  ;
3596  return 0;
3597}
3598_ACEOF
3599ac_clean_files_save=$ac_clean_files
3600ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3601# Try to create an executable without -o first, disregard a.out.
3602# It will help us diagnose broken compilers, and finding out an intuition
3603# of exeext.
3604{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3605printf %s "checking whether the C compiler works... " >&6; }
3606ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3607
3608# The possible output files:
3609ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3610
3611ac_rmfiles=
3612for ac_file in $ac_files
3613do
3614  case $ac_file in
3615    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3616    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3617  esac
3618done
3619rm -f $ac_rmfiles
3620
3621if { { ac_try="$ac_link_default"
3622case "(($ac_try" in
3623  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624  *) ac_try_echo=$ac_try;;
3625esac
3626eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3627printf "%s\n" "$ac_try_echo"; } >&5
3628  (eval "$ac_link_default") 2>&5
3629  ac_status=$?
3630  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3631  test $ac_status = 0; }
3632then :
3633  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3634# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3635# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3636# so that the user can short-circuit this test for compilers unknown to
3637# Autoconf.
3638for ac_file in $ac_files ''
3639do
3640  test -f "$ac_file" || continue
3641  case $ac_file in
3642    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3643	;;
3644    [ab].out )
3645	# We found the default executable, but exeext='' is most
3646	# certainly right.
3647	break;;
3648    *.* )
3649	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3650	then :; else
3651	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3652	fi
3653	# We set ac_cv_exeext here because the later test for it is not
3654	# safe: cross compilers may not add the suffix if given an `-o'
3655	# argument, so we may need to know it at that point already.
3656	# Even if this section looks crufty: it has the advantage of
3657	# actually working.
3658	break;;
3659    * )
3660	break;;
3661  esac
3662done
3663test "$ac_cv_exeext" = no && ac_cv_exeext=
3664
3665else $as_nop
3666  ac_file=''
3667fi
3668if test -z "$ac_file"
3669then :
3670  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671printf "%s\n" "no" >&6; }
3672printf "%s\n" "$as_me: failed program was:" >&5
3673sed 's/^/| /' conftest.$ac_ext >&5
3674
3675{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3676printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3677as_fn_error 77 "C compiler cannot create executables
3678See \`config.log' for more details" "$LINENO" 5; }
3679else $as_nop
3680  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3681printf "%s\n" "yes" >&6; }
3682fi
3683{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3684printf %s "checking for C compiler default output file name... " >&6; }
3685{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3686printf "%s\n" "$ac_file" >&6; }
3687ac_exeext=$ac_cv_exeext
3688
3689rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3690ac_clean_files=$ac_clean_files_save
3691{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3692printf %s "checking for suffix of executables... " >&6; }
3693if { { ac_try="$ac_link"
3694case "(($ac_try" in
3695  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3696  *) ac_try_echo=$ac_try;;
3697esac
3698eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3699printf "%s\n" "$ac_try_echo"; } >&5
3700  (eval "$ac_link") 2>&5
3701  ac_status=$?
3702  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3703  test $ac_status = 0; }
3704then :
3705  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3706# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3707# work properly (i.e., refer to `conftest.exe'), while it won't with
3708# `rm'.
3709for ac_file in conftest.exe conftest conftest.*; do
3710  test -f "$ac_file" || continue
3711  case $ac_file in
3712    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3713    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3714	  break;;
3715    * ) break;;
3716  esac
3717done
3718else $as_nop
3719  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3720printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3721as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3722See \`config.log' for more details" "$LINENO" 5; }
3723fi
3724rm -f conftest conftest$ac_cv_exeext
3725{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3726printf "%s\n" "$ac_cv_exeext" >&6; }
3727
3728rm -f conftest.$ac_ext
3729EXEEXT=$ac_cv_exeext
3730ac_exeext=$EXEEXT
3731cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3732/* end confdefs.h.  */
3733#include <stdio.h>
3734int
3735main (void)
3736{
3737FILE *f = fopen ("conftest.out", "w");
3738 return ferror (f) || fclose (f) != 0;
3739
3740  ;
3741  return 0;
3742}
3743_ACEOF
3744ac_clean_files="$ac_clean_files conftest.out"
3745# Check that the compiler produces executables we can run.  If not, either
3746# the compiler is broken, or we cross compile.
3747{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3748printf %s "checking whether we are cross compiling... " >&6; }
3749if test "$cross_compiling" != yes; then
3750  { { ac_try="$ac_link"
3751case "(($ac_try" in
3752  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3753  *) ac_try_echo=$ac_try;;
3754esac
3755eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3756printf "%s\n" "$ac_try_echo"; } >&5
3757  (eval "$ac_link") 2>&5
3758  ac_status=$?
3759  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3760  test $ac_status = 0; }
3761  if { ac_try='./conftest$ac_cv_exeext'
3762  { { case "(($ac_try" in
3763  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3764  *) ac_try_echo=$ac_try;;
3765esac
3766eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3767printf "%s\n" "$ac_try_echo"; } >&5
3768  (eval "$ac_try") 2>&5
3769  ac_status=$?
3770  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3771  test $ac_status = 0; }; }; then
3772    cross_compiling=no
3773  else
3774    if test "$cross_compiling" = maybe; then
3775	cross_compiling=yes
3776    else
3777	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3778printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3779as_fn_error 77 "cannot run C compiled programs.
3780If you meant to cross compile, use \`--host'.
3781See \`config.log' for more details" "$LINENO" 5; }
3782    fi
3783  fi
3784fi
3785{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3786printf "%s\n" "$cross_compiling" >&6; }
3787
3788rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3789ac_clean_files=$ac_clean_files_save
3790{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3791printf %s "checking for suffix of object files... " >&6; }
3792if test ${ac_cv_objext+y}
3793then :
3794  printf %s "(cached) " >&6
3795else $as_nop
3796  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797/* end confdefs.h.  */
3798
3799int
3800main (void)
3801{
3802
3803  ;
3804  return 0;
3805}
3806_ACEOF
3807rm -f conftest.o conftest.obj
3808if { { ac_try="$ac_compile"
3809case "(($ac_try" in
3810  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3811  *) ac_try_echo=$ac_try;;
3812esac
3813eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3814printf "%s\n" "$ac_try_echo"; } >&5
3815  (eval "$ac_compile") 2>&5
3816  ac_status=$?
3817  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3818  test $ac_status = 0; }
3819then :
3820  for ac_file in conftest.o conftest.obj conftest.*; do
3821  test -f "$ac_file" || continue;
3822  case $ac_file in
3823    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3824    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3825       break;;
3826  esac
3827done
3828else $as_nop
3829  printf "%s\n" "$as_me: failed program was:" >&5
3830sed 's/^/| /' conftest.$ac_ext >&5
3831
3832{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3833printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3834as_fn_error $? "cannot compute suffix of object files: cannot compile
3835See \`config.log' for more details" "$LINENO" 5; }
3836fi
3837rm -f conftest.$ac_cv_objext conftest.$ac_ext
3838fi
3839{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3840printf "%s\n" "$ac_cv_objext" >&6; }
3841OBJEXT=$ac_cv_objext
3842ac_objext=$OBJEXT
3843{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3844printf %s "checking whether the compiler supports GNU C... " >&6; }
3845if test ${ac_cv_c_compiler_gnu+y}
3846then :
3847  printf %s "(cached) " >&6
3848else $as_nop
3849  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3850/* end confdefs.h.  */
3851
3852int
3853main (void)
3854{
3855#ifndef __GNUC__
3856       choke me
3857#endif
3858
3859  ;
3860  return 0;
3861}
3862_ACEOF
3863if ac_fn_c_try_compile "$LINENO"
3864then :
3865  ac_compiler_gnu=yes
3866else $as_nop
3867  ac_compiler_gnu=no
3868fi
3869rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3870ac_cv_c_compiler_gnu=$ac_compiler_gnu
3871
3872fi
3873{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3874printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3875ac_compiler_gnu=$ac_cv_c_compiler_gnu
3876
3877if test $ac_compiler_gnu = yes; then
3878  GCC=yes
3879else
3880  GCC=
3881fi
3882ac_test_CFLAGS=${CFLAGS+y}
3883ac_save_CFLAGS=$CFLAGS
3884{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3885printf %s "checking whether $CC accepts -g... " >&6; }
3886if test ${ac_cv_prog_cc_g+y}
3887then :
3888  printf %s "(cached) " >&6
3889else $as_nop
3890  ac_save_c_werror_flag=$ac_c_werror_flag
3891   ac_c_werror_flag=yes
3892   ac_cv_prog_cc_g=no
3893   CFLAGS="-g"
3894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895/* end confdefs.h.  */
3896
3897int
3898main (void)
3899{
3900
3901  ;
3902  return 0;
3903}
3904_ACEOF
3905if ac_fn_c_try_compile "$LINENO"
3906then :
3907  ac_cv_prog_cc_g=yes
3908else $as_nop
3909  CFLAGS=""
3910      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911/* end confdefs.h.  */
3912
3913int
3914main (void)
3915{
3916
3917  ;
3918  return 0;
3919}
3920_ACEOF
3921if ac_fn_c_try_compile "$LINENO"
3922then :
3923
3924else $as_nop
3925  ac_c_werror_flag=$ac_save_c_werror_flag
3926	 CFLAGS="-g"
3927	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928/* end confdefs.h.  */
3929
3930int
3931main (void)
3932{
3933
3934  ;
3935  return 0;
3936}
3937_ACEOF
3938if ac_fn_c_try_compile "$LINENO"
3939then :
3940  ac_cv_prog_cc_g=yes
3941fi
3942rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3943fi
3944rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3945fi
3946rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3947   ac_c_werror_flag=$ac_save_c_werror_flag
3948fi
3949{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3950printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3951if test $ac_test_CFLAGS; then
3952  CFLAGS=$ac_save_CFLAGS
3953elif test $ac_cv_prog_cc_g = yes; then
3954  if test "$GCC" = yes; then
3955    CFLAGS="-g -O2"
3956  else
3957    CFLAGS="-g"
3958  fi
3959else
3960  if test "$GCC" = yes; then
3961    CFLAGS="-O2"
3962  else
3963    CFLAGS=
3964  fi
3965fi
3966ac_prog_cc_stdc=no
3967if test x$ac_prog_cc_stdc = xno
3968then :
3969  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3970printf %s "checking for $CC option to enable C11 features... " >&6; }
3971if test ${ac_cv_prog_cc_c11+y}
3972then :
3973  printf %s "(cached) " >&6
3974else $as_nop
3975  ac_cv_prog_cc_c11=no
3976ac_save_CC=$CC
3977cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3978/* end confdefs.h.  */
3979$ac_c_conftest_c11_program
3980_ACEOF
3981for ac_arg in '' -std=gnu11
3982do
3983  CC="$ac_save_CC $ac_arg"
3984  if ac_fn_c_try_compile "$LINENO"
3985then :
3986  ac_cv_prog_cc_c11=$ac_arg
3987fi
3988rm -f core conftest.err conftest.$ac_objext conftest.beam
3989  test "x$ac_cv_prog_cc_c11" != "xno" && break
3990done
3991rm -f conftest.$ac_ext
3992CC=$ac_save_CC
3993fi
3994
3995if test "x$ac_cv_prog_cc_c11" = xno
3996then :
3997  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3998printf "%s\n" "unsupported" >&6; }
3999else $as_nop
4000  if test "x$ac_cv_prog_cc_c11" = x
4001then :
4002  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4003printf "%s\n" "none needed" >&6; }
4004else $as_nop
4005  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4006printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4007     CC="$CC $ac_cv_prog_cc_c11"
4008fi
4009  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4010  ac_prog_cc_stdc=c11
4011fi
4012fi
4013if test x$ac_prog_cc_stdc = xno
4014then :
4015  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4016printf %s "checking for $CC option to enable C99 features... " >&6; }
4017if test ${ac_cv_prog_cc_c99+y}
4018then :
4019  printf %s "(cached) " >&6
4020else $as_nop
4021  ac_cv_prog_cc_c99=no
4022ac_save_CC=$CC
4023cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4024/* end confdefs.h.  */
4025$ac_c_conftest_c99_program
4026_ACEOF
4027for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4028do
4029  CC="$ac_save_CC $ac_arg"
4030  if ac_fn_c_try_compile "$LINENO"
4031then :
4032  ac_cv_prog_cc_c99=$ac_arg
4033fi
4034rm -f core conftest.err conftest.$ac_objext conftest.beam
4035  test "x$ac_cv_prog_cc_c99" != "xno" && break
4036done
4037rm -f conftest.$ac_ext
4038CC=$ac_save_CC
4039fi
4040
4041if test "x$ac_cv_prog_cc_c99" = xno
4042then :
4043  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4044printf "%s\n" "unsupported" >&6; }
4045else $as_nop
4046  if test "x$ac_cv_prog_cc_c99" = x
4047then :
4048  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4049printf "%s\n" "none needed" >&6; }
4050else $as_nop
4051  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4052printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4053     CC="$CC $ac_cv_prog_cc_c99"
4054fi
4055  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4056  ac_prog_cc_stdc=c99
4057fi
4058fi
4059if test x$ac_prog_cc_stdc = xno
4060then :
4061  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4062printf %s "checking for $CC option to enable C89 features... " >&6; }
4063if test ${ac_cv_prog_cc_c89+y}
4064then :
4065  printf %s "(cached) " >&6
4066else $as_nop
4067  ac_cv_prog_cc_c89=no
4068ac_save_CC=$CC
4069cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070/* end confdefs.h.  */
4071$ac_c_conftest_c89_program
4072_ACEOF
4073for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4074do
4075  CC="$ac_save_CC $ac_arg"
4076  if ac_fn_c_try_compile "$LINENO"
4077then :
4078  ac_cv_prog_cc_c89=$ac_arg
4079fi
4080rm -f core conftest.err conftest.$ac_objext conftest.beam
4081  test "x$ac_cv_prog_cc_c89" != "xno" && break
4082done
4083rm -f conftest.$ac_ext
4084CC=$ac_save_CC
4085fi
4086
4087if test "x$ac_cv_prog_cc_c89" = xno
4088then :
4089  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4090printf "%s\n" "unsupported" >&6; }
4091else $as_nop
4092  if test "x$ac_cv_prog_cc_c89" = x
4093then :
4094  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4095printf "%s\n" "none needed" >&6; }
4096else $as_nop
4097  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4098printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4099     CC="$CC $ac_cv_prog_cc_c89"
4100fi
4101  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4102  ac_prog_cc_stdc=c89
4103fi
4104fi
4105
4106ac_ext=c
4107ac_cpp='$CPP $CPPFLAGS'
4108ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4109ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4110ac_compiler_gnu=$ac_cv_c_compiler_gnu
4111
4112
4113  ac_ext=c
4114ac_cpp='$CPP $CPPFLAGS'
4115ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4116ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4117ac_compiler_gnu=$ac_cv_c_compiler_gnu
4118{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4119printf %s "checking whether $CC understands -c and -o together... " >&6; }
4120if test ${am_cv_prog_cc_c_o+y}
4121then :
4122  printf %s "(cached) " >&6
4123else $as_nop
4124  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125/* end confdefs.h.  */
4126
4127int
4128main (void)
4129{
4130
4131  ;
4132  return 0;
4133}
4134_ACEOF
4135  # Make sure it works both with $CC and with simple cc.
4136  # Following AC_PROG_CC_C_O, we do the test twice because some
4137  # compilers refuse to overwrite an existing .o file with -o,
4138  # though they will create one.
4139  am_cv_prog_cc_c_o=yes
4140  for am_i in 1 2; do
4141    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4142   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4143   ac_status=$?
4144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145   (exit $ac_status); } \
4146         && test -f conftest2.$ac_objext; then
4147      : OK
4148    else
4149      am_cv_prog_cc_c_o=no
4150      break
4151    fi
4152  done
4153  rm -f core conftest*
4154  unset am_i
4155fi
4156{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4157printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4158if test "$am_cv_prog_cc_c_o" != yes; then
4159   # Losing compiler, so override with the script.
4160   # FIXME: It is wrong to rewrite CC.
4161   # But if we don't then we get into trouble of one sort or another.
4162   # A longer-term fix would be to have automake use am__CC in this case,
4163   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4164   CC="$am_aux_dir/compile $CC"
4165fi
4166ac_ext=c
4167ac_cpp='$CPP $CPPFLAGS'
4168ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4169ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4170ac_compiler_gnu=$ac_cv_c_compiler_gnu
4171
4172DEPDIR="${am__leading_dot}deps"
4173
4174ac_config_commands="$ac_config_commands depfiles"
4175
4176{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4177printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4178cat > confinc.mk << 'END'
4179am__doit:
4180	@echo this is the am__doit target >confinc.out
4181.PHONY: am__doit
4182END
4183am__include="#"
4184am__quote=
4185# BSD make does it like this.
4186echo '.include "confinc.mk" # ignored' > confmf.BSD
4187# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4188echo 'include confinc.mk # ignored' > confmf.GNU
4189_am_result=no
4190for s in GNU BSD; do
4191  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4192   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4193   ac_status=$?
4194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195   (exit $ac_status); }
4196  case $?:`cat confinc.out 2>/dev/null` in #(
4197  '0:this is the am__doit target') :
4198    case $s in #(
4199  BSD) :
4200    am__include='.include' am__quote='"' ;; #(
4201  *) :
4202    am__include='include' am__quote='' ;;
4203esac ;; #(
4204  *) :
4205     ;;
4206esac
4207  if test "$am__include" != "#"; then
4208    _am_result="yes ($s style)"
4209    break
4210  fi
4211done
4212rm -f confinc.* confmf.*
4213{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4214printf "%s\n" "${_am_result}" >&6; }
4215
4216# Check whether --enable-dependency-tracking was given.
4217if test ${enable_dependency_tracking+y}
4218then :
4219  enableval=$enable_dependency_tracking;
4220fi
4221
4222if test "x$enable_dependency_tracking" != xno; then
4223  am_depcomp="$ac_aux_dir/depcomp"
4224  AMDEPBACKSLASH='\'
4225  am__nodep='_no'
4226fi
4227 if test "x$enable_dependency_tracking" != xno; then
4228  AMDEP_TRUE=
4229  AMDEP_FALSE='#'
4230else
4231  AMDEP_TRUE='#'
4232  AMDEP_FALSE=
4233fi
4234
4235
4236
4237depcc="$CC"   am_compiler_list=
4238
4239{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4240printf %s "checking dependency style of $depcc... " >&6; }
4241if test ${am_cv_CC_dependencies_compiler_type+y}
4242then :
4243  printf %s "(cached) " >&6
4244else $as_nop
4245  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4246  # We make a subdir and do the tests there.  Otherwise we can end up
4247  # making bogus files that we don't know about and never remove.  For
4248  # instance it was reported that on HP-UX the gcc test will end up
4249  # making a dummy file named 'D' -- because '-MD' means "put the output
4250  # in D".
4251  rm -rf conftest.dir
4252  mkdir conftest.dir
4253  # Copy depcomp to subdir because otherwise we won't find it if we're
4254  # using a relative directory.
4255  cp "$am_depcomp" conftest.dir
4256  cd conftest.dir
4257  # We will build objects and dependencies in a subdirectory because
4258  # it helps to detect inapplicable dependency modes.  For instance
4259  # both Tru64's cc and ICC support -MD to output dependencies as a
4260  # side effect of compilation, but ICC will put the dependencies in
4261  # the current directory while Tru64 will put them in the object
4262  # directory.
4263  mkdir sub
4264
4265  am_cv_CC_dependencies_compiler_type=none
4266  if test "$am_compiler_list" = ""; then
4267     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4268  fi
4269  am__universal=false
4270  case " $depcc " in #(
4271     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4272     esac
4273
4274  for depmode in $am_compiler_list; do
4275    # Setup a source with many dependencies, because some compilers
4276    # like to wrap large dependency lists on column 80 (with \), and
4277    # we should not choose a depcomp mode which is confused by this.
4278    #
4279    # We need to recreate these files for each test, as the compiler may
4280    # overwrite some of them when testing with obscure command lines.
4281    # This happens at least with the AIX C compiler.
4282    : > sub/conftest.c
4283    for i in 1 2 3 4 5 6; do
4284      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4285      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4286      # Solaris 10 /bin/sh.
4287      echo '/* dummy */' > sub/conftst$i.h
4288    done
4289    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4290
4291    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4292    # mode.  It turns out that the SunPro C++ compiler does not properly
4293    # handle '-M -o', and we need to detect this.  Also, some Intel
4294    # versions had trouble with output in subdirs.
4295    am__obj=sub/conftest.${OBJEXT-o}
4296    am__minus_obj="-o $am__obj"
4297    case $depmode in
4298    gcc)
4299      # This depmode causes a compiler race in universal mode.
4300      test "$am__universal" = false || continue
4301      ;;
4302    nosideeffect)
4303      # After this tag, mechanisms are not by side-effect, so they'll
4304      # only be used when explicitly requested.
4305      if test "x$enable_dependency_tracking" = xyes; then
4306	continue
4307      else
4308	break
4309      fi
4310      ;;
4311    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4312      # This compiler won't grok '-c -o', but also, the minuso test has
4313      # not run yet.  These depmodes are late enough in the game, and
4314      # so weak that their functioning should not be impacted.
4315      am__obj=conftest.${OBJEXT-o}
4316      am__minus_obj=
4317      ;;
4318    none) break ;;
4319    esac
4320    if depmode=$depmode \
4321       source=sub/conftest.c object=$am__obj \
4322       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4323       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4324         >/dev/null 2>conftest.err &&
4325       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4326       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4327       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4328       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4329      # icc doesn't choke on unknown options, it will just issue warnings
4330      # or remarks (even with -Werror).  So we grep stderr for any message
4331      # that says an option was ignored or not supported.
4332      # When given -MP, icc 7.0 and 7.1 complain thusly:
4333      #   icc: Command line warning: ignoring option '-M'; no argument required
4334      # The diagnosis changed in icc 8.0:
4335      #   icc: Command line remark: option '-MP' not supported
4336      if (grep 'ignoring option' conftest.err ||
4337          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4338        am_cv_CC_dependencies_compiler_type=$depmode
4339        break
4340      fi
4341    fi
4342  done
4343
4344  cd ..
4345  rm -rf conftest.dir
4346else
4347  am_cv_CC_dependencies_compiler_type=none
4348fi
4349
4350fi
4351{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4352printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4353CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4354
4355 if
4356  test "x$enable_dependency_tracking" != xno \
4357  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4358  am__fastdepCC_TRUE=
4359  am__fastdepCC_FALSE='#'
4360else
4361  am__fastdepCC_TRUE='#'
4362  am__fastdepCC_FALSE=
4363fi
4364
4365
4366case `pwd` in
4367  *\ * | *\	*)
4368    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4369printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4370esac
4371
4372
4373
4374macro_version='2.4.6.42-b88ce-dirty'
4375macro_revision='2.4.6.42'
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390ltmain=$ac_aux_dir/ltmain.sh
4391
4392
4393
4394  # Make sure we can run config.sub.
4395$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4396  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4397
4398{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4399printf %s "checking build system type... " >&6; }
4400if test ${ac_cv_build+y}
4401then :
4402  printf %s "(cached) " >&6
4403else $as_nop
4404  ac_build_alias=$build_alias
4405test "x$ac_build_alias" = x &&
4406  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4407test "x$ac_build_alias" = x &&
4408  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4409ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4410  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4411
4412fi
4413{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4414printf "%s\n" "$ac_cv_build" >&6; }
4415case $ac_cv_build in
4416*-*-*) ;;
4417*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4418esac
4419build=$ac_cv_build
4420ac_save_IFS=$IFS; IFS='-'
4421set x $ac_cv_build
4422shift
4423build_cpu=$1
4424build_vendor=$2
4425shift; shift
4426# Remember, the first character of IFS is used to create $*,
4427# except with old shells:
4428build_os=$*
4429IFS=$ac_save_IFS
4430case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4431
4432
4433{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4434printf %s "checking host system type... " >&6; }
4435if test ${ac_cv_host+y}
4436then :
4437  printf %s "(cached) " >&6
4438else $as_nop
4439  if test "x$host_alias" = x; then
4440  ac_cv_host=$ac_cv_build
4441else
4442  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4443    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4444fi
4445
4446fi
4447{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4448printf "%s\n" "$ac_cv_host" >&6; }
4449case $ac_cv_host in
4450*-*-*) ;;
4451*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4452esac
4453host=$ac_cv_host
4454ac_save_IFS=$IFS; IFS='-'
4455set x $ac_cv_host
4456shift
4457host_cpu=$1
4458host_vendor=$2
4459shift; shift
4460# Remember, the first character of IFS is used to create $*,
4461# except with old shells:
4462host_os=$*
4463IFS=$ac_save_IFS
4464case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4465
4466
4467# Backslashify metacharacters that are still active within
4468# double-quoted strings.
4469sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4470
4471# Same as above, but do not quote variable references.
4472double_quote_subst='s/\(["`\\]\)/\\\1/g'
4473
4474# Sed substitution to delay expansion of an escaped shell variable in a
4475# double_quote_subst'ed string.
4476delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4477
4478# Sed substitution to delay expansion of an escaped single quote.
4479delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4480
4481# Sed substitution to avoid accidental globbing in evaled expressions
4482no_glob_subst='s/\*/\\\*/g'
4483
4484ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4485ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4486ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4487
4488{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4489printf %s "checking how to print strings... " >&6; }
4490# Test print first, because it will be a builtin if present.
4491if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4492   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4493  ECHO='print -r --'
4494elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4495  ECHO='printf %s\n'
4496else
4497  # Use this function as a fallback that always works.
4498  func_fallback_echo ()
4499  {
4500    eval 'cat <<_LTECHO_EOF
4501$1
4502_LTECHO_EOF'
4503  }
4504  ECHO='func_fallback_echo'
4505fi
4506
4507# func_echo_all arg...
4508# Invoke $ECHO with all args, space-separated.
4509func_echo_all ()
4510{
4511    $ECHO ""
4512}
4513
4514case $ECHO in
4515  printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4516printf "%s\n" "printf" >&6; } ;;
4517  print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4518printf "%s\n" "print -r" >&6; } ;;
4519  *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4520printf "%s\n" "cat" >&6; } ;;
4521esac
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4537printf %s "checking for a sed that does not truncate output... " >&6; }
4538if test ${ac_cv_path_SED+y}
4539then :
4540  printf %s "(cached) " >&6
4541else $as_nop
4542            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4543     for ac_i in 1 2 3 4 5 6 7; do
4544       ac_script="$ac_script$as_nl$ac_script"
4545     done
4546     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4547     { ac_script=; unset ac_script;}
4548     if test -z "$SED"; then
4549  ac_path_SED_found=false
4550  # Loop through the user's path and test for each of PROGNAME-LIST
4551  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552for as_dir in $PATH
4553do
4554  IFS=$as_save_IFS
4555  case $as_dir in #(((
4556    '') as_dir=./ ;;
4557    */) ;;
4558    *) as_dir=$as_dir/ ;;
4559  esac
4560    for ac_prog in sed gsed
4561   do
4562    for ac_exec_ext in '' $ac_executable_extensions; do
4563      ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
4564      as_fn_executable_p "$ac_path_SED" || continue
4565# Check for GNU ac_path_SED and select it if it is found.
4566  # Check for GNU $ac_path_SED
4567case `"$ac_path_SED" --version 2>&1` in
4568*GNU*)
4569  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4570*)
4571  ac_count=0
4572  printf %s 0123456789 >"conftest.in"
4573  while :
4574  do
4575    cat "conftest.in" "conftest.in" >"conftest.tmp"
4576    mv "conftest.tmp" "conftest.in"
4577    cp "conftest.in" "conftest.nl"
4578    printf "%s\n" '' >> "conftest.nl"
4579    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4580    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4581    as_fn_arith $ac_count + 1 && ac_count=$as_val
4582    if test $ac_count -gt ${ac_path_SED_max-0}; then
4583      # Best one so far, save it but keep looking for a better one
4584      ac_cv_path_SED="$ac_path_SED"
4585      ac_path_SED_max=$ac_count
4586    fi
4587    # 10*(2^10) chars as input seems more than enough
4588    test $ac_count -gt 10 && break
4589  done
4590  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4591esac
4592
4593      $ac_path_SED_found && break 3
4594    done
4595  done
4596  done
4597IFS=$as_save_IFS
4598  if test -z "$ac_cv_path_SED"; then
4599    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4600  fi
4601else
4602  ac_cv_path_SED=$SED
4603fi
4604
4605fi
4606{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4607printf "%s\n" "$ac_cv_path_SED" >&6; }
4608 SED="$ac_cv_path_SED"
4609  rm -f conftest.sed
4610
4611test -z "$SED" && SED=sed
4612Xsed="$SED -e 1s/^X//"
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4625printf %s "checking for grep that handles long lines and -e... " >&6; }
4626if test ${ac_cv_path_GREP+y}
4627then :
4628  printf %s "(cached) " >&6
4629else $as_nop
4630  if test -z "$GREP"; then
4631  ac_path_GREP_found=false
4632  # Loop through the user's path and test for each of PROGNAME-LIST
4633  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4634for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4635do
4636  IFS=$as_save_IFS
4637  case $as_dir in #(((
4638    '') as_dir=./ ;;
4639    */) ;;
4640    *) as_dir=$as_dir/ ;;
4641  esac
4642    for ac_prog in grep ggrep
4643   do
4644    for ac_exec_ext in '' $ac_executable_extensions; do
4645      ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
4646      as_fn_executable_p "$ac_path_GREP" || continue
4647# Check for GNU ac_path_GREP and select it if it is found.
4648  # Check for GNU $ac_path_GREP
4649case `"$ac_path_GREP" --version 2>&1` in
4650*GNU*)
4651  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4652*)
4653  ac_count=0
4654  printf %s 0123456789 >"conftest.in"
4655  while :
4656  do
4657    cat "conftest.in" "conftest.in" >"conftest.tmp"
4658    mv "conftest.tmp" "conftest.in"
4659    cp "conftest.in" "conftest.nl"
4660    printf "%s\n" 'GREP' >> "conftest.nl"
4661    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4662    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4663    as_fn_arith $ac_count + 1 && ac_count=$as_val
4664    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4665      # Best one so far, save it but keep looking for a better one
4666      ac_cv_path_GREP="$ac_path_GREP"
4667      ac_path_GREP_max=$ac_count
4668    fi
4669    # 10*(2^10) chars as input seems more than enough
4670    test $ac_count -gt 10 && break
4671  done
4672  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4673esac
4674
4675      $ac_path_GREP_found && break 3
4676    done
4677  done
4678  done
4679IFS=$as_save_IFS
4680  if test -z "$ac_cv_path_GREP"; then
4681    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4682  fi
4683else
4684  ac_cv_path_GREP=$GREP
4685fi
4686
4687fi
4688{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4689printf "%s\n" "$ac_cv_path_GREP" >&6; }
4690 GREP="$ac_cv_path_GREP"
4691
4692
4693{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4694printf %s "checking for egrep... " >&6; }
4695if test ${ac_cv_path_EGREP+y}
4696then :
4697  printf %s "(cached) " >&6
4698else $as_nop
4699  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4700   then ac_cv_path_EGREP="$GREP -E"
4701   else
4702     if test -z "$EGREP"; then
4703  ac_path_EGREP_found=false
4704  # Loop through the user's path and test for each of PROGNAME-LIST
4705  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4706for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4707do
4708  IFS=$as_save_IFS
4709  case $as_dir in #(((
4710    '') as_dir=./ ;;
4711    */) ;;
4712    *) as_dir=$as_dir/ ;;
4713  esac
4714    for ac_prog in egrep
4715   do
4716    for ac_exec_ext in '' $ac_executable_extensions; do
4717      ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
4718      as_fn_executable_p "$ac_path_EGREP" || continue
4719# Check for GNU ac_path_EGREP and select it if it is found.
4720  # Check for GNU $ac_path_EGREP
4721case `"$ac_path_EGREP" --version 2>&1` in
4722*GNU*)
4723  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4724*)
4725  ac_count=0
4726  printf %s 0123456789 >"conftest.in"
4727  while :
4728  do
4729    cat "conftest.in" "conftest.in" >"conftest.tmp"
4730    mv "conftest.tmp" "conftest.in"
4731    cp "conftest.in" "conftest.nl"
4732    printf "%s\n" 'EGREP' >> "conftest.nl"
4733    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4734    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4735    as_fn_arith $ac_count + 1 && ac_count=$as_val
4736    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4737      # Best one so far, save it but keep looking for a better one
4738      ac_cv_path_EGREP="$ac_path_EGREP"
4739      ac_path_EGREP_max=$ac_count
4740    fi
4741    # 10*(2^10) chars as input seems more than enough
4742    test $ac_count -gt 10 && break
4743  done
4744  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4745esac
4746
4747      $ac_path_EGREP_found && break 3
4748    done
4749  done
4750  done
4751IFS=$as_save_IFS
4752  if test -z "$ac_cv_path_EGREP"; then
4753    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4754  fi
4755else
4756  ac_cv_path_EGREP=$EGREP
4757fi
4758
4759   fi
4760fi
4761{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4762printf "%s\n" "$ac_cv_path_EGREP" >&6; }
4763 EGREP="$ac_cv_path_EGREP"
4764
4765
4766{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4767printf %s "checking for fgrep... " >&6; }
4768if test ${ac_cv_path_FGREP+y}
4769then :
4770  printf %s "(cached) " >&6
4771else $as_nop
4772  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4773   then ac_cv_path_FGREP="$GREP -F"
4774   else
4775     if test -z "$FGREP"; then
4776  ac_path_FGREP_found=false
4777  # Loop through the user's path and test for each of PROGNAME-LIST
4778  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4779for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4780do
4781  IFS=$as_save_IFS
4782  case $as_dir in #(((
4783    '') as_dir=./ ;;
4784    */) ;;
4785    *) as_dir=$as_dir/ ;;
4786  esac
4787    for ac_prog in fgrep
4788   do
4789    for ac_exec_ext in '' $ac_executable_extensions; do
4790      ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
4791      as_fn_executable_p "$ac_path_FGREP" || continue
4792# Check for GNU ac_path_FGREP and select it if it is found.
4793  # Check for GNU $ac_path_FGREP
4794case `"$ac_path_FGREP" --version 2>&1` in
4795*GNU*)
4796  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4797*)
4798  ac_count=0
4799  printf %s 0123456789 >"conftest.in"
4800  while :
4801  do
4802    cat "conftest.in" "conftest.in" >"conftest.tmp"
4803    mv "conftest.tmp" "conftest.in"
4804    cp "conftest.in" "conftest.nl"
4805    printf "%s\n" 'FGREP' >> "conftest.nl"
4806    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4807    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4808    as_fn_arith $ac_count + 1 && ac_count=$as_val
4809    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4810      # Best one so far, save it but keep looking for a better one
4811      ac_cv_path_FGREP="$ac_path_FGREP"
4812      ac_path_FGREP_max=$ac_count
4813    fi
4814    # 10*(2^10) chars as input seems more than enough
4815    test $ac_count -gt 10 && break
4816  done
4817  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4818esac
4819
4820      $ac_path_FGREP_found && break 3
4821    done
4822  done
4823  done
4824IFS=$as_save_IFS
4825  if test -z "$ac_cv_path_FGREP"; then
4826    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4827  fi
4828else
4829  ac_cv_path_FGREP=$FGREP
4830fi
4831
4832   fi
4833fi
4834{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4835printf "%s\n" "$ac_cv_path_FGREP" >&6; }
4836 FGREP="$ac_cv_path_FGREP"
4837
4838
4839test -z "$GREP" && GREP=grep
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859# Check whether --with-gnu-ld was given.
4860if test ${with_gnu_ld+y}
4861then :
4862  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4863else $as_nop
4864  with_gnu_ld=no
4865fi
4866
4867ac_prog=ld
4868if test yes = "$GCC"; then
4869  # Check if gcc -print-prog-name=ld gives a path.
4870  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4871printf %s "checking for ld used by $CC... " >&6; }
4872  case $host in
4873  *-*-mingw*)
4874    # gcc leaves a trailing carriage return, which upsets mingw
4875    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4876  *)
4877    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4878  esac
4879  case $ac_prog in
4880    # Accept absolute paths.
4881    [\\/]* | ?:[\\/]*)
4882      re_direlt='/[^/][^/]*/\.\./'
4883      # Canonicalize the pathname of ld
4884      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4885      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4886	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4887      done
4888      test -z "$LD" && LD=$ac_prog
4889      ;;
4890  "")
4891    # If it fails, then pretend we aren't using GCC.
4892    ac_prog=ld
4893    ;;
4894  *)
4895    # If it is relative, then search for the first ld in PATH.
4896    with_gnu_ld=unknown
4897    ;;
4898  esac
4899elif test yes = "$with_gnu_ld"; then
4900  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4901printf %s "checking for GNU ld... " >&6; }
4902else
4903  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4904printf %s "checking for non-GNU ld... " >&6; }
4905fi
4906if test ${lt_cv_path_LD+y}
4907then :
4908  printf %s "(cached) " >&6
4909else $as_nop
4910  if test -z "$LD"; then
4911  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4912  for ac_dir in $PATH; do
4913    IFS=$lt_save_ifs
4914    test -z "$ac_dir" && ac_dir=.
4915    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4916      lt_cv_path_LD=$ac_dir/$ac_prog
4917      # Check to see if the program is GNU ld.  I'd rather use --version,
4918      # but apparently some variants of GNU ld only accept -v.
4919      # Break only if it was the GNU/non-GNU ld that we prefer.
4920      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4921      *GNU* | *'with BFD'*)
4922	test no != "$with_gnu_ld" && break
4923	;;
4924      *)
4925	test yes != "$with_gnu_ld" && break
4926	;;
4927      esac
4928    fi
4929  done
4930  IFS=$lt_save_ifs
4931else
4932  lt_cv_path_LD=$LD # Let the user override the test with a path.
4933fi
4934fi
4935
4936LD=$lt_cv_path_LD
4937if test -n "$LD"; then
4938  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4939printf "%s\n" "$LD" >&6; }
4940else
4941  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942printf "%s\n" "no" >&6; }
4943fi
4944test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4945{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4946printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
4947if test ${lt_cv_prog_gnu_ld+y}
4948then :
4949  printf %s "(cached) " >&6
4950else $as_nop
4951  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4952case `$LD -v 2>&1 </dev/null` in
4953*GNU* | *'with BFD'*)
4954  lt_cv_prog_gnu_ld=yes
4955  ;;
4956*)
4957  lt_cv_prog_gnu_ld=no
4958  ;;
4959esac
4960fi
4961{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4962printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
4963with_gnu_ld=$lt_cv_prog_gnu_ld
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4974printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4975if test ${lt_cv_path_NM+y}
4976then :
4977  printf %s "(cached) " >&6
4978else $as_nop
4979  if test -n "$NM"; then
4980  # Let the user override the test.
4981  lt_cv_path_NM=$NM
4982else
4983  lt_nm_to_check=${ac_tool_prefix}nm
4984  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4985    lt_nm_to_check="$lt_nm_to_check nm"
4986  fi
4987  for lt_tmp_nm in $lt_nm_to_check; do
4988    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4989    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4990      IFS=$lt_save_ifs
4991      test -z "$ac_dir" && ac_dir=.
4992      tmp_nm=$ac_dir/$lt_tmp_nm
4993      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4994	# Check to see if the nm accepts a BSD-compat flag.
4995	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4996	#   nm: unknown option "B" ignored
4997	# Tru64's nm complains that /dev/null is an invalid object file
4998	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4999	case $build_os in
5000	mingw*) lt_bad_file=conftest.nm/nofile ;;
5001	*) lt_bad_file=/dev/null ;;
5002	esac
5003	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5004	*$lt_bad_file* | *'Invalid file or object type'*)
5005	  lt_cv_path_NM="$tmp_nm -B"
5006	  break 2
5007	  ;;
5008	*)
5009	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5010	  */dev/null*)
5011	    lt_cv_path_NM="$tmp_nm -p"
5012	    break 2
5013	    ;;
5014	  *)
5015	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5016	    continue # so that we can try to find one that supports BSD flags
5017	    ;;
5018	  esac
5019	  ;;
5020	esac
5021      fi
5022    done
5023    IFS=$lt_save_ifs
5024  done
5025  : ${lt_cv_path_NM=no}
5026fi
5027fi
5028{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5029printf "%s\n" "$lt_cv_path_NM" >&6; }
5030if test no != "$lt_cv_path_NM"; then
5031  NM=$lt_cv_path_NM
5032else
5033  # Didn't find any BSD compatible name lister, look for dumpbin.
5034  if test -n "$DUMPBIN"; then :
5035    # Let the user override the test.
5036  else
5037    if test -n "$ac_tool_prefix"; then
5038  for ac_prog in dumpbin "link -dump"
5039  do
5040    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5041set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5042{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043printf %s "checking for $ac_word... " >&6; }
5044if test ${ac_cv_prog_DUMPBIN+y}
5045then :
5046  printf %s "(cached) " >&6
5047else $as_nop
5048  if test -n "$DUMPBIN"; then
5049  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5050else
5051as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052for as_dir in $PATH
5053do
5054  IFS=$as_save_IFS
5055  case $as_dir in #(((
5056    '') as_dir=./ ;;
5057    */) ;;
5058    *) as_dir=$as_dir/ ;;
5059  esac
5060    for ac_exec_ext in '' $ac_executable_extensions; do
5061  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5062    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5063    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5064    break 2
5065  fi
5066done
5067  done
5068IFS=$as_save_IFS
5069
5070fi
5071fi
5072DUMPBIN=$ac_cv_prog_DUMPBIN
5073if test -n "$DUMPBIN"; then
5074  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5075printf "%s\n" "$DUMPBIN" >&6; }
5076else
5077  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078printf "%s\n" "no" >&6; }
5079fi
5080
5081
5082    test -n "$DUMPBIN" && break
5083  done
5084fi
5085if test -z "$DUMPBIN"; then
5086  ac_ct_DUMPBIN=$DUMPBIN
5087  for ac_prog in dumpbin "link -dump"
5088do
5089  # Extract the first word of "$ac_prog", so it can be a program name with args.
5090set dummy $ac_prog; ac_word=$2
5091{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5092printf %s "checking for $ac_word... " >&6; }
5093if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5094then :
5095  printf %s "(cached) " >&6
5096else $as_nop
5097  if test -n "$ac_ct_DUMPBIN"; then
5098  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5099else
5100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5101for as_dir in $PATH
5102do
5103  IFS=$as_save_IFS
5104  case $as_dir in #(((
5105    '') as_dir=./ ;;
5106    */) ;;
5107    *) as_dir=$as_dir/ ;;
5108  esac
5109    for ac_exec_ext in '' $ac_executable_extensions; do
5110  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5111    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5112    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5113    break 2
5114  fi
5115done
5116  done
5117IFS=$as_save_IFS
5118
5119fi
5120fi
5121ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5122if test -n "$ac_ct_DUMPBIN"; then
5123  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5124printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
5125else
5126  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127printf "%s\n" "no" >&6; }
5128fi
5129
5130
5131  test -n "$ac_ct_DUMPBIN" && break
5132done
5133
5134  if test "x$ac_ct_DUMPBIN" = x; then
5135    DUMPBIN=":"
5136  else
5137    case $cross_compiling:$ac_tool_warned in
5138yes:)
5139{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5140printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5141ac_tool_warned=yes ;;
5142esac
5143    DUMPBIN=$ac_ct_DUMPBIN
5144  fi
5145fi
5146
5147    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5148    *COFF*)
5149      DUMPBIN="$DUMPBIN -symbols -headers"
5150      ;;
5151    *)
5152      DUMPBIN=:
5153      ;;
5154    esac
5155  fi
5156
5157  if test : != "$DUMPBIN"; then
5158    NM=$DUMPBIN
5159  fi
5160fi
5161test -z "$NM" && NM=nm
5162
5163
5164
5165
5166
5167
5168{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5169printf %s "checking the name lister ($NM) interface... " >&6; }
5170if test ${lt_cv_nm_interface+y}
5171then :
5172  printf %s "(cached) " >&6
5173else $as_nop
5174  lt_cv_nm_interface="BSD nm"
5175  echo "int some_variable = 0;" > conftest.$ac_ext
5176  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5177  (eval "$ac_compile" 2>conftest.err)
5178  cat conftest.err >&5
5179  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5180  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5181  cat conftest.err >&5
5182  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5183  cat conftest.out >&5
5184  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5185    lt_cv_nm_interface="MS dumpbin"
5186  fi
5187  rm -f conftest*
5188fi
5189{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5190printf "%s\n" "$lt_cv_nm_interface" >&6; }
5191
5192{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5193printf %s "checking whether ln -s works... " >&6; }
5194LN_S=$as_ln_s
5195if test "$LN_S" = "ln -s"; then
5196  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5197printf "%s\n" "yes" >&6; }
5198else
5199  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5200printf "%s\n" "no, using $LN_S" >&6; }
5201fi
5202
5203# find the maximum length of command line arguments
5204{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5205printf %s "checking the maximum length of command line arguments... " >&6; }
5206if test ${lt_cv_sys_max_cmd_len+y}
5207then :
5208  printf %s "(cached) " >&6
5209else $as_nop
5210    i=0
5211  teststring=ABCD
5212
5213  case $build_os in
5214  msdosdjgpp*)
5215    # On DJGPP, this test can blow up pretty badly due to problems in libc
5216    # (any single argument exceeding 2000 bytes causes a buffer overrun
5217    # during glob expansion).  Even if it were fixed, the result of this
5218    # check would be larger than it should be.
5219    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5220    ;;
5221
5222  gnu*)
5223    # Under GNU Hurd, this test is not required because there is
5224    # no limit to the length of command line arguments.
5225    # Libtool will interpret -1 as no limit whatsoever
5226    lt_cv_sys_max_cmd_len=-1;
5227    ;;
5228
5229  cygwin* | mingw* | cegcc*)
5230    # On Win9x/ME, this test blows up -- it succeeds, but takes
5231    # about 5 minutes as the teststring grows exponentially.
5232    # Worse, since 9x/ME are not pre-emptively multitasking,
5233    # you end up with a "frozen" computer, even though with patience
5234    # the test eventually succeeds (with a max line length of 256k).
5235    # Instead, let's just punt: use the minimum linelength reported by
5236    # all of the supported platforms: 8192 (on NT/2K/XP).
5237    lt_cv_sys_max_cmd_len=8192;
5238    ;;
5239
5240  mint*)
5241    # On MiNT this can take a long time and run out of memory.
5242    lt_cv_sys_max_cmd_len=8192;
5243    ;;
5244
5245  amigaos*)
5246    # On AmigaOS with pdksh, this test takes hours, literally.
5247    # So we just punt and use a minimum line length of 8192.
5248    lt_cv_sys_max_cmd_len=8192;
5249    ;;
5250
5251  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5252    # This has been around since 386BSD, at least.  Likely further.
5253    if test -x /sbin/sysctl; then
5254      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5255    elif test -x /usr/sbin/sysctl; then
5256      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5257    else
5258      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5259    fi
5260    # And add a safety zone
5261    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5262    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5263    ;;
5264
5265  interix*)
5266    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5267    lt_cv_sys_max_cmd_len=196608
5268    ;;
5269
5270  os2*)
5271    # The test takes a long time on OS/2.
5272    lt_cv_sys_max_cmd_len=8192
5273    ;;
5274
5275  osf*)
5276    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5277    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5278    # nice to cause kernel panics so lets avoid the loop below.
5279    # First set a reasonable default.
5280    lt_cv_sys_max_cmd_len=16384
5281    #
5282    if test -x /sbin/sysconfig; then
5283      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5284        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5285      esac
5286    fi
5287    ;;
5288  sco3.2v5*)
5289    lt_cv_sys_max_cmd_len=102400
5290    ;;
5291  sysv5* | sco5v6* | sysv4.2uw2*)
5292    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5293    if test -n "$kargmax"; then
5294      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5295    else
5296      lt_cv_sys_max_cmd_len=32768
5297    fi
5298    ;;
5299  *)
5300    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5301    if test -n "$lt_cv_sys_max_cmd_len" && \
5302       test undefined != "$lt_cv_sys_max_cmd_len"; then
5303      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5304      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5305    else
5306      # Make teststring a little bigger before we do anything with it.
5307      # a 1K string should be a reasonable start.
5308      for i in 1 2 3 4 5 6 7 8; do
5309        teststring=$teststring$teststring
5310      done
5311      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5312      # If test is not a shell built-in, we'll probably end up computing a
5313      # maximum length that is only half of the actual maximum length, but
5314      # we can't tell.
5315      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5316	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5317	      test 17 != "$i" # 1/2 MB should be enough
5318      do
5319        i=`expr $i + 1`
5320        teststring=$teststring$teststring
5321      done
5322      # Only check the string length outside the loop.
5323      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5324      teststring=
5325      # Add a significant safety factor because C++ compilers can tack on
5326      # massive amounts of additional arguments before passing them to the
5327      # linker.  It appears as though 1/2 is a usable value.
5328      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5329    fi
5330    ;;
5331  esac
5332
5333fi
5334
5335if test -n "$lt_cv_sys_max_cmd_len"; then
5336  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5337printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
5338else
5339  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
5340printf "%s\n" "none" >&6; }
5341fi
5342max_cmd_len=$lt_cv_sys_max_cmd_len
5343
5344
5345
5346
5347
5348
5349: ${CP="cp -f"}
5350: ${MV="mv -f"}
5351: ${RM="rm -f"}
5352
5353if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5354  lt_unset=unset
5355else
5356  lt_unset=false
5357fi
5358
5359
5360
5361
5362
5363# test EBCDIC or ASCII
5364case `echo X|tr X '\101'` in
5365 A) # ASCII based system
5366    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5367  lt_SP2NL='tr \040 \012'
5368  lt_NL2SP='tr \015\012 \040\040'
5369  ;;
5370 *) # EBCDIC based system
5371  lt_SP2NL='tr \100 \n'
5372  lt_NL2SP='tr \r\n \100\100'
5373  ;;
5374esac
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5385printf %s "checking how to convert $build file names to $host format... " >&6; }
5386if test ${lt_cv_to_host_file_cmd+y}
5387then :
5388  printf %s "(cached) " >&6
5389else $as_nop
5390  case $host in
5391  *-*-mingw* )
5392    case $build in
5393      *-*-mingw* ) # actually msys
5394        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5395        ;;
5396      *-*-cygwin* )
5397        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5398        ;;
5399      * ) # otherwise, assume *nix
5400        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5401        ;;
5402    esac
5403    ;;
5404  *-*-cygwin* )
5405    case $build in
5406      *-*-mingw* ) # actually msys
5407        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5408        ;;
5409      *-*-cygwin* )
5410        lt_cv_to_host_file_cmd=func_convert_file_noop
5411        ;;
5412      * ) # otherwise, assume *nix
5413        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5414        ;;
5415    esac
5416    ;;
5417  * ) # unhandled hosts (and "normal" native builds)
5418    lt_cv_to_host_file_cmd=func_convert_file_noop
5419    ;;
5420esac
5421
5422fi
5423
5424to_host_file_cmd=$lt_cv_to_host_file_cmd
5425{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5426printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
5427
5428
5429
5430
5431
5432{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5433printf %s "checking how to convert $build file names to toolchain format... " >&6; }
5434if test ${lt_cv_to_tool_file_cmd+y}
5435then :
5436  printf %s "(cached) " >&6
5437else $as_nop
5438  #assume ordinary cross tools, or native build.
5439lt_cv_to_tool_file_cmd=func_convert_file_noop
5440case $host in
5441  *-*-mingw* )
5442    case $build in
5443      *-*-mingw* ) # actually msys
5444        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5445        ;;
5446    esac
5447    ;;
5448esac
5449
5450fi
5451
5452to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5453{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5454printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
5455
5456
5457
5458
5459
5460{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5461printf %s "checking for $LD option to reload object files... " >&6; }
5462if test ${lt_cv_ld_reload_flag+y}
5463then :
5464  printf %s "(cached) " >&6
5465else $as_nop
5466  lt_cv_ld_reload_flag='-r'
5467fi
5468{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5469printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
5470reload_flag=$lt_cv_ld_reload_flag
5471case $reload_flag in
5472"" | " "*) ;;
5473*) reload_flag=" $reload_flag" ;;
5474esac
5475reload_cmds='$LD$reload_flag -o $output$reload_objs'
5476case $host_os in
5477  cygwin* | mingw* | pw32* | cegcc*)
5478    if test yes != "$GCC"; then
5479      reload_cmds=false
5480    fi
5481    ;;
5482  darwin*)
5483    if test yes = "$GCC"; then
5484      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5485    else
5486      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5487    fi
5488    ;;
5489esac
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499if test -n "$ac_tool_prefix"; then
5500  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5501set dummy ${ac_tool_prefix}objdump; ac_word=$2
5502{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503printf %s "checking for $ac_word... " >&6; }
5504if test ${ac_cv_prog_OBJDUMP+y}
5505then :
5506  printf %s "(cached) " >&6
5507else $as_nop
5508  if test -n "$OBJDUMP"; then
5509  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5510else
5511as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512for as_dir in $PATH
5513do
5514  IFS=$as_save_IFS
5515  case $as_dir in #(((
5516    '') as_dir=./ ;;
5517    */) ;;
5518    *) as_dir=$as_dir/ ;;
5519  esac
5520    for ac_exec_ext in '' $ac_executable_extensions; do
5521  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5522    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5523    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5524    break 2
5525  fi
5526done
5527  done
5528IFS=$as_save_IFS
5529
5530fi
5531fi
5532OBJDUMP=$ac_cv_prog_OBJDUMP
5533if test -n "$OBJDUMP"; then
5534  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5535printf "%s\n" "$OBJDUMP" >&6; }
5536else
5537  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5538printf "%s\n" "no" >&6; }
5539fi
5540
5541
5542fi
5543if test -z "$ac_cv_prog_OBJDUMP"; then
5544  ac_ct_OBJDUMP=$OBJDUMP
5545  # Extract the first word of "objdump", so it can be a program name with args.
5546set dummy objdump; ac_word=$2
5547{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5548printf %s "checking for $ac_word... " >&6; }
5549if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
5550then :
5551  printf %s "(cached) " >&6
5552else $as_nop
5553  if test -n "$ac_ct_OBJDUMP"; then
5554  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5555else
5556as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557for as_dir in $PATH
5558do
5559  IFS=$as_save_IFS
5560  case $as_dir in #(((
5561    '') as_dir=./ ;;
5562    */) ;;
5563    *) as_dir=$as_dir/ ;;
5564  esac
5565    for ac_exec_ext in '' $ac_executable_extensions; do
5566  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5567    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5568    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5569    break 2
5570  fi
5571done
5572  done
5573IFS=$as_save_IFS
5574
5575fi
5576fi
5577ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5578if test -n "$ac_ct_OBJDUMP"; then
5579  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5580printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
5581else
5582  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5583printf "%s\n" "no" >&6; }
5584fi
5585
5586  if test "x$ac_ct_OBJDUMP" = x; then
5587    OBJDUMP="false"
5588  else
5589    case $cross_compiling:$ac_tool_warned in
5590yes:)
5591{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5592printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5593ac_tool_warned=yes ;;
5594esac
5595    OBJDUMP=$ac_ct_OBJDUMP
5596  fi
5597else
5598  OBJDUMP="$ac_cv_prog_OBJDUMP"
5599fi
5600
5601test -z "$OBJDUMP" && OBJDUMP=objdump
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5612printf %s "checking how to recognize dependent libraries... " >&6; }
5613if test ${lt_cv_deplibs_check_method+y}
5614then :
5615  printf %s "(cached) " >&6
5616else $as_nop
5617  lt_cv_file_magic_cmd='$MAGIC_CMD'
5618lt_cv_file_magic_test_file=
5619lt_cv_deplibs_check_method='unknown'
5620# Need to set the preceding variable on all platforms that support
5621# interlibrary dependencies.
5622# 'none' -- dependencies not supported.
5623# 'unknown' -- same as none, but documents that we really don't know.
5624# 'pass_all' -- all dependencies passed with no checks.
5625# 'test_compile' -- check by making test program.
5626# 'file_magic [[regex]]' -- check by looking for files in library path
5627# that responds to the $file_magic_cmd with a given extended regex.
5628# If you have 'file' or equivalent on your system and you're not sure
5629# whether 'pass_all' will *always* work, you probably want this one.
5630
5631case $host_os in
5632aix[4-9]*)
5633  lt_cv_deplibs_check_method=pass_all
5634  ;;
5635
5636beos*)
5637  lt_cv_deplibs_check_method=pass_all
5638  ;;
5639
5640bsdi[45]*)
5641  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5642  lt_cv_file_magic_cmd='/usr/bin/file -L'
5643  lt_cv_file_magic_test_file=/shlib/libc.so
5644  ;;
5645
5646cygwin*)
5647  # func_win32_libid is a shell function defined in ltmain.sh
5648  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5649  lt_cv_file_magic_cmd='func_win32_libid'
5650  ;;
5651
5652mingw* | pw32*)
5653  # Base MSYS/MinGW do not provide the 'file' command needed by
5654  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5655  # unless we find 'file', for example because we are cross-compiling.
5656  if ( file / ) >/dev/null 2>&1; then
5657    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5658    lt_cv_file_magic_cmd='func_win32_libid'
5659  else
5660    # Keep this pattern in sync with the one in func_win32_libid.
5661    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5662    lt_cv_file_magic_cmd='$OBJDUMP -f'
5663  fi
5664  ;;
5665
5666cegcc*)
5667  # use the weaker test based on 'objdump'. See mingw*.
5668  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5669  lt_cv_file_magic_cmd='$OBJDUMP -f'
5670  ;;
5671
5672darwin* | rhapsody*)
5673  lt_cv_deplibs_check_method=pass_all
5674  ;;
5675
5676freebsd* | dragonfly*)
5677  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5678    case $host_cpu in
5679    i*86 )
5680      # Not sure whether the presence of OpenBSD here was a mistake.
5681      # Let's accept both of them until this is cleared up.
5682      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5683      lt_cv_file_magic_cmd=/usr/bin/file
5684      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5685      ;;
5686    esac
5687  else
5688    lt_cv_deplibs_check_method=pass_all
5689  fi
5690  ;;
5691
5692haiku*)
5693  lt_cv_deplibs_check_method=pass_all
5694  ;;
5695
5696hpux10.20* | hpux11*)
5697  lt_cv_file_magic_cmd=/usr/bin/file
5698  case $host_cpu in
5699  ia64*)
5700    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5701    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5702    ;;
5703  hppa*64*)
5704    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]'
5705    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5706    ;;
5707  *)
5708    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5709    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5710    ;;
5711  esac
5712  ;;
5713
5714interix[3-9]*)
5715  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5716  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5717  ;;
5718
5719irix5* | irix6* | nonstopux*)
5720  case $LD in
5721  *-32|*"-32 ") libmagic=32-bit;;
5722  *-n32|*"-n32 ") libmagic=N32;;
5723  *-64|*"-64 ") libmagic=64-bit;;
5724  *) libmagic=never-match;;
5725  esac
5726  lt_cv_deplibs_check_method=pass_all
5727  ;;
5728
5729# This must be glibc/ELF.
5730linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5731  lt_cv_deplibs_check_method=pass_all
5732  ;;
5733
5734netbsd*)
5735  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5736    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5737  else
5738    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5739  fi
5740  ;;
5741
5742newos6*)
5743  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5744  lt_cv_file_magic_cmd=/usr/bin/file
5745  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5746  ;;
5747
5748*nto* | *qnx*)
5749  lt_cv_deplibs_check_method=pass_all
5750  ;;
5751
5752openbsd* | bitrig*)
5753  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5754    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5755  else
5756    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5757  fi
5758  ;;
5759
5760osf3* | osf4* | osf5*)
5761  lt_cv_deplibs_check_method=pass_all
5762  ;;
5763
5764rdos*)
5765  lt_cv_deplibs_check_method=pass_all
5766  ;;
5767
5768solaris*)
5769  lt_cv_deplibs_check_method=pass_all
5770  ;;
5771
5772sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5773  lt_cv_deplibs_check_method=pass_all
5774  ;;
5775
5776sysv4 | sysv4.3*)
5777  case $host_vendor in
5778  motorola)
5779    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]'
5780    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5781    ;;
5782  ncr)
5783    lt_cv_deplibs_check_method=pass_all
5784    ;;
5785  sequent)
5786    lt_cv_file_magic_cmd='/bin/file'
5787    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5788    ;;
5789  sni)
5790    lt_cv_file_magic_cmd='/bin/file'
5791    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5792    lt_cv_file_magic_test_file=/lib/libc.so
5793    ;;
5794  siemens)
5795    lt_cv_deplibs_check_method=pass_all
5796    ;;
5797  pc)
5798    lt_cv_deplibs_check_method=pass_all
5799    ;;
5800  esac
5801  ;;
5802
5803tpf*)
5804  lt_cv_deplibs_check_method=pass_all
5805  ;;
5806os2*)
5807  lt_cv_deplibs_check_method=pass_all
5808  ;;
5809esac
5810
5811fi
5812{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5813printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
5814
5815file_magic_glob=
5816want_nocaseglob=no
5817if test "$build" = "$host"; then
5818  case $host_os in
5819  mingw* | pw32*)
5820    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5821      want_nocaseglob=yes
5822    else
5823      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5824    fi
5825    ;;
5826  esac
5827fi
5828
5829file_magic_cmd=$lt_cv_file_magic_cmd
5830deplibs_check_method=$lt_cv_deplibs_check_method
5831test -z "$deplibs_check_method" && deplibs_check_method=unknown
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854if test -n "$ac_tool_prefix"; then
5855  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5856set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5857{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858printf %s "checking for $ac_word... " >&6; }
5859if test ${ac_cv_prog_DLLTOOL+y}
5860then :
5861  printf %s "(cached) " >&6
5862else $as_nop
5863  if test -n "$DLLTOOL"; then
5864  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5865else
5866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867for as_dir in $PATH
5868do
5869  IFS=$as_save_IFS
5870  case $as_dir in #(((
5871    '') as_dir=./ ;;
5872    */) ;;
5873    *) as_dir=$as_dir/ ;;
5874  esac
5875    for ac_exec_ext in '' $ac_executable_extensions; do
5876  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5877    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5878    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5879    break 2
5880  fi
5881done
5882  done
5883IFS=$as_save_IFS
5884
5885fi
5886fi
5887DLLTOOL=$ac_cv_prog_DLLTOOL
5888if test -n "$DLLTOOL"; then
5889  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5890printf "%s\n" "$DLLTOOL" >&6; }
5891else
5892  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893printf "%s\n" "no" >&6; }
5894fi
5895
5896
5897fi
5898if test -z "$ac_cv_prog_DLLTOOL"; then
5899  ac_ct_DLLTOOL=$DLLTOOL
5900  # Extract the first word of "dlltool", so it can be a program name with args.
5901set dummy dlltool; ac_word=$2
5902{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903printf %s "checking for $ac_word... " >&6; }
5904if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
5905then :
5906  printf %s "(cached) " >&6
5907else $as_nop
5908  if test -n "$ac_ct_DLLTOOL"; then
5909  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5910else
5911as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912for as_dir in $PATH
5913do
5914  IFS=$as_save_IFS
5915  case $as_dir in #(((
5916    '') as_dir=./ ;;
5917    */) ;;
5918    *) as_dir=$as_dir/ ;;
5919  esac
5920    for ac_exec_ext in '' $ac_executable_extensions; do
5921  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5922    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5923    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5924    break 2
5925  fi
5926done
5927  done
5928IFS=$as_save_IFS
5929
5930fi
5931fi
5932ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5933if test -n "$ac_ct_DLLTOOL"; then
5934  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5935printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
5936else
5937  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938printf "%s\n" "no" >&6; }
5939fi
5940
5941  if test "x$ac_ct_DLLTOOL" = x; then
5942    DLLTOOL="false"
5943  else
5944    case $cross_compiling:$ac_tool_warned in
5945yes:)
5946{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5947printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5948ac_tool_warned=yes ;;
5949esac
5950    DLLTOOL=$ac_ct_DLLTOOL
5951  fi
5952else
5953  DLLTOOL="$ac_cv_prog_DLLTOOL"
5954fi
5955
5956test -z "$DLLTOOL" && DLLTOOL=dlltool
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5968printf %s "checking how to associate runtime and link libraries... " >&6; }
5969if test ${lt_cv_sharedlib_from_linklib_cmd+y}
5970then :
5971  printf %s "(cached) " >&6
5972else $as_nop
5973  lt_cv_sharedlib_from_linklib_cmd='unknown'
5974
5975case $host_os in
5976cygwin* | mingw* | pw32* | cegcc*)
5977  # two different shell functions defined in ltmain.sh;
5978  # decide which one to use based on capabilities of $DLLTOOL
5979  case `$DLLTOOL --help 2>&1` in
5980  *--identify-strict*)
5981    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5982    ;;
5983  *)
5984    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5985    ;;
5986  esac
5987  ;;
5988*)
5989  # fallback: assume linklib IS sharedlib
5990  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5991  ;;
5992esac
5993
5994fi
5995{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5996printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5997sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5998test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5999
6000
6001
6002
6003
6004
6005
6006
6007if test -n "$ac_tool_prefix"; then
6008  for ac_prog in ar
6009  do
6010    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6011set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6012{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6013printf %s "checking for $ac_word... " >&6; }
6014if test ${ac_cv_prog_AR+y}
6015then :
6016  printf %s "(cached) " >&6
6017else $as_nop
6018  if test -n "$AR"; then
6019  ac_cv_prog_AR="$AR" # Let the user override the test.
6020else
6021as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6022for as_dir in $PATH
6023do
6024  IFS=$as_save_IFS
6025  case $as_dir in #(((
6026    '') as_dir=./ ;;
6027    */) ;;
6028    *) as_dir=$as_dir/ ;;
6029  esac
6030    for ac_exec_ext in '' $ac_executable_extensions; do
6031  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6032    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6033    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6034    break 2
6035  fi
6036done
6037  done
6038IFS=$as_save_IFS
6039
6040fi
6041fi
6042AR=$ac_cv_prog_AR
6043if test -n "$AR"; then
6044  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6045printf "%s\n" "$AR" >&6; }
6046else
6047  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048printf "%s\n" "no" >&6; }
6049fi
6050
6051
6052    test -n "$AR" && break
6053  done
6054fi
6055if test -z "$AR"; then
6056  ac_ct_AR=$AR
6057  for ac_prog in ar
6058do
6059  # Extract the first word of "$ac_prog", so it can be a program name with args.
6060set dummy $ac_prog; ac_word=$2
6061{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062printf %s "checking for $ac_word... " >&6; }
6063if test ${ac_cv_prog_ac_ct_AR+y}
6064then :
6065  printf %s "(cached) " >&6
6066else $as_nop
6067  if test -n "$ac_ct_AR"; then
6068  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6069else
6070as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071for as_dir in $PATH
6072do
6073  IFS=$as_save_IFS
6074  case $as_dir in #(((
6075    '') as_dir=./ ;;
6076    */) ;;
6077    *) as_dir=$as_dir/ ;;
6078  esac
6079    for ac_exec_ext in '' $ac_executable_extensions; do
6080  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6081    ac_cv_prog_ac_ct_AR="$ac_prog"
6082    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6083    break 2
6084  fi
6085done
6086  done
6087IFS=$as_save_IFS
6088
6089fi
6090fi
6091ac_ct_AR=$ac_cv_prog_ac_ct_AR
6092if test -n "$ac_ct_AR"; then
6093  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6094printf "%s\n" "$ac_ct_AR" >&6; }
6095else
6096  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097printf "%s\n" "no" >&6; }
6098fi
6099
6100
6101  test -n "$ac_ct_AR" && break
6102done
6103
6104  if test "x$ac_ct_AR" = x; then
6105    AR="false"
6106  else
6107    case $cross_compiling:$ac_tool_warned in
6108yes:)
6109{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6110printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6111ac_tool_warned=yes ;;
6112esac
6113    AR=$ac_ct_AR
6114  fi
6115fi
6116
6117: ${AR=ar}
6118
6119
6120
6121
6122
6123
6124# Use ARFLAGS variable as AR's operation code to sync the variable naming with
6125# Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
6126# higher priority because thats what people were doing historically (setting
6127# ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
6128# variable obsoleted/removed.
6129
6130test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
6131lt_ar_flags=$AR_FLAGS
6132
6133
6134
6135
6136
6137
6138# Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
6139# by AR_FLAGS because that was never working and AR_FLAGS is about to die.
6140
6141
6142
6143
6144
6145
6146{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6147printf %s "checking for archiver @FILE support... " >&6; }
6148if test ${lt_cv_ar_at_file+y}
6149then :
6150  printf %s "(cached) " >&6
6151else $as_nop
6152  lt_cv_ar_at_file=no
6153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6154/* end confdefs.h.  */
6155
6156int
6157main (void)
6158{
6159
6160  ;
6161  return 0;
6162}
6163_ACEOF
6164if ac_fn_c_try_compile "$LINENO"
6165then :
6166  echo conftest.$ac_objext > conftest.lst
6167      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6168      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6169  (eval $lt_ar_try) 2>&5
6170  ac_status=$?
6171  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6172  test $ac_status = 0; }
6173      if test 0 -eq "$ac_status"; then
6174	# Ensure the archiver fails upon bogus file names.
6175	rm -f conftest.$ac_objext libconftest.a
6176	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6177  (eval $lt_ar_try) 2>&5
6178  ac_status=$?
6179  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6180  test $ac_status = 0; }
6181	if test 0 -ne "$ac_status"; then
6182          lt_cv_ar_at_file=@
6183        fi
6184      fi
6185      rm -f conftest.* libconftest.a
6186
6187fi
6188rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6189
6190fi
6191{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6192printf "%s\n" "$lt_cv_ar_at_file" >&6; }
6193
6194if test no = "$lt_cv_ar_at_file"; then
6195  archiver_list_spec=
6196else
6197  archiver_list_spec=$lt_cv_ar_at_file
6198fi
6199
6200
6201
6202
6203
6204
6205
6206if test -n "$ac_tool_prefix"; then
6207  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6208set dummy ${ac_tool_prefix}strip; ac_word=$2
6209{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6210printf %s "checking for $ac_word... " >&6; }
6211if test ${ac_cv_prog_STRIP+y}
6212then :
6213  printf %s "(cached) " >&6
6214else $as_nop
6215  if test -n "$STRIP"; then
6216  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6217else
6218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6219for as_dir in $PATH
6220do
6221  IFS=$as_save_IFS
6222  case $as_dir in #(((
6223    '') as_dir=./ ;;
6224    */) ;;
6225    *) as_dir=$as_dir/ ;;
6226  esac
6227    for ac_exec_ext in '' $ac_executable_extensions; do
6228  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6229    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6230    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6231    break 2
6232  fi
6233done
6234  done
6235IFS=$as_save_IFS
6236
6237fi
6238fi
6239STRIP=$ac_cv_prog_STRIP
6240if test -n "$STRIP"; then
6241  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6242printf "%s\n" "$STRIP" >&6; }
6243else
6244  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6245printf "%s\n" "no" >&6; }
6246fi
6247
6248
6249fi
6250if test -z "$ac_cv_prog_STRIP"; then
6251  ac_ct_STRIP=$STRIP
6252  # Extract the first word of "strip", so it can be a program name with args.
6253set dummy strip; ac_word=$2
6254{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6255printf %s "checking for $ac_word... " >&6; }
6256if test ${ac_cv_prog_ac_ct_STRIP+y}
6257then :
6258  printf %s "(cached) " >&6
6259else $as_nop
6260  if test -n "$ac_ct_STRIP"; then
6261  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6262else
6263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264for as_dir in $PATH
6265do
6266  IFS=$as_save_IFS
6267  case $as_dir in #(((
6268    '') as_dir=./ ;;
6269    */) ;;
6270    *) as_dir=$as_dir/ ;;
6271  esac
6272    for ac_exec_ext in '' $ac_executable_extensions; do
6273  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6274    ac_cv_prog_ac_ct_STRIP="strip"
6275    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6276    break 2
6277  fi
6278done
6279  done
6280IFS=$as_save_IFS
6281
6282fi
6283fi
6284ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6285if test -n "$ac_ct_STRIP"; then
6286  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6287printf "%s\n" "$ac_ct_STRIP" >&6; }
6288else
6289  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6290printf "%s\n" "no" >&6; }
6291fi
6292
6293  if test "x$ac_ct_STRIP" = x; then
6294    STRIP=":"
6295  else
6296    case $cross_compiling:$ac_tool_warned in
6297yes:)
6298{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6299printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6300ac_tool_warned=yes ;;
6301esac
6302    STRIP=$ac_ct_STRIP
6303  fi
6304else
6305  STRIP="$ac_cv_prog_STRIP"
6306fi
6307
6308test -z "$STRIP" && STRIP=:
6309
6310
6311
6312
6313
6314
6315if test -n "$ac_tool_prefix"; then
6316  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6317set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6318{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6319printf %s "checking for $ac_word... " >&6; }
6320if test ${ac_cv_prog_RANLIB+y}
6321then :
6322  printf %s "(cached) " >&6
6323else $as_nop
6324  if test -n "$RANLIB"; then
6325  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6326else
6327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328for as_dir in $PATH
6329do
6330  IFS=$as_save_IFS
6331  case $as_dir in #(((
6332    '') as_dir=./ ;;
6333    */) ;;
6334    *) as_dir=$as_dir/ ;;
6335  esac
6336    for ac_exec_ext in '' $ac_executable_extensions; do
6337  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6338    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6339    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6340    break 2
6341  fi
6342done
6343  done
6344IFS=$as_save_IFS
6345
6346fi
6347fi
6348RANLIB=$ac_cv_prog_RANLIB
6349if test -n "$RANLIB"; then
6350  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6351printf "%s\n" "$RANLIB" >&6; }
6352else
6353  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6354printf "%s\n" "no" >&6; }
6355fi
6356
6357
6358fi
6359if test -z "$ac_cv_prog_RANLIB"; then
6360  ac_ct_RANLIB=$RANLIB
6361  # Extract the first word of "ranlib", so it can be a program name with args.
6362set dummy ranlib; ac_word=$2
6363{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6364printf %s "checking for $ac_word... " >&6; }
6365if test ${ac_cv_prog_ac_ct_RANLIB+y}
6366then :
6367  printf %s "(cached) " >&6
6368else $as_nop
6369  if test -n "$ac_ct_RANLIB"; then
6370  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6371else
6372as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373for as_dir in $PATH
6374do
6375  IFS=$as_save_IFS
6376  case $as_dir in #(((
6377    '') as_dir=./ ;;
6378    */) ;;
6379    *) as_dir=$as_dir/ ;;
6380  esac
6381    for ac_exec_ext in '' $ac_executable_extensions; do
6382  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6383    ac_cv_prog_ac_ct_RANLIB="ranlib"
6384    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6385    break 2
6386  fi
6387done
6388  done
6389IFS=$as_save_IFS
6390
6391fi
6392fi
6393ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6394if test -n "$ac_ct_RANLIB"; then
6395  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6396printf "%s\n" "$ac_ct_RANLIB" >&6; }
6397else
6398  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6399printf "%s\n" "no" >&6; }
6400fi
6401
6402  if test "x$ac_ct_RANLIB" = x; then
6403    RANLIB=":"
6404  else
6405    case $cross_compiling:$ac_tool_warned in
6406yes:)
6407{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6408printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6409ac_tool_warned=yes ;;
6410esac
6411    RANLIB=$ac_ct_RANLIB
6412  fi
6413else
6414  RANLIB="$ac_cv_prog_RANLIB"
6415fi
6416
6417test -z "$RANLIB" && RANLIB=:
6418
6419
6420
6421
6422
6423
6424# Determine commands to create old-style static archives.
6425old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6426old_postinstall_cmds='chmod 644 $oldlib'
6427old_postuninstall_cmds=
6428
6429if test -n "$RANLIB"; then
6430  case $host_os in
6431  bitrig* | openbsd*)
6432    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6433    ;;
6434  *)
6435    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6436    ;;
6437  esac
6438  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6439fi
6440
6441case $host_os in
6442  darwin*)
6443    lock_old_archive_extraction=yes ;;
6444  *)
6445    lock_old_archive_extraction=no ;;
6446esac
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486# If no C compiler was specified, use CC.
6487LTCC=${LTCC-"$CC"}
6488
6489# If no C compiler flags were specified, use CFLAGS.
6490LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6491
6492# Allow CC to be a program name with arguments.
6493compiler=$CC
6494
6495
6496# Check for command to grab the raw symbol name followed by C symbol from nm.
6497{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6498printf %s "checking command to parse $NM output from $compiler object... " >&6; }
6499if test ${lt_cv_sys_global_symbol_pipe+y}
6500then :
6501  printf %s "(cached) " >&6
6502else $as_nop
6503
6504# These are sane defaults that work on at least a few old systems.
6505# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6506
6507# Character class describing NM global symbol codes.
6508symcode='[BCDEGRST]'
6509
6510# Regexp to match symbols that can be accessed directly from C.
6511sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6512
6513# Define system-specific variables.
6514case $host_os in
6515aix*)
6516  symcode='[BCDT]'
6517  ;;
6518cygwin* | mingw* | pw32* | cegcc*)
6519  symcode='[ABCDGISTW]'
6520  ;;
6521hpux*)
6522  if test ia64 = "$host_cpu"; then
6523    symcode='[ABCDEGRST]'
6524  fi
6525  ;;
6526irix* | nonstopux*)
6527  symcode='[BCDEGRST]'
6528  ;;
6529osf*)
6530  symcode='[BCDEGQRST]'
6531  ;;
6532solaris*)
6533  symcode='[BDRT]'
6534  ;;
6535sco3.2v5*)
6536  symcode='[DT]'
6537  ;;
6538sysv4.2uw2*)
6539  symcode='[DT]'
6540  ;;
6541sysv5* | sco5v6* | unixware* | OpenUNIX*)
6542  symcode='[ABDT]'
6543  ;;
6544sysv4)
6545  symcode='[DFNSTU]'
6546  ;;
6547esac
6548
6549# If we're using GNU nm, then use its standard symbol codes.
6550case `$NM -V 2>&1` in
6551*GNU* | *'with BFD'*)
6552  symcode='[ABCDGIRSTW]' ;;
6553esac
6554
6555if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6556  # Gets list of data symbols to import.
6557  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6558  # Adjust the below global symbol transforms to fixup imported variables.
6559  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6560  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6561  lt_c_name_lib_hook="\
6562  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6563  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6564else
6565  # Disable hooks by default.
6566  lt_cv_sys_global_symbol_to_import=
6567  lt_cdecl_hook=
6568  lt_c_name_hook=
6569  lt_c_name_lib_hook=
6570fi
6571
6572# Transform an extracted symbol line into a proper C declaration.
6573# Some systems (esp. on ia64) link data and code symbols differently,
6574# so use this general approach.
6575lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6576$lt_cdecl_hook\
6577" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6578" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6579
6580# Transform an extracted symbol line into symbol name and symbol address
6581lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6582$lt_c_name_hook\
6583" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6584" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6585
6586# Transform an extracted symbol line into symbol name with lib prefix and
6587# symbol address.
6588lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6589$lt_c_name_lib_hook\
6590" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6591" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6592" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6593
6594# Handle CRLF in mingw tool chain
6595opt_cr=
6596case $build_os in
6597mingw*)
6598  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6599  ;;
6600esac
6601
6602# Try without a prefix underscore, then with it.
6603for ac_symprfx in "" "_"; do
6604
6605  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6606  symxfrm="\\1 $ac_symprfx\\2 \\2"
6607
6608  # Write the raw and C identifiers.
6609  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6610    # Fake it for dumpbin and say T for any non-static function,
6611    # D for any global variable and I for any imported variable.
6612    # Also find C++ and __fastcall symbols from MSVC++ or ICC,
6613    # which start with @ or ?.
6614    lt_cv_sys_global_symbol_pipe="$AWK '"\
6615"     {last_section=section; section=\$ 3};"\
6616"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6617"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6618"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6619"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6620"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6621"     \$ 0!~/External *\|/{next};"\
6622"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6623"     {if(hide[section]) next};"\
6624"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6625"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6626"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6627"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6628"     ' prfx=^$ac_symprfx"
6629  else
6630    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6631  fi
6632  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6633
6634  # Check to see that the pipe works correctly.
6635  pipe_works=no
6636
6637  rm -f conftest*
6638  cat > conftest.$ac_ext <<_LT_EOF
6639#ifdef __cplusplus
6640extern "C" {
6641#endif
6642char nm_test_var;
6643void nm_test_func(void);
6644void nm_test_func(void){}
6645#ifdef __cplusplus
6646}
6647#endif
6648int main(){nm_test_var='a';nm_test_func();return(0);}
6649_LT_EOF
6650
6651  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6652  (eval $ac_compile) 2>&5
6653  ac_status=$?
6654  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6655  test $ac_status = 0; }; then
6656    # Now try to grab the symbols.
6657    nlist=conftest.nm
6658    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6659  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6660  ac_status=$?
6661  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6662  test $ac_status = 0; } && test -s "$nlist"; then
6663      # Try sorting and uniquifying the output.
6664      if sort "$nlist" | uniq > "$nlist"T; then
6665	mv -f "$nlist"T "$nlist"
6666      else
6667	rm -f "$nlist"T
6668      fi
6669
6670      # Make sure that we snagged all the symbols we need.
6671      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6672	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6673	  cat <<_LT_EOF > conftest.$ac_ext
6674/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6675#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6676/* DATA imports from DLLs on WIN32 can't be const, because runtime
6677   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6678# define LT_DLSYM_CONST
6679#elif defined __osf__
6680/* This system does not cope well with relocations in const data.  */
6681# define LT_DLSYM_CONST
6682#else
6683# define LT_DLSYM_CONST const
6684#endif
6685
6686#ifdef __cplusplus
6687extern "C" {
6688#endif
6689
6690_LT_EOF
6691	  # Now generate the symbol file.
6692	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6693
6694	  cat <<_LT_EOF >> conftest.$ac_ext
6695
6696/* The mapping between symbol names and symbols.  */
6697LT_DLSYM_CONST struct {
6698  const char *name;
6699  void       *address;
6700}
6701lt__PROGRAM__LTX_preloaded_symbols[] =
6702{
6703  { "@PROGRAM@", (void *) 0 },
6704_LT_EOF
6705	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6706	  cat <<\_LT_EOF >> conftest.$ac_ext
6707  {0, (void *) 0}
6708};
6709
6710/* This works around a problem in FreeBSD linker */
6711#ifdef FREEBSD_WORKAROUND
6712static const void *lt_preloaded_setup() {
6713  return lt__PROGRAM__LTX_preloaded_symbols;
6714}
6715#endif
6716
6717#ifdef __cplusplus
6718}
6719#endif
6720_LT_EOF
6721	  # Now try linking the two files.
6722	  mv conftest.$ac_objext conftstm.$ac_objext
6723	  lt_globsym_save_LIBS=$LIBS
6724	  lt_globsym_save_CFLAGS=$CFLAGS
6725	  LIBS=conftstm.$ac_objext
6726	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6727	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6728  (eval $ac_link) 2>&5
6729  ac_status=$?
6730  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6731  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6732	    pipe_works=yes
6733	  fi
6734	  LIBS=$lt_globsym_save_LIBS
6735	  CFLAGS=$lt_globsym_save_CFLAGS
6736	else
6737	  echo "cannot find nm_test_func in $nlist" >&5
6738	fi
6739      else
6740	echo "cannot find nm_test_var in $nlist" >&5
6741      fi
6742    else
6743      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6744    fi
6745  else
6746    echo "$progname: failed program was:" >&5
6747    cat conftest.$ac_ext >&5
6748  fi
6749  rm -rf conftest* conftst*
6750
6751  # Do not use the global_symbol_pipe unless it works.
6752  if test yes = "$pipe_works"; then
6753    break
6754  else
6755    lt_cv_sys_global_symbol_pipe=
6756  fi
6757done
6758
6759fi
6760
6761if test -z "$lt_cv_sys_global_symbol_pipe"; then
6762  lt_cv_sys_global_symbol_to_cdecl=
6763fi
6764if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6765  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6766printf "%s\n" "failed" >&6; }
6767else
6768  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6769printf "%s\n" "ok" >&6; }
6770fi
6771
6772# Response file support.
6773if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6774  nm_file_list_spec='@'
6775elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6776  nm_file_list_spec='@'
6777fi
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6816printf %s "checking for sysroot... " >&6; }
6817
6818# Check whether --with-sysroot was given.
6819if test ${with_sysroot+y}
6820then :
6821  withval=$with_sysroot;
6822else $as_nop
6823  with_sysroot=no
6824fi
6825
6826
6827lt_sysroot=
6828case $with_sysroot in #(
6829 yes)
6830   if test yes = "$GCC"; then
6831     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6832   fi
6833   ;; #(
6834 /*)
6835   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6836   ;; #(
6837 no|'')
6838   ;; #(
6839 *)
6840   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6841printf "%s\n" "$with_sysroot" >&6; }
6842   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6843   ;;
6844esac
6845
6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6847printf "%s\n" "${lt_sysroot:-no}" >&6; }
6848
6849
6850
6851
6852
6853{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6854printf %s "checking for a working dd... " >&6; }
6855if test ${ac_cv_path_lt_DD+y}
6856then :
6857  printf %s "(cached) " >&6
6858else $as_nop
6859  printf 0123456789abcdef0123456789abcdef >conftest.i
6860cat conftest.i conftest.i >conftest2.i
6861: ${lt_DD:=$DD}
6862if test -z "$lt_DD"; then
6863  ac_path_lt_DD_found=false
6864  # Loop through the user's path and test for each of PROGNAME-LIST
6865  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866for as_dir in $PATH
6867do
6868  IFS=$as_save_IFS
6869  case $as_dir in #(((
6870    '') as_dir=./ ;;
6871    */) ;;
6872    *) as_dir=$as_dir/ ;;
6873  esac
6874    for ac_prog in dd
6875   do
6876    for ac_exec_ext in '' $ac_executable_extensions; do
6877      ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
6878      as_fn_executable_p "$ac_path_lt_DD" || continue
6879if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6880  cmp -s conftest.i conftest.out \
6881  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6882fi
6883      $ac_path_lt_DD_found && break 3
6884    done
6885  done
6886  done
6887IFS=$as_save_IFS
6888  if test -z "$ac_cv_path_lt_DD"; then
6889    :
6890  fi
6891else
6892  ac_cv_path_lt_DD=$lt_DD
6893fi
6894
6895rm -f conftest.i conftest2.i conftest.out
6896fi
6897{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6898printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
6899
6900
6901{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6902printf %s "checking how to truncate binary pipes... " >&6; }
6903if test ${lt_cv_truncate_bin+y}
6904then :
6905  printf %s "(cached) " >&6
6906else $as_nop
6907  printf 0123456789abcdef0123456789abcdef >conftest.i
6908cat conftest.i conftest.i >conftest2.i
6909lt_cv_truncate_bin=
6910if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6911  cmp -s conftest.i conftest.out \
6912  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6913fi
6914rm -f conftest.i conftest2.i conftest.out
6915test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6916fi
6917{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6918printf "%s\n" "$lt_cv_truncate_bin" >&6; }
6919
6920
6921
6922
6923
6924
6925
6926# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6927func_cc_basename ()
6928{
6929    for cc_temp in $*""; do
6930      case $cc_temp in
6931        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6932        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6933        \-*) ;;
6934        *) break;;
6935      esac
6936    done
6937    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6938}
6939
6940# Check whether --enable-libtool-lock was given.
6941if test ${enable_libtool_lock+y}
6942then :
6943  enableval=$enable_libtool_lock;
6944fi
6945
6946test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6947
6948# Some flags need to be propagated to the compiler or linker for good
6949# libtool support.
6950case $host in
6951ia64-*-hpux*)
6952  # Find out what ABI is being produced by ac_compile, and set mode
6953  # options accordingly.
6954  echo 'int i;' > conftest.$ac_ext
6955  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6956  (eval $ac_compile) 2>&5
6957  ac_status=$?
6958  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6959  test $ac_status = 0; }; then
6960    case `/usr/bin/file conftest.$ac_objext` in
6961      *ELF-32*)
6962	HPUX_IA64_MODE=32
6963	;;
6964      *ELF-64*)
6965	HPUX_IA64_MODE=64
6966	;;
6967    esac
6968  fi
6969  rm -rf conftest*
6970  ;;
6971*-*-irix6*)
6972  # Find out what ABI is being produced by ac_compile, and set linker
6973  # options accordingly.
6974  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6975  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6976  (eval $ac_compile) 2>&5
6977  ac_status=$?
6978  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6979  test $ac_status = 0; }; then
6980    if test yes = "$lt_cv_prog_gnu_ld"; then
6981      case `/usr/bin/file conftest.$ac_objext` in
6982	*32-bit*)
6983	  LD="${LD-ld} -melf32bsmip"
6984	  ;;
6985	*N32*)
6986	  LD="${LD-ld} -melf32bmipn32"
6987	  ;;
6988	*64-bit*)
6989	  LD="${LD-ld} -melf64bmip"
6990	;;
6991      esac
6992    else
6993      case `/usr/bin/file conftest.$ac_objext` in
6994	*32-bit*)
6995	  LD="${LD-ld} -32"
6996	  ;;
6997	*N32*)
6998	  LD="${LD-ld} -n32"
6999	  ;;
7000	*64-bit*)
7001	  LD="${LD-ld} -64"
7002	  ;;
7003      esac
7004    fi
7005  fi
7006  rm -rf conftest*
7007  ;;
7008
7009mips64*-*linux*)
7010  # Find out what ABI is being produced by ac_compile, and set linker
7011  # options accordingly.
7012  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7013  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7014  (eval $ac_compile) 2>&5
7015  ac_status=$?
7016  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7017  test $ac_status = 0; }; then
7018    emul=elf
7019    case `/usr/bin/file conftest.$ac_objext` in
7020      *32-bit*)
7021	emul="${emul}32"
7022	;;
7023      *64-bit*)
7024	emul="${emul}64"
7025	;;
7026    esac
7027    case `/usr/bin/file conftest.$ac_objext` in
7028      *MSB*)
7029	emul="${emul}btsmip"
7030	;;
7031      *LSB*)
7032	emul="${emul}ltsmip"
7033	;;
7034    esac
7035    case `/usr/bin/file conftest.$ac_objext` in
7036      *N32*)
7037	emul="${emul}n32"
7038	;;
7039    esac
7040    LD="${LD-ld} -m $emul"
7041  fi
7042  rm -rf conftest*
7043  ;;
7044
7045x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7046s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7047  # Find out what ABI is being produced by ac_compile, and set linker
7048  # options accordingly.  Note that the listed cases only cover the
7049  # situations where additional linker options are needed (such as when
7050  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7051  # vice versa); the common cases where no linker options are needed do
7052  # not appear in the list.
7053  echo 'int i;' > conftest.$ac_ext
7054  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7055  (eval $ac_compile) 2>&5
7056  ac_status=$?
7057  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7058  test $ac_status = 0; }; then
7059    case `/usr/bin/file conftest.o` in
7060      *32-bit*)
7061	case $host in
7062	  x86_64-*kfreebsd*-gnu)
7063	    LD="${LD-ld} -m elf_i386_fbsd"
7064	    ;;
7065	  x86_64-*linux*)
7066	    case `/usr/bin/file conftest.o` in
7067	      *x86-64*)
7068		LD="${LD-ld} -m elf32_x86_64"
7069		;;
7070	      *)
7071		LD="${LD-ld} -m elf_i386"
7072		;;
7073	    esac
7074	    ;;
7075	  powerpc64le-*linux*)
7076	    LD="${LD-ld} -m elf32lppclinux"
7077	    ;;
7078	  powerpc64-*linux*)
7079	    LD="${LD-ld} -m elf32ppclinux"
7080	    ;;
7081	  s390x-*linux*)
7082	    LD="${LD-ld} -m elf_s390"
7083	    ;;
7084	  sparc64-*linux*)
7085	    LD="${LD-ld} -m elf32_sparc"
7086	    ;;
7087	esac
7088	;;
7089      *64-bit*)
7090	case $host in
7091	  x86_64-*kfreebsd*-gnu)
7092	    LD="${LD-ld} -m elf_x86_64_fbsd"
7093	    ;;
7094	  x86_64-*linux*)
7095	    LD="${LD-ld} -m elf_x86_64"
7096	    ;;
7097	  powerpcle-*linux*)
7098	    LD="${LD-ld} -m elf64lppc"
7099	    ;;
7100	  powerpc-*linux*)
7101	    LD="${LD-ld} -m elf64ppc"
7102	    ;;
7103	  s390*-*linux*|s390*-*tpf*)
7104	    LD="${LD-ld} -m elf64_s390"
7105	    ;;
7106	  sparc*-*linux*)
7107	    LD="${LD-ld} -m elf64_sparc"
7108	    ;;
7109	esac
7110	;;
7111    esac
7112  fi
7113  rm -rf conftest*
7114  ;;
7115
7116*-*-sco3.2v5*)
7117  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7118  SAVE_CFLAGS=$CFLAGS
7119  CFLAGS="$CFLAGS -belf"
7120  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7121printf %s "checking whether the C compiler needs -belf... " >&6; }
7122if test ${lt_cv_cc_needs_belf+y}
7123then :
7124  printf %s "(cached) " >&6
7125else $as_nop
7126  ac_ext=c
7127ac_cpp='$CPP $CPPFLAGS'
7128ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7129ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7130ac_compiler_gnu=$ac_cv_c_compiler_gnu
7131
7132     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7133/* end confdefs.h.  */
7134
7135int
7136main (void)
7137{
7138
7139  ;
7140  return 0;
7141}
7142_ACEOF
7143if ac_fn_c_try_link "$LINENO"
7144then :
7145  lt_cv_cc_needs_belf=yes
7146else $as_nop
7147  lt_cv_cc_needs_belf=no
7148fi
7149rm -f core conftest.err conftest.$ac_objext conftest.beam \
7150    conftest$ac_exeext conftest.$ac_ext
7151     ac_ext=c
7152ac_cpp='$CPP $CPPFLAGS'
7153ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7154ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7155ac_compiler_gnu=$ac_cv_c_compiler_gnu
7156
7157fi
7158{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7159printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
7160  if test yes != "$lt_cv_cc_needs_belf"; then
7161    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7162    CFLAGS=$SAVE_CFLAGS
7163  fi
7164  ;;
7165*-*solaris*)
7166  # Find out what ABI is being produced by ac_compile, and set linker
7167  # options accordingly.
7168  echo 'int i;' > conftest.$ac_ext
7169  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7170  (eval $ac_compile) 2>&5
7171  ac_status=$?
7172  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7173  test $ac_status = 0; }; then
7174    case `/usr/bin/file conftest.o` in
7175    *64-bit*)
7176      case $lt_cv_prog_gnu_ld in
7177      yes*)
7178        case $host in
7179        i?86-*-solaris*|x86_64-*-solaris*)
7180          LD="${LD-ld} -m elf_x86_64"
7181          ;;
7182        sparc*-*-solaris*)
7183          LD="${LD-ld} -m elf64_sparc"
7184          ;;
7185        esac
7186        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7187        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7188          LD=${LD-ld}_sol2
7189        fi
7190        ;;
7191      *)
7192	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7193	  LD="${LD-ld} -64"
7194	fi
7195	;;
7196      esac
7197      ;;
7198    esac
7199  fi
7200  rm -rf conftest*
7201  ;;
7202esac
7203
7204need_locks=$enable_libtool_lock
7205
7206if test -n "$ac_tool_prefix"; then
7207  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7208set dummy ${ac_tool_prefix}mt; ac_word=$2
7209{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210printf %s "checking for $ac_word... " >&6; }
7211if test ${ac_cv_prog_MANIFEST_TOOL+y}
7212then :
7213  printf %s "(cached) " >&6
7214else $as_nop
7215  if test -n "$MANIFEST_TOOL"; then
7216  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7217else
7218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7219for as_dir in $PATH
7220do
7221  IFS=$as_save_IFS
7222  case $as_dir in #(((
7223    '') as_dir=./ ;;
7224    */) ;;
7225    *) as_dir=$as_dir/ ;;
7226  esac
7227    for ac_exec_ext in '' $ac_executable_extensions; do
7228  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7229    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7230    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7231    break 2
7232  fi
7233done
7234  done
7235IFS=$as_save_IFS
7236
7237fi
7238fi
7239MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7240if test -n "$MANIFEST_TOOL"; then
7241  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7242printf "%s\n" "$MANIFEST_TOOL" >&6; }
7243else
7244  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7245printf "%s\n" "no" >&6; }
7246fi
7247
7248
7249fi
7250if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7251  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7252  # Extract the first word of "mt", so it can be a program name with args.
7253set dummy mt; ac_word=$2
7254{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7255printf %s "checking for $ac_word... " >&6; }
7256if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
7257then :
7258  printf %s "(cached) " >&6
7259else $as_nop
7260  if test -n "$ac_ct_MANIFEST_TOOL"; then
7261  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7262else
7263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7264for as_dir in $PATH
7265do
7266  IFS=$as_save_IFS
7267  case $as_dir in #(((
7268    '') as_dir=./ ;;
7269    */) ;;
7270    *) as_dir=$as_dir/ ;;
7271  esac
7272    for ac_exec_ext in '' $ac_executable_extensions; do
7273  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7274    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7275    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7276    break 2
7277  fi
7278done
7279  done
7280IFS=$as_save_IFS
7281
7282fi
7283fi
7284ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7285if test -n "$ac_ct_MANIFEST_TOOL"; then
7286  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7287printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
7288else
7289  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7290printf "%s\n" "no" >&6; }
7291fi
7292
7293  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7294    MANIFEST_TOOL=":"
7295  else
7296    case $cross_compiling:$ac_tool_warned in
7297yes:)
7298{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7299printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7300ac_tool_warned=yes ;;
7301esac
7302    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7303  fi
7304else
7305  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7306fi
7307
7308test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7309{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7310printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7311if test ${lt_cv_path_mainfest_tool+y}
7312then :
7313  printf %s "(cached) " >&6
7314else $as_nop
7315  lt_cv_path_mainfest_tool=no
7316  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7317  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7318  cat conftest.err >&5
7319  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7320    lt_cv_path_mainfest_tool=yes
7321  fi
7322  rm -f conftest*
7323fi
7324{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7325printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
7326if test yes != "$lt_cv_path_mainfest_tool"; then
7327  MANIFEST_TOOL=:
7328fi
7329
7330
7331
7332
7333
7334
7335  case $host_os in
7336    rhapsody* | darwin*)
7337    if test -n "$ac_tool_prefix"; then
7338  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7339set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7340{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341printf %s "checking for $ac_word... " >&6; }
7342if test ${ac_cv_prog_DSYMUTIL+y}
7343then :
7344  printf %s "(cached) " >&6
7345else $as_nop
7346  if test -n "$DSYMUTIL"; then
7347  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7348else
7349as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350for as_dir in $PATH
7351do
7352  IFS=$as_save_IFS
7353  case $as_dir in #(((
7354    '') as_dir=./ ;;
7355    */) ;;
7356    *) as_dir=$as_dir/ ;;
7357  esac
7358    for ac_exec_ext in '' $ac_executable_extensions; do
7359  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7360    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7361    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7362    break 2
7363  fi
7364done
7365  done
7366IFS=$as_save_IFS
7367
7368fi
7369fi
7370DSYMUTIL=$ac_cv_prog_DSYMUTIL
7371if test -n "$DSYMUTIL"; then
7372  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7373printf "%s\n" "$DSYMUTIL" >&6; }
7374else
7375  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7376printf "%s\n" "no" >&6; }
7377fi
7378
7379
7380fi
7381if test -z "$ac_cv_prog_DSYMUTIL"; then
7382  ac_ct_DSYMUTIL=$DSYMUTIL
7383  # Extract the first word of "dsymutil", so it can be a program name with args.
7384set dummy dsymutil; ac_word=$2
7385{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7386printf %s "checking for $ac_word... " >&6; }
7387if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
7388then :
7389  printf %s "(cached) " >&6
7390else $as_nop
7391  if test -n "$ac_ct_DSYMUTIL"; then
7392  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7393else
7394as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7395for as_dir in $PATH
7396do
7397  IFS=$as_save_IFS
7398  case $as_dir in #(((
7399    '') as_dir=./ ;;
7400    */) ;;
7401    *) as_dir=$as_dir/ ;;
7402  esac
7403    for ac_exec_ext in '' $ac_executable_extensions; do
7404  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7405    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7406    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7407    break 2
7408  fi
7409done
7410  done
7411IFS=$as_save_IFS
7412
7413fi
7414fi
7415ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7416if test -n "$ac_ct_DSYMUTIL"; then
7417  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7418printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
7419else
7420  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421printf "%s\n" "no" >&6; }
7422fi
7423
7424  if test "x$ac_ct_DSYMUTIL" = x; then
7425    DSYMUTIL=":"
7426  else
7427    case $cross_compiling:$ac_tool_warned in
7428yes:)
7429{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7430printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7431ac_tool_warned=yes ;;
7432esac
7433    DSYMUTIL=$ac_ct_DSYMUTIL
7434  fi
7435else
7436  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7437fi
7438
7439    if test -n "$ac_tool_prefix"; then
7440  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7441set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7442{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443printf %s "checking for $ac_word... " >&6; }
7444if test ${ac_cv_prog_NMEDIT+y}
7445then :
7446  printf %s "(cached) " >&6
7447else $as_nop
7448  if test -n "$NMEDIT"; then
7449  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7450else
7451as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452for as_dir in $PATH
7453do
7454  IFS=$as_save_IFS
7455  case $as_dir in #(((
7456    '') as_dir=./ ;;
7457    */) ;;
7458    *) as_dir=$as_dir/ ;;
7459  esac
7460    for ac_exec_ext in '' $ac_executable_extensions; do
7461  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7462    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7463    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7464    break 2
7465  fi
7466done
7467  done
7468IFS=$as_save_IFS
7469
7470fi
7471fi
7472NMEDIT=$ac_cv_prog_NMEDIT
7473if test -n "$NMEDIT"; then
7474  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7475printf "%s\n" "$NMEDIT" >&6; }
7476else
7477  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7478printf "%s\n" "no" >&6; }
7479fi
7480
7481
7482fi
7483if test -z "$ac_cv_prog_NMEDIT"; then
7484  ac_ct_NMEDIT=$NMEDIT
7485  # Extract the first word of "nmedit", so it can be a program name with args.
7486set dummy nmedit; ac_word=$2
7487{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7488printf %s "checking for $ac_word... " >&6; }
7489if test ${ac_cv_prog_ac_ct_NMEDIT+y}
7490then :
7491  printf %s "(cached) " >&6
7492else $as_nop
7493  if test -n "$ac_ct_NMEDIT"; then
7494  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7495else
7496as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7497for as_dir in $PATH
7498do
7499  IFS=$as_save_IFS
7500  case $as_dir in #(((
7501    '') as_dir=./ ;;
7502    */) ;;
7503    *) as_dir=$as_dir/ ;;
7504  esac
7505    for ac_exec_ext in '' $ac_executable_extensions; do
7506  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7507    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7508    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7509    break 2
7510  fi
7511done
7512  done
7513IFS=$as_save_IFS
7514
7515fi
7516fi
7517ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7518if test -n "$ac_ct_NMEDIT"; then
7519  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7520printf "%s\n" "$ac_ct_NMEDIT" >&6; }
7521else
7522  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7523printf "%s\n" "no" >&6; }
7524fi
7525
7526  if test "x$ac_ct_NMEDIT" = x; then
7527    NMEDIT=":"
7528  else
7529    case $cross_compiling:$ac_tool_warned in
7530yes:)
7531{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7532printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7533ac_tool_warned=yes ;;
7534esac
7535    NMEDIT=$ac_ct_NMEDIT
7536  fi
7537else
7538  NMEDIT="$ac_cv_prog_NMEDIT"
7539fi
7540
7541    if test -n "$ac_tool_prefix"; then
7542  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7543set dummy ${ac_tool_prefix}lipo; ac_word=$2
7544{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7545printf %s "checking for $ac_word... " >&6; }
7546if test ${ac_cv_prog_LIPO+y}
7547then :
7548  printf %s "(cached) " >&6
7549else $as_nop
7550  if test -n "$LIPO"; then
7551  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7552else
7553as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7554for as_dir in $PATH
7555do
7556  IFS=$as_save_IFS
7557  case $as_dir in #(((
7558    '') as_dir=./ ;;
7559    */) ;;
7560    *) as_dir=$as_dir/ ;;
7561  esac
7562    for ac_exec_ext in '' $ac_executable_extensions; do
7563  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7564    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7565    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7566    break 2
7567  fi
7568done
7569  done
7570IFS=$as_save_IFS
7571
7572fi
7573fi
7574LIPO=$ac_cv_prog_LIPO
7575if test -n "$LIPO"; then
7576  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7577printf "%s\n" "$LIPO" >&6; }
7578else
7579  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580printf "%s\n" "no" >&6; }
7581fi
7582
7583
7584fi
7585if test -z "$ac_cv_prog_LIPO"; then
7586  ac_ct_LIPO=$LIPO
7587  # Extract the first word of "lipo", so it can be a program name with args.
7588set dummy lipo; ac_word=$2
7589{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590printf %s "checking for $ac_word... " >&6; }
7591if test ${ac_cv_prog_ac_ct_LIPO+y}
7592then :
7593  printf %s "(cached) " >&6
7594else $as_nop
7595  if test -n "$ac_ct_LIPO"; then
7596  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7597else
7598as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599for as_dir in $PATH
7600do
7601  IFS=$as_save_IFS
7602  case $as_dir in #(((
7603    '') as_dir=./ ;;
7604    */) ;;
7605    *) as_dir=$as_dir/ ;;
7606  esac
7607    for ac_exec_ext in '' $ac_executable_extensions; do
7608  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7609    ac_cv_prog_ac_ct_LIPO="lipo"
7610    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7611    break 2
7612  fi
7613done
7614  done
7615IFS=$as_save_IFS
7616
7617fi
7618fi
7619ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7620if test -n "$ac_ct_LIPO"; then
7621  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7622printf "%s\n" "$ac_ct_LIPO" >&6; }
7623else
7624  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7625printf "%s\n" "no" >&6; }
7626fi
7627
7628  if test "x$ac_ct_LIPO" = x; then
7629    LIPO=":"
7630  else
7631    case $cross_compiling:$ac_tool_warned in
7632yes:)
7633{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7634printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7635ac_tool_warned=yes ;;
7636esac
7637    LIPO=$ac_ct_LIPO
7638  fi
7639else
7640  LIPO="$ac_cv_prog_LIPO"
7641fi
7642
7643    if test -n "$ac_tool_prefix"; then
7644  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7645set dummy ${ac_tool_prefix}otool; ac_word=$2
7646{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7647printf %s "checking for $ac_word... " >&6; }
7648if test ${ac_cv_prog_OTOOL+y}
7649then :
7650  printf %s "(cached) " >&6
7651else $as_nop
7652  if test -n "$OTOOL"; then
7653  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7654else
7655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7656for as_dir in $PATH
7657do
7658  IFS=$as_save_IFS
7659  case $as_dir in #(((
7660    '') as_dir=./ ;;
7661    */) ;;
7662    *) as_dir=$as_dir/ ;;
7663  esac
7664    for ac_exec_ext in '' $ac_executable_extensions; do
7665  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7666    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7667    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7668    break 2
7669  fi
7670done
7671  done
7672IFS=$as_save_IFS
7673
7674fi
7675fi
7676OTOOL=$ac_cv_prog_OTOOL
7677if test -n "$OTOOL"; then
7678  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7679printf "%s\n" "$OTOOL" >&6; }
7680else
7681  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7682printf "%s\n" "no" >&6; }
7683fi
7684
7685
7686fi
7687if test -z "$ac_cv_prog_OTOOL"; then
7688  ac_ct_OTOOL=$OTOOL
7689  # Extract the first word of "otool", so it can be a program name with args.
7690set dummy otool; ac_word=$2
7691{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7692printf %s "checking for $ac_word... " >&6; }
7693if test ${ac_cv_prog_ac_ct_OTOOL+y}
7694then :
7695  printf %s "(cached) " >&6
7696else $as_nop
7697  if test -n "$ac_ct_OTOOL"; then
7698  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7699else
7700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7701for as_dir in $PATH
7702do
7703  IFS=$as_save_IFS
7704  case $as_dir in #(((
7705    '') as_dir=./ ;;
7706    */) ;;
7707    *) as_dir=$as_dir/ ;;
7708  esac
7709    for ac_exec_ext in '' $ac_executable_extensions; do
7710  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7711    ac_cv_prog_ac_ct_OTOOL="otool"
7712    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7713    break 2
7714  fi
7715done
7716  done
7717IFS=$as_save_IFS
7718
7719fi
7720fi
7721ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7722if test -n "$ac_ct_OTOOL"; then
7723  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7724printf "%s\n" "$ac_ct_OTOOL" >&6; }
7725else
7726  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7727printf "%s\n" "no" >&6; }
7728fi
7729
7730  if test "x$ac_ct_OTOOL" = x; then
7731    OTOOL=":"
7732  else
7733    case $cross_compiling:$ac_tool_warned in
7734yes:)
7735{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7736printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7737ac_tool_warned=yes ;;
7738esac
7739    OTOOL=$ac_ct_OTOOL
7740  fi
7741else
7742  OTOOL="$ac_cv_prog_OTOOL"
7743fi
7744
7745    if test -n "$ac_tool_prefix"; then
7746  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7747set dummy ${ac_tool_prefix}otool64; ac_word=$2
7748{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7749printf %s "checking for $ac_word... " >&6; }
7750if test ${ac_cv_prog_OTOOL64+y}
7751then :
7752  printf %s "(cached) " >&6
7753else $as_nop
7754  if test -n "$OTOOL64"; then
7755  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7756else
7757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758for as_dir in $PATH
7759do
7760  IFS=$as_save_IFS
7761  case $as_dir in #(((
7762    '') as_dir=./ ;;
7763    */) ;;
7764    *) as_dir=$as_dir/ ;;
7765  esac
7766    for ac_exec_ext in '' $ac_executable_extensions; do
7767  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7768    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7769    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7770    break 2
7771  fi
7772done
7773  done
7774IFS=$as_save_IFS
7775
7776fi
7777fi
7778OTOOL64=$ac_cv_prog_OTOOL64
7779if test -n "$OTOOL64"; then
7780  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7781printf "%s\n" "$OTOOL64" >&6; }
7782else
7783  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7784printf "%s\n" "no" >&6; }
7785fi
7786
7787
7788fi
7789if test -z "$ac_cv_prog_OTOOL64"; then
7790  ac_ct_OTOOL64=$OTOOL64
7791  # Extract the first word of "otool64", so it can be a program name with args.
7792set dummy otool64; ac_word=$2
7793{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7794printf %s "checking for $ac_word... " >&6; }
7795if test ${ac_cv_prog_ac_ct_OTOOL64+y}
7796then :
7797  printf %s "(cached) " >&6
7798else $as_nop
7799  if test -n "$ac_ct_OTOOL64"; then
7800  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7801else
7802as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7803for as_dir in $PATH
7804do
7805  IFS=$as_save_IFS
7806  case $as_dir in #(((
7807    '') as_dir=./ ;;
7808    */) ;;
7809    *) as_dir=$as_dir/ ;;
7810  esac
7811    for ac_exec_ext in '' $ac_executable_extensions; do
7812  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7813    ac_cv_prog_ac_ct_OTOOL64="otool64"
7814    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7815    break 2
7816  fi
7817done
7818  done
7819IFS=$as_save_IFS
7820
7821fi
7822fi
7823ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7824if test -n "$ac_ct_OTOOL64"; then
7825  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7826printf "%s\n" "$ac_ct_OTOOL64" >&6; }
7827else
7828  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7829printf "%s\n" "no" >&6; }
7830fi
7831
7832  if test "x$ac_ct_OTOOL64" = x; then
7833    OTOOL64=":"
7834  else
7835    case $cross_compiling:$ac_tool_warned in
7836yes:)
7837{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7838printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7839ac_tool_warned=yes ;;
7840esac
7841    OTOOL64=$ac_ct_OTOOL64
7842  fi
7843else
7844  OTOOL64="$ac_cv_prog_OTOOL64"
7845fi
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7874printf %s "checking for -single_module linker flag... " >&6; }
7875if test ${lt_cv_apple_cc_single_mod+y}
7876then :
7877  printf %s "(cached) " >&6
7878else $as_nop
7879  lt_cv_apple_cc_single_mod=no
7880      if test -z "$LT_MULTI_MODULE"; then
7881	# By default we will add the -single_module flag. You can override
7882	# by either setting the environment variable LT_MULTI_MODULE
7883	# non-empty at configure time, or by adding -multi_module to the
7884	# link flags.
7885	rm -rf libconftest.dylib*
7886	echo "int foo(void){return 1;}" > conftest.c
7887	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7888-dynamiclib -Wl,-single_module conftest.c" >&5
7889	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7890	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7891        _lt_result=$?
7892	# If there is a non-empty error log, and "single_module"
7893	# appears in it, assume the flag caused a linker warning
7894        if test -s conftest.err && $GREP single_module conftest.err; then
7895	  cat conftest.err >&5
7896	# Otherwise, if the output was created with a 0 exit code from
7897	# the compiler, it worked.
7898	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7899	  lt_cv_apple_cc_single_mod=yes
7900	else
7901	  cat conftest.err >&5
7902	fi
7903	rm -rf libconftest.dylib*
7904	rm -f conftest.*
7905      fi
7906fi
7907{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7908printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
7909
7910    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7911printf %s "checking for -exported_symbols_list linker flag... " >&6; }
7912if test ${lt_cv_ld_exported_symbols_list+y}
7913then :
7914  printf %s "(cached) " >&6
7915else $as_nop
7916  lt_cv_ld_exported_symbols_list=no
7917      save_LDFLAGS=$LDFLAGS
7918      echo "_main" > conftest.sym
7919      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7920      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7921/* end confdefs.h.  */
7922
7923int
7924main (void)
7925{
7926
7927  ;
7928  return 0;
7929}
7930_ACEOF
7931if ac_fn_c_try_link "$LINENO"
7932then :
7933  lt_cv_ld_exported_symbols_list=yes
7934else $as_nop
7935  lt_cv_ld_exported_symbols_list=no
7936fi
7937rm -f core conftest.err conftest.$ac_objext conftest.beam \
7938    conftest$ac_exeext conftest.$ac_ext
7939	LDFLAGS=$save_LDFLAGS
7940
7941fi
7942{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7943printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
7944
7945    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7946printf %s "checking for -force_load linker flag... " >&6; }
7947if test ${lt_cv_ld_force_load+y}
7948then :
7949  printf %s "(cached) " >&6
7950else $as_nop
7951  lt_cv_ld_force_load=no
7952      cat > conftest.c << _LT_EOF
7953int forced_loaded() { return 2;}
7954_LT_EOF
7955      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7956      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7957      echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
7958      $AR $AR_FLAGS libconftest.a conftest.o 2>&5
7959      echo "$RANLIB libconftest.a" >&5
7960      $RANLIB libconftest.a 2>&5
7961      cat > conftest.c << _LT_EOF
7962int main() { return 0;}
7963_LT_EOF
7964      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7965      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7966      _lt_result=$?
7967      if test -s conftest.err && $GREP force_load conftest.err; then
7968	cat conftest.err >&5
7969      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7970	lt_cv_ld_force_load=yes
7971      else
7972	cat conftest.err >&5
7973      fi
7974        rm -f conftest.err libconftest.a conftest conftest.c
7975        rm -rf conftest.dSYM
7976
7977fi
7978{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7979printf "%s\n" "$lt_cv_ld_force_load" >&6; }
7980    case $host_os in
7981    rhapsody* | darwin1.[012])
7982      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7983    darwin1.*)
7984      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7985    darwin*) # darwin 5.x on
7986      # if running on 10.5 or later, the deployment target defaults
7987      # to the OS version, if on x86, and 10.4, the deployment
7988      # target defaults to 10.4. Don't you love it?
7989      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7990	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7991	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7992	10.[012][,.]*)
7993	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7994	10.*)
7995	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7996      esac
7997    ;;
7998  esac
7999    if test yes = "$lt_cv_apple_cc_single_mod"; then
8000      _lt_dar_single_mod='$single_module'
8001    fi
8002    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8003      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8004    else
8005      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8006    fi
8007    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8008      _lt_dsymutil='~$DSYMUTIL $lib || :'
8009    else
8010      _lt_dsymutil=
8011    fi
8012    ;;
8013  esac
8014
8015# func_munge_path_list VARIABLE PATH
8016# -----------------------------------
8017# VARIABLE is name of variable containing _space_ separated list of
8018# directories to be munged by the contents of PATH, which is string
8019# having a format:
8020# "DIR[:DIR]:"
8021#       string "DIR[ DIR]" will be prepended to VARIABLE
8022# ":DIR[:DIR]"
8023#       string "DIR[ DIR]" will be appended to VARIABLE
8024# "DIRP[:DIRP]::[DIRA:]DIRA"
8025#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8026#       "DIRA[ DIRA]" will be appended to VARIABLE
8027# "DIR[:DIR]"
8028#       VARIABLE will be replaced by "DIR[ DIR]"
8029func_munge_path_list ()
8030{
8031    case x$2 in
8032    x)
8033        ;;
8034    *:)
8035        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8036        ;;
8037    x:*)
8038        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8039        ;;
8040    *::*)
8041        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8042        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8043        ;;
8044    *)
8045        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8046        ;;
8047    esac
8048}
8049
8050ac_header= ac_cache=
8051for ac_item in $ac_header_c_list
8052do
8053  if test $ac_cache; then
8054    ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8055    if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8056      printf "%s\n" "#define $ac_item 1" >> confdefs.h
8057    fi
8058    ac_header= ac_cache=
8059  elif test $ac_header; then
8060    ac_cache=$ac_item
8061  else
8062    ac_header=$ac_item
8063  fi
8064done
8065
8066
8067
8068
8069
8070
8071
8072
8073if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8074then :
8075
8076printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8077
8078fi
8079ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8080"
8081if test "x$ac_cv_header_dlfcn_h" = xyes
8082then :
8083  printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8084
8085fi
8086
8087
8088
8089
8090
8091# Set options
8092
8093
8094
8095        enable_dlopen=no
8096
8097
8098  enable_win32_dll=no
8099
8100
8101            # Check whether --enable-shared was given.
8102if test ${enable_shared+y}
8103then :
8104  enableval=$enable_shared; p=${PACKAGE-default}
8105    case $enableval in
8106    yes) enable_shared=yes ;;
8107    no) enable_shared=no ;;
8108    *)
8109      enable_shared=no
8110      # Look at the argument we got.  We use all the common list separators.
8111      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8112      for pkg in $enableval; do
8113	IFS=$lt_save_ifs
8114	if test "X$pkg" = "X$p"; then
8115	  enable_shared=yes
8116	fi
8117      done
8118      IFS=$lt_save_ifs
8119      ;;
8120    esac
8121else $as_nop
8122  enable_shared=yes
8123fi
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133  # Check whether --enable-static was given.
8134if test ${enable_static+y}
8135then :
8136  enableval=$enable_static; p=${PACKAGE-default}
8137    case $enableval in
8138    yes) enable_static=yes ;;
8139    no) enable_static=no ;;
8140    *)
8141     enable_static=no
8142      # Look at the argument we got.  We use all the common list separators.
8143      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8144      for pkg in $enableval; do
8145	IFS=$lt_save_ifs
8146	if test "X$pkg" = "X$p"; then
8147	  enable_static=yes
8148	fi
8149      done
8150      IFS=$lt_save_ifs
8151      ;;
8152    esac
8153else $as_nop
8154  enable_static=yes
8155fi
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166# Check whether --with-pic was given.
8167if test ${with_pic+y}
8168then :
8169  withval=$with_pic; lt_p=${PACKAGE-default}
8170    case $withval in
8171    yes|no) pic_mode=$withval ;;
8172    *)
8173      pic_mode=default
8174      # Look at the argument we got.  We use all the common list separators.
8175      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8176      for lt_pkg in $withval; do
8177	IFS=$lt_save_ifs
8178	if test "X$lt_pkg" = "X$lt_p"; then
8179	  pic_mode=yes
8180	fi
8181      done
8182      IFS=$lt_save_ifs
8183      ;;
8184    esac
8185else $as_nop
8186  pic_mode=default
8187fi
8188
8189
8190
8191
8192
8193
8194
8195
8196  # Check whether --enable-fast-install was given.
8197if test ${enable_fast_install+y}
8198then :
8199  enableval=$enable_fast_install; p=${PACKAGE-default}
8200    case $enableval in
8201    yes) enable_fast_install=yes ;;
8202    no) enable_fast_install=no ;;
8203    *)
8204      enable_fast_install=no
8205      # Look at the argument we got.  We use all the common list separators.
8206      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8207      for pkg in $enableval; do
8208	IFS=$lt_save_ifs
8209	if test "X$pkg" = "X$p"; then
8210	  enable_fast_install=yes
8211	fi
8212      done
8213      IFS=$lt_save_ifs
8214      ;;
8215    esac
8216else $as_nop
8217  enable_fast_install=yes
8218fi
8219
8220
8221
8222
8223
8224
8225
8226
8227  shared_archive_member_spec=
8228case $host,$enable_shared in
8229power*-*-aix[5-9]*,yes)
8230  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8231printf %s "checking which variant of shared library versioning to provide... " >&6; }
8232
8233# Check whether --with-aix-soname was given.
8234if test ${with_aix_soname+y}
8235then :
8236  withval=$with_aix_soname; case $withval in
8237    aix|svr4|both)
8238      ;;
8239    *)
8240      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8241      ;;
8242    esac
8243    lt_cv_with_aix_soname=$with_aix_soname
8244else $as_nop
8245  if test ${lt_cv_with_aix_soname+y}
8246then :
8247  printf %s "(cached) " >&6
8248else $as_nop
8249  lt_cv_with_aix_soname=aix
8250fi
8251
8252    with_aix_soname=$lt_cv_with_aix_soname
8253fi
8254
8255  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8256printf "%s\n" "$with_aix_soname" >&6; }
8257  if test aix != "$with_aix_soname"; then
8258    # For the AIX way of multilib, we name the shared archive member
8259    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8260    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8261    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8262    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8263    if test 64 = "${OBJECT_MODE-32}"; then
8264      shared_archive_member_spec=shr_64
8265    else
8266      shared_archive_member_spec=shr
8267    fi
8268  fi
8269  ;;
8270*)
8271  with_aix_soname=aix
8272  ;;
8273esac
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284# This can be used to rebuild libtool when needed
8285LIBTOOL_DEPS=$ltmain
8286
8287# Always use our own libtool.
8288LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319test -z "$LN_S" && LN_S="ln -s"
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334if test -n "${ZSH_VERSION+set}"; then
8335   setopt NO_GLOB_SUBST
8336fi
8337
8338{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8339printf %s "checking for objdir... " >&6; }
8340if test ${lt_cv_objdir+y}
8341then :
8342  printf %s "(cached) " >&6
8343else $as_nop
8344  rm -f .libs 2>/dev/null
8345mkdir .libs 2>/dev/null
8346if test -d .libs; then
8347  lt_cv_objdir=.libs
8348else
8349  # MS-DOS does not allow filenames that begin with a dot.
8350  lt_cv_objdir=_libs
8351fi
8352rmdir .libs 2>/dev/null
8353fi
8354{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8355printf "%s\n" "$lt_cv_objdir" >&6; }
8356objdir=$lt_cv_objdir
8357
8358
8359
8360
8361
8362printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
8363
8364
8365
8366
8367case $host_os in
8368aix3*)
8369  # AIX sometimes has problems with the GCC collect2 program.  For some
8370  # reason, if we set the COLLECT_NAMES environment variable, the problems
8371  # vanish in a puff of smoke.
8372  if test set != "${COLLECT_NAMES+set}"; then
8373    COLLECT_NAMES=
8374    export COLLECT_NAMES
8375  fi
8376  ;;
8377esac
8378
8379# Global variables:
8380ofile=libtool
8381can_build_shared=yes
8382
8383# All known linkers require a '.a' archive for static linking (except MSVC and
8384# ICC, which need '.lib').
8385libext=a
8386
8387with_gnu_ld=$lt_cv_prog_gnu_ld
8388
8389old_CC=$CC
8390old_CFLAGS=$CFLAGS
8391
8392# Set sane defaults for various variables
8393test -z "$CC" && CC=cc
8394test -z "$LTCC" && LTCC=$CC
8395test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8396test -z "$LD" && LD=ld
8397test -z "$ac_objext" && ac_objext=o
8398
8399func_cc_basename $compiler
8400cc_basename=$func_cc_basename_result
8401
8402
8403# Only perform the check for file, if the check method requires it
8404test -z "$MAGIC_CMD" && MAGIC_CMD=file
8405case $deplibs_check_method in
8406file_magic*)
8407  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8408    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8409printf %s "checking for ${ac_tool_prefix}file... " >&6; }
8410if test ${lt_cv_path_MAGIC_CMD+y}
8411then :
8412  printf %s "(cached) " >&6
8413else $as_nop
8414  case $MAGIC_CMD in
8415[\\/*] |  ?:[\\/]*)
8416  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8417  ;;
8418*)
8419  lt_save_MAGIC_CMD=$MAGIC_CMD
8420  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8421  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8422  for ac_dir in $ac_dummy; do
8423    IFS=$lt_save_ifs
8424    test -z "$ac_dir" && ac_dir=.
8425    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8426      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8427      if test -n "$file_magic_test_file"; then
8428	case $deplibs_check_method in
8429	"file_magic "*)
8430	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8431	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8432	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8433	    $EGREP "$file_magic_regex" > /dev/null; then
8434	    :
8435	  else
8436	    cat <<_LT_EOF 1>&2
8437
8438*** Warning: the command libtool uses to detect shared libraries,
8439*** $file_magic_cmd, produces output that libtool cannot recognize.
8440*** The result is that libtool may fail to recognize shared libraries
8441*** as such.  This will affect the creation of libtool libraries that
8442*** depend on shared libraries, but programs linked with such libtool
8443*** libraries will work regardless of this problem.  Nevertheless, you
8444*** may want to report the problem to your system manager and/or to
8445*** bug-libtool@gnu.org
8446
8447_LT_EOF
8448	  fi ;;
8449	esac
8450      fi
8451      break
8452    fi
8453  done
8454  IFS=$lt_save_ifs
8455  MAGIC_CMD=$lt_save_MAGIC_CMD
8456  ;;
8457esac
8458fi
8459
8460MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8461if test -n "$MAGIC_CMD"; then
8462  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8463printf "%s\n" "$MAGIC_CMD" >&6; }
8464else
8465  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8466printf "%s\n" "no" >&6; }
8467fi
8468
8469
8470
8471
8472
8473if test -z "$lt_cv_path_MAGIC_CMD"; then
8474  if test -n "$ac_tool_prefix"; then
8475    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8476printf %s "checking for file... " >&6; }
8477if test ${lt_cv_path_MAGIC_CMD+y}
8478then :
8479  printf %s "(cached) " >&6
8480else $as_nop
8481  case $MAGIC_CMD in
8482[\\/*] |  ?:[\\/]*)
8483  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8484  ;;
8485*)
8486  lt_save_MAGIC_CMD=$MAGIC_CMD
8487  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8488  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8489  for ac_dir in $ac_dummy; do
8490    IFS=$lt_save_ifs
8491    test -z "$ac_dir" && ac_dir=.
8492    if test -f "$ac_dir/file"; then
8493      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8494      if test -n "$file_magic_test_file"; then
8495	case $deplibs_check_method in
8496	"file_magic "*)
8497	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8498	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8499	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8500	    $EGREP "$file_magic_regex" > /dev/null; then
8501	    :
8502	  else
8503	    cat <<_LT_EOF 1>&2
8504
8505*** Warning: the command libtool uses to detect shared libraries,
8506*** $file_magic_cmd, produces output that libtool cannot recognize.
8507*** The result is that libtool may fail to recognize shared libraries
8508*** as such.  This will affect the creation of libtool libraries that
8509*** depend on shared libraries, but programs linked with such libtool
8510*** libraries will work regardless of this problem.  Nevertheless, you
8511*** may want to report the problem to your system manager and/or to
8512*** bug-libtool@gnu.org
8513
8514_LT_EOF
8515	  fi ;;
8516	esac
8517      fi
8518      break
8519    fi
8520  done
8521  IFS=$lt_save_ifs
8522  MAGIC_CMD=$lt_save_MAGIC_CMD
8523  ;;
8524esac
8525fi
8526
8527MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8528if test -n "$MAGIC_CMD"; then
8529  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8530printf "%s\n" "$MAGIC_CMD" >&6; }
8531else
8532  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8533printf "%s\n" "no" >&6; }
8534fi
8535
8536
8537  else
8538    MAGIC_CMD=:
8539  fi
8540fi
8541
8542  fi
8543  ;;
8544esac
8545
8546# Use C for the default configuration in the libtool script
8547
8548lt_save_CC=$CC
8549ac_ext=c
8550ac_cpp='$CPP $CPPFLAGS'
8551ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8552ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8553ac_compiler_gnu=$ac_cv_c_compiler_gnu
8554
8555
8556# Source file extension for C test sources.
8557ac_ext=c
8558
8559# Object file extension for compiled C test sources.
8560objext=o
8561objext=$objext
8562
8563# Code to be used in simple compile tests
8564lt_simple_compile_test_code="int some_variable = 0;"
8565
8566# Code to be used in simple link tests
8567lt_simple_link_test_code='int main(){return(0);}'
8568
8569
8570
8571
8572
8573
8574
8575# If no C compiler was specified, use CC.
8576LTCC=${LTCC-"$CC"}
8577
8578# If no C compiler flags were specified, use CFLAGS.
8579LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8580
8581# Allow CC to be a program name with arguments.
8582compiler=$CC
8583
8584# Save the default compiler, since it gets overwritten when the other
8585# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8586compiler_DEFAULT=$CC
8587
8588# save warnings/boilerplate of simple test code
8589ac_outfile=conftest.$ac_objext
8590echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8591eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8592_lt_compiler_boilerplate=`cat conftest.err`
8593$RM conftest*
8594
8595ac_outfile=conftest.$ac_objext
8596echo "$lt_simple_link_test_code" >conftest.$ac_ext
8597eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8598_lt_linker_boilerplate=`cat conftest.err`
8599$RM -r conftest*
8600
8601
8602## CAVEAT EMPTOR:
8603## There is no encapsulation within the following macros, do not change
8604## the running order or otherwise move them around unless you know exactly
8605## what you are doing...
8606if test -n "$compiler"; then
8607
8608lt_prog_compiler_no_builtin_flag=
8609
8610if test yes = "$GCC"; then
8611  case $cc_basename in
8612  nvcc*)
8613    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8614  *)
8615    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8616  esac
8617
8618  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8619printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8620if test ${lt_cv_prog_compiler_rtti_exceptions+y}
8621then :
8622  printf %s "(cached) " >&6
8623else $as_nop
8624  lt_cv_prog_compiler_rtti_exceptions=no
8625   ac_outfile=conftest.$ac_objext
8626   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8627   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8628   # Insert the option either (1) after the last *FLAGS variable, or
8629   # (2) before a word containing "conftest.", or (3) at the end.
8630   # Note that $ac_compile itself does not contain backslashes and begins
8631   # with a dollar sign (not a hyphen), so the echo should work correctly.
8632   # The option is referenced via a variable to avoid confusing sed.
8633   lt_compile=`echo "$ac_compile" | $SED \
8634   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8635   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8636   -e 's:$: $lt_compiler_flag:'`
8637   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8638   (eval "$lt_compile" 2>conftest.err)
8639   ac_status=$?
8640   cat conftest.err >&5
8641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8642   if (exit $ac_status) && test -s "$ac_outfile"; then
8643     # The compiler can only warn and ignore the option if not recognized
8644     # So say no if there are warnings other than the usual output.
8645     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8646     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8647     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8648       lt_cv_prog_compiler_rtti_exceptions=yes
8649     fi
8650   fi
8651   $RM conftest*
8652
8653fi
8654{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8655printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8656
8657if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8658    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8659else
8660    :
8661fi
8662
8663fi
8664
8665
8666
8667
8668
8669
8670  lt_prog_compiler_wl=
8671lt_prog_compiler_pic=
8672lt_prog_compiler_static=
8673
8674
8675  if test yes = "$GCC"; then
8676    lt_prog_compiler_wl='-Wl,'
8677    lt_prog_compiler_static='-static'
8678
8679    case $host_os in
8680      aix*)
8681      # All AIX code is PIC.
8682      if test ia64 = "$host_cpu"; then
8683	# AIX 5 now supports IA64 processor
8684	lt_prog_compiler_static='-Bstatic'
8685      fi
8686      lt_prog_compiler_pic='-fPIC'
8687      ;;
8688
8689    amigaos*)
8690      case $host_cpu in
8691      powerpc)
8692            # see comment about AmigaOS4 .so support
8693            lt_prog_compiler_pic='-fPIC'
8694        ;;
8695      m68k)
8696            # FIXME: we need at least 68020 code to build shared libraries, but
8697            # adding the '-m68020' flag to GCC prevents building anything better,
8698            # like '-m68040'.
8699            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8700        ;;
8701      esac
8702      ;;
8703
8704    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8705      # PIC is the default for these OSes.
8706      ;;
8707
8708    mingw* | cygwin* | pw32* | os2* | cegcc*)
8709      # This hack is so that the source file can tell whether it is being
8710      # built for inclusion in a dll (and should export symbols for example).
8711      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8712      # (--disable-auto-import) libraries
8713      lt_prog_compiler_pic='-DDLL_EXPORT'
8714      case $host_os in
8715      os2*)
8716	lt_prog_compiler_static='$wl-static'
8717	;;
8718      esac
8719      ;;
8720
8721    darwin* | rhapsody*)
8722      # PIC is the default on this platform
8723      # Common symbols not allowed in MH_DYLIB files
8724      lt_prog_compiler_pic='-fno-common'
8725      ;;
8726
8727    haiku*)
8728      # PIC is the default for Haiku.
8729      # The "-static" flag exists, but is broken.
8730      lt_prog_compiler_static=
8731      ;;
8732
8733    hpux*)
8734      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8735      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8736      # sets the default TLS model and affects inlining.
8737      case $host_cpu in
8738      hppa*64*)
8739	# +Z the default
8740	;;
8741      *)
8742	lt_prog_compiler_pic='-fPIC'
8743	;;
8744      esac
8745      ;;
8746
8747    interix[3-9]*)
8748      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8749      # Instead, we relocate shared libraries at runtime.
8750      ;;
8751
8752    msdosdjgpp*)
8753      # Just because we use GCC doesn't mean we suddenly get shared libraries
8754      # on systems that don't support them.
8755      lt_prog_compiler_can_build_shared=no
8756      enable_shared=no
8757      ;;
8758
8759    *nto* | *qnx*)
8760      # QNX uses GNU C++, but need to define -shared option too, otherwise
8761      # it will coredump.
8762      lt_prog_compiler_pic='-fPIC -shared'
8763      ;;
8764
8765    sysv4*MP*)
8766      if test -d /usr/nec; then
8767	lt_prog_compiler_pic=-Kconform_pic
8768      fi
8769      ;;
8770
8771    *)
8772      lt_prog_compiler_pic='-fPIC'
8773      ;;
8774    esac
8775
8776    case $cc_basename in
8777    nvcc*) # Cuda Compiler Driver 2.2
8778      lt_prog_compiler_wl='-Xlinker '
8779      if test -n "$lt_prog_compiler_pic"; then
8780        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8781      fi
8782      ;;
8783    esac
8784  else
8785    # PORTME Check for flag to pass linker flags through the system compiler.
8786    case $host_os in
8787    aix*)
8788      lt_prog_compiler_wl='-Wl,'
8789      if test ia64 = "$host_cpu"; then
8790	# AIX 5 now supports IA64 processor
8791	lt_prog_compiler_static='-Bstatic'
8792      else
8793	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8794      fi
8795      ;;
8796
8797    darwin* | rhapsody*)
8798      # PIC is the default on this platform
8799      # Common symbols not allowed in MH_DYLIB files
8800      lt_prog_compiler_pic='-fno-common'
8801      case $cc_basename in
8802      nagfor*)
8803        # NAG Fortran compiler
8804        lt_prog_compiler_wl='-Wl,-Wl,,'
8805        lt_prog_compiler_pic='-PIC'
8806        lt_prog_compiler_static='-Bstatic'
8807        ;;
8808      esac
8809      ;;
8810
8811    mingw* | cygwin* | pw32* | os2* | cegcc*)
8812      # This hack is so that the source file can tell whether it is being
8813      # built for inclusion in a dll (and should export symbols for example).
8814      lt_prog_compiler_pic='-DDLL_EXPORT'
8815      case $host_os in
8816      os2*)
8817	lt_prog_compiler_static='$wl-static'
8818	;;
8819      esac
8820      ;;
8821
8822    hpux9* | hpux10* | hpux11*)
8823      lt_prog_compiler_wl='-Wl,'
8824      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8825      # not for PA HP-UX.
8826      case $host_cpu in
8827      hppa*64*|ia64*)
8828	# +Z the default
8829	;;
8830      *)
8831	lt_prog_compiler_pic='+Z'
8832	;;
8833      esac
8834      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8835      lt_prog_compiler_static='$wl-a ${wl}archive'
8836      ;;
8837
8838    irix5* | irix6* | nonstopux*)
8839      lt_prog_compiler_wl='-Wl,'
8840      # PIC (with -KPIC) is the default.
8841      lt_prog_compiler_static='-non_shared'
8842      ;;
8843
8844    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8845      case $cc_basename in
8846      # old Intel for x86_64, which still supported -KPIC.
8847      ecc*)
8848	lt_prog_compiler_wl='-Wl,'
8849	lt_prog_compiler_pic='-KPIC'
8850	lt_prog_compiler_static='-static'
8851        ;;
8852      # icc used to be incompatible with GCC.
8853      # ICC 10 doesn't accept -KPIC any more.
8854      icc* | ifort*)
8855	lt_prog_compiler_wl='-Wl,'
8856	lt_prog_compiler_pic='-fPIC'
8857	lt_prog_compiler_static='-static'
8858        ;;
8859      # Lahey Fortran 8.1.
8860      lf95*)
8861	lt_prog_compiler_wl='-Wl,'
8862	lt_prog_compiler_pic='--shared'
8863	lt_prog_compiler_static='--static'
8864	;;
8865      nagfor*)
8866	# NAG Fortran compiler
8867	lt_prog_compiler_wl='-Wl,-Wl,,'
8868	lt_prog_compiler_pic='-PIC'
8869	lt_prog_compiler_static='-Bstatic'
8870	;;
8871      tcc*)
8872	# Fabrice Bellard et al's Tiny C Compiler
8873	lt_prog_compiler_wl='-Wl,'
8874	lt_prog_compiler_pic='-fPIC'
8875	lt_prog_compiler_static='-static'
8876	;;
8877      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8878        # Portland Group compilers (*not* the Pentium gcc compiler,
8879	# which looks to be a dead project)
8880	lt_prog_compiler_wl='-Wl,'
8881	lt_prog_compiler_pic='-fpic'
8882	lt_prog_compiler_static='-Bstatic'
8883        ;;
8884      ccc*)
8885        lt_prog_compiler_wl='-Wl,'
8886        # All Alpha code is PIC.
8887        lt_prog_compiler_static='-non_shared'
8888        ;;
8889      xl* | bgxl* | bgf* | mpixl*)
8890	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8891	lt_prog_compiler_wl='-Wl,'
8892	lt_prog_compiler_pic='-qpic'
8893	lt_prog_compiler_static='-qstaticlink'
8894	;;
8895      *)
8896	case `$CC -V 2>&1 | sed 5q` in
8897	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8898	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8899	  lt_prog_compiler_pic='-KPIC'
8900	  lt_prog_compiler_static='-Bstatic'
8901	  lt_prog_compiler_wl=''
8902	  ;;
8903	*Sun\ F* | *Sun*Fortran*)
8904	  lt_prog_compiler_pic='-KPIC'
8905	  lt_prog_compiler_static='-Bstatic'
8906	  lt_prog_compiler_wl='-Qoption ld '
8907	  ;;
8908	*Sun\ C*)
8909	  # Sun C 5.9
8910	  lt_prog_compiler_pic='-KPIC'
8911	  lt_prog_compiler_static='-Bstatic'
8912	  lt_prog_compiler_wl='-Wl,'
8913	  ;;
8914        *Intel*\ [CF]*Compiler*)
8915	  lt_prog_compiler_wl='-Wl,'
8916	  lt_prog_compiler_pic='-fPIC'
8917	  lt_prog_compiler_static='-static'
8918	  ;;
8919	*Portland\ Group*)
8920	  lt_prog_compiler_wl='-Wl,'
8921	  lt_prog_compiler_pic='-fpic'
8922	  lt_prog_compiler_static='-Bstatic'
8923	  ;;
8924	esac
8925	;;
8926      esac
8927      ;;
8928
8929    newsos6)
8930      lt_prog_compiler_pic='-KPIC'
8931      lt_prog_compiler_static='-Bstatic'
8932      ;;
8933
8934    *nto* | *qnx*)
8935      # QNX uses GNU C++, but need to define -shared option too, otherwise
8936      # it will coredump.
8937      lt_prog_compiler_pic='-fPIC -shared'
8938      ;;
8939
8940    osf3* | osf4* | osf5*)
8941      lt_prog_compiler_wl='-Wl,'
8942      # All OSF/1 code is PIC.
8943      lt_prog_compiler_static='-non_shared'
8944      ;;
8945
8946    rdos*)
8947      lt_prog_compiler_static='-non_shared'
8948      ;;
8949
8950    solaris*)
8951      lt_prog_compiler_pic='-KPIC'
8952      lt_prog_compiler_static='-Bstatic'
8953      case $cc_basename in
8954      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8955	lt_prog_compiler_wl='-Qoption ld ';;
8956      *)
8957	lt_prog_compiler_wl='-Wl,';;
8958      esac
8959      ;;
8960
8961    sunos4*)
8962      lt_prog_compiler_wl='-Qoption ld '
8963      lt_prog_compiler_pic='-PIC'
8964      lt_prog_compiler_static='-Bstatic'
8965      ;;
8966
8967    sysv4 | sysv4.2uw2* | sysv4.3*)
8968      lt_prog_compiler_wl='-Wl,'
8969      lt_prog_compiler_pic='-KPIC'
8970      lt_prog_compiler_static='-Bstatic'
8971      ;;
8972
8973    sysv4*MP*)
8974      if test -d /usr/nec; then
8975	lt_prog_compiler_pic='-Kconform_pic'
8976	lt_prog_compiler_static='-Bstatic'
8977      fi
8978      ;;
8979
8980    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8981      lt_prog_compiler_wl='-Wl,'
8982      lt_prog_compiler_pic='-KPIC'
8983      lt_prog_compiler_static='-Bstatic'
8984      ;;
8985
8986    unicos*)
8987      lt_prog_compiler_wl='-Wl,'
8988      lt_prog_compiler_can_build_shared=no
8989      ;;
8990
8991    uts4*)
8992      lt_prog_compiler_pic='-pic'
8993      lt_prog_compiler_static='-Bstatic'
8994      ;;
8995
8996    *)
8997      lt_prog_compiler_can_build_shared=no
8998      ;;
8999    esac
9000  fi
9001
9002case $host_os in
9003  # For platforms that do not support PIC, -DPIC is meaningless:
9004  *djgpp*)
9005    lt_prog_compiler_pic=
9006    ;;
9007  *)
9008    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9009    ;;
9010esac
9011
9012{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9013printf %s "checking for $compiler option to produce PIC... " >&6; }
9014if test ${lt_cv_prog_compiler_pic+y}
9015then :
9016  printf %s "(cached) " >&6
9017else $as_nop
9018  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9019fi
9020{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9021printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
9022lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9023
9024#
9025# Check to make sure the PIC flag actually works.
9026#
9027if test -n "$lt_prog_compiler_pic"; then
9028  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9029printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9030if test ${lt_cv_prog_compiler_pic_works+y}
9031then :
9032  printf %s "(cached) " >&6
9033else $as_nop
9034  lt_cv_prog_compiler_pic_works=no
9035   ac_outfile=conftest.$ac_objext
9036   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9037   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9038   # Insert the option either (1) after the last *FLAGS variable, or
9039   # (2) before a word containing "conftest.", or (3) at the end.
9040   # Note that $ac_compile itself does not contain backslashes and begins
9041   # with a dollar sign (not a hyphen), so the echo should work correctly.
9042   # The option is referenced via a variable to avoid confusing sed.
9043   lt_compile=`echo "$ac_compile" | $SED \
9044   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9045   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9046   -e 's:$: $lt_compiler_flag:'`
9047   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9048   (eval "$lt_compile" 2>conftest.err)
9049   ac_status=$?
9050   cat conftest.err >&5
9051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052   if (exit $ac_status) && test -s "$ac_outfile"; then
9053     # The compiler can only warn and ignore the option if not recognized
9054     # So say no if there are warnings other than the usual output.
9055     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9056     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9057     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9058       lt_cv_prog_compiler_pic_works=yes
9059     fi
9060   fi
9061   $RM conftest*
9062
9063fi
9064{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9065printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
9066
9067if test yes = "$lt_cv_prog_compiler_pic_works"; then
9068    case $lt_prog_compiler_pic in
9069     "" | " "*) ;;
9070     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9071     esac
9072else
9073    lt_prog_compiler_pic=
9074     lt_prog_compiler_can_build_shared=no
9075fi
9076
9077fi
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089#
9090# Check to make sure the static flag actually works.
9091#
9092wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9093{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9094printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9095if test ${lt_cv_prog_compiler_static_works+y}
9096then :
9097  printf %s "(cached) " >&6
9098else $as_nop
9099  lt_cv_prog_compiler_static_works=no
9100   save_LDFLAGS=$LDFLAGS
9101   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9102   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9103   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9104     # The linker can only warn and ignore the option if not recognized
9105     # So say no if there are warnings
9106     if test -s conftest.err; then
9107       # Append any errors to the config.log.
9108       cat conftest.err 1>&5
9109       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9110       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9111       if diff conftest.exp conftest.er2 >/dev/null; then
9112         lt_cv_prog_compiler_static_works=yes
9113       fi
9114     else
9115       lt_cv_prog_compiler_static_works=yes
9116     fi
9117   fi
9118   $RM -r conftest*
9119   LDFLAGS=$save_LDFLAGS
9120
9121fi
9122{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9123printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
9124
9125if test yes = "$lt_cv_prog_compiler_static_works"; then
9126    :
9127else
9128    lt_prog_compiler_static=
9129fi
9130
9131
9132
9133
9134
9135
9136
9137  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9138printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9139if test ${lt_cv_prog_compiler_c_o+y}
9140then :
9141  printf %s "(cached) " >&6
9142else $as_nop
9143  lt_cv_prog_compiler_c_o=no
9144   $RM -r conftest 2>/dev/null
9145   mkdir conftest
9146   cd conftest
9147   mkdir out
9148   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9149
9150   lt_compiler_flag="-o out/conftest2.$ac_objext"
9151   # Insert the option either (1) after the last *FLAGS variable, or
9152   # (2) before a word containing "conftest.", or (3) at the end.
9153   # Note that $ac_compile itself does not contain backslashes and begins
9154   # with a dollar sign (not a hyphen), so the echo should work correctly.
9155   lt_compile=`echo "$ac_compile" | $SED \
9156   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9157   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9158   -e 's:$: $lt_compiler_flag:'`
9159   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9160   (eval "$lt_compile" 2>out/conftest.err)
9161   ac_status=$?
9162   cat out/conftest.err >&5
9163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9164   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9165   then
9166     # The compiler can only warn and ignore the option if not recognized
9167     # So say no if there are warnings
9168     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9169     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9170     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9171       lt_cv_prog_compiler_c_o=yes
9172     fi
9173   fi
9174   chmod u+w . 2>&5
9175   $RM conftest*
9176   # SGI C++ compiler will create directory out/ii_files/ for
9177   # template instantiation
9178   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9179   $RM out/* && rmdir out
9180   cd ..
9181   $RM -r conftest
9182   $RM conftest*
9183
9184fi
9185{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9186printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
9187
9188
9189
9190
9191
9192
9193  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9194printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9195if test ${lt_cv_prog_compiler_c_o+y}
9196then :
9197  printf %s "(cached) " >&6
9198else $as_nop
9199  lt_cv_prog_compiler_c_o=no
9200   $RM -r conftest 2>/dev/null
9201   mkdir conftest
9202   cd conftest
9203   mkdir out
9204   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9205
9206   lt_compiler_flag="-o out/conftest2.$ac_objext"
9207   # Insert the option either (1) after the last *FLAGS variable, or
9208   # (2) before a word containing "conftest.", or (3) at the end.
9209   # Note that $ac_compile itself does not contain backslashes and begins
9210   # with a dollar sign (not a hyphen), so the echo should work correctly.
9211   lt_compile=`echo "$ac_compile" | $SED \
9212   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9213   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9214   -e 's:$: $lt_compiler_flag:'`
9215   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9216   (eval "$lt_compile" 2>out/conftest.err)
9217   ac_status=$?
9218   cat out/conftest.err >&5
9219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9221   then
9222     # The compiler can only warn and ignore the option if not recognized
9223     # So say no if there are warnings
9224     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9225     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9226     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9227       lt_cv_prog_compiler_c_o=yes
9228     fi
9229   fi
9230   chmod u+w . 2>&5
9231   $RM conftest*
9232   # SGI C++ compiler will create directory out/ii_files/ for
9233   # template instantiation
9234   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9235   $RM out/* && rmdir out
9236   cd ..
9237   $RM -r conftest
9238   $RM conftest*
9239
9240fi
9241{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9242printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
9243
9244
9245
9246
9247hard_links=nottested
9248if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9249  # do not overwrite the value of need_locks provided by the user
9250  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9251printf %s "checking if we can lock with hard links... " >&6; }
9252  hard_links=yes
9253  $RM conftest*
9254  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9255  touch conftest.a
9256  ln conftest.a conftest.b 2>&5 || hard_links=no
9257  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9258  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9259printf "%s\n" "$hard_links" >&6; }
9260  if test no = "$hard_links"; then
9261    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9262printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9263    need_locks=warn
9264  fi
9265else
9266  need_locks=no
9267fi
9268
9269
9270
9271
9272
9273
9274  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9275printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9276
9277  runpath_var=
9278  allow_undefined_flag=
9279  always_export_symbols=no
9280  archive_cmds=
9281  archive_expsym_cmds=
9282  compiler_needs_object=no
9283  enable_shared_with_static_runtimes=no
9284  export_dynamic_flag_spec=
9285  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9286  hardcode_automatic=no
9287  hardcode_direct=no
9288  hardcode_direct_absolute=no
9289  hardcode_libdir_flag_spec=
9290  hardcode_libdir_separator=
9291  hardcode_minus_L=no
9292  hardcode_shlibpath_var=unsupported
9293  inherit_rpath=no
9294  link_all_deplibs=unknown
9295  module_cmds=
9296  module_expsym_cmds=
9297  old_archive_from_new_cmds=
9298  old_archive_from_expsyms_cmds=
9299  thread_safe_flag_spec=
9300  whole_archive_flag_spec=
9301  # include_expsyms should be a list of space-separated symbols to be *always*
9302  # included in the symbol list
9303  include_expsyms=
9304  # exclude_expsyms can be an extended regexp of symbols to exclude
9305  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9306  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9307  # as well as any symbol that contains 'd'.
9308  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9309  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9310  # platforms (ab)use it in PIC code, but their linkers get confused if
9311  # the symbol is explicitly referenced.  Since portable code cannot
9312  # rely on this symbol name, it's probably fine to never include it in
9313  # preloaded symbol tables.
9314  # Exclude shared library initialization/finalization symbols.
9315  extract_expsyms_cmds=
9316
9317  case $host_os in
9318  cygwin* | mingw* | pw32* | cegcc*)
9319    # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
9320    # When not using gcc, we currently assume that we are using
9321    # Microsoft Visual C++ or Intel C++ Compiler.
9322    if test yes != "$GCC"; then
9323      with_gnu_ld=no
9324    fi
9325    ;;
9326  interix*)
9327    # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
9328    with_gnu_ld=yes
9329    ;;
9330  openbsd* | bitrig*)
9331    with_gnu_ld=no
9332    ;;
9333  esac
9334
9335  ld_shlibs=yes
9336
9337  # On some targets, GNU ld is compatible enough with the native linker
9338  # that we're better off using the native interface for both.
9339  lt_use_gnu_ld_interface=no
9340  if test yes = "$with_gnu_ld"; then
9341    case $host_os in
9342      aix*)
9343	# The AIX port of GNU ld has always aspired to compatibility
9344	# with the native linker.  However, as the warning in the GNU ld
9345	# block says, versions before 2.19.5* couldn't really create working
9346	# shared libraries, regardless of the interface used.
9347	case `$LD -v 2>&1` in
9348	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9349	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9350	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9351	  *)
9352	    lt_use_gnu_ld_interface=yes
9353	    ;;
9354	esac
9355	;;
9356      *)
9357	lt_use_gnu_ld_interface=yes
9358	;;
9359    esac
9360  fi
9361
9362  if test yes = "$lt_use_gnu_ld_interface"; then
9363    # If archive_cmds runs LD, not CC, wlarc should be empty
9364    wlarc='$wl'
9365
9366    # Set some defaults for GNU ld with shared library support. These
9367    # are reset later if shared libraries are not supported. Putting them
9368    # here allows them to be overridden if necessary.
9369    runpath_var=LD_RUN_PATH
9370    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9371    export_dynamic_flag_spec='$wl--export-dynamic'
9372    # ancient GNU ld didn't support --whole-archive et. al.
9373    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9374      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9375    else
9376      whole_archive_flag_spec=
9377    fi
9378    supports_anon_versioning=no
9379    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9380      *GNU\ gold*) supports_anon_versioning=yes ;;
9381      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9382      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9383      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9384      *\ 2.11.*) ;; # other 2.11 versions
9385      *) supports_anon_versioning=yes ;;
9386    esac
9387
9388    # See if GNU ld supports shared libraries.
9389    case $host_os in
9390    aix[3-9]*)
9391      # On AIX/PPC, the GNU linker is very broken
9392      if test ia64 != "$host_cpu"; then
9393	ld_shlibs=no
9394	cat <<_LT_EOF 1>&2
9395
9396*** Warning: the GNU linker, at least up to release 2.19, is reported
9397*** to be unable to reliably create shared libraries on AIX.
9398*** Therefore, libtool is disabling shared libraries support.  If you
9399*** really care for shared libraries, you may want to install binutils
9400*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9401*** You will then need to restart the configuration process.
9402
9403_LT_EOF
9404      fi
9405      ;;
9406
9407    amigaos*)
9408      case $host_cpu in
9409      powerpc)
9410            # see comment about AmigaOS4 .so support
9411            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9412            archive_expsym_cmds=''
9413        ;;
9414      m68k)
9415            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)'
9416            hardcode_libdir_flag_spec='-L$libdir'
9417            hardcode_minus_L=yes
9418        ;;
9419      esac
9420      ;;
9421
9422    beos*)
9423      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9424	allow_undefined_flag=unsupported
9425	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9426	# support --undefined.  This deserves some investigation.  FIXME
9427	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9428      else
9429	ld_shlibs=no
9430      fi
9431      ;;
9432
9433    cygwin* | mingw* | pw32* | cegcc*)
9434      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9435      # as there is no search path for DLLs.
9436      hardcode_libdir_flag_spec='-L$libdir'
9437      export_dynamic_flag_spec='$wl--export-all-symbols'
9438      allow_undefined_flag=unsupported
9439      always_export_symbols=no
9440      enable_shared_with_static_runtimes=yes
9441      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'
9442      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9443
9444      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9445        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9446	# If the export-symbols file already is a .def file, use it as
9447	# is; otherwise, prepend EXPORTS...
9448	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9449          cp $export_symbols $output_objdir/$soname.def;
9450        else
9451          echo EXPORTS > $output_objdir/$soname.def;
9452          cat $export_symbols >> $output_objdir/$soname.def;
9453        fi~
9454        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9455      else
9456	ld_shlibs=no
9457      fi
9458      ;;
9459
9460    haiku*)
9461      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9462      link_all_deplibs=yes
9463      ;;
9464
9465    os2*)
9466      hardcode_libdir_flag_spec='-L$libdir'
9467      hardcode_minus_L=yes
9468      allow_undefined_flag=unsupported
9469      shrext_cmds=.dll
9470      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9471	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9472	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9473	$ECHO EXPORTS >> $output_objdir/$libname.def~
9474	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9475	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9476	emximp -o $lib $output_objdir/$libname.def'
9477      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9478	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9479	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9480	$ECHO EXPORTS >> $output_objdir/$libname.def~
9481	prefix_cmds="$SED"~
9482	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9483	  prefix_cmds="$prefix_cmds -e 1d";
9484	fi~
9485	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9486	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9487	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9488	emximp -o $lib $output_objdir/$libname.def'
9489      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9490      enable_shared_with_static_runtimes=yes
9491      file_list_spec='@'
9492      ;;
9493
9494    interix[3-9]*)
9495      hardcode_direct=no
9496      hardcode_shlibpath_var=no
9497      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9498      export_dynamic_flag_spec='$wl-E'
9499      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9500      # Instead, shared libraries are loaded at an image base (0x10000000 by
9501      # default) and relocated if they conflict, which is a slow very memory
9502      # consuming and fragmenting process.  To avoid this, we pick a random,
9503      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9504      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9505      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9506      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'
9507      ;;
9508
9509    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9510      tmp_diet=no
9511      if test linux-dietlibc = "$host_os"; then
9512	case $cc_basename in
9513	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9514	esac
9515      fi
9516      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9517	 && test no = "$tmp_diet"
9518      then
9519	tmp_addflag=' $pic_flag'
9520	tmp_sharedflag='-shared'
9521	case $cc_basename,$host_cpu in
9522        pgcc*)				# Portland Group C compiler
9523	  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'
9524	  tmp_addflag=' $pic_flag'
9525	  ;;
9526	pgf77* | pgf90* | pgf95* | pgfortran*)
9527					# Portland Group f77 and f90 compilers
9528	  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'
9529	  tmp_addflag=' $pic_flag -Mnomain' ;;
9530	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9531	  tmp_addflag=' -i_dynamic' ;;
9532	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9533	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9534	ifc* | ifort*)			# Intel Fortran compiler
9535	  tmp_addflag=' -nofor_main' ;;
9536	lf95*)				# Lahey Fortran 8.1
9537	  whole_archive_flag_spec=
9538	  tmp_sharedflag='--shared' ;;
9539        nagfor*)                        # NAGFOR 5.3
9540          tmp_sharedflag='-Wl,-shared' ;;
9541	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9542	  tmp_sharedflag='-qmkshrobj'
9543	  tmp_addflag= ;;
9544	nvcc*)	# Cuda Compiler Driver 2.2
9545	  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'
9546	  compiler_needs_object=yes
9547	  ;;
9548	esac
9549	case `$CC -V 2>&1 | sed 5q` in
9550	*Sun\ C*)			# Sun C 5.9
9551	  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'
9552	  compiler_needs_object=yes
9553	  tmp_sharedflag='-G' ;;
9554	*Sun\ F*)			# Sun Fortran 8.3
9555	  tmp_sharedflag='-G' ;;
9556	esac
9557	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9558
9559        if test yes = "$supports_anon_versioning"; then
9560          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9561            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9562            echo "local: *; };" >> $output_objdir/$libname.ver~
9563            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9564        fi
9565
9566	case $cc_basename in
9567	tcc*)
9568	  export_dynamic_flag_spec='-rdynamic'
9569	  ;;
9570	xlf* | bgf* | bgxlf* | mpixlf*)
9571	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9572	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9573	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9574	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9575	  if test yes = "$supports_anon_versioning"; then
9576	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9577              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9578              echo "local: *; };" >> $output_objdir/$libname.ver~
9579              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9580	  fi
9581	  ;;
9582	esac
9583      else
9584        ld_shlibs=no
9585      fi
9586      ;;
9587
9588    netbsd*)
9589      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9590	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9591	wlarc=
9592      else
9593	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9594	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9595      fi
9596      ;;
9597
9598    solaris*)
9599      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9600	ld_shlibs=no
9601	cat <<_LT_EOF 1>&2
9602
9603*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9604*** create shared libraries on Solaris systems.  Therefore, libtool
9605*** is disabling shared libraries support.  We urge you to upgrade GNU
9606*** binutils to release 2.9.1 or newer.  Another option is to modify
9607*** your PATH or compiler configuration so that the native linker is
9608*** used, and then restart.
9609
9610_LT_EOF
9611      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9612	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9613	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9614      else
9615	ld_shlibs=no
9616      fi
9617      ;;
9618
9619    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9620      case `$LD -v 2>&1` in
9621        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9622	ld_shlibs=no
9623	cat <<_LT_EOF 1>&2
9624
9625*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9626*** reliably create shared libraries on SCO systems.  Therefore, libtool
9627*** is disabling shared libraries support.  We urge you to upgrade GNU
9628*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9629*** your PATH or compiler configuration so that the native linker is
9630*** used, and then restart.
9631
9632_LT_EOF
9633	;;
9634	*)
9635	  # For security reasons, it is highly recommended that you always
9636	  # use absolute paths for naming shared libraries, and exclude the
9637	  # DT_RUNPATH tag from executables and libraries.  But doing so
9638	  # requires that you compile everything twice, which is a pain.
9639	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9640	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9641	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9642	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9643	  else
9644	    ld_shlibs=no
9645	  fi
9646	;;
9647      esac
9648      ;;
9649
9650    sunos4*)
9651      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9652      wlarc=
9653      hardcode_direct=yes
9654      hardcode_shlibpath_var=no
9655      ;;
9656
9657    *)
9658      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9659	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9660	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9661      else
9662	ld_shlibs=no
9663      fi
9664      ;;
9665    esac
9666
9667    if test no = "$ld_shlibs"; then
9668      runpath_var=
9669      hardcode_libdir_flag_spec=
9670      export_dynamic_flag_spec=
9671      whole_archive_flag_spec=
9672    fi
9673  else
9674    # PORTME fill in a description of your system's linker (not GNU ld)
9675    case $host_os in
9676    aix3*)
9677      allow_undefined_flag=unsupported
9678      always_export_symbols=yes
9679      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'
9680      # Note: this linker hardcodes the directories in LIBPATH if there
9681      # are no directories specified by -L.
9682      hardcode_minus_L=yes
9683      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9684	# Neither direct hardcoding nor static linking is supported with a
9685	# broken collect2.
9686	hardcode_direct=unsupported
9687      fi
9688      ;;
9689
9690    aix[4-9]*)
9691      if test ia64 = "$host_cpu"; then
9692	# On IA64, the linker does run time linking by default, so we don't
9693	# have to do anything special.
9694	aix_use_runtimelinking=no
9695	exp_sym_flag='-Bexport'
9696	no_entry_flag=
9697      else
9698	# If we're using GNU nm, then we don't want the "-C" option.
9699	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9700	# Without the "-l" option, or with the "-B" option, AIX nm treats
9701	# weak defined symbols like other global defined symbols, whereas
9702	# GNU nm marks them as "W".
9703	# While the 'weak' keyword is ignored in the Export File, we need
9704	# it in the Import File for the 'aix-soname' feature, so we have
9705	# to replace the "-B" option with "-P" for AIX nm.
9706	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9707	  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'
9708	else
9709	  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'
9710	fi
9711	aix_use_runtimelinking=no
9712
9713	# Test if we are trying to use run time linking or normal
9714	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9715	# have runtime linking enabled, and use it for executables.
9716	# For shared libraries, we enable/disable runtime linking
9717	# depending on the kind of the shared library created -
9718	# when "with_aix_soname,aix_use_runtimelinking" is:
9719	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9720	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9721	#            lib.a           static archive
9722	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9723	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9724	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9725	#            lib.a(lib.so.V) shared, rtl:no
9726	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9727	#            lib.a           static archive
9728	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9729	  for ld_flag in $LDFLAGS; do
9730	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9731	    aix_use_runtimelinking=yes
9732	    break
9733	  fi
9734	  done
9735	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9736	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9737	    # so we don't have lib.a shared libs to link our executables.
9738	    # We have to force runtime linking in this case.
9739	    aix_use_runtimelinking=yes
9740	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9741	  fi
9742	  ;;
9743	esac
9744
9745	exp_sym_flag='-bexport'
9746	no_entry_flag='-bnoentry'
9747      fi
9748
9749      # When large executables or shared objects are built, AIX ld can
9750      # have problems creating the table of contents.  If linking a library
9751      # or program results in "error TOC overflow" add -mminimal-toc to
9752      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9753      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9754
9755      archive_cmds=''
9756      hardcode_direct=yes
9757      hardcode_direct_absolute=yes
9758      hardcode_libdir_separator=':'
9759      link_all_deplibs=yes
9760      file_list_spec='$wl-f,'
9761      case $with_aix_soname,$aix_use_runtimelinking in
9762      aix,*) ;; # traditional, no import file
9763      svr4,* | *,yes) # use import file
9764	# The Import File defines what to hardcode.
9765	hardcode_direct=no
9766	hardcode_direct_absolute=no
9767	;;
9768      esac
9769
9770      if test yes = "$GCC"; then
9771	case $host_os in aix4.[012]|aix4.[012].*)
9772	# We only want to do this on AIX 4.2 and lower, the check
9773	# below for broken collect2 doesn't work under 4.3+
9774	  collect2name=`$CC -print-prog-name=collect2`
9775	  if test -f "$collect2name" &&
9776	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9777	  then
9778	  # We have reworked collect2
9779	  :
9780	  else
9781	  # We have old collect2
9782	  hardcode_direct=unsupported
9783	  # It fails to find uninstalled libraries when the uninstalled
9784	  # path is not listed in the libpath.  Setting hardcode_minus_L
9785	  # to unsupported forces relinking
9786	  hardcode_minus_L=yes
9787	  hardcode_libdir_flag_spec='-L$libdir'
9788	  hardcode_libdir_separator=
9789	  fi
9790	  ;;
9791	esac
9792	shared_flag='-shared'
9793	if test yes = "$aix_use_runtimelinking"; then
9794	  shared_flag="$shared_flag "'$wl-G'
9795	fi
9796	# Need to ensure runtime linking is disabled for the traditional
9797	# shared library, or the linker may eventually find shared libraries
9798	# /with/ Import File - we do not want to mix them.
9799	shared_flag_aix='-shared'
9800	shared_flag_svr4='-shared $wl-G'
9801      else
9802	# not using gcc
9803	if test ia64 = "$host_cpu"; then
9804	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9805	# chokes on -Wl,-G. The following line is correct:
9806	  shared_flag='-G'
9807	else
9808	  if test yes = "$aix_use_runtimelinking"; then
9809	    shared_flag='$wl-G'
9810	  else
9811	    shared_flag='$wl-bM:SRE'
9812	  fi
9813	  shared_flag_aix='$wl-bM:SRE'
9814	  shared_flag_svr4='$wl-G'
9815	fi
9816      fi
9817
9818      export_dynamic_flag_spec='$wl-bexpall'
9819      # It seems that -bexpall does not export symbols beginning with
9820      # underscore (_), so it is better to generate a list of symbols to export.
9821      always_export_symbols=yes
9822      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9823	# Warning - without using the other runtime loading flags (-brtl),
9824	# -berok will link without error, but may produce a broken library.
9825	allow_undefined_flag='-berok'
9826        # Determine the default libpath from the value encoded in an
9827        # empty executable.
9828        if test set = "${lt_cv_aix_libpath+set}"; then
9829  aix_libpath=$lt_cv_aix_libpath
9830else
9831  if test ${lt_cv_aix_libpath_+y}
9832then :
9833  printf %s "(cached) " >&6
9834else $as_nop
9835  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836/* end confdefs.h.  */
9837
9838int
9839main (void)
9840{
9841
9842  ;
9843  return 0;
9844}
9845_ACEOF
9846if ac_fn_c_try_link "$LINENO"
9847then :
9848
9849  lt_aix_libpath_sed='
9850      /Import File Strings/,/^$/ {
9851	  /^0/ {
9852	      s/^0  *\([^ ]*\) *$/\1/
9853	      p
9854	  }
9855      }'
9856  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9857  # Check for a 64-bit object if we didn't find anything.
9858  if test -z "$lt_cv_aix_libpath_"; then
9859    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9860  fi
9861fi
9862rm -f core conftest.err conftest.$ac_objext conftest.beam \
9863    conftest$ac_exeext conftest.$ac_ext
9864  if test -z "$lt_cv_aix_libpath_"; then
9865    lt_cv_aix_libpath_=/usr/lib:/lib
9866  fi
9867
9868fi
9869
9870  aix_libpath=$lt_cv_aix_libpath_
9871fi
9872
9873        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9874        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
9875      else
9876	if test ia64 = "$host_cpu"; then
9877	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9878	  allow_undefined_flag="-z nodefs"
9879	  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"
9880	else
9881	 # Determine the default libpath from the value encoded in an
9882	 # empty executable.
9883	 if test set = "${lt_cv_aix_libpath+set}"; then
9884  aix_libpath=$lt_cv_aix_libpath
9885else
9886  if test ${lt_cv_aix_libpath_+y}
9887then :
9888  printf %s "(cached) " >&6
9889else $as_nop
9890  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891/* end confdefs.h.  */
9892
9893int
9894main (void)
9895{
9896
9897  ;
9898  return 0;
9899}
9900_ACEOF
9901if ac_fn_c_try_link "$LINENO"
9902then :
9903
9904  lt_aix_libpath_sed='
9905      /Import File Strings/,/^$/ {
9906	  /^0/ {
9907	      s/^0  *\([^ ]*\) *$/\1/
9908	      p
9909	  }
9910      }'
9911  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9912  # Check for a 64-bit object if we didn't find anything.
9913  if test -z "$lt_cv_aix_libpath_"; then
9914    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9915  fi
9916fi
9917rm -f core conftest.err conftest.$ac_objext conftest.beam \
9918    conftest$ac_exeext conftest.$ac_ext
9919  if test -z "$lt_cv_aix_libpath_"; then
9920    lt_cv_aix_libpath_=/usr/lib:/lib
9921  fi
9922
9923fi
9924
9925  aix_libpath=$lt_cv_aix_libpath_
9926fi
9927
9928	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9929	  # Warning - without using the other run time loading flags,
9930	  # -berok will link without error, but may produce a broken library.
9931	  no_undefined_flag=' $wl-bernotok'
9932	  allow_undefined_flag=' $wl-berok'
9933	  if test yes = "$with_gnu_ld"; then
9934	    # We only use this code for GNU lds that support --whole-archive.
9935	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9936	  else
9937	    # Exported symbols can be pulled into shared objects from archives
9938	    whole_archive_flag_spec='$convenience'
9939	  fi
9940	  archive_cmds_need_lc=yes
9941	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9942	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9943	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9944	  if test svr4 != "$with_aix_soname"; then
9945	    # This is similar to how AIX traditionally builds its shared libraries.
9946	    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'
9947	  fi
9948	  if test aix != "$with_aix_soname"; then
9949	    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'
9950	  else
9951	    # used by -dlpreopen to get the symbols
9952	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9953	  fi
9954	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9955	fi
9956      fi
9957      ;;
9958
9959    amigaos*)
9960      case $host_cpu in
9961      powerpc)
9962            # see comment about AmigaOS4 .so support
9963            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9964            archive_expsym_cmds=''
9965        ;;
9966      m68k)
9967            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)'
9968            hardcode_libdir_flag_spec='-L$libdir'
9969            hardcode_minus_L=yes
9970        ;;
9971      esac
9972      ;;
9973
9974    bsdi[45]*)
9975      export_dynamic_flag_spec=-rdynamic
9976      ;;
9977
9978    cygwin* | mingw* | pw32* | cegcc*)
9979      # When not using gcc, we currently assume that we are using
9980      # Microsoft Visual C++ or Intel C++ Compiler.
9981      # hardcode_libdir_flag_spec is actually meaningless, as there is
9982      # no search path for DLLs.
9983      case $cc_basename in
9984      cl* | icl*)
9985	# Native MSVC or ICC
9986	hardcode_libdir_flag_spec=' '
9987	allow_undefined_flag=unsupported
9988	always_export_symbols=yes
9989	file_list_spec='@'
9990	# Tell ltmain to make .lib files, not .a files.
9991	libext=lib
9992	# Tell ltmain to make .dll files, not .so files.
9993	shrext_cmds=.dll
9994	# FIXME: Setting linknames here is a bad hack.
9995	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9996	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9997            cp "$export_symbols" "$output_objdir/$soname.def";
9998            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9999          else
10000            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10001          fi~
10002          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10003          linknames='
10004	# The linker will not automatically build a static lib if we build a DLL.
10005	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10006	enable_shared_with_static_runtimes=yes
10007	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10008	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10009	# Don't use ranlib
10010	old_postinstall_cmds='chmod 644 $oldlib'
10011	postlink_cmds='lt_outputfile="@OUTPUT@"~
10012          lt_tool_outputfile="@TOOL_OUTPUT@"~
10013          case $lt_outputfile in
10014            *.exe|*.EXE) ;;
10015            *)
10016              lt_outputfile=$lt_outputfile.exe
10017              lt_tool_outputfile=$lt_tool_outputfile.exe
10018              ;;
10019          esac~
10020          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10021            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10022            $RM "$lt_outputfile.manifest";
10023          fi'
10024	;;
10025      *)
10026	# Assume MSVC and ICC wrapper
10027	hardcode_libdir_flag_spec=' '
10028	allow_undefined_flag=unsupported
10029	# Tell ltmain to make .lib files, not .a files.
10030	libext=lib
10031	# Tell ltmain to make .dll files, not .so files.
10032	shrext_cmds=.dll
10033	# FIXME: Setting linknames here is a bad hack.
10034	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10035	# The linker will automatically build a .lib file if we build a DLL.
10036	old_archive_from_new_cmds='true'
10037	# FIXME: Should let the user specify the lib program.
10038	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10039	enable_shared_with_static_runtimes=yes
10040	;;
10041      esac
10042      ;;
10043
10044    darwin* | rhapsody*)
10045
10046
10047  archive_cmds_need_lc=no
10048  hardcode_direct=no
10049  hardcode_automatic=yes
10050  hardcode_shlibpath_var=unsupported
10051  if test yes = "$lt_cv_ld_force_load"; then
10052    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\"`'
10053
10054  else
10055    whole_archive_flag_spec=''
10056  fi
10057  link_all_deplibs=yes
10058  allow_undefined_flag=$_lt_dar_allow_undefined
10059  case $cc_basename in
10060     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10061     *) _lt_dar_can_shared=$GCC ;;
10062  esac
10063  if test yes = "$_lt_dar_can_shared"; then
10064    output_verbose_link_cmd=func_echo_all
10065    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10066    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10067    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"
10068    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"
10069
10070  else
10071  ld_shlibs=no
10072  fi
10073
10074      ;;
10075
10076    dgux*)
10077      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10078      hardcode_libdir_flag_spec='-L$libdir'
10079      hardcode_shlibpath_var=no
10080      ;;
10081
10082    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10083    # support.  Future versions do this automatically, but an explicit c++rt0.o
10084    # does not break anything, and helps significantly (at the cost of a little
10085    # extra space).
10086    freebsd2.2*)
10087      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10088      hardcode_libdir_flag_spec='-R$libdir'
10089      hardcode_direct=yes
10090      hardcode_shlibpath_var=no
10091      ;;
10092
10093    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10094    freebsd2.*)
10095      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10096      hardcode_direct=yes
10097      hardcode_minus_L=yes
10098      hardcode_shlibpath_var=no
10099      ;;
10100
10101    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10102    freebsd* | dragonfly*)
10103      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10104      hardcode_libdir_flag_spec='-R$libdir'
10105      hardcode_direct=yes
10106      hardcode_shlibpath_var=no
10107      ;;
10108
10109    hpux9*)
10110      if test yes = "$GCC"; then
10111	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'
10112      else
10113	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'
10114      fi
10115      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10116      hardcode_libdir_separator=:
10117      hardcode_direct=yes
10118
10119      # hardcode_minus_L: Not really in the search PATH,
10120      # but as the default location of the library.
10121      hardcode_minus_L=yes
10122      export_dynamic_flag_spec='$wl-E'
10123      ;;
10124
10125    hpux10*)
10126      if test yes,no = "$GCC,$with_gnu_ld"; then
10127	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10128      else
10129	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10130      fi
10131      if test no = "$with_gnu_ld"; then
10132	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10133	hardcode_libdir_separator=:
10134	hardcode_direct=yes
10135	hardcode_direct_absolute=yes
10136	export_dynamic_flag_spec='$wl-E'
10137	# hardcode_minus_L: Not really in the search PATH,
10138	# but as the default location of the library.
10139	hardcode_minus_L=yes
10140      fi
10141      ;;
10142
10143    hpux11*)
10144      if test yes,no = "$GCC,$with_gnu_ld"; then
10145	case $host_cpu in
10146	hppa*64*)
10147	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10148	  ;;
10149	ia64*)
10150	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10151	  ;;
10152	*)
10153	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10154	  ;;
10155	esac
10156      else
10157	case $host_cpu in
10158	hppa*64*)
10159	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10160	  ;;
10161	ia64*)
10162	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10163	  ;;
10164	*)
10165
10166	  # Older versions of the 11.00 compiler do not understand -b yet
10167	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10168	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10169printf %s "checking if $CC understands -b... " >&6; }
10170if test ${lt_cv_prog_compiler__b+y}
10171then :
10172  printf %s "(cached) " >&6
10173else $as_nop
10174  lt_cv_prog_compiler__b=no
10175   save_LDFLAGS=$LDFLAGS
10176   LDFLAGS="$LDFLAGS -b"
10177   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10178   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10179     # The linker can only warn and ignore the option if not recognized
10180     # So say no if there are warnings
10181     if test -s conftest.err; then
10182       # Append any errors to the config.log.
10183       cat conftest.err 1>&5
10184       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10185       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10186       if diff conftest.exp conftest.er2 >/dev/null; then
10187         lt_cv_prog_compiler__b=yes
10188       fi
10189     else
10190       lt_cv_prog_compiler__b=yes
10191     fi
10192   fi
10193   $RM -r conftest*
10194   LDFLAGS=$save_LDFLAGS
10195
10196fi
10197{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10198printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
10199
10200if test yes = "$lt_cv_prog_compiler__b"; then
10201    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10202else
10203    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10204fi
10205
10206	  ;;
10207	esac
10208      fi
10209      if test no = "$with_gnu_ld"; then
10210	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10211	hardcode_libdir_separator=:
10212
10213	case $host_cpu in
10214	hppa*64*|ia64*)
10215	  hardcode_direct=no
10216	  hardcode_shlibpath_var=no
10217	  ;;
10218	*)
10219	  hardcode_direct=yes
10220	  hardcode_direct_absolute=yes
10221	  export_dynamic_flag_spec='$wl-E'
10222
10223	  # hardcode_minus_L: Not really in the search PATH,
10224	  # but as the default location of the library.
10225	  hardcode_minus_L=yes
10226	  ;;
10227	esac
10228      fi
10229      ;;
10230
10231    irix5* | irix6* | nonstopux*)
10232      if test yes = "$GCC"; then
10233	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'
10234	# Try to use the -exported_symbol ld option, if it does not
10235	# work, assume that -exports_file does not work either and
10236	# implicitly export all symbols.
10237	# This should be the same for all languages, so no per-tag cache variable.
10238	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10239printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10240if test ${lt_cv_irix_exported_symbol+y}
10241then :
10242  printf %s "(cached) " >&6
10243else $as_nop
10244  save_LDFLAGS=$LDFLAGS
10245	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10246	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247/* end confdefs.h.  */
10248int foo (void) { return 0; }
10249_ACEOF
10250if ac_fn_c_try_link "$LINENO"
10251then :
10252  lt_cv_irix_exported_symbol=yes
10253else $as_nop
10254  lt_cv_irix_exported_symbol=no
10255fi
10256rm -f core conftest.err conftest.$ac_objext conftest.beam \
10257    conftest$ac_exeext conftest.$ac_ext
10258           LDFLAGS=$save_LDFLAGS
10259fi
10260{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10261printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
10262	if test yes = "$lt_cv_irix_exported_symbol"; then
10263          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'
10264	fi
10265      else
10266	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'
10267	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'
10268      fi
10269      archive_cmds_need_lc='no'
10270      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10271      hardcode_libdir_separator=:
10272      inherit_rpath=yes
10273      link_all_deplibs=yes
10274      ;;
10275
10276    linux*)
10277      case $cc_basename in
10278      tcc*)
10279	# Fabrice Bellard et al's Tiny C Compiler
10280	ld_shlibs=yes
10281	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10282	;;
10283      esac
10284      ;;
10285
10286    netbsd*)
10287      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10288	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10289      else
10290	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10291      fi
10292      hardcode_libdir_flag_spec='-R$libdir'
10293      hardcode_direct=yes
10294      hardcode_shlibpath_var=no
10295      ;;
10296
10297    newsos6)
10298      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10299      hardcode_direct=yes
10300      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10301      hardcode_libdir_separator=:
10302      hardcode_shlibpath_var=no
10303      ;;
10304
10305    *nto* | *qnx*)
10306      ;;
10307
10308    openbsd* | bitrig*)
10309      if test -f /usr/libexec/ld.so; then
10310	hardcode_direct=yes
10311	hardcode_shlibpath_var=no
10312	hardcode_direct_absolute=yes
10313	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10314	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10315	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10316	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10317	  export_dynamic_flag_spec='$wl-E'
10318	else
10319	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10320	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10321	fi
10322      else
10323	ld_shlibs=no
10324      fi
10325      ;;
10326
10327    os2*)
10328      hardcode_libdir_flag_spec='-L$libdir'
10329      hardcode_minus_L=yes
10330      allow_undefined_flag=unsupported
10331      shrext_cmds=.dll
10332      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10333	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10334	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10335	$ECHO EXPORTS >> $output_objdir/$libname.def~
10336	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10337	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10338	emximp -o $lib $output_objdir/$libname.def'
10339      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10340	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10341	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10342	$ECHO EXPORTS >> $output_objdir/$libname.def~
10343	prefix_cmds="$SED"~
10344	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10345	  prefix_cmds="$prefix_cmds -e 1d";
10346	fi~
10347	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10348	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10349	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10350	emximp -o $lib $output_objdir/$libname.def'
10351      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10352      enable_shared_with_static_runtimes=yes
10353      file_list_spec='@'
10354      ;;
10355
10356    osf3*)
10357      if test yes = "$GCC"; then
10358	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10359	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'
10360      else
10361	allow_undefined_flag=' -expect_unresolved \*'
10362	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'
10363      fi
10364      archive_cmds_need_lc='no'
10365      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10366      hardcode_libdir_separator=:
10367      ;;
10368
10369    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10370      if test yes = "$GCC"; then
10371	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10372	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'
10373	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10374      else
10375	allow_undefined_flag=' -expect_unresolved \*'
10376	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'
10377	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~
10378          $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'
10379
10380	# Both c and cxx compiler support -rpath directly
10381	hardcode_libdir_flag_spec='-rpath $libdir'
10382      fi
10383      archive_cmds_need_lc='no'
10384      hardcode_libdir_separator=:
10385      ;;
10386
10387    solaris*)
10388      no_undefined_flag=' -z defs'
10389      if test yes = "$GCC"; then
10390	wlarc='$wl'
10391	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10392	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10393          $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'
10394      else
10395	case `$CC -V 2>&1` in
10396	*"Compilers 5.0"*)
10397	  wlarc=''
10398	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10399	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10400            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10401	  ;;
10402	*)
10403	  wlarc='$wl'
10404	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10405	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10406            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10407	  ;;
10408	esac
10409      fi
10410      hardcode_libdir_flag_spec='-R$libdir'
10411      hardcode_shlibpath_var=no
10412      case $host_os in
10413      solaris2.[0-5] | solaris2.[0-5].*) ;;
10414      *)
10415	# The compiler driver will combine and reorder linker options,
10416	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10417	# but is careful enough not to reorder.
10418	# Supported since Solaris 2.6 (maybe 2.5.1?)
10419	if test yes = "$GCC"; then
10420	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10421	else
10422	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10423	fi
10424	;;
10425      esac
10426      link_all_deplibs=yes
10427      ;;
10428
10429    sunos4*)
10430      if test sequent = "$host_vendor"; then
10431	# Use $CC to link under sequent, because it throws in some extra .o
10432	# files that make .init and .fini sections work.
10433	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10434      else
10435	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10436      fi
10437      hardcode_libdir_flag_spec='-L$libdir'
10438      hardcode_direct=yes
10439      hardcode_minus_L=yes
10440      hardcode_shlibpath_var=no
10441      ;;
10442
10443    sysv4)
10444      case $host_vendor in
10445	sni)
10446	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10447	  hardcode_direct=yes # is this really true???
10448	;;
10449	siemens)
10450	  ## LD is ld it makes a PLAMLIB
10451	  ## CC just makes a GrossModule.
10452	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10453	  reload_cmds='$CC -r -o $output$reload_objs'
10454	  hardcode_direct=no
10455        ;;
10456	motorola)
10457	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10458	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10459	;;
10460      esac
10461      runpath_var='LD_RUN_PATH'
10462      hardcode_shlibpath_var=no
10463      ;;
10464
10465    sysv4.3*)
10466      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10467      hardcode_shlibpath_var=no
10468      export_dynamic_flag_spec='-Bexport'
10469      ;;
10470
10471    sysv4*MP*)
10472      if test -d /usr/nec; then
10473	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10474	hardcode_shlibpath_var=no
10475	runpath_var=LD_RUN_PATH
10476	hardcode_runpath_var=yes
10477	ld_shlibs=yes
10478      fi
10479      ;;
10480
10481    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10482      no_undefined_flag='$wl-z,text'
10483      archive_cmds_need_lc=no
10484      hardcode_shlibpath_var=no
10485      runpath_var='LD_RUN_PATH'
10486
10487      if test yes = "$GCC"; then
10488	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10489	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10490      else
10491	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10492	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10493      fi
10494      ;;
10495
10496    sysv5* | sco3.2v5* | sco5v6*)
10497      # Note: We CANNOT use -z defs as we might desire, because we do not
10498      # link with -lc, and that would cause any symbols used from libc to
10499      # always be unresolved, which means just about no library would
10500      # ever link correctly.  If we're not using GNU ld we use -z text
10501      # though, which does catch some bad symbols but isn't as heavy-handed
10502      # as -z defs.
10503      no_undefined_flag='$wl-z,text'
10504      allow_undefined_flag='$wl-z,nodefs'
10505      archive_cmds_need_lc=no
10506      hardcode_shlibpath_var=no
10507      hardcode_libdir_flag_spec='$wl-R,$libdir'
10508      hardcode_libdir_separator=':'
10509      link_all_deplibs=yes
10510      export_dynamic_flag_spec='$wl-Bexport'
10511      runpath_var='LD_RUN_PATH'
10512
10513      if test yes = "$GCC"; then
10514	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10515	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10516      else
10517	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10518	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10519      fi
10520      ;;
10521
10522    uts4*)
10523      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10524      hardcode_libdir_flag_spec='-L$libdir'
10525      hardcode_shlibpath_var=no
10526      ;;
10527
10528    *)
10529      ld_shlibs=no
10530      ;;
10531    esac
10532
10533    if test sni = "$host_vendor"; then
10534      case $host in
10535      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10536	export_dynamic_flag_spec='$wl-Blargedynsym'
10537	;;
10538      esac
10539    fi
10540  fi
10541
10542{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10543printf "%s\n" "$ld_shlibs" >&6; }
10544test no = "$ld_shlibs" && can_build_shared=no
10545
10546with_gnu_ld=$with_gnu_ld
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562#
10563# Do we need to explicitly link libc?
10564#
10565case "x$archive_cmds_need_lc" in
10566x|xyes)
10567  # Assume -lc should be added
10568  archive_cmds_need_lc=yes
10569
10570  if test yes,yes = "$GCC,$enable_shared"; then
10571    case $archive_cmds in
10572    *'~'*)
10573      # FIXME: we may have to deal with multi-command sequences.
10574      ;;
10575    '$CC '*)
10576      # Test whether the compiler implicitly links with -lc since on some
10577      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10578      # to ld, don't add -lc before -lgcc.
10579      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10580printf %s "checking whether -lc should be explicitly linked in... " >&6; }
10581if test ${lt_cv_archive_cmds_need_lc+y}
10582then :
10583  printf %s "(cached) " >&6
10584else $as_nop
10585  $RM conftest*
10586	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10587
10588	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10589  (eval $ac_compile) 2>&5
10590  ac_status=$?
10591  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10592  test $ac_status = 0; } 2>conftest.err; then
10593	  soname=conftest
10594	  lib=conftest
10595	  libobjs=conftest.$ac_objext
10596	  deplibs=
10597	  wl=$lt_prog_compiler_wl
10598	  pic_flag=$lt_prog_compiler_pic
10599	  compiler_flags=-v
10600	  linker_flags=-v
10601	  verstring=
10602	  output_objdir=.
10603	  libname=conftest
10604	  lt_save_allow_undefined_flag=$allow_undefined_flag
10605	  allow_undefined_flag=
10606	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10607  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10608  ac_status=$?
10609  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10610  test $ac_status = 0; }
10611	  then
10612	    lt_cv_archive_cmds_need_lc=no
10613	  else
10614	    lt_cv_archive_cmds_need_lc=yes
10615	  fi
10616	  allow_undefined_flag=$lt_save_allow_undefined_flag
10617	else
10618	  cat conftest.err 1>&5
10619	fi
10620	$RM conftest*
10621
10622fi
10623{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10624printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
10625      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10626      ;;
10627    esac
10628  fi
10629  ;;
10630esac
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
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  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10784printf %s "checking dynamic linker characteristics... " >&6; }
10785
10786if test yes = "$GCC"; then
10787  case $host_os in
10788    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10789    *) lt_awk_arg='/^libraries:/' ;;
10790  esac
10791  case $host_os in
10792    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10793    *) lt_sed_strip_eq='s|=/|/|g' ;;
10794  esac
10795  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10796  case $lt_search_path_spec in
10797  *\;*)
10798    # if the path contains ";" then we assume it to be the separator
10799    # otherwise default to the standard path separator (i.e. ":") - it is
10800    # assumed that no part of a normal pathname contains ";" but that should
10801    # okay in the real world where ";" in dirpaths is itself problematic.
10802    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10803    ;;
10804  *)
10805    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10806    ;;
10807  esac
10808  # Ok, now we have the path, separated by spaces, we can step through it
10809  # and add multilib dir if necessary...
10810  lt_tmp_lt_search_path_spec=
10811  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10812  # ...but if some path component already ends with the multilib dir we assume
10813  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10814  case "$lt_multi_os_dir; $lt_search_path_spec " in
10815  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10816    lt_multi_os_dir=
10817    ;;
10818  esac
10819  for lt_sys_path in $lt_search_path_spec; do
10820    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10821      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10822    elif test -n "$lt_multi_os_dir"; then
10823      test -d "$lt_sys_path" && \
10824	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10825    fi
10826  done
10827  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10828BEGIN {RS = " "; FS = "/|\n";} {
10829  lt_foo = "";
10830  lt_count = 0;
10831  for (lt_i = NF; lt_i > 0; lt_i--) {
10832    if ($lt_i != "" && $lt_i != ".") {
10833      if ($lt_i == "..") {
10834        lt_count++;
10835      } else {
10836        if (lt_count == 0) {
10837          lt_foo = "/" $lt_i lt_foo;
10838        } else {
10839          lt_count--;
10840        }
10841      }
10842    }
10843  }
10844  if (lt_foo != "") { lt_freq[lt_foo]++; }
10845  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10846}'`
10847  # AWK program above erroneously prepends '/' to C:/dos/paths
10848  # for these hosts.
10849  case $host_os in
10850    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10851      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10852  esac
10853  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10854else
10855  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10856fi
10857library_names_spec=
10858libname_spec='lib$name'
10859soname_spec=
10860shrext_cmds=.so
10861postinstall_cmds=
10862postuninstall_cmds=
10863finish_cmds=
10864finish_eval=
10865shlibpath_var=
10866shlibpath_overrides_runpath=unknown
10867version_type=none
10868dynamic_linker="$host_os ld.so"
10869sys_lib_dlsearch_path_spec="/lib /usr/lib"
10870need_lib_prefix=unknown
10871hardcode_into_libs=no
10872
10873# when you set need_version to no, make sure it does not cause -set_version
10874# flags to be left without arguments
10875need_version=unknown
10876
10877
10878
10879case $host_os in
10880aix3*)
10881  version_type=linux # correct to gnu/linux during the next big refactor
10882  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10883  shlibpath_var=LIBPATH
10884
10885  # AIX 3 has no versioning support, so we append a major version to the name.
10886  soname_spec='$libname$release$shared_ext$major'
10887  ;;
10888
10889aix[4-9]*)
10890  version_type=linux # correct to gnu/linux during the next big refactor
10891  need_lib_prefix=no
10892  need_version=no
10893  hardcode_into_libs=yes
10894  if test ia64 = "$host_cpu"; then
10895    # AIX 5 supports IA64
10896    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10897    shlibpath_var=LD_LIBRARY_PATH
10898  else
10899    # With GCC up to 2.95.x, collect2 would create an import file
10900    # for dependence libraries.  The import file would start with
10901    # the line '#! .'.  This would cause the generated library to
10902    # depend on '.', always an invalid library.  This was fixed in
10903    # development snapshots of GCC prior to 3.0.
10904    case $host_os in
10905      aix4 | aix4.[01] | aix4.[01].*)
10906      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10907	   echo ' yes '
10908	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10909	:
10910      else
10911	can_build_shared=no
10912      fi
10913      ;;
10914    esac
10915    # Using Import Files as archive members, it is possible to support
10916    # filename-based versioning of shared library archives on AIX. While
10917    # this would work for both with and without runtime linking, it will
10918    # prevent static linking of such archives. So we do filename-based
10919    # shared library versioning with .so extension only, which is used
10920    # when both runtime linking and shared linking is enabled.
10921    # Unfortunately, runtime linking may impact performance, so we do
10922    # not want this to be the default eventually. Also, we use the
10923    # versioned .so libs for executables only if there is the -brtl
10924    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10925    # To allow for filename-based versioning support, we need to create
10926    # libNAME.so.V as an archive file, containing:
10927    # *) an Import File, referring to the versioned filename of the
10928    #    archive as well as the shared archive member, telling the
10929    #    bitwidth (32 or 64) of that shared object, and providing the
10930    #    list of exported symbols of that shared object, eventually
10931    #    decorated with the 'weak' keyword
10932    # *) the shared object with the F_LOADONLY flag set, to really avoid
10933    #    it being seen by the linker.
10934    # At run time we better use the real file rather than another symlink,
10935    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10936
10937    case $with_aix_soname,$aix_use_runtimelinking in
10938    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10939    # soname into executable. Probably we can add versioning support to
10940    # collect2, so additional links can be useful in future.
10941    aix,yes) # traditional libtool
10942      dynamic_linker='AIX unversionable lib.so'
10943      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10944      # instead of lib<name>.a to let people know that these are not
10945      # typical AIX shared libraries.
10946      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10947      ;;
10948    aix,no) # traditional AIX only
10949      dynamic_linker='AIX lib.a(lib.so.V)'
10950      # We preserve .a as extension for shared libraries through AIX4.2
10951      # and later when we are not doing run time linking.
10952      library_names_spec='$libname$release.a $libname.a'
10953      soname_spec='$libname$release$shared_ext$major'
10954      ;;
10955    svr4,*) # full svr4 only
10956      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10957      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10958      # We do not specify a path in Import Files, so LIBPATH fires.
10959      shlibpath_overrides_runpath=yes
10960      ;;
10961    *,yes) # both, prefer svr4
10962      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10963      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10964      # unpreferred sharedlib libNAME.a needs extra handling
10965      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"'
10966      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"'
10967      # We do not specify a path in Import Files, so LIBPATH fires.
10968      shlibpath_overrides_runpath=yes
10969      ;;
10970    *,no) # both, prefer aix
10971      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10972      library_names_spec='$libname$release.a $libname.a'
10973      soname_spec='$libname$release$shared_ext$major'
10974      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10975      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)'
10976      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"'
10977      ;;
10978    esac
10979    shlibpath_var=LIBPATH
10980  fi
10981  ;;
10982
10983amigaos*)
10984  case $host_cpu in
10985  powerpc)
10986    # Since July 2007 AmigaOS4 officially supports .so libraries.
10987    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10988    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10989    ;;
10990  m68k)
10991    library_names_spec='$libname.ixlibrary $libname.a'
10992    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10993    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'
10994    ;;
10995  esac
10996  ;;
10997
10998beos*)
10999  library_names_spec='$libname$shared_ext'
11000  dynamic_linker="$host_os ld.so"
11001  shlibpath_var=LIBRARY_PATH
11002  ;;
11003
11004bsdi[45]*)
11005  version_type=linux # correct to gnu/linux during the next big refactor
11006  need_version=no
11007  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11008  soname_spec='$libname$release$shared_ext$major'
11009  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11010  shlibpath_var=LD_LIBRARY_PATH
11011  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11012  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11013  # the default ld.so.conf also contains /usr/contrib/lib and
11014  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11015  # libtool to hard-code these into programs
11016  ;;
11017
11018cygwin* | mingw* | pw32* | cegcc*)
11019  version_type=windows
11020  shrext_cmds=.dll
11021  need_version=no
11022  need_lib_prefix=no
11023
11024  case $GCC,$cc_basename in
11025  yes,*)
11026    # gcc
11027    library_names_spec='$libname.dll.a'
11028    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11029    postinstall_cmds='base_file=`basename \$file`~
11030      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11031      dldir=$destdir/`dirname \$dlpath`~
11032      test -d \$dldir || mkdir -p \$dldir~
11033      $install_prog $dir/$dlname \$dldir/$dlname~
11034      chmod a+x \$dldir/$dlname~
11035      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11036        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11037      fi'
11038    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11039      dlpath=$dir/\$dldll~
11040       $RM \$dlpath'
11041    shlibpath_overrides_runpath=yes
11042
11043    case $host_os in
11044    cygwin*)
11045      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11046      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11047
11048      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11049      ;;
11050    mingw* | cegcc*)
11051      # MinGW DLLs use traditional 'lib' prefix
11052      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11053      ;;
11054    pw32*)
11055      # pw32 DLLs use 'pw' prefix rather than 'lib'
11056      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11057      ;;
11058    esac
11059    dynamic_linker='Win32 ld.exe'
11060    ;;
11061
11062  *,cl* | *,icl*)
11063    # Native MSVC or ICC
11064    libname_spec='$name'
11065    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11066    library_names_spec='$libname.dll.lib'
11067
11068    case $build_os in
11069    mingw*)
11070      sys_lib_search_path_spec=
11071      lt_save_ifs=$IFS
11072      IFS=';'
11073      for lt_path in $LIB
11074      do
11075        IFS=$lt_save_ifs
11076        # Let DOS variable expansion print the short 8.3 style file name.
11077        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11078        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11079      done
11080      IFS=$lt_save_ifs
11081      # Convert to MSYS style.
11082      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11083      ;;
11084    cygwin*)
11085      # Convert to unix form, then to dos form, then back to unix form
11086      # but this time dos style (no spaces!) so that the unix form looks
11087      # like /cygdrive/c/PROGRA~1:/cygdr...
11088      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11089      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11090      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11091      ;;
11092    *)
11093      sys_lib_search_path_spec=$LIB
11094      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11095        # It is most probably a Windows format PATH.
11096        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11097      else
11098        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11099      fi
11100      # FIXME: find the short name or the path components, as spaces are
11101      # common. (e.g. "Program Files" -> "PROGRA~1")
11102      ;;
11103    esac
11104
11105    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11106    postinstall_cmds='base_file=`basename \$file`~
11107      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11108      dldir=$destdir/`dirname \$dlpath`~
11109      test -d \$dldir || mkdir -p \$dldir~
11110      $install_prog $dir/$dlname \$dldir/$dlname'
11111    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11112      dlpath=$dir/\$dldll~
11113       $RM \$dlpath'
11114    shlibpath_overrides_runpath=yes
11115    dynamic_linker='Win32 link.exe'
11116    ;;
11117
11118  *)
11119    # Assume MSVC and ICC wrapper
11120    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11121    dynamic_linker='Win32 ld.exe'
11122    ;;
11123  esac
11124  # FIXME: first we should search . and the directory the executable is in
11125  shlibpath_var=PATH
11126  ;;
11127
11128darwin* | rhapsody*)
11129  dynamic_linker="$host_os dyld"
11130  version_type=darwin
11131  need_lib_prefix=no
11132  need_version=no
11133  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11134  soname_spec='$libname$release$major$shared_ext'
11135  shlibpath_overrides_runpath=yes
11136  shlibpath_var=DYLD_LIBRARY_PATH
11137  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11138
11139  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11140  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11141  ;;
11142
11143dgux*)
11144  version_type=linux # correct to gnu/linux during the next big refactor
11145  need_lib_prefix=no
11146  need_version=no
11147  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11148  soname_spec='$libname$release$shared_ext$major'
11149  shlibpath_var=LD_LIBRARY_PATH
11150  ;;
11151
11152freebsd* | dragonfly*)
11153  # DragonFly does not have aout.  When/if they implement a new
11154  # versioning mechanism, adjust this.
11155  if test -x /usr/bin/objformat; then
11156    objformat=`/usr/bin/objformat`
11157  else
11158    case $host_os in
11159    freebsd[23].*) objformat=aout ;;
11160    *) objformat=elf ;;
11161    esac
11162  fi
11163  version_type=freebsd-$objformat
11164  case $version_type in
11165    freebsd-elf*)
11166      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11167      soname_spec='$libname$release$shared_ext$major'
11168      need_version=no
11169      need_lib_prefix=no
11170      ;;
11171    freebsd-*)
11172      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11173      need_version=yes
11174      ;;
11175  esac
11176  shlibpath_var=LD_LIBRARY_PATH
11177  case $host_os in
11178  freebsd2.*)
11179    shlibpath_overrides_runpath=yes
11180    ;;
11181  freebsd3.[01]* | freebsdelf3.[01]*)
11182    shlibpath_overrides_runpath=yes
11183    hardcode_into_libs=yes
11184    ;;
11185  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11186  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11187    shlibpath_overrides_runpath=no
11188    hardcode_into_libs=yes
11189    ;;
11190  *) # from 4.6 on, and DragonFly
11191    shlibpath_overrides_runpath=yes
11192    hardcode_into_libs=yes
11193    ;;
11194  esac
11195  ;;
11196
11197haiku*)
11198  version_type=linux # correct to gnu/linux during the next big refactor
11199  need_lib_prefix=no
11200  need_version=no
11201  dynamic_linker="$host_os runtime_loader"
11202  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11203  soname_spec='$libname$release$shared_ext$major'
11204  shlibpath_var=LIBRARY_PATH
11205  shlibpath_overrides_runpath=no
11206  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11207  hardcode_into_libs=yes
11208  ;;
11209
11210hpux9* | hpux10* | hpux11*)
11211  # Give a soname corresponding to the major version so that dld.sl refuses to
11212  # link against other versions.
11213  version_type=sunos
11214  need_lib_prefix=no
11215  need_version=no
11216  case $host_cpu in
11217  ia64*)
11218    shrext_cmds='.so'
11219    hardcode_into_libs=yes
11220    dynamic_linker="$host_os dld.so"
11221    shlibpath_var=LD_LIBRARY_PATH
11222    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11223    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11224    soname_spec='$libname$release$shared_ext$major'
11225    if test 32 = "$HPUX_IA64_MODE"; then
11226      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11227      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11228    else
11229      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11230      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11231    fi
11232    ;;
11233  hppa*64*)
11234    shrext_cmds='.sl'
11235    hardcode_into_libs=yes
11236    dynamic_linker="$host_os dld.sl"
11237    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11238    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11239    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11240    soname_spec='$libname$release$shared_ext$major'
11241    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11242    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11243    ;;
11244  *)
11245    shrext_cmds='.sl'
11246    dynamic_linker="$host_os dld.sl"
11247    shlibpath_var=SHLIB_PATH
11248    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11249    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11250    soname_spec='$libname$release$shared_ext$major'
11251    ;;
11252  esac
11253  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11254  postinstall_cmds='chmod 555 $lib'
11255  # or fails outright, so override atomically:
11256  install_override_mode=555
11257  ;;
11258
11259interix[3-9]*)
11260  version_type=linux # correct to gnu/linux during the next big refactor
11261  need_lib_prefix=no
11262  need_version=no
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  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11266  shlibpath_var=LD_LIBRARY_PATH
11267  shlibpath_overrides_runpath=no
11268  hardcode_into_libs=yes
11269  ;;
11270
11271irix5* | irix6* | nonstopux*)
11272  case $host_os in
11273    nonstopux*) version_type=nonstopux ;;
11274    *)
11275	if test yes = "$lt_cv_prog_gnu_ld"; then
11276		version_type=linux # correct to gnu/linux during the next big refactor
11277	else
11278		version_type=irix
11279	fi ;;
11280  esac
11281  need_lib_prefix=no
11282  need_version=no
11283  soname_spec='$libname$release$shared_ext$major'
11284  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11285  case $host_os in
11286  irix5* | nonstopux*)
11287    libsuff= shlibsuff=
11288    ;;
11289  *)
11290    case $LD in # libtool.m4 will add one of these switches to LD
11291    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11292      libsuff= shlibsuff= libmagic=32-bit;;
11293    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11294      libsuff=32 shlibsuff=N32 libmagic=N32;;
11295    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11296      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11297    *) libsuff= shlibsuff= libmagic=never-match;;
11298    esac
11299    ;;
11300  esac
11301  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11302  shlibpath_overrides_runpath=no
11303  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11304  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11305  hardcode_into_libs=yes
11306  ;;
11307
11308# No shared lib support for Linux oldld, aout, or coff.
11309linux*oldld* | linux*aout* | linux*coff*)
11310  dynamic_linker=no
11311  ;;
11312
11313linux*android*)
11314  version_type=none # Android doesn't support versioned libraries.
11315  need_lib_prefix=no
11316  need_version=no
11317  library_names_spec='$libname$release$shared_ext'
11318  soname_spec='$libname$release$shared_ext'
11319  finish_cmds=
11320  shlibpath_var=LD_LIBRARY_PATH
11321  shlibpath_overrides_runpath=yes
11322
11323  # This implies no fast_install, which is unacceptable.
11324  # Some rework will be needed to allow for fast_install
11325  # before this can be enabled.
11326  hardcode_into_libs=yes
11327
11328  dynamic_linker='Android linker'
11329  # Don't embed -rpath directories since the linker doesn't support them.
11330  hardcode_libdir_flag_spec='-L$libdir'
11331  ;;
11332
11333# This must be glibc/ELF.
11334linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11335  version_type=linux # correct to gnu/linux during the next big refactor
11336  need_lib_prefix=no
11337  need_version=no
11338  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11339  soname_spec='$libname$release$shared_ext$major'
11340  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11341  shlibpath_var=LD_LIBRARY_PATH
11342  shlibpath_overrides_runpath=no
11343
11344  # Some binutils ld are patched to set DT_RUNPATH
11345  if test ${lt_cv_shlibpath_overrides_runpath+y}
11346then :
11347  printf %s "(cached) " >&6
11348else $as_nop
11349  lt_cv_shlibpath_overrides_runpath=no
11350    save_LDFLAGS=$LDFLAGS
11351    save_libdir=$libdir
11352    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11353	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11354    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11355/* end confdefs.h.  */
11356
11357int
11358main (void)
11359{
11360
11361  ;
11362  return 0;
11363}
11364_ACEOF
11365if ac_fn_c_try_link "$LINENO"
11366then :
11367  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
11368then :
11369  lt_cv_shlibpath_overrides_runpath=yes
11370fi
11371fi
11372rm -f core conftest.err conftest.$ac_objext conftest.beam \
11373    conftest$ac_exeext conftest.$ac_ext
11374    LDFLAGS=$save_LDFLAGS
11375    libdir=$save_libdir
11376
11377fi
11378
11379  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11380
11381  # This implies no fast_install, which is unacceptable.
11382  # Some rework will be needed to allow for fast_install
11383  # before this can be enabled.
11384  hardcode_into_libs=yes
11385
11386  # Ideally, we could use ldconfig to report *all* directores which are
11387  # searched for libraries, however this is still not possible.  Aside from not
11388  # being certain /sbin/ldconfig is available, command
11389  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11390  # even though it is searched at run-time.  Try to do the best guess by
11391  # appending ld.so.conf contents (and includes) to the search path.
11392  if test -f /etc/ld.so.conf; then
11393    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' ' '`
11394    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11395  fi
11396
11397  # We used to test for /lib/ld.so.1 and disable shared libraries on
11398  # powerpc, because MkLinux only supported shared libraries with the
11399  # GNU dynamic linker.  Since this was broken with cross compilers,
11400  # most powerpc-linux boxes support dynamic linking these days and
11401  # people can always --disable-shared, the test was removed, and we
11402  # assume the GNU/Linux dynamic linker is in use.
11403  dynamic_linker='GNU/Linux ld.so'
11404  ;;
11405
11406netbsd*)
11407  version_type=sunos
11408  need_lib_prefix=no
11409  need_version=no
11410  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11411    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11412    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11413    dynamic_linker='NetBSD (a.out) ld.so'
11414  else
11415    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11416    soname_spec='$libname$release$shared_ext$major'
11417    dynamic_linker='NetBSD ld.elf_so'
11418  fi
11419  shlibpath_var=LD_LIBRARY_PATH
11420  shlibpath_overrides_runpath=yes
11421  hardcode_into_libs=yes
11422  ;;
11423
11424newsos6)
11425  version_type=linux # correct to gnu/linux during the next big refactor
11426  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11427  shlibpath_var=LD_LIBRARY_PATH
11428  shlibpath_overrides_runpath=yes
11429  ;;
11430
11431*nto* | *qnx*)
11432  version_type=qnx
11433  need_lib_prefix=no
11434  need_version=no
11435  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11436  soname_spec='$libname$release$shared_ext$major'
11437  shlibpath_var=LD_LIBRARY_PATH
11438  shlibpath_overrides_runpath=no
11439  hardcode_into_libs=yes
11440  dynamic_linker='ldqnx.so'
11441  ;;
11442
11443openbsd* | bitrig*)
11444  version_type=sunos
11445  sys_lib_dlsearch_path_spec=/usr/lib
11446  need_lib_prefix=no
11447  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11448    need_version=no
11449  else
11450    need_version=yes
11451  fi
11452  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11453  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11454  shlibpath_var=LD_LIBRARY_PATH
11455  shlibpath_overrides_runpath=yes
11456  ;;
11457
11458os2*)
11459  libname_spec='$name'
11460  version_type=windows
11461  shrext_cmds=.dll
11462  need_version=no
11463  need_lib_prefix=no
11464  # OS/2 can only load a DLL with a base name of 8 characters or less.
11465  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11466    v=$($ECHO $release$versuffix | tr -d .-);
11467    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11468    $ECHO $n$v`$shared_ext'
11469  library_names_spec='${libname}_dll.$libext'
11470  dynamic_linker='OS/2 ld.exe'
11471  shlibpath_var=BEGINLIBPATH
11472  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11473  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11474  postinstall_cmds='base_file=`basename \$file`~
11475    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11476    dldir=$destdir/`dirname \$dlpath`~
11477    test -d \$dldir || mkdir -p \$dldir~
11478    $install_prog $dir/$dlname \$dldir/$dlname~
11479    chmod a+x \$dldir/$dlname~
11480    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11481      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11482    fi'
11483  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11484    dlpath=$dir/\$dldll~
11485    $RM \$dlpath'
11486  ;;
11487
11488osf3* | osf4* | osf5*)
11489  version_type=osf
11490  need_lib_prefix=no
11491  need_version=no
11492  soname_spec='$libname$release$shared_ext$major'
11493  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11494  shlibpath_var=LD_LIBRARY_PATH
11495  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11496  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11497  ;;
11498
11499rdos*)
11500  dynamic_linker=no
11501  ;;
11502
11503solaris*)
11504  version_type=linux # correct to gnu/linux during the next big refactor
11505  need_lib_prefix=no
11506  need_version=no
11507  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11508  soname_spec='$libname$release$shared_ext$major'
11509  shlibpath_var=LD_LIBRARY_PATH
11510  shlibpath_overrides_runpath=yes
11511  hardcode_into_libs=yes
11512  # ldd complains unless libraries are executable
11513  postinstall_cmds='chmod +x $lib'
11514  ;;
11515
11516sunos4*)
11517  version_type=sunos
11518  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11519  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11520  shlibpath_var=LD_LIBRARY_PATH
11521  shlibpath_overrides_runpath=yes
11522  if test yes = "$with_gnu_ld"; then
11523    need_lib_prefix=no
11524  fi
11525  need_version=yes
11526  ;;
11527
11528sysv4 | sysv4.3*)
11529  version_type=linux # correct to gnu/linux during the next big refactor
11530  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11531  soname_spec='$libname$release$shared_ext$major'
11532  shlibpath_var=LD_LIBRARY_PATH
11533  case $host_vendor in
11534    sni)
11535      shlibpath_overrides_runpath=no
11536      need_lib_prefix=no
11537      runpath_var=LD_RUN_PATH
11538      ;;
11539    siemens)
11540      need_lib_prefix=no
11541      ;;
11542    motorola)
11543      need_lib_prefix=no
11544      need_version=no
11545      shlibpath_overrides_runpath=no
11546      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11547      ;;
11548  esac
11549  ;;
11550
11551sysv4*MP*)
11552  if test -d /usr/nec; then
11553    version_type=linux # correct to gnu/linux during the next big refactor
11554    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11555    soname_spec='$libname$shared_ext.$major'
11556    shlibpath_var=LD_LIBRARY_PATH
11557  fi
11558  ;;
11559
11560sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11561  version_type=sco
11562  need_lib_prefix=no
11563  need_version=no
11564  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11565  soname_spec='$libname$release$shared_ext$major'
11566  shlibpath_var=LD_LIBRARY_PATH
11567  shlibpath_overrides_runpath=yes
11568  hardcode_into_libs=yes
11569  if test yes = "$with_gnu_ld"; then
11570    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11571  else
11572    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11573    case $host_os in
11574      sco3.2v5*)
11575        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11576	;;
11577    esac
11578  fi
11579  sys_lib_dlsearch_path_spec='/usr/lib'
11580  ;;
11581
11582tpf*)
11583  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11584  version_type=linux # correct to gnu/linux during the next big refactor
11585  need_lib_prefix=no
11586  need_version=no
11587  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11588  shlibpath_var=LD_LIBRARY_PATH
11589  shlibpath_overrides_runpath=no
11590  hardcode_into_libs=yes
11591  ;;
11592
11593uts4*)
11594  version_type=linux # correct to gnu/linux during the next big refactor
11595  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11596  soname_spec='$libname$release$shared_ext$major'
11597  shlibpath_var=LD_LIBRARY_PATH
11598  ;;
11599
11600*)
11601  dynamic_linker=no
11602  ;;
11603esac
11604{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11605printf "%s\n" "$dynamic_linker" >&6; }
11606test no = "$dynamic_linker" && can_build_shared=no
11607
11608variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11609if test yes = "$GCC"; then
11610  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11611fi
11612
11613if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11614  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11615fi
11616
11617if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11618  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11619fi
11620
11621# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11622configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11623
11624# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11625func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11626
11627# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11628configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
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  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11727printf %s "checking how to hardcode library paths into programs... " >&6; }
11728hardcode_action=
11729if test -n "$hardcode_libdir_flag_spec" ||
11730   test -n "$runpath_var" ||
11731   test yes = "$hardcode_automatic"; then
11732
11733  # We can hardcode non-existent directories.
11734  if test no != "$hardcode_direct" &&
11735     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11736     # have to relink, otherwise we might link with an installed library
11737     # when we should be linking with a yet-to-be-installed one
11738     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11739     test no != "$hardcode_minus_L"; then
11740    # Linking always hardcodes the temporary library directory.
11741    hardcode_action=relink
11742  else
11743    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11744    hardcode_action=immediate
11745  fi
11746else
11747  # We cannot hardcode anything, or else we can only hardcode existing
11748  # directories.
11749  hardcode_action=unsupported
11750fi
11751{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11752printf "%s\n" "$hardcode_action" >&6; }
11753
11754if test relink = "$hardcode_action" ||
11755   test yes = "$inherit_rpath"; then
11756  # Fast installation is not supported
11757  enable_fast_install=no
11758elif test yes = "$shlibpath_overrides_runpath" ||
11759     test no = "$enable_shared"; then
11760  # Fast installation is not necessary
11761  enable_fast_install=needless
11762fi
11763
11764
11765
11766
11767
11768
11769  if test yes != "$enable_dlopen"; then
11770  enable_dlopen=unknown
11771  enable_dlopen_self=unknown
11772  enable_dlopen_self_static=unknown
11773else
11774  lt_cv_dlopen=no
11775  lt_cv_dlopen_libs=
11776
11777  case $host_os in
11778  beos*)
11779    lt_cv_dlopen=load_add_on
11780    lt_cv_dlopen_libs=
11781    lt_cv_dlopen_self=yes
11782    ;;
11783
11784  mingw* | pw32* | cegcc*)
11785    lt_cv_dlopen=LoadLibrary
11786    lt_cv_dlopen_libs=
11787    ;;
11788
11789  cygwin*)
11790    lt_cv_dlopen=dlopen
11791    lt_cv_dlopen_libs=
11792    ;;
11793
11794  darwin*)
11795    # if libdl is installed we need to link against it
11796    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11797printf %s "checking for dlopen in -ldl... " >&6; }
11798if test ${ac_cv_lib_dl_dlopen+y}
11799then :
11800  printf %s "(cached) " >&6
11801else $as_nop
11802  ac_check_lib_save_LIBS=$LIBS
11803LIBS="-ldl  $LIBS"
11804cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805/* end confdefs.h.  */
11806
11807/* Override any GCC internal prototype to avoid an error.
11808   Use char because int might match the return type of a GCC
11809   builtin and then its argument prototype would still apply.  */
11810char dlopen ();
11811int
11812main (void)
11813{
11814return dlopen ();
11815  ;
11816  return 0;
11817}
11818_ACEOF
11819if ac_fn_c_try_link "$LINENO"
11820then :
11821  ac_cv_lib_dl_dlopen=yes
11822else $as_nop
11823  ac_cv_lib_dl_dlopen=no
11824fi
11825rm -f core conftest.err conftest.$ac_objext conftest.beam \
11826    conftest$ac_exeext conftest.$ac_ext
11827LIBS=$ac_check_lib_save_LIBS
11828fi
11829{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11830printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
11831if test "x$ac_cv_lib_dl_dlopen" = xyes
11832then :
11833  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11834else $as_nop
11835
11836    lt_cv_dlopen=dyld
11837    lt_cv_dlopen_libs=
11838    lt_cv_dlopen_self=yes
11839
11840fi
11841
11842    ;;
11843
11844  tpf*)
11845    # Don't try to run any link tests for TPF.  We know it's impossible
11846    # because TPF is a cross-compiler, and we know how we open DSOs.
11847    lt_cv_dlopen=dlopen
11848    lt_cv_dlopen_libs=
11849    lt_cv_dlopen_self=no
11850    ;;
11851
11852  *)
11853    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11854if test "x$ac_cv_func_shl_load" = xyes
11855then :
11856  lt_cv_dlopen=shl_load
11857else $as_nop
11858  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11859printf %s "checking for shl_load in -ldld... " >&6; }
11860if test ${ac_cv_lib_dld_shl_load+y}
11861then :
11862  printf %s "(cached) " >&6
11863else $as_nop
11864  ac_check_lib_save_LIBS=$LIBS
11865LIBS="-ldld  $LIBS"
11866cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11867/* end confdefs.h.  */
11868
11869/* Override any GCC internal prototype to avoid an error.
11870   Use char because int might match the return type of a GCC
11871   builtin and then its argument prototype would still apply.  */
11872char shl_load ();
11873int
11874main (void)
11875{
11876return shl_load ();
11877  ;
11878  return 0;
11879}
11880_ACEOF
11881if ac_fn_c_try_link "$LINENO"
11882then :
11883  ac_cv_lib_dld_shl_load=yes
11884else $as_nop
11885  ac_cv_lib_dld_shl_load=no
11886fi
11887rm -f core conftest.err conftest.$ac_objext conftest.beam \
11888    conftest$ac_exeext conftest.$ac_ext
11889LIBS=$ac_check_lib_save_LIBS
11890fi
11891{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11892printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
11893if test "x$ac_cv_lib_dld_shl_load" = xyes
11894then :
11895  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11896else $as_nop
11897  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11898if test "x$ac_cv_func_dlopen" = xyes
11899then :
11900  lt_cv_dlopen=dlopen
11901else $as_nop
11902  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11903printf %s "checking for dlopen in -ldl... " >&6; }
11904if test ${ac_cv_lib_dl_dlopen+y}
11905then :
11906  printf %s "(cached) " >&6
11907else $as_nop
11908  ac_check_lib_save_LIBS=$LIBS
11909LIBS="-ldl  $LIBS"
11910cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11911/* end confdefs.h.  */
11912
11913/* Override any GCC internal prototype to avoid an error.
11914   Use char because int might match the return type of a GCC
11915   builtin and then its argument prototype would still apply.  */
11916char dlopen ();
11917int
11918main (void)
11919{
11920return dlopen ();
11921  ;
11922  return 0;
11923}
11924_ACEOF
11925if ac_fn_c_try_link "$LINENO"
11926then :
11927  ac_cv_lib_dl_dlopen=yes
11928else $as_nop
11929  ac_cv_lib_dl_dlopen=no
11930fi
11931rm -f core conftest.err conftest.$ac_objext conftest.beam \
11932    conftest$ac_exeext conftest.$ac_ext
11933LIBS=$ac_check_lib_save_LIBS
11934fi
11935{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11936printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
11937if test "x$ac_cv_lib_dl_dlopen" = xyes
11938then :
11939  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11940else $as_nop
11941  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11942printf %s "checking for dlopen in -lsvld... " >&6; }
11943if test ${ac_cv_lib_svld_dlopen+y}
11944then :
11945  printf %s "(cached) " >&6
11946else $as_nop
11947  ac_check_lib_save_LIBS=$LIBS
11948LIBS="-lsvld  $LIBS"
11949cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950/* end confdefs.h.  */
11951
11952/* Override any GCC internal prototype to avoid an error.
11953   Use char because int might match the return type of a GCC
11954   builtin and then its argument prototype would still apply.  */
11955char dlopen ();
11956int
11957main (void)
11958{
11959return dlopen ();
11960  ;
11961  return 0;
11962}
11963_ACEOF
11964if ac_fn_c_try_link "$LINENO"
11965then :
11966  ac_cv_lib_svld_dlopen=yes
11967else $as_nop
11968  ac_cv_lib_svld_dlopen=no
11969fi
11970rm -f core conftest.err conftest.$ac_objext conftest.beam \
11971    conftest$ac_exeext conftest.$ac_ext
11972LIBS=$ac_check_lib_save_LIBS
11973fi
11974{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11975printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
11976if test "x$ac_cv_lib_svld_dlopen" = xyes
11977then :
11978  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11979else $as_nop
11980  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11981printf %s "checking for dld_link in -ldld... " >&6; }
11982if test ${ac_cv_lib_dld_dld_link+y}
11983then :
11984  printf %s "(cached) " >&6
11985else $as_nop
11986  ac_check_lib_save_LIBS=$LIBS
11987LIBS="-ldld  $LIBS"
11988cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11989/* end confdefs.h.  */
11990
11991/* Override any GCC internal prototype to avoid an error.
11992   Use char because int might match the return type of a GCC
11993   builtin and then its argument prototype would still apply.  */
11994char dld_link ();
11995int
11996main (void)
11997{
11998return dld_link ();
11999  ;
12000  return 0;
12001}
12002_ACEOF
12003if ac_fn_c_try_link "$LINENO"
12004then :
12005  ac_cv_lib_dld_dld_link=yes
12006else $as_nop
12007  ac_cv_lib_dld_dld_link=no
12008fi
12009rm -f core conftest.err conftest.$ac_objext conftest.beam \
12010    conftest$ac_exeext conftest.$ac_ext
12011LIBS=$ac_check_lib_save_LIBS
12012fi
12013{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12014printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
12015if test "x$ac_cv_lib_dld_dld_link" = xyes
12016then :
12017  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12018fi
12019
12020
12021fi
12022
12023
12024fi
12025
12026
12027fi
12028
12029
12030fi
12031
12032
12033fi
12034
12035    ;;
12036  esac
12037
12038  if test no = "$lt_cv_dlopen"; then
12039    enable_dlopen=no
12040  else
12041    enable_dlopen=yes
12042  fi
12043
12044  case $lt_cv_dlopen in
12045  dlopen)
12046    save_CPPFLAGS=$CPPFLAGS
12047    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12048
12049    save_LDFLAGS=$LDFLAGS
12050    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12051
12052    save_LIBS=$LIBS
12053    LIBS="$lt_cv_dlopen_libs $LIBS"
12054
12055    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12056printf %s "checking whether a program can dlopen itself... " >&6; }
12057if test ${lt_cv_dlopen_self+y}
12058then :
12059  printf %s "(cached) " >&6
12060else $as_nop
12061  	  if test yes = "$cross_compiling"; then :
12062  lt_cv_dlopen_self=cross
12063else
12064  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12065  lt_status=$lt_dlunknown
12066  cat > conftest.$ac_ext <<_LT_EOF
12067#line $LINENO "configure"
12068#include "confdefs.h"
12069
12070#if HAVE_DLFCN_H
12071#include <dlfcn.h>
12072#endif
12073
12074#include <stdio.h>
12075
12076#ifdef RTLD_GLOBAL
12077#  define LT_DLGLOBAL		RTLD_GLOBAL
12078#else
12079#  ifdef DL_GLOBAL
12080#    define LT_DLGLOBAL		DL_GLOBAL
12081#  else
12082#    define LT_DLGLOBAL		0
12083#  endif
12084#endif
12085
12086/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12087   find out it does not work in some platform. */
12088#ifndef LT_DLLAZY_OR_NOW
12089#  ifdef RTLD_LAZY
12090#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12091#  else
12092#    ifdef DL_LAZY
12093#      define LT_DLLAZY_OR_NOW		DL_LAZY
12094#    else
12095#      ifdef RTLD_NOW
12096#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12097#      else
12098#        ifdef DL_NOW
12099#          define LT_DLLAZY_OR_NOW	DL_NOW
12100#        else
12101#          define LT_DLLAZY_OR_NOW	0
12102#        endif
12103#      endif
12104#    endif
12105#  endif
12106#endif
12107
12108/* When -fvisibility=hidden is used, assume the code has been annotated
12109   correspondingly for the symbols needed.  */
12110#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12111int fnord () __attribute__((visibility("default")));
12112#endif
12113
12114int fnord () { return 42; }
12115int main ()
12116{
12117  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12118  int status = $lt_dlunknown;
12119
12120  if (self)
12121    {
12122      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12123      else
12124        {
12125	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12126          else puts (dlerror ());
12127	}
12128      /* dlclose (self); */
12129    }
12130  else
12131    puts (dlerror ());
12132
12133  return status;
12134}
12135_LT_EOF
12136  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12137  (eval $ac_link) 2>&5
12138  ac_status=$?
12139  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12140  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12141    (./conftest; exit; ) >&5 2>/dev/null
12142    lt_status=$?
12143    case x$lt_status in
12144      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12145      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12146      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12147    esac
12148  else :
12149    # compilation failed
12150    lt_cv_dlopen_self=no
12151  fi
12152fi
12153rm -fr conftest*
12154
12155
12156fi
12157{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12158printf "%s\n" "$lt_cv_dlopen_self" >&6; }
12159
12160    if test yes = "$lt_cv_dlopen_self"; then
12161      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12162      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12163printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
12164if test ${lt_cv_dlopen_self_static+y}
12165then :
12166  printf %s "(cached) " >&6
12167else $as_nop
12168  	  if test yes = "$cross_compiling"; then :
12169  lt_cv_dlopen_self_static=cross
12170else
12171  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12172  lt_status=$lt_dlunknown
12173  cat > conftest.$ac_ext <<_LT_EOF
12174#line $LINENO "configure"
12175#include "confdefs.h"
12176
12177#if HAVE_DLFCN_H
12178#include <dlfcn.h>
12179#endif
12180
12181#include <stdio.h>
12182
12183#ifdef RTLD_GLOBAL
12184#  define LT_DLGLOBAL		RTLD_GLOBAL
12185#else
12186#  ifdef DL_GLOBAL
12187#    define LT_DLGLOBAL		DL_GLOBAL
12188#  else
12189#    define LT_DLGLOBAL		0
12190#  endif
12191#endif
12192
12193/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12194   find out it does not work in some platform. */
12195#ifndef LT_DLLAZY_OR_NOW
12196#  ifdef RTLD_LAZY
12197#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12198#  else
12199#    ifdef DL_LAZY
12200#      define LT_DLLAZY_OR_NOW		DL_LAZY
12201#    else
12202#      ifdef RTLD_NOW
12203#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12204#      else
12205#        ifdef DL_NOW
12206#          define LT_DLLAZY_OR_NOW	DL_NOW
12207#        else
12208#          define LT_DLLAZY_OR_NOW	0
12209#        endif
12210#      endif
12211#    endif
12212#  endif
12213#endif
12214
12215/* When -fvisibility=hidden is used, assume the code has been annotated
12216   correspondingly for the symbols needed.  */
12217#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12218int fnord () __attribute__((visibility("default")));
12219#endif
12220
12221int fnord () { return 42; }
12222int main ()
12223{
12224  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12225  int status = $lt_dlunknown;
12226
12227  if (self)
12228    {
12229      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12230      else
12231        {
12232	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12233          else puts (dlerror ());
12234	}
12235      /* dlclose (self); */
12236    }
12237  else
12238    puts (dlerror ());
12239
12240  return status;
12241}
12242_LT_EOF
12243  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12244  (eval $ac_link) 2>&5
12245  ac_status=$?
12246  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12247  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12248    (./conftest; exit; ) >&5 2>/dev/null
12249    lt_status=$?
12250    case x$lt_status in
12251      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12252      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12253      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12254    esac
12255  else :
12256    # compilation failed
12257    lt_cv_dlopen_self_static=no
12258  fi
12259fi
12260rm -fr conftest*
12261
12262
12263fi
12264{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12265printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
12266    fi
12267
12268    CPPFLAGS=$save_CPPFLAGS
12269    LDFLAGS=$save_LDFLAGS
12270    LIBS=$save_LIBS
12271    ;;
12272  esac
12273
12274  case $lt_cv_dlopen_self in
12275  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12276  *) enable_dlopen_self=unknown ;;
12277  esac
12278
12279  case $lt_cv_dlopen_self_static in
12280  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12281  *) enable_dlopen_self_static=unknown ;;
12282  esac
12283fi
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301striplib=
12302old_striplib=
12303{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12304printf %s "checking whether stripping libraries is possible... " >&6; }
12305if test -z "$STRIP"; then
12306  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12307printf "%s\n" "no" >&6; }
12308else
12309  if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12310    old_striplib="$STRIP --strip-debug"
12311    striplib="$STRIP --strip-unneeded"
12312    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12313printf "%s\n" "yes" >&6; }
12314  else
12315    case $host_os in
12316    darwin*)
12317      # FIXME - insert some real tests, host_os isn't really good enough
12318      striplib="$STRIP -x"
12319      old_striplib="$STRIP -S"
12320      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12321printf "%s\n" "yes" >&6; }
12322      ;;
12323    freebsd*)
12324      if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
12325        old_striplib="$STRIP --strip-debug"
12326        striplib="$STRIP --strip-unneeded"
12327        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12328printf "%s\n" "yes" >&6; }
12329      else
12330        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12331printf "%s\n" "no" >&6; }
12332      fi
12333      ;;
12334    *)
12335      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12336printf "%s\n" "no" >&6; }
12337      ;;
12338    esac
12339  fi
12340fi
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353  # Report what library types will actually be built
12354  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12355printf %s "checking if libtool supports shared libraries... " >&6; }
12356  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12357printf "%s\n" "$can_build_shared" >&6; }
12358
12359  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12360printf %s "checking whether to build shared libraries... " >&6; }
12361  test no = "$can_build_shared" && enable_shared=no
12362
12363  # On AIX, shared libraries and static libraries use the same namespace, and
12364  # are all built from PIC.
12365  case $host_os in
12366  aix3*)
12367    test yes = "$enable_shared" && enable_static=no
12368    if test -n "$RANLIB"; then
12369      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12370      postinstall_cmds='$RANLIB $lib'
12371    fi
12372    ;;
12373
12374  aix[4-9]*)
12375    if test ia64 != "$host_cpu"; then
12376      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12377      yes,aix,yes) ;;			# shared object as lib.so file only
12378      yes,svr4,*) ;;			# shared object as lib.so archive member only
12379      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12380      esac
12381    fi
12382    ;;
12383  esac
12384  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12385printf "%s\n" "$enable_shared" >&6; }
12386
12387  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12388printf %s "checking whether to build static libraries... " >&6; }
12389  # Make sure either enable_shared or enable_static is yes.
12390  test yes = "$enable_shared" || enable_static=yes
12391  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12392printf "%s\n" "$enable_static" >&6; }
12393
12394
12395
12396
12397fi
12398ac_ext=c
12399ac_cpp='$CPP $CPPFLAGS'
12400ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12401ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12402ac_compiler_gnu=$ac_cv_c_compiler_gnu
12403
12404CC=$lt_save_CC
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420        ac_config_commands="$ac_config_commands libtool"
12421
12422
12423
12424
12425# Only expand once:
12426
12427
12428
12429# Checks for --enable args
12430{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable FreeType2 support" >&5
12431printf %s "checking whether to enable FreeType2 support... " >&6; }
12432# Check whether --enable-ttf was given.
12433if test ${enable_ttf+y}
12434then :
12435  enableval=$enable_ttf; if [ "$enableval" = "yes" ]; then
12436
12437printf "%s\n" "#define TTF_SUPPORT 1" >>confdefs.h
12438
12439		CFLAGS="$CFLAGS `freetype-config --cflags`"
12440		FTLIB="-lfreetype"
12441		ttf_support="yes"
12442	else
12443		ttf_support="no"
12444	fi
12445else $as_nop
12446  ttf_support="no"
12447
12448fi
12449
12450{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ttf_support" >&5
12451printf "%s\n" "$ttf_support" >&6; }
12452
12453# Checks for libraries.
12454{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for writePixmapToLCD in -lg15" >&5
12455printf %s "checking for writePixmapToLCD in -lg15... " >&6; }
12456if test ${ac_cv_lib_g15_writePixmapToLCD+y}
12457then :
12458  printf %s "(cached) " >&6
12459else $as_nop
12460  ac_check_lib_save_LIBS=$LIBS
12461LIBS="-lg15  $LIBS"
12462cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12463/* end confdefs.h.  */
12464
12465/* Override any GCC internal prototype to avoid an error.
12466   Use char because int might match the return type of a GCC
12467   builtin and then its argument prototype would still apply.  */
12468char writePixmapToLCD ();
12469int
12470main (void)
12471{
12472return writePixmapToLCD ();
12473  ;
12474  return 0;
12475}
12476_ACEOF
12477if ac_fn_c_try_link "$LINENO"
12478then :
12479  ac_cv_lib_g15_writePixmapToLCD=yes
12480else $as_nop
12481  ac_cv_lib_g15_writePixmapToLCD=no
12482fi
12483rm -f core conftest.err conftest.$ac_objext conftest.beam \
12484    conftest$ac_exeext conftest.$ac_ext
12485LIBS=$ac_check_lib_save_LIBS
12486fi
12487{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g15_writePixmapToLCD" >&5
12488printf "%s\n" "$ac_cv_lib_g15_writePixmapToLCD" >&6; }
12489if test "x$ac_cv_lib_g15_writePixmapToLCD" = xyes
12490then :
12491  printf "%s\n" "#define HAVE_LIBG15 1" >>confdefs.h
12492
12493  LIBS="-lg15 $LIBS"
12494
12495else $as_nop
12496  as_fn_error $? "\"libg15 not found. please install it\"" "$LINENO" 5
12497fi
12498
12499{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
12500printf %s "checking for ceil in -lm... " >&6; }
12501if test ${ac_cv_lib_m_ceil+y}
12502then :
12503  printf %s "(cached) " >&6
12504else $as_nop
12505  ac_check_lib_save_LIBS=$LIBS
12506LIBS="-lm  $LIBS"
12507cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12508/* end confdefs.h.  */
12509
12510/* Override any GCC internal prototype to avoid an error.
12511   Use char because int might match the return type of a GCC
12512   builtin and then its argument prototype would still apply.  */
12513char ceil ();
12514int
12515main (void)
12516{
12517return ceil ();
12518  ;
12519  return 0;
12520}
12521_ACEOF
12522if ac_fn_c_try_link "$LINENO"
12523then :
12524  ac_cv_lib_m_ceil=yes
12525else $as_nop
12526  ac_cv_lib_m_ceil=no
12527fi
12528rm -f core conftest.err conftest.$ac_objext conftest.beam \
12529    conftest$ac_exeext conftest.$ac_ext
12530LIBS=$ac_check_lib_save_LIBS
12531fi
12532{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
12533printf "%s\n" "$ac_cv_lib_m_ceil" >&6; }
12534if test "x$ac_cv_lib_m_ceil" = xyes
12535then :
12536  printf "%s\n" "#define HAVE_LIBM 1" >>confdefs.h
12537
12538  LIBS="-lm $LIBS"
12539
12540else $as_nop
12541  as_fn_error $? "\"libm not found.  Please install it\"" "$LINENO" 5
12542fi
12543
12544
12545# Checks for typedefs, structures, and compiler characteristics.
12546{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12547printf %s "checking for an ANSI C-conforming const... " >&6; }
12548if test ${ac_cv_c_const+y}
12549then :
12550  printf %s "(cached) " >&6
12551else $as_nop
12552  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12553/* end confdefs.h.  */
12554
12555int
12556main (void)
12557{
12558
12559#ifndef __cplusplus
12560  /* Ultrix mips cc rejects this sort of thing.  */
12561  typedef int charset[2];
12562  const charset cs = { 0, 0 };
12563  /* SunOS 4.1.1 cc rejects this.  */
12564  char const *const *pcpcc;
12565  char **ppc;
12566  /* NEC SVR4.0.2 mips cc rejects this.  */
12567  struct point {int x, y;};
12568  static struct point const zero = {0,0};
12569  /* IBM XL C 1.02.0.0 rejects this.
12570     It does not let you subtract one const X* pointer from another in
12571     an arm of an if-expression whose if-part is not a constant
12572     expression */
12573  const char *g = "string";
12574  pcpcc = &g + (g ? g-g : 0);
12575  /* HPUX 7.0 cc rejects these. */
12576  ++pcpcc;
12577  ppc = (char**) pcpcc;
12578  pcpcc = (char const *const *) ppc;
12579  { /* SCO 3.2v4 cc rejects this sort of thing.  */
12580    char tx;
12581    char *t = &tx;
12582    char const *s = 0 ? (char *) 0 : (char const *) 0;
12583
12584    *t++ = 0;
12585    if (s) return 0;
12586  }
12587  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12588    int x[] = {25, 17};
12589    const int *foo = &x[0];
12590    ++foo;
12591  }
12592  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12593    typedef const int *iptr;
12594    iptr p = 0;
12595    ++p;
12596  }
12597  { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
12598       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12599    struct s { int j; const int *ap[3]; } bx;
12600    struct s *b = &bx; b->j = 5;
12601  }
12602  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12603    const int foo = 10;
12604    if (!foo) return 0;
12605  }
12606  return !cs[0] && !zero.x;
12607#endif
12608
12609  ;
12610  return 0;
12611}
12612_ACEOF
12613if ac_fn_c_try_compile "$LINENO"
12614then :
12615  ac_cv_c_const=yes
12616else $as_nop
12617  ac_cv_c_const=no
12618fi
12619rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12620fi
12621{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12622printf "%s\n" "$ac_cv_c_const" >&6; }
12623if test $ac_cv_c_const = no; then
12624
12625printf "%s\n" "#define const /**/" >>confdefs.h
12626
12627fi
12628
12629
12630# Checks for header files.
12631
12632{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
12633printf %s "checking for egrep... " >&6; }
12634if test ${ac_cv_path_EGREP+y}
12635then :
12636  printf %s "(cached) " >&6
12637else $as_nop
12638  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
12639   then ac_cv_path_EGREP="$GREP -E"
12640   else
12641     if test -z "$EGREP"; then
12642  ac_path_EGREP_found=false
12643  # Loop through the user's path and test for each of PROGNAME-LIST
12644  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12645for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
12646do
12647  IFS=$as_save_IFS
12648  case $as_dir in #(((
12649    '') as_dir=./ ;;
12650    */) ;;
12651    *) as_dir=$as_dir/ ;;
12652  esac
12653    for ac_prog in egrep
12654   do
12655    for ac_exec_ext in '' $ac_executable_extensions; do
12656      ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
12657      as_fn_executable_p "$ac_path_EGREP" || continue
12658# Check for GNU ac_path_EGREP and select it if it is found.
12659  # Check for GNU $ac_path_EGREP
12660case `"$ac_path_EGREP" --version 2>&1` in
12661*GNU*)
12662  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
12663*)
12664  ac_count=0
12665  printf %s 0123456789 >"conftest.in"
12666  while :
12667  do
12668    cat "conftest.in" "conftest.in" >"conftest.tmp"
12669    mv "conftest.tmp" "conftest.in"
12670    cp "conftest.in" "conftest.nl"
12671    printf "%s\n" 'EGREP' >> "conftest.nl"
12672    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
12673    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
12674    as_fn_arith $ac_count + 1 && ac_count=$as_val
12675    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
12676      # Best one so far, save it but keep looking for a better one
12677      ac_cv_path_EGREP="$ac_path_EGREP"
12678      ac_path_EGREP_max=$ac_count
12679    fi
12680    # 10*(2^10) chars as input seems more than enough
12681    test $ac_count -gt 10 && break
12682  done
12683  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
12684esac
12685
12686      $ac_path_EGREP_found && break 3
12687    done
12688  done
12689  done
12690IFS=$as_save_IFS
12691  if test -z "$ac_cv_path_EGREP"; then
12692    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
12693  fi
12694else
12695  ac_cv_path_EGREP=$EGREP
12696fi
12697
12698   fi
12699fi
12700{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
12701printf "%s\n" "$ac_cv_path_EGREP" >&6; }
12702 EGREP="$ac_cv_path_EGREP"
12703
12704
12705
12706ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12707if test "x$ac_cv_header_string_h" = xyes
12708then :
12709  printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
12710
12711fi
12712ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12713if test "x$ac_cv_header_ft2build_h" = xyes
12714then :
12715  printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
12716
12717fi
12718
12719
12720# Checks for library functions.
12721# Autoupdate added the next two lines to ensure that your configure
12722# script's behavior did not change.  They are probably safe to remove.
12723
12724{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
12725printf %s "checking for egrep... " >&6; }
12726if test ${ac_cv_path_EGREP+y}
12727then :
12728  printf %s "(cached) " >&6
12729else $as_nop
12730  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
12731   then ac_cv_path_EGREP="$GREP -E"
12732   else
12733     if test -z "$EGREP"; then
12734  ac_path_EGREP_found=false
12735  # Loop through the user's path and test for each of PROGNAME-LIST
12736  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12737for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
12738do
12739  IFS=$as_save_IFS
12740  case $as_dir in #(((
12741    '') as_dir=./ ;;
12742    */) ;;
12743    *) as_dir=$as_dir/ ;;
12744  esac
12745    for ac_prog in egrep
12746   do
12747    for ac_exec_ext in '' $ac_executable_extensions; do
12748      ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
12749      as_fn_executable_p "$ac_path_EGREP" || continue
12750# Check for GNU ac_path_EGREP and select it if it is found.
12751  # Check for GNU $ac_path_EGREP
12752case `"$ac_path_EGREP" --version 2>&1` in
12753*GNU*)
12754  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
12755*)
12756  ac_count=0
12757  printf %s 0123456789 >"conftest.in"
12758  while :
12759  do
12760    cat "conftest.in" "conftest.in" >"conftest.tmp"
12761    mv "conftest.tmp" "conftest.in"
12762    cp "conftest.in" "conftest.nl"
12763    printf "%s\n" 'EGREP' >> "conftest.nl"
12764    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
12765    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
12766    as_fn_arith $ac_count + 1 && ac_count=$as_val
12767    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
12768      # Best one so far, save it but keep looking for a better one
12769      ac_cv_path_EGREP="$ac_path_EGREP"
12770      ac_path_EGREP_max=$ac_count
12771    fi
12772    # 10*(2^10) chars as input seems more than enough
12773    test $ac_count -gt 10 && break
12774  done
12775  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
12776esac
12777
12778      $ac_path_EGREP_found && break 3
12779    done
12780  done
12781  done
12782IFS=$as_save_IFS
12783  if test -z "$ac_cv_path_EGREP"; then
12784    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
12785  fi
12786else
12787  ac_cv_path_EGREP=$EGREP
12788fi
12789
12790   fi
12791fi
12792{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
12793printf "%s\n" "$ac_cv_path_EGREP" >&6; }
12794 EGREP="$ac_cv_path_EGREP"
12795
12796
12797
12798ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
12799if test "x$ac_cv_func_memset" = xyes
12800then :
12801  printf "%s\n" "#define HAVE_MEMSET 1" >>confdefs.h
12802
12803fi
12804
12805
12806
12807ac_config_files="$ac_config_files Makefile"
12808
12809cat >confcache <<\_ACEOF
12810# This file is a shell script that caches the results of configure
12811# tests run on this system so they can be shared between configure
12812# scripts and configure runs, see configure's option --config-cache.
12813# It is not useful on other systems.  If it contains results you don't
12814# want to keep, you may remove or edit it.
12815#
12816# config.status only pays attention to the cache file if you give it
12817# the --recheck option to rerun configure.
12818#
12819# `ac_cv_env_foo' variables (set or unset) will be overridden when
12820# loading this file, other *unset* `ac_cv_foo' will be assigned the
12821# following values.
12822
12823_ACEOF
12824
12825# The following way of writing the cache mishandles newlines in values,
12826# but we know of no workaround that is simple, portable, and efficient.
12827# So, we kill variables containing newlines.
12828# Ultrix sh set writes to stderr and can't be redirected directly,
12829# and sets the high bit in the cache file unless we assign to the vars.
12830(
12831  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12832    eval ac_val=\$$ac_var
12833    case $ac_val in #(
12834    *${as_nl}*)
12835      case $ac_var in #(
12836      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12837printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12838      esac
12839      case $ac_var in #(
12840      _ | IFS | as_nl) ;; #(
12841      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12842      *) { eval $ac_var=; unset $ac_var;} ;;
12843      esac ;;
12844    esac
12845  done
12846
12847  (set) 2>&1 |
12848    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12849    *${as_nl}ac_space=\ *)
12850      # `set' does not quote correctly, so add quotes: double-quote
12851      # substitution turns \\\\ into \\, and sed turns \\ into \.
12852      sed -n \
12853	"s/'/'\\\\''/g;
12854	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12855      ;; #(
12856    *)
12857      # `set' quotes correctly as required by POSIX, so do not add quotes.
12858      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12859      ;;
12860    esac |
12861    sort
12862) |
12863  sed '
12864     /^ac_cv_env_/b end
12865     t clear
12866     :clear
12867     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
12868     t end
12869     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12870     :end' >>confcache
12871if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12872  if test -w "$cache_file"; then
12873    if test "x$cache_file" != "x/dev/null"; then
12874      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12875printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
12876      if test ! -f "$cache_file" || test -h "$cache_file"; then
12877	cat confcache >"$cache_file"
12878      else
12879        case $cache_file in #(
12880        */* | ?:*)
12881	  mv -f confcache "$cache_file"$$ &&
12882	  mv -f "$cache_file"$$ "$cache_file" ;; #(
12883        *)
12884	  mv -f confcache "$cache_file" ;;
12885	esac
12886      fi
12887    fi
12888  else
12889    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12890printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
12891  fi
12892fi
12893rm -f confcache
12894
12895test "x$prefix" = xNONE && prefix=$ac_default_prefix
12896# Let make expand exec_prefix.
12897test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12898
12899DEFS=-DHAVE_CONFIG_H
12900
12901ac_libobjs=
12902ac_ltlibobjs=
12903U=
12904for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12905  # 1. Remove the extension, and $U if already installed.
12906  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12907  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
12908  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12909  #    will be set to the directory where LIBOBJS objects are built.
12910  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12911  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12912done
12913LIBOBJS=$ac_libobjs
12914
12915LTLIBOBJS=$ac_ltlibobjs
12916
12917
12918{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12919printf %s "checking that generated files are newer than configure... " >&6; }
12920   if test -n "$am_sleep_pid"; then
12921     # Hide warnings about reused PIDs.
12922     wait $am_sleep_pid 2>/dev/null
12923   fi
12924   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
12925printf "%s\n" "done" >&6; }
12926 if test -n "$EXEEXT"; then
12927  am__EXEEXT_TRUE=
12928  am__EXEEXT_FALSE='#'
12929else
12930  am__EXEEXT_TRUE='#'
12931  am__EXEEXT_FALSE=
12932fi
12933
12934if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12935  as_fn_error $? "conditional \"AMDEP\" was never defined.
12936Usually this means the macro was only invoked conditionally." "$LINENO" 5
12937fi
12938if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12939  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12940Usually this means the macro was only invoked conditionally." "$LINENO" 5
12941fi
12942
12943: "${CONFIG_STATUS=./config.status}"
12944ac_write_fail=0
12945ac_clean_files_save=$ac_clean_files
12946ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12947{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12948printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
12949as_write_fail=0
12950cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12951#! $SHELL
12952# Generated by $as_me.
12953# Run this file to recreate the current configuration.
12954# Compiler output produced by configure, useful for debugging
12955# configure, is in config.log if it exists.
12956
12957debug=false
12958ac_cs_recheck=false
12959ac_cs_silent=false
12960
12961SHELL=\${CONFIG_SHELL-$SHELL}
12962export SHELL
12963_ASEOF
12964cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12965## -------------------- ##
12966## M4sh Initialization. ##
12967## -------------------- ##
12968
12969# Be more Bourne compatible
12970DUALCASE=1; export DUALCASE # for MKS sh
12971as_nop=:
12972if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
12973then :
12974  emulate sh
12975  NULLCMD=:
12976  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12977  # is contrary to our usage.  Disable this feature.
12978  alias -g '${1+"$@"}'='"$@"'
12979  setopt NO_GLOB_SUBST
12980else $as_nop
12981  case `(set -o) 2>/dev/null` in #(
12982  *posix*) :
12983    set -o posix ;; #(
12984  *) :
12985     ;;
12986esac
12987fi
12988
12989
12990
12991# Reset variables that may have inherited troublesome values from
12992# the environment.
12993
12994# IFS needs to be set, to space, tab, and newline, in precisely that order.
12995# (If _AS_PATH_WALK were called with IFS unset, it would have the
12996# side effect of setting IFS to empty, thus disabling word splitting.)
12997# Quoting is to prevent editors from complaining about space-tab.
12998as_nl='
12999'
13000export as_nl
13001IFS=" ""	$as_nl"
13002
13003PS1='$ '
13004PS2='> '
13005PS4='+ '
13006
13007# Ensure predictable behavior from utilities with locale-dependent output.
13008LC_ALL=C
13009export LC_ALL
13010LANGUAGE=C
13011export LANGUAGE
13012
13013# We cannot yet rely on "unset" to work, but we need these variables
13014# to be unset--not just set to an empty or harmless value--now, to
13015# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
13016# also avoids known problems related to "unset" and subshell syntax
13017# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
13018for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
13019do eval test \${$as_var+y} \
13020  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13021done
13022
13023# Ensure that fds 0, 1, and 2 are open.
13024if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
13025if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
13026if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
13027
13028# The user is always right.
13029if ${PATH_SEPARATOR+false} :; then
13030  PATH_SEPARATOR=:
13031  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13032    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13033      PATH_SEPARATOR=';'
13034  }
13035fi
13036
13037
13038# Find who we are.  Look in the path if we contain no directory separator.
13039as_myself=
13040case $0 in #((
13041  *[\\/]* ) as_myself=$0 ;;
13042  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13043for as_dir in $PATH
13044do
13045  IFS=$as_save_IFS
13046  case $as_dir in #(((
13047    '') as_dir=./ ;;
13048    */) ;;
13049    *) as_dir=$as_dir/ ;;
13050  esac
13051    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
13052  done
13053IFS=$as_save_IFS
13054
13055     ;;
13056esac
13057# We did not find ourselves, most probably we were run as `sh COMMAND'
13058# in which case we are not to be found in the path.
13059if test "x$as_myself" = x; then
13060  as_myself=$0
13061fi
13062if test ! -f "$as_myself"; then
13063  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13064  exit 1
13065fi
13066
13067
13068
13069# as_fn_error STATUS ERROR [LINENO LOG_FD]
13070# ----------------------------------------
13071# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13072# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13073# script with STATUS, using 1 if that was 0.
13074as_fn_error ()
13075{
13076  as_status=$1; test $as_status -eq 0 && as_status=1
13077  if test "$4"; then
13078    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13079    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13080  fi
13081  printf "%s\n" "$as_me: error: $2" >&2
13082  as_fn_exit $as_status
13083} # as_fn_error
13084
13085
13086
13087# as_fn_set_status STATUS
13088# -----------------------
13089# Set $? to STATUS, without forking.
13090as_fn_set_status ()
13091{
13092  return $1
13093} # as_fn_set_status
13094
13095# as_fn_exit STATUS
13096# -----------------
13097# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13098as_fn_exit ()
13099{
13100  set +e
13101  as_fn_set_status $1
13102  exit $1
13103} # as_fn_exit
13104
13105# as_fn_unset VAR
13106# ---------------
13107# Portably unset VAR.
13108as_fn_unset ()
13109{
13110  { eval $1=; unset $1;}
13111}
13112as_unset=as_fn_unset
13113
13114# as_fn_append VAR VALUE
13115# ----------------------
13116# Append the text in VALUE to the end of the definition contained in VAR. Take
13117# advantage of any shell optimizations that allow amortized linear growth over
13118# repeated appends, instead of the typical quadratic growth present in naive
13119# implementations.
13120if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
13121then :
13122  eval 'as_fn_append ()
13123  {
13124    eval $1+=\$2
13125  }'
13126else $as_nop
13127  as_fn_append ()
13128  {
13129    eval $1=\$$1\$2
13130  }
13131fi # as_fn_append
13132
13133# as_fn_arith ARG...
13134# ------------------
13135# Perform arithmetic evaluation on the ARGs, and store the result in the
13136# global $as_val. Take advantage of shells that can avoid forks. The arguments
13137# must be portable across $(()) and expr.
13138if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
13139then :
13140  eval 'as_fn_arith ()
13141  {
13142    as_val=$(( $* ))
13143  }'
13144else $as_nop
13145  as_fn_arith ()
13146  {
13147    as_val=`expr "$@" || test $? -eq 1`
13148  }
13149fi # as_fn_arith
13150
13151
13152if expr a : '\(a\)' >/dev/null 2>&1 &&
13153   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13154  as_expr=expr
13155else
13156  as_expr=false
13157fi
13158
13159if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13160  as_basename=basename
13161else
13162  as_basename=false
13163fi
13164
13165if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13166  as_dirname=dirname
13167else
13168  as_dirname=false
13169fi
13170
13171as_me=`$as_basename -- "$0" ||
13172$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13173	 X"$0" : 'X\(//\)$' \| \
13174	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13175printf "%s\n" X/"$0" |
13176    sed '/^.*\/\([^/][^/]*\)\/*$/{
13177	    s//\1/
13178	    q
13179	  }
13180	  /^X\/\(\/\/\)$/{
13181	    s//\1/
13182	    q
13183	  }
13184	  /^X\/\(\/\).*/{
13185	    s//\1/
13186	    q
13187	  }
13188	  s/.*/./; q'`
13189
13190# Avoid depending upon Character Ranges.
13191as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13192as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13193as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13194as_cr_digits='0123456789'
13195as_cr_alnum=$as_cr_Letters$as_cr_digits
13196
13197
13198# Determine whether it's possible to make 'echo' print without a newline.
13199# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
13200# for compatibility with existing Makefiles.
13201ECHO_C= ECHO_N= ECHO_T=
13202case `echo -n x` in #(((((
13203-n*)
13204  case `echo 'xy\c'` in
13205  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13206  xy)  ECHO_C='\c';;
13207  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13208       ECHO_T='	';;
13209  esac;;
13210*)
13211  ECHO_N='-n';;
13212esac
13213
13214# For backward compatibility with old third-party macros, we provide
13215# the shell variables $as_echo and $as_echo_n.  New code should use
13216# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
13217as_echo='printf %s\n'
13218as_echo_n='printf %s'
13219
13220rm -f conf$$ conf$$.exe conf$$.file
13221if test -d conf$$.dir; then
13222  rm -f conf$$.dir/conf$$.file
13223else
13224  rm -f conf$$.dir
13225  mkdir conf$$.dir 2>/dev/null
13226fi
13227if (echo >conf$$.file) 2>/dev/null; then
13228  if ln -s conf$$.file conf$$ 2>/dev/null; then
13229    as_ln_s='ln -s'
13230    # ... but there are two gotchas:
13231    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13232    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13233    # In both cases, we have to default to `cp -pR'.
13234    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13235      as_ln_s='cp -pR'
13236  elif ln conf$$.file conf$$ 2>/dev/null; then
13237    as_ln_s=ln
13238  else
13239    as_ln_s='cp -pR'
13240  fi
13241else
13242  as_ln_s='cp -pR'
13243fi
13244rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13245rmdir conf$$.dir 2>/dev/null
13246
13247
13248# as_fn_mkdir_p
13249# -------------
13250# Create "$as_dir" as a directory, including parents if necessary.
13251as_fn_mkdir_p ()
13252{
13253
13254  case $as_dir in #(
13255  -*) as_dir=./$as_dir;;
13256  esac
13257  test -d "$as_dir" || eval $as_mkdir_p || {
13258    as_dirs=
13259    while :; do
13260      case $as_dir in #(
13261      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13262      *) as_qdir=$as_dir;;
13263      esac
13264      as_dirs="'$as_qdir' $as_dirs"
13265      as_dir=`$as_dirname -- "$as_dir" ||
13266$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13267	 X"$as_dir" : 'X\(//\)[^/]' \| \
13268	 X"$as_dir" : 'X\(//\)$' \| \
13269	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13270printf "%s\n" X"$as_dir" |
13271    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13272	    s//\1/
13273	    q
13274	  }
13275	  /^X\(\/\/\)[^/].*/{
13276	    s//\1/
13277	    q
13278	  }
13279	  /^X\(\/\/\)$/{
13280	    s//\1/
13281	    q
13282	  }
13283	  /^X\(\/\).*/{
13284	    s//\1/
13285	    q
13286	  }
13287	  s/.*/./; q'`
13288      test -d "$as_dir" && break
13289    done
13290    test -z "$as_dirs" || eval "mkdir $as_dirs"
13291  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13292
13293
13294} # as_fn_mkdir_p
13295if mkdir -p . 2>/dev/null; then
13296  as_mkdir_p='mkdir -p "$as_dir"'
13297else
13298  test -d ./-p && rmdir ./-p
13299  as_mkdir_p=false
13300fi
13301
13302
13303# as_fn_executable_p FILE
13304# -----------------------
13305# Test if FILE is an executable regular file.
13306as_fn_executable_p ()
13307{
13308  test -f "$1" && test -x "$1"
13309} # as_fn_executable_p
13310as_test_x='test -x'
13311as_executable_p=as_fn_executable_p
13312
13313# Sed expression to map a string onto a valid CPP name.
13314as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13315
13316# Sed expression to map a string onto a valid variable name.
13317as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13318
13319
13320exec 6>&1
13321## ----------------------------------- ##
13322## Main body of $CONFIG_STATUS script. ##
13323## ----------------------------------- ##
13324_ASEOF
13325test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13326
13327cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13328# Save the log message, to keep $0 and so on meaningful, and to
13329# report actual input values of CONFIG_FILES etc. instead of their
13330# values after options handling.
13331ac_log="
13332This file was extended by libg15render $as_me 3.0, which was
13333generated by GNU Autoconf 2.71.  Invocation command line was
13334
13335  CONFIG_FILES    = $CONFIG_FILES
13336  CONFIG_HEADERS  = $CONFIG_HEADERS
13337  CONFIG_LINKS    = $CONFIG_LINKS
13338  CONFIG_COMMANDS = $CONFIG_COMMANDS
13339  $ $0 $@
13340
13341on `(hostname || uname -n) 2>/dev/null | sed 1q`
13342"
13343
13344_ACEOF
13345
13346case $ac_config_files in *"
13347"*) set x $ac_config_files; shift; ac_config_files=$*;;
13348esac
13349
13350case $ac_config_headers in *"
13351"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13352esac
13353
13354
13355cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13356# Files that config.status was made for.
13357config_files="$ac_config_files"
13358config_headers="$ac_config_headers"
13359config_commands="$ac_config_commands"
13360
13361_ACEOF
13362
13363cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13364ac_cs_usage="\
13365\`$as_me' instantiates files and other configuration actions
13366from templates according to the current configuration.  Unless the files
13367and actions are specified as TAGs, all are instantiated by default.
13368
13369Usage: $0 [OPTION]... [TAG]...
13370
13371  -h, --help       print this help, then exit
13372  -V, --version    print version number and configuration settings, then exit
13373      --config     print configuration, then exit
13374  -q, --quiet, --silent
13375                   do not print progress messages
13376  -d, --debug      don't remove temporary files
13377      --recheck    update $as_me by reconfiguring in the same conditions
13378      --file=FILE[:TEMPLATE]
13379                   instantiate the configuration file FILE
13380      --header=FILE[:TEMPLATE]
13381                   instantiate the configuration header FILE
13382
13383Configuration files:
13384$config_files
13385
13386Configuration headers:
13387$config_headers
13388
13389Configuration commands:
13390$config_commands
13391
13392Report bugs to <menelkir@itroll.org>."
13393
13394_ACEOF
13395ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
13396ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
13397cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13398ac_cs_config='$ac_cs_config_escaped'
13399ac_cs_version="\\
13400libg15render config.status 3.0
13401configured by $0, generated by GNU Autoconf 2.71,
13402  with options \\"\$ac_cs_config\\"
13403
13404Copyright (C) 2021 Free Software Foundation, Inc.
13405This config.status script is free software; the Free Software Foundation
13406gives unlimited permission to copy, distribute and modify it."
13407
13408ac_pwd='$ac_pwd'
13409srcdir='$srcdir'
13410INSTALL='$INSTALL'
13411MKDIR_P='$MKDIR_P'
13412AWK='$AWK'
13413test -n "\$AWK" || AWK=awk
13414_ACEOF
13415
13416cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13417# The default lists apply if the user does not specify any file.
13418ac_need_defaults=:
13419while test $# != 0
13420do
13421  case $1 in
13422  --*=?*)
13423    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13424    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13425    ac_shift=:
13426    ;;
13427  --*=)
13428    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13429    ac_optarg=
13430    ac_shift=:
13431    ;;
13432  *)
13433    ac_option=$1
13434    ac_optarg=$2
13435    ac_shift=shift
13436    ;;
13437  esac
13438
13439  case $ac_option in
13440  # Handling of the options.
13441  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13442    ac_cs_recheck=: ;;
13443  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13444    printf "%s\n" "$ac_cs_version"; exit ;;
13445  --config | --confi | --conf | --con | --co | --c )
13446    printf "%s\n" "$ac_cs_config"; exit ;;
13447  --debug | --debu | --deb | --de | --d | -d )
13448    debug=: ;;
13449  --file | --fil | --fi | --f )
13450    $ac_shift
13451    case $ac_optarg in
13452    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13453    '') as_fn_error $? "missing file argument" ;;
13454    esac
13455    as_fn_append CONFIG_FILES " '$ac_optarg'"
13456    ac_need_defaults=false;;
13457  --header | --heade | --head | --hea )
13458    $ac_shift
13459    case $ac_optarg in
13460    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13461    esac
13462    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13463    ac_need_defaults=false;;
13464  --he | --h)
13465    # Conflict between --help and --header
13466    as_fn_error $? "ambiguous option: \`$1'
13467Try \`$0 --help' for more information.";;
13468  --help | --hel | -h )
13469    printf "%s\n" "$ac_cs_usage"; exit ;;
13470  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13471  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13472    ac_cs_silent=: ;;
13473
13474  # This is an error.
13475  -*) as_fn_error $? "unrecognized option: \`$1'
13476Try \`$0 --help' for more information." ;;
13477
13478  *) as_fn_append ac_config_targets " $1"
13479     ac_need_defaults=false ;;
13480
13481  esac
13482  shift
13483done
13484
13485ac_configure_extra_args=
13486
13487if $ac_cs_silent; then
13488  exec 6>/dev/null
13489  ac_configure_extra_args="$ac_configure_extra_args --silent"
13490fi
13491
13492_ACEOF
13493cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13494if \$ac_cs_recheck; then
13495  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13496  shift
13497  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
13498  CONFIG_SHELL='$SHELL'
13499  export CONFIG_SHELL
13500  exec "\$@"
13501fi
13502
13503_ACEOF
13504cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13505exec 5>>config.log
13506{
13507  echo
13508  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13509## Running $as_me. ##
13510_ASBOX
13511  printf "%s\n" "$ac_log"
13512} >&5
13513
13514_ACEOF
13515cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13516#
13517# INIT-COMMANDS
13518#
13519AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
13520
13521
13522# The HP-UX ksh and POSIX shell print the target directory to stdout
13523# if CDPATH is set.
13524(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13525
13526sed_quote_subst='$sed_quote_subst'
13527double_quote_subst='$double_quote_subst'
13528delay_variable_subst='$delay_variable_subst'
13529macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13530macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13531enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13532enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13533pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13534enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13535shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13536SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13537ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13538PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13539host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13540host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13541host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13542build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13543build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13544build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13545SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13546Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13547GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13548EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13549FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13550LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13551NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13552LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13553max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13554ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13555exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13556lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13557lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13558lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13559lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13560lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13561reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13562reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13563OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13564deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13565file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13566file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13567want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13568DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13569sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13570AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13571lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
13572AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13573archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13574STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13575RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13576old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13577old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13578old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13579lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13580CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13581CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13582compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13583GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13584lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13585lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13586lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13587lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13588lt_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"`'
13589lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13590nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13591lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13592lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13593objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13594MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13595lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13596lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13597lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13598lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13599lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13600need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13601MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13602DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13603NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13604LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13605OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13606OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13607libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13608shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13609extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13610archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13611enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13612export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13613whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13614compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13615old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13616old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13617archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13618archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13619module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13620module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13621with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13622allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13623no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13624hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13625hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13626hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13627hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13628hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13629hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13630hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13631inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13632link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13633always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13634export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13635exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13636include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13637prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13638postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13639file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13640variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13641need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13642need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13643version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13644runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13645shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13646shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13647libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13648library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13649soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13650install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13651postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13652postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13653finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13654finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13655hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13656sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13657configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13658configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13659hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13660enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13661enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13662enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13663old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13664striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13665
13666LTCC='$LTCC'
13667LTCFLAGS='$LTCFLAGS'
13668compiler='$compiler_DEFAULT'
13669
13670# A function that is used when there is no print builtin or printf.
13671func_fallback_echo ()
13672{
13673  eval 'cat <<_LTECHO_EOF
13674\$1
13675_LTECHO_EOF'
13676}
13677
13678# Quote evaled strings.
13679for var in SHELL \
13680ECHO \
13681PATH_SEPARATOR \
13682SED \
13683GREP \
13684EGREP \
13685FGREP \
13686LD \
13687NM \
13688LN_S \
13689lt_SP2NL \
13690lt_NL2SP \
13691reload_flag \
13692OBJDUMP \
13693deplibs_check_method \
13694file_magic_cmd \
13695file_magic_glob \
13696want_nocaseglob \
13697DLLTOOL \
13698sharedlib_from_linklib_cmd \
13699AR \
13700archiver_list_spec \
13701STRIP \
13702RANLIB \
13703CC \
13704CFLAGS \
13705compiler \
13706lt_cv_sys_global_symbol_pipe \
13707lt_cv_sys_global_symbol_to_cdecl \
13708lt_cv_sys_global_symbol_to_import \
13709lt_cv_sys_global_symbol_to_c_name_address \
13710lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13711lt_cv_nm_interface \
13712nm_file_list_spec \
13713lt_cv_truncate_bin \
13714lt_prog_compiler_no_builtin_flag \
13715lt_prog_compiler_pic \
13716lt_prog_compiler_wl \
13717lt_prog_compiler_static \
13718lt_cv_prog_compiler_c_o \
13719need_locks \
13720MANIFEST_TOOL \
13721DSYMUTIL \
13722NMEDIT \
13723LIPO \
13724OTOOL \
13725OTOOL64 \
13726shrext_cmds \
13727export_dynamic_flag_spec \
13728whole_archive_flag_spec \
13729compiler_needs_object \
13730with_gnu_ld \
13731allow_undefined_flag \
13732no_undefined_flag \
13733hardcode_libdir_flag_spec \
13734hardcode_libdir_separator \
13735exclude_expsyms \
13736include_expsyms \
13737file_list_spec \
13738variables_saved_for_relink \
13739libname_spec \
13740library_names_spec \
13741soname_spec \
13742install_override_mode \
13743finish_eval \
13744old_striplib \
13745striplib; do
13746    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13747    *[\\\\\\\`\\"\\\$]*)
13748      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13749      ;;
13750    *)
13751      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13752      ;;
13753    esac
13754done
13755
13756# Double-quote double-evaled strings.
13757for var in reload_cmds \
13758old_postinstall_cmds \
13759old_postuninstall_cmds \
13760old_archive_cmds \
13761extract_expsyms_cmds \
13762old_archive_from_new_cmds \
13763old_archive_from_expsyms_cmds \
13764archive_cmds \
13765archive_expsym_cmds \
13766module_cmds \
13767module_expsym_cmds \
13768export_symbols_cmds \
13769prelink_cmds \
13770postlink_cmds \
13771postinstall_cmds \
13772postuninstall_cmds \
13773finish_cmds \
13774sys_lib_search_path_spec \
13775configure_time_dlsearch_path \
13776configure_time_lt_sys_library_path; do
13777    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13778    *[\\\\\\\`\\"\\\$]*)
13779      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13780      ;;
13781    *)
13782      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13783      ;;
13784    esac
13785done
13786
13787ac_aux_dir='$ac_aux_dir'
13788
13789# See if we are running on zsh, and set the options that allow our
13790# commands through without removal of \ escapes INIT.
13791if test -n "\${ZSH_VERSION+set}"; then
13792   setopt NO_GLOB_SUBST
13793fi
13794
13795
13796    PACKAGE='$PACKAGE'
13797    VERSION='$VERSION'
13798    RM='$RM'
13799    ofile='$ofile'
13800
13801
13802
13803
13804_ACEOF
13805
13806cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13807
13808# Handling of arguments.
13809for ac_config_target in $ac_config_targets
13810do
13811  case $ac_config_target in
13812    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13813    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13814    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13815    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13816
13817  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13818  esac
13819done
13820
13821
13822# If the user did not use the arguments to specify the items to instantiate,
13823# then the envvar interface is used.  Set only those that are not.
13824# We use the long form for the default assignment because of an extremely
13825# bizarre bug on SunOS 4.1.3.
13826if $ac_need_defaults; then
13827  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
13828  test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
13829  test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
13830fi
13831
13832# Have a temporary directory for convenience.  Make it in the build tree
13833# simply because there is no reason against having it here, and in addition,
13834# creating and moving files from /tmp can sometimes cause problems.
13835# Hook for its removal unless debugging.
13836# Note that there is a small window in which the directory will not be cleaned:
13837# after its creation but before its name has been assigned to `$tmp'.
13838$debug ||
13839{
13840  tmp= ac_tmp=
13841  trap 'exit_status=$?
13842  : "${ac_tmp:=$tmp}"
13843  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13844' 0
13845  trap 'as_fn_exit 1' 1 2 13 15
13846}
13847# Create a (secure) tmp directory for tmp files.
13848
13849{
13850  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13851  test -d "$tmp"
13852}  ||
13853{
13854  tmp=./conf$$-$RANDOM
13855  (umask 077 && mkdir "$tmp")
13856} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13857ac_tmp=$tmp
13858
13859# Set up the scripts for CONFIG_FILES section.
13860# No need to generate them if there are no CONFIG_FILES.
13861# This happens for instance with `./config.status config.h'.
13862if test -n "$CONFIG_FILES"; then
13863
13864
13865ac_cr=`echo X | tr X '\015'`
13866# On cygwin, bash can eat \r inside `` if the user requested igncr.
13867# But we know of no other shell where ac_cr would be empty at this
13868# point, so we can use a bashism as a fallback.
13869if test "x$ac_cr" = x; then
13870  eval ac_cr=\$\'\\r\'
13871fi
13872ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13873if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13874  ac_cs_awk_cr='\\r'
13875else
13876  ac_cs_awk_cr=$ac_cr
13877fi
13878
13879echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13880_ACEOF
13881
13882
13883{
13884  echo "cat >conf$$subs.awk <<_ACEOF" &&
13885  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13886  echo "_ACEOF"
13887} >conf$$subs.sh ||
13888  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13889ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13890ac_delim='%!_!# '
13891for ac_last_try in false false false false false :; do
13892  . ./conf$$subs.sh ||
13893    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13894
13895  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13896  if test $ac_delim_n = $ac_delim_num; then
13897    break
13898  elif $ac_last_try; then
13899    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13900  else
13901    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13902  fi
13903done
13904rm -f conf$$subs.sh
13905
13906cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13907cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13908_ACEOF
13909sed -n '
13910h
13911s/^/S["/; s/!.*/"]=/
13912p
13913g
13914s/^[^!]*!//
13915:repl
13916t repl
13917s/'"$ac_delim"'$//
13918t delim
13919:nl
13920h
13921s/\(.\{148\}\)..*/\1/
13922t more1
13923s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13924p
13925n
13926b repl
13927:more1
13928s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13929p
13930g
13931s/.\{148\}//
13932t nl
13933:delim
13934h
13935s/\(.\{148\}\)..*/\1/
13936t more2
13937s/["\\]/\\&/g; s/^/"/; s/$/"/
13938p
13939b
13940:more2
13941s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13942p
13943g
13944s/.\{148\}//
13945t delim
13946' <conf$$subs.awk | sed '
13947/^[^""]/{
13948  N
13949  s/\n//
13950}
13951' >>$CONFIG_STATUS || ac_write_fail=1
13952rm -f conf$$subs.awk
13953cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13954_ACAWK
13955cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13956  for (key in S) S_is_set[key] = 1
13957  FS = ""
13958
13959}
13960{
13961  line = $ 0
13962  nfields = split(line, field, "@")
13963  substed = 0
13964  len = length(field[1])
13965  for (i = 2; i < nfields; i++) {
13966    key = field[i]
13967    keylen = length(key)
13968    if (S_is_set[key]) {
13969      value = S[key]
13970      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13971      len += length(value) + length(field[++i])
13972      substed = 1
13973    } else
13974      len += 1 + keylen
13975  }
13976
13977  print line
13978}
13979
13980_ACAWK
13981_ACEOF
13982cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13983if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13984  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13985else
13986  cat
13987fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13988  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13989_ACEOF
13990
13991# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13992# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13993# trailing colons and then remove the whole line if VPATH becomes empty
13994# (actually we leave an empty line to preserve line numbers).
13995if test "x$srcdir" = x.; then
13996  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
13997h
13998s///
13999s/^/:/
14000s/[	 ]*$/:/
14001s/:\$(srcdir):/:/g
14002s/:\${srcdir}:/:/g
14003s/:@srcdir@:/:/g
14004s/^:*//
14005s/:*$//
14006x
14007s/\(=[	 ]*\).*/\1/
14008G
14009s/\n//
14010s/^[^=]*=[	 ]*$//
14011}'
14012fi
14013
14014cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14015fi # test -n "$CONFIG_FILES"
14016
14017# Set up the scripts for CONFIG_HEADERS section.
14018# No need to generate them if there are no CONFIG_HEADERS.
14019# This happens for instance with `./config.status Makefile'.
14020if test -n "$CONFIG_HEADERS"; then
14021cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14022BEGIN {
14023_ACEOF
14024
14025# Transform confdefs.h into an awk script `defines.awk', embedded as
14026# here-document in config.status, that substitutes the proper values into
14027# config.h.in to produce config.h.
14028
14029# Create a delimiter string that does not exist in confdefs.h, to ease
14030# handling of long lines.
14031ac_delim='%!_!# '
14032for ac_last_try in false false :; do
14033  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14034  if test -z "$ac_tt"; then
14035    break
14036  elif $ac_last_try; then
14037    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14038  else
14039    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14040  fi
14041done
14042
14043# For the awk script, D is an array of macro values keyed by name,
14044# likewise P contains macro parameters if any.  Preserve backslash
14045# newline sequences.
14046
14047ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14048sed -n '
14049s/.\{148\}/&'"$ac_delim"'/g
14050t rset
14051:rset
14052s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14053t def
14054d
14055:def
14056s/\\$//
14057t bsnl
14058s/["\\]/\\&/g
14059s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14060D["\1"]=" \3"/p
14061s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14062d
14063:bsnl
14064s/["\\]/\\&/g
14065s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14066D["\1"]=" \3\\\\\\n"\\/p
14067t cont
14068s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14069t cont
14070d
14071:cont
14072n
14073s/.\{148\}/&'"$ac_delim"'/g
14074t clear
14075:clear
14076s/\\$//
14077t bsnlc
14078s/["\\]/\\&/g; s/^/"/; s/$/"/p
14079d
14080:bsnlc
14081s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14082b cont
14083' <confdefs.h | sed '
14084s/'"$ac_delim"'/"\\\
14085"/g' >>$CONFIG_STATUS || ac_write_fail=1
14086
14087cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14088  for (key in D) D_is_set[key] = 1
14089  FS = ""
14090}
14091/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14092  line = \$ 0
14093  split(line, arg, " ")
14094  if (arg[1] == "#") {
14095    defundef = arg[2]
14096    mac1 = arg[3]
14097  } else {
14098    defundef = substr(arg[1], 2)
14099    mac1 = arg[2]
14100  }
14101  split(mac1, mac2, "(") #)
14102  macro = mac2[1]
14103  prefix = substr(line, 1, index(line, defundef) - 1)
14104  if (D_is_set[macro]) {
14105    # Preserve the white space surrounding the "#".
14106    print prefix "define", macro P[macro] D[macro]
14107    next
14108  } else {
14109    # Replace #undef with comments.  This is necessary, for example,
14110    # in the case of _POSIX_SOURCE, which is predefined and required
14111    # on some systems where configure will not decide to define it.
14112    if (defundef == "undef") {
14113      print "/*", prefix defundef, macro, "*/"
14114      next
14115    }
14116  }
14117}
14118{ print }
14119_ACAWK
14120_ACEOF
14121cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14122  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14123fi # test -n "$CONFIG_HEADERS"
14124
14125
14126eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14127shift
14128for ac_tag
14129do
14130  case $ac_tag in
14131  :[FHLC]) ac_mode=$ac_tag; continue;;
14132  esac
14133  case $ac_mode$ac_tag in
14134  :[FHL]*:*);;
14135  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14136  :[FH]-) ac_tag=-:-;;
14137  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14138  esac
14139  ac_save_IFS=$IFS
14140  IFS=:
14141  set x $ac_tag
14142  IFS=$ac_save_IFS
14143  shift
14144  ac_file=$1
14145  shift
14146
14147  case $ac_mode in
14148  :L) ac_source=$1;;
14149  :[FH])
14150    ac_file_inputs=
14151    for ac_f
14152    do
14153      case $ac_f in
14154      -) ac_f="$ac_tmp/stdin";;
14155      *) # Look for the file first in the build tree, then in the source tree
14156	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14157	 # because $ac_f cannot contain `:'.
14158	 test -f "$ac_f" ||
14159	   case $ac_f in
14160	   [\\/$]*) false;;
14161	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14162	   esac ||
14163	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14164      esac
14165      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14166      as_fn_append ac_file_inputs " '$ac_f'"
14167    done
14168
14169    # Let's still pretend it is `configure' which instantiates (i.e., don't
14170    # use $as_me), people would be surprised to read:
14171    #    /* config.h.  Generated by config.status.  */
14172    configure_input='Generated from '`
14173	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14174	`' by configure.'
14175    if test x"$ac_file" != x-; then
14176      configure_input="$ac_file.  $configure_input"
14177      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14178printf "%s\n" "$as_me: creating $ac_file" >&6;}
14179    fi
14180    # Neutralize special characters interpreted by sed in replacement strings.
14181    case $configure_input in #(
14182    *\&* | *\|* | *\\* )
14183       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
14184       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14185    *) ac_sed_conf_input=$configure_input;;
14186    esac
14187
14188    case $ac_tag in
14189    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14190      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14191    esac
14192    ;;
14193  esac
14194
14195  ac_dir=`$as_dirname -- "$ac_file" ||
14196$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14197	 X"$ac_file" : 'X\(//\)[^/]' \| \
14198	 X"$ac_file" : 'X\(//\)$' \| \
14199	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14200printf "%s\n" X"$ac_file" |
14201    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14202	    s//\1/
14203	    q
14204	  }
14205	  /^X\(\/\/\)[^/].*/{
14206	    s//\1/
14207	    q
14208	  }
14209	  /^X\(\/\/\)$/{
14210	    s//\1/
14211	    q
14212	  }
14213	  /^X\(\/\).*/{
14214	    s//\1/
14215	    q
14216	  }
14217	  s/.*/./; q'`
14218  as_dir="$ac_dir"; as_fn_mkdir_p
14219  ac_builddir=.
14220
14221case "$ac_dir" in
14222.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14223*)
14224  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
14225  # A ".." for each directory in $ac_dir_suffix.
14226  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14227  case $ac_top_builddir_sub in
14228  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14229  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14230  esac ;;
14231esac
14232ac_abs_top_builddir=$ac_pwd
14233ac_abs_builddir=$ac_pwd$ac_dir_suffix
14234# for backward compatibility:
14235ac_top_builddir=$ac_top_build_prefix
14236
14237case $srcdir in
14238  .)  # We are building in place.
14239    ac_srcdir=.
14240    ac_top_srcdir=$ac_top_builddir_sub
14241    ac_abs_top_srcdir=$ac_pwd ;;
14242  [\\/]* | ?:[\\/]* )  # Absolute name.
14243    ac_srcdir=$srcdir$ac_dir_suffix;
14244    ac_top_srcdir=$srcdir
14245    ac_abs_top_srcdir=$srcdir ;;
14246  *) # Relative name.
14247    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14248    ac_top_srcdir=$ac_top_build_prefix$srcdir
14249    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14250esac
14251ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14252
14253
14254  case $ac_mode in
14255  :F)
14256  #
14257  # CONFIG_FILE
14258  #
14259
14260  case $INSTALL in
14261  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14262  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14263  esac
14264  ac_MKDIR_P=$MKDIR_P
14265  case $MKDIR_P in
14266  [\\/$]* | ?:[\\/]* ) ;;
14267  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14268  esac
14269_ACEOF
14270
14271cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14272# If the template does not know about datarootdir, expand it.
14273# FIXME: This hack should be removed a few years after 2.60.
14274ac_datarootdir_hack=; ac_datarootdir_seen=
14275ac_sed_dataroot='
14276/datarootdir/ {
14277  p
14278  q
14279}
14280/@datadir@/p
14281/@docdir@/p
14282/@infodir@/p
14283/@localedir@/p
14284/@mandir@/p'
14285case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14286*datarootdir*) ac_datarootdir_seen=yes;;
14287*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14288  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14289printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14290_ACEOF
14291cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14292  ac_datarootdir_hack='
14293  s&@datadir@&$datadir&g
14294  s&@docdir@&$docdir&g
14295  s&@infodir@&$infodir&g
14296  s&@localedir@&$localedir&g
14297  s&@mandir@&$mandir&g
14298  s&\\\${datarootdir}&$datarootdir&g' ;;
14299esac
14300_ACEOF
14301
14302# Neutralize VPATH when `$srcdir' = `.'.
14303# Shell code in configure.ac might set extrasub.
14304# FIXME: do we really want to maintain this feature?
14305cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14306ac_sed_extra="$ac_vpsub
14307$extrasub
14308_ACEOF
14309cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14310:t
14311/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14312s|@configure_input@|$ac_sed_conf_input|;t t
14313s&@top_builddir@&$ac_top_builddir_sub&;t t
14314s&@top_build_prefix@&$ac_top_build_prefix&;t t
14315s&@srcdir@&$ac_srcdir&;t t
14316s&@abs_srcdir@&$ac_abs_srcdir&;t t
14317s&@top_srcdir@&$ac_top_srcdir&;t t
14318s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14319s&@builddir@&$ac_builddir&;t t
14320s&@abs_builddir@&$ac_abs_builddir&;t t
14321s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14322s&@INSTALL@&$ac_INSTALL&;t t
14323s&@MKDIR_P@&$ac_MKDIR_P&;t t
14324$ac_datarootdir_hack
14325"
14326eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14327  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14328
14329test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14330  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14331  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
14332      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14333  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14334which seems to be undefined.  Please make sure it is defined" >&5
14335printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14336which seems to be undefined.  Please make sure it is defined" >&2;}
14337
14338  rm -f "$ac_tmp/stdin"
14339  case $ac_file in
14340  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14341  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14342  esac \
14343  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14344 ;;
14345  :H)
14346  #
14347  # CONFIG_HEADER
14348  #
14349  if test x"$ac_file" != x-; then
14350    {
14351      printf "%s\n" "/* $configure_input  */" >&1 \
14352      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14353    } >"$ac_tmp/config.h" \
14354      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14355    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14356      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14357printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
14358    else
14359      rm -f "$ac_file"
14360      mv "$ac_tmp/config.h" "$ac_file" \
14361	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14362    fi
14363  else
14364    printf "%s\n" "/* $configure_input  */" >&1 \
14365      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14366      || as_fn_error $? "could not create -" "$LINENO" 5
14367  fi
14368# Compute "$ac_file"'s index in $config_headers.
14369_am_arg="$ac_file"
14370_am_stamp_count=1
14371for _am_header in $config_headers :; do
14372  case $_am_header in
14373    $_am_arg | $_am_arg:* )
14374      break ;;
14375    * )
14376      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14377  esac
14378done
14379echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14380$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14381	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14382	 X"$_am_arg" : 'X\(//\)$' \| \
14383	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14384printf "%s\n" X"$_am_arg" |
14385    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14386	    s//\1/
14387	    q
14388	  }
14389	  /^X\(\/\/\)[^/].*/{
14390	    s//\1/
14391	    q
14392	  }
14393	  /^X\(\/\/\)$/{
14394	    s//\1/
14395	    q
14396	  }
14397	  /^X\(\/\).*/{
14398	    s//\1/
14399	    q
14400	  }
14401	  s/.*/./; q'`/stamp-h$_am_stamp_count
14402 ;;
14403
14404  :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14405printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
14406 ;;
14407  esac
14408
14409
14410  case $ac_file$ac_mode in
14411    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14412  # Older Autoconf quotes --file arguments for eval, but not when files
14413  # are listed without --file.  Let's play safe and only enable the eval
14414  # if we detect the quoting.
14415  # TODO: see whether this extra hack can be removed once we start
14416  # requiring Autoconf 2.70 or later.
14417  case $CONFIG_FILES in #(
14418  *\'*) :
14419    eval set x "$CONFIG_FILES" ;; #(
14420  *) :
14421    set x $CONFIG_FILES ;; #(
14422  *) :
14423     ;;
14424esac
14425  shift
14426  # Used to flag and report bootstrapping failures.
14427  am_rc=0
14428  for am_mf
14429  do
14430    # Strip MF so we end up with the name of the file.
14431    am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
14432    # Check whether this is an Automake generated Makefile which includes
14433    # dependency-tracking related rules and includes.
14434    # Grep'ing the whole file directly is not great: AIX grep has a line
14435    # limit of 2048, but all sed's we know have understand at least 4000.
14436    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
14437      || continue
14438    am_dirpart=`$as_dirname -- "$am_mf" ||
14439$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14440	 X"$am_mf" : 'X\(//\)[^/]' \| \
14441	 X"$am_mf" : 'X\(//\)$' \| \
14442	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14443printf "%s\n" X"$am_mf" |
14444    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14445	    s//\1/
14446	    q
14447	  }
14448	  /^X\(\/\/\)[^/].*/{
14449	    s//\1/
14450	    q
14451	  }
14452	  /^X\(\/\/\)$/{
14453	    s//\1/
14454	    q
14455	  }
14456	  /^X\(\/\).*/{
14457	    s//\1/
14458	    q
14459	  }
14460	  s/.*/./; q'`
14461    am_filepart=`$as_basename -- "$am_mf" ||
14462$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
14463	 X"$am_mf" : 'X\(//\)$' \| \
14464	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14465printf "%s\n" X/"$am_mf" |
14466    sed '/^.*\/\([^/][^/]*\)\/*$/{
14467	    s//\1/
14468	    q
14469	  }
14470	  /^X\/\(\/\/\)$/{
14471	    s//\1/
14472	    q
14473	  }
14474	  /^X\/\(\/\).*/{
14475	    s//\1/
14476	    q
14477	  }
14478	  s/.*/./; q'`
14479    { echo "$as_me:$LINENO: cd "$am_dirpart" \
14480      && sed -e '/# am--include-marker/d' "$am_filepart" \
14481        | $MAKE -f - am--depfiles" >&5
14482   (cd "$am_dirpart" \
14483      && sed -e '/# am--include-marker/d' "$am_filepart" \
14484        | $MAKE -f - am--depfiles) >&5 2>&5
14485   ac_status=$?
14486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487   (exit $ac_status); } || am_rc=$?
14488  done
14489  if test $am_rc -ne 0; then
14490    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14491printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14492as_fn_error $? "Something went wrong bootstrapping makefile fragments
14493    for automatic dependency tracking.  If GNU make was not used, consider
14494    re-running the configure script with MAKE=\"gmake\" (or whatever is
14495    necessary).  You can also try re-running configure with the
14496    '--disable-dependency-tracking' option to at least be able to build
14497    the package (albeit without support for automatic dependency tracking).
14498See \`config.log' for more details" "$LINENO" 5; }
14499  fi
14500  { am_dirpart=; unset am_dirpart;}
14501  { am_filepart=; unset am_filepart;}
14502  { am_mf=; unset am_mf;}
14503  { am_rc=; unset am_rc;}
14504  rm -f conftest-deps.mk
14505}
14506 ;;
14507    "libtool":C)
14508
14509    # See if we are running on zsh, and set the options that allow our
14510    # commands through without removal of \ escapes.
14511    if test -n "${ZSH_VERSION+set}"; then
14512      setopt NO_GLOB_SUBST
14513    fi
14514
14515    cfgfile=${ofile}T
14516    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14517    $RM "$cfgfile"
14518
14519    cat <<_LT_EOF >> "$cfgfile"
14520#! $SHELL
14521# Generated automatically by $as_me ($PACKAGE) $VERSION
14522# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14523
14524# Provide generalized library-building support services.
14525# Written by Gordon Matzigkeit, 1996
14526
14527# Copyright (C) 2014 Free Software Foundation, Inc.
14528# This is free software; see the source for copying conditions.  There is NO
14529# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14530
14531# GNU Libtool is free software; you can redistribute it and/or modify
14532# it under the terms of the GNU General Public License as published by
14533# the Free Software Foundation; either version 2 of of the License, or
14534# (at your option) any later version.
14535#
14536# As a special exception to the GNU General Public License, if you
14537# distribute this file as part of a program or library that is built
14538# using GNU Libtool, you may include this file under the  same
14539# distribution terms that you use for the rest of that program.
14540#
14541# GNU Libtool is distributed in the hope that it will be useful, but
14542# WITHOUT ANY WARRANTY; without even the implied warranty of
14543# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14544# GNU General Public License for more details.
14545#
14546# You should have received a copy of the GNU General Public License
14547# along with this program.  If not, see <http://www.gnu.org/licenses/>.
14548
14549
14550# The names of the tagged configurations supported by this script.
14551available_tags=''
14552
14553# Configured defaults for sys_lib_dlsearch_path munging.
14554: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14555
14556# ### BEGIN LIBTOOL CONFIG
14557
14558# Which release of libtool.m4 was used?
14559macro_version=$macro_version
14560macro_revision=$macro_revision
14561
14562# Whether or not to build shared libraries.
14563build_libtool_libs=$enable_shared
14564
14565# Whether or not to build static libraries.
14566build_old_libs=$enable_static
14567
14568# What type of objects to build.
14569pic_mode=$pic_mode
14570
14571# Whether or not to optimize for fast installation.
14572fast_install=$enable_fast_install
14573
14574# Shared archive member basename,for filename based shared library versioning on AIX.
14575shared_archive_member_spec=$shared_archive_member_spec
14576
14577# Shell to use when invoking shell scripts.
14578SHELL=$lt_SHELL
14579
14580# An echo program that protects backslashes.
14581ECHO=$lt_ECHO
14582
14583# The PATH separator for the build system.
14584PATH_SEPARATOR=$lt_PATH_SEPARATOR
14585
14586# The host system.
14587host_alias=$host_alias
14588host=$host
14589host_os=$host_os
14590
14591# The build system.
14592build_alias=$build_alias
14593build=$build
14594build_os=$build_os
14595
14596# A sed program that does not truncate output.
14597SED=$lt_SED
14598
14599# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14600Xsed="\$SED -e 1s/^X//"
14601
14602# A grep program that handles long lines.
14603GREP=$lt_GREP
14604
14605# An ERE matcher.
14606EGREP=$lt_EGREP
14607
14608# A literal string matcher.
14609FGREP=$lt_FGREP
14610
14611# A BSD- or MS-compatible name lister.
14612NM=$lt_NM
14613
14614# Whether we need soft or hard links.
14615LN_S=$lt_LN_S
14616
14617# What is the maximum length of a command?
14618max_cmd_len=$max_cmd_len
14619
14620# Object file suffix (normally "o").
14621objext=$ac_objext
14622
14623# Executable file suffix (normally "").
14624exeext=$exeext
14625
14626# whether the shell understands "unset".
14627lt_unset=$lt_unset
14628
14629# turn spaces into newlines.
14630SP2NL=$lt_lt_SP2NL
14631
14632# turn newlines into spaces.
14633NL2SP=$lt_lt_NL2SP
14634
14635# convert \$build file names to \$host format.
14636to_host_file_cmd=$lt_cv_to_host_file_cmd
14637
14638# convert \$build files to toolchain format.
14639to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14640
14641# An object symbol dumper.
14642OBJDUMP=$lt_OBJDUMP
14643
14644# Method to check whether dependent libraries are shared objects.
14645deplibs_check_method=$lt_deplibs_check_method
14646
14647# Command to use when deplibs_check_method = "file_magic".
14648file_magic_cmd=$lt_file_magic_cmd
14649
14650# How to find potential files when deplibs_check_method = "file_magic".
14651file_magic_glob=$lt_file_magic_glob
14652
14653# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14654want_nocaseglob=$lt_want_nocaseglob
14655
14656# DLL creation program.
14657DLLTOOL=$lt_DLLTOOL
14658
14659# Command to associate shared and link libraries.
14660sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14661
14662# The archiver.
14663AR=$lt_AR
14664
14665# Flags to create an archive (by configure).
14666lt_ar_flags=$lt_ar_flags
14667
14668# Flags to create an archive.
14669AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
14670
14671# How to feed a file listing to the archiver.
14672archiver_list_spec=$lt_archiver_list_spec
14673
14674# A symbol stripping program.
14675STRIP=$lt_STRIP
14676
14677# Commands used to install an old-style archive.
14678RANLIB=$lt_RANLIB
14679old_postinstall_cmds=$lt_old_postinstall_cmds
14680old_postuninstall_cmds=$lt_old_postuninstall_cmds
14681
14682# Whether to use a lock for old archive extraction.
14683lock_old_archive_extraction=$lock_old_archive_extraction
14684
14685# A C compiler.
14686LTCC=$lt_CC
14687
14688# LTCC compiler flags.
14689LTCFLAGS=$lt_CFLAGS
14690
14691# Take the output of nm and produce a listing of raw symbols and C names.
14692global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14693
14694# Transform the output of nm in a proper C declaration.
14695global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14696
14697# Transform the output of nm into a list of symbols to manually relocate.
14698global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14699
14700# Transform the output of nm in a C name address pair.
14701global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14702
14703# Transform the output of nm in a C name address pair when lib prefix is needed.
14704global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14705
14706# The name lister interface.
14707nm_interface=$lt_lt_cv_nm_interface
14708
14709# Specify filename containing input files for \$NM.
14710nm_file_list_spec=$lt_nm_file_list_spec
14711
14712# The root where to search for dependent libraries,and where our libraries should be installed.
14713lt_sysroot=$lt_sysroot
14714
14715# Command to truncate a binary pipe.
14716lt_truncate_bin=$lt_lt_cv_truncate_bin
14717
14718# The name of the directory that contains temporary libtool files.
14719objdir=$objdir
14720
14721# Used to examine libraries when file_magic_cmd begins with "file".
14722MAGIC_CMD=$MAGIC_CMD
14723
14724# Must we lock files when doing compilation?
14725need_locks=$lt_need_locks
14726
14727# Manifest tool.
14728MANIFEST_TOOL=$lt_MANIFEST_TOOL
14729
14730# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14731DSYMUTIL=$lt_DSYMUTIL
14732
14733# Tool to change global to local symbols on Mac OS X.
14734NMEDIT=$lt_NMEDIT
14735
14736# Tool to manipulate fat objects and archives on Mac OS X.
14737LIPO=$lt_LIPO
14738
14739# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14740OTOOL=$lt_OTOOL
14741
14742# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14743OTOOL64=$lt_OTOOL64
14744
14745# Old archive suffix (normally "a").
14746libext=$libext
14747
14748# Shared library suffix (normally ".so").
14749shrext_cmds=$lt_shrext_cmds
14750
14751# The commands to extract the exported symbol list from a shared archive.
14752extract_expsyms_cmds=$lt_extract_expsyms_cmds
14753
14754# Variables whose values should be saved in libtool wrapper scripts and
14755# restored at link time.
14756variables_saved_for_relink=$lt_variables_saved_for_relink
14757
14758# Do we need the "lib" prefix for modules?
14759need_lib_prefix=$need_lib_prefix
14760
14761# Do we need a version for libraries?
14762need_version=$need_version
14763
14764# Library versioning type.
14765version_type=$version_type
14766
14767# Shared library runtime path variable.
14768runpath_var=$runpath_var
14769
14770# Shared library path variable.
14771shlibpath_var=$shlibpath_var
14772
14773# Is shlibpath searched before the hard-coded library search path?
14774shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14775
14776# Format of library name prefix.
14777libname_spec=$lt_libname_spec
14778
14779# List of archive names.  First name is the real one, the rest are links.
14780# The last name is the one that the linker finds with -lNAME
14781library_names_spec=$lt_library_names_spec
14782
14783# The coded name of the library, if different from the real name.
14784soname_spec=$lt_soname_spec
14785
14786# Permission mode override for installation of shared libraries.
14787install_override_mode=$lt_install_override_mode
14788
14789# Command to use after installation of a shared archive.
14790postinstall_cmds=$lt_postinstall_cmds
14791
14792# Command to use after uninstallation of a shared archive.
14793postuninstall_cmds=$lt_postuninstall_cmds
14794
14795# Commands used to finish a libtool library installation in a directory.
14796finish_cmds=$lt_finish_cmds
14797
14798# As "finish_cmds", except a single script fragment to be evaled but
14799# not shown.
14800finish_eval=$lt_finish_eval
14801
14802# Whether we should hardcode library paths into libraries.
14803hardcode_into_libs=$hardcode_into_libs
14804
14805# Compile-time system search path for libraries.
14806sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14807
14808# Detected run-time system search path for libraries.
14809sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14810
14811# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14812configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14813
14814# Whether dlopen is supported.
14815dlopen_support=$enable_dlopen
14816
14817# Whether dlopen of programs is supported.
14818dlopen_self=$enable_dlopen_self
14819
14820# Whether dlopen of statically linked programs is supported.
14821dlopen_self_static=$enable_dlopen_self_static
14822
14823# Commands to strip libraries.
14824old_striplib=$lt_old_striplib
14825striplib=$lt_striplib
14826
14827
14828# The linker used to build libraries.
14829LD=$lt_LD
14830
14831# How to create reloadable object files.
14832reload_flag=$lt_reload_flag
14833reload_cmds=$lt_reload_cmds
14834
14835# Commands used to build an old-style archive.
14836old_archive_cmds=$lt_old_archive_cmds
14837
14838# A language specific compiler.
14839CC=$lt_compiler
14840
14841# Is the compiler the GNU compiler?
14842with_gcc=$GCC
14843
14844# Compiler flag to turn off builtin functions.
14845no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14846
14847# Additional compiler flags for building library objects.
14848pic_flag=$lt_lt_prog_compiler_pic
14849
14850# How to pass a linker flag through the compiler.
14851wl=$lt_lt_prog_compiler_wl
14852
14853# Compiler flag to prevent dynamic linking.
14854link_static_flag=$lt_lt_prog_compiler_static
14855
14856# Does compiler simultaneously support -c and -o options?
14857compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14858
14859# Whether or not to add -lc for building shared libraries.
14860build_libtool_need_lc=$archive_cmds_need_lc
14861
14862# Whether or not to disallow shared libs when runtime libs are static.
14863allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14864
14865# Compiler flag to allow reflexive dlopens.
14866export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14867
14868# Compiler flag to generate shared objects directly from archives.
14869whole_archive_flag_spec=$lt_whole_archive_flag_spec
14870
14871# Whether the compiler copes with passing no objects directly.
14872compiler_needs_object=$lt_compiler_needs_object
14873
14874# Create an old-style archive from a shared archive.
14875old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14876
14877# Create a temporary old-style archive to link instead of a shared archive.
14878old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14879
14880# Commands used to build a shared archive.
14881archive_cmds=$lt_archive_cmds
14882archive_expsym_cmds=$lt_archive_expsym_cmds
14883
14884# Commands used to build a loadable module if different from building
14885# a shared archive.
14886module_cmds=$lt_module_cmds
14887module_expsym_cmds=$lt_module_expsym_cmds
14888
14889# Whether we are building with GNU ld or not.
14890with_gnu_ld=$lt_with_gnu_ld
14891
14892# Flag that allows shared libraries with undefined symbols to be built.
14893allow_undefined_flag=$lt_allow_undefined_flag
14894
14895# Flag that enforces no undefined symbols.
14896no_undefined_flag=$lt_no_undefined_flag
14897
14898# Flag to hardcode \$libdir into a binary during linking.
14899# This must work even if \$libdir does not exist
14900hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14901
14902# Whether we need a single "-rpath" flag with a separated argument.
14903hardcode_libdir_separator=$lt_hardcode_libdir_separator
14904
14905# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14906# DIR into the resulting binary.
14907hardcode_direct=$hardcode_direct
14908
14909# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14910# DIR into the resulting binary and the resulting library dependency is
14911# "absolute",i.e impossible to change by setting \$shlibpath_var if the
14912# library is relocated.
14913hardcode_direct_absolute=$hardcode_direct_absolute
14914
14915# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14916# into the resulting binary.
14917hardcode_minus_L=$hardcode_minus_L
14918
14919# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14920# into the resulting binary.
14921hardcode_shlibpath_var=$hardcode_shlibpath_var
14922
14923# Set to "yes" if building a shared library automatically hardcodes DIR
14924# into the library and all subsequent libraries and executables linked
14925# against it.
14926hardcode_automatic=$hardcode_automatic
14927
14928# Set to yes if linker adds runtime paths of dependent libraries
14929# to runtime path list.
14930inherit_rpath=$inherit_rpath
14931
14932# Whether libtool must link a program against all its dependency libraries.
14933link_all_deplibs=$link_all_deplibs
14934
14935# Set to "yes" if exported symbols are required.
14936always_export_symbols=$always_export_symbols
14937
14938# The commands to list exported symbols.
14939export_symbols_cmds=$lt_export_symbols_cmds
14940
14941# Symbols that should not be listed in the preloaded symbols.
14942exclude_expsyms=$lt_exclude_expsyms
14943
14944# Symbols that must always be exported.
14945include_expsyms=$lt_include_expsyms
14946
14947# Commands necessary for linking programs (against libraries) with templates.
14948prelink_cmds=$lt_prelink_cmds
14949
14950# Commands necessary for finishing linking programs.
14951postlink_cmds=$lt_postlink_cmds
14952
14953# Specify filename containing input files.
14954file_list_spec=$lt_file_list_spec
14955
14956# How to hardcode a shared library path into an executable.
14957hardcode_action=$hardcode_action
14958
14959# ### END LIBTOOL CONFIG
14960
14961_LT_EOF
14962
14963    cat <<'_LT_EOF' >> "$cfgfile"
14964
14965# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14966
14967# func_munge_path_list VARIABLE PATH
14968# -----------------------------------
14969# VARIABLE is name of variable containing _space_ separated list of
14970# directories to be munged by the contents of PATH, which is string
14971# having a format:
14972# "DIR[:DIR]:"
14973#       string "DIR[ DIR]" will be prepended to VARIABLE
14974# ":DIR[:DIR]"
14975#       string "DIR[ DIR]" will be appended to VARIABLE
14976# "DIRP[:DIRP]::[DIRA:]DIRA"
14977#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14978#       "DIRA[ DIRA]" will be appended to VARIABLE
14979# "DIR[:DIR]"
14980#       VARIABLE will be replaced by "DIR[ DIR]"
14981func_munge_path_list ()
14982{
14983    case x$2 in
14984    x)
14985        ;;
14986    *:)
14987        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14988        ;;
14989    x:*)
14990        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14991        ;;
14992    *::*)
14993        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14994        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14995        ;;
14996    *)
14997        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14998        ;;
14999    esac
15000}
15001
15002
15003# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
15004func_cc_basename ()
15005{
15006    for cc_temp in $*""; do
15007      case $cc_temp in
15008        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15009        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15010        \-*) ;;
15011        *) break;;
15012      esac
15013    done
15014    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15015}
15016
15017
15018# ### END FUNCTIONS SHARED WITH CONFIGURE
15019
15020_LT_EOF
15021
15022  case $host_os in
15023  aix3*)
15024    cat <<\_LT_EOF >> "$cfgfile"
15025# AIX sometimes has problems with the GCC collect2 program.  For some
15026# reason, if we set the COLLECT_NAMES environment variable, the problems
15027# vanish in a puff of smoke.
15028if test set != "${COLLECT_NAMES+set}"; then
15029  COLLECT_NAMES=
15030  export COLLECT_NAMES
15031fi
15032_LT_EOF
15033    ;;
15034  esac
15035
15036
15037
15038ltmain=$ac_aux_dir/ltmain.sh
15039
15040
15041  # We use sed instead of cat because bash on DJGPP gets confused if
15042  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15043  # text mode, it properly converts lines to CR/LF.  This bash problem
15044  # is reportedly fixed, but why not run on old versions too?
15045  sed '$q' "$ltmain" >> "$cfgfile" \
15046     || (rm -f "$cfgfile"; exit 1)
15047
15048   mv -f "$cfgfile" "$ofile" ||
15049    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15050  chmod +x "$ofile"
15051
15052 ;;
15053
15054  esac
15055done # for ac_tag
15056
15057
15058as_fn_exit 0
15059_ACEOF
15060ac_clean_files=$ac_clean_files_save
15061
15062test $ac_write_fail = 0 ||
15063  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15064
15065
15066# configure is writing to config.log, and then calls config.status.
15067# config.status does its own redirection, appending to config.log.
15068# Unfortunately, on DOS this fails, as config.log is still kept open
15069# by configure, so config.status won't be able to write to it; its
15070# output is simply discarded.  So we exec the FD to /dev/null,
15071# effectively closing config.log, so it can be properly (re)opened and
15072# appended to by config.status.  When coming back to configure, we
15073# need to make the FD available again.
15074if test "$no_create" != yes; then
15075  ac_cs_success=:
15076  ac_config_status_args=
15077  test "$silent" = yes &&
15078    ac_config_status_args="$ac_config_status_args --quiet"
15079  exec 5>/dev/null
15080  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15081  exec 5>>config.log
15082  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15083  # would make configure fail if this is the last instruction.
15084  $ac_cs_success || as_fn_exit 1
15085fi
15086if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15087  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15088printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15089fi
15090
15091
15092