1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for PCRE 8.31.
4#
5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8# 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
137if test "x$CONFIG_SHELL" = x; then
138  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139  emulate sh
140  NULLCMD=:
141  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142  # is contrary to our usage.  Disable this feature.
143  alias -g '\${1+\"\$@\"}'='\"\$@\"'
144  setopt NO_GLOB_SUBST
145else
146  case \`(set -o) 2>/dev/null\` in #(
147  *posix*) :
148    set -o posix ;; #(
149  *) :
150     ;;
151esac
152fi
153"
154  as_required="as_fn_return () { (exit \$1); }
155as_fn_success () { as_fn_return 0; }
156as_fn_failure () { as_fn_return 1; }
157as_fn_ret_success () { return 0; }
158as_fn_ret_failure () { return 1; }
159
160exitcode=0
161as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167else
168  exitcode=1; echo positional parameters were not saved.
169fi
170test x\$exitcode = x0 || exit 1"
171  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175test \$(( 1 + 1 )) = 2 || exit 1
176
177  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181    PATH=/empty FPATH=/empty; export PATH FPATH
182    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
184  if (eval "$as_required") 2>/dev/null; then :
185  as_have_required=yes
186else
187  as_have_required=no
188fi
189  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
190
191else
192  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
193as_found=false
194for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
195do
196  IFS=$as_save_IFS
197  test -z "$as_dir" && as_dir=.
198  as_found=:
199  case $as_dir in #(
200	 /*)
201	   for as_base in sh bash ksh sh5; do
202	     # Try only shells that exist, to save several forks.
203	     as_shell=$as_dir/$as_base
204	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206  CONFIG_SHELL=$as_shell as_have_required=yes
207		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208  break 2
209fi
210fi
211	   done;;
212       esac
213  as_found=false
214done
215$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217  CONFIG_SHELL=$SHELL as_have_required=yes
218fi; }
219IFS=$as_save_IFS
220
221
222      if test "x$CONFIG_SHELL" != x; then :
223  # We cannot yet assume a decent shell, so we have to provide a
224	# neutralization value for shells without unset; and this also
225	# works around shells that cannot unset nonexistent variables.
226	# Preserve -v and -x to the replacement shell.
227	BASH_ENV=/dev/null
228	ENV=/dev/null
229	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230	export CONFIG_SHELL
231	case $- in # ((((
232	  *v*x* | *x*v* ) as_opts=-vx ;;
233	  *v* ) as_opts=-v ;;
234	  *x* ) as_opts=-x ;;
235	  * ) as_opts= ;;
236	esac
237	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
238fi
239
240    if test x$as_have_required = xno; then :
241  $as_echo "$0: This script requires a shell more modern than all"
242  $as_echo "$0: the shells that I found on your system."
243  if test x${ZSH_VERSION+set} = xset ; then
244    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
246  else
247    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248$0: including any error possibly output before this
249$0: message. Then install a modern shell, or manually run
250$0: the script under such a shell if you do have one."
251  fi
252  exit 1
253fi
254fi
255fi
256SHELL=${CONFIG_SHELL-/bin/sh}
257export SHELL
258# Unset more variables known to interfere with behavior of common tools.
259CLICOLOR_FORCE= GREP_OPTIONS=
260unset CLICOLOR_FORCE GREP_OPTIONS
261
262## --------------------- ##
263## M4sh Shell Functions. ##
264## --------------------- ##
265# as_fn_unset VAR
266# ---------------
267# Portably unset VAR.
268as_fn_unset ()
269{
270  { eval $1=; unset $1;}
271}
272as_unset=as_fn_unset
273
274# as_fn_set_status STATUS
275# -----------------------
276# Set $? to STATUS, without forking.
277as_fn_set_status ()
278{
279  return $1
280} # as_fn_set_status
281
282# as_fn_exit STATUS
283# -----------------
284# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
285as_fn_exit ()
286{
287  set +e
288  as_fn_set_status $1
289  exit $1
290} # as_fn_exit
291
292# as_fn_mkdir_p
293# -------------
294# Create "$as_dir" as a directory, including parents if necessary.
295as_fn_mkdir_p ()
296{
297
298  case $as_dir in #(
299  -*) as_dir=./$as_dir;;
300  esac
301  test -d "$as_dir" || eval $as_mkdir_p || {
302    as_dirs=
303    while :; do
304      case $as_dir in #(
305      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
306      *) as_qdir=$as_dir;;
307      esac
308      as_dirs="'$as_qdir' $as_dirs"
309      as_dir=`$as_dirname -- "$as_dir" ||
310$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311	 X"$as_dir" : 'X\(//\)[^/]' \| \
312	 X"$as_dir" : 'X\(//\)$' \| \
313	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314$as_echo X"$as_dir" |
315    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316	    s//\1/
317	    q
318	  }
319	  /^X\(\/\/\)[^/].*/{
320	    s//\1/
321	    q
322	  }
323	  /^X\(\/\/\)$/{
324	    s//\1/
325	    q
326	  }
327	  /^X\(\/\).*/{
328	    s//\1/
329	    q
330	  }
331	  s/.*/./; q'`
332      test -d "$as_dir" && break
333    done
334    test -z "$as_dirs" || eval "mkdir $as_dirs"
335  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
336
337
338} # as_fn_mkdir_p
339# as_fn_append VAR VALUE
340# ----------------------
341# Append the text in VALUE to the end of the definition contained in VAR. Take
342# advantage of any shell optimizations that allow amortized linear growth over
343# repeated appends, instead of the typical quadratic growth present in naive
344# implementations.
345if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346  eval 'as_fn_append ()
347  {
348    eval $1+=\$2
349  }'
350else
351  as_fn_append ()
352  {
353    eval $1=\$$1\$2
354  }
355fi # as_fn_append
356
357# as_fn_arith ARG...
358# ------------------
359# Perform arithmetic evaluation on the ARGs, and store the result in the
360# global $as_val. Take advantage of shells that can avoid forks. The arguments
361# must be portable across $(()) and expr.
362if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
363  eval 'as_fn_arith ()
364  {
365    as_val=$(( $* ))
366  }'
367else
368  as_fn_arith ()
369  {
370    as_val=`expr "$@" || test $? -eq 1`
371  }
372fi # as_fn_arith
373
374
375# as_fn_error STATUS ERROR [LINENO LOG_FD]
376# ----------------------------------------
377# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379# script with STATUS, using 1 if that was 0.
380as_fn_error ()
381{
382  as_status=$1; test $as_status -eq 0 && as_status=1
383  if test "$4"; then
384    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
386  fi
387  $as_echo "$as_me: error: $2" >&2
388  as_fn_exit $as_status
389} # as_fn_error
390
391if expr a : '\(a\)' >/dev/null 2>&1 &&
392   test "X`expr 00001 : '.*\(...\)'`" = X001; then
393  as_expr=expr
394else
395  as_expr=false
396fi
397
398if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399  as_basename=basename
400else
401  as_basename=false
402fi
403
404if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405  as_dirname=dirname
406else
407  as_dirname=false
408fi
409
410as_me=`$as_basename -- "$0" ||
411$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412	 X"$0" : 'X\(//\)$' \| \
413	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
414$as_echo X/"$0" |
415    sed '/^.*\/\([^/][^/]*\)\/*$/{
416	    s//\1/
417	    q
418	  }
419	  /^X\/\(\/\/\)$/{
420	    s//\1/
421	    q
422	  }
423	  /^X\/\(\/\).*/{
424	    s//\1/
425	    q
426	  }
427	  s/.*/./; q'`
428
429# Avoid depending upon Character Ranges.
430as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433as_cr_digits='0123456789'
434as_cr_alnum=$as_cr_Letters$as_cr_digits
435
436
437  as_lineno_1=$LINENO as_lineno_1a=$LINENO
438  as_lineno_2=$LINENO as_lineno_2a=$LINENO
439  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
442  sed -n '
443    p
444    /[$]LINENO/=
445  ' <$as_myself |
446    sed '
447      s/[$]LINENO.*/&-/
448      t lineno
449      b
450      :lineno
451      N
452      :loop
453      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454      t loop
455      s/-\n.*//
456    ' >$as_me.lineno &&
457  chmod +x "$as_me.lineno" ||
458    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
459
460  # Don't try to exec as it changes $[0], causing all sort of problems
461  # (the dirname of $[0] is not the place where we might find the
462  # original and so on.  Autoconf is especially sensitive to this).
463  . "./$as_me.lineno"
464  # Exit status is that of the last command.
465  exit
466}
467
468ECHO_C= ECHO_N= ECHO_T=
469case `echo -n x` in #(((((
470-n*)
471  case `echo 'xy\c'` in
472  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
473  xy)  ECHO_C='\c';;
474  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
475       ECHO_T='	';;
476  esac;;
477*)
478  ECHO_N='-n';;
479esac
480
481rm -f conf$$ conf$$.exe conf$$.file
482if test -d conf$$.dir; then
483  rm -f conf$$.dir/conf$$.file
484else
485  rm -f conf$$.dir
486  mkdir conf$$.dir 2>/dev/null
487fi
488if (echo >conf$$.file) 2>/dev/null; then
489  if ln -s conf$$.file conf$$ 2>/dev/null; then
490    as_ln_s='ln -s'
491    # ... but there are two gotchas:
492    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494    # In both cases, we have to default to `cp -p'.
495    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
496      as_ln_s='cp -p'
497  elif ln conf$$.file conf$$ 2>/dev/null; then
498    as_ln_s=ln
499  else
500    as_ln_s='cp -p'
501  fi
502else
503  as_ln_s='cp -p'
504fi
505rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506rmdir conf$$.dir 2>/dev/null
507
508if mkdir -p . 2>/dev/null; then
509  as_mkdir_p='mkdir -p "$as_dir"'
510else
511  test -d ./-p && rmdir ./-p
512  as_mkdir_p=false
513fi
514
515if test -x / >/dev/null 2>&1; then
516  as_test_x='test -x'
517else
518  if ls -dL / >/dev/null 2>&1; then
519    as_ls_L_option=L
520  else
521    as_ls_L_option=
522  fi
523  as_test_x='
524    eval sh -c '\''
525      if test -d "$1"; then
526	test -d "$1/.";
527      else
528	case $1 in #(
529	-*)set "./$1";;
530	esac;
531	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532	???[sx]*):;;*)false;;esac;fi
533    '\'' sh
534  '
535fi
536as_executable_p=$as_test_x
537
538# Sed expression to map a string onto a valid CPP name.
539as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
540
541# Sed expression to map a string onto a valid variable name.
542as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
543
544SHELL=${CONFIG_SHELL-/bin/sh}
545
546
547test -n "$DJDIR" || exec 7<&0 </dev/null
548exec 6>&1
549
550# Name of the host.
551# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552# so uname gets run too.
553ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
554
555#
556# Initializations.
557#
558ac_default_prefix=/usr/local
559ac_clean_files=
560ac_config_libobj_dir=.
561LIBOBJS=
562cross_compiling=no
563subdirs=
564MFLAGS=
565MAKEFLAGS=
566
567# Identity of this package.
568PACKAGE_NAME='PCRE'
569PACKAGE_TARNAME='pcre'
570PACKAGE_VERSION='8.31'
571PACKAGE_STRING='PCRE 8.31'
572PACKAGE_BUGREPORT=''
573PACKAGE_URL=''
574
575ac_unique_file="pcre.h.in"
576# Factoring default headers for most tests.
577ac_includes_default="\
578#include <stdio.h>
579#ifdef HAVE_SYS_TYPES_H
580# include <sys/types.h>
581#endif
582#ifdef HAVE_SYS_STAT_H
583# include <sys/stat.h>
584#endif
585#ifdef STDC_HEADERS
586# include <stdlib.h>
587# include <stddef.h>
588#else
589# ifdef HAVE_STDLIB_H
590#  include <stdlib.h>
591# endif
592#endif
593#ifdef HAVE_STRING_H
594# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
595#  include <memory.h>
596# endif
597# include <string.h>
598#endif
599#ifdef HAVE_STRINGS_H
600# include <strings.h>
601#endif
602#ifdef HAVE_INTTYPES_H
603# include <inttypes.h>
604#endif
605#ifdef HAVE_STDINT_H
606# include <stdint.h>
607#endif
608#ifdef HAVE_UNISTD_H
609# include <unistd.h>
610#endif"
611
612ac_subst_vars='am__EXEEXT_FALSE
613am__EXEEXT_TRUE
614LTLIBOBJS
615LIBOBJS
616LIBBZ2
617LIBZ
618DISTCHECK_CONFIGURE_FLAGS
619EXTRA_LIBPCRECPP_LDFLAGS
620EXTRA_LIBPCREPOSIX_LDFLAGS
621EXTRA_LIBPCRE16_LDFLAGS
622EXTRA_LIBPCRE_LDFLAGS
623PCRE_STATIC_CFLAG
624LIBREADLINE
625WITH_UTF_FALSE
626WITH_UTF_TRUE
627WITH_JIT_FALSE
628WITH_JIT_TRUE
629WITH_REBUILD_CHARTABLES_FALSE
630WITH_REBUILD_CHARTABLES_TRUE
631WITH_PCRE_CPP_FALSE
632WITH_PCRE_CPP_TRUE
633WITH_PCRE16_FALSE
634WITH_PCRE16_TRUE
635WITH_PCRE8_FALSE
636WITH_PCRE8_TRUE
637pcre_have_bits_type_traits
638pcre_have_type_traits
639pcre_have_ulong_long
640pcre_have_long_long
641enable_cpp
642enable_pcre16
643enable_pcre8
644PCRE_DATE
645PCRE_PRERELEASE
646PCRE_MINOR
647PCRE_MAJOR
648CXXCPP
649OTOOL64
650OTOOL
651LIPO
652NMEDIT
653DSYMUTIL
654MANIFEST_TOOL
655RANLIB
656ac_ct_AR
657AR
658LN_S
659NM
660ac_ct_DUMPBIN
661DUMPBIN
662LD
663FGREP
664SED
665LIBTOOL
666OBJDUMP
667DLLTOOL
668AS
669host_os
670host_vendor
671host_cpu
672host
673build_os
674build_vendor
675build_cpu
676build
677EGREP
678GREP
679CPP
680am__fastdepCXX_FALSE
681am__fastdepCXX_TRUE
682CXXDEPMODE
683ac_ct_CXX
684CXXFLAGS
685CXX
686am__fastdepCC_FALSE
687am__fastdepCC_TRUE
688CCDEPMODE
689AMDEPBACKSLASH
690AMDEP_FALSE
691AMDEP_TRUE
692am__quote
693am__include
694DEPDIR
695OBJEXT
696EXEEXT
697ac_ct_CC
698CPPFLAGS
699LDFLAGS
700CFLAGS
701CC
702AM_BACKSLASH
703AM_DEFAULT_VERBOSITY
704am__untar
705am__tar
706AMTAR
707am__leading_dot
708SET_MAKE
709AWK
710mkdir_p
711MKDIR_P
712INSTALL_STRIP_PROGRAM
713STRIP
714install_sh
715MAKEINFO
716AUTOHEADER
717AUTOMAKE
718AUTOCONF
719ACLOCAL
720VERSION
721PACKAGE
722CYGPATH_W
723am__isrc
724INSTALL_DATA
725INSTALL_SCRIPT
726INSTALL_PROGRAM
727target_alias
728host_alias
729build_alias
730LIBS
731ECHO_T
732ECHO_N
733ECHO_C
734DEFS
735mandir
736localedir
737libdir
738psdir
739pdfdir
740dvidir
741htmldir
742infodir
743docdir
744oldincludedir
745includedir
746localstatedir
747sharedstatedir
748sysconfdir
749datadir
750datarootdir
751libexecdir
752sbindir
753bindir
754program_transform_name
755prefix
756exec_prefix
757PACKAGE_URL
758PACKAGE_BUGREPORT
759PACKAGE_STRING
760PACKAGE_VERSION
761PACKAGE_TARNAME
762PACKAGE_NAME
763PATH_SEPARATOR
764SHELL'
765ac_subst_files=''
766ac_user_opts='
767enable_option_checking
768enable_silent_rules
769enable_dependency_tracking
770enable_shared
771enable_static
772with_pic
773enable_fast_install
774with_gnu_ld
775with_sysroot
776enable_libtool_lock
777enable_pcre8
778enable_pcre16
779enable_cpp
780enable_jit
781enable_pcregrep_jit
782enable_rebuild_chartables
783enable_utf8
784enable_utf
785enable_unicode_properties
786enable_newline_is_cr
787enable_newline_is_lf
788enable_newline_is_crlf
789enable_newline_is_anycrlf
790enable_newline_is_any
791enable_bsr_anycrlf
792enable_ebcdic
793enable_stack_for_recursion
794enable_pcregrep_libz
795enable_pcregrep_libbz2
796with_pcregrep_bufsize
797enable_pcretest_libedit
798enable_pcretest_libreadline
799with_posix_malloc_threshold
800with_link_size
801with_match_limit
802with_match_limit_recursion
803'
804      ac_precious_vars='build_alias
805host_alias
806target_alias
807CC
808CFLAGS
809LDFLAGS
810LIBS
811CPPFLAGS
812CXX
813CXXFLAGS
814CCC
815CPP
816CXXCPP'
817
818
819# Initialize some variables set by options.
820ac_init_help=
821ac_init_version=false
822ac_unrecognized_opts=
823ac_unrecognized_sep=
824# The variables have the same names as the options, with
825# dashes changed to underlines.
826cache_file=/dev/null
827exec_prefix=NONE
828no_create=
829no_recursion=
830prefix=NONE
831program_prefix=NONE
832program_suffix=NONE
833program_transform_name=s,x,x,
834silent=
835site=
836srcdir=
837verbose=
838x_includes=NONE
839x_libraries=NONE
840
841# Installation directory options.
842# These are left unexpanded so users can "make install exec_prefix=/foo"
843# and all the variables that are supposed to be based on exec_prefix
844# by default will actually change.
845# Use braces instead of parens because sh, perl, etc. also accept them.
846# (The list follows the same order as the GNU Coding Standards.)
847bindir='${exec_prefix}/bin'
848sbindir='${exec_prefix}/sbin'
849libexecdir='${exec_prefix}/libexec'
850datarootdir='${prefix}/share'
851datadir='${datarootdir}'
852sysconfdir='${prefix}/etc'
853sharedstatedir='${prefix}/com'
854localstatedir='${prefix}/var'
855includedir='${prefix}/include'
856oldincludedir='/usr/include'
857docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
858infodir='${datarootdir}/info'
859htmldir='${docdir}'
860dvidir='${docdir}'
861pdfdir='${docdir}'
862psdir='${docdir}'
863libdir='${exec_prefix}/lib'
864localedir='${datarootdir}/locale'
865mandir='${datarootdir}/man'
866
867ac_prev=
868ac_dashdash=
869for ac_option
870do
871  # If the previous option needs an argument, assign it.
872  if test -n "$ac_prev"; then
873    eval $ac_prev=\$ac_option
874    ac_prev=
875    continue
876  fi
877
878  case $ac_option in
879  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
880  *=)   ac_optarg= ;;
881  *)    ac_optarg=yes ;;
882  esac
883
884  # Accept the important Cygnus configure options, so we can diagnose typos.
885
886  case $ac_dashdash$ac_option in
887  --)
888    ac_dashdash=yes ;;
889
890  -bindir | --bindir | --bindi | --bind | --bin | --bi)
891    ac_prev=bindir ;;
892  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
893    bindir=$ac_optarg ;;
894
895  -build | --build | --buil | --bui | --bu)
896    ac_prev=build_alias ;;
897  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
898    build_alias=$ac_optarg ;;
899
900  -cache-file | --cache-file | --cache-fil | --cache-fi \
901  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
902    ac_prev=cache_file ;;
903  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
904  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
905    cache_file=$ac_optarg ;;
906
907  --config-cache | -C)
908    cache_file=config.cache ;;
909
910  -datadir | --datadir | --datadi | --datad)
911    ac_prev=datadir ;;
912  -datadir=* | --datadir=* | --datadi=* | --datad=*)
913    datadir=$ac_optarg ;;
914
915  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
916  | --dataroo | --dataro | --datar)
917    ac_prev=datarootdir ;;
918  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
919  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
920    datarootdir=$ac_optarg ;;
921
922  -disable-* | --disable-*)
923    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
924    # Reject names that are not valid shell variable names.
925    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
926      as_fn_error $? "invalid feature name: $ac_useropt"
927    ac_useropt_orig=$ac_useropt
928    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929    case $ac_user_opts in
930      *"
931"enable_$ac_useropt"
932"*) ;;
933      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
934	 ac_unrecognized_sep=', ';;
935    esac
936    eval enable_$ac_useropt=no ;;
937
938  -docdir | --docdir | --docdi | --doc | --do)
939    ac_prev=docdir ;;
940  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
941    docdir=$ac_optarg ;;
942
943  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
944    ac_prev=dvidir ;;
945  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
946    dvidir=$ac_optarg ;;
947
948  -enable-* | --enable-*)
949    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
950    # Reject names that are not valid shell variable names.
951    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
952      as_fn_error $? "invalid feature name: $ac_useropt"
953    ac_useropt_orig=$ac_useropt
954    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955    case $ac_user_opts in
956      *"
957"enable_$ac_useropt"
958"*) ;;
959      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
960	 ac_unrecognized_sep=', ';;
961    esac
962    eval enable_$ac_useropt=\$ac_optarg ;;
963
964  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
965  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
966  | --exec | --exe | --ex)
967    ac_prev=exec_prefix ;;
968  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
969  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
970  | --exec=* | --exe=* | --ex=*)
971    exec_prefix=$ac_optarg ;;
972
973  -gas | --gas | --ga | --g)
974    # Obsolete; use --with-gas.
975    with_gas=yes ;;
976
977  -help | --help | --hel | --he | -h)
978    ac_init_help=long ;;
979  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
980    ac_init_help=recursive ;;
981  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
982    ac_init_help=short ;;
983
984  -host | --host | --hos | --ho)
985    ac_prev=host_alias ;;
986  -host=* | --host=* | --hos=* | --ho=*)
987    host_alias=$ac_optarg ;;
988
989  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
990    ac_prev=htmldir ;;
991  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
992  | --ht=*)
993    htmldir=$ac_optarg ;;
994
995  -includedir | --includedir | --includedi | --included | --include \
996  | --includ | --inclu | --incl | --inc)
997    ac_prev=includedir ;;
998  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
999  | --includ=* | --inclu=* | --incl=* | --inc=*)
1000    includedir=$ac_optarg ;;
1001
1002  -infodir | --infodir | --infodi | --infod | --info | --inf)
1003    ac_prev=infodir ;;
1004  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1005    infodir=$ac_optarg ;;
1006
1007  -libdir | --libdir | --libdi | --libd)
1008    ac_prev=libdir ;;
1009  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1010    libdir=$ac_optarg ;;
1011
1012  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1013  | --libexe | --libex | --libe)
1014    ac_prev=libexecdir ;;
1015  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1016  | --libexe=* | --libex=* | --libe=*)
1017    libexecdir=$ac_optarg ;;
1018
1019  -localedir | --localedir | --localedi | --localed | --locale)
1020    ac_prev=localedir ;;
1021  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1022    localedir=$ac_optarg ;;
1023
1024  -localstatedir | --localstatedir | --localstatedi | --localstated \
1025  | --localstate | --localstat | --localsta | --localst | --locals)
1026    ac_prev=localstatedir ;;
1027  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1028  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1029    localstatedir=$ac_optarg ;;
1030
1031  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1032    ac_prev=mandir ;;
1033  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1034    mandir=$ac_optarg ;;
1035
1036  -nfp | --nfp | --nf)
1037    # Obsolete; use --without-fp.
1038    with_fp=no ;;
1039
1040  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1041  | --no-cr | --no-c | -n)
1042    no_create=yes ;;
1043
1044  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1045  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1046    no_recursion=yes ;;
1047
1048  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1049  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1050  | --oldin | --oldi | --old | --ol | --o)
1051    ac_prev=oldincludedir ;;
1052  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1053  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1054  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1055    oldincludedir=$ac_optarg ;;
1056
1057  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1058    ac_prev=prefix ;;
1059  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1060    prefix=$ac_optarg ;;
1061
1062  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1063  | --program-pre | --program-pr | --program-p)
1064    ac_prev=program_prefix ;;
1065  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1066  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1067    program_prefix=$ac_optarg ;;
1068
1069  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1070  | --program-suf | --program-su | --program-s)
1071    ac_prev=program_suffix ;;
1072  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1073  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1074    program_suffix=$ac_optarg ;;
1075
1076  -program-transform-name | --program-transform-name \
1077  | --program-transform-nam | --program-transform-na \
1078  | --program-transform-n | --program-transform- \
1079  | --program-transform | --program-transfor \
1080  | --program-transfo | --program-transf \
1081  | --program-trans | --program-tran \
1082  | --progr-tra | --program-tr | --program-t)
1083    ac_prev=program_transform_name ;;
1084  -program-transform-name=* | --program-transform-name=* \
1085  | --program-transform-nam=* | --program-transform-na=* \
1086  | --program-transform-n=* | --program-transform-=* \
1087  | --program-transform=* | --program-transfor=* \
1088  | --program-transfo=* | --program-transf=* \
1089  | --program-trans=* | --program-tran=* \
1090  | --progr-tra=* | --program-tr=* | --program-t=*)
1091    program_transform_name=$ac_optarg ;;
1092
1093  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1094    ac_prev=pdfdir ;;
1095  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1096    pdfdir=$ac_optarg ;;
1097
1098  -psdir | --psdir | --psdi | --psd | --ps)
1099    ac_prev=psdir ;;
1100  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1101    psdir=$ac_optarg ;;
1102
1103  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1104  | -silent | --silent | --silen | --sile | --sil)
1105    silent=yes ;;
1106
1107  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1108    ac_prev=sbindir ;;
1109  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1110  | --sbi=* | --sb=*)
1111    sbindir=$ac_optarg ;;
1112
1113  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1114  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1115  | --sharedst | --shareds | --shared | --share | --shar \
1116  | --sha | --sh)
1117    ac_prev=sharedstatedir ;;
1118  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1119  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1120  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1121  | --sha=* | --sh=*)
1122    sharedstatedir=$ac_optarg ;;
1123
1124  -site | --site | --sit)
1125    ac_prev=site ;;
1126  -site=* | --site=* | --sit=*)
1127    site=$ac_optarg ;;
1128
1129  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1130    ac_prev=srcdir ;;
1131  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1132    srcdir=$ac_optarg ;;
1133
1134  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1135  | --syscon | --sysco | --sysc | --sys | --sy)
1136    ac_prev=sysconfdir ;;
1137  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1138  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1139    sysconfdir=$ac_optarg ;;
1140
1141  -target | --target | --targe | --targ | --tar | --ta | --t)
1142    ac_prev=target_alias ;;
1143  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1144    target_alias=$ac_optarg ;;
1145
1146  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1147    verbose=yes ;;
1148
1149  -version | --version | --versio | --versi | --vers | -V)
1150    ac_init_version=: ;;
1151
1152  -with-* | --with-*)
1153    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1154    # Reject names that are not valid shell variable names.
1155    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1156      as_fn_error $? "invalid package name: $ac_useropt"
1157    ac_useropt_orig=$ac_useropt
1158    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159    case $ac_user_opts in
1160      *"
1161"with_$ac_useropt"
1162"*) ;;
1163      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1164	 ac_unrecognized_sep=', ';;
1165    esac
1166    eval with_$ac_useropt=\$ac_optarg ;;
1167
1168  -without-* | --without-*)
1169    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1170    # Reject names that are not valid shell variable names.
1171    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1172      as_fn_error $? "invalid package name: $ac_useropt"
1173    ac_useropt_orig=$ac_useropt
1174    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175    case $ac_user_opts in
1176      *"
1177"with_$ac_useropt"
1178"*) ;;
1179      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1180	 ac_unrecognized_sep=', ';;
1181    esac
1182    eval with_$ac_useropt=no ;;
1183
1184  --x)
1185    # Obsolete; use --with-x.
1186    with_x=yes ;;
1187
1188  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1189  | --x-incl | --x-inc | --x-in | --x-i)
1190    ac_prev=x_includes ;;
1191  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1192  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1193    x_includes=$ac_optarg ;;
1194
1195  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1196  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1197    ac_prev=x_libraries ;;
1198  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1199  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1200    x_libraries=$ac_optarg ;;
1201
1202  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1203Try \`$0 --help' for more information"
1204    ;;
1205
1206  *=*)
1207    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1208    # Reject names that are not valid shell variable names.
1209    case $ac_envvar in #(
1210      '' | [0-9]* | *[!_$as_cr_alnum]* )
1211      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1212    esac
1213    eval $ac_envvar=\$ac_optarg
1214    export $ac_envvar ;;
1215
1216  *)
1217    # FIXME: should be removed in autoconf 3.0.
1218    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1219    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1220      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1221    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1222    ;;
1223
1224  esac
1225done
1226
1227if test -n "$ac_prev"; then
1228  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1229  as_fn_error $? "missing argument to $ac_option"
1230fi
1231
1232if test -n "$ac_unrecognized_opts"; then
1233  case $enable_option_checking in
1234    no) ;;
1235    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1236    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1237  esac
1238fi
1239
1240# Check all directory arguments for consistency.
1241for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1242		datadir sysconfdir sharedstatedir localstatedir includedir \
1243		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1244		libdir localedir mandir
1245do
1246  eval ac_val=\$$ac_var
1247  # Remove trailing slashes.
1248  case $ac_val in
1249    */ )
1250      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1251      eval $ac_var=\$ac_val;;
1252  esac
1253  # Be sure to have absolute directory names.
1254  case $ac_val in
1255    [\\/$]* | ?:[\\/]* )  continue;;
1256    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1257  esac
1258  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1259done
1260
1261# There might be people who depend on the old broken behavior: `$host'
1262# used to hold the argument of --host etc.
1263# FIXME: To remove some day.
1264build=$build_alias
1265host=$host_alias
1266target=$target_alias
1267
1268# FIXME: To remove some day.
1269if test "x$host_alias" != x; then
1270  if test "x$build_alias" = x; then
1271    cross_compiling=maybe
1272    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1273    If a cross compiler is detected then cross compile mode will be used" >&2
1274  elif test "x$build_alias" != "x$host_alias"; then
1275    cross_compiling=yes
1276  fi
1277fi
1278
1279ac_tool_prefix=
1280test -n "$host_alias" && ac_tool_prefix=$host_alias-
1281
1282test "$silent" = yes && exec 6>/dev/null
1283
1284
1285ac_pwd=`pwd` && test -n "$ac_pwd" &&
1286ac_ls_di=`ls -di .` &&
1287ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1288  as_fn_error $? "working directory cannot be determined"
1289test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1290  as_fn_error $? "pwd does not report name of working directory"
1291
1292
1293# Find the source files, if location was not specified.
1294if test -z "$srcdir"; then
1295  ac_srcdir_defaulted=yes
1296  # Try the directory containing this script, then the parent directory.
1297  ac_confdir=`$as_dirname -- "$as_myself" ||
1298$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1299	 X"$as_myself" : 'X\(//\)[^/]' \| \
1300	 X"$as_myself" : 'X\(//\)$' \| \
1301	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1302$as_echo X"$as_myself" |
1303    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1304	    s//\1/
1305	    q
1306	  }
1307	  /^X\(\/\/\)[^/].*/{
1308	    s//\1/
1309	    q
1310	  }
1311	  /^X\(\/\/\)$/{
1312	    s//\1/
1313	    q
1314	  }
1315	  /^X\(\/\).*/{
1316	    s//\1/
1317	    q
1318	  }
1319	  s/.*/./; q'`
1320  srcdir=$ac_confdir
1321  if test ! -r "$srcdir/$ac_unique_file"; then
1322    srcdir=..
1323  fi
1324else
1325  ac_srcdir_defaulted=no
1326fi
1327if test ! -r "$srcdir/$ac_unique_file"; then
1328  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1329  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1330fi
1331ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1332ac_abs_confdir=`(
1333	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1334	pwd)`
1335# When building in place, set srcdir=.
1336if test "$ac_abs_confdir" = "$ac_pwd"; then
1337  srcdir=.
1338fi
1339# Remove unnecessary trailing slashes from srcdir.
1340# Double slashes in file names in object file debugging info
1341# mess up M-x gdb in Emacs.
1342case $srcdir in
1343*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1344esac
1345for ac_var in $ac_precious_vars; do
1346  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1347  eval ac_env_${ac_var}_value=\$${ac_var}
1348  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1349  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1350done
1351
1352#
1353# Report the --help message.
1354#
1355if test "$ac_init_help" = "long"; then
1356  # Omit some internal or obsolete options to make the list less imposing.
1357  # This message is too long to be a string in the A/UX 3.1 sh.
1358  cat <<_ACEOF
1359\`configure' configures PCRE 8.31 to adapt to many kinds of systems.
1360
1361Usage: $0 [OPTION]... [VAR=VALUE]...
1362
1363To assign environment variables (e.g., CC, CFLAGS...), specify them as
1364VAR=VALUE.  See below for descriptions of some of the useful variables.
1365
1366Defaults for the options are specified in brackets.
1367
1368Configuration:
1369  -h, --help              display this help and exit
1370      --help=short        display options specific to this package
1371      --help=recursive    display the short help of all the included packages
1372  -V, --version           display version information and exit
1373  -q, --quiet, --silent   do not print \`checking ...' messages
1374      --cache-file=FILE   cache test results in FILE [disabled]
1375  -C, --config-cache      alias for \`--cache-file=config.cache'
1376  -n, --no-create         do not create output files
1377      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1378
1379Installation directories:
1380  --prefix=PREFIX         install architecture-independent files in PREFIX
1381                          [$ac_default_prefix]
1382  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1383                          [PREFIX]
1384
1385By default, \`make install' will install all the files in
1386\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1387an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1388for instance \`--prefix=\$HOME'.
1389
1390For better control, use the options below.
1391
1392Fine tuning of the installation directories:
1393  --bindir=DIR            user executables [EPREFIX/bin]
1394  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1395  --libexecdir=DIR        program executables [EPREFIX/libexec]
1396  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1397  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1398  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1399  --libdir=DIR            object code libraries [EPREFIX/lib]
1400  --includedir=DIR        C header files [PREFIX/include]
1401  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1402  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1403  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1404  --infodir=DIR           info documentation [DATAROOTDIR/info]
1405  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1406  --mandir=DIR            man documentation [DATAROOTDIR/man]
1407  --docdir=DIR            documentation root [DATAROOTDIR/doc/pcre]
1408  --htmldir=DIR           html documentation [DOCDIR]
1409  --dvidir=DIR            dvi documentation [DOCDIR]
1410  --pdfdir=DIR            pdf documentation [DOCDIR]
1411  --psdir=DIR             ps documentation [DOCDIR]
1412_ACEOF
1413
1414  cat <<\_ACEOF
1415
1416Program names:
1417  --program-prefix=PREFIX            prepend PREFIX to installed program names
1418  --program-suffix=SUFFIX            append SUFFIX to installed program names
1419  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1420
1421System types:
1422  --build=BUILD     configure for building on BUILD [guessed]
1423  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1424_ACEOF
1425fi
1426
1427if test -n "$ac_init_help"; then
1428  case $ac_init_help in
1429     short | recursive ) echo "Configuration of PCRE 8.31:";;
1430   esac
1431  cat <<\_ACEOF
1432
1433Optional Features:
1434  --disable-option-checking  ignore unrecognized --enable/--with options
1435  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1436  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1437  --enable-silent-rules          less verbose build output (undo: `make V=1')
1438  --disable-silent-rules         verbose build output (undo: `make V=0')
1439  --disable-dependency-tracking  speeds up one-time build
1440  --enable-dependency-tracking   do not reject slow dependency extractors
1441  --enable-shared[=PKGS]  build shared libraries [default=yes]
1442  --enable-static[=PKGS]  build static libraries [default=yes]
1443  --enable-fast-install[=PKGS]
1444                          optimize for fast installation [default=yes]
1445  --disable-libtool-lock  avoid locking (might break parallel builds)
1446  --disable-pcre8         disable 8 bit character support
1447  --enable-pcre16         enable 16 bit character support
1448  --disable-cpp           disable C++ support
1449  --enable-jit            enable Just-In-Time compiling support
1450  --disable-pcregrep-jit  disable JIT support in pcregrep
1451  --enable-rebuild-chartables
1452                          rebuild character tables in current locale
1453  --enable-utf8           another name for --enable-utf. Kept only for
1454                          compatibility reasons
1455  --enable-utf            enable UTF-8/16 support (incompatible with
1456                          --enable-ebcdic)
1457  --enable-unicode-properties
1458                          enable Unicode properties support (implies
1459                          --enable-utf)
1460  --enable-newline-is-cr  use CR as newline character
1461  --enable-newline-is-lf  use LF as newline character (default)
1462  --enable-newline-is-crlf
1463                          use CRLF as newline sequence
1464  --enable-newline-is-anycrlf
1465                          use CR, LF, or CRLF as newline sequence
1466  --enable-newline-is-any use any valid Unicode newline sequence
1467  --enable-bsr-anycrlf    \R matches only CR, LF, CRLF by default
1468  --enable-ebcdic         assume EBCDIC coding rather than ASCII; incompatible
1469                          with --enable-utf; use only in (uncommon) EBCDIC
1470                          environments; it implies --enable-rebuild-chartables
1471  --disable-stack-for-recursion
1472                          don't use stack recursion when matching
1473  --enable-pcregrep-libz  link pcregrep with libz to handle .gz files
1474  --enable-pcregrep-libbz2
1475                          link pcregrep with libbz2 to handle .bz2 files
1476  --enable-pcretest-libedit
1477                          link pcretest with libedit
1478  --enable-pcretest-libreadline
1479                          link pcretest with libreadline
1480
1481Optional Packages:
1482  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1483  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1484  --with-pic              try to use only PIC/non-PIC objects [default=use
1485                          both]
1486  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1487  --with-sysroot=DIR Search for dependent libraries within DIR
1488                        (or the compiler's sysroot if not specified).
1489  --with-pcregrep-bufsize=N
1490                          pcregrep buffer size (default=20480)
1491  --with-posix-malloc-threshold=NBYTES
1492                          threshold for POSIX malloc usage (default=10)
1493  --with-link-size=N      internal link size (2, 3, or 4 allowed; default=2)
1494  --with-match-limit=N    default limit on internal looping (default=10000000)
1495  --with-match-limit-recursion=N
1496                          default limit on internal recursion
1497                          (default=MATCH_LIMIT)
1498
1499Some influential environment variables:
1500  CC          C compiler command
1501  CFLAGS      C compiler flags
1502  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1503              nonstandard directory <lib dir>
1504  LIBS        libraries to pass to the linker, e.g. -l<library>
1505  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1506              you have headers in a nonstandard directory <include dir>
1507  CXX         C++ compiler command
1508  CXXFLAGS    C++ compiler flags
1509  CPP         C preprocessor
1510  CXXCPP      C++ preprocessor
1511
1512Use these variables to override the choices made by `configure' or to help
1513it to find libraries and programs with nonstandard names/locations.
1514
1515Report bugs to the package provider.
1516_ACEOF
1517ac_status=$?
1518fi
1519
1520if test "$ac_init_help" = "recursive"; then
1521  # If there are subdirs, report their specific --help.
1522  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1523    test -d "$ac_dir" ||
1524      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1525      continue
1526    ac_builddir=.
1527
1528case "$ac_dir" in
1529.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1530*)
1531  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1532  # A ".." for each directory in $ac_dir_suffix.
1533  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1534  case $ac_top_builddir_sub in
1535  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1537  esac ;;
1538esac
1539ac_abs_top_builddir=$ac_pwd
1540ac_abs_builddir=$ac_pwd$ac_dir_suffix
1541# for backward compatibility:
1542ac_top_builddir=$ac_top_build_prefix
1543
1544case $srcdir in
1545  .)  # We are building in place.
1546    ac_srcdir=.
1547    ac_top_srcdir=$ac_top_builddir_sub
1548    ac_abs_top_srcdir=$ac_pwd ;;
1549  [\\/]* | ?:[\\/]* )  # Absolute name.
1550    ac_srcdir=$srcdir$ac_dir_suffix;
1551    ac_top_srcdir=$srcdir
1552    ac_abs_top_srcdir=$srcdir ;;
1553  *) # Relative name.
1554    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1555    ac_top_srcdir=$ac_top_build_prefix$srcdir
1556    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1557esac
1558ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1559
1560    cd "$ac_dir" || { ac_status=$?; continue; }
1561    # Check for guested configure.
1562    if test -f "$ac_srcdir/configure.gnu"; then
1563      echo &&
1564      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1565    elif test -f "$ac_srcdir/configure"; then
1566      echo &&
1567      $SHELL "$ac_srcdir/configure" --help=recursive
1568    else
1569      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570    fi || ac_status=$?
1571    cd "$ac_pwd" || { ac_status=$?; break; }
1572  done
1573fi
1574
1575test -n "$ac_init_help" && exit $ac_status
1576if $ac_init_version; then
1577  cat <<\_ACEOF
1578PCRE configure 8.31
1579generated by GNU Autoconf 2.68
1580
1581Copyright (C) 2010 Free Software Foundation, Inc.
1582This configure script is free software; the Free Software Foundation
1583gives unlimited permission to copy, distribute and modify it.
1584_ACEOF
1585  exit
1586fi
1587
1588## ------------------------ ##
1589## Autoconf initialization. ##
1590## ------------------------ ##
1591
1592# ac_fn_c_try_compile LINENO
1593# --------------------------
1594# Try to compile conftest.$ac_ext, and return whether this succeeded.
1595ac_fn_c_try_compile ()
1596{
1597  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598  rm -f conftest.$ac_objext
1599  if { { ac_try="$ac_compile"
1600case "(($ac_try" in
1601  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1602  *) ac_try_echo=$ac_try;;
1603esac
1604eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605$as_echo "$ac_try_echo"; } >&5
1606  (eval "$ac_compile") 2>conftest.err
1607  ac_status=$?
1608  if test -s conftest.err; then
1609    grep -v '^ *+' conftest.err >conftest.er1
1610    cat conftest.er1 >&5
1611    mv -f conftest.er1 conftest.err
1612  fi
1613  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614  test $ac_status = 0; } && {
1615	 test -z "$ac_c_werror_flag" ||
1616	 test ! -s conftest.err
1617       } && test -s conftest.$ac_objext; then :
1618  ac_retval=0
1619else
1620  $as_echo "$as_me: failed program was:" >&5
1621sed 's/^/| /' conftest.$ac_ext >&5
1622
1623	ac_retval=1
1624fi
1625  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626  as_fn_set_status $ac_retval
1627
1628} # ac_fn_c_try_compile
1629
1630# ac_fn_cxx_try_compile LINENO
1631# ----------------------------
1632# Try to compile conftest.$ac_ext, and return whether this succeeded.
1633ac_fn_cxx_try_compile ()
1634{
1635  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636  rm -f conftest.$ac_objext
1637  if { { ac_try="$ac_compile"
1638case "(($ac_try" in
1639  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640  *) ac_try_echo=$ac_try;;
1641esac
1642eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643$as_echo "$ac_try_echo"; } >&5
1644  (eval "$ac_compile") 2>conftest.err
1645  ac_status=$?
1646  if test -s conftest.err; then
1647    grep -v '^ *+' conftest.err >conftest.er1
1648    cat conftest.er1 >&5
1649    mv -f conftest.er1 conftest.err
1650  fi
1651  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652  test $ac_status = 0; } && {
1653	 test -z "$ac_cxx_werror_flag" ||
1654	 test ! -s conftest.err
1655       } && test -s conftest.$ac_objext; then :
1656  ac_retval=0
1657else
1658  $as_echo "$as_me: failed program was:" >&5
1659sed 's/^/| /' conftest.$ac_ext >&5
1660
1661	ac_retval=1
1662fi
1663  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664  as_fn_set_status $ac_retval
1665
1666} # ac_fn_cxx_try_compile
1667
1668# ac_fn_c_try_cpp LINENO
1669# ----------------------
1670# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1671ac_fn_c_try_cpp ()
1672{
1673  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674  if { { ac_try="$ac_cpp conftest.$ac_ext"
1675case "(($ac_try" in
1676  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677  *) ac_try_echo=$ac_try;;
1678esac
1679eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680$as_echo "$ac_try_echo"; } >&5
1681  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1682  ac_status=$?
1683  if test -s conftest.err; then
1684    grep -v '^ *+' conftest.err >conftest.er1
1685    cat conftest.er1 >&5
1686    mv -f conftest.er1 conftest.err
1687  fi
1688  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689  test $ac_status = 0; } > conftest.i && {
1690	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1691	 test ! -s conftest.err
1692       }; then :
1693  ac_retval=0
1694else
1695  $as_echo "$as_me: failed program was:" >&5
1696sed 's/^/| /' conftest.$ac_ext >&5
1697
1698    ac_retval=1
1699fi
1700  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701  as_fn_set_status $ac_retval
1702
1703} # ac_fn_c_try_cpp
1704
1705# ac_fn_c_try_run LINENO
1706# ----------------------
1707# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1708# that executables *can* be run.
1709ac_fn_c_try_run ()
1710{
1711  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712  if { { ac_try="$ac_link"
1713case "(($ac_try" in
1714  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715  *) ac_try_echo=$ac_try;;
1716esac
1717eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718$as_echo "$ac_try_echo"; } >&5
1719  (eval "$ac_link") 2>&5
1720  ac_status=$?
1721  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1723  { { case "(($ac_try" in
1724  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725  *) ac_try_echo=$ac_try;;
1726esac
1727eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728$as_echo "$ac_try_echo"; } >&5
1729  (eval "$ac_try") 2>&5
1730  ac_status=$?
1731  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732  test $ac_status = 0; }; }; then :
1733  ac_retval=0
1734else
1735  $as_echo "$as_me: program exited with status $ac_status" >&5
1736       $as_echo "$as_me: failed program was:" >&5
1737sed 's/^/| /' conftest.$ac_ext >&5
1738
1739       ac_retval=$ac_status
1740fi
1741  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1742  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743  as_fn_set_status $ac_retval
1744
1745} # ac_fn_c_try_run
1746
1747# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1748# -------------------------------------------------------
1749# Tests whether HEADER exists and can be compiled using the include files in
1750# INCLUDES, setting the cache variable VAR accordingly.
1751ac_fn_c_check_header_compile ()
1752{
1753  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1755$as_echo_n "checking for $2... " >&6; }
1756if eval \${$3+:} false; then :
1757  $as_echo_n "(cached) " >&6
1758else
1759  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1760/* end confdefs.h.  */
1761$4
1762#include <$2>
1763_ACEOF
1764if ac_fn_c_try_compile "$LINENO"; then :
1765  eval "$3=yes"
1766else
1767  eval "$3=no"
1768fi
1769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1770fi
1771eval ac_res=\$$3
1772	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1773$as_echo "$ac_res" >&6; }
1774  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775
1776} # ac_fn_c_check_header_compile
1777
1778# ac_fn_c_find_intX_t LINENO BITS VAR
1779# -----------------------------------
1780# Finds a signed integer type with width BITS, setting cache variable VAR
1781# accordingly.
1782ac_fn_c_find_intX_t ()
1783{
1784  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1786$as_echo_n "checking for int$2_t... " >&6; }
1787if eval \${$3+:} false; then :
1788  $as_echo_n "(cached) " >&6
1789else
1790  eval "$3=no"
1791     # Order is important - never check a type that is potentially smaller
1792     # than half of the expected target width.
1793     for ac_type in int$2_t 'int' 'long int' \
1794	 'long long int' 'short int' 'signed char'; do
1795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1796/* end confdefs.h.  */
1797$ac_includes_default
1798	     enum { N = $2 / 2 - 1 };
1799int
1800main ()
1801{
1802static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1803test_array [0] = 0
1804
1805  ;
1806  return 0;
1807}
1808_ACEOF
1809if ac_fn_c_try_compile "$LINENO"; then :
1810  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1811/* end confdefs.h.  */
1812$ac_includes_default
1813	        enum { N = $2 / 2 - 1 };
1814int
1815main ()
1816{
1817static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1818		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1819test_array [0] = 0
1820
1821  ;
1822  return 0;
1823}
1824_ACEOF
1825if ac_fn_c_try_compile "$LINENO"; then :
1826
1827else
1828  case $ac_type in #(
1829  int$2_t) :
1830    eval "$3=yes" ;; #(
1831  *) :
1832    eval "$3=\$ac_type" ;;
1833esac
1834fi
1835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1836fi
1837rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1838       if eval test \"x\$"$3"\" = x"no"; then :
1839
1840else
1841  break
1842fi
1843     done
1844fi
1845eval ac_res=\$$3
1846	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847$as_echo "$ac_res" >&6; }
1848  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849
1850} # ac_fn_c_find_intX_t
1851
1852# ac_fn_c_try_link LINENO
1853# -----------------------
1854# Try to link conftest.$ac_ext, and return whether this succeeded.
1855ac_fn_c_try_link ()
1856{
1857  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858  rm -f conftest.$ac_objext conftest$ac_exeext
1859  if { { ac_try="$ac_link"
1860case "(($ac_try" in
1861  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1862  *) ac_try_echo=$ac_try;;
1863esac
1864eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865$as_echo "$ac_try_echo"; } >&5
1866  (eval "$ac_link") 2>conftest.err
1867  ac_status=$?
1868  if test -s conftest.err; then
1869    grep -v '^ *+' conftest.err >conftest.er1
1870    cat conftest.er1 >&5
1871    mv -f conftest.er1 conftest.err
1872  fi
1873  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874  test $ac_status = 0; } && {
1875	 test -z "$ac_c_werror_flag" ||
1876	 test ! -s conftest.err
1877       } && test -s conftest$ac_exeext && {
1878	 test "$cross_compiling" = yes ||
1879	 $as_test_x conftest$ac_exeext
1880       }; then :
1881  ac_retval=0
1882else
1883  $as_echo "$as_me: failed program was:" >&5
1884sed 's/^/| /' conftest.$ac_ext >&5
1885
1886	ac_retval=1
1887fi
1888  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1889  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1890  # interfere with the next link command; also delete a directory that is
1891  # left behind by Apple's compiler.  We do this before executing the actions.
1892  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1893  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894  as_fn_set_status $ac_retval
1895
1896} # ac_fn_c_try_link
1897
1898# ac_fn_c_check_func LINENO FUNC VAR
1899# ----------------------------------
1900# Tests whether FUNC exists, setting the cache variable VAR accordingly
1901ac_fn_c_check_func ()
1902{
1903  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1905$as_echo_n "checking for $2... " >&6; }
1906if eval \${$3+:} false; then :
1907  $as_echo_n "(cached) " >&6
1908else
1909  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910/* end confdefs.h.  */
1911/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1912   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1913#define $2 innocuous_$2
1914
1915/* System header to define __stub macros and hopefully few prototypes,
1916    which can conflict with char $2 (); below.
1917    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1918    <limits.h> exists even on freestanding compilers.  */
1919
1920#ifdef __STDC__
1921# include <limits.h>
1922#else
1923# include <assert.h>
1924#endif
1925
1926#undef $2
1927
1928/* Override any GCC internal prototype to avoid an error.
1929   Use char because int might match the return type of a GCC
1930   builtin and then its argument prototype would still apply.  */
1931#ifdef __cplusplus
1932extern "C"
1933#endif
1934char $2 ();
1935/* The GNU C library defines this for functions which it implements
1936    to always fail with ENOSYS.  Some functions are actually named
1937    something starting with __ and the normal name is an alias.  */
1938#if defined __stub_$2 || defined __stub___$2
1939choke me
1940#endif
1941
1942int
1943main ()
1944{
1945return $2 ();
1946  ;
1947  return 0;
1948}
1949_ACEOF
1950if ac_fn_c_try_link "$LINENO"; then :
1951  eval "$3=yes"
1952else
1953  eval "$3=no"
1954fi
1955rm -f core conftest.err conftest.$ac_objext \
1956    conftest$ac_exeext conftest.$ac_ext
1957fi
1958eval ac_res=\$$3
1959	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960$as_echo "$ac_res" >&6; }
1961  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962
1963} # ac_fn_c_check_func
1964
1965# ac_fn_cxx_try_cpp LINENO
1966# ------------------------
1967# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1968ac_fn_cxx_try_cpp ()
1969{
1970  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971  if { { ac_try="$ac_cpp conftest.$ac_ext"
1972case "(($ac_try" in
1973  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1974  *) ac_try_echo=$ac_try;;
1975esac
1976eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1977$as_echo "$ac_try_echo"; } >&5
1978  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1979  ac_status=$?
1980  if test -s conftest.err; then
1981    grep -v '^ *+' conftest.err >conftest.er1
1982    cat conftest.er1 >&5
1983    mv -f conftest.er1 conftest.err
1984  fi
1985  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1986  test $ac_status = 0; } > conftest.i && {
1987	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1988	 test ! -s conftest.err
1989       }; then :
1990  ac_retval=0
1991else
1992  $as_echo "$as_me: failed program was:" >&5
1993sed 's/^/| /' conftest.$ac_ext >&5
1994
1995    ac_retval=1
1996fi
1997  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998  as_fn_set_status $ac_retval
1999
2000} # ac_fn_cxx_try_cpp
2001
2002# ac_fn_cxx_try_link LINENO
2003# -------------------------
2004# Try to link conftest.$ac_ext, and return whether this succeeded.
2005ac_fn_cxx_try_link ()
2006{
2007  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2008  rm -f conftest.$ac_objext conftest$ac_exeext
2009  if { { ac_try="$ac_link"
2010case "(($ac_try" in
2011  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2012  *) ac_try_echo=$ac_try;;
2013esac
2014eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2015$as_echo "$ac_try_echo"; } >&5
2016  (eval "$ac_link") 2>conftest.err
2017  ac_status=$?
2018  if test -s conftest.err; then
2019    grep -v '^ *+' conftest.err >conftest.er1
2020    cat conftest.er1 >&5
2021    mv -f conftest.er1 conftest.err
2022  fi
2023  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2024  test $ac_status = 0; } && {
2025	 test -z "$ac_cxx_werror_flag" ||
2026	 test ! -s conftest.err
2027       } && test -s conftest$ac_exeext && {
2028	 test "$cross_compiling" = yes ||
2029	 $as_test_x conftest$ac_exeext
2030       }; then :
2031  ac_retval=0
2032else
2033  $as_echo "$as_me: failed program was:" >&5
2034sed 's/^/| /' conftest.$ac_ext >&5
2035
2036	ac_retval=1
2037fi
2038  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2039  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2040  # interfere with the next link command; also delete a directory that is
2041  # left behind by Apple's compiler.  We do this before executing the actions.
2042  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2043  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2044  as_fn_set_status $ac_retval
2045
2046} # ac_fn_cxx_try_link
2047
2048# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2049# -------------------------------------------------------
2050# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2051# the include files in INCLUDES and setting the cache variable VAR
2052# accordingly.
2053ac_fn_c_check_header_mongrel ()
2054{
2055  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2056  if eval \${$3+:} false; then :
2057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2058$as_echo_n "checking for $2... " >&6; }
2059if eval \${$3+:} false; then :
2060  $as_echo_n "(cached) " >&6
2061fi
2062eval ac_res=\$$3
2063	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2064$as_echo "$ac_res" >&6; }
2065else
2066  # Is the header compilable?
2067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2068$as_echo_n "checking $2 usability... " >&6; }
2069cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070/* end confdefs.h.  */
2071$4
2072#include <$2>
2073_ACEOF
2074if ac_fn_c_try_compile "$LINENO"; then :
2075  ac_header_compiler=yes
2076else
2077  ac_header_compiler=no
2078fi
2079rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2081$as_echo "$ac_header_compiler" >&6; }
2082
2083# Is the header present?
2084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2085$as_echo_n "checking $2 presence... " >&6; }
2086cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2087/* end confdefs.h.  */
2088#include <$2>
2089_ACEOF
2090if ac_fn_c_try_cpp "$LINENO"; then :
2091  ac_header_preproc=yes
2092else
2093  ac_header_preproc=no
2094fi
2095rm -f conftest.err conftest.i conftest.$ac_ext
2096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2097$as_echo "$ac_header_preproc" >&6; }
2098
2099# So?  What about this header?
2100case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2101  yes:no: )
2102    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2103$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2104    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2105$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2106    ;;
2107  no:yes:* )
2108    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2109$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2110    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2111$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2112    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2113$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2114    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2115$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2116    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2117$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2118    ;;
2119esac
2120  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121$as_echo_n "checking for $2... " >&6; }
2122if eval \${$3+:} false; then :
2123  $as_echo_n "(cached) " >&6
2124else
2125  eval "$3=\$ac_header_compiler"
2126fi
2127eval ac_res=\$$3
2128	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2129$as_echo "$ac_res" >&6; }
2130fi
2131  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2132
2133} # ac_fn_c_check_header_mongrel
2134
2135# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2136# ---------------------------------------------------------
2137# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2138# the include files in INCLUDES and setting the cache variable VAR
2139# accordingly.
2140ac_fn_cxx_check_header_mongrel ()
2141{
2142  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143  if eval \${$3+:} false; then :
2144  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2145$as_echo_n "checking for $2... " >&6; }
2146if eval \${$3+:} false; then :
2147  $as_echo_n "(cached) " >&6
2148fi
2149eval ac_res=\$$3
2150	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2151$as_echo "$ac_res" >&6; }
2152else
2153  # Is the header compilable?
2154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2155$as_echo_n "checking $2 usability... " >&6; }
2156cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2157/* end confdefs.h.  */
2158$4
2159#include <$2>
2160_ACEOF
2161if ac_fn_cxx_try_compile "$LINENO"; then :
2162  ac_header_compiler=yes
2163else
2164  ac_header_compiler=no
2165fi
2166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2168$as_echo "$ac_header_compiler" >&6; }
2169
2170# Is the header present?
2171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2172$as_echo_n "checking $2 presence... " >&6; }
2173cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2174/* end confdefs.h.  */
2175#include <$2>
2176_ACEOF
2177if ac_fn_cxx_try_cpp "$LINENO"; then :
2178  ac_header_preproc=yes
2179else
2180  ac_header_preproc=no
2181fi
2182rm -f conftest.err conftest.i conftest.$ac_ext
2183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2184$as_echo "$ac_header_preproc" >&6; }
2185
2186# So?  What about this header?
2187case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2188  yes:no: )
2189    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2190$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2191    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2192$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2193    ;;
2194  no:yes:* )
2195    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2196$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2197    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2198$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2199    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2200$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2201    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2202$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2203    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2204$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2205    ;;
2206esac
2207  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2208$as_echo_n "checking for $2... " >&6; }
2209if eval \${$3+:} false; then :
2210  $as_echo_n "(cached) " >&6
2211else
2212  eval "$3=\$ac_header_compiler"
2213fi
2214eval ac_res=\$$3
2215	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2216$as_echo "$ac_res" >&6; }
2217fi
2218  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2219
2220} # ac_fn_cxx_check_header_mongrel
2221
2222# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2223# ---------------------------------------------
2224# Tests whether TYPE exists after having included INCLUDES, setting cache
2225# variable VAR accordingly.
2226ac_fn_cxx_check_type ()
2227{
2228  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2229  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2230$as_echo_n "checking for $2... " >&6; }
2231if eval \${$3+:} false; then :
2232  $as_echo_n "(cached) " >&6
2233else
2234  eval "$3=no"
2235  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2236/* end confdefs.h.  */
2237$4
2238int
2239main ()
2240{
2241if (sizeof ($2))
2242	 return 0;
2243  ;
2244  return 0;
2245}
2246_ACEOF
2247if ac_fn_cxx_try_compile "$LINENO"; then :
2248  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2249/* end confdefs.h.  */
2250$4
2251int
2252main ()
2253{
2254if (sizeof (($2)))
2255	    return 0;
2256  ;
2257  return 0;
2258}
2259_ACEOF
2260if ac_fn_cxx_try_compile "$LINENO"; then :
2261
2262else
2263  eval "$3=yes"
2264fi
2265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2266fi
2267rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2268fi
2269eval ac_res=\$$3
2270	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2271$as_echo "$ac_res" >&6; }
2272  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2273
2274} # ac_fn_cxx_check_type
2275
2276# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2277# -------------------------------------------
2278# Tests whether TYPE exists after having included INCLUDES, setting cache
2279# variable VAR accordingly.
2280ac_fn_c_check_type ()
2281{
2282  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2283  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2284$as_echo_n "checking for $2... " >&6; }
2285if eval \${$3+:} false; then :
2286  $as_echo_n "(cached) " >&6
2287else
2288  eval "$3=no"
2289  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2290/* end confdefs.h.  */
2291$4
2292int
2293main ()
2294{
2295if (sizeof ($2))
2296	 return 0;
2297  ;
2298  return 0;
2299}
2300_ACEOF
2301if ac_fn_c_try_compile "$LINENO"; then :
2302  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303/* end confdefs.h.  */
2304$4
2305int
2306main ()
2307{
2308if (sizeof (($2)))
2309	    return 0;
2310  ;
2311  return 0;
2312}
2313_ACEOF
2314if ac_fn_c_try_compile "$LINENO"; then :
2315
2316else
2317  eval "$3=yes"
2318fi
2319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2320fi
2321rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2322fi
2323eval ac_res=\$$3
2324	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2325$as_echo "$ac_res" >&6; }
2326  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2327
2328} # ac_fn_c_check_type
2329cat >config.log <<_ACEOF
2330This file contains any messages produced by compilers while
2331running configure, to aid debugging if configure makes a mistake.
2332
2333It was created by PCRE $as_me 8.31, which was
2334generated by GNU Autoconf 2.68.  Invocation command line was
2335
2336  $ $0 $@
2337
2338_ACEOF
2339exec 5>>config.log
2340{
2341cat <<_ASUNAME
2342## --------- ##
2343## Platform. ##
2344## --------- ##
2345
2346hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2347uname -m = `(uname -m) 2>/dev/null || echo unknown`
2348uname -r = `(uname -r) 2>/dev/null || echo unknown`
2349uname -s = `(uname -s) 2>/dev/null || echo unknown`
2350uname -v = `(uname -v) 2>/dev/null || echo unknown`
2351
2352/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2353/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2354
2355/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2356/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2357/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2358/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2359/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2360/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2361/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2362
2363_ASUNAME
2364
2365as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366for as_dir in $PATH
2367do
2368  IFS=$as_save_IFS
2369  test -z "$as_dir" && as_dir=.
2370    $as_echo "PATH: $as_dir"
2371  done
2372IFS=$as_save_IFS
2373
2374} >&5
2375
2376cat >&5 <<_ACEOF
2377
2378
2379## ----------- ##
2380## Core tests. ##
2381## ----------- ##
2382
2383_ACEOF
2384
2385
2386# Keep a trace of the command line.
2387# Strip out --no-create and --no-recursion so they do not pile up.
2388# Strip out --silent because we don't want to record it for future runs.
2389# Also quote any args containing shell meta-characters.
2390# Make two passes to allow for proper duplicate-argument suppression.
2391ac_configure_args=
2392ac_configure_args0=
2393ac_configure_args1=
2394ac_must_keep_next=false
2395for ac_pass in 1 2
2396do
2397  for ac_arg
2398  do
2399    case $ac_arg in
2400    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2401    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2402    | -silent | --silent | --silen | --sile | --sil)
2403      continue ;;
2404    *\'*)
2405      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2406    esac
2407    case $ac_pass in
2408    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2409    2)
2410      as_fn_append ac_configure_args1 " '$ac_arg'"
2411      if test $ac_must_keep_next = true; then
2412	ac_must_keep_next=false # Got value, back to normal.
2413      else
2414	case $ac_arg in
2415	  *=* | --config-cache | -C | -disable-* | --disable-* \
2416	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2417	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2418	  | -with-* | --with-* | -without-* | --without-* | --x)
2419	    case "$ac_configure_args0 " in
2420	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2421	    esac
2422	    ;;
2423	  -* ) ac_must_keep_next=true ;;
2424	esac
2425      fi
2426      as_fn_append ac_configure_args " '$ac_arg'"
2427      ;;
2428    esac
2429  done
2430done
2431{ ac_configure_args0=; unset ac_configure_args0;}
2432{ ac_configure_args1=; unset ac_configure_args1;}
2433
2434# When interrupted or exit'd, cleanup temporary files, and complete
2435# config.log.  We remove comments because anyway the quotes in there
2436# would cause problems or look ugly.
2437# WARNING: Use '\'' to represent an apostrophe within the trap.
2438# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2439trap 'exit_status=$?
2440  # Save into config.log some information that might help in debugging.
2441  {
2442    echo
2443
2444    $as_echo "## ---------------- ##
2445## Cache variables. ##
2446## ---------------- ##"
2447    echo
2448    # The following way of writing the cache mishandles newlines in values,
2449(
2450  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2451    eval ac_val=\$$ac_var
2452    case $ac_val in #(
2453    *${as_nl}*)
2454      case $ac_var in #(
2455      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2456$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2457      esac
2458      case $ac_var in #(
2459      _ | IFS | as_nl) ;; #(
2460      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2461      *) { eval $ac_var=; unset $ac_var;} ;;
2462      esac ;;
2463    esac
2464  done
2465  (set) 2>&1 |
2466    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2467    *${as_nl}ac_space=\ *)
2468      sed -n \
2469	"s/'\''/'\''\\\\'\'''\''/g;
2470	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2471      ;; #(
2472    *)
2473      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2474      ;;
2475    esac |
2476    sort
2477)
2478    echo
2479
2480    $as_echo "## ----------------- ##
2481## Output variables. ##
2482## ----------------- ##"
2483    echo
2484    for ac_var in $ac_subst_vars
2485    do
2486      eval ac_val=\$$ac_var
2487      case $ac_val in
2488      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2489      esac
2490      $as_echo "$ac_var='\''$ac_val'\''"
2491    done | sort
2492    echo
2493
2494    if test -n "$ac_subst_files"; then
2495      $as_echo "## ------------------- ##
2496## File substitutions. ##
2497## ------------------- ##"
2498      echo
2499      for ac_var in $ac_subst_files
2500      do
2501	eval ac_val=\$$ac_var
2502	case $ac_val in
2503	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2504	esac
2505	$as_echo "$ac_var='\''$ac_val'\''"
2506      done | sort
2507      echo
2508    fi
2509
2510    if test -s confdefs.h; then
2511      $as_echo "## ----------- ##
2512## confdefs.h. ##
2513## ----------- ##"
2514      echo
2515      cat confdefs.h
2516      echo
2517    fi
2518    test "$ac_signal" != 0 &&
2519      $as_echo "$as_me: caught signal $ac_signal"
2520    $as_echo "$as_me: exit $exit_status"
2521  } >&5
2522  rm -f core *.core core.conftest.* &&
2523    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2524    exit $exit_status
2525' 0
2526for ac_signal in 1 2 13 15; do
2527  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2528done
2529ac_signal=0
2530
2531# confdefs.h avoids OS command line length limits that DEFS can exceed.
2532rm -f -r conftest* confdefs.h
2533
2534$as_echo "/* confdefs.h */" > confdefs.h
2535
2536# Predefined preprocessor variables.
2537
2538cat >>confdefs.h <<_ACEOF
2539#define PACKAGE_NAME "$PACKAGE_NAME"
2540_ACEOF
2541
2542cat >>confdefs.h <<_ACEOF
2543#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2544_ACEOF
2545
2546cat >>confdefs.h <<_ACEOF
2547#define PACKAGE_VERSION "$PACKAGE_VERSION"
2548_ACEOF
2549
2550cat >>confdefs.h <<_ACEOF
2551#define PACKAGE_STRING "$PACKAGE_STRING"
2552_ACEOF
2553
2554cat >>confdefs.h <<_ACEOF
2555#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2556_ACEOF
2557
2558cat >>confdefs.h <<_ACEOF
2559#define PACKAGE_URL "$PACKAGE_URL"
2560_ACEOF
2561
2562
2563# Let the site file select an alternate cache file if it wants to.
2564# Prefer an explicitly selected file to automatically selected ones.
2565ac_site_file1=NONE
2566ac_site_file2=NONE
2567if test -n "$CONFIG_SITE"; then
2568  # We do not want a PATH search for config.site.
2569  case $CONFIG_SITE in #((
2570    -*)  ac_site_file1=./$CONFIG_SITE;;
2571    */*) ac_site_file1=$CONFIG_SITE;;
2572    *)   ac_site_file1=./$CONFIG_SITE;;
2573  esac
2574elif test "x$prefix" != xNONE; then
2575  ac_site_file1=$prefix/share/config.site
2576  ac_site_file2=$prefix/etc/config.site
2577else
2578  ac_site_file1=$ac_default_prefix/share/config.site
2579  ac_site_file2=$ac_default_prefix/etc/config.site
2580fi
2581for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2582do
2583  test "x$ac_site_file" = xNONE && continue
2584  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2585    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2586$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2587    sed 's/^/| /' "$ac_site_file" >&5
2588    . "$ac_site_file" \
2589      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2590$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2591as_fn_error $? "failed to load site script $ac_site_file
2592See \`config.log' for more details" "$LINENO" 5; }
2593  fi
2594done
2595
2596if test -r "$cache_file"; then
2597  # Some versions of bash will fail to source /dev/null (special files
2598  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2599  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2600    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2601$as_echo "$as_me: loading cache $cache_file" >&6;}
2602    case $cache_file in
2603      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2604      *)                      . "./$cache_file";;
2605    esac
2606  fi
2607else
2608  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2609$as_echo "$as_me: creating cache $cache_file" >&6;}
2610  >$cache_file
2611fi
2612
2613# Check that the precious variables saved in the cache have kept the same
2614# value.
2615ac_cache_corrupted=false
2616for ac_var in $ac_precious_vars; do
2617  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2618  eval ac_new_set=\$ac_env_${ac_var}_set
2619  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2620  eval ac_new_val=\$ac_env_${ac_var}_value
2621  case $ac_old_set,$ac_new_set in
2622    set,)
2623      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2624$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2625      ac_cache_corrupted=: ;;
2626    ,set)
2627      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2628$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2629      ac_cache_corrupted=: ;;
2630    ,);;
2631    *)
2632      if test "x$ac_old_val" != "x$ac_new_val"; then
2633	# differences in whitespace do not lead to failure.
2634	ac_old_val_w=`echo x $ac_old_val`
2635	ac_new_val_w=`echo x $ac_new_val`
2636	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2637	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2638$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2639	  ac_cache_corrupted=:
2640	else
2641	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2642$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2643	  eval $ac_var=\$ac_old_val
2644	fi
2645	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2646$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2647	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2648$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2649      fi;;
2650  esac
2651  # Pass precious variables to config.status.
2652  if test "$ac_new_set" = set; then
2653    case $ac_new_val in
2654    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2655    *) ac_arg=$ac_var=$ac_new_val ;;
2656    esac
2657    case " $ac_configure_args " in
2658      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2659      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2660    esac
2661  fi
2662done
2663if $ac_cache_corrupted; then
2664  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2665$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2666  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2667$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2668  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2669fi
2670## -------------------- ##
2671## Main body of script. ##
2672## -------------------- ##
2673
2674ac_ext=c
2675ac_cpp='$CPP $CPPFLAGS'
2676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2678ac_compiler_gnu=$ac_cv_c_compiler_gnu
2679
2680
2681
2682am__api_version='1.11'
2683
2684ac_aux_dir=
2685for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2686  if test -f "$ac_dir/install-sh"; then
2687    ac_aux_dir=$ac_dir
2688    ac_install_sh="$ac_aux_dir/install-sh -c"
2689    break
2690  elif test -f "$ac_dir/install.sh"; then
2691    ac_aux_dir=$ac_dir
2692    ac_install_sh="$ac_aux_dir/install.sh -c"
2693    break
2694  elif test -f "$ac_dir/shtool"; then
2695    ac_aux_dir=$ac_dir
2696    ac_install_sh="$ac_aux_dir/shtool install -c"
2697    break
2698  fi
2699done
2700if test -z "$ac_aux_dir"; then
2701  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2702fi
2703
2704# These three variables are undocumented and unsupported,
2705# and are intended to be withdrawn in a future Autoconf release.
2706# They can cause serious problems if a builder's source tree is in a directory
2707# whose full name contains unusual characters.
2708ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2709ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2710ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2711
2712
2713# Find a good install program.  We prefer a C program (faster),
2714# so one script is as good as another.  But avoid the broken or
2715# incompatible versions:
2716# SysV /etc/install, /usr/sbin/install
2717# SunOS /usr/etc/install
2718# IRIX /sbin/install
2719# AIX /bin/install
2720# AmigaOS /C/install, which installs bootblocks on floppy discs
2721# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2722# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2723# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2724# OS/2's system install, which has a completely different semantic
2725# ./install, which can be erroneously created by make from ./install.sh.
2726# Reject install programs that cannot install multiple files.
2727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2728$as_echo_n "checking for a BSD-compatible install... " >&6; }
2729if test -z "$INSTALL"; then
2730if ${ac_cv_path_install+:} false; then :
2731  $as_echo_n "(cached) " >&6
2732else
2733  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734for as_dir in $PATH
2735do
2736  IFS=$as_save_IFS
2737  test -z "$as_dir" && as_dir=.
2738    # Account for people who put trailing slashes in PATH elements.
2739case $as_dir/ in #((
2740  ./ | .// | /[cC]/* | \
2741  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2742  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2743  /usr/ucb/* ) ;;
2744  *)
2745    # OSF1 and SCO ODT 3.0 have their own names for install.
2746    # Don't use installbsd from OSF since it installs stuff as root
2747    # by default.
2748    for ac_prog in ginstall scoinst install; do
2749      for ac_exec_ext in '' $ac_executable_extensions; do
2750	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2751	  if test $ac_prog = install &&
2752	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2753	    # AIX install.  It has an incompatible calling convention.
2754	    :
2755	  elif test $ac_prog = install &&
2756	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2757	    # program-specific install script used by HP pwplus--don't use.
2758	    :
2759	  else
2760	    rm -rf conftest.one conftest.two conftest.dir
2761	    echo one > conftest.one
2762	    echo two > conftest.two
2763	    mkdir conftest.dir
2764	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2765	      test -s conftest.one && test -s conftest.two &&
2766	      test -s conftest.dir/conftest.one &&
2767	      test -s conftest.dir/conftest.two
2768	    then
2769	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2770	      break 3
2771	    fi
2772	  fi
2773	fi
2774      done
2775    done
2776    ;;
2777esac
2778
2779  done
2780IFS=$as_save_IFS
2781
2782rm -rf conftest.one conftest.two conftest.dir
2783
2784fi
2785  if test "${ac_cv_path_install+set}" = set; then
2786    INSTALL=$ac_cv_path_install
2787  else
2788    # As a last resort, use the slow shell script.  Don't cache a
2789    # value for INSTALL within a source directory, because that will
2790    # break other packages using the cache if that directory is
2791    # removed, or if the value is a relative name.
2792    INSTALL=$ac_install_sh
2793  fi
2794fi
2795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2796$as_echo "$INSTALL" >&6; }
2797
2798# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2799# It thinks the first close brace ends the variable substitution.
2800test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2801
2802test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2803
2804test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2805
2806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2807$as_echo_n "checking whether build environment is sane... " >&6; }
2808# Just in case
2809sleep 1
2810echo timestamp > conftest.file
2811# Reject unsafe characters in $srcdir or the absolute working directory
2812# name.  Accept space and tab only in the latter.
2813am_lf='
2814'
2815case `pwd` in
2816  *[\\\"\#\$\&\'\`$am_lf]*)
2817    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2818esac
2819case $srcdir in
2820  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2821    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2822esac
2823
2824# Do `set' in a subshell so we don't clobber the current shell's
2825# arguments.  Must try -L first in case configure is actually a
2826# symlink; some systems play weird games with the mod time of symlinks
2827# (eg FreeBSD returns the mod time of the symlink's containing
2828# directory).
2829if (
2830   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2831   if test "$*" = "X"; then
2832      # -L didn't work.
2833      set X `ls -t "$srcdir/configure" conftest.file`
2834   fi
2835   rm -f conftest.file
2836   if test "$*" != "X $srcdir/configure conftest.file" \
2837      && test "$*" != "X conftest.file $srcdir/configure"; then
2838
2839      # If neither matched, then we have a broken ls.  This can happen
2840      # if, for instance, CONFIG_SHELL is bash and it inherits a
2841      # broken ls alias from the environment.  This has actually
2842      # happened.  Such a system could not be considered "sane".
2843      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2844alias in your environment" "$LINENO" 5
2845   fi
2846
2847   test "$2" = conftest.file
2848   )
2849then
2850   # Ok.
2851   :
2852else
2853   as_fn_error $? "newly created file is older than distributed files!
2854Check your system clock" "$LINENO" 5
2855fi
2856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2857$as_echo "yes" >&6; }
2858test "$program_prefix" != NONE &&
2859  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2860# Use a double $ so make ignores it.
2861test "$program_suffix" != NONE &&
2862  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2863# Double any \ or $.
2864# By default was `s,x,x', remove it if useless.
2865ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2866program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2867
2868# expand $ac_aux_dir to an absolute path
2869am_aux_dir=`cd $ac_aux_dir && pwd`
2870
2871if test x"${MISSING+set}" != xset; then
2872  case $am_aux_dir in
2873  *\ * | *\	*)
2874    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2875  *)
2876    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2877  esac
2878fi
2879# Use eval to expand $SHELL
2880if eval "$MISSING --run true"; then
2881  am_missing_run="$MISSING --run "
2882else
2883  am_missing_run=
2884  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2885$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2886fi
2887
2888if test x"${install_sh}" != xset; then
2889  case $am_aux_dir in
2890  *\ * | *\	*)
2891    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2892  *)
2893    install_sh="\${SHELL} $am_aux_dir/install-sh"
2894  esac
2895fi
2896
2897# Installed binaries are usually stripped using `strip' when the user
2898# run `make install-strip'.  However `strip' might not be the right
2899# tool to use in cross-compilation environments, therefore Automake
2900# will honor the `STRIP' environment variable to overrule this program.
2901if test "$cross_compiling" != no; then
2902  if test -n "$ac_tool_prefix"; then
2903  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2904set dummy ${ac_tool_prefix}strip; ac_word=$2
2905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2906$as_echo_n "checking for $ac_word... " >&6; }
2907if ${ac_cv_prog_STRIP+:} false; then :
2908  $as_echo_n "(cached) " >&6
2909else
2910  if test -n "$STRIP"; then
2911  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2912else
2913as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2914for as_dir in $PATH
2915do
2916  IFS=$as_save_IFS
2917  test -z "$as_dir" && as_dir=.
2918    for ac_exec_ext in '' $ac_executable_extensions; do
2919  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2920    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2921    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2922    break 2
2923  fi
2924done
2925  done
2926IFS=$as_save_IFS
2927
2928fi
2929fi
2930STRIP=$ac_cv_prog_STRIP
2931if test -n "$STRIP"; then
2932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2933$as_echo "$STRIP" >&6; }
2934else
2935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2936$as_echo "no" >&6; }
2937fi
2938
2939
2940fi
2941if test -z "$ac_cv_prog_STRIP"; then
2942  ac_ct_STRIP=$STRIP
2943  # Extract the first word of "strip", so it can be a program name with args.
2944set dummy strip; ac_word=$2
2945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2946$as_echo_n "checking for $ac_word... " >&6; }
2947if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2948  $as_echo_n "(cached) " >&6
2949else
2950  if test -n "$ac_ct_STRIP"; then
2951  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2952else
2953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2954for as_dir in $PATH
2955do
2956  IFS=$as_save_IFS
2957  test -z "$as_dir" && as_dir=.
2958    for ac_exec_ext in '' $ac_executable_extensions; do
2959  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2960    ac_cv_prog_ac_ct_STRIP="strip"
2961    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962    break 2
2963  fi
2964done
2965  done
2966IFS=$as_save_IFS
2967
2968fi
2969fi
2970ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2971if test -n "$ac_ct_STRIP"; then
2972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2973$as_echo "$ac_ct_STRIP" >&6; }
2974else
2975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976$as_echo "no" >&6; }
2977fi
2978
2979  if test "x$ac_ct_STRIP" = x; then
2980    STRIP=":"
2981  else
2982    case $cross_compiling:$ac_tool_warned in
2983yes:)
2984{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2985$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2986ac_tool_warned=yes ;;
2987esac
2988    STRIP=$ac_ct_STRIP
2989  fi
2990else
2991  STRIP="$ac_cv_prog_STRIP"
2992fi
2993
2994fi
2995INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2996
2997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2998$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2999if test -z "$MKDIR_P"; then
3000  if ${ac_cv_path_mkdir+:} false; then :
3001  $as_echo_n "(cached) " >&6
3002else
3003  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3005do
3006  IFS=$as_save_IFS
3007  test -z "$as_dir" && as_dir=.
3008    for ac_prog in mkdir gmkdir; do
3009	 for ac_exec_ext in '' $ac_executable_extensions; do
3010	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3011	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3012	     'mkdir (GNU coreutils) '* | \
3013	     'mkdir (coreutils) '* | \
3014	     'mkdir (fileutils) '4.1*)
3015	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3016	       break 3;;
3017	   esac
3018	 done
3019       done
3020  done
3021IFS=$as_save_IFS
3022
3023fi
3024
3025  test -d ./--version && rmdir ./--version
3026  if test "${ac_cv_path_mkdir+set}" = set; then
3027    MKDIR_P="$ac_cv_path_mkdir -p"
3028  else
3029    # As a last resort, use the slow shell script.  Don't cache a
3030    # value for MKDIR_P within a source directory, because that will
3031    # break other packages using the cache if that directory is
3032    # removed, or if the value is a relative name.
3033    MKDIR_P="$ac_install_sh -d"
3034  fi
3035fi
3036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3037$as_echo "$MKDIR_P" >&6; }
3038
3039mkdir_p="$MKDIR_P"
3040case $mkdir_p in
3041  [\\/$]* | ?:[\\/]*) ;;
3042  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3043esac
3044
3045for ac_prog in gawk mawk nawk awk
3046do
3047  # Extract the first word of "$ac_prog", so it can be a program name with args.
3048set dummy $ac_prog; ac_word=$2
3049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3050$as_echo_n "checking for $ac_word... " >&6; }
3051if ${ac_cv_prog_AWK+:} false; then :
3052  $as_echo_n "(cached) " >&6
3053else
3054  if test -n "$AWK"; then
3055  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3056else
3057as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058for as_dir in $PATH
3059do
3060  IFS=$as_save_IFS
3061  test -z "$as_dir" && as_dir=.
3062    for ac_exec_ext in '' $ac_executable_extensions; do
3063  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3064    ac_cv_prog_AWK="$ac_prog"
3065    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066    break 2
3067  fi
3068done
3069  done
3070IFS=$as_save_IFS
3071
3072fi
3073fi
3074AWK=$ac_cv_prog_AWK
3075if test -n "$AWK"; then
3076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3077$as_echo "$AWK" >&6; }
3078else
3079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080$as_echo "no" >&6; }
3081fi
3082
3083
3084  test -n "$AWK" && break
3085done
3086
3087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3088$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3089set x ${MAKE-make}
3090ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3091if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3092  $as_echo_n "(cached) " >&6
3093else
3094  cat >conftest.make <<\_ACEOF
3095SHELL = /bin/sh
3096all:
3097	@echo '@@@%%%=$(MAKE)=@@@%%%'
3098_ACEOF
3099# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3100case `${MAKE-make} -f conftest.make 2>/dev/null` in
3101  *@@@%%%=?*=@@@%%%*)
3102    eval ac_cv_prog_make_${ac_make}_set=yes;;
3103  *)
3104    eval ac_cv_prog_make_${ac_make}_set=no;;
3105esac
3106rm -f conftest.make
3107fi
3108if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3110$as_echo "yes" >&6; }
3111  SET_MAKE=
3112else
3113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114$as_echo "no" >&6; }
3115  SET_MAKE="MAKE=${MAKE-make}"
3116fi
3117
3118rm -rf .tst 2>/dev/null
3119mkdir .tst 2>/dev/null
3120if test -d .tst; then
3121  am__leading_dot=.
3122else
3123  am__leading_dot=_
3124fi
3125rmdir .tst 2>/dev/null
3126
3127if test "`cd $srcdir && pwd`" != "`pwd`"; then
3128  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3129  # is not polluted with repeated "-I."
3130  am__isrc=' -I$(srcdir)'
3131  # test to see if srcdir already configured
3132  if test -f $srcdir/config.status; then
3133    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3134  fi
3135fi
3136
3137# test whether we have cygpath
3138if test -z "$CYGPATH_W"; then
3139  if (cygpath --version) >/dev/null 2>/dev/null; then
3140    CYGPATH_W='cygpath -w'
3141  else
3142    CYGPATH_W=echo
3143  fi
3144fi
3145
3146
3147# Define the identity of the package.
3148 PACKAGE='pcre'
3149 VERSION='8.31'
3150
3151
3152cat >>confdefs.h <<_ACEOF
3153#define PACKAGE "$PACKAGE"
3154_ACEOF
3155
3156
3157cat >>confdefs.h <<_ACEOF
3158#define VERSION "$VERSION"
3159_ACEOF
3160
3161# Some tools Automake needs.
3162
3163ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3164
3165
3166AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3167
3168
3169AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3170
3171
3172AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3173
3174
3175MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3176
3177# We need awk for the "check" target.  The system "awk" is bad on
3178# some platforms.
3179# Always define AMTAR for backward compatibility.
3180
3181AMTAR=${AMTAR-"${am_missing_run}tar"}
3182
3183am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3184
3185
3186
3187
3188
3189# Check whether --enable-silent-rules was given.
3190if test "${enable_silent_rules+set}" = set; then :
3191  enableval=$enable_silent_rules;
3192fi
3193
3194case $enable_silent_rules in
3195yes) AM_DEFAULT_VERBOSITY=0;;
3196no)  AM_DEFAULT_VERBOSITY=1;;
3197*)   AM_DEFAULT_VERBOSITY=0;;
3198esac
3199AM_BACKSLASH='\'
3200
3201ac_config_headers="$ac_config_headers config.h"
3202
3203
3204# This was added at the suggestion of libtoolize (03-Jan-10)
3205
3206
3207# The default CFLAGS and CXXFLAGS in Autoconf are "-g -O2" for gcc and just
3208# "-g" for any other compiler. There doesn't seem to be a standard way of
3209# getting rid of the -g (which I don't think is needed for a production
3210# library). This fudge seems to achieve the necessary. First, we remember the
3211# externally set values of CFLAGS and CXXFLAGS. Then call the AC_PROG_CC and
3212# AC_PROG_CXX macros to find the compilers - if CFLAGS and CXXFLAGS are not
3213# set, they will be set to Autoconf's defaults. Afterwards, if the original
3214# values were not set, remove the -g from the Autoconf defaults.
3215# (PH 02-May-07)
3216
3217remember_set_CFLAGS="$CFLAGS"
3218remember_set_CXXFLAGS="$CXXFLAGS"
3219
3220ac_ext=c
3221ac_cpp='$CPP $CPPFLAGS'
3222ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3223ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3224ac_compiler_gnu=$ac_cv_c_compiler_gnu
3225if test -n "$ac_tool_prefix"; then
3226  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3227set dummy ${ac_tool_prefix}gcc; ac_word=$2
3228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229$as_echo_n "checking for $ac_word... " >&6; }
3230if ${ac_cv_prog_CC+:} false; then :
3231  $as_echo_n "(cached) " >&6
3232else
3233  if test -n "$CC"; then
3234  ac_cv_prog_CC="$CC" # Let the user override the test.
3235else
3236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3237for as_dir in $PATH
3238do
3239  IFS=$as_save_IFS
3240  test -z "$as_dir" && as_dir=.
3241    for ac_exec_ext in '' $ac_executable_extensions; do
3242  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3243    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3244    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3245    break 2
3246  fi
3247done
3248  done
3249IFS=$as_save_IFS
3250
3251fi
3252fi
3253CC=$ac_cv_prog_CC
3254if test -n "$CC"; then
3255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3256$as_echo "$CC" >&6; }
3257else
3258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259$as_echo "no" >&6; }
3260fi
3261
3262
3263fi
3264if test -z "$ac_cv_prog_CC"; then
3265  ac_ct_CC=$CC
3266  # Extract the first word of "gcc", so it can be a program name with args.
3267set dummy gcc; ac_word=$2
3268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269$as_echo_n "checking for $ac_word... " >&6; }
3270if ${ac_cv_prog_ac_ct_CC+:} false; then :
3271  $as_echo_n "(cached) " >&6
3272else
3273  if test -n "$ac_ct_CC"; then
3274  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3275else
3276as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277for as_dir in $PATH
3278do
3279  IFS=$as_save_IFS
3280  test -z "$as_dir" && as_dir=.
3281    for ac_exec_ext in '' $ac_executable_extensions; do
3282  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283    ac_cv_prog_ac_ct_CC="gcc"
3284    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285    break 2
3286  fi
3287done
3288  done
3289IFS=$as_save_IFS
3290
3291fi
3292fi
3293ac_ct_CC=$ac_cv_prog_ac_ct_CC
3294if test -n "$ac_ct_CC"; then
3295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3296$as_echo "$ac_ct_CC" >&6; }
3297else
3298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299$as_echo "no" >&6; }
3300fi
3301
3302  if test "x$ac_ct_CC" = x; then
3303    CC=""
3304  else
3305    case $cross_compiling:$ac_tool_warned in
3306yes:)
3307{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3308$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3309ac_tool_warned=yes ;;
3310esac
3311    CC=$ac_ct_CC
3312  fi
3313else
3314  CC="$ac_cv_prog_CC"
3315fi
3316
3317if test -z "$CC"; then
3318          if test -n "$ac_tool_prefix"; then
3319    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3320set dummy ${ac_tool_prefix}cc; ac_word=$2
3321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3322$as_echo_n "checking for $ac_word... " >&6; }
3323if ${ac_cv_prog_CC+:} false; then :
3324  $as_echo_n "(cached) " >&6
3325else
3326  if test -n "$CC"; then
3327  ac_cv_prog_CC="$CC" # Let the user override the test.
3328else
3329as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3330for as_dir in $PATH
3331do
3332  IFS=$as_save_IFS
3333  test -z "$as_dir" && as_dir=.
3334    for ac_exec_ext in '' $ac_executable_extensions; do
3335  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3336    ac_cv_prog_CC="${ac_tool_prefix}cc"
3337    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3338    break 2
3339  fi
3340done
3341  done
3342IFS=$as_save_IFS
3343
3344fi
3345fi
3346CC=$ac_cv_prog_CC
3347if test -n "$CC"; then
3348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3349$as_echo "$CC" >&6; }
3350else
3351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3352$as_echo "no" >&6; }
3353fi
3354
3355
3356  fi
3357fi
3358if test -z "$CC"; then
3359  # Extract the first word of "cc", so it can be a program name with args.
3360set dummy cc; ac_word=$2
3361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3362$as_echo_n "checking for $ac_word... " >&6; }
3363if ${ac_cv_prog_CC+:} false; then :
3364  $as_echo_n "(cached) " >&6
3365else
3366  if test -n "$CC"; then
3367  ac_cv_prog_CC="$CC" # Let the user override the test.
3368else
3369  ac_prog_rejected=no
3370as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3371for as_dir in $PATH
3372do
3373  IFS=$as_save_IFS
3374  test -z "$as_dir" && as_dir=.
3375    for ac_exec_ext in '' $ac_executable_extensions; do
3376  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3377    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3378       ac_prog_rejected=yes
3379       continue
3380     fi
3381    ac_cv_prog_CC="cc"
3382    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3383    break 2
3384  fi
3385done
3386  done
3387IFS=$as_save_IFS
3388
3389if test $ac_prog_rejected = yes; then
3390  # We found a bogon in the path, so make sure we never use it.
3391  set dummy $ac_cv_prog_CC
3392  shift
3393  if test $# != 0; then
3394    # We chose a different compiler from the bogus one.
3395    # However, it has the same basename, so the bogon will be chosen
3396    # first if we set CC to just the basename; use the full file name.
3397    shift
3398    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3399  fi
3400fi
3401fi
3402fi
3403CC=$ac_cv_prog_CC
3404if test -n "$CC"; then
3405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3406$as_echo "$CC" >&6; }
3407else
3408  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3409$as_echo "no" >&6; }
3410fi
3411
3412
3413fi
3414if test -z "$CC"; then
3415  if test -n "$ac_tool_prefix"; then
3416  for ac_prog in cl.exe
3417  do
3418    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3419set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421$as_echo_n "checking for $ac_word... " >&6; }
3422if ${ac_cv_prog_CC+:} false; then :
3423  $as_echo_n "(cached) " >&6
3424else
3425  if test -n "$CC"; then
3426  ac_cv_prog_CC="$CC" # Let the user override the test.
3427else
3428as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3429for as_dir in $PATH
3430do
3431  IFS=$as_save_IFS
3432  test -z "$as_dir" && as_dir=.
3433    for ac_exec_ext in '' $ac_executable_extensions; do
3434  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3435    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3436    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3437    break 2
3438  fi
3439done
3440  done
3441IFS=$as_save_IFS
3442
3443fi
3444fi
3445CC=$ac_cv_prog_CC
3446if test -n "$CC"; then
3447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3448$as_echo "$CC" >&6; }
3449else
3450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451$as_echo "no" >&6; }
3452fi
3453
3454
3455    test -n "$CC" && break
3456  done
3457fi
3458if test -z "$CC"; then
3459  ac_ct_CC=$CC
3460  for ac_prog in cl.exe
3461do
3462  # Extract the first word of "$ac_prog", so it can be a program name with args.
3463set dummy $ac_prog; ac_word=$2
3464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465$as_echo_n "checking for $ac_word... " >&6; }
3466if ${ac_cv_prog_ac_ct_CC+:} false; then :
3467  $as_echo_n "(cached) " >&6
3468else
3469  if test -n "$ac_ct_CC"; then
3470  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3471else
3472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3473for as_dir in $PATH
3474do
3475  IFS=$as_save_IFS
3476  test -z "$as_dir" && as_dir=.
3477    for ac_exec_ext in '' $ac_executable_extensions; do
3478  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3479    ac_cv_prog_ac_ct_CC="$ac_prog"
3480    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3481    break 2
3482  fi
3483done
3484  done
3485IFS=$as_save_IFS
3486
3487fi
3488fi
3489ac_ct_CC=$ac_cv_prog_ac_ct_CC
3490if test -n "$ac_ct_CC"; then
3491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3492$as_echo "$ac_ct_CC" >&6; }
3493else
3494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495$as_echo "no" >&6; }
3496fi
3497
3498
3499  test -n "$ac_ct_CC" && break
3500done
3501
3502  if test "x$ac_ct_CC" = x; then
3503    CC=""
3504  else
3505    case $cross_compiling:$ac_tool_warned in
3506yes:)
3507{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3508$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3509ac_tool_warned=yes ;;
3510esac
3511    CC=$ac_ct_CC
3512  fi
3513fi
3514
3515fi
3516
3517
3518test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3519$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3520as_fn_error $? "no acceptable C compiler found in \$PATH
3521See \`config.log' for more details" "$LINENO" 5; }
3522
3523# Provide some information about the compiler.
3524$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3525set X $ac_compile
3526ac_compiler=$2
3527for ac_option in --version -v -V -qversion; do
3528  { { ac_try="$ac_compiler $ac_option >&5"
3529case "(($ac_try" in
3530  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531  *) ac_try_echo=$ac_try;;
3532esac
3533eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3534$as_echo "$ac_try_echo"; } >&5
3535  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3536  ac_status=$?
3537  if test -s conftest.err; then
3538    sed '10a\
3539... rest of stderr output deleted ...
3540         10q' conftest.err >conftest.er1
3541    cat conftest.er1 >&5
3542  fi
3543  rm -f conftest.er1 conftest.err
3544  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3545  test $ac_status = 0; }
3546done
3547
3548cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549/* end confdefs.h.  */
3550
3551int
3552main ()
3553{
3554
3555  ;
3556  return 0;
3557}
3558_ACEOF
3559ac_clean_files_save=$ac_clean_files
3560ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3561# Try to create an executable without -o first, disregard a.out.
3562# It will help us diagnose broken compilers, and finding out an intuition
3563# of exeext.
3564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3565$as_echo_n "checking whether the C compiler works... " >&6; }
3566ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3567
3568# The possible output files:
3569ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3570
3571ac_rmfiles=
3572for ac_file in $ac_files
3573do
3574  case $ac_file in
3575    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3576    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3577  esac
3578done
3579rm -f $ac_rmfiles
3580
3581if { { ac_try="$ac_link_default"
3582case "(($ac_try" in
3583  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584  *) ac_try_echo=$ac_try;;
3585esac
3586eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3587$as_echo "$ac_try_echo"; } >&5
3588  (eval "$ac_link_default") 2>&5
3589  ac_status=$?
3590  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3591  test $ac_status = 0; }; then :
3592  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3593# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3594# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3595# so that the user can short-circuit this test for compilers unknown to
3596# Autoconf.
3597for ac_file in $ac_files ''
3598do
3599  test -f "$ac_file" || continue
3600  case $ac_file in
3601    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3602	;;
3603    [ab].out )
3604	# We found the default executable, but exeext='' is most
3605	# certainly right.
3606	break;;
3607    *.* )
3608	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3609	then :; else
3610	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3611	fi
3612	# We set ac_cv_exeext here because the later test for it is not
3613	# safe: cross compilers may not add the suffix if given an `-o'
3614	# argument, so we may need to know it at that point already.
3615	# Even if this section looks crufty: it has the advantage of
3616	# actually working.
3617	break;;
3618    * )
3619	break;;
3620  esac
3621done
3622test "$ac_cv_exeext" = no && ac_cv_exeext=
3623
3624else
3625  ac_file=''
3626fi
3627if test -z "$ac_file"; then :
3628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629$as_echo "no" >&6; }
3630$as_echo "$as_me: failed program was:" >&5
3631sed 's/^/| /' conftest.$ac_ext >&5
3632
3633{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3634$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3635as_fn_error 77 "C compiler cannot create executables
3636See \`config.log' for more details" "$LINENO" 5; }
3637else
3638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3639$as_echo "yes" >&6; }
3640fi
3641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3642$as_echo_n "checking for C compiler default output file name... " >&6; }
3643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3644$as_echo "$ac_file" >&6; }
3645ac_exeext=$ac_cv_exeext
3646
3647rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3648ac_clean_files=$ac_clean_files_save
3649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3650$as_echo_n "checking for suffix of executables... " >&6; }
3651if { { ac_try="$ac_link"
3652case "(($ac_try" in
3653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654  *) ac_try_echo=$ac_try;;
3655esac
3656eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3657$as_echo "$ac_try_echo"; } >&5
3658  (eval "$ac_link") 2>&5
3659  ac_status=$?
3660  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3661  test $ac_status = 0; }; then :
3662  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3663# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3664# work properly (i.e., refer to `conftest.exe'), while it won't with
3665# `rm'.
3666for ac_file in conftest.exe conftest conftest.*; do
3667  test -f "$ac_file" || continue
3668  case $ac_file in
3669    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3670    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3671	  break;;
3672    * ) break;;
3673  esac
3674done
3675else
3676  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3677$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3678as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3679See \`config.log' for more details" "$LINENO" 5; }
3680fi
3681rm -f conftest conftest$ac_cv_exeext
3682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3683$as_echo "$ac_cv_exeext" >&6; }
3684
3685rm -f conftest.$ac_ext
3686EXEEXT=$ac_cv_exeext
3687ac_exeext=$EXEEXT
3688cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3689/* end confdefs.h.  */
3690#include <stdio.h>
3691int
3692main ()
3693{
3694FILE *f = fopen ("conftest.out", "w");
3695 return ferror (f) || fclose (f) != 0;
3696
3697  ;
3698  return 0;
3699}
3700_ACEOF
3701ac_clean_files="$ac_clean_files conftest.out"
3702# Check that the compiler produces executables we can run.  If not, either
3703# the compiler is broken, or we cross compile.
3704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3705$as_echo_n "checking whether we are cross compiling... " >&6; }
3706if test "$cross_compiling" != yes; then
3707  { { ac_try="$ac_link"
3708case "(($ac_try" in
3709  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3710  *) ac_try_echo=$ac_try;;
3711esac
3712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3713$as_echo "$ac_try_echo"; } >&5
3714  (eval "$ac_link") 2>&5
3715  ac_status=$?
3716  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3717  test $ac_status = 0; }
3718  if { ac_try='./conftest$ac_cv_exeext'
3719  { { case "(($ac_try" in
3720  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3721  *) ac_try_echo=$ac_try;;
3722esac
3723eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3724$as_echo "$ac_try_echo"; } >&5
3725  (eval "$ac_try") 2>&5
3726  ac_status=$?
3727  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3728  test $ac_status = 0; }; }; then
3729    cross_compiling=no
3730  else
3731    if test "$cross_compiling" = maybe; then
3732	cross_compiling=yes
3733    else
3734	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3735$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3736as_fn_error $? "cannot run C compiled programs.
3737If you meant to cross compile, use \`--host'.
3738See \`config.log' for more details" "$LINENO" 5; }
3739    fi
3740  fi
3741fi
3742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3743$as_echo "$cross_compiling" >&6; }
3744
3745rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3746ac_clean_files=$ac_clean_files_save
3747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3748$as_echo_n "checking for suffix of object files... " >&6; }
3749if ${ac_cv_objext+:} false; then :
3750  $as_echo_n "(cached) " >&6
3751else
3752  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753/* end confdefs.h.  */
3754
3755int
3756main ()
3757{
3758
3759  ;
3760  return 0;
3761}
3762_ACEOF
3763rm -f conftest.o conftest.obj
3764if { { ac_try="$ac_compile"
3765case "(($ac_try" in
3766  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3767  *) ac_try_echo=$ac_try;;
3768esac
3769eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3770$as_echo "$ac_try_echo"; } >&5
3771  (eval "$ac_compile") 2>&5
3772  ac_status=$?
3773  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3774  test $ac_status = 0; }; then :
3775  for ac_file in conftest.o conftest.obj conftest.*; do
3776  test -f "$ac_file" || continue;
3777  case $ac_file in
3778    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3779    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3780       break;;
3781  esac
3782done
3783else
3784  $as_echo "$as_me: failed program was:" >&5
3785sed 's/^/| /' conftest.$ac_ext >&5
3786
3787{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3788$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3789as_fn_error $? "cannot compute suffix of object files: cannot compile
3790See \`config.log' for more details" "$LINENO" 5; }
3791fi
3792rm -f conftest.$ac_cv_objext conftest.$ac_ext
3793fi
3794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3795$as_echo "$ac_cv_objext" >&6; }
3796OBJEXT=$ac_cv_objext
3797ac_objext=$OBJEXT
3798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3799$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3800if ${ac_cv_c_compiler_gnu+:} false; then :
3801  $as_echo_n "(cached) " >&6
3802else
3803  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3804/* end confdefs.h.  */
3805
3806int
3807main ()
3808{
3809#ifndef __GNUC__
3810       choke me
3811#endif
3812
3813  ;
3814  return 0;
3815}
3816_ACEOF
3817if ac_fn_c_try_compile "$LINENO"; then :
3818  ac_compiler_gnu=yes
3819else
3820  ac_compiler_gnu=no
3821fi
3822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823ac_cv_c_compiler_gnu=$ac_compiler_gnu
3824
3825fi
3826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3827$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3828if test $ac_compiler_gnu = yes; then
3829  GCC=yes
3830else
3831  GCC=
3832fi
3833ac_test_CFLAGS=${CFLAGS+set}
3834ac_save_CFLAGS=$CFLAGS
3835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3836$as_echo_n "checking whether $CC accepts -g... " >&6; }
3837if ${ac_cv_prog_cc_g+:} false; then :
3838  $as_echo_n "(cached) " >&6
3839else
3840  ac_save_c_werror_flag=$ac_c_werror_flag
3841   ac_c_werror_flag=yes
3842   ac_cv_prog_cc_g=no
3843   CFLAGS="-g"
3844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3845/* end confdefs.h.  */
3846
3847int
3848main ()
3849{
3850
3851  ;
3852  return 0;
3853}
3854_ACEOF
3855if ac_fn_c_try_compile "$LINENO"; then :
3856  ac_cv_prog_cc_g=yes
3857else
3858  CFLAGS=""
3859      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3860/* end confdefs.h.  */
3861
3862int
3863main ()
3864{
3865
3866  ;
3867  return 0;
3868}
3869_ACEOF
3870if ac_fn_c_try_compile "$LINENO"; then :
3871
3872else
3873  ac_c_werror_flag=$ac_save_c_werror_flag
3874	 CFLAGS="-g"
3875	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876/* end confdefs.h.  */
3877
3878int
3879main ()
3880{
3881
3882  ;
3883  return 0;
3884}
3885_ACEOF
3886if ac_fn_c_try_compile "$LINENO"; then :
3887  ac_cv_prog_cc_g=yes
3888fi
3889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3890fi
3891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892fi
3893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3894   ac_c_werror_flag=$ac_save_c_werror_flag
3895fi
3896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3897$as_echo "$ac_cv_prog_cc_g" >&6; }
3898if test "$ac_test_CFLAGS" = set; then
3899  CFLAGS=$ac_save_CFLAGS
3900elif test $ac_cv_prog_cc_g = yes; then
3901  if test "$GCC" = yes; then
3902    CFLAGS="-g -O2"
3903  else
3904    CFLAGS="-g"
3905  fi
3906else
3907  if test "$GCC" = yes; then
3908    CFLAGS="-O2"
3909  else
3910    CFLAGS=
3911  fi
3912fi
3913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3914$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3915if ${ac_cv_prog_cc_c89+:} false; then :
3916  $as_echo_n "(cached) " >&6
3917else
3918  ac_cv_prog_cc_c89=no
3919ac_save_CC=$CC
3920cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3921/* end confdefs.h.  */
3922#include <stdarg.h>
3923#include <stdio.h>
3924#include <sys/types.h>
3925#include <sys/stat.h>
3926/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3927struct buf { int x; };
3928FILE * (*rcsopen) (struct buf *, struct stat *, int);
3929static char *e (p, i)
3930     char **p;
3931     int i;
3932{
3933  return p[i];
3934}
3935static char *f (char * (*g) (char **, int), char **p, ...)
3936{
3937  char *s;
3938  va_list v;
3939  va_start (v,p);
3940  s = g (p, va_arg (v,int));
3941  va_end (v);
3942  return s;
3943}
3944
3945/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3946   function prototypes and stuff, but not '\xHH' hex character constants.
3947   These don't provoke an error unfortunately, instead are silently treated
3948   as 'x'.  The following induces an error, until -std is added to get
3949   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3950   array size at least.  It's necessary to write '\x00'==0 to get something
3951   that's true only with -std.  */
3952int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3953
3954/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3955   inside strings and character constants.  */
3956#define FOO(x) 'x'
3957int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3958
3959int test (int i, double x);
3960struct s1 {int (*f) (int a);};
3961struct s2 {int (*f) (double a);};
3962int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3963int argc;
3964char **argv;
3965int
3966main ()
3967{
3968return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3969  ;
3970  return 0;
3971}
3972_ACEOF
3973for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3974	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3975do
3976  CC="$ac_save_CC $ac_arg"
3977  if ac_fn_c_try_compile "$LINENO"; then :
3978  ac_cv_prog_cc_c89=$ac_arg
3979fi
3980rm -f core conftest.err conftest.$ac_objext
3981  test "x$ac_cv_prog_cc_c89" != "xno" && break
3982done
3983rm -f conftest.$ac_ext
3984CC=$ac_save_CC
3985
3986fi
3987# AC_CACHE_VAL
3988case "x$ac_cv_prog_cc_c89" in
3989  x)
3990    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3991$as_echo "none needed" >&6; } ;;
3992  xno)
3993    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3994$as_echo "unsupported" >&6; } ;;
3995  *)
3996    CC="$CC $ac_cv_prog_cc_c89"
3997    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3998$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3999esac
4000if test "x$ac_cv_prog_cc_c89" != xno; then :
4001
4002fi
4003
4004ac_ext=c
4005ac_cpp='$CPP $CPPFLAGS'
4006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4008ac_compiler_gnu=$ac_cv_c_compiler_gnu
4009DEPDIR="${am__leading_dot}deps"
4010
4011ac_config_commands="$ac_config_commands depfiles"
4012
4013
4014am_make=${MAKE-make}
4015cat > confinc << 'END'
4016am__doit:
4017	@echo this is the am__doit target
4018.PHONY: am__doit
4019END
4020# If we don't find an include directive, just comment out the code.
4021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4022$as_echo_n "checking for style of include used by $am_make... " >&6; }
4023am__include="#"
4024am__quote=
4025_am_result=none
4026# First try GNU make style include.
4027echo "include confinc" > confmf
4028# Ignore all kinds of additional output from `make'.
4029case `$am_make -s -f confmf 2> /dev/null` in #(
4030*the\ am__doit\ target*)
4031  am__include=include
4032  am__quote=
4033  _am_result=GNU
4034  ;;
4035esac
4036# Now try BSD make style include.
4037if test "$am__include" = "#"; then
4038   echo '.include "confinc"' > confmf
4039   case `$am_make -s -f confmf 2> /dev/null` in #(
4040   *the\ am__doit\ target*)
4041     am__include=.include
4042     am__quote="\""
4043     _am_result=BSD
4044     ;;
4045   esac
4046fi
4047
4048
4049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4050$as_echo "$_am_result" >&6; }
4051rm -f confinc confmf
4052
4053# Check whether --enable-dependency-tracking was given.
4054if test "${enable_dependency_tracking+set}" = set; then :
4055  enableval=$enable_dependency_tracking;
4056fi
4057
4058if test "x$enable_dependency_tracking" != xno; then
4059  am_depcomp="$ac_aux_dir/depcomp"
4060  AMDEPBACKSLASH='\'
4061fi
4062 if test "x$enable_dependency_tracking" != xno; then
4063  AMDEP_TRUE=
4064  AMDEP_FALSE='#'
4065else
4066  AMDEP_TRUE='#'
4067  AMDEP_FALSE=
4068fi
4069
4070
4071
4072depcc="$CC"   am_compiler_list=
4073
4074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4075$as_echo_n "checking dependency style of $depcc... " >&6; }
4076if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4077  $as_echo_n "(cached) " >&6
4078else
4079  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4080  # We make a subdir and do the tests there.  Otherwise we can end up
4081  # making bogus files that we don't know about and never remove.  For
4082  # instance it was reported that on HP-UX the gcc test will end up
4083  # making a dummy file named `D' -- because `-MD' means `put the output
4084  # in D'.
4085  mkdir conftest.dir
4086  # Copy depcomp to subdir because otherwise we won't find it if we're
4087  # using a relative directory.
4088  cp "$am_depcomp" conftest.dir
4089  cd conftest.dir
4090  # We will build objects and dependencies in a subdirectory because
4091  # it helps to detect inapplicable dependency modes.  For instance
4092  # both Tru64's cc and ICC support -MD to output dependencies as a
4093  # side effect of compilation, but ICC will put the dependencies in
4094  # the current directory while Tru64 will put them in the object
4095  # directory.
4096  mkdir sub
4097
4098  am_cv_CC_dependencies_compiler_type=none
4099  if test "$am_compiler_list" = ""; then
4100     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4101  fi
4102  am__universal=false
4103  case " $depcc " in #(
4104     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4105     esac
4106
4107  for depmode in $am_compiler_list; do
4108    # Setup a source with many dependencies, because some compilers
4109    # like to wrap large dependency lists on column 80 (with \), and
4110    # we should not choose a depcomp mode which is confused by this.
4111    #
4112    # We need to recreate these files for each test, as the compiler may
4113    # overwrite some of them when testing with obscure command lines.
4114    # This happens at least with the AIX C compiler.
4115    : > sub/conftest.c
4116    for i in 1 2 3 4 5 6; do
4117      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4118      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4119      # Solaris 8's {/usr,}/bin/sh.
4120      touch sub/conftst$i.h
4121    done
4122    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4123
4124    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4125    # mode.  It turns out that the SunPro C++ compiler does not properly
4126    # handle `-M -o', and we need to detect this.  Also, some Intel
4127    # versions had trouble with output in subdirs
4128    am__obj=sub/conftest.${OBJEXT-o}
4129    am__minus_obj="-o $am__obj"
4130    case $depmode in
4131    gcc)
4132      # This depmode causes a compiler race in universal mode.
4133      test "$am__universal" = false || continue
4134      ;;
4135    nosideeffect)
4136      # after this tag, mechanisms are not by side-effect, so they'll
4137      # only be used when explicitly requested
4138      if test "x$enable_dependency_tracking" = xyes; then
4139	continue
4140      else
4141	break
4142      fi
4143      ;;
4144    msvisualcpp | msvcmsys)
4145      # This compiler won't grok `-c -o', but also, the minuso test has
4146      # not run yet.  These depmodes are late enough in the game, and
4147      # so weak that their functioning should not be impacted.
4148      am__obj=conftest.${OBJEXT-o}
4149      am__minus_obj=
4150      ;;
4151    none) break ;;
4152    esac
4153    if depmode=$depmode \
4154       source=sub/conftest.c object=$am__obj \
4155       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4156       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4157         >/dev/null 2>conftest.err &&
4158       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4159       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4160       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4161       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4162      # icc doesn't choke on unknown options, it will just issue warnings
4163      # or remarks (even with -Werror).  So we grep stderr for any message
4164      # that says an option was ignored or not supported.
4165      # When given -MP, icc 7.0 and 7.1 complain thusly:
4166      #   icc: Command line warning: ignoring option '-M'; no argument required
4167      # The diagnosis changed in icc 8.0:
4168      #   icc: Command line remark: option '-MP' not supported
4169      if (grep 'ignoring option' conftest.err ||
4170          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4171        am_cv_CC_dependencies_compiler_type=$depmode
4172        break
4173      fi
4174    fi
4175  done
4176
4177  cd ..
4178  rm -rf conftest.dir
4179else
4180  am_cv_CC_dependencies_compiler_type=none
4181fi
4182
4183fi
4184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4185$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4186CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4187
4188 if
4189  test "x$enable_dependency_tracking" != xno \
4190  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4191  am__fastdepCC_TRUE=
4192  am__fastdepCC_FALSE='#'
4193else
4194  am__fastdepCC_TRUE='#'
4195  am__fastdepCC_FALSE=
4196fi
4197
4198
4199ac_ext=cpp
4200ac_cpp='$CXXCPP $CPPFLAGS'
4201ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4202ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4203ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4204if test -z "$CXX"; then
4205  if test -n "$CCC"; then
4206    CXX=$CCC
4207  else
4208    if test -n "$ac_tool_prefix"; then
4209  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4210  do
4211    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4212set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4214$as_echo_n "checking for $ac_word... " >&6; }
4215if ${ac_cv_prog_CXX+:} false; then :
4216  $as_echo_n "(cached) " >&6
4217else
4218  if test -n "$CXX"; then
4219  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4220else
4221as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222for as_dir in $PATH
4223do
4224  IFS=$as_save_IFS
4225  test -z "$as_dir" && as_dir=.
4226    for ac_exec_ext in '' $ac_executable_extensions; do
4227  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4228    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4229    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4230    break 2
4231  fi
4232done
4233  done
4234IFS=$as_save_IFS
4235
4236fi
4237fi
4238CXX=$ac_cv_prog_CXX
4239if test -n "$CXX"; then
4240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4241$as_echo "$CXX" >&6; }
4242else
4243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4244$as_echo "no" >&6; }
4245fi
4246
4247
4248    test -n "$CXX" && break
4249  done
4250fi
4251if test -z "$CXX"; then
4252  ac_ct_CXX=$CXX
4253  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4254do
4255  # Extract the first word of "$ac_prog", so it can be a program name with args.
4256set dummy $ac_prog; ac_word=$2
4257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4258$as_echo_n "checking for $ac_word... " >&6; }
4259if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4260  $as_echo_n "(cached) " >&6
4261else
4262  if test -n "$ac_ct_CXX"; then
4263  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4264else
4265as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4266for as_dir in $PATH
4267do
4268  IFS=$as_save_IFS
4269  test -z "$as_dir" && as_dir=.
4270    for ac_exec_ext in '' $ac_executable_extensions; do
4271  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4272    ac_cv_prog_ac_ct_CXX="$ac_prog"
4273    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4274    break 2
4275  fi
4276done
4277  done
4278IFS=$as_save_IFS
4279
4280fi
4281fi
4282ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4283if test -n "$ac_ct_CXX"; then
4284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4285$as_echo "$ac_ct_CXX" >&6; }
4286else
4287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4288$as_echo "no" >&6; }
4289fi
4290
4291
4292  test -n "$ac_ct_CXX" && break
4293done
4294
4295  if test "x$ac_ct_CXX" = x; then
4296    CXX="g++"
4297  else
4298    case $cross_compiling:$ac_tool_warned in
4299yes:)
4300{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4301$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4302ac_tool_warned=yes ;;
4303esac
4304    CXX=$ac_ct_CXX
4305  fi
4306fi
4307
4308  fi
4309fi
4310# Provide some information about the compiler.
4311$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4312set X $ac_compile
4313ac_compiler=$2
4314for ac_option in --version -v -V -qversion; do
4315  { { ac_try="$ac_compiler $ac_option >&5"
4316case "(($ac_try" in
4317  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4318  *) ac_try_echo=$ac_try;;
4319esac
4320eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4321$as_echo "$ac_try_echo"; } >&5
4322  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4323  ac_status=$?
4324  if test -s conftest.err; then
4325    sed '10a\
4326... rest of stderr output deleted ...
4327         10q' conftest.err >conftest.er1
4328    cat conftest.er1 >&5
4329  fi
4330  rm -f conftest.er1 conftest.err
4331  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4332  test $ac_status = 0; }
4333done
4334
4335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4336$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4337if ${ac_cv_cxx_compiler_gnu+:} false; then :
4338  $as_echo_n "(cached) " >&6
4339else
4340  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341/* end confdefs.h.  */
4342
4343int
4344main ()
4345{
4346#ifndef __GNUC__
4347       choke me
4348#endif
4349
4350  ;
4351  return 0;
4352}
4353_ACEOF
4354if ac_fn_cxx_try_compile "$LINENO"; then :
4355  ac_compiler_gnu=yes
4356else
4357  ac_compiler_gnu=no
4358fi
4359rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4360ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4361
4362fi
4363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4364$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4365if test $ac_compiler_gnu = yes; then
4366  GXX=yes
4367else
4368  GXX=
4369fi
4370ac_test_CXXFLAGS=${CXXFLAGS+set}
4371ac_save_CXXFLAGS=$CXXFLAGS
4372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4373$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4374if ${ac_cv_prog_cxx_g+:} false; then :
4375  $as_echo_n "(cached) " >&6
4376else
4377  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4378   ac_cxx_werror_flag=yes
4379   ac_cv_prog_cxx_g=no
4380   CXXFLAGS="-g"
4381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382/* end confdefs.h.  */
4383
4384int
4385main ()
4386{
4387
4388  ;
4389  return 0;
4390}
4391_ACEOF
4392if ac_fn_cxx_try_compile "$LINENO"; then :
4393  ac_cv_prog_cxx_g=yes
4394else
4395  CXXFLAGS=""
4396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397/* end confdefs.h.  */
4398
4399int
4400main ()
4401{
4402
4403  ;
4404  return 0;
4405}
4406_ACEOF
4407if ac_fn_cxx_try_compile "$LINENO"; then :
4408
4409else
4410  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4411	 CXXFLAGS="-g"
4412	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4413/* end confdefs.h.  */
4414
4415int
4416main ()
4417{
4418
4419  ;
4420  return 0;
4421}
4422_ACEOF
4423if ac_fn_cxx_try_compile "$LINENO"; then :
4424  ac_cv_prog_cxx_g=yes
4425fi
4426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4427fi
4428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4429fi
4430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4431   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4432fi
4433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4434$as_echo "$ac_cv_prog_cxx_g" >&6; }
4435if test "$ac_test_CXXFLAGS" = set; then
4436  CXXFLAGS=$ac_save_CXXFLAGS
4437elif test $ac_cv_prog_cxx_g = yes; then
4438  if test "$GXX" = yes; then
4439    CXXFLAGS="-g -O2"
4440  else
4441    CXXFLAGS="-g"
4442  fi
4443else
4444  if test "$GXX" = yes; then
4445    CXXFLAGS="-O2"
4446  else
4447    CXXFLAGS=
4448  fi
4449fi
4450ac_ext=c
4451ac_cpp='$CPP $CPPFLAGS'
4452ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4453ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4454ac_compiler_gnu=$ac_cv_c_compiler_gnu
4455
4456depcc="$CXX"  am_compiler_list=
4457
4458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4459$as_echo_n "checking dependency style of $depcc... " >&6; }
4460if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4461  $as_echo_n "(cached) " >&6
4462else
4463  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4464  # We make a subdir and do the tests there.  Otherwise we can end up
4465  # making bogus files that we don't know about and never remove.  For
4466  # instance it was reported that on HP-UX the gcc test will end up
4467  # making a dummy file named `D' -- because `-MD' means `put the output
4468  # in D'.
4469  mkdir conftest.dir
4470  # Copy depcomp to subdir because otherwise we won't find it if we're
4471  # using a relative directory.
4472  cp "$am_depcomp" conftest.dir
4473  cd conftest.dir
4474  # We will build objects and dependencies in a subdirectory because
4475  # it helps to detect inapplicable dependency modes.  For instance
4476  # both Tru64's cc and ICC support -MD to output dependencies as a
4477  # side effect of compilation, but ICC will put the dependencies in
4478  # the current directory while Tru64 will put them in the object
4479  # directory.
4480  mkdir sub
4481
4482  am_cv_CXX_dependencies_compiler_type=none
4483  if test "$am_compiler_list" = ""; then
4484     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4485  fi
4486  am__universal=false
4487  case " $depcc " in #(
4488     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4489     esac
4490
4491  for depmode in $am_compiler_list; do
4492    # Setup a source with many dependencies, because some compilers
4493    # like to wrap large dependency lists on column 80 (with \), and
4494    # we should not choose a depcomp mode which is confused by this.
4495    #
4496    # We need to recreate these files for each test, as the compiler may
4497    # overwrite some of them when testing with obscure command lines.
4498    # This happens at least with the AIX C compiler.
4499    : > sub/conftest.c
4500    for i in 1 2 3 4 5 6; do
4501      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4502      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4503      # Solaris 8's {/usr,}/bin/sh.
4504      touch sub/conftst$i.h
4505    done
4506    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4507
4508    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4509    # mode.  It turns out that the SunPro C++ compiler does not properly
4510    # handle `-M -o', and we need to detect this.  Also, some Intel
4511    # versions had trouble with output in subdirs
4512    am__obj=sub/conftest.${OBJEXT-o}
4513    am__minus_obj="-o $am__obj"
4514    case $depmode in
4515    gcc)
4516      # This depmode causes a compiler race in universal mode.
4517      test "$am__universal" = false || continue
4518      ;;
4519    nosideeffect)
4520      # after this tag, mechanisms are not by side-effect, so they'll
4521      # only be used when explicitly requested
4522      if test "x$enable_dependency_tracking" = xyes; then
4523	continue
4524      else
4525	break
4526      fi
4527      ;;
4528    msvisualcpp | msvcmsys)
4529      # This compiler won't grok `-c -o', but also, the minuso test has
4530      # not run yet.  These depmodes are late enough in the game, and
4531      # so weak that their functioning should not be impacted.
4532      am__obj=conftest.${OBJEXT-o}
4533      am__minus_obj=
4534      ;;
4535    none) break ;;
4536    esac
4537    if depmode=$depmode \
4538       source=sub/conftest.c object=$am__obj \
4539       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4540       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4541         >/dev/null 2>conftest.err &&
4542       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4543       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4544       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4545       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4546      # icc doesn't choke on unknown options, it will just issue warnings
4547      # or remarks (even with -Werror).  So we grep stderr for any message
4548      # that says an option was ignored or not supported.
4549      # When given -MP, icc 7.0 and 7.1 complain thusly:
4550      #   icc: Command line warning: ignoring option '-M'; no argument required
4551      # The diagnosis changed in icc 8.0:
4552      #   icc: Command line remark: option '-MP' not supported
4553      if (grep 'ignoring option' conftest.err ||
4554          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4555        am_cv_CXX_dependencies_compiler_type=$depmode
4556        break
4557      fi
4558    fi
4559  done
4560
4561  cd ..
4562  rm -rf conftest.dir
4563else
4564  am_cv_CXX_dependencies_compiler_type=none
4565fi
4566
4567fi
4568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4569$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4570CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4571
4572 if
4573  test "x$enable_dependency_tracking" != xno \
4574  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4575  am__fastdepCXX_TRUE=
4576  am__fastdepCXX_FALSE='#'
4577else
4578  am__fastdepCXX_TRUE='#'
4579  am__fastdepCXX_FALSE=
4580fi
4581
4582
4583
4584if test "x$remember_set_CFLAGS" = "x"
4585then
4586  if test "$CFLAGS" = "-g -O2"
4587  then
4588    CFLAGS="-O2"
4589  elif test "$CFLAGS" = "-g"
4590  then
4591    CFLAGS=""
4592  fi
4593fi
4594
4595if test "x$remember_set_CXXFLAGS" = "x"
4596then
4597  if test "$CXXFLAGS" = "-g -O2"
4598  then
4599    CXXFLAGS="-O2"
4600  elif test "$CXXFLAGS" = "-g"
4601  then
4602    CXXFLAGS=""
4603  fi
4604fi
4605
4606# AC_PROG_CXX will return "g++" even if no c++ compiler is installed.
4607# Check for that case, and just disable c++ code if g++ doesn't run.
4608ac_ext=cpp
4609ac_cpp='$CXXCPP $CPPFLAGS'
4610ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4613
4614
4615cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616/* end confdefs.h.  */
4617
4618int
4619main ()
4620{
4621
4622  ;
4623  return 0;
4624}
4625_ACEOF
4626if ac_fn_cxx_try_compile "$LINENO"; then :
4627
4628else
4629  CXX=""; CXXCP=""; CXXFLAGS=""
4630fi
4631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4632ac_ext=c
4633ac_cpp='$CPP $CPPFLAGS'
4634ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4635ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4636ac_compiler_gnu=$ac_cv_c_compiler_gnu
4637
4638
4639# Check for a 64-bit integer type
4640
4641ac_ext=c
4642ac_cpp='$CPP $CPPFLAGS'
4643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4645ac_compiler_gnu=$ac_cv_c_compiler_gnu
4646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4647$as_echo_n "checking how to run the C preprocessor... " >&6; }
4648# On Suns, sometimes $CPP names a directory.
4649if test -n "$CPP" && test -d "$CPP"; then
4650  CPP=
4651fi
4652if test -z "$CPP"; then
4653  if ${ac_cv_prog_CPP+:} false; then :
4654  $as_echo_n "(cached) " >&6
4655else
4656      # Double quotes because CPP needs to be expanded
4657    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4658    do
4659      ac_preproc_ok=false
4660for ac_c_preproc_warn_flag in '' yes
4661do
4662  # Use a header file that comes with gcc, so configuring glibc
4663  # with a fresh cross-compiler works.
4664  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4665  # <limits.h> exists even on freestanding compilers.
4666  # On the NeXT, cc -E runs the code through the compiler's parser,
4667  # not just through cpp. "Syntax error" is here to catch this case.
4668  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669/* end confdefs.h.  */
4670#ifdef __STDC__
4671# include <limits.h>
4672#else
4673# include <assert.h>
4674#endif
4675		     Syntax error
4676_ACEOF
4677if ac_fn_c_try_cpp "$LINENO"; then :
4678
4679else
4680  # Broken: fails on valid input.
4681continue
4682fi
4683rm -f conftest.err conftest.i conftest.$ac_ext
4684
4685  # OK, works on sane cases.  Now check whether nonexistent headers
4686  # can be detected and how.
4687  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4688/* end confdefs.h.  */
4689#include <ac_nonexistent.h>
4690_ACEOF
4691if ac_fn_c_try_cpp "$LINENO"; then :
4692  # Broken: success on invalid input.
4693continue
4694else
4695  # Passes both tests.
4696ac_preproc_ok=:
4697break
4698fi
4699rm -f conftest.err conftest.i conftest.$ac_ext
4700
4701done
4702# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4703rm -f conftest.i conftest.err conftest.$ac_ext
4704if $ac_preproc_ok; then :
4705  break
4706fi
4707
4708    done
4709    ac_cv_prog_CPP=$CPP
4710
4711fi
4712  CPP=$ac_cv_prog_CPP
4713else
4714  ac_cv_prog_CPP=$CPP
4715fi
4716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4717$as_echo "$CPP" >&6; }
4718ac_preproc_ok=false
4719for ac_c_preproc_warn_flag in '' yes
4720do
4721  # Use a header file that comes with gcc, so configuring glibc
4722  # with a fresh cross-compiler works.
4723  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4724  # <limits.h> exists even on freestanding compilers.
4725  # On the NeXT, cc -E runs the code through the compiler's parser,
4726  # not just through cpp. "Syntax error" is here to catch this case.
4727  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728/* end confdefs.h.  */
4729#ifdef __STDC__
4730# include <limits.h>
4731#else
4732# include <assert.h>
4733#endif
4734		     Syntax error
4735_ACEOF
4736if ac_fn_c_try_cpp "$LINENO"; then :
4737
4738else
4739  # Broken: fails on valid input.
4740continue
4741fi
4742rm -f conftest.err conftest.i conftest.$ac_ext
4743
4744  # OK, works on sane cases.  Now check whether nonexistent headers
4745  # can be detected and how.
4746  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747/* end confdefs.h.  */
4748#include <ac_nonexistent.h>
4749_ACEOF
4750if ac_fn_c_try_cpp "$LINENO"; then :
4751  # Broken: success on invalid input.
4752continue
4753else
4754  # Passes both tests.
4755ac_preproc_ok=:
4756break
4757fi
4758rm -f conftest.err conftest.i conftest.$ac_ext
4759
4760done
4761# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4762rm -f conftest.i conftest.err conftest.$ac_ext
4763if $ac_preproc_ok; then :
4764
4765else
4766  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4767$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4768as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4769See \`config.log' for more details" "$LINENO" 5; }
4770fi
4771
4772ac_ext=c
4773ac_cpp='$CPP $CPPFLAGS'
4774ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4775ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4776ac_compiler_gnu=$ac_cv_c_compiler_gnu
4777
4778
4779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4780$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4781if ${ac_cv_path_GREP+:} false; then :
4782  $as_echo_n "(cached) " >&6
4783else
4784  if test -z "$GREP"; then
4785  ac_path_GREP_found=false
4786  # Loop through the user's path and test for each of PROGNAME-LIST
4787  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4789do
4790  IFS=$as_save_IFS
4791  test -z "$as_dir" && as_dir=.
4792    for ac_prog in grep ggrep; do
4793    for ac_exec_ext in '' $ac_executable_extensions; do
4794      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4795      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4796# Check for GNU ac_path_GREP and select it if it is found.
4797  # Check for GNU $ac_path_GREP
4798case `"$ac_path_GREP" --version 2>&1` in
4799*GNU*)
4800  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4801*)
4802  ac_count=0
4803  $as_echo_n 0123456789 >"conftest.in"
4804  while :
4805  do
4806    cat "conftest.in" "conftest.in" >"conftest.tmp"
4807    mv "conftest.tmp" "conftest.in"
4808    cp "conftest.in" "conftest.nl"
4809    $as_echo 'GREP' >> "conftest.nl"
4810    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4811    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4812    as_fn_arith $ac_count + 1 && ac_count=$as_val
4813    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4814      # Best one so far, save it but keep looking for a better one
4815      ac_cv_path_GREP="$ac_path_GREP"
4816      ac_path_GREP_max=$ac_count
4817    fi
4818    # 10*(2^10) chars as input seems more than enough
4819    test $ac_count -gt 10 && break
4820  done
4821  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4822esac
4823
4824      $ac_path_GREP_found && break 3
4825    done
4826  done
4827  done
4828IFS=$as_save_IFS
4829  if test -z "$ac_cv_path_GREP"; then
4830    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4831  fi
4832else
4833  ac_cv_path_GREP=$GREP
4834fi
4835
4836fi
4837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4838$as_echo "$ac_cv_path_GREP" >&6; }
4839 GREP="$ac_cv_path_GREP"
4840
4841
4842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4843$as_echo_n "checking for egrep... " >&6; }
4844if ${ac_cv_path_EGREP+:} false; then :
4845  $as_echo_n "(cached) " >&6
4846else
4847  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4848   then ac_cv_path_EGREP="$GREP -E"
4849   else
4850     if test -z "$EGREP"; then
4851  ac_path_EGREP_found=false
4852  # Loop through the user's path and test for each of PROGNAME-LIST
4853  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4854for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4855do
4856  IFS=$as_save_IFS
4857  test -z "$as_dir" && as_dir=.
4858    for ac_prog in egrep; do
4859    for ac_exec_ext in '' $ac_executable_extensions; do
4860      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4861      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4862# Check for GNU ac_path_EGREP and select it if it is found.
4863  # Check for GNU $ac_path_EGREP
4864case `"$ac_path_EGREP" --version 2>&1` in
4865*GNU*)
4866  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4867*)
4868  ac_count=0
4869  $as_echo_n 0123456789 >"conftest.in"
4870  while :
4871  do
4872    cat "conftest.in" "conftest.in" >"conftest.tmp"
4873    mv "conftest.tmp" "conftest.in"
4874    cp "conftest.in" "conftest.nl"
4875    $as_echo 'EGREP' >> "conftest.nl"
4876    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4877    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4878    as_fn_arith $ac_count + 1 && ac_count=$as_val
4879    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4880      # Best one so far, save it but keep looking for a better one
4881      ac_cv_path_EGREP="$ac_path_EGREP"
4882      ac_path_EGREP_max=$ac_count
4883    fi
4884    # 10*(2^10) chars as input seems more than enough
4885    test $ac_count -gt 10 && break
4886  done
4887  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4888esac
4889
4890      $ac_path_EGREP_found && break 3
4891    done
4892  done
4893  done
4894IFS=$as_save_IFS
4895  if test -z "$ac_cv_path_EGREP"; then
4896    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4897  fi
4898else
4899  ac_cv_path_EGREP=$EGREP
4900fi
4901
4902   fi
4903fi
4904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4905$as_echo "$ac_cv_path_EGREP" >&6; }
4906 EGREP="$ac_cv_path_EGREP"
4907
4908
4909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4910$as_echo_n "checking for ANSI C header files... " >&6; }
4911if ${ac_cv_header_stdc+:} false; then :
4912  $as_echo_n "(cached) " >&6
4913else
4914  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4915/* end confdefs.h.  */
4916#include <stdlib.h>
4917#include <stdarg.h>
4918#include <string.h>
4919#include <float.h>
4920
4921int
4922main ()
4923{
4924
4925  ;
4926  return 0;
4927}
4928_ACEOF
4929if ac_fn_c_try_compile "$LINENO"; then :
4930  ac_cv_header_stdc=yes
4931else
4932  ac_cv_header_stdc=no
4933fi
4934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4935
4936if test $ac_cv_header_stdc = yes; then
4937  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4938  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4939/* end confdefs.h.  */
4940#include <string.h>
4941
4942_ACEOF
4943if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4944  $EGREP "memchr" >/dev/null 2>&1; then :
4945
4946else
4947  ac_cv_header_stdc=no
4948fi
4949rm -f conftest*
4950
4951fi
4952
4953if test $ac_cv_header_stdc = yes; then
4954  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4955  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956/* end confdefs.h.  */
4957#include <stdlib.h>
4958
4959_ACEOF
4960if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4961  $EGREP "free" >/dev/null 2>&1; then :
4962
4963else
4964  ac_cv_header_stdc=no
4965fi
4966rm -f conftest*
4967
4968fi
4969
4970if test $ac_cv_header_stdc = yes; then
4971  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4972  if test "$cross_compiling" = yes; then :
4973  :
4974else
4975  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4976/* end confdefs.h.  */
4977#include <ctype.h>
4978#include <stdlib.h>
4979#if ((' ' & 0x0FF) == 0x020)
4980# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4981# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4982#else
4983# define ISLOWER(c) \
4984		   (('a' <= (c) && (c) <= 'i') \
4985		     || ('j' <= (c) && (c) <= 'r') \
4986		     || ('s' <= (c) && (c) <= 'z'))
4987# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4988#endif
4989
4990#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4991int
4992main ()
4993{
4994  int i;
4995  for (i = 0; i < 256; i++)
4996    if (XOR (islower (i), ISLOWER (i))
4997	|| toupper (i) != TOUPPER (i))
4998      return 2;
4999  return 0;
5000}
5001_ACEOF
5002if ac_fn_c_try_run "$LINENO"; then :
5003
5004else
5005  ac_cv_header_stdc=no
5006fi
5007rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5008  conftest.$ac_objext conftest.beam conftest.$ac_ext
5009fi
5010
5011fi
5012fi
5013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5014$as_echo "$ac_cv_header_stdc" >&6; }
5015if test $ac_cv_header_stdc = yes; then
5016
5017$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5018
5019fi
5020
5021# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5022for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5023		  inttypes.h stdint.h unistd.h
5024do :
5025  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5026ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5027"
5028if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5029  cat >>confdefs.h <<_ACEOF
5030#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5031_ACEOF
5032
5033fi
5034
5035done
5036
5037
5038ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
5039case $ac_cv_c_int64_t in #(
5040  no|yes) ;; #(
5041  *)
5042
5043cat >>confdefs.h <<_ACEOF
5044#define int64_t $ac_cv_c_int64_t
5045_ACEOF
5046;;
5047esac
5048
5049
5050
5051# Make sure we can run config.sub.
5052$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5053  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5054
5055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5056$as_echo_n "checking build system type... " >&6; }
5057if ${ac_cv_build+:} false; then :
5058  $as_echo_n "(cached) " >&6
5059else
5060  ac_build_alias=$build_alias
5061test "x$ac_build_alias" = x &&
5062  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5063test "x$ac_build_alias" = x &&
5064  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5065ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5066  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5067
5068fi
5069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5070$as_echo "$ac_cv_build" >&6; }
5071case $ac_cv_build in
5072*-*-*) ;;
5073*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5074esac
5075build=$ac_cv_build
5076ac_save_IFS=$IFS; IFS='-'
5077set x $ac_cv_build
5078shift
5079build_cpu=$1
5080build_vendor=$2
5081shift; shift
5082# Remember, the first character of IFS is used to create $*,
5083# except with old shells:
5084build_os=$*
5085IFS=$ac_save_IFS
5086case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5087
5088
5089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5090$as_echo_n "checking host system type... " >&6; }
5091if ${ac_cv_host+:} false; then :
5092  $as_echo_n "(cached) " >&6
5093else
5094  if test "x$host_alias" = x; then
5095  ac_cv_host=$ac_cv_build
5096else
5097  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5098    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5099fi
5100
5101fi
5102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5103$as_echo "$ac_cv_host" >&6; }
5104case $ac_cv_host in
5105*-*-*) ;;
5106*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5107esac
5108host=$ac_cv_host
5109ac_save_IFS=$IFS; IFS='-'
5110set x $ac_cv_host
5111shift
5112host_cpu=$1
5113host_vendor=$2
5114shift; shift
5115# Remember, the first character of IFS is used to create $*,
5116# except with old shells:
5117host_os=$*
5118IFS=$ac_save_IFS
5119case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5120
5121
5122enable_win32_dll=yes
5123
5124case $host in
5125*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
5126  if test -n "$ac_tool_prefix"; then
5127  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5128set dummy ${ac_tool_prefix}as; ac_word=$2
5129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130$as_echo_n "checking for $ac_word... " >&6; }
5131if ${ac_cv_prog_AS+:} false; then :
5132  $as_echo_n "(cached) " >&6
5133else
5134  if test -n "$AS"; then
5135  ac_cv_prog_AS="$AS" # Let the user override the test.
5136else
5137as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138for as_dir in $PATH
5139do
5140  IFS=$as_save_IFS
5141  test -z "$as_dir" && as_dir=.
5142    for ac_exec_ext in '' $ac_executable_extensions; do
5143  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144    ac_cv_prog_AS="${ac_tool_prefix}as"
5145    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146    break 2
5147  fi
5148done
5149  done
5150IFS=$as_save_IFS
5151
5152fi
5153fi
5154AS=$ac_cv_prog_AS
5155if test -n "$AS"; then
5156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5157$as_echo "$AS" >&6; }
5158else
5159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160$as_echo "no" >&6; }
5161fi
5162
5163
5164fi
5165if test -z "$ac_cv_prog_AS"; then
5166  ac_ct_AS=$AS
5167  # Extract the first word of "as", so it can be a program name with args.
5168set dummy as; ac_word=$2
5169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170$as_echo_n "checking for $ac_word... " >&6; }
5171if ${ac_cv_prog_ac_ct_AS+:} false; then :
5172  $as_echo_n "(cached) " >&6
5173else
5174  if test -n "$ac_ct_AS"; then
5175  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5176else
5177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178for as_dir in $PATH
5179do
5180  IFS=$as_save_IFS
5181  test -z "$as_dir" && as_dir=.
5182    for ac_exec_ext in '' $ac_executable_extensions; do
5183  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184    ac_cv_prog_ac_ct_AS="as"
5185    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186    break 2
5187  fi
5188done
5189  done
5190IFS=$as_save_IFS
5191
5192fi
5193fi
5194ac_ct_AS=$ac_cv_prog_ac_ct_AS
5195if test -n "$ac_ct_AS"; then
5196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5197$as_echo "$ac_ct_AS" >&6; }
5198else
5199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200$as_echo "no" >&6; }
5201fi
5202
5203  if test "x$ac_ct_AS" = x; then
5204    AS="false"
5205  else
5206    case $cross_compiling:$ac_tool_warned in
5207yes:)
5208{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5209$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5210ac_tool_warned=yes ;;
5211esac
5212    AS=$ac_ct_AS
5213  fi
5214else
5215  AS="$ac_cv_prog_AS"
5216fi
5217
5218  if test -n "$ac_tool_prefix"; then
5219  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5220set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5222$as_echo_n "checking for $ac_word... " >&6; }
5223if ${ac_cv_prog_DLLTOOL+:} false; then :
5224  $as_echo_n "(cached) " >&6
5225else
5226  if test -n "$DLLTOOL"; then
5227  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5228else
5229as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5230for as_dir in $PATH
5231do
5232  IFS=$as_save_IFS
5233  test -z "$as_dir" && as_dir=.
5234    for ac_exec_ext in '' $ac_executable_extensions; do
5235  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5236    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5237    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5238    break 2
5239  fi
5240done
5241  done
5242IFS=$as_save_IFS
5243
5244fi
5245fi
5246DLLTOOL=$ac_cv_prog_DLLTOOL
5247if test -n "$DLLTOOL"; then
5248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5249$as_echo "$DLLTOOL" >&6; }
5250else
5251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5252$as_echo "no" >&6; }
5253fi
5254
5255
5256fi
5257if test -z "$ac_cv_prog_DLLTOOL"; then
5258  ac_ct_DLLTOOL=$DLLTOOL
5259  # Extract the first word of "dlltool", so it can be a program name with args.
5260set dummy dlltool; ac_word=$2
5261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5262$as_echo_n "checking for $ac_word... " >&6; }
5263if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5264  $as_echo_n "(cached) " >&6
5265else
5266  if test -n "$ac_ct_DLLTOOL"; then
5267  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5268else
5269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270for as_dir in $PATH
5271do
5272  IFS=$as_save_IFS
5273  test -z "$as_dir" && as_dir=.
5274    for ac_exec_ext in '' $ac_executable_extensions; do
5275  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5276    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5277    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5278    break 2
5279  fi
5280done
5281  done
5282IFS=$as_save_IFS
5283
5284fi
5285fi
5286ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5287if test -n "$ac_ct_DLLTOOL"; then
5288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5289$as_echo "$ac_ct_DLLTOOL" >&6; }
5290else
5291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5292$as_echo "no" >&6; }
5293fi
5294
5295  if test "x$ac_ct_DLLTOOL" = x; then
5296    DLLTOOL="false"
5297  else
5298    case $cross_compiling:$ac_tool_warned in
5299yes:)
5300{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5301$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5302ac_tool_warned=yes ;;
5303esac
5304    DLLTOOL=$ac_ct_DLLTOOL
5305  fi
5306else
5307  DLLTOOL="$ac_cv_prog_DLLTOOL"
5308fi
5309
5310  if test -n "$ac_tool_prefix"; then
5311  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5312set dummy ${ac_tool_prefix}objdump; ac_word=$2
5313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314$as_echo_n "checking for $ac_word... " >&6; }
5315if ${ac_cv_prog_OBJDUMP+:} false; then :
5316  $as_echo_n "(cached) " >&6
5317else
5318  if test -n "$OBJDUMP"; then
5319  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5320else
5321as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322for as_dir in $PATH
5323do
5324  IFS=$as_save_IFS
5325  test -z "$as_dir" && as_dir=.
5326    for ac_exec_ext in '' $ac_executable_extensions; do
5327  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5328    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5329    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5330    break 2
5331  fi
5332done
5333  done
5334IFS=$as_save_IFS
5335
5336fi
5337fi
5338OBJDUMP=$ac_cv_prog_OBJDUMP
5339if test -n "$OBJDUMP"; then
5340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5341$as_echo "$OBJDUMP" >&6; }
5342else
5343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344$as_echo "no" >&6; }
5345fi
5346
5347
5348fi
5349if test -z "$ac_cv_prog_OBJDUMP"; then
5350  ac_ct_OBJDUMP=$OBJDUMP
5351  # Extract the first word of "objdump", so it can be a program name with args.
5352set dummy objdump; ac_word=$2
5353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354$as_echo_n "checking for $ac_word... " >&6; }
5355if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5356  $as_echo_n "(cached) " >&6
5357else
5358  if test -n "$ac_ct_OBJDUMP"; then
5359  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5360else
5361as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362for as_dir in $PATH
5363do
5364  IFS=$as_save_IFS
5365  test -z "$as_dir" && as_dir=.
5366    for ac_exec_ext in '' $ac_executable_extensions; do
5367  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5368    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5369    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5370    break 2
5371  fi
5372done
5373  done
5374IFS=$as_save_IFS
5375
5376fi
5377fi
5378ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5379if test -n "$ac_ct_OBJDUMP"; then
5380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5381$as_echo "$ac_ct_OBJDUMP" >&6; }
5382else
5383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384$as_echo "no" >&6; }
5385fi
5386
5387  if test "x$ac_ct_OBJDUMP" = x; then
5388    OBJDUMP="false"
5389  else
5390    case $cross_compiling:$ac_tool_warned in
5391yes:)
5392{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5393$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5394ac_tool_warned=yes ;;
5395esac
5396    OBJDUMP=$ac_ct_OBJDUMP
5397  fi
5398else
5399  OBJDUMP="$ac_cv_prog_OBJDUMP"
5400fi
5401
5402  ;;
5403esac
5404
5405test -z "$AS" && AS=as
5406
5407
5408
5409
5410
5411test -z "$DLLTOOL" && DLLTOOL=dlltool
5412
5413
5414
5415
5416
5417test -z "$OBJDUMP" && OBJDUMP=objdump
5418
5419
5420
5421
5422
5423
5424
5425case `pwd` in
5426  *\ * | *\	*)
5427    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5428$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5429esac
5430
5431
5432
5433macro_version='2.4'
5434macro_revision='1.3293'
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448ltmain="$ac_aux_dir/ltmain.sh"
5449
5450# Backslashify metacharacters that are still active within
5451# double-quoted strings.
5452sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5453
5454# Same as above, but do not quote variable references.
5455double_quote_subst='s/\(["`\\]\)/\\\1/g'
5456
5457# Sed substitution to delay expansion of an escaped shell variable in a
5458# double_quote_subst'ed string.
5459delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5460
5461# Sed substitution to delay expansion of an escaped single quote.
5462delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5463
5464# Sed substitution to avoid accidental globbing in evaled expressions
5465no_glob_subst='s/\*/\\\*/g'
5466
5467ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5468ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5469ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5470
5471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5472$as_echo_n "checking how to print strings... " >&6; }
5473# Test print first, because it will be a builtin if present.
5474if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5475   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5476  ECHO='print -r --'
5477elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5478  ECHO='printf %s\n'
5479else
5480  # Use this function as a fallback that always works.
5481  func_fallback_echo ()
5482  {
5483    eval 'cat <<_LTECHO_EOF
5484$1
5485_LTECHO_EOF'
5486  }
5487  ECHO='func_fallback_echo'
5488fi
5489
5490# func_echo_all arg...
5491# Invoke $ECHO with all args, space-separated.
5492func_echo_all ()
5493{
5494    $ECHO ""
5495}
5496
5497case "$ECHO" in
5498  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5499$as_echo "printf" >&6; } ;;
5500  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5501$as_echo "print -r" >&6; } ;;
5502  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5503$as_echo "cat" >&6; } ;;
5504esac
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5520$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5521if ${ac_cv_path_SED+:} false; then :
5522  $as_echo_n "(cached) " >&6
5523else
5524            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5525     for ac_i in 1 2 3 4 5 6 7; do
5526       ac_script="$ac_script$as_nl$ac_script"
5527     done
5528     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5529     { ac_script=; unset ac_script;}
5530     if test -z "$SED"; then
5531  ac_path_SED_found=false
5532  # Loop through the user's path and test for each of PROGNAME-LIST
5533  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534for as_dir in $PATH
5535do
5536  IFS=$as_save_IFS
5537  test -z "$as_dir" && as_dir=.
5538    for ac_prog in sed gsed; do
5539    for ac_exec_ext in '' $ac_executable_extensions; do
5540      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5541      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5542# Check for GNU ac_path_SED and select it if it is found.
5543  # Check for GNU $ac_path_SED
5544case `"$ac_path_SED" --version 2>&1` in
5545*GNU*)
5546  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5547*)
5548  ac_count=0
5549  $as_echo_n 0123456789 >"conftest.in"
5550  while :
5551  do
5552    cat "conftest.in" "conftest.in" >"conftest.tmp"
5553    mv "conftest.tmp" "conftest.in"
5554    cp "conftest.in" "conftest.nl"
5555    $as_echo '' >> "conftest.nl"
5556    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5557    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5558    as_fn_arith $ac_count + 1 && ac_count=$as_val
5559    if test $ac_count -gt ${ac_path_SED_max-0}; then
5560      # Best one so far, save it but keep looking for a better one
5561      ac_cv_path_SED="$ac_path_SED"
5562      ac_path_SED_max=$ac_count
5563    fi
5564    # 10*(2^10) chars as input seems more than enough
5565    test $ac_count -gt 10 && break
5566  done
5567  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5568esac
5569
5570      $ac_path_SED_found && break 3
5571    done
5572  done
5573  done
5574IFS=$as_save_IFS
5575  if test -z "$ac_cv_path_SED"; then
5576    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5577  fi
5578else
5579  ac_cv_path_SED=$SED
5580fi
5581
5582fi
5583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5584$as_echo "$ac_cv_path_SED" >&6; }
5585 SED="$ac_cv_path_SED"
5586  rm -f conftest.sed
5587
5588test -z "$SED" && SED=sed
5589Xsed="$SED -e 1s/^X//"
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5602$as_echo_n "checking for fgrep... " >&6; }
5603if ${ac_cv_path_FGREP+:} false; then :
5604  $as_echo_n "(cached) " >&6
5605else
5606  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5607   then ac_cv_path_FGREP="$GREP -F"
5608   else
5609     if test -z "$FGREP"; then
5610  ac_path_FGREP_found=false
5611  # Loop through the user's path and test for each of PROGNAME-LIST
5612  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5613for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5614do
5615  IFS=$as_save_IFS
5616  test -z "$as_dir" && as_dir=.
5617    for ac_prog in fgrep; do
5618    for ac_exec_ext in '' $ac_executable_extensions; do
5619      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5620      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5621# Check for GNU ac_path_FGREP and select it if it is found.
5622  # Check for GNU $ac_path_FGREP
5623case `"$ac_path_FGREP" --version 2>&1` in
5624*GNU*)
5625  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5626*)
5627  ac_count=0
5628  $as_echo_n 0123456789 >"conftest.in"
5629  while :
5630  do
5631    cat "conftest.in" "conftest.in" >"conftest.tmp"
5632    mv "conftest.tmp" "conftest.in"
5633    cp "conftest.in" "conftest.nl"
5634    $as_echo 'FGREP' >> "conftest.nl"
5635    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5636    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5637    as_fn_arith $ac_count + 1 && ac_count=$as_val
5638    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5639      # Best one so far, save it but keep looking for a better one
5640      ac_cv_path_FGREP="$ac_path_FGREP"
5641      ac_path_FGREP_max=$ac_count
5642    fi
5643    # 10*(2^10) chars as input seems more than enough
5644    test $ac_count -gt 10 && break
5645  done
5646  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5647esac
5648
5649      $ac_path_FGREP_found && break 3
5650    done
5651  done
5652  done
5653IFS=$as_save_IFS
5654  if test -z "$ac_cv_path_FGREP"; then
5655    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5656  fi
5657else
5658  ac_cv_path_FGREP=$FGREP
5659fi
5660
5661   fi
5662fi
5663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5664$as_echo "$ac_cv_path_FGREP" >&6; }
5665 FGREP="$ac_cv_path_FGREP"
5666
5667
5668test -z "$GREP" && GREP=grep
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688# Check whether --with-gnu-ld was given.
5689if test "${with_gnu_ld+set}" = set; then :
5690  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5691else
5692  with_gnu_ld=no
5693fi
5694
5695ac_prog=ld
5696if test "$GCC" = yes; then
5697  # Check if gcc -print-prog-name=ld gives a path.
5698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5699$as_echo_n "checking for ld used by $CC... " >&6; }
5700  case $host in
5701  *-*-mingw*)
5702    # gcc leaves a trailing carriage return which upsets mingw
5703    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5704  *)
5705    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5706  esac
5707  case $ac_prog in
5708    # Accept absolute paths.
5709    [\\/]* | ?:[\\/]*)
5710      re_direlt='/[^/][^/]*/\.\./'
5711      # Canonicalize the pathname of ld
5712      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5713      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5714	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5715      done
5716      test -z "$LD" && LD="$ac_prog"
5717      ;;
5718  "")
5719    # If it fails, then pretend we aren't using GCC.
5720    ac_prog=ld
5721    ;;
5722  *)
5723    # If it is relative, then search for the first ld in PATH.
5724    with_gnu_ld=unknown
5725    ;;
5726  esac
5727elif test "$with_gnu_ld" = yes; then
5728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5729$as_echo_n "checking for GNU ld... " >&6; }
5730else
5731  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5732$as_echo_n "checking for non-GNU ld... " >&6; }
5733fi
5734if ${lt_cv_path_LD+:} false; then :
5735  $as_echo_n "(cached) " >&6
5736else
5737  if test -z "$LD"; then
5738  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5739  for ac_dir in $PATH; do
5740    IFS="$lt_save_ifs"
5741    test -z "$ac_dir" && ac_dir=.
5742    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5743      lt_cv_path_LD="$ac_dir/$ac_prog"
5744      # Check to see if the program is GNU ld.  I'd rather use --version,
5745      # but apparently some variants of GNU ld only accept -v.
5746      # Break only if it was the GNU/non-GNU ld that we prefer.
5747      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5748      *GNU* | *'with BFD'*)
5749	test "$with_gnu_ld" != no && break
5750	;;
5751      *)
5752	test "$with_gnu_ld" != yes && break
5753	;;
5754      esac
5755    fi
5756  done
5757  IFS="$lt_save_ifs"
5758else
5759  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5760fi
5761fi
5762
5763LD="$lt_cv_path_LD"
5764if test -n "$LD"; then
5765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5766$as_echo "$LD" >&6; }
5767else
5768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769$as_echo "no" >&6; }
5770fi
5771test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5773$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5774if ${lt_cv_prog_gnu_ld+:} false; then :
5775  $as_echo_n "(cached) " >&6
5776else
5777  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5778case `$LD -v 2>&1 </dev/null` in
5779*GNU* | *'with BFD'*)
5780  lt_cv_prog_gnu_ld=yes
5781  ;;
5782*)
5783  lt_cv_prog_gnu_ld=no
5784  ;;
5785esac
5786fi
5787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5788$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5789with_gnu_ld=$lt_cv_prog_gnu_ld
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5800$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5801if ${lt_cv_path_NM+:} false; then :
5802  $as_echo_n "(cached) " >&6
5803else
5804  if test -n "$NM"; then
5805  # Let the user override the test.
5806  lt_cv_path_NM="$NM"
5807else
5808  lt_nm_to_check="${ac_tool_prefix}nm"
5809  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5810    lt_nm_to_check="$lt_nm_to_check nm"
5811  fi
5812  for lt_tmp_nm in $lt_nm_to_check; do
5813    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5814    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5815      IFS="$lt_save_ifs"
5816      test -z "$ac_dir" && ac_dir=.
5817      tmp_nm="$ac_dir/$lt_tmp_nm"
5818      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5819	# Check to see if the nm accepts a BSD-compat flag.
5820	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5821	#   nm: unknown option "B" ignored
5822	# Tru64's nm complains that /dev/null is an invalid object file
5823	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5824	*/dev/null* | *'Invalid file or object type'*)
5825	  lt_cv_path_NM="$tmp_nm -B"
5826	  break
5827	  ;;
5828	*)
5829	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5830	  */dev/null*)
5831	    lt_cv_path_NM="$tmp_nm -p"
5832	    break
5833	    ;;
5834	  *)
5835	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5836	    continue # so that we can try to find one that supports BSD flags
5837	    ;;
5838	  esac
5839	  ;;
5840	esac
5841      fi
5842    done
5843    IFS="$lt_save_ifs"
5844  done
5845  : ${lt_cv_path_NM=no}
5846fi
5847fi
5848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5849$as_echo "$lt_cv_path_NM" >&6; }
5850if test "$lt_cv_path_NM" != "no"; then
5851  NM="$lt_cv_path_NM"
5852else
5853  # Didn't find any BSD compatible name lister, look for dumpbin.
5854  if test -n "$DUMPBIN"; then :
5855    # Let the user override the test.
5856  else
5857    if test -n "$ac_tool_prefix"; then
5858  for ac_prog in dumpbin "link -dump"
5859  do
5860    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5861set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5863$as_echo_n "checking for $ac_word... " >&6; }
5864if ${ac_cv_prog_DUMPBIN+:} false; then :
5865  $as_echo_n "(cached) " >&6
5866else
5867  if test -n "$DUMPBIN"; then
5868  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5869else
5870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5871for as_dir in $PATH
5872do
5873  IFS=$as_save_IFS
5874  test -z "$as_dir" && as_dir=.
5875    for ac_exec_ext in '' $ac_executable_extensions; do
5876  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5877    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5878    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5879    break 2
5880  fi
5881done
5882  done
5883IFS=$as_save_IFS
5884
5885fi
5886fi
5887DUMPBIN=$ac_cv_prog_DUMPBIN
5888if test -n "$DUMPBIN"; then
5889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5890$as_echo "$DUMPBIN" >&6; }
5891else
5892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893$as_echo "no" >&6; }
5894fi
5895
5896
5897    test -n "$DUMPBIN" && break
5898  done
5899fi
5900if test -z "$DUMPBIN"; then
5901  ac_ct_DUMPBIN=$DUMPBIN
5902  for ac_prog in dumpbin "link -dump"
5903do
5904  # Extract the first word of "$ac_prog", so it can be a program name with args.
5905set dummy $ac_prog; ac_word=$2
5906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5907$as_echo_n "checking for $ac_word... " >&6; }
5908if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5909  $as_echo_n "(cached) " >&6
5910else
5911  if test -n "$ac_ct_DUMPBIN"; then
5912  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5913else
5914as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5915for as_dir in $PATH
5916do
5917  IFS=$as_save_IFS
5918  test -z "$as_dir" && as_dir=.
5919    for ac_exec_ext in '' $ac_executable_extensions; do
5920  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5921    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5922    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5923    break 2
5924  fi
5925done
5926  done
5927IFS=$as_save_IFS
5928
5929fi
5930fi
5931ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5932if test -n "$ac_ct_DUMPBIN"; then
5933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5934$as_echo "$ac_ct_DUMPBIN" >&6; }
5935else
5936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937$as_echo "no" >&6; }
5938fi
5939
5940
5941  test -n "$ac_ct_DUMPBIN" && break
5942done
5943
5944  if test "x$ac_ct_DUMPBIN" = x; then
5945    DUMPBIN=":"
5946  else
5947    case $cross_compiling:$ac_tool_warned in
5948yes:)
5949{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5950$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5951ac_tool_warned=yes ;;
5952esac
5953    DUMPBIN=$ac_ct_DUMPBIN
5954  fi
5955fi
5956
5957    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5958    *COFF*)
5959      DUMPBIN="$DUMPBIN -symbols"
5960      ;;
5961    *)
5962      DUMPBIN=:
5963      ;;
5964    esac
5965  fi
5966
5967  if test "$DUMPBIN" != ":"; then
5968    NM="$DUMPBIN"
5969  fi
5970fi
5971test -z "$NM" && NM=nm
5972
5973
5974
5975
5976
5977
5978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5979$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5980if ${lt_cv_nm_interface+:} false; then :
5981  $as_echo_n "(cached) " >&6
5982else
5983  lt_cv_nm_interface="BSD nm"
5984  echo "int some_variable = 0;" > conftest.$ac_ext
5985  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5986  (eval "$ac_compile" 2>conftest.err)
5987  cat conftest.err >&5
5988  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5989  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5990  cat conftest.err >&5
5991  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5992  cat conftest.out >&5
5993  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5994    lt_cv_nm_interface="MS dumpbin"
5995  fi
5996  rm -f conftest*
5997fi
5998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5999$as_echo "$lt_cv_nm_interface" >&6; }
6000
6001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6002$as_echo_n "checking whether ln -s works... " >&6; }
6003LN_S=$as_ln_s
6004if test "$LN_S" = "ln -s"; then
6005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6006$as_echo "yes" >&6; }
6007else
6008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6009$as_echo "no, using $LN_S" >&6; }
6010fi
6011
6012# find the maximum length of command line arguments
6013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6014$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6015if ${lt_cv_sys_max_cmd_len+:} false; then :
6016  $as_echo_n "(cached) " >&6
6017else
6018    i=0
6019  teststring="ABCD"
6020
6021  case $build_os in
6022  msdosdjgpp*)
6023    # On DJGPP, this test can blow up pretty badly due to problems in libc
6024    # (any single argument exceeding 2000 bytes causes a buffer overrun
6025    # during glob expansion).  Even if it were fixed, the result of this
6026    # check would be larger than it should be.
6027    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6028    ;;
6029
6030  gnu*)
6031    # Under GNU Hurd, this test is not required because there is
6032    # no limit to the length of command line arguments.
6033    # Libtool will interpret -1 as no limit whatsoever
6034    lt_cv_sys_max_cmd_len=-1;
6035    ;;
6036
6037  cygwin* | mingw* | cegcc*)
6038    # On Win9x/ME, this test blows up -- it succeeds, but takes
6039    # about 5 minutes as the teststring grows exponentially.
6040    # Worse, since 9x/ME are not pre-emptively multitasking,
6041    # you end up with a "frozen" computer, even though with patience
6042    # the test eventually succeeds (with a max line length of 256k).
6043    # Instead, let's just punt: use the minimum linelength reported by
6044    # all of the supported platforms: 8192 (on NT/2K/XP).
6045    lt_cv_sys_max_cmd_len=8192;
6046    ;;
6047
6048  mint*)
6049    # On MiNT this can take a long time and run out of memory.
6050    lt_cv_sys_max_cmd_len=8192;
6051    ;;
6052
6053  amigaos*)
6054    # On AmigaOS with pdksh, this test takes hours, literally.
6055    # So we just punt and use a minimum line length of 8192.
6056    lt_cv_sys_max_cmd_len=8192;
6057    ;;
6058
6059  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6060    # This has been around since 386BSD, at least.  Likely further.
6061    if test -x /sbin/sysctl; then
6062      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6063    elif test -x /usr/sbin/sysctl; then
6064      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6065    else
6066      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6067    fi
6068    # And add a safety zone
6069    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6070    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6071    ;;
6072
6073  interix*)
6074    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6075    lt_cv_sys_max_cmd_len=196608
6076    ;;
6077
6078  osf*)
6079    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6080    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6081    # nice to cause kernel panics so lets avoid the loop below.
6082    # First set a reasonable default.
6083    lt_cv_sys_max_cmd_len=16384
6084    #
6085    if test -x /sbin/sysconfig; then
6086      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6087        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6088      esac
6089    fi
6090    ;;
6091  sco3.2v5*)
6092    lt_cv_sys_max_cmd_len=102400
6093    ;;
6094  sysv5* | sco5v6* | sysv4.2uw2*)
6095    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6096    if test -n "$kargmax"; then
6097      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6098    else
6099      lt_cv_sys_max_cmd_len=32768
6100    fi
6101    ;;
6102  *)
6103    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6104    if test -n "$lt_cv_sys_max_cmd_len"; then
6105      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6106      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6107    else
6108      # Make teststring a little bigger before we do anything with it.
6109      # a 1K string should be a reasonable start.
6110      for i in 1 2 3 4 5 6 7 8 ; do
6111        teststring=$teststring$teststring
6112      done
6113      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6114      # If test is not a shell built-in, we'll probably end up computing a
6115      # maximum length that is only half of the actual maximum length, but
6116      # we can't tell.
6117      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6118	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6119	      test $i != 17 # 1/2 MB should be enough
6120      do
6121        i=`expr $i + 1`
6122        teststring=$teststring$teststring
6123      done
6124      # Only check the string length outside the loop.
6125      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6126      teststring=
6127      # Add a significant safety factor because C++ compilers can tack on
6128      # massive amounts of additional arguments before passing them to the
6129      # linker.  It appears as though 1/2 is a usable value.
6130      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6131    fi
6132    ;;
6133  esac
6134
6135fi
6136
6137if test -n $lt_cv_sys_max_cmd_len ; then
6138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6139$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6140else
6141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6142$as_echo "none" >&6; }
6143fi
6144max_cmd_len=$lt_cv_sys_max_cmd_len
6145
6146
6147
6148
6149
6150
6151: ${CP="cp -f"}
6152: ${MV="mv -f"}
6153: ${RM="rm -f"}
6154
6155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6156$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6157# Try some XSI features
6158xsi_shell=no
6159( _lt_dummy="a/b/c"
6160  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6161      = c,a/b,b/c, \
6162    && eval 'test $(( 1 + 1 )) -eq 2 \
6163    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6164  && xsi_shell=yes
6165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6166$as_echo "$xsi_shell" >&6; }
6167
6168
6169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6170$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6171lt_shell_append=no
6172( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6173    >/dev/null 2>&1 \
6174  && lt_shell_append=yes
6175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6176$as_echo "$lt_shell_append" >&6; }
6177
6178
6179if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6180  lt_unset=unset
6181else
6182  lt_unset=false
6183fi
6184
6185
6186
6187
6188
6189# test EBCDIC or ASCII
6190case `echo X|tr X '\101'` in
6191 A) # ASCII based system
6192    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6193  lt_SP2NL='tr \040 \012'
6194  lt_NL2SP='tr \015\012 \040\040'
6195  ;;
6196 *) # EBCDIC based system
6197  lt_SP2NL='tr \100 \n'
6198  lt_NL2SP='tr \r\n \100\100'
6199  ;;
6200esac
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6211$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6212if ${lt_cv_to_host_file_cmd+:} false; then :
6213  $as_echo_n "(cached) " >&6
6214else
6215  case $host in
6216  *-*-mingw* )
6217    case $build in
6218      *-*-mingw* ) # actually msys
6219        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6220        ;;
6221      *-*-cygwin* )
6222        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6223        ;;
6224      * ) # otherwise, assume *nix
6225        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6226        ;;
6227    esac
6228    ;;
6229  *-*-cygwin* )
6230    case $build in
6231      *-*-mingw* ) # actually msys
6232        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6233        ;;
6234      *-*-cygwin* )
6235        lt_cv_to_host_file_cmd=func_convert_file_noop
6236        ;;
6237      * ) # otherwise, assume *nix
6238        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6239        ;;
6240    esac
6241    ;;
6242  * ) # unhandled hosts (and "normal" native builds)
6243    lt_cv_to_host_file_cmd=func_convert_file_noop
6244    ;;
6245esac
6246
6247fi
6248
6249to_host_file_cmd=$lt_cv_to_host_file_cmd
6250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6251$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6252
6253
6254
6255
6256
6257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6258$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6259if ${lt_cv_to_tool_file_cmd+:} false; then :
6260  $as_echo_n "(cached) " >&6
6261else
6262  #assume ordinary cross tools, or native build.
6263lt_cv_to_tool_file_cmd=func_convert_file_noop
6264case $host in
6265  *-*-mingw* )
6266    case $build in
6267      *-*-mingw* ) # actually msys
6268        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6269        ;;
6270    esac
6271    ;;
6272esac
6273
6274fi
6275
6276to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6278$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6279
6280
6281
6282
6283
6284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6285$as_echo_n "checking for $LD option to reload object files... " >&6; }
6286if ${lt_cv_ld_reload_flag+:} false; then :
6287  $as_echo_n "(cached) " >&6
6288else
6289  lt_cv_ld_reload_flag='-r'
6290fi
6291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6292$as_echo "$lt_cv_ld_reload_flag" >&6; }
6293reload_flag=$lt_cv_ld_reload_flag
6294case $reload_flag in
6295"" | " "*) ;;
6296*) reload_flag=" $reload_flag" ;;
6297esac
6298reload_cmds='$LD$reload_flag -o $output$reload_objs'
6299case $host_os in
6300  cygwin* | mingw* | pw32* | cegcc*)
6301    if test "$GCC" != yes; then
6302      reload_cmds=false
6303    fi
6304    ;;
6305  darwin*)
6306    if test "$GCC" = yes; then
6307      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6308    else
6309      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6310    fi
6311    ;;
6312esac
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322if test -n "$ac_tool_prefix"; then
6323  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6324set dummy ${ac_tool_prefix}objdump; ac_word=$2
6325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6326$as_echo_n "checking for $ac_word... " >&6; }
6327if ${ac_cv_prog_OBJDUMP+:} false; then :
6328  $as_echo_n "(cached) " >&6
6329else
6330  if test -n "$OBJDUMP"; then
6331  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6332else
6333as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6334for as_dir in $PATH
6335do
6336  IFS=$as_save_IFS
6337  test -z "$as_dir" && as_dir=.
6338    for ac_exec_ext in '' $ac_executable_extensions; do
6339  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6340    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6341    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6342    break 2
6343  fi
6344done
6345  done
6346IFS=$as_save_IFS
6347
6348fi
6349fi
6350OBJDUMP=$ac_cv_prog_OBJDUMP
6351if test -n "$OBJDUMP"; then
6352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6353$as_echo "$OBJDUMP" >&6; }
6354else
6355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6356$as_echo "no" >&6; }
6357fi
6358
6359
6360fi
6361if test -z "$ac_cv_prog_OBJDUMP"; then
6362  ac_ct_OBJDUMP=$OBJDUMP
6363  # Extract the first word of "objdump", so it can be a program name with args.
6364set dummy objdump; ac_word=$2
6365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6366$as_echo_n "checking for $ac_word... " >&6; }
6367if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6368  $as_echo_n "(cached) " >&6
6369else
6370  if test -n "$ac_ct_OBJDUMP"; then
6371  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6372else
6373as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374for as_dir in $PATH
6375do
6376  IFS=$as_save_IFS
6377  test -z "$as_dir" && as_dir=.
6378    for ac_exec_ext in '' $ac_executable_extensions; do
6379  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6380    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6381    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6382    break 2
6383  fi
6384done
6385  done
6386IFS=$as_save_IFS
6387
6388fi
6389fi
6390ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6391if test -n "$ac_ct_OBJDUMP"; then
6392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6393$as_echo "$ac_ct_OBJDUMP" >&6; }
6394else
6395  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6396$as_echo "no" >&6; }
6397fi
6398
6399  if test "x$ac_ct_OBJDUMP" = x; then
6400    OBJDUMP="false"
6401  else
6402    case $cross_compiling:$ac_tool_warned in
6403yes:)
6404{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6405$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6406ac_tool_warned=yes ;;
6407esac
6408    OBJDUMP=$ac_ct_OBJDUMP
6409  fi
6410else
6411  OBJDUMP="$ac_cv_prog_OBJDUMP"
6412fi
6413
6414test -z "$OBJDUMP" && OBJDUMP=objdump
6415
6416
6417
6418
6419
6420
6421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6422$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6423if ${lt_cv_deplibs_check_method+:} false; then :
6424  $as_echo_n "(cached) " >&6
6425else
6426  lt_cv_file_magic_cmd='$MAGIC_CMD'
6427lt_cv_file_magic_test_file=
6428lt_cv_deplibs_check_method='unknown'
6429# Need to set the preceding variable on all platforms that support
6430# interlibrary dependencies.
6431# 'none' -- dependencies not supported.
6432# `unknown' -- same as none, but documents that we really don't know.
6433# 'pass_all' -- all dependencies passed with no checks.
6434# 'test_compile' -- check by making test program.
6435# 'file_magic [[regex]]' -- check by looking for files in library path
6436# which responds to the $file_magic_cmd with a given extended regex.
6437# If you have `file' or equivalent on your system and you're not sure
6438# whether `pass_all' will *always* work, you probably want this one.
6439
6440case $host_os in
6441aix[4-9]*)
6442  lt_cv_deplibs_check_method=pass_all
6443  ;;
6444
6445beos*)
6446  lt_cv_deplibs_check_method=pass_all
6447  ;;
6448
6449bsdi[45]*)
6450  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6451  lt_cv_file_magic_cmd='/usr/bin/file -L'
6452  lt_cv_file_magic_test_file=/shlib/libc.so
6453  ;;
6454
6455cygwin*)
6456  # func_win32_libid is a shell function defined in ltmain.sh
6457  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6458  lt_cv_file_magic_cmd='func_win32_libid'
6459  ;;
6460
6461mingw* | pw32*)
6462  # Base MSYS/MinGW do not provide the 'file' command needed by
6463  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6464  # unless we find 'file', for example because we are cross-compiling.
6465  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6466  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6467    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6468    lt_cv_file_magic_cmd='func_win32_libid'
6469  else
6470    # Keep this pattern in sync with the one in func_win32_libid.
6471    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6472    lt_cv_file_magic_cmd='$OBJDUMP -f'
6473  fi
6474  ;;
6475
6476cegcc*)
6477  # use the weaker test based on 'objdump'. See mingw*.
6478  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6479  lt_cv_file_magic_cmd='$OBJDUMP -f'
6480  ;;
6481
6482darwin* | rhapsody*)
6483  lt_cv_deplibs_check_method=pass_all
6484  ;;
6485
6486freebsd* | dragonfly*)
6487  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6488    case $host_cpu in
6489    i*86 )
6490      # Not sure whether the presence of OpenBSD here was a mistake.
6491      # Let's accept both of them until this is cleared up.
6492      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6493      lt_cv_file_magic_cmd=/usr/bin/file
6494      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6495      ;;
6496    esac
6497  else
6498    lt_cv_deplibs_check_method=pass_all
6499  fi
6500  ;;
6501
6502gnu*)
6503  lt_cv_deplibs_check_method=pass_all
6504  ;;
6505
6506haiku*)
6507  lt_cv_deplibs_check_method=pass_all
6508  ;;
6509
6510hpux10.20* | hpux11*)
6511  lt_cv_file_magic_cmd=/usr/bin/file
6512  case $host_cpu in
6513  ia64*)
6514    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6515    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6516    ;;
6517  hppa*64*)
6518    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]'
6519    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6520    ;;
6521  *)
6522    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6523    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6524    ;;
6525  esac
6526  ;;
6527
6528interix[3-9]*)
6529  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6530  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6531  ;;
6532
6533irix5* | irix6* | nonstopux*)
6534  case $LD in
6535  *-32|*"-32 ") libmagic=32-bit;;
6536  *-n32|*"-n32 ") libmagic=N32;;
6537  *-64|*"-64 ") libmagic=64-bit;;
6538  *) libmagic=never-match;;
6539  esac
6540  lt_cv_deplibs_check_method=pass_all
6541  ;;
6542
6543# This must be Linux ELF.
6544linux* | k*bsd*-gnu | kopensolaris*-gnu)
6545  lt_cv_deplibs_check_method=pass_all
6546  ;;
6547
6548netbsd*)
6549  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6550    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6551  else
6552    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6553  fi
6554  ;;
6555
6556newos6*)
6557  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6558  lt_cv_file_magic_cmd=/usr/bin/file
6559  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6560  ;;
6561
6562*nto* | *qnx*)
6563  lt_cv_deplibs_check_method=pass_all
6564  ;;
6565
6566openbsd*)
6567  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6568    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6569  else
6570    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6571  fi
6572  ;;
6573
6574osf3* | osf4* | osf5*)
6575  lt_cv_deplibs_check_method=pass_all
6576  ;;
6577
6578rdos*)
6579  lt_cv_deplibs_check_method=pass_all
6580  ;;
6581
6582solaris*)
6583  lt_cv_deplibs_check_method=pass_all
6584  ;;
6585
6586sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6587  lt_cv_deplibs_check_method=pass_all
6588  ;;
6589
6590sysv4 | sysv4.3*)
6591  case $host_vendor in
6592  motorola)
6593    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]'
6594    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6595    ;;
6596  ncr)
6597    lt_cv_deplibs_check_method=pass_all
6598    ;;
6599  sequent)
6600    lt_cv_file_magic_cmd='/bin/file'
6601    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6602    ;;
6603  sni)
6604    lt_cv_file_magic_cmd='/bin/file'
6605    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6606    lt_cv_file_magic_test_file=/lib/libc.so
6607    ;;
6608  siemens)
6609    lt_cv_deplibs_check_method=pass_all
6610    ;;
6611  pc)
6612    lt_cv_deplibs_check_method=pass_all
6613    ;;
6614  esac
6615  ;;
6616
6617tpf*)
6618  lt_cv_deplibs_check_method=pass_all
6619  ;;
6620esac
6621
6622fi
6623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6624$as_echo "$lt_cv_deplibs_check_method" >&6; }
6625
6626file_magic_glob=
6627want_nocaseglob=no
6628if test "$build" = "$host"; then
6629  case $host_os in
6630  mingw* | pw32*)
6631    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6632      want_nocaseglob=yes
6633    else
6634      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6635    fi
6636    ;;
6637  esac
6638fi
6639
6640file_magic_cmd=$lt_cv_file_magic_cmd
6641deplibs_check_method=$lt_cv_deplibs_check_method
6642test -z "$deplibs_check_method" && deplibs_check_method=unknown
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665if test -n "$ac_tool_prefix"; then
6666  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6667set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669$as_echo_n "checking for $ac_word... " >&6; }
6670if ${ac_cv_prog_DLLTOOL+:} false; then :
6671  $as_echo_n "(cached) " >&6
6672else
6673  if test -n "$DLLTOOL"; then
6674  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6675else
6676as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677for as_dir in $PATH
6678do
6679  IFS=$as_save_IFS
6680  test -z "$as_dir" && as_dir=.
6681    for ac_exec_ext in '' $ac_executable_extensions; do
6682  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6683    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6684    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6685    break 2
6686  fi
6687done
6688  done
6689IFS=$as_save_IFS
6690
6691fi
6692fi
6693DLLTOOL=$ac_cv_prog_DLLTOOL
6694if test -n "$DLLTOOL"; then
6695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6696$as_echo "$DLLTOOL" >&6; }
6697else
6698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699$as_echo "no" >&6; }
6700fi
6701
6702
6703fi
6704if test -z "$ac_cv_prog_DLLTOOL"; then
6705  ac_ct_DLLTOOL=$DLLTOOL
6706  # Extract the first word of "dlltool", so it can be a program name with args.
6707set dummy dlltool; ac_word=$2
6708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709$as_echo_n "checking for $ac_word... " >&6; }
6710if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6711  $as_echo_n "(cached) " >&6
6712else
6713  if test -n "$ac_ct_DLLTOOL"; then
6714  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6715else
6716as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717for as_dir in $PATH
6718do
6719  IFS=$as_save_IFS
6720  test -z "$as_dir" && as_dir=.
6721    for ac_exec_ext in '' $ac_executable_extensions; do
6722  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6723    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6724    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725    break 2
6726  fi
6727done
6728  done
6729IFS=$as_save_IFS
6730
6731fi
6732fi
6733ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6734if test -n "$ac_ct_DLLTOOL"; then
6735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6736$as_echo "$ac_ct_DLLTOOL" >&6; }
6737else
6738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739$as_echo "no" >&6; }
6740fi
6741
6742  if test "x$ac_ct_DLLTOOL" = x; then
6743    DLLTOOL="false"
6744  else
6745    case $cross_compiling:$ac_tool_warned in
6746yes:)
6747{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6748$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6749ac_tool_warned=yes ;;
6750esac
6751    DLLTOOL=$ac_ct_DLLTOOL
6752  fi
6753else
6754  DLLTOOL="$ac_cv_prog_DLLTOOL"
6755fi
6756
6757test -z "$DLLTOOL" && DLLTOOL=dlltool
6758
6759
6760
6761
6762
6763
6764
6765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6766$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6767if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6768  $as_echo_n "(cached) " >&6
6769else
6770  lt_cv_sharedlib_from_linklib_cmd='unknown'
6771
6772case $host_os in
6773cygwin* | mingw* | pw32* | cegcc*)
6774  # two different shell functions defined in ltmain.sh
6775  # decide which to use based on capabilities of $DLLTOOL
6776  case `$DLLTOOL --help 2>&1` in
6777  *--identify-strict*)
6778    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6779    ;;
6780  *)
6781    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6782    ;;
6783  esac
6784  ;;
6785*)
6786  # fallback: assume linklib IS sharedlib
6787  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6788  ;;
6789esac
6790
6791fi
6792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6793$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6794sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6795test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6796
6797
6798
6799
6800
6801
6802
6803if test -n "$ac_tool_prefix"; then
6804  for ac_prog in ar
6805  do
6806    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6807set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6809$as_echo_n "checking for $ac_word... " >&6; }
6810if ${ac_cv_prog_AR+:} false; then :
6811  $as_echo_n "(cached) " >&6
6812else
6813  if test -n "$AR"; then
6814  ac_cv_prog_AR="$AR" # Let the user override the test.
6815else
6816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6817for as_dir in $PATH
6818do
6819  IFS=$as_save_IFS
6820  test -z "$as_dir" && as_dir=.
6821    for ac_exec_ext in '' $ac_executable_extensions; do
6822  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6823    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6824    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6825    break 2
6826  fi
6827done
6828  done
6829IFS=$as_save_IFS
6830
6831fi
6832fi
6833AR=$ac_cv_prog_AR
6834if test -n "$AR"; then
6835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6836$as_echo "$AR" >&6; }
6837else
6838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6839$as_echo "no" >&6; }
6840fi
6841
6842
6843    test -n "$AR" && break
6844  done
6845fi
6846if test -z "$AR"; then
6847  ac_ct_AR=$AR
6848  for ac_prog in ar
6849do
6850  # Extract the first word of "$ac_prog", so it can be a program name with args.
6851set dummy $ac_prog; ac_word=$2
6852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6853$as_echo_n "checking for $ac_word... " >&6; }
6854if ${ac_cv_prog_ac_ct_AR+:} false; then :
6855  $as_echo_n "(cached) " >&6
6856else
6857  if test -n "$ac_ct_AR"; then
6858  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6859else
6860as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6861for as_dir in $PATH
6862do
6863  IFS=$as_save_IFS
6864  test -z "$as_dir" && as_dir=.
6865    for ac_exec_ext in '' $ac_executable_extensions; do
6866  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6867    ac_cv_prog_ac_ct_AR="$ac_prog"
6868    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6869    break 2
6870  fi
6871done
6872  done
6873IFS=$as_save_IFS
6874
6875fi
6876fi
6877ac_ct_AR=$ac_cv_prog_ac_ct_AR
6878if test -n "$ac_ct_AR"; then
6879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6880$as_echo "$ac_ct_AR" >&6; }
6881else
6882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6883$as_echo "no" >&6; }
6884fi
6885
6886
6887  test -n "$ac_ct_AR" && break
6888done
6889
6890  if test "x$ac_ct_AR" = x; then
6891    AR="false"
6892  else
6893    case $cross_compiling:$ac_tool_warned in
6894yes:)
6895{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6896$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6897ac_tool_warned=yes ;;
6898esac
6899    AR=$ac_ct_AR
6900  fi
6901fi
6902
6903: ${AR=ar}
6904: ${AR_FLAGS=cru}
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6917$as_echo_n "checking for archiver @FILE support... " >&6; }
6918if ${lt_cv_ar_at_file+:} false; then :
6919  $as_echo_n "(cached) " >&6
6920else
6921  lt_cv_ar_at_file=no
6922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6923/* end confdefs.h.  */
6924
6925int
6926main ()
6927{
6928
6929  ;
6930  return 0;
6931}
6932_ACEOF
6933if ac_fn_c_try_compile "$LINENO"; then :
6934  echo conftest.$ac_objext > conftest.lst
6935      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6936      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6937  (eval $lt_ar_try) 2>&5
6938  ac_status=$?
6939  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6940  test $ac_status = 0; }
6941      if test "$ac_status" -eq 0; then
6942	# Ensure the archiver fails upon bogus file names.
6943	rm -f conftest.$ac_objext libconftest.a
6944	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6945  (eval $lt_ar_try) 2>&5
6946  ac_status=$?
6947  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6948  test $ac_status = 0; }
6949	if test "$ac_status" -ne 0; then
6950          lt_cv_ar_at_file=@
6951        fi
6952      fi
6953      rm -f conftest.* libconftest.a
6954
6955fi
6956rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6957
6958fi
6959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6960$as_echo "$lt_cv_ar_at_file" >&6; }
6961
6962if test "x$lt_cv_ar_at_file" = xno; then
6963  archiver_list_spec=
6964else
6965  archiver_list_spec=$lt_cv_ar_at_file
6966fi
6967
6968
6969
6970
6971
6972
6973
6974if test -n "$ac_tool_prefix"; then
6975  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6976set dummy ${ac_tool_prefix}strip; ac_word=$2
6977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6978$as_echo_n "checking for $ac_word... " >&6; }
6979if ${ac_cv_prog_STRIP+:} false; then :
6980  $as_echo_n "(cached) " >&6
6981else
6982  if test -n "$STRIP"; then
6983  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6984else
6985as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6986for as_dir in $PATH
6987do
6988  IFS=$as_save_IFS
6989  test -z "$as_dir" && as_dir=.
6990    for ac_exec_ext in '' $ac_executable_extensions; do
6991  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6992    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6993    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6994    break 2
6995  fi
6996done
6997  done
6998IFS=$as_save_IFS
6999
7000fi
7001fi
7002STRIP=$ac_cv_prog_STRIP
7003if test -n "$STRIP"; then
7004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7005$as_echo "$STRIP" >&6; }
7006else
7007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7008$as_echo "no" >&6; }
7009fi
7010
7011
7012fi
7013if test -z "$ac_cv_prog_STRIP"; then
7014  ac_ct_STRIP=$STRIP
7015  # Extract the first word of "strip", so it can be a program name with args.
7016set dummy strip; ac_word=$2
7017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7018$as_echo_n "checking for $ac_word... " >&6; }
7019if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7020  $as_echo_n "(cached) " >&6
7021else
7022  if test -n "$ac_ct_STRIP"; then
7023  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7024else
7025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7026for as_dir in $PATH
7027do
7028  IFS=$as_save_IFS
7029  test -z "$as_dir" && as_dir=.
7030    for ac_exec_ext in '' $ac_executable_extensions; do
7031  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7032    ac_cv_prog_ac_ct_STRIP="strip"
7033    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7034    break 2
7035  fi
7036done
7037  done
7038IFS=$as_save_IFS
7039
7040fi
7041fi
7042ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7043if test -n "$ac_ct_STRIP"; then
7044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7045$as_echo "$ac_ct_STRIP" >&6; }
7046else
7047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7048$as_echo "no" >&6; }
7049fi
7050
7051  if test "x$ac_ct_STRIP" = x; then
7052    STRIP=":"
7053  else
7054    case $cross_compiling:$ac_tool_warned in
7055yes:)
7056{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7057$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7058ac_tool_warned=yes ;;
7059esac
7060    STRIP=$ac_ct_STRIP
7061  fi
7062else
7063  STRIP="$ac_cv_prog_STRIP"
7064fi
7065
7066test -z "$STRIP" && STRIP=:
7067
7068
7069
7070
7071
7072
7073if test -n "$ac_tool_prefix"; then
7074  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7075set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7077$as_echo_n "checking for $ac_word... " >&6; }
7078if ${ac_cv_prog_RANLIB+:} false; then :
7079  $as_echo_n "(cached) " >&6
7080else
7081  if test -n "$RANLIB"; then
7082  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7083else
7084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7085for as_dir in $PATH
7086do
7087  IFS=$as_save_IFS
7088  test -z "$as_dir" && as_dir=.
7089    for ac_exec_ext in '' $ac_executable_extensions; do
7090  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7091    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7092    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7093    break 2
7094  fi
7095done
7096  done
7097IFS=$as_save_IFS
7098
7099fi
7100fi
7101RANLIB=$ac_cv_prog_RANLIB
7102if test -n "$RANLIB"; then
7103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7104$as_echo "$RANLIB" >&6; }
7105else
7106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7107$as_echo "no" >&6; }
7108fi
7109
7110
7111fi
7112if test -z "$ac_cv_prog_RANLIB"; then
7113  ac_ct_RANLIB=$RANLIB
7114  # Extract the first word of "ranlib", so it can be a program name with args.
7115set dummy ranlib; ac_word=$2
7116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117$as_echo_n "checking for $ac_word... " >&6; }
7118if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7119  $as_echo_n "(cached) " >&6
7120else
7121  if test -n "$ac_ct_RANLIB"; then
7122  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7123else
7124as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7125for as_dir in $PATH
7126do
7127  IFS=$as_save_IFS
7128  test -z "$as_dir" && as_dir=.
7129    for ac_exec_ext in '' $ac_executable_extensions; do
7130  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7131    ac_cv_prog_ac_ct_RANLIB="ranlib"
7132    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7133    break 2
7134  fi
7135done
7136  done
7137IFS=$as_save_IFS
7138
7139fi
7140fi
7141ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7142if test -n "$ac_ct_RANLIB"; then
7143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7144$as_echo "$ac_ct_RANLIB" >&6; }
7145else
7146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7147$as_echo "no" >&6; }
7148fi
7149
7150  if test "x$ac_ct_RANLIB" = x; then
7151    RANLIB=":"
7152  else
7153    case $cross_compiling:$ac_tool_warned in
7154yes:)
7155{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7156$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7157ac_tool_warned=yes ;;
7158esac
7159    RANLIB=$ac_ct_RANLIB
7160  fi
7161else
7162  RANLIB="$ac_cv_prog_RANLIB"
7163fi
7164
7165test -z "$RANLIB" && RANLIB=:
7166
7167
7168
7169
7170
7171
7172# Determine commands to create old-style static archives.
7173old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7174old_postinstall_cmds='chmod 644 $oldlib'
7175old_postuninstall_cmds=
7176
7177if test -n "$RANLIB"; then
7178  case $host_os in
7179  openbsd*)
7180    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7181    ;;
7182  *)
7183    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7184    ;;
7185  esac
7186  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7187fi
7188
7189case $host_os in
7190  darwin*)
7191    lock_old_archive_extraction=yes ;;
7192  *)
7193    lock_old_archive_extraction=no ;;
7194esac
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234# If no C compiler was specified, use CC.
7235LTCC=${LTCC-"$CC"}
7236
7237# If no C compiler flags were specified, use CFLAGS.
7238LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7239
7240# Allow CC to be a program name with arguments.
7241compiler=$CC
7242
7243
7244# Check for command to grab the raw symbol name followed by C symbol from nm.
7245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7246$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7247if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7248  $as_echo_n "(cached) " >&6
7249else
7250
7251# These are sane defaults that work on at least a few old systems.
7252# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7253
7254# Character class describing NM global symbol codes.
7255symcode='[BCDEGRST]'
7256
7257# Regexp to match symbols that can be accessed directly from C.
7258sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7259
7260# Define system-specific variables.
7261case $host_os in
7262aix*)
7263  symcode='[BCDT]'
7264  ;;
7265cygwin* | mingw* | pw32* | cegcc*)
7266  symcode='[ABCDGISTW]'
7267  ;;
7268hpux*)
7269  if test "$host_cpu" = ia64; then
7270    symcode='[ABCDEGRST]'
7271  fi
7272  ;;
7273irix* | nonstopux*)
7274  symcode='[BCDEGRST]'
7275  ;;
7276osf*)
7277  symcode='[BCDEGQRST]'
7278  ;;
7279solaris*)
7280  symcode='[BDRT]'
7281  ;;
7282sco3.2v5*)
7283  symcode='[DT]'
7284  ;;
7285sysv4.2uw2*)
7286  symcode='[DT]'
7287  ;;
7288sysv5* | sco5v6* | unixware* | OpenUNIX*)
7289  symcode='[ABDT]'
7290  ;;
7291sysv4)
7292  symcode='[DFNSTU]'
7293  ;;
7294esac
7295
7296# If we're using GNU nm, then use its standard symbol codes.
7297case `$NM -V 2>&1` in
7298*GNU* | *'with BFD'*)
7299  symcode='[ABCDGIRSTW]' ;;
7300esac
7301
7302# Transform an extracted symbol line into a proper C declaration.
7303# Some systems (esp. on ia64) link data and code symbols differently,
7304# so use this general approach.
7305lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7306
7307# Transform an extracted symbol line into symbol name and symbol address
7308lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7309lt_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'"
7310
7311# Handle CRLF in mingw tool chain
7312opt_cr=
7313case $build_os in
7314mingw*)
7315  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7316  ;;
7317esac
7318
7319# Try without a prefix underscore, then with it.
7320for ac_symprfx in "" "_"; do
7321
7322  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7323  symxfrm="\\1 $ac_symprfx\\2 \\2"
7324
7325  # Write the raw and C identifiers.
7326  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7327    # Fake it for dumpbin and say T for any non-static function
7328    # and D for any global variable.
7329    # Also find C++ and __fastcall symbols from MSVC++,
7330    # which start with @ or ?.
7331    lt_cv_sys_global_symbol_pipe="$AWK '"\
7332"     {last_section=section; section=\$ 3};"\
7333"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7334"     \$ 0!~/External *\|/{next};"\
7335"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7336"     {if(hide[section]) next};"\
7337"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7338"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7339"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7340"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7341"     ' prfx=^$ac_symprfx"
7342  else
7343    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7344  fi
7345  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7346
7347  # Check to see that the pipe works correctly.
7348  pipe_works=no
7349
7350  rm -f conftest*
7351  cat > conftest.$ac_ext <<_LT_EOF
7352#ifdef __cplusplus
7353extern "C" {
7354#endif
7355char nm_test_var;
7356void nm_test_func(void);
7357void nm_test_func(void){}
7358#ifdef __cplusplus
7359}
7360#endif
7361int main(){nm_test_var='a';nm_test_func();return(0);}
7362_LT_EOF
7363
7364  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7365  (eval $ac_compile) 2>&5
7366  ac_status=$?
7367  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7368  test $ac_status = 0; }; then
7369    # Now try to grab the symbols.
7370    nlist=conftest.nm
7371    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7372  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7373  ac_status=$?
7374  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7375  test $ac_status = 0; } && test -s "$nlist"; then
7376      # Try sorting and uniquifying the output.
7377      if sort "$nlist" | uniq > "$nlist"T; then
7378	mv -f "$nlist"T "$nlist"
7379      else
7380	rm -f "$nlist"T
7381      fi
7382
7383      # Make sure that we snagged all the symbols we need.
7384      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7385	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7386	  cat <<_LT_EOF > conftest.$ac_ext
7387/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7388#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7389/* DATA imports from DLLs on WIN32 con't be const, because runtime
7390   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7391# define LT_DLSYM_CONST
7392#elif defined(__osf__)
7393/* This system does not cope well with relocations in const data.  */
7394# define LT_DLSYM_CONST
7395#else
7396# define LT_DLSYM_CONST const
7397#endif
7398
7399#ifdef __cplusplus
7400extern "C" {
7401#endif
7402
7403_LT_EOF
7404	  # Now generate the symbol file.
7405	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7406
7407	  cat <<_LT_EOF >> conftest.$ac_ext
7408
7409/* The mapping between symbol names and symbols.  */
7410LT_DLSYM_CONST struct {
7411  const char *name;
7412  void       *address;
7413}
7414lt__PROGRAM__LTX_preloaded_symbols[] =
7415{
7416  { "@PROGRAM@", (void *) 0 },
7417_LT_EOF
7418	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7419	  cat <<\_LT_EOF >> conftest.$ac_ext
7420  {0, (void *) 0}
7421};
7422
7423/* This works around a problem in FreeBSD linker */
7424#ifdef FREEBSD_WORKAROUND
7425static const void *lt_preloaded_setup() {
7426  return lt__PROGRAM__LTX_preloaded_symbols;
7427}
7428#endif
7429
7430#ifdef __cplusplus
7431}
7432#endif
7433_LT_EOF
7434	  # Now try linking the two files.
7435	  mv conftest.$ac_objext conftstm.$ac_objext
7436	  lt_globsym_save_LIBS=$LIBS
7437	  lt_globsym_save_CFLAGS=$CFLAGS
7438	  LIBS="conftstm.$ac_objext"
7439	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7440	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7441  (eval $ac_link) 2>&5
7442  ac_status=$?
7443  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7444  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7445	    pipe_works=yes
7446	  fi
7447	  LIBS=$lt_globsym_save_LIBS
7448	  CFLAGS=$lt_globsym_save_CFLAGS
7449	else
7450	  echo "cannot find nm_test_func in $nlist" >&5
7451	fi
7452      else
7453	echo "cannot find nm_test_var in $nlist" >&5
7454      fi
7455    else
7456      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7457    fi
7458  else
7459    echo "$progname: failed program was:" >&5
7460    cat conftest.$ac_ext >&5
7461  fi
7462  rm -rf conftest* conftst*
7463
7464  # Do not use the global_symbol_pipe unless it works.
7465  if test "$pipe_works" = yes; then
7466    break
7467  else
7468    lt_cv_sys_global_symbol_pipe=
7469  fi
7470done
7471
7472fi
7473
7474if test -z "$lt_cv_sys_global_symbol_pipe"; then
7475  lt_cv_sys_global_symbol_to_cdecl=
7476fi
7477if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7479$as_echo "failed" >&6; }
7480else
7481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7482$as_echo "ok" >&6; }
7483fi
7484
7485# Response file support.
7486if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7487  nm_file_list_spec='@'
7488elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7489  nm_file_list_spec='@'
7490fi
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7519$as_echo_n "checking for sysroot... " >&6; }
7520
7521# Check whether --with-sysroot was given.
7522if test "${with_sysroot+set}" = set; then :
7523  withval=$with_sysroot;
7524else
7525  with_sysroot=no
7526fi
7527
7528
7529lt_sysroot=
7530case ${with_sysroot} in #(
7531 yes)
7532   if test "$GCC" = yes; then
7533     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7534   fi
7535   ;; #(
7536 /*)
7537   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7538   ;; #(
7539 no|'')
7540   ;; #(
7541 *)
7542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7543$as_echo "${with_sysroot}" >&6; }
7544   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7545   ;;
7546esac
7547
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7549$as_echo "${lt_sysroot:-no}" >&6; }
7550
7551
7552
7553
7554
7555# Check whether --enable-libtool-lock was given.
7556if test "${enable_libtool_lock+set}" = set; then :
7557  enableval=$enable_libtool_lock;
7558fi
7559
7560test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7561
7562# Some flags need to be propagated to the compiler or linker for good
7563# libtool support.
7564case $host in
7565ia64-*-hpux*)
7566  # Find out which ABI we are using.
7567  echo 'int i;' > conftest.$ac_ext
7568  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7569  (eval $ac_compile) 2>&5
7570  ac_status=$?
7571  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7572  test $ac_status = 0; }; then
7573    case `/usr/bin/file conftest.$ac_objext` in
7574      *ELF-32*)
7575	HPUX_IA64_MODE="32"
7576	;;
7577      *ELF-64*)
7578	HPUX_IA64_MODE="64"
7579	;;
7580    esac
7581  fi
7582  rm -rf conftest*
7583  ;;
7584*-*-irix6*)
7585  # Find out which ABI we are using.
7586  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7587  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7588  (eval $ac_compile) 2>&5
7589  ac_status=$?
7590  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7591  test $ac_status = 0; }; then
7592    if test "$lt_cv_prog_gnu_ld" = yes; then
7593      case `/usr/bin/file conftest.$ac_objext` in
7594	*32-bit*)
7595	  LD="${LD-ld} -melf32bsmip"
7596	  ;;
7597	*N32*)
7598	  LD="${LD-ld} -melf32bmipn32"
7599	  ;;
7600	*64-bit*)
7601	  LD="${LD-ld} -melf64bmip"
7602	;;
7603      esac
7604    else
7605      case `/usr/bin/file conftest.$ac_objext` in
7606	*32-bit*)
7607	  LD="${LD-ld} -32"
7608	  ;;
7609	*N32*)
7610	  LD="${LD-ld} -n32"
7611	  ;;
7612	*64-bit*)
7613	  LD="${LD-ld} -64"
7614	  ;;
7615      esac
7616    fi
7617  fi
7618  rm -rf conftest*
7619  ;;
7620
7621x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7622s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7623  # Find out which ABI we are using.
7624  echo 'int i;' > conftest.$ac_ext
7625  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7626  (eval $ac_compile) 2>&5
7627  ac_status=$?
7628  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7629  test $ac_status = 0; }; then
7630    case `/usr/bin/file conftest.o` in
7631      *32-bit*)
7632	case $host in
7633	  x86_64-*kfreebsd*-gnu)
7634	    LD="${LD-ld} -m elf_i386_fbsd"
7635	    ;;
7636	  x86_64-*linux*)
7637	    LD="${LD-ld} -m elf_i386"
7638	    ;;
7639	  ppc64-*linux*|powerpc64-*linux*)
7640	    LD="${LD-ld} -m elf32ppclinux"
7641	    ;;
7642	  s390x-*linux*)
7643	    LD="${LD-ld} -m elf_s390"
7644	    ;;
7645	  sparc64-*linux*)
7646	    LD="${LD-ld} -m elf32_sparc"
7647	    ;;
7648	esac
7649	;;
7650      *64-bit*)
7651	case $host in
7652	  x86_64-*kfreebsd*-gnu)
7653	    LD="${LD-ld} -m elf_x86_64_fbsd"
7654	    ;;
7655	  x86_64-*linux*)
7656	    LD="${LD-ld} -m elf_x86_64"
7657	    ;;
7658	  ppc*-*linux*|powerpc*-*linux*)
7659	    LD="${LD-ld} -m elf64ppc"
7660	    ;;
7661	  s390*-*linux*|s390*-*tpf*)
7662	    LD="${LD-ld} -m elf64_s390"
7663	    ;;
7664	  sparc*-*linux*)
7665	    LD="${LD-ld} -m elf64_sparc"
7666	    ;;
7667	esac
7668	;;
7669    esac
7670  fi
7671  rm -rf conftest*
7672  ;;
7673
7674*-*-sco3.2v5*)
7675  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7676  SAVE_CFLAGS="$CFLAGS"
7677  CFLAGS="$CFLAGS -belf"
7678  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7679$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7680if ${lt_cv_cc_needs_belf+:} false; then :
7681  $as_echo_n "(cached) " >&6
7682else
7683  ac_ext=c
7684ac_cpp='$CPP $CPPFLAGS'
7685ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7686ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7687ac_compiler_gnu=$ac_cv_c_compiler_gnu
7688
7689     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7690/* end confdefs.h.  */
7691
7692int
7693main ()
7694{
7695
7696  ;
7697  return 0;
7698}
7699_ACEOF
7700if ac_fn_c_try_link "$LINENO"; then :
7701  lt_cv_cc_needs_belf=yes
7702else
7703  lt_cv_cc_needs_belf=no
7704fi
7705rm -f core conftest.err conftest.$ac_objext \
7706    conftest$ac_exeext conftest.$ac_ext
7707     ac_ext=c
7708ac_cpp='$CPP $CPPFLAGS'
7709ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7710ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7711ac_compiler_gnu=$ac_cv_c_compiler_gnu
7712
7713fi
7714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7715$as_echo "$lt_cv_cc_needs_belf" >&6; }
7716  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7717    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7718    CFLAGS="$SAVE_CFLAGS"
7719  fi
7720  ;;
7721sparc*-*solaris*)
7722  # Find out which ABI we are using.
7723  echo 'int i;' > conftest.$ac_ext
7724  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7725  (eval $ac_compile) 2>&5
7726  ac_status=$?
7727  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7728  test $ac_status = 0; }; then
7729    case `/usr/bin/file conftest.o` in
7730    *64-bit*)
7731      case $lt_cv_prog_gnu_ld in
7732      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7733      *)
7734	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7735	  LD="${LD-ld} -64"
7736	fi
7737	;;
7738      esac
7739      ;;
7740    esac
7741  fi
7742  rm -rf conftest*
7743  ;;
7744esac
7745
7746need_locks="$enable_libtool_lock"
7747
7748if test -n "$ac_tool_prefix"; then
7749  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7750set dummy ${ac_tool_prefix}mt; ac_word=$2
7751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7752$as_echo_n "checking for $ac_word... " >&6; }
7753if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7754  $as_echo_n "(cached) " >&6
7755else
7756  if test -n "$MANIFEST_TOOL"; then
7757  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7758else
7759as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7760for as_dir in $PATH
7761do
7762  IFS=$as_save_IFS
7763  test -z "$as_dir" && as_dir=.
7764    for ac_exec_ext in '' $ac_executable_extensions; do
7765  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7766    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7767    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7768    break 2
7769  fi
7770done
7771  done
7772IFS=$as_save_IFS
7773
7774fi
7775fi
7776MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7777if test -n "$MANIFEST_TOOL"; then
7778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7779$as_echo "$MANIFEST_TOOL" >&6; }
7780else
7781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7782$as_echo "no" >&6; }
7783fi
7784
7785
7786fi
7787if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7788  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7789  # Extract the first word of "mt", so it can be a program name with args.
7790set dummy mt; ac_word=$2
7791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7792$as_echo_n "checking for $ac_word... " >&6; }
7793if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7794  $as_echo_n "(cached) " >&6
7795else
7796  if test -n "$ac_ct_MANIFEST_TOOL"; then
7797  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7798else
7799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7800for as_dir in $PATH
7801do
7802  IFS=$as_save_IFS
7803  test -z "$as_dir" && as_dir=.
7804    for ac_exec_ext in '' $ac_executable_extensions; do
7805  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7806    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7807    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7808    break 2
7809  fi
7810done
7811  done
7812IFS=$as_save_IFS
7813
7814fi
7815fi
7816ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7817if test -n "$ac_ct_MANIFEST_TOOL"; then
7818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7819$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7820else
7821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7822$as_echo "no" >&6; }
7823fi
7824
7825  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7826    MANIFEST_TOOL=":"
7827  else
7828    case $cross_compiling:$ac_tool_warned in
7829yes:)
7830{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7831$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7832ac_tool_warned=yes ;;
7833esac
7834    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7835  fi
7836else
7837  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7838fi
7839
7840test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7842$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7843if ${lt_cv_path_mainfest_tool+:} false; then :
7844  $as_echo_n "(cached) " >&6
7845else
7846  lt_cv_path_mainfest_tool=no
7847  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7848  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7849  cat conftest.err >&5
7850  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7851    lt_cv_path_mainfest_tool=yes
7852  fi
7853  rm -f conftest*
7854fi
7855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7856$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7857if test "x$lt_cv_path_mainfest_tool" != xyes; then
7858  MANIFEST_TOOL=:
7859fi
7860
7861
7862
7863
7864
7865
7866  case $host_os in
7867    rhapsody* | darwin*)
7868    if test -n "$ac_tool_prefix"; then
7869  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7870set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7872$as_echo_n "checking for $ac_word... " >&6; }
7873if ${ac_cv_prog_DSYMUTIL+:} false; then :
7874  $as_echo_n "(cached) " >&6
7875else
7876  if test -n "$DSYMUTIL"; then
7877  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7878else
7879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7880for as_dir in $PATH
7881do
7882  IFS=$as_save_IFS
7883  test -z "$as_dir" && as_dir=.
7884    for ac_exec_ext in '' $ac_executable_extensions; do
7885  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7886    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7887    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7888    break 2
7889  fi
7890done
7891  done
7892IFS=$as_save_IFS
7893
7894fi
7895fi
7896DSYMUTIL=$ac_cv_prog_DSYMUTIL
7897if test -n "$DSYMUTIL"; then
7898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7899$as_echo "$DSYMUTIL" >&6; }
7900else
7901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7902$as_echo "no" >&6; }
7903fi
7904
7905
7906fi
7907if test -z "$ac_cv_prog_DSYMUTIL"; then
7908  ac_ct_DSYMUTIL=$DSYMUTIL
7909  # Extract the first word of "dsymutil", so it can be a program name with args.
7910set dummy dsymutil; ac_word=$2
7911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7912$as_echo_n "checking for $ac_word... " >&6; }
7913if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7914  $as_echo_n "(cached) " >&6
7915else
7916  if test -n "$ac_ct_DSYMUTIL"; then
7917  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7918else
7919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7920for as_dir in $PATH
7921do
7922  IFS=$as_save_IFS
7923  test -z "$as_dir" && as_dir=.
7924    for ac_exec_ext in '' $ac_executable_extensions; do
7925  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7926    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7927    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7928    break 2
7929  fi
7930done
7931  done
7932IFS=$as_save_IFS
7933
7934fi
7935fi
7936ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7937if test -n "$ac_ct_DSYMUTIL"; then
7938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7939$as_echo "$ac_ct_DSYMUTIL" >&6; }
7940else
7941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7942$as_echo "no" >&6; }
7943fi
7944
7945  if test "x$ac_ct_DSYMUTIL" = x; then
7946    DSYMUTIL=":"
7947  else
7948    case $cross_compiling:$ac_tool_warned in
7949yes:)
7950{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7951$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7952ac_tool_warned=yes ;;
7953esac
7954    DSYMUTIL=$ac_ct_DSYMUTIL
7955  fi
7956else
7957  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7958fi
7959
7960    if test -n "$ac_tool_prefix"; then
7961  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7962set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7964$as_echo_n "checking for $ac_word... " >&6; }
7965if ${ac_cv_prog_NMEDIT+:} false; then :
7966  $as_echo_n "(cached) " >&6
7967else
7968  if test -n "$NMEDIT"; then
7969  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7970else
7971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972for as_dir in $PATH
7973do
7974  IFS=$as_save_IFS
7975  test -z "$as_dir" && as_dir=.
7976    for ac_exec_ext in '' $ac_executable_extensions; do
7977  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7978    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7979    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7980    break 2
7981  fi
7982done
7983  done
7984IFS=$as_save_IFS
7985
7986fi
7987fi
7988NMEDIT=$ac_cv_prog_NMEDIT
7989if test -n "$NMEDIT"; then
7990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7991$as_echo "$NMEDIT" >&6; }
7992else
7993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994$as_echo "no" >&6; }
7995fi
7996
7997
7998fi
7999if test -z "$ac_cv_prog_NMEDIT"; then
8000  ac_ct_NMEDIT=$NMEDIT
8001  # Extract the first word of "nmedit", so it can be a program name with args.
8002set dummy nmedit; ac_word=$2
8003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8004$as_echo_n "checking for $ac_word... " >&6; }
8005if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8006  $as_echo_n "(cached) " >&6
8007else
8008  if test -n "$ac_ct_NMEDIT"; then
8009  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8010else
8011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012for as_dir in $PATH
8013do
8014  IFS=$as_save_IFS
8015  test -z "$as_dir" && as_dir=.
8016    for ac_exec_ext in '' $ac_executable_extensions; do
8017  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8018    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8019    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8020    break 2
8021  fi
8022done
8023  done
8024IFS=$as_save_IFS
8025
8026fi
8027fi
8028ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8029if test -n "$ac_ct_NMEDIT"; then
8030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8031$as_echo "$ac_ct_NMEDIT" >&6; }
8032else
8033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8034$as_echo "no" >&6; }
8035fi
8036
8037  if test "x$ac_ct_NMEDIT" = x; then
8038    NMEDIT=":"
8039  else
8040    case $cross_compiling:$ac_tool_warned in
8041yes:)
8042{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8043$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8044ac_tool_warned=yes ;;
8045esac
8046    NMEDIT=$ac_ct_NMEDIT
8047  fi
8048else
8049  NMEDIT="$ac_cv_prog_NMEDIT"
8050fi
8051
8052    if test -n "$ac_tool_prefix"; then
8053  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8054set dummy ${ac_tool_prefix}lipo; ac_word=$2
8055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8056$as_echo_n "checking for $ac_word... " >&6; }
8057if ${ac_cv_prog_LIPO+:} false; then :
8058  $as_echo_n "(cached) " >&6
8059else
8060  if test -n "$LIPO"; then
8061  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8062else
8063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8064for as_dir in $PATH
8065do
8066  IFS=$as_save_IFS
8067  test -z "$as_dir" && as_dir=.
8068    for ac_exec_ext in '' $ac_executable_extensions; do
8069  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8070    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8071    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8072    break 2
8073  fi
8074done
8075  done
8076IFS=$as_save_IFS
8077
8078fi
8079fi
8080LIPO=$ac_cv_prog_LIPO
8081if test -n "$LIPO"; then
8082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8083$as_echo "$LIPO" >&6; }
8084else
8085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8086$as_echo "no" >&6; }
8087fi
8088
8089
8090fi
8091if test -z "$ac_cv_prog_LIPO"; then
8092  ac_ct_LIPO=$LIPO
8093  # Extract the first word of "lipo", so it can be a program name with args.
8094set dummy lipo; ac_word=$2
8095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8096$as_echo_n "checking for $ac_word... " >&6; }
8097if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8098  $as_echo_n "(cached) " >&6
8099else
8100  if test -n "$ac_ct_LIPO"; then
8101  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8102else
8103as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8104for as_dir in $PATH
8105do
8106  IFS=$as_save_IFS
8107  test -z "$as_dir" && as_dir=.
8108    for ac_exec_ext in '' $ac_executable_extensions; do
8109  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8110    ac_cv_prog_ac_ct_LIPO="lipo"
8111    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8112    break 2
8113  fi
8114done
8115  done
8116IFS=$as_save_IFS
8117
8118fi
8119fi
8120ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8121if test -n "$ac_ct_LIPO"; then
8122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8123$as_echo "$ac_ct_LIPO" >&6; }
8124else
8125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8126$as_echo "no" >&6; }
8127fi
8128
8129  if test "x$ac_ct_LIPO" = x; then
8130    LIPO=":"
8131  else
8132    case $cross_compiling:$ac_tool_warned in
8133yes:)
8134{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8135$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8136ac_tool_warned=yes ;;
8137esac
8138    LIPO=$ac_ct_LIPO
8139  fi
8140else
8141  LIPO="$ac_cv_prog_LIPO"
8142fi
8143
8144    if test -n "$ac_tool_prefix"; then
8145  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8146set dummy ${ac_tool_prefix}otool; ac_word=$2
8147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8148$as_echo_n "checking for $ac_word... " >&6; }
8149if ${ac_cv_prog_OTOOL+:} false; then :
8150  $as_echo_n "(cached) " >&6
8151else
8152  if test -n "$OTOOL"; then
8153  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8154else
8155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8156for as_dir in $PATH
8157do
8158  IFS=$as_save_IFS
8159  test -z "$as_dir" && as_dir=.
8160    for ac_exec_ext in '' $ac_executable_extensions; do
8161  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8162    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8163    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8164    break 2
8165  fi
8166done
8167  done
8168IFS=$as_save_IFS
8169
8170fi
8171fi
8172OTOOL=$ac_cv_prog_OTOOL
8173if test -n "$OTOOL"; then
8174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8175$as_echo "$OTOOL" >&6; }
8176else
8177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8178$as_echo "no" >&6; }
8179fi
8180
8181
8182fi
8183if test -z "$ac_cv_prog_OTOOL"; then
8184  ac_ct_OTOOL=$OTOOL
8185  # Extract the first word of "otool", so it can be a program name with args.
8186set dummy otool; ac_word=$2
8187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8188$as_echo_n "checking for $ac_word... " >&6; }
8189if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8190  $as_echo_n "(cached) " >&6
8191else
8192  if test -n "$ac_ct_OTOOL"; then
8193  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8194else
8195as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8196for as_dir in $PATH
8197do
8198  IFS=$as_save_IFS
8199  test -z "$as_dir" && as_dir=.
8200    for ac_exec_ext in '' $ac_executable_extensions; do
8201  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8202    ac_cv_prog_ac_ct_OTOOL="otool"
8203    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8204    break 2
8205  fi
8206done
8207  done
8208IFS=$as_save_IFS
8209
8210fi
8211fi
8212ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8213if test -n "$ac_ct_OTOOL"; then
8214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8215$as_echo "$ac_ct_OTOOL" >&6; }
8216else
8217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8218$as_echo "no" >&6; }
8219fi
8220
8221  if test "x$ac_ct_OTOOL" = x; then
8222    OTOOL=":"
8223  else
8224    case $cross_compiling:$ac_tool_warned in
8225yes:)
8226{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8227$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8228ac_tool_warned=yes ;;
8229esac
8230    OTOOL=$ac_ct_OTOOL
8231  fi
8232else
8233  OTOOL="$ac_cv_prog_OTOOL"
8234fi
8235
8236    if test -n "$ac_tool_prefix"; then
8237  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8238set dummy ${ac_tool_prefix}otool64; ac_word=$2
8239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8240$as_echo_n "checking for $ac_word... " >&6; }
8241if ${ac_cv_prog_OTOOL64+:} false; then :
8242  $as_echo_n "(cached) " >&6
8243else
8244  if test -n "$OTOOL64"; then
8245  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8246else
8247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8248for as_dir in $PATH
8249do
8250  IFS=$as_save_IFS
8251  test -z "$as_dir" && as_dir=.
8252    for ac_exec_ext in '' $ac_executable_extensions; do
8253  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8254    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8255    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8256    break 2
8257  fi
8258done
8259  done
8260IFS=$as_save_IFS
8261
8262fi
8263fi
8264OTOOL64=$ac_cv_prog_OTOOL64
8265if test -n "$OTOOL64"; then
8266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8267$as_echo "$OTOOL64" >&6; }
8268else
8269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8270$as_echo "no" >&6; }
8271fi
8272
8273
8274fi
8275if test -z "$ac_cv_prog_OTOOL64"; then
8276  ac_ct_OTOOL64=$OTOOL64
8277  # Extract the first word of "otool64", so it can be a program name with args.
8278set dummy otool64; ac_word=$2
8279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8280$as_echo_n "checking for $ac_word... " >&6; }
8281if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8282  $as_echo_n "(cached) " >&6
8283else
8284  if test -n "$ac_ct_OTOOL64"; then
8285  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8286else
8287as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8288for as_dir in $PATH
8289do
8290  IFS=$as_save_IFS
8291  test -z "$as_dir" && as_dir=.
8292    for ac_exec_ext in '' $ac_executable_extensions; do
8293  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8294    ac_cv_prog_ac_ct_OTOOL64="otool64"
8295    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8296    break 2
8297  fi
8298done
8299  done
8300IFS=$as_save_IFS
8301
8302fi
8303fi
8304ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8305if test -n "$ac_ct_OTOOL64"; then
8306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8307$as_echo "$ac_ct_OTOOL64" >&6; }
8308else
8309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310$as_echo "no" >&6; }
8311fi
8312
8313  if test "x$ac_ct_OTOOL64" = x; then
8314    OTOOL64=":"
8315  else
8316    case $cross_compiling:$ac_tool_warned in
8317yes:)
8318{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8319$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8320ac_tool_warned=yes ;;
8321esac
8322    OTOOL64=$ac_ct_OTOOL64
8323  fi
8324else
8325  OTOOL64="$ac_cv_prog_OTOOL64"
8326fi
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8355$as_echo_n "checking for -single_module linker flag... " >&6; }
8356if ${lt_cv_apple_cc_single_mod+:} false; then :
8357  $as_echo_n "(cached) " >&6
8358else
8359  lt_cv_apple_cc_single_mod=no
8360      if test -z "${LT_MULTI_MODULE}"; then
8361	# By default we will add the -single_module flag. You can override
8362	# by either setting the environment variable LT_MULTI_MODULE
8363	# non-empty at configure time, or by adding -multi_module to the
8364	# link flags.
8365	rm -rf libconftest.dylib*
8366	echo "int foo(void){return 1;}" > conftest.c
8367	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8368-dynamiclib -Wl,-single_module conftest.c" >&5
8369	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8370	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8371        _lt_result=$?
8372	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8373	  lt_cv_apple_cc_single_mod=yes
8374	else
8375	  cat conftest.err >&5
8376	fi
8377	rm -rf libconftest.dylib*
8378	rm -f conftest.*
8379      fi
8380fi
8381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8382$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8383    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8384$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8385if ${lt_cv_ld_exported_symbols_list+:} false; then :
8386  $as_echo_n "(cached) " >&6
8387else
8388  lt_cv_ld_exported_symbols_list=no
8389      save_LDFLAGS=$LDFLAGS
8390      echo "_main" > conftest.sym
8391      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8392      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8393/* end confdefs.h.  */
8394
8395int
8396main ()
8397{
8398
8399  ;
8400  return 0;
8401}
8402_ACEOF
8403if ac_fn_c_try_link "$LINENO"; then :
8404  lt_cv_ld_exported_symbols_list=yes
8405else
8406  lt_cv_ld_exported_symbols_list=no
8407fi
8408rm -f core conftest.err conftest.$ac_objext \
8409    conftest$ac_exeext conftest.$ac_ext
8410	LDFLAGS="$save_LDFLAGS"
8411
8412fi
8413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8414$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8415    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8416$as_echo_n "checking for -force_load linker flag... " >&6; }
8417if ${lt_cv_ld_force_load+:} false; then :
8418  $as_echo_n "(cached) " >&6
8419else
8420  lt_cv_ld_force_load=no
8421      cat > conftest.c << _LT_EOF
8422int forced_loaded() { return 2;}
8423_LT_EOF
8424      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8425      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8426      echo "$AR cru libconftest.a conftest.o" >&5
8427      $AR cru libconftest.a conftest.o 2>&5
8428      echo "$RANLIB libconftest.a" >&5
8429      $RANLIB libconftest.a 2>&5
8430      cat > conftest.c << _LT_EOF
8431int main() { return 0;}
8432_LT_EOF
8433      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8434      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8435      _lt_result=$?
8436      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8437	lt_cv_ld_force_load=yes
8438      else
8439	cat conftest.err >&5
8440      fi
8441        rm -f conftest.err libconftest.a conftest conftest.c
8442        rm -rf conftest.dSYM
8443
8444fi
8445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8446$as_echo "$lt_cv_ld_force_load" >&6; }
8447    case $host_os in
8448    rhapsody* | darwin1.[012])
8449      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8450    darwin1.*)
8451      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8452    darwin*) # darwin 5.x on
8453      # if running on 10.5 or later, the deployment target defaults
8454      # to the OS version, if on x86, and 10.4, the deployment
8455      # target defaults to 10.4. Don't you love it?
8456      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8457	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8458	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8459	10.[012]*)
8460	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8461	10.*)
8462	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8463      esac
8464    ;;
8465  esac
8466    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8467      _lt_dar_single_mod='$single_module'
8468    fi
8469    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8470      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8471    else
8472      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8473    fi
8474    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8475      _lt_dsymutil='~$DSYMUTIL $lib || :'
8476    else
8477      _lt_dsymutil=
8478    fi
8479    ;;
8480  esac
8481
8482for ac_header in dlfcn.h
8483do :
8484  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8485"
8486if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8487  cat >>confdefs.h <<_ACEOF
8488#define HAVE_DLFCN_H 1
8489_ACEOF
8490
8491fi
8492
8493done
8494
8495
8496
8497func_stripname_cnf ()
8498{
8499  case ${2} in
8500  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8501  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8502  esac
8503} # func_stripname_cnf
8504
8505
8506
8507
8508
8509# Set options
8510
8511
8512
8513        enable_dlopen=no
8514
8515
8516
8517            # Check whether --enable-shared was given.
8518if test "${enable_shared+set}" = set; then :
8519  enableval=$enable_shared; p=${PACKAGE-default}
8520    case $enableval in
8521    yes) enable_shared=yes ;;
8522    no) enable_shared=no ;;
8523    *)
8524      enable_shared=no
8525      # Look at the argument we got.  We use all the common list separators.
8526      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8527      for pkg in $enableval; do
8528	IFS="$lt_save_ifs"
8529	if test "X$pkg" = "X$p"; then
8530	  enable_shared=yes
8531	fi
8532      done
8533      IFS="$lt_save_ifs"
8534      ;;
8535    esac
8536else
8537  enable_shared=yes
8538fi
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548  # Check whether --enable-static was given.
8549if test "${enable_static+set}" = set; then :
8550  enableval=$enable_static; p=${PACKAGE-default}
8551    case $enableval in
8552    yes) enable_static=yes ;;
8553    no) enable_static=no ;;
8554    *)
8555     enable_static=no
8556      # Look at the argument we got.  We use all the common list separators.
8557      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8558      for pkg in $enableval; do
8559	IFS="$lt_save_ifs"
8560	if test "X$pkg" = "X$p"; then
8561	  enable_static=yes
8562	fi
8563      done
8564      IFS="$lt_save_ifs"
8565      ;;
8566    esac
8567else
8568  enable_static=yes
8569fi
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580# Check whether --with-pic was given.
8581if test "${with_pic+set}" = set; then :
8582  withval=$with_pic; pic_mode="$withval"
8583else
8584  pic_mode=default
8585fi
8586
8587
8588test -z "$pic_mode" && pic_mode=default
8589
8590
8591
8592
8593
8594
8595
8596  # Check whether --enable-fast-install was given.
8597if test "${enable_fast_install+set}" = set; then :
8598  enableval=$enable_fast_install; p=${PACKAGE-default}
8599    case $enableval in
8600    yes) enable_fast_install=yes ;;
8601    no) enable_fast_install=no ;;
8602    *)
8603      enable_fast_install=no
8604      # Look at the argument we got.  We use all the common list separators.
8605      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8606      for pkg in $enableval; do
8607	IFS="$lt_save_ifs"
8608	if test "X$pkg" = "X$p"; then
8609	  enable_fast_install=yes
8610	fi
8611      done
8612      IFS="$lt_save_ifs"
8613      ;;
8614    esac
8615else
8616  enable_fast_install=yes
8617fi
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629# This can be used to rebuild libtool when needed
8630LIBTOOL_DEPS="$ltmain"
8631
8632# Always use our own libtool.
8633LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660test -z "$LN_S" && LN_S="ln -s"
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675if test -n "${ZSH_VERSION+set}" ; then
8676   setopt NO_GLOB_SUBST
8677fi
8678
8679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8680$as_echo_n "checking for objdir... " >&6; }
8681if ${lt_cv_objdir+:} false; then :
8682  $as_echo_n "(cached) " >&6
8683else
8684  rm -f .libs 2>/dev/null
8685mkdir .libs 2>/dev/null
8686if test -d .libs; then
8687  lt_cv_objdir=.libs
8688else
8689  # MS-DOS does not allow filenames that begin with a dot.
8690  lt_cv_objdir=_libs
8691fi
8692rmdir .libs 2>/dev/null
8693fi
8694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8695$as_echo "$lt_cv_objdir" >&6; }
8696objdir=$lt_cv_objdir
8697
8698
8699
8700
8701
8702cat >>confdefs.h <<_ACEOF
8703#define LT_OBJDIR "$lt_cv_objdir/"
8704_ACEOF
8705
8706
8707
8708
8709case $host_os in
8710aix3*)
8711  # AIX sometimes has problems with the GCC collect2 program.  For some
8712  # reason, if we set the COLLECT_NAMES environment variable, the problems
8713  # vanish in a puff of smoke.
8714  if test "X${COLLECT_NAMES+set}" != Xset; then
8715    COLLECT_NAMES=
8716    export COLLECT_NAMES
8717  fi
8718  ;;
8719esac
8720
8721# Global variables:
8722ofile=libtool
8723can_build_shared=yes
8724
8725# All known linkers require a `.a' archive for static linking (except MSVC,
8726# which needs '.lib').
8727libext=a
8728
8729with_gnu_ld="$lt_cv_prog_gnu_ld"
8730
8731old_CC="$CC"
8732old_CFLAGS="$CFLAGS"
8733
8734# Set sane defaults for various variables
8735test -z "$CC" && CC=cc
8736test -z "$LTCC" && LTCC=$CC
8737test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8738test -z "$LD" && LD=ld
8739test -z "$ac_objext" && ac_objext=o
8740
8741for cc_temp in $compiler""; do
8742  case $cc_temp in
8743    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8744    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8745    \-*) ;;
8746    *) break;;
8747  esac
8748done
8749cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8750
8751
8752# Only perform the check for file, if the check method requires it
8753test -z "$MAGIC_CMD" && MAGIC_CMD=file
8754case $deplibs_check_method in
8755file_magic*)
8756  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8757    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8758$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8759if ${lt_cv_path_MAGIC_CMD+:} false; then :
8760  $as_echo_n "(cached) " >&6
8761else
8762  case $MAGIC_CMD in
8763[\\/*] |  ?:[\\/]*)
8764  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8765  ;;
8766*)
8767  lt_save_MAGIC_CMD="$MAGIC_CMD"
8768  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8769  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8770  for ac_dir in $ac_dummy; do
8771    IFS="$lt_save_ifs"
8772    test -z "$ac_dir" && ac_dir=.
8773    if test -f $ac_dir/${ac_tool_prefix}file; then
8774      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8775      if test -n "$file_magic_test_file"; then
8776	case $deplibs_check_method in
8777	"file_magic "*)
8778	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8779	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8780	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8781	    $EGREP "$file_magic_regex" > /dev/null; then
8782	    :
8783	  else
8784	    cat <<_LT_EOF 1>&2
8785
8786*** Warning: the command libtool uses to detect shared libraries,
8787*** $file_magic_cmd, produces output that libtool cannot recognize.
8788*** The result is that libtool may fail to recognize shared libraries
8789*** as such.  This will affect the creation of libtool libraries that
8790*** depend on shared libraries, but programs linked with such libtool
8791*** libraries will work regardless of this problem.  Nevertheless, you
8792*** may want to report the problem to your system manager and/or to
8793*** bug-libtool@gnu.org
8794
8795_LT_EOF
8796	  fi ;;
8797	esac
8798      fi
8799      break
8800    fi
8801  done
8802  IFS="$lt_save_ifs"
8803  MAGIC_CMD="$lt_save_MAGIC_CMD"
8804  ;;
8805esac
8806fi
8807
8808MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8809if test -n "$MAGIC_CMD"; then
8810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8811$as_echo "$MAGIC_CMD" >&6; }
8812else
8813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8814$as_echo "no" >&6; }
8815fi
8816
8817
8818
8819
8820
8821if test -z "$lt_cv_path_MAGIC_CMD"; then
8822  if test -n "$ac_tool_prefix"; then
8823    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8824$as_echo_n "checking for file... " >&6; }
8825if ${lt_cv_path_MAGIC_CMD+:} false; then :
8826  $as_echo_n "(cached) " >&6
8827else
8828  case $MAGIC_CMD in
8829[\\/*] |  ?:[\\/]*)
8830  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8831  ;;
8832*)
8833  lt_save_MAGIC_CMD="$MAGIC_CMD"
8834  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8835  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8836  for ac_dir in $ac_dummy; do
8837    IFS="$lt_save_ifs"
8838    test -z "$ac_dir" && ac_dir=.
8839    if test -f $ac_dir/file; then
8840      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8841      if test -n "$file_magic_test_file"; then
8842	case $deplibs_check_method in
8843	"file_magic "*)
8844	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8845	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8846	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8847	    $EGREP "$file_magic_regex" > /dev/null; then
8848	    :
8849	  else
8850	    cat <<_LT_EOF 1>&2
8851
8852*** Warning: the command libtool uses to detect shared libraries,
8853*** $file_magic_cmd, produces output that libtool cannot recognize.
8854*** The result is that libtool may fail to recognize shared libraries
8855*** as such.  This will affect the creation of libtool libraries that
8856*** depend on shared libraries, but programs linked with such libtool
8857*** libraries will work regardless of this problem.  Nevertheless, you
8858*** may want to report the problem to your system manager and/or to
8859*** bug-libtool@gnu.org
8860
8861_LT_EOF
8862	  fi ;;
8863	esac
8864      fi
8865      break
8866    fi
8867  done
8868  IFS="$lt_save_ifs"
8869  MAGIC_CMD="$lt_save_MAGIC_CMD"
8870  ;;
8871esac
8872fi
8873
8874MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8875if test -n "$MAGIC_CMD"; then
8876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8877$as_echo "$MAGIC_CMD" >&6; }
8878else
8879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8880$as_echo "no" >&6; }
8881fi
8882
8883
8884  else
8885    MAGIC_CMD=:
8886  fi
8887fi
8888
8889  fi
8890  ;;
8891esac
8892
8893# Use C for the default configuration in the libtool script
8894
8895lt_save_CC="$CC"
8896ac_ext=c
8897ac_cpp='$CPP $CPPFLAGS'
8898ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8899ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8900ac_compiler_gnu=$ac_cv_c_compiler_gnu
8901
8902
8903# Source file extension for C test sources.
8904ac_ext=c
8905
8906# Object file extension for compiled C test sources.
8907objext=o
8908objext=$objext
8909
8910# Code to be used in simple compile tests
8911lt_simple_compile_test_code="int some_variable = 0;"
8912
8913# Code to be used in simple link tests
8914lt_simple_link_test_code='int main(){return(0);}'
8915
8916
8917
8918
8919
8920
8921
8922# If no C compiler was specified, use CC.
8923LTCC=${LTCC-"$CC"}
8924
8925# If no C compiler flags were specified, use CFLAGS.
8926LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8927
8928# Allow CC to be a program name with arguments.
8929compiler=$CC
8930
8931# Save the default compiler, since it gets overwritten when the other
8932# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8933compiler_DEFAULT=$CC
8934
8935# save warnings/boilerplate of simple test code
8936ac_outfile=conftest.$ac_objext
8937echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8938eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8939_lt_compiler_boilerplate=`cat conftest.err`
8940$RM conftest*
8941
8942ac_outfile=conftest.$ac_objext
8943echo "$lt_simple_link_test_code" >conftest.$ac_ext
8944eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8945_lt_linker_boilerplate=`cat conftest.err`
8946$RM -r conftest*
8947
8948
8949if test -n "$compiler"; then
8950
8951lt_prog_compiler_no_builtin_flag=
8952
8953if test "$GCC" = yes; then
8954  case $cc_basename in
8955  nvcc*)
8956    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8957  *)
8958    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8959  esac
8960
8961  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8962$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8963if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8964  $as_echo_n "(cached) " >&6
8965else
8966  lt_cv_prog_compiler_rtti_exceptions=no
8967   ac_outfile=conftest.$ac_objext
8968   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8969   lt_compiler_flag="-fno-rtti -fno-exceptions"
8970   # Insert the option either (1) after the last *FLAGS variable, or
8971   # (2) before a word containing "conftest.", or (3) at the end.
8972   # Note that $ac_compile itself does not contain backslashes and begins
8973   # with a dollar sign (not a hyphen), so the echo should work correctly.
8974   # The option is referenced via a variable to avoid confusing sed.
8975   lt_compile=`echo "$ac_compile" | $SED \
8976   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8977   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8978   -e 's:$: $lt_compiler_flag:'`
8979   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8980   (eval "$lt_compile" 2>conftest.err)
8981   ac_status=$?
8982   cat conftest.err >&5
8983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984   if (exit $ac_status) && test -s "$ac_outfile"; then
8985     # The compiler can only warn and ignore the option if not recognized
8986     # So say no if there are warnings other than the usual output.
8987     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8988     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8989     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8990       lt_cv_prog_compiler_rtti_exceptions=yes
8991     fi
8992   fi
8993   $RM conftest*
8994
8995fi
8996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8997$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8998
8999if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9000    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9001else
9002    :
9003fi
9004
9005fi
9006
9007
9008
9009
9010
9011
9012  lt_prog_compiler_wl=
9013lt_prog_compiler_pic=
9014lt_prog_compiler_static=
9015
9016
9017  if test "$GCC" = yes; then
9018    lt_prog_compiler_wl='-Wl,'
9019    lt_prog_compiler_static='-static'
9020
9021    case $host_os in
9022      aix*)
9023      # All AIX code is PIC.
9024      if test "$host_cpu" = ia64; then
9025	# AIX 5 now supports IA64 processor
9026	lt_prog_compiler_static='-Bstatic'
9027      fi
9028      ;;
9029
9030    amigaos*)
9031      case $host_cpu in
9032      powerpc)
9033            # see comment about AmigaOS4 .so support
9034            lt_prog_compiler_pic='-fPIC'
9035        ;;
9036      m68k)
9037            # FIXME: we need at least 68020 code to build shared libraries, but
9038            # adding the `-m68020' flag to GCC prevents building anything better,
9039            # like `-m68040'.
9040            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9041        ;;
9042      esac
9043      ;;
9044
9045    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9046      # PIC is the default for these OSes.
9047      ;;
9048
9049    mingw* | cygwin* | pw32* | os2* | cegcc*)
9050      # This hack is so that the source file can tell whether it is being
9051      # built for inclusion in a dll (and should export symbols for example).
9052      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9053      # (--disable-auto-import) libraries
9054      lt_prog_compiler_pic='-DDLL_EXPORT'
9055      ;;
9056
9057    darwin* | rhapsody*)
9058      # PIC is the default on this platform
9059      # Common symbols not allowed in MH_DYLIB files
9060      lt_prog_compiler_pic='-fno-common'
9061      ;;
9062
9063    haiku*)
9064      # PIC is the default for Haiku.
9065      # The "-static" flag exists, but is broken.
9066      lt_prog_compiler_static=
9067      ;;
9068
9069    hpux*)
9070      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9071      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9072      # sets the default TLS model and affects inlining.
9073      case $host_cpu in
9074      hppa*64*)
9075	# +Z the default
9076	;;
9077      *)
9078	lt_prog_compiler_pic='-fPIC'
9079	;;
9080      esac
9081      ;;
9082
9083    interix[3-9]*)
9084      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9085      # Instead, we relocate shared libraries at runtime.
9086      ;;
9087
9088    msdosdjgpp*)
9089      # Just because we use GCC doesn't mean we suddenly get shared libraries
9090      # on systems that don't support them.
9091      lt_prog_compiler_can_build_shared=no
9092      enable_shared=no
9093      ;;
9094
9095    *nto* | *qnx*)
9096      # QNX uses GNU C++, but need to define -shared option too, otherwise
9097      # it will coredump.
9098      lt_prog_compiler_pic='-fPIC -shared'
9099      ;;
9100
9101    sysv4*MP*)
9102      if test -d /usr/nec; then
9103	lt_prog_compiler_pic=-Kconform_pic
9104      fi
9105      ;;
9106
9107    *)
9108      lt_prog_compiler_pic='-fPIC'
9109      ;;
9110    esac
9111
9112    case $cc_basename in
9113    nvcc*) # Cuda Compiler Driver 2.2
9114      lt_prog_compiler_wl='-Xlinker '
9115      lt_prog_compiler_pic='-Xcompiler -fPIC'
9116      ;;
9117    esac
9118  else
9119    # PORTME Check for flag to pass linker flags through the system compiler.
9120    case $host_os in
9121    aix*)
9122      lt_prog_compiler_wl='-Wl,'
9123      if test "$host_cpu" = ia64; then
9124	# AIX 5 now supports IA64 processor
9125	lt_prog_compiler_static='-Bstatic'
9126      else
9127	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9128      fi
9129      ;;
9130
9131    mingw* | cygwin* | pw32* | os2* | cegcc*)
9132      # This hack is so that the source file can tell whether it is being
9133      # built for inclusion in a dll (and should export symbols for example).
9134      lt_prog_compiler_pic='-DDLL_EXPORT'
9135      ;;
9136
9137    hpux9* | hpux10* | hpux11*)
9138      lt_prog_compiler_wl='-Wl,'
9139      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9140      # not for PA HP-UX.
9141      case $host_cpu in
9142      hppa*64*|ia64*)
9143	# +Z the default
9144	;;
9145      *)
9146	lt_prog_compiler_pic='+Z'
9147	;;
9148      esac
9149      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9150      lt_prog_compiler_static='${wl}-a ${wl}archive'
9151      ;;
9152
9153    irix5* | irix6* | nonstopux*)
9154      lt_prog_compiler_wl='-Wl,'
9155      # PIC (with -KPIC) is the default.
9156      lt_prog_compiler_static='-non_shared'
9157      ;;
9158
9159    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9160      case $cc_basename in
9161      # old Intel for x86_64 which still supported -KPIC.
9162      ecc*)
9163	lt_prog_compiler_wl='-Wl,'
9164	lt_prog_compiler_pic='-KPIC'
9165	lt_prog_compiler_static='-static'
9166        ;;
9167      # icc used to be incompatible with GCC.
9168      # ICC 10 doesn't accept -KPIC any more.
9169      icc* | ifort*)
9170	lt_prog_compiler_wl='-Wl,'
9171	lt_prog_compiler_pic='-fPIC'
9172	lt_prog_compiler_static='-static'
9173        ;;
9174      # Lahey Fortran 8.1.
9175      lf95*)
9176	lt_prog_compiler_wl='-Wl,'
9177	lt_prog_compiler_pic='--shared'
9178	lt_prog_compiler_static='--static'
9179	;;
9180      nagfor*)
9181	# NAG Fortran compiler
9182	lt_prog_compiler_wl='-Wl,-Wl,,'
9183	lt_prog_compiler_pic='-PIC'
9184	lt_prog_compiler_static='-Bstatic'
9185	;;
9186      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9187        # Portland Group compilers (*not* the Pentium gcc compiler,
9188	# which looks to be a dead project)
9189	lt_prog_compiler_wl='-Wl,'
9190	lt_prog_compiler_pic='-fpic'
9191	lt_prog_compiler_static='-Bstatic'
9192        ;;
9193      ccc*)
9194        lt_prog_compiler_wl='-Wl,'
9195        # All Alpha code is PIC.
9196        lt_prog_compiler_static='-non_shared'
9197        ;;
9198      xl* | bgxl* | bgf* | mpixl*)
9199	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9200	lt_prog_compiler_wl='-Wl,'
9201	lt_prog_compiler_pic='-qpic'
9202	lt_prog_compiler_static='-qstaticlink'
9203	;;
9204      *)
9205	case `$CC -V 2>&1 | sed 5q` in
9206	*Sun\ F* | *Sun*Fortran*)
9207	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9208	  lt_prog_compiler_pic='-KPIC'
9209	  lt_prog_compiler_static='-Bstatic'
9210	  lt_prog_compiler_wl=''
9211	  ;;
9212	*Sun\ C*)
9213	  # Sun C 5.9
9214	  lt_prog_compiler_pic='-KPIC'
9215	  lt_prog_compiler_static='-Bstatic'
9216	  lt_prog_compiler_wl='-Wl,'
9217	  ;;
9218	esac
9219	;;
9220      esac
9221      ;;
9222
9223    newsos6)
9224      lt_prog_compiler_pic='-KPIC'
9225      lt_prog_compiler_static='-Bstatic'
9226      ;;
9227
9228    *nto* | *qnx*)
9229      # QNX uses GNU C++, but need to define -shared option too, otherwise
9230      # it will coredump.
9231      lt_prog_compiler_pic='-fPIC -shared'
9232      ;;
9233
9234    osf3* | osf4* | osf5*)
9235      lt_prog_compiler_wl='-Wl,'
9236      # All OSF/1 code is PIC.
9237      lt_prog_compiler_static='-non_shared'
9238      ;;
9239
9240    rdos*)
9241      lt_prog_compiler_static='-non_shared'
9242      ;;
9243
9244    solaris*)
9245      lt_prog_compiler_pic='-KPIC'
9246      lt_prog_compiler_static='-Bstatic'
9247      case $cc_basename in
9248      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9249	lt_prog_compiler_wl='-Qoption ld ';;
9250      *)
9251	lt_prog_compiler_wl='-Wl,';;
9252      esac
9253      ;;
9254
9255    sunos4*)
9256      lt_prog_compiler_wl='-Qoption ld '
9257      lt_prog_compiler_pic='-PIC'
9258      lt_prog_compiler_static='-Bstatic'
9259      ;;
9260
9261    sysv4 | sysv4.2uw2* | sysv4.3*)
9262      lt_prog_compiler_wl='-Wl,'
9263      lt_prog_compiler_pic='-KPIC'
9264      lt_prog_compiler_static='-Bstatic'
9265      ;;
9266
9267    sysv4*MP*)
9268      if test -d /usr/nec ;then
9269	lt_prog_compiler_pic='-Kconform_pic'
9270	lt_prog_compiler_static='-Bstatic'
9271      fi
9272      ;;
9273
9274    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9275      lt_prog_compiler_wl='-Wl,'
9276      lt_prog_compiler_pic='-KPIC'
9277      lt_prog_compiler_static='-Bstatic'
9278      ;;
9279
9280    unicos*)
9281      lt_prog_compiler_wl='-Wl,'
9282      lt_prog_compiler_can_build_shared=no
9283      ;;
9284
9285    uts4*)
9286      lt_prog_compiler_pic='-pic'
9287      lt_prog_compiler_static='-Bstatic'
9288      ;;
9289
9290    *)
9291      lt_prog_compiler_can_build_shared=no
9292      ;;
9293    esac
9294  fi
9295
9296case $host_os in
9297  # For platforms which do not support PIC, -DPIC is meaningless:
9298  *djgpp*)
9299    lt_prog_compiler_pic=
9300    ;;
9301  *)
9302    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9303    ;;
9304esac
9305
9306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9307$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9308if ${lt_cv_prog_compiler_pic+:} false; then :
9309  $as_echo_n "(cached) " >&6
9310else
9311  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9312fi
9313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9314$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9315lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9316
9317#
9318# Check to make sure the PIC flag actually works.
9319#
9320if test -n "$lt_prog_compiler_pic"; then
9321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9322$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9323if ${lt_cv_prog_compiler_pic_works+:} false; then :
9324  $as_echo_n "(cached) " >&6
9325else
9326  lt_cv_prog_compiler_pic_works=no
9327   ac_outfile=conftest.$ac_objext
9328   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9329   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9330   # Insert the option either (1) after the last *FLAGS variable, or
9331   # (2) before a word containing "conftest.", or (3) at the end.
9332   # Note that $ac_compile itself does not contain backslashes and begins
9333   # with a dollar sign (not a hyphen), so the echo should work correctly.
9334   # The option is referenced via a variable to avoid confusing sed.
9335   lt_compile=`echo "$ac_compile" | $SED \
9336   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9337   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9338   -e 's:$: $lt_compiler_flag:'`
9339   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9340   (eval "$lt_compile" 2>conftest.err)
9341   ac_status=$?
9342   cat conftest.err >&5
9343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344   if (exit $ac_status) && test -s "$ac_outfile"; then
9345     # The compiler can only warn and ignore the option if not recognized
9346     # So say no if there are warnings other than the usual output.
9347     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9348     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9349     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9350       lt_cv_prog_compiler_pic_works=yes
9351     fi
9352   fi
9353   $RM conftest*
9354
9355fi
9356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9357$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9358
9359if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9360    case $lt_prog_compiler_pic in
9361     "" | " "*) ;;
9362     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9363     esac
9364else
9365    lt_prog_compiler_pic=
9366     lt_prog_compiler_can_build_shared=no
9367fi
9368
9369fi
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381#
9382# Check to make sure the static flag actually works.
9383#
9384wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9386$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9387if ${lt_cv_prog_compiler_static_works+:} false; then :
9388  $as_echo_n "(cached) " >&6
9389else
9390  lt_cv_prog_compiler_static_works=no
9391   save_LDFLAGS="$LDFLAGS"
9392   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9393   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9394   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9395     # The linker can only warn and ignore the option if not recognized
9396     # So say no if there are warnings
9397     if test -s conftest.err; then
9398       # Append any errors to the config.log.
9399       cat conftest.err 1>&5
9400       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9401       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9402       if diff conftest.exp conftest.er2 >/dev/null; then
9403         lt_cv_prog_compiler_static_works=yes
9404       fi
9405     else
9406       lt_cv_prog_compiler_static_works=yes
9407     fi
9408   fi
9409   $RM -r conftest*
9410   LDFLAGS="$save_LDFLAGS"
9411
9412fi
9413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9414$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9415
9416if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9417    :
9418else
9419    lt_prog_compiler_static=
9420fi
9421
9422
9423
9424
9425
9426
9427
9428  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9429$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9430if ${lt_cv_prog_compiler_c_o+:} false; then :
9431  $as_echo_n "(cached) " >&6
9432else
9433  lt_cv_prog_compiler_c_o=no
9434   $RM -r conftest 2>/dev/null
9435   mkdir conftest
9436   cd conftest
9437   mkdir out
9438   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9439
9440   lt_compiler_flag="-o out/conftest2.$ac_objext"
9441   # Insert the option either (1) after the last *FLAGS variable, or
9442   # (2) before a word containing "conftest.", or (3) at the end.
9443   # Note that $ac_compile itself does not contain backslashes and begins
9444   # with a dollar sign (not a hyphen), so the echo should work correctly.
9445   lt_compile=`echo "$ac_compile" | $SED \
9446   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9447   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9448   -e 's:$: $lt_compiler_flag:'`
9449   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9450   (eval "$lt_compile" 2>out/conftest.err)
9451   ac_status=$?
9452   cat out/conftest.err >&5
9453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9455   then
9456     # The compiler can only warn and ignore the option if not recognized
9457     # So say no if there are warnings
9458     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9459     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9460     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9461       lt_cv_prog_compiler_c_o=yes
9462     fi
9463   fi
9464   chmod u+w . 2>&5
9465   $RM conftest*
9466   # SGI C++ compiler will create directory out/ii_files/ for
9467   # template instantiation
9468   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9469   $RM out/* && rmdir out
9470   cd ..
9471   $RM -r conftest
9472   $RM conftest*
9473
9474fi
9475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9476$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9477
9478
9479
9480
9481
9482
9483  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9484$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9485if ${lt_cv_prog_compiler_c_o+:} false; then :
9486  $as_echo_n "(cached) " >&6
9487else
9488  lt_cv_prog_compiler_c_o=no
9489   $RM -r conftest 2>/dev/null
9490   mkdir conftest
9491   cd conftest
9492   mkdir out
9493   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9494
9495   lt_compiler_flag="-o out/conftest2.$ac_objext"
9496   # Insert the option either (1) after the last *FLAGS variable, or
9497   # (2) before a word containing "conftest.", or (3) at the end.
9498   # Note that $ac_compile itself does not contain backslashes and begins
9499   # with a dollar sign (not a hyphen), so the echo should work correctly.
9500   lt_compile=`echo "$ac_compile" | $SED \
9501   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9502   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9503   -e 's:$: $lt_compiler_flag:'`
9504   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9505   (eval "$lt_compile" 2>out/conftest.err)
9506   ac_status=$?
9507   cat out/conftest.err >&5
9508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9510   then
9511     # The compiler can only warn and ignore the option if not recognized
9512     # So say no if there are warnings
9513     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9514     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9515     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9516       lt_cv_prog_compiler_c_o=yes
9517     fi
9518   fi
9519   chmod u+w . 2>&5
9520   $RM conftest*
9521   # SGI C++ compiler will create directory out/ii_files/ for
9522   # template instantiation
9523   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9524   $RM out/* && rmdir out
9525   cd ..
9526   $RM -r conftest
9527   $RM conftest*
9528
9529fi
9530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9531$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9532
9533
9534
9535
9536hard_links="nottested"
9537if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9538  # do not overwrite the value of need_locks provided by the user
9539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9540$as_echo_n "checking if we can lock with hard links... " >&6; }
9541  hard_links=yes
9542  $RM conftest*
9543  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9544  touch conftest.a
9545  ln conftest.a conftest.b 2>&5 || hard_links=no
9546  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9548$as_echo "$hard_links" >&6; }
9549  if test "$hard_links" = no; then
9550    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9551$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9552    need_locks=warn
9553  fi
9554else
9555  need_locks=no
9556fi
9557
9558
9559
9560
9561
9562
9563  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9564$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9565
9566  runpath_var=
9567  allow_undefined_flag=
9568  always_export_symbols=no
9569  archive_cmds=
9570  archive_expsym_cmds=
9571  compiler_needs_object=no
9572  enable_shared_with_static_runtimes=no
9573  export_dynamic_flag_spec=
9574  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9575  hardcode_automatic=no
9576  hardcode_direct=no
9577  hardcode_direct_absolute=no
9578  hardcode_libdir_flag_spec=
9579  hardcode_libdir_flag_spec_ld=
9580  hardcode_libdir_separator=
9581  hardcode_minus_L=no
9582  hardcode_shlibpath_var=unsupported
9583  inherit_rpath=no
9584  link_all_deplibs=unknown
9585  module_cmds=
9586  module_expsym_cmds=
9587  old_archive_from_new_cmds=
9588  old_archive_from_expsyms_cmds=
9589  thread_safe_flag_spec=
9590  whole_archive_flag_spec=
9591  # include_expsyms should be a list of space-separated symbols to be *always*
9592  # included in the symbol list
9593  include_expsyms=
9594  # exclude_expsyms can be an extended regexp of symbols to exclude
9595  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9596  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9597  # as well as any symbol that contains `d'.
9598  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9599  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9600  # platforms (ab)use it in PIC code, but their linkers get confused if
9601  # the symbol is explicitly referenced.  Since portable code cannot
9602  # rely on this symbol name, it's probably fine to never include it in
9603  # preloaded symbol tables.
9604  # Exclude shared library initialization/finalization symbols.
9605  extract_expsyms_cmds=
9606
9607  case $host_os in
9608  cygwin* | mingw* | pw32* | cegcc*)
9609    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9610    # When not using gcc, we currently assume that we are using
9611    # Microsoft Visual C++.
9612    if test "$GCC" != yes; then
9613      with_gnu_ld=no
9614    fi
9615    ;;
9616  interix*)
9617    # we just hope/assume this is gcc and not c89 (= MSVC++)
9618    with_gnu_ld=yes
9619    ;;
9620  openbsd*)
9621    with_gnu_ld=no
9622    ;;
9623  esac
9624
9625  ld_shlibs=yes
9626
9627  # On some targets, GNU ld is compatible enough with the native linker
9628  # that we're better off using the native interface for both.
9629  lt_use_gnu_ld_interface=no
9630  if test "$with_gnu_ld" = yes; then
9631    case $host_os in
9632      aix*)
9633	# The AIX port of GNU ld has always aspired to compatibility
9634	# with the native linker.  However, as the warning in the GNU ld
9635	# block says, versions before 2.19.5* couldn't really create working
9636	# shared libraries, regardless of the interface used.
9637	case `$LD -v 2>&1` in
9638	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9639	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9640	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9641	  *)
9642	    lt_use_gnu_ld_interface=yes
9643	    ;;
9644	esac
9645	;;
9646      *)
9647	lt_use_gnu_ld_interface=yes
9648	;;
9649    esac
9650  fi
9651
9652  if test "$lt_use_gnu_ld_interface" = yes; then
9653    # If archive_cmds runs LD, not CC, wlarc should be empty
9654    wlarc='${wl}'
9655
9656    # Set some defaults for GNU ld with shared library support. These
9657    # are reset later if shared libraries are not supported. Putting them
9658    # here allows them to be overridden if necessary.
9659    runpath_var=LD_RUN_PATH
9660    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9661    export_dynamic_flag_spec='${wl}--export-dynamic'
9662    # ancient GNU ld didn't support --whole-archive et. al.
9663    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9664      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9665    else
9666      whole_archive_flag_spec=
9667    fi
9668    supports_anon_versioning=no
9669    case `$LD -v 2>&1` in
9670      *GNU\ gold*) supports_anon_versioning=yes ;;
9671      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9672      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9673      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9674      *\ 2.11.*) ;; # other 2.11 versions
9675      *) supports_anon_versioning=yes ;;
9676    esac
9677
9678    # See if GNU ld supports shared libraries.
9679    case $host_os in
9680    aix[3-9]*)
9681      # On AIX/PPC, the GNU linker is very broken
9682      if test "$host_cpu" != ia64; then
9683	ld_shlibs=no
9684	cat <<_LT_EOF 1>&2
9685
9686*** Warning: the GNU linker, at least up to release 2.19, is reported
9687*** to be unable to reliably create shared libraries on AIX.
9688*** Therefore, libtool is disabling shared libraries support.  If you
9689*** really care for shared libraries, you may want to install binutils
9690*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9691*** You will then need to restart the configuration process.
9692
9693_LT_EOF
9694      fi
9695      ;;
9696
9697    amigaos*)
9698      case $host_cpu in
9699      powerpc)
9700            # see comment about AmigaOS4 .so support
9701            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9702            archive_expsym_cmds=''
9703        ;;
9704      m68k)
9705            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)'
9706            hardcode_libdir_flag_spec='-L$libdir'
9707            hardcode_minus_L=yes
9708        ;;
9709      esac
9710      ;;
9711
9712    beos*)
9713      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9714	allow_undefined_flag=unsupported
9715	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9716	# support --undefined.  This deserves some investigation.  FIXME
9717	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9718      else
9719	ld_shlibs=no
9720      fi
9721      ;;
9722
9723    cygwin* | mingw* | pw32* | cegcc*)
9724      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9725      # as there is no search path for DLLs.
9726      hardcode_libdir_flag_spec='-L$libdir'
9727      export_dynamic_flag_spec='${wl}--export-all-symbols'
9728      allow_undefined_flag=unsupported
9729      always_export_symbols=no
9730      enable_shared_with_static_runtimes=yes
9731      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'
9732      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9733
9734      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9735        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9736	# If the export-symbols file already is a .def file (1st line
9737	# is EXPORTS), use it as is; otherwise, prepend...
9738	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9739	  cp $export_symbols $output_objdir/$soname.def;
9740	else
9741	  echo EXPORTS > $output_objdir/$soname.def;
9742	  cat $export_symbols >> $output_objdir/$soname.def;
9743	fi~
9744	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9745      else
9746	ld_shlibs=no
9747      fi
9748      ;;
9749
9750    haiku*)
9751      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9752      link_all_deplibs=yes
9753      ;;
9754
9755    interix[3-9]*)
9756      hardcode_direct=no
9757      hardcode_shlibpath_var=no
9758      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9759      export_dynamic_flag_spec='${wl}-E'
9760      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9761      # Instead, shared libraries are loaded at an image base (0x10000000 by
9762      # default) and relocated if they conflict, which is a slow very memory
9763      # consuming and fragmenting process.  To avoid this, we pick a random,
9764      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9765      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9766      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9767      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'
9768      ;;
9769
9770    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9771      tmp_diet=no
9772      if test "$host_os" = linux-dietlibc; then
9773	case $cc_basename in
9774	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9775	esac
9776      fi
9777      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9778	 && test "$tmp_diet" = no
9779      then
9780	tmp_addflag=' $pic_flag'
9781	tmp_sharedflag='-shared'
9782	case $cc_basename,$host_cpu in
9783        pgcc*)				# Portland Group C compiler
9784	  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'
9785	  tmp_addflag=' $pic_flag'
9786	  ;;
9787	pgf77* | pgf90* | pgf95* | pgfortran*)
9788					# Portland Group f77 and f90 compilers
9789	  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'
9790	  tmp_addflag=' $pic_flag -Mnomain' ;;
9791	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9792	  tmp_addflag=' -i_dynamic' ;;
9793	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9794	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9795	ifc* | ifort*)			# Intel Fortran compiler
9796	  tmp_addflag=' -nofor_main' ;;
9797	lf95*)				# Lahey Fortran 8.1
9798	  whole_archive_flag_spec=
9799	  tmp_sharedflag='--shared' ;;
9800	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9801	  tmp_sharedflag='-qmkshrobj'
9802	  tmp_addflag= ;;
9803	nvcc*)	# Cuda Compiler Driver 2.2
9804	  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'
9805	  compiler_needs_object=yes
9806	  ;;
9807	esac
9808	case `$CC -V 2>&1 | sed 5q` in
9809	*Sun\ C*)			# Sun C 5.9
9810	  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'
9811	  compiler_needs_object=yes
9812	  tmp_sharedflag='-G' ;;
9813	*Sun\ F*)			# Sun Fortran 8.3
9814	  tmp_sharedflag='-G' ;;
9815	esac
9816	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9817
9818        if test "x$supports_anon_versioning" = xyes; then
9819          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9820	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9821	    echo "local: *; };" >> $output_objdir/$libname.ver~
9822	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9823        fi
9824
9825	case $cc_basename in
9826	xlf* | bgf* | bgxlf* | mpixlf*)
9827	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9828	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9829	  hardcode_libdir_flag_spec=
9830	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9831	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9832	  if test "x$supports_anon_versioning" = xyes; then
9833	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9834	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9835	      echo "local: *; };" >> $output_objdir/$libname.ver~
9836	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9837	  fi
9838	  ;;
9839	esac
9840      else
9841        ld_shlibs=no
9842      fi
9843      ;;
9844
9845    netbsd*)
9846      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9847	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9848	wlarc=
9849      else
9850	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9851	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9852      fi
9853      ;;
9854
9855    solaris*)
9856      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9857	ld_shlibs=no
9858	cat <<_LT_EOF 1>&2
9859
9860*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9861*** create shared libraries on Solaris systems.  Therefore, libtool
9862*** is disabling shared libraries support.  We urge you to upgrade GNU
9863*** binutils to release 2.9.1 or newer.  Another option is to modify
9864*** your PATH or compiler configuration so that the native linker is
9865*** used, and then restart.
9866
9867_LT_EOF
9868      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9869	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9870	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9871      else
9872	ld_shlibs=no
9873      fi
9874      ;;
9875
9876    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9877      case `$LD -v 2>&1` in
9878        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9879	ld_shlibs=no
9880	cat <<_LT_EOF 1>&2
9881
9882*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9883*** reliably create shared libraries on SCO systems.  Therefore, libtool
9884*** is disabling shared libraries support.  We urge you to upgrade GNU
9885*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9886*** your PATH or compiler configuration so that the native linker is
9887*** used, and then restart.
9888
9889_LT_EOF
9890	;;
9891	*)
9892	  # For security reasons, it is highly recommended that you always
9893	  # use absolute paths for naming shared libraries, and exclude the
9894	  # DT_RUNPATH tag from executables and libraries.  But doing so
9895	  # requires that you compile everything twice, which is a pain.
9896	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9897	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9898	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9899	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9900	  else
9901	    ld_shlibs=no
9902	  fi
9903	;;
9904      esac
9905      ;;
9906
9907    sunos4*)
9908      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9909      wlarc=
9910      hardcode_direct=yes
9911      hardcode_shlibpath_var=no
9912      ;;
9913
9914    *)
9915      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9916	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9917	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9918      else
9919	ld_shlibs=no
9920      fi
9921      ;;
9922    esac
9923
9924    if test "$ld_shlibs" = no; then
9925      runpath_var=
9926      hardcode_libdir_flag_spec=
9927      export_dynamic_flag_spec=
9928      whole_archive_flag_spec=
9929    fi
9930  else
9931    # PORTME fill in a description of your system's linker (not GNU ld)
9932    case $host_os in
9933    aix3*)
9934      allow_undefined_flag=unsupported
9935      always_export_symbols=yes
9936      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'
9937      # Note: this linker hardcodes the directories in LIBPATH if there
9938      # are no directories specified by -L.
9939      hardcode_minus_L=yes
9940      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9941	# Neither direct hardcoding nor static linking is supported with a
9942	# broken collect2.
9943	hardcode_direct=unsupported
9944      fi
9945      ;;
9946
9947    aix[4-9]*)
9948      if test "$host_cpu" = ia64; then
9949	# On IA64, the linker does run time linking by default, so we don't
9950	# have to do anything special.
9951	aix_use_runtimelinking=no
9952	exp_sym_flag='-Bexport'
9953	no_entry_flag=""
9954      else
9955	# If we're using GNU nm, then we don't want the "-C" option.
9956	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9957	# Also, AIX nm treats weak defined symbols like other global
9958	# defined symbols, whereas GNU nm marks them as "W".
9959	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9960	  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'
9961	else
9962	  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'
9963	fi
9964	aix_use_runtimelinking=no
9965
9966	# Test if we are trying to use run time linking or normal
9967	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9968	# need to do runtime linking.
9969	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9970	  for ld_flag in $LDFLAGS; do
9971	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9972	    aix_use_runtimelinking=yes
9973	    break
9974	  fi
9975	  done
9976	  ;;
9977	esac
9978
9979	exp_sym_flag='-bexport'
9980	no_entry_flag='-bnoentry'
9981      fi
9982
9983      # When large executables or shared objects are built, AIX ld can
9984      # have problems creating the table of contents.  If linking a library
9985      # or program results in "error TOC overflow" add -mminimal-toc to
9986      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9987      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9988
9989      archive_cmds=''
9990      hardcode_direct=yes
9991      hardcode_direct_absolute=yes
9992      hardcode_libdir_separator=':'
9993      link_all_deplibs=yes
9994      file_list_spec='${wl}-f,'
9995
9996      if test "$GCC" = yes; then
9997	case $host_os in aix4.[012]|aix4.[012].*)
9998	# We only want to do this on AIX 4.2 and lower, the check
9999	# below for broken collect2 doesn't work under 4.3+
10000	  collect2name=`${CC} -print-prog-name=collect2`
10001	  if test -f "$collect2name" &&
10002	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10003	  then
10004	  # We have reworked collect2
10005	  :
10006	  else
10007	  # We have old collect2
10008	  hardcode_direct=unsupported
10009	  # It fails to find uninstalled libraries when the uninstalled
10010	  # path is not listed in the libpath.  Setting hardcode_minus_L
10011	  # to unsupported forces relinking
10012	  hardcode_minus_L=yes
10013	  hardcode_libdir_flag_spec='-L$libdir'
10014	  hardcode_libdir_separator=
10015	  fi
10016	  ;;
10017	esac
10018	shared_flag='-shared'
10019	if test "$aix_use_runtimelinking" = yes; then
10020	  shared_flag="$shared_flag "'${wl}-G'
10021	fi
10022      else
10023	# not using gcc
10024	if test "$host_cpu" = ia64; then
10025	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10026	# chokes on -Wl,-G. The following line is correct:
10027	  shared_flag='-G'
10028	else
10029	  if test "$aix_use_runtimelinking" = yes; then
10030	    shared_flag='${wl}-G'
10031	  else
10032	    shared_flag='${wl}-bM:SRE'
10033	  fi
10034	fi
10035      fi
10036
10037      export_dynamic_flag_spec='${wl}-bexpall'
10038      # It seems that -bexpall does not export symbols beginning with
10039      # underscore (_), so it is better to generate a list of symbols to export.
10040      always_export_symbols=yes
10041      if test "$aix_use_runtimelinking" = yes; then
10042	# Warning - without using the other runtime loading flags (-brtl),
10043	# -berok will link without error, but may produce a broken library.
10044	allow_undefined_flag='-berok'
10045        # Determine the default libpath from the value encoded in an
10046        # empty executable.
10047        if test "${lt_cv_aix_libpath+set}" = set; then
10048  aix_libpath=$lt_cv_aix_libpath
10049else
10050  if ${lt_cv_aix_libpath_+:} false; then :
10051  $as_echo_n "(cached) " >&6
10052else
10053  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10054/* end confdefs.h.  */
10055
10056int
10057main ()
10058{
10059
10060  ;
10061  return 0;
10062}
10063_ACEOF
10064if ac_fn_c_try_link "$LINENO"; then :
10065
10066  lt_aix_libpath_sed='
10067      /Import File Strings/,/^$/ {
10068	  /^0/ {
10069	      s/^0  *\([^ ]*\) *$/\1/
10070	      p
10071	  }
10072      }'
10073  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10074  # Check for a 64-bit object if we didn't find anything.
10075  if test -z "$lt_cv_aix_libpath_"; then
10076    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10077  fi
10078fi
10079rm -f core conftest.err conftest.$ac_objext \
10080    conftest$ac_exeext conftest.$ac_ext
10081  if test -z "$lt_cv_aix_libpath_"; then
10082    lt_cv_aix_libpath_="/usr/lib:/lib"
10083  fi
10084
10085fi
10086
10087  aix_libpath=$lt_cv_aix_libpath_
10088fi
10089
10090        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10091        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"
10092      else
10093	if test "$host_cpu" = ia64; then
10094	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10095	  allow_undefined_flag="-z nodefs"
10096	  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"
10097	else
10098	 # Determine the default libpath from the value encoded in an
10099	 # empty executable.
10100	 if test "${lt_cv_aix_libpath+set}" = set; then
10101  aix_libpath=$lt_cv_aix_libpath
10102else
10103  if ${lt_cv_aix_libpath_+:} false; then :
10104  $as_echo_n "(cached) " >&6
10105else
10106  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10107/* end confdefs.h.  */
10108
10109int
10110main ()
10111{
10112
10113  ;
10114  return 0;
10115}
10116_ACEOF
10117if ac_fn_c_try_link "$LINENO"; then :
10118
10119  lt_aix_libpath_sed='
10120      /Import File Strings/,/^$/ {
10121	  /^0/ {
10122	      s/^0  *\([^ ]*\) *$/\1/
10123	      p
10124	  }
10125      }'
10126  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10127  # Check for a 64-bit object if we didn't find anything.
10128  if test -z "$lt_cv_aix_libpath_"; then
10129    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10130  fi
10131fi
10132rm -f core conftest.err conftest.$ac_objext \
10133    conftest$ac_exeext conftest.$ac_ext
10134  if test -z "$lt_cv_aix_libpath_"; then
10135    lt_cv_aix_libpath_="/usr/lib:/lib"
10136  fi
10137
10138fi
10139
10140  aix_libpath=$lt_cv_aix_libpath_
10141fi
10142
10143	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10144	  # Warning - without using the other run time loading flags,
10145	  # -berok will link without error, but may produce a broken library.
10146	  no_undefined_flag=' ${wl}-bernotok'
10147	  allow_undefined_flag=' ${wl}-berok'
10148	  if test "$with_gnu_ld" = yes; then
10149	    # We only use this code for GNU lds that support --whole-archive.
10150	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10151	  else
10152	    # Exported symbols can be pulled into shared objects from archives
10153	    whole_archive_flag_spec='$convenience'
10154	  fi
10155	  archive_cmds_need_lc=yes
10156	  # This is similar to how AIX traditionally builds its shared libraries.
10157	  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'
10158	fi
10159      fi
10160      ;;
10161
10162    amigaos*)
10163      case $host_cpu in
10164      powerpc)
10165            # see comment about AmigaOS4 .so support
10166            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10167            archive_expsym_cmds=''
10168        ;;
10169      m68k)
10170            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)'
10171            hardcode_libdir_flag_spec='-L$libdir'
10172            hardcode_minus_L=yes
10173        ;;
10174      esac
10175      ;;
10176
10177    bsdi[45]*)
10178      export_dynamic_flag_spec=-rdynamic
10179      ;;
10180
10181    cygwin* | mingw* | pw32* | cegcc*)
10182      # When not using gcc, we currently assume that we are using
10183      # Microsoft Visual C++.
10184      # hardcode_libdir_flag_spec is actually meaningless, as there is
10185      # no search path for DLLs.
10186      case $cc_basename in
10187      cl*)
10188	# Native MSVC
10189	hardcode_libdir_flag_spec=' '
10190	allow_undefined_flag=unsupported
10191	always_export_symbols=yes
10192	file_list_spec='@'
10193	# Tell ltmain to make .lib files, not .a files.
10194	libext=lib
10195	# Tell ltmain to make .dll files, not .so files.
10196	shrext_cmds=".dll"
10197	# FIXME: Setting linknames here is a bad hack.
10198	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10199	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10200	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10201	  else
10202	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10203	  fi~
10204	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10205	  linknames='
10206	# The linker will not automatically build a static lib if we build a DLL.
10207	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10208	enable_shared_with_static_runtimes=yes
10209	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10210	# Don't use ranlib
10211	old_postinstall_cmds='chmod 644 $oldlib'
10212	postlink_cmds='lt_outputfile="@OUTPUT@"~
10213	  lt_tool_outputfile="@TOOL_OUTPUT@"~
10214	  case $lt_outputfile in
10215	    *.exe|*.EXE) ;;
10216	    *)
10217	      lt_outputfile="$lt_outputfile.exe"
10218	      lt_tool_outputfile="$lt_tool_outputfile.exe"
10219	      ;;
10220	  esac~
10221	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10222	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10223	    $RM "$lt_outputfile.manifest";
10224	  fi'
10225	;;
10226      *)
10227	# Assume MSVC wrapper
10228	hardcode_libdir_flag_spec=' '
10229	allow_undefined_flag=unsupported
10230	# Tell ltmain to make .lib files, not .a files.
10231	libext=lib
10232	# Tell ltmain to make .dll files, not .so files.
10233	shrext_cmds=".dll"
10234	# FIXME: Setting linknames here is a bad hack.
10235	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10236	# The linker will automatically build a .lib file if we build a DLL.
10237	old_archive_from_new_cmds='true'
10238	# FIXME: Should let the user specify the lib program.
10239	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10240	enable_shared_with_static_runtimes=yes
10241	;;
10242      esac
10243      ;;
10244
10245    darwin* | rhapsody*)
10246
10247
10248  archive_cmds_need_lc=no
10249  hardcode_direct=no
10250  hardcode_automatic=yes
10251  hardcode_shlibpath_var=unsupported
10252  if test "$lt_cv_ld_force_load" = "yes"; then
10253    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\"`'
10254  else
10255    whole_archive_flag_spec=''
10256  fi
10257  link_all_deplibs=yes
10258  allow_undefined_flag="$_lt_dar_allow_undefined"
10259  case $cc_basename in
10260     ifort*) _lt_dar_can_shared=yes ;;
10261     *) _lt_dar_can_shared=$GCC ;;
10262  esac
10263  if test "$_lt_dar_can_shared" = "yes"; then
10264    output_verbose_link_cmd=func_echo_all
10265    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10266    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10267    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}"
10268    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}"
10269
10270  else
10271  ld_shlibs=no
10272  fi
10273
10274      ;;
10275
10276    dgux*)
10277      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10278      hardcode_libdir_flag_spec='-L$libdir'
10279      hardcode_shlibpath_var=no
10280      ;;
10281
10282    freebsd1*)
10283      ld_shlibs=no
10284      ;;
10285
10286    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10287    # support.  Future versions do this automatically, but an explicit c++rt0.o
10288    # does not break anything, and helps significantly (at the cost of a little
10289    # extra space).
10290    freebsd2.2*)
10291      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10292      hardcode_libdir_flag_spec='-R$libdir'
10293      hardcode_direct=yes
10294      hardcode_shlibpath_var=no
10295      ;;
10296
10297    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10298    freebsd2*)
10299      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10300      hardcode_direct=yes
10301      hardcode_minus_L=yes
10302      hardcode_shlibpath_var=no
10303      ;;
10304
10305    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10306    freebsd* | dragonfly*)
10307      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10308      hardcode_libdir_flag_spec='-R$libdir'
10309      hardcode_direct=yes
10310      hardcode_shlibpath_var=no
10311      ;;
10312
10313    hpux9*)
10314      if test "$GCC" = yes; then
10315	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'
10316      else
10317	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'
10318      fi
10319      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10320      hardcode_libdir_separator=:
10321      hardcode_direct=yes
10322
10323      # hardcode_minus_L: Not really in the search PATH,
10324      # but as the default location of the library.
10325      hardcode_minus_L=yes
10326      export_dynamic_flag_spec='${wl}-E'
10327      ;;
10328
10329    hpux10*)
10330      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10331	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10332      else
10333	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10334      fi
10335      if test "$with_gnu_ld" = no; then
10336	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10337	hardcode_libdir_flag_spec_ld='+b $libdir'
10338	hardcode_libdir_separator=:
10339	hardcode_direct=yes
10340	hardcode_direct_absolute=yes
10341	export_dynamic_flag_spec='${wl}-E'
10342	# hardcode_minus_L: Not really in the search PATH,
10343	# but as the default location of the library.
10344	hardcode_minus_L=yes
10345      fi
10346      ;;
10347
10348    hpux11*)
10349      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10350	case $host_cpu in
10351	hppa*64*)
10352	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10353	  ;;
10354	ia64*)
10355	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10356	  ;;
10357	*)
10358	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10359	  ;;
10360	esac
10361      else
10362	case $host_cpu in
10363	hppa*64*)
10364	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10365	  ;;
10366	ia64*)
10367	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10368	  ;;
10369	*)
10370
10371	  # Older versions of the 11.00 compiler do not understand -b yet
10372	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10373	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10374$as_echo_n "checking if $CC understands -b... " >&6; }
10375if ${lt_cv_prog_compiler__b+:} false; then :
10376  $as_echo_n "(cached) " >&6
10377else
10378  lt_cv_prog_compiler__b=no
10379   save_LDFLAGS="$LDFLAGS"
10380   LDFLAGS="$LDFLAGS -b"
10381   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10382   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10383     # The linker can only warn and ignore the option if not recognized
10384     # So say no if there are warnings
10385     if test -s conftest.err; then
10386       # Append any errors to the config.log.
10387       cat conftest.err 1>&5
10388       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10389       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10390       if diff conftest.exp conftest.er2 >/dev/null; then
10391         lt_cv_prog_compiler__b=yes
10392       fi
10393     else
10394       lt_cv_prog_compiler__b=yes
10395     fi
10396   fi
10397   $RM -r conftest*
10398   LDFLAGS="$save_LDFLAGS"
10399
10400fi
10401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10402$as_echo "$lt_cv_prog_compiler__b" >&6; }
10403
10404if test x"$lt_cv_prog_compiler__b" = xyes; then
10405    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10406else
10407    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10408fi
10409
10410	  ;;
10411	esac
10412      fi
10413      if test "$with_gnu_ld" = no; then
10414	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10415	hardcode_libdir_separator=:
10416
10417	case $host_cpu in
10418	hppa*64*|ia64*)
10419	  hardcode_direct=no
10420	  hardcode_shlibpath_var=no
10421	  ;;
10422	*)
10423	  hardcode_direct=yes
10424	  hardcode_direct_absolute=yes
10425	  export_dynamic_flag_spec='${wl}-E'
10426
10427	  # hardcode_minus_L: Not really in the search PATH,
10428	  # but as the default location of the library.
10429	  hardcode_minus_L=yes
10430	  ;;
10431	esac
10432      fi
10433      ;;
10434
10435    irix5* | irix6* | nonstopux*)
10436      if test "$GCC" = yes; then
10437	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'
10438	# Try to use the -exported_symbol ld option, if it does not
10439	# work, assume that -exports_file does not work either and
10440	# implicitly export all symbols.
10441	# This should be the same for all languages, so no per-tag cache variable.
10442	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10443$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10444if ${lt_cv_irix_exported_symbol+:} false; then :
10445  $as_echo_n "(cached) " >&6
10446else
10447  save_LDFLAGS="$LDFLAGS"
10448	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10449	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10450/* end confdefs.h.  */
10451int foo (void) { return 0; }
10452_ACEOF
10453if ac_fn_c_try_link "$LINENO"; then :
10454  lt_cv_irix_exported_symbol=yes
10455else
10456  lt_cv_irix_exported_symbol=no
10457fi
10458rm -f core conftest.err conftest.$ac_objext \
10459    conftest$ac_exeext conftest.$ac_ext
10460           LDFLAGS="$save_LDFLAGS"
10461fi
10462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10463$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10464	if test "$lt_cv_irix_exported_symbol" = yes; then
10465          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'
10466	fi
10467      else
10468	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'
10469	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'
10470      fi
10471      archive_cmds_need_lc='no'
10472      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10473      hardcode_libdir_separator=:
10474      inherit_rpath=yes
10475      link_all_deplibs=yes
10476      ;;
10477
10478    netbsd*)
10479      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10480	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10481      else
10482	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10483      fi
10484      hardcode_libdir_flag_spec='-R$libdir'
10485      hardcode_direct=yes
10486      hardcode_shlibpath_var=no
10487      ;;
10488
10489    newsos6)
10490      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10491      hardcode_direct=yes
10492      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10493      hardcode_libdir_separator=:
10494      hardcode_shlibpath_var=no
10495      ;;
10496
10497    *nto* | *qnx*)
10498      ;;
10499
10500    openbsd*)
10501      if test -f /usr/libexec/ld.so; then
10502	hardcode_direct=yes
10503	hardcode_shlibpath_var=no
10504	hardcode_direct_absolute=yes
10505	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10506	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10507	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10508	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10509	  export_dynamic_flag_spec='${wl}-E'
10510	else
10511	  case $host_os in
10512	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10513	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10514	     hardcode_libdir_flag_spec='-R$libdir'
10515	     ;;
10516	   *)
10517	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10518	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10519	     ;;
10520	  esac
10521	fi
10522      else
10523	ld_shlibs=no
10524      fi
10525      ;;
10526
10527    os2*)
10528      hardcode_libdir_flag_spec='-L$libdir'
10529      hardcode_minus_L=yes
10530      allow_undefined_flag=unsupported
10531      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'
10532      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10533      ;;
10534
10535    osf3*)
10536      if test "$GCC" = yes; then
10537	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10538	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'
10539      else
10540	allow_undefined_flag=' -expect_unresolved \*'
10541	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'
10542      fi
10543      archive_cmds_need_lc='no'
10544      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10545      hardcode_libdir_separator=:
10546      ;;
10547
10548    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10549      if test "$GCC" = yes; then
10550	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10551	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'
10552	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10553      else
10554	allow_undefined_flag=' -expect_unresolved \*'
10555	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'
10556	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~
10557	$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'
10558
10559	# Both c and cxx compiler support -rpath directly
10560	hardcode_libdir_flag_spec='-rpath $libdir'
10561      fi
10562      archive_cmds_need_lc='no'
10563      hardcode_libdir_separator=:
10564      ;;
10565
10566    solaris*)
10567      no_undefined_flag=' -z defs'
10568      if test "$GCC" = yes; then
10569	wlarc='${wl}'
10570	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10571	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10572	  $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'
10573      else
10574	case `$CC -V 2>&1` in
10575	*"Compilers 5.0"*)
10576	  wlarc=''
10577	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10578	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10579	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10580	  ;;
10581	*)
10582	  wlarc='${wl}'
10583	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10584	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10585	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10586	  ;;
10587	esac
10588      fi
10589      hardcode_libdir_flag_spec='-R$libdir'
10590      hardcode_shlibpath_var=no
10591      case $host_os in
10592      solaris2.[0-5] | solaris2.[0-5].*) ;;
10593      *)
10594	# The compiler driver will combine and reorder linker options,
10595	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10596	# but is careful enough not to reorder.
10597	# Supported since Solaris 2.6 (maybe 2.5.1?)
10598	if test "$GCC" = yes; then
10599	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10600	else
10601	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10602	fi
10603	;;
10604      esac
10605      link_all_deplibs=yes
10606      ;;
10607
10608    sunos4*)
10609      if test "x$host_vendor" = xsequent; then
10610	# Use $CC to link under sequent, because it throws in some extra .o
10611	# files that make .init and .fini sections work.
10612	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10613      else
10614	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10615      fi
10616      hardcode_libdir_flag_spec='-L$libdir'
10617      hardcode_direct=yes
10618      hardcode_minus_L=yes
10619      hardcode_shlibpath_var=no
10620      ;;
10621
10622    sysv4)
10623      case $host_vendor in
10624	sni)
10625	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10626	  hardcode_direct=yes # is this really true???
10627	;;
10628	siemens)
10629	  ## LD is ld it makes a PLAMLIB
10630	  ## CC just makes a GrossModule.
10631	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10632	  reload_cmds='$CC -r -o $output$reload_objs'
10633	  hardcode_direct=no
10634        ;;
10635	motorola)
10636	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10637	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10638	;;
10639      esac
10640      runpath_var='LD_RUN_PATH'
10641      hardcode_shlibpath_var=no
10642      ;;
10643
10644    sysv4.3*)
10645      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10646      hardcode_shlibpath_var=no
10647      export_dynamic_flag_spec='-Bexport'
10648      ;;
10649
10650    sysv4*MP*)
10651      if test -d /usr/nec; then
10652	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10653	hardcode_shlibpath_var=no
10654	runpath_var=LD_RUN_PATH
10655	hardcode_runpath_var=yes
10656	ld_shlibs=yes
10657      fi
10658      ;;
10659
10660    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10661      no_undefined_flag='${wl}-z,text'
10662      archive_cmds_need_lc=no
10663      hardcode_shlibpath_var=no
10664      runpath_var='LD_RUN_PATH'
10665
10666      if test "$GCC" = yes; then
10667	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10668	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10669      else
10670	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10671	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10672      fi
10673      ;;
10674
10675    sysv5* | sco3.2v5* | sco5v6*)
10676      # Note: We can NOT use -z defs as we might desire, because we do not
10677      # link with -lc, and that would cause any symbols used from libc to
10678      # always be unresolved, which means just about no library would
10679      # ever link correctly.  If we're not using GNU ld we use -z text
10680      # though, which does catch some bad symbols but isn't as heavy-handed
10681      # as -z defs.
10682      no_undefined_flag='${wl}-z,text'
10683      allow_undefined_flag='${wl}-z,nodefs'
10684      archive_cmds_need_lc=no
10685      hardcode_shlibpath_var=no
10686      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10687      hardcode_libdir_separator=':'
10688      link_all_deplibs=yes
10689      export_dynamic_flag_spec='${wl}-Bexport'
10690      runpath_var='LD_RUN_PATH'
10691
10692      if test "$GCC" = yes; then
10693	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10694	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10695      else
10696	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10697	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10698      fi
10699      ;;
10700
10701    uts4*)
10702      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10703      hardcode_libdir_flag_spec='-L$libdir'
10704      hardcode_shlibpath_var=no
10705      ;;
10706
10707    *)
10708      ld_shlibs=no
10709      ;;
10710    esac
10711
10712    if test x$host_vendor = xsni; then
10713      case $host in
10714      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10715	export_dynamic_flag_spec='${wl}-Blargedynsym'
10716	;;
10717      esac
10718    fi
10719  fi
10720
10721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10722$as_echo "$ld_shlibs" >&6; }
10723test "$ld_shlibs" = no && can_build_shared=no
10724
10725with_gnu_ld=$with_gnu_ld
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741#
10742# Do we need to explicitly link libc?
10743#
10744case "x$archive_cmds_need_lc" in
10745x|xyes)
10746  # Assume -lc should be added
10747  archive_cmds_need_lc=yes
10748
10749  if test "$enable_shared" = yes && test "$GCC" = yes; then
10750    case $archive_cmds in
10751    *'~'*)
10752      # FIXME: we may have to deal with multi-command sequences.
10753      ;;
10754    '$CC '*)
10755      # Test whether the compiler implicitly links with -lc since on some
10756      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10757      # to ld, don't add -lc before -lgcc.
10758      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10759$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10760if ${lt_cv_archive_cmds_need_lc+:} false; then :
10761  $as_echo_n "(cached) " >&6
10762else
10763  $RM conftest*
10764	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10765
10766	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10767  (eval $ac_compile) 2>&5
10768  ac_status=$?
10769  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10770  test $ac_status = 0; } 2>conftest.err; then
10771	  soname=conftest
10772	  lib=conftest
10773	  libobjs=conftest.$ac_objext
10774	  deplibs=
10775	  wl=$lt_prog_compiler_wl
10776	  pic_flag=$lt_prog_compiler_pic
10777	  compiler_flags=-v
10778	  linker_flags=-v
10779	  verstring=
10780	  output_objdir=.
10781	  libname=conftest
10782	  lt_save_allow_undefined_flag=$allow_undefined_flag
10783	  allow_undefined_flag=
10784	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10785  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10786  ac_status=$?
10787  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10788  test $ac_status = 0; }
10789	  then
10790	    lt_cv_archive_cmds_need_lc=no
10791	  else
10792	    lt_cv_archive_cmds_need_lc=yes
10793	  fi
10794	  allow_undefined_flag=$lt_save_allow_undefined_flag
10795	else
10796	  cat conftest.err 1>&5
10797	fi
10798	$RM conftest*
10799
10800fi
10801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10802$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10803      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10804      ;;
10805    esac
10806  fi
10807  ;;
10808esac
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10967$as_echo_n "checking dynamic linker characteristics... " >&6; }
10968
10969if test "$GCC" = yes; then
10970  case $host_os in
10971    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10972    *) lt_awk_arg="/^libraries:/" ;;
10973  esac
10974  case $host_os in
10975    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10976    *) lt_sed_strip_eq="s,=/,/,g" ;;
10977  esac
10978  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10979  case $lt_search_path_spec in
10980  *\;*)
10981    # if the path contains ";" then we assume it to be the separator
10982    # otherwise default to the standard path separator (i.e. ":") - it is
10983    # assumed that no part of a normal pathname contains ";" but that should
10984    # okay in the real world where ";" in dirpaths is itself problematic.
10985    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10986    ;;
10987  *)
10988    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10989    ;;
10990  esac
10991  # Ok, now we have the path, separated by spaces, we can step through it
10992  # and add multilib dir if necessary.
10993  lt_tmp_lt_search_path_spec=
10994  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10995  for lt_sys_path in $lt_search_path_spec; do
10996    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10997      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10998    else
10999      test -d "$lt_sys_path" && \
11000	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11001    fi
11002  done
11003  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11004BEGIN {RS=" "; FS="/|\n";} {
11005  lt_foo="";
11006  lt_count=0;
11007  for (lt_i = NF; lt_i > 0; lt_i--) {
11008    if ($lt_i != "" && $lt_i != ".") {
11009      if ($lt_i == "..") {
11010        lt_count++;
11011      } else {
11012        if (lt_count == 0) {
11013          lt_foo="/" $lt_i lt_foo;
11014        } else {
11015          lt_count--;
11016        }
11017      }
11018    }
11019  }
11020  if (lt_foo != "") { lt_freq[lt_foo]++; }
11021  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11022}'`
11023  # AWK program above erroneously prepends '/' to C:/dos/paths
11024  # for these hosts.
11025  case $host_os in
11026    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11027      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11028  esac
11029  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11030else
11031  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11032fi
11033library_names_spec=
11034libname_spec='lib$name'
11035soname_spec=
11036shrext_cmds=".so"
11037postinstall_cmds=
11038postuninstall_cmds=
11039finish_cmds=
11040finish_eval=
11041shlibpath_var=
11042shlibpath_overrides_runpath=unknown
11043version_type=none
11044dynamic_linker="$host_os ld.so"
11045sys_lib_dlsearch_path_spec="/lib /usr/lib"
11046need_lib_prefix=unknown
11047hardcode_into_libs=no
11048
11049# when you set need_version to no, make sure it does not cause -set_version
11050# flags to be left without arguments
11051need_version=unknown
11052
11053case $host_os in
11054aix3*)
11055  version_type=linux
11056  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11057  shlibpath_var=LIBPATH
11058
11059  # AIX 3 has no versioning support, so we append a major version to the name.
11060  soname_spec='${libname}${release}${shared_ext}$major'
11061  ;;
11062
11063aix[4-9]*)
11064  version_type=linux
11065  need_lib_prefix=no
11066  need_version=no
11067  hardcode_into_libs=yes
11068  if test "$host_cpu" = ia64; then
11069    # AIX 5 supports IA64
11070    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11071    shlibpath_var=LD_LIBRARY_PATH
11072  else
11073    # With GCC up to 2.95.x, collect2 would create an import file
11074    # for dependence libraries.  The import file would start with
11075    # the line `#! .'.  This would cause the generated library to
11076    # depend on `.', always an invalid library.  This was fixed in
11077    # development snapshots of GCC prior to 3.0.
11078    case $host_os in
11079      aix4 | aix4.[01] | aix4.[01].*)
11080      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11081	   echo ' yes '
11082	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11083	:
11084      else
11085	can_build_shared=no
11086      fi
11087      ;;
11088    esac
11089    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11090    # soname into executable. Probably we can add versioning support to
11091    # collect2, so additional links can be useful in future.
11092    if test "$aix_use_runtimelinking" = yes; then
11093      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11094      # instead of lib<name>.a to let people know that these are not
11095      # typical AIX shared libraries.
11096      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11097    else
11098      # We preserve .a as extension for shared libraries through AIX4.2
11099      # and later when we are not doing run time linking.
11100      library_names_spec='${libname}${release}.a $libname.a'
11101      soname_spec='${libname}${release}${shared_ext}$major'
11102    fi
11103    shlibpath_var=LIBPATH
11104  fi
11105  ;;
11106
11107amigaos*)
11108  case $host_cpu in
11109  powerpc)
11110    # Since July 2007 AmigaOS4 officially supports .so libraries.
11111    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11112    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11113    ;;
11114  m68k)
11115    library_names_spec='$libname.ixlibrary $libname.a'
11116    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11117    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'
11118    ;;
11119  esac
11120  ;;
11121
11122beos*)
11123  library_names_spec='${libname}${shared_ext}'
11124  dynamic_linker="$host_os ld.so"
11125  shlibpath_var=LIBRARY_PATH
11126  ;;
11127
11128bsdi[45]*)
11129  version_type=linux
11130  need_version=no
11131  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11132  soname_spec='${libname}${release}${shared_ext}$major'
11133  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11134  shlibpath_var=LD_LIBRARY_PATH
11135  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11136  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11137  # the default ld.so.conf also contains /usr/contrib/lib and
11138  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11139  # libtool to hard-code these into programs
11140  ;;
11141
11142cygwin* | mingw* | pw32* | cegcc*)
11143  version_type=windows
11144  shrext_cmds=".dll"
11145  need_version=no
11146  need_lib_prefix=no
11147
11148  case $GCC,$cc_basename in
11149  yes,*)
11150    # gcc
11151    library_names_spec='$libname.dll.a'
11152    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11153    postinstall_cmds='base_file=`basename \${file}`~
11154      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11155      dldir=$destdir/`dirname \$dlpath`~
11156      test -d \$dldir || mkdir -p \$dldir~
11157      $install_prog $dir/$dlname \$dldir/$dlname~
11158      chmod a+x \$dldir/$dlname~
11159      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11160        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11161      fi'
11162    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11163      dlpath=$dir/\$dldll~
11164       $RM \$dlpath'
11165    shlibpath_overrides_runpath=yes
11166
11167    case $host_os in
11168    cygwin*)
11169      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11170      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11171
11172      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11173      ;;
11174    mingw* | cegcc*)
11175      # MinGW DLLs use traditional 'lib' prefix
11176      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11177      ;;
11178    pw32*)
11179      # pw32 DLLs use 'pw' prefix rather than 'lib'
11180      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11181      ;;
11182    esac
11183    dynamic_linker='Win32 ld.exe'
11184    ;;
11185
11186  *,cl*)
11187    # Native MSVC
11188    libname_spec='$name'
11189    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11190    library_names_spec='${libname}.dll.lib'
11191
11192    case $build_os in
11193    mingw*)
11194      sys_lib_search_path_spec=
11195      lt_save_ifs=$IFS
11196      IFS=';'
11197      for lt_path in $LIB
11198      do
11199        IFS=$lt_save_ifs
11200        # Let DOS variable expansion print the short 8.3 style file name.
11201        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11202        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11203      done
11204      IFS=$lt_save_ifs
11205      # Convert to MSYS style.
11206      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11207      ;;
11208    cygwin*)
11209      # Convert to unix form, then to dos form, then back to unix form
11210      # but this time dos style (no spaces!) so that the unix form looks
11211      # like /cygdrive/c/PROGRA~1:/cygdr...
11212      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11213      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11214      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11215      ;;
11216    *)
11217      sys_lib_search_path_spec="$LIB"
11218      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11219        # It is most probably a Windows format PATH.
11220        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11221      else
11222        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11223      fi
11224      # FIXME: find the short name or the path components, as spaces are
11225      # common. (e.g. "Program Files" -> "PROGRA~1")
11226      ;;
11227    esac
11228
11229    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11230    postinstall_cmds='base_file=`basename \${file}`~
11231      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11232      dldir=$destdir/`dirname \$dlpath`~
11233      test -d \$dldir || mkdir -p \$dldir~
11234      $install_prog $dir/$dlname \$dldir/$dlname'
11235    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11236      dlpath=$dir/\$dldll~
11237       $RM \$dlpath'
11238    shlibpath_overrides_runpath=yes
11239    dynamic_linker='Win32 link.exe'
11240    ;;
11241
11242  *)
11243    # Assume MSVC wrapper
11244    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11245    dynamic_linker='Win32 ld.exe'
11246    ;;
11247  esac
11248  # FIXME: first we should search . and the directory the executable is in
11249  shlibpath_var=PATH
11250  ;;
11251
11252darwin* | rhapsody*)
11253  dynamic_linker="$host_os dyld"
11254  version_type=darwin
11255  need_lib_prefix=no
11256  need_version=no
11257  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11258  soname_spec='${libname}${release}${major}$shared_ext'
11259  shlibpath_overrides_runpath=yes
11260  shlibpath_var=DYLD_LIBRARY_PATH
11261  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11262
11263  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11264  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11265  ;;
11266
11267dgux*)
11268  version_type=linux
11269  need_lib_prefix=no
11270  need_version=no
11271  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11272  soname_spec='${libname}${release}${shared_ext}$major'
11273  shlibpath_var=LD_LIBRARY_PATH
11274  ;;
11275
11276freebsd1*)
11277  dynamic_linker=no
11278  ;;
11279
11280freebsd* | dragonfly*)
11281  # DragonFly does not have aout.  When/if they implement a new
11282  # versioning mechanism, adjust this.
11283  if test -x /usr/bin/objformat; then
11284    objformat=`/usr/bin/objformat`
11285  else
11286    case $host_os in
11287    freebsd[123]*) objformat=aout ;;
11288    *) objformat=elf ;;
11289    esac
11290  fi
11291  # Handle Gentoo/FreeBSD as it was Linux
11292  case $host_vendor in
11293    gentoo)
11294      version_type=linux ;;
11295    *)
11296      version_type=freebsd-$objformat ;;
11297  esac
11298
11299  case $version_type in
11300    freebsd-elf*)
11301      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11302      need_version=no
11303      need_lib_prefix=no
11304      ;;
11305    freebsd-*)
11306      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11307      need_version=yes
11308      ;;
11309    linux)
11310      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11311      soname_spec='${libname}${release}${shared_ext}$major'
11312      need_lib_prefix=no
11313      need_version=no
11314      ;;
11315  esac
11316  shlibpath_var=LD_LIBRARY_PATH
11317  case $host_os in
11318  freebsd2*)
11319    shlibpath_overrides_runpath=yes
11320    ;;
11321  freebsd3.[01]* | freebsdelf3.[01]*)
11322    shlibpath_overrides_runpath=yes
11323    hardcode_into_libs=yes
11324    ;;
11325  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11326  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11327    shlibpath_overrides_runpath=no
11328    hardcode_into_libs=yes
11329    ;;
11330  *) # from 4.6 on, and DragonFly
11331    shlibpath_overrides_runpath=yes
11332    hardcode_into_libs=yes
11333    ;;
11334  esac
11335  ;;
11336
11337gnu*)
11338  version_type=linux
11339  need_lib_prefix=no
11340  need_version=no
11341  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11342  soname_spec='${libname}${release}${shared_ext}$major'
11343  shlibpath_var=LD_LIBRARY_PATH
11344  hardcode_into_libs=yes
11345  ;;
11346
11347haiku*)
11348  version_type=linux
11349  need_lib_prefix=no
11350  need_version=no
11351  dynamic_linker="$host_os runtime_loader"
11352  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11353  soname_spec='${libname}${release}${shared_ext}$major'
11354  shlibpath_var=LIBRARY_PATH
11355  shlibpath_overrides_runpath=yes
11356  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11357  hardcode_into_libs=yes
11358  ;;
11359
11360hpux9* | hpux10* | hpux11*)
11361  # Give a soname corresponding to the major version so that dld.sl refuses to
11362  # link against other versions.
11363  version_type=sunos
11364  need_lib_prefix=no
11365  need_version=no
11366  case $host_cpu in
11367  ia64*)
11368    shrext_cmds='.so'
11369    hardcode_into_libs=yes
11370    dynamic_linker="$host_os dld.so"
11371    shlibpath_var=LD_LIBRARY_PATH
11372    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11373    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11374    soname_spec='${libname}${release}${shared_ext}$major'
11375    if test "X$HPUX_IA64_MODE" = X32; then
11376      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11377    else
11378      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11379    fi
11380    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11381    ;;
11382  hppa*64*)
11383    shrext_cmds='.sl'
11384    hardcode_into_libs=yes
11385    dynamic_linker="$host_os dld.sl"
11386    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11387    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11388    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11389    soname_spec='${libname}${release}${shared_ext}$major'
11390    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11391    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11392    ;;
11393  *)
11394    shrext_cmds='.sl'
11395    dynamic_linker="$host_os dld.sl"
11396    shlibpath_var=SHLIB_PATH
11397    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11398    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11399    soname_spec='${libname}${release}${shared_ext}$major'
11400    ;;
11401  esac
11402  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11403  postinstall_cmds='chmod 555 $lib'
11404  # or fails outright, so override atomically:
11405  install_override_mode=555
11406  ;;
11407
11408interix[3-9]*)
11409  version_type=linux
11410  need_lib_prefix=no
11411  need_version=no
11412  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11413  soname_spec='${libname}${release}${shared_ext}$major'
11414  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11415  shlibpath_var=LD_LIBRARY_PATH
11416  shlibpath_overrides_runpath=no
11417  hardcode_into_libs=yes
11418  ;;
11419
11420irix5* | irix6* | nonstopux*)
11421  case $host_os in
11422    nonstopux*) version_type=nonstopux ;;
11423    *)
11424	if test "$lt_cv_prog_gnu_ld" = yes; then
11425		version_type=linux
11426	else
11427		version_type=irix
11428	fi ;;
11429  esac
11430  need_lib_prefix=no
11431  need_version=no
11432  soname_spec='${libname}${release}${shared_ext}$major'
11433  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11434  case $host_os in
11435  irix5* | nonstopux*)
11436    libsuff= shlibsuff=
11437    ;;
11438  *)
11439    case $LD in # libtool.m4 will add one of these switches to LD
11440    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11441      libsuff= shlibsuff= libmagic=32-bit;;
11442    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11443      libsuff=32 shlibsuff=N32 libmagic=N32;;
11444    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11445      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11446    *) libsuff= shlibsuff= libmagic=never-match;;
11447    esac
11448    ;;
11449  esac
11450  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11451  shlibpath_overrides_runpath=no
11452  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11453  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11454  hardcode_into_libs=yes
11455  ;;
11456
11457# No shared lib support for Linux oldld, aout, or coff.
11458linux*oldld* | linux*aout* | linux*coff*)
11459  dynamic_linker=no
11460  ;;
11461
11462# This must be Linux ELF.
11463linux* | k*bsd*-gnu | kopensolaris*-gnu)
11464  version_type=linux
11465  need_lib_prefix=no
11466  need_version=no
11467  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11468  soname_spec='${libname}${release}${shared_ext}$major'
11469  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11470  shlibpath_var=LD_LIBRARY_PATH
11471  shlibpath_overrides_runpath=no
11472
11473  # Some binutils ld are patched to set DT_RUNPATH
11474  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11475  $as_echo_n "(cached) " >&6
11476else
11477  lt_cv_shlibpath_overrides_runpath=no
11478    save_LDFLAGS=$LDFLAGS
11479    save_libdir=$libdir
11480    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11481	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11482    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483/* end confdefs.h.  */
11484
11485int
11486main ()
11487{
11488
11489  ;
11490  return 0;
11491}
11492_ACEOF
11493if ac_fn_c_try_link "$LINENO"; then :
11494  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11495  lt_cv_shlibpath_overrides_runpath=yes
11496fi
11497fi
11498rm -f core conftest.err conftest.$ac_objext \
11499    conftest$ac_exeext conftest.$ac_ext
11500    LDFLAGS=$save_LDFLAGS
11501    libdir=$save_libdir
11502
11503fi
11504
11505  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11506
11507  # This implies no fast_install, which is unacceptable.
11508  # Some rework will be needed to allow for fast_install
11509  # before this can be enabled.
11510  hardcode_into_libs=yes
11511
11512  # Append ld.so.conf contents to the search path
11513  if test -f /etc/ld.so.conf; then
11514    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' ' '`
11515    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11516  fi
11517
11518  # We used to test for /lib/ld.so.1 and disable shared libraries on
11519  # powerpc, because MkLinux only supported shared libraries with the
11520  # GNU dynamic linker.  Since this was broken with cross compilers,
11521  # most powerpc-linux boxes support dynamic linking these days and
11522  # people can always --disable-shared, the test was removed, and we
11523  # assume the GNU/Linux dynamic linker is in use.
11524  dynamic_linker='GNU/Linux ld.so'
11525  ;;
11526
11527netbsd*)
11528  version_type=sunos
11529  need_lib_prefix=no
11530  need_version=no
11531  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11532    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11533    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11534    dynamic_linker='NetBSD (a.out) ld.so'
11535  else
11536    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11537    soname_spec='${libname}${release}${shared_ext}$major'
11538    dynamic_linker='NetBSD ld.elf_so'
11539  fi
11540  shlibpath_var=LD_LIBRARY_PATH
11541  shlibpath_overrides_runpath=yes
11542  hardcode_into_libs=yes
11543  ;;
11544
11545newsos6)
11546  version_type=linux
11547  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11548  shlibpath_var=LD_LIBRARY_PATH
11549  shlibpath_overrides_runpath=yes
11550  ;;
11551
11552*nto* | *qnx*)
11553  version_type=qnx
11554  need_lib_prefix=no
11555  need_version=no
11556  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11557  soname_spec='${libname}${release}${shared_ext}$major'
11558  shlibpath_var=LD_LIBRARY_PATH
11559  shlibpath_overrides_runpath=no
11560  hardcode_into_libs=yes
11561  dynamic_linker='ldqnx.so'
11562  ;;
11563
11564openbsd*)
11565  version_type=sunos
11566  sys_lib_dlsearch_path_spec="/usr/lib"
11567  need_lib_prefix=no
11568  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11569  case $host_os in
11570    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11571    *)				need_version=no  ;;
11572  esac
11573  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11574  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11575  shlibpath_var=LD_LIBRARY_PATH
11576  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11577    case $host_os in
11578      openbsd2.[89] | openbsd2.[89].*)
11579	shlibpath_overrides_runpath=no
11580	;;
11581      *)
11582	shlibpath_overrides_runpath=yes
11583	;;
11584      esac
11585  else
11586    shlibpath_overrides_runpath=yes
11587  fi
11588  ;;
11589
11590os2*)
11591  libname_spec='$name'
11592  shrext_cmds=".dll"
11593  need_lib_prefix=no
11594  library_names_spec='$libname${shared_ext} $libname.a'
11595  dynamic_linker='OS/2 ld.exe'
11596  shlibpath_var=LIBPATH
11597  ;;
11598
11599osf3* | osf4* | osf5*)
11600  version_type=osf
11601  need_lib_prefix=no
11602  need_version=no
11603  soname_spec='${libname}${release}${shared_ext}$major'
11604  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11605  shlibpath_var=LD_LIBRARY_PATH
11606  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11607  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11608  ;;
11609
11610rdos*)
11611  dynamic_linker=no
11612  ;;
11613
11614solaris*)
11615  version_type=linux
11616  need_lib_prefix=no
11617  need_version=no
11618  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11619  soname_spec='${libname}${release}${shared_ext}$major'
11620  shlibpath_var=LD_LIBRARY_PATH
11621  shlibpath_overrides_runpath=yes
11622  hardcode_into_libs=yes
11623  # ldd complains unless libraries are executable
11624  postinstall_cmds='chmod +x $lib'
11625  ;;
11626
11627sunos4*)
11628  version_type=sunos
11629  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11630  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11631  shlibpath_var=LD_LIBRARY_PATH
11632  shlibpath_overrides_runpath=yes
11633  if test "$with_gnu_ld" = yes; then
11634    need_lib_prefix=no
11635  fi
11636  need_version=yes
11637  ;;
11638
11639sysv4 | sysv4.3*)
11640  version_type=linux
11641  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11642  soname_spec='${libname}${release}${shared_ext}$major'
11643  shlibpath_var=LD_LIBRARY_PATH
11644  case $host_vendor in
11645    sni)
11646      shlibpath_overrides_runpath=no
11647      need_lib_prefix=no
11648      runpath_var=LD_RUN_PATH
11649      ;;
11650    siemens)
11651      need_lib_prefix=no
11652      ;;
11653    motorola)
11654      need_lib_prefix=no
11655      need_version=no
11656      shlibpath_overrides_runpath=no
11657      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11658      ;;
11659  esac
11660  ;;
11661
11662sysv4*MP*)
11663  if test -d /usr/nec ;then
11664    version_type=linux
11665    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11666    soname_spec='$libname${shared_ext}.$major'
11667    shlibpath_var=LD_LIBRARY_PATH
11668  fi
11669  ;;
11670
11671sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11672  version_type=freebsd-elf
11673  need_lib_prefix=no
11674  need_version=no
11675  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11676  soname_spec='${libname}${release}${shared_ext}$major'
11677  shlibpath_var=LD_LIBRARY_PATH
11678  shlibpath_overrides_runpath=yes
11679  hardcode_into_libs=yes
11680  if test "$with_gnu_ld" = yes; then
11681    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11682  else
11683    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11684    case $host_os in
11685      sco3.2v5*)
11686        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11687	;;
11688    esac
11689  fi
11690  sys_lib_dlsearch_path_spec='/usr/lib'
11691  ;;
11692
11693tpf*)
11694  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11695  version_type=linux
11696  need_lib_prefix=no
11697  need_version=no
11698  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11699  shlibpath_var=LD_LIBRARY_PATH
11700  shlibpath_overrides_runpath=no
11701  hardcode_into_libs=yes
11702  ;;
11703
11704uts4*)
11705  version_type=linux
11706  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11707  soname_spec='${libname}${release}${shared_ext}$major'
11708  shlibpath_var=LD_LIBRARY_PATH
11709  ;;
11710
11711*)
11712  dynamic_linker=no
11713  ;;
11714esac
11715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11716$as_echo "$dynamic_linker" >&6; }
11717test "$dynamic_linker" = no && can_build_shared=no
11718
11719variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11720if test "$GCC" = yes; then
11721  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11722fi
11723
11724if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11725  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11726fi
11727if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11728  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11729fi
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11823$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11824hardcode_action=
11825if test -n "$hardcode_libdir_flag_spec" ||
11826   test -n "$runpath_var" ||
11827   test "X$hardcode_automatic" = "Xyes" ; then
11828
11829  # We can hardcode non-existent directories.
11830  if test "$hardcode_direct" != no &&
11831     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11832     # have to relink, otherwise we might link with an installed library
11833     # when we should be linking with a yet-to-be-installed one
11834     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11835     test "$hardcode_minus_L" != no; then
11836    # Linking always hardcodes the temporary library directory.
11837    hardcode_action=relink
11838  else
11839    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11840    hardcode_action=immediate
11841  fi
11842else
11843  # We cannot hardcode anything, or else we can only hardcode existing
11844  # directories.
11845  hardcode_action=unsupported
11846fi
11847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11848$as_echo "$hardcode_action" >&6; }
11849
11850if test "$hardcode_action" = relink ||
11851   test "$inherit_rpath" = yes; then
11852  # Fast installation is not supported
11853  enable_fast_install=no
11854elif test "$shlibpath_overrides_runpath" = yes ||
11855     test "$enable_shared" = no; then
11856  # Fast installation is not necessary
11857  enable_fast_install=needless
11858fi
11859
11860
11861
11862
11863
11864
11865  if test "x$enable_dlopen" != xyes; then
11866  enable_dlopen=unknown
11867  enable_dlopen_self=unknown
11868  enable_dlopen_self_static=unknown
11869else
11870  lt_cv_dlopen=no
11871  lt_cv_dlopen_libs=
11872
11873  case $host_os in
11874  beos*)
11875    lt_cv_dlopen="load_add_on"
11876    lt_cv_dlopen_libs=
11877    lt_cv_dlopen_self=yes
11878    ;;
11879
11880  mingw* | pw32* | cegcc*)
11881    lt_cv_dlopen="LoadLibrary"
11882    lt_cv_dlopen_libs=
11883    ;;
11884
11885  cygwin*)
11886    lt_cv_dlopen="dlopen"
11887    lt_cv_dlopen_libs=
11888    ;;
11889
11890  darwin*)
11891  # if libdl is installed we need to link against it
11892    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11893$as_echo_n "checking for dlopen in -ldl... " >&6; }
11894if ${ac_cv_lib_dl_dlopen+:} false; then :
11895  $as_echo_n "(cached) " >&6
11896else
11897  ac_check_lib_save_LIBS=$LIBS
11898LIBS="-ldl  $LIBS"
11899cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900/* end confdefs.h.  */
11901
11902/* Override any GCC internal prototype to avoid an error.
11903   Use char because int might match the return type of a GCC
11904   builtin and then its argument prototype would still apply.  */
11905#ifdef __cplusplus
11906extern "C"
11907#endif
11908char dlopen ();
11909int
11910main ()
11911{
11912return dlopen ();
11913  ;
11914  return 0;
11915}
11916_ACEOF
11917if ac_fn_c_try_link "$LINENO"; then :
11918  ac_cv_lib_dl_dlopen=yes
11919else
11920  ac_cv_lib_dl_dlopen=no
11921fi
11922rm -f core conftest.err conftest.$ac_objext \
11923    conftest$ac_exeext conftest.$ac_ext
11924LIBS=$ac_check_lib_save_LIBS
11925fi
11926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11927$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11928if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11929  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11930else
11931
11932    lt_cv_dlopen="dyld"
11933    lt_cv_dlopen_libs=
11934    lt_cv_dlopen_self=yes
11935
11936fi
11937
11938    ;;
11939
11940  *)
11941    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11942if test "x$ac_cv_func_shl_load" = xyes; then :
11943  lt_cv_dlopen="shl_load"
11944else
11945  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11946$as_echo_n "checking for shl_load in -ldld... " >&6; }
11947if ${ac_cv_lib_dld_shl_load+:} false; then :
11948  $as_echo_n "(cached) " >&6
11949else
11950  ac_check_lib_save_LIBS=$LIBS
11951LIBS="-ldld  $LIBS"
11952cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11953/* end confdefs.h.  */
11954
11955/* Override any GCC internal prototype to avoid an error.
11956   Use char because int might match the return type of a GCC
11957   builtin and then its argument prototype would still apply.  */
11958#ifdef __cplusplus
11959extern "C"
11960#endif
11961char shl_load ();
11962int
11963main ()
11964{
11965return shl_load ();
11966  ;
11967  return 0;
11968}
11969_ACEOF
11970if ac_fn_c_try_link "$LINENO"; then :
11971  ac_cv_lib_dld_shl_load=yes
11972else
11973  ac_cv_lib_dld_shl_load=no
11974fi
11975rm -f core conftest.err conftest.$ac_objext \
11976    conftest$ac_exeext conftest.$ac_ext
11977LIBS=$ac_check_lib_save_LIBS
11978fi
11979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11980$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11981if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11982  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11983else
11984  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11985if test "x$ac_cv_func_dlopen" = xyes; then :
11986  lt_cv_dlopen="dlopen"
11987else
11988  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11989$as_echo_n "checking for dlopen in -ldl... " >&6; }
11990if ${ac_cv_lib_dl_dlopen+:} false; then :
11991  $as_echo_n "(cached) " >&6
11992else
11993  ac_check_lib_save_LIBS=$LIBS
11994LIBS="-ldl  $LIBS"
11995cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996/* end confdefs.h.  */
11997
11998/* Override any GCC internal prototype to avoid an error.
11999   Use char because int might match the return type of a GCC
12000   builtin and then its argument prototype would still apply.  */
12001#ifdef __cplusplus
12002extern "C"
12003#endif
12004char dlopen ();
12005int
12006main ()
12007{
12008return dlopen ();
12009  ;
12010  return 0;
12011}
12012_ACEOF
12013if ac_fn_c_try_link "$LINENO"; then :
12014  ac_cv_lib_dl_dlopen=yes
12015else
12016  ac_cv_lib_dl_dlopen=no
12017fi
12018rm -f core conftest.err conftest.$ac_objext \
12019    conftest$ac_exeext conftest.$ac_ext
12020LIBS=$ac_check_lib_save_LIBS
12021fi
12022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12023$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12024if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12025  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12026else
12027  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12028$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12029if ${ac_cv_lib_svld_dlopen+:} false; then :
12030  $as_echo_n "(cached) " >&6
12031else
12032  ac_check_lib_save_LIBS=$LIBS
12033LIBS="-lsvld  $LIBS"
12034cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12035/* end confdefs.h.  */
12036
12037/* Override any GCC internal prototype to avoid an error.
12038   Use char because int might match the return type of a GCC
12039   builtin and then its argument prototype would still apply.  */
12040#ifdef __cplusplus
12041extern "C"
12042#endif
12043char dlopen ();
12044int
12045main ()
12046{
12047return dlopen ();
12048  ;
12049  return 0;
12050}
12051_ACEOF
12052if ac_fn_c_try_link "$LINENO"; then :
12053  ac_cv_lib_svld_dlopen=yes
12054else
12055  ac_cv_lib_svld_dlopen=no
12056fi
12057rm -f core conftest.err conftest.$ac_objext \
12058    conftest$ac_exeext conftest.$ac_ext
12059LIBS=$ac_check_lib_save_LIBS
12060fi
12061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12062$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12063if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12064  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12065else
12066  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12067$as_echo_n "checking for dld_link in -ldld... " >&6; }
12068if ${ac_cv_lib_dld_dld_link+:} false; then :
12069  $as_echo_n "(cached) " >&6
12070else
12071  ac_check_lib_save_LIBS=$LIBS
12072LIBS="-ldld  $LIBS"
12073cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074/* end confdefs.h.  */
12075
12076/* Override any GCC internal prototype to avoid an error.
12077   Use char because int might match the return type of a GCC
12078   builtin and then its argument prototype would still apply.  */
12079#ifdef __cplusplus
12080extern "C"
12081#endif
12082char dld_link ();
12083int
12084main ()
12085{
12086return dld_link ();
12087  ;
12088  return 0;
12089}
12090_ACEOF
12091if ac_fn_c_try_link "$LINENO"; then :
12092  ac_cv_lib_dld_dld_link=yes
12093else
12094  ac_cv_lib_dld_dld_link=no
12095fi
12096rm -f core conftest.err conftest.$ac_objext \
12097    conftest$ac_exeext conftest.$ac_ext
12098LIBS=$ac_check_lib_save_LIBS
12099fi
12100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12101$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12102if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12103  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12104fi
12105
12106
12107fi
12108
12109
12110fi
12111
12112
12113fi
12114
12115
12116fi
12117
12118
12119fi
12120
12121    ;;
12122  esac
12123
12124  if test "x$lt_cv_dlopen" != xno; then
12125    enable_dlopen=yes
12126  else
12127    enable_dlopen=no
12128  fi
12129
12130  case $lt_cv_dlopen in
12131  dlopen)
12132    save_CPPFLAGS="$CPPFLAGS"
12133    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12134
12135    save_LDFLAGS="$LDFLAGS"
12136    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12137
12138    save_LIBS="$LIBS"
12139    LIBS="$lt_cv_dlopen_libs $LIBS"
12140
12141    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12142$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12143if ${lt_cv_dlopen_self+:} false; then :
12144  $as_echo_n "(cached) " >&6
12145else
12146  	  if test "$cross_compiling" = yes; then :
12147  lt_cv_dlopen_self=cross
12148else
12149  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12150  lt_status=$lt_dlunknown
12151  cat > conftest.$ac_ext <<_LT_EOF
12152#line $LINENO "configure"
12153#include "confdefs.h"
12154
12155#if HAVE_DLFCN_H
12156#include <dlfcn.h>
12157#endif
12158
12159#include <stdio.h>
12160
12161#ifdef RTLD_GLOBAL
12162#  define LT_DLGLOBAL		RTLD_GLOBAL
12163#else
12164#  ifdef DL_GLOBAL
12165#    define LT_DLGLOBAL		DL_GLOBAL
12166#  else
12167#    define LT_DLGLOBAL		0
12168#  endif
12169#endif
12170
12171/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12172   find out it does not work in some platform. */
12173#ifndef LT_DLLAZY_OR_NOW
12174#  ifdef RTLD_LAZY
12175#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12176#  else
12177#    ifdef DL_LAZY
12178#      define LT_DLLAZY_OR_NOW		DL_LAZY
12179#    else
12180#      ifdef RTLD_NOW
12181#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12182#      else
12183#        ifdef DL_NOW
12184#          define LT_DLLAZY_OR_NOW	DL_NOW
12185#        else
12186#          define LT_DLLAZY_OR_NOW	0
12187#        endif
12188#      endif
12189#    endif
12190#  endif
12191#endif
12192
12193/* When -fvisbility=hidden is used, assume the code has been annotated
12194   correspondingly for the symbols needed.  */
12195#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12196int fnord () __attribute__((visibility("default")));
12197#endif
12198
12199int fnord () { return 42; }
12200int main ()
12201{
12202  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12203  int status = $lt_dlunknown;
12204
12205  if (self)
12206    {
12207      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12208      else
12209        {
12210	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12211          else puts (dlerror ());
12212	}
12213      /* dlclose (self); */
12214    }
12215  else
12216    puts (dlerror ());
12217
12218  return status;
12219}
12220_LT_EOF
12221  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12222  (eval $ac_link) 2>&5
12223  ac_status=$?
12224  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12225  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12226    (./conftest; exit; ) >&5 2>/dev/null
12227    lt_status=$?
12228    case x$lt_status in
12229      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12230      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12231      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12232    esac
12233  else :
12234    # compilation failed
12235    lt_cv_dlopen_self=no
12236  fi
12237fi
12238rm -fr conftest*
12239
12240
12241fi
12242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12243$as_echo "$lt_cv_dlopen_self" >&6; }
12244
12245    if test "x$lt_cv_dlopen_self" = xyes; then
12246      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12247      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12248$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12249if ${lt_cv_dlopen_self_static+:} false; then :
12250  $as_echo_n "(cached) " >&6
12251else
12252  	  if test "$cross_compiling" = yes; then :
12253  lt_cv_dlopen_self_static=cross
12254else
12255  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12256  lt_status=$lt_dlunknown
12257  cat > conftest.$ac_ext <<_LT_EOF
12258#line $LINENO "configure"
12259#include "confdefs.h"
12260
12261#if HAVE_DLFCN_H
12262#include <dlfcn.h>
12263#endif
12264
12265#include <stdio.h>
12266
12267#ifdef RTLD_GLOBAL
12268#  define LT_DLGLOBAL		RTLD_GLOBAL
12269#else
12270#  ifdef DL_GLOBAL
12271#    define LT_DLGLOBAL		DL_GLOBAL
12272#  else
12273#    define LT_DLGLOBAL		0
12274#  endif
12275#endif
12276
12277/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12278   find out it does not work in some platform. */
12279#ifndef LT_DLLAZY_OR_NOW
12280#  ifdef RTLD_LAZY
12281#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12282#  else
12283#    ifdef DL_LAZY
12284#      define LT_DLLAZY_OR_NOW		DL_LAZY
12285#    else
12286#      ifdef RTLD_NOW
12287#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12288#      else
12289#        ifdef DL_NOW
12290#          define LT_DLLAZY_OR_NOW	DL_NOW
12291#        else
12292#          define LT_DLLAZY_OR_NOW	0
12293#        endif
12294#      endif
12295#    endif
12296#  endif
12297#endif
12298
12299/* When -fvisbility=hidden is used, assume the code has been annotated
12300   correspondingly for the symbols needed.  */
12301#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12302int fnord () __attribute__((visibility("default")));
12303#endif
12304
12305int fnord () { return 42; }
12306int main ()
12307{
12308  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12309  int status = $lt_dlunknown;
12310
12311  if (self)
12312    {
12313      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12314      else
12315        {
12316	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12317          else puts (dlerror ());
12318	}
12319      /* dlclose (self); */
12320    }
12321  else
12322    puts (dlerror ());
12323
12324  return status;
12325}
12326_LT_EOF
12327  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12328  (eval $ac_link) 2>&5
12329  ac_status=$?
12330  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12331  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12332    (./conftest; exit; ) >&5 2>/dev/null
12333    lt_status=$?
12334    case x$lt_status in
12335      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12336      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12337      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12338    esac
12339  else :
12340    # compilation failed
12341    lt_cv_dlopen_self_static=no
12342  fi
12343fi
12344rm -fr conftest*
12345
12346
12347fi
12348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12349$as_echo "$lt_cv_dlopen_self_static" >&6; }
12350    fi
12351
12352    CPPFLAGS="$save_CPPFLAGS"
12353    LDFLAGS="$save_LDFLAGS"
12354    LIBS="$save_LIBS"
12355    ;;
12356  esac
12357
12358  case $lt_cv_dlopen_self in
12359  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12360  *) enable_dlopen_self=unknown ;;
12361  esac
12362
12363  case $lt_cv_dlopen_self_static in
12364  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12365  *) enable_dlopen_self_static=unknown ;;
12366  esac
12367fi
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385striplib=
12386old_striplib=
12387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12388$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12389if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12390  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12391  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12393$as_echo "yes" >&6; }
12394else
12395# FIXME - insert some real tests, host_os isn't really good enough
12396  case $host_os in
12397  darwin*)
12398    if test -n "$STRIP" ; then
12399      striplib="$STRIP -x"
12400      old_striplib="$STRIP -S"
12401      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12402$as_echo "yes" >&6; }
12403    else
12404      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12405$as_echo "no" >&6; }
12406    fi
12407    ;;
12408  *)
12409    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12410$as_echo "no" >&6; }
12411    ;;
12412  esac
12413fi
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426  # Report which library types will actually be built
12427  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12428$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12430$as_echo "$can_build_shared" >&6; }
12431
12432  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12433$as_echo_n "checking whether to build shared libraries... " >&6; }
12434  test "$can_build_shared" = "no" && enable_shared=no
12435
12436  # On AIX, shared libraries and static libraries use the same namespace, and
12437  # are all built from PIC.
12438  case $host_os in
12439  aix3*)
12440    test "$enable_shared" = yes && enable_static=no
12441    if test -n "$RANLIB"; then
12442      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12443      postinstall_cmds='$RANLIB $lib'
12444    fi
12445    ;;
12446
12447  aix[4-9]*)
12448    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12449      test "$enable_shared" = yes && enable_static=no
12450    fi
12451    ;;
12452  esac
12453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12454$as_echo "$enable_shared" >&6; }
12455
12456  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12457$as_echo_n "checking whether to build static libraries... " >&6; }
12458  # Make sure either enable_shared or enable_static is yes.
12459  test "$enable_shared" = yes || enable_static=yes
12460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12461$as_echo "$enable_static" >&6; }
12462
12463
12464
12465
12466fi
12467ac_ext=c
12468ac_cpp='$CPP $CPPFLAGS'
12469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12470ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12471ac_compiler_gnu=$ac_cv_c_compiler_gnu
12472
12473CC="$lt_save_CC"
12474
12475      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12476    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12477    (test "X$CXX" != "Xg++"))) ; then
12478  ac_ext=cpp
12479ac_cpp='$CXXCPP $CPPFLAGS'
12480ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12481ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12482ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12484$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12485if test -z "$CXXCPP"; then
12486  if ${ac_cv_prog_CXXCPP+:} false; then :
12487  $as_echo_n "(cached) " >&6
12488else
12489      # Double quotes because CXXCPP needs to be expanded
12490    for CXXCPP in "$CXX -E" "/lib/cpp"
12491    do
12492      ac_preproc_ok=false
12493for ac_cxx_preproc_warn_flag in '' yes
12494do
12495  # Use a header file that comes with gcc, so configuring glibc
12496  # with a fresh cross-compiler works.
12497  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12498  # <limits.h> exists even on freestanding compilers.
12499  # On the NeXT, cc -E runs the code through the compiler's parser,
12500  # not just through cpp. "Syntax error" is here to catch this case.
12501  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502/* end confdefs.h.  */
12503#ifdef __STDC__
12504# include <limits.h>
12505#else
12506# include <assert.h>
12507#endif
12508		     Syntax error
12509_ACEOF
12510if ac_fn_cxx_try_cpp "$LINENO"; then :
12511
12512else
12513  # Broken: fails on valid input.
12514continue
12515fi
12516rm -f conftest.err conftest.i conftest.$ac_ext
12517
12518  # OK, works on sane cases.  Now check whether nonexistent headers
12519  # can be detected and how.
12520  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521/* end confdefs.h.  */
12522#include <ac_nonexistent.h>
12523_ACEOF
12524if ac_fn_cxx_try_cpp "$LINENO"; then :
12525  # Broken: success on invalid input.
12526continue
12527else
12528  # Passes both tests.
12529ac_preproc_ok=:
12530break
12531fi
12532rm -f conftest.err conftest.i conftest.$ac_ext
12533
12534done
12535# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12536rm -f conftest.i conftest.err conftest.$ac_ext
12537if $ac_preproc_ok; then :
12538  break
12539fi
12540
12541    done
12542    ac_cv_prog_CXXCPP=$CXXCPP
12543
12544fi
12545  CXXCPP=$ac_cv_prog_CXXCPP
12546else
12547  ac_cv_prog_CXXCPP=$CXXCPP
12548fi
12549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12550$as_echo "$CXXCPP" >&6; }
12551ac_preproc_ok=false
12552for ac_cxx_preproc_warn_flag in '' yes
12553do
12554  # Use a header file that comes with gcc, so configuring glibc
12555  # with a fresh cross-compiler works.
12556  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12557  # <limits.h> exists even on freestanding compilers.
12558  # On the NeXT, cc -E runs the code through the compiler's parser,
12559  # not just through cpp. "Syntax error" is here to catch this case.
12560  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12561/* end confdefs.h.  */
12562#ifdef __STDC__
12563# include <limits.h>
12564#else
12565# include <assert.h>
12566#endif
12567		     Syntax error
12568_ACEOF
12569if ac_fn_cxx_try_cpp "$LINENO"; then :
12570
12571else
12572  # Broken: fails on valid input.
12573continue
12574fi
12575rm -f conftest.err conftest.i conftest.$ac_ext
12576
12577  # OK, works on sane cases.  Now check whether nonexistent headers
12578  # can be detected and how.
12579  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580/* end confdefs.h.  */
12581#include <ac_nonexistent.h>
12582_ACEOF
12583if ac_fn_cxx_try_cpp "$LINENO"; then :
12584  # Broken: success on invalid input.
12585continue
12586else
12587  # Passes both tests.
12588ac_preproc_ok=:
12589break
12590fi
12591rm -f conftest.err conftest.i conftest.$ac_ext
12592
12593done
12594# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12595rm -f conftest.i conftest.err conftest.$ac_ext
12596if $ac_preproc_ok; then :
12597
12598else
12599  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12600$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12601as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12602See \`config.log' for more details" "$LINENO" 5; }
12603fi
12604
12605ac_ext=c
12606ac_cpp='$CPP $CPPFLAGS'
12607ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12608ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12609ac_compiler_gnu=$ac_cv_c_compiler_gnu
12610
12611else
12612  _lt_caught_CXX_error=yes
12613fi
12614
12615ac_ext=cpp
12616ac_cpp='$CXXCPP $CPPFLAGS'
12617ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12618ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12619ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12620
12621archive_cmds_need_lc_CXX=no
12622allow_undefined_flag_CXX=
12623always_export_symbols_CXX=no
12624archive_expsym_cmds_CXX=
12625compiler_needs_object_CXX=no
12626export_dynamic_flag_spec_CXX=
12627hardcode_direct_CXX=no
12628hardcode_direct_absolute_CXX=no
12629hardcode_libdir_flag_spec_CXX=
12630hardcode_libdir_flag_spec_ld_CXX=
12631hardcode_libdir_separator_CXX=
12632hardcode_minus_L_CXX=no
12633hardcode_shlibpath_var_CXX=unsupported
12634hardcode_automatic_CXX=no
12635inherit_rpath_CXX=no
12636module_cmds_CXX=
12637module_expsym_cmds_CXX=
12638link_all_deplibs_CXX=unknown
12639old_archive_cmds_CXX=$old_archive_cmds
12640reload_flag_CXX=$reload_flag
12641reload_cmds_CXX=$reload_cmds
12642no_undefined_flag_CXX=
12643whole_archive_flag_spec_CXX=
12644enable_shared_with_static_runtimes_CXX=no
12645
12646# Source file extension for C++ test sources.
12647ac_ext=cpp
12648
12649# Object file extension for compiled C++ test sources.
12650objext=o
12651objext_CXX=$objext
12652
12653# No sense in running all these tests if we already determined that
12654# the CXX compiler isn't working.  Some variables (like enable_shared)
12655# are currently assumed to apply to all compilers on this platform,
12656# and will be corrupted by setting them based on a non-working compiler.
12657if test "$_lt_caught_CXX_error" != yes; then
12658  # Code to be used in simple compile tests
12659  lt_simple_compile_test_code="int some_variable = 0;"
12660
12661  # Code to be used in simple link tests
12662  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12663
12664  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12665
12666
12667
12668
12669
12670
12671# If no C compiler was specified, use CC.
12672LTCC=${LTCC-"$CC"}
12673
12674# If no C compiler flags were specified, use CFLAGS.
12675LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12676
12677# Allow CC to be a program name with arguments.
12678compiler=$CC
12679
12680
12681  # save warnings/boilerplate of simple test code
12682  ac_outfile=conftest.$ac_objext
12683echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12684eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12685_lt_compiler_boilerplate=`cat conftest.err`
12686$RM conftest*
12687
12688  ac_outfile=conftest.$ac_objext
12689echo "$lt_simple_link_test_code" >conftest.$ac_ext
12690eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12691_lt_linker_boilerplate=`cat conftest.err`
12692$RM -r conftest*
12693
12694
12695  # Allow CC to be a program name with arguments.
12696  lt_save_CC=$CC
12697  lt_save_CFLAGS=$CFLAGS
12698  lt_save_LD=$LD
12699  lt_save_GCC=$GCC
12700  GCC=$GXX
12701  lt_save_with_gnu_ld=$with_gnu_ld
12702  lt_save_path_LD=$lt_cv_path_LD
12703  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12704    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12705  else
12706    $as_unset lt_cv_prog_gnu_ld
12707  fi
12708  if test -n "${lt_cv_path_LDCXX+set}"; then
12709    lt_cv_path_LD=$lt_cv_path_LDCXX
12710  else
12711    $as_unset lt_cv_path_LD
12712  fi
12713  test -z "${LDCXX+set}" || LD=$LDCXX
12714  CC=${CXX-"c++"}
12715  CFLAGS=$CXXFLAGS
12716  compiler=$CC
12717  compiler_CXX=$CC
12718  for cc_temp in $compiler""; do
12719  case $cc_temp in
12720    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12721    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12722    \-*) ;;
12723    *) break;;
12724  esac
12725done
12726cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12727
12728
12729  if test -n "$compiler"; then
12730    # We don't want -fno-exception when compiling C++ code, so set the
12731    # no_builtin_flag separately
12732    if test "$GXX" = yes; then
12733      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12734    else
12735      lt_prog_compiler_no_builtin_flag_CXX=
12736    fi
12737
12738    if test "$GXX" = yes; then
12739      # Set up default GNU C++ configuration
12740
12741
12742
12743# Check whether --with-gnu-ld was given.
12744if test "${with_gnu_ld+set}" = set; then :
12745  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12746else
12747  with_gnu_ld=no
12748fi
12749
12750ac_prog=ld
12751if test "$GCC" = yes; then
12752  # Check if gcc -print-prog-name=ld gives a path.
12753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12754$as_echo_n "checking for ld used by $CC... " >&6; }
12755  case $host in
12756  *-*-mingw*)
12757    # gcc leaves a trailing carriage return which upsets mingw
12758    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12759  *)
12760    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12761  esac
12762  case $ac_prog in
12763    # Accept absolute paths.
12764    [\\/]* | ?:[\\/]*)
12765      re_direlt='/[^/][^/]*/\.\./'
12766      # Canonicalize the pathname of ld
12767      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12768      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12769	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12770      done
12771      test -z "$LD" && LD="$ac_prog"
12772      ;;
12773  "")
12774    # If it fails, then pretend we aren't using GCC.
12775    ac_prog=ld
12776    ;;
12777  *)
12778    # If it is relative, then search for the first ld in PATH.
12779    with_gnu_ld=unknown
12780    ;;
12781  esac
12782elif test "$with_gnu_ld" = yes; then
12783  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12784$as_echo_n "checking for GNU ld... " >&6; }
12785else
12786  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12787$as_echo_n "checking for non-GNU ld... " >&6; }
12788fi
12789if ${lt_cv_path_LD+:} false; then :
12790  $as_echo_n "(cached) " >&6
12791else
12792  if test -z "$LD"; then
12793  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12794  for ac_dir in $PATH; do
12795    IFS="$lt_save_ifs"
12796    test -z "$ac_dir" && ac_dir=.
12797    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12798      lt_cv_path_LD="$ac_dir/$ac_prog"
12799      # Check to see if the program is GNU ld.  I'd rather use --version,
12800      # but apparently some variants of GNU ld only accept -v.
12801      # Break only if it was the GNU/non-GNU ld that we prefer.
12802      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12803      *GNU* | *'with BFD'*)
12804	test "$with_gnu_ld" != no && break
12805	;;
12806      *)
12807	test "$with_gnu_ld" != yes && break
12808	;;
12809      esac
12810    fi
12811  done
12812  IFS="$lt_save_ifs"
12813else
12814  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12815fi
12816fi
12817
12818LD="$lt_cv_path_LD"
12819if test -n "$LD"; then
12820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12821$as_echo "$LD" >&6; }
12822else
12823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12824$as_echo "no" >&6; }
12825fi
12826test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12828$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12829if ${lt_cv_prog_gnu_ld+:} false; then :
12830  $as_echo_n "(cached) " >&6
12831else
12832  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12833case `$LD -v 2>&1 </dev/null` in
12834*GNU* | *'with BFD'*)
12835  lt_cv_prog_gnu_ld=yes
12836  ;;
12837*)
12838  lt_cv_prog_gnu_ld=no
12839  ;;
12840esac
12841fi
12842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12843$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12844with_gnu_ld=$lt_cv_prog_gnu_ld
12845
12846
12847
12848
12849
12850
12851
12852      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12853      # archiving commands below assume that GNU ld is being used.
12854      if test "$with_gnu_ld" = yes; then
12855        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12856        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12857
12858        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12859        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12860
12861        # If archive_cmds runs LD, not CC, wlarc should be empty
12862        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12863        #     investigate it a little bit more. (MM)
12864        wlarc='${wl}'
12865
12866        # ancient GNU ld didn't support --whole-archive et. al.
12867        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12868	  $GREP 'no-whole-archive' > /dev/null; then
12869          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12870        else
12871          whole_archive_flag_spec_CXX=
12872        fi
12873      else
12874        with_gnu_ld=no
12875        wlarc=
12876
12877        # A generic and very simple default shared library creation
12878        # command for GNU C++ for the case where it uses the native
12879        # linker, instead of GNU ld.  If possible, this setting should
12880        # overridden to take advantage of the native linker features on
12881        # the platform it is being used on.
12882        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12883      fi
12884
12885      # Commands to make compiler produce verbose output that lists
12886      # what "hidden" libraries, object files and flags are used when
12887      # linking a shared library.
12888      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12889
12890    else
12891      GXX=no
12892      with_gnu_ld=no
12893      wlarc=
12894    fi
12895
12896    # PORTME: fill in a description of your system's C++ link characteristics
12897    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12898$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12899    ld_shlibs_CXX=yes
12900    case $host_os in
12901      aix3*)
12902        # FIXME: insert proper C++ library support
12903        ld_shlibs_CXX=no
12904        ;;
12905      aix[4-9]*)
12906        if test "$host_cpu" = ia64; then
12907          # On IA64, the linker does run time linking by default, so we don't
12908          # have to do anything special.
12909          aix_use_runtimelinking=no
12910          exp_sym_flag='-Bexport'
12911          no_entry_flag=""
12912        else
12913          aix_use_runtimelinking=no
12914
12915          # Test if we are trying to use run time linking or normal
12916          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12917          # need to do runtime linking.
12918          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12919	    for ld_flag in $LDFLAGS; do
12920	      case $ld_flag in
12921	      *-brtl*)
12922	        aix_use_runtimelinking=yes
12923	        break
12924	        ;;
12925	      esac
12926	    done
12927	    ;;
12928          esac
12929
12930          exp_sym_flag='-bexport'
12931          no_entry_flag='-bnoentry'
12932        fi
12933
12934        # When large executables or shared objects are built, AIX ld can
12935        # have problems creating the table of contents.  If linking a library
12936        # or program results in "error TOC overflow" add -mminimal-toc to
12937        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12938        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12939
12940        archive_cmds_CXX=''
12941        hardcode_direct_CXX=yes
12942        hardcode_direct_absolute_CXX=yes
12943        hardcode_libdir_separator_CXX=':'
12944        link_all_deplibs_CXX=yes
12945        file_list_spec_CXX='${wl}-f,'
12946
12947        if test "$GXX" = yes; then
12948          case $host_os in aix4.[012]|aix4.[012].*)
12949          # We only want to do this on AIX 4.2 and lower, the check
12950          # below for broken collect2 doesn't work under 4.3+
12951	  collect2name=`${CC} -print-prog-name=collect2`
12952	  if test -f "$collect2name" &&
12953	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12954	  then
12955	    # We have reworked collect2
12956	    :
12957	  else
12958	    # We have old collect2
12959	    hardcode_direct_CXX=unsupported
12960	    # It fails to find uninstalled libraries when the uninstalled
12961	    # path is not listed in the libpath.  Setting hardcode_minus_L
12962	    # to unsupported forces relinking
12963	    hardcode_minus_L_CXX=yes
12964	    hardcode_libdir_flag_spec_CXX='-L$libdir'
12965	    hardcode_libdir_separator_CXX=
12966	  fi
12967          esac
12968          shared_flag='-shared'
12969	  if test "$aix_use_runtimelinking" = yes; then
12970	    shared_flag="$shared_flag "'${wl}-G'
12971	  fi
12972        else
12973          # not using gcc
12974          if test "$host_cpu" = ia64; then
12975	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12976	  # chokes on -Wl,-G. The following line is correct:
12977	  shared_flag='-G'
12978          else
12979	    if test "$aix_use_runtimelinking" = yes; then
12980	      shared_flag='${wl}-G'
12981	    else
12982	      shared_flag='${wl}-bM:SRE'
12983	    fi
12984          fi
12985        fi
12986
12987        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12988        # It seems that -bexpall does not export symbols beginning with
12989        # underscore (_), so it is better to generate a list of symbols to
12990	# export.
12991        always_export_symbols_CXX=yes
12992        if test "$aix_use_runtimelinking" = yes; then
12993          # Warning - without using the other runtime loading flags (-brtl),
12994          # -berok will link without error, but may produce a broken library.
12995          allow_undefined_flag_CXX='-berok'
12996          # Determine the default libpath from the value encoded in an empty
12997          # executable.
12998          if test "${lt_cv_aix_libpath+set}" = set; then
12999  aix_libpath=$lt_cv_aix_libpath
13000else
13001  if ${lt_cv_aix_libpath__CXX+:} false; then :
13002  $as_echo_n "(cached) " >&6
13003else
13004  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13005/* end confdefs.h.  */
13006
13007int
13008main ()
13009{
13010
13011  ;
13012  return 0;
13013}
13014_ACEOF
13015if ac_fn_cxx_try_link "$LINENO"; then :
13016
13017  lt_aix_libpath_sed='
13018      /Import File Strings/,/^$/ {
13019	  /^0/ {
13020	      s/^0  *\([^ ]*\) *$/\1/
13021	      p
13022	  }
13023      }'
13024  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13025  # Check for a 64-bit object if we didn't find anything.
13026  if test -z "$lt_cv_aix_libpath__CXX"; then
13027    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13028  fi
13029fi
13030rm -f core conftest.err conftest.$ac_objext \
13031    conftest$ac_exeext conftest.$ac_ext
13032  if test -z "$lt_cv_aix_libpath__CXX"; then
13033    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13034  fi
13035
13036fi
13037
13038  aix_libpath=$lt_cv_aix_libpath__CXX
13039fi
13040
13041          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13042
13043          archive_expsym_cmds_CXX='$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"
13044        else
13045          if test "$host_cpu" = ia64; then
13046	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13047	    allow_undefined_flag_CXX="-z nodefs"
13048	    archive_expsym_cmds_CXX="\$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"
13049          else
13050	    # Determine the default libpath from the value encoded in an
13051	    # empty executable.
13052	    if test "${lt_cv_aix_libpath+set}" = set; then
13053  aix_libpath=$lt_cv_aix_libpath
13054else
13055  if ${lt_cv_aix_libpath__CXX+:} false; then :
13056  $as_echo_n "(cached) " >&6
13057else
13058  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13059/* end confdefs.h.  */
13060
13061int
13062main ()
13063{
13064
13065  ;
13066  return 0;
13067}
13068_ACEOF
13069if ac_fn_cxx_try_link "$LINENO"; then :
13070
13071  lt_aix_libpath_sed='
13072      /Import File Strings/,/^$/ {
13073	  /^0/ {
13074	      s/^0  *\([^ ]*\) *$/\1/
13075	      p
13076	  }
13077      }'
13078  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13079  # Check for a 64-bit object if we didn't find anything.
13080  if test -z "$lt_cv_aix_libpath__CXX"; then
13081    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13082  fi
13083fi
13084rm -f core conftest.err conftest.$ac_objext \
13085    conftest$ac_exeext conftest.$ac_ext
13086  if test -z "$lt_cv_aix_libpath__CXX"; then
13087    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13088  fi
13089
13090fi
13091
13092  aix_libpath=$lt_cv_aix_libpath__CXX
13093fi
13094
13095	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13096	    # Warning - without using the other run time loading flags,
13097	    # -berok will link without error, but may produce a broken library.
13098	    no_undefined_flag_CXX=' ${wl}-bernotok'
13099	    allow_undefined_flag_CXX=' ${wl}-berok'
13100	    if test "$with_gnu_ld" = yes; then
13101	      # We only use this code for GNU lds that support --whole-archive.
13102	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13103	    else
13104	      # Exported symbols can be pulled into shared objects from archives
13105	      whole_archive_flag_spec_CXX='$convenience'
13106	    fi
13107	    archive_cmds_need_lc_CXX=yes
13108	    # This is similar to how AIX traditionally builds its shared
13109	    # libraries.
13110	    archive_expsym_cmds_CXX="\$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'
13111          fi
13112        fi
13113        ;;
13114
13115      beos*)
13116	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13117	  allow_undefined_flag_CXX=unsupported
13118	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13119	  # support --undefined.  This deserves some investigation.  FIXME
13120	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13121	else
13122	  ld_shlibs_CXX=no
13123	fi
13124	;;
13125
13126      chorus*)
13127        case $cc_basename in
13128          *)
13129	  # FIXME: insert proper C++ library support
13130	  ld_shlibs_CXX=no
13131	  ;;
13132        esac
13133        ;;
13134
13135      cygwin* | mingw* | pw32* | cegcc*)
13136	case $GXX,$cc_basename in
13137	,cl* | no,cl*)
13138	  # Native MSVC
13139	  # hardcode_libdir_flag_spec is actually meaningless, as there is
13140	  # no search path for DLLs.
13141	  hardcode_libdir_flag_spec_CXX=' '
13142	  allow_undefined_flag_CXX=unsupported
13143	  always_export_symbols_CXX=yes
13144	  file_list_spec_CXX='@'
13145	  # Tell ltmain to make .lib files, not .a files.
13146	  libext=lib
13147	  # Tell ltmain to make .dll files, not .so files.
13148	  shrext_cmds=".dll"
13149	  # FIXME: Setting linknames here is a bad hack.
13150	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13151	  archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13152	      $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13153	    else
13154	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13155	    fi~
13156	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13157	    linknames='
13158	  # The linker will not automatically build a static lib if we build a DLL.
13159	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13160	  enable_shared_with_static_runtimes_CXX=yes
13161	  # Don't use ranlib
13162	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
13163	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13164	    lt_tool_outputfile="@TOOL_OUTPUT@"~
13165	    case $lt_outputfile in
13166	      *.exe|*.EXE) ;;
13167	      *)
13168		lt_outputfile="$lt_outputfile.exe"
13169		lt_tool_outputfile="$lt_tool_outputfile.exe"
13170		;;
13171	    esac~
13172	    func_to_tool_file "$lt_outputfile"~
13173	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13174	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13175	      $RM "$lt_outputfile.manifest";
13176	    fi'
13177	  ;;
13178	*)
13179	  # g++
13180	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13181	  # as there is no search path for DLLs.
13182	  hardcode_libdir_flag_spec_CXX='-L$libdir'
13183	  export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13184	  allow_undefined_flag_CXX=unsupported
13185	  always_export_symbols_CXX=no
13186	  enable_shared_with_static_runtimes_CXX=yes
13187
13188	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13189	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13190	    # If the export-symbols file already is a .def file (1st line
13191	    # is EXPORTS), use it as is; otherwise, prepend...
13192	    archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13193	      cp $export_symbols $output_objdir/$soname.def;
13194	    else
13195	      echo EXPORTS > $output_objdir/$soname.def;
13196	      cat $export_symbols >> $output_objdir/$soname.def;
13197	    fi~
13198	    $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13199	  else
13200	    ld_shlibs_CXX=no
13201	  fi
13202	  ;;
13203	esac
13204	;;
13205      darwin* | rhapsody*)
13206
13207
13208  archive_cmds_need_lc_CXX=no
13209  hardcode_direct_CXX=no
13210  hardcode_automatic_CXX=yes
13211  hardcode_shlibpath_var_CXX=unsupported
13212  if test "$lt_cv_ld_force_load" = "yes"; then
13213    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13214  else
13215    whole_archive_flag_spec_CXX=''
13216  fi
13217  link_all_deplibs_CXX=yes
13218  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13219  case $cc_basename in
13220     ifort*) _lt_dar_can_shared=yes ;;
13221     *) _lt_dar_can_shared=$GCC ;;
13222  esac
13223  if test "$_lt_dar_can_shared" = "yes"; then
13224    output_verbose_link_cmd=func_echo_all
13225    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13226    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13227    archive_expsym_cmds_CXX="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}"
13228    module_expsym_cmds_CXX="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}"
13229       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13230      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13231      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13232    fi
13233
13234  else
13235  ld_shlibs_CXX=no
13236  fi
13237
13238	;;
13239
13240      dgux*)
13241        case $cc_basename in
13242          ec++*)
13243	    # FIXME: insert proper C++ library support
13244	    ld_shlibs_CXX=no
13245	    ;;
13246          ghcx*)
13247	    # Green Hills C++ Compiler
13248	    # FIXME: insert proper C++ library support
13249	    ld_shlibs_CXX=no
13250	    ;;
13251          *)
13252	    # FIXME: insert proper C++ library support
13253	    ld_shlibs_CXX=no
13254	    ;;
13255        esac
13256        ;;
13257
13258      freebsd[12]*)
13259        # C++ shared libraries reported to be fairly broken before
13260	# switch to ELF
13261        ld_shlibs_CXX=no
13262        ;;
13263
13264      freebsd-elf*)
13265        archive_cmds_need_lc_CXX=no
13266        ;;
13267
13268      freebsd* | dragonfly*)
13269        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13270        # conventions
13271        ld_shlibs_CXX=yes
13272        ;;
13273
13274      gnu*)
13275        ;;
13276
13277      haiku*)
13278        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13279        link_all_deplibs_CXX=yes
13280        ;;
13281
13282      hpux9*)
13283        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13284        hardcode_libdir_separator_CXX=:
13285        export_dynamic_flag_spec_CXX='${wl}-E'
13286        hardcode_direct_CXX=yes
13287        hardcode_minus_L_CXX=yes # Not in the search PATH,
13288				             # but as the default
13289				             # location of the library.
13290
13291        case $cc_basename in
13292          CC*)
13293            # FIXME: insert proper C++ library support
13294            ld_shlibs_CXX=no
13295            ;;
13296          aCC*)
13297            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13298            # Commands to make compiler produce verbose output that lists
13299            # what "hidden" libraries, object files and flags are used when
13300            # linking a shared library.
13301            #
13302            # There doesn't appear to be a way to prevent this compiler from
13303            # explicitly linking system object files so we need to strip them
13304            # from the output so that they don't get included in the library
13305            # dependencies.
13306            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13307            ;;
13308          *)
13309            if test "$GXX" = yes; then
13310              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13311            else
13312              # FIXME: insert proper C++ library support
13313              ld_shlibs_CXX=no
13314            fi
13315            ;;
13316        esac
13317        ;;
13318
13319      hpux10*|hpux11*)
13320        if test $with_gnu_ld = no; then
13321	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13322	  hardcode_libdir_separator_CXX=:
13323
13324          case $host_cpu in
13325            hppa*64*|ia64*)
13326              ;;
13327            *)
13328	      export_dynamic_flag_spec_CXX='${wl}-E'
13329              ;;
13330          esac
13331        fi
13332        case $host_cpu in
13333          hppa*64*|ia64*)
13334            hardcode_direct_CXX=no
13335            hardcode_shlibpath_var_CXX=no
13336            ;;
13337          *)
13338            hardcode_direct_CXX=yes
13339            hardcode_direct_absolute_CXX=yes
13340            hardcode_minus_L_CXX=yes # Not in the search PATH,
13341					         # but as the default
13342					         # location of the library.
13343            ;;
13344        esac
13345
13346        case $cc_basename in
13347          CC*)
13348	    # FIXME: insert proper C++ library support
13349	    ld_shlibs_CXX=no
13350	    ;;
13351          aCC*)
13352	    case $host_cpu in
13353	      hppa*64*)
13354	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13355	        ;;
13356	      ia64*)
13357	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13358	        ;;
13359	      *)
13360	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13361	        ;;
13362	    esac
13363	    # Commands to make compiler produce verbose output that lists
13364	    # what "hidden" libraries, object files and flags are used when
13365	    # linking a shared library.
13366	    #
13367	    # There doesn't appear to be a way to prevent this compiler from
13368	    # explicitly linking system object files so we need to strip them
13369	    # from the output so that they don't get included in the library
13370	    # dependencies.
13371	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13372	    ;;
13373          *)
13374	    if test "$GXX" = yes; then
13375	      if test $with_gnu_ld = no; then
13376	        case $host_cpu in
13377	          hppa*64*)
13378	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13379	            ;;
13380	          ia64*)
13381	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13382	            ;;
13383	          *)
13384	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13385	            ;;
13386	        esac
13387	      fi
13388	    else
13389	      # FIXME: insert proper C++ library support
13390	      ld_shlibs_CXX=no
13391	    fi
13392	    ;;
13393        esac
13394        ;;
13395
13396      interix[3-9]*)
13397	hardcode_direct_CXX=no
13398	hardcode_shlibpath_var_CXX=no
13399	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13400	export_dynamic_flag_spec_CXX='${wl}-E'
13401	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13402	# Instead, shared libraries are loaded at an image base (0x10000000 by
13403	# default) and relocated if they conflict, which is a slow very memory
13404	# consuming and fragmenting process.  To avoid this, we pick a random,
13405	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13406	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13407	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13408	archive_expsym_cmds_CXX='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'
13409	;;
13410      irix5* | irix6*)
13411        case $cc_basename in
13412          CC*)
13413	    # SGI C++
13414	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13415
13416	    # Archives containing C++ object files must be created using
13417	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13418	    # necessary to make sure instantiated templates are included
13419	    # in the archive.
13420	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13421	    ;;
13422          *)
13423	    if test "$GXX" = yes; then
13424	      if test "$with_gnu_ld" = no; then
13425	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
13426	      else
13427	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13428	      fi
13429	    fi
13430	    link_all_deplibs_CXX=yes
13431	    ;;
13432        esac
13433        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13434        hardcode_libdir_separator_CXX=:
13435        inherit_rpath_CXX=yes
13436        ;;
13437
13438      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13439        case $cc_basename in
13440          KCC*)
13441	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13442
13443	    # KCC will only create a shared library if the output file
13444	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13445	    # to its proper name (with version) after linking.
13446	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13447	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13448	    # Commands to make compiler produce verbose output that lists
13449	    # what "hidden" libraries, object files and flags are used when
13450	    # linking a shared library.
13451	    #
13452	    # There doesn't appear to be a way to prevent this compiler from
13453	    # explicitly linking system object files so we need to strip them
13454	    # from the output so that they don't get included in the library
13455	    # dependencies.
13456	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13457
13458	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13459	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13460
13461	    # Archives containing C++ object files must be created using
13462	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13463	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13464	    ;;
13465	  icpc* | ecpc* )
13466	    # Intel C++
13467	    with_gnu_ld=yes
13468	    # version 8.0 and above of icpc choke on multiply defined symbols
13469	    # if we add $predep_objects and $postdep_objects, however 7.1 and
13470	    # earlier do not add the objects themselves.
13471	    case `$CC -V 2>&1` in
13472	      *"Version 7."*)
13473	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13474		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13475		;;
13476	      *)  # Version 8.0 or newer
13477	        tmp_idyn=
13478	        case $host_cpu in
13479		  ia64*) tmp_idyn=' -i_dynamic';;
13480		esac
13481	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13482		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13483		;;
13484	    esac
13485	    archive_cmds_need_lc_CXX=no
13486	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13487	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13488	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13489	    ;;
13490          pgCC* | pgcpp*)
13491            # Portland Group C++ compiler
13492	    case `$CC -V` in
13493	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13494	      prelink_cmds_CXX='tpldir=Template.dir~
13495		rm -rf $tpldir~
13496		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13497		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13498	      old_archive_cmds_CXX='tpldir=Template.dir~
13499		rm -rf $tpldir~
13500		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13501		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13502		$RANLIB $oldlib'
13503	      archive_cmds_CXX='tpldir=Template.dir~
13504		rm -rf $tpldir~
13505		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13506		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13507	      archive_expsym_cmds_CXX='tpldir=Template.dir~
13508		rm -rf $tpldir~
13509		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13510		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13511	      ;;
13512	    *) # Version 6 and above use weak symbols
13513	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13514	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13515	      ;;
13516	    esac
13517
13518	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13519	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13520	    whole_archive_flag_spec_CXX='${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'
13521            ;;
13522	  cxx*)
13523	    # Compaq C++
13524	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13525	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13526
13527	    runpath_var=LD_RUN_PATH
13528	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13529	    hardcode_libdir_separator_CXX=:
13530
13531	    # Commands to make compiler produce verbose output that lists
13532	    # what "hidden" libraries, object files and flags are used when
13533	    # linking a shared library.
13534	    #
13535	    # There doesn't appear to be a way to prevent this compiler from
13536	    # explicitly linking system object files so we need to strip them
13537	    # from the output so that they don't get included in the library
13538	    # dependencies.
13539	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13540	    ;;
13541	  xl* | mpixl* | bgxl*)
13542	    # IBM XL 8.0 on PPC, with GNU ld
13543	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13544	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13545	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13546	    if test "x$supports_anon_versioning" = xyes; then
13547	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13548		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13549		echo "local: *; };" >> $output_objdir/$libname.ver~
13550		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13551	    fi
13552	    ;;
13553	  *)
13554	    case `$CC -V 2>&1 | sed 5q` in
13555	    *Sun\ C*)
13556	      # Sun C++ 5.9
13557	      no_undefined_flag_CXX=' -zdefs'
13558	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13559	      archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13560	      hardcode_libdir_flag_spec_CXX='-R$libdir'
13561	      whole_archive_flag_spec_CXX='${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'
13562	      compiler_needs_object_CXX=yes
13563
13564	      # Not sure whether something based on
13565	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13566	      # would be better.
13567	      output_verbose_link_cmd='func_echo_all'
13568
13569	      # Archives containing C++ object files must be created using
13570	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13571	      # necessary to make sure instantiated templates are included
13572	      # in the archive.
13573	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13574	      ;;
13575	    esac
13576	    ;;
13577	esac
13578	;;
13579
13580      lynxos*)
13581        # FIXME: insert proper C++ library support
13582	ld_shlibs_CXX=no
13583	;;
13584
13585      m88k*)
13586        # FIXME: insert proper C++ library support
13587        ld_shlibs_CXX=no
13588	;;
13589
13590      mvs*)
13591        case $cc_basename in
13592          cxx*)
13593	    # FIXME: insert proper C++ library support
13594	    ld_shlibs_CXX=no
13595	    ;;
13596	  *)
13597	    # FIXME: insert proper C++ library support
13598	    ld_shlibs_CXX=no
13599	    ;;
13600	esac
13601	;;
13602
13603      netbsd*)
13604        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13605	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13606	  wlarc=
13607	  hardcode_libdir_flag_spec_CXX='-R$libdir'
13608	  hardcode_direct_CXX=yes
13609	  hardcode_shlibpath_var_CXX=no
13610	fi
13611	# Workaround some broken pre-1.5 toolchains
13612	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13613	;;
13614
13615      *nto* | *qnx*)
13616        ld_shlibs_CXX=yes
13617	;;
13618
13619      openbsd2*)
13620        # C++ shared libraries are fairly broken
13621	ld_shlibs_CXX=no
13622	;;
13623
13624      openbsd*)
13625	if test -f /usr/libexec/ld.so; then
13626	  hardcode_direct_CXX=yes
13627	  hardcode_shlibpath_var_CXX=no
13628	  hardcode_direct_absolute_CXX=yes
13629	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13630	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13631	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13632	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13633	    export_dynamic_flag_spec_CXX='${wl}-E'
13634	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13635	  fi
13636	  output_verbose_link_cmd=func_echo_all
13637	else
13638	  ld_shlibs_CXX=no
13639	fi
13640	;;
13641
13642      osf3* | osf4* | osf5*)
13643        case $cc_basename in
13644          KCC*)
13645	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13646
13647	    # KCC will only create a shared library if the output file
13648	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13649	    # to its proper name (with version) after linking.
13650	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13651
13652	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13653	    hardcode_libdir_separator_CXX=:
13654
13655	    # Archives containing C++ object files must be created using
13656	    # the KAI C++ compiler.
13657	    case $host in
13658	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13659	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13660	    esac
13661	    ;;
13662          RCC*)
13663	    # Rational C++ 2.4.1
13664	    # FIXME: insert proper C++ library support
13665	    ld_shlibs_CXX=no
13666	    ;;
13667          cxx*)
13668	    case $host in
13669	      osf3*)
13670	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13671	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13672	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13673		;;
13674	      *)
13675	        allow_undefined_flag_CXX=' -expect_unresolved \*'
13676	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13677	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13678	          echo "-hidden">> $lib.exp~
13679	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13680	          $RM $lib.exp'
13681	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13682		;;
13683	    esac
13684
13685	    hardcode_libdir_separator_CXX=:
13686
13687	    # Commands to make compiler produce verbose output that lists
13688	    # what "hidden" libraries, object files and flags are used when
13689	    # linking a shared library.
13690	    #
13691	    # There doesn't appear to be a way to prevent this compiler from
13692	    # explicitly linking system object files so we need to strip them
13693	    # from the output so that they don't get included in the library
13694	    # dependencies.
13695	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13696	    ;;
13697	  *)
13698	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13699	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13700	      case $host in
13701	        osf3*)
13702	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13703		  ;;
13704	        *)
13705	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13706		  ;;
13707	      esac
13708
13709	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13710	      hardcode_libdir_separator_CXX=:
13711
13712	      # Commands to make compiler produce verbose output that lists
13713	      # what "hidden" libraries, object files and flags are used when
13714	      # linking a shared library.
13715	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13716
13717	    else
13718	      # FIXME: insert proper C++ library support
13719	      ld_shlibs_CXX=no
13720	    fi
13721	    ;;
13722        esac
13723        ;;
13724
13725      psos*)
13726        # FIXME: insert proper C++ library support
13727        ld_shlibs_CXX=no
13728        ;;
13729
13730      sunos4*)
13731        case $cc_basename in
13732          CC*)
13733	    # Sun C++ 4.x
13734	    # FIXME: insert proper C++ library support
13735	    ld_shlibs_CXX=no
13736	    ;;
13737          lcc*)
13738	    # Lucid
13739	    # FIXME: insert proper C++ library support
13740	    ld_shlibs_CXX=no
13741	    ;;
13742          *)
13743	    # FIXME: insert proper C++ library support
13744	    ld_shlibs_CXX=no
13745	    ;;
13746        esac
13747        ;;
13748
13749      solaris*)
13750        case $cc_basename in
13751          CC* | sunCC*)
13752	    # Sun C++ 4.2, 5.x and Centerline C++
13753            archive_cmds_need_lc_CXX=yes
13754	    no_undefined_flag_CXX=' -zdefs'
13755	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13756	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13757	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13758
13759	    hardcode_libdir_flag_spec_CXX='-R$libdir'
13760	    hardcode_shlibpath_var_CXX=no
13761	    case $host_os in
13762	      solaris2.[0-5] | solaris2.[0-5].*) ;;
13763	      *)
13764		# The compiler driver will combine and reorder linker options,
13765		# but understands `-z linker_flag'.
13766	        # Supported since Solaris 2.6 (maybe 2.5.1?)
13767		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13768	        ;;
13769	    esac
13770	    link_all_deplibs_CXX=yes
13771
13772	    output_verbose_link_cmd='func_echo_all'
13773
13774	    # Archives containing C++ object files must be created using
13775	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13776	    # necessary to make sure instantiated templates are included
13777	    # in the archive.
13778	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13779	    ;;
13780          gcx*)
13781	    # Green Hills C++ Compiler
13782	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13783
13784	    # The C++ compiler must be used to create the archive.
13785	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13786	    ;;
13787          *)
13788	    # GNU C++ compiler with Solaris linker
13789	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13790	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13791	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13792	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13793	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13794		  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13795
13796	        # Commands to make compiler produce verbose output that lists
13797	        # what "hidden" libraries, object files and flags are used when
13798	        # linking a shared library.
13799	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13800	      else
13801	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
13802	        # platform.
13803	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13804	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13805		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13806
13807	        # Commands to make compiler produce verbose output that lists
13808	        # what "hidden" libraries, object files and flags are used when
13809	        # linking a shared library.
13810	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13811	      fi
13812
13813	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13814	      case $host_os in
13815		solaris2.[0-5] | solaris2.[0-5].*) ;;
13816		*)
13817		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13818		  ;;
13819	      esac
13820	    fi
13821	    ;;
13822        esac
13823        ;;
13824
13825    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13826      no_undefined_flag_CXX='${wl}-z,text'
13827      archive_cmds_need_lc_CXX=no
13828      hardcode_shlibpath_var_CXX=no
13829      runpath_var='LD_RUN_PATH'
13830
13831      case $cc_basename in
13832        CC*)
13833	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13834	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13835	  ;;
13836	*)
13837	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13838	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13839	  ;;
13840      esac
13841      ;;
13842
13843      sysv5* | sco3.2v5* | sco5v6*)
13844	# Note: We can NOT use -z defs as we might desire, because we do not
13845	# link with -lc, and that would cause any symbols used from libc to
13846	# always be unresolved, which means just about no library would
13847	# ever link correctly.  If we're not using GNU ld we use -z text
13848	# though, which does catch some bad symbols but isn't as heavy-handed
13849	# as -z defs.
13850	no_undefined_flag_CXX='${wl}-z,text'
13851	allow_undefined_flag_CXX='${wl}-z,nodefs'
13852	archive_cmds_need_lc_CXX=no
13853	hardcode_shlibpath_var_CXX=no
13854	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13855	hardcode_libdir_separator_CXX=':'
13856	link_all_deplibs_CXX=yes
13857	export_dynamic_flag_spec_CXX='${wl}-Bexport'
13858	runpath_var='LD_RUN_PATH'
13859
13860	case $cc_basename in
13861          CC*)
13862	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13863	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13864	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13865	      '"$old_archive_cmds_CXX"
13866	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13867	      '"$reload_cmds_CXX"
13868	    ;;
13869	  *)
13870	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13871	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13872	    ;;
13873	esac
13874      ;;
13875
13876      tandem*)
13877        case $cc_basename in
13878          NCC*)
13879	    # NonStop-UX NCC 3.20
13880	    # FIXME: insert proper C++ library support
13881	    ld_shlibs_CXX=no
13882	    ;;
13883          *)
13884	    # FIXME: insert proper C++ library support
13885	    ld_shlibs_CXX=no
13886	    ;;
13887        esac
13888        ;;
13889
13890      vxworks*)
13891        # FIXME: insert proper C++ library support
13892        ld_shlibs_CXX=no
13893        ;;
13894
13895      *)
13896        # FIXME: insert proper C++ library support
13897        ld_shlibs_CXX=no
13898        ;;
13899    esac
13900
13901    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13902$as_echo "$ld_shlibs_CXX" >&6; }
13903    test "$ld_shlibs_CXX" = no && can_build_shared=no
13904
13905    GCC_CXX="$GXX"
13906    LD_CXX="$LD"
13907
13908    ## CAVEAT EMPTOR:
13909    ## There is no encapsulation within the following macros, do not change
13910    ## the running order or otherwise move them around unless you know exactly
13911    ## what you are doing...
13912    # Dependencies to place before and after the object being linked:
13913predep_objects_CXX=
13914postdep_objects_CXX=
13915predeps_CXX=
13916postdeps_CXX=
13917compiler_lib_search_path_CXX=
13918
13919cat > conftest.$ac_ext <<_LT_EOF
13920class Foo
13921{
13922public:
13923  Foo (void) { a = 0; }
13924private:
13925  int a;
13926};
13927_LT_EOF
13928
13929
13930_lt_libdeps_save_CFLAGS=$CFLAGS
13931case "$CC $CFLAGS " in #(
13932*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13933*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13934esac
13935
13936if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13937  (eval $ac_compile) 2>&5
13938  ac_status=$?
13939  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13940  test $ac_status = 0; }; then
13941  # Parse the compiler output and extract the necessary
13942  # objects, libraries and library flags.
13943
13944  # Sentinel used to keep track of whether or not we are before
13945  # the conftest object file.
13946  pre_test_object_deps_done=no
13947
13948  for p in `eval "$output_verbose_link_cmd"`; do
13949    case ${prev}${p} in
13950
13951    -L* | -R* | -l*)
13952       # Some compilers place space between "-{L,R}" and the path.
13953       # Remove the space.
13954       if test $p = "-L" ||
13955          test $p = "-R"; then
13956	 prev=$p
13957	 continue
13958       fi
13959
13960       # Expand the sysroot to ease extracting the directories later.
13961       if test -z "$prev"; then
13962         case $p in
13963         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13964         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13965         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13966         esac
13967       fi
13968       case $p in
13969       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13970       esac
13971       if test "$pre_test_object_deps_done" = no; then
13972	 case ${prev} in
13973	 -L | -R)
13974	   # Internal compiler library paths should come after those
13975	   # provided the user.  The postdeps already come after the
13976	   # user supplied libs so there is no need to process them.
13977	   if test -z "$compiler_lib_search_path_CXX"; then
13978	     compiler_lib_search_path_CXX="${prev}${p}"
13979	   else
13980	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13981	   fi
13982	   ;;
13983	 # The "-l" case would never come before the object being
13984	 # linked, so don't bother handling this case.
13985	 esac
13986       else
13987	 if test -z "$postdeps_CXX"; then
13988	   postdeps_CXX="${prev}${p}"
13989	 else
13990	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13991	 fi
13992       fi
13993       prev=
13994       ;;
13995
13996    *.lto.$objext) ;; # Ignore GCC LTO objects
13997    *.$objext)
13998       # This assumes that the test object file only shows up
13999       # once in the compiler output.
14000       if test "$p" = "conftest.$objext"; then
14001	 pre_test_object_deps_done=yes
14002	 continue
14003       fi
14004
14005       if test "$pre_test_object_deps_done" = no; then
14006	 if test -z "$predep_objects_CXX"; then
14007	   predep_objects_CXX="$p"
14008	 else
14009	   predep_objects_CXX="$predep_objects_CXX $p"
14010	 fi
14011       else
14012	 if test -z "$postdep_objects_CXX"; then
14013	   postdep_objects_CXX="$p"
14014	 else
14015	   postdep_objects_CXX="$postdep_objects_CXX $p"
14016	 fi
14017       fi
14018       ;;
14019
14020    *) ;; # Ignore the rest.
14021
14022    esac
14023  done
14024
14025  # Clean up.
14026  rm -f a.out a.exe
14027else
14028  echo "libtool.m4: error: problem compiling CXX test program"
14029fi
14030
14031$RM -f confest.$objext
14032CFLAGS=$_lt_libdeps_save_CFLAGS
14033
14034# PORTME: override above test on systems where it is broken
14035case $host_os in
14036interix[3-9]*)
14037  # Interix 3.5 installs completely hosed .la files for C++, so rather than
14038  # hack all around it, let's just trust "g++" to DTRT.
14039  predep_objects_CXX=
14040  postdep_objects_CXX=
14041  postdeps_CXX=
14042  ;;
14043
14044linux*)
14045  case `$CC -V 2>&1 | sed 5q` in
14046  *Sun\ C*)
14047    # Sun C++ 5.9
14048
14049    # The more standards-conforming stlport4 library is
14050    # incompatible with the Cstd library. Avoid specifying
14051    # it if it's in CXXFLAGS. Ignore libCrun as
14052    # -library=stlport4 depends on it.
14053    case " $CXX $CXXFLAGS " in
14054    *" -library=stlport4 "*)
14055      solaris_use_stlport4=yes
14056      ;;
14057    esac
14058
14059    if test "$solaris_use_stlport4" != yes; then
14060      postdeps_CXX='-library=Cstd -library=Crun'
14061    fi
14062    ;;
14063  esac
14064  ;;
14065
14066solaris*)
14067  case $cc_basename in
14068  CC* | sunCC*)
14069    # The more standards-conforming stlport4 library is
14070    # incompatible with the Cstd library. Avoid specifying
14071    # it if it's in CXXFLAGS. Ignore libCrun as
14072    # -library=stlport4 depends on it.
14073    case " $CXX $CXXFLAGS " in
14074    *" -library=stlport4 "*)
14075      solaris_use_stlport4=yes
14076      ;;
14077    esac
14078
14079    # Adding this requires a known-good setup of shared libraries for
14080    # Sun compiler versions before 5.6, else PIC objects from an old
14081    # archive will be linked into the output, leading to subtle bugs.
14082    if test "$solaris_use_stlport4" != yes; then
14083      postdeps_CXX='-library=Cstd -library=Crun'
14084    fi
14085    ;;
14086  esac
14087  ;;
14088esac
14089
14090
14091case " $postdeps_CXX " in
14092*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14093esac
14094 compiler_lib_search_dirs_CXX=
14095if test -n "${compiler_lib_search_path_CXX}"; then
14096 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14097fi
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129    lt_prog_compiler_wl_CXX=
14130lt_prog_compiler_pic_CXX=
14131lt_prog_compiler_static_CXX=
14132
14133
14134  # C++ specific cases for pic, static, wl, etc.
14135  if test "$GXX" = yes; then
14136    lt_prog_compiler_wl_CXX='-Wl,'
14137    lt_prog_compiler_static_CXX='-static'
14138
14139    case $host_os in
14140    aix*)
14141      # All AIX code is PIC.
14142      if test "$host_cpu" = ia64; then
14143	# AIX 5 now supports IA64 processor
14144	lt_prog_compiler_static_CXX='-Bstatic'
14145      fi
14146      ;;
14147
14148    amigaos*)
14149      case $host_cpu in
14150      powerpc)
14151            # see comment about AmigaOS4 .so support
14152            lt_prog_compiler_pic_CXX='-fPIC'
14153        ;;
14154      m68k)
14155            # FIXME: we need at least 68020 code to build shared libraries, but
14156            # adding the `-m68020' flag to GCC prevents building anything better,
14157            # like `-m68040'.
14158            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14159        ;;
14160      esac
14161      ;;
14162
14163    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14164      # PIC is the default for these OSes.
14165      ;;
14166    mingw* | cygwin* | os2* | pw32* | cegcc*)
14167      # This hack is so that the source file can tell whether it is being
14168      # built for inclusion in a dll (and should export symbols for example).
14169      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14170      # (--disable-auto-import) libraries
14171      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14172      ;;
14173    darwin* | rhapsody*)
14174      # PIC is the default on this platform
14175      # Common symbols not allowed in MH_DYLIB files
14176      lt_prog_compiler_pic_CXX='-fno-common'
14177      ;;
14178    *djgpp*)
14179      # DJGPP does not support shared libraries at all
14180      lt_prog_compiler_pic_CXX=
14181      ;;
14182    haiku*)
14183      # PIC is the default for Haiku.
14184      # The "-static" flag exists, but is broken.
14185      lt_prog_compiler_static_CXX=
14186      ;;
14187    interix[3-9]*)
14188      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14189      # Instead, we relocate shared libraries at runtime.
14190      ;;
14191    sysv4*MP*)
14192      if test -d /usr/nec; then
14193	lt_prog_compiler_pic_CXX=-Kconform_pic
14194      fi
14195      ;;
14196    hpux*)
14197      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14198      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14199      # sets the default TLS model and affects inlining.
14200      case $host_cpu in
14201      hppa*64*)
14202	;;
14203      *)
14204	lt_prog_compiler_pic_CXX='-fPIC'
14205	;;
14206      esac
14207      ;;
14208    *qnx* | *nto*)
14209      # QNX uses GNU C++, but need to define -shared option too, otherwise
14210      # it will coredump.
14211      lt_prog_compiler_pic_CXX='-fPIC -shared'
14212      ;;
14213    *)
14214      lt_prog_compiler_pic_CXX='-fPIC'
14215      ;;
14216    esac
14217  else
14218    case $host_os in
14219      aix[4-9]*)
14220	# All AIX code is PIC.
14221	if test "$host_cpu" = ia64; then
14222	  # AIX 5 now supports IA64 processor
14223	  lt_prog_compiler_static_CXX='-Bstatic'
14224	else
14225	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14226	fi
14227	;;
14228      chorus*)
14229	case $cc_basename in
14230	cxch68*)
14231	  # Green Hills C++ Compiler
14232	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14233	  ;;
14234	esac
14235	;;
14236      mingw* | cygwin* | os2* | pw32* | cegcc*)
14237	# This hack is so that the source file can tell whether it is being
14238	# built for inclusion in a dll (and should export symbols for example).
14239	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14240	;;
14241      dgux*)
14242	case $cc_basename in
14243	  ec++*)
14244	    lt_prog_compiler_pic_CXX='-KPIC'
14245	    ;;
14246	  ghcx*)
14247	    # Green Hills C++ Compiler
14248	    lt_prog_compiler_pic_CXX='-pic'
14249	    ;;
14250	  *)
14251	    ;;
14252	esac
14253	;;
14254      freebsd* | dragonfly*)
14255	# FreeBSD uses GNU C++
14256	;;
14257      hpux9* | hpux10* | hpux11*)
14258	case $cc_basename in
14259	  CC*)
14260	    lt_prog_compiler_wl_CXX='-Wl,'
14261	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14262	    if test "$host_cpu" != ia64; then
14263	      lt_prog_compiler_pic_CXX='+Z'
14264	    fi
14265	    ;;
14266	  aCC*)
14267	    lt_prog_compiler_wl_CXX='-Wl,'
14268	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14269	    case $host_cpu in
14270	    hppa*64*|ia64*)
14271	      # +Z the default
14272	      ;;
14273	    *)
14274	      lt_prog_compiler_pic_CXX='+Z'
14275	      ;;
14276	    esac
14277	    ;;
14278	  *)
14279	    ;;
14280	esac
14281	;;
14282      interix*)
14283	# This is c89, which is MS Visual C++ (no shared libs)
14284	# Anyone wants to do a port?
14285	;;
14286      irix5* | irix6* | nonstopux*)
14287	case $cc_basename in
14288	  CC*)
14289	    lt_prog_compiler_wl_CXX='-Wl,'
14290	    lt_prog_compiler_static_CXX='-non_shared'
14291	    # CC pic flag -KPIC is the default.
14292	    ;;
14293	  *)
14294	    ;;
14295	esac
14296	;;
14297      linux* | k*bsd*-gnu | kopensolaris*-gnu)
14298	case $cc_basename in
14299	  KCC*)
14300	    # KAI C++ Compiler
14301	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14302	    lt_prog_compiler_pic_CXX='-fPIC'
14303	    ;;
14304	  ecpc* )
14305	    # old Intel C++ for x86_64 which still supported -KPIC.
14306	    lt_prog_compiler_wl_CXX='-Wl,'
14307	    lt_prog_compiler_pic_CXX='-KPIC'
14308	    lt_prog_compiler_static_CXX='-static'
14309	    ;;
14310	  icpc* )
14311	    # Intel C++, used to be incompatible with GCC.
14312	    # ICC 10 doesn't accept -KPIC any more.
14313	    lt_prog_compiler_wl_CXX='-Wl,'
14314	    lt_prog_compiler_pic_CXX='-fPIC'
14315	    lt_prog_compiler_static_CXX='-static'
14316	    ;;
14317	  pgCC* | pgcpp*)
14318	    # Portland Group C++ compiler
14319	    lt_prog_compiler_wl_CXX='-Wl,'
14320	    lt_prog_compiler_pic_CXX='-fpic'
14321	    lt_prog_compiler_static_CXX='-Bstatic'
14322	    ;;
14323	  cxx*)
14324	    # Compaq C++
14325	    # Make sure the PIC flag is empty.  It appears that all Alpha
14326	    # Linux and Compaq Tru64 Unix objects are PIC.
14327	    lt_prog_compiler_pic_CXX=
14328	    lt_prog_compiler_static_CXX='-non_shared'
14329	    ;;
14330	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14331	    # IBM XL 8.0, 9.0 on PPC and BlueGene
14332	    lt_prog_compiler_wl_CXX='-Wl,'
14333	    lt_prog_compiler_pic_CXX='-qpic'
14334	    lt_prog_compiler_static_CXX='-qstaticlink'
14335	    ;;
14336	  *)
14337	    case `$CC -V 2>&1 | sed 5q` in
14338	    *Sun\ C*)
14339	      # Sun C++ 5.9
14340	      lt_prog_compiler_pic_CXX='-KPIC'
14341	      lt_prog_compiler_static_CXX='-Bstatic'
14342	      lt_prog_compiler_wl_CXX='-Qoption ld '
14343	      ;;
14344	    esac
14345	    ;;
14346	esac
14347	;;
14348      lynxos*)
14349	;;
14350      m88k*)
14351	;;
14352      mvs*)
14353	case $cc_basename in
14354	  cxx*)
14355	    lt_prog_compiler_pic_CXX='-W c,exportall'
14356	    ;;
14357	  *)
14358	    ;;
14359	esac
14360	;;
14361      netbsd*)
14362	;;
14363      *qnx* | *nto*)
14364        # QNX uses GNU C++, but need to define -shared option too, otherwise
14365        # it will coredump.
14366        lt_prog_compiler_pic_CXX='-fPIC -shared'
14367        ;;
14368      osf3* | osf4* | osf5*)
14369	case $cc_basename in
14370	  KCC*)
14371	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14372	    ;;
14373	  RCC*)
14374	    # Rational C++ 2.4.1
14375	    lt_prog_compiler_pic_CXX='-pic'
14376	    ;;
14377	  cxx*)
14378	    # Digital/Compaq C++
14379	    lt_prog_compiler_wl_CXX='-Wl,'
14380	    # Make sure the PIC flag is empty.  It appears that all Alpha
14381	    # Linux and Compaq Tru64 Unix objects are PIC.
14382	    lt_prog_compiler_pic_CXX=
14383	    lt_prog_compiler_static_CXX='-non_shared'
14384	    ;;
14385	  *)
14386	    ;;
14387	esac
14388	;;
14389      psos*)
14390	;;
14391      solaris*)
14392	case $cc_basename in
14393	  CC* | sunCC*)
14394	    # Sun C++ 4.2, 5.x and Centerline C++
14395	    lt_prog_compiler_pic_CXX='-KPIC'
14396	    lt_prog_compiler_static_CXX='-Bstatic'
14397	    lt_prog_compiler_wl_CXX='-Qoption ld '
14398	    ;;
14399	  gcx*)
14400	    # Green Hills C++ Compiler
14401	    lt_prog_compiler_pic_CXX='-PIC'
14402	    ;;
14403	  *)
14404	    ;;
14405	esac
14406	;;
14407      sunos4*)
14408	case $cc_basename in
14409	  CC*)
14410	    # Sun C++ 4.x
14411	    lt_prog_compiler_pic_CXX='-pic'
14412	    lt_prog_compiler_static_CXX='-Bstatic'
14413	    ;;
14414	  lcc*)
14415	    # Lucid
14416	    lt_prog_compiler_pic_CXX='-pic'
14417	    ;;
14418	  *)
14419	    ;;
14420	esac
14421	;;
14422      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14423	case $cc_basename in
14424	  CC*)
14425	    lt_prog_compiler_wl_CXX='-Wl,'
14426	    lt_prog_compiler_pic_CXX='-KPIC'
14427	    lt_prog_compiler_static_CXX='-Bstatic'
14428	    ;;
14429	esac
14430	;;
14431      tandem*)
14432	case $cc_basename in
14433	  NCC*)
14434	    # NonStop-UX NCC 3.20
14435	    lt_prog_compiler_pic_CXX='-KPIC'
14436	    ;;
14437	  *)
14438	    ;;
14439	esac
14440	;;
14441      vxworks*)
14442	;;
14443      *)
14444	lt_prog_compiler_can_build_shared_CXX=no
14445	;;
14446    esac
14447  fi
14448
14449case $host_os in
14450  # For platforms which do not support PIC, -DPIC is meaningless:
14451  *djgpp*)
14452    lt_prog_compiler_pic_CXX=
14453    ;;
14454  *)
14455    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14456    ;;
14457esac
14458
14459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14460$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14461if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14462  $as_echo_n "(cached) " >&6
14463else
14464  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14465fi
14466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14467$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14468lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14469
14470#
14471# Check to make sure the PIC flag actually works.
14472#
14473if test -n "$lt_prog_compiler_pic_CXX"; then
14474  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14475$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14476if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14477  $as_echo_n "(cached) " >&6
14478else
14479  lt_cv_prog_compiler_pic_works_CXX=no
14480   ac_outfile=conftest.$ac_objext
14481   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14482   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14483   # Insert the option either (1) after the last *FLAGS variable, or
14484   # (2) before a word containing "conftest.", or (3) at the end.
14485   # Note that $ac_compile itself does not contain backslashes and begins
14486   # with a dollar sign (not a hyphen), so the echo should work correctly.
14487   # The option is referenced via a variable to avoid confusing sed.
14488   lt_compile=`echo "$ac_compile" | $SED \
14489   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14490   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14491   -e 's:$: $lt_compiler_flag:'`
14492   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14493   (eval "$lt_compile" 2>conftest.err)
14494   ac_status=$?
14495   cat conftest.err >&5
14496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497   if (exit $ac_status) && test -s "$ac_outfile"; then
14498     # The compiler can only warn and ignore the option if not recognized
14499     # So say no if there are warnings other than the usual output.
14500     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14501     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14502     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14503       lt_cv_prog_compiler_pic_works_CXX=yes
14504     fi
14505   fi
14506   $RM conftest*
14507
14508fi
14509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14510$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14511
14512if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14513    case $lt_prog_compiler_pic_CXX in
14514     "" | " "*) ;;
14515     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14516     esac
14517else
14518    lt_prog_compiler_pic_CXX=
14519     lt_prog_compiler_can_build_shared_CXX=no
14520fi
14521
14522fi
14523
14524
14525
14526
14527
14528#
14529# Check to make sure the static flag actually works.
14530#
14531wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14533$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14534if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14535  $as_echo_n "(cached) " >&6
14536else
14537  lt_cv_prog_compiler_static_works_CXX=no
14538   save_LDFLAGS="$LDFLAGS"
14539   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14540   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14541   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14542     # The linker can only warn and ignore the option if not recognized
14543     # So say no if there are warnings
14544     if test -s conftest.err; then
14545       # Append any errors to the config.log.
14546       cat conftest.err 1>&5
14547       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14548       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14549       if diff conftest.exp conftest.er2 >/dev/null; then
14550         lt_cv_prog_compiler_static_works_CXX=yes
14551       fi
14552     else
14553       lt_cv_prog_compiler_static_works_CXX=yes
14554     fi
14555   fi
14556   $RM -r conftest*
14557   LDFLAGS="$save_LDFLAGS"
14558
14559fi
14560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14561$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14562
14563if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14564    :
14565else
14566    lt_prog_compiler_static_CXX=
14567fi
14568
14569
14570
14571
14572    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14573$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14574if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14575  $as_echo_n "(cached) " >&6
14576else
14577  lt_cv_prog_compiler_c_o_CXX=no
14578   $RM -r conftest 2>/dev/null
14579   mkdir conftest
14580   cd conftest
14581   mkdir out
14582   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14583
14584   lt_compiler_flag="-o out/conftest2.$ac_objext"
14585   # Insert the option either (1) after the last *FLAGS variable, or
14586   # (2) before a word containing "conftest.", or (3) at the end.
14587   # Note that $ac_compile itself does not contain backslashes and begins
14588   # with a dollar sign (not a hyphen), so the echo should work correctly.
14589   lt_compile=`echo "$ac_compile" | $SED \
14590   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14591   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14592   -e 's:$: $lt_compiler_flag:'`
14593   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14594   (eval "$lt_compile" 2>out/conftest.err)
14595   ac_status=$?
14596   cat out/conftest.err >&5
14597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14599   then
14600     # The compiler can only warn and ignore the option if not recognized
14601     # So say no if there are warnings
14602     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14603     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14604     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14605       lt_cv_prog_compiler_c_o_CXX=yes
14606     fi
14607   fi
14608   chmod u+w . 2>&5
14609   $RM conftest*
14610   # SGI C++ compiler will create directory out/ii_files/ for
14611   # template instantiation
14612   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14613   $RM out/* && rmdir out
14614   cd ..
14615   $RM -r conftest
14616   $RM conftest*
14617
14618fi
14619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14620$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14621
14622
14623
14624    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14625$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14626if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14627  $as_echo_n "(cached) " >&6
14628else
14629  lt_cv_prog_compiler_c_o_CXX=no
14630   $RM -r conftest 2>/dev/null
14631   mkdir conftest
14632   cd conftest
14633   mkdir out
14634   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14635
14636   lt_compiler_flag="-o out/conftest2.$ac_objext"
14637   # Insert the option either (1) after the last *FLAGS variable, or
14638   # (2) before a word containing "conftest.", or (3) at the end.
14639   # Note that $ac_compile itself does not contain backslashes and begins
14640   # with a dollar sign (not a hyphen), so the echo should work correctly.
14641   lt_compile=`echo "$ac_compile" | $SED \
14642   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14643   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14644   -e 's:$: $lt_compiler_flag:'`
14645   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14646   (eval "$lt_compile" 2>out/conftest.err)
14647   ac_status=$?
14648   cat out/conftest.err >&5
14649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14651   then
14652     # The compiler can only warn and ignore the option if not recognized
14653     # So say no if there are warnings
14654     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14655     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14656     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14657       lt_cv_prog_compiler_c_o_CXX=yes
14658     fi
14659   fi
14660   chmod u+w . 2>&5
14661   $RM conftest*
14662   # SGI C++ compiler will create directory out/ii_files/ for
14663   # template instantiation
14664   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14665   $RM out/* && rmdir out
14666   cd ..
14667   $RM -r conftest
14668   $RM conftest*
14669
14670fi
14671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14672$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14673
14674
14675
14676
14677hard_links="nottested"
14678if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14679  # do not overwrite the value of need_locks provided by the user
14680  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14681$as_echo_n "checking if we can lock with hard links... " >&6; }
14682  hard_links=yes
14683  $RM conftest*
14684  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14685  touch conftest.a
14686  ln conftest.a conftest.b 2>&5 || hard_links=no
14687  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14689$as_echo "$hard_links" >&6; }
14690  if test "$hard_links" = no; then
14691    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14692$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14693    need_locks=warn
14694  fi
14695else
14696  need_locks=no
14697fi
14698
14699
14700
14701    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14702$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14703
14704  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14705  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14706  case $host_os in
14707  aix[4-9]*)
14708    # If we're using GNU nm, then we don't want the "-C" option.
14709    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14710    # Also, AIX nm treats weak defined symbols like other global defined
14711    # symbols, whereas GNU nm marks them as "W".
14712    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14713      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14714    else
14715      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14716    fi
14717    ;;
14718  pw32*)
14719    export_symbols_cmds_CXX="$ltdll_cmds"
14720    ;;
14721  cygwin* | mingw* | cegcc*)
14722    case $cc_basename in
14723    cl*) ;;
14724    *)
14725      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14726      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14727      ;;
14728    esac
14729    ;;
14730  *)
14731    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14732    ;;
14733  esac
14734
14735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14736$as_echo "$ld_shlibs_CXX" >&6; }
14737test "$ld_shlibs_CXX" = no && can_build_shared=no
14738
14739with_gnu_ld_CXX=$with_gnu_ld
14740
14741
14742
14743
14744
14745
14746#
14747# Do we need to explicitly link libc?
14748#
14749case "x$archive_cmds_need_lc_CXX" in
14750x|xyes)
14751  # Assume -lc should be added
14752  archive_cmds_need_lc_CXX=yes
14753
14754  if test "$enable_shared" = yes && test "$GCC" = yes; then
14755    case $archive_cmds_CXX in
14756    *'~'*)
14757      # FIXME: we may have to deal with multi-command sequences.
14758      ;;
14759    '$CC '*)
14760      # Test whether the compiler implicitly links with -lc since on some
14761      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14762      # to ld, don't add -lc before -lgcc.
14763      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14764$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14765if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14766  $as_echo_n "(cached) " >&6
14767else
14768  $RM conftest*
14769	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14770
14771	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14772  (eval $ac_compile) 2>&5
14773  ac_status=$?
14774  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14775  test $ac_status = 0; } 2>conftest.err; then
14776	  soname=conftest
14777	  lib=conftest
14778	  libobjs=conftest.$ac_objext
14779	  deplibs=
14780	  wl=$lt_prog_compiler_wl_CXX
14781	  pic_flag=$lt_prog_compiler_pic_CXX
14782	  compiler_flags=-v
14783	  linker_flags=-v
14784	  verstring=
14785	  output_objdir=.
14786	  libname=conftest
14787	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14788	  allow_undefined_flag_CXX=
14789	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14790  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14791  ac_status=$?
14792  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14793  test $ac_status = 0; }
14794	  then
14795	    lt_cv_archive_cmds_need_lc_CXX=no
14796	  else
14797	    lt_cv_archive_cmds_need_lc_CXX=yes
14798	  fi
14799	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14800	else
14801	  cat conftest.err 1>&5
14802	fi
14803	$RM conftest*
14804
14805fi
14806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14807$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14808      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14809      ;;
14810    esac
14811  fi
14812  ;;
14813esac
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14879$as_echo_n "checking dynamic linker characteristics... " >&6; }
14880
14881library_names_spec=
14882libname_spec='lib$name'
14883soname_spec=
14884shrext_cmds=".so"
14885postinstall_cmds=
14886postuninstall_cmds=
14887finish_cmds=
14888finish_eval=
14889shlibpath_var=
14890shlibpath_overrides_runpath=unknown
14891version_type=none
14892dynamic_linker="$host_os ld.so"
14893sys_lib_dlsearch_path_spec="/lib /usr/lib"
14894need_lib_prefix=unknown
14895hardcode_into_libs=no
14896
14897# when you set need_version to no, make sure it does not cause -set_version
14898# flags to be left without arguments
14899need_version=unknown
14900
14901case $host_os in
14902aix3*)
14903  version_type=linux
14904  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14905  shlibpath_var=LIBPATH
14906
14907  # AIX 3 has no versioning support, so we append a major version to the name.
14908  soname_spec='${libname}${release}${shared_ext}$major'
14909  ;;
14910
14911aix[4-9]*)
14912  version_type=linux
14913  need_lib_prefix=no
14914  need_version=no
14915  hardcode_into_libs=yes
14916  if test "$host_cpu" = ia64; then
14917    # AIX 5 supports IA64
14918    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14919    shlibpath_var=LD_LIBRARY_PATH
14920  else
14921    # With GCC up to 2.95.x, collect2 would create an import file
14922    # for dependence libraries.  The import file would start with
14923    # the line `#! .'.  This would cause the generated library to
14924    # depend on `.', always an invalid library.  This was fixed in
14925    # development snapshots of GCC prior to 3.0.
14926    case $host_os in
14927      aix4 | aix4.[01] | aix4.[01].*)
14928      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14929	   echo ' yes '
14930	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14931	:
14932      else
14933	can_build_shared=no
14934      fi
14935      ;;
14936    esac
14937    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14938    # soname into executable. Probably we can add versioning support to
14939    # collect2, so additional links can be useful in future.
14940    if test "$aix_use_runtimelinking" = yes; then
14941      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14942      # instead of lib<name>.a to let people know that these are not
14943      # typical AIX shared libraries.
14944      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14945    else
14946      # We preserve .a as extension for shared libraries through AIX4.2
14947      # and later when we are not doing run time linking.
14948      library_names_spec='${libname}${release}.a $libname.a'
14949      soname_spec='${libname}${release}${shared_ext}$major'
14950    fi
14951    shlibpath_var=LIBPATH
14952  fi
14953  ;;
14954
14955amigaos*)
14956  case $host_cpu in
14957  powerpc)
14958    # Since July 2007 AmigaOS4 officially supports .so libraries.
14959    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14960    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14961    ;;
14962  m68k)
14963    library_names_spec='$libname.ixlibrary $libname.a'
14964    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14965    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'
14966    ;;
14967  esac
14968  ;;
14969
14970beos*)
14971  library_names_spec='${libname}${shared_ext}'
14972  dynamic_linker="$host_os ld.so"
14973  shlibpath_var=LIBRARY_PATH
14974  ;;
14975
14976bsdi[45]*)
14977  version_type=linux
14978  need_version=no
14979  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14980  soname_spec='${libname}${release}${shared_ext}$major'
14981  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14982  shlibpath_var=LD_LIBRARY_PATH
14983  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14984  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14985  # the default ld.so.conf also contains /usr/contrib/lib and
14986  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14987  # libtool to hard-code these into programs
14988  ;;
14989
14990cygwin* | mingw* | pw32* | cegcc*)
14991  version_type=windows
14992  shrext_cmds=".dll"
14993  need_version=no
14994  need_lib_prefix=no
14995
14996  case $GCC,$cc_basename in
14997  yes,*)
14998    # gcc
14999    library_names_spec='$libname.dll.a'
15000    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15001    postinstall_cmds='base_file=`basename \${file}`~
15002      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15003      dldir=$destdir/`dirname \$dlpath`~
15004      test -d \$dldir || mkdir -p \$dldir~
15005      $install_prog $dir/$dlname \$dldir/$dlname~
15006      chmod a+x \$dldir/$dlname~
15007      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15008        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15009      fi'
15010    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15011      dlpath=$dir/\$dldll~
15012       $RM \$dlpath'
15013    shlibpath_overrides_runpath=yes
15014
15015    case $host_os in
15016    cygwin*)
15017      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15018      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15019
15020      ;;
15021    mingw* | cegcc*)
15022      # MinGW DLLs use traditional 'lib' prefix
15023      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15024      ;;
15025    pw32*)
15026      # pw32 DLLs use 'pw' prefix rather than 'lib'
15027      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15028      ;;
15029    esac
15030    dynamic_linker='Win32 ld.exe'
15031    ;;
15032
15033  *,cl*)
15034    # Native MSVC
15035    libname_spec='$name'
15036    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15037    library_names_spec='${libname}.dll.lib'
15038
15039    case $build_os in
15040    mingw*)
15041      sys_lib_search_path_spec=
15042      lt_save_ifs=$IFS
15043      IFS=';'
15044      for lt_path in $LIB
15045      do
15046        IFS=$lt_save_ifs
15047        # Let DOS variable expansion print the short 8.3 style file name.
15048        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15049        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15050      done
15051      IFS=$lt_save_ifs
15052      # Convert to MSYS style.
15053      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15054      ;;
15055    cygwin*)
15056      # Convert to unix form, then to dos form, then back to unix form
15057      # but this time dos style (no spaces!) so that the unix form looks
15058      # like /cygdrive/c/PROGRA~1:/cygdr...
15059      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15060      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15061      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15062      ;;
15063    *)
15064      sys_lib_search_path_spec="$LIB"
15065      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15066        # It is most probably a Windows format PATH.
15067        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15068      else
15069        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15070      fi
15071      # FIXME: find the short name or the path components, as spaces are
15072      # common. (e.g. "Program Files" -> "PROGRA~1")
15073      ;;
15074    esac
15075
15076    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15077    postinstall_cmds='base_file=`basename \${file}`~
15078      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15079      dldir=$destdir/`dirname \$dlpath`~
15080      test -d \$dldir || mkdir -p \$dldir~
15081      $install_prog $dir/$dlname \$dldir/$dlname'
15082    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15083      dlpath=$dir/\$dldll~
15084       $RM \$dlpath'
15085    shlibpath_overrides_runpath=yes
15086    dynamic_linker='Win32 link.exe'
15087    ;;
15088
15089  *)
15090    # Assume MSVC wrapper
15091    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15092    dynamic_linker='Win32 ld.exe'
15093    ;;
15094  esac
15095  # FIXME: first we should search . and the directory the executable is in
15096  shlibpath_var=PATH
15097  ;;
15098
15099darwin* | rhapsody*)
15100  dynamic_linker="$host_os dyld"
15101  version_type=darwin
15102  need_lib_prefix=no
15103  need_version=no
15104  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15105  soname_spec='${libname}${release}${major}$shared_ext'
15106  shlibpath_overrides_runpath=yes
15107  shlibpath_var=DYLD_LIBRARY_PATH
15108  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15109
15110  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15111  ;;
15112
15113dgux*)
15114  version_type=linux
15115  need_lib_prefix=no
15116  need_version=no
15117  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15118  soname_spec='${libname}${release}${shared_ext}$major'
15119  shlibpath_var=LD_LIBRARY_PATH
15120  ;;
15121
15122freebsd1*)
15123  dynamic_linker=no
15124  ;;
15125
15126freebsd* | dragonfly*)
15127  # DragonFly does not have aout.  When/if they implement a new
15128  # versioning mechanism, adjust this.
15129  if test -x /usr/bin/objformat; then
15130    objformat=`/usr/bin/objformat`
15131  else
15132    case $host_os in
15133    freebsd[123]*) objformat=aout ;;
15134    *) objformat=elf ;;
15135    esac
15136  fi
15137  # Handle Gentoo/FreeBSD as it was Linux
15138  case $host_vendor in
15139    gentoo)
15140      version_type=linux ;;
15141    *)
15142      version_type=freebsd-$objformat ;;
15143  esac
15144
15145  case $version_type in
15146    freebsd-elf*)
15147      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15148      need_version=no
15149      need_lib_prefix=no
15150      ;;
15151    freebsd-*)
15152      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15153      need_version=yes
15154      ;;
15155    linux)
15156      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15157      soname_spec='${libname}${release}${shared_ext}$major'
15158      need_lib_prefix=no
15159      need_version=no
15160      ;;
15161  esac
15162  shlibpath_var=LD_LIBRARY_PATH
15163  case $host_os in
15164  freebsd2*)
15165    shlibpath_overrides_runpath=yes
15166    ;;
15167  freebsd3.[01]* | freebsdelf3.[01]*)
15168    shlibpath_overrides_runpath=yes
15169    hardcode_into_libs=yes
15170    ;;
15171  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15172  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15173    shlibpath_overrides_runpath=no
15174    hardcode_into_libs=yes
15175    ;;
15176  *) # from 4.6 on, and DragonFly
15177    shlibpath_overrides_runpath=yes
15178    hardcode_into_libs=yes
15179    ;;
15180  esac
15181  ;;
15182
15183gnu*)
15184  version_type=linux
15185  need_lib_prefix=no
15186  need_version=no
15187  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15188  soname_spec='${libname}${release}${shared_ext}$major'
15189  shlibpath_var=LD_LIBRARY_PATH
15190  hardcode_into_libs=yes
15191  ;;
15192
15193haiku*)
15194  version_type=linux
15195  need_lib_prefix=no
15196  need_version=no
15197  dynamic_linker="$host_os runtime_loader"
15198  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15199  soname_spec='${libname}${release}${shared_ext}$major'
15200  shlibpath_var=LIBRARY_PATH
15201  shlibpath_overrides_runpath=yes
15202  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15203  hardcode_into_libs=yes
15204  ;;
15205
15206hpux9* | hpux10* | hpux11*)
15207  # Give a soname corresponding to the major version so that dld.sl refuses to
15208  # link against other versions.
15209  version_type=sunos
15210  need_lib_prefix=no
15211  need_version=no
15212  case $host_cpu in
15213  ia64*)
15214    shrext_cmds='.so'
15215    hardcode_into_libs=yes
15216    dynamic_linker="$host_os dld.so"
15217    shlibpath_var=LD_LIBRARY_PATH
15218    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15219    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15220    soname_spec='${libname}${release}${shared_ext}$major'
15221    if test "X$HPUX_IA64_MODE" = X32; then
15222      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15223    else
15224      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15225    fi
15226    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15227    ;;
15228  hppa*64*)
15229    shrext_cmds='.sl'
15230    hardcode_into_libs=yes
15231    dynamic_linker="$host_os dld.sl"
15232    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15233    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15234    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15235    soname_spec='${libname}${release}${shared_ext}$major'
15236    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15237    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15238    ;;
15239  *)
15240    shrext_cmds='.sl'
15241    dynamic_linker="$host_os dld.sl"
15242    shlibpath_var=SHLIB_PATH
15243    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15244    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15245    soname_spec='${libname}${release}${shared_ext}$major'
15246    ;;
15247  esac
15248  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15249  postinstall_cmds='chmod 555 $lib'
15250  # or fails outright, so override atomically:
15251  install_override_mode=555
15252  ;;
15253
15254interix[3-9]*)
15255  version_type=linux
15256  need_lib_prefix=no
15257  need_version=no
15258  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15259  soname_spec='${libname}${release}${shared_ext}$major'
15260  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15261  shlibpath_var=LD_LIBRARY_PATH
15262  shlibpath_overrides_runpath=no
15263  hardcode_into_libs=yes
15264  ;;
15265
15266irix5* | irix6* | nonstopux*)
15267  case $host_os in
15268    nonstopux*) version_type=nonstopux ;;
15269    *)
15270	if test "$lt_cv_prog_gnu_ld" = yes; then
15271		version_type=linux
15272	else
15273		version_type=irix
15274	fi ;;
15275  esac
15276  need_lib_prefix=no
15277  need_version=no
15278  soname_spec='${libname}${release}${shared_ext}$major'
15279  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15280  case $host_os in
15281  irix5* | nonstopux*)
15282    libsuff= shlibsuff=
15283    ;;
15284  *)
15285    case $LD in # libtool.m4 will add one of these switches to LD
15286    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15287      libsuff= shlibsuff= libmagic=32-bit;;
15288    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15289      libsuff=32 shlibsuff=N32 libmagic=N32;;
15290    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15291      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15292    *) libsuff= shlibsuff= libmagic=never-match;;
15293    esac
15294    ;;
15295  esac
15296  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15297  shlibpath_overrides_runpath=no
15298  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15299  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15300  hardcode_into_libs=yes
15301  ;;
15302
15303# No shared lib support for Linux oldld, aout, or coff.
15304linux*oldld* | linux*aout* | linux*coff*)
15305  dynamic_linker=no
15306  ;;
15307
15308# This must be Linux ELF.
15309linux* | k*bsd*-gnu | kopensolaris*-gnu)
15310  version_type=linux
15311  need_lib_prefix=no
15312  need_version=no
15313  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15314  soname_spec='${libname}${release}${shared_ext}$major'
15315  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15316  shlibpath_var=LD_LIBRARY_PATH
15317  shlibpath_overrides_runpath=no
15318
15319  # Some binutils ld are patched to set DT_RUNPATH
15320  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15321  $as_echo_n "(cached) " >&6
15322else
15323  lt_cv_shlibpath_overrides_runpath=no
15324    save_LDFLAGS=$LDFLAGS
15325    save_libdir=$libdir
15326    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15327	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15328    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15329/* end confdefs.h.  */
15330
15331int
15332main ()
15333{
15334
15335  ;
15336  return 0;
15337}
15338_ACEOF
15339if ac_fn_cxx_try_link "$LINENO"; then :
15340  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15341  lt_cv_shlibpath_overrides_runpath=yes
15342fi
15343fi
15344rm -f core conftest.err conftest.$ac_objext \
15345    conftest$ac_exeext conftest.$ac_ext
15346    LDFLAGS=$save_LDFLAGS
15347    libdir=$save_libdir
15348
15349fi
15350
15351  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15352
15353  # This implies no fast_install, which is unacceptable.
15354  # Some rework will be needed to allow for fast_install
15355  # before this can be enabled.
15356  hardcode_into_libs=yes
15357
15358  # Append ld.so.conf contents to the search path
15359  if test -f /etc/ld.so.conf; then
15360    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' ' '`
15361    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15362  fi
15363
15364  # We used to test for /lib/ld.so.1 and disable shared libraries on
15365  # powerpc, because MkLinux only supported shared libraries with the
15366  # GNU dynamic linker.  Since this was broken with cross compilers,
15367  # most powerpc-linux boxes support dynamic linking these days and
15368  # people can always --disable-shared, the test was removed, and we
15369  # assume the GNU/Linux dynamic linker is in use.
15370  dynamic_linker='GNU/Linux ld.so'
15371  ;;
15372
15373netbsd*)
15374  version_type=sunos
15375  need_lib_prefix=no
15376  need_version=no
15377  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15378    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15379    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15380    dynamic_linker='NetBSD (a.out) ld.so'
15381  else
15382    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15383    soname_spec='${libname}${release}${shared_ext}$major'
15384    dynamic_linker='NetBSD ld.elf_so'
15385  fi
15386  shlibpath_var=LD_LIBRARY_PATH
15387  shlibpath_overrides_runpath=yes
15388  hardcode_into_libs=yes
15389  ;;
15390
15391newsos6)
15392  version_type=linux
15393  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15394  shlibpath_var=LD_LIBRARY_PATH
15395  shlibpath_overrides_runpath=yes
15396  ;;
15397
15398*nto* | *qnx*)
15399  version_type=qnx
15400  need_lib_prefix=no
15401  need_version=no
15402  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15403  soname_spec='${libname}${release}${shared_ext}$major'
15404  shlibpath_var=LD_LIBRARY_PATH
15405  shlibpath_overrides_runpath=no
15406  hardcode_into_libs=yes
15407  dynamic_linker='ldqnx.so'
15408  ;;
15409
15410openbsd*)
15411  version_type=sunos
15412  sys_lib_dlsearch_path_spec="/usr/lib"
15413  need_lib_prefix=no
15414  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15415  case $host_os in
15416    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
15417    *)				need_version=no  ;;
15418  esac
15419  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15420  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15421  shlibpath_var=LD_LIBRARY_PATH
15422  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15423    case $host_os in
15424      openbsd2.[89] | openbsd2.[89].*)
15425	shlibpath_overrides_runpath=no
15426	;;
15427      *)
15428	shlibpath_overrides_runpath=yes
15429	;;
15430      esac
15431  else
15432    shlibpath_overrides_runpath=yes
15433  fi
15434  ;;
15435
15436os2*)
15437  libname_spec='$name'
15438  shrext_cmds=".dll"
15439  need_lib_prefix=no
15440  library_names_spec='$libname${shared_ext} $libname.a'
15441  dynamic_linker='OS/2 ld.exe'
15442  shlibpath_var=LIBPATH
15443  ;;
15444
15445osf3* | osf4* | osf5*)
15446  version_type=osf
15447  need_lib_prefix=no
15448  need_version=no
15449  soname_spec='${libname}${release}${shared_ext}$major'
15450  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15451  shlibpath_var=LD_LIBRARY_PATH
15452  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15453  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15454  ;;
15455
15456rdos*)
15457  dynamic_linker=no
15458  ;;
15459
15460solaris*)
15461  version_type=linux
15462  need_lib_prefix=no
15463  need_version=no
15464  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15465  soname_spec='${libname}${release}${shared_ext}$major'
15466  shlibpath_var=LD_LIBRARY_PATH
15467  shlibpath_overrides_runpath=yes
15468  hardcode_into_libs=yes
15469  # ldd complains unless libraries are executable
15470  postinstall_cmds='chmod +x $lib'
15471  ;;
15472
15473sunos4*)
15474  version_type=sunos
15475  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15476  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15477  shlibpath_var=LD_LIBRARY_PATH
15478  shlibpath_overrides_runpath=yes
15479  if test "$with_gnu_ld" = yes; then
15480    need_lib_prefix=no
15481  fi
15482  need_version=yes
15483  ;;
15484
15485sysv4 | sysv4.3*)
15486  version_type=linux
15487  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15488  soname_spec='${libname}${release}${shared_ext}$major'
15489  shlibpath_var=LD_LIBRARY_PATH
15490  case $host_vendor in
15491    sni)
15492      shlibpath_overrides_runpath=no
15493      need_lib_prefix=no
15494      runpath_var=LD_RUN_PATH
15495      ;;
15496    siemens)
15497      need_lib_prefix=no
15498      ;;
15499    motorola)
15500      need_lib_prefix=no
15501      need_version=no
15502      shlibpath_overrides_runpath=no
15503      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15504      ;;
15505  esac
15506  ;;
15507
15508sysv4*MP*)
15509  if test -d /usr/nec ;then
15510    version_type=linux
15511    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15512    soname_spec='$libname${shared_ext}.$major'
15513    shlibpath_var=LD_LIBRARY_PATH
15514  fi
15515  ;;
15516
15517sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15518  version_type=freebsd-elf
15519  need_lib_prefix=no
15520  need_version=no
15521  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15522  soname_spec='${libname}${release}${shared_ext}$major'
15523  shlibpath_var=LD_LIBRARY_PATH
15524  shlibpath_overrides_runpath=yes
15525  hardcode_into_libs=yes
15526  if test "$with_gnu_ld" = yes; then
15527    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15528  else
15529    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15530    case $host_os in
15531      sco3.2v5*)
15532        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15533	;;
15534    esac
15535  fi
15536  sys_lib_dlsearch_path_spec='/usr/lib'
15537  ;;
15538
15539tpf*)
15540  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15541  version_type=linux
15542  need_lib_prefix=no
15543  need_version=no
15544  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15545  shlibpath_var=LD_LIBRARY_PATH
15546  shlibpath_overrides_runpath=no
15547  hardcode_into_libs=yes
15548  ;;
15549
15550uts4*)
15551  version_type=linux
15552  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15553  soname_spec='${libname}${release}${shared_ext}$major'
15554  shlibpath_var=LD_LIBRARY_PATH
15555  ;;
15556
15557*)
15558  dynamic_linker=no
15559  ;;
15560esac
15561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15562$as_echo "$dynamic_linker" >&6; }
15563test "$dynamic_linker" = no && can_build_shared=no
15564
15565variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15566if test "$GCC" = yes; then
15567  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15568fi
15569
15570if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15571  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15572fi
15573if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15574  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15575fi
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15615$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15616hardcode_action_CXX=
15617if test -n "$hardcode_libdir_flag_spec_CXX" ||
15618   test -n "$runpath_var_CXX" ||
15619   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15620
15621  # We can hardcode non-existent directories.
15622  if test "$hardcode_direct_CXX" != no &&
15623     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15624     # have to relink, otherwise we might link with an installed library
15625     # when we should be linking with a yet-to-be-installed one
15626     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15627     test "$hardcode_minus_L_CXX" != no; then
15628    # Linking always hardcodes the temporary library directory.
15629    hardcode_action_CXX=relink
15630  else
15631    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15632    hardcode_action_CXX=immediate
15633  fi
15634else
15635  # We cannot hardcode anything, or else we can only hardcode existing
15636  # directories.
15637  hardcode_action_CXX=unsupported
15638fi
15639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15640$as_echo "$hardcode_action_CXX" >&6; }
15641
15642if test "$hardcode_action_CXX" = relink ||
15643   test "$inherit_rpath_CXX" = yes; then
15644  # Fast installation is not supported
15645  enable_fast_install=no
15646elif test "$shlibpath_overrides_runpath" = yes ||
15647     test "$enable_shared" = no; then
15648  # Fast installation is not necessary
15649  enable_fast_install=needless
15650fi
15651
15652
15653
15654
15655
15656
15657
15658  fi # test -n "$compiler"
15659
15660  CC=$lt_save_CC
15661  CFLAGS=$lt_save_CFLAGS
15662  LDCXX=$LD
15663  LD=$lt_save_LD
15664  GCC=$lt_save_GCC
15665  with_gnu_ld=$lt_save_with_gnu_ld
15666  lt_cv_path_LDCXX=$lt_cv_path_LD
15667  lt_cv_path_LD=$lt_save_path_LD
15668  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15669  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15670fi # test "$_lt_caught_CXX_error" != yes
15671
15672ac_ext=c
15673ac_cpp='$CPP $CPPFLAGS'
15674ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15675ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15676ac_compiler_gnu=$ac_cv_c_compiler_gnu
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690        ac_config_commands="$ac_config_commands libtool"
15691
15692
15693
15694
15695# Only expand once:
15696
15697
15698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15699$as_echo_n "checking whether ln -s works... " >&6; }
15700LN_S=$as_ln_s
15701if test "$LN_S" = "ln -s"; then
15702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15703$as_echo "yes" >&6; }
15704else
15705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15706$as_echo "no, using $LN_S" >&6; }
15707fi
15708
15709
15710PCRE_MAJOR="8"
15711PCRE_MINOR="31"
15712PCRE_PRERELEASE=""
15713PCRE_DATE="2012-07-06"
15714
15715if test "$PCRE_MINOR" = "08" -o "$PCRE_MINOR" = "09"
15716then
15717  echo "***"
15718  echo "*** Minor version number $PCRE_MINOR must not be used. ***"
15719  echo "*** Use only 01 to 07 or 10 onwards, to avoid octal issues. ***"
15720  echo "***"
15721  exit 1
15722fi
15723
15724
15725
15726
15727
15728
15729# Set a more sensible default value for $(htmldir).
15730if test "x$htmldir" = 'x${docdir}'
15731then
15732  htmldir='${docdir}/html'
15733fi
15734
15735# Handle --disable-pcre8 (enabled by default)
15736# Check whether --enable-pcre8 was given.
15737if test "${enable_pcre8+set}" = set; then :
15738  enableval=$enable_pcre8;
15739else
15740  enable_pcre8=unset
15741fi
15742
15743
15744
15745# Handle --enable-pcre16 (disabled by default)
15746# Check whether --enable-pcre16 was given.
15747if test "${enable_pcre16+set}" = set; then :
15748  enableval=$enable_pcre16;
15749else
15750  enable_pcre16=unset
15751fi
15752
15753
15754
15755# Handle --disable-cpp. The substitution of enable_cpp is needed for use in
15756# pcre-config.
15757# Check whether --enable-cpp was given.
15758if test "${enable_cpp+set}" = set; then :
15759  enableval=$enable_cpp;
15760else
15761  enable_cpp=unset
15762fi
15763
15764
15765
15766# Handle --enable-jit (disabled by default)
15767# Check whether --enable-jit was given.
15768if test "${enable_jit+set}" = set; then :
15769  enableval=$enable_jit;
15770else
15771  enable_jit=no
15772fi
15773
15774
15775# Handle --disable-pcregrep-jit (enabled by default)
15776# Check whether --enable-pcregrep-jit was given.
15777if test "${enable_pcregrep_jit+set}" = set; then :
15778  enableval=$enable_pcregrep_jit;
15779else
15780  enable_pcregrep_jit=yes
15781fi
15782
15783
15784# Handle --enable-rebuild-chartables
15785# Check whether --enable-rebuild-chartables was given.
15786if test "${enable_rebuild_chartables+set}" = set; then :
15787  enableval=$enable_rebuild_chartables;
15788else
15789  enable_rebuild_chartables=no
15790fi
15791
15792
15793# Handle --enable-utf8 (disabled by default)
15794# Check whether --enable-utf8 was given.
15795if test "${enable_utf8+set}" = set; then :
15796  enableval=$enable_utf8;
15797else
15798  enable_utf8=unset
15799fi
15800
15801
15802# Handle --enable-utf (disabled by default)
15803# Check whether --enable-utf was given.
15804if test "${enable_utf+set}" = set; then :
15805  enableval=$enable_utf;
15806else
15807  enable_utf=unset
15808fi
15809
15810
15811# Handle --enable-unicode-properties
15812# Check whether --enable-unicode-properties was given.
15813if test "${enable_unicode_properties+set}" = set; then :
15814  enableval=$enable_unicode_properties;
15815else
15816  enable_unicode_properties=no
15817fi
15818
15819
15820# Handle --enable-newline=NL
15821
15822# Separate newline options
15823ac_pcre_newline=lf
15824# Check whether --enable-newline-is-cr was given.
15825if test "${enable_newline_is_cr+set}" = set; then :
15826  enableval=$enable_newline_is_cr; ac_pcre_newline=cr
15827fi
15828
15829# Check whether --enable-newline-is-lf was given.
15830if test "${enable_newline_is_lf+set}" = set; then :
15831  enableval=$enable_newline_is_lf; ac_pcre_newline=lf
15832fi
15833
15834# Check whether --enable-newline-is-crlf was given.
15835if test "${enable_newline_is_crlf+set}" = set; then :
15836  enableval=$enable_newline_is_crlf; ac_pcre_newline=crlf
15837fi
15838
15839# Check whether --enable-newline-is-anycrlf was given.
15840if test "${enable_newline_is_anycrlf+set}" = set; then :
15841  enableval=$enable_newline_is_anycrlf; ac_pcre_newline=anycrlf
15842fi
15843
15844# Check whether --enable-newline-is-any was given.
15845if test "${enable_newline_is_any+set}" = set; then :
15846  enableval=$enable_newline_is_any; ac_pcre_newline=any
15847fi
15848
15849enable_newline="$ac_pcre_newline"
15850
15851# Handle --enable-bsr-anycrlf
15852# Check whether --enable-bsr-anycrlf was given.
15853if test "${enable_bsr_anycrlf+set}" = set; then :
15854  enableval=$enable_bsr_anycrlf;
15855else
15856  enable_bsr_anycrlf=no
15857fi
15858
15859
15860# Handle --enable-ebcdic
15861# Check whether --enable-ebcdic was given.
15862if test "${enable_ebcdic+set}" = set; then :
15863  enableval=$enable_ebcdic;
15864else
15865  enable_ebcdic=no
15866fi
15867
15868
15869# Handle --disable-stack-for-recursion
15870# Check whether --enable-stack-for-recursion was given.
15871if test "${enable_stack_for_recursion+set}" = set; then :
15872  enableval=$enable_stack_for_recursion;
15873else
15874  enable_stack_for_recursion=yes
15875fi
15876
15877
15878# Handle --enable-pcregrep-libz
15879# Check whether --enable-pcregrep-libz was given.
15880if test "${enable_pcregrep_libz+set}" = set; then :
15881  enableval=$enable_pcregrep_libz;
15882else
15883  enable_pcregrep_libz=no
15884fi
15885
15886
15887# Handle --enable-pcregrep-libbz2
15888# Check whether --enable-pcregrep-libbz2 was given.
15889if test "${enable_pcregrep_libbz2+set}" = set; then :
15890  enableval=$enable_pcregrep_libbz2;
15891else
15892  enable_pcregrep_libbz2=no
15893fi
15894
15895
15896# Handle --with-pcregrep-bufsize=N
15897
15898# Check whether --with-pcregrep-bufsize was given.
15899if test "${with_pcregrep_bufsize+set}" = set; then :
15900  withval=$with_pcregrep_bufsize;
15901else
15902  with_pcregrep_bufsize=20480
15903fi
15904
15905
15906# Handle --enable-pcretest-libedit
15907# Check whether --enable-pcretest-libedit was given.
15908if test "${enable_pcretest_libedit+set}" = set; then :
15909  enableval=$enable_pcretest_libedit;
15910else
15911  enable_pcretest_libedit=no
15912fi
15913
15914
15915# Handle --enable-pcretest-libreadline
15916# Check whether --enable-pcretest-libreadline was given.
15917if test "${enable_pcretest_libreadline+set}" = set; then :
15918  enableval=$enable_pcretest_libreadline;
15919else
15920  enable_pcretest_libreadline=no
15921fi
15922
15923
15924# Handle --with-posix-malloc-threshold=NBYTES
15925
15926# Check whether --with-posix-malloc-threshold was given.
15927if test "${with_posix_malloc_threshold+set}" = set; then :
15928  withval=$with_posix_malloc_threshold;
15929else
15930  with_posix_malloc_threshold=10
15931fi
15932
15933
15934# Handle --with-link-size=N
15935
15936# Check whether --with-link-size was given.
15937if test "${with_link_size+set}" = set; then :
15938  withval=$with_link_size;
15939else
15940  with_link_size=2
15941fi
15942
15943
15944# Handle --with-match-limit=N
15945
15946# Check whether --with-match-limit was given.
15947if test "${with_match_limit+set}" = set; then :
15948  withval=$with_match_limit;
15949else
15950  with_match_limit=10000000
15951fi
15952
15953
15954# Handle --with-match-limit_recursion=N
15955#
15956# Note: In config.h, the default is to define MATCH_LIMIT_RECURSION
15957# symbolically as MATCH_LIMIT, which in turn is defined to be some numeric
15958# value (e.g. 10000000). MATCH_LIMIT_RECURSION can otherwise be set to some
15959# different numeric value (or even the same numeric value as MATCH_LIMIT,
15960# though no longer defined in terms of the latter).
15961#
15962
15963# Check whether --with-match-limit-recursion was given.
15964if test "${with_match_limit_recursion+set}" = set; then :
15965  withval=$with_match_limit_recursion;
15966else
15967  with_match_limit_recursion=MATCH_LIMIT
15968fi
15969
15970
15971# Copy enable_utf8 value to enable_utf for compatibility reasons
15972if test "x$enable_utf8" != "xunset"
15973then
15974  if test "x$enable_utf" != "xunset"
15975  then
15976    as_fn_error $? "--enable/disable-utf8 is kept only for compatibility reasons and its value is copied to --enable/disable-utf. Newer code must use --enable/disable-utf alone." "$LINENO" 5
15977  fi
15978  enable_utf=$enable_utf8
15979fi
15980
15981# Set the default value for pcre8
15982if test "x$enable_pcre8" = "xunset"
15983then
15984  enable_pcre8=yes
15985fi
15986
15987# Set the default value for pcre16
15988if test "x$enable_pcre16" = "xunset"
15989then
15990  enable_pcre16=no
15991fi
15992
15993# Make sure enable_pcre8 or enable_pcre16 was set
15994if test "x$enable_pcre8$enable_pcre16" = "xnono"
15995then
15996  as_fn_error $? "Either 8 or 16 bit (or both) pcre library must be enabled" "$LINENO" 5
15997fi
15998
15999# Make sure that if enable_unicode_properties was set, that UTF support is enabled.
16000if test "x$enable_unicode_properties" = "xyes"
16001then
16002  if test "x$enable_utf" = "xno"
16003  then
16004    as_fn_error $? "support for Unicode properties requires UTF-8/16 support" "$LINENO" 5
16005  fi
16006  enable_utf=yes
16007fi
16008
16009# enable_utf is disabled by default.
16010if test "x$enable_utf" = "xunset"
16011then
16012  enable_utf=no
16013fi
16014
16015# enable_cpp copies the value of enable_pcre8 by default
16016if test "x$enable_cpp" = "xunset"
16017then
16018  enable_cpp=$enable_pcre8
16019fi
16020
16021# Make sure that if enable_cpp was set, that enable_pcre8 support is enabled
16022if test "x$enable_cpp" = "xyes"
16023then
16024  if test "x$enable_pcre8" = "xno"
16025  then
16026    as_fn_error $? "C++ library requires pcre library with 8 bit characters" "$LINENO" 5
16027  fi
16028fi
16029
16030# Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled.
16031# Also check that UTF support is not requested, because PCRE cannot handle
16032# EBCDIC and UTF in the same build. To do so it would need to use different
16033# character constants depending on the mode.
16034#
16035if test "x$enable_ebcdic" = "xyes"
16036then
16037  enable_rebuild_chartables=yes
16038  if test "x$enable_utf" = "xyes"
16039  then
16040    as_fn_error $? "support for EBCDIC and UTF-8/16 cannot be enabled at the same time" "$LINENO" 5
16041  fi
16042fi
16043
16044# Convert the newline identifier into the appropriate integer value.
16045case "$enable_newline" in
16046  lf)      ac_pcre_newline_value=10   ;;
16047  cr)      ac_pcre_newline_value=13   ;;
16048  crlf)    ac_pcre_newline_value=3338 ;;
16049  anycrlf) ac_pcre_newline_value=-2   ;;
16050  any)     ac_pcre_newline_value=-1   ;;
16051  *)
16052  as_fn_error $? "invalid argument \"$enable_newline\" to --enable-newline option" "$LINENO" 5
16053  ;;
16054esac
16055
16056# Check argument to --with-link-size
16057case "$with_link_size" in
16058  2|3|4) ;;
16059  *)
16060  as_fn_error $? "invalid argument \"$with_link_size\" to --with-link-size option" "$LINENO" 5
16061  ;;
16062esac
16063
16064
16065
16066# Checks for header files.
16067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16068$as_echo_n "checking for ANSI C header files... " >&6; }
16069if ${ac_cv_header_stdc+:} false; then :
16070  $as_echo_n "(cached) " >&6
16071else
16072  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16073/* end confdefs.h.  */
16074#include <stdlib.h>
16075#include <stdarg.h>
16076#include <string.h>
16077#include <float.h>
16078
16079int
16080main ()
16081{
16082
16083  ;
16084  return 0;
16085}
16086_ACEOF
16087if ac_fn_c_try_compile "$LINENO"; then :
16088  ac_cv_header_stdc=yes
16089else
16090  ac_cv_header_stdc=no
16091fi
16092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16093
16094if test $ac_cv_header_stdc = yes; then
16095  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16096  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16097/* end confdefs.h.  */
16098#include <string.h>
16099
16100_ACEOF
16101if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16102  $EGREP "memchr" >/dev/null 2>&1; then :
16103
16104else
16105  ac_cv_header_stdc=no
16106fi
16107rm -f conftest*
16108
16109fi
16110
16111if test $ac_cv_header_stdc = yes; then
16112  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16113  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16114/* end confdefs.h.  */
16115#include <stdlib.h>
16116
16117_ACEOF
16118if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16119  $EGREP "free" >/dev/null 2>&1; then :
16120
16121else
16122  ac_cv_header_stdc=no
16123fi
16124rm -f conftest*
16125
16126fi
16127
16128if test $ac_cv_header_stdc = yes; then
16129  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16130  if test "$cross_compiling" = yes; then :
16131  :
16132else
16133  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16134/* end confdefs.h.  */
16135#include <ctype.h>
16136#include <stdlib.h>
16137#if ((' ' & 0x0FF) == 0x020)
16138# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16139# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16140#else
16141# define ISLOWER(c) \
16142		   (('a' <= (c) && (c) <= 'i') \
16143		     || ('j' <= (c) && (c) <= 'r') \
16144		     || ('s' <= (c) && (c) <= 'z'))
16145# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16146#endif
16147
16148#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16149int
16150main ()
16151{
16152  int i;
16153  for (i = 0; i < 256; i++)
16154    if (XOR (islower (i), ISLOWER (i))
16155	|| toupper (i) != TOUPPER (i))
16156      return 2;
16157  return 0;
16158}
16159_ACEOF
16160if ac_fn_c_try_run "$LINENO"; then :
16161
16162else
16163  ac_cv_header_stdc=no
16164fi
16165rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16166  conftest.$ac_objext conftest.beam conftest.$ac_ext
16167fi
16168
16169fi
16170fi
16171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16172$as_echo "$ac_cv_header_stdc" >&6; }
16173if test $ac_cv_header_stdc = yes; then
16174
16175$as_echo "#define STDC_HEADERS 1" >>confdefs.h
16176
16177fi
16178
16179for ac_header in limits.h sys/types.h sys/stat.h dirent.h windows.h
16180do :
16181  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16182ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16183if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16184  cat >>confdefs.h <<_ACEOF
16185#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16186_ACEOF
16187
16188fi
16189
16190done
16191
16192
16193# The files below are C++ header files.
16194pcre_have_type_traits="0"
16195pcre_have_bits_type_traits="0"
16196if test "x$enable_cpp" = "xyes" -a -n "$CXX"
16197then
16198ac_ext=cpp
16199ac_cpp='$CXXCPP $CPPFLAGS'
16200ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16201ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16202ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16203
16204
16205# Older versions of pcre defined pcrecpp::no_arg, but in new versions
16206# it's called pcrecpp::RE::no_arg.  For backwards ABI compatibility,
16207# we want to make one an alias for the other.  Different systems do
16208# this in different ways.  Some systems, for instance, can do it via
16209# a linker flag: -alias (for os x 10.5) or -i (for os x <=10.4).
16210OLD_LDFLAGS="$LDFLAGS"
16211for flag in "-alias,__ZN7pcrecpp2RE6no_argE,__ZN7pcrecpp6no_argE" \
16212            "-i__ZN7pcrecpp6no_argE:__ZN7pcrecpp2RE6no_argE"; do
16213  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alias support in the linker" >&5
16214$as_echo_n "checking for alias support in the linker... " >&6; }
16215  LDFLAGS="$OLD_LDFLAGS -Wl,$flag"
16216  # We try to run the linker with this new ld flag.  If the link fails,
16217  # we give up and remove the new flag from LDFLAGS.
16218  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16219/* end confdefs.h.  */
16220namespace pcrecpp {
16221                                    class RE { static int no_arg; };
16222                                    int RE::no_arg;
16223                                  }
16224int
16225main ()
16226{
16227
16228  ;
16229  return 0;
16230}
16231_ACEOF
16232if ac_fn_cxx_try_link "$LINENO"; then :
16233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16234$as_echo "yes" >&6; };
16235                  EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS -Wl,$flag";
16236                  break;
16237else
16238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16239$as_echo "no" >&6; }
16240fi
16241rm -f core conftest.err conftest.$ac_objext \
16242    conftest$ac_exeext conftest.$ac_ext
16243done
16244LDFLAGS="$OLD_LDFLAGS"
16245
16246# We could be more clever here, given we're doing AC_SUBST with this
16247# (eg set a var to be the name of the include file we want). But we're not
16248# so it's easy to change back to 'regular' autoconf vars if we needed to.
16249
16250for ac_header in string
16251do :
16252  ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
16253if test "x$ac_cv_header_string" = xyes; then :
16254  cat >>confdefs.h <<_ACEOF
16255#define HAVE_STRING 1
16256_ACEOF
16257 pcre_have_cpp_headers="1"
16258else
16259  pcre_have_cpp_headers="0"
16260fi
16261
16262done
16263
16264for ac_header in bits/type_traits.h
16265do :
16266  ac_fn_cxx_check_header_mongrel "$LINENO" "bits/type_traits.h" "ac_cv_header_bits_type_traits_h" "$ac_includes_default"
16267if test "x$ac_cv_header_bits_type_traits_h" = xyes; then :
16268  cat >>confdefs.h <<_ACEOF
16269#define HAVE_BITS_TYPE_TRAITS_H 1
16270_ACEOF
16271 pcre_have_bits_type_traits="1"
16272else
16273  pcre_have_bits_type_traits="0"
16274fi
16275
16276done
16277
16278for ac_header in type_traits.h
16279do :
16280  ac_fn_cxx_check_header_mongrel "$LINENO" "type_traits.h" "ac_cv_header_type_traits_h" "$ac_includes_default"
16281if test "x$ac_cv_header_type_traits_h" = xyes; then :
16282  cat >>confdefs.h <<_ACEOF
16283#define HAVE_TYPE_TRAITS_H 1
16284_ACEOF
16285 pcre_have_type_traits="1"
16286else
16287  pcre_have_type_traits="0"
16288fi
16289
16290done
16291
16292
16293# (This isn't c++-specific, but is only used in pcrecpp.cc, so try this
16294# in a c++ context.  This matters becuase strtoimax is C99 and may not
16295# be supported by the C++ compiler.)
16296# Figure out how to create a longlong from a string: strtoll and
16297# equiv.  It's not enough to call AC_CHECK_FUNCS: hpux has a
16298# strtoll, for instance, but it only takes 2 args instead of 3!
16299# We have to call AH_TEMPLATE since AC_DEFINE_UNQUOTED below is complex.
16300
16301
16302
16303
16304have_strto_fn=0
16305for fn in strtoq strtoll _strtoi64 strtoimax; do
16306  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $fn" >&5
16307$as_echo_n "checking for $fn... " >&6; }
16308  if test "$fn" = strtoimax; then
16309    include=stdint.h
16310  else
16311    include=stdlib.h
16312  fi
16313  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16314/* end confdefs.h.  */
16315#include <$include>
16316int
16317main ()
16318{
16319char* e; return $fn("100", &e, 10)
16320  ;
16321  return 0;
16322}
16323_ACEOF
16324if ac_fn_cxx_try_compile "$LINENO"; then :
16325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16326$as_echo "yes" >&6; }
16327
16328cat >>confdefs.h <<_ACEOF
16329#define HAVE_`echo $fn | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ` 1
16330_ACEOF
16331
16332                     have_strto_fn=1
16333                     break
16334else
16335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16336$as_echo "no" >&6; }
16337fi
16338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16339done
16340
16341if test "$have_strto_fn" = 1; then
16342  ac_fn_cxx_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16343if test "x$ac_cv_type_long_long" = xyes; then :
16344
16345cat >>confdefs.h <<_ACEOF
16346#define HAVE_LONG_LONG 1
16347_ACEOF
16348
16349pcre_have_long_long="1"
16350else
16351  pcre_have_long_long="0"
16352fi
16353
16354  ac_fn_cxx_check_type "$LINENO" "unsigned long long" "ac_cv_type_unsigned_long_long" "$ac_includes_default"
16355if test "x$ac_cv_type_unsigned_long_long" = xyes; then :
16356
16357cat >>confdefs.h <<_ACEOF
16358#define HAVE_UNSIGNED_LONG_LONG 1
16359_ACEOF
16360
16361pcre_have_ulong_long="1"
16362else
16363  pcre_have_ulong_long="0"
16364fi
16365
16366else
16367  pcre_have_long_long="0"
16368  pcre_have_ulong_long="0"
16369fi
16370
16371
16372
16373ac_ext=c
16374ac_cpp='$CPP $CPPFLAGS'
16375ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16376ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16377ac_compiler_gnu=$ac_cv_c_compiler_gnu
16378
16379fi
16380# Using AC_SUBST eliminates the need to include config.h in a public .h file
16381
16382
16383
16384# Conditional compilation
16385 if test "x$enable_pcre8" = "xyes"; then
16386  WITH_PCRE8_TRUE=
16387  WITH_PCRE8_FALSE='#'
16388else
16389  WITH_PCRE8_TRUE='#'
16390  WITH_PCRE8_FALSE=
16391fi
16392
16393 if test "x$enable_pcre16" = "xyes"; then
16394  WITH_PCRE16_TRUE=
16395  WITH_PCRE16_FALSE='#'
16396else
16397  WITH_PCRE16_TRUE='#'
16398  WITH_PCRE16_FALSE=
16399fi
16400
16401 if test "x$enable_cpp" = "xyes"; then
16402  WITH_PCRE_CPP_TRUE=
16403  WITH_PCRE_CPP_FALSE='#'
16404else
16405  WITH_PCRE_CPP_TRUE='#'
16406  WITH_PCRE_CPP_FALSE=
16407fi
16408
16409 if test "x$enable_rebuild_chartables" = "xyes"; then
16410  WITH_REBUILD_CHARTABLES_TRUE=
16411  WITH_REBUILD_CHARTABLES_FALSE='#'
16412else
16413  WITH_REBUILD_CHARTABLES_TRUE='#'
16414  WITH_REBUILD_CHARTABLES_FALSE=
16415fi
16416
16417 if test "x$enable_jit" = "xyes"; then
16418  WITH_JIT_TRUE=
16419  WITH_JIT_FALSE='#'
16420else
16421  WITH_JIT_TRUE='#'
16422  WITH_JIT_FALSE=
16423fi
16424
16425 if test "x$enable_utf" = "xyes"; then
16426  WITH_UTF_TRUE=
16427  WITH_UTF_FALSE='#'
16428else
16429  WITH_UTF_TRUE='#'
16430  WITH_UTF_FALSE=
16431fi
16432
16433
16434# Checks for typedefs, structures, and compiler characteristics.
16435
16436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16437$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16438if ${ac_cv_c_const+:} false; then :
16439  $as_echo_n "(cached) " >&6
16440else
16441  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442/* end confdefs.h.  */
16443
16444int
16445main ()
16446{
16447/* FIXME: Include the comments suggested by Paul. */
16448#ifndef __cplusplus
16449  /* Ultrix mips cc rejects this.  */
16450  typedef int charset[2];
16451  const charset cs;
16452  /* SunOS 4.1.1 cc rejects this.  */
16453  char const *const *pcpcc;
16454  char **ppc;
16455  /* NEC SVR4.0.2 mips cc rejects this.  */
16456  struct point {int x, y;};
16457  static struct point const zero = {0,0};
16458  /* AIX XL C 1.02.0.0 rejects this.
16459     It does not let you subtract one const X* pointer from another in
16460     an arm of an if-expression whose if-part is not a constant
16461     expression */
16462  const char *g = "string";
16463  pcpcc = &g + (g ? g-g : 0);
16464  /* HPUX 7.0 cc rejects these. */
16465  ++pcpcc;
16466  ppc = (char**) pcpcc;
16467  pcpcc = (char const *const *) ppc;
16468  { /* SCO 3.2v4 cc rejects this.  */
16469    char *t;
16470    char const *s = 0 ? (char *) 0 : (char const *) 0;
16471
16472    *t++ = 0;
16473    if (s) return 0;
16474  }
16475  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
16476    int x[] = {25, 17};
16477    const int *foo = &x[0];
16478    ++foo;
16479  }
16480  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16481    typedef const int *iptr;
16482    iptr p = 0;
16483    ++p;
16484  }
16485  { /* AIX XL C 1.02.0.0 rejects this saying
16486       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16487    struct s { int j; const int *ap[3]; };
16488    struct s *b; b->j = 5;
16489  }
16490  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16491    const int foo = 10;
16492    if (!foo) return 0;
16493  }
16494  return !cs[0] && !zero.x;
16495#endif
16496
16497  ;
16498  return 0;
16499}
16500_ACEOF
16501if ac_fn_c_try_compile "$LINENO"; then :
16502  ac_cv_c_const=yes
16503else
16504  ac_cv_c_const=no
16505fi
16506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16507fi
16508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16509$as_echo "$ac_cv_c_const" >&6; }
16510if test $ac_cv_c_const = no; then
16511
16512$as_echo "#define const /**/" >>confdefs.h
16513
16514fi
16515
16516ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16517if test "x$ac_cv_type_size_t" = xyes; then :
16518
16519else
16520
16521cat >>confdefs.h <<_ACEOF
16522#define size_t unsigned int
16523_ACEOF
16524
16525fi
16526
16527
16528# Checks for library functions.
16529
16530for ac_func in bcopy memmove strerror
16531do :
16532  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16533ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16534if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16535  cat >>confdefs.h <<_ACEOF
16536#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16537_ACEOF
16538
16539fi
16540done
16541
16542
16543# Check for the availability of libz (aka zlib)
16544
16545for ac_header in zlib.h
16546do :
16547  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
16548if test "x$ac_cv_header_zlib_h" = xyes; then :
16549  cat >>confdefs.h <<_ACEOF
16550#define HAVE_ZLIB_H 1
16551_ACEOF
16552 HAVE_ZLIB_H=1
16553fi
16554
16555done
16556
16557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
16558$as_echo_n "checking for gzopen in -lz... " >&6; }
16559if ${ac_cv_lib_z_gzopen+:} false; then :
16560  $as_echo_n "(cached) " >&6
16561else
16562  ac_check_lib_save_LIBS=$LIBS
16563LIBS="-lz  $LIBS"
16564cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16565/* end confdefs.h.  */
16566
16567/* Override any GCC internal prototype to avoid an error.
16568   Use char because int might match the return type of a GCC
16569   builtin and then its argument prototype would still apply.  */
16570#ifdef __cplusplus
16571extern "C"
16572#endif
16573char gzopen ();
16574int
16575main ()
16576{
16577return gzopen ();
16578  ;
16579  return 0;
16580}
16581_ACEOF
16582if ac_fn_c_try_link "$LINENO"; then :
16583  ac_cv_lib_z_gzopen=yes
16584else
16585  ac_cv_lib_z_gzopen=no
16586fi
16587rm -f core conftest.err conftest.$ac_objext \
16588    conftest$ac_exeext conftest.$ac_ext
16589LIBS=$ac_check_lib_save_LIBS
16590fi
16591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
16592$as_echo "$ac_cv_lib_z_gzopen" >&6; }
16593if test "x$ac_cv_lib_z_gzopen" = xyes; then :
16594  HAVE_LIBZ=1
16595fi
16596
16597
16598# Check for the availability of libbz2. Originally we just used AC_CHECK_LIB,
16599# as for libz. However, this had the following problem, diagnosed and fixed by
16600# a user:
16601#
16602#   - libbz2 uses the Pascal calling convention (WINAPI) for the functions
16603#     under Win32.
16604#   - The standard autoconf AC_CHECK_LIB fails to include "bzlib.h",
16605#     therefore missing the function definition.
16606#   - The compiler thus generates a "C" signature for the test function.
16607#   - The linker fails to find the "C" function.
16608#   - PCRE fails to configure if asked to do so against libbz2.
16609#
16610# Solution:
16611#
16612#   - Replace the AC_CHECK_LIB test with a custom test.
16613
16614for ac_header in bzlib.h
16615do :
16616  ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
16617if test "x$ac_cv_header_bzlib_h" = xyes; then :
16618  cat >>confdefs.h <<_ACEOF
16619#define HAVE_BZLIB_H 1
16620_ACEOF
16621 HAVE_BZLIB_H=1
16622fi
16623
16624done
16625
16626# Original test
16627# AC_CHECK_LIB([bz2], [BZ2_bzopen], [HAVE_LIBBZ2=1])
16628#
16629# Custom test follows
16630
16631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbz2" >&5
16632$as_echo_n "checking for libbz2... " >&6; }
16633OLD_LIBS="$LIBS"
16634LIBS="$LIBS -lbz2"
16635cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16636/* end confdefs.h.  */
16637
16638#ifdef HAVE_BZLIB_H
16639#include <bzlib.h>
16640#endif
16641int
16642main ()
16643{
16644return (int)BZ2_bzopen("conftest", "rb");
16645  ;
16646  return 0;
16647}
16648_ACEOF
16649if ac_fn_c_try_link "$LINENO"; then :
16650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16651$as_echo "yes" >&6; };HAVE_LIBBZ2=1; break;
16652else
16653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16654$as_echo "no" >&6; }
16655fi
16656rm -f core conftest.err conftest.$ac_objext \
16657    conftest$ac_exeext conftest.$ac_ext
16658LIBS="$OLD_LIBS"
16659
16660# Check for the availabiity of libreadline
16661
16662if test "$enable_pcretest_libreadline" = "yes"; then
16663 for ac_header in readline/readline.h
16664do :
16665  ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
16666if test "x$ac_cv_header_readline_readline_h" = xyes; then :
16667  cat >>confdefs.h <<_ACEOF
16668#define HAVE_READLINE_READLINE_H 1
16669_ACEOF
16670 HAVE_READLINE_H=1
16671fi
16672
16673done
16674
16675 for ac_header in readline/history.h
16676do :
16677  ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
16678if test "x$ac_cv_header_readline_history_h" = xyes; then :
16679  cat >>confdefs.h <<_ACEOF
16680#define HAVE_READLINE_HISTORY_H 1
16681_ACEOF
16682 HAVE_HISTORY_H=1
16683fi
16684
16685done
16686
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
16688$as_echo_n "checking for readline in -lreadline... " >&6; }
16689if ${ac_cv_lib_readline_readline+:} false; then :
16690  $as_echo_n "(cached) " >&6
16691else
16692  ac_check_lib_save_LIBS=$LIBS
16693LIBS="-lreadline  $LIBS"
16694cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16695/* end confdefs.h.  */
16696
16697/* Override any GCC internal prototype to avoid an error.
16698   Use char because int might match the return type of a GCC
16699   builtin and then its argument prototype would still apply.  */
16700#ifdef __cplusplus
16701extern "C"
16702#endif
16703char readline ();
16704int
16705main ()
16706{
16707return readline ();
16708  ;
16709  return 0;
16710}
16711_ACEOF
16712if ac_fn_c_try_link "$LINENO"; then :
16713  ac_cv_lib_readline_readline=yes
16714else
16715  ac_cv_lib_readline_readline=no
16716fi
16717rm -f core conftest.err conftest.$ac_objext \
16718    conftest$ac_exeext conftest.$ac_ext
16719LIBS=$ac_check_lib_save_LIBS
16720fi
16721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
16722$as_echo "$ac_cv_lib_readline_readline" >&6; }
16723if test "x$ac_cv_lib_readline_readline" = xyes; then :
16724  LIBREADLINE="-lreadline"
16725else
16726  unset ac_cv_lib_readline_readline;
16727    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
16728$as_echo_n "checking for readline in -lreadline... " >&6; }
16729if ${ac_cv_lib_readline_readline+:} false; then :
16730  $as_echo_n "(cached) " >&6
16731else
16732  ac_check_lib_save_LIBS=$LIBS
16733LIBS="-lreadline -ltinfo $LIBS"
16734cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16735/* end confdefs.h.  */
16736
16737/* Override any GCC internal prototype to avoid an error.
16738   Use char because int might match the return type of a GCC
16739   builtin and then its argument prototype would still apply.  */
16740#ifdef __cplusplus
16741extern "C"
16742#endif
16743char readline ();
16744int
16745main ()
16746{
16747return readline ();
16748  ;
16749  return 0;
16750}
16751_ACEOF
16752if ac_fn_c_try_link "$LINENO"; then :
16753  ac_cv_lib_readline_readline=yes
16754else
16755  ac_cv_lib_readline_readline=no
16756fi
16757rm -f core conftest.err conftest.$ac_objext \
16758    conftest$ac_exeext conftest.$ac_ext
16759LIBS=$ac_check_lib_save_LIBS
16760fi
16761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
16762$as_echo "$ac_cv_lib_readline_readline" >&6; }
16763if test "x$ac_cv_lib_readline_readline" = xyes; then :
16764  LIBREADLINE="-ltinfo"
16765else
16766  unset ac_cv_lib_readline_readline;
16767      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
16768$as_echo_n "checking for readline in -lreadline... " >&6; }
16769if ${ac_cv_lib_readline_readline+:} false; then :
16770  $as_echo_n "(cached) " >&6
16771else
16772  ac_check_lib_save_LIBS=$LIBS
16773LIBS="-lreadline -lcurses $LIBS"
16774cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775/* end confdefs.h.  */
16776
16777/* Override any GCC internal prototype to avoid an error.
16778   Use char because int might match the return type of a GCC
16779   builtin and then its argument prototype would still apply.  */
16780#ifdef __cplusplus
16781extern "C"
16782#endif
16783char readline ();
16784int
16785main ()
16786{
16787return readline ();
16788  ;
16789  return 0;
16790}
16791_ACEOF
16792if ac_fn_c_try_link "$LINENO"; then :
16793  ac_cv_lib_readline_readline=yes
16794else
16795  ac_cv_lib_readline_readline=no
16796fi
16797rm -f core conftest.err conftest.$ac_objext \
16798    conftest$ac_exeext conftest.$ac_ext
16799LIBS=$ac_check_lib_save_LIBS
16800fi
16801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
16802$as_echo "$ac_cv_lib_readline_readline" >&6; }
16803if test "x$ac_cv_lib_readline_readline" = xyes; then :
16804  LIBREADLINE="-lcurses"
16805else
16806  unset ac_cv_lib_readline_readline;
16807        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
16808$as_echo_n "checking for readline in -lreadline... " >&6; }
16809if ${ac_cv_lib_readline_readline+:} false; then :
16810  $as_echo_n "(cached) " >&6
16811else
16812  ac_check_lib_save_LIBS=$LIBS
16813LIBS="-lreadline -lncurses $LIBS"
16814cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815/* end confdefs.h.  */
16816
16817/* Override any GCC internal prototype to avoid an error.
16818   Use char because int might match the return type of a GCC
16819   builtin and then its argument prototype would still apply.  */
16820#ifdef __cplusplus
16821extern "C"
16822#endif
16823char readline ();
16824int
16825main ()
16826{
16827return readline ();
16828  ;
16829  return 0;
16830}
16831_ACEOF
16832if ac_fn_c_try_link "$LINENO"; then :
16833  ac_cv_lib_readline_readline=yes
16834else
16835  ac_cv_lib_readline_readline=no
16836fi
16837rm -f core conftest.err conftest.$ac_objext \
16838    conftest$ac_exeext conftest.$ac_ext
16839LIBS=$ac_check_lib_save_LIBS
16840fi
16841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
16842$as_echo "$ac_cv_lib_readline_readline" >&6; }
16843if test "x$ac_cv_lib_readline_readline" = xyes; then :
16844  LIBREADLINE="-lncurses"
16845else
16846  unset ac_cv_lib_readline_readline;
16847	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
16848$as_echo_n "checking for readline in -lreadline... " >&6; }
16849if ${ac_cv_lib_readline_readline+:} false; then :
16850  $as_echo_n "(cached) " >&6
16851else
16852  ac_check_lib_save_LIBS=$LIBS
16853LIBS="-lreadline -lncursesw $LIBS"
16854cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16855/* end confdefs.h.  */
16856
16857/* Override any GCC internal prototype to avoid an error.
16858   Use char because int might match the return type of a GCC
16859   builtin and then its argument prototype would still apply.  */
16860#ifdef __cplusplus
16861extern "C"
16862#endif
16863char readline ();
16864int
16865main ()
16866{
16867return readline ();
16868  ;
16869  return 0;
16870}
16871_ACEOF
16872if ac_fn_c_try_link "$LINENO"; then :
16873  ac_cv_lib_readline_readline=yes
16874else
16875  ac_cv_lib_readline_readline=no
16876fi
16877rm -f core conftest.err conftest.$ac_objext \
16878    conftest$ac_exeext conftest.$ac_ext
16879LIBS=$ac_check_lib_save_LIBS
16880fi
16881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
16882$as_echo "$ac_cv_lib_readline_readline" >&6; }
16883if test "x$ac_cv_lib_readline_readline" = xyes; then :
16884  LIBREADLINE="-lncursesw"
16885else
16886  unset ac_cv_lib_readline_readline;
16887	    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
16888$as_echo_n "checking for readline in -lreadline... " >&6; }
16889if ${ac_cv_lib_readline_readline+:} false; then :
16890  $as_echo_n "(cached) " >&6
16891else
16892  ac_check_lib_save_LIBS=$LIBS
16893LIBS="-lreadline -ltermcap $LIBS"
16894cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16895/* end confdefs.h.  */
16896
16897/* Override any GCC internal prototype to avoid an error.
16898   Use char because int might match the return type of a GCC
16899   builtin and then its argument prototype would still apply.  */
16900#ifdef __cplusplus
16901extern "C"
16902#endif
16903char readline ();
16904int
16905main ()
16906{
16907return readline ();
16908  ;
16909  return 0;
16910}
16911_ACEOF
16912if ac_fn_c_try_link "$LINENO"; then :
16913  ac_cv_lib_readline_readline=yes
16914else
16915  ac_cv_lib_readline_readline=no
16916fi
16917rm -f core conftest.err conftest.$ac_objext \
16918    conftest$ac_exeext conftest.$ac_ext
16919LIBS=$ac_check_lib_save_LIBS
16920fi
16921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
16922$as_echo "$ac_cv_lib_readline_readline" >&6; }
16923if test "x$ac_cv_lib_readline_readline" = xyes; then :
16924  LIBREADLINE="-ltermcap"
16925else
16926  LIBREADLINE=""
16927fi
16928
16929fi
16930
16931fi
16932
16933fi
16934
16935fi
16936
16937fi
16938
16939
16940 if test -n "$LIBREADLINE"; then
16941   if test "$LIBREADLINE" != "-lreadline"; then
16942     echo "-lreadline needs $LIBREADLINE"
16943     LIBREADLINE="-lreadline $LIBREADLINE"
16944   fi
16945 fi
16946fi
16947
16948
16949# Check for the availability of libedit. Different distributions put its
16950# headers in different places. Try to cover the most common ones.
16951
16952if test "$enable_pcretest_libedit" = "yes"; then
16953  for ac_header in editline/readline.h
16954do :
16955  ac_fn_c_check_header_mongrel "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
16956if test "x$ac_cv_header_editline_readline_h" = xyes; then :
16957  cat >>confdefs.h <<_ACEOF
16958#define HAVE_EDITLINE_READLINE_H 1
16959_ACEOF
16960 HAVE_EDITLINE_READLINE_H=1
16961else
16962  for ac_header in edit/readline/readline.h
16963do :
16964  ac_fn_c_check_header_mongrel "$LINENO" "edit/readline/readline.h" "ac_cv_header_edit_readline_readline_h" "$ac_includes_default"
16965if test "x$ac_cv_header_edit_readline_readline_h" = xyes; then :
16966  cat >>confdefs.h <<_ACEOF
16967#define HAVE_EDIT_READLINE_READLINE_H 1
16968_ACEOF
16969 HAVE_READLINE_READLINE_H=1
16970else
16971  for ac_header in readline/readline.h
16972do :
16973  ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
16974if test "x$ac_cv_header_readline_readline_h" = xyes; then :
16975  cat >>confdefs.h <<_ACEOF
16976#define HAVE_READLINE_READLINE_H 1
16977_ACEOF
16978 HAVE_READLINE_READLINE_H=1
16979fi
16980
16981done
16982
16983fi
16984
16985done
16986
16987fi
16988
16989done
16990
16991  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -ledit" >&5
16992$as_echo_n "checking for readline in -ledit... " >&6; }
16993if ${ac_cv_lib_edit_readline+:} false; then :
16994  $as_echo_n "(cached) " >&6
16995else
16996  ac_check_lib_save_LIBS=$LIBS
16997LIBS="-ledit  $LIBS"
16998cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999/* end confdefs.h.  */
17000
17001/* Override any GCC internal prototype to avoid an error.
17002   Use char because int might match the return type of a GCC
17003   builtin and then its argument prototype would still apply.  */
17004#ifdef __cplusplus
17005extern "C"
17006#endif
17007char readline ();
17008int
17009main ()
17010{
17011return readline ();
17012  ;
17013  return 0;
17014}
17015_ACEOF
17016if ac_fn_c_try_link "$LINENO"; then :
17017  ac_cv_lib_edit_readline=yes
17018else
17019  ac_cv_lib_edit_readline=no
17020fi
17021rm -f core conftest.err conftest.$ac_objext \
17022    conftest$ac_exeext conftest.$ac_ext
17023LIBS=$ac_check_lib_save_LIBS
17024fi
17025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_readline" >&5
17026$as_echo "$ac_cv_lib_edit_readline" >&6; }
17027if test "x$ac_cv_lib_edit_readline" = xyes; then :
17028  LIBEDIT="-ledit"
17029fi
17030
17031fi
17032
17033# This facilitates -ansi builds under Linux
17034
17035PCRE_STATIC_CFLAG=""
17036if test "x$enable_shared" = "xno" ; then
17037
17038$as_echo "#define PCRE_STATIC 1" >>confdefs.h
17039
17040  PCRE_STATIC_CFLAG="-DPCRE_STATIC"
17041fi
17042
17043
17044# Here is where pcre specific defines are handled
17045
17046if test "$enable_pcre8" = "yes"; then
17047
17048$as_echo "#define SUPPORT_PCRE8 /**/" >>confdefs.h
17049
17050fi
17051
17052if test "$enable_pcre16" = "yes"; then
17053
17054$as_echo "#define SUPPORT_PCRE16 /**/" >>confdefs.h
17055
17056fi
17057
17058if test "$enable_jit" = "yes"; then
17059
17060$as_echo "#define SUPPORT_JIT /**/" >>confdefs.h
17061
17062else
17063  enable_pcregrep_jit="no"
17064fi
17065
17066if test "$enable_pcregrep_jit" = "yes"; then
17067
17068$as_echo "#define SUPPORT_PCREGREP_JIT /**/" >>confdefs.h
17069
17070fi
17071
17072if test "$enable_utf" = "yes"; then
17073
17074$as_echo "#define SUPPORT_UTF /**/" >>confdefs.h
17075
17076fi
17077
17078if test "$enable_unicode_properties" = "yes"; then
17079
17080$as_echo "#define SUPPORT_UCP /**/" >>confdefs.h
17081
17082fi
17083
17084if test "$enable_stack_for_recursion" = "no"; then
17085
17086$as_echo "#define NO_RECURSE /**/" >>confdefs.h
17087
17088fi
17089
17090if test "$enable_pcregrep_libz" = "yes"; then
17091
17092$as_echo "#define SUPPORT_LIBZ /**/" >>confdefs.h
17093
17094fi
17095
17096if test "$enable_pcregrep_libbz2" = "yes"; then
17097
17098$as_echo "#define SUPPORT_LIBBZ2 /**/" >>confdefs.h
17099
17100fi
17101
17102if test $with_pcregrep_bufsize -lt 8192 ; then
17103  with_pcregrep_bufsize="8192"
17104fi
17105
17106
17107cat >>confdefs.h <<_ACEOF
17108#define PCREGREP_BUFSIZE $with_pcregrep_bufsize
17109_ACEOF
17110
17111
17112if test "$enable_pcretest_libedit" = "yes"; then
17113
17114$as_echo "#define SUPPORT_LIBEDIT /**/" >>confdefs.h
17115
17116  LIBREADLINE="$LIBEDIT"
17117elif test "$enable_pcretest_libreadline" = "yes"; then
17118
17119$as_echo "#define SUPPORT_LIBREADLINE /**/" >>confdefs.h
17120
17121fi
17122
17123
17124cat >>confdefs.h <<_ACEOF
17125#define NEWLINE $ac_pcre_newline_value
17126_ACEOF
17127
17128
17129if test "$enable_bsr_anycrlf" = "yes"; then
17130
17131$as_echo "#define BSR_ANYCRLF /**/" >>confdefs.h
17132
17133fi
17134
17135
17136cat >>confdefs.h <<_ACEOF
17137#define LINK_SIZE $with_link_size
17138_ACEOF
17139
17140
17141
17142cat >>confdefs.h <<_ACEOF
17143#define POSIX_MALLOC_THRESHOLD $with_posix_malloc_threshold
17144_ACEOF
17145
17146
17147
17148cat >>confdefs.h <<_ACEOF
17149#define MATCH_LIMIT $with_match_limit
17150_ACEOF
17151
17152
17153
17154cat >>confdefs.h <<_ACEOF
17155#define MATCH_LIMIT_RECURSION $with_match_limit_recursion
17156_ACEOF
17157
17158
17159
17160$as_echo "#define MAX_NAME_SIZE 32" >>confdefs.h
17161
17162
17163
17164$as_echo "#define MAX_NAME_COUNT 10000" >>confdefs.h
17165
17166
17167
17168
17169if test "$enable_ebcdic" = "yes"; then
17170
17171cat >>confdefs.h <<_ACEOF
17172#define EBCDIC /**/
17173_ACEOF
17174
17175fi
17176
17177# Platform specific issues
17178NO_UNDEFINED=
17179EXPORT_ALL_SYMBOLS=
17180case $host_os in
17181  cygwin* | mingw* )
17182    if test X"$enable_shared" = Xyes; then
17183      NO_UNDEFINED="-no-undefined"
17184      EXPORT_ALL_SYMBOLS="-Wl,--export-all-symbols"
17185    fi
17186    ;;
17187esac
17188
17189# The extra LDFLAGS for each particular library
17190# (Note: The libpcre*_version bits are m4 variables, assigned above)
17191
17192EXTRA_LIBPCRE_LDFLAGS="$EXTRA_LIBPCRE_LDFLAGS \
17193                       $NO_UNDEFINED -version-info 1:1:0"
17194
17195EXTRA_LIBPCRE16_LDFLAGS="$EXTRA_LIBPCRE16_LDFLAGS \
17196                       $NO_UNDEFINED -version-info 0:1:0"
17197
17198EXTRA_LIBPCREPOSIX_LDFLAGS="$EXTRA_LIBPCREPOSIX_LDFLAGS \
17199                            $NO_UNDEFINED -version-info 0:1:0"
17200
17201EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS \
17202                          $NO_UNDEFINED -version-info 0:0:0 \
17203                          $EXPORT_ALL_SYMBOLS"
17204
17205
17206
17207
17208
17209
17210# When we run 'make distcheck', use these arguments. Turning off compiler
17211# optimization makes it run faster.
17212DISTCHECK_CONFIGURE_FLAGS="CFLAGS='' CXXFLAGS='' --enable-pcre16 --enable-jit --enable-cpp --enable-unicode-properties"
17213
17214
17215# Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is
17216# specified, the relevant library is available.
17217
17218if test "$enable_pcregrep_libz" = "yes"; then
17219  if test "$HAVE_ZLIB_H" != "1"; then
17220    echo "** Cannot --enable-pcregrep-libz because zlib.h was not found"
17221    exit 1
17222  fi
17223  if test "$HAVE_LIBZ" != "1"; then
17224    echo "** Cannot --enable-pcregrep-libz because libz was not found"
17225    exit 1
17226  fi
17227  LIBZ="-lz"
17228fi
17229
17230
17231if test "$enable_pcregrep_libbz2" = "yes"; then
17232  if test "$HAVE_BZLIB_H" != "1"; then
17233    echo "** Cannot --enable-pcregrep-libbz2 because bzlib.h was not found"
17234    exit 1
17235  fi
17236  if test "$HAVE_LIBBZ2" != "1"; then
17237    echo "** Cannot --enable-pcregrep-libbz2 because libbz2 was not found"
17238    exit 1
17239  fi
17240  LIBBZ2="-lbz2"
17241fi
17242
17243
17244# Similarly for --enable-pcretest-readline
17245
17246if test "$enable_pcretest_libedit" = "yes"; then
17247  if test "$enable_pcretest_libreadline" = "yes"; then
17248    echo "** Cannot use both --enable-pcretest-libedit and --enable-pcretest-readline"
17249    exit 1
17250  fi
17251  if test "$HAVE_EDITLINE_READLINE_H" != "1" -a \
17252          "$HAVE_READLINE_READLINE_H" != "1"; then
17253    echo "** Cannot --enable-pcretest-libedit because neither editline/readline.h"
17254    echo "** nor readline/readline.h was found."
17255    exit 1
17256  fi
17257  if test -z "$LIBEDIT"; then
17258    echo "** Cannot --enable-pcretest-libedit because libedit library was not found."
17259    exit 1
17260  fi
17261fi
17262
17263if test "$enable_pcretest_libreadline" = "yes"; then
17264  if test "$HAVE_READLINE_H" != "1"; then
17265    echo "** Cannot --enable-pcretest-readline because readline/readline.h was not found."
17266    exit 1
17267  fi
17268  if test "$HAVE_HISTORY_H" != "1"; then
17269    echo "** Cannot --enable-pcretest-readline because readline/history.h was not found."
17270    exit 1
17271  fi
17272  if test -z "$LIBREADLINE"; then
17273    echo "** Cannot --enable-pcretest-readline because readline library was not found."
17274    exit 1
17275  fi
17276fi
17277
17278# Produce these files, in addition to config.h.
17279ac_config_files="$ac_config_files Makefile libpcre.pc libpcre16.pc libpcreposix.pc libpcrecpp.pc pcre-config pcre.h pcre_stringpiece.h pcrecpparg.h"
17280
17281
17282# Make the generated script files executable.
17283ac_config_commands="$ac_config_commands script-chmod"
17284
17285
17286# Make sure that pcre_chartables.c is removed in case the method for
17287# creating it was changed by reconfiguration.
17288ac_config_commands="$ac_config_commands delete-old-chartables"
17289
17290
17291cat >confcache <<\_ACEOF
17292# This file is a shell script that caches the results of configure
17293# tests run on this system so they can be shared between configure
17294# scripts and configure runs, see configure's option --config-cache.
17295# It is not useful on other systems.  If it contains results you don't
17296# want to keep, you may remove or edit it.
17297#
17298# config.status only pays attention to the cache file if you give it
17299# the --recheck option to rerun configure.
17300#
17301# `ac_cv_env_foo' variables (set or unset) will be overridden when
17302# loading this file, other *unset* `ac_cv_foo' will be assigned the
17303# following values.
17304
17305_ACEOF
17306
17307# The following way of writing the cache mishandles newlines in values,
17308# but we know of no workaround that is simple, portable, and efficient.
17309# So, we kill variables containing newlines.
17310# Ultrix sh set writes to stderr and can't be redirected directly,
17311# and sets the high bit in the cache file unless we assign to the vars.
17312(
17313  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17314    eval ac_val=\$$ac_var
17315    case $ac_val in #(
17316    *${as_nl}*)
17317      case $ac_var in #(
17318      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17319$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17320      esac
17321      case $ac_var in #(
17322      _ | IFS | as_nl) ;; #(
17323      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17324      *) { eval $ac_var=; unset $ac_var;} ;;
17325      esac ;;
17326    esac
17327  done
17328
17329  (set) 2>&1 |
17330    case $as_nl`(ac_space=' '; set) 2>&1` in #(
17331    *${as_nl}ac_space=\ *)
17332      # `set' does not quote correctly, so add quotes: double-quote
17333      # substitution turns \\\\ into \\, and sed turns \\ into \.
17334      sed -n \
17335	"s/'/'\\\\''/g;
17336	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17337      ;; #(
17338    *)
17339      # `set' quotes correctly as required by POSIX, so do not add quotes.
17340      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17341      ;;
17342    esac |
17343    sort
17344) |
17345  sed '
17346     /^ac_cv_env_/b end
17347     t clear
17348     :clear
17349     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17350     t end
17351     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17352     :end' >>confcache
17353if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17354  if test -w "$cache_file"; then
17355    if test "x$cache_file" != "x/dev/null"; then
17356      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17357$as_echo "$as_me: updating cache $cache_file" >&6;}
17358      if test ! -f "$cache_file" || test -h "$cache_file"; then
17359	cat confcache >"$cache_file"
17360      else
17361        case $cache_file in #(
17362        */* | ?:*)
17363	  mv -f confcache "$cache_file"$$ &&
17364	  mv -f "$cache_file"$$ "$cache_file" ;; #(
17365        *)
17366	  mv -f confcache "$cache_file" ;;
17367	esac
17368      fi
17369    fi
17370  else
17371    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17372$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17373  fi
17374fi
17375rm -f confcache
17376
17377test "x$prefix" = xNONE && prefix=$ac_default_prefix
17378# Let make expand exec_prefix.
17379test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17380
17381DEFS=-DHAVE_CONFIG_H
17382
17383ac_libobjs=
17384ac_ltlibobjs=
17385U=
17386for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17387  # 1. Remove the extension, and $U if already installed.
17388  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17389  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17390  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17391  #    will be set to the directory where LIBOBJS objects are built.
17392  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17393  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17394done
17395LIBOBJS=$ac_libobjs
17396
17397LTLIBOBJS=$ac_ltlibobjs
17398
17399
17400 if test -n "$EXEEXT"; then
17401  am__EXEEXT_TRUE=
17402  am__EXEEXT_FALSE='#'
17403else
17404  am__EXEEXT_TRUE='#'
17405  am__EXEEXT_FALSE=
17406fi
17407
17408if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17409  as_fn_error $? "conditional \"AMDEP\" was never defined.
17410Usually this means the macro was only invoked conditionally." "$LINENO" 5
17411fi
17412if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17413  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17414Usually this means the macro was only invoked conditionally." "$LINENO" 5
17415fi
17416if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17417  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17418Usually this means the macro was only invoked conditionally." "$LINENO" 5
17419fi
17420if test -z "${WITH_PCRE8_TRUE}" && test -z "${WITH_PCRE8_FALSE}"; then
17421  as_fn_error $? "conditional \"WITH_PCRE8\" was never defined.
17422Usually this means the macro was only invoked conditionally." "$LINENO" 5
17423fi
17424if test -z "${WITH_PCRE16_TRUE}" && test -z "${WITH_PCRE16_FALSE}"; then
17425  as_fn_error $? "conditional \"WITH_PCRE16\" was never defined.
17426Usually this means the macro was only invoked conditionally." "$LINENO" 5
17427fi
17428if test -z "${WITH_PCRE_CPP_TRUE}" && test -z "${WITH_PCRE_CPP_FALSE}"; then
17429  as_fn_error $? "conditional \"WITH_PCRE_CPP\" was never defined.
17430Usually this means the macro was only invoked conditionally." "$LINENO" 5
17431fi
17432if test -z "${WITH_REBUILD_CHARTABLES_TRUE}" && test -z "${WITH_REBUILD_CHARTABLES_FALSE}"; then
17433  as_fn_error $? "conditional \"WITH_REBUILD_CHARTABLES\" was never defined.
17434Usually this means the macro was only invoked conditionally." "$LINENO" 5
17435fi
17436if test -z "${WITH_JIT_TRUE}" && test -z "${WITH_JIT_FALSE}"; then
17437  as_fn_error $? "conditional \"WITH_JIT\" was never defined.
17438Usually this means the macro was only invoked conditionally." "$LINENO" 5
17439fi
17440if test -z "${WITH_UTF_TRUE}" && test -z "${WITH_UTF_FALSE}"; then
17441  as_fn_error $? "conditional \"WITH_UTF\" was never defined.
17442Usually this means the macro was only invoked conditionally." "$LINENO" 5
17443fi
17444
17445: "${CONFIG_STATUS=./config.status}"
17446ac_write_fail=0
17447ac_clean_files_save=$ac_clean_files
17448ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17449{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17450$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17451as_write_fail=0
17452cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17453#! $SHELL
17454# Generated by $as_me.
17455# Run this file to recreate the current configuration.
17456# Compiler output produced by configure, useful for debugging
17457# configure, is in config.log if it exists.
17458
17459debug=false
17460ac_cs_recheck=false
17461ac_cs_silent=false
17462
17463SHELL=\${CONFIG_SHELL-$SHELL}
17464export SHELL
17465_ASEOF
17466cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17467## -------------------- ##
17468## M4sh Initialization. ##
17469## -------------------- ##
17470
17471# Be more Bourne compatible
17472DUALCASE=1; export DUALCASE # for MKS sh
17473if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17474  emulate sh
17475  NULLCMD=:
17476  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17477  # is contrary to our usage.  Disable this feature.
17478  alias -g '${1+"$@"}'='"$@"'
17479  setopt NO_GLOB_SUBST
17480else
17481  case `(set -o) 2>/dev/null` in #(
17482  *posix*) :
17483    set -o posix ;; #(
17484  *) :
17485     ;;
17486esac
17487fi
17488
17489
17490as_nl='
17491'
17492export as_nl
17493# Printing a long string crashes Solaris 7 /usr/bin/printf.
17494as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17495as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17496as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17497# Prefer a ksh shell builtin over an external printf program on Solaris,
17498# but without wasting forks for bash or zsh.
17499if test -z "$BASH_VERSION$ZSH_VERSION" \
17500    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17501  as_echo='print -r --'
17502  as_echo_n='print -rn --'
17503elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17504  as_echo='printf %s\n'
17505  as_echo_n='printf %s'
17506else
17507  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17508    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17509    as_echo_n='/usr/ucb/echo -n'
17510  else
17511    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17512    as_echo_n_body='eval
17513      arg=$1;
17514      case $arg in #(
17515      *"$as_nl"*)
17516	expr "X$arg" : "X\\(.*\\)$as_nl";
17517	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17518      esac;
17519      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17520    '
17521    export as_echo_n_body
17522    as_echo_n='sh -c $as_echo_n_body as_echo'
17523  fi
17524  export as_echo_body
17525  as_echo='sh -c $as_echo_body as_echo'
17526fi
17527
17528# The user is always right.
17529if test "${PATH_SEPARATOR+set}" != set; then
17530  PATH_SEPARATOR=:
17531  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17532    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17533      PATH_SEPARATOR=';'
17534  }
17535fi
17536
17537
17538# IFS
17539# We need space, tab and new line, in precisely that order.  Quoting is
17540# there to prevent editors from complaining about space-tab.
17541# (If _AS_PATH_WALK were called with IFS unset, it would disable word
17542# splitting by setting IFS to empty value.)
17543IFS=" ""	$as_nl"
17544
17545# Find who we are.  Look in the path if we contain no directory separator.
17546as_myself=
17547case $0 in #((
17548  *[\\/]* ) as_myself=$0 ;;
17549  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17550for as_dir in $PATH
17551do
17552  IFS=$as_save_IFS
17553  test -z "$as_dir" && as_dir=.
17554    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17555  done
17556IFS=$as_save_IFS
17557
17558     ;;
17559esac
17560# We did not find ourselves, most probably we were run as `sh COMMAND'
17561# in which case we are not to be found in the path.
17562if test "x$as_myself" = x; then
17563  as_myself=$0
17564fi
17565if test ! -f "$as_myself"; then
17566  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17567  exit 1
17568fi
17569
17570# Unset variables that we do not need and which cause bugs (e.g. in
17571# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17572# suppresses any "Segmentation fault" message there.  '((' could
17573# trigger a bug in pdksh 5.2.14.
17574for as_var in BASH_ENV ENV MAIL MAILPATH
17575do eval test x\${$as_var+set} = xset \
17576  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17577done
17578PS1='$ '
17579PS2='> '
17580PS4='+ '
17581
17582# NLS nuisances.
17583LC_ALL=C
17584export LC_ALL
17585LANGUAGE=C
17586export LANGUAGE
17587
17588# CDPATH.
17589(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17590
17591
17592# as_fn_error STATUS ERROR [LINENO LOG_FD]
17593# ----------------------------------------
17594# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17595# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17596# script with STATUS, using 1 if that was 0.
17597as_fn_error ()
17598{
17599  as_status=$1; test $as_status -eq 0 && as_status=1
17600  if test "$4"; then
17601    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17602    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17603  fi
17604  $as_echo "$as_me: error: $2" >&2
17605  as_fn_exit $as_status
17606} # as_fn_error
17607
17608
17609# as_fn_set_status STATUS
17610# -----------------------
17611# Set $? to STATUS, without forking.
17612as_fn_set_status ()
17613{
17614  return $1
17615} # as_fn_set_status
17616
17617# as_fn_exit STATUS
17618# -----------------
17619# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17620as_fn_exit ()
17621{
17622  set +e
17623  as_fn_set_status $1
17624  exit $1
17625} # as_fn_exit
17626
17627# as_fn_unset VAR
17628# ---------------
17629# Portably unset VAR.
17630as_fn_unset ()
17631{
17632  { eval $1=; unset $1;}
17633}
17634as_unset=as_fn_unset
17635# as_fn_append VAR VALUE
17636# ----------------------
17637# Append the text in VALUE to the end of the definition contained in VAR. Take
17638# advantage of any shell optimizations that allow amortized linear growth over
17639# repeated appends, instead of the typical quadratic growth present in naive
17640# implementations.
17641if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17642  eval 'as_fn_append ()
17643  {
17644    eval $1+=\$2
17645  }'
17646else
17647  as_fn_append ()
17648  {
17649    eval $1=\$$1\$2
17650  }
17651fi # as_fn_append
17652
17653# as_fn_arith ARG...
17654# ------------------
17655# Perform arithmetic evaluation on the ARGs, and store the result in the
17656# global $as_val. Take advantage of shells that can avoid forks. The arguments
17657# must be portable across $(()) and expr.
17658if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17659  eval 'as_fn_arith ()
17660  {
17661    as_val=$(( $* ))
17662  }'
17663else
17664  as_fn_arith ()
17665  {
17666    as_val=`expr "$@" || test $? -eq 1`
17667  }
17668fi # as_fn_arith
17669
17670
17671if expr a : '\(a\)' >/dev/null 2>&1 &&
17672   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17673  as_expr=expr
17674else
17675  as_expr=false
17676fi
17677
17678if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17679  as_basename=basename
17680else
17681  as_basename=false
17682fi
17683
17684if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17685  as_dirname=dirname
17686else
17687  as_dirname=false
17688fi
17689
17690as_me=`$as_basename -- "$0" ||
17691$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17692	 X"$0" : 'X\(//\)$' \| \
17693	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17694$as_echo X/"$0" |
17695    sed '/^.*\/\([^/][^/]*\)\/*$/{
17696	    s//\1/
17697	    q
17698	  }
17699	  /^X\/\(\/\/\)$/{
17700	    s//\1/
17701	    q
17702	  }
17703	  /^X\/\(\/\).*/{
17704	    s//\1/
17705	    q
17706	  }
17707	  s/.*/./; q'`
17708
17709# Avoid depending upon Character Ranges.
17710as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17711as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17712as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17713as_cr_digits='0123456789'
17714as_cr_alnum=$as_cr_Letters$as_cr_digits
17715
17716ECHO_C= ECHO_N= ECHO_T=
17717case `echo -n x` in #(((((
17718-n*)
17719  case `echo 'xy\c'` in
17720  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
17721  xy)  ECHO_C='\c';;
17722  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17723       ECHO_T='	';;
17724  esac;;
17725*)
17726  ECHO_N='-n';;
17727esac
17728
17729rm -f conf$$ conf$$.exe conf$$.file
17730if test -d conf$$.dir; then
17731  rm -f conf$$.dir/conf$$.file
17732else
17733  rm -f conf$$.dir
17734  mkdir conf$$.dir 2>/dev/null
17735fi
17736if (echo >conf$$.file) 2>/dev/null; then
17737  if ln -s conf$$.file conf$$ 2>/dev/null; then
17738    as_ln_s='ln -s'
17739    # ... but there are two gotchas:
17740    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17741    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17742    # In both cases, we have to default to `cp -p'.
17743    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17744      as_ln_s='cp -p'
17745  elif ln conf$$.file conf$$ 2>/dev/null; then
17746    as_ln_s=ln
17747  else
17748    as_ln_s='cp -p'
17749  fi
17750else
17751  as_ln_s='cp -p'
17752fi
17753rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17754rmdir conf$$.dir 2>/dev/null
17755
17756
17757# as_fn_mkdir_p
17758# -------------
17759# Create "$as_dir" as a directory, including parents if necessary.
17760as_fn_mkdir_p ()
17761{
17762
17763  case $as_dir in #(
17764  -*) as_dir=./$as_dir;;
17765  esac
17766  test -d "$as_dir" || eval $as_mkdir_p || {
17767    as_dirs=
17768    while :; do
17769      case $as_dir in #(
17770      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17771      *) as_qdir=$as_dir;;
17772      esac
17773      as_dirs="'$as_qdir' $as_dirs"
17774      as_dir=`$as_dirname -- "$as_dir" ||
17775$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17776	 X"$as_dir" : 'X\(//\)[^/]' \| \
17777	 X"$as_dir" : 'X\(//\)$' \| \
17778	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17779$as_echo X"$as_dir" |
17780    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17781	    s//\1/
17782	    q
17783	  }
17784	  /^X\(\/\/\)[^/].*/{
17785	    s//\1/
17786	    q
17787	  }
17788	  /^X\(\/\/\)$/{
17789	    s//\1/
17790	    q
17791	  }
17792	  /^X\(\/\).*/{
17793	    s//\1/
17794	    q
17795	  }
17796	  s/.*/./; q'`
17797      test -d "$as_dir" && break
17798    done
17799    test -z "$as_dirs" || eval "mkdir $as_dirs"
17800  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17801
17802
17803} # as_fn_mkdir_p
17804if mkdir -p . 2>/dev/null; then
17805  as_mkdir_p='mkdir -p "$as_dir"'
17806else
17807  test -d ./-p && rmdir ./-p
17808  as_mkdir_p=false
17809fi
17810
17811if test -x / >/dev/null 2>&1; then
17812  as_test_x='test -x'
17813else
17814  if ls -dL / >/dev/null 2>&1; then
17815    as_ls_L_option=L
17816  else
17817    as_ls_L_option=
17818  fi
17819  as_test_x='
17820    eval sh -c '\''
17821      if test -d "$1"; then
17822	test -d "$1/.";
17823      else
17824	case $1 in #(
17825	-*)set "./$1";;
17826	esac;
17827	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17828	???[sx]*):;;*)false;;esac;fi
17829    '\'' sh
17830  '
17831fi
17832as_executable_p=$as_test_x
17833
17834# Sed expression to map a string onto a valid CPP name.
17835as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17836
17837# Sed expression to map a string onto a valid variable name.
17838as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17839
17840
17841exec 6>&1
17842## ----------------------------------- ##
17843## Main body of $CONFIG_STATUS script. ##
17844## ----------------------------------- ##
17845_ASEOF
17846test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17847
17848cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17849# Save the log message, to keep $0 and so on meaningful, and to
17850# report actual input values of CONFIG_FILES etc. instead of their
17851# values after options handling.
17852ac_log="
17853This file was extended by PCRE $as_me 8.31, which was
17854generated by GNU Autoconf 2.68.  Invocation command line was
17855
17856  CONFIG_FILES    = $CONFIG_FILES
17857  CONFIG_HEADERS  = $CONFIG_HEADERS
17858  CONFIG_LINKS    = $CONFIG_LINKS
17859  CONFIG_COMMANDS = $CONFIG_COMMANDS
17860  $ $0 $@
17861
17862on `(hostname || uname -n) 2>/dev/null | sed 1q`
17863"
17864
17865_ACEOF
17866
17867case $ac_config_files in *"
17868"*) set x $ac_config_files; shift; ac_config_files=$*;;
17869esac
17870
17871case $ac_config_headers in *"
17872"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17873esac
17874
17875
17876cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17877# Files that config.status was made for.
17878config_files="$ac_config_files"
17879config_headers="$ac_config_headers"
17880config_commands="$ac_config_commands"
17881
17882_ACEOF
17883
17884cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17885ac_cs_usage="\
17886\`$as_me' instantiates files and other configuration actions
17887from templates according to the current configuration.  Unless the files
17888and actions are specified as TAGs, all are instantiated by default.
17889
17890Usage: $0 [OPTION]... [TAG]...
17891
17892  -h, --help       print this help, then exit
17893  -V, --version    print version number and configuration settings, then exit
17894      --config     print configuration, then exit
17895  -q, --quiet, --silent
17896                   do not print progress messages
17897  -d, --debug      don't remove temporary files
17898      --recheck    update $as_me by reconfiguring in the same conditions
17899      --file=FILE[:TEMPLATE]
17900                   instantiate the configuration file FILE
17901      --header=FILE[:TEMPLATE]
17902                   instantiate the configuration header FILE
17903
17904Configuration files:
17905$config_files
17906
17907Configuration headers:
17908$config_headers
17909
17910Configuration commands:
17911$config_commands
17912
17913Report bugs to the package provider."
17914
17915_ACEOF
17916cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17917ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17918ac_cs_version="\\
17919PCRE config.status 8.31
17920configured by $0, generated by GNU Autoconf 2.68,
17921  with options \\"\$ac_cs_config\\"
17922
17923Copyright (C) 2010 Free Software Foundation, Inc.
17924This config.status script is free software; the Free Software Foundation
17925gives unlimited permission to copy, distribute and modify it."
17926
17927ac_pwd='$ac_pwd'
17928srcdir='$srcdir'
17929INSTALL='$INSTALL'
17930MKDIR_P='$MKDIR_P'
17931AWK='$AWK'
17932test -n "\$AWK" || AWK=awk
17933_ACEOF
17934
17935cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17936# The default lists apply if the user does not specify any file.
17937ac_need_defaults=:
17938while test $# != 0
17939do
17940  case $1 in
17941  --*=?*)
17942    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17943    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17944    ac_shift=:
17945    ;;
17946  --*=)
17947    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17948    ac_optarg=
17949    ac_shift=:
17950    ;;
17951  *)
17952    ac_option=$1
17953    ac_optarg=$2
17954    ac_shift=shift
17955    ;;
17956  esac
17957
17958  case $ac_option in
17959  # Handling of the options.
17960  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17961    ac_cs_recheck=: ;;
17962  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17963    $as_echo "$ac_cs_version"; exit ;;
17964  --config | --confi | --conf | --con | --co | --c )
17965    $as_echo "$ac_cs_config"; exit ;;
17966  --debug | --debu | --deb | --de | --d | -d )
17967    debug=: ;;
17968  --file | --fil | --fi | --f )
17969    $ac_shift
17970    case $ac_optarg in
17971    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17972    '') as_fn_error $? "missing file argument" ;;
17973    esac
17974    as_fn_append CONFIG_FILES " '$ac_optarg'"
17975    ac_need_defaults=false;;
17976  --header | --heade | --head | --hea )
17977    $ac_shift
17978    case $ac_optarg in
17979    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17980    esac
17981    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17982    ac_need_defaults=false;;
17983  --he | --h)
17984    # Conflict between --help and --header
17985    as_fn_error $? "ambiguous option: \`$1'
17986Try \`$0 --help' for more information.";;
17987  --help | --hel | -h )
17988    $as_echo "$ac_cs_usage"; exit ;;
17989  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17990  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17991    ac_cs_silent=: ;;
17992
17993  # This is an error.
17994  -*) as_fn_error $? "unrecognized option: \`$1'
17995Try \`$0 --help' for more information." ;;
17996
17997  *) as_fn_append ac_config_targets " $1"
17998     ac_need_defaults=false ;;
17999
18000  esac
18001  shift
18002done
18003
18004ac_configure_extra_args=
18005
18006if $ac_cs_silent; then
18007  exec 6>/dev/null
18008  ac_configure_extra_args="$ac_configure_extra_args --silent"
18009fi
18010
18011_ACEOF
18012cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18013if \$ac_cs_recheck; then
18014  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18015  shift
18016  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18017  CONFIG_SHELL='$SHELL'
18018  export CONFIG_SHELL
18019  exec "\$@"
18020fi
18021
18022_ACEOF
18023cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18024exec 5>>config.log
18025{
18026  echo
18027  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18028## Running $as_me. ##
18029_ASBOX
18030  $as_echo "$ac_log"
18031} >&5
18032
18033_ACEOF
18034cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18035#
18036# INIT-COMMANDS
18037#
18038AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18039
18040
18041# The HP-UX ksh and POSIX shell print the target directory to stdout
18042# if CDPATH is set.
18043(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18044
18045sed_quote_subst='$sed_quote_subst'
18046double_quote_subst='$double_quote_subst'
18047delay_variable_subst='$delay_variable_subst'
18048AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18049DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18050OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18051macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18052macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18053enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18054enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18055pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18056enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18057SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18058ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18059host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18060host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18061host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18062build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18063build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18064build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18065SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18066Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18067GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18068EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18069FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18070LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18071NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18072LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18073max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18074ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18075exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18076lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18077lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18078lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18079lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18080lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18081reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18082reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18083deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18084file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18085file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18086want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18087sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18088AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18089AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18090archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18091STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18092RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18093old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18094old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18095old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18096lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18097CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18098CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18099compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18100GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18101lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18102lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18103lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18104lt_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"`'
18105nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18106lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18107objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18108MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18109lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18110lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18111lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18112lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18113lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18114need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18115MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18116DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18117NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18118LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18119OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18120OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18121libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18122shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18123extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18124archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18125enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18126export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18127whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18128compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18129old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18130old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18131archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18132archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18133module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18134module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18135with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18136allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18137no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18138hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18139hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18140hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18141hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18142hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18143hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18144hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18145hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18146inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18147link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18148always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18149export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18150exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18151include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18152prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18153postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18154file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18155variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18156need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18157need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18158version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18159runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18160shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18161shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18162libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18163library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18164soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18165install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18166postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18167postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18168finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18169finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18170hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18171sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18172sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18173hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18174enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18175enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18176enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18177old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18178striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18179compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18180predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18181postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18182predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18183postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18184compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18185LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18186reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18187reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18188old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18189compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18190GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18191lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18192lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18193lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18194lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18195lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18196archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18197enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18198export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18199whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18200compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18201old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18202old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18203archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18204archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18205module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18206module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18207with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18208allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18209no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18210hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18211hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18212hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18213hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18214hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18215hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18216hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18217hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18218inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18219link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18220always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18221export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18222exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18223include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18224prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18225postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18226file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18227hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18228compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18229predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18230postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18231predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18232postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18233compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18234
18235LTCC='$LTCC'
18236LTCFLAGS='$LTCFLAGS'
18237compiler='$compiler_DEFAULT'
18238
18239# A function that is used when there is no print builtin or printf.
18240func_fallback_echo ()
18241{
18242  eval 'cat <<_LTECHO_EOF
18243\$1
18244_LTECHO_EOF'
18245}
18246
18247# Quote evaled strings.
18248for var in AS \
18249DLLTOOL \
18250OBJDUMP \
18251SHELL \
18252ECHO \
18253SED \
18254GREP \
18255EGREP \
18256FGREP \
18257LD \
18258NM \
18259LN_S \
18260lt_SP2NL \
18261lt_NL2SP \
18262reload_flag \
18263deplibs_check_method \
18264file_magic_cmd \
18265file_magic_glob \
18266want_nocaseglob \
18267sharedlib_from_linklib_cmd \
18268AR \
18269AR_FLAGS \
18270archiver_list_spec \
18271STRIP \
18272RANLIB \
18273CC \
18274CFLAGS \
18275compiler \
18276lt_cv_sys_global_symbol_pipe \
18277lt_cv_sys_global_symbol_to_cdecl \
18278lt_cv_sys_global_symbol_to_c_name_address \
18279lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18280nm_file_list_spec \
18281lt_prog_compiler_no_builtin_flag \
18282lt_prog_compiler_pic \
18283lt_prog_compiler_wl \
18284lt_prog_compiler_static \
18285lt_cv_prog_compiler_c_o \
18286need_locks \
18287MANIFEST_TOOL \
18288DSYMUTIL \
18289NMEDIT \
18290LIPO \
18291OTOOL \
18292OTOOL64 \
18293shrext_cmds \
18294export_dynamic_flag_spec \
18295whole_archive_flag_spec \
18296compiler_needs_object \
18297with_gnu_ld \
18298allow_undefined_flag \
18299no_undefined_flag \
18300hardcode_libdir_flag_spec \
18301hardcode_libdir_flag_spec_ld \
18302hardcode_libdir_separator \
18303exclude_expsyms \
18304include_expsyms \
18305file_list_spec \
18306variables_saved_for_relink \
18307libname_spec \
18308library_names_spec \
18309soname_spec \
18310install_override_mode \
18311finish_eval \
18312old_striplib \
18313striplib \
18314compiler_lib_search_dirs \
18315predep_objects \
18316postdep_objects \
18317predeps \
18318postdeps \
18319compiler_lib_search_path \
18320LD_CXX \
18321reload_flag_CXX \
18322compiler_CXX \
18323lt_prog_compiler_no_builtin_flag_CXX \
18324lt_prog_compiler_pic_CXX \
18325lt_prog_compiler_wl_CXX \
18326lt_prog_compiler_static_CXX \
18327lt_cv_prog_compiler_c_o_CXX \
18328export_dynamic_flag_spec_CXX \
18329whole_archive_flag_spec_CXX \
18330compiler_needs_object_CXX \
18331with_gnu_ld_CXX \
18332allow_undefined_flag_CXX \
18333no_undefined_flag_CXX \
18334hardcode_libdir_flag_spec_CXX \
18335hardcode_libdir_flag_spec_ld_CXX \
18336hardcode_libdir_separator_CXX \
18337exclude_expsyms_CXX \
18338include_expsyms_CXX \
18339file_list_spec_CXX \
18340compiler_lib_search_dirs_CXX \
18341predep_objects_CXX \
18342postdep_objects_CXX \
18343predeps_CXX \
18344postdeps_CXX \
18345compiler_lib_search_path_CXX; do
18346    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18347    *[\\\\\\\`\\"\\\$]*)
18348      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18349      ;;
18350    *)
18351      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18352      ;;
18353    esac
18354done
18355
18356# Double-quote double-evaled strings.
18357for var in reload_cmds \
18358old_postinstall_cmds \
18359old_postuninstall_cmds \
18360old_archive_cmds \
18361extract_expsyms_cmds \
18362old_archive_from_new_cmds \
18363old_archive_from_expsyms_cmds \
18364archive_cmds \
18365archive_expsym_cmds \
18366module_cmds \
18367module_expsym_cmds \
18368export_symbols_cmds \
18369prelink_cmds \
18370postlink_cmds \
18371postinstall_cmds \
18372postuninstall_cmds \
18373finish_cmds \
18374sys_lib_search_path_spec \
18375sys_lib_dlsearch_path_spec \
18376reload_cmds_CXX \
18377old_archive_cmds_CXX \
18378old_archive_from_new_cmds_CXX \
18379old_archive_from_expsyms_cmds_CXX \
18380archive_cmds_CXX \
18381archive_expsym_cmds_CXX \
18382module_cmds_CXX \
18383module_expsym_cmds_CXX \
18384export_symbols_cmds_CXX \
18385prelink_cmds_CXX \
18386postlink_cmds_CXX; do
18387    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18388    *[\\\\\\\`\\"\\\$]*)
18389      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18390      ;;
18391    *)
18392      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18393      ;;
18394    esac
18395done
18396
18397ac_aux_dir='$ac_aux_dir'
18398xsi_shell='$xsi_shell'
18399lt_shell_append='$lt_shell_append'
18400
18401# See if we are running on zsh, and set the options which allow our
18402# commands through without removal of \ escapes INIT.
18403if test -n "\${ZSH_VERSION+set}" ; then
18404   setopt NO_GLOB_SUBST
18405fi
18406
18407
18408    PACKAGE='$PACKAGE'
18409    VERSION='$VERSION'
18410    TIMESTAMP='$TIMESTAMP'
18411    RM='$RM'
18412    ofile='$ofile'
18413
18414
18415
18416
18417
18418
18419_ACEOF
18420
18421cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18422
18423# Handling of arguments.
18424for ac_config_target in $ac_config_targets
18425do
18426  case $ac_config_target in
18427    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18428    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18429    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18430    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18431    "libpcre.pc") CONFIG_FILES="$CONFIG_FILES libpcre.pc" ;;
18432    "libpcre16.pc") CONFIG_FILES="$CONFIG_FILES libpcre16.pc" ;;
18433    "libpcreposix.pc") CONFIG_FILES="$CONFIG_FILES libpcreposix.pc" ;;
18434    "libpcrecpp.pc") CONFIG_FILES="$CONFIG_FILES libpcrecpp.pc" ;;
18435    "pcre-config") CONFIG_FILES="$CONFIG_FILES pcre-config" ;;
18436    "pcre.h") CONFIG_FILES="$CONFIG_FILES pcre.h" ;;
18437    "pcre_stringpiece.h") CONFIG_FILES="$CONFIG_FILES pcre_stringpiece.h" ;;
18438    "pcrecpparg.h") CONFIG_FILES="$CONFIG_FILES pcrecpparg.h" ;;
18439    "script-chmod") CONFIG_COMMANDS="$CONFIG_COMMANDS script-chmod" ;;
18440    "delete-old-chartables") CONFIG_COMMANDS="$CONFIG_COMMANDS delete-old-chartables" ;;
18441
18442  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18443  esac
18444done
18445
18446
18447# If the user did not use the arguments to specify the items to instantiate,
18448# then the envvar interface is used.  Set only those that are not.
18449# We use the long form for the default assignment because of an extremely
18450# bizarre bug on SunOS 4.1.3.
18451if $ac_need_defaults; then
18452  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18453  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18454  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18455fi
18456
18457# Have a temporary directory for convenience.  Make it in the build tree
18458# simply because there is no reason against having it here, and in addition,
18459# creating and moving files from /tmp can sometimes cause problems.
18460# Hook for its removal unless debugging.
18461# Note that there is a small window in which the directory will not be cleaned:
18462# after its creation but before its name has been assigned to `$tmp'.
18463$debug ||
18464{
18465  tmp= ac_tmp=
18466  trap 'exit_status=$?
18467  : "${ac_tmp:=$tmp}"
18468  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18469' 0
18470  trap 'as_fn_exit 1' 1 2 13 15
18471}
18472# Create a (secure) tmp directory for tmp files.
18473
18474{
18475  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18476  test -d "$tmp"
18477}  ||
18478{
18479  tmp=./conf$$-$RANDOM
18480  (umask 077 && mkdir "$tmp")
18481} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18482ac_tmp=$tmp
18483
18484# Set up the scripts for CONFIG_FILES section.
18485# No need to generate them if there are no CONFIG_FILES.
18486# This happens for instance with `./config.status config.h'.
18487if test -n "$CONFIG_FILES"; then
18488
18489
18490ac_cr=`echo X | tr X '\015'`
18491# On cygwin, bash can eat \r inside `` if the user requested igncr.
18492# But we know of no other shell where ac_cr would be empty at this
18493# point, so we can use a bashism as a fallback.
18494if test "x$ac_cr" = x; then
18495  eval ac_cr=\$\'\\r\'
18496fi
18497ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18498if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18499  ac_cs_awk_cr='\\r'
18500else
18501  ac_cs_awk_cr=$ac_cr
18502fi
18503
18504echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18505_ACEOF
18506
18507
18508{
18509  echo "cat >conf$$subs.awk <<_ACEOF" &&
18510  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18511  echo "_ACEOF"
18512} >conf$$subs.sh ||
18513  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18514ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18515ac_delim='%!_!# '
18516for ac_last_try in false false false false false :; do
18517  . ./conf$$subs.sh ||
18518    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18519
18520  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18521  if test $ac_delim_n = $ac_delim_num; then
18522    break
18523  elif $ac_last_try; then
18524    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18525  else
18526    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18527  fi
18528done
18529rm -f conf$$subs.sh
18530
18531cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18532cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18533_ACEOF
18534sed -n '
18535h
18536s/^/S["/; s/!.*/"]=/
18537p
18538g
18539s/^[^!]*!//
18540:repl
18541t repl
18542s/'"$ac_delim"'$//
18543t delim
18544:nl
18545h
18546s/\(.\{148\}\)..*/\1/
18547t more1
18548s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18549p
18550n
18551b repl
18552:more1
18553s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18554p
18555g
18556s/.\{148\}//
18557t nl
18558:delim
18559h
18560s/\(.\{148\}\)..*/\1/
18561t more2
18562s/["\\]/\\&/g; s/^/"/; s/$/"/
18563p
18564b
18565:more2
18566s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18567p
18568g
18569s/.\{148\}//
18570t delim
18571' <conf$$subs.awk | sed '
18572/^[^""]/{
18573  N
18574  s/\n//
18575}
18576' >>$CONFIG_STATUS || ac_write_fail=1
18577rm -f conf$$subs.awk
18578cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18579_ACAWK
18580cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18581  for (key in S) S_is_set[key] = 1
18582  FS = ""
18583
18584}
18585{
18586  line = $ 0
18587  nfields = split(line, field, "@")
18588  substed = 0
18589  len = length(field[1])
18590  for (i = 2; i < nfields; i++) {
18591    key = field[i]
18592    keylen = length(key)
18593    if (S_is_set[key]) {
18594      value = S[key]
18595      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18596      len += length(value) + length(field[++i])
18597      substed = 1
18598    } else
18599      len += 1 + keylen
18600  }
18601
18602  print line
18603}
18604
18605_ACAWK
18606_ACEOF
18607cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18608if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18609  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18610else
18611  cat
18612fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18613  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18614_ACEOF
18615
18616# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18617# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18618# trailing colons and then remove the whole line if VPATH becomes empty
18619# (actually we leave an empty line to preserve line numbers).
18620if test "x$srcdir" = x.; then
18621  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
18622h
18623s///
18624s/^/:/
18625s/[	 ]*$/:/
18626s/:\$(srcdir):/:/g
18627s/:\${srcdir}:/:/g
18628s/:@srcdir@:/:/g
18629s/^:*//
18630s/:*$//
18631x
18632s/\(=[	 ]*\).*/\1/
18633G
18634s/\n//
18635s/^[^=]*=[	 ]*$//
18636}'
18637fi
18638
18639cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18640fi # test -n "$CONFIG_FILES"
18641
18642# Set up the scripts for CONFIG_HEADERS section.
18643# No need to generate them if there are no CONFIG_HEADERS.
18644# This happens for instance with `./config.status Makefile'.
18645if test -n "$CONFIG_HEADERS"; then
18646cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18647BEGIN {
18648_ACEOF
18649
18650# Transform confdefs.h into an awk script `defines.awk', embedded as
18651# here-document in config.status, that substitutes the proper values into
18652# config.h.in to produce config.h.
18653
18654# Create a delimiter string that does not exist in confdefs.h, to ease
18655# handling of long lines.
18656ac_delim='%!_!# '
18657for ac_last_try in false false :; do
18658  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18659  if test -z "$ac_tt"; then
18660    break
18661  elif $ac_last_try; then
18662    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18663  else
18664    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18665  fi
18666done
18667
18668# For the awk script, D is an array of macro values keyed by name,
18669# likewise P contains macro parameters if any.  Preserve backslash
18670# newline sequences.
18671
18672ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18673sed -n '
18674s/.\{148\}/&'"$ac_delim"'/g
18675t rset
18676:rset
18677s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
18678t def
18679d
18680:def
18681s/\\$//
18682t bsnl
18683s/["\\]/\\&/g
18684s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18685D["\1"]=" \3"/p
18686s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
18687d
18688:bsnl
18689s/["\\]/\\&/g
18690s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18691D["\1"]=" \3\\\\\\n"\\/p
18692t cont
18693s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18694t cont
18695d
18696:cont
18697n
18698s/.\{148\}/&'"$ac_delim"'/g
18699t clear
18700:clear
18701s/\\$//
18702t bsnlc
18703s/["\\]/\\&/g; s/^/"/; s/$/"/p
18704d
18705:bsnlc
18706s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18707b cont
18708' <confdefs.h | sed '
18709s/'"$ac_delim"'/"\\\
18710"/g' >>$CONFIG_STATUS || ac_write_fail=1
18711
18712cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18713  for (key in D) D_is_set[key] = 1
18714  FS = ""
18715}
18716/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18717  line = \$ 0
18718  split(line, arg, " ")
18719  if (arg[1] == "#") {
18720    defundef = arg[2]
18721    mac1 = arg[3]
18722  } else {
18723    defundef = substr(arg[1], 2)
18724    mac1 = arg[2]
18725  }
18726  split(mac1, mac2, "(") #)
18727  macro = mac2[1]
18728  prefix = substr(line, 1, index(line, defundef) - 1)
18729  if (D_is_set[macro]) {
18730    # Preserve the white space surrounding the "#".
18731    print prefix "define", macro P[macro] D[macro]
18732    next
18733  } else {
18734    # Replace #undef with comments.  This is necessary, for example,
18735    # in the case of _POSIX_SOURCE, which is predefined and required
18736    # on some systems where configure will not decide to define it.
18737    if (defundef == "undef") {
18738      print "/*", prefix defundef, macro, "*/"
18739      next
18740    }
18741  }
18742}
18743{ print }
18744_ACAWK
18745_ACEOF
18746cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18747  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18748fi # test -n "$CONFIG_HEADERS"
18749
18750
18751eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18752shift
18753for ac_tag
18754do
18755  case $ac_tag in
18756  :[FHLC]) ac_mode=$ac_tag; continue;;
18757  esac
18758  case $ac_mode$ac_tag in
18759  :[FHL]*:*);;
18760  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18761  :[FH]-) ac_tag=-:-;;
18762  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18763  esac
18764  ac_save_IFS=$IFS
18765  IFS=:
18766  set x $ac_tag
18767  IFS=$ac_save_IFS
18768  shift
18769  ac_file=$1
18770  shift
18771
18772  case $ac_mode in
18773  :L) ac_source=$1;;
18774  :[FH])
18775    ac_file_inputs=
18776    for ac_f
18777    do
18778      case $ac_f in
18779      -) ac_f="$ac_tmp/stdin";;
18780      *) # Look for the file first in the build tree, then in the source tree
18781	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
18782	 # because $ac_f cannot contain `:'.
18783	 test -f "$ac_f" ||
18784	   case $ac_f in
18785	   [\\/$]*) false;;
18786	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18787	   esac ||
18788	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18789      esac
18790      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18791      as_fn_append ac_file_inputs " '$ac_f'"
18792    done
18793
18794    # Let's still pretend it is `configure' which instantiates (i.e., don't
18795    # use $as_me), people would be surprised to read:
18796    #    /* config.h.  Generated by config.status.  */
18797    configure_input='Generated from '`
18798	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18799	`' by configure.'
18800    if test x"$ac_file" != x-; then
18801      configure_input="$ac_file.  $configure_input"
18802      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18803$as_echo "$as_me: creating $ac_file" >&6;}
18804    fi
18805    # Neutralize special characters interpreted by sed in replacement strings.
18806    case $configure_input in #(
18807    *\&* | *\|* | *\\* )
18808       ac_sed_conf_input=`$as_echo "$configure_input" |
18809       sed 's/[\\\\&|]/\\\\&/g'`;; #(
18810    *) ac_sed_conf_input=$configure_input;;
18811    esac
18812
18813    case $ac_tag in
18814    *:-:* | *:-) cat >"$ac_tmp/stdin" \
18815      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18816    esac
18817    ;;
18818  esac
18819
18820  ac_dir=`$as_dirname -- "$ac_file" ||
18821$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18822	 X"$ac_file" : 'X\(//\)[^/]' \| \
18823	 X"$ac_file" : 'X\(//\)$' \| \
18824	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18825$as_echo X"$ac_file" |
18826    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18827	    s//\1/
18828	    q
18829	  }
18830	  /^X\(\/\/\)[^/].*/{
18831	    s//\1/
18832	    q
18833	  }
18834	  /^X\(\/\/\)$/{
18835	    s//\1/
18836	    q
18837	  }
18838	  /^X\(\/\).*/{
18839	    s//\1/
18840	    q
18841	  }
18842	  s/.*/./; q'`
18843  as_dir="$ac_dir"; as_fn_mkdir_p
18844  ac_builddir=.
18845
18846case "$ac_dir" in
18847.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18848*)
18849  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18850  # A ".." for each directory in $ac_dir_suffix.
18851  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18852  case $ac_top_builddir_sub in
18853  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18854  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18855  esac ;;
18856esac
18857ac_abs_top_builddir=$ac_pwd
18858ac_abs_builddir=$ac_pwd$ac_dir_suffix
18859# for backward compatibility:
18860ac_top_builddir=$ac_top_build_prefix
18861
18862case $srcdir in
18863  .)  # We are building in place.
18864    ac_srcdir=.
18865    ac_top_srcdir=$ac_top_builddir_sub
18866    ac_abs_top_srcdir=$ac_pwd ;;
18867  [\\/]* | ?:[\\/]* )  # Absolute name.
18868    ac_srcdir=$srcdir$ac_dir_suffix;
18869    ac_top_srcdir=$srcdir
18870    ac_abs_top_srcdir=$srcdir ;;
18871  *) # Relative name.
18872    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18873    ac_top_srcdir=$ac_top_build_prefix$srcdir
18874    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18875esac
18876ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18877
18878
18879  case $ac_mode in
18880  :F)
18881  #
18882  # CONFIG_FILE
18883  #
18884
18885  case $INSTALL in
18886  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18887  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18888  esac
18889  ac_MKDIR_P=$MKDIR_P
18890  case $MKDIR_P in
18891  [\\/$]* | ?:[\\/]* ) ;;
18892  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18893  esac
18894_ACEOF
18895
18896cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18897# If the template does not know about datarootdir, expand it.
18898# FIXME: This hack should be removed a few years after 2.60.
18899ac_datarootdir_hack=; ac_datarootdir_seen=
18900ac_sed_dataroot='
18901/datarootdir/ {
18902  p
18903  q
18904}
18905/@datadir@/p
18906/@docdir@/p
18907/@infodir@/p
18908/@localedir@/p
18909/@mandir@/p'
18910case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18911*datarootdir*) ac_datarootdir_seen=yes;;
18912*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18913  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18914$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18915_ACEOF
18916cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18917  ac_datarootdir_hack='
18918  s&@datadir@&$datadir&g
18919  s&@docdir@&$docdir&g
18920  s&@infodir@&$infodir&g
18921  s&@localedir@&$localedir&g
18922  s&@mandir@&$mandir&g
18923  s&\\\${datarootdir}&$datarootdir&g' ;;
18924esac
18925_ACEOF
18926
18927# Neutralize VPATH when `$srcdir' = `.'.
18928# Shell code in configure.ac might set extrasub.
18929# FIXME: do we really want to maintain this feature?
18930cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18931ac_sed_extra="$ac_vpsub
18932$extrasub
18933_ACEOF
18934cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18935:t
18936/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18937s|@configure_input@|$ac_sed_conf_input|;t t
18938s&@top_builddir@&$ac_top_builddir_sub&;t t
18939s&@top_build_prefix@&$ac_top_build_prefix&;t t
18940s&@srcdir@&$ac_srcdir&;t t
18941s&@abs_srcdir@&$ac_abs_srcdir&;t t
18942s&@top_srcdir@&$ac_top_srcdir&;t t
18943s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18944s&@builddir@&$ac_builddir&;t t
18945s&@abs_builddir@&$ac_abs_builddir&;t t
18946s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18947s&@INSTALL@&$ac_INSTALL&;t t
18948s&@MKDIR_P@&$ac_MKDIR_P&;t t
18949$ac_datarootdir_hack
18950"
18951eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18952  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18953
18954test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18955  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18956  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
18957      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18958  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18959which seems to be undefined.  Please make sure it is defined" >&5
18960$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18961which seems to be undefined.  Please make sure it is defined" >&2;}
18962
18963  rm -f "$ac_tmp/stdin"
18964  case $ac_file in
18965  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18966  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18967  esac \
18968  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18969 ;;
18970  :H)
18971  #
18972  # CONFIG_HEADER
18973  #
18974  if test x"$ac_file" != x-; then
18975    {
18976      $as_echo "/* $configure_input  */" \
18977      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18978    } >"$ac_tmp/config.h" \
18979      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18980    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18981      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18982$as_echo "$as_me: $ac_file is unchanged" >&6;}
18983    else
18984      rm -f "$ac_file"
18985      mv "$ac_tmp/config.h" "$ac_file" \
18986	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
18987    fi
18988  else
18989    $as_echo "/* $configure_input  */" \
18990      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18991      || as_fn_error $? "could not create -" "$LINENO" 5
18992  fi
18993# Compute "$ac_file"'s index in $config_headers.
18994_am_arg="$ac_file"
18995_am_stamp_count=1
18996for _am_header in $config_headers :; do
18997  case $_am_header in
18998    $_am_arg | $_am_arg:* )
18999      break ;;
19000    * )
19001      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19002  esac
19003done
19004echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19005$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19006	 X"$_am_arg" : 'X\(//\)[^/]' \| \
19007	 X"$_am_arg" : 'X\(//\)$' \| \
19008	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19009$as_echo X"$_am_arg" |
19010    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19011	    s//\1/
19012	    q
19013	  }
19014	  /^X\(\/\/\)[^/].*/{
19015	    s//\1/
19016	    q
19017	  }
19018	  /^X\(\/\/\)$/{
19019	    s//\1/
19020	    q
19021	  }
19022	  /^X\(\/\).*/{
19023	    s//\1/
19024	    q
19025	  }
19026	  s/.*/./; q'`/stamp-h$_am_stamp_count
19027 ;;
19028
19029  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19030$as_echo "$as_me: executing $ac_file commands" >&6;}
19031 ;;
19032  esac
19033
19034
19035  case $ac_file$ac_mode in
19036    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19037  # Autoconf 2.62 quotes --file arguments for eval, but not when files
19038  # are listed without --file.  Let's play safe and only enable the eval
19039  # if we detect the quoting.
19040  case $CONFIG_FILES in
19041  *\'*) eval set x "$CONFIG_FILES" ;;
19042  *)   set x $CONFIG_FILES ;;
19043  esac
19044  shift
19045  for mf
19046  do
19047    # Strip MF so we end up with the name of the file.
19048    mf=`echo "$mf" | sed -e 's/:.*$//'`
19049    # Check whether this is an Automake generated Makefile or not.
19050    # We used to match only the files named `Makefile.in', but
19051    # some people rename them; so instead we look at the file content.
19052    # Grep'ing the first line is not enough: some people post-process
19053    # each Makefile.in and add a new line on top of each file to say so.
19054    # Grep'ing the whole file is not good either: AIX grep has a line
19055    # limit of 2048, but all sed's we know have understand at least 4000.
19056    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19057      dirpart=`$as_dirname -- "$mf" ||
19058$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19059	 X"$mf" : 'X\(//\)[^/]' \| \
19060	 X"$mf" : 'X\(//\)$' \| \
19061	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19062$as_echo X"$mf" |
19063    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19064	    s//\1/
19065	    q
19066	  }
19067	  /^X\(\/\/\)[^/].*/{
19068	    s//\1/
19069	    q
19070	  }
19071	  /^X\(\/\/\)$/{
19072	    s//\1/
19073	    q
19074	  }
19075	  /^X\(\/\).*/{
19076	    s//\1/
19077	    q
19078	  }
19079	  s/.*/./; q'`
19080    else
19081      continue
19082    fi
19083    # Extract the definition of DEPDIR, am__include, and am__quote
19084    # from the Makefile without running `make'.
19085    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19086    test -z "$DEPDIR" && continue
19087    am__include=`sed -n 's/^am__include = //p' < "$mf"`
19088    test -z "am__include" && continue
19089    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19090    # When using ansi2knr, U may be empty or an underscore; expand it
19091    U=`sed -n 's/^U = //p' < "$mf"`
19092    # Find all dependency output files, they are included files with
19093    # $(DEPDIR) in their names.  We invoke sed twice because it is the
19094    # simplest approach to changing $(DEPDIR) to its actual value in the
19095    # expansion.
19096    for file in `sed -n "
19097      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19098	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19099      # Make sure the directory exists.
19100      test -f "$dirpart/$file" && continue
19101      fdir=`$as_dirname -- "$file" ||
19102$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19103	 X"$file" : 'X\(//\)[^/]' \| \
19104	 X"$file" : 'X\(//\)$' \| \
19105	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19106$as_echo X"$file" |
19107    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19108	    s//\1/
19109	    q
19110	  }
19111	  /^X\(\/\/\)[^/].*/{
19112	    s//\1/
19113	    q
19114	  }
19115	  /^X\(\/\/\)$/{
19116	    s//\1/
19117	    q
19118	  }
19119	  /^X\(\/\).*/{
19120	    s//\1/
19121	    q
19122	  }
19123	  s/.*/./; q'`
19124      as_dir=$dirpart/$fdir; as_fn_mkdir_p
19125      # echo "creating $dirpart/$file"
19126      echo '# dummy' > "$dirpart/$file"
19127    done
19128  done
19129}
19130 ;;
19131    "libtool":C)
19132
19133    # See if we are running on zsh, and set the options which allow our
19134    # commands through without removal of \ escapes.
19135    if test -n "${ZSH_VERSION+set}" ; then
19136      setopt NO_GLOB_SUBST
19137    fi
19138
19139    cfgfile="${ofile}T"
19140    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19141    $RM "$cfgfile"
19142
19143    cat <<_LT_EOF >> "$cfgfile"
19144#! $SHELL
19145
19146# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19147# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19148# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19149# NOTE: Changes made to this file will be lost: look at ltmain.sh.
19150#
19151#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19152#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
19153#                 Inc.
19154#   Written by Gordon Matzigkeit, 1996
19155#
19156#   This file is part of GNU Libtool.
19157#
19158# GNU Libtool is free software; you can redistribute it and/or
19159# modify it under the terms of the GNU General Public License as
19160# published by the Free Software Foundation; either version 2 of
19161# the License, or (at your option) any later version.
19162#
19163# As a special exception to the GNU General Public License,
19164# if you distribute this file as part of a program or library that
19165# is built using GNU Libtool, you may include this file under the
19166# same distribution terms that you use for the rest of that program.
19167#
19168# GNU Libtool is distributed in the hope that it will be useful,
19169# but WITHOUT ANY WARRANTY; without even the implied warranty of
19170# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19171# GNU General Public License for more details.
19172#
19173# You should have received a copy of the GNU General Public License
19174# along with GNU Libtool; see the file COPYING.  If not, a copy
19175# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19176# obtained by writing to the Free Software Foundation, Inc.,
19177# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19178
19179
19180# The names of the tagged configurations supported by this script.
19181available_tags="CXX "
19182
19183# ### BEGIN LIBTOOL CONFIG
19184
19185# Assembler program.
19186AS=$lt_AS
19187
19188# DLL creation program.
19189DLLTOOL=$lt_DLLTOOL
19190
19191# Object dumper program.
19192OBJDUMP=$lt_OBJDUMP
19193
19194# Which release of libtool.m4 was used?
19195macro_version=$macro_version
19196macro_revision=$macro_revision
19197
19198# Whether or not to build shared libraries.
19199build_libtool_libs=$enable_shared
19200
19201# Whether or not to build static libraries.
19202build_old_libs=$enable_static
19203
19204# What type of objects to build.
19205pic_mode=$pic_mode
19206
19207# Whether or not to optimize for fast installation.
19208fast_install=$enable_fast_install
19209
19210# Shell to use when invoking shell scripts.
19211SHELL=$lt_SHELL
19212
19213# An echo program that protects backslashes.
19214ECHO=$lt_ECHO
19215
19216# The host system.
19217host_alias=$host_alias
19218host=$host
19219host_os=$host_os
19220
19221# The build system.
19222build_alias=$build_alias
19223build=$build
19224build_os=$build_os
19225
19226# A sed program that does not truncate output.
19227SED=$lt_SED
19228
19229# Sed that helps us avoid accidentally triggering echo(1) options like -n.
19230Xsed="\$SED -e 1s/^X//"
19231
19232# A grep program that handles long lines.
19233GREP=$lt_GREP
19234
19235# An ERE matcher.
19236EGREP=$lt_EGREP
19237
19238# A literal string matcher.
19239FGREP=$lt_FGREP
19240
19241# A BSD- or MS-compatible name lister.
19242NM=$lt_NM
19243
19244# Whether we need soft or hard links.
19245LN_S=$lt_LN_S
19246
19247# What is the maximum length of a command?
19248max_cmd_len=$max_cmd_len
19249
19250# Object file suffix (normally "o").
19251objext=$ac_objext
19252
19253# Executable file suffix (normally "").
19254exeext=$exeext
19255
19256# whether the shell understands "unset".
19257lt_unset=$lt_unset
19258
19259# turn spaces into newlines.
19260SP2NL=$lt_lt_SP2NL
19261
19262# turn newlines into spaces.
19263NL2SP=$lt_lt_NL2SP
19264
19265# convert \$build file names to \$host format.
19266to_host_file_cmd=$lt_cv_to_host_file_cmd
19267
19268# convert \$build files to toolchain format.
19269to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19270
19271# Method to check whether dependent libraries are shared objects.
19272deplibs_check_method=$lt_deplibs_check_method
19273
19274# Command to use when deplibs_check_method = "file_magic".
19275file_magic_cmd=$lt_file_magic_cmd
19276
19277# How to find potential files when deplibs_check_method = "file_magic".
19278file_magic_glob=$lt_file_magic_glob
19279
19280# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19281want_nocaseglob=$lt_want_nocaseglob
19282
19283# Command to associate shared and link libraries.
19284sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19285
19286# The archiver.
19287AR=$lt_AR
19288
19289# Flags to create an archive.
19290AR_FLAGS=$lt_AR_FLAGS
19291
19292# How to feed a file listing to the archiver.
19293archiver_list_spec=$lt_archiver_list_spec
19294
19295# A symbol stripping program.
19296STRIP=$lt_STRIP
19297
19298# Commands used to install an old-style archive.
19299RANLIB=$lt_RANLIB
19300old_postinstall_cmds=$lt_old_postinstall_cmds
19301old_postuninstall_cmds=$lt_old_postuninstall_cmds
19302
19303# Whether to use a lock for old archive extraction.
19304lock_old_archive_extraction=$lock_old_archive_extraction
19305
19306# A C compiler.
19307LTCC=$lt_CC
19308
19309# LTCC compiler flags.
19310LTCFLAGS=$lt_CFLAGS
19311
19312# Take the output of nm and produce a listing of raw symbols and C names.
19313global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19314
19315# Transform the output of nm in a proper C declaration.
19316global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19317
19318# Transform the output of nm in a C name address pair.
19319global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19320
19321# Transform the output of nm in a C name address pair when lib prefix is needed.
19322global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19323
19324# Specify filename containing input files for \$NM.
19325nm_file_list_spec=$lt_nm_file_list_spec
19326
19327# The root where to search for dependent libraries,and in which our libraries should be installed.
19328lt_sysroot=$lt_sysroot
19329
19330# The name of the directory that contains temporary libtool files.
19331objdir=$objdir
19332
19333# Used to examine libraries when file_magic_cmd begins with "file".
19334MAGIC_CMD=$MAGIC_CMD
19335
19336# Must we lock files when doing compilation?
19337need_locks=$lt_need_locks
19338
19339# Manifest tool.
19340MANIFEST_TOOL=$lt_MANIFEST_TOOL
19341
19342# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19343DSYMUTIL=$lt_DSYMUTIL
19344
19345# Tool to change global to local symbols on Mac OS X.
19346NMEDIT=$lt_NMEDIT
19347
19348# Tool to manipulate fat objects and archives on Mac OS X.
19349LIPO=$lt_LIPO
19350
19351# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19352OTOOL=$lt_OTOOL
19353
19354# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19355OTOOL64=$lt_OTOOL64
19356
19357# Old archive suffix (normally "a").
19358libext=$libext
19359
19360# Shared library suffix (normally ".so").
19361shrext_cmds=$lt_shrext_cmds
19362
19363# The commands to extract the exported symbol list from a shared archive.
19364extract_expsyms_cmds=$lt_extract_expsyms_cmds
19365
19366# Variables whose values should be saved in libtool wrapper scripts and
19367# restored at link time.
19368variables_saved_for_relink=$lt_variables_saved_for_relink
19369
19370# Do we need the "lib" prefix for modules?
19371need_lib_prefix=$need_lib_prefix
19372
19373# Do we need a version for libraries?
19374need_version=$need_version
19375
19376# Library versioning type.
19377version_type=$version_type
19378
19379# Shared library runtime path variable.
19380runpath_var=$runpath_var
19381
19382# Shared library path variable.
19383shlibpath_var=$shlibpath_var
19384
19385# Is shlibpath searched before the hard-coded library search path?
19386shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19387
19388# Format of library name prefix.
19389libname_spec=$lt_libname_spec
19390
19391# List of archive names.  First name is the real one, the rest are links.
19392# The last name is the one that the linker finds with -lNAME
19393library_names_spec=$lt_library_names_spec
19394
19395# The coded name of the library, if different from the real name.
19396soname_spec=$lt_soname_spec
19397
19398# Permission mode override for installation of shared libraries.
19399install_override_mode=$lt_install_override_mode
19400
19401# Command to use after installation of a shared archive.
19402postinstall_cmds=$lt_postinstall_cmds
19403
19404# Command to use after uninstallation of a shared archive.
19405postuninstall_cmds=$lt_postuninstall_cmds
19406
19407# Commands used to finish a libtool library installation in a directory.
19408finish_cmds=$lt_finish_cmds
19409
19410# As "finish_cmds", except a single script fragment to be evaled but
19411# not shown.
19412finish_eval=$lt_finish_eval
19413
19414# Whether we should hardcode library paths into libraries.
19415hardcode_into_libs=$hardcode_into_libs
19416
19417# Compile-time system search path for libraries.
19418sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19419
19420# Run-time system search path for libraries.
19421sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19422
19423# Whether dlopen is supported.
19424dlopen_support=$enable_dlopen
19425
19426# Whether dlopen of programs is supported.
19427dlopen_self=$enable_dlopen_self
19428
19429# Whether dlopen of statically linked programs is supported.
19430dlopen_self_static=$enable_dlopen_self_static
19431
19432# Commands to strip libraries.
19433old_striplib=$lt_old_striplib
19434striplib=$lt_striplib
19435
19436
19437# The linker used to build libraries.
19438LD=$lt_LD
19439
19440# How to create reloadable object files.
19441reload_flag=$lt_reload_flag
19442reload_cmds=$lt_reload_cmds
19443
19444# Commands used to build an old-style archive.
19445old_archive_cmds=$lt_old_archive_cmds
19446
19447# A language specific compiler.
19448CC=$lt_compiler
19449
19450# Is the compiler the GNU compiler?
19451with_gcc=$GCC
19452
19453# Compiler flag to turn off builtin functions.
19454no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19455
19456# Additional compiler flags for building library objects.
19457pic_flag=$lt_lt_prog_compiler_pic
19458
19459# How to pass a linker flag through the compiler.
19460wl=$lt_lt_prog_compiler_wl
19461
19462# Compiler flag to prevent dynamic linking.
19463link_static_flag=$lt_lt_prog_compiler_static
19464
19465# Does compiler simultaneously support -c and -o options?
19466compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19467
19468# Whether or not to add -lc for building shared libraries.
19469build_libtool_need_lc=$archive_cmds_need_lc
19470
19471# Whether or not to disallow shared libs when runtime libs are static.
19472allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19473
19474# Compiler flag to allow reflexive dlopens.
19475export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19476
19477# Compiler flag to generate shared objects directly from archives.
19478whole_archive_flag_spec=$lt_whole_archive_flag_spec
19479
19480# Whether the compiler copes with passing no objects directly.
19481compiler_needs_object=$lt_compiler_needs_object
19482
19483# Create an old-style archive from a shared archive.
19484old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19485
19486# Create a temporary old-style archive to link instead of a shared archive.
19487old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19488
19489# Commands used to build a shared archive.
19490archive_cmds=$lt_archive_cmds
19491archive_expsym_cmds=$lt_archive_expsym_cmds
19492
19493# Commands used to build a loadable module if different from building
19494# a shared archive.
19495module_cmds=$lt_module_cmds
19496module_expsym_cmds=$lt_module_expsym_cmds
19497
19498# Whether we are building with GNU ld or not.
19499with_gnu_ld=$lt_with_gnu_ld
19500
19501# Flag that allows shared libraries with undefined symbols to be built.
19502allow_undefined_flag=$lt_allow_undefined_flag
19503
19504# Flag that enforces no undefined symbols.
19505no_undefined_flag=$lt_no_undefined_flag
19506
19507# Flag to hardcode \$libdir into a binary during linking.
19508# This must work even if \$libdir does not exist
19509hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19510
19511# If ld is used when linking, flag to hardcode \$libdir into a binary
19512# during linking.  This must work even if \$libdir does not exist.
19513hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19514
19515# Whether we need a single "-rpath" flag with a separated argument.
19516hardcode_libdir_separator=$lt_hardcode_libdir_separator
19517
19518# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19519# DIR into the resulting binary.
19520hardcode_direct=$hardcode_direct
19521
19522# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19523# DIR into the resulting binary and the resulting library dependency is
19524# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19525# library is relocated.
19526hardcode_direct_absolute=$hardcode_direct_absolute
19527
19528# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19529# into the resulting binary.
19530hardcode_minus_L=$hardcode_minus_L
19531
19532# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19533# into the resulting binary.
19534hardcode_shlibpath_var=$hardcode_shlibpath_var
19535
19536# Set to "yes" if building a shared library automatically hardcodes DIR
19537# into the library and all subsequent libraries and executables linked
19538# against it.
19539hardcode_automatic=$hardcode_automatic
19540
19541# Set to yes if linker adds runtime paths of dependent libraries
19542# to runtime path list.
19543inherit_rpath=$inherit_rpath
19544
19545# Whether libtool must link a program against all its dependency libraries.
19546link_all_deplibs=$link_all_deplibs
19547
19548# Set to "yes" if exported symbols are required.
19549always_export_symbols=$always_export_symbols
19550
19551# The commands to list exported symbols.
19552export_symbols_cmds=$lt_export_symbols_cmds
19553
19554# Symbols that should not be listed in the preloaded symbols.
19555exclude_expsyms=$lt_exclude_expsyms
19556
19557# Symbols that must always be exported.
19558include_expsyms=$lt_include_expsyms
19559
19560# Commands necessary for linking programs (against libraries) with templates.
19561prelink_cmds=$lt_prelink_cmds
19562
19563# Commands necessary for finishing linking programs.
19564postlink_cmds=$lt_postlink_cmds
19565
19566# Specify filename containing input files.
19567file_list_spec=$lt_file_list_spec
19568
19569# How to hardcode a shared library path into an executable.
19570hardcode_action=$hardcode_action
19571
19572# The directories searched by this compiler when creating a shared library.
19573compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19574
19575# Dependencies to place before and after the objects being linked to
19576# create a shared library.
19577predep_objects=$lt_predep_objects
19578postdep_objects=$lt_postdep_objects
19579predeps=$lt_predeps
19580postdeps=$lt_postdeps
19581
19582# The library search path used internally by the compiler when linking
19583# a shared library.
19584compiler_lib_search_path=$lt_compiler_lib_search_path
19585
19586# ### END LIBTOOL CONFIG
19587
19588_LT_EOF
19589
19590  case $host_os in
19591  aix3*)
19592    cat <<\_LT_EOF >> "$cfgfile"
19593# AIX sometimes has problems with the GCC collect2 program.  For some
19594# reason, if we set the COLLECT_NAMES environment variable, the problems
19595# vanish in a puff of smoke.
19596if test "X${COLLECT_NAMES+set}" != Xset; then
19597  COLLECT_NAMES=
19598  export COLLECT_NAMES
19599fi
19600_LT_EOF
19601    ;;
19602  esac
19603
19604
19605ltmain="$ac_aux_dir/ltmain.sh"
19606
19607
19608  # We use sed instead of cat because bash on DJGPP gets confused if
19609  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19610  # text mode, it properly converts lines to CR/LF.  This bash problem
19611  # is reportedly fixed, but why not run on old versions too?
19612  sed '$q' "$ltmain" >> "$cfgfile" \
19613     || (rm -f "$cfgfile"; exit 1)
19614
19615  if test x"$xsi_shell" = xyes; then
19616  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19617func_dirname ()\
19618{\
19619\    case ${1} in\
19620\      */*) func_dirname_result="${1%/*}${2}" ;;\
19621\      *  ) func_dirname_result="${3}" ;;\
19622\    esac\
19623} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19624  && mv -f "$cfgfile.tmp" "$cfgfile" \
19625    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19626test 0 -eq $? || _lt_function_replace_fail=:
19627
19628
19629  sed -e '/^func_basename ()$/,/^} # func_basename /c\
19630func_basename ()\
19631{\
19632\    func_basename_result="${1##*/}"\
19633} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19634  && mv -f "$cfgfile.tmp" "$cfgfile" \
19635    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19636test 0 -eq $? || _lt_function_replace_fail=:
19637
19638
19639  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19640func_dirname_and_basename ()\
19641{\
19642\    case ${1} in\
19643\      */*) func_dirname_result="${1%/*}${2}" ;;\
19644\      *  ) func_dirname_result="${3}" ;;\
19645\    esac\
19646\    func_basename_result="${1##*/}"\
19647} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19648  && mv -f "$cfgfile.tmp" "$cfgfile" \
19649    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19650test 0 -eq $? || _lt_function_replace_fail=:
19651
19652
19653  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19654func_stripname ()\
19655{\
19656\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19657\    # positional parameters, so assign one to ordinary parameter first.\
19658\    func_stripname_result=${3}\
19659\    func_stripname_result=${func_stripname_result#"${1}"}\
19660\    func_stripname_result=${func_stripname_result%"${2}"}\
19661} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19662  && mv -f "$cfgfile.tmp" "$cfgfile" \
19663    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19664test 0 -eq $? || _lt_function_replace_fail=:
19665
19666
19667  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19668func_split_long_opt ()\
19669{\
19670\    func_split_long_opt_name=${1%%=*}\
19671\    func_split_long_opt_arg=${1#*=}\
19672} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19673  && mv -f "$cfgfile.tmp" "$cfgfile" \
19674    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19675test 0 -eq $? || _lt_function_replace_fail=:
19676
19677
19678  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19679func_split_short_opt ()\
19680{\
19681\    func_split_short_opt_arg=${1#??}\
19682\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19683} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19684  && mv -f "$cfgfile.tmp" "$cfgfile" \
19685    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19686test 0 -eq $? || _lt_function_replace_fail=:
19687
19688
19689  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19690func_lo2o ()\
19691{\
19692\    case ${1} in\
19693\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19694\      *)    func_lo2o_result=${1} ;;\
19695\    esac\
19696} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19697  && mv -f "$cfgfile.tmp" "$cfgfile" \
19698    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19699test 0 -eq $? || _lt_function_replace_fail=:
19700
19701
19702  sed -e '/^func_xform ()$/,/^} # func_xform /c\
19703func_xform ()\
19704{\
19705    func_xform_result=${1%.*}.lo\
19706} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19707  && mv -f "$cfgfile.tmp" "$cfgfile" \
19708    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19709test 0 -eq $? || _lt_function_replace_fail=:
19710
19711
19712  sed -e '/^func_arith ()$/,/^} # func_arith /c\
19713func_arith ()\
19714{\
19715    func_arith_result=$(( $* ))\
19716} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19717  && mv -f "$cfgfile.tmp" "$cfgfile" \
19718    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19719test 0 -eq $? || _lt_function_replace_fail=:
19720
19721
19722  sed -e '/^func_len ()$/,/^} # func_len /c\
19723func_len ()\
19724{\
19725    func_len_result=${#1}\
19726} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19727  && mv -f "$cfgfile.tmp" "$cfgfile" \
19728    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19729test 0 -eq $? || _lt_function_replace_fail=:
19730
19731fi
19732
19733if test x"$lt_shell_append" = xyes; then
19734  sed -e '/^func_append ()$/,/^} # func_append /c\
19735func_append ()\
19736{\
19737    eval "${1}+=\\${2}"\
19738} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19739  && mv -f "$cfgfile.tmp" "$cfgfile" \
19740    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19741test 0 -eq $? || _lt_function_replace_fail=:
19742
19743
19744  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19745func_append_quoted ()\
19746{\
19747\    func_quote_for_eval "${2}"\
19748\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19749} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19750  && mv -f "$cfgfile.tmp" "$cfgfile" \
19751    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19752test 0 -eq $? || _lt_function_replace_fail=:
19753
19754
19755  # Save a `func_append' function call where possible by direct use of '+='
19756  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19757    && mv -f "$cfgfile.tmp" "$cfgfile" \
19758      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19759  test 0 -eq $? || _lt_function_replace_fail=:
19760else
19761  # Save a `func_append' function call even when '+=' is not available
19762  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19763    && mv -f "$cfgfile.tmp" "$cfgfile" \
19764      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19765  test 0 -eq $? || _lt_function_replace_fail=:
19766fi
19767
19768if test x"$_lt_function_replace_fail" = x":"; then
19769  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19770$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19771fi
19772
19773
19774   mv -f "$cfgfile" "$ofile" ||
19775    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19776  chmod +x "$ofile"
19777
19778
19779    cat <<_LT_EOF >> "$ofile"
19780
19781# ### BEGIN LIBTOOL TAG CONFIG: CXX
19782
19783# The linker used to build libraries.
19784LD=$lt_LD_CXX
19785
19786# How to create reloadable object files.
19787reload_flag=$lt_reload_flag_CXX
19788reload_cmds=$lt_reload_cmds_CXX
19789
19790# Commands used to build an old-style archive.
19791old_archive_cmds=$lt_old_archive_cmds_CXX
19792
19793# A language specific compiler.
19794CC=$lt_compiler_CXX
19795
19796# Is the compiler the GNU compiler?
19797with_gcc=$GCC_CXX
19798
19799# Compiler flag to turn off builtin functions.
19800no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19801
19802# Additional compiler flags for building library objects.
19803pic_flag=$lt_lt_prog_compiler_pic_CXX
19804
19805# How to pass a linker flag through the compiler.
19806wl=$lt_lt_prog_compiler_wl_CXX
19807
19808# Compiler flag to prevent dynamic linking.
19809link_static_flag=$lt_lt_prog_compiler_static_CXX
19810
19811# Does compiler simultaneously support -c and -o options?
19812compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19813
19814# Whether or not to add -lc for building shared libraries.
19815build_libtool_need_lc=$archive_cmds_need_lc_CXX
19816
19817# Whether or not to disallow shared libs when runtime libs are static.
19818allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19819
19820# Compiler flag to allow reflexive dlopens.
19821export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19822
19823# Compiler flag to generate shared objects directly from archives.
19824whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19825
19826# Whether the compiler copes with passing no objects directly.
19827compiler_needs_object=$lt_compiler_needs_object_CXX
19828
19829# Create an old-style archive from a shared archive.
19830old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19831
19832# Create a temporary old-style archive to link instead of a shared archive.
19833old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19834
19835# Commands used to build a shared archive.
19836archive_cmds=$lt_archive_cmds_CXX
19837archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19838
19839# Commands used to build a loadable module if different from building
19840# a shared archive.
19841module_cmds=$lt_module_cmds_CXX
19842module_expsym_cmds=$lt_module_expsym_cmds_CXX
19843
19844# Whether we are building with GNU ld or not.
19845with_gnu_ld=$lt_with_gnu_ld_CXX
19846
19847# Flag that allows shared libraries with undefined symbols to be built.
19848allow_undefined_flag=$lt_allow_undefined_flag_CXX
19849
19850# Flag that enforces no undefined symbols.
19851no_undefined_flag=$lt_no_undefined_flag_CXX
19852
19853# Flag to hardcode \$libdir into a binary during linking.
19854# This must work even if \$libdir does not exist
19855hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19856
19857# If ld is used when linking, flag to hardcode \$libdir into a binary
19858# during linking.  This must work even if \$libdir does not exist.
19859hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19860
19861# Whether we need a single "-rpath" flag with a separated argument.
19862hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19863
19864# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19865# DIR into the resulting binary.
19866hardcode_direct=$hardcode_direct_CXX
19867
19868# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19869# DIR into the resulting binary and the resulting library dependency is
19870# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19871# library is relocated.
19872hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19873
19874# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19875# into the resulting binary.
19876hardcode_minus_L=$hardcode_minus_L_CXX
19877
19878# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19879# into the resulting binary.
19880hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19881
19882# Set to "yes" if building a shared library automatically hardcodes DIR
19883# into the library and all subsequent libraries and executables linked
19884# against it.
19885hardcode_automatic=$hardcode_automatic_CXX
19886
19887# Set to yes if linker adds runtime paths of dependent libraries
19888# to runtime path list.
19889inherit_rpath=$inherit_rpath_CXX
19890
19891# Whether libtool must link a program against all its dependency libraries.
19892link_all_deplibs=$link_all_deplibs_CXX
19893
19894# Set to "yes" if exported symbols are required.
19895always_export_symbols=$always_export_symbols_CXX
19896
19897# The commands to list exported symbols.
19898export_symbols_cmds=$lt_export_symbols_cmds_CXX
19899
19900# Symbols that should not be listed in the preloaded symbols.
19901exclude_expsyms=$lt_exclude_expsyms_CXX
19902
19903# Symbols that must always be exported.
19904include_expsyms=$lt_include_expsyms_CXX
19905
19906# Commands necessary for linking programs (against libraries) with templates.
19907prelink_cmds=$lt_prelink_cmds_CXX
19908
19909# Commands necessary for finishing linking programs.
19910postlink_cmds=$lt_postlink_cmds_CXX
19911
19912# Specify filename containing input files.
19913file_list_spec=$lt_file_list_spec_CXX
19914
19915# How to hardcode a shared library path into an executable.
19916hardcode_action=$hardcode_action_CXX
19917
19918# The directories searched by this compiler when creating a shared library.
19919compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19920
19921# Dependencies to place before and after the objects being linked to
19922# create a shared library.
19923predep_objects=$lt_predep_objects_CXX
19924postdep_objects=$lt_postdep_objects_CXX
19925predeps=$lt_predeps_CXX
19926postdeps=$lt_postdeps_CXX
19927
19928# The library search path used internally by the compiler when linking
19929# a shared library.
19930compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19931
19932# ### END LIBTOOL TAG CONFIG: CXX
19933_LT_EOF
19934
19935 ;;
19936    "script-chmod":C) chmod a+x pcre-config ;;
19937    "delete-old-chartables":C) rm -f pcre_chartables.c ;;
19938
19939  esac
19940done # for ac_tag
19941
19942
19943as_fn_exit 0
19944_ACEOF
19945ac_clean_files=$ac_clean_files_save
19946
19947test $ac_write_fail = 0 ||
19948  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19949
19950
19951# configure is writing to config.log, and then calls config.status.
19952# config.status does its own redirection, appending to config.log.
19953# Unfortunately, on DOS this fails, as config.log is still kept open
19954# by configure, so config.status won't be able to write to it; its
19955# output is simply discarded.  So we exec the FD to /dev/null,
19956# effectively closing config.log, so it can be properly (re)opened and
19957# appended to by config.status.  When coming back to configure, we
19958# need to make the FD available again.
19959if test "$no_create" != yes; then
19960  ac_cs_success=:
19961  ac_config_status_args=
19962  test "$silent" = yes &&
19963    ac_config_status_args="$ac_config_status_args --quiet"
19964  exec 5>/dev/null
19965  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19966  exec 5>>config.log
19967  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19968  # would make configure fail if this is the last instruction.
19969  $ac_cs_success || as_fn_exit 1
19970fi
19971if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19972  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19973$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19974fi
19975
19976
19977# Print out a nice little message after configure is run displaying your
19978# chosen options.
19979
19980cat <<EOF
19981
19982$PACKAGE-$VERSION configuration summary:
19983
19984    Install prefix .................. : ${prefix}
19985    C preprocessor .................. : ${CPP}
19986    C compiler ...................... : ${CC}
19987    C++ preprocessor ................ : ${CXXCPP}
19988    C++ compiler .................... : ${CXX}
19989    Linker .......................... : ${LD}
19990    C preprocessor flags ............ : ${CPPFLAGS}
19991    C compiler flags ................ : ${CFLAGS}
19992    C++ compiler flags .............. : ${CXXFLAGS}
19993    Linker flags .................... : ${LDFLAGS}
19994    Extra libraries ................. : ${LIBS}
19995
19996    Build 8 bit pcre library ........ : ${enable_pcre8}
19997    Build 16 bit pcre library ....... : ${enable_pcre16}
19998    Build C++ library ............... : ${enable_cpp}
19999    Enable JIT compiling support .... : ${enable_jit}
20000    Enable UTF-8/16 support ......... : ${enable_utf}
20001    Unicode properties .............. : ${enable_unicode_properties}
20002    Newline char/sequence ........... : ${enable_newline}
20003    \R matches only ANYCRLF ......... : ${enable_bsr_anycrlf}
20004    EBCDIC coding ................... : ${enable_ebcdic}
20005    Rebuild char tables ............. : ${enable_rebuild_chartables}
20006    Use stack recursion ............. : ${enable_stack_for_recursion}
20007    POSIX mem threshold ............. : ${with_posix_malloc_threshold}
20008    Internal link size .............. : ${with_link_size}
20009    Match limit ..................... : ${with_match_limit}
20010    Match limit recursion ........... : ${with_match_limit_recursion}
20011    Build shared libs ............... : ${enable_shared}
20012    Build static libs ............... : ${enable_static}
20013    Use JIT in pcregrep ............. : ${enable_pcregrep_jit}
20014    Buffer size for pcregrep ........ : ${with_pcregrep_bufsize}
20015    Link pcregrep with libz ......... : ${enable_pcregrep_libz}
20016    Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2}
20017    Link pcretest with libedit ...... : ${enable_pcretest_libedit}
20018    Link pcretest with libreadline .. : ${enable_pcretest_libreadline}
20019
20020EOF
20021
20022