1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for GNU Trueprint 5.4.
4#
5# Report bugs to <bug-trueprint@gnu.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
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  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
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'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: bug-trueprint@gnu.org about your system, including any
279$0: error possibly output before this message. Then install
280$0: a modern shell, or manually run the script under such a
281$0: shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='GNU Trueprint'
592PACKAGE_TARNAME='trueprint'
593PACKAGE_VERSION='5.4'
594PACKAGE_STRING='GNU Trueprint 5.4'
595PACKAGE_BUGREPORT='bug-trueprint@gnu.org'
596PACKAGE_URL='http://www.gnu.org/software/trueprint/'
597
598# Factoring default headers for most tests.
599ac_includes_default="\
600#include <stdio.h>
601#ifdef HAVE_SYS_TYPES_H
602# include <sys/types.h>
603#endif
604#ifdef HAVE_SYS_STAT_H
605# include <sys/stat.h>
606#endif
607#ifdef STDC_HEADERS
608# include <stdlib.h>
609# include <stddef.h>
610#else
611# ifdef HAVE_STDLIB_H
612#  include <stdlib.h>
613# endif
614#endif
615#ifdef HAVE_STRING_H
616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617#  include <memory.h>
618# endif
619# include <string.h>
620#endif
621#ifdef HAVE_STRINGS_H
622# include <strings.h>
623#endif
624#ifdef HAVE_INTTYPES_H
625# include <inttypes.h>
626#endif
627#ifdef HAVE_STDINT_H
628# include <stdint.h>
629#endif
630#ifdef HAVE_UNISTD_H
631# include <unistd.h>
632#endif"
633
634ac_subst_vars='am__EXEEXT_FALSE
635am__EXEEXT_TRUE
636LTLIBOBJS
637LIBOBJS
638CPP
639OTOOL64
640OTOOL
641LIPO
642NMEDIT
643DSYMUTIL
644MANIFEST_TOOL
645RANLIB
646ac_ct_AR
647AR
648DLLTOOL
649OBJDUMP
650LN_S
651NM
652ac_ct_DUMPBIN
653DUMPBIN
654LD
655FGREP
656EGREP
657GREP
658SED
659host_os
660host_vendor
661host_cpu
662host
663build_os
664build_vendor
665build_cpu
666build
667LIBTOOL
668am__fastdepCC_FALSE
669am__fastdepCC_TRUE
670CCDEPMODE
671am__nodep
672AMDEPBACKSLASH
673AMDEP_FALSE
674AMDEP_TRUE
675am__quote
676am__include
677DEPDIR
678OBJEXT
679EXEEXT
680ac_ct_CC
681CPPFLAGS
682LDFLAGS
683CFLAGS
684CC
685am__untar
686am__tar
687AMTAR
688am__leading_dot
689SET_MAKE
690AWK
691mkdir_p
692MKDIR_P
693INSTALL_STRIP_PROGRAM
694STRIP
695install_sh
696MAKEINFO
697AUTOHEADER
698AUTOMAKE
699AUTOCONF
700ACLOCAL
701VERSION
702PACKAGE
703CYGPATH_W
704am__isrc
705INSTALL_DATA
706INSTALL_SCRIPT
707INSTALL_PROGRAM
708target_alias
709host_alias
710build_alias
711LIBS
712ECHO_T
713ECHO_N
714ECHO_C
715DEFS
716mandir
717localedir
718libdir
719psdir
720pdfdir
721dvidir
722htmldir
723infodir
724docdir
725oldincludedir
726includedir
727localstatedir
728sharedstatedir
729sysconfdir
730datadir
731datarootdir
732libexecdir
733sbindir
734bindir
735program_transform_name
736prefix
737exec_prefix
738PACKAGE_URL
739PACKAGE_BUGREPORT
740PACKAGE_STRING
741PACKAGE_VERSION
742PACKAGE_TARNAME
743PACKAGE_NAME
744PATH_SEPARATOR
745SHELL'
746ac_subst_files=''
747ac_user_opts='
748enable_option_checking
749enable_dependency_tracking
750enable_shared
751enable_static
752with_pic
753enable_fast_install
754with_gnu_ld
755with_sysroot
756enable_libtool_lock
757'
758      ac_precious_vars='build_alias
759host_alias
760target_alias
761CC
762CFLAGS
763LDFLAGS
764LIBS
765CPPFLAGS
766CPP'
767
768
769# Initialize some variables set by options.
770ac_init_help=
771ac_init_version=false
772ac_unrecognized_opts=
773ac_unrecognized_sep=
774# The variables have the same names as the options, with
775# dashes changed to underlines.
776cache_file=/dev/null
777exec_prefix=NONE
778no_create=
779no_recursion=
780prefix=NONE
781program_prefix=NONE
782program_suffix=NONE
783program_transform_name=s,x,x,
784silent=
785site=
786srcdir=
787verbose=
788x_includes=NONE
789x_libraries=NONE
790
791# Installation directory options.
792# These are left unexpanded so users can "make install exec_prefix=/foo"
793# and all the variables that are supposed to be based on exec_prefix
794# by default will actually change.
795# Use braces instead of parens because sh, perl, etc. also accept them.
796# (The list follows the same order as the GNU Coding Standards.)
797bindir='${exec_prefix}/bin'
798sbindir='${exec_prefix}/sbin'
799libexecdir='${exec_prefix}/libexec'
800datarootdir='${prefix}/share'
801datadir='${datarootdir}'
802sysconfdir='${prefix}/etc'
803sharedstatedir='${prefix}/com'
804localstatedir='${prefix}/var'
805includedir='${prefix}/include'
806oldincludedir='/usr/include'
807docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
808infodir='${datarootdir}/info'
809htmldir='${docdir}'
810dvidir='${docdir}'
811pdfdir='${docdir}'
812psdir='${docdir}'
813libdir='${exec_prefix}/lib'
814localedir='${datarootdir}/locale'
815mandir='${datarootdir}/man'
816
817ac_prev=
818ac_dashdash=
819for ac_option
820do
821  # If the previous option needs an argument, assign it.
822  if test -n "$ac_prev"; then
823    eval $ac_prev=\$ac_option
824    ac_prev=
825    continue
826  fi
827
828  case $ac_option in
829  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
830  *=)   ac_optarg= ;;
831  *)    ac_optarg=yes ;;
832  esac
833
834  # Accept the important Cygnus configure options, so we can diagnose typos.
835
836  case $ac_dashdash$ac_option in
837  --)
838    ac_dashdash=yes ;;
839
840  -bindir | --bindir | --bindi | --bind | --bin | --bi)
841    ac_prev=bindir ;;
842  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
843    bindir=$ac_optarg ;;
844
845  -build | --build | --buil | --bui | --bu)
846    ac_prev=build_alias ;;
847  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
848    build_alias=$ac_optarg ;;
849
850  -cache-file | --cache-file | --cache-fil | --cache-fi \
851  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
852    ac_prev=cache_file ;;
853  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
854  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
855    cache_file=$ac_optarg ;;
856
857  --config-cache | -C)
858    cache_file=config.cache ;;
859
860  -datadir | --datadir | --datadi | --datad)
861    ac_prev=datadir ;;
862  -datadir=* | --datadir=* | --datadi=* | --datad=*)
863    datadir=$ac_optarg ;;
864
865  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
866  | --dataroo | --dataro | --datar)
867    ac_prev=datarootdir ;;
868  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
869  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
870    datarootdir=$ac_optarg ;;
871
872  -disable-* | --disable-*)
873    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
874    # Reject names that are not valid shell variable names.
875    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
876      as_fn_error $? "invalid feature name: $ac_useropt"
877    ac_useropt_orig=$ac_useropt
878    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
879    case $ac_user_opts in
880      *"
881"enable_$ac_useropt"
882"*) ;;
883      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
884	 ac_unrecognized_sep=', ';;
885    esac
886    eval enable_$ac_useropt=no ;;
887
888  -docdir | --docdir | --docdi | --doc | --do)
889    ac_prev=docdir ;;
890  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
891    docdir=$ac_optarg ;;
892
893  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
894    ac_prev=dvidir ;;
895  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
896    dvidir=$ac_optarg ;;
897
898  -enable-* | --enable-*)
899    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
900    # Reject names that are not valid shell variable names.
901    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
902      as_fn_error $? "invalid feature name: $ac_useropt"
903    ac_useropt_orig=$ac_useropt
904    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
905    case $ac_user_opts in
906      *"
907"enable_$ac_useropt"
908"*) ;;
909      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
910	 ac_unrecognized_sep=', ';;
911    esac
912    eval enable_$ac_useropt=\$ac_optarg ;;
913
914  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
915  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
916  | --exec | --exe | --ex)
917    ac_prev=exec_prefix ;;
918  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
919  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
920  | --exec=* | --exe=* | --ex=*)
921    exec_prefix=$ac_optarg ;;
922
923  -gas | --gas | --ga | --g)
924    # Obsolete; use --with-gas.
925    with_gas=yes ;;
926
927  -help | --help | --hel | --he | -h)
928    ac_init_help=long ;;
929  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
930    ac_init_help=recursive ;;
931  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
932    ac_init_help=short ;;
933
934  -host | --host | --hos | --ho)
935    ac_prev=host_alias ;;
936  -host=* | --host=* | --hos=* | --ho=*)
937    host_alias=$ac_optarg ;;
938
939  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
940    ac_prev=htmldir ;;
941  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
942  | --ht=*)
943    htmldir=$ac_optarg ;;
944
945  -includedir | --includedir | --includedi | --included | --include \
946  | --includ | --inclu | --incl | --inc)
947    ac_prev=includedir ;;
948  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
949  | --includ=* | --inclu=* | --incl=* | --inc=*)
950    includedir=$ac_optarg ;;
951
952  -infodir | --infodir | --infodi | --infod | --info | --inf)
953    ac_prev=infodir ;;
954  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
955    infodir=$ac_optarg ;;
956
957  -libdir | --libdir | --libdi | --libd)
958    ac_prev=libdir ;;
959  -libdir=* | --libdir=* | --libdi=* | --libd=*)
960    libdir=$ac_optarg ;;
961
962  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
963  | --libexe | --libex | --libe)
964    ac_prev=libexecdir ;;
965  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
966  | --libexe=* | --libex=* | --libe=*)
967    libexecdir=$ac_optarg ;;
968
969  -localedir | --localedir | --localedi | --localed | --locale)
970    ac_prev=localedir ;;
971  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
972    localedir=$ac_optarg ;;
973
974  -localstatedir | --localstatedir | --localstatedi | --localstated \
975  | --localstate | --localstat | --localsta | --localst | --locals)
976    ac_prev=localstatedir ;;
977  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
978  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
979    localstatedir=$ac_optarg ;;
980
981  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
982    ac_prev=mandir ;;
983  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
984    mandir=$ac_optarg ;;
985
986  -nfp | --nfp | --nf)
987    # Obsolete; use --without-fp.
988    with_fp=no ;;
989
990  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
991  | --no-cr | --no-c | -n)
992    no_create=yes ;;
993
994  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
995  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
996    no_recursion=yes ;;
997
998  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
999  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1000  | --oldin | --oldi | --old | --ol | --o)
1001    ac_prev=oldincludedir ;;
1002  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1003  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1004  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1005    oldincludedir=$ac_optarg ;;
1006
1007  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1008    ac_prev=prefix ;;
1009  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1010    prefix=$ac_optarg ;;
1011
1012  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1013  | --program-pre | --program-pr | --program-p)
1014    ac_prev=program_prefix ;;
1015  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1016  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1017    program_prefix=$ac_optarg ;;
1018
1019  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1020  | --program-suf | --program-su | --program-s)
1021    ac_prev=program_suffix ;;
1022  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1023  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1024    program_suffix=$ac_optarg ;;
1025
1026  -program-transform-name | --program-transform-name \
1027  | --program-transform-nam | --program-transform-na \
1028  | --program-transform-n | --program-transform- \
1029  | --program-transform | --program-transfor \
1030  | --program-transfo | --program-transf \
1031  | --program-trans | --program-tran \
1032  | --progr-tra | --program-tr | --program-t)
1033    ac_prev=program_transform_name ;;
1034  -program-transform-name=* | --program-transform-name=* \
1035  | --program-transform-nam=* | --program-transform-na=* \
1036  | --program-transform-n=* | --program-transform-=* \
1037  | --program-transform=* | --program-transfor=* \
1038  | --program-transfo=* | --program-transf=* \
1039  | --program-trans=* | --program-tran=* \
1040  | --progr-tra=* | --program-tr=* | --program-t=*)
1041    program_transform_name=$ac_optarg ;;
1042
1043  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1044    ac_prev=pdfdir ;;
1045  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1046    pdfdir=$ac_optarg ;;
1047
1048  -psdir | --psdir | --psdi | --psd | --ps)
1049    ac_prev=psdir ;;
1050  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1051    psdir=$ac_optarg ;;
1052
1053  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054  | -silent | --silent | --silen | --sile | --sil)
1055    silent=yes ;;
1056
1057  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1058    ac_prev=sbindir ;;
1059  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1060  | --sbi=* | --sb=*)
1061    sbindir=$ac_optarg ;;
1062
1063  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1064  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1065  | --sharedst | --shareds | --shared | --share | --shar \
1066  | --sha | --sh)
1067    ac_prev=sharedstatedir ;;
1068  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1069  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1070  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1071  | --sha=* | --sh=*)
1072    sharedstatedir=$ac_optarg ;;
1073
1074  -site | --site | --sit)
1075    ac_prev=site ;;
1076  -site=* | --site=* | --sit=*)
1077    site=$ac_optarg ;;
1078
1079  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1080    ac_prev=srcdir ;;
1081  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1082    srcdir=$ac_optarg ;;
1083
1084  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1085  | --syscon | --sysco | --sysc | --sys | --sy)
1086    ac_prev=sysconfdir ;;
1087  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1088  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1089    sysconfdir=$ac_optarg ;;
1090
1091  -target | --target | --targe | --targ | --tar | --ta | --t)
1092    ac_prev=target_alias ;;
1093  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1094    target_alias=$ac_optarg ;;
1095
1096  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1097    verbose=yes ;;
1098
1099  -version | --version | --versio | --versi | --vers | -V)
1100    ac_init_version=: ;;
1101
1102  -with-* | --with-*)
1103    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1104    # Reject names that are not valid shell variable names.
1105    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1106      as_fn_error $? "invalid package name: $ac_useropt"
1107    ac_useropt_orig=$ac_useropt
1108    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109    case $ac_user_opts in
1110      *"
1111"with_$ac_useropt"
1112"*) ;;
1113      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1114	 ac_unrecognized_sep=', ';;
1115    esac
1116    eval with_$ac_useropt=\$ac_optarg ;;
1117
1118  -without-* | --without-*)
1119    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120    # Reject names that are not valid shell variable names.
1121    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122      as_fn_error $? "invalid package name: $ac_useropt"
1123    ac_useropt_orig=$ac_useropt
1124    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125    case $ac_user_opts in
1126      *"
1127"with_$ac_useropt"
1128"*) ;;
1129      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1130	 ac_unrecognized_sep=', ';;
1131    esac
1132    eval with_$ac_useropt=no ;;
1133
1134  --x)
1135    # Obsolete; use --with-x.
1136    with_x=yes ;;
1137
1138  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1139  | --x-incl | --x-inc | --x-in | --x-i)
1140    ac_prev=x_includes ;;
1141  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1142  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1143    x_includes=$ac_optarg ;;
1144
1145  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1146  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1147    ac_prev=x_libraries ;;
1148  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1149  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1150    x_libraries=$ac_optarg ;;
1151
1152  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1153Try \`$0 --help' for more information"
1154    ;;
1155
1156  *=*)
1157    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1158    # Reject names that are not valid shell variable names.
1159    case $ac_envvar in #(
1160      '' | [0-9]* | *[!_$as_cr_alnum]* )
1161      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1162    esac
1163    eval $ac_envvar=\$ac_optarg
1164    export $ac_envvar ;;
1165
1166  *)
1167    # FIXME: should be removed in autoconf 3.0.
1168    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1169    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1170      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1171    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1172    ;;
1173
1174  esac
1175done
1176
1177if test -n "$ac_prev"; then
1178  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1179  as_fn_error $? "missing argument to $ac_option"
1180fi
1181
1182if test -n "$ac_unrecognized_opts"; then
1183  case $enable_option_checking in
1184    no) ;;
1185    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1186    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1187  esac
1188fi
1189
1190# Check all directory arguments for consistency.
1191for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1192		datadir sysconfdir sharedstatedir localstatedir includedir \
1193		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1194		libdir localedir mandir
1195do
1196  eval ac_val=\$$ac_var
1197  # Remove trailing slashes.
1198  case $ac_val in
1199    */ )
1200      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1201      eval $ac_var=\$ac_val;;
1202  esac
1203  # Be sure to have absolute directory names.
1204  case $ac_val in
1205    [\\/$]* | ?:[\\/]* )  continue;;
1206    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1207  esac
1208  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1209done
1210
1211# There might be people who depend on the old broken behavior: `$host'
1212# used to hold the argument of --host etc.
1213# FIXME: To remove some day.
1214build=$build_alias
1215host=$host_alias
1216target=$target_alias
1217
1218# FIXME: To remove some day.
1219if test "x$host_alias" != x; then
1220  if test "x$build_alias" = x; then
1221    cross_compiling=maybe
1222  elif test "x$build_alias" != "x$host_alias"; then
1223    cross_compiling=yes
1224  fi
1225fi
1226
1227ac_tool_prefix=
1228test -n "$host_alias" && ac_tool_prefix=$host_alias-
1229
1230test "$silent" = yes && exec 6>/dev/null
1231
1232
1233ac_pwd=`pwd` && test -n "$ac_pwd" &&
1234ac_ls_di=`ls -di .` &&
1235ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1236  as_fn_error $? "working directory cannot be determined"
1237test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1238  as_fn_error $? "pwd does not report name of working directory"
1239
1240
1241# Find the source files, if location was not specified.
1242if test -z "$srcdir"; then
1243  ac_srcdir_defaulted=yes
1244  # Try the directory containing this script, then the parent directory.
1245  ac_confdir=`$as_dirname -- "$as_myself" ||
1246$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1247	 X"$as_myself" : 'X\(//\)[^/]' \| \
1248	 X"$as_myself" : 'X\(//\)$' \| \
1249	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1250$as_echo X"$as_myself" |
1251    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1252	    s//\1/
1253	    q
1254	  }
1255	  /^X\(\/\/\)[^/].*/{
1256	    s//\1/
1257	    q
1258	  }
1259	  /^X\(\/\/\)$/{
1260	    s//\1/
1261	    q
1262	  }
1263	  /^X\(\/\).*/{
1264	    s//\1/
1265	    q
1266	  }
1267	  s/.*/./; q'`
1268  srcdir=$ac_confdir
1269  if test ! -r "$srcdir/$ac_unique_file"; then
1270    srcdir=..
1271  fi
1272else
1273  ac_srcdir_defaulted=no
1274fi
1275if test ! -r "$srcdir/$ac_unique_file"; then
1276  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1277  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1278fi
1279ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1280ac_abs_confdir=`(
1281	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1282	pwd)`
1283# When building in place, set srcdir=.
1284if test "$ac_abs_confdir" = "$ac_pwd"; then
1285  srcdir=.
1286fi
1287# Remove unnecessary trailing slashes from srcdir.
1288# Double slashes in file names in object file debugging info
1289# mess up M-x gdb in Emacs.
1290case $srcdir in
1291*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1292esac
1293for ac_var in $ac_precious_vars; do
1294  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1295  eval ac_env_${ac_var}_value=\$${ac_var}
1296  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1297  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1298done
1299
1300#
1301# Report the --help message.
1302#
1303if test "$ac_init_help" = "long"; then
1304  # Omit some internal or obsolete options to make the list less imposing.
1305  # This message is too long to be a string in the A/UX 3.1 sh.
1306  cat <<_ACEOF
1307\`configure' configures GNU Trueprint 5.4 to adapt to many kinds of systems.
1308
1309Usage: $0 [OPTION]... [VAR=VALUE]...
1310
1311To assign environment variables (e.g., CC, CFLAGS...), specify them as
1312VAR=VALUE.  See below for descriptions of some of the useful variables.
1313
1314Defaults for the options are specified in brackets.
1315
1316Configuration:
1317  -h, --help              display this help and exit
1318      --help=short        display options specific to this package
1319      --help=recursive    display the short help of all the included packages
1320  -V, --version           display version information and exit
1321  -q, --quiet, --silent   do not print \`checking ...' messages
1322      --cache-file=FILE   cache test results in FILE [disabled]
1323  -C, --config-cache      alias for \`--cache-file=config.cache'
1324  -n, --no-create         do not create output files
1325      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1326
1327Installation directories:
1328  --prefix=PREFIX         install architecture-independent files in PREFIX
1329                          [$ac_default_prefix]
1330  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1331                          [PREFIX]
1332
1333By default, \`make install' will install all the files in
1334\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1335an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1336for instance \`--prefix=\$HOME'.
1337
1338For better control, use the options below.
1339
1340Fine tuning of the installation directories:
1341  --bindir=DIR            user executables [EPREFIX/bin]
1342  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1343  --libexecdir=DIR        program executables [EPREFIX/libexec]
1344  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1345  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1346  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1347  --libdir=DIR            object code libraries [EPREFIX/lib]
1348  --includedir=DIR        C header files [PREFIX/include]
1349  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1350  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1351  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1352  --infodir=DIR           info documentation [DATAROOTDIR/info]
1353  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1354  --mandir=DIR            man documentation [DATAROOTDIR/man]
1355  --docdir=DIR            documentation root [DATAROOTDIR/doc/trueprint]
1356  --htmldir=DIR           html documentation [DOCDIR]
1357  --dvidir=DIR            dvi documentation [DOCDIR]
1358  --pdfdir=DIR            pdf documentation [DOCDIR]
1359  --psdir=DIR             ps documentation [DOCDIR]
1360_ACEOF
1361
1362  cat <<\_ACEOF
1363
1364Program names:
1365  --program-prefix=PREFIX            prepend PREFIX to installed program names
1366  --program-suffix=SUFFIX            append SUFFIX to installed program names
1367  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1368
1369System types:
1370  --build=BUILD     configure for building on BUILD [guessed]
1371  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1372_ACEOF
1373fi
1374
1375if test -n "$ac_init_help"; then
1376  case $ac_init_help in
1377     short | recursive ) echo "Configuration of GNU Trueprint 5.4:";;
1378   esac
1379  cat <<\_ACEOF
1380
1381Optional Features:
1382  --disable-option-checking  ignore unrecognized --enable/--with options
1383  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1384  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1385  --disable-dependency-tracking  speeds up one-time build
1386  --enable-dependency-tracking   do not reject slow dependency extractors
1387  --enable-shared[=PKGS]  build shared libraries [default=yes]
1388  --enable-static[=PKGS]  build static libraries [default=yes]
1389  --enable-fast-install[=PKGS]
1390                          optimize for fast installation [default=yes]
1391  --disable-libtool-lock  avoid locking (might break parallel builds)
1392
1393Optional Packages:
1394  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1395  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1396  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1397                          both]
1398  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1399  --with-sysroot=DIR Search for dependent libraries within DIR
1400                        (or the compiler's sysroot if not specified).
1401
1402Some influential environment variables:
1403  CC          C compiler command
1404  CFLAGS      C compiler flags
1405  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1406              nonstandard directory <lib dir>
1407  LIBS        libraries to pass to the linker, e.g. -l<library>
1408  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1409              you have headers in a nonstandard directory <include dir>
1410  CPP         C preprocessor
1411
1412Use these variables to override the choices made by `configure' or to help
1413it to find libraries and programs with nonstandard names/locations.
1414
1415Report bugs to <bug-trueprint@gnu.org>.
1416GNU Trueprint home page: <http://www.gnu.org/software/trueprint/>.
1417General help using GNU software: <http://www.gnu.org/gethelp/>.
1418_ACEOF
1419ac_status=$?
1420fi
1421
1422if test "$ac_init_help" = "recursive"; then
1423  # If there are subdirs, report their specific --help.
1424  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1425    test -d "$ac_dir" ||
1426      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1427      continue
1428    ac_builddir=.
1429
1430case "$ac_dir" in
1431.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432*)
1433  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1434  # A ".." for each directory in $ac_dir_suffix.
1435  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1436  case $ac_top_builddir_sub in
1437  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1438  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1439  esac ;;
1440esac
1441ac_abs_top_builddir=$ac_pwd
1442ac_abs_builddir=$ac_pwd$ac_dir_suffix
1443# for backward compatibility:
1444ac_top_builddir=$ac_top_build_prefix
1445
1446case $srcdir in
1447  .)  # We are building in place.
1448    ac_srcdir=.
1449    ac_top_srcdir=$ac_top_builddir_sub
1450    ac_abs_top_srcdir=$ac_pwd ;;
1451  [\\/]* | ?:[\\/]* )  # Absolute name.
1452    ac_srcdir=$srcdir$ac_dir_suffix;
1453    ac_top_srcdir=$srcdir
1454    ac_abs_top_srcdir=$srcdir ;;
1455  *) # Relative name.
1456    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1457    ac_top_srcdir=$ac_top_build_prefix$srcdir
1458    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1459esac
1460ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1461
1462    cd "$ac_dir" || { ac_status=$?; continue; }
1463    # Check for guested configure.
1464    if test -f "$ac_srcdir/configure.gnu"; then
1465      echo &&
1466      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1467    elif test -f "$ac_srcdir/configure"; then
1468      echo &&
1469      $SHELL "$ac_srcdir/configure" --help=recursive
1470    else
1471      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1472    fi || ac_status=$?
1473    cd "$ac_pwd" || { ac_status=$?; break; }
1474  done
1475fi
1476
1477test -n "$ac_init_help" && exit $ac_status
1478if $ac_init_version; then
1479  cat <<\_ACEOF
1480GNU Trueprint configure 5.4
1481generated by GNU Autoconf 2.69
1482
1483Copyright (C) 2012 Free Software Foundation, Inc.
1484This configure script is free software; the Free Software Foundation
1485gives unlimited permission to copy, distribute and modify it.
1486_ACEOF
1487  exit
1488fi
1489
1490## ------------------------ ##
1491## Autoconf initialization. ##
1492## ------------------------ ##
1493
1494# ac_fn_c_try_compile LINENO
1495# --------------------------
1496# Try to compile conftest.$ac_ext, and return whether this succeeded.
1497ac_fn_c_try_compile ()
1498{
1499  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1500  rm -f conftest.$ac_objext
1501  if { { ac_try="$ac_compile"
1502case "(($ac_try" in
1503  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1504  *) ac_try_echo=$ac_try;;
1505esac
1506eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1507$as_echo "$ac_try_echo"; } >&5
1508  (eval "$ac_compile") 2>conftest.err
1509  ac_status=$?
1510  if test -s conftest.err; then
1511    grep -v '^ *+' conftest.err >conftest.er1
1512    cat conftest.er1 >&5
1513    mv -f conftest.er1 conftest.err
1514  fi
1515  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1516  test $ac_status = 0; } && {
1517	 test -z "$ac_c_werror_flag" ||
1518	 test ! -s conftest.err
1519       } && test -s conftest.$ac_objext; then :
1520  ac_retval=0
1521else
1522  $as_echo "$as_me: failed program was:" >&5
1523sed 's/^/| /' conftest.$ac_ext >&5
1524
1525	ac_retval=1
1526fi
1527  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1528  as_fn_set_status $ac_retval
1529
1530} # ac_fn_c_try_compile
1531
1532# ac_fn_c_try_link LINENO
1533# -----------------------
1534# Try to link conftest.$ac_ext, and return whether this succeeded.
1535ac_fn_c_try_link ()
1536{
1537  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1538  rm -f conftest.$ac_objext conftest$ac_exeext
1539  if { { ac_try="$ac_link"
1540case "(($ac_try" in
1541  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1542  *) ac_try_echo=$ac_try;;
1543esac
1544eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545$as_echo "$ac_try_echo"; } >&5
1546  (eval "$ac_link") 2>conftest.err
1547  ac_status=$?
1548  if test -s conftest.err; then
1549    grep -v '^ *+' conftest.err >conftest.er1
1550    cat conftest.er1 >&5
1551    mv -f conftest.er1 conftest.err
1552  fi
1553  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1554  test $ac_status = 0; } && {
1555	 test -z "$ac_c_werror_flag" ||
1556	 test ! -s conftest.err
1557       } && test -s conftest$ac_exeext && {
1558	 test "$cross_compiling" = yes ||
1559	 test -x conftest$ac_exeext
1560       }; then :
1561  ac_retval=0
1562else
1563  $as_echo "$as_me: failed program was:" >&5
1564sed 's/^/| /' conftest.$ac_ext >&5
1565
1566	ac_retval=1
1567fi
1568  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1569  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1570  # interfere with the next link command; also delete a directory that is
1571  # left behind by Apple's compiler.  We do this before executing the actions.
1572  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1573  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1574  as_fn_set_status $ac_retval
1575
1576} # ac_fn_c_try_link
1577
1578# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1579# -------------------------------------------------------
1580# Tests whether HEADER exists and can be compiled using the include files in
1581# INCLUDES, setting the cache variable VAR accordingly.
1582ac_fn_c_check_header_compile ()
1583{
1584  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1585  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1586$as_echo_n "checking for $2... " >&6; }
1587if eval \${$3+:} false; then :
1588  $as_echo_n "(cached) " >&6
1589else
1590  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1591/* end confdefs.h.  */
1592$4
1593#include <$2>
1594_ACEOF
1595if ac_fn_c_try_compile "$LINENO"; then :
1596  eval "$3=yes"
1597else
1598  eval "$3=no"
1599fi
1600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1601fi
1602eval ac_res=\$$3
1603	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1604$as_echo "$ac_res" >&6; }
1605  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1606
1607} # ac_fn_c_check_header_compile
1608
1609# ac_fn_c_try_cpp LINENO
1610# ----------------------
1611# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1612ac_fn_c_try_cpp ()
1613{
1614  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615  if { { ac_try="$ac_cpp conftest.$ac_ext"
1616case "(($ac_try" in
1617  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1618  *) ac_try_echo=$ac_try;;
1619esac
1620eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621$as_echo "$ac_try_echo"; } >&5
1622  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1623  ac_status=$?
1624  if test -s conftest.err; then
1625    grep -v '^ *+' conftest.err >conftest.er1
1626    cat conftest.er1 >&5
1627    mv -f conftest.er1 conftest.err
1628  fi
1629  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1630  test $ac_status = 0; } > conftest.i && {
1631	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1632	 test ! -s conftest.err
1633       }; then :
1634  ac_retval=0
1635else
1636  $as_echo "$as_me: failed program was:" >&5
1637sed 's/^/| /' conftest.$ac_ext >&5
1638
1639    ac_retval=1
1640fi
1641  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1642  as_fn_set_status $ac_retval
1643
1644} # ac_fn_c_try_cpp
1645
1646# ac_fn_c_try_run LINENO
1647# ----------------------
1648# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1649# that executables *can* be run.
1650ac_fn_c_try_run ()
1651{
1652  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653  if { { ac_try="$ac_link"
1654case "(($ac_try" in
1655  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1656  *) ac_try_echo=$ac_try;;
1657esac
1658eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659$as_echo "$ac_try_echo"; } >&5
1660  (eval "$ac_link") 2>&5
1661  ac_status=$?
1662  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1664  { { case "(($ac_try" in
1665  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1666  *) ac_try_echo=$ac_try;;
1667esac
1668eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669$as_echo "$ac_try_echo"; } >&5
1670  (eval "$ac_try") 2>&5
1671  ac_status=$?
1672  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673  test $ac_status = 0; }; }; then :
1674  ac_retval=0
1675else
1676  $as_echo "$as_me: program exited with status $ac_status" >&5
1677       $as_echo "$as_me: failed program was:" >&5
1678sed 's/^/| /' conftest.$ac_ext >&5
1679
1680       ac_retval=$ac_status
1681fi
1682  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1683  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684  as_fn_set_status $ac_retval
1685
1686} # ac_fn_c_try_run
1687
1688# ac_fn_c_check_func LINENO FUNC VAR
1689# ----------------------------------
1690# Tests whether FUNC exists, setting the cache variable VAR accordingly
1691ac_fn_c_check_func ()
1692{
1693  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695$as_echo_n "checking for $2... " >&6; }
1696if eval \${$3+:} false; then :
1697  $as_echo_n "(cached) " >&6
1698else
1699  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1700/* end confdefs.h.  */
1701/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1702   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1703#define $2 innocuous_$2
1704
1705/* System header to define __stub macros and hopefully few prototypes,
1706    which can conflict with char $2 (); below.
1707    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1708    <limits.h> exists even on freestanding compilers.  */
1709
1710#ifdef __STDC__
1711# include <limits.h>
1712#else
1713# include <assert.h>
1714#endif
1715
1716#undef $2
1717
1718/* Override any GCC internal prototype to avoid an error.
1719   Use char because int might match the return type of a GCC
1720   builtin and then its argument prototype would still apply.  */
1721#ifdef __cplusplus
1722extern "C"
1723#endif
1724char $2 ();
1725/* The GNU C library defines this for functions which it implements
1726    to always fail with ENOSYS.  Some functions are actually named
1727    something starting with __ and the normal name is an alias.  */
1728#if defined __stub_$2 || defined __stub___$2
1729choke me
1730#endif
1731
1732int
1733main ()
1734{
1735return $2 ();
1736  ;
1737  return 0;
1738}
1739_ACEOF
1740if ac_fn_c_try_link "$LINENO"; then :
1741  eval "$3=yes"
1742else
1743  eval "$3=no"
1744fi
1745rm -f core conftest.err conftest.$ac_objext \
1746    conftest$ac_exeext conftest.$ac_ext
1747fi
1748eval ac_res=\$$3
1749	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1750$as_echo "$ac_res" >&6; }
1751  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752
1753} # ac_fn_c_check_func
1754
1755# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1756# -------------------------------------------------------
1757# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1758# the include files in INCLUDES and setting the cache variable VAR
1759# accordingly.
1760ac_fn_c_check_header_mongrel ()
1761{
1762  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763  if eval \${$3+:} false; then :
1764  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1765$as_echo_n "checking for $2... " >&6; }
1766if eval \${$3+:} false; then :
1767  $as_echo_n "(cached) " >&6
1768fi
1769eval ac_res=\$$3
1770	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771$as_echo "$ac_res" >&6; }
1772else
1773  # Is the header compilable?
1774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1775$as_echo_n "checking $2 usability... " >&6; }
1776cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1777/* end confdefs.h.  */
1778$4
1779#include <$2>
1780_ACEOF
1781if ac_fn_c_try_compile "$LINENO"; then :
1782  ac_header_compiler=yes
1783else
1784  ac_header_compiler=no
1785fi
1786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1788$as_echo "$ac_header_compiler" >&6; }
1789
1790# Is the header present?
1791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1792$as_echo_n "checking $2 presence... " >&6; }
1793cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1794/* end confdefs.h.  */
1795#include <$2>
1796_ACEOF
1797if ac_fn_c_try_cpp "$LINENO"; then :
1798  ac_header_preproc=yes
1799else
1800  ac_header_preproc=no
1801fi
1802rm -f conftest.err conftest.i conftest.$ac_ext
1803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1804$as_echo "$ac_header_preproc" >&6; }
1805
1806# So?  What about this header?
1807case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1808  yes:no: )
1809    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1810$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1811    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1812$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1813    ;;
1814  no:yes:* )
1815    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1816$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1817    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1818$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1819    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1820$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1821    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1822$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1823    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1824$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1825( $as_echo "## ------------------------------------ ##
1826## Report this to bug-trueprint@gnu.org ##
1827## ------------------------------------ ##"
1828     ) | sed "s/^/$as_me: WARNING:     /" >&2
1829    ;;
1830esac
1831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832$as_echo_n "checking for $2... " >&6; }
1833if eval \${$3+:} false; then :
1834  $as_echo_n "(cached) " >&6
1835else
1836  eval "$3=\$ac_header_compiler"
1837fi
1838eval ac_res=\$$3
1839	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840$as_echo "$ac_res" >&6; }
1841fi
1842  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843
1844} # ac_fn_c_check_header_mongrel
1845
1846# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1847# -------------------------------------------
1848# Tests whether TYPE exists after having included INCLUDES, setting cache
1849# variable VAR accordingly.
1850ac_fn_c_check_type ()
1851{
1852  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854$as_echo_n "checking for $2... " >&6; }
1855if eval \${$3+:} false; then :
1856  $as_echo_n "(cached) " >&6
1857else
1858  eval "$3=no"
1859  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1860/* end confdefs.h.  */
1861$4
1862int
1863main ()
1864{
1865if (sizeof ($2))
1866	 return 0;
1867  ;
1868  return 0;
1869}
1870_ACEOF
1871if ac_fn_c_try_compile "$LINENO"; then :
1872  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873/* end confdefs.h.  */
1874$4
1875int
1876main ()
1877{
1878if (sizeof (($2)))
1879	    return 0;
1880  ;
1881  return 0;
1882}
1883_ACEOF
1884if ac_fn_c_try_compile "$LINENO"; then :
1885
1886else
1887  eval "$3=yes"
1888fi
1889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1890fi
1891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1892fi
1893eval ac_res=\$$3
1894	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895$as_echo "$ac_res" >&6; }
1896  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1897
1898} # ac_fn_c_check_type
1899cat >config.log <<_ACEOF
1900This file contains any messages produced by compilers while
1901running configure, to aid debugging if configure makes a mistake.
1902
1903It was created by GNU Trueprint $as_me 5.4, which was
1904generated by GNU Autoconf 2.69.  Invocation command line was
1905
1906  $ $0 $@
1907
1908_ACEOF
1909exec 5>>config.log
1910{
1911cat <<_ASUNAME
1912## --------- ##
1913## Platform. ##
1914## --------- ##
1915
1916hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1917uname -m = `(uname -m) 2>/dev/null || echo unknown`
1918uname -r = `(uname -r) 2>/dev/null || echo unknown`
1919uname -s = `(uname -s) 2>/dev/null || echo unknown`
1920uname -v = `(uname -v) 2>/dev/null || echo unknown`
1921
1922/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1923/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1924
1925/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1926/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1927/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1928/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1929/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1930/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1931/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1932
1933_ASUNAME
1934
1935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936for as_dir in $PATH
1937do
1938  IFS=$as_save_IFS
1939  test -z "$as_dir" && as_dir=.
1940    $as_echo "PATH: $as_dir"
1941  done
1942IFS=$as_save_IFS
1943
1944} >&5
1945
1946cat >&5 <<_ACEOF
1947
1948
1949## ----------- ##
1950## Core tests. ##
1951## ----------- ##
1952
1953_ACEOF
1954
1955
1956# Keep a trace of the command line.
1957# Strip out --no-create and --no-recursion so they do not pile up.
1958# Strip out --silent because we don't want to record it for future runs.
1959# Also quote any args containing shell meta-characters.
1960# Make two passes to allow for proper duplicate-argument suppression.
1961ac_configure_args=
1962ac_configure_args0=
1963ac_configure_args1=
1964ac_must_keep_next=false
1965for ac_pass in 1 2
1966do
1967  for ac_arg
1968  do
1969    case $ac_arg in
1970    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1971    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1972    | -silent | --silent | --silen | --sile | --sil)
1973      continue ;;
1974    *\'*)
1975      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1976    esac
1977    case $ac_pass in
1978    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1979    2)
1980      as_fn_append ac_configure_args1 " '$ac_arg'"
1981      if test $ac_must_keep_next = true; then
1982	ac_must_keep_next=false # Got value, back to normal.
1983      else
1984	case $ac_arg in
1985	  *=* | --config-cache | -C | -disable-* | --disable-* \
1986	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1987	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1988	  | -with-* | --with-* | -without-* | --without-* | --x)
1989	    case "$ac_configure_args0 " in
1990	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1991	    esac
1992	    ;;
1993	  -* ) ac_must_keep_next=true ;;
1994	esac
1995      fi
1996      as_fn_append ac_configure_args " '$ac_arg'"
1997      ;;
1998    esac
1999  done
2000done
2001{ ac_configure_args0=; unset ac_configure_args0;}
2002{ ac_configure_args1=; unset ac_configure_args1;}
2003
2004# When interrupted or exit'd, cleanup temporary files, and complete
2005# config.log.  We remove comments because anyway the quotes in there
2006# would cause problems or look ugly.
2007# WARNING: Use '\'' to represent an apostrophe within the trap.
2008# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2009trap 'exit_status=$?
2010  # Save into config.log some information that might help in debugging.
2011  {
2012    echo
2013
2014    $as_echo "## ---------------- ##
2015## Cache variables. ##
2016## ---------------- ##"
2017    echo
2018    # The following way of writing the cache mishandles newlines in values,
2019(
2020  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2021    eval ac_val=\$$ac_var
2022    case $ac_val in #(
2023    *${as_nl}*)
2024      case $ac_var in #(
2025      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2026$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2027      esac
2028      case $ac_var in #(
2029      _ | IFS | as_nl) ;; #(
2030      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2031      *) { eval $ac_var=; unset $ac_var;} ;;
2032      esac ;;
2033    esac
2034  done
2035  (set) 2>&1 |
2036    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2037    *${as_nl}ac_space=\ *)
2038      sed -n \
2039	"s/'\''/'\''\\\\'\'''\''/g;
2040	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2041      ;; #(
2042    *)
2043      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2044      ;;
2045    esac |
2046    sort
2047)
2048    echo
2049
2050    $as_echo "## ----------------- ##
2051## Output variables. ##
2052## ----------------- ##"
2053    echo
2054    for ac_var in $ac_subst_vars
2055    do
2056      eval ac_val=\$$ac_var
2057      case $ac_val in
2058      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2059      esac
2060      $as_echo "$ac_var='\''$ac_val'\''"
2061    done | sort
2062    echo
2063
2064    if test -n "$ac_subst_files"; then
2065      $as_echo "## ------------------- ##
2066## File substitutions. ##
2067## ------------------- ##"
2068      echo
2069      for ac_var in $ac_subst_files
2070      do
2071	eval ac_val=\$$ac_var
2072	case $ac_val in
2073	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2074	esac
2075	$as_echo "$ac_var='\''$ac_val'\''"
2076      done | sort
2077      echo
2078    fi
2079
2080    if test -s confdefs.h; then
2081      $as_echo "## ----------- ##
2082## confdefs.h. ##
2083## ----------- ##"
2084      echo
2085      cat confdefs.h
2086      echo
2087    fi
2088    test "$ac_signal" != 0 &&
2089      $as_echo "$as_me: caught signal $ac_signal"
2090    $as_echo "$as_me: exit $exit_status"
2091  } >&5
2092  rm -f core *.core core.conftest.* &&
2093    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2094    exit $exit_status
2095' 0
2096for ac_signal in 1 2 13 15; do
2097  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2098done
2099ac_signal=0
2100
2101# confdefs.h avoids OS command line length limits that DEFS can exceed.
2102rm -f -r conftest* confdefs.h
2103
2104$as_echo "/* confdefs.h */" > confdefs.h
2105
2106# Predefined preprocessor variables.
2107
2108cat >>confdefs.h <<_ACEOF
2109#define PACKAGE_NAME "$PACKAGE_NAME"
2110_ACEOF
2111
2112cat >>confdefs.h <<_ACEOF
2113#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2114_ACEOF
2115
2116cat >>confdefs.h <<_ACEOF
2117#define PACKAGE_VERSION "$PACKAGE_VERSION"
2118_ACEOF
2119
2120cat >>confdefs.h <<_ACEOF
2121#define PACKAGE_STRING "$PACKAGE_STRING"
2122_ACEOF
2123
2124cat >>confdefs.h <<_ACEOF
2125#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2126_ACEOF
2127
2128cat >>confdefs.h <<_ACEOF
2129#define PACKAGE_URL "$PACKAGE_URL"
2130_ACEOF
2131
2132
2133# Let the site file select an alternate cache file if it wants to.
2134# Prefer an explicitly selected file to automatically selected ones.
2135ac_site_file1=NONE
2136ac_site_file2=NONE
2137if test -n "$CONFIG_SITE"; then
2138  # We do not want a PATH search for config.site.
2139  case $CONFIG_SITE in #((
2140    -*)  ac_site_file1=./$CONFIG_SITE;;
2141    */*) ac_site_file1=$CONFIG_SITE;;
2142    *)   ac_site_file1=./$CONFIG_SITE;;
2143  esac
2144elif test "x$prefix" != xNONE; then
2145  ac_site_file1=$prefix/share/config.site
2146  ac_site_file2=$prefix/etc/config.site
2147else
2148  ac_site_file1=$ac_default_prefix/share/config.site
2149  ac_site_file2=$ac_default_prefix/etc/config.site
2150fi
2151for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2152do
2153  test "x$ac_site_file" = xNONE && continue
2154  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2155    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2156$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2157    sed 's/^/| /' "$ac_site_file" >&5
2158    . "$ac_site_file" \
2159      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2160$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2161as_fn_error $? "failed to load site script $ac_site_file
2162See \`config.log' for more details" "$LINENO" 5; }
2163  fi
2164done
2165
2166if test -r "$cache_file"; then
2167  # Some versions of bash will fail to source /dev/null (special files
2168  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2169  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2170    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2171$as_echo "$as_me: loading cache $cache_file" >&6;}
2172    case $cache_file in
2173      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2174      *)                      . "./$cache_file";;
2175    esac
2176  fi
2177else
2178  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2179$as_echo "$as_me: creating cache $cache_file" >&6;}
2180  >$cache_file
2181fi
2182
2183# Check that the precious variables saved in the cache have kept the same
2184# value.
2185ac_cache_corrupted=false
2186for ac_var in $ac_precious_vars; do
2187  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2188  eval ac_new_set=\$ac_env_${ac_var}_set
2189  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2190  eval ac_new_val=\$ac_env_${ac_var}_value
2191  case $ac_old_set,$ac_new_set in
2192    set,)
2193      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2194$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2195      ac_cache_corrupted=: ;;
2196    ,set)
2197      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2198$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2199      ac_cache_corrupted=: ;;
2200    ,);;
2201    *)
2202      if test "x$ac_old_val" != "x$ac_new_val"; then
2203	# differences in whitespace do not lead to failure.
2204	ac_old_val_w=`echo x $ac_old_val`
2205	ac_new_val_w=`echo x $ac_new_val`
2206	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2207	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2208$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2209	  ac_cache_corrupted=:
2210	else
2211	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2212$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2213	  eval $ac_var=\$ac_old_val
2214	fi
2215	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2216$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2217	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2218$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2219      fi;;
2220  esac
2221  # Pass precious variables to config.status.
2222  if test "$ac_new_set" = set; then
2223    case $ac_new_val in
2224    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2225    *) ac_arg=$ac_var=$ac_new_val ;;
2226    esac
2227    case " $ac_configure_args " in
2228      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2229      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2230    esac
2231  fi
2232done
2233if $ac_cache_corrupted; then
2234  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2235$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2236  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2237$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2238  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2239fi
2240## -------------------- ##
2241## Main body of script. ##
2242## -------------------- ##
2243
2244ac_ext=c
2245ac_cpp='$CPP $CPPFLAGS'
2246ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2247ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2248ac_compiler_gnu=$ac_cv_c_compiler_gnu
2249
2250
2251#AC_CONFIG_SRCDIR([acconfig.h])
2252ac_config_headers="$ac_config_headers config.h"
2253
2254
2255
2256am__api_version='1.11'
2257
2258ac_aux_dir=
2259for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2260  if test -f "$ac_dir/install-sh"; then
2261    ac_aux_dir=$ac_dir
2262    ac_install_sh="$ac_aux_dir/install-sh -c"
2263    break
2264  elif test -f "$ac_dir/install.sh"; then
2265    ac_aux_dir=$ac_dir
2266    ac_install_sh="$ac_aux_dir/install.sh -c"
2267    break
2268  elif test -f "$ac_dir/shtool"; then
2269    ac_aux_dir=$ac_dir
2270    ac_install_sh="$ac_aux_dir/shtool install -c"
2271    break
2272  fi
2273done
2274if test -z "$ac_aux_dir"; then
2275  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2276fi
2277
2278# These three variables are undocumented and unsupported,
2279# and are intended to be withdrawn in a future Autoconf release.
2280# They can cause serious problems if a builder's source tree is in a directory
2281# whose full name contains unusual characters.
2282ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2283ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2284ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2285
2286
2287# Find a good install program.  We prefer a C program (faster),
2288# so one script is as good as another.  But avoid the broken or
2289# incompatible versions:
2290# SysV /etc/install, /usr/sbin/install
2291# SunOS /usr/etc/install
2292# IRIX /sbin/install
2293# AIX /bin/install
2294# AmigaOS /C/install, which installs bootblocks on floppy discs
2295# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2296# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2297# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2298# OS/2's system install, which has a completely different semantic
2299# ./install, which can be erroneously created by make from ./install.sh.
2300# Reject install programs that cannot install multiple files.
2301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2302$as_echo_n "checking for a BSD-compatible install... " >&6; }
2303if test -z "$INSTALL"; then
2304if ${ac_cv_path_install+:} false; then :
2305  $as_echo_n "(cached) " >&6
2306else
2307  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308for as_dir in $PATH
2309do
2310  IFS=$as_save_IFS
2311  test -z "$as_dir" && as_dir=.
2312    # Account for people who put trailing slashes in PATH elements.
2313case $as_dir/ in #((
2314  ./ | .// | /[cC]/* | \
2315  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2316  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2317  /usr/ucb/* ) ;;
2318  *)
2319    # OSF1 and SCO ODT 3.0 have their own names for install.
2320    # Don't use installbsd from OSF since it installs stuff as root
2321    # by default.
2322    for ac_prog in ginstall scoinst install; do
2323      for ac_exec_ext in '' $ac_executable_extensions; do
2324	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2325	  if test $ac_prog = install &&
2326	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2327	    # AIX install.  It has an incompatible calling convention.
2328	    :
2329	  elif test $ac_prog = install &&
2330	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2331	    # program-specific install script used by HP pwplus--don't use.
2332	    :
2333	  else
2334	    rm -rf conftest.one conftest.two conftest.dir
2335	    echo one > conftest.one
2336	    echo two > conftest.two
2337	    mkdir conftest.dir
2338	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2339	      test -s conftest.one && test -s conftest.two &&
2340	      test -s conftest.dir/conftest.one &&
2341	      test -s conftest.dir/conftest.two
2342	    then
2343	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2344	      break 3
2345	    fi
2346	  fi
2347	fi
2348      done
2349    done
2350    ;;
2351esac
2352
2353  done
2354IFS=$as_save_IFS
2355
2356rm -rf conftest.one conftest.two conftest.dir
2357
2358fi
2359  if test "${ac_cv_path_install+set}" = set; then
2360    INSTALL=$ac_cv_path_install
2361  else
2362    # As a last resort, use the slow shell script.  Don't cache a
2363    # value for INSTALL within a source directory, because that will
2364    # break other packages using the cache if that directory is
2365    # removed, or if the value is a relative name.
2366    INSTALL=$ac_install_sh
2367  fi
2368fi
2369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2370$as_echo "$INSTALL" >&6; }
2371
2372# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2373# It thinks the first close brace ends the variable substitution.
2374test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2375
2376test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2377
2378test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2379
2380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2381$as_echo_n "checking whether build environment is sane... " >&6; }
2382# Just in case
2383sleep 1
2384echo timestamp > conftest.file
2385# Reject unsafe characters in $srcdir or the absolute working directory
2386# name.  Accept space and tab only in the latter.
2387am_lf='
2388'
2389case `pwd` in
2390  *[\\\"\#\$\&\'\`$am_lf]*)
2391    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2392esac
2393case $srcdir in
2394  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2395    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2396esac
2397
2398# Do `set' in a subshell so we don't clobber the current shell's
2399# arguments.  Must try -L first in case configure is actually a
2400# symlink; some systems play weird games with the mod time of symlinks
2401# (eg FreeBSD returns the mod time of the symlink's containing
2402# directory).
2403if (
2404   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2405   if test "$*" = "X"; then
2406      # -L didn't work.
2407      set X `ls -t "$srcdir/configure" conftest.file`
2408   fi
2409   rm -f conftest.file
2410   if test "$*" != "X $srcdir/configure conftest.file" \
2411      && test "$*" != "X conftest.file $srcdir/configure"; then
2412
2413      # If neither matched, then we have a broken ls.  This can happen
2414      # if, for instance, CONFIG_SHELL is bash and it inherits a
2415      # broken ls alias from the environment.  This has actually
2416      # happened.  Such a system could not be considered "sane".
2417      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2418alias in your environment" "$LINENO" 5
2419   fi
2420
2421   test "$2" = conftest.file
2422   )
2423then
2424   # Ok.
2425   :
2426else
2427   as_fn_error $? "newly created file is older than distributed files!
2428Check your system clock" "$LINENO" 5
2429fi
2430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2431$as_echo "yes" >&6; }
2432test "$program_prefix" != NONE &&
2433  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2434# Use a double $ so make ignores it.
2435test "$program_suffix" != NONE &&
2436  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2437# Double any \ or $.
2438# By default was `s,x,x', remove it if useless.
2439ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2440program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2441
2442# expand $ac_aux_dir to an absolute path
2443am_aux_dir=`cd $ac_aux_dir && pwd`
2444
2445if test x"${MISSING+set}" != xset; then
2446  case $am_aux_dir in
2447  *\ * | *\	*)
2448    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2449  *)
2450    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2451  esac
2452fi
2453# Use eval to expand $SHELL
2454if eval "$MISSING --run true"; then
2455  am_missing_run="$MISSING --run "
2456else
2457  am_missing_run=
2458  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2459$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2460fi
2461
2462if test x"${install_sh}" != xset; then
2463  case $am_aux_dir in
2464  *\ * | *\	*)
2465    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2466  *)
2467    install_sh="\${SHELL} $am_aux_dir/install-sh"
2468  esac
2469fi
2470
2471# Installed binaries are usually stripped using `strip' when the user
2472# run `make install-strip'.  However `strip' might not be the right
2473# tool to use in cross-compilation environments, therefore Automake
2474# will honor the `STRIP' environment variable to overrule this program.
2475if test "$cross_compiling" != no; then
2476  if test -n "$ac_tool_prefix"; then
2477  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2478set dummy ${ac_tool_prefix}strip; ac_word=$2
2479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2480$as_echo_n "checking for $ac_word... " >&6; }
2481if ${ac_cv_prog_STRIP+:} false; then :
2482  $as_echo_n "(cached) " >&6
2483else
2484  if test -n "$STRIP"; then
2485  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2486else
2487as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488for as_dir in $PATH
2489do
2490  IFS=$as_save_IFS
2491  test -z "$as_dir" && as_dir=.
2492    for ac_exec_ext in '' $ac_executable_extensions; do
2493  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2494    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2495    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2496    break 2
2497  fi
2498done
2499  done
2500IFS=$as_save_IFS
2501
2502fi
2503fi
2504STRIP=$ac_cv_prog_STRIP
2505if test -n "$STRIP"; then
2506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2507$as_echo "$STRIP" >&6; }
2508else
2509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2510$as_echo "no" >&6; }
2511fi
2512
2513
2514fi
2515if test -z "$ac_cv_prog_STRIP"; then
2516  ac_ct_STRIP=$STRIP
2517  # Extract the first word of "strip", so it can be a program name with args.
2518set dummy strip; ac_word=$2
2519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2520$as_echo_n "checking for $ac_word... " >&6; }
2521if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2522  $as_echo_n "(cached) " >&6
2523else
2524  if test -n "$ac_ct_STRIP"; then
2525  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2526else
2527as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528for as_dir in $PATH
2529do
2530  IFS=$as_save_IFS
2531  test -z "$as_dir" && as_dir=.
2532    for ac_exec_ext in '' $ac_executable_extensions; do
2533  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2534    ac_cv_prog_ac_ct_STRIP="strip"
2535    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2536    break 2
2537  fi
2538done
2539  done
2540IFS=$as_save_IFS
2541
2542fi
2543fi
2544ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2545if test -n "$ac_ct_STRIP"; then
2546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2547$as_echo "$ac_ct_STRIP" >&6; }
2548else
2549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2550$as_echo "no" >&6; }
2551fi
2552
2553  if test "x$ac_ct_STRIP" = x; then
2554    STRIP=":"
2555  else
2556    case $cross_compiling:$ac_tool_warned in
2557yes:)
2558{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2559$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2560ac_tool_warned=yes ;;
2561esac
2562    STRIP=$ac_ct_STRIP
2563  fi
2564else
2565  STRIP="$ac_cv_prog_STRIP"
2566fi
2567
2568fi
2569INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2570
2571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2572$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2573if test -z "$MKDIR_P"; then
2574  if ${ac_cv_path_mkdir+:} false; then :
2575  $as_echo_n "(cached) " >&6
2576else
2577  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2579do
2580  IFS=$as_save_IFS
2581  test -z "$as_dir" && as_dir=.
2582    for ac_prog in mkdir gmkdir; do
2583	 for ac_exec_ext in '' $ac_executable_extensions; do
2584	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2585	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2586	     'mkdir (GNU coreutils) '* | \
2587	     'mkdir (coreutils) '* | \
2588	     'mkdir (fileutils) '4.1*)
2589	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2590	       break 3;;
2591	   esac
2592	 done
2593       done
2594  done
2595IFS=$as_save_IFS
2596
2597fi
2598
2599  test -d ./--version && rmdir ./--version
2600  if test "${ac_cv_path_mkdir+set}" = set; then
2601    MKDIR_P="$ac_cv_path_mkdir -p"
2602  else
2603    # As a last resort, use the slow shell script.  Don't cache a
2604    # value for MKDIR_P within a source directory, because that will
2605    # break other packages using the cache if that directory is
2606    # removed, or if the value is a relative name.
2607    MKDIR_P="$ac_install_sh -d"
2608  fi
2609fi
2610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2611$as_echo "$MKDIR_P" >&6; }
2612
2613mkdir_p="$MKDIR_P"
2614case $mkdir_p in
2615  [\\/$]* | ?:[\\/]*) ;;
2616  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2617esac
2618
2619for ac_prog in gawk mawk nawk awk
2620do
2621  # Extract the first word of "$ac_prog", so it can be a program name with args.
2622set dummy $ac_prog; ac_word=$2
2623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624$as_echo_n "checking for $ac_word... " >&6; }
2625if ${ac_cv_prog_AWK+:} false; then :
2626  $as_echo_n "(cached) " >&6
2627else
2628  if test -n "$AWK"; then
2629  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2630else
2631as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632for as_dir in $PATH
2633do
2634  IFS=$as_save_IFS
2635  test -z "$as_dir" && as_dir=.
2636    for ac_exec_ext in '' $ac_executable_extensions; do
2637  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2638    ac_cv_prog_AWK="$ac_prog"
2639    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2640    break 2
2641  fi
2642done
2643  done
2644IFS=$as_save_IFS
2645
2646fi
2647fi
2648AWK=$ac_cv_prog_AWK
2649if test -n "$AWK"; then
2650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2651$as_echo "$AWK" >&6; }
2652else
2653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654$as_echo "no" >&6; }
2655fi
2656
2657
2658  test -n "$AWK" && break
2659done
2660
2661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2662$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2663set x ${MAKE-make}
2664ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2665if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2666  $as_echo_n "(cached) " >&6
2667else
2668  cat >conftest.make <<\_ACEOF
2669SHELL = /bin/sh
2670all:
2671	@echo '@@@%%%=$(MAKE)=@@@%%%'
2672_ACEOF
2673# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2674case `${MAKE-make} -f conftest.make 2>/dev/null` in
2675  *@@@%%%=?*=@@@%%%*)
2676    eval ac_cv_prog_make_${ac_make}_set=yes;;
2677  *)
2678    eval ac_cv_prog_make_${ac_make}_set=no;;
2679esac
2680rm -f conftest.make
2681fi
2682if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2684$as_echo "yes" >&6; }
2685  SET_MAKE=
2686else
2687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688$as_echo "no" >&6; }
2689  SET_MAKE="MAKE=${MAKE-make}"
2690fi
2691
2692rm -rf .tst 2>/dev/null
2693mkdir .tst 2>/dev/null
2694if test -d .tst; then
2695  am__leading_dot=.
2696else
2697  am__leading_dot=_
2698fi
2699rmdir .tst 2>/dev/null
2700
2701if test "`cd $srcdir && pwd`" != "`pwd`"; then
2702  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2703  # is not polluted with repeated "-I."
2704  am__isrc=' -I$(srcdir)'
2705  # test to see if srcdir already configured
2706  if test -f $srcdir/config.status; then
2707    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2708  fi
2709fi
2710
2711# test whether we have cygpath
2712if test -z "$CYGPATH_W"; then
2713  if (cygpath --version) >/dev/null 2>/dev/null; then
2714    CYGPATH_W='cygpath -w'
2715  else
2716    CYGPATH_W=echo
2717  fi
2718fi
2719
2720
2721# Define the identity of the package.
2722 PACKAGE='trueprint'
2723 VERSION='5.4'
2724
2725
2726# Some tools Automake needs.
2727
2728ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2729
2730
2731AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2732
2733
2734AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2735
2736
2737AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2738
2739
2740MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2741
2742# We need awk for the "check" target.  The system "awk" is bad on
2743# some platforms.
2744# Always define AMTAR for backward compatibility.  Yes, it's still used
2745# in the wild :-(  We should find a proper way to deprecate it ...
2746AMTAR='$${TAR-tar}'
2747
2748am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2749
2750
2751
2752
2753
2754
2755
2756# Checks for programs.
2757ac_ext=c
2758ac_cpp='$CPP $CPPFLAGS'
2759ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2760ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2761ac_compiler_gnu=$ac_cv_c_compiler_gnu
2762if test -n "$ac_tool_prefix"; then
2763  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2764set dummy ${ac_tool_prefix}gcc; ac_word=$2
2765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766$as_echo_n "checking for $ac_word... " >&6; }
2767if ${ac_cv_prog_CC+:} false; then :
2768  $as_echo_n "(cached) " >&6
2769else
2770  if test -n "$CC"; then
2771  ac_cv_prog_CC="$CC" # Let the user override the test.
2772else
2773as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774for as_dir in $PATH
2775do
2776  IFS=$as_save_IFS
2777  test -z "$as_dir" && as_dir=.
2778    for ac_exec_ext in '' $ac_executable_extensions; do
2779  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2780    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2781    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2782    break 2
2783  fi
2784done
2785  done
2786IFS=$as_save_IFS
2787
2788fi
2789fi
2790CC=$ac_cv_prog_CC
2791if test -n "$CC"; then
2792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2793$as_echo "$CC" >&6; }
2794else
2795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796$as_echo "no" >&6; }
2797fi
2798
2799
2800fi
2801if test -z "$ac_cv_prog_CC"; then
2802  ac_ct_CC=$CC
2803  # Extract the first word of "gcc", so it can be a program name with args.
2804set dummy gcc; ac_word=$2
2805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806$as_echo_n "checking for $ac_word... " >&6; }
2807if ${ac_cv_prog_ac_ct_CC+:} false; then :
2808  $as_echo_n "(cached) " >&6
2809else
2810  if test -n "$ac_ct_CC"; then
2811  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2812else
2813as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814for as_dir in $PATH
2815do
2816  IFS=$as_save_IFS
2817  test -z "$as_dir" && as_dir=.
2818    for ac_exec_ext in '' $ac_executable_extensions; do
2819  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2820    ac_cv_prog_ac_ct_CC="gcc"
2821    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822    break 2
2823  fi
2824done
2825  done
2826IFS=$as_save_IFS
2827
2828fi
2829fi
2830ac_ct_CC=$ac_cv_prog_ac_ct_CC
2831if test -n "$ac_ct_CC"; then
2832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2833$as_echo "$ac_ct_CC" >&6; }
2834else
2835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836$as_echo "no" >&6; }
2837fi
2838
2839  if test "x$ac_ct_CC" = x; then
2840    CC=""
2841  else
2842    case $cross_compiling:$ac_tool_warned in
2843yes:)
2844{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2845$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2846ac_tool_warned=yes ;;
2847esac
2848    CC=$ac_ct_CC
2849  fi
2850else
2851  CC="$ac_cv_prog_CC"
2852fi
2853
2854if test -z "$CC"; then
2855          if test -n "$ac_tool_prefix"; then
2856    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2857set dummy ${ac_tool_prefix}cc; ac_word=$2
2858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2859$as_echo_n "checking for $ac_word... " >&6; }
2860if ${ac_cv_prog_CC+:} false; then :
2861  $as_echo_n "(cached) " >&6
2862else
2863  if test -n "$CC"; then
2864  ac_cv_prog_CC="$CC" # Let the user override the test.
2865else
2866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867for as_dir in $PATH
2868do
2869  IFS=$as_save_IFS
2870  test -z "$as_dir" && as_dir=.
2871    for ac_exec_ext in '' $ac_executable_extensions; do
2872  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2873    ac_cv_prog_CC="${ac_tool_prefix}cc"
2874    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2875    break 2
2876  fi
2877done
2878  done
2879IFS=$as_save_IFS
2880
2881fi
2882fi
2883CC=$ac_cv_prog_CC
2884if test -n "$CC"; then
2885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2886$as_echo "$CC" >&6; }
2887else
2888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889$as_echo "no" >&6; }
2890fi
2891
2892
2893  fi
2894fi
2895if test -z "$CC"; then
2896  # Extract the first word of "cc", so it can be a program name with args.
2897set dummy cc; ac_word=$2
2898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899$as_echo_n "checking for $ac_word... " >&6; }
2900if ${ac_cv_prog_CC+:} false; then :
2901  $as_echo_n "(cached) " >&6
2902else
2903  if test -n "$CC"; then
2904  ac_cv_prog_CC="$CC" # Let the user override the test.
2905else
2906  ac_prog_rejected=no
2907as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2908for as_dir in $PATH
2909do
2910  IFS=$as_save_IFS
2911  test -z "$as_dir" && as_dir=.
2912    for ac_exec_ext in '' $ac_executable_extensions; do
2913  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2914    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2915       ac_prog_rejected=yes
2916       continue
2917     fi
2918    ac_cv_prog_CC="cc"
2919    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920    break 2
2921  fi
2922done
2923  done
2924IFS=$as_save_IFS
2925
2926if test $ac_prog_rejected = yes; then
2927  # We found a bogon in the path, so make sure we never use it.
2928  set dummy $ac_cv_prog_CC
2929  shift
2930  if test $# != 0; then
2931    # We chose a different compiler from the bogus one.
2932    # However, it has the same basename, so the bogon will be chosen
2933    # first if we set CC to just the basename; use the full file name.
2934    shift
2935    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2936  fi
2937fi
2938fi
2939fi
2940CC=$ac_cv_prog_CC
2941if test -n "$CC"; then
2942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2943$as_echo "$CC" >&6; }
2944else
2945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946$as_echo "no" >&6; }
2947fi
2948
2949
2950fi
2951if test -z "$CC"; then
2952  if test -n "$ac_tool_prefix"; then
2953  for ac_prog in cl.exe
2954  do
2955    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2956set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2958$as_echo_n "checking for $ac_word... " >&6; }
2959if ${ac_cv_prog_CC+:} false; then :
2960  $as_echo_n "(cached) " >&6
2961else
2962  if test -n "$CC"; then
2963  ac_cv_prog_CC="$CC" # Let the user override the test.
2964else
2965as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2966for as_dir in $PATH
2967do
2968  IFS=$as_save_IFS
2969  test -z "$as_dir" && as_dir=.
2970    for ac_exec_ext in '' $ac_executable_extensions; do
2971  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2972    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2973    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2974    break 2
2975  fi
2976done
2977  done
2978IFS=$as_save_IFS
2979
2980fi
2981fi
2982CC=$ac_cv_prog_CC
2983if test -n "$CC"; then
2984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2985$as_echo "$CC" >&6; }
2986else
2987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2988$as_echo "no" >&6; }
2989fi
2990
2991
2992    test -n "$CC" && break
2993  done
2994fi
2995if test -z "$CC"; then
2996  ac_ct_CC=$CC
2997  for ac_prog in cl.exe
2998do
2999  # Extract the first word of "$ac_prog", so it can be a program name with args.
3000set dummy $ac_prog; ac_word=$2
3001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3002$as_echo_n "checking for $ac_word... " >&6; }
3003if ${ac_cv_prog_ac_ct_CC+:} false; then :
3004  $as_echo_n "(cached) " >&6
3005else
3006  if test -n "$ac_ct_CC"; then
3007  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3008else
3009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3010for as_dir in $PATH
3011do
3012  IFS=$as_save_IFS
3013  test -z "$as_dir" && as_dir=.
3014    for ac_exec_ext in '' $ac_executable_extensions; do
3015  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3016    ac_cv_prog_ac_ct_CC="$ac_prog"
3017    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3018    break 2
3019  fi
3020done
3021  done
3022IFS=$as_save_IFS
3023
3024fi
3025fi
3026ac_ct_CC=$ac_cv_prog_ac_ct_CC
3027if test -n "$ac_ct_CC"; then
3028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3029$as_echo "$ac_ct_CC" >&6; }
3030else
3031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3032$as_echo "no" >&6; }
3033fi
3034
3035
3036  test -n "$ac_ct_CC" && break
3037done
3038
3039  if test "x$ac_ct_CC" = x; then
3040    CC=""
3041  else
3042    case $cross_compiling:$ac_tool_warned in
3043yes:)
3044{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3045$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3046ac_tool_warned=yes ;;
3047esac
3048    CC=$ac_ct_CC
3049  fi
3050fi
3051
3052fi
3053
3054
3055test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3056$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3057as_fn_error $? "no acceptable C compiler found in \$PATH
3058See \`config.log' for more details" "$LINENO" 5; }
3059
3060# Provide some information about the compiler.
3061$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3062set X $ac_compile
3063ac_compiler=$2
3064for ac_option in --version -v -V -qversion; do
3065  { { ac_try="$ac_compiler $ac_option >&5"
3066case "(($ac_try" in
3067  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3068  *) ac_try_echo=$ac_try;;
3069esac
3070eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3071$as_echo "$ac_try_echo"; } >&5
3072  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3073  ac_status=$?
3074  if test -s conftest.err; then
3075    sed '10a\
3076... rest of stderr output deleted ...
3077         10q' conftest.err >conftest.er1
3078    cat conftest.er1 >&5
3079  fi
3080  rm -f conftest.er1 conftest.err
3081  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3082  test $ac_status = 0; }
3083done
3084
3085cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086/* end confdefs.h.  */
3087
3088int
3089main ()
3090{
3091
3092  ;
3093  return 0;
3094}
3095_ACEOF
3096ac_clean_files_save=$ac_clean_files
3097ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3098# Try to create an executable without -o first, disregard a.out.
3099# It will help us diagnose broken compilers, and finding out an intuition
3100# of exeext.
3101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3102$as_echo_n "checking whether the C compiler works... " >&6; }
3103ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3104
3105# The possible output files:
3106ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3107
3108ac_rmfiles=
3109for ac_file in $ac_files
3110do
3111  case $ac_file in
3112    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3113    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3114  esac
3115done
3116rm -f $ac_rmfiles
3117
3118if { { ac_try="$ac_link_default"
3119case "(($ac_try" in
3120  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121  *) ac_try_echo=$ac_try;;
3122esac
3123eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3124$as_echo "$ac_try_echo"; } >&5
3125  (eval "$ac_link_default") 2>&5
3126  ac_status=$?
3127  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3128  test $ac_status = 0; }; then :
3129  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3130# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3131# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3132# so that the user can short-circuit this test for compilers unknown to
3133# Autoconf.
3134for ac_file in $ac_files ''
3135do
3136  test -f "$ac_file" || continue
3137  case $ac_file in
3138    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3139	;;
3140    [ab].out )
3141	# We found the default executable, but exeext='' is most
3142	# certainly right.
3143	break;;
3144    *.* )
3145	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3146	then :; else
3147	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3148	fi
3149	# We set ac_cv_exeext here because the later test for it is not
3150	# safe: cross compilers may not add the suffix if given an `-o'
3151	# argument, so we may need to know it at that point already.
3152	# Even if this section looks crufty: it has the advantage of
3153	# actually working.
3154	break;;
3155    * )
3156	break;;
3157  esac
3158done
3159test "$ac_cv_exeext" = no && ac_cv_exeext=
3160
3161else
3162  ac_file=''
3163fi
3164if test -z "$ac_file"; then :
3165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166$as_echo "no" >&6; }
3167$as_echo "$as_me: failed program was:" >&5
3168sed 's/^/| /' conftest.$ac_ext >&5
3169
3170{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3171$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3172as_fn_error 77 "C compiler cannot create executables
3173See \`config.log' for more details" "$LINENO" 5; }
3174else
3175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3176$as_echo "yes" >&6; }
3177fi
3178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3179$as_echo_n "checking for C compiler default output file name... " >&6; }
3180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3181$as_echo "$ac_file" >&6; }
3182ac_exeext=$ac_cv_exeext
3183
3184rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3185ac_clean_files=$ac_clean_files_save
3186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3187$as_echo_n "checking for suffix of executables... " >&6; }
3188if { { ac_try="$ac_link"
3189case "(($ac_try" in
3190  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191  *) ac_try_echo=$ac_try;;
3192esac
3193eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3194$as_echo "$ac_try_echo"; } >&5
3195  (eval "$ac_link") 2>&5
3196  ac_status=$?
3197  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3198  test $ac_status = 0; }; then :
3199  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3200# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3201# work properly (i.e., refer to `conftest.exe'), while it won't with
3202# `rm'.
3203for ac_file in conftest.exe conftest conftest.*; do
3204  test -f "$ac_file" || continue
3205  case $ac_file in
3206    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3207    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3208	  break;;
3209    * ) break;;
3210  esac
3211done
3212else
3213  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3214$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3215as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3216See \`config.log' for more details" "$LINENO" 5; }
3217fi
3218rm -f conftest conftest$ac_cv_exeext
3219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3220$as_echo "$ac_cv_exeext" >&6; }
3221
3222rm -f conftest.$ac_ext
3223EXEEXT=$ac_cv_exeext
3224ac_exeext=$EXEEXT
3225cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226/* end confdefs.h.  */
3227#include <stdio.h>
3228int
3229main ()
3230{
3231FILE *f = fopen ("conftest.out", "w");
3232 return ferror (f) || fclose (f) != 0;
3233
3234  ;
3235  return 0;
3236}
3237_ACEOF
3238ac_clean_files="$ac_clean_files conftest.out"
3239# Check that the compiler produces executables we can run.  If not, either
3240# the compiler is broken, or we cross compile.
3241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3242$as_echo_n "checking whether we are cross compiling... " >&6; }
3243if test "$cross_compiling" != yes; then
3244  { { ac_try="$ac_link"
3245case "(($ac_try" in
3246  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247  *) ac_try_echo=$ac_try;;
3248esac
3249eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3250$as_echo "$ac_try_echo"; } >&5
3251  (eval "$ac_link") 2>&5
3252  ac_status=$?
3253  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3254  test $ac_status = 0; }
3255  if { ac_try='./conftest$ac_cv_exeext'
3256  { { case "(($ac_try" in
3257  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3258  *) ac_try_echo=$ac_try;;
3259esac
3260eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3261$as_echo "$ac_try_echo"; } >&5
3262  (eval "$ac_try") 2>&5
3263  ac_status=$?
3264  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3265  test $ac_status = 0; }; }; then
3266    cross_compiling=no
3267  else
3268    if test "$cross_compiling" = maybe; then
3269	cross_compiling=yes
3270    else
3271	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3272$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3273as_fn_error $? "cannot run C compiled programs.
3274If you meant to cross compile, use \`--host'.
3275See \`config.log' for more details" "$LINENO" 5; }
3276    fi
3277  fi
3278fi
3279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3280$as_echo "$cross_compiling" >&6; }
3281
3282rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3283ac_clean_files=$ac_clean_files_save
3284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3285$as_echo_n "checking for suffix of object files... " >&6; }
3286if ${ac_cv_objext+:} false; then :
3287  $as_echo_n "(cached) " >&6
3288else
3289  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290/* end confdefs.h.  */
3291
3292int
3293main ()
3294{
3295
3296  ;
3297  return 0;
3298}
3299_ACEOF
3300rm -f conftest.o conftest.obj
3301if { { ac_try="$ac_compile"
3302case "(($ac_try" in
3303  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3304  *) ac_try_echo=$ac_try;;
3305esac
3306eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3307$as_echo "$ac_try_echo"; } >&5
3308  (eval "$ac_compile") 2>&5
3309  ac_status=$?
3310  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3311  test $ac_status = 0; }; then :
3312  for ac_file in conftest.o conftest.obj conftest.*; do
3313  test -f "$ac_file" || continue;
3314  case $ac_file in
3315    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3316    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3317       break;;
3318  esac
3319done
3320else
3321  $as_echo "$as_me: failed program was:" >&5
3322sed 's/^/| /' conftest.$ac_ext >&5
3323
3324{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3325$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3326as_fn_error $? "cannot compute suffix of object files: cannot compile
3327See \`config.log' for more details" "$LINENO" 5; }
3328fi
3329rm -f conftest.$ac_cv_objext conftest.$ac_ext
3330fi
3331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3332$as_echo "$ac_cv_objext" >&6; }
3333OBJEXT=$ac_cv_objext
3334ac_objext=$OBJEXT
3335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3336$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3337if ${ac_cv_c_compiler_gnu+:} false; then :
3338  $as_echo_n "(cached) " >&6
3339else
3340  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341/* end confdefs.h.  */
3342
3343int
3344main ()
3345{
3346#ifndef __GNUC__
3347       choke me
3348#endif
3349
3350  ;
3351  return 0;
3352}
3353_ACEOF
3354if ac_fn_c_try_compile "$LINENO"; then :
3355  ac_compiler_gnu=yes
3356else
3357  ac_compiler_gnu=no
3358fi
3359rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3360ac_cv_c_compiler_gnu=$ac_compiler_gnu
3361
3362fi
3363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3364$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3365if test $ac_compiler_gnu = yes; then
3366  GCC=yes
3367else
3368  GCC=
3369fi
3370ac_test_CFLAGS=${CFLAGS+set}
3371ac_save_CFLAGS=$CFLAGS
3372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3373$as_echo_n "checking whether $CC accepts -g... " >&6; }
3374if ${ac_cv_prog_cc_g+:} false; then :
3375  $as_echo_n "(cached) " >&6
3376else
3377  ac_save_c_werror_flag=$ac_c_werror_flag
3378   ac_c_werror_flag=yes
3379   ac_cv_prog_cc_g=no
3380   CFLAGS="-g"
3381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382/* end confdefs.h.  */
3383
3384int
3385main ()
3386{
3387
3388  ;
3389  return 0;
3390}
3391_ACEOF
3392if ac_fn_c_try_compile "$LINENO"; then :
3393  ac_cv_prog_cc_g=yes
3394else
3395  CFLAGS=""
3396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3397/* end confdefs.h.  */
3398
3399int
3400main ()
3401{
3402
3403  ;
3404  return 0;
3405}
3406_ACEOF
3407if ac_fn_c_try_compile "$LINENO"; then :
3408
3409else
3410  ac_c_werror_flag=$ac_save_c_werror_flag
3411	 CFLAGS="-g"
3412	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413/* end confdefs.h.  */
3414
3415int
3416main ()
3417{
3418
3419  ;
3420  return 0;
3421}
3422_ACEOF
3423if ac_fn_c_try_compile "$LINENO"; then :
3424  ac_cv_prog_cc_g=yes
3425fi
3426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3427fi
3428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429fi
3430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431   ac_c_werror_flag=$ac_save_c_werror_flag
3432fi
3433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3434$as_echo "$ac_cv_prog_cc_g" >&6; }
3435if test "$ac_test_CFLAGS" = set; then
3436  CFLAGS=$ac_save_CFLAGS
3437elif test $ac_cv_prog_cc_g = yes; then
3438  if test "$GCC" = yes; then
3439    CFLAGS="-g -O2"
3440  else
3441    CFLAGS="-g"
3442  fi
3443else
3444  if test "$GCC" = yes; then
3445    CFLAGS="-O2"
3446  else
3447    CFLAGS=
3448  fi
3449fi
3450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3451$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3452if ${ac_cv_prog_cc_c89+:} false; then :
3453  $as_echo_n "(cached) " >&6
3454else
3455  ac_cv_prog_cc_c89=no
3456ac_save_CC=$CC
3457cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458/* end confdefs.h.  */
3459#include <stdarg.h>
3460#include <stdio.h>
3461struct stat;
3462/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3463struct buf { int x; };
3464FILE * (*rcsopen) (struct buf *, struct stat *, int);
3465static char *e (p, i)
3466     char **p;
3467     int i;
3468{
3469  return p[i];
3470}
3471static char *f (char * (*g) (char **, int), char **p, ...)
3472{
3473  char *s;
3474  va_list v;
3475  va_start (v,p);
3476  s = g (p, va_arg (v,int));
3477  va_end (v);
3478  return s;
3479}
3480
3481/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3482   function prototypes and stuff, but not '\xHH' hex character constants.
3483   These don't provoke an error unfortunately, instead are silently treated
3484   as 'x'.  The following induces an error, until -std is added to get
3485   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3486   array size at least.  It's necessary to write '\x00'==0 to get something
3487   that's true only with -std.  */
3488int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3489
3490/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3491   inside strings and character constants.  */
3492#define FOO(x) 'x'
3493int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3494
3495int test (int i, double x);
3496struct s1 {int (*f) (int a);};
3497struct s2 {int (*f) (double a);};
3498int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3499int argc;
3500char **argv;
3501int
3502main ()
3503{
3504return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3505  ;
3506  return 0;
3507}
3508_ACEOF
3509for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3510	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3511do
3512  CC="$ac_save_CC $ac_arg"
3513  if ac_fn_c_try_compile "$LINENO"; then :
3514  ac_cv_prog_cc_c89=$ac_arg
3515fi
3516rm -f core conftest.err conftest.$ac_objext
3517  test "x$ac_cv_prog_cc_c89" != "xno" && break
3518done
3519rm -f conftest.$ac_ext
3520CC=$ac_save_CC
3521
3522fi
3523# AC_CACHE_VAL
3524case "x$ac_cv_prog_cc_c89" in
3525  x)
3526    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3527$as_echo "none needed" >&6; } ;;
3528  xno)
3529    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3530$as_echo "unsupported" >&6; } ;;
3531  *)
3532    CC="$CC $ac_cv_prog_cc_c89"
3533    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3534$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3535esac
3536if test "x$ac_cv_prog_cc_c89" != xno; then :
3537
3538fi
3539
3540ac_ext=c
3541ac_cpp='$CPP $CPPFLAGS'
3542ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3543ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3544ac_compiler_gnu=$ac_cv_c_compiler_gnu
3545DEPDIR="${am__leading_dot}deps"
3546
3547ac_config_commands="$ac_config_commands depfiles"
3548
3549
3550am_make=${MAKE-make}
3551cat > confinc << 'END'
3552am__doit:
3553	@echo this is the am__doit target
3554.PHONY: am__doit
3555END
3556# If we don't find an include directive, just comment out the code.
3557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3558$as_echo_n "checking for style of include used by $am_make... " >&6; }
3559am__include="#"
3560am__quote=
3561_am_result=none
3562# First try GNU make style include.
3563echo "include confinc" > confmf
3564# Ignore all kinds of additional output from `make'.
3565case `$am_make -s -f confmf 2> /dev/null` in #(
3566*the\ am__doit\ target*)
3567  am__include=include
3568  am__quote=
3569  _am_result=GNU
3570  ;;
3571esac
3572# Now try BSD make style include.
3573if test "$am__include" = "#"; then
3574   echo '.include "confinc"' > confmf
3575   case `$am_make -s -f confmf 2> /dev/null` in #(
3576   *the\ am__doit\ target*)
3577     am__include=.include
3578     am__quote="\""
3579     _am_result=BSD
3580     ;;
3581   esac
3582fi
3583
3584
3585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3586$as_echo "$_am_result" >&6; }
3587rm -f confinc confmf
3588
3589# Check whether --enable-dependency-tracking was given.
3590if test "${enable_dependency_tracking+set}" = set; then :
3591  enableval=$enable_dependency_tracking;
3592fi
3593
3594if test "x$enable_dependency_tracking" != xno; then
3595  am_depcomp="$ac_aux_dir/depcomp"
3596  AMDEPBACKSLASH='\'
3597  am__nodep='_no'
3598fi
3599 if test "x$enable_dependency_tracking" != xno; then
3600  AMDEP_TRUE=
3601  AMDEP_FALSE='#'
3602else
3603  AMDEP_TRUE='#'
3604  AMDEP_FALSE=
3605fi
3606
3607
3608
3609depcc="$CC"   am_compiler_list=
3610
3611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3612$as_echo_n "checking dependency style of $depcc... " >&6; }
3613if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3614  $as_echo_n "(cached) " >&6
3615else
3616  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3617  # We make a subdir and do the tests there.  Otherwise we can end up
3618  # making bogus files that we don't know about and never remove.  For
3619  # instance it was reported that on HP-UX the gcc test will end up
3620  # making a dummy file named `D' -- because `-MD' means `put the output
3621  # in D'.
3622  rm -rf conftest.dir
3623  mkdir conftest.dir
3624  # Copy depcomp to subdir because otherwise we won't find it if we're
3625  # using a relative directory.
3626  cp "$am_depcomp" conftest.dir
3627  cd conftest.dir
3628  # We will build objects and dependencies in a subdirectory because
3629  # it helps to detect inapplicable dependency modes.  For instance
3630  # both Tru64's cc and ICC support -MD to output dependencies as a
3631  # side effect of compilation, but ICC will put the dependencies in
3632  # the current directory while Tru64 will put them in the object
3633  # directory.
3634  mkdir sub
3635
3636  am_cv_CC_dependencies_compiler_type=none
3637  if test "$am_compiler_list" = ""; then
3638     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3639  fi
3640  am__universal=false
3641  case " $depcc " in #(
3642     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3643     esac
3644
3645  for depmode in $am_compiler_list; do
3646    # Setup a source with many dependencies, because some compilers
3647    # like to wrap large dependency lists on column 80 (with \), and
3648    # we should not choose a depcomp mode which is confused by this.
3649    #
3650    # We need to recreate these files for each test, as the compiler may
3651    # overwrite some of them when testing with obscure command lines.
3652    # This happens at least with the AIX C compiler.
3653    : > sub/conftest.c
3654    for i in 1 2 3 4 5 6; do
3655      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3656      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3657      # Solaris 8's {/usr,}/bin/sh.
3658      touch sub/conftst$i.h
3659    done
3660    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3661
3662    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3663    # mode.  It turns out that the SunPro C++ compiler does not properly
3664    # handle `-M -o', and we need to detect this.  Also, some Intel
3665    # versions had trouble with output in subdirs
3666    am__obj=sub/conftest.${OBJEXT-o}
3667    am__minus_obj="-o $am__obj"
3668    case $depmode in
3669    gcc)
3670      # This depmode causes a compiler race in universal mode.
3671      test "$am__universal" = false || continue
3672      ;;
3673    nosideeffect)
3674      # after this tag, mechanisms are not by side-effect, so they'll
3675      # only be used when explicitly requested
3676      if test "x$enable_dependency_tracking" = xyes; then
3677	continue
3678      else
3679	break
3680      fi
3681      ;;
3682    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3683      # This compiler won't grok `-c -o', but also, the minuso test has
3684      # not run yet.  These depmodes are late enough in the game, and
3685      # so weak that their functioning should not be impacted.
3686      am__obj=conftest.${OBJEXT-o}
3687      am__minus_obj=
3688      ;;
3689    none) break ;;
3690    esac
3691    if depmode=$depmode \
3692       source=sub/conftest.c object=$am__obj \
3693       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3694       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3695         >/dev/null 2>conftest.err &&
3696       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3697       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3698       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3699       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3700      # icc doesn't choke on unknown options, it will just issue warnings
3701      # or remarks (even with -Werror).  So we grep stderr for any message
3702      # that says an option was ignored or not supported.
3703      # When given -MP, icc 7.0 and 7.1 complain thusly:
3704      #   icc: Command line warning: ignoring option '-M'; no argument required
3705      # The diagnosis changed in icc 8.0:
3706      #   icc: Command line remark: option '-MP' not supported
3707      if (grep 'ignoring option' conftest.err ||
3708          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3709        am_cv_CC_dependencies_compiler_type=$depmode
3710        break
3711      fi
3712    fi
3713  done
3714
3715  cd ..
3716  rm -rf conftest.dir
3717else
3718  am_cv_CC_dependencies_compiler_type=none
3719fi
3720
3721fi
3722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3723$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3724CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3725
3726 if
3727  test "x$enable_dependency_tracking" != xno \
3728  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3729  am__fastdepCC_TRUE=
3730  am__fastdepCC_FALSE='#'
3731else
3732  am__fastdepCC_TRUE='#'
3733  am__fastdepCC_FALSE=
3734fi
3735
3736
3737case `pwd` in
3738  *\ * | *\	*)
3739    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3740$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3741esac
3742
3743
3744
3745macro_version='2.4.2'
3746macro_revision='1.3337'
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760ltmain="$ac_aux_dir/ltmain.sh"
3761
3762# Make sure we can run config.sub.
3763$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3764  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3765
3766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3767$as_echo_n "checking build system type... " >&6; }
3768if ${ac_cv_build+:} false; then :
3769  $as_echo_n "(cached) " >&6
3770else
3771  ac_build_alias=$build_alias
3772test "x$ac_build_alias" = x &&
3773  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3774test "x$ac_build_alias" = x &&
3775  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3776ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3777  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3778
3779fi
3780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3781$as_echo "$ac_cv_build" >&6; }
3782case $ac_cv_build in
3783*-*-*) ;;
3784*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3785esac
3786build=$ac_cv_build
3787ac_save_IFS=$IFS; IFS='-'
3788set x $ac_cv_build
3789shift
3790build_cpu=$1
3791build_vendor=$2
3792shift; shift
3793# Remember, the first character of IFS is used to create $*,
3794# except with old shells:
3795build_os=$*
3796IFS=$ac_save_IFS
3797case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3798
3799
3800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3801$as_echo_n "checking host system type... " >&6; }
3802if ${ac_cv_host+:} false; then :
3803  $as_echo_n "(cached) " >&6
3804else
3805  if test "x$host_alias" = x; then
3806  ac_cv_host=$ac_cv_build
3807else
3808  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3809    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3810fi
3811
3812fi
3813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3814$as_echo "$ac_cv_host" >&6; }
3815case $ac_cv_host in
3816*-*-*) ;;
3817*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3818esac
3819host=$ac_cv_host
3820ac_save_IFS=$IFS; IFS='-'
3821set x $ac_cv_host
3822shift
3823host_cpu=$1
3824host_vendor=$2
3825shift; shift
3826# Remember, the first character of IFS is used to create $*,
3827# except with old shells:
3828host_os=$*
3829IFS=$ac_save_IFS
3830case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3831
3832
3833# Backslashify metacharacters that are still active within
3834# double-quoted strings.
3835sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3836
3837# Same as above, but do not quote variable references.
3838double_quote_subst='s/\(["`\\]\)/\\\1/g'
3839
3840# Sed substitution to delay expansion of an escaped shell variable in a
3841# double_quote_subst'ed string.
3842delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3843
3844# Sed substitution to delay expansion of an escaped single quote.
3845delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3846
3847# Sed substitution to avoid accidental globbing in evaled expressions
3848no_glob_subst='s/\*/\\\*/g'
3849
3850ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3851ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3852ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3853
3854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3855$as_echo_n "checking how to print strings... " >&6; }
3856# Test print first, because it will be a builtin if present.
3857if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3858   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3859  ECHO='print -r --'
3860elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3861  ECHO='printf %s\n'
3862else
3863  # Use this function as a fallback that always works.
3864  func_fallback_echo ()
3865  {
3866    eval 'cat <<_LTECHO_EOF
3867$1
3868_LTECHO_EOF'
3869  }
3870  ECHO='func_fallback_echo'
3871fi
3872
3873# func_echo_all arg...
3874# Invoke $ECHO with all args, space-separated.
3875func_echo_all ()
3876{
3877    $ECHO ""
3878}
3879
3880case "$ECHO" in
3881  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3882$as_echo "printf" >&6; } ;;
3883  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3884$as_echo "print -r" >&6; } ;;
3885  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3886$as_echo "cat" >&6; } ;;
3887esac
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3903$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3904if ${ac_cv_path_SED+:} false; then :
3905  $as_echo_n "(cached) " >&6
3906else
3907            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3908     for ac_i in 1 2 3 4 5 6 7; do
3909       ac_script="$ac_script$as_nl$ac_script"
3910     done
3911     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3912     { ac_script=; unset ac_script;}
3913     if test -z "$SED"; then
3914  ac_path_SED_found=false
3915  # Loop through the user's path and test for each of PROGNAME-LIST
3916  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917for as_dir in $PATH
3918do
3919  IFS=$as_save_IFS
3920  test -z "$as_dir" && as_dir=.
3921    for ac_prog in sed gsed; do
3922    for ac_exec_ext in '' $ac_executable_extensions; do
3923      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3924      as_fn_executable_p "$ac_path_SED" || continue
3925# Check for GNU ac_path_SED and select it if it is found.
3926  # Check for GNU $ac_path_SED
3927case `"$ac_path_SED" --version 2>&1` in
3928*GNU*)
3929  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3930*)
3931  ac_count=0
3932  $as_echo_n 0123456789 >"conftest.in"
3933  while :
3934  do
3935    cat "conftest.in" "conftest.in" >"conftest.tmp"
3936    mv "conftest.tmp" "conftest.in"
3937    cp "conftest.in" "conftest.nl"
3938    $as_echo '' >> "conftest.nl"
3939    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3940    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3941    as_fn_arith $ac_count + 1 && ac_count=$as_val
3942    if test $ac_count -gt ${ac_path_SED_max-0}; then
3943      # Best one so far, save it but keep looking for a better one
3944      ac_cv_path_SED="$ac_path_SED"
3945      ac_path_SED_max=$ac_count
3946    fi
3947    # 10*(2^10) chars as input seems more than enough
3948    test $ac_count -gt 10 && break
3949  done
3950  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3951esac
3952
3953      $ac_path_SED_found && break 3
3954    done
3955  done
3956  done
3957IFS=$as_save_IFS
3958  if test -z "$ac_cv_path_SED"; then
3959    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3960  fi
3961else
3962  ac_cv_path_SED=$SED
3963fi
3964
3965fi
3966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3967$as_echo "$ac_cv_path_SED" >&6; }
3968 SED="$ac_cv_path_SED"
3969  rm -f conftest.sed
3970
3971test -z "$SED" && SED=sed
3972Xsed="$SED -e 1s/^X//"
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3985$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3986if ${ac_cv_path_GREP+:} false; then :
3987  $as_echo_n "(cached) " >&6
3988else
3989  if test -z "$GREP"; then
3990  ac_path_GREP_found=false
3991  # Loop through the user's path and test for each of PROGNAME-LIST
3992  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3994do
3995  IFS=$as_save_IFS
3996  test -z "$as_dir" && as_dir=.
3997    for ac_prog in grep ggrep; do
3998    for ac_exec_ext in '' $ac_executable_extensions; do
3999      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4000      as_fn_executable_p "$ac_path_GREP" || continue
4001# Check for GNU ac_path_GREP and select it if it is found.
4002  # Check for GNU $ac_path_GREP
4003case `"$ac_path_GREP" --version 2>&1` in
4004*GNU*)
4005  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4006*)
4007  ac_count=0
4008  $as_echo_n 0123456789 >"conftest.in"
4009  while :
4010  do
4011    cat "conftest.in" "conftest.in" >"conftest.tmp"
4012    mv "conftest.tmp" "conftest.in"
4013    cp "conftest.in" "conftest.nl"
4014    $as_echo 'GREP' >> "conftest.nl"
4015    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4016    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4017    as_fn_arith $ac_count + 1 && ac_count=$as_val
4018    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4019      # Best one so far, save it but keep looking for a better one
4020      ac_cv_path_GREP="$ac_path_GREP"
4021      ac_path_GREP_max=$ac_count
4022    fi
4023    # 10*(2^10) chars as input seems more than enough
4024    test $ac_count -gt 10 && break
4025  done
4026  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4027esac
4028
4029      $ac_path_GREP_found && break 3
4030    done
4031  done
4032  done
4033IFS=$as_save_IFS
4034  if test -z "$ac_cv_path_GREP"; then
4035    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4036  fi
4037else
4038  ac_cv_path_GREP=$GREP
4039fi
4040
4041fi
4042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4043$as_echo "$ac_cv_path_GREP" >&6; }
4044 GREP="$ac_cv_path_GREP"
4045
4046
4047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4048$as_echo_n "checking for egrep... " >&6; }
4049if ${ac_cv_path_EGREP+:} false; then :
4050  $as_echo_n "(cached) " >&6
4051else
4052  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4053   then ac_cv_path_EGREP="$GREP -E"
4054   else
4055     if test -z "$EGREP"; then
4056  ac_path_EGREP_found=false
4057  # Loop through the user's path and test for each of PROGNAME-LIST
4058  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4060do
4061  IFS=$as_save_IFS
4062  test -z "$as_dir" && as_dir=.
4063    for ac_prog in egrep; do
4064    for ac_exec_ext in '' $ac_executable_extensions; do
4065      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4066      as_fn_executable_p "$ac_path_EGREP" || continue
4067# Check for GNU ac_path_EGREP and select it if it is found.
4068  # Check for GNU $ac_path_EGREP
4069case `"$ac_path_EGREP" --version 2>&1` in
4070*GNU*)
4071  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4072*)
4073  ac_count=0
4074  $as_echo_n 0123456789 >"conftest.in"
4075  while :
4076  do
4077    cat "conftest.in" "conftest.in" >"conftest.tmp"
4078    mv "conftest.tmp" "conftest.in"
4079    cp "conftest.in" "conftest.nl"
4080    $as_echo 'EGREP' >> "conftest.nl"
4081    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4082    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4083    as_fn_arith $ac_count + 1 && ac_count=$as_val
4084    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4085      # Best one so far, save it but keep looking for a better one
4086      ac_cv_path_EGREP="$ac_path_EGREP"
4087      ac_path_EGREP_max=$ac_count
4088    fi
4089    # 10*(2^10) chars as input seems more than enough
4090    test $ac_count -gt 10 && break
4091  done
4092  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4093esac
4094
4095      $ac_path_EGREP_found && break 3
4096    done
4097  done
4098  done
4099IFS=$as_save_IFS
4100  if test -z "$ac_cv_path_EGREP"; then
4101    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4102  fi
4103else
4104  ac_cv_path_EGREP=$EGREP
4105fi
4106
4107   fi
4108fi
4109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4110$as_echo "$ac_cv_path_EGREP" >&6; }
4111 EGREP="$ac_cv_path_EGREP"
4112
4113
4114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4115$as_echo_n "checking for fgrep... " >&6; }
4116if ${ac_cv_path_FGREP+:} false; then :
4117  $as_echo_n "(cached) " >&6
4118else
4119  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4120   then ac_cv_path_FGREP="$GREP -F"
4121   else
4122     if test -z "$FGREP"; then
4123  ac_path_FGREP_found=false
4124  # Loop through the user's path and test for each of PROGNAME-LIST
4125  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4126for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4127do
4128  IFS=$as_save_IFS
4129  test -z "$as_dir" && as_dir=.
4130    for ac_prog in fgrep; do
4131    for ac_exec_ext in '' $ac_executable_extensions; do
4132      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4133      as_fn_executable_p "$ac_path_FGREP" || continue
4134# Check for GNU ac_path_FGREP and select it if it is found.
4135  # Check for GNU $ac_path_FGREP
4136case `"$ac_path_FGREP" --version 2>&1` in
4137*GNU*)
4138  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4139*)
4140  ac_count=0
4141  $as_echo_n 0123456789 >"conftest.in"
4142  while :
4143  do
4144    cat "conftest.in" "conftest.in" >"conftest.tmp"
4145    mv "conftest.tmp" "conftest.in"
4146    cp "conftest.in" "conftest.nl"
4147    $as_echo 'FGREP' >> "conftest.nl"
4148    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4149    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4150    as_fn_arith $ac_count + 1 && ac_count=$as_val
4151    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4152      # Best one so far, save it but keep looking for a better one
4153      ac_cv_path_FGREP="$ac_path_FGREP"
4154      ac_path_FGREP_max=$ac_count
4155    fi
4156    # 10*(2^10) chars as input seems more than enough
4157    test $ac_count -gt 10 && break
4158  done
4159  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4160esac
4161
4162      $ac_path_FGREP_found && break 3
4163    done
4164  done
4165  done
4166IFS=$as_save_IFS
4167  if test -z "$ac_cv_path_FGREP"; then
4168    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4169  fi
4170else
4171  ac_cv_path_FGREP=$FGREP
4172fi
4173
4174   fi
4175fi
4176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4177$as_echo "$ac_cv_path_FGREP" >&6; }
4178 FGREP="$ac_cv_path_FGREP"
4179
4180
4181test -z "$GREP" && GREP=grep
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201# Check whether --with-gnu-ld was given.
4202if test "${with_gnu_ld+set}" = set; then :
4203  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4204else
4205  with_gnu_ld=no
4206fi
4207
4208ac_prog=ld
4209if test "$GCC" = yes; then
4210  # Check if gcc -print-prog-name=ld gives a path.
4211  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4212$as_echo_n "checking for ld used by $CC... " >&6; }
4213  case $host in
4214  *-*-mingw*)
4215    # gcc leaves a trailing carriage return which upsets mingw
4216    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4217  *)
4218    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4219  esac
4220  case $ac_prog in
4221    # Accept absolute paths.
4222    [\\/]* | ?:[\\/]*)
4223      re_direlt='/[^/][^/]*/\.\./'
4224      # Canonicalize the pathname of ld
4225      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4226      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4227	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4228      done
4229      test -z "$LD" && LD="$ac_prog"
4230      ;;
4231  "")
4232    # If it fails, then pretend we aren't using GCC.
4233    ac_prog=ld
4234    ;;
4235  *)
4236    # If it is relative, then search for the first ld in PATH.
4237    with_gnu_ld=unknown
4238    ;;
4239  esac
4240elif test "$with_gnu_ld" = yes; then
4241  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4242$as_echo_n "checking for GNU ld... " >&6; }
4243else
4244  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4245$as_echo_n "checking for non-GNU ld... " >&6; }
4246fi
4247if ${lt_cv_path_LD+:} false; then :
4248  $as_echo_n "(cached) " >&6
4249else
4250  if test -z "$LD"; then
4251  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4252  for ac_dir in $PATH; do
4253    IFS="$lt_save_ifs"
4254    test -z "$ac_dir" && ac_dir=.
4255    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4256      lt_cv_path_LD="$ac_dir/$ac_prog"
4257      # Check to see if the program is GNU ld.  I'd rather use --version,
4258      # but apparently some variants of GNU ld only accept -v.
4259      # Break only if it was the GNU/non-GNU ld that we prefer.
4260      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4261      *GNU* | *'with BFD'*)
4262	test "$with_gnu_ld" != no && break
4263	;;
4264      *)
4265	test "$with_gnu_ld" != yes && break
4266	;;
4267      esac
4268    fi
4269  done
4270  IFS="$lt_save_ifs"
4271else
4272  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4273fi
4274fi
4275
4276LD="$lt_cv_path_LD"
4277if test -n "$LD"; then
4278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4279$as_echo "$LD" >&6; }
4280else
4281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4282$as_echo "no" >&6; }
4283fi
4284test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4286$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4287if ${lt_cv_prog_gnu_ld+:} false; then :
4288  $as_echo_n "(cached) " >&6
4289else
4290  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4291case `$LD -v 2>&1 </dev/null` in
4292*GNU* | *'with BFD'*)
4293  lt_cv_prog_gnu_ld=yes
4294  ;;
4295*)
4296  lt_cv_prog_gnu_ld=no
4297  ;;
4298esac
4299fi
4300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4301$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4302with_gnu_ld=$lt_cv_prog_gnu_ld
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4313$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4314if ${lt_cv_path_NM+:} false; then :
4315  $as_echo_n "(cached) " >&6
4316else
4317  if test -n "$NM"; then
4318  # Let the user override the test.
4319  lt_cv_path_NM="$NM"
4320else
4321  lt_nm_to_check="${ac_tool_prefix}nm"
4322  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4323    lt_nm_to_check="$lt_nm_to_check nm"
4324  fi
4325  for lt_tmp_nm in $lt_nm_to_check; do
4326    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4327    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4328      IFS="$lt_save_ifs"
4329      test -z "$ac_dir" && ac_dir=.
4330      tmp_nm="$ac_dir/$lt_tmp_nm"
4331      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4332	# Check to see if the nm accepts a BSD-compat flag.
4333	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4334	#   nm: unknown option "B" ignored
4335	# Tru64's nm complains that /dev/null is an invalid object file
4336	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4337	*/dev/null* | *'Invalid file or object type'*)
4338	  lt_cv_path_NM="$tmp_nm -B"
4339	  break
4340	  ;;
4341	*)
4342	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4343	  */dev/null*)
4344	    lt_cv_path_NM="$tmp_nm -p"
4345	    break
4346	    ;;
4347	  *)
4348	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4349	    continue # so that we can try to find one that supports BSD flags
4350	    ;;
4351	  esac
4352	  ;;
4353	esac
4354      fi
4355    done
4356    IFS="$lt_save_ifs"
4357  done
4358  : ${lt_cv_path_NM=no}
4359fi
4360fi
4361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4362$as_echo "$lt_cv_path_NM" >&6; }
4363if test "$lt_cv_path_NM" != "no"; then
4364  NM="$lt_cv_path_NM"
4365else
4366  # Didn't find any BSD compatible name lister, look for dumpbin.
4367  if test -n "$DUMPBIN"; then :
4368    # Let the user override the test.
4369  else
4370    if test -n "$ac_tool_prefix"; then
4371  for ac_prog in dumpbin "link -dump"
4372  do
4373    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4374set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4376$as_echo_n "checking for $ac_word... " >&6; }
4377if ${ac_cv_prog_DUMPBIN+:} false; then :
4378  $as_echo_n "(cached) " >&6
4379else
4380  if test -n "$DUMPBIN"; then
4381  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4382else
4383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384for as_dir in $PATH
4385do
4386  IFS=$as_save_IFS
4387  test -z "$as_dir" && as_dir=.
4388    for ac_exec_ext in '' $ac_executable_extensions; do
4389  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4390    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4391    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4392    break 2
4393  fi
4394done
4395  done
4396IFS=$as_save_IFS
4397
4398fi
4399fi
4400DUMPBIN=$ac_cv_prog_DUMPBIN
4401if test -n "$DUMPBIN"; then
4402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4403$as_echo "$DUMPBIN" >&6; }
4404else
4405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406$as_echo "no" >&6; }
4407fi
4408
4409
4410    test -n "$DUMPBIN" && break
4411  done
4412fi
4413if test -z "$DUMPBIN"; then
4414  ac_ct_DUMPBIN=$DUMPBIN
4415  for ac_prog in dumpbin "link -dump"
4416do
4417  # Extract the first word of "$ac_prog", so it can be a program name with args.
4418set dummy $ac_prog; ac_word=$2
4419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4420$as_echo_n "checking for $ac_word... " >&6; }
4421if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4422  $as_echo_n "(cached) " >&6
4423else
4424  if test -n "$ac_ct_DUMPBIN"; then
4425  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4426else
4427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4428for as_dir in $PATH
4429do
4430  IFS=$as_save_IFS
4431  test -z "$as_dir" && as_dir=.
4432    for ac_exec_ext in '' $ac_executable_extensions; do
4433  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4434    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4435    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436    break 2
4437  fi
4438done
4439  done
4440IFS=$as_save_IFS
4441
4442fi
4443fi
4444ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4445if test -n "$ac_ct_DUMPBIN"; then
4446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4447$as_echo "$ac_ct_DUMPBIN" >&6; }
4448else
4449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4450$as_echo "no" >&6; }
4451fi
4452
4453
4454  test -n "$ac_ct_DUMPBIN" && break
4455done
4456
4457  if test "x$ac_ct_DUMPBIN" = x; then
4458    DUMPBIN=":"
4459  else
4460    case $cross_compiling:$ac_tool_warned in
4461yes:)
4462{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4463$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4464ac_tool_warned=yes ;;
4465esac
4466    DUMPBIN=$ac_ct_DUMPBIN
4467  fi
4468fi
4469
4470    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4471    *COFF*)
4472      DUMPBIN="$DUMPBIN -symbols"
4473      ;;
4474    *)
4475      DUMPBIN=:
4476      ;;
4477    esac
4478  fi
4479
4480  if test "$DUMPBIN" != ":"; then
4481    NM="$DUMPBIN"
4482  fi
4483fi
4484test -z "$NM" && NM=nm
4485
4486
4487
4488
4489
4490
4491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4492$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4493if ${lt_cv_nm_interface+:} false; then :
4494  $as_echo_n "(cached) " >&6
4495else
4496  lt_cv_nm_interface="BSD nm"
4497  echo "int some_variable = 0;" > conftest.$ac_ext
4498  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4499  (eval "$ac_compile" 2>conftest.err)
4500  cat conftest.err >&5
4501  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4502  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4503  cat conftest.err >&5
4504  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4505  cat conftest.out >&5
4506  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4507    lt_cv_nm_interface="MS dumpbin"
4508  fi
4509  rm -f conftest*
4510fi
4511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4512$as_echo "$lt_cv_nm_interface" >&6; }
4513
4514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4515$as_echo_n "checking whether ln -s works... " >&6; }
4516LN_S=$as_ln_s
4517if test "$LN_S" = "ln -s"; then
4518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4519$as_echo "yes" >&6; }
4520else
4521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4522$as_echo "no, using $LN_S" >&6; }
4523fi
4524
4525# find the maximum length of command line arguments
4526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4527$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4528if ${lt_cv_sys_max_cmd_len+:} false; then :
4529  $as_echo_n "(cached) " >&6
4530else
4531    i=0
4532  teststring="ABCD"
4533
4534  case $build_os in
4535  msdosdjgpp*)
4536    # On DJGPP, this test can blow up pretty badly due to problems in libc
4537    # (any single argument exceeding 2000 bytes causes a buffer overrun
4538    # during glob expansion).  Even if it were fixed, the result of this
4539    # check would be larger than it should be.
4540    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4541    ;;
4542
4543  gnu*)
4544    # Under GNU Hurd, this test is not required because there is
4545    # no limit to the length of command line arguments.
4546    # Libtool will interpret -1 as no limit whatsoever
4547    lt_cv_sys_max_cmd_len=-1;
4548    ;;
4549
4550  cygwin* | mingw* | cegcc*)
4551    # On Win9x/ME, this test blows up -- it succeeds, but takes
4552    # about 5 minutes as the teststring grows exponentially.
4553    # Worse, since 9x/ME are not pre-emptively multitasking,
4554    # you end up with a "frozen" computer, even though with patience
4555    # the test eventually succeeds (with a max line length of 256k).
4556    # Instead, let's just punt: use the minimum linelength reported by
4557    # all of the supported platforms: 8192 (on NT/2K/XP).
4558    lt_cv_sys_max_cmd_len=8192;
4559    ;;
4560
4561  mint*)
4562    # On MiNT this can take a long time and run out of memory.
4563    lt_cv_sys_max_cmd_len=8192;
4564    ;;
4565
4566  amigaos*)
4567    # On AmigaOS with pdksh, this test takes hours, literally.
4568    # So we just punt and use a minimum line length of 8192.
4569    lt_cv_sys_max_cmd_len=8192;
4570    ;;
4571
4572  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4573    # This has been around since 386BSD, at least.  Likely further.
4574    if test -x /sbin/sysctl; then
4575      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4576    elif test -x /usr/sbin/sysctl; then
4577      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4578    else
4579      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4580    fi
4581    # And add a safety zone
4582    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4583    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4584    ;;
4585
4586  interix*)
4587    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4588    lt_cv_sys_max_cmd_len=196608
4589    ;;
4590
4591  os2*)
4592    # The test takes a long time on OS/2.
4593    lt_cv_sys_max_cmd_len=8192
4594    ;;
4595
4596  osf*)
4597    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4598    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4599    # nice to cause kernel panics so lets avoid the loop below.
4600    # First set a reasonable default.
4601    lt_cv_sys_max_cmd_len=16384
4602    #
4603    if test -x /sbin/sysconfig; then
4604      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4605        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4606      esac
4607    fi
4608    ;;
4609  sco3.2v5*)
4610    lt_cv_sys_max_cmd_len=102400
4611    ;;
4612  sysv5* | sco5v6* | sysv4.2uw2*)
4613    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4614    if test -n "$kargmax"; then
4615      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4616    else
4617      lt_cv_sys_max_cmd_len=32768
4618    fi
4619    ;;
4620  *)
4621    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4622    if test -n "$lt_cv_sys_max_cmd_len" && \
4623	test undefined != "$lt_cv_sys_max_cmd_len"; then
4624      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4625      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4626    else
4627      # Make teststring a little bigger before we do anything with it.
4628      # a 1K string should be a reasonable start.
4629      for i in 1 2 3 4 5 6 7 8 ; do
4630        teststring=$teststring$teststring
4631      done
4632      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4633      # If test is not a shell built-in, we'll probably end up computing a
4634      # maximum length that is only half of the actual maximum length, but
4635      # we can't tell.
4636      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4637	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4638	      test $i != 17 # 1/2 MB should be enough
4639      do
4640        i=`expr $i + 1`
4641        teststring=$teststring$teststring
4642      done
4643      # Only check the string length outside the loop.
4644      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4645      teststring=
4646      # Add a significant safety factor because C++ compilers can tack on
4647      # massive amounts of additional arguments before passing them to the
4648      # linker.  It appears as though 1/2 is a usable value.
4649      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4650    fi
4651    ;;
4652  esac
4653
4654fi
4655
4656if test -n $lt_cv_sys_max_cmd_len ; then
4657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4658$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4659else
4660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4661$as_echo "none" >&6; }
4662fi
4663max_cmd_len=$lt_cv_sys_max_cmd_len
4664
4665
4666
4667
4668
4669
4670: ${CP="cp -f"}
4671: ${MV="mv -f"}
4672: ${RM="rm -f"}
4673
4674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4675$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4676# Try some XSI features
4677xsi_shell=no
4678( _lt_dummy="a/b/c"
4679  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4680      = c,a/b,b/c, \
4681    && eval 'test $(( 1 + 1 )) -eq 2 \
4682    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4683  && xsi_shell=yes
4684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4685$as_echo "$xsi_shell" >&6; }
4686
4687
4688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4689$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4690lt_shell_append=no
4691( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4692    >/dev/null 2>&1 \
4693  && lt_shell_append=yes
4694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4695$as_echo "$lt_shell_append" >&6; }
4696
4697
4698if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4699  lt_unset=unset
4700else
4701  lt_unset=false
4702fi
4703
4704
4705
4706
4707
4708# test EBCDIC or ASCII
4709case `echo X|tr X '\101'` in
4710 A) # ASCII based system
4711    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4712  lt_SP2NL='tr \040 \012'
4713  lt_NL2SP='tr \015\012 \040\040'
4714  ;;
4715 *) # EBCDIC based system
4716  lt_SP2NL='tr \100 \n'
4717  lt_NL2SP='tr \r\n \100\100'
4718  ;;
4719esac
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4730$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4731if ${lt_cv_to_host_file_cmd+:} false; then :
4732  $as_echo_n "(cached) " >&6
4733else
4734  case $host in
4735  *-*-mingw* )
4736    case $build in
4737      *-*-mingw* ) # actually msys
4738        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4739        ;;
4740      *-*-cygwin* )
4741        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4742        ;;
4743      * ) # otherwise, assume *nix
4744        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4745        ;;
4746    esac
4747    ;;
4748  *-*-cygwin* )
4749    case $build in
4750      *-*-mingw* ) # actually msys
4751        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4752        ;;
4753      *-*-cygwin* )
4754        lt_cv_to_host_file_cmd=func_convert_file_noop
4755        ;;
4756      * ) # otherwise, assume *nix
4757        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4758        ;;
4759    esac
4760    ;;
4761  * ) # unhandled hosts (and "normal" native builds)
4762    lt_cv_to_host_file_cmd=func_convert_file_noop
4763    ;;
4764esac
4765
4766fi
4767
4768to_host_file_cmd=$lt_cv_to_host_file_cmd
4769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4770$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4771
4772
4773
4774
4775
4776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4777$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4778if ${lt_cv_to_tool_file_cmd+:} false; then :
4779  $as_echo_n "(cached) " >&6
4780else
4781  #assume ordinary cross tools, or native build.
4782lt_cv_to_tool_file_cmd=func_convert_file_noop
4783case $host in
4784  *-*-mingw* )
4785    case $build in
4786      *-*-mingw* ) # actually msys
4787        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4788        ;;
4789    esac
4790    ;;
4791esac
4792
4793fi
4794
4795to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4797$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4798
4799
4800
4801
4802
4803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4804$as_echo_n "checking for $LD option to reload object files... " >&6; }
4805if ${lt_cv_ld_reload_flag+:} false; then :
4806  $as_echo_n "(cached) " >&6
4807else
4808  lt_cv_ld_reload_flag='-r'
4809fi
4810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4811$as_echo "$lt_cv_ld_reload_flag" >&6; }
4812reload_flag=$lt_cv_ld_reload_flag
4813case $reload_flag in
4814"" | " "*) ;;
4815*) reload_flag=" $reload_flag" ;;
4816esac
4817reload_cmds='$LD$reload_flag -o $output$reload_objs'
4818case $host_os in
4819  cygwin* | mingw* | pw32* | cegcc*)
4820    if test "$GCC" != yes; then
4821      reload_cmds=false
4822    fi
4823    ;;
4824  darwin*)
4825    if test "$GCC" = yes; then
4826      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4827    else
4828      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4829    fi
4830    ;;
4831esac
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841if test -n "$ac_tool_prefix"; then
4842  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4843set dummy ${ac_tool_prefix}objdump; ac_word=$2
4844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4845$as_echo_n "checking for $ac_word... " >&6; }
4846if ${ac_cv_prog_OBJDUMP+:} false; then :
4847  $as_echo_n "(cached) " >&6
4848else
4849  if test -n "$OBJDUMP"; then
4850  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4851else
4852as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4853for as_dir in $PATH
4854do
4855  IFS=$as_save_IFS
4856  test -z "$as_dir" && as_dir=.
4857    for ac_exec_ext in '' $ac_executable_extensions; do
4858  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4859    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4860    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4861    break 2
4862  fi
4863done
4864  done
4865IFS=$as_save_IFS
4866
4867fi
4868fi
4869OBJDUMP=$ac_cv_prog_OBJDUMP
4870if test -n "$OBJDUMP"; then
4871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4872$as_echo "$OBJDUMP" >&6; }
4873else
4874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4875$as_echo "no" >&6; }
4876fi
4877
4878
4879fi
4880if test -z "$ac_cv_prog_OBJDUMP"; then
4881  ac_ct_OBJDUMP=$OBJDUMP
4882  # Extract the first word of "objdump", so it can be a program name with args.
4883set dummy objdump; ac_word=$2
4884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4885$as_echo_n "checking for $ac_word... " >&6; }
4886if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4887  $as_echo_n "(cached) " >&6
4888else
4889  if test -n "$ac_ct_OBJDUMP"; then
4890  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4891else
4892as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893for as_dir in $PATH
4894do
4895  IFS=$as_save_IFS
4896  test -z "$as_dir" && as_dir=.
4897    for ac_exec_ext in '' $ac_executable_extensions; do
4898  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4899    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4900    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4901    break 2
4902  fi
4903done
4904  done
4905IFS=$as_save_IFS
4906
4907fi
4908fi
4909ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4910if test -n "$ac_ct_OBJDUMP"; then
4911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4912$as_echo "$ac_ct_OBJDUMP" >&6; }
4913else
4914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915$as_echo "no" >&6; }
4916fi
4917
4918  if test "x$ac_ct_OBJDUMP" = x; then
4919    OBJDUMP="false"
4920  else
4921    case $cross_compiling:$ac_tool_warned in
4922yes:)
4923{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4924$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4925ac_tool_warned=yes ;;
4926esac
4927    OBJDUMP=$ac_ct_OBJDUMP
4928  fi
4929else
4930  OBJDUMP="$ac_cv_prog_OBJDUMP"
4931fi
4932
4933test -z "$OBJDUMP" && OBJDUMP=objdump
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4944$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4945if ${lt_cv_deplibs_check_method+:} false; then :
4946  $as_echo_n "(cached) " >&6
4947else
4948  lt_cv_file_magic_cmd='$MAGIC_CMD'
4949lt_cv_file_magic_test_file=
4950lt_cv_deplibs_check_method='unknown'
4951# Need to set the preceding variable on all platforms that support
4952# interlibrary dependencies.
4953# 'none' -- dependencies not supported.
4954# `unknown' -- same as none, but documents that we really don't know.
4955# 'pass_all' -- all dependencies passed with no checks.
4956# 'test_compile' -- check by making test program.
4957# 'file_magic [[regex]]' -- check by looking for files in library path
4958# which responds to the $file_magic_cmd with a given extended regex.
4959# If you have `file' or equivalent on your system and you're not sure
4960# whether `pass_all' will *always* work, you probably want this one.
4961
4962case $host_os in
4963aix[4-9]*)
4964  lt_cv_deplibs_check_method=pass_all
4965  ;;
4966
4967beos*)
4968  lt_cv_deplibs_check_method=pass_all
4969  ;;
4970
4971bsdi[45]*)
4972  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4973  lt_cv_file_magic_cmd='/usr/bin/file -L'
4974  lt_cv_file_magic_test_file=/shlib/libc.so
4975  ;;
4976
4977cygwin*)
4978  # func_win32_libid is a shell function defined in ltmain.sh
4979  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4980  lt_cv_file_magic_cmd='func_win32_libid'
4981  ;;
4982
4983mingw* | pw32*)
4984  # Base MSYS/MinGW do not provide the 'file' command needed by
4985  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4986  # unless we find 'file', for example because we are cross-compiling.
4987  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4988  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4989    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4990    lt_cv_file_magic_cmd='func_win32_libid'
4991  else
4992    # Keep this pattern in sync with the one in func_win32_libid.
4993    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4994    lt_cv_file_magic_cmd='$OBJDUMP -f'
4995  fi
4996  ;;
4997
4998cegcc*)
4999  # use the weaker test based on 'objdump'. See mingw*.
5000  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5001  lt_cv_file_magic_cmd='$OBJDUMP -f'
5002  ;;
5003
5004darwin* | rhapsody*)
5005  lt_cv_deplibs_check_method=pass_all
5006  ;;
5007
5008freebsd* | dragonfly*)
5009  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5010    case $host_cpu in
5011    i*86 )
5012      # Not sure whether the presence of OpenBSD here was a mistake.
5013      # Let's accept both of them until this is cleared up.
5014      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5015      lt_cv_file_magic_cmd=/usr/bin/file
5016      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5017      ;;
5018    esac
5019  else
5020    lt_cv_deplibs_check_method=pass_all
5021  fi
5022  ;;
5023
5024haiku*)
5025  lt_cv_deplibs_check_method=pass_all
5026  ;;
5027
5028hpux10.20* | hpux11*)
5029  lt_cv_file_magic_cmd=/usr/bin/file
5030  case $host_cpu in
5031  ia64*)
5032    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5033    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5034    ;;
5035  hppa*64*)
5036    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]'
5037    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5038    ;;
5039  *)
5040    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5041    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5042    ;;
5043  esac
5044  ;;
5045
5046interix[3-9]*)
5047  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5048  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5049  ;;
5050
5051irix5* | irix6* | nonstopux*)
5052  case $LD in
5053  *-32|*"-32 ") libmagic=32-bit;;
5054  *-n32|*"-n32 ") libmagic=N32;;
5055  *-64|*"-64 ") libmagic=64-bit;;
5056  *) libmagic=never-match;;
5057  esac
5058  lt_cv_deplibs_check_method=pass_all
5059  ;;
5060
5061# This must be glibc/ELF.
5062linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5063  lt_cv_deplibs_check_method=pass_all
5064  ;;
5065
5066netbsd* | netbsdelf*-gnu)
5067  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5068    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5069  else
5070    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5071  fi
5072  ;;
5073
5074newos6*)
5075  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5076  lt_cv_file_magic_cmd=/usr/bin/file
5077  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5078  ;;
5079
5080*nto* | *qnx*)
5081  lt_cv_deplibs_check_method=pass_all
5082  ;;
5083
5084openbsd*)
5085  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5086    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5087  else
5088    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5089  fi
5090  ;;
5091
5092osf3* | osf4* | osf5*)
5093  lt_cv_deplibs_check_method=pass_all
5094  ;;
5095
5096rdos*)
5097  lt_cv_deplibs_check_method=pass_all
5098  ;;
5099
5100solaris*)
5101  lt_cv_deplibs_check_method=pass_all
5102  ;;
5103
5104sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5105  lt_cv_deplibs_check_method=pass_all
5106  ;;
5107
5108sysv4 | sysv4.3*)
5109  case $host_vendor in
5110  motorola)
5111    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]'
5112    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5113    ;;
5114  ncr)
5115    lt_cv_deplibs_check_method=pass_all
5116    ;;
5117  sequent)
5118    lt_cv_file_magic_cmd='/bin/file'
5119    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5120    ;;
5121  sni)
5122    lt_cv_file_magic_cmd='/bin/file'
5123    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5124    lt_cv_file_magic_test_file=/lib/libc.so
5125    ;;
5126  siemens)
5127    lt_cv_deplibs_check_method=pass_all
5128    ;;
5129  pc)
5130    lt_cv_deplibs_check_method=pass_all
5131    ;;
5132  esac
5133  ;;
5134
5135tpf*)
5136  lt_cv_deplibs_check_method=pass_all
5137  ;;
5138esac
5139
5140fi
5141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5142$as_echo "$lt_cv_deplibs_check_method" >&6; }
5143
5144file_magic_glob=
5145want_nocaseglob=no
5146if test "$build" = "$host"; then
5147  case $host_os in
5148  mingw* | pw32*)
5149    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5150      want_nocaseglob=yes
5151    else
5152      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5153    fi
5154    ;;
5155  esac
5156fi
5157
5158file_magic_cmd=$lt_cv_file_magic_cmd
5159deplibs_check_method=$lt_cv_deplibs_check_method
5160test -z "$deplibs_check_method" && deplibs_check_method=unknown
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183if test -n "$ac_tool_prefix"; then
5184  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5185set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5187$as_echo_n "checking for $ac_word... " >&6; }
5188if ${ac_cv_prog_DLLTOOL+:} false; then :
5189  $as_echo_n "(cached) " >&6
5190else
5191  if test -n "$DLLTOOL"; then
5192  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5193else
5194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5195for as_dir in $PATH
5196do
5197  IFS=$as_save_IFS
5198  test -z "$as_dir" && as_dir=.
5199    for ac_exec_ext in '' $ac_executable_extensions; do
5200  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5201    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5202    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5203    break 2
5204  fi
5205done
5206  done
5207IFS=$as_save_IFS
5208
5209fi
5210fi
5211DLLTOOL=$ac_cv_prog_DLLTOOL
5212if test -n "$DLLTOOL"; then
5213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5214$as_echo "$DLLTOOL" >&6; }
5215else
5216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5217$as_echo "no" >&6; }
5218fi
5219
5220
5221fi
5222if test -z "$ac_cv_prog_DLLTOOL"; then
5223  ac_ct_DLLTOOL=$DLLTOOL
5224  # Extract the first word of "dlltool", so it can be a program name with args.
5225set dummy dlltool; ac_word=$2
5226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227$as_echo_n "checking for $ac_word... " >&6; }
5228if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5229  $as_echo_n "(cached) " >&6
5230else
5231  if test -n "$ac_ct_DLLTOOL"; then
5232  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5233else
5234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235for as_dir in $PATH
5236do
5237  IFS=$as_save_IFS
5238  test -z "$as_dir" && as_dir=.
5239    for ac_exec_ext in '' $ac_executable_extensions; do
5240  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5241    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5242    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243    break 2
5244  fi
5245done
5246  done
5247IFS=$as_save_IFS
5248
5249fi
5250fi
5251ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5252if test -n "$ac_ct_DLLTOOL"; then
5253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5254$as_echo "$ac_ct_DLLTOOL" >&6; }
5255else
5256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257$as_echo "no" >&6; }
5258fi
5259
5260  if test "x$ac_ct_DLLTOOL" = x; then
5261    DLLTOOL="false"
5262  else
5263    case $cross_compiling:$ac_tool_warned in
5264yes:)
5265{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5266$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5267ac_tool_warned=yes ;;
5268esac
5269    DLLTOOL=$ac_ct_DLLTOOL
5270  fi
5271else
5272  DLLTOOL="$ac_cv_prog_DLLTOOL"
5273fi
5274
5275test -z "$DLLTOOL" && DLLTOOL=dlltool
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5287$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5288if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5289  $as_echo_n "(cached) " >&6
5290else
5291  lt_cv_sharedlib_from_linklib_cmd='unknown'
5292
5293case $host_os in
5294cygwin* | mingw* | pw32* | cegcc*)
5295  # two different shell functions defined in ltmain.sh
5296  # decide which to use based on capabilities of $DLLTOOL
5297  case `$DLLTOOL --help 2>&1` in
5298  *--identify-strict*)
5299    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5300    ;;
5301  *)
5302    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5303    ;;
5304  esac
5305  ;;
5306*)
5307  # fallback: assume linklib IS sharedlib
5308  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5309  ;;
5310esac
5311
5312fi
5313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5314$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5315sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5316test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5317
5318
5319
5320
5321
5322
5323
5324
5325if test -n "$ac_tool_prefix"; then
5326  for ac_prog in ar
5327  do
5328    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5329set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5331$as_echo_n "checking for $ac_word... " >&6; }
5332if ${ac_cv_prog_AR+:} false; then :
5333  $as_echo_n "(cached) " >&6
5334else
5335  if test -n "$AR"; then
5336  ac_cv_prog_AR="$AR" # Let the user override the test.
5337else
5338as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339for as_dir in $PATH
5340do
5341  IFS=$as_save_IFS
5342  test -z "$as_dir" && as_dir=.
5343    for ac_exec_ext in '' $ac_executable_extensions; do
5344  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5345    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5346    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5347    break 2
5348  fi
5349done
5350  done
5351IFS=$as_save_IFS
5352
5353fi
5354fi
5355AR=$ac_cv_prog_AR
5356if test -n "$AR"; then
5357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5358$as_echo "$AR" >&6; }
5359else
5360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5361$as_echo "no" >&6; }
5362fi
5363
5364
5365    test -n "$AR" && break
5366  done
5367fi
5368if test -z "$AR"; then
5369  ac_ct_AR=$AR
5370  for ac_prog in ar
5371do
5372  # Extract the first word of "$ac_prog", so it can be a program name with args.
5373set dummy $ac_prog; ac_word=$2
5374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375$as_echo_n "checking for $ac_word... " >&6; }
5376if ${ac_cv_prog_ac_ct_AR+:} false; then :
5377  $as_echo_n "(cached) " >&6
5378else
5379  if test -n "$ac_ct_AR"; then
5380  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5381else
5382as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383for as_dir in $PATH
5384do
5385  IFS=$as_save_IFS
5386  test -z "$as_dir" && as_dir=.
5387    for ac_exec_ext in '' $ac_executable_extensions; do
5388  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5389    ac_cv_prog_ac_ct_AR="$ac_prog"
5390    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391    break 2
5392  fi
5393done
5394  done
5395IFS=$as_save_IFS
5396
5397fi
5398fi
5399ac_ct_AR=$ac_cv_prog_ac_ct_AR
5400if test -n "$ac_ct_AR"; then
5401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5402$as_echo "$ac_ct_AR" >&6; }
5403else
5404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405$as_echo "no" >&6; }
5406fi
5407
5408
5409  test -n "$ac_ct_AR" && break
5410done
5411
5412  if test "x$ac_ct_AR" = x; then
5413    AR="false"
5414  else
5415    case $cross_compiling:$ac_tool_warned in
5416yes:)
5417{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5418$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5419ac_tool_warned=yes ;;
5420esac
5421    AR=$ac_ct_AR
5422  fi
5423fi
5424
5425: ${AR=ar}
5426: ${AR_FLAGS=cru}
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5439$as_echo_n "checking for archiver @FILE support... " >&6; }
5440if ${lt_cv_ar_at_file+:} false; then :
5441  $as_echo_n "(cached) " >&6
5442else
5443  lt_cv_ar_at_file=no
5444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5445/* end confdefs.h.  */
5446
5447int
5448main ()
5449{
5450
5451  ;
5452  return 0;
5453}
5454_ACEOF
5455if ac_fn_c_try_compile "$LINENO"; then :
5456  echo conftest.$ac_objext > conftest.lst
5457      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5458      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5459  (eval $lt_ar_try) 2>&5
5460  ac_status=$?
5461  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5462  test $ac_status = 0; }
5463      if test "$ac_status" -eq 0; then
5464	# Ensure the archiver fails upon bogus file names.
5465	rm -f conftest.$ac_objext libconftest.a
5466	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5467  (eval $lt_ar_try) 2>&5
5468  ac_status=$?
5469  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5470  test $ac_status = 0; }
5471	if test "$ac_status" -ne 0; then
5472          lt_cv_ar_at_file=@
5473        fi
5474      fi
5475      rm -f conftest.* libconftest.a
5476
5477fi
5478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5479
5480fi
5481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5482$as_echo "$lt_cv_ar_at_file" >&6; }
5483
5484if test "x$lt_cv_ar_at_file" = xno; then
5485  archiver_list_spec=
5486else
5487  archiver_list_spec=$lt_cv_ar_at_file
5488fi
5489
5490
5491
5492
5493
5494
5495
5496if test -n "$ac_tool_prefix"; then
5497  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5498set dummy ${ac_tool_prefix}strip; ac_word=$2
5499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500$as_echo_n "checking for $ac_word... " >&6; }
5501if ${ac_cv_prog_STRIP+:} false; then :
5502  $as_echo_n "(cached) " >&6
5503else
5504  if test -n "$STRIP"; then
5505  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5506else
5507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508for as_dir in $PATH
5509do
5510  IFS=$as_save_IFS
5511  test -z "$as_dir" && as_dir=.
5512    for ac_exec_ext in '' $ac_executable_extensions; do
5513  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5514    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5515    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516    break 2
5517  fi
5518done
5519  done
5520IFS=$as_save_IFS
5521
5522fi
5523fi
5524STRIP=$ac_cv_prog_STRIP
5525if test -n "$STRIP"; then
5526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5527$as_echo "$STRIP" >&6; }
5528else
5529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530$as_echo "no" >&6; }
5531fi
5532
5533
5534fi
5535if test -z "$ac_cv_prog_STRIP"; then
5536  ac_ct_STRIP=$STRIP
5537  # Extract the first word of "strip", so it can be a program name with args.
5538set dummy strip; ac_word=$2
5539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540$as_echo_n "checking for $ac_word... " >&6; }
5541if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5542  $as_echo_n "(cached) " >&6
5543else
5544  if test -n "$ac_ct_STRIP"; then
5545  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5546else
5547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548for as_dir in $PATH
5549do
5550  IFS=$as_save_IFS
5551  test -z "$as_dir" && as_dir=.
5552    for ac_exec_ext in '' $ac_executable_extensions; do
5553  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554    ac_cv_prog_ac_ct_STRIP="strip"
5555    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556    break 2
5557  fi
5558done
5559  done
5560IFS=$as_save_IFS
5561
5562fi
5563fi
5564ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5565if test -n "$ac_ct_STRIP"; then
5566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5567$as_echo "$ac_ct_STRIP" >&6; }
5568else
5569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570$as_echo "no" >&6; }
5571fi
5572
5573  if test "x$ac_ct_STRIP" = x; then
5574    STRIP=":"
5575  else
5576    case $cross_compiling:$ac_tool_warned in
5577yes:)
5578{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5579$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5580ac_tool_warned=yes ;;
5581esac
5582    STRIP=$ac_ct_STRIP
5583  fi
5584else
5585  STRIP="$ac_cv_prog_STRIP"
5586fi
5587
5588test -z "$STRIP" && STRIP=:
5589
5590
5591
5592
5593
5594
5595if test -n "$ac_tool_prefix"; then
5596  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5597set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599$as_echo_n "checking for $ac_word... " >&6; }
5600if ${ac_cv_prog_RANLIB+:} false; then :
5601  $as_echo_n "(cached) " >&6
5602else
5603  if test -n "$RANLIB"; then
5604  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5605else
5606as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607for as_dir in $PATH
5608do
5609  IFS=$as_save_IFS
5610  test -z "$as_dir" && as_dir=.
5611    for ac_exec_ext in '' $ac_executable_extensions; do
5612  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5614    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5615    break 2
5616  fi
5617done
5618  done
5619IFS=$as_save_IFS
5620
5621fi
5622fi
5623RANLIB=$ac_cv_prog_RANLIB
5624if test -n "$RANLIB"; then
5625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5626$as_echo "$RANLIB" >&6; }
5627else
5628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629$as_echo "no" >&6; }
5630fi
5631
5632
5633fi
5634if test -z "$ac_cv_prog_RANLIB"; then
5635  ac_ct_RANLIB=$RANLIB
5636  # Extract the first word of "ranlib", so it can be a program name with args.
5637set dummy ranlib; ac_word=$2
5638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639$as_echo_n "checking for $ac_word... " >&6; }
5640if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5641  $as_echo_n "(cached) " >&6
5642else
5643  if test -n "$ac_ct_RANLIB"; then
5644  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5645else
5646as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5647for as_dir in $PATH
5648do
5649  IFS=$as_save_IFS
5650  test -z "$as_dir" && as_dir=.
5651    for ac_exec_ext in '' $ac_executable_extensions; do
5652  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5653    ac_cv_prog_ac_ct_RANLIB="ranlib"
5654    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5655    break 2
5656  fi
5657done
5658  done
5659IFS=$as_save_IFS
5660
5661fi
5662fi
5663ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5664if test -n "$ac_ct_RANLIB"; then
5665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5666$as_echo "$ac_ct_RANLIB" >&6; }
5667else
5668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669$as_echo "no" >&6; }
5670fi
5671
5672  if test "x$ac_ct_RANLIB" = x; then
5673    RANLIB=":"
5674  else
5675    case $cross_compiling:$ac_tool_warned in
5676yes:)
5677{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5678$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5679ac_tool_warned=yes ;;
5680esac
5681    RANLIB=$ac_ct_RANLIB
5682  fi
5683else
5684  RANLIB="$ac_cv_prog_RANLIB"
5685fi
5686
5687test -z "$RANLIB" && RANLIB=:
5688
5689
5690
5691
5692
5693
5694# Determine commands to create old-style static archives.
5695old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5696old_postinstall_cmds='chmod 644 $oldlib'
5697old_postuninstall_cmds=
5698
5699if test -n "$RANLIB"; then
5700  case $host_os in
5701  openbsd*)
5702    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5703    ;;
5704  *)
5705    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5706    ;;
5707  esac
5708  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5709fi
5710
5711case $host_os in
5712  darwin*)
5713    lock_old_archive_extraction=yes ;;
5714  *)
5715    lock_old_archive_extraction=no ;;
5716esac
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756# If no C compiler was specified, use CC.
5757LTCC=${LTCC-"$CC"}
5758
5759# If no C compiler flags were specified, use CFLAGS.
5760LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5761
5762# Allow CC to be a program name with arguments.
5763compiler=$CC
5764
5765
5766# Check for command to grab the raw symbol name followed by C symbol from nm.
5767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5768$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5769if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5770  $as_echo_n "(cached) " >&6
5771else
5772
5773# These are sane defaults that work on at least a few old systems.
5774# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5775
5776# Character class describing NM global symbol codes.
5777symcode='[BCDEGRST]'
5778
5779# Regexp to match symbols that can be accessed directly from C.
5780sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5781
5782# Define system-specific variables.
5783case $host_os in
5784aix*)
5785  symcode='[BCDT]'
5786  ;;
5787cygwin* | mingw* | pw32* | cegcc*)
5788  symcode='[ABCDGISTW]'
5789  ;;
5790hpux*)
5791  if test "$host_cpu" = ia64; then
5792    symcode='[ABCDEGRST]'
5793  fi
5794  ;;
5795irix* | nonstopux*)
5796  symcode='[BCDEGRST]'
5797  ;;
5798osf*)
5799  symcode='[BCDEGQRST]'
5800  ;;
5801solaris*)
5802  symcode='[BDRT]'
5803  ;;
5804sco3.2v5*)
5805  symcode='[DT]'
5806  ;;
5807sysv4.2uw2*)
5808  symcode='[DT]'
5809  ;;
5810sysv5* | sco5v6* | unixware* | OpenUNIX*)
5811  symcode='[ABDT]'
5812  ;;
5813sysv4)
5814  symcode='[DFNSTU]'
5815  ;;
5816esac
5817
5818# If we're using GNU nm, then use its standard symbol codes.
5819case `$NM -V 2>&1` in
5820*GNU* | *'with BFD'*)
5821  symcode='[ABCDGIRSTW]' ;;
5822esac
5823
5824# Transform an extracted symbol line into a proper C declaration.
5825# Some systems (esp. on ia64) link data and code symbols differently,
5826# so use this general approach.
5827lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5828
5829# Transform an extracted symbol line into symbol name and symbol address
5830lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5831lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
5832
5833# Handle CRLF in mingw tool chain
5834opt_cr=
5835case $build_os in
5836mingw*)
5837  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5838  ;;
5839esac
5840
5841# Try without a prefix underscore, then with it.
5842for ac_symprfx in "" "_"; do
5843
5844  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5845  symxfrm="\\1 $ac_symprfx\\2 \\2"
5846
5847  # Write the raw and C identifiers.
5848  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5849    # Fake it for dumpbin and say T for any non-static function
5850    # and D for any global variable.
5851    # Also find C++ and __fastcall symbols from MSVC++,
5852    # which start with @ or ?.
5853    lt_cv_sys_global_symbol_pipe="$AWK '"\
5854"     {last_section=section; section=\$ 3};"\
5855"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5856"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5857"     \$ 0!~/External *\|/{next};"\
5858"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5859"     {if(hide[section]) next};"\
5860"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5861"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5862"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5863"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5864"     ' prfx=^$ac_symprfx"
5865  else
5866    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5867  fi
5868  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5869
5870  # Check to see that the pipe works correctly.
5871  pipe_works=no
5872
5873  rm -f conftest*
5874  cat > conftest.$ac_ext <<_LT_EOF
5875#ifdef __cplusplus
5876extern "C" {
5877#endif
5878char nm_test_var;
5879void nm_test_func(void);
5880void nm_test_func(void){}
5881#ifdef __cplusplus
5882}
5883#endif
5884int main(){nm_test_var='a';nm_test_func();return(0);}
5885_LT_EOF
5886
5887  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5888  (eval $ac_compile) 2>&5
5889  ac_status=$?
5890  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5891  test $ac_status = 0; }; then
5892    # Now try to grab the symbols.
5893    nlist=conftest.nm
5894    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5895  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5896  ac_status=$?
5897  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5898  test $ac_status = 0; } && test -s "$nlist"; then
5899      # Try sorting and uniquifying the output.
5900      if sort "$nlist" | uniq > "$nlist"T; then
5901	mv -f "$nlist"T "$nlist"
5902      else
5903	rm -f "$nlist"T
5904      fi
5905
5906      # Make sure that we snagged all the symbols we need.
5907      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5908	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5909	  cat <<_LT_EOF > conftest.$ac_ext
5910/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
5911#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5912/* DATA imports from DLLs on WIN32 con't be const, because runtime
5913   relocations are performed -- see ld's documentation on pseudo-relocs.  */
5914# define LT_DLSYM_CONST
5915#elif defined(__osf__)
5916/* This system does not cope well with relocations in const data.  */
5917# define LT_DLSYM_CONST
5918#else
5919# define LT_DLSYM_CONST const
5920#endif
5921
5922#ifdef __cplusplus
5923extern "C" {
5924#endif
5925
5926_LT_EOF
5927	  # Now generate the symbol file.
5928	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5929
5930	  cat <<_LT_EOF >> conftest.$ac_ext
5931
5932/* The mapping between symbol names and symbols.  */
5933LT_DLSYM_CONST struct {
5934  const char *name;
5935  void       *address;
5936}
5937lt__PROGRAM__LTX_preloaded_symbols[] =
5938{
5939  { "@PROGRAM@", (void *) 0 },
5940_LT_EOF
5941	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5942	  cat <<\_LT_EOF >> conftest.$ac_ext
5943  {0, (void *) 0}
5944};
5945
5946/* This works around a problem in FreeBSD linker */
5947#ifdef FREEBSD_WORKAROUND
5948static const void *lt_preloaded_setup() {
5949  return lt__PROGRAM__LTX_preloaded_symbols;
5950}
5951#endif
5952
5953#ifdef __cplusplus
5954}
5955#endif
5956_LT_EOF
5957	  # Now try linking the two files.
5958	  mv conftest.$ac_objext conftstm.$ac_objext
5959	  lt_globsym_save_LIBS=$LIBS
5960	  lt_globsym_save_CFLAGS=$CFLAGS
5961	  LIBS="conftstm.$ac_objext"
5962	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5963	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5964  (eval $ac_link) 2>&5
5965  ac_status=$?
5966  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5967  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5968	    pipe_works=yes
5969	  fi
5970	  LIBS=$lt_globsym_save_LIBS
5971	  CFLAGS=$lt_globsym_save_CFLAGS
5972	else
5973	  echo "cannot find nm_test_func in $nlist" >&5
5974	fi
5975      else
5976	echo "cannot find nm_test_var in $nlist" >&5
5977      fi
5978    else
5979      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5980    fi
5981  else
5982    echo "$progname: failed program was:" >&5
5983    cat conftest.$ac_ext >&5
5984  fi
5985  rm -rf conftest* conftst*
5986
5987  # Do not use the global_symbol_pipe unless it works.
5988  if test "$pipe_works" = yes; then
5989    break
5990  else
5991    lt_cv_sys_global_symbol_pipe=
5992  fi
5993done
5994
5995fi
5996
5997if test -z "$lt_cv_sys_global_symbol_pipe"; then
5998  lt_cv_sys_global_symbol_to_cdecl=
5999fi
6000if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6002$as_echo "failed" >&6; }
6003else
6004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6005$as_echo "ok" >&6; }
6006fi
6007
6008# Response file support.
6009if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6010  nm_file_list_spec='@'
6011elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6012  nm_file_list_spec='@'
6013fi
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6042$as_echo_n "checking for sysroot... " >&6; }
6043
6044# Check whether --with-sysroot was given.
6045if test "${with_sysroot+set}" = set; then :
6046  withval=$with_sysroot;
6047else
6048  with_sysroot=no
6049fi
6050
6051
6052lt_sysroot=
6053case ${with_sysroot} in #(
6054 yes)
6055   if test "$GCC" = yes; then
6056     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6057   fi
6058   ;; #(
6059 /*)
6060   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6061   ;; #(
6062 no|'')
6063   ;; #(
6064 *)
6065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6066$as_echo "${with_sysroot}" >&6; }
6067   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6068   ;;
6069esac
6070
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6072$as_echo "${lt_sysroot:-no}" >&6; }
6073
6074
6075
6076
6077
6078# Check whether --enable-libtool-lock was given.
6079if test "${enable_libtool_lock+set}" = set; then :
6080  enableval=$enable_libtool_lock;
6081fi
6082
6083test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6084
6085# Some flags need to be propagated to the compiler or linker for good
6086# libtool support.
6087case $host in
6088ia64-*-hpux*)
6089  # Find out which ABI we are using.
6090  echo 'int i;' > conftest.$ac_ext
6091  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6092  (eval $ac_compile) 2>&5
6093  ac_status=$?
6094  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6095  test $ac_status = 0; }; then
6096    case `/usr/bin/file conftest.$ac_objext` in
6097      *ELF-32*)
6098	HPUX_IA64_MODE="32"
6099	;;
6100      *ELF-64*)
6101	HPUX_IA64_MODE="64"
6102	;;
6103    esac
6104  fi
6105  rm -rf conftest*
6106  ;;
6107*-*-irix6*)
6108  # Find out which ABI we are using.
6109  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6110  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6111  (eval $ac_compile) 2>&5
6112  ac_status=$?
6113  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6114  test $ac_status = 0; }; then
6115    if test "$lt_cv_prog_gnu_ld" = yes; then
6116      case `/usr/bin/file conftest.$ac_objext` in
6117	*32-bit*)
6118	  LD="${LD-ld} -melf32bsmip"
6119	  ;;
6120	*N32*)
6121	  LD="${LD-ld} -melf32bmipn32"
6122	  ;;
6123	*64-bit*)
6124	  LD="${LD-ld} -melf64bmip"
6125	;;
6126      esac
6127    else
6128      case `/usr/bin/file conftest.$ac_objext` in
6129	*32-bit*)
6130	  LD="${LD-ld} -32"
6131	  ;;
6132	*N32*)
6133	  LD="${LD-ld} -n32"
6134	  ;;
6135	*64-bit*)
6136	  LD="${LD-ld} -64"
6137	  ;;
6138      esac
6139    fi
6140  fi
6141  rm -rf conftest*
6142  ;;
6143
6144x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6145s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6146  # Find out which ABI we are using.
6147  echo 'int i;' > conftest.$ac_ext
6148  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6149  (eval $ac_compile) 2>&5
6150  ac_status=$?
6151  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6152  test $ac_status = 0; }; then
6153    case `/usr/bin/file conftest.o` in
6154      *32-bit*)
6155	case $host in
6156	  x86_64-*kfreebsd*-gnu)
6157	    LD="${LD-ld} -m elf_i386_fbsd"
6158	    ;;
6159	  x86_64-*linux*)
6160	    case `/usr/bin/file conftest.o` in
6161	      *x86-64*)
6162		LD="${LD-ld} -m elf32_x86_64"
6163		;;
6164	      *)
6165		LD="${LD-ld} -m elf_i386"
6166		;;
6167	    esac
6168	    ;;
6169	  ppc64-*linux*|powerpc64-*linux*)
6170	    LD="${LD-ld} -m elf32ppclinux"
6171	    ;;
6172	  s390x-*linux*)
6173	    LD="${LD-ld} -m elf_s390"
6174	    ;;
6175	  sparc64-*linux*)
6176	    LD="${LD-ld} -m elf32_sparc"
6177	    ;;
6178	esac
6179	;;
6180      *64-bit*)
6181	case $host in
6182	  x86_64-*kfreebsd*-gnu)
6183	    LD="${LD-ld} -m elf_x86_64_fbsd"
6184	    ;;
6185	  x86_64-*linux*)
6186	    LD="${LD-ld} -m elf_x86_64"
6187	    ;;
6188	  ppc*-*linux*|powerpc*-*linux*)
6189	    LD="${LD-ld} -m elf64ppc"
6190	    ;;
6191	  s390*-*linux*|s390*-*tpf*)
6192	    LD="${LD-ld} -m elf64_s390"
6193	    ;;
6194	  sparc*-*linux*)
6195	    LD="${LD-ld} -m elf64_sparc"
6196	    ;;
6197	esac
6198	;;
6199    esac
6200  fi
6201  rm -rf conftest*
6202  ;;
6203
6204*-*-sco3.2v5*)
6205  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6206  SAVE_CFLAGS="$CFLAGS"
6207  CFLAGS="$CFLAGS -belf"
6208  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6209$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6210if ${lt_cv_cc_needs_belf+:} false; then :
6211  $as_echo_n "(cached) " >&6
6212else
6213  ac_ext=c
6214ac_cpp='$CPP $CPPFLAGS'
6215ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6216ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6217ac_compiler_gnu=$ac_cv_c_compiler_gnu
6218
6219     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6220/* end confdefs.h.  */
6221
6222int
6223main ()
6224{
6225
6226  ;
6227  return 0;
6228}
6229_ACEOF
6230if ac_fn_c_try_link "$LINENO"; then :
6231  lt_cv_cc_needs_belf=yes
6232else
6233  lt_cv_cc_needs_belf=no
6234fi
6235rm -f core conftest.err conftest.$ac_objext \
6236    conftest$ac_exeext conftest.$ac_ext
6237     ac_ext=c
6238ac_cpp='$CPP $CPPFLAGS'
6239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6241ac_compiler_gnu=$ac_cv_c_compiler_gnu
6242
6243fi
6244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6245$as_echo "$lt_cv_cc_needs_belf" >&6; }
6246  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6247    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6248    CFLAGS="$SAVE_CFLAGS"
6249  fi
6250  ;;
6251*-*solaris*)
6252  # Find out which ABI we are using.
6253  echo 'int i;' > conftest.$ac_ext
6254  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6255  (eval $ac_compile) 2>&5
6256  ac_status=$?
6257  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6258  test $ac_status = 0; }; then
6259    case `/usr/bin/file conftest.o` in
6260    *64-bit*)
6261      case $lt_cv_prog_gnu_ld in
6262      yes*)
6263        case $host in
6264        i?86-*-solaris*)
6265          LD="${LD-ld} -m elf_x86_64"
6266          ;;
6267        sparc*-*-solaris*)
6268          LD="${LD-ld} -m elf64_sparc"
6269          ;;
6270        esac
6271        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6272        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6273          LD="${LD-ld}_sol2"
6274        fi
6275        ;;
6276      *)
6277	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6278	  LD="${LD-ld} -64"
6279	fi
6280	;;
6281      esac
6282      ;;
6283    esac
6284  fi
6285  rm -rf conftest*
6286  ;;
6287esac
6288
6289need_locks="$enable_libtool_lock"
6290
6291if test -n "$ac_tool_prefix"; then
6292  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6293set dummy ${ac_tool_prefix}mt; ac_word=$2
6294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6295$as_echo_n "checking for $ac_word... " >&6; }
6296if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6297  $as_echo_n "(cached) " >&6
6298else
6299  if test -n "$MANIFEST_TOOL"; then
6300  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6301else
6302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6303for as_dir in $PATH
6304do
6305  IFS=$as_save_IFS
6306  test -z "$as_dir" && as_dir=.
6307    for ac_exec_ext in '' $ac_executable_extensions; do
6308  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6309    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6310    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6311    break 2
6312  fi
6313done
6314  done
6315IFS=$as_save_IFS
6316
6317fi
6318fi
6319MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6320if test -n "$MANIFEST_TOOL"; then
6321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6322$as_echo "$MANIFEST_TOOL" >&6; }
6323else
6324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6325$as_echo "no" >&6; }
6326fi
6327
6328
6329fi
6330if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6331  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6332  # Extract the first word of "mt", so it can be a program name with args.
6333set dummy mt; ac_word=$2
6334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6335$as_echo_n "checking for $ac_word... " >&6; }
6336if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6337  $as_echo_n "(cached) " >&6
6338else
6339  if test -n "$ac_ct_MANIFEST_TOOL"; then
6340  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6341else
6342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6343for as_dir in $PATH
6344do
6345  IFS=$as_save_IFS
6346  test -z "$as_dir" && as_dir=.
6347    for ac_exec_ext in '' $ac_executable_extensions; do
6348  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6349    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6350    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6351    break 2
6352  fi
6353done
6354  done
6355IFS=$as_save_IFS
6356
6357fi
6358fi
6359ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6360if test -n "$ac_ct_MANIFEST_TOOL"; then
6361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6362$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6363else
6364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6365$as_echo "no" >&6; }
6366fi
6367
6368  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6369    MANIFEST_TOOL=":"
6370  else
6371    case $cross_compiling:$ac_tool_warned in
6372yes:)
6373{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6374$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6375ac_tool_warned=yes ;;
6376esac
6377    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6378  fi
6379else
6380  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6381fi
6382
6383test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6385$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6386if ${lt_cv_path_mainfest_tool+:} false; then :
6387  $as_echo_n "(cached) " >&6
6388else
6389  lt_cv_path_mainfest_tool=no
6390  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6391  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6392  cat conftest.err >&5
6393  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6394    lt_cv_path_mainfest_tool=yes
6395  fi
6396  rm -f conftest*
6397fi
6398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6399$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6400if test "x$lt_cv_path_mainfest_tool" != xyes; then
6401  MANIFEST_TOOL=:
6402fi
6403
6404
6405
6406
6407
6408
6409  case $host_os in
6410    rhapsody* | darwin*)
6411    if test -n "$ac_tool_prefix"; then
6412  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6413set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415$as_echo_n "checking for $ac_word... " >&6; }
6416if ${ac_cv_prog_DSYMUTIL+:} false; then :
6417  $as_echo_n "(cached) " >&6
6418else
6419  if test -n "$DSYMUTIL"; then
6420  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6421else
6422as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423for as_dir in $PATH
6424do
6425  IFS=$as_save_IFS
6426  test -z "$as_dir" && as_dir=.
6427    for ac_exec_ext in '' $ac_executable_extensions; do
6428  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6429    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6430    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6431    break 2
6432  fi
6433done
6434  done
6435IFS=$as_save_IFS
6436
6437fi
6438fi
6439DSYMUTIL=$ac_cv_prog_DSYMUTIL
6440if test -n "$DSYMUTIL"; then
6441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6442$as_echo "$DSYMUTIL" >&6; }
6443else
6444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445$as_echo "no" >&6; }
6446fi
6447
6448
6449fi
6450if test -z "$ac_cv_prog_DSYMUTIL"; then
6451  ac_ct_DSYMUTIL=$DSYMUTIL
6452  # Extract the first word of "dsymutil", so it can be a program name with args.
6453set dummy dsymutil; ac_word=$2
6454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455$as_echo_n "checking for $ac_word... " >&6; }
6456if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6457  $as_echo_n "(cached) " >&6
6458else
6459  if test -n "$ac_ct_DSYMUTIL"; then
6460  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6461else
6462as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463for as_dir in $PATH
6464do
6465  IFS=$as_save_IFS
6466  test -z "$as_dir" && as_dir=.
6467    for ac_exec_ext in '' $ac_executable_extensions; do
6468  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6469    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6470    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6471    break 2
6472  fi
6473done
6474  done
6475IFS=$as_save_IFS
6476
6477fi
6478fi
6479ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6480if test -n "$ac_ct_DSYMUTIL"; then
6481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6482$as_echo "$ac_ct_DSYMUTIL" >&6; }
6483else
6484  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485$as_echo "no" >&6; }
6486fi
6487
6488  if test "x$ac_ct_DSYMUTIL" = x; then
6489    DSYMUTIL=":"
6490  else
6491    case $cross_compiling:$ac_tool_warned in
6492yes:)
6493{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6494$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6495ac_tool_warned=yes ;;
6496esac
6497    DSYMUTIL=$ac_ct_DSYMUTIL
6498  fi
6499else
6500  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6501fi
6502
6503    if test -n "$ac_tool_prefix"; then
6504  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6505set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6507$as_echo_n "checking for $ac_word... " >&6; }
6508if ${ac_cv_prog_NMEDIT+:} false; then :
6509  $as_echo_n "(cached) " >&6
6510else
6511  if test -n "$NMEDIT"; then
6512  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6513else
6514as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6515for as_dir in $PATH
6516do
6517  IFS=$as_save_IFS
6518  test -z "$as_dir" && as_dir=.
6519    for ac_exec_ext in '' $ac_executable_extensions; do
6520  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6521    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6522    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6523    break 2
6524  fi
6525done
6526  done
6527IFS=$as_save_IFS
6528
6529fi
6530fi
6531NMEDIT=$ac_cv_prog_NMEDIT
6532if test -n "$NMEDIT"; then
6533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6534$as_echo "$NMEDIT" >&6; }
6535else
6536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537$as_echo "no" >&6; }
6538fi
6539
6540
6541fi
6542if test -z "$ac_cv_prog_NMEDIT"; then
6543  ac_ct_NMEDIT=$NMEDIT
6544  # Extract the first word of "nmedit", so it can be a program name with args.
6545set dummy nmedit; ac_word=$2
6546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6547$as_echo_n "checking for $ac_word... " >&6; }
6548if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6549  $as_echo_n "(cached) " >&6
6550else
6551  if test -n "$ac_ct_NMEDIT"; then
6552  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6553else
6554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6555for as_dir in $PATH
6556do
6557  IFS=$as_save_IFS
6558  test -z "$as_dir" && as_dir=.
6559    for ac_exec_ext in '' $ac_executable_extensions; do
6560  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6561    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6562    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6563    break 2
6564  fi
6565done
6566  done
6567IFS=$as_save_IFS
6568
6569fi
6570fi
6571ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6572if test -n "$ac_ct_NMEDIT"; then
6573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6574$as_echo "$ac_ct_NMEDIT" >&6; }
6575else
6576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6577$as_echo "no" >&6; }
6578fi
6579
6580  if test "x$ac_ct_NMEDIT" = x; then
6581    NMEDIT=":"
6582  else
6583    case $cross_compiling:$ac_tool_warned in
6584yes:)
6585{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6586$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6587ac_tool_warned=yes ;;
6588esac
6589    NMEDIT=$ac_ct_NMEDIT
6590  fi
6591else
6592  NMEDIT="$ac_cv_prog_NMEDIT"
6593fi
6594
6595    if test -n "$ac_tool_prefix"; then
6596  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6597set dummy ${ac_tool_prefix}lipo; ac_word=$2
6598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6599$as_echo_n "checking for $ac_word... " >&6; }
6600if ${ac_cv_prog_LIPO+:} false; then :
6601  $as_echo_n "(cached) " >&6
6602else
6603  if test -n "$LIPO"; then
6604  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6605else
6606as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6607for as_dir in $PATH
6608do
6609  IFS=$as_save_IFS
6610  test -z "$as_dir" && as_dir=.
6611    for ac_exec_ext in '' $ac_executable_extensions; do
6612  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6613    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6614    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6615    break 2
6616  fi
6617done
6618  done
6619IFS=$as_save_IFS
6620
6621fi
6622fi
6623LIPO=$ac_cv_prog_LIPO
6624if test -n "$LIPO"; then
6625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6626$as_echo "$LIPO" >&6; }
6627else
6628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6629$as_echo "no" >&6; }
6630fi
6631
6632
6633fi
6634if test -z "$ac_cv_prog_LIPO"; then
6635  ac_ct_LIPO=$LIPO
6636  # Extract the first word of "lipo", so it can be a program name with args.
6637set dummy lipo; ac_word=$2
6638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639$as_echo_n "checking for $ac_word... " >&6; }
6640if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6641  $as_echo_n "(cached) " >&6
6642else
6643  if test -n "$ac_ct_LIPO"; then
6644  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6645else
6646as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647for as_dir in $PATH
6648do
6649  IFS=$as_save_IFS
6650  test -z "$as_dir" && as_dir=.
6651    for ac_exec_ext in '' $ac_executable_extensions; do
6652  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6653    ac_cv_prog_ac_ct_LIPO="lipo"
6654    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6655    break 2
6656  fi
6657done
6658  done
6659IFS=$as_save_IFS
6660
6661fi
6662fi
6663ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6664if test -n "$ac_ct_LIPO"; then
6665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6666$as_echo "$ac_ct_LIPO" >&6; }
6667else
6668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6669$as_echo "no" >&6; }
6670fi
6671
6672  if test "x$ac_ct_LIPO" = x; then
6673    LIPO=":"
6674  else
6675    case $cross_compiling:$ac_tool_warned in
6676yes:)
6677{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6678$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6679ac_tool_warned=yes ;;
6680esac
6681    LIPO=$ac_ct_LIPO
6682  fi
6683else
6684  LIPO="$ac_cv_prog_LIPO"
6685fi
6686
6687    if test -n "$ac_tool_prefix"; then
6688  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6689set dummy ${ac_tool_prefix}otool; ac_word=$2
6690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6691$as_echo_n "checking for $ac_word... " >&6; }
6692if ${ac_cv_prog_OTOOL+:} false; then :
6693  $as_echo_n "(cached) " >&6
6694else
6695  if test -n "$OTOOL"; then
6696  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6697else
6698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6699for as_dir in $PATH
6700do
6701  IFS=$as_save_IFS
6702  test -z "$as_dir" && as_dir=.
6703    for ac_exec_ext in '' $ac_executable_extensions; do
6704  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6705    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6706    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6707    break 2
6708  fi
6709done
6710  done
6711IFS=$as_save_IFS
6712
6713fi
6714fi
6715OTOOL=$ac_cv_prog_OTOOL
6716if test -n "$OTOOL"; then
6717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6718$as_echo "$OTOOL" >&6; }
6719else
6720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6721$as_echo "no" >&6; }
6722fi
6723
6724
6725fi
6726if test -z "$ac_cv_prog_OTOOL"; then
6727  ac_ct_OTOOL=$OTOOL
6728  # Extract the first word of "otool", so it can be a program name with args.
6729set dummy otool; ac_word=$2
6730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6731$as_echo_n "checking for $ac_word... " >&6; }
6732if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6733  $as_echo_n "(cached) " >&6
6734else
6735  if test -n "$ac_ct_OTOOL"; then
6736  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6737else
6738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739for as_dir in $PATH
6740do
6741  IFS=$as_save_IFS
6742  test -z "$as_dir" && as_dir=.
6743    for ac_exec_ext in '' $ac_executable_extensions; do
6744  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6745    ac_cv_prog_ac_ct_OTOOL="otool"
6746    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6747    break 2
6748  fi
6749done
6750  done
6751IFS=$as_save_IFS
6752
6753fi
6754fi
6755ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6756if test -n "$ac_ct_OTOOL"; then
6757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6758$as_echo "$ac_ct_OTOOL" >&6; }
6759else
6760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761$as_echo "no" >&6; }
6762fi
6763
6764  if test "x$ac_ct_OTOOL" = x; then
6765    OTOOL=":"
6766  else
6767    case $cross_compiling:$ac_tool_warned in
6768yes:)
6769{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6770$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6771ac_tool_warned=yes ;;
6772esac
6773    OTOOL=$ac_ct_OTOOL
6774  fi
6775else
6776  OTOOL="$ac_cv_prog_OTOOL"
6777fi
6778
6779    if test -n "$ac_tool_prefix"; then
6780  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6781set dummy ${ac_tool_prefix}otool64; ac_word=$2
6782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6783$as_echo_n "checking for $ac_word... " >&6; }
6784if ${ac_cv_prog_OTOOL64+:} false; then :
6785  $as_echo_n "(cached) " >&6
6786else
6787  if test -n "$OTOOL64"; then
6788  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6789else
6790as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6791for as_dir in $PATH
6792do
6793  IFS=$as_save_IFS
6794  test -z "$as_dir" && as_dir=.
6795    for ac_exec_ext in '' $ac_executable_extensions; do
6796  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6797    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6798    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6799    break 2
6800  fi
6801done
6802  done
6803IFS=$as_save_IFS
6804
6805fi
6806fi
6807OTOOL64=$ac_cv_prog_OTOOL64
6808if test -n "$OTOOL64"; then
6809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6810$as_echo "$OTOOL64" >&6; }
6811else
6812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813$as_echo "no" >&6; }
6814fi
6815
6816
6817fi
6818if test -z "$ac_cv_prog_OTOOL64"; then
6819  ac_ct_OTOOL64=$OTOOL64
6820  # Extract the first word of "otool64", so it can be a program name with args.
6821set dummy otool64; ac_word=$2
6822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6823$as_echo_n "checking for $ac_word... " >&6; }
6824if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6825  $as_echo_n "(cached) " >&6
6826else
6827  if test -n "$ac_ct_OTOOL64"; then
6828  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6829else
6830as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6831for as_dir in $PATH
6832do
6833  IFS=$as_save_IFS
6834  test -z "$as_dir" && as_dir=.
6835    for ac_exec_ext in '' $ac_executable_extensions; do
6836  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6837    ac_cv_prog_ac_ct_OTOOL64="otool64"
6838    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6839    break 2
6840  fi
6841done
6842  done
6843IFS=$as_save_IFS
6844
6845fi
6846fi
6847ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6848if test -n "$ac_ct_OTOOL64"; then
6849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6850$as_echo "$ac_ct_OTOOL64" >&6; }
6851else
6852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6853$as_echo "no" >&6; }
6854fi
6855
6856  if test "x$ac_ct_OTOOL64" = x; then
6857    OTOOL64=":"
6858  else
6859    case $cross_compiling:$ac_tool_warned in
6860yes:)
6861{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6862$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6863ac_tool_warned=yes ;;
6864esac
6865    OTOOL64=$ac_ct_OTOOL64
6866  fi
6867else
6868  OTOOL64="$ac_cv_prog_OTOOL64"
6869fi
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6898$as_echo_n "checking for -single_module linker flag... " >&6; }
6899if ${lt_cv_apple_cc_single_mod+:} false; then :
6900  $as_echo_n "(cached) " >&6
6901else
6902  lt_cv_apple_cc_single_mod=no
6903      if test -z "${LT_MULTI_MODULE}"; then
6904	# By default we will add the -single_module flag. You can override
6905	# by either setting the environment variable LT_MULTI_MODULE
6906	# non-empty at configure time, or by adding -multi_module to the
6907	# link flags.
6908	rm -rf libconftest.dylib*
6909	echo "int foo(void){return 1;}" > conftest.c
6910	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6911-dynamiclib -Wl,-single_module conftest.c" >&5
6912	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6913	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6914        _lt_result=$?
6915	# If there is a non-empty error log, and "single_module"
6916	# appears in it, assume the flag caused a linker warning
6917        if test -s conftest.err && $GREP single_module conftest.err; then
6918	  cat conftest.err >&5
6919	# Otherwise, if the output was created with a 0 exit code from
6920	# the compiler, it worked.
6921	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6922	  lt_cv_apple_cc_single_mod=yes
6923	else
6924	  cat conftest.err >&5
6925	fi
6926	rm -rf libconftest.dylib*
6927	rm -f conftest.*
6928      fi
6929fi
6930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6931$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6932
6933    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6934$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6935if ${lt_cv_ld_exported_symbols_list+:} false; then :
6936  $as_echo_n "(cached) " >&6
6937else
6938  lt_cv_ld_exported_symbols_list=no
6939      save_LDFLAGS=$LDFLAGS
6940      echo "_main" > conftest.sym
6941      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6942      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6943/* end confdefs.h.  */
6944
6945int
6946main ()
6947{
6948
6949  ;
6950  return 0;
6951}
6952_ACEOF
6953if ac_fn_c_try_link "$LINENO"; then :
6954  lt_cv_ld_exported_symbols_list=yes
6955else
6956  lt_cv_ld_exported_symbols_list=no
6957fi
6958rm -f core conftest.err conftest.$ac_objext \
6959    conftest$ac_exeext conftest.$ac_ext
6960	LDFLAGS="$save_LDFLAGS"
6961
6962fi
6963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6964$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6965
6966    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6967$as_echo_n "checking for -force_load linker flag... " >&6; }
6968if ${lt_cv_ld_force_load+:} false; then :
6969  $as_echo_n "(cached) " >&6
6970else
6971  lt_cv_ld_force_load=no
6972      cat > conftest.c << _LT_EOF
6973int forced_loaded() { return 2;}
6974_LT_EOF
6975      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6976      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6977      echo "$AR cru libconftest.a conftest.o" >&5
6978      $AR cru libconftest.a conftest.o 2>&5
6979      echo "$RANLIB libconftest.a" >&5
6980      $RANLIB libconftest.a 2>&5
6981      cat > conftest.c << _LT_EOF
6982int main() { return 0;}
6983_LT_EOF
6984      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6985      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6986      _lt_result=$?
6987      if test -s conftest.err && $GREP force_load conftest.err; then
6988	cat conftest.err >&5
6989      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
6990	lt_cv_ld_force_load=yes
6991      else
6992	cat conftest.err >&5
6993      fi
6994        rm -f conftest.err libconftest.a conftest conftest.c
6995        rm -rf conftest.dSYM
6996
6997fi
6998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6999$as_echo "$lt_cv_ld_force_load" >&6; }
7000    case $host_os in
7001    rhapsody* | darwin1.[012])
7002      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7003    darwin1.*)
7004      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7005    darwin*) # darwin 5.x on
7006      # if running on 10.5 or later, the deployment target defaults
7007      # to the OS version, if on x86, and 10.4, the deployment
7008      # target defaults to 10.4. Don't you love it?
7009      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7010	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7011	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7012	10.[012]*)
7013	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7014	10.*)
7015	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7016      esac
7017    ;;
7018  esac
7019    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7020      _lt_dar_single_mod='$single_module'
7021    fi
7022    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7023      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7024    else
7025      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7026    fi
7027    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7028      _lt_dsymutil='~$DSYMUTIL $lib || :'
7029    else
7030      _lt_dsymutil=
7031    fi
7032    ;;
7033  esac
7034
7035ac_ext=c
7036ac_cpp='$CPP $CPPFLAGS'
7037ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7038ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7039ac_compiler_gnu=$ac_cv_c_compiler_gnu
7040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7041$as_echo_n "checking how to run the C preprocessor... " >&6; }
7042# On Suns, sometimes $CPP names a directory.
7043if test -n "$CPP" && test -d "$CPP"; then
7044  CPP=
7045fi
7046if test -z "$CPP"; then
7047  if ${ac_cv_prog_CPP+:} false; then :
7048  $as_echo_n "(cached) " >&6
7049else
7050      # Double quotes because CPP needs to be expanded
7051    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7052    do
7053      ac_preproc_ok=false
7054for ac_c_preproc_warn_flag in '' yes
7055do
7056  # Use a header file that comes with gcc, so configuring glibc
7057  # with a fresh cross-compiler works.
7058  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7059  # <limits.h> exists even on freestanding compilers.
7060  # On the NeXT, cc -E runs the code through the compiler's parser,
7061  # not just through cpp. "Syntax error" is here to catch this case.
7062  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7063/* end confdefs.h.  */
7064#ifdef __STDC__
7065# include <limits.h>
7066#else
7067# include <assert.h>
7068#endif
7069		     Syntax error
7070_ACEOF
7071if ac_fn_c_try_cpp "$LINENO"; then :
7072
7073else
7074  # Broken: fails on valid input.
7075continue
7076fi
7077rm -f conftest.err conftest.i conftest.$ac_ext
7078
7079  # OK, works on sane cases.  Now check whether nonexistent headers
7080  # can be detected and how.
7081  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7082/* end confdefs.h.  */
7083#include <ac_nonexistent.h>
7084_ACEOF
7085if ac_fn_c_try_cpp "$LINENO"; then :
7086  # Broken: success on invalid input.
7087continue
7088else
7089  # Passes both tests.
7090ac_preproc_ok=:
7091break
7092fi
7093rm -f conftest.err conftest.i conftest.$ac_ext
7094
7095done
7096# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7097rm -f conftest.i conftest.err conftest.$ac_ext
7098if $ac_preproc_ok; then :
7099  break
7100fi
7101
7102    done
7103    ac_cv_prog_CPP=$CPP
7104
7105fi
7106  CPP=$ac_cv_prog_CPP
7107else
7108  ac_cv_prog_CPP=$CPP
7109fi
7110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7111$as_echo "$CPP" >&6; }
7112ac_preproc_ok=false
7113for ac_c_preproc_warn_flag in '' yes
7114do
7115  # Use a header file that comes with gcc, so configuring glibc
7116  # with a fresh cross-compiler works.
7117  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7118  # <limits.h> exists even on freestanding compilers.
7119  # On the NeXT, cc -E runs the code through the compiler's parser,
7120  # not just through cpp. "Syntax error" is here to catch this case.
7121  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122/* end confdefs.h.  */
7123#ifdef __STDC__
7124# include <limits.h>
7125#else
7126# include <assert.h>
7127#endif
7128		     Syntax error
7129_ACEOF
7130if ac_fn_c_try_cpp "$LINENO"; then :
7131
7132else
7133  # Broken: fails on valid input.
7134continue
7135fi
7136rm -f conftest.err conftest.i conftest.$ac_ext
7137
7138  # OK, works on sane cases.  Now check whether nonexistent headers
7139  # can be detected and how.
7140  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7141/* end confdefs.h.  */
7142#include <ac_nonexistent.h>
7143_ACEOF
7144if ac_fn_c_try_cpp "$LINENO"; then :
7145  # Broken: success on invalid input.
7146continue
7147else
7148  # Passes both tests.
7149ac_preproc_ok=:
7150break
7151fi
7152rm -f conftest.err conftest.i conftest.$ac_ext
7153
7154done
7155# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7156rm -f conftest.i conftest.err conftest.$ac_ext
7157if $ac_preproc_ok; then :
7158
7159else
7160  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7161$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7162as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7163See \`config.log' for more details" "$LINENO" 5; }
7164fi
7165
7166ac_ext=c
7167ac_cpp='$CPP $CPPFLAGS'
7168ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7169ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7170ac_compiler_gnu=$ac_cv_c_compiler_gnu
7171
7172
7173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7174$as_echo_n "checking for ANSI C header files... " >&6; }
7175if ${ac_cv_header_stdc+:} false; then :
7176  $as_echo_n "(cached) " >&6
7177else
7178  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7179/* end confdefs.h.  */
7180#include <stdlib.h>
7181#include <stdarg.h>
7182#include <string.h>
7183#include <float.h>
7184
7185int
7186main ()
7187{
7188
7189  ;
7190  return 0;
7191}
7192_ACEOF
7193if ac_fn_c_try_compile "$LINENO"; then :
7194  ac_cv_header_stdc=yes
7195else
7196  ac_cv_header_stdc=no
7197fi
7198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7199
7200if test $ac_cv_header_stdc = yes; then
7201  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7202  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7203/* end confdefs.h.  */
7204#include <string.h>
7205
7206_ACEOF
7207if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7208  $EGREP "memchr" >/dev/null 2>&1; then :
7209
7210else
7211  ac_cv_header_stdc=no
7212fi
7213rm -f conftest*
7214
7215fi
7216
7217if test $ac_cv_header_stdc = yes; then
7218  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7219  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7220/* end confdefs.h.  */
7221#include <stdlib.h>
7222
7223_ACEOF
7224if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7225  $EGREP "free" >/dev/null 2>&1; then :
7226
7227else
7228  ac_cv_header_stdc=no
7229fi
7230rm -f conftest*
7231
7232fi
7233
7234if test $ac_cv_header_stdc = yes; then
7235  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7236  if test "$cross_compiling" = yes; then :
7237  :
7238else
7239  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7240/* end confdefs.h.  */
7241#include <ctype.h>
7242#include <stdlib.h>
7243#if ((' ' & 0x0FF) == 0x020)
7244# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7245# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7246#else
7247# define ISLOWER(c) \
7248		   (('a' <= (c) && (c) <= 'i') \
7249		     || ('j' <= (c) && (c) <= 'r') \
7250		     || ('s' <= (c) && (c) <= 'z'))
7251# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7252#endif
7253
7254#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7255int
7256main ()
7257{
7258  int i;
7259  for (i = 0; i < 256; i++)
7260    if (XOR (islower (i), ISLOWER (i))
7261	|| toupper (i) != TOUPPER (i))
7262      return 2;
7263  return 0;
7264}
7265_ACEOF
7266if ac_fn_c_try_run "$LINENO"; then :
7267
7268else
7269  ac_cv_header_stdc=no
7270fi
7271rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7272  conftest.$ac_objext conftest.beam conftest.$ac_ext
7273fi
7274
7275fi
7276fi
7277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7278$as_echo "$ac_cv_header_stdc" >&6; }
7279if test $ac_cv_header_stdc = yes; then
7280
7281$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7282
7283fi
7284
7285# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7286for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7287		  inttypes.h stdint.h unistd.h
7288do :
7289  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7290ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7291"
7292if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7293  cat >>confdefs.h <<_ACEOF
7294#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7295_ACEOF
7296
7297fi
7298
7299done
7300
7301
7302for ac_header in dlfcn.h
7303do :
7304  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7305"
7306if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7307  cat >>confdefs.h <<_ACEOF
7308#define HAVE_DLFCN_H 1
7309_ACEOF
7310
7311fi
7312
7313done
7314
7315
7316
7317
7318
7319# Set options
7320
7321
7322
7323        enable_dlopen=no
7324
7325
7326  enable_win32_dll=no
7327
7328
7329            # Check whether --enable-shared was given.
7330if test "${enable_shared+set}" = set; then :
7331  enableval=$enable_shared; p=${PACKAGE-default}
7332    case $enableval in
7333    yes) enable_shared=yes ;;
7334    no) enable_shared=no ;;
7335    *)
7336      enable_shared=no
7337      # Look at the argument we got.  We use all the common list separators.
7338      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7339      for pkg in $enableval; do
7340	IFS="$lt_save_ifs"
7341	if test "X$pkg" = "X$p"; then
7342	  enable_shared=yes
7343	fi
7344      done
7345      IFS="$lt_save_ifs"
7346      ;;
7347    esac
7348else
7349  enable_shared=yes
7350fi
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360  # Check whether --enable-static was given.
7361if test "${enable_static+set}" = set; then :
7362  enableval=$enable_static; p=${PACKAGE-default}
7363    case $enableval in
7364    yes) enable_static=yes ;;
7365    no) enable_static=no ;;
7366    *)
7367     enable_static=no
7368      # Look at the argument we got.  We use all the common list separators.
7369      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7370      for pkg in $enableval; do
7371	IFS="$lt_save_ifs"
7372	if test "X$pkg" = "X$p"; then
7373	  enable_static=yes
7374	fi
7375      done
7376      IFS="$lt_save_ifs"
7377      ;;
7378    esac
7379else
7380  enable_static=yes
7381fi
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392# Check whether --with-pic was given.
7393if test "${with_pic+set}" = set; then :
7394  withval=$with_pic; lt_p=${PACKAGE-default}
7395    case $withval in
7396    yes|no) pic_mode=$withval ;;
7397    *)
7398      pic_mode=default
7399      # Look at the argument we got.  We use all the common list separators.
7400      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7401      for lt_pkg in $withval; do
7402	IFS="$lt_save_ifs"
7403	if test "X$lt_pkg" = "X$lt_p"; then
7404	  pic_mode=yes
7405	fi
7406      done
7407      IFS="$lt_save_ifs"
7408      ;;
7409    esac
7410else
7411  pic_mode=default
7412fi
7413
7414
7415test -z "$pic_mode" && pic_mode=default
7416
7417
7418
7419
7420
7421
7422
7423  # Check whether --enable-fast-install was given.
7424if test "${enable_fast_install+set}" = set; then :
7425  enableval=$enable_fast_install; p=${PACKAGE-default}
7426    case $enableval in
7427    yes) enable_fast_install=yes ;;
7428    no) enable_fast_install=no ;;
7429    *)
7430      enable_fast_install=no
7431      # Look at the argument we got.  We use all the common list separators.
7432      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7433      for pkg in $enableval; do
7434	IFS="$lt_save_ifs"
7435	if test "X$pkg" = "X$p"; then
7436	  enable_fast_install=yes
7437	fi
7438      done
7439      IFS="$lt_save_ifs"
7440      ;;
7441    esac
7442else
7443  enable_fast_install=yes
7444fi
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456# This can be used to rebuild libtool when needed
7457LIBTOOL_DEPS="$ltmain"
7458
7459# Always use our own libtool.
7460LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491test -z "$LN_S" && LN_S="ln -s"
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506if test -n "${ZSH_VERSION+set}" ; then
7507   setopt NO_GLOB_SUBST
7508fi
7509
7510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7511$as_echo_n "checking for objdir... " >&6; }
7512if ${lt_cv_objdir+:} false; then :
7513  $as_echo_n "(cached) " >&6
7514else
7515  rm -f .libs 2>/dev/null
7516mkdir .libs 2>/dev/null
7517if test -d .libs; then
7518  lt_cv_objdir=.libs
7519else
7520  # MS-DOS does not allow filenames that begin with a dot.
7521  lt_cv_objdir=_libs
7522fi
7523rmdir .libs 2>/dev/null
7524fi
7525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7526$as_echo "$lt_cv_objdir" >&6; }
7527objdir=$lt_cv_objdir
7528
7529
7530
7531
7532
7533cat >>confdefs.h <<_ACEOF
7534#define LT_OBJDIR "$lt_cv_objdir/"
7535_ACEOF
7536
7537
7538
7539
7540case $host_os in
7541aix3*)
7542  # AIX sometimes has problems with the GCC collect2 program.  For some
7543  # reason, if we set the COLLECT_NAMES environment variable, the problems
7544  # vanish in a puff of smoke.
7545  if test "X${COLLECT_NAMES+set}" != Xset; then
7546    COLLECT_NAMES=
7547    export COLLECT_NAMES
7548  fi
7549  ;;
7550esac
7551
7552# Global variables:
7553ofile=libtool
7554can_build_shared=yes
7555
7556# All known linkers require a `.a' archive for static linking (except MSVC,
7557# which needs '.lib').
7558libext=a
7559
7560with_gnu_ld="$lt_cv_prog_gnu_ld"
7561
7562old_CC="$CC"
7563old_CFLAGS="$CFLAGS"
7564
7565# Set sane defaults for various variables
7566test -z "$CC" && CC=cc
7567test -z "$LTCC" && LTCC=$CC
7568test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7569test -z "$LD" && LD=ld
7570test -z "$ac_objext" && ac_objext=o
7571
7572for cc_temp in $compiler""; do
7573  case $cc_temp in
7574    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7575    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7576    \-*) ;;
7577    *) break;;
7578  esac
7579done
7580cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7581
7582
7583# Only perform the check for file, if the check method requires it
7584test -z "$MAGIC_CMD" && MAGIC_CMD=file
7585case $deplibs_check_method in
7586file_magic*)
7587  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7588    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7589$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7590if ${lt_cv_path_MAGIC_CMD+:} false; then :
7591  $as_echo_n "(cached) " >&6
7592else
7593  case $MAGIC_CMD in
7594[\\/*] |  ?:[\\/]*)
7595  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7596  ;;
7597*)
7598  lt_save_MAGIC_CMD="$MAGIC_CMD"
7599  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7600  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7601  for ac_dir in $ac_dummy; do
7602    IFS="$lt_save_ifs"
7603    test -z "$ac_dir" && ac_dir=.
7604    if test -f $ac_dir/${ac_tool_prefix}file; then
7605      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7606      if test -n "$file_magic_test_file"; then
7607	case $deplibs_check_method in
7608	"file_magic "*)
7609	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7610	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7611	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7612	    $EGREP "$file_magic_regex" > /dev/null; then
7613	    :
7614	  else
7615	    cat <<_LT_EOF 1>&2
7616
7617*** Warning: the command libtool uses to detect shared libraries,
7618*** $file_magic_cmd, produces output that libtool cannot recognize.
7619*** The result is that libtool may fail to recognize shared libraries
7620*** as such.  This will affect the creation of libtool libraries that
7621*** depend on shared libraries, but programs linked with such libtool
7622*** libraries will work regardless of this problem.  Nevertheless, you
7623*** may want to report the problem to your system manager and/or to
7624*** bug-libtool@gnu.org
7625
7626_LT_EOF
7627	  fi ;;
7628	esac
7629      fi
7630      break
7631    fi
7632  done
7633  IFS="$lt_save_ifs"
7634  MAGIC_CMD="$lt_save_MAGIC_CMD"
7635  ;;
7636esac
7637fi
7638
7639MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7640if test -n "$MAGIC_CMD"; then
7641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7642$as_echo "$MAGIC_CMD" >&6; }
7643else
7644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645$as_echo "no" >&6; }
7646fi
7647
7648
7649
7650
7651
7652if test -z "$lt_cv_path_MAGIC_CMD"; then
7653  if test -n "$ac_tool_prefix"; then
7654    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7655$as_echo_n "checking for file... " >&6; }
7656if ${lt_cv_path_MAGIC_CMD+:} false; then :
7657  $as_echo_n "(cached) " >&6
7658else
7659  case $MAGIC_CMD in
7660[\\/*] |  ?:[\\/]*)
7661  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7662  ;;
7663*)
7664  lt_save_MAGIC_CMD="$MAGIC_CMD"
7665  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7666  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7667  for ac_dir in $ac_dummy; do
7668    IFS="$lt_save_ifs"
7669    test -z "$ac_dir" && ac_dir=.
7670    if test -f $ac_dir/file; then
7671      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7672      if test -n "$file_magic_test_file"; then
7673	case $deplibs_check_method in
7674	"file_magic "*)
7675	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7676	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7677	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7678	    $EGREP "$file_magic_regex" > /dev/null; then
7679	    :
7680	  else
7681	    cat <<_LT_EOF 1>&2
7682
7683*** Warning: the command libtool uses to detect shared libraries,
7684*** $file_magic_cmd, produces output that libtool cannot recognize.
7685*** The result is that libtool may fail to recognize shared libraries
7686*** as such.  This will affect the creation of libtool libraries that
7687*** depend on shared libraries, but programs linked with such libtool
7688*** libraries will work regardless of this problem.  Nevertheless, you
7689*** may want to report the problem to your system manager and/or to
7690*** bug-libtool@gnu.org
7691
7692_LT_EOF
7693	  fi ;;
7694	esac
7695      fi
7696      break
7697    fi
7698  done
7699  IFS="$lt_save_ifs"
7700  MAGIC_CMD="$lt_save_MAGIC_CMD"
7701  ;;
7702esac
7703fi
7704
7705MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7706if test -n "$MAGIC_CMD"; then
7707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7708$as_echo "$MAGIC_CMD" >&6; }
7709else
7710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7711$as_echo "no" >&6; }
7712fi
7713
7714
7715  else
7716    MAGIC_CMD=:
7717  fi
7718fi
7719
7720  fi
7721  ;;
7722esac
7723
7724# Use C for the default configuration in the libtool script
7725
7726lt_save_CC="$CC"
7727ac_ext=c
7728ac_cpp='$CPP $CPPFLAGS'
7729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7731ac_compiler_gnu=$ac_cv_c_compiler_gnu
7732
7733
7734# Source file extension for C test sources.
7735ac_ext=c
7736
7737# Object file extension for compiled C test sources.
7738objext=o
7739objext=$objext
7740
7741# Code to be used in simple compile tests
7742lt_simple_compile_test_code="int some_variable = 0;"
7743
7744# Code to be used in simple link tests
7745lt_simple_link_test_code='int main(){return(0);}'
7746
7747
7748
7749
7750
7751
7752
7753# If no C compiler was specified, use CC.
7754LTCC=${LTCC-"$CC"}
7755
7756# If no C compiler flags were specified, use CFLAGS.
7757LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7758
7759# Allow CC to be a program name with arguments.
7760compiler=$CC
7761
7762# Save the default compiler, since it gets overwritten when the other
7763# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7764compiler_DEFAULT=$CC
7765
7766# save warnings/boilerplate of simple test code
7767ac_outfile=conftest.$ac_objext
7768echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7769eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7770_lt_compiler_boilerplate=`cat conftest.err`
7771$RM conftest*
7772
7773ac_outfile=conftest.$ac_objext
7774echo "$lt_simple_link_test_code" >conftest.$ac_ext
7775eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7776_lt_linker_boilerplate=`cat conftest.err`
7777$RM -r conftest*
7778
7779
7780## CAVEAT EMPTOR:
7781## There is no encapsulation within the following macros, do not change
7782## the running order or otherwise move them around unless you know exactly
7783## what you are doing...
7784if test -n "$compiler"; then
7785
7786lt_prog_compiler_no_builtin_flag=
7787
7788if test "$GCC" = yes; then
7789  case $cc_basename in
7790  nvcc*)
7791    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7792  *)
7793    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7794  esac
7795
7796  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7797$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7798if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7799  $as_echo_n "(cached) " >&6
7800else
7801  lt_cv_prog_compiler_rtti_exceptions=no
7802   ac_outfile=conftest.$ac_objext
7803   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7804   lt_compiler_flag="-fno-rtti -fno-exceptions"
7805   # Insert the option either (1) after the last *FLAGS variable, or
7806   # (2) before a word containing "conftest.", or (3) at the end.
7807   # Note that $ac_compile itself does not contain backslashes and begins
7808   # with a dollar sign (not a hyphen), so the echo should work correctly.
7809   # The option is referenced via a variable to avoid confusing sed.
7810   lt_compile=`echo "$ac_compile" | $SED \
7811   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7812   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7813   -e 's:$: $lt_compiler_flag:'`
7814   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7815   (eval "$lt_compile" 2>conftest.err)
7816   ac_status=$?
7817   cat conftest.err >&5
7818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819   if (exit $ac_status) && test -s "$ac_outfile"; then
7820     # The compiler can only warn and ignore the option if not recognized
7821     # So say no if there are warnings other than the usual output.
7822     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7823     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7824     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7825       lt_cv_prog_compiler_rtti_exceptions=yes
7826     fi
7827   fi
7828   $RM conftest*
7829
7830fi
7831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7832$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7833
7834if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7835    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7836else
7837    :
7838fi
7839
7840fi
7841
7842
7843
7844
7845
7846
7847  lt_prog_compiler_wl=
7848lt_prog_compiler_pic=
7849lt_prog_compiler_static=
7850
7851
7852  if test "$GCC" = yes; then
7853    lt_prog_compiler_wl='-Wl,'
7854    lt_prog_compiler_static='-static'
7855
7856    case $host_os in
7857      aix*)
7858      # All AIX code is PIC.
7859      if test "$host_cpu" = ia64; then
7860	# AIX 5 now supports IA64 processor
7861	lt_prog_compiler_static='-Bstatic'
7862      fi
7863      ;;
7864
7865    amigaos*)
7866      case $host_cpu in
7867      powerpc)
7868            # see comment about AmigaOS4 .so support
7869            lt_prog_compiler_pic='-fPIC'
7870        ;;
7871      m68k)
7872            # FIXME: we need at least 68020 code to build shared libraries, but
7873            # adding the `-m68020' flag to GCC prevents building anything better,
7874            # like `-m68040'.
7875            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7876        ;;
7877      esac
7878      ;;
7879
7880    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7881      # PIC is the default for these OSes.
7882      ;;
7883
7884    mingw* | cygwin* | pw32* | os2* | cegcc*)
7885      # This hack is so that the source file can tell whether it is being
7886      # built for inclusion in a dll (and should export symbols for example).
7887      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7888      # (--disable-auto-import) libraries
7889      lt_prog_compiler_pic='-DDLL_EXPORT'
7890      ;;
7891
7892    darwin* | rhapsody*)
7893      # PIC is the default on this platform
7894      # Common symbols not allowed in MH_DYLIB files
7895      lt_prog_compiler_pic='-fno-common'
7896      ;;
7897
7898    haiku*)
7899      # PIC is the default for Haiku.
7900      # The "-static" flag exists, but is broken.
7901      lt_prog_compiler_static=
7902      ;;
7903
7904    hpux*)
7905      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7906      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7907      # sets the default TLS model and affects inlining.
7908      case $host_cpu in
7909      hppa*64*)
7910	# +Z the default
7911	;;
7912      *)
7913	lt_prog_compiler_pic='-fPIC'
7914	;;
7915      esac
7916      ;;
7917
7918    interix[3-9]*)
7919      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7920      # Instead, we relocate shared libraries at runtime.
7921      ;;
7922
7923    msdosdjgpp*)
7924      # Just because we use GCC doesn't mean we suddenly get shared libraries
7925      # on systems that don't support them.
7926      lt_prog_compiler_can_build_shared=no
7927      enable_shared=no
7928      ;;
7929
7930    *nto* | *qnx*)
7931      # QNX uses GNU C++, but need to define -shared option too, otherwise
7932      # it will coredump.
7933      lt_prog_compiler_pic='-fPIC -shared'
7934      ;;
7935
7936    sysv4*MP*)
7937      if test -d /usr/nec; then
7938	lt_prog_compiler_pic=-Kconform_pic
7939      fi
7940      ;;
7941
7942    *)
7943      lt_prog_compiler_pic='-fPIC'
7944      ;;
7945    esac
7946
7947    case $cc_basename in
7948    nvcc*) # Cuda Compiler Driver 2.2
7949      lt_prog_compiler_wl='-Xlinker '
7950      if test -n "$lt_prog_compiler_pic"; then
7951        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
7952      fi
7953      ;;
7954    esac
7955  else
7956    # PORTME Check for flag to pass linker flags through the system compiler.
7957    case $host_os in
7958    aix*)
7959      lt_prog_compiler_wl='-Wl,'
7960      if test "$host_cpu" = ia64; then
7961	# AIX 5 now supports IA64 processor
7962	lt_prog_compiler_static='-Bstatic'
7963      else
7964	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7965      fi
7966      ;;
7967
7968    mingw* | cygwin* | pw32* | os2* | cegcc*)
7969      # This hack is so that the source file can tell whether it is being
7970      # built for inclusion in a dll (and should export symbols for example).
7971      lt_prog_compiler_pic='-DDLL_EXPORT'
7972      ;;
7973
7974    hpux9* | hpux10* | hpux11*)
7975      lt_prog_compiler_wl='-Wl,'
7976      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7977      # not for PA HP-UX.
7978      case $host_cpu in
7979      hppa*64*|ia64*)
7980	# +Z the default
7981	;;
7982      *)
7983	lt_prog_compiler_pic='+Z'
7984	;;
7985      esac
7986      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7987      lt_prog_compiler_static='${wl}-a ${wl}archive'
7988      ;;
7989
7990    irix5* | irix6* | nonstopux*)
7991      lt_prog_compiler_wl='-Wl,'
7992      # PIC (with -KPIC) is the default.
7993      lt_prog_compiler_static='-non_shared'
7994      ;;
7995
7996    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7997      case $cc_basename in
7998      # old Intel for x86_64 which still supported -KPIC.
7999      ecc*)
8000	lt_prog_compiler_wl='-Wl,'
8001	lt_prog_compiler_pic='-KPIC'
8002	lt_prog_compiler_static='-static'
8003        ;;
8004      # icc used to be incompatible with GCC.
8005      # ICC 10 doesn't accept -KPIC any more.
8006      icc* | ifort*)
8007	lt_prog_compiler_wl='-Wl,'
8008	lt_prog_compiler_pic='-fPIC'
8009	lt_prog_compiler_static='-static'
8010        ;;
8011      # Lahey Fortran 8.1.
8012      lf95*)
8013	lt_prog_compiler_wl='-Wl,'
8014	lt_prog_compiler_pic='--shared'
8015	lt_prog_compiler_static='--static'
8016	;;
8017      nagfor*)
8018	# NAG Fortran compiler
8019	lt_prog_compiler_wl='-Wl,-Wl,,'
8020	lt_prog_compiler_pic='-PIC'
8021	lt_prog_compiler_static='-Bstatic'
8022	;;
8023      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8024        # Portland Group compilers (*not* the Pentium gcc compiler,
8025	# which looks to be a dead project)
8026	lt_prog_compiler_wl='-Wl,'
8027	lt_prog_compiler_pic='-fpic'
8028	lt_prog_compiler_static='-Bstatic'
8029        ;;
8030      ccc*)
8031        lt_prog_compiler_wl='-Wl,'
8032        # All Alpha code is PIC.
8033        lt_prog_compiler_static='-non_shared'
8034        ;;
8035      xl* | bgxl* | bgf* | mpixl*)
8036	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8037	lt_prog_compiler_wl='-Wl,'
8038	lt_prog_compiler_pic='-qpic'
8039	lt_prog_compiler_static='-qstaticlink'
8040	;;
8041      *)
8042	case `$CC -V 2>&1 | sed 5q` in
8043	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8044	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8045	  lt_prog_compiler_pic='-KPIC'
8046	  lt_prog_compiler_static='-Bstatic'
8047	  lt_prog_compiler_wl=''
8048	  ;;
8049	*Sun\ F* | *Sun*Fortran*)
8050	  lt_prog_compiler_pic='-KPIC'
8051	  lt_prog_compiler_static='-Bstatic'
8052	  lt_prog_compiler_wl='-Qoption ld '
8053	  ;;
8054	*Sun\ C*)
8055	  # Sun C 5.9
8056	  lt_prog_compiler_pic='-KPIC'
8057	  lt_prog_compiler_static='-Bstatic'
8058	  lt_prog_compiler_wl='-Wl,'
8059	  ;;
8060        *Intel*\ [CF]*Compiler*)
8061	  lt_prog_compiler_wl='-Wl,'
8062	  lt_prog_compiler_pic='-fPIC'
8063	  lt_prog_compiler_static='-static'
8064	  ;;
8065	*Portland\ Group*)
8066	  lt_prog_compiler_wl='-Wl,'
8067	  lt_prog_compiler_pic='-fpic'
8068	  lt_prog_compiler_static='-Bstatic'
8069	  ;;
8070	esac
8071	;;
8072      esac
8073      ;;
8074
8075    newsos6)
8076      lt_prog_compiler_pic='-KPIC'
8077      lt_prog_compiler_static='-Bstatic'
8078      ;;
8079
8080    *nto* | *qnx*)
8081      # QNX uses GNU C++, but need to define -shared option too, otherwise
8082      # it will coredump.
8083      lt_prog_compiler_pic='-fPIC -shared'
8084      ;;
8085
8086    osf3* | osf4* | osf5*)
8087      lt_prog_compiler_wl='-Wl,'
8088      # All OSF/1 code is PIC.
8089      lt_prog_compiler_static='-non_shared'
8090      ;;
8091
8092    rdos*)
8093      lt_prog_compiler_static='-non_shared'
8094      ;;
8095
8096    solaris*)
8097      lt_prog_compiler_pic='-KPIC'
8098      lt_prog_compiler_static='-Bstatic'
8099      case $cc_basename in
8100      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8101	lt_prog_compiler_wl='-Qoption ld ';;
8102      *)
8103	lt_prog_compiler_wl='-Wl,';;
8104      esac
8105      ;;
8106
8107    sunos4*)
8108      lt_prog_compiler_wl='-Qoption ld '
8109      lt_prog_compiler_pic='-PIC'
8110      lt_prog_compiler_static='-Bstatic'
8111      ;;
8112
8113    sysv4 | sysv4.2uw2* | sysv4.3*)
8114      lt_prog_compiler_wl='-Wl,'
8115      lt_prog_compiler_pic='-KPIC'
8116      lt_prog_compiler_static='-Bstatic'
8117      ;;
8118
8119    sysv4*MP*)
8120      if test -d /usr/nec ;then
8121	lt_prog_compiler_pic='-Kconform_pic'
8122	lt_prog_compiler_static='-Bstatic'
8123      fi
8124      ;;
8125
8126    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8127      lt_prog_compiler_wl='-Wl,'
8128      lt_prog_compiler_pic='-KPIC'
8129      lt_prog_compiler_static='-Bstatic'
8130      ;;
8131
8132    unicos*)
8133      lt_prog_compiler_wl='-Wl,'
8134      lt_prog_compiler_can_build_shared=no
8135      ;;
8136
8137    uts4*)
8138      lt_prog_compiler_pic='-pic'
8139      lt_prog_compiler_static='-Bstatic'
8140      ;;
8141
8142    *)
8143      lt_prog_compiler_can_build_shared=no
8144      ;;
8145    esac
8146  fi
8147
8148case $host_os in
8149  # For platforms which do not support PIC, -DPIC is meaningless:
8150  *djgpp*)
8151    lt_prog_compiler_pic=
8152    ;;
8153  *)
8154    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8155    ;;
8156esac
8157
8158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8159$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8160if ${lt_cv_prog_compiler_pic+:} false; then :
8161  $as_echo_n "(cached) " >&6
8162else
8163  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8164fi
8165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8166$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8167lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8168
8169#
8170# Check to make sure the PIC flag actually works.
8171#
8172if test -n "$lt_prog_compiler_pic"; then
8173  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8174$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8175if ${lt_cv_prog_compiler_pic_works+:} false; then :
8176  $as_echo_n "(cached) " >&6
8177else
8178  lt_cv_prog_compiler_pic_works=no
8179   ac_outfile=conftest.$ac_objext
8180   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8181   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8182   # Insert the option either (1) after the last *FLAGS variable, or
8183   # (2) before a word containing "conftest.", or (3) at the end.
8184   # Note that $ac_compile itself does not contain backslashes and begins
8185   # with a dollar sign (not a hyphen), so the echo should work correctly.
8186   # The option is referenced via a variable to avoid confusing sed.
8187   lt_compile=`echo "$ac_compile" | $SED \
8188   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8189   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8190   -e 's:$: $lt_compiler_flag:'`
8191   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8192   (eval "$lt_compile" 2>conftest.err)
8193   ac_status=$?
8194   cat conftest.err >&5
8195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196   if (exit $ac_status) && test -s "$ac_outfile"; then
8197     # The compiler can only warn and ignore the option if not recognized
8198     # So say no if there are warnings other than the usual output.
8199     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8200     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8201     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8202       lt_cv_prog_compiler_pic_works=yes
8203     fi
8204   fi
8205   $RM conftest*
8206
8207fi
8208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8209$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8210
8211if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8212    case $lt_prog_compiler_pic in
8213     "" | " "*) ;;
8214     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8215     esac
8216else
8217    lt_prog_compiler_pic=
8218     lt_prog_compiler_can_build_shared=no
8219fi
8220
8221fi
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233#
8234# Check to make sure the static flag actually works.
8235#
8236wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8238$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8239if ${lt_cv_prog_compiler_static_works+:} false; then :
8240  $as_echo_n "(cached) " >&6
8241else
8242  lt_cv_prog_compiler_static_works=no
8243   save_LDFLAGS="$LDFLAGS"
8244   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8245   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8246   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8247     # The linker can only warn and ignore the option if not recognized
8248     # So say no if there are warnings
8249     if test -s conftest.err; then
8250       # Append any errors to the config.log.
8251       cat conftest.err 1>&5
8252       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8253       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8254       if diff conftest.exp conftest.er2 >/dev/null; then
8255         lt_cv_prog_compiler_static_works=yes
8256       fi
8257     else
8258       lt_cv_prog_compiler_static_works=yes
8259     fi
8260   fi
8261   $RM -r conftest*
8262   LDFLAGS="$save_LDFLAGS"
8263
8264fi
8265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8266$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8267
8268if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8269    :
8270else
8271    lt_prog_compiler_static=
8272fi
8273
8274
8275
8276
8277
8278
8279
8280  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8281$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8282if ${lt_cv_prog_compiler_c_o+:} false; then :
8283  $as_echo_n "(cached) " >&6
8284else
8285  lt_cv_prog_compiler_c_o=no
8286   $RM -r conftest 2>/dev/null
8287   mkdir conftest
8288   cd conftest
8289   mkdir out
8290   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8291
8292   lt_compiler_flag="-o out/conftest2.$ac_objext"
8293   # Insert the option either (1) after the last *FLAGS variable, or
8294   # (2) before a word containing "conftest.", or (3) at the end.
8295   # Note that $ac_compile itself does not contain backslashes and begins
8296   # with a dollar sign (not a hyphen), so the echo should work correctly.
8297   lt_compile=`echo "$ac_compile" | $SED \
8298   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8299   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8300   -e 's:$: $lt_compiler_flag:'`
8301   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8302   (eval "$lt_compile" 2>out/conftest.err)
8303   ac_status=$?
8304   cat out/conftest.err >&5
8305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8307   then
8308     # The compiler can only warn and ignore the option if not recognized
8309     # So say no if there are warnings
8310     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8311     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8312     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8313       lt_cv_prog_compiler_c_o=yes
8314     fi
8315   fi
8316   chmod u+w . 2>&5
8317   $RM conftest*
8318   # SGI C++ compiler will create directory out/ii_files/ for
8319   # template instantiation
8320   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8321   $RM out/* && rmdir out
8322   cd ..
8323   $RM -r conftest
8324   $RM conftest*
8325
8326fi
8327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8328$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8329
8330
8331
8332
8333
8334
8335  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8336$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8337if ${lt_cv_prog_compiler_c_o+:} false; then :
8338  $as_echo_n "(cached) " >&6
8339else
8340  lt_cv_prog_compiler_c_o=no
8341   $RM -r conftest 2>/dev/null
8342   mkdir conftest
8343   cd conftest
8344   mkdir out
8345   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8346
8347   lt_compiler_flag="-o out/conftest2.$ac_objext"
8348   # Insert the option either (1) after the last *FLAGS variable, or
8349   # (2) before a word containing "conftest.", or (3) at the end.
8350   # Note that $ac_compile itself does not contain backslashes and begins
8351   # with a dollar sign (not a hyphen), so the echo should work correctly.
8352   lt_compile=`echo "$ac_compile" | $SED \
8353   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8354   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8355   -e 's:$: $lt_compiler_flag:'`
8356   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8357   (eval "$lt_compile" 2>out/conftest.err)
8358   ac_status=$?
8359   cat out/conftest.err >&5
8360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8362   then
8363     # The compiler can only warn and ignore the option if not recognized
8364     # So say no if there are warnings
8365     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8366     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8367     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8368       lt_cv_prog_compiler_c_o=yes
8369     fi
8370   fi
8371   chmod u+w . 2>&5
8372   $RM conftest*
8373   # SGI C++ compiler will create directory out/ii_files/ for
8374   # template instantiation
8375   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8376   $RM out/* && rmdir out
8377   cd ..
8378   $RM -r conftest
8379   $RM conftest*
8380
8381fi
8382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8383$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8384
8385
8386
8387
8388hard_links="nottested"
8389if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8390  # do not overwrite the value of need_locks provided by the user
8391  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8392$as_echo_n "checking if we can lock with hard links... " >&6; }
8393  hard_links=yes
8394  $RM conftest*
8395  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8396  touch conftest.a
8397  ln conftest.a conftest.b 2>&5 || hard_links=no
8398  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8400$as_echo "$hard_links" >&6; }
8401  if test "$hard_links" = no; then
8402    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8403$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8404    need_locks=warn
8405  fi
8406else
8407  need_locks=no
8408fi
8409
8410
8411
8412
8413
8414
8415  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8416$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8417
8418  runpath_var=
8419  allow_undefined_flag=
8420  always_export_symbols=no
8421  archive_cmds=
8422  archive_expsym_cmds=
8423  compiler_needs_object=no
8424  enable_shared_with_static_runtimes=no
8425  export_dynamic_flag_spec=
8426  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8427  hardcode_automatic=no
8428  hardcode_direct=no
8429  hardcode_direct_absolute=no
8430  hardcode_libdir_flag_spec=
8431  hardcode_libdir_separator=
8432  hardcode_minus_L=no
8433  hardcode_shlibpath_var=unsupported
8434  inherit_rpath=no
8435  link_all_deplibs=unknown
8436  module_cmds=
8437  module_expsym_cmds=
8438  old_archive_from_new_cmds=
8439  old_archive_from_expsyms_cmds=
8440  thread_safe_flag_spec=
8441  whole_archive_flag_spec=
8442  # include_expsyms should be a list of space-separated symbols to be *always*
8443  # included in the symbol list
8444  include_expsyms=
8445  # exclude_expsyms can be an extended regexp of symbols to exclude
8446  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8447  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8448  # as well as any symbol that contains `d'.
8449  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8450  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8451  # platforms (ab)use it in PIC code, but their linkers get confused if
8452  # the symbol is explicitly referenced.  Since portable code cannot
8453  # rely on this symbol name, it's probably fine to never include it in
8454  # preloaded symbol tables.
8455  # Exclude shared library initialization/finalization symbols.
8456  extract_expsyms_cmds=
8457
8458  case $host_os in
8459  cygwin* | mingw* | pw32* | cegcc*)
8460    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8461    # When not using gcc, we currently assume that we are using
8462    # Microsoft Visual C++.
8463    if test "$GCC" != yes; then
8464      with_gnu_ld=no
8465    fi
8466    ;;
8467  interix*)
8468    # we just hope/assume this is gcc and not c89 (= MSVC++)
8469    with_gnu_ld=yes
8470    ;;
8471  openbsd*)
8472    with_gnu_ld=no
8473    ;;
8474  linux* | k*bsd*-gnu | gnu*)
8475    link_all_deplibs=no
8476    ;;
8477  esac
8478
8479  ld_shlibs=yes
8480
8481  # On some targets, GNU ld is compatible enough with the native linker
8482  # that we're better off using the native interface for both.
8483  lt_use_gnu_ld_interface=no
8484  if test "$with_gnu_ld" = yes; then
8485    case $host_os in
8486      aix*)
8487	# The AIX port of GNU ld has always aspired to compatibility
8488	# with the native linker.  However, as the warning in the GNU ld
8489	# block says, versions before 2.19.5* couldn't really create working
8490	# shared libraries, regardless of the interface used.
8491	case `$LD -v 2>&1` in
8492	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8493	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8494	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8495	  *)
8496	    lt_use_gnu_ld_interface=yes
8497	    ;;
8498	esac
8499	;;
8500      *)
8501	lt_use_gnu_ld_interface=yes
8502	;;
8503    esac
8504  fi
8505
8506  if test "$lt_use_gnu_ld_interface" = yes; then
8507    # If archive_cmds runs LD, not CC, wlarc should be empty
8508    wlarc='${wl}'
8509
8510    # Set some defaults for GNU ld with shared library support. These
8511    # are reset later if shared libraries are not supported. Putting them
8512    # here allows them to be overridden if necessary.
8513    runpath_var=LD_RUN_PATH
8514    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8515    export_dynamic_flag_spec='${wl}--export-dynamic'
8516    # ancient GNU ld didn't support --whole-archive et. al.
8517    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8518      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8519    else
8520      whole_archive_flag_spec=
8521    fi
8522    supports_anon_versioning=no
8523    case `$LD -v 2>&1` in
8524      *GNU\ gold*) supports_anon_versioning=yes ;;
8525      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8526      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8527      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8528      *\ 2.11.*) ;; # other 2.11 versions
8529      *) supports_anon_versioning=yes ;;
8530    esac
8531
8532    # See if GNU ld supports shared libraries.
8533    case $host_os in
8534    aix[3-9]*)
8535      # On AIX/PPC, the GNU linker is very broken
8536      if test "$host_cpu" != ia64; then
8537	ld_shlibs=no
8538	cat <<_LT_EOF 1>&2
8539
8540*** Warning: the GNU linker, at least up to release 2.19, is reported
8541*** to be unable to reliably create shared libraries on AIX.
8542*** Therefore, libtool is disabling shared libraries support.  If you
8543*** really care for shared libraries, you may want to install binutils
8544*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8545*** You will then need to restart the configuration process.
8546
8547_LT_EOF
8548      fi
8549      ;;
8550
8551    amigaos*)
8552      case $host_cpu in
8553      powerpc)
8554            # see comment about AmigaOS4 .so support
8555            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8556            archive_expsym_cmds=''
8557        ;;
8558      m68k)
8559            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)'
8560            hardcode_libdir_flag_spec='-L$libdir'
8561            hardcode_minus_L=yes
8562        ;;
8563      esac
8564      ;;
8565
8566    beos*)
8567      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8568	allow_undefined_flag=unsupported
8569	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8570	# support --undefined.  This deserves some investigation.  FIXME
8571	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8572      else
8573	ld_shlibs=no
8574      fi
8575      ;;
8576
8577    cygwin* | mingw* | pw32* | cegcc*)
8578      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8579      # as there is no search path for DLLs.
8580      hardcode_libdir_flag_spec='-L$libdir'
8581      export_dynamic_flag_spec='${wl}--export-all-symbols'
8582      allow_undefined_flag=unsupported
8583      always_export_symbols=no
8584      enable_shared_with_static_runtimes=yes
8585      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'
8586      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8587
8588      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8589        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8590	# If the export-symbols file already is a .def file (1st line
8591	# is EXPORTS), use it as is; otherwise, prepend...
8592	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8593	  cp $export_symbols $output_objdir/$soname.def;
8594	else
8595	  echo EXPORTS > $output_objdir/$soname.def;
8596	  cat $export_symbols >> $output_objdir/$soname.def;
8597	fi~
8598	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8599      else
8600	ld_shlibs=no
8601      fi
8602      ;;
8603
8604    haiku*)
8605      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8606      link_all_deplibs=yes
8607      ;;
8608
8609    interix[3-9]*)
8610      hardcode_direct=no
8611      hardcode_shlibpath_var=no
8612      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8613      export_dynamic_flag_spec='${wl}-E'
8614      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8615      # Instead, shared libraries are loaded at an image base (0x10000000 by
8616      # default) and relocated if they conflict, which is a slow very memory
8617      # consuming and fragmenting process.  To avoid this, we pick a random,
8618      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8619      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8620      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8621      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'
8622      ;;
8623
8624    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8625      tmp_diet=no
8626      if test "$host_os" = linux-dietlibc; then
8627	case $cc_basename in
8628	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8629	esac
8630      fi
8631      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8632	 && test "$tmp_diet" = no
8633      then
8634	tmp_addflag=' $pic_flag'
8635	tmp_sharedflag='-shared'
8636	case $cc_basename,$host_cpu in
8637        pgcc*)				# Portland Group C compiler
8638	  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'
8639	  tmp_addflag=' $pic_flag'
8640	  ;;
8641	pgf77* | pgf90* | pgf95* | pgfortran*)
8642					# Portland Group f77 and f90 compilers
8643	  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'
8644	  tmp_addflag=' $pic_flag -Mnomain' ;;
8645	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8646	  tmp_addflag=' -i_dynamic' ;;
8647	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8648	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8649	ifc* | ifort*)			# Intel Fortran compiler
8650	  tmp_addflag=' -nofor_main' ;;
8651	lf95*)				# Lahey Fortran 8.1
8652	  whole_archive_flag_spec=
8653	  tmp_sharedflag='--shared' ;;
8654	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8655	  tmp_sharedflag='-qmkshrobj'
8656	  tmp_addflag= ;;
8657	nvcc*)	# Cuda Compiler Driver 2.2
8658	  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'
8659	  compiler_needs_object=yes
8660	  ;;
8661	esac
8662	case `$CC -V 2>&1 | sed 5q` in
8663	*Sun\ C*)			# Sun C 5.9
8664	  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'
8665	  compiler_needs_object=yes
8666	  tmp_sharedflag='-G' ;;
8667	*Sun\ F*)			# Sun Fortran 8.3
8668	  tmp_sharedflag='-G' ;;
8669	esac
8670	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8671
8672        if test "x$supports_anon_versioning" = xyes; then
8673          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8674	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8675	    echo "local: *; };" >> $output_objdir/$libname.ver~
8676	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8677        fi
8678
8679	case $cc_basename in
8680	xlf* | bgf* | bgxlf* | mpixlf*)
8681	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8682	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8683	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8684	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8685	  if test "x$supports_anon_versioning" = xyes; then
8686	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8687	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8688	      echo "local: *; };" >> $output_objdir/$libname.ver~
8689	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8690	  fi
8691	  ;;
8692	esac
8693      else
8694        ld_shlibs=no
8695      fi
8696      ;;
8697
8698    netbsd* | netbsdelf*-gnu)
8699      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8700	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8701	wlarc=
8702      else
8703	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8704	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8705      fi
8706      ;;
8707
8708    solaris*)
8709      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8710	ld_shlibs=no
8711	cat <<_LT_EOF 1>&2
8712
8713*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8714*** create shared libraries on Solaris systems.  Therefore, libtool
8715*** is disabling shared libraries support.  We urge you to upgrade GNU
8716*** binutils to release 2.9.1 or newer.  Another option is to modify
8717*** your PATH or compiler configuration so that the native linker is
8718*** used, and then restart.
8719
8720_LT_EOF
8721      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8722	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8723	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8724      else
8725	ld_shlibs=no
8726      fi
8727      ;;
8728
8729    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8730      case `$LD -v 2>&1` in
8731        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8732	ld_shlibs=no
8733	cat <<_LT_EOF 1>&2
8734
8735*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8736*** reliably create shared libraries on SCO systems.  Therefore, libtool
8737*** is disabling shared libraries support.  We urge you to upgrade GNU
8738*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8739*** your PATH or compiler configuration so that the native linker is
8740*** used, and then restart.
8741
8742_LT_EOF
8743	;;
8744	*)
8745	  # For security reasons, it is highly recommended that you always
8746	  # use absolute paths for naming shared libraries, and exclude the
8747	  # DT_RUNPATH tag from executables and libraries.  But doing so
8748	  # requires that you compile everything twice, which is a pain.
8749	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8750	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8751	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8752	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8753	  else
8754	    ld_shlibs=no
8755	  fi
8756	;;
8757      esac
8758      ;;
8759
8760    sunos4*)
8761      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8762      wlarc=
8763      hardcode_direct=yes
8764      hardcode_shlibpath_var=no
8765      ;;
8766
8767    *)
8768      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8769	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8770	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8771      else
8772	ld_shlibs=no
8773      fi
8774      ;;
8775    esac
8776
8777    if test "$ld_shlibs" = no; then
8778      runpath_var=
8779      hardcode_libdir_flag_spec=
8780      export_dynamic_flag_spec=
8781      whole_archive_flag_spec=
8782    fi
8783  else
8784    # PORTME fill in a description of your system's linker (not GNU ld)
8785    case $host_os in
8786    aix3*)
8787      allow_undefined_flag=unsupported
8788      always_export_symbols=yes
8789      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'
8790      # Note: this linker hardcodes the directories in LIBPATH if there
8791      # are no directories specified by -L.
8792      hardcode_minus_L=yes
8793      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8794	# Neither direct hardcoding nor static linking is supported with a
8795	# broken collect2.
8796	hardcode_direct=unsupported
8797      fi
8798      ;;
8799
8800    aix[4-9]*)
8801      if test "$host_cpu" = ia64; then
8802	# On IA64, the linker does run time linking by default, so we don't
8803	# have to do anything special.
8804	aix_use_runtimelinking=no
8805	exp_sym_flag='-Bexport'
8806	no_entry_flag=""
8807      else
8808	# If we're using GNU nm, then we don't want the "-C" option.
8809	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8810	# Also, AIX nm treats weak defined symbols like other global
8811	# defined symbols, whereas GNU nm marks them as "W".
8812	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8813	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8814	else
8815	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8816	fi
8817	aix_use_runtimelinking=no
8818
8819	# Test if we are trying to use run time linking or normal
8820	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8821	# need to do runtime linking.
8822	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8823	  for ld_flag in $LDFLAGS; do
8824	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8825	    aix_use_runtimelinking=yes
8826	    break
8827	  fi
8828	  done
8829	  ;;
8830	esac
8831
8832	exp_sym_flag='-bexport'
8833	no_entry_flag='-bnoentry'
8834      fi
8835
8836      # When large executables or shared objects are built, AIX ld can
8837      # have problems creating the table of contents.  If linking a library
8838      # or program results in "error TOC overflow" add -mminimal-toc to
8839      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8840      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8841
8842      archive_cmds=''
8843      hardcode_direct=yes
8844      hardcode_direct_absolute=yes
8845      hardcode_libdir_separator=':'
8846      link_all_deplibs=yes
8847      file_list_spec='${wl}-f,'
8848
8849      if test "$GCC" = yes; then
8850	case $host_os in aix4.[012]|aix4.[012].*)
8851	# We only want to do this on AIX 4.2 and lower, the check
8852	# below for broken collect2 doesn't work under 4.3+
8853	  collect2name=`${CC} -print-prog-name=collect2`
8854	  if test -f "$collect2name" &&
8855	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8856	  then
8857	  # We have reworked collect2
8858	  :
8859	  else
8860	  # We have old collect2
8861	  hardcode_direct=unsupported
8862	  # It fails to find uninstalled libraries when the uninstalled
8863	  # path is not listed in the libpath.  Setting hardcode_minus_L
8864	  # to unsupported forces relinking
8865	  hardcode_minus_L=yes
8866	  hardcode_libdir_flag_spec='-L$libdir'
8867	  hardcode_libdir_separator=
8868	  fi
8869	  ;;
8870	esac
8871	shared_flag='-shared'
8872	if test "$aix_use_runtimelinking" = yes; then
8873	  shared_flag="$shared_flag "'${wl}-G'
8874	fi
8875	link_all_deplibs=no
8876      else
8877	# not using gcc
8878	if test "$host_cpu" = ia64; then
8879	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8880	# chokes on -Wl,-G. The following line is correct:
8881	  shared_flag='-G'
8882	else
8883	  if test "$aix_use_runtimelinking" = yes; then
8884	    shared_flag='${wl}-G'
8885	  else
8886	    shared_flag='${wl}-bM:SRE'
8887	  fi
8888	fi
8889      fi
8890
8891      export_dynamic_flag_spec='${wl}-bexpall'
8892      # It seems that -bexpall does not export symbols beginning with
8893      # underscore (_), so it is better to generate a list of symbols to export.
8894      always_export_symbols=yes
8895      if test "$aix_use_runtimelinking" = yes; then
8896	# Warning - without using the other runtime loading flags (-brtl),
8897	# -berok will link without error, but may produce a broken library.
8898	allow_undefined_flag='-berok'
8899        # Determine the default libpath from the value encoded in an
8900        # empty executable.
8901        if test "${lt_cv_aix_libpath+set}" = set; then
8902  aix_libpath=$lt_cv_aix_libpath
8903else
8904  if ${lt_cv_aix_libpath_+:} false; then :
8905  $as_echo_n "(cached) " >&6
8906else
8907  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8908/* end confdefs.h.  */
8909
8910int
8911main ()
8912{
8913
8914  ;
8915  return 0;
8916}
8917_ACEOF
8918if ac_fn_c_try_link "$LINENO"; then :
8919
8920  lt_aix_libpath_sed='
8921      /Import File Strings/,/^$/ {
8922	  /^0/ {
8923	      s/^0  *\([^ ]*\) *$/\1/
8924	      p
8925	  }
8926      }'
8927  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8928  # Check for a 64-bit object if we didn't find anything.
8929  if test -z "$lt_cv_aix_libpath_"; then
8930    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8931  fi
8932fi
8933rm -f core conftest.err conftest.$ac_objext \
8934    conftest$ac_exeext conftest.$ac_ext
8935  if test -z "$lt_cv_aix_libpath_"; then
8936    lt_cv_aix_libpath_="/usr/lib:/lib"
8937  fi
8938
8939fi
8940
8941  aix_libpath=$lt_cv_aix_libpath_
8942fi
8943
8944        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8945        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8946      else
8947	if test "$host_cpu" = ia64; then
8948	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8949	  allow_undefined_flag="-z nodefs"
8950	  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"
8951	else
8952	 # Determine the default libpath from the value encoded in an
8953	 # empty executable.
8954	 if test "${lt_cv_aix_libpath+set}" = set; then
8955  aix_libpath=$lt_cv_aix_libpath
8956else
8957  if ${lt_cv_aix_libpath_+:} false; then :
8958  $as_echo_n "(cached) " >&6
8959else
8960  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8961/* end confdefs.h.  */
8962
8963int
8964main ()
8965{
8966
8967  ;
8968  return 0;
8969}
8970_ACEOF
8971if ac_fn_c_try_link "$LINENO"; then :
8972
8973  lt_aix_libpath_sed='
8974      /Import File Strings/,/^$/ {
8975	  /^0/ {
8976	      s/^0  *\([^ ]*\) *$/\1/
8977	      p
8978	  }
8979      }'
8980  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8981  # Check for a 64-bit object if we didn't find anything.
8982  if test -z "$lt_cv_aix_libpath_"; then
8983    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8984  fi
8985fi
8986rm -f core conftest.err conftest.$ac_objext \
8987    conftest$ac_exeext conftest.$ac_ext
8988  if test -z "$lt_cv_aix_libpath_"; then
8989    lt_cv_aix_libpath_="/usr/lib:/lib"
8990  fi
8991
8992fi
8993
8994  aix_libpath=$lt_cv_aix_libpath_
8995fi
8996
8997	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8998	  # Warning - without using the other run time loading flags,
8999	  # -berok will link without error, but may produce a broken library.
9000	  no_undefined_flag=' ${wl}-bernotok'
9001	  allow_undefined_flag=' ${wl}-berok'
9002	  if test "$with_gnu_ld" = yes; then
9003	    # We only use this code for GNU lds that support --whole-archive.
9004	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9005	  else
9006	    # Exported symbols can be pulled into shared objects from archives
9007	    whole_archive_flag_spec='$convenience'
9008	  fi
9009	  archive_cmds_need_lc=yes
9010	  # This is similar to how AIX traditionally builds its shared libraries.
9011	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9012	fi
9013      fi
9014      ;;
9015
9016    amigaos*)
9017      case $host_cpu in
9018      powerpc)
9019            # see comment about AmigaOS4 .so support
9020            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9021            archive_expsym_cmds=''
9022        ;;
9023      m68k)
9024            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)'
9025            hardcode_libdir_flag_spec='-L$libdir'
9026            hardcode_minus_L=yes
9027        ;;
9028      esac
9029      ;;
9030
9031    bsdi[45]*)
9032      export_dynamic_flag_spec=-rdynamic
9033      ;;
9034
9035    cygwin* | mingw* | pw32* | cegcc*)
9036      # When not using gcc, we currently assume that we are using
9037      # Microsoft Visual C++.
9038      # hardcode_libdir_flag_spec is actually meaningless, as there is
9039      # no search path for DLLs.
9040      case $cc_basename in
9041      cl*)
9042	# Native MSVC
9043	hardcode_libdir_flag_spec=' '
9044	allow_undefined_flag=unsupported
9045	always_export_symbols=yes
9046	file_list_spec='@'
9047	# Tell ltmain to make .lib files, not .a files.
9048	libext=lib
9049	# Tell ltmain to make .dll files, not .so files.
9050	shrext_cmds=".dll"
9051	# FIXME: Setting linknames here is a bad hack.
9052	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9053	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9054	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9055	  else
9056	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9057	  fi~
9058	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9059	  linknames='
9060	# The linker will not automatically build a static lib if we build a DLL.
9061	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9062	enable_shared_with_static_runtimes=yes
9063	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9064	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9065	# Don't use ranlib
9066	old_postinstall_cmds='chmod 644 $oldlib'
9067	postlink_cmds='lt_outputfile="@OUTPUT@"~
9068	  lt_tool_outputfile="@TOOL_OUTPUT@"~
9069	  case $lt_outputfile in
9070	    *.exe|*.EXE) ;;
9071	    *)
9072	      lt_outputfile="$lt_outputfile.exe"
9073	      lt_tool_outputfile="$lt_tool_outputfile.exe"
9074	      ;;
9075	  esac~
9076	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9077	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9078	    $RM "$lt_outputfile.manifest";
9079	  fi'
9080	;;
9081      *)
9082	# Assume MSVC wrapper
9083	hardcode_libdir_flag_spec=' '
9084	allow_undefined_flag=unsupported
9085	# Tell ltmain to make .lib files, not .a files.
9086	libext=lib
9087	# Tell ltmain to make .dll files, not .so files.
9088	shrext_cmds=".dll"
9089	# FIXME: Setting linknames here is a bad hack.
9090	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9091	# The linker will automatically build a .lib file if we build a DLL.
9092	old_archive_from_new_cmds='true'
9093	# FIXME: Should let the user specify the lib program.
9094	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9095	enable_shared_with_static_runtimes=yes
9096	;;
9097      esac
9098      ;;
9099
9100    darwin* | rhapsody*)
9101
9102
9103  archive_cmds_need_lc=no
9104  hardcode_direct=no
9105  hardcode_automatic=yes
9106  hardcode_shlibpath_var=unsupported
9107  if test "$lt_cv_ld_force_load" = "yes"; then
9108    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\"`'
9109
9110  else
9111    whole_archive_flag_spec=''
9112  fi
9113  link_all_deplibs=yes
9114  allow_undefined_flag="$_lt_dar_allow_undefined"
9115  case $cc_basename in
9116     ifort*) _lt_dar_can_shared=yes ;;
9117     *) _lt_dar_can_shared=$GCC ;;
9118  esac
9119  if test "$_lt_dar_can_shared" = "yes"; then
9120    output_verbose_link_cmd=func_echo_all
9121    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9122    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9123    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}"
9124    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}"
9125
9126  else
9127  ld_shlibs=no
9128  fi
9129
9130      ;;
9131
9132    dgux*)
9133      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9134      hardcode_libdir_flag_spec='-L$libdir'
9135      hardcode_shlibpath_var=no
9136      ;;
9137
9138    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9139    # support.  Future versions do this automatically, but an explicit c++rt0.o
9140    # does not break anything, and helps significantly (at the cost of a little
9141    # extra space).
9142    freebsd2.2*)
9143      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9144      hardcode_libdir_flag_spec='-R$libdir'
9145      hardcode_direct=yes
9146      hardcode_shlibpath_var=no
9147      ;;
9148
9149    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9150    freebsd2.*)
9151      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9152      hardcode_direct=yes
9153      hardcode_minus_L=yes
9154      hardcode_shlibpath_var=no
9155      ;;
9156
9157    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9158    freebsd* | dragonfly*)
9159      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9160      hardcode_libdir_flag_spec='-R$libdir'
9161      hardcode_direct=yes
9162      hardcode_shlibpath_var=no
9163      ;;
9164
9165    hpux9*)
9166      if test "$GCC" = yes; then
9167	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9168      else
9169	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9170      fi
9171      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9172      hardcode_libdir_separator=:
9173      hardcode_direct=yes
9174
9175      # hardcode_minus_L: Not really in the search PATH,
9176      # but as the default location of the library.
9177      hardcode_minus_L=yes
9178      export_dynamic_flag_spec='${wl}-E'
9179      ;;
9180
9181    hpux10*)
9182      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9183	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9184      else
9185	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9186      fi
9187      if test "$with_gnu_ld" = no; then
9188	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9189	hardcode_libdir_separator=:
9190	hardcode_direct=yes
9191	hardcode_direct_absolute=yes
9192	export_dynamic_flag_spec='${wl}-E'
9193	# hardcode_minus_L: Not really in the search PATH,
9194	# but as the default location of the library.
9195	hardcode_minus_L=yes
9196      fi
9197      ;;
9198
9199    hpux11*)
9200      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9201	case $host_cpu in
9202	hppa*64*)
9203	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9204	  ;;
9205	ia64*)
9206	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9207	  ;;
9208	*)
9209	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9210	  ;;
9211	esac
9212      else
9213	case $host_cpu in
9214	hppa*64*)
9215	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9216	  ;;
9217	ia64*)
9218	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9219	  ;;
9220	*)
9221
9222	  # Older versions of the 11.00 compiler do not understand -b yet
9223	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9224	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9225$as_echo_n "checking if $CC understands -b... " >&6; }
9226if ${lt_cv_prog_compiler__b+:} false; then :
9227  $as_echo_n "(cached) " >&6
9228else
9229  lt_cv_prog_compiler__b=no
9230   save_LDFLAGS="$LDFLAGS"
9231   LDFLAGS="$LDFLAGS -b"
9232   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9233   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9234     # The linker can only warn and ignore the option if not recognized
9235     # So say no if there are warnings
9236     if test -s conftest.err; then
9237       # Append any errors to the config.log.
9238       cat conftest.err 1>&5
9239       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9240       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9241       if diff conftest.exp conftest.er2 >/dev/null; then
9242         lt_cv_prog_compiler__b=yes
9243       fi
9244     else
9245       lt_cv_prog_compiler__b=yes
9246     fi
9247   fi
9248   $RM -r conftest*
9249   LDFLAGS="$save_LDFLAGS"
9250
9251fi
9252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9253$as_echo "$lt_cv_prog_compiler__b" >&6; }
9254
9255if test x"$lt_cv_prog_compiler__b" = xyes; then
9256    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9257else
9258    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9259fi
9260
9261	  ;;
9262	esac
9263      fi
9264      if test "$with_gnu_ld" = no; then
9265	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9266	hardcode_libdir_separator=:
9267
9268	case $host_cpu in
9269	hppa*64*|ia64*)
9270	  hardcode_direct=no
9271	  hardcode_shlibpath_var=no
9272	  ;;
9273	*)
9274	  hardcode_direct=yes
9275	  hardcode_direct_absolute=yes
9276	  export_dynamic_flag_spec='${wl}-E'
9277
9278	  # hardcode_minus_L: Not really in the search PATH,
9279	  # but as the default location of the library.
9280	  hardcode_minus_L=yes
9281	  ;;
9282	esac
9283      fi
9284      ;;
9285
9286    irix5* | irix6* | nonstopux*)
9287      if test "$GCC" = yes; then
9288	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'
9289	# Try to use the -exported_symbol ld option, if it does not
9290	# work, assume that -exports_file does not work either and
9291	# implicitly export all symbols.
9292	# This should be the same for all languages, so no per-tag cache variable.
9293	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9294$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9295if ${lt_cv_irix_exported_symbol+:} false; then :
9296  $as_echo_n "(cached) " >&6
9297else
9298  save_LDFLAGS="$LDFLAGS"
9299	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9300	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9301/* end confdefs.h.  */
9302int foo (void) { return 0; }
9303_ACEOF
9304if ac_fn_c_try_link "$LINENO"; then :
9305  lt_cv_irix_exported_symbol=yes
9306else
9307  lt_cv_irix_exported_symbol=no
9308fi
9309rm -f core conftest.err conftest.$ac_objext \
9310    conftest$ac_exeext conftest.$ac_ext
9311           LDFLAGS="$save_LDFLAGS"
9312fi
9313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9314$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9315	if test "$lt_cv_irix_exported_symbol" = yes; then
9316          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'
9317	fi
9318      else
9319	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'
9320	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'
9321      fi
9322      archive_cmds_need_lc='no'
9323      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9324      hardcode_libdir_separator=:
9325      inherit_rpath=yes
9326      link_all_deplibs=yes
9327      ;;
9328
9329    netbsd* | netbsdelf*-gnu)
9330      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9331	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9332      else
9333	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9334      fi
9335      hardcode_libdir_flag_spec='-R$libdir'
9336      hardcode_direct=yes
9337      hardcode_shlibpath_var=no
9338      ;;
9339
9340    newsos6)
9341      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9342      hardcode_direct=yes
9343      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9344      hardcode_libdir_separator=:
9345      hardcode_shlibpath_var=no
9346      ;;
9347
9348    *nto* | *qnx*)
9349      ;;
9350
9351    openbsd*)
9352      if test -f /usr/libexec/ld.so; then
9353	hardcode_direct=yes
9354	hardcode_shlibpath_var=no
9355	hardcode_direct_absolute=yes
9356	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9357	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9358	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9359	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9360	  export_dynamic_flag_spec='${wl}-E'
9361	else
9362	  case $host_os in
9363	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9364	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9365	     hardcode_libdir_flag_spec='-R$libdir'
9366	     ;;
9367	   *)
9368	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9369	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9370	     ;;
9371	  esac
9372	fi
9373      else
9374	ld_shlibs=no
9375      fi
9376      ;;
9377
9378    os2*)
9379      hardcode_libdir_flag_spec='-L$libdir'
9380      hardcode_minus_L=yes
9381      allow_undefined_flag=unsupported
9382      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9383      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9384      ;;
9385
9386    osf3*)
9387      if test "$GCC" = yes; then
9388	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9389	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'
9390      else
9391	allow_undefined_flag=' -expect_unresolved \*'
9392	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'
9393      fi
9394      archive_cmds_need_lc='no'
9395      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9396      hardcode_libdir_separator=:
9397      ;;
9398
9399    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9400      if test "$GCC" = yes; then
9401	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9402	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'
9403	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9404      else
9405	allow_undefined_flag=' -expect_unresolved \*'
9406	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'
9407	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~
9408	$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'
9409
9410	# Both c and cxx compiler support -rpath directly
9411	hardcode_libdir_flag_spec='-rpath $libdir'
9412      fi
9413      archive_cmds_need_lc='no'
9414      hardcode_libdir_separator=:
9415      ;;
9416
9417    solaris*)
9418      no_undefined_flag=' -z defs'
9419      if test "$GCC" = yes; then
9420	wlarc='${wl}'
9421	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9422	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9423	  $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'
9424      else
9425	case `$CC -V 2>&1` in
9426	*"Compilers 5.0"*)
9427	  wlarc=''
9428	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9429	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9430	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9431	  ;;
9432	*)
9433	  wlarc='${wl}'
9434	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9435	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9436	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9437	  ;;
9438	esac
9439      fi
9440      hardcode_libdir_flag_spec='-R$libdir'
9441      hardcode_shlibpath_var=no
9442      case $host_os in
9443      solaris2.[0-5] | solaris2.[0-5].*) ;;
9444      *)
9445	# The compiler driver will combine and reorder linker options,
9446	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9447	# but is careful enough not to reorder.
9448	# Supported since Solaris 2.6 (maybe 2.5.1?)
9449	if test "$GCC" = yes; then
9450	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9451	else
9452	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9453	fi
9454	;;
9455      esac
9456      link_all_deplibs=yes
9457      ;;
9458
9459    sunos4*)
9460      if test "x$host_vendor" = xsequent; then
9461	# Use $CC to link under sequent, because it throws in some extra .o
9462	# files that make .init and .fini sections work.
9463	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9464      else
9465	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9466      fi
9467      hardcode_libdir_flag_spec='-L$libdir'
9468      hardcode_direct=yes
9469      hardcode_minus_L=yes
9470      hardcode_shlibpath_var=no
9471      ;;
9472
9473    sysv4)
9474      case $host_vendor in
9475	sni)
9476	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9477	  hardcode_direct=yes # is this really true???
9478	;;
9479	siemens)
9480	  ## LD is ld it makes a PLAMLIB
9481	  ## CC just makes a GrossModule.
9482	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9483	  reload_cmds='$CC -r -o $output$reload_objs'
9484	  hardcode_direct=no
9485        ;;
9486	motorola)
9487	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9488	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9489	;;
9490      esac
9491      runpath_var='LD_RUN_PATH'
9492      hardcode_shlibpath_var=no
9493      ;;
9494
9495    sysv4.3*)
9496      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9497      hardcode_shlibpath_var=no
9498      export_dynamic_flag_spec='-Bexport'
9499      ;;
9500
9501    sysv4*MP*)
9502      if test -d /usr/nec; then
9503	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9504	hardcode_shlibpath_var=no
9505	runpath_var=LD_RUN_PATH
9506	hardcode_runpath_var=yes
9507	ld_shlibs=yes
9508      fi
9509      ;;
9510
9511    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9512      no_undefined_flag='${wl}-z,text'
9513      archive_cmds_need_lc=no
9514      hardcode_shlibpath_var=no
9515      runpath_var='LD_RUN_PATH'
9516
9517      if test "$GCC" = yes; then
9518	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9519	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9520      else
9521	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9522	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9523      fi
9524      ;;
9525
9526    sysv5* | sco3.2v5* | sco5v6*)
9527      # Note: We can NOT use -z defs as we might desire, because we do not
9528      # link with -lc, and that would cause any symbols used from libc to
9529      # always be unresolved, which means just about no library would
9530      # ever link correctly.  If we're not using GNU ld we use -z text
9531      # though, which does catch some bad symbols but isn't as heavy-handed
9532      # as -z defs.
9533      no_undefined_flag='${wl}-z,text'
9534      allow_undefined_flag='${wl}-z,nodefs'
9535      archive_cmds_need_lc=no
9536      hardcode_shlibpath_var=no
9537      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9538      hardcode_libdir_separator=':'
9539      link_all_deplibs=yes
9540      export_dynamic_flag_spec='${wl}-Bexport'
9541      runpath_var='LD_RUN_PATH'
9542
9543      if test "$GCC" = yes; then
9544	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9545	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9546      else
9547	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9548	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9549      fi
9550      ;;
9551
9552    uts4*)
9553      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9554      hardcode_libdir_flag_spec='-L$libdir'
9555      hardcode_shlibpath_var=no
9556      ;;
9557
9558    *)
9559      ld_shlibs=no
9560      ;;
9561    esac
9562
9563    if test x$host_vendor = xsni; then
9564      case $host in
9565      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9566	export_dynamic_flag_spec='${wl}-Blargedynsym'
9567	;;
9568      esac
9569    fi
9570  fi
9571
9572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9573$as_echo "$ld_shlibs" >&6; }
9574test "$ld_shlibs" = no && can_build_shared=no
9575
9576with_gnu_ld=$with_gnu_ld
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592#
9593# Do we need to explicitly link libc?
9594#
9595case "x$archive_cmds_need_lc" in
9596x|xyes)
9597  # Assume -lc should be added
9598  archive_cmds_need_lc=yes
9599
9600  if test "$enable_shared" = yes && test "$GCC" = yes; then
9601    case $archive_cmds in
9602    *'~'*)
9603      # FIXME: we may have to deal with multi-command sequences.
9604      ;;
9605    '$CC '*)
9606      # Test whether the compiler implicitly links with -lc since on some
9607      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9608      # to ld, don't add -lc before -lgcc.
9609      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9610$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9611if ${lt_cv_archive_cmds_need_lc+:} false; then :
9612  $as_echo_n "(cached) " >&6
9613else
9614  $RM conftest*
9615	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9616
9617	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9618  (eval $ac_compile) 2>&5
9619  ac_status=$?
9620  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9621  test $ac_status = 0; } 2>conftest.err; then
9622	  soname=conftest
9623	  lib=conftest
9624	  libobjs=conftest.$ac_objext
9625	  deplibs=
9626	  wl=$lt_prog_compiler_wl
9627	  pic_flag=$lt_prog_compiler_pic
9628	  compiler_flags=-v
9629	  linker_flags=-v
9630	  verstring=
9631	  output_objdir=.
9632	  libname=conftest
9633	  lt_save_allow_undefined_flag=$allow_undefined_flag
9634	  allow_undefined_flag=
9635	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9636  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9637  ac_status=$?
9638  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9639  test $ac_status = 0; }
9640	  then
9641	    lt_cv_archive_cmds_need_lc=no
9642	  else
9643	    lt_cv_archive_cmds_need_lc=yes
9644	  fi
9645	  allow_undefined_flag=$lt_save_allow_undefined_flag
9646	else
9647	  cat conftest.err 1>&5
9648	fi
9649	$RM conftest*
9650
9651fi
9652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9653$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9654      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9655      ;;
9656    esac
9657  fi
9658  ;;
9659esac
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9813$as_echo_n "checking dynamic linker characteristics... " >&6; }
9814
9815if test "$GCC" = yes; then
9816  case $host_os in
9817    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9818    *) lt_awk_arg="/^libraries:/" ;;
9819  esac
9820  case $host_os in
9821    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9822    *) lt_sed_strip_eq="s,=/,/,g" ;;
9823  esac
9824  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9825  case $lt_search_path_spec in
9826  *\;*)
9827    # if the path contains ";" then we assume it to be the separator
9828    # otherwise default to the standard path separator (i.e. ":") - it is
9829    # assumed that no part of a normal pathname contains ";" but that should
9830    # okay in the real world where ";" in dirpaths is itself problematic.
9831    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9832    ;;
9833  *)
9834    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9835    ;;
9836  esac
9837  # Ok, now we have the path, separated by spaces, we can step through it
9838  # and add multilib dir if necessary.
9839  lt_tmp_lt_search_path_spec=
9840  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9841  for lt_sys_path in $lt_search_path_spec; do
9842    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9843      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9844    else
9845      test -d "$lt_sys_path" && \
9846	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9847    fi
9848  done
9849  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9850BEGIN {RS=" "; FS="/|\n";} {
9851  lt_foo="";
9852  lt_count=0;
9853  for (lt_i = NF; lt_i > 0; lt_i--) {
9854    if ($lt_i != "" && $lt_i != ".") {
9855      if ($lt_i == "..") {
9856        lt_count++;
9857      } else {
9858        if (lt_count == 0) {
9859          lt_foo="/" $lt_i lt_foo;
9860        } else {
9861          lt_count--;
9862        }
9863      }
9864    }
9865  }
9866  if (lt_foo != "") { lt_freq[lt_foo]++; }
9867  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9868}'`
9869  # AWK program above erroneously prepends '/' to C:/dos/paths
9870  # for these hosts.
9871  case $host_os in
9872    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9873      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9874  esac
9875  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9876else
9877  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9878fi
9879library_names_spec=
9880libname_spec='lib$name'
9881soname_spec=
9882shrext_cmds=".so"
9883postinstall_cmds=
9884postuninstall_cmds=
9885finish_cmds=
9886finish_eval=
9887shlibpath_var=
9888shlibpath_overrides_runpath=unknown
9889version_type=none
9890dynamic_linker="$host_os ld.so"
9891sys_lib_dlsearch_path_spec="/lib /usr/lib"
9892need_lib_prefix=unknown
9893hardcode_into_libs=no
9894
9895# when you set need_version to no, make sure it does not cause -set_version
9896# flags to be left without arguments
9897need_version=unknown
9898
9899case $host_os in
9900aix3*)
9901  version_type=linux # correct to gnu/linux during the next big refactor
9902  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9903  shlibpath_var=LIBPATH
9904
9905  # AIX 3 has no versioning support, so we append a major version to the name.
9906  soname_spec='${libname}${release}${shared_ext}$major'
9907  ;;
9908
9909aix[4-9]*)
9910  version_type=linux # correct to gnu/linux during the next big refactor
9911  need_lib_prefix=no
9912  need_version=no
9913  hardcode_into_libs=yes
9914  if test "$host_cpu" = ia64; then
9915    # AIX 5 supports IA64
9916    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9917    shlibpath_var=LD_LIBRARY_PATH
9918  else
9919    # With GCC up to 2.95.x, collect2 would create an import file
9920    # for dependence libraries.  The import file would start with
9921    # the line `#! .'.  This would cause the generated library to
9922    # depend on `.', always an invalid library.  This was fixed in
9923    # development snapshots of GCC prior to 3.0.
9924    case $host_os in
9925      aix4 | aix4.[01] | aix4.[01].*)
9926      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9927	   echo ' yes '
9928	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9929	:
9930      else
9931	can_build_shared=no
9932      fi
9933      ;;
9934    esac
9935    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9936    # soname into executable. Probably we can add versioning support to
9937    # collect2, so additional links can be useful in future.
9938    if test "$aix_use_runtimelinking" = yes; then
9939      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9940      # instead of lib<name>.a to let people know that these are not
9941      # typical AIX shared libraries.
9942      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9943    else
9944      # We preserve .a as extension for shared libraries through AIX4.2
9945      # and later when we are not doing run time linking.
9946      library_names_spec='${libname}${release}.a $libname.a'
9947      soname_spec='${libname}${release}${shared_ext}$major'
9948    fi
9949    shlibpath_var=LIBPATH
9950  fi
9951  ;;
9952
9953amigaos*)
9954  case $host_cpu in
9955  powerpc)
9956    # Since July 2007 AmigaOS4 officially supports .so libraries.
9957    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9958    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9959    ;;
9960  m68k)
9961    library_names_spec='$libname.ixlibrary $libname.a'
9962    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9963    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9964    ;;
9965  esac
9966  ;;
9967
9968beos*)
9969  library_names_spec='${libname}${shared_ext}'
9970  dynamic_linker="$host_os ld.so"
9971  shlibpath_var=LIBRARY_PATH
9972  ;;
9973
9974bsdi[45]*)
9975  version_type=linux # correct to gnu/linux during the next big refactor
9976  need_version=no
9977  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9978  soname_spec='${libname}${release}${shared_ext}$major'
9979  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9980  shlibpath_var=LD_LIBRARY_PATH
9981  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9982  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9983  # the default ld.so.conf also contains /usr/contrib/lib and
9984  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9985  # libtool to hard-code these into programs
9986  ;;
9987
9988cygwin* | mingw* | pw32* | cegcc*)
9989  version_type=windows
9990  shrext_cmds=".dll"
9991  need_version=no
9992  need_lib_prefix=no
9993
9994  case $GCC,$cc_basename in
9995  yes,*)
9996    # gcc
9997    library_names_spec='$libname.dll.a'
9998    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9999    postinstall_cmds='base_file=`basename \${file}`~
10000      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10001      dldir=$destdir/`dirname \$dlpath`~
10002      test -d \$dldir || mkdir -p \$dldir~
10003      $install_prog $dir/$dlname \$dldir/$dlname~
10004      chmod a+x \$dldir/$dlname~
10005      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10006        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10007      fi'
10008    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10009      dlpath=$dir/\$dldll~
10010       $RM \$dlpath'
10011    shlibpath_overrides_runpath=yes
10012
10013    case $host_os in
10014    cygwin*)
10015      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10016      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10017
10018      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10019      ;;
10020    mingw* | cegcc*)
10021      # MinGW DLLs use traditional 'lib' prefix
10022      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10023      ;;
10024    pw32*)
10025      # pw32 DLLs use 'pw' prefix rather than 'lib'
10026      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10027      ;;
10028    esac
10029    dynamic_linker='Win32 ld.exe'
10030    ;;
10031
10032  *,cl*)
10033    # Native MSVC
10034    libname_spec='$name'
10035    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10036    library_names_spec='${libname}.dll.lib'
10037
10038    case $build_os in
10039    mingw*)
10040      sys_lib_search_path_spec=
10041      lt_save_ifs=$IFS
10042      IFS=';'
10043      for lt_path in $LIB
10044      do
10045        IFS=$lt_save_ifs
10046        # Let DOS variable expansion print the short 8.3 style file name.
10047        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10048        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10049      done
10050      IFS=$lt_save_ifs
10051      # Convert to MSYS style.
10052      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10053      ;;
10054    cygwin*)
10055      # Convert to unix form, then to dos form, then back to unix form
10056      # but this time dos style (no spaces!) so that the unix form looks
10057      # like /cygdrive/c/PROGRA~1:/cygdr...
10058      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10059      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10060      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10061      ;;
10062    *)
10063      sys_lib_search_path_spec="$LIB"
10064      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10065        # It is most probably a Windows format PATH.
10066        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10067      else
10068        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10069      fi
10070      # FIXME: find the short name or the path components, as spaces are
10071      # common. (e.g. "Program Files" -> "PROGRA~1")
10072      ;;
10073    esac
10074
10075    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10076    postinstall_cmds='base_file=`basename \${file}`~
10077      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10078      dldir=$destdir/`dirname \$dlpath`~
10079      test -d \$dldir || mkdir -p \$dldir~
10080      $install_prog $dir/$dlname \$dldir/$dlname'
10081    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10082      dlpath=$dir/\$dldll~
10083       $RM \$dlpath'
10084    shlibpath_overrides_runpath=yes
10085    dynamic_linker='Win32 link.exe'
10086    ;;
10087
10088  *)
10089    # Assume MSVC wrapper
10090    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10091    dynamic_linker='Win32 ld.exe'
10092    ;;
10093  esac
10094  # FIXME: first we should search . and the directory the executable is in
10095  shlibpath_var=PATH
10096  ;;
10097
10098darwin* | rhapsody*)
10099  dynamic_linker="$host_os dyld"
10100  version_type=darwin
10101  need_lib_prefix=no
10102  need_version=no
10103  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10104  soname_spec='${libname}${release}${major}$shared_ext'
10105  shlibpath_overrides_runpath=yes
10106  shlibpath_var=DYLD_LIBRARY_PATH
10107  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10108
10109  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10110  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10111  ;;
10112
10113dgux*)
10114  version_type=linux # correct to gnu/linux during the next big refactor
10115  need_lib_prefix=no
10116  need_version=no
10117  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10118  soname_spec='${libname}${release}${shared_ext}$major'
10119  shlibpath_var=LD_LIBRARY_PATH
10120  ;;
10121
10122freebsd* | dragonfly*)
10123  # DragonFly does not have aout.  When/if they implement a new
10124  # versioning mechanism, adjust this.
10125  if test -x /usr/bin/objformat; then
10126    objformat=`/usr/bin/objformat`
10127  else
10128    case $host_os in
10129    freebsd[23].*) objformat=aout ;;
10130    *) objformat=elf ;;
10131    esac
10132  fi
10133  version_type=freebsd-$objformat
10134  case $version_type in
10135    freebsd-elf*)
10136      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10137      need_version=no
10138      need_lib_prefix=no
10139      ;;
10140    freebsd-*)
10141      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10142      need_version=yes
10143      ;;
10144  esac
10145  shlibpath_var=LD_LIBRARY_PATH
10146  case $host_os in
10147  freebsd2.*)
10148    shlibpath_overrides_runpath=yes
10149    ;;
10150  freebsd3.[01]* | freebsdelf3.[01]*)
10151    shlibpath_overrides_runpath=yes
10152    hardcode_into_libs=yes
10153    ;;
10154  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10155  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10156    shlibpath_overrides_runpath=no
10157    hardcode_into_libs=yes
10158    ;;
10159  *) # from 4.6 on, and DragonFly
10160    shlibpath_overrides_runpath=yes
10161    hardcode_into_libs=yes
10162    ;;
10163  esac
10164  ;;
10165
10166haiku*)
10167  version_type=linux # correct to gnu/linux during the next big refactor
10168  need_lib_prefix=no
10169  need_version=no
10170  dynamic_linker="$host_os runtime_loader"
10171  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10172  soname_spec='${libname}${release}${shared_ext}$major'
10173  shlibpath_var=LIBRARY_PATH
10174  shlibpath_overrides_runpath=yes
10175  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10176  hardcode_into_libs=yes
10177  ;;
10178
10179hpux9* | hpux10* | hpux11*)
10180  # Give a soname corresponding to the major version so that dld.sl refuses to
10181  # link against other versions.
10182  version_type=sunos
10183  need_lib_prefix=no
10184  need_version=no
10185  case $host_cpu in
10186  ia64*)
10187    shrext_cmds='.so'
10188    hardcode_into_libs=yes
10189    dynamic_linker="$host_os dld.so"
10190    shlibpath_var=LD_LIBRARY_PATH
10191    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10192    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10193    soname_spec='${libname}${release}${shared_ext}$major'
10194    if test "X$HPUX_IA64_MODE" = X32; then
10195      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10196    else
10197      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10198    fi
10199    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10200    ;;
10201  hppa*64*)
10202    shrext_cmds='.sl'
10203    hardcode_into_libs=yes
10204    dynamic_linker="$host_os dld.sl"
10205    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10206    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10207    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10208    soname_spec='${libname}${release}${shared_ext}$major'
10209    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10210    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10211    ;;
10212  *)
10213    shrext_cmds='.sl'
10214    dynamic_linker="$host_os dld.sl"
10215    shlibpath_var=SHLIB_PATH
10216    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10217    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10218    soname_spec='${libname}${release}${shared_ext}$major'
10219    ;;
10220  esac
10221  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10222  postinstall_cmds='chmod 555 $lib'
10223  # or fails outright, so override atomically:
10224  install_override_mode=555
10225  ;;
10226
10227interix[3-9]*)
10228  version_type=linux # correct to gnu/linux during the next big refactor
10229  need_lib_prefix=no
10230  need_version=no
10231  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10232  soname_spec='${libname}${release}${shared_ext}$major'
10233  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10234  shlibpath_var=LD_LIBRARY_PATH
10235  shlibpath_overrides_runpath=no
10236  hardcode_into_libs=yes
10237  ;;
10238
10239irix5* | irix6* | nonstopux*)
10240  case $host_os in
10241    nonstopux*) version_type=nonstopux ;;
10242    *)
10243	if test "$lt_cv_prog_gnu_ld" = yes; then
10244		version_type=linux # correct to gnu/linux during the next big refactor
10245	else
10246		version_type=irix
10247	fi ;;
10248  esac
10249  need_lib_prefix=no
10250  need_version=no
10251  soname_spec='${libname}${release}${shared_ext}$major'
10252  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10253  case $host_os in
10254  irix5* | nonstopux*)
10255    libsuff= shlibsuff=
10256    ;;
10257  *)
10258    case $LD in # libtool.m4 will add one of these switches to LD
10259    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10260      libsuff= shlibsuff= libmagic=32-bit;;
10261    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10262      libsuff=32 shlibsuff=N32 libmagic=N32;;
10263    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10264      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10265    *) libsuff= shlibsuff= libmagic=never-match;;
10266    esac
10267    ;;
10268  esac
10269  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10270  shlibpath_overrides_runpath=no
10271  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10272  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10273  hardcode_into_libs=yes
10274  ;;
10275
10276# No shared lib support for Linux oldld, aout, or coff.
10277linux*oldld* | linux*aout* | linux*coff*)
10278  dynamic_linker=no
10279  ;;
10280
10281# This must be glibc/ELF.
10282linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10283  version_type=linux # correct to gnu/linux during the next big refactor
10284  need_lib_prefix=no
10285  need_version=no
10286  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10287  soname_spec='${libname}${release}${shared_ext}$major'
10288  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10289  shlibpath_var=LD_LIBRARY_PATH
10290  shlibpath_overrides_runpath=no
10291
10292  # Some binutils ld are patched to set DT_RUNPATH
10293  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10294  $as_echo_n "(cached) " >&6
10295else
10296  lt_cv_shlibpath_overrides_runpath=no
10297    save_LDFLAGS=$LDFLAGS
10298    save_libdir=$libdir
10299    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10300	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10301    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10302/* end confdefs.h.  */
10303
10304int
10305main ()
10306{
10307
10308  ;
10309  return 0;
10310}
10311_ACEOF
10312if ac_fn_c_try_link "$LINENO"; then :
10313  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10314  lt_cv_shlibpath_overrides_runpath=yes
10315fi
10316fi
10317rm -f core conftest.err conftest.$ac_objext \
10318    conftest$ac_exeext conftest.$ac_ext
10319    LDFLAGS=$save_LDFLAGS
10320    libdir=$save_libdir
10321
10322fi
10323
10324  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10325
10326  # This implies no fast_install, which is unacceptable.
10327  # Some rework will be needed to allow for fast_install
10328  # before this can be enabled.
10329  hardcode_into_libs=yes
10330
10331  # Append ld.so.conf contents to the search path
10332  if test -f /etc/ld.so.conf; then
10333    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' ' '`
10334    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10335  fi
10336
10337  # We used to test for /lib/ld.so.1 and disable shared libraries on
10338  # powerpc, because MkLinux only supported shared libraries with the
10339  # GNU dynamic linker.  Since this was broken with cross compilers,
10340  # most powerpc-linux boxes support dynamic linking these days and
10341  # people can always --disable-shared, the test was removed, and we
10342  # assume the GNU/Linux dynamic linker is in use.
10343  dynamic_linker='GNU/Linux ld.so'
10344  ;;
10345
10346netbsdelf*-gnu)
10347  version_type=linux
10348  need_lib_prefix=no
10349  need_version=no
10350  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10351  soname_spec='${libname}${release}${shared_ext}$major'
10352  shlibpath_var=LD_LIBRARY_PATH
10353  shlibpath_overrides_runpath=no
10354  hardcode_into_libs=yes
10355  dynamic_linker='NetBSD ld.elf_so'
10356  ;;
10357
10358netbsd*)
10359  version_type=sunos
10360  need_lib_prefix=no
10361  need_version=no
10362  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10363    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10364    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10365    dynamic_linker='NetBSD (a.out) ld.so'
10366  else
10367    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10368    soname_spec='${libname}${release}${shared_ext}$major'
10369    dynamic_linker='NetBSD ld.elf_so'
10370  fi
10371  shlibpath_var=LD_LIBRARY_PATH
10372  shlibpath_overrides_runpath=yes
10373  hardcode_into_libs=yes
10374  ;;
10375
10376newsos6)
10377  version_type=linux # correct to gnu/linux during the next big refactor
10378  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10379  shlibpath_var=LD_LIBRARY_PATH
10380  shlibpath_overrides_runpath=yes
10381  ;;
10382
10383*nto* | *qnx*)
10384  version_type=qnx
10385  need_lib_prefix=no
10386  need_version=no
10387  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10388  soname_spec='${libname}${release}${shared_ext}$major'
10389  shlibpath_var=LD_LIBRARY_PATH
10390  shlibpath_overrides_runpath=no
10391  hardcode_into_libs=yes
10392  dynamic_linker='ldqnx.so'
10393  ;;
10394
10395openbsd*)
10396  version_type=sunos
10397  sys_lib_dlsearch_path_spec="/usr/lib"
10398  need_lib_prefix=no
10399  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10400  case $host_os in
10401    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10402    *)				need_version=no  ;;
10403  esac
10404  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10405  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10406  shlibpath_var=LD_LIBRARY_PATH
10407  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10408    case $host_os in
10409      openbsd2.[89] | openbsd2.[89].*)
10410	shlibpath_overrides_runpath=no
10411	;;
10412      *)
10413	shlibpath_overrides_runpath=yes
10414	;;
10415      esac
10416  else
10417    shlibpath_overrides_runpath=yes
10418  fi
10419  ;;
10420
10421os2*)
10422  libname_spec='$name'
10423  shrext_cmds=".dll"
10424  need_lib_prefix=no
10425  library_names_spec='$libname${shared_ext} $libname.a'
10426  dynamic_linker='OS/2 ld.exe'
10427  shlibpath_var=LIBPATH
10428  ;;
10429
10430osf3* | osf4* | osf5*)
10431  version_type=osf
10432  need_lib_prefix=no
10433  need_version=no
10434  soname_spec='${libname}${release}${shared_ext}$major'
10435  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10436  shlibpath_var=LD_LIBRARY_PATH
10437  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10438  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10439  ;;
10440
10441rdos*)
10442  dynamic_linker=no
10443  ;;
10444
10445solaris*)
10446  version_type=linux # correct to gnu/linux during the next big refactor
10447  need_lib_prefix=no
10448  need_version=no
10449  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10450  soname_spec='${libname}${release}${shared_ext}$major'
10451  shlibpath_var=LD_LIBRARY_PATH
10452  shlibpath_overrides_runpath=yes
10453  hardcode_into_libs=yes
10454  # ldd complains unless libraries are executable
10455  postinstall_cmds='chmod +x $lib'
10456  ;;
10457
10458sunos4*)
10459  version_type=sunos
10460  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10461  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10462  shlibpath_var=LD_LIBRARY_PATH
10463  shlibpath_overrides_runpath=yes
10464  if test "$with_gnu_ld" = yes; then
10465    need_lib_prefix=no
10466  fi
10467  need_version=yes
10468  ;;
10469
10470sysv4 | sysv4.3*)
10471  version_type=linux # correct to gnu/linux during the next big refactor
10472  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10473  soname_spec='${libname}${release}${shared_ext}$major'
10474  shlibpath_var=LD_LIBRARY_PATH
10475  case $host_vendor in
10476    sni)
10477      shlibpath_overrides_runpath=no
10478      need_lib_prefix=no
10479      runpath_var=LD_RUN_PATH
10480      ;;
10481    siemens)
10482      need_lib_prefix=no
10483      ;;
10484    motorola)
10485      need_lib_prefix=no
10486      need_version=no
10487      shlibpath_overrides_runpath=no
10488      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10489      ;;
10490  esac
10491  ;;
10492
10493sysv4*MP*)
10494  if test -d /usr/nec ;then
10495    version_type=linux # correct to gnu/linux during the next big refactor
10496    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10497    soname_spec='$libname${shared_ext}.$major'
10498    shlibpath_var=LD_LIBRARY_PATH
10499  fi
10500  ;;
10501
10502sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10503  version_type=freebsd-elf
10504  need_lib_prefix=no
10505  need_version=no
10506  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10507  soname_spec='${libname}${release}${shared_ext}$major'
10508  shlibpath_var=LD_LIBRARY_PATH
10509  shlibpath_overrides_runpath=yes
10510  hardcode_into_libs=yes
10511  if test "$with_gnu_ld" = yes; then
10512    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10513  else
10514    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10515    case $host_os in
10516      sco3.2v5*)
10517        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10518	;;
10519    esac
10520  fi
10521  sys_lib_dlsearch_path_spec='/usr/lib'
10522  ;;
10523
10524tpf*)
10525  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10526  version_type=linux # correct to gnu/linux during the next big refactor
10527  need_lib_prefix=no
10528  need_version=no
10529  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530  shlibpath_var=LD_LIBRARY_PATH
10531  shlibpath_overrides_runpath=no
10532  hardcode_into_libs=yes
10533  ;;
10534
10535uts4*)
10536  version_type=linux # correct to gnu/linux during the next big refactor
10537  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538  soname_spec='${libname}${release}${shared_ext}$major'
10539  shlibpath_var=LD_LIBRARY_PATH
10540  ;;
10541
10542*)
10543  dynamic_linker=no
10544  ;;
10545esac
10546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10547$as_echo "$dynamic_linker" >&6; }
10548test "$dynamic_linker" = no && can_build_shared=no
10549
10550variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10551if test "$GCC" = yes; then
10552  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10553fi
10554
10555if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10556  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10557fi
10558if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10559  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10560fi
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10654$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10655hardcode_action=
10656if test -n "$hardcode_libdir_flag_spec" ||
10657   test -n "$runpath_var" ||
10658   test "X$hardcode_automatic" = "Xyes" ; then
10659
10660  # We can hardcode non-existent directories.
10661  if test "$hardcode_direct" != no &&
10662     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10663     # have to relink, otherwise we might link with an installed library
10664     # when we should be linking with a yet-to-be-installed one
10665     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10666     test "$hardcode_minus_L" != no; then
10667    # Linking always hardcodes the temporary library directory.
10668    hardcode_action=relink
10669  else
10670    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10671    hardcode_action=immediate
10672  fi
10673else
10674  # We cannot hardcode anything, or else we can only hardcode existing
10675  # directories.
10676  hardcode_action=unsupported
10677fi
10678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10679$as_echo "$hardcode_action" >&6; }
10680
10681if test "$hardcode_action" = relink ||
10682   test "$inherit_rpath" = yes; then
10683  # Fast installation is not supported
10684  enable_fast_install=no
10685elif test "$shlibpath_overrides_runpath" = yes ||
10686     test "$enable_shared" = no; then
10687  # Fast installation is not necessary
10688  enable_fast_install=needless
10689fi
10690
10691
10692
10693
10694
10695
10696  if test "x$enable_dlopen" != xyes; then
10697  enable_dlopen=unknown
10698  enable_dlopen_self=unknown
10699  enable_dlopen_self_static=unknown
10700else
10701  lt_cv_dlopen=no
10702  lt_cv_dlopen_libs=
10703
10704  case $host_os in
10705  beos*)
10706    lt_cv_dlopen="load_add_on"
10707    lt_cv_dlopen_libs=
10708    lt_cv_dlopen_self=yes
10709    ;;
10710
10711  mingw* | pw32* | cegcc*)
10712    lt_cv_dlopen="LoadLibrary"
10713    lt_cv_dlopen_libs=
10714    ;;
10715
10716  cygwin*)
10717    lt_cv_dlopen="dlopen"
10718    lt_cv_dlopen_libs=
10719    ;;
10720
10721  darwin*)
10722  # if libdl is installed we need to link against it
10723    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10724$as_echo_n "checking for dlopen in -ldl... " >&6; }
10725if ${ac_cv_lib_dl_dlopen+:} false; then :
10726  $as_echo_n "(cached) " >&6
10727else
10728  ac_check_lib_save_LIBS=$LIBS
10729LIBS="-ldl  $LIBS"
10730cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10731/* end confdefs.h.  */
10732
10733/* Override any GCC internal prototype to avoid an error.
10734   Use char because int might match the return type of a GCC
10735   builtin and then its argument prototype would still apply.  */
10736#ifdef __cplusplus
10737extern "C"
10738#endif
10739char dlopen ();
10740int
10741main ()
10742{
10743return dlopen ();
10744  ;
10745  return 0;
10746}
10747_ACEOF
10748if ac_fn_c_try_link "$LINENO"; then :
10749  ac_cv_lib_dl_dlopen=yes
10750else
10751  ac_cv_lib_dl_dlopen=no
10752fi
10753rm -f core conftest.err conftest.$ac_objext \
10754    conftest$ac_exeext conftest.$ac_ext
10755LIBS=$ac_check_lib_save_LIBS
10756fi
10757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10758$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10759if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10760  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10761else
10762
10763    lt_cv_dlopen="dyld"
10764    lt_cv_dlopen_libs=
10765    lt_cv_dlopen_self=yes
10766
10767fi
10768
10769    ;;
10770
10771  *)
10772    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10773if test "x$ac_cv_func_shl_load" = xyes; then :
10774  lt_cv_dlopen="shl_load"
10775else
10776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10777$as_echo_n "checking for shl_load in -ldld... " >&6; }
10778if ${ac_cv_lib_dld_shl_load+:} false; then :
10779  $as_echo_n "(cached) " >&6
10780else
10781  ac_check_lib_save_LIBS=$LIBS
10782LIBS="-ldld  $LIBS"
10783cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10784/* end confdefs.h.  */
10785
10786/* Override any GCC internal prototype to avoid an error.
10787   Use char because int might match the return type of a GCC
10788   builtin and then its argument prototype would still apply.  */
10789#ifdef __cplusplus
10790extern "C"
10791#endif
10792char shl_load ();
10793int
10794main ()
10795{
10796return shl_load ();
10797  ;
10798  return 0;
10799}
10800_ACEOF
10801if ac_fn_c_try_link "$LINENO"; then :
10802  ac_cv_lib_dld_shl_load=yes
10803else
10804  ac_cv_lib_dld_shl_load=no
10805fi
10806rm -f core conftest.err conftest.$ac_objext \
10807    conftest$ac_exeext conftest.$ac_ext
10808LIBS=$ac_check_lib_save_LIBS
10809fi
10810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10811$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10812if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10813  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10814else
10815  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10816if test "x$ac_cv_func_dlopen" = xyes; then :
10817  lt_cv_dlopen="dlopen"
10818else
10819  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10820$as_echo_n "checking for dlopen in -ldl... " >&6; }
10821if ${ac_cv_lib_dl_dlopen+:} false; then :
10822  $as_echo_n "(cached) " >&6
10823else
10824  ac_check_lib_save_LIBS=$LIBS
10825LIBS="-ldl  $LIBS"
10826cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827/* end confdefs.h.  */
10828
10829/* Override any GCC internal prototype to avoid an error.
10830   Use char because int might match the return type of a GCC
10831   builtin and then its argument prototype would still apply.  */
10832#ifdef __cplusplus
10833extern "C"
10834#endif
10835char dlopen ();
10836int
10837main ()
10838{
10839return dlopen ();
10840  ;
10841  return 0;
10842}
10843_ACEOF
10844if ac_fn_c_try_link "$LINENO"; then :
10845  ac_cv_lib_dl_dlopen=yes
10846else
10847  ac_cv_lib_dl_dlopen=no
10848fi
10849rm -f core conftest.err conftest.$ac_objext \
10850    conftest$ac_exeext conftest.$ac_ext
10851LIBS=$ac_check_lib_save_LIBS
10852fi
10853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10854$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10855if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10856  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10857else
10858  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10859$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10860if ${ac_cv_lib_svld_dlopen+:} false; then :
10861  $as_echo_n "(cached) " >&6
10862else
10863  ac_check_lib_save_LIBS=$LIBS
10864LIBS="-lsvld  $LIBS"
10865cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866/* end confdefs.h.  */
10867
10868/* Override any GCC internal prototype to avoid an error.
10869   Use char because int might match the return type of a GCC
10870   builtin and then its argument prototype would still apply.  */
10871#ifdef __cplusplus
10872extern "C"
10873#endif
10874char dlopen ();
10875int
10876main ()
10877{
10878return dlopen ();
10879  ;
10880  return 0;
10881}
10882_ACEOF
10883if ac_fn_c_try_link "$LINENO"; then :
10884  ac_cv_lib_svld_dlopen=yes
10885else
10886  ac_cv_lib_svld_dlopen=no
10887fi
10888rm -f core conftest.err conftest.$ac_objext \
10889    conftest$ac_exeext conftest.$ac_ext
10890LIBS=$ac_check_lib_save_LIBS
10891fi
10892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10893$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10894if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10895  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10896else
10897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10898$as_echo_n "checking for dld_link in -ldld... " >&6; }
10899if ${ac_cv_lib_dld_dld_link+:} false; then :
10900  $as_echo_n "(cached) " >&6
10901else
10902  ac_check_lib_save_LIBS=$LIBS
10903LIBS="-ldld  $LIBS"
10904cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10905/* end confdefs.h.  */
10906
10907/* Override any GCC internal prototype to avoid an error.
10908   Use char because int might match the return type of a GCC
10909   builtin and then its argument prototype would still apply.  */
10910#ifdef __cplusplus
10911extern "C"
10912#endif
10913char dld_link ();
10914int
10915main ()
10916{
10917return dld_link ();
10918  ;
10919  return 0;
10920}
10921_ACEOF
10922if ac_fn_c_try_link "$LINENO"; then :
10923  ac_cv_lib_dld_dld_link=yes
10924else
10925  ac_cv_lib_dld_dld_link=no
10926fi
10927rm -f core conftest.err conftest.$ac_objext \
10928    conftest$ac_exeext conftest.$ac_ext
10929LIBS=$ac_check_lib_save_LIBS
10930fi
10931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10932$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10933if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10934  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10935fi
10936
10937
10938fi
10939
10940
10941fi
10942
10943
10944fi
10945
10946
10947fi
10948
10949
10950fi
10951
10952    ;;
10953  esac
10954
10955  if test "x$lt_cv_dlopen" != xno; then
10956    enable_dlopen=yes
10957  else
10958    enable_dlopen=no
10959  fi
10960
10961  case $lt_cv_dlopen in
10962  dlopen)
10963    save_CPPFLAGS="$CPPFLAGS"
10964    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10965
10966    save_LDFLAGS="$LDFLAGS"
10967    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10968
10969    save_LIBS="$LIBS"
10970    LIBS="$lt_cv_dlopen_libs $LIBS"
10971
10972    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10973$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10974if ${lt_cv_dlopen_self+:} false; then :
10975  $as_echo_n "(cached) " >&6
10976else
10977  	  if test "$cross_compiling" = yes; then :
10978  lt_cv_dlopen_self=cross
10979else
10980  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10981  lt_status=$lt_dlunknown
10982  cat > conftest.$ac_ext <<_LT_EOF
10983#line $LINENO "configure"
10984#include "confdefs.h"
10985
10986#if HAVE_DLFCN_H
10987#include <dlfcn.h>
10988#endif
10989
10990#include <stdio.h>
10991
10992#ifdef RTLD_GLOBAL
10993#  define LT_DLGLOBAL		RTLD_GLOBAL
10994#else
10995#  ifdef DL_GLOBAL
10996#    define LT_DLGLOBAL		DL_GLOBAL
10997#  else
10998#    define LT_DLGLOBAL		0
10999#  endif
11000#endif
11001
11002/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11003   find out it does not work in some platform. */
11004#ifndef LT_DLLAZY_OR_NOW
11005#  ifdef RTLD_LAZY
11006#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11007#  else
11008#    ifdef DL_LAZY
11009#      define LT_DLLAZY_OR_NOW		DL_LAZY
11010#    else
11011#      ifdef RTLD_NOW
11012#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11013#      else
11014#        ifdef DL_NOW
11015#          define LT_DLLAZY_OR_NOW	DL_NOW
11016#        else
11017#          define LT_DLLAZY_OR_NOW	0
11018#        endif
11019#      endif
11020#    endif
11021#  endif
11022#endif
11023
11024/* When -fvisbility=hidden is used, assume the code has been annotated
11025   correspondingly for the symbols needed.  */
11026#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11027int fnord () __attribute__((visibility("default")));
11028#endif
11029
11030int fnord () { return 42; }
11031int main ()
11032{
11033  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11034  int status = $lt_dlunknown;
11035
11036  if (self)
11037    {
11038      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11039      else
11040        {
11041	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11042          else puts (dlerror ());
11043	}
11044      /* dlclose (self); */
11045    }
11046  else
11047    puts (dlerror ());
11048
11049  return status;
11050}
11051_LT_EOF
11052  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11053  (eval $ac_link) 2>&5
11054  ac_status=$?
11055  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11056  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11057    (./conftest; exit; ) >&5 2>/dev/null
11058    lt_status=$?
11059    case x$lt_status in
11060      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11061      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11062      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11063    esac
11064  else :
11065    # compilation failed
11066    lt_cv_dlopen_self=no
11067  fi
11068fi
11069rm -fr conftest*
11070
11071
11072fi
11073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11074$as_echo "$lt_cv_dlopen_self" >&6; }
11075
11076    if test "x$lt_cv_dlopen_self" = xyes; then
11077      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11078      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11079$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11080if ${lt_cv_dlopen_self_static+:} false; then :
11081  $as_echo_n "(cached) " >&6
11082else
11083  	  if test "$cross_compiling" = yes; then :
11084  lt_cv_dlopen_self_static=cross
11085else
11086  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11087  lt_status=$lt_dlunknown
11088  cat > conftest.$ac_ext <<_LT_EOF
11089#line $LINENO "configure"
11090#include "confdefs.h"
11091
11092#if HAVE_DLFCN_H
11093#include <dlfcn.h>
11094#endif
11095
11096#include <stdio.h>
11097
11098#ifdef RTLD_GLOBAL
11099#  define LT_DLGLOBAL		RTLD_GLOBAL
11100#else
11101#  ifdef DL_GLOBAL
11102#    define LT_DLGLOBAL		DL_GLOBAL
11103#  else
11104#    define LT_DLGLOBAL		0
11105#  endif
11106#endif
11107
11108/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11109   find out it does not work in some platform. */
11110#ifndef LT_DLLAZY_OR_NOW
11111#  ifdef RTLD_LAZY
11112#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11113#  else
11114#    ifdef DL_LAZY
11115#      define LT_DLLAZY_OR_NOW		DL_LAZY
11116#    else
11117#      ifdef RTLD_NOW
11118#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11119#      else
11120#        ifdef DL_NOW
11121#          define LT_DLLAZY_OR_NOW	DL_NOW
11122#        else
11123#          define LT_DLLAZY_OR_NOW	0
11124#        endif
11125#      endif
11126#    endif
11127#  endif
11128#endif
11129
11130/* When -fvisbility=hidden is used, assume the code has been annotated
11131   correspondingly for the symbols needed.  */
11132#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11133int fnord () __attribute__((visibility("default")));
11134#endif
11135
11136int fnord () { return 42; }
11137int main ()
11138{
11139  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11140  int status = $lt_dlunknown;
11141
11142  if (self)
11143    {
11144      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11145      else
11146        {
11147	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11148          else puts (dlerror ());
11149	}
11150      /* dlclose (self); */
11151    }
11152  else
11153    puts (dlerror ());
11154
11155  return status;
11156}
11157_LT_EOF
11158  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11159  (eval $ac_link) 2>&5
11160  ac_status=$?
11161  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11162  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11163    (./conftest; exit; ) >&5 2>/dev/null
11164    lt_status=$?
11165    case x$lt_status in
11166      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11167      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11168      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11169    esac
11170  else :
11171    # compilation failed
11172    lt_cv_dlopen_self_static=no
11173  fi
11174fi
11175rm -fr conftest*
11176
11177
11178fi
11179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11180$as_echo "$lt_cv_dlopen_self_static" >&6; }
11181    fi
11182
11183    CPPFLAGS="$save_CPPFLAGS"
11184    LDFLAGS="$save_LDFLAGS"
11185    LIBS="$save_LIBS"
11186    ;;
11187  esac
11188
11189  case $lt_cv_dlopen_self in
11190  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11191  *) enable_dlopen_self=unknown ;;
11192  esac
11193
11194  case $lt_cv_dlopen_self_static in
11195  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11196  *) enable_dlopen_self_static=unknown ;;
11197  esac
11198fi
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216striplib=
11217old_striplib=
11218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11219$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11220if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11221  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11222  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11224$as_echo "yes" >&6; }
11225else
11226# FIXME - insert some real tests, host_os isn't really good enough
11227  case $host_os in
11228  darwin*)
11229    if test -n "$STRIP" ; then
11230      striplib="$STRIP -x"
11231      old_striplib="$STRIP -S"
11232      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11233$as_echo "yes" >&6; }
11234    else
11235      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11236$as_echo "no" >&6; }
11237    fi
11238    ;;
11239  *)
11240    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11241$as_echo "no" >&6; }
11242    ;;
11243  esac
11244fi
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257  # Report which library types will actually be built
11258  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11259$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11261$as_echo "$can_build_shared" >&6; }
11262
11263  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11264$as_echo_n "checking whether to build shared libraries... " >&6; }
11265  test "$can_build_shared" = "no" && enable_shared=no
11266
11267  # On AIX, shared libraries and static libraries use the same namespace, and
11268  # are all built from PIC.
11269  case $host_os in
11270  aix3*)
11271    test "$enable_shared" = yes && enable_static=no
11272    if test -n "$RANLIB"; then
11273      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11274      postinstall_cmds='$RANLIB $lib'
11275    fi
11276    ;;
11277
11278  aix[4-9]*)
11279    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11280      test "$enable_shared" = yes && enable_static=no
11281    fi
11282    ;;
11283  esac
11284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11285$as_echo "$enable_shared" >&6; }
11286
11287  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11288$as_echo_n "checking whether to build static libraries... " >&6; }
11289  # Make sure either enable_shared or enable_static is yes.
11290  test "$enable_shared" = yes || enable_static=yes
11291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11292$as_echo "$enable_static" >&6; }
11293
11294
11295
11296
11297fi
11298ac_ext=c
11299ac_cpp='$CPP $CPPFLAGS'
11300ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11301ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11302ac_compiler_gnu=$ac_cv_c_compiler_gnu
11303
11304CC="$lt_save_CC"
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320        ac_config_commands="$ac_config_commands libtool"
11321
11322
11323
11324
11325# Only expand once:
11326
11327
11328
11329# Checks for libraries.
11330
11331# Checks for header files.
11332for ac_header in fcntl.h libintl.h stddef.h stdlib.h string.h sys/time.h unistd.h
11333do :
11334  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11335ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11336if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11337  cat >>confdefs.h <<_ACEOF
11338#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11339_ACEOF
11340
11341fi
11342
11343done
11344
11345
11346# Checks for typedefs, structures, and compiler characteristics.
11347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
11348$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
11349if ${ac_cv_header_stdbool_h+:} false; then :
11350  $as_echo_n "(cached) " >&6
11351else
11352  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353/* end confdefs.h.  */
11354
11355             #include <stdbool.h>
11356             #ifndef bool
11357              "error: bool is not defined"
11358             #endif
11359             #ifndef false
11360              "error: false is not defined"
11361             #endif
11362             #if false
11363              "error: false is not 0"
11364             #endif
11365             #ifndef true
11366              "error: true is not defined"
11367             #endif
11368             #if true != 1
11369              "error: true is not 1"
11370             #endif
11371             #ifndef __bool_true_false_are_defined
11372              "error: __bool_true_false_are_defined is not defined"
11373             #endif
11374
11375             struct s { _Bool s: 1; _Bool t; } s;
11376
11377             char a[true == 1 ? 1 : -1];
11378             char b[false == 0 ? 1 : -1];
11379             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
11380             char d[(bool) 0.5 == true ? 1 : -1];
11381             /* See body of main program for 'e'.  */
11382             char f[(_Bool) 0.0 == false ? 1 : -1];
11383             char g[true];
11384             char h[sizeof (_Bool)];
11385             char i[sizeof s.t];
11386             enum { j = false, k = true, l = false * true, m = true * 256 };
11387             /* The following fails for
11388                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
11389             _Bool n[m];
11390             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
11391             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
11392             /* Catch a bug in an HP-UX C compiler.  See
11393                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
11394                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
11395              */
11396             _Bool q = true;
11397             _Bool *pq = &q;
11398
11399int
11400main ()
11401{
11402
11403             bool e = &s;
11404             *pq |= q;
11405             *pq |= ! q;
11406             /* Refer to every declared value, to avoid compiler optimizations.  */
11407             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
11408                     + !m + !n + !o + !p + !q + !pq);
11409
11410  ;
11411  return 0;
11412}
11413_ACEOF
11414if ac_fn_c_try_compile "$LINENO"; then :
11415  ac_cv_header_stdbool_h=yes
11416else
11417  ac_cv_header_stdbool_h=no
11418fi
11419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11420fi
11421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
11422$as_echo "$ac_cv_header_stdbool_h" >&6; }
11423   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
11424if test "x$ac_cv_type__Bool" = xyes; then :
11425
11426cat >>confdefs.h <<_ACEOF
11427#define HAVE__BOOL 1
11428_ACEOF
11429
11430
11431fi
11432
11433
11434ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
11435if test "x$ac_cv_type_off_t" = xyes; then :
11436
11437else
11438
11439cat >>confdefs.h <<_ACEOF
11440#define off_t long int
11441_ACEOF
11442
11443fi
11444
11445ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11446if test "x$ac_cv_type_pid_t" = xyes; then :
11447
11448else
11449
11450cat >>confdefs.h <<_ACEOF
11451#define pid_t int
11452_ACEOF
11453
11454fi
11455
11456ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11457if test "x$ac_cv_type_size_t" = xyes; then :
11458
11459else
11460
11461cat >>confdefs.h <<_ACEOF
11462#define size_t unsigned int
11463_ACEOF
11464
11465fi
11466
11467
11468# Checks for library functions.
11469for ac_header in vfork.h
11470do :
11471  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
11472if test "x$ac_cv_header_vfork_h" = xyes; then :
11473  cat >>confdefs.h <<_ACEOF
11474#define HAVE_VFORK_H 1
11475_ACEOF
11476
11477fi
11478
11479done
11480
11481for ac_func in fork vfork
11482do :
11483  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11484ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11485if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11486  cat >>confdefs.h <<_ACEOF
11487#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11488_ACEOF
11489
11490fi
11491done
11492
11493if test "x$ac_cv_func_fork" = xyes; then
11494  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
11495$as_echo_n "checking for working fork... " >&6; }
11496if ${ac_cv_func_fork_works+:} false; then :
11497  $as_echo_n "(cached) " >&6
11498else
11499  if test "$cross_compiling" = yes; then :
11500  ac_cv_func_fork_works=cross
11501else
11502  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11503/* end confdefs.h.  */
11504$ac_includes_default
11505int
11506main ()
11507{
11508
11509	  /* By Ruediger Kuhlmann. */
11510	  return fork () < 0;
11511
11512  ;
11513  return 0;
11514}
11515_ACEOF
11516if ac_fn_c_try_run "$LINENO"; then :
11517  ac_cv_func_fork_works=yes
11518else
11519  ac_cv_func_fork_works=no
11520fi
11521rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11522  conftest.$ac_objext conftest.beam conftest.$ac_ext
11523fi
11524
11525fi
11526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
11527$as_echo "$ac_cv_func_fork_works" >&6; }
11528
11529else
11530  ac_cv_func_fork_works=$ac_cv_func_fork
11531fi
11532if test "x$ac_cv_func_fork_works" = xcross; then
11533  case $host in
11534    *-*-amigaos* | *-*-msdosdjgpp*)
11535      # Override, as these systems have only a dummy fork() stub
11536      ac_cv_func_fork_works=no
11537      ;;
11538    *)
11539      ac_cv_func_fork_works=yes
11540      ;;
11541  esac
11542  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
11543$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
11544fi
11545ac_cv_func_vfork_works=$ac_cv_func_vfork
11546if test "x$ac_cv_func_vfork" = xyes; then
11547  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
11548$as_echo_n "checking for working vfork... " >&6; }
11549if ${ac_cv_func_vfork_works+:} false; then :
11550  $as_echo_n "(cached) " >&6
11551else
11552  if test "$cross_compiling" = yes; then :
11553  ac_cv_func_vfork_works=cross
11554else
11555  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11556/* end confdefs.h.  */
11557/* Thanks to Paul Eggert for this test.  */
11558$ac_includes_default
11559#include <sys/wait.h>
11560#ifdef HAVE_VFORK_H
11561# include <vfork.h>
11562#endif
11563/* On some sparc systems, changes by the child to local and incoming
11564   argument registers are propagated back to the parent.  The compiler
11565   is told about this with #include <vfork.h>, but some compilers
11566   (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
11567   static variable whose address is put into a register that is
11568   clobbered by the vfork.  */
11569static void
11570#ifdef __cplusplus
11571sparc_address_test (int arg)
11572# else
11573sparc_address_test (arg) int arg;
11574#endif
11575{
11576  static pid_t child;
11577  if (!child) {
11578    child = vfork ();
11579    if (child < 0) {
11580      perror ("vfork");
11581      _exit(2);
11582    }
11583    if (!child) {
11584      arg = getpid();
11585      write(-1, "", 0);
11586      _exit (arg);
11587    }
11588  }
11589}
11590
11591int
11592main ()
11593{
11594  pid_t parent = getpid ();
11595  pid_t child;
11596
11597  sparc_address_test (0);
11598
11599  child = vfork ();
11600
11601  if (child == 0) {
11602    /* Here is another test for sparc vfork register problems.  This
11603       test uses lots of local variables, at least as many local
11604       variables as main has allocated so far including compiler
11605       temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
11606       4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
11607       reuse the register of parent for one of the local variables,
11608       since it will think that parent can't possibly be used any more
11609       in this routine.  Assigning to the local variable will thus
11610       munge parent in the parent process.  */
11611    pid_t
11612      p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11613      p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11614    /* Convince the compiler that p..p7 are live; otherwise, it might
11615       use the same hardware register for all 8 local variables.  */
11616    if (p != p1 || p != p2 || p != p3 || p != p4
11617	|| p != p5 || p != p6 || p != p7)
11618      _exit(1);
11619
11620    /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11621       from child file descriptors.  If the child closes a descriptor
11622       before it execs or exits, this munges the parent's descriptor
11623       as well.  Test for this by closing stdout in the child.  */
11624    _exit(close(fileno(stdout)) != 0);
11625  } else {
11626    int status;
11627    struct stat st;
11628
11629    while (wait(&status) != child)
11630      ;
11631    return (
11632	 /* Was there some problem with vforking?  */
11633	 child < 0
11634
11635	 /* Did the child fail?  (This shouldn't happen.)  */
11636	 || status
11637
11638	 /* Did the vfork/compiler bug occur?  */
11639	 || parent != getpid()
11640
11641	 /* Did the file descriptor bug occur?  */
11642	 || fstat(fileno(stdout), &st) != 0
11643	 );
11644  }
11645}
11646_ACEOF
11647if ac_fn_c_try_run "$LINENO"; then :
11648  ac_cv_func_vfork_works=yes
11649else
11650  ac_cv_func_vfork_works=no
11651fi
11652rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11653  conftest.$ac_objext conftest.beam conftest.$ac_ext
11654fi
11655
11656fi
11657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
11658$as_echo "$ac_cv_func_vfork_works" >&6; }
11659
11660fi;
11661if test "x$ac_cv_func_fork_works" = xcross; then
11662  ac_cv_func_vfork_works=$ac_cv_func_vfork
11663  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
11664$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
11665fi
11666
11667if test "x$ac_cv_func_vfork_works" = xyes; then
11668
11669$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
11670
11671else
11672
11673$as_echo "#define vfork fork" >>confdefs.h
11674
11675fi
11676if test "x$ac_cv_func_fork_works" = xyes; then
11677
11678$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
11679
11680fi
11681
11682for ac_header in stdlib.h
11683do :
11684  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
11685if test "x$ac_cv_header_stdlib_h" = xyes; then :
11686  cat >>confdefs.h <<_ACEOF
11687#define HAVE_STDLIB_H 1
11688_ACEOF
11689
11690fi
11691
11692done
11693
11694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
11695$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
11696if ${ac_cv_func_malloc_0_nonnull+:} false; then :
11697  $as_echo_n "(cached) " >&6
11698else
11699  if test "$cross_compiling" = yes; then :
11700  ac_cv_func_malloc_0_nonnull=no
11701else
11702  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703/* end confdefs.h.  */
11704#if defined STDC_HEADERS || defined HAVE_STDLIB_H
11705# include <stdlib.h>
11706#else
11707char *malloc ();
11708#endif
11709
11710int
11711main ()
11712{
11713return ! malloc (0);
11714  ;
11715  return 0;
11716}
11717_ACEOF
11718if ac_fn_c_try_run "$LINENO"; then :
11719  ac_cv_func_malloc_0_nonnull=yes
11720else
11721  ac_cv_func_malloc_0_nonnull=no
11722fi
11723rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11724  conftest.$ac_objext conftest.beam conftest.$ac_ext
11725fi
11726
11727fi
11728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
11729$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
11730if test $ac_cv_func_malloc_0_nonnull = yes; then :
11731
11732$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
11733
11734else
11735  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
11736
11737   case " $LIBOBJS " in
11738  *" malloc.$ac_objext "* ) ;;
11739  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
11740 ;;
11741esac
11742
11743
11744$as_echo "#define malloc rpl_malloc" >>confdefs.h
11745
11746fi
11747
11748
11749for ac_header in stdlib.h
11750do :
11751  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
11752if test "x$ac_cv_header_stdlib_h" = xyes; then :
11753  cat >>confdefs.h <<_ACEOF
11754#define HAVE_STDLIB_H 1
11755_ACEOF
11756
11757fi
11758
11759done
11760
11761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
11762$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
11763if ${ac_cv_func_realloc_0_nonnull+:} false; then :
11764  $as_echo_n "(cached) " >&6
11765else
11766  if test "$cross_compiling" = yes; then :
11767  ac_cv_func_realloc_0_nonnull=no
11768else
11769  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11770/* end confdefs.h.  */
11771#if defined STDC_HEADERS || defined HAVE_STDLIB_H
11772# include <stdlib.h>
11773#else
11774char *realloc ();
11775#endif
11776
11777int
11778main ()
11779{
11780return ! realloc (0, 0);
11781  ;
11782  return 0;
11783}
11784_ACEOF
11785if ac_fn_c_try_run "$LINENO"; then :
11786  ac_cv_func_realloc_0_nonnull=yes
11787else
11788  ac_cv_func_realloc_0_nonnull=no
11789fi
11790rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11791  conftest.$ac_objext conftest.beam conftest.$ac_ext
11792fi
11793
11794fi
11795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
11796$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
11797if test $ac_cv_func_realloc_0_nonnull = yes; then :
11798
11799$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
11800
11801else
11802  $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
11803
11804   case " $LIBOBJS " in
11805  *" realloc.$ac_objext "* ) ;;
11806  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
11807 ;;
11808esac
11809
11810
11811$as_echo "#define realloc rpl_realloc" >>confdefs.h
11812
11813fi
11814
11815
11816for ac_func in memset strchr strdup strerror strrchr strstr strtol
11817do :
11818  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11819ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11820if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11821  cat >>confdefs.h <<_ACEOF
11822#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11823_ACEOF
11824
11825fi
11826done
11827
11828
11829ac_config_files="$ac_config_files Makefile doc/Makefile replace/Makefile src/Makefile tests/Makefile"
11830
11831cat >confcache <<\_ACEOF
11832# This file is a shell script that caches the results of configure
11833# tests run on this system so they can be shared between configure
11834# scripts and configure runs, see configure's option --config-cache.
11835# It is not useful on other systems.  If it contains results you don't
11836# want to keep, you may remove or edit it.
11837#
11838# config.status only pays attention to the cache file if you give it
11839# the --recheck option to rerun configure.
11840#
11841# `ac_cv_env_foo' variables (set or unset) will be overridden when
11842# loading this file, other *unset* `ac_cv_foo' will be assigned the
11843# following values.
11844
11845_ACEOF
11846
11847# The following way of writing the cache mishandles newlines in values,
11848# but we know of no workaround that is simple, portable, and efficient.
11849# So, we kill variables containing newlines.
11850# Ultrix sh set writes to stderr and can't be redirected directly,
11851# and sets the high bit in the cache file unless we assign to the vars.
11852(
11853  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11854    eval ac_val=\$$ac_var
11855    case $ac_val in #(
11856    *${as_nl}*)
11857      case $ac_var in #(
11858      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11859$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11860      esac
11861      case $ac_var in #(
11862      _ | IFS | as_nl) ;; #(
11863      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11864      *) { eval $ac_var=; unset $ac_var;} ;;
11865      esac ;;
11866    esac
11867  done
11868
11869  (set) 2>&1 |
11870    case $as_nl`(ac_space=' '; set) 2>&1` in #(
11871    *${as_nl}ac_space=\ *)
11872      # `set' does not quote correctly, so add quotes: double-quote
11873      # substitution turns \\\\ into \\, and sed turns \\ into \.
11874      sed -n \
11875	"s/'/'\\\\''/g;
11876	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11877      ;; #(
11878    *)
11879      # `set' quotes correctly as required by POSIX, so do not add quotes.
11880      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11881      ;;
11882    esac |
11883    sort
11884) |
11885  sed '
11886     /^ac_cv_env_/b end
11887     t clear
11888     :clear
11889     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11890     t end
11891     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11892     :end' >>confcache
11893if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11894  if test -w "$cache_file"; then
11895    if test "x$cache_file" != "x/dev/null"; then
11896      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11897$as_echo "$as_me: updating cache $cache_file" >&6;}
11898      if test ! -f "$cache_file" || test -h "$cache_file"; then
11899	cat confcache >"$cache_file"
11900      else
11901        case $cache_file in #(
11902        */* | ?:*)
11903	  mv -f confcache "$cache_file"$$ &&
11904	  mv -f "$cache_file"$$ "$cache_file" ;; #(
11905        *)
11906	  mv -f confcache "$cache_file" ;;
11907	esac
11908      fi
11909    fi
11910  else
11911    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11912$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11913  fi
11914fi
11915rm -f confcache
11916
11917test "x$prefix" = xNONE && prefix=$ac_default_prefix
11918# Let make expand exec_prefix.
11919test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11920
11921DEFS=-DHAVE_CONFIG_H
11922
11923ac_libobjs=
11924ac_ltlibobjs=
11925U=
11926for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11927  # 1. Remove the extension, and $U if already installed.
11928  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11929  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11930  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11931  #    will be set to the directory where LIBOBJS objects are built.
11932  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11933  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11934done
11935LIBOBJS=$ac_libobjs
11936
11937LTLIBOBJS=$ac_ltlibobjs
11938
11939
11940 if test -n "$EXEEXT"; then
11941  am__EXEEXT_TRUE=
11942  am__EXEEXT_FALSE='#'
11943else
11944  am__EXEEXT_TRUE='#'
11945  am__EXEEXT_FALSE=
11946fi
11947
11948if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11949  as_fn_error $? "conditional \"AMDEP\" was never defined.
11950Usually this means the macro was only invoked conditionally." "$LINENO" 5
11951fi
11952if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11953  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11954Usually this means the macro was only invoked conditionally." "$LINENO" 5
11955fi
11956
11957: "${CONFIG_STATUS=./config.status}"
11958ac_write_fail=0
11959ac_clean_files_save=$ac_clean_files
11960ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11961{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11962$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11963as_write_fail=0
11964cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11965#! $SHELL
11966# Generated by $as_me.
11967# Run this file to recreate the current configuration.
11968# Compiler output produced by configure, useful for debugging
11969# configure, is in config.log if it exists.
11970
11971debug=false
11972ac_cs_recheck=false
11973ac_cs_silent=false
11974
11975SHELL=\${CONFIG_SHELL-$SHELL}
11976export SHELL
11977_ASEOF
11978cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11979## -------------------- ##
11980## M4sh Initialization. ##
11981## -------------------- ##
11982
11983# Be more Bourne compatible
11984DUALCASE=1; export DUALCASE # for MKS sh
11985if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11986  emulate sh
11987  NULLCMD=:
11988  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11989  # is contrary to our usage.  Disable this feature.
11990  alias -g '${1+"$@"}'='"$@"'
11991  setopt NO_GLOB_SUBST
11992else
11993  case `(set -o) 2>/dev/null` in #(
11994  *posix*) :
11995    set -o posix ;; #(
11996  *) :
11997     ;;
11998esac
11999fi
12000
12001
12002as_nl='
12003'
12004export as_nl
12005# Printing a long string crashes Solaris 7 /usr/bin/printf.
12006as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12007as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12008as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12009# Prefer a ksh shell builtin over an external printf program on Solaris,
12010# but without wasting forks for bash or zsh.
12011if test -z "$BASH_VERSION$ZSH_VERSION" \
12012    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12013  as_echo='print -r --'
12014  as_echo_n='print -rn --'
12015elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12016  as_echo='printf %s\n'
12017  as_echo_n='printf %s'
12018else
12019  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12020    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12021    as_echo_n='/usr/ucb/echo -n'
12022  else
12023    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12024    as_echo_n_body='eval
12025      arg=$1;
12026      case $arg in #(
12027      *"$as_nl"*)
12028	expr "X$arg" : "X\\(.*\\)$as_nl";
12029	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12030      esac;
12031      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12032    '
12033    export as_echo_n_body
12034    as_echo_n='sh -c $as_echo_n_body as_echo'
12035  fi
12036  export as_echo_body
12037  as_echo='sh -c $as_echo_body as_echo'
12038fi
12039
12040# The user is always right.
12041if test "${PATH_SEPARATOR+set}" != set; then
12042  PATH_SEPARATOR=:
12043  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12044    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12045      PATH_SEPARATOR=';'
12046  }
12047fi
12048
12049
12050# IFS
12051# We need space, tab and new line, in precisely that order.  Quoting is
12052# there to prevent editors from complaining about space-tab.
12053# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12054# splitting by setting IFS to empty value.)
12055IFS=" ""	$as_nl"
12056
12057# Find who we are.  Look in the path if we contain no directory separator.
12058as_myself=
12059case $0 in #((
12060  *[\\/]* ) as_myself=$0 ;;
12061  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12062for as_dir in $PATH
12063do
12064  IFS=$as_save_IFS
12065  test -z "$as_dir" && as_dir=.
12066    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12067  done
12068IFS=$as_save_IFS
12069
12070     ;;
12071esac
12072# We did not find ourselves, most probably we were run as `sh COMMAND'
12073# in which case we are not to be found in the path.
12074if test "x$as_myself" = x; then
12075  as_myself=$0
12076fi
12077if test ! -f "$as_myself"; then
12078  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12079  exit 1
12080fi
12081
12082# Unset variables that we do not need and which cause bugs (e.g. in
12083# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12084# suppresses any "Segmentation fault" message there.  '((' could
12085# trigger a bug in pdksh 5.2.14.
12086for as_var in BASH_ENV ENV MAIL MAILPATH
12087do eval test x\${$as_var+set} = xset \
12088  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12089done
12090PS1='$ '
12091PS2='> '
12092PS4='+ '
12093
12094# NLS nuisances.
12095LC_ALL=C
12096export LC_ALL
12097LANGUAGE=C
12098export LANGUAGE
12099
12100# CDPATH.
12101(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12102
12103
12104# as_fn_error STATUS ERROR [LINENO LOG_FD]
12105# ----------------------------------------
12106# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12107# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12108# script with STATUS, using 1 if that was 0.
12109as_fn_error ()
12110{
12111  as_status=$1; test $as_status -eq 0 && as_status=1
12112  if test "$4"; then
12113    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12114    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12115  fi
12116  $as_echo "$as_me: error: $2" >&2
12117  as_fn_exit $as_status
12118} # as_fn_error
12119
12120
12121# as_fn_set_status STATUS
12122# -----------------------
12123# Set $? to STATUS, without forking.
12124as_fn_set_status ()
12125{
12126  return $1
12127} # as_fn_set_status
12128
12129# as_fn_exit STATUS
12130# -----------------
12131# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12132as_fn_exit ()
12133{
12134  set +e
12135  as_fn_set_status $1
12136  exit $1
12137} # as_fn_exit
12138
12139# as_fn_unset VAR
12140# ---------------
12141# Portably unset VAR.
12142as_fn_unset ()
12143{
12144  { eval $1=; unset $1;}
12145}
12146as_unset=as_fn_unset
12147# as_fn_append VAR VALUE
12148# ----------------------
12149# Append the text in VALUE to the end of the definition contained in VAR. Take
12150# advantage of any shell optimizations that allow amortized linear growth over
12151# repeated appends, instead of the typical quadratic growth present in naive
12152# implementations.
12153if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12154  eval 'as_fn_append ()
12155  {
12156    eval $1+=\$2
12157  }'
12158else
12159  as_fn_append ()
12160  {
12161    eval $1=\$$1\$2
12162  }
12163fi # as_fn_append
12164
12165# as_fn_arith ARG...
12166# ------------------
12167# Perform arithmetic evaluation on the ARGs, and store the result in the
12168# global $as_val. Take advantage of shells that can avoid forks. The arguments
12169# must be portable across $(()) and expr.
12170if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12171  eval 'as_fn_arith ()
12172  {
12173    as_val=$(( $* ))
12174  }'
12175else
12176  as_fn_arith ()
12177  {
12178    as_val=`expr "$@" || test $? -eq 1`
12179  }
12180fi # as_fn_arith
12181
12182
12183if expr a : '\(a\)' >/dev/null 2>&1 &&
12184   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12185  as_expr=expr
12186else
12187  as_expr=false
12188fi
12189
12190if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12191  as_basename=basename
12192else
12193  as_basename=false
12194fi
12195
12196if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12197  as_dirname=dirname
12198else
12199  as_dirname=false
12200fi
12201
12202as_me=`$as_basename -- "$0" ||
12203$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12204	 X"$0" : 'X\(//\)$' \| \
12205	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12206$as_echo X/"$0" |
12207    sed '/^.*\/\([^/][^/]*\)\/*$/{
12208	    s//\1/
12209	    q
12210	  }
12211	  /^X\/\(\/\/\)$/{
12212	    s//\1/
12213	    q
12214	  }
12215	  /^X\/\(\/\).*/{
12216	    s//\1/
12217	    q
12218	  }
12219	  s/.*/./; q'`
12220
12221# Avoid depending upon Character Ranges.
12222as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12223as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12224as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12225as_cr_digits='0123456789'
12226as_cr_alnum=$as_cr_Letters$as_cr_digits
12227
12228ECHO_C= ECHO_N= ECHO_T=
12229case `echo -n x` in #(((((
12230-n*)
12231  case `echo 'xy\c'` in
12232  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
12233  xy)  ECHO_C='\c';;
12234  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12235       ECHO_T='	';;
12236  esac;;
12237*)
12238  ECHO_N='-n';;
12239esac
12240
12241rm -f conf$$ conf$$.exe conf$$.file
12242if test -d conf$$.dir; then
12243  rm -f conf$$.dir/conf$$.file
12244else
12245  rm -f conf$$.dir
12246  mkdir conf$$.dir 2>/dev/null
12247fi
12248if (echo >conf$$.file) 2>/dev/null; then
12249  if ln -s conf$$.file conf$$ 2>/dev/null; then
12250    as_ln_s='ln -s'
12251    # ... but there are two gotchas:
12252    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12253    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12254    # In both cases, we have to default to `cp -pR'.
12255    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12256      as_ln_s='cp -pR'
12257  elif ln conf$$.file conf$$ 2>/dev/null; then
12258    as_ln_s=ln
12259  else
12260    as_ln_s='cp -pR'
12261  fi
12262else
12263  as_ln_s='cp -pR'
12264fi
12265rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12266rmdir conf$$.dir 2>/dev/null
12267
12268
12269# as_fn_mkdir_p
12270# -------------
12271# Create "$as_dir" as a directory, including parents if necessary.
12272as_fn_mkdir_p ()
12273{
12274
12275  case $as_dir in #(
12276  -*) as_dir=./$as_dir;;
12277  esac
12278  test -d "$as_dir" || eval $as_mkdir_p || {
12279    as_dirs=
12280    while :; do
12281      case $as_dir in #(
12282      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12283      *) as_qdir=$as_dir;;
12284      esac
12285      as_dirs="'$as_qdir' $as_dirs"
12286      as_dir=`$as_dirname -- "$as_dir" ||
12287$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12288	 X"$as_dir" : 'X\(//\)[^/]' \| \
12289	 X"$as_dir" : 'X\(//\)$' \| \
12290	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12291$as_echo X"$as_dir" |
12292    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12293	    s//\1/
12294	    q
12295	  }
12296	  /^X\(\/\/\)[^/].*/{
12297	    s//\1/
12298	    q
12299	  }
12300	  /^X\(\/\/\)$/{
12301	    s//\1/
12302	    q
12303	  }
12304	  /^X\(\/\).*/{
12305	    s//\1/
12306	    q
12307	  }
12308	  s/.*/./; q'`
12309      test -d "$as_dir" && break
12310    done
12311    test -z "$as_dirs" || eval "mkdir $as_dirs"
12312  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12313
12314
12315} # as_fn_mkdir_p
12316if mkdir -p . 2>/dev/null; then
12317  as_mkdir_p='mkdir -p "$as_dir"'
12318else
12319  test -d ./-p && rmdir ./-p
12320  as_mkdir_p=false
12321fi
12322
12323
12324# as_fn_executable_p FILE
12325# -----------------------
12326# Test if FILE is an executable regular file.
12327as_fn_executable_p ()
12328{
12329  test -f "$1" && test -x "$1"
12330} # as_fn_executable_p
12331as_test_x='test -x'
12332as_executable_p=as_fn_executable_p
12333
12334# Sed expression to map a string onto a valid CPP name.
12335as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12336
12337# Sed expression to map a string onto a valid variable name.
12338as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12339
12340
12341exec 6>&1
12342## ----------------------------------- ##
12343## Main body of $CONFIG_STATUS script. ##
12344## ----------------------------------- ##
12345_ASEOF
12346test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12347
12348cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12349# Save the log message, to keep $0 and so on meaningful, and to
12350# report actual input values of CONFIG_FILES etc. instead of their
12351# values after options handling.
12352ac_log="
12353This file was extended by GNU Trueprint $as_me 5.4, which was
12354generated by GNU Autoconf 2.69.  Invocation command line was
12355
12356  CONFIG_FILES    = $CONFIG_FILES
12357  CONFIG_HEADERS  = $CONFIG_HEADERS
12358  CONFIG_LINKS    = $CONFIG_LINKS
12359  CONFIG_COMMANDS = $CONFIG_COMMANDS
12360  $ $0 $@
12361
12362on `(hostname || uname -n) 2>/dev/null | sed 1q`
12363"
12364
12365_ACEOF
12366
12367case $ac_config_files in *"
12368"*) set x $ac_config_files; shift; ac_config_files=$*;;
12369esac
12370
12371case $ac_config_headers in *"
12372"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12373esac
12374
12375
12376cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12377# Files that config.status was made for.
12378config_files="$ac_config_files"
12379config_headers="$ac_config_headers"
12380config_commands="$ac_config_commands"
12381
12382_ACEOF
12383
12384cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12385ac_cs_usage="\
12386\`$as_me' instantiates files and other configuration actions
12387from templates according to the current configuration.  Unless the files
12388and actions are specified as TAGs, all are instantiated by default.
12389
12390Usage: $0 [OPTION]... [TAG]...
12391
12392  -h, --help       print this help, then exit
12393  -V, --version    print version number and configuration settings, then exit
12394      --config     print configuration, then exit
12395  -q, --quiet, --silent
12396                   do not print progress messages
12397  -d, --debug      don't remove temporary files
12398      --recheck    update $as_me by reconfiguring in the same conditions
12399      --file=FILE[:TEMPLATE]
12400                   instantiate the configuration file FILE
12401      --header=FILE[:TEMPLATE]
12402                   instantiate the configuration header FILE
12403
12404Configuration files:
12405$config_files
12406
12407Configuration headers:
12408$config_headers
12409
12410Configuration commands:
12411$config_commands
12412
12413Report bugs to <bug-trueprint@gnu.org>.
12414GNU Trueprint home page: <http://www.gnu.org/software/trueprint/>.
12415General help using GNU software: <http://www.gnu.org/gethelp/>."
12416
12417_ACEOF
12418cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12419ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12420ac_cs_version="\\
12421GNU Trueprint config.status 5.4
12422configured by $0, generated by GNU Autoconf 2.69,
12423  with options \\"\$ac_cs_config\\"
12424
12425Copyright (C) 2012 Free Software Foundation, Inc.
12426This config.status script is free software; the Free Software Foundation
12427gives unlimited permission to copy, distribute and modify it."
12428
12429ac_pwd='$ac_pwd'
12430srcdir='$srcdir'
12431INSTALL='$INSTALL'
12432MKDIR_P='$MKDIR_P'
12433AWK='$AWK'
12434test -n "\$AWK" || AWK=awk
12435_ACEOF
12436
12437cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12438# The default lists apply if the user does not specify any file.
12439ac_need_defaults=:
12440while test $# != 0
12441do
12442  case $1 in
12443  --*=?*)
12444    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12445    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12446    ac_shift=:
12447    ;;
12448  --*=)
12449    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12450    ac_optarg=
12451    ac_shift=:
12452    ;;
12453  *)
12454    ac_option=$1
12455    ac_optarg=$2
12456    ac_shift=shift
12457    ;;
12458  esac
12459
12460  case $ac_option in
12461  # Handling of the options.
12462  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12463    ac_cs_recheck=: ;;
12464  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12465    $as_echo "$ac_cs_version"; exit ;;
12466  --config | --confi | --conf | --con | --co | --c )
12467    $as_echo "$ac_cs_config"; exit ;;
12468  --debug | --debu | --deb | --de | --d | -d )
12469    debug=: ;;
12470  --file | --fil | --fi | --f )
12471    $ac_shift
12472    case $ac_optarg in
12473    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12474    '') as_fn_error $? "missing file argument" ;;
12475    esac
12476    as_fn_append CONFIG_FILES " '$ac_optarg'"
12477    ac_need_defaults=false;;
12478  --header | --heade | --head | --hea )
12479    $ac_shift
12480    case $ac_optarg in
12481    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12482    esac
12483    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12484    ac_need_defaults=false;;
12485  --he | --h)
12486    # Conflict between --help and --header
12487    as_fn_error $? "ambiguous option: \`$1'
12488Try \`$0 --help' for more information.";;
12489  --help | --hel | -h )
12490    $as_echo "$ac_cs_usage"; exit ;;
12491  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12492  | -silent | --silent | --silen | --sile | --sil | --si | --s)
12493    ac_cs_silent=: ;;
12494
12495  # This is an error.
12496  -*) as_fn_error $? "unrecognized option: \`$1'
12497Try \`$0 --help' for more information." ;;
12498
12499  *) as_fn_append ac_config_targets " $1"
12500     ac_need_defaults=false ;;
12501
12502  esac
12503  shift
12504done
12505
12506ac_configure_extra_args=
12507
12508if $ac_cs_silent; then
12509  exec 6>/dev/null
12510  ac_configure_extra_args="$ac_configure_extra_args --silent"
12511fi
12512
12513_ACEOF
12514cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12515if \$ac_cs_recheck; then
12516  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12517  shift
12518  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12519  CONFIG_SHELL='$SHELL'
12520  export CONFIG_SHELL
12521  exec "\$@"
12522fi
12523
12524_ACEOF
12525cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12526exec 5>>config.log
12527{
12528  echo
12529  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12530## Running $as_me. ##
12531_ASBOX
12532  $as_echo "$ac_log"
12533} >&5
12534
12535_ACEOF
12536cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12537#
12538# INIT-COMMANDS
12539#
12540AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12541
12542
12543# The HP-UX ksh and POSIX shell print the target directory to stdout
12544# if CDPATH is set.
12545(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12546
12547sed_quote_subst='$sed_quote_subst'
12548double_quote_subst='$double_quote_subst'
12549delay_variable_subst='$delay_variable_subst'
12550macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12551macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12552enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12553enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12554pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12555enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12556SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12557ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12558PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12559host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12560host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12561host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12562build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12563build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12564build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12565SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12566Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12567GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12568EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12569FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12570LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12571NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12572LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12573max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12574ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12575exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12576lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12577lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12578lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12579lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12580lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12581reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12582reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12583OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12584deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12585file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12586file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12587want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12588DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12589sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12590AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12591AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12592archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12593STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12594RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12595old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12596old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12597old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12598lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12599CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12600CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12601compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12602GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12603lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12604lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12605lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12606lt_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"`'
12607nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12608lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12609objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12610MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12611lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12612lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12613lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12614lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12615lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12616need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12617MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12618DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12619NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12620LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12621OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12622OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12623libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12624shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12625extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12626archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12627enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12628export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12629whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12630compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12631old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12632old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12633archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12634archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12635module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12636module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12637with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12638allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12639no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12640hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12641hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12642hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12643hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12644hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12645hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12646hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12647inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12648link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12649always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12650export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12651exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12652include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12653prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12654postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12655file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12656variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12657need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12658need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12659version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12660runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12661shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12662shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12663libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12664library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12665soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12666install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12667postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12668postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12669finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12670finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12671hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12672sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12673sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12674hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12675enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12676enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12677enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12678old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12679striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12680
12681LTCC='$LTCC'
12682LTCFLAGS='$LTCFLAGS'
12683compiler='$compiler_DEFAULT'
12684
12685# A function that is used when there is no print builtin or printf.
12686func_fallback_echo ()
12687{
12688  eval 'cat <<_LTECHO_EOF
12689\$1
12690_LTECHO_EOF'
12691}
12692
12693# Quote evaled strings.
12694for var in SHELL \
12695ECHO \
12696PATH_SEPARATOR \
12697SED \
12698GREP \
12699EGREP \
12700FGREP \
12701LD \
12702NM \
12703LN_S \
12704lt_SP2NL \
12705lt_NL2SP \
12706reload_flag \
12707OBJDUMP \
12708deplibs_check_method \
12709file_magic_cmd \
12710file_magic_glob \
12711want_nocaseglob \
12712DLLTOOL \
12713sharedlib_from_linklib_cmd \
12714AR \
12715AR_FLAGS \
12716archiver_list_spec \
12717STRIP \
12718RANLIB \
12719CC \
12720CFLAGS \
12721compiler \
12722lt_cv_sys_global_symbol_pipe \
12723lt_cv_sys_global_symbol_to_cdecl \
12724lt_cv_sys_global_symbol_to_c_name_address \
12725lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12726nm_file_list_spec \
12727lt_prog_compiler_no_builtin_flag \
12728lt_prog_compiler_pic \
12729lt_prog_compiler_wl \
12730lt_prog_compiler_static \
12731lt_cv_prog_compiler_c_o \
12732need_locks \
12733MANIFEST_TOOL \
12734DSYMUTIL \
12735NMEDIT \
12736LIPO \
12737OTOOL \
12738OTOOL64 \
12739shrext_cmds \
12740export_dynamic_flag_spec \
12741whole_archive_flag_spec \
12742compiler_needs_object \
12743with_gnu_ld \
12744allow_undefined_flag \
12745no_undefined_flag \
12746hardcode_libdir_flag_spec \
12747hardcode_libdir_separator \
12748exclude_expsyms \
12749include_expsyms \
12750file_list_spec \
12751variables_saved_for_relink \
12752libname_spec \
12753library_names_spec \
12754soname_spec \
12755install_override_mode \
12756finish_eval \
12757old_striplib \
12758striplib; do
12759    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12760    *[\\\\\\\`\\"\\\$]*)
12761      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12762      ;;
12763    *)
12764      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12765      ;;
12766    esac
12767done
12768
12769# Double-quote double-evaled strings.
12770for var in reload_cmds \
12771old_postinstall_cmds \
12772old_postuninstall_cmds \
12773old_archive_cmds \
12774extract_expsyms_cmds \
12775old_archive_from_new_cmds \
12776old_archive_from_expsyms_cmds \
12777archive_cmds \
12778archive_expsym_cmds \
12779module_cmds \
12780module_expsym_cmds \
12781export_symbols_cmds \
12782prelink_cmds \
12783postlink_cmds \
12784postinstall_cmds \
12785postuninstall_cmds \
12786finish_cmds \
12787sys_lib_search_path_spec \
12788sys_lib_dlsearch_path_spec; do
12789    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12790    *[\\\\\\\`\\"\\\$]*)
12791      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12792      ;;
12793    *)
12794      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12795      ;;
12796    esac
12797done
12798
12799ac_aux_dir='$ac_aux_dir'
12800xsi_shell='$xsi_shell'
12801lt_shell_append='$lt_shell_append'
12802
12803# See if we are running on zsh, and set the options which allow our
12804# commands through without removal of \ escapes INIT.
12805if test -n "\${ZSH_VERSION+set}" ; then
12806   setopt NO_GLOB_SUBST
12807fi
12808
12809
12810    PACKAGE='$PACKAGE'
12811    VERSION='$VERSION'
12812    TIMESTAMP='$TIMESTAMP'
12813    RM='$RM'
12814    ofile='$ofile'
12815
12816
12817
12818
12819_ACEOF
12820
12821cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12822
12823# Handling of arguments.
12824for ac_config_target in $ac_config_targets
12825do
12826  case $ac_config_target in
12827    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12828    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12829    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12830    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12831    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12832    "replace/Makefile") CONFIG_FILES="$CONFIG_FILES replace/Makefile" ;;
12833    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12834    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
12835
12836  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12837  esac
12838done
12839
12840
12841# If the user did not use the arguments to specify the items to instantiate,
12842# then the envvar interface is used.  Set only those that are not.
12843# We use the long form for the default assignment because of an extremely
12844# bizarre bug on SunOS 4.1.3.
12845if $ac_need_defaults; then
12846  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12847  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12848  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12849fi
12850
12851# Have a temporary directory for convenience.  Make it in the build tree
12852# simply because there is no reason against having it here, and in addition,
12853# creating and moving files from /tmp can sometimes cause problems.
12854# Hook for its removal unless debugging.
12855# Note that there is a small window in which the directory will not be cleaned:
12856# after its creation but before its name has been assigned to `$tmp'.
12857$debug ||
12858{
12859  tmp= ac_tmp=
12860  trap 'exit_status=$?
12861  : "${ac_tmp:=$tmp}"
12862  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12863' 0
12864  trap 'as_fn_exit 1' 1 2 13 15
12865}
12866# Create a (secure) tmp directory for tmp files.
12867
12868{
12869  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12870  test -d "$tmp"
12871}  ||
12872{
12873  tmp=./conf$$-$RANDOM
12874  (umask 077 && mkdir "$tmp")
12875} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12876ac_tmp=$tmp
12877
12878# Set up the scripts for CONFIG_FILES section.
12879# No need to generate them if there are no CONFIG_FILES.
12880# This happens for instance with `./config.status config.h'.
12881if test -n "$CONFIG_FILES"; then
12882
12883
12884ac_cr=`echo X | tr X '\015'`
12885# On cygwin, bash can eat \r inside `` if the user requested igncr.
12886# But we know of no other shell where ac_cr would be empty at this
12887# point, so we can use a bashism as a fallback.
12888if test "x$ac_cr" = x; then
12889  eval ac_cr=\$\'\\r\'
12890fi
12891ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12892if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12893  ac_cs_awk_cr='\\r'
12894else
12895  ac_cs_awk_cr=$ac_cr
12896fi
12897
12898echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12899_ACEOF
12900
12901
12902{
12903  echo "cat >conf$$subs.awk <<_ACEOF" &&
12904  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12905  echo "_ACEOF"
12906} >conf$$subs.sh ||
12907  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12908ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12909ac_delim='%!_!# '
12910for ac_last_try in false false false false false :; do
12911  . ./conf$$subs.sh ||
12912    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12913
12914  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12915  if test $ac_delim_n = $ac_delim_num; then
12916    break
12917  elif $ac_last_try; then
12918    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12919  else
12920    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12921  fi
12922done
12923rm -f conf$$subs.sh
12924
12925cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12926cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12927_ACEOF
12928sed -n '
12929h
12930s/^/S["/; s/!.*/"]=/
12931p
12932g
12933s/^[^!]*!//
12934:repl
12935t repl
12936s/'"$ac_delim"'$//
12937t delim
12938:nl
12939h
12940s/\(.\{148\}\)..*/\1/
12941t more1
12942s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12943p
12944n
12945b repl
12946:more1
12947s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12948p
12949g
12950s/.\{148\}//
12951t nl
12952:delim
12953h
12954s/\(.\{148\}\)..*/\1/
12955t more2
12956s/["\\]/\\&/g; s/^/"/; s/$/"/
12957p
12958b
12959:more2
12960s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12961p
12962g
12963s/.\{148\}//
12964t delim
12965' <conf$$subs.awk | sed '
12966/^[^""]/{
12967  N
12968  s/\n//
12969}
12970' >>$CONFIG_STATUS || ac_write_fail=1
12971rm -f conf$$subs.awk
12972cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12973_ACAWK
12974cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12975  for (key in S) S_is_set[key] = 1
12976  FS = ""
12977
12978}
12979{
12980  line = $ 0
12981  nfields = split(line, field, "@")
12982  substed = 0
12983  len = length(field[1])
12984  for (i = 2; i < nfields; i++) {
12985    key = field[i]
12986    keylen = length(key)
12987    if (S_is_set[key]) {
12988      value = S[key]
12989      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12990      len += length(value) + length(field[++i])
12991      substed = 1
12992    } else
12993      len += 1 + keylen
12994  }
12995
12996  print line
12997}
12998
12999_ACAWK
13000_ACEOF
13001cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13002if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13003  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13004else
13005  cat
13006fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13007  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13008_ACEOF
13009
13010# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13011# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13012# trailing colons and then remove the whole line if VPATH becomes empty
13013# (actually we leave an empty line to preserve line numbers).
13014if test "x$srcdir" = x.; then
13015  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
13016h
13017s///
13018s/^/:/
13019s/[	 ]*$/:/
13020s/:\$(srcdir):/:/g
13021s/:\${srcdir}:/:/g
13022s/:@srcdir@:/:/g
13023s/^:*//
13024s/:*$//
13025x
13026s/\(=[	 ]*\).*/\1/
13027G
13028s/\n//
13029s/^[^=]*=[	 ]*$//
13030}'
13031fi
13032
13033cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13034fi # test -n "$CONFIG_FILES"
13035
13036# Set up the scripts for CONFIG_HEADERS section.
13037# No need to generate them if there are no CONFIG_HEADERS.
13038# This happens for instance with `./config.status Makefile'.
13039if test -n "$CONFIG_HEADERS"; then
13040cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13041BEGIN {
13042_ACEOF
13043
13044# Transform confdefs.h into an awk script `defines.awk', embedded as
13045# here-document in config.status, that substitutes the proper values into
13046# config.h.in to produce config.h.
13047
13048# Create a delimiter string that does not exist in confdefs.h, to ease
13049# handling of long lines.
13050ac_delim='%!_!# '
13051for ac_last_try in false false :; do
13052  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13053  if test -z "$ac_tt"; then
13054    break
13055  elif $ac_last_try; then
13056    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13057  else
13058    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13059  fi
13060done
13061
13062# For the awk script, D is an array of macro values keyed by name,
13063# likewise P contains macro parameters if any.  Preserve backslash
13064# newline sequences.
13065
13066ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13067sed -n '
13068s/.\{148\}/&'"$ac_delim"'/g
13069t rset
13070:rset
13071s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
13072t def
13073d
13074:def
13075s/\\$//
13076t bsnl
13077s/["\\]/\\&/g
13078s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13079D["\1"]=" \3"/p
13080s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
13081d
13082:bsnl
13083s/["\\]/\\&/g
13084s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13085D["\1"]=" \3\\\\\\n"\\/p
13086t cont
13087s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13088t cont
13089d
13090:cont
13091n
13092s/.\{148\}/&'"$ac_delim"'/g
13093t clear
13094:clear
13095s/\\$//
13096t bsnlc
13097s/["\\]/\\&/g; s/^/"/; s/$/"/p
13098d
13099:bsnlc
13100s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13101b cont
13102' <confdefs.h | sed '
13103s/'"$ac_delim"'/"\\\
13104"/g' >>$CONFIG_STATUS || ac_write_fail=1
13105
13106cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13107  for (key in D) D_is_set[key] = 1
13108  FS = ""
13109}
13110/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13111  line = \$ 0
13112  split(line, arg, " ")
13113  if (arg[1] == "#") {
13114    defundef = arg[2]
13115    mac1 = arg[3]
13116  } else {
13117    defundef = substr(arg[1], 2)
13118    mac1 = arg[2]
13119  }
13120  split(mac1, mac2, "(") #)
13121  macro = mac2[1]
13122  prefix = substr(line, 1, index(line, defundef) - 1)
13123  if (D_is_set[macro]) {
13124    # Preserve the white space surrounding the "#".
13125    print prefix "define", macro P[macro] D[macro]
13126    next
13127  } else {
13128    # Replace #undef with comments.  This is necessary, for example,
13129    # in the case of _POSIX_SOURCE, which is predefined and required
13130    # on some systems where configure will not decide to define it.
13131    if (defundef == "undef") {
13132      print "/*", prefix defundef, macro, "*/"
13133      next
13134    }
13135  }
13136}
13137{ print }
13138_ACAWK
13139_ACEOF
13140cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13141  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13142fi # test -n "$CONFIG_HEADERS"
13143
13144
13145eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13146shift
13147for ac_tag
13148do
13149  case $ac_tag in
13150  :[FHLC]) ac_mode=$ac_tag; continue;;
13151  esac
13152  case $ac_mode$ac_tag in
13153  :[FHL]*:*);;
13154  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13155  :[FH]-) ac_tag=-:-;;
13156  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13157  esac
13158  ac_save_IFS=$IFS
13159  IFS=:
13160  set x $ac_tag
13161  IFS=$ac_save_IFS
13162  shift
13163  ac_file=$1
13164  shift
13165
13166  case $ac_mode in
13167  :L) ac_source=$1;;
13168  :[FH])
13169    ac_file_inputs=
13170    for ac_f
13171    do
13172      case $ac_f in
13173      -) ac_f="$ac_tmp/stdin";;
13174      *) # Look for the file first in the build tree, then in the source tree
13175	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
13176	 # because $ac_f cannot contain `:'.
13177	 test -f "$ac_f" ||
13178	   case $ac_f in
13179	   [\\/$]*) false;;
13180	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13181	   esac ||
13182	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13183      esac
13184      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13185      as_fn_append ac_file_inputs " '$ac_f'"
13186    done
13187
13188    # Let's still pretend it is `configure' which instantiates (i.e., don't
13189    # use $as_me), people would be surprised to read:
13190    #    /* config.h.  Generated by config.status.  */
13191    configure_input='Generated from '`
13192	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13193	`' by configure.'
13194    if test x"$ac_file" != x-; then
13195      configure_input="$ac_file.  $configure_input"
13196      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13197$as_echo "$as_me: creating $ac_file" >&6;}
13198    fi
13199    # Neutralize special characters interpreted by sed in replacement strings.
13200    case $configure_input in #(
13201    *\&* | *\|* | *\\* )
13202       ac_sed_conf_input=`$as_echo "$configure_input" |
13203       sed 's/[\\\\&|]/\\\\&/g'`;; #(
13204    *) ac_sed_conf_input=$configure_input;;
13205    esac
13206
13207    case $ac_tag in
13208    *:-:* | *:-) cat >"$ac_tmp/stdin" \
13209      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13210    esac
13211    ;;
13212  esac
13213
13214  ac_dir=`$as_dirname -- "$ac_file" ||
13215$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13216	 X"$ac_file" : 'X\(//\)[^/]' \| \
13217	 X"$ac_file" : 'X\(//\)$' \| \
13218	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13219$as_echo X"$ac_file" |
13220    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13221	    s//\1/
13222	    q
13223	  }
13224	  /^X\(\/\/\)[^/].*/{
13225	    s//\1/
13226	    q
13227	  }
13228	  /^X\(\/\/\)$/{
13229	    s//\1/
13230	    q
13231	  }
13232	  /^X\(\/\).*/{
13233	    s//\1/
13234	    q
13235	  }
13236	  s/.*/./; q'`
13237  as_dir="$ac_dir"; as_fn_mkdir_p
13238  ac_builddir=.
13239
13240case "$ac_dir" in
13241.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13242*)
13243  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13244  # A ".." for each directory in $ac_dir_suffix.
13245  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13246  case $ac_top_builddir_sub in
13247  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13248  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13249  esac ;;
13250esac
13251ac_abs_top_builddir=$ac_pwd
13252ac_abs_builddir=$ac_pwd$ac_dir_suffix
13253# for backward compatibility:
13254ac_top_builddir=$ac_top_build_prefix
13255
13256case $srcdir in
13257  .)  # We are building in place.
13258    ac_srcdir=.
13259    ac_top_srcdir=$ac_top_builddir_sub
13260    ac_abs_top_srcdir=$ac_pwd ;;
13261  [\\/]* | ?:[\\/]* )  # Absolute name.
13262    ac_srcdir=$srcdir$ac_dir_suffix;
13263    ac_top_srcdir=$srcdir
13264    ac_abs_top_srcdir=$srcdir ;;
13265  *) # Relative name.
13266    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13267    ac_top_srcdir=$ac_top_build_prefix$srcdir
13268    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13269esac
13270ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13271
13272
13273  case $ac_mode in
13274  :F)
13275  #
13276  # CONFIG_FILE
13277  #
13278
13279  case $INSTALL in
13280  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13281  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13282  esac
13283  ac_MKDIR_P=$MKDIR_P
13284  case $MKDIR_P in
13285  [\\/$]* | ?:[\\/]* ) ;;
13286  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13287  esac
13288_ACEOF
13289
13290cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13291# If the template does not know about datarootdir, expand it.
13292# FIXME: This hack should be removed a few years after 2.60.
13293ac_datarootdir_hack=; ac_datarootdir_seen=
13294ac_sed_dataroot='
13295/datarootdir/ {
13296  p
13297  q
13298}
13299/@datadir@/p
13300/@docdir@/p
13301/@infodir@/p
13302/@localedir@/p
13303/@mandir@/p'
13304case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13305*datarootdir*) ac_datarootdir_seen=yes;;
13306*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13307  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13308$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13309_ACEOF
13310cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13311  ac_datarootdir_hack='
13312  s&@datadir@&$datadir&g
13313  s&@docdir@&$docdir&g
13314  s&@infodir@&$infodir&g
13315  s&@localedir@&$localedir&g
13316  s&@mandir@&$mandir&g
13317  s&\\\${datarootdir}&$datarootdir&g' ;;
13318esac
13319_ACEOF
13320
13321# Neutralize VPATH when `$srcdir' = `.'.
13322# Shell code in configure.ac might set extrasub.
13323# FIXME: do we really want to maintain this feature?
13324cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13325ac_sed_extra="$ac_vpsub
13326$extrasub
13327_ACEOF
13328cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13329:t
13330/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13331s|@configure_input@|$ac_sed_conf_input|;t t
13332s&@top_builddir@&$ac_top_builddir_sub&;t t
13333s&@top_build_prefix@&$ac_top_build_prefix&;t t
13334s&@srcdir@&$ac_srcdir&;t t
13335s&@abs_srcdir@&$ac_abs_srcdir&;t t
13336s&@top_srcdir@&$ac_top_srcdir&;t t
13337s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13338s&@builddir@&$ac_builddir&;t t
13339s&@abs_builddir@&$ac_abs_builddir&;t t
13340s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13341s&@INSTALL@&$ac_INSTALL&;t t
13342s&@MKDIR_P@&$ac_MKDIR_P&;t t
13343$ac_datarootdir_hack
13344"
13345eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13346  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13347
13348test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13349  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13350  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
13351      "$ac_tmp/out"`; test -z "$ac_out"; } &&
13352  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13353which seems to be undefined.  Please make sure it is defined" >&5
13354$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13355which seems to be undefined.  Please make sure it is defined" >&2;}
13356
13357  rm -f "$ac_tmp/stdin"
13358  case $ac_file in
13359  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13360  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13361  esac \
13362  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13363 ;;
13364  :H)
13365  #
13366  # CONFIG_HEADER
13367  #
13368  if test x"$ac_file" != x-; then
13369    {
13370      $as_echo "/* $configure_input  */" \
13371      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13372    } >"$ac_tmp/config.h" \
13373      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13374    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13375      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13376$as_echo "$as_me: $ac_file is unchanged" >&6;}
13377    else
13378      rm -f "$ac_file"
13379      mv "$ac_tmp/config.h" "$ac_file" \
13380	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
13381    fi
13382  else
13383    $as_echo "/* $configure_input  */" \
13384      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13385      || as_fn_error $? "could not create -" "$LINENO" 5
13386  fi
13387# Compute "$ac_file"'s index in $config_headers.
13388_am_arg="$ac_file"
13389_am_stamp_count=1
13390for _am_header in $config_headers :; do
13391  case $_am_header in
13392    $_am_arg | $_am_arg:* )
13393      break ;;
13394    * )
13395      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13396  esac
13397done
13398echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13399$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13400	 X"$_am_arg" : 'X\(//\)[^/]' \| \
13401	 X"$_am_arg" : 'X\(//\)$' \| \
13402	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13403$as_echo X"$_am_arg" |
13404    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13405	    s//\1/
13406	    q
13407	  }
13408	  /^X\(\/\/\)[^/].*/{
13409	    s//\1/
13410	    q
13411	  }
13412	  /^X\(\/\/\)$/{
13413	    s//\1/
13414	    q
13415	  }
13416	  /^X\(\/\).*/{
13417	    s//\1/
13418	    q
13419	  }
13420	  s/.*/./; q'`/stamp-h$_am_stamp_count
13421 ;;
13422
13423  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13424$as_echo "$as_me: executing $ac_file commands" >&6;}
13425 ;;
13426  esac
13427
13428
13429  case $ac_file$ac_mode in
13430    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13431  # Autoconf 2.62 quotes --file arguments for eval, but not when files
13432  # are listed without --file.  Let's play safe and only enable the eval
13433  # if we detect the quoting.
13434  case $CONFIG_FILES in
13435  *\'*) eval set x "$CONFIG_FILES" ;;
13436  *)   set x $CONFIG_FILES ;;
13437  esac
13438  shift
13439  for mf
13440  do
13441    # Strip MF so we end up with the name of the file.
13442    mf=`echo "$mf" | sed -e 's/:.*$//'`
13443    # Check whether this is an Automake generated Makefile or not.
13444    # We used to match only the files named `Makefile.in', but
13445    # some people rename them; so instead we look at the file content.
13446    # Grep'ing the first line is not enough: some people post-process
13447    # each Makefile.in and add a new line on top of each file to say so.
13448    # Grep'ing the whole file is not good either: AIX grep has a line
13449    # limit of 2048, but all sed's we know have understand at least 4000.
13450    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13451      dirpart=`$as_dirname -- "$mf" ||
13452$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13453	 X"$mf" : 'X\(//\)[^/]' \| \
13454	 X"$mf" : 'X\(//\)$' \| \
13455	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13456$as_echo X"$mf" |
13457    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13458	    s//\1/
13459	    q
13460	  }
13461	  /^X\(\/\/\)[^/].*/{
13462	    s//\1/
13463	    q
13464	  }
13465	  /^X\(\/\/\)$/{
13466	    s//\1/
13467	    q
13468	  }
13469	  /^X\(\/\).*/{
13470	    s//\1/
13471	    q
13472	  }
13473	  s/.*/./; q'`
13474    else
13475      continue
13476    fi
13477    # Extract the definition of DEPDIR, am__include, and am__quote
13478    # from the Makefile without running `make'.
13479    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13480    test -z "$DEPDIR" && continue
13481    am__include=`sed -n 's/^am__include = //p' < "$mf"`
13482    test -z "am__include" && continue
13483    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13484    # When using ansi2knr, U may be empty or an underscore; expand it
13485    U=`sed -n 's/^U = //p' < "$mf"`
13486    # Find all dependency output files, they are included files with
13487    # $(DEPDIR) in their names.  We invoke sed twice because it is the
13488    # simplest approach to changing $(DEPDIR) to its actual value in the
13489    # expansion.
13490    for file in `sed -n "
13491      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13492	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13493      # Make sure the directory exists.
13494      test -f "$dirpart/$file" && continue
13495      fdir=`$as_dirname -- "$file" ||
13496$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13497	 X"$file" : 'X\(//\)[^/]' \| \
13498	 X"$file" : 'X\(//\)$' \| \
13499	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13500$as_echo X"$file" |
13501    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13502	    s//\1/
13503	    q
13504	  }
13505	  /^X\(\/\/\)[^/].*/{
13506	    s//\1/
13507	    q
13508	  }
13509	  /^X\(\/\/\)$/{
13510	    s//\1/
13511	    q
13512	  }
13513	  /^X\(\/\).*/{
13514	    s//\1/
13515	    q
13516	  }
13517	  s/.*/./; q'`
13518      as_dir=$dirpart/$fdir; as_fn_mkdir_p
13519      # echo "creating $dirpart/$file"
13520      echo '# dummy' > "$dirpart/$file"
13521    done
13522  done
13523}
13524 ;;
13525    "libtool":C)
13526
13527    # See if we are running on zsh, and set the options which allow our
13528    # commands through without removal of \ escapes.
13529    if test -n "${ZSH_VERSION+set}" ; then
13530      setopt NO_GLOB_SUBST
13531    fi
13532
13533    cfgfile="${ofile}T"
13534    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13535    $RM "$cfgfile"
13536
13537    cat <<_LT_EOF >> "$cfgfile"
13538#! $SHELL
13539
13540# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13541# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13542# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13543# NOTE: Changes made to this file will be lost: look at ltmain.sh.
13544#
13545#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13546#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13547#                 Foundation, Inc.
13548#   Written by Gordon Matzigkeit, 1996
13549#
13550#   This file is part of GNU Libtool.
13551#
13552# GNU Libtool is free software; you can redistribute it and/or
13553# modify it under the terms of the GNU General Public License as
13554# published by the Free Software Foundation; either version 2 of
13555# the License, or (at your option) any later version.
13556#
13557# As a special exception to the GNU General Public License,
13558# if you distribute this file as part of a program or library that
13559# is built using GNU Libtool, you may include this file under the
13560# same distribution terms that you use for the rest of that program.
13561#
13562# GNU Libtool is distributed in the hope that it will be useful,
13563# but WITHOUT ANY WARRANTY; without even the implied warranty of
13564# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13565# GNU General Public License for more details.
13566#
13567# You should have received a copy of the GNU General Public License
13568# along with GNU Libtool; see the file COPYING.  If not, a copy
13569# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13570# obtained by writing to the Free Software Foundation, Inc.,
13571# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13572
13573
13574# The names of the tagged configurations supported by this script.
13575available_tags=""
13576
13577# ### BEGIN LIBTOOL CONFIG
13578
13579# Which release of libtool.m4 was used?
13580macro_version=$macro_version
13581macro_revision=$macro_revision
13582
13583# Whether or not to build shared libraries.
13584build_libtool_libs=$enable_shared
13585
13586# Whether or not to build static libraries.
13587build_old_libs=$enable_static
13588
13589# What type of objects to build.
13590pic_mode=$pic_mode
13591
13592# Whether or not to optimize for fast installation.
13593fast_install=$enable_fast_install
13594
13595# Shell to use when invoking shell scripts.
13596SHELL=$lt_SHELL
13597
13598# An echo program that protects backslashes.
13599ECHO=$lt_ECHO
13600
13601# The PATH separator for the build system.
13602PATH_SEPARATOR=$lt_PATH_SEPARATOR
13603
13604# The host system.
13605host_alias=$host_alias
13606host=$host
13607host_os=$host_os
13608
13609# The build system.
13610build_alias=$build_alias
13611build=$build
13612build_os=$build_os
13613
13614# A sed program that does not truncate output.
13615SED=$lt_SED
13616
13617# Sed that helps us avoid accidentally triggering echo(1) options like -n.
13618Xsed="\$SED -e 1s/^X//"
13619
13620# A grep program that handles long lines.
13621GREP=$lt_GREP
13622
13623# An ERE matcher.
13624EGREP=$lt_EGREP
13625
13626# A literal string matcher.
13627FGREP=$lt_FGREP
13628
13629# A BSD- or MS-compatible name lister.
13630NM=$lt_NM
13631
13632# Whether we need soft or hard links.
13633LN_S=$lt_LN_S
13634
13635# What is the maximum length of a command?
13636max_cmd_len=$max_cmd_len
13637
13638# Object file suffix (normally "o").
13639objext=$ac_objext
13640
13641# Executable file suffix (normally "").
13642exeext=$exeext
13643
13644# whether the shell understands "unset".
13645lt_unset=$lt_unset
13646
13647# turn spaces into newlines.
13648SP2NL=$lt_lt_SP2NL
13649
13650# turn newlines into spaces.
13651NL2SP=$lt_lt_NL2SP
13652
13653# convert \$build file names to \$host format.
13654to_host_file_cmd=$lt_cv_to_host_file_cmd
13655
13656# convert \$build files to toolchain format.
13657to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13658
13659# An object symbol dumper.
13660OBJDUMP=$lt_OBJDUMP
13661
13662# Method to check whether dependent libraries are shared objects.
13663deplibs_check_method=$lt_deplibs_check_method
13664
13665# Command to use when deplibs_check_method = "file_magic".
13666file_magic_cmd=$lt_file_magic_cmd
13667
13668# How to find potential files when deplibs_check_method = "file_magic".
13669file_magic_glob=$lt_file_magic_glob
13670
13671# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13672want_nocaseglob=$lt_want_nocaseglob
13673
13674# DLL creation program.
13675DLLTOOL=$lt_DLLTOOL
13676
13677# Command to associate shared and link libraries.
13678sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13679
13680# The archiver.
13681AR=$lt_AR
13682
13683# Flags to create an archive.
13684AR_FLAGS=$lt_AR_FLAGS
13685
13686# How to feed a file listing to the archiver.
13687archiver_list_spec=$lt_archiver_list_spec
13688
13689# A symbol stripping program.
13690STRIP=$lt_STRIP
13691
13692# Commands used to install an old-style archive.
13693RANLIB=$lt_RANLIB
13694old_postinstall_cmds=$lt_old_postinstall_cmds
13695old_postuninstall_cmds=$lt_old_postuninstall_cmds
13696
13697# Whether to use a lock for old archive extraction.
13698lock_old_archive_extraction=$lock_old_archive_extraction
13699
13700# A C compiler.
13701LTCC=$lt_CC
13702
13703# LTCC compiler flags.
13704LTCFLAGS=$lt_CFLAGS
13705
13706# Take the output of nm and produce a listing of raw symbols and C names.
13707global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13708
13709# Transform the output of nm in a proper C declaration.
13710global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13711
13712# Transform the output of nm in a C name address pair.
13713global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13714
13715# Transform the output of nm in a C name address pair when lib prefix is needed.
13716global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13717
13718# Specify filename containing input files for \$NM.
13719nm_file_list_spec=$lt_nm_file_list_spec
13720
13721# The root where to search for dependent libraries,and in which our libraries should be installed.
13722lt_sysroot=$lt_sysroot
13723
13724# The name of the directory that contains temporary libtool files.
13725objdir=$objdir
13726
13727# Used to examine libraries when file_magic_cmd begins with "file".
13728MAGIC_CMD=$MAGIC_CMD
13729
13730# Must we lock files when doing compilation?
13731need_locks=$lt_need_locks
13732
13733# Manifest tool.
13734MANIFEST_TOOL=$lt_MANIFEST_TOOL
13735
13736# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13737DSYMUTIL=$lt_DSYMUTIL
13738
13739# Tool to change global to local symbols on Mac OS X.
13740NMEDIT=$lt_NMEDIT
13741
13742# Tool to manipulate fat objects and archives on Mac OS X.
13743LIPO=$lt_LIPO
13744
13745# ldd/readelf like tool for Mach-O binaries on Mac OS X.
13746OTOOL=$lt_OTOOL
13747
13748# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13749OTOOL64=$lt_OTOOL64
13750
13751# Old archive suffix (normally "a").
13752libext=$libext
13753
13754# Shared library suffix (normally ".so").
13755shrext_cmds=$lt_shrext_cmds
13756
13757# The commands to extract the exported symbol list from a shared archive.
13758extract_expsyms_cmds=$lt_extract_expsyms_cmds
13759
13760# Variables whose values should be saved in libtool wrapper scripts and
13761# restored at link time.
13762variables_saved_for_relink=$lt_variables_saved_for_relink
13763
13764# Do we need the "lib" prefix for modules?
13765need_lib_prefix=$need_lib_prefix
13766
13767# Do we need a version for libraries?
13768need_version=$need_version
13769
13770# Library versioning type.
13771version_type=$version_type
13772
13773# Shared library runtime path variable.
13774runpath_var=$runpath_var
13775
13776# Shared library path variable.
13777shlibpath_var=$shlibpath_var
13778
13779# Is shlibpath searched before the hard-coded library search path?
13780shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13781
13782# Format of library name prefix.
13783libname_spec=$lt_libname_spec
13784
13785# List of archive names.  First name is the real one, the rest are links.
13786# The last name is the one that the linker finds with -lNAME
13787library_names_spec=$lt_library_names_spec
13788
13789# The coded name of the library, if different from the real name.
13790soname_spec=$lt_soname_spec
13791
13792# Permission mode override for installation of shared libraries.
13793install_override_mode=$lt_install_override_mode
13794
13795# Command to use after installation of a shared archive.
13796postinstall_cmds=$lt_postinstall_cmds
13797
13798# Command to use after uninstallation of a shared archive.
13799postuninstall_cmds=$lt_postuninstall_cmds
13800
13801# Commands used to finish a libtool library installation in a directory.
13802finish_cmds=$lt_finish_cmds
13803
13804# As "finish_cmds", except a single script fragment to be evaled but
13805# not shown.
13806finish_eval=$lt_finish_eval
13807
13808# Whether we should hardcode library paths into libraries.
13809hardcode_into_libs=$hardcode_into_libs
13810
13811# Compile-time system search path for libraries.
13812sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13813
13814# Run-time system search path for libraries.
13815sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13816
13817# Whether dlopen is supported.
13818dlopen_support=$enable_dlopen
13819
13820# Whether dlopen of programs is supported.
13821dlopen_self=$enable_dlopen_self
13822
13823# Whether dlopen of statically linked programs is supported.
13824dlopen_self_static=$enable_dlopen_self_static
13825
13826# Commands to strip libraries.
13827old_striplib=$lt_old_striplib
13828striplib=$lt_striplib
13829
13830
13831# The linker used to build libraries.
13832LD=$lt_LD
13833
13834# How to create reloadable object files.
13835reload_flag=$lt_reload_flag
13836reload_cmds=$lt_reload_cmds
13837
13838# Commands used to build an old-style archive.
13839old_archive_cmds=$lt_old_archive_cmds
13840
13841# A language specific compiler.
13842CC=$lt_compiler
13843
13844# Is the compiler the GNU compiler?
13845with_gcc=$GCC
13846
13847# Compiler flag to turn off builtin functions.
13848no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13849
13850# Additional compiler flags for building library objects.
13851pic_flag=$lt_lt_prog_compiler_pic
13852
13853# How to pass a linker flag through the compiler.
13854wl=$lt_lt_prog_compiler_wl
13855
13856# Compiler flag to prevent dynamic linking.
13857link_static_flag=$lt_lt_prog_compiler_static
13858
13859# Does compiler simultaneously support -c and -o options?
13860compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13861
13862# Whether or not to add -lc for building shared libraries.
13863build_libtool_need_lc=$archive_cmds_need_lc
13864
13865# Whether or not to disallow shared libs when runtime libs are static.
13866allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13867
13868# Compiler flag to allow reflexive dlopens.
13869export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13870
13871# Compiler flag to generate shared objects directly from archives.
13872whole_archive_flag_spec=$lt_whole_archive_flag_spec
13873
13874# Whether the compiler copes with passing no objects directly.
13875compiler_needs_object=$lt_compiler_needs_object
13876
13877# Create an old-style archive from a shared archive.
13878old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13879
13880# Create a temporary old-style archive to link instead of a shared archive.
13881old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13882
13883# Commands used to build a shared archive.
13884archive_cmds=$lt_archive_cmds
13885archive_expsym_cmds=$lt_archive_expsym_cmds
13886
13887# Commands used to build a loadable module if different from building
13888# a shared archive.
13889module_cmds=$lt_module_cmds
13890module_expsym_cmds=$lt_module_expsym_cmds
13891
13892# Whether we are building with GNU ld or not.
13893with_gnu_ld=$lt_with_gnu_ld
13894
13895# Flag that allows shared libraries with undefined symbols to be built.
13896allow_undefined_flag=$lt_allow_undefined_flag
13897
13898# Flag that enforces no undefined symbols.
13899no_undefined_flag=$lt_no_undefined_flag
13900
13901# Flag to hardcode \$libdir into a binary during linking.
13902# This must work even if \$libdir does not exist
13903hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13904
13905# Whether we need a single "-rpath" flag with a separated argument.
13906hardcode_libdir_separator=$lt_hardcode_libdir_separator
13907
13908# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13909# DIR into the resulting binary.
13910hardcode_direct=$hardcode_direct
13911
13912# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13913# DIR into the resulting binary and the resulting library dependency is
13914# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13915# library is relocated.
13916hardcode_direct_absolute=$hardcode_direct_absolute
13917
13918# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13919# into the resulting binary.
13920hardcode_minus_L=$hardcode_minus_L
13921
13922# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13923# into the resulting binary.
13924hardcode_shlibpath_var=$hardcode_shlibpath_var
13925
13926# Set to "yes" if building a shared library automatically hardcodes DIR
13927# into the library and all subsequent libraries and executables linked
13928# against it.
13929hardcode_automatic=$hardcode_automatic
13930
13931# Set to yes if linker adds runtime paths of dependent libraries
13932# to runtime path list.
13933inherit_rpath=$inherit_rpath
13934
13935# Whether libtool must link a program against all its dependency libraries.
13936link_all_deplibs=$link_all_deplibs
13937
13938# Set to "yes" if exported symbols are required.
13939always_export_symbols=$always_export_symbols
13940
13941# The commands to list exported symbols.
13942export_symbols_cmds=$lt_export_symbols_cmds
13943
13944# Symbols that should not be listed in the preloaded symbols.
13945exclude_expsyms=$lt_exclude_expsyms
13946
13947# Symbols that must always be exported.
13948include_expsyms=$lt_include_expsyms
13949
13950# Commands necessary for linking programs (against libraries) with templates.
13951prelink_cmds=$lt_prelink_cmds
13952
13953# Commands necessary for finishing linking programs.
13954postlink_cmds=$lt_postlink_cmds
13955
13956# Specify filename containing input files.
13957file_list_spec=$lt_file_list_spec
13958
13959# How to hardcode a shared library path into an executable.
13960hardcode_action=$hardcode_action
13961
13962# ### END LIBTOOL CONFIG
13963
13964_LT_EOF
13965
13966  case $host_os in
13967  aix3*)
13968    cat <<\_LT_EOF >> "$cfgfile"
13969# AIX sometimes has problems with the GCC collect2 program.  For some
13970# reason, if we set the COLLECT_NAMES environment variable, the problems
13971# vanish in a puff of smoke.
13972if test "X${COLLECT_NAMES+set}" != Xset; then
13973  COLLECT_NAMES=
13974  export COLLECT_NAMES
13975fi
13976_LT_EOF
13977    ;;
13978  esac
13979
13980
13981ltmain="$ac_aux_dir/ltmain.sh"
13982
13983
13984  # We use sed instead of cat because bash on DJGPP gets confused if
13985  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13986  # text mode, it properly converts lines to CR/LF.  This bash problem
13987  # is reportedly fixed, but why not run on old versions too?
13988  sed '$q' "$ltmain" >> "$cfgfile" \
13989     || (rm -f "$cfgfile"; exit 1)
13990
13991  if test x"$xsi_shell" = xyes; then
13992  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13993func_dirname ()\
13994{\
13995\    case ${1} in\
13996\      */*) func_dirname_result="${1%/*}${2}" ;;\
13997\      *  ) func_dirname_result="${3}" ;;\
13998\    esac\
13999} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14000  && mv -f "$cfgfile.tmp" "$cfgfile" \
14001    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14002test 0 -eq $? || _lt_function_replace_fail=:
14003
14004
14005  sed -e '/^func_basename ()$/,/^} # func_basename /c\
14006func_basename ()\
14007{\
14008\    func_basename_result="${1##*/}"\
14009} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14010  && mv -f "$cfgfile.tmp" "$cfgfile" \
14011    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14012test 0 -eq $? || _lt_function_replace_fail=:
14013
14014
14015  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14016func_dirname_and_basename ()\
14017{\
14018\    case ${1} in\
14019\      */*) func_dirname_result="${1%/*}${2}" ;;\
14020\      *  ) func_dirname_result="${3}" ;;\
14021\    esac\
14022\    func_basename_result="${1##*/}"\
14023} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14024  && mv -f "$cfgfile.tmp" "$cfgfile" \
14025    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14026test 0 -eq $? || _lt_function_replace_fail=:
14027
14028
14029  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14030func_stripname ()\
14031{\
14032\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14033\    # positional parameters, so assign one to ordinary parameter first.\
14034\    func_stripname_result=${3}\
14035\    func_stripname_result=${func_stripname_result#"${1}"}\
14036\    func_stripname_result=${func_stripname_result%"${2}"}\
14037} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14038  && mv -f "$cfgfile.tmp" "$cfgfile" \
14039    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14040test 0 -eq $? || _lt_function_replace_fail=:
14041
14042
14043  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14044func_split_long_opt ()\
14045{\
14046\    func_split_long_opt_name=${1%%=*}\
14047\    func_split_long_opt_arg=${1#*=}\
14048} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14049  && mv -f "$cfgfile.tmp" "$cfgfile" \
14050    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14051test 0 -eq $? || _lt_function_replace_fail=:
14052
14053
14054  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14055func_split_short_opt ()\
14056{\
14057\    func_split_short_opt_arg=${1#??}\
14058\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14059} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14060  && mv -f "$cfgfile.tmp" "$cfgfile" \
14061    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14062test 0 -eq $? || _lt_function_replace_fail=:
14063
14064
14065  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14066func_lo2o ()\
14067{\
14068\    case ${1} in\
14069\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14070\      *)    func_lo2o_result=${1} ;;\
14071\    esac\
14072} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14073  && mv -f "$cfgfile.tmp" "$cfgfile" \
14074    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14075test 0 -eq $? || _lt_function_replace_fail=:
14076
14077
14078  sed -e '/^func_xform ()$/,/^} # func_xform /c\
14079func_xform ()\
14080{\
14081    func_xform_result=${1%.*}.lo\
14082} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14083  && mv -f "$cfgfile.tmp" "$cfgfile" \
14084    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14085test 0 -eq $? || _lt_function_replace_fail=:
14086
14087
14088  sed -e '/^func_arith ()$/,/^} # func_arith /c\
14089func_arith ()\
14090{\
14091    func_arith_result=$(( $* ))\
14092} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14093  && mv -f "$cfgfile.tmp" "$cfgfile" \
14094    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14095test 0 -eq $? || _lt_function_replace_fail=:
14096
14097
14098  sed -e '/^func_len ()$/,/^} # func_len /c\
14099func_len ()\
14100{\
14101    func_len_result=${#1}\
14102} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14103  && mv -f "$cfgfile.tmp" "$cfgfile" \
14104    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14105test 0 -eq $? || _lt_function_replace_fail=:
14106
14107fi
14108
14109if test x"$lt_shell_append" = xyes; then
14110  sed -e '/^func_append ()$/,/^} # func_append /c\
14111func_append ()\
14112{\
14113    eval "${1}+=\\${2}"\
14114} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14115  && mv -f "$cfgfile.tmp" "$cfgfile" \
14116    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14117test 0 -eq $? || _lt_function_replace_fail=:
14118
14119
14120  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14121func_append_quoted ()\
14122{\
14123\    func_quote_for_eval "${2}"\
14124\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14125} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14126  && mv -f "$cfgfile.tmp" "$cfgfile" \
14127    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14128test 0 -eq $? || _lt_function_replace_fail=:
14129
14130
14131  # Save a `func_append' function call where possible by direct use of '+='
14132  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14133    && mv -f "$cfgfile.tmp" "$cfgfile" \
14134      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14135  test 0 -eq $? || _lt_function_replace_fail=:
14136else
14137  # Save a `func_append' function call even when '+=' is not available
14138  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14139    && mv -f "$cfgfile.tmp" "$cfgfile" \
14140      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14141  test 0 -eq $? || _lt_function_replace_fail=:
14142fi
14143
14144if test x"$_lt_function_replace_fail" = x":"; then
14145  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14146$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14147fi
14148
14149
14150   mv -f "$cfgfile" "$ofile" ||
14151    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14152  chmod +x "$ofile"
14153
14154 ;;
14155
14156  esac
14157done # for ac_tag
14158
14159
14160as_fn_exit 0
14161_ACEOF
14162ac_clean_files=$ac_clean_files_save
14163
14164test $ac_write_fail = 0 ||
14165  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14166
14167
14168# configure is writing to config.log, and then calls config.status.
14169# config.status does its own redirection, appending to config.log.
14170# Unfortunately, on DOS this fails, as config.log is still kept open
14171# by configure, so config.status won't be able to write to it; its
14172# output is simply discarded.  So we exec the FD to /dev/null,
14173# effectively closing config.log, so it can be properly (re)opened and
14174# appended to by config.status.  When coming back to configure, we
14175# need to make the FD available again.
14176if test "$no_create" != yes; then
14177  ac_cs_success=:
14178  ac_config_status_args=
14179  test "$silent" = yes &&
14180    ac_config_status_args="$ac_config_status_args --quiet"
14181  exec 5>/dev/null
14182  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14183  exec 5>>config.log
14184  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14185  # would make configure fail if this is the last instruction.
14186  $ac_cs_success || as_fn_exit 1
14187fi
14188if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14189  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14190$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14191fi
14192
14193