1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.64 for libssp 1.0.
4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7# Foundation, Inc.
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90case $0 in #((
91  *[\\/]* ) as_myself=$0 ;;
92  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93for as_dir in $PATH
94do
95  IFS=$as_save_IFS
96  test -z "$as_dir" && as_dir=.
97    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98  done
99IFS=$as_save_IFS
100
101     ;;
102esac
103# We did not find ourselves, most probably we were run as `sh COMMAND'
104# in which case we are not to be found in the path.
105if test "x$as_myself" = x; then
106  as_myself=$0
107fi
108if test ! -f "$as_myself"; then
109  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110  exit 1
111fi
112
113# Unset variables that we do not need and which cause bugs (e.g. in
114# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115# suppresses any "Segmentation fault" message there.  '((' could
116# trigger a bug in pdksh 5.2.14.
117for as_var in BASH_ENV ENV MAIL MAILPATH
118do eval test x\${$as_var+set} = xset \
119  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120done
121PS1='$ '
122PS2='> '
123PS4='+ '
124
125# NLS nuisances.
126LC_ALL=C
127export LC_ALL
128LANGUAGE=C
129export LANGUAGE
130
131# CDPATH.
132(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134if test "x$CONFIG_SHELL" = x; then
135  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136  emulate sh
137  NULLCMD=:
138  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139  # is contrary to our usage.  Disable this feature.
140  alias -g '\${1+\"\$@\"}'='\"\$@\"'
141  setopt NO_GLOB_SUBST
142else
143  case \`(set -o) 2>/dev/null\` in #(
144  *posix*) :
145    set -o posix ;; #(
146  *) :
147     ;;
148esac
149fi
150"
151  as_required="as_fn_return () { (exit \$1); }
152as_fn_success () { as_fn_return 0; }
153as_fn_failure () { as_fn_return 1; }
154as_fn_ret_success () { return 0; }
155as_fn_ret_failure () { return 1; }
156
157exitcode=0
158as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164else
165  exitcode=1; echo positional parameters were not saved.
166fi
167test x\$exitcode = x0 || exit 1"
168  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172test \$(( 1 + 1 )) = 2 || exit 1
173
174  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178    PATH=/empty FPATH=/empty; export PATH FPATH
179    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181  if (eval "$as_required") 2>/dev/null; then :
182  as_have_required=yes
183else
184  as_have_required=no
185fi
186  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188else
189  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190as_found=false
191for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192do
193  IFS=$as_save_IFS
194  test -z "$as_dir" && as_dir=.
195  as_found=:
196  case $as_dir in #(
197	 /*)
198	   for as_base in sh bash ksh sh5; do
199	     # Try only shells that exist, to save several forks.
200	     as_shell=$as_dir/$as_base
201	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203  CONFIG_SHELL=$as_shell as_have_required=yes
204		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205  break 2
206fi
207fi
208	   done;;
209       esac
210  as_found=false
211done
212$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214  CONFIG_SHELL=$SHELL as_have_required=yes
215fi; }
216IFS=$as_save_IFS
217
218
219      if test "x$CONFIG_SHELL" != x; then :
220  # We cannot yet assume a decent shell, so we have to provide a
221	# neutralization value for shells without unset; and this also
222	# works around shells that cannot unset nonexistent variables.
223	BASH_ENV=/dev/null
224	ENV=/dev/null
225	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226	export CONFIG_SHELL
227	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228fi
229
230    if test x$as_have_required = xno; then :
231  $as_echo "$0: This script requires a shell more modern than all"
232  $as_echo "$0: the shells that I found on your system."
233  if test x${ZSH_VERSION+set} = xset ; then
234    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236  else
237    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238$0: including any error possibly output before this
239$0: message. Then install a modern shell, or manually run
240$0: the script under such a shell if you do have one."
241  fi
242  exit 1
243fi
244fi
245fi
246SHELL=${CONFIG_SHELL-/bin/sh}
247export SHELL
248# Unset more variables known to interfere with behavior of common tools.
249CLICOLOR_FORCE= GREP_OPTIONS=
250unset CLICOLOR_FORCE GREP_OPTIONS
251
252## --------------------- ##
253## M4sh Shell Functions. ##
254## --------------------- ##
255# as_fn_unset VAR
256# ---------------
257# Portably unset VAR.
258as_fn_unset ()
259{
260  { eval $1=; unset $1;}
261}
262as_unset=as_fn_unset
263
264# as_fn_set_status STATUS
265# -----------------------
266# Set $? to STATUS, without forking.
267as_fn_set_status ()
268{
269  return $1
270} # as_fn_set_status
271
272# as_fn_exit STATUS
273# -----------------
274# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275as_fn_exit ()
276{
277  set +e
278  as_fn_set_status $1
279  exit $1
280} # as_fn_exit
281
282# as_fn_mkdir_p
283# -------------
284# Create "$as_dir" as a directory, including parents if necessary.
285as_fn_mkdir_p ()
286{
287
288  case $as_dir in #(
289  -*) as_dir=./$as_dir;;
290  esac
291  test -d "$as_dir" || eval $as_mkdir_p || {
292    as_dirs=
293    while :; do
294      case $as_dir in #(
295      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296      *) as_qdir=$as_dir;;
297      esac
298      as_dirs="'$as_qdir' $as_dirs"
299      as_dir=`$as_dirname -- "$as_dir" ||
300$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301	 X"$as_dir" : 'X\(//\)[^/]' \| \
302	 X"$as_dir" : 'X\(//\)$' \| \
303	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304$as_echo X"$as_dir" |
305    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306	    s//\1/
307	    q
308	  }
309	  /^X\(\/\/\)[^/].*/{
310	    s//\1/
311	    q
312	  }
313	  /^X\(\/\/\)$/{
314	    s//\1/
315	    q
316	  }
317	  /^X\(\/\).*/{
318	    s//\1/
319	    q
320	  }
321	  s/.*/./; q'`
322      test -d "$as_dir" && break
323    done
324    test -z "$as_dirs" || eval "mkdir $as_dirs"
325  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328} # as_fn_mkdir_p
329# as_fn_append VAR VALUE
330# ----------------------
331# Append the text in VALUE to the end of the definition contained in VAR. Take
332# advantage of any shell optimizations that allow amortized linear growth over
333# repeated appends, instead of the typical quadratic growth present in naive
334# implementations.
335if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336  eval 'as_fn_append ()
337  {
338    eval $1+=\$2
339  }'
340else
341  as_fn_append ()
342  {
343    eval $1=\$$1\$2
344  }
345fi # as_fn_append
346
347# as_fn_arith ARG...
348# ------------------
349# Perform arithmetic evaluation on the ARGs, and store the result in the
350# global $as_val. Take advantage of shells that can avoid forks. The arguments
351# must be portable across $(()) and expr.
352if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353  eval 'as_fn_arith ()
354  {
355    as_val=$(( $* ))
356  }'
357else
358  as_fn_arith ()
359  {
360    as_val=`expr "$@" || test $? -eq 1`
361  }
362fi # as_fn_arith
363
364
365# as_fn_error ERROR [LINENO LOG_FD]
366# ---------------------------------
367# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369# script with status $?, using 1 if that was 0.
370as_fn_error ()
371{
372  as_status=$?; test $as_status -eq 0 && as_status=1
373  if test "$3"; then
374    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376  fi
377  $as_echo "$as_me: error: $1" >&2
378  as_fn_exit $as_status
379} # as_fn_error
380
381if expr a : '\(a\)' >/dev/null 2>&1 &&
382   test "X`expr 00001 : '.*\(...\)'`" = X001; then
383  as_expr=expr
384else
385  as_expr=false
386fi
387
388if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389  as_basename=basename
390else
391  as_basename=false
392fi
393
394if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395  as_dirname=dirname
396else
397  as_dirname=false
398fi
399
400as_me=`$as_basename -- "$0" ||
401$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402	 X"$0" : 'X\(//\)$' \| \
403	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404$as_echo X/"$0" |
405    sed '/^.*\/\([^/][^/]*\)\/*$/{
406	    s//\1/
407	    q
408	  }
409	  /^X\/\(\/\/\)$/{
410	    s//\1/
411	    q
412	  }
413	  /^X\/\(\/\).*/{
414	    s//\1/
415	    q
416	  }
417	  s/.*/./; q'`
418
419# Avoid depending upon Character Ranges.
420as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423as_cr_digits='0123456789'
424as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427  as_lineno_1=$LINENO as_lineno_1a=$LINENO
428  as_lineno_2=$LINENO as_lineno_2a=$LINENO
429  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432  sed -n '
433    p
434    /[$]LINENO/=
435  ' <$as_myself |
436    sed '
437      s/[$]LINENO.*/&-/
438      t lineno
439      b
440      :lineno
441      N
442      :loop
443      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444      t loop
445      s/-\n.*//
446    ' >$as_me.lineno &&
447  chmod +x "$as_me.lineno" ||
448    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450  # Don't try to exec as it changes $[0], causing all sort of problems
451  # (the dirname of $[0] is not the place where we might find the
452  # original and so on.  Autoconf is especially sensitive to this).
453  . "./$as_me.lineno"
454  # Exit status is that of the last command.
455  exit
456}
457
458ECHO_C= ECHO_N= ECHO_T=
459case `echo -n x` in #(((((
460-n*)
461  case `echo 'xy\c'` in
462  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
463  xy)  ECHO_C='\c';;
464  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465       ECHO_T='	';;
466  esac;;
467*)
468  ECHO_N='-n';;
469esac
470
471rm -f conf$$ conf$$.exe conf$$.file
472if test -d conf$$.dir; then
473  rm -f conf$$.dir/conf$$.file
474else
475  rm -f conf$$.dir
476  mkdir conf$$.dir 2>/dev/null
477fi
478if (echo >conf$$.file) 2>/dev/null; then
479  if ln -s conf$$.file conf$$ 2>/dev/null; then
480    as_ln_s='ln -s'
481    # ... but there are two gotchas:
482    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484    # In both cases, we have to default to `cp -p'.
485    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486      as_ln_s='cp -p'
487  elif ln conf$$.file conf$$ 2>/dev/null; then
488    as_ln_s=ln
489  else
490    as_ln_s='cp -p'
491  fi
492else
493  as_ln_s='cp -p'
494fi
495rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496rmdir conf$$.dir 2>/dev/null
497
498if mkdir -p . 2>/dev/null; then
499  as_mkdir_p='mkdir -p "$as_dir"'
500else
501  test -d ./-p && rmdir ./-p
502  as_mkdir_p=false
503fi
504
505if test -x / >/dev/null 2>&1; then
506  as_test_x='test -x'
507else
508  if ls -dL / >/dev/null 2>&1; then
509    as_ls_L_option=L
510  else
511    as_ls_L_option=
512  fi
513  as_test_x='
514    eval sh -c '\''
515      if test -d "$1"; then
516	test -d "$1/.";
517      else
518	case $1 in #(
519	-*)set "./$1";;
520	esac;
521	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522	???[sx]*):;;*)false;;esac;fi
523    '\'' sh
524  '
525fi
526as_executable_p=$as_test_x
527
528# Sed expression to map a string onto a valid CPP name.
529as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531# Sed expression to map a string onto a valid variable name.
532as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537exec 7<&0 </dev/null 6>&1
538
539# Name of the host.
540# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541# so uname gets run too.
542ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544#
545# Initializations.
546#
547ac_default_prefix=/usr/local
548ac_clean_files=
549ac_config_libobj_dir=.
550LIBOBJS=
551cross_compiling=no
552subdirs=
553MFLAGS=
554MAKEFLAGS=
555
556# Identity of this package.
557PACKAGE_NAME='libssp'
558PACKAGE_TARNAME='libssp'
559PACKAGE_VERSION='1.0'
560PACKAGE_STRING='libssp 1.0'
561PACKAGE_BUGREPORT=''
562PACKAGE_URL=''
563
564ac_unique_file="ssp.c"
565# Factoring default headers for most tests.
566ac_includes_default="\
567#include <stdio.h>
568#ifdef HAVE_SYS_TYPES_H
569# include <sys/types.h>
570#endif
571#ifdef HAVE_SYS_STAT_H
572# include <sys/stat.h>
573#endif
574#ifdef STDC_HEADERS
575# include <stdlib.h>
576# include <stddef.h>
577#else
578# ifdef HAVE_STDLIB_H
579#  include <stdlib.h>
580# endif
581#endif
582#ifdef HAVE_STRING_H
583# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584#  include <memory.h>
585# endif
586# include <string.h>
587#endif
588#ifdef HAVE_STRINGS_H
589# include <strings.h>
590#endif
591#ifdef HAVE_INTTYPES_H
592# include <inttypes.h>
593#endif
594#ifdef HAVE_STDINT_H
595# include <stdint.h>
596#endif
597#ifdef HAVE_UNISTD_H
598# include <unistd.h>
599#endif"
600
601ac_subst_vars='am__EXEEXT_FALSE
602am__EXEEXT_TRUE
603LTLIBOBJS
604LIBOBJS
605get_gcc_base_ver
606toolexeclibdir
607toolexecdir
608enable_static
609enable_shared
610lt_host_flags
611OTOOL64
612OTOOL
613LIPO
614NMEDIT
615DSYMUTIL
616RANLIB
617AR
618OBJDUMP
619LN_S
620NM
621ac_ct_DUMPBIN
622DUMPBIN
623LD
624FGREP
625SED
626LIBTOOL
627ssp_have_usable_vsnprintf
628EGREP
629GREP
630LIBSSP_USE_SYMVER_SUN_FALSE
631LIBSSP_USE_SYMVER_SUN_TRUE
632LIBSSP_USE_SYMVER_GNU_FALSE
633LIBSSP_USE_SYMVER_GNU_TRUE
634LIBSSP_USE_SYMVER_FALSE
635LIBSSP_USE_SYMVER_TRUE
636XCFLAGS
637CPP
638am__fastdepCC_FALSE
639am__fastdepCC_TRUE
640CCDEPMODE
641am__nodep
642AMDEPBACKSLASH
643AMDEP_FALSE
644AMDEP_TRUE
645am__quote
646am__include
647DEPDIR
648OBJEXT
649EXEEXT
650ac_ct_CC
651CPPFLAGS
652LDFLAGS
653CFLAGS
654CC
655multi_basedir
656MAINT
657MAINTAINER_MODE_FALSE
658MAINTAINER_MODE_TRUE
659am__untar
660am__tar
661AMTAR
662am__leading_dot
663SET_MAKE
664AWK
665mkdir_p
666MKDIR_P
667INSTALL_STRIP_PROGRAM
668STRIP
669install_sh
670MAKEINFO
671AUTOHEADER
672AUTOMAKE
673AUTOCONF
674ACLOCAL
675VERSION
676PACKAGE
677CYGPATH_W
678am__isrc
679INSTALL_DATA
680INSTALL_SCRIPT
681INSTALL_PROGRAM
682target_noncanonical
683target_os
684target_vendor
685target_cpu
686target
687host_os
688host_vendor
689host_cpu
690host
691build_os
692build_vendor
693build_cpu
694build
695target_alias
696host_alias
697build_alias
698LIBS
699ECHO_T
700ECHO_N
701ECHO_C
702DEFS
703mandir
704localedir
705libdir
706psdir
707pdfdir
708dvidir
709htmldir
710infodir
711docdir
712oldincludedir
713includedir
714localstatedir
715sharedstatedir
716sysconfdir
717datadir
718datarootdir
719libexecdir
720sbindir
721bindir
722program_transform_name
723prefix
724exec_prefix
725PACKAGE_URL
726PACKAGE_BUGREPORT
727PACKAGE_STRING
728PACKAGE_VERSION
729PACKAGE_TARNAME
730PACKAGE_NAME
731PATH_SEPARATOR
732SHELL'
733ac_subst_files=''
734ac_user_opts='
735enable_option_checking
736enable_version_specific_runtime_libs
737enable_maintainer_mode
738enable_multilib
739enable_dependency_tracking
740enable_cet
741enable_symvers
742enable_shared
743enable_static
744with_pic
745enable_fast_install
746with_gnu_ld
747enable_libtool_lock
748with_gcc_major_version_only
749'
750      ac_precious_vars='build_alias
751host_alias
752target_alias
753CPP
754CPPFLAGS'
755
756
757# Initialize some variables set by options.
758ac_init_help=
759ac_init_version=false
760ac_unrecognized_opts=
761ac_unrecognized_sep=
762# The variables have the same names as the options, with
763# dashes changed to underlines.
764cache_file=/dev/null
765exec_prefix=NONE
766no_create=
767no_recursion=
768prefix=NONE
769program_prefix=NONE
770program_suffix=NONE
771program_transform_name=s,x,x,
772silent=
773site=
774srcdir=
775verbose=
776x_includes=NONE
777x_libraries=NONE
778
779# Installation directory options.
780# These are left unexpanded so users can "make install exec_prefix=/foo"
781# and all the variables that are supposed to be based on exec_prefix
782# by default will actually change.
783# Use braces instead of parens because sh, perl, etc. also accept them.
784# (The list follows the same order as the GNU Coding Standards.)
785bindir='${exec_prefix}/bin'
786sbindir='${exec_prefix}/sbin'
787libexecdir='${exec_prefix}/libexec'
788datarootdir='${prefix}/share'
789datadir='${datarootdir}'
790sysconfdir='${prefix}/etc'
791sharedstatedir='${prefix}/com'
792localstatedir='${prefix}/var'
793includedir='${prefix}/include'
794oldincludedir='/usr/include'
795docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
796infodir='${datarootdir}/info'
797htmldir='${docdir}'
798dvidir='${docdir}'
799pdfdir='${docdir}'
800psdir='${docdir}'
801libdir='${exec_prefix}/lib'
802localedir='${datarootdir}/locale'
803mandir='${datarootdir}/man'
804
805ac_prev=
806ac_dashdash=
807for ac_option
808do
809  # If the previous option needs an argument, assign it.
810  if test -n "$ac_prev"; then
811    eval $ac_prev=\$ac_option
812    ac_prev=
813    continue
814  fi
815
816  case $ac_option in
817  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
818  *)	ac_optarg=yes ;;
819  esac
820
821  # Accept the important Cygnus configure options, so we can diagnose typos.
822
823  case $ac_dashdash$ac_option in
824  --)
825    ac_dashdash=yes ;;
826
827  -bindir | --bindir | --bindi | --bind | --bin | --bi)
828    ac_prev=bindir ;;
829  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
830    bindir=$ac_optarg ;;
831
832  -build | --build | --buil | --bui | --bu)
833    ac_prev=build_alias ;;
834  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
835    build_alias=$ac_optarg ;;
836
837  -cache-file | --cache-file | --cache-fil | --cache-fi \
838  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
839    ac_prev=cache_file ;;
840  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
841  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
842    cache_file=$ac_optarg ;;
843
844  --config-cache | -C)
845    cache_file=config.cache ;;
846
847  -datadir | --datadir | --datadi | --datad)
848    ac_prev=datadir ;;
849  -datadir=* | --datadir=* | --datadi=* | --datad=*)
850    datadir=$ac_optarg ;;
851
852  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
853  | --dataroo | --dataro | --datar)
854    ac_prev=datarootdir ;;
855  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
856  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
857    datarootdir=$ac_optarg ;;
858
859  -disable-* | --disable-*)
860    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861    # Reject names that are not valid shell variable names.
862    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
863      as_fn_error "invalid feature name: $ac_useropt"
864    ac_useropt_orig=$ac_useropt
865    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
866    case $ac_user_opts in
867      *"
868"enable_$ac_useropt"
869"*) ;;
870      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
871	 ac_unrecognized_sep=', ';;
872    esac
873    eval enable_$ac_useropt=no ;;
874
875  -docdir | --docdir | --docdi | --doc | --do)
876    ac_prev=docdir ;;
877  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
878    docdir=$ac_optarg ;;
879
880  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
881    ac_prev=dvidir ;;
882  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
883    dvidir=$ac_optarg ;;
884
885  -enable-* | --enable-*)
886    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
887    # Reject names that are not valid shell variable names.
888    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889      as_fn_error "invalid feature name: $ac_useropt"
890    ac_useropt_orig=$ac_useropt
891    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892    case $ac_user_opts in
893      *"
894"enable_$ac_useropt"
895"*) ;;
896      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
897	 ac_unrecognized_sep=', ';;
898    esac
899    eval enable_$ac_useropt=\$ac_optarg ;;
900
901  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
902  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
903  | --exec | --exe | --ex)
904    ac_prev=exec_prefix ;;
905  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
906  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
907  | --exec=* | --exe=* | --ex=*)
908    exec_prefix=$ac_optarg ;;
909
910  -gas | --gas | --ga | --g)
911    # Obsolete; use --with-gas.
912    with_gas=yes ;;
913
914  -help | --help | --hel | --he | -h)
915    ac_init_help=long ;;
916  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
917    ac_init_help=recursive ;;
918  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
919    ac_init_help=short ;;
920
921  -host | --host | --hos | --ho)
922    ac_prev=host_alias ;;
923  -host=* | --host=* | --hos=* | --ho=*)
924    host_alias=$ac_optarg ;;
925
926  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
927    ac_prev=htmldir ;;
928  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
929  | --ht=*)
930    htmldir=$ac_optarg ;;
931
932  -includedir | --includedir | --includedi | --included | --include \
933  | --includ | --inclu | --incl | --inc)
934    ac_prev=includedir ;;
935  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
936  | --includ=* | --inclu=* | --incl=* | --inc=*)
937    includedir=$ac_optarg ;;
938
939  -infodir | --infodir | --infodi | --infod | --info | --inf)
940    ac_prev=infodir ;;
941  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
942    infodir=$ac_optarg ;;
943
944  -libdir | --libdir | --libdi | --libd)
945    ac_prev=libdir ;;
946  -libdir=* | --libdir=* | --libdi=* | --libd=*)
947    libdir=$ac_optarg ;;
948
949  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
950  | --libexe | --libex | --libe)
951    ac_prev=libexecdir ;;
952  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
953  | --libexe=* | --libex=* | --libe=*)
954    libexecdir=$ac_optarg ;;
955
956  -localedir | --localedir | --localedi | --localed | --locale)
957    ac_prev=localedir ;;
958  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
959    localedir=$ac_optarg ;;
960
961  -localstatedir | --localstatedir | --localstatedi | --localstated \
962  | --localstate | --localstat | --localsta | --localst | --locals)
963    ac_prev=localstatedir ;;
964  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
965  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
966    localstatedir=$ac_optarg ;;
967
968  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
969    ac_prev=mandir ;;
970  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
971    mandir=$ac_optarg ;;
972
973  -nfp | --nfp | --nf)
974    # Obsolete; use --without-fp.
975    with_fp=no ;;
976
977  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
978  | --no-cr | --no-c | -n)
979    no_create=yes ;;
980
981  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
982  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
983    no_recursion=yes ;;
984
985  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
986  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
987  | --oldin | --oldi | --old | --ol | --o)
988    ac_prev=oldincludedir ;;
989  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
990  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
991  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
992    oldincludedir=$ac_optarg ;;
993
994  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
995    ac_prev=prefix ;;
996  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
997    prefix=$ac_optarg ;;
998
999  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1000  | --program-pre | --program-pr | --program-p)
1001    ac_prev=program_prefix ;;
1002  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1003  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1004    program_prefix=$ac_optarg ;;
1005
1006  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1007  | --program-suf | --program-su | --program-s)
1008    ac_prev=program_suffix ;;
1009  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1010  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1011    program_suffix=$ac_optarg ;;
1012
1013  -program-transform-name | --program-transform-name \
1014  | --program-transform-nam | --program-transform-na \
1015  | --program-transform-n | --program-transform- \
1016  | --program-transform | --program-transfor \
1017  | --program-transfo | --program-transf \
1018  | --program-trans | --program-tran \
1019  | --progr-tra | --program-tr | --program-t)
1020    ac_prev=program_transform_name ;;
1021  -program-transform-name=* | --program-transform-name=* \
1022  | --program-transform-nam=* | --program-transform-na=* \
1023  | --program-transform-n=* | --program-transform-=* \
1024  | --program-transform=* | --program-transfor=* \
1025  | --program-transfo=* | --program-transf=* \
1026  | --program-trans=* | --program-tran=* \
1027  | --progr-tra=* | --program-tr=* | --program-t=*)
1028    program_transform_name=$ac_optarg ;;
1029
1030  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1031    ac_prev=pdfdir ;;
1032  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1033    pdfdir=$ac_optarg ;;
1034
1035  -psdir | --psdir | --psdi | --psd | --ps)
1036    ac_prev=psdir ;;
1037  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1038    psdir=$ac_optarg ;;
1039
1040  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1041  | -silent | --silent | --silen | --sile | --sil)
1042    silent=yes ;;
1043
1044  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1045    ac_prev=sbindir ;;
1046  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1047  | --sbi=* | --sb=*)
1048    sbindir=$ac_optarg ;;
1049
1050  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1051  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1052  | --sharedst | --shareds | --shared | --share | --shar \
1053  | --sha | --sh)
1054    ac_prev=sharedstatedir ;;
1055  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1056  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1057  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1058  | --sha=* | --sh=*)
1059    sharedstatedir=$ac_optarg ;;
1060
1061  -site | --site | --sit)
1062    ac_prev=site ;;
1063  -site=* | --site=* | --sit=*)
1064    site=$ac_optarg ;;
1065
1066  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1067    ac_prev=srcdir ;;
1068  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1069    srcdir=$ac_optarg ;;
1070
1071  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1072  | --syscon | --sysco | --sysc | --sys | --sy)
1073    ac_prev=sysconfdir ;;
1074  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1075  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1076    sysconfdir=$ac_optarg ;;
1077
1078  -target | --target | --targe | --targ | --tar | --ta | --t)
1079    ac_prev=target_alias ;;
1080  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1081    target_alias=$ac_optarg ;;
1082
1083  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1084    verbose=yes ;;
1085
1086  -version | --version | --versio | --versi | --vers | -V)
1087    ac_init_version=: ;;
1088
1089  -with-* | --with-*)
1090    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1091    # Reject names that are not valid shell variable names.
1092    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093      as_fn_error "invalid package name: $ac_useropt"
1094    ac_useropt_orig=$ac_useropt
1095    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096    case $ac_user_opts in
1097      *"
1098"with_$ac_useropt"
1099"*) ;;
1100      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1101	 ac_unrecognized_sep=', ';;
1102    esac
1103    eval with_$ac_useropt=\$ac_optarg ;;
1104
1105  -without-* | --without-*)
1106    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107    # Reject names that are not valid shell variable names.
1108    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109      as_fn_error "invalid package name: $ac_useropt"
1110    ac_useropt_orig=$ac_useropt
1111    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112    case $ac_user_opts in
1113      *"
1114"with_$ac_useropt"
1115"*) ;;
1116      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1117	 ac_unrecognized_sep=', ';;
1118    esac
1119    eval with_$ac_useropt=no ;;
1120
1121  --x)
1122    # Obsolete; use --with-x.
1123    with_x=yes ;;
1124
1125  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1126  | --x-incl | --x-inc | --x-in | --x-i)
1127    ac_prev=x_includes ;;
1128  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1129  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1130    x_includes=$ac_optarg ;;
1131
1132  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1133  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1134    ac_prev=x_libraries ;;
1135  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1136  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1137    x_libraries=$ac_optarg ;;
1138
1139  -*) as_fn_error "unrecognized option: \`$ac_option'
1140Try \`$0 --help' for more information."
1141    ;;
1142
1143  *=*)
1144    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1145    # Reject names that are not valid shell variable names.
1146    case $ac_envvar in #(
1147      '' | [0-9]* | *[!_$as_cr_alnum]* )
1148      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1149    esac
1150    eval $ac_envvar=\$ac_optarg
1151    export $ac_envvar ;;
1152
1153  *)
1154    # FIXME: should be removed in autoconf 3.0.
1155    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1156    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1158    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1159    ;;
1160
1161  esac
1162done
1163
1164if test -n "$ac_prev"; then
1165  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1166  as_fn_error "missing argument to $ac_option"
1167fi
1168
1169if test -n "$ac_unrecognized_opts"; then
1170  case $enable_option_checking in
1171    no) ;;
1172    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1173    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1174  esac
1175fi
1176
1177# Check all directory arguments for consistency.
1178for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179		datadir sysconfdir sharedstatedir localstatedir includedir \
1180		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181		libdir localedir mandir
1182do
1183  eval ac_val=\$$ac_var
1184  # Remove trailing slashes.
1185  case $ac_val in
1186    */ )
1187      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1188      eval $ac_var=\$ac_val;;
1189  esac
1190  # Be sure to have absolute directory names.
1191  case $ac_val in
1192    [\\/$]* | ?:[\\/]* )  continue;;
1193    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1194  esac
1195  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1196done
1197
1198# There might be people who depend on the old broken behavior: `$host'
1199# used to hold the argument of --host etc.
1200# FIXME: To remove some day.
1201build=$build_alias
1202host=$host_alias
1203target=$target_alias
1204
1205# FIXME: To remove some day.
1206if test "x$host_alias" != x; then
1207  if test "x$build_alias" = x; then
1208    cross_compiling=maybe
1209    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1210    If a cross compiler is detected then cross compile mode will be used." >&2
1211  elif test "x$build_alias" != "x$host_alias"; then
1212    cross_compiling=yes
1213  fi
1214fi
1215
1216ac_tool_prefix=
1217test -n "$host_alias" && ac_tool_prefix=$host_alias-
1218
1219test "$silent" = yes && exec 6>/dev/null
1220
1221
1222ac_pwd=`pwd` && test -n "$ac_pwd" &&
1223ac_ls_di=`ls -di .` &&
1224ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1225  as_fn_error "working directory cannot be determined"
1226test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1227  as_fn_error "pwd does not report name of working directory"
1228
1229
1230# Find the source files, if location was not specified.
1231if test -z "$srcdir"; then
1232  ac_srcdir_defaulted=yes
1233  # Try the directory containing this script, then the parent directory.
1234  ac_confdir=`$as_dirname -- "$as_myself" ||
1235$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236	 X"$as_myself" : 'X\(//\)[^/]' \| \
1237	 X"$as_myself" : 'X\(//\)$' \| \
1238	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1239$as_echo X"$as_myself" |
1240    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241	    s//\1/
1242	    q
1243	  }
1244	  /^X\(\/\/\)[^/].*/{
1245	    s//\1/
1246	    q
1247	  }
1248	  /^X\(\/\/\)$/{
1249	    s//\1/
1250	    q
1251	  }
1252	  /^X\(\/\).*/{
1253	    s//\1/
1254	    q
1255	  }
1256	  s/.*/./; q'`
1257  srcdir=$ac_confdir
1258  if test ! -r "$srcdir/$ac_unique_file"; then
1259    srcdir=..
1260  fi
1261else
1262  ac_srcdir_defaulted=no
1263fi
1264if test ! -r "$srcdir/$ac_unique_file"; then
1265  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1267fi
1268ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1269ac_abs_confdir=`(
1270	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1271	pwd)`
1272# When building in place, set srcdir=.
1273if test "$ac_abs_confdir" = "$ac_pwd"; then
1274  srcdir=.
1275fi
1276# Remove unnecessary trailing slashes from srcdir.
1277# Double slashes in file names in object file debugging info
1278# mess up M-x gdb in Emacs.
1279case $srcdir in
1280*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281esac
1282for ac_var in $ac_precious_vars; do
1283  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284  eval ac_env_${ac_var}_value=\$${ac_var}
1285  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287done
1288
1289#
1290# Report the --help message.
1291#
1292if test "$ac_init_help" = "long"; then
1293  # Omit some internal or obsolete options to make the list less imposing.
1294  # This message is too long to be a string in the A/UX 3.1 sh.
1295  cat <<_ACEOF
1296\`configure' configures libssp 1.0 to adapt to many kinds of systems.
1297
1298Usage: $0 [OPTION]... [VAR=VALUE]...
1299
1300To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301VAR=VALUE.  See below for descriptions of some of the useful variables.
1302
1303Defaults for the options are specified in brackets.
1304
1305Configuration:
1306  -h, --help              display this help and exit
1307      --help=short        display options specific to this package
1308      --help=recursive    display the short help of all the included packages
1309  -V, --version           display version information and exit
1310  -q, --quiet, --silent   do not print \`checking...' messages
1311      --cache-file=FILE   cache test results in FILE [disabled]
1312  -C, --config-cache      alias for \`--cache-file=config.cache'
1313  -n, --no-create         do not create output files
1314      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1315
1316Installation directories:
1317  --prefix=PREFIX         install architecture-independent files in PREFIX
1318                          [$ac_default_prefix]
1319  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1320                          [PREFIX]
1321
1322By default, \`make install' will install all the files in
1323\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1324an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325for instance \`--prefix=\$HOME'.
1326
1327For better control, use the options below.
1328
1329Fine tuning of the installation directories:
1330  --bindir=DIR            user executables [EPREFIX/bin]
1331  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1332  --libexecdir=DIR        program executables [EPREFIX/libexec]
1333  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1334  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1335  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1336  --libdir=DIR            object code libraries [EPREFIX/lib]
1337  --includedir=DIR        C header files [PREFIX/include]
1338  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1339  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1340  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1341  --infodir=DIR           info documentation [DATAROOTDIR/info]
1342  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1343  --mandir=DIR            man documentation [DATAROOTDIR/man]
1344  --docdir=DIR            documentation root [DATAROOTDIR/doc/libssp]
1345  --htmldir=DIR           html documentation [DOCDIR]
1346  --dvidir=DIR            dvi documentation [DOCDIR]
1347  --pdfdir=DIR            pdf documentation [DOCDIR]
1348  --psdir=DIR             ps documentation [DOCDIR]
1349_ACEOF
1350
1351  cat <<\_ACEOF
1352
1353Program names:
1354  --program-prefix=PREFIX            prepend PREFIX to installed program names
1355  --program-suffix=SUFFIX            append SUFFIX to installed program names
1356  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1357
1358System types:
1359  --build=BUILD     configure for building on BUILD [guessed]
1360  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1361  --target=TARGET   configure for building compilers for TARGET [HOST]
1362_ACEOF
1363fi
1364
1365if test -n "$ac_init_help"; then
1366  case $ac_init_help in
1367     short | recursive ) echo "Configuration of libssp 1.0:";;
1368   esac
1369  cat <<\_ACEOF
1370
1371Optional Features:
1372  --disable-option-checking  ignore unrecognized --enable/--with options
1373  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1374  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1375  --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
1376  --enable-maintainer-mode  enable make rules and dependencies not useful
1377			  (and sometimes confusing) to the casual installer
1378  --enable-multilib       build many library versions (default)
1379  --disable-dependency-tracking  speeds up one-time build
1380  --enable-dependency-tracking   do not reject slow dependency extractors
1381  --enable-cet            enable Intel CET in target libraries [default=no]
1382  --disable-symvers       disable symbol versioning for libssp
1383  --enable-shared[=PKGS]  build shared libraries [default=yes]
1384  --enable-static[=PKGS]  build static libraries [default=yes]
1385  --enable-fast-install[=PKGS]
1386                          optimize for fast installation [default=yes]
1387  --disable-libtool-lock  avoid locking (might break parallel builds)
1388
1389Optional Packages:
1390  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1391  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1392  --with-pic              try to use only PIC/non-PIC objects [default=use
1393                          both]
1394  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1395  --with-gcc-major-version-only
1396                          use only GCC major number in filesystem paths
1397
1398Some influential environment variables:
1399  CC          C compiler command
1400  CFLAGS      C compiler flags
1401  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1402              nonstandard directory <lib dir>
1403  LIBS        libraries to pass to the linker, e.g. -l<library>
1404  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1405              you have headers in a nonstandard directory <include dir>
1406  CPP         C preprocessor
1407
1408Use these variables to override the choices made by `configure' or to help
1409it to find libraries and programs with nonstandard names/locations.
1410
1411Report bugs to the package provider.
1412_ACEOF
1413ac_status=$?
1414fi
1415
1416if test "$ac_init_help" = "recursive"; then
1417  # If there are subdirs, report their specific --help.
1418  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1419    test -d "$ac_dir" ||
1420      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1421      continue
1422    ac_builddir=.
1423
1424case "$ac_dir" in
1425.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1426*)
1427  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1428  # A ".." for each directory in $ac_dir_suffix.
1429  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1430  case $ac_top_builddir_sub in
1431  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1433  esac ;;
1434esac
1435ac_abs_top_builddir=$ac_pwd
1436ac_abs_builddir=$ac_pwd$ac_dir_suffix
1437# for backward compatibility:
1438ac_top_builddir=$ac_top_build_prefix
1439
1440case $srcdir in
1441  .)  # We are building in place.
1442    ac_srcdir=.
1443    ac_top_srcdir=$ac_top_builddir_sub
1444    ac_abs_top_srcdir=$ac_pwd ;;
1445  [\\/]* | ?:[\\/]* )  # Absolute name.
1446    ac_srcdir=$srcdir$ac_dir_suffix;
1447    ac_top_srcdir=$srcdir
1448    ac_abs_top_srcdir=$srcdir ;;
1449  *) # Relative name.
1450    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1451    ac_top_srcdir=$ac_top_build_prefix$srcdir
1452    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1453esac
1454ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1455
1456    cd "$ac_dir" || { ac_status=$?; continue; }
1457    # Check for guested configure.
1458    if test -f "$ac_srcdir/configure.gnu"; then
1459      echo &&
1460      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1461    elif test -f "$ac_srcdir/configure"; then
1462      echo &&
1463      $SHELL "$ac_srcdir/configure" --help=recursive
1464    else
1465      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1466    fi || ac_status=$?
1467    cd "$ac_pwd" || { ac_status=$?; break; }
1468  done
1469fi
1470
1471test -n "$ac_init_help" && exit $ac_status
1472if $ac_init_version; then
1473  cat <<\_ACEOF
1474libssp configure 1.0
1475generated by GNU Autoconf 2.64
1476
1477Copyright (C) 2009 Free Software Foundation, Inc.
1478This configure script is free software; the Free Software Foundation
1479gives unlimited permission to copy, distribute and modify it.
1480_ACEOF
1481  exit
1482fi
1483
1484## ------------------------ ##
1485## Autoconf initialization. ##
1486## ------------------------ ##
1487
1488# ac_fn_c_try_compile LINENO
1489# --------------------------
1490# Try to compile conftest.$ac_ext, and return whether this succeeded.
1491ac_fn_c_try_compile ()
1492{
1493  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1494  rm -f conftest.$ac_objext
1495  if { { ac_try="$ac_compile"
1496case "(($ac_try" in
1497  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1498  *) ac_try_echo=$ac_try;;
1499esac
1500eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1501$as_echo "$ac_try_echo"; } >&5
1502  (eval "$ac_compile") 2>conftest.err
1503  ac_status=$?
1504  if test -s conftest.err; then
1505    grep -v '^ *+' conftest.err >conftest.er1
1506    cat conftest.er1 >&5
1507    mv -f conftest.er1 conftest.err
1508  fi
1509  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510  test $ac_status = 0; } && {
1511	 test -z "$ac_c_werror_flag" ||
1512	 test ! -s conftest.err
1513       } && test -s conftest.$ac_objext; then :
1514  ac_retval=0
1515else
1516  $as_echo "$as_me: failed program was:" >&5
1517sed 's/^/| /' conftest.$ac_ext >&5
1518
1519	ac_retval=1
1520fi
1521  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1522  return $ac_retval
1523
1524} # ac_fn_c_try_compile
1525
1526# ac_fn_c_try_cpp LINENO
1527# ----------------------
1528# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1529ac_fn_c_try_cpp ()
1530{
1531  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532  if { { ac_try="$ac_cpp conftest.$ac_ext"
1533case "(($ac_try" in
1534  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1535  *) ac_try_echo=$ac_try;;
1536esac
1537eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1538$as_echo "$ac_try_echo"; } >&5
1539  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1540  ac_status=$?
1541  if test -s conftest.err; then
1542    grep -v '^ *+' conftest.err >conftest.er1
1543    cat conftest.er1 >&5
1544    mv -f conftest.er1 conftest.err
1545  fi
1546  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1547  test $ac_status = 0; } >/dev/null && {
1548	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1549	 test ! -s conftest.err
1550       }; then :
1551  ac_retval=0
1552else
1553  $as_echo "$as_me: failed program was:" >&5
1554sed 's/^/| /' conftest.$ac_ext >&5
1555
1556    ac_retval=1
1557fi
1558  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1559  return $ac_retval
1560
1561} # ac_fn_c_try_cpp
1562
1563# ac_fn_c_try_link LINENO
1564# -----------------------
1565# Try to link conftest.$ac_ext, and return whether this succeeded.
1566ac_fn_c_try_link ()
1567{
1568  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569  rm -f conftest.$ac_objext conftest$ac_exeext
1570  if { { ac_try="$ac_link"
1571case "(($ac_try" in
1572  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1573  *) ac_try_echo=$ac_try;;
1574esac
1575eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576$as_echo "$ac_try_echo"; } >&5
1577  (eval "$ac_link") 2>conftest.err
1578  ac_status=$?
1579  if test -s conftest.err; then
1580    grep -v '^ *+' conftest.err >conftest.er1
1581    cat conftest.er1 >&5
1582    mv -f conftest.er1 conftest.err
1583  fi
1584  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585  test $ac_status = 0; } && {
1586	 test -z "$ac_c_werror_flag" ||
1587	 test ! -s conftest.err
1588       } && test -s conftest$ac_exeext && {
1589	 test "$cross_compiling" = yes ||
1590	 $as_test_x conftest$ac_exeext
1591       }; then :
1592  ac_retval=0
1593else
1594  $as_echo "$as_me: failed program was:" >&5
1595sed 's/^/| /' conftest.$ac_ext >&5
1596
1597	ac_retval=1
1598fi
1599  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1600  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1601  # interfere with the next link command; also delete a directory that is
1602  # left behind by Apple's compiler.  We do this before executing the actions.
1603  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1604  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1605  return $ac_retval
1606
1607} # ac_fn_c_try_link
1608
1609# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1610# -------------------------------------------------------
1611# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1612# the include files in INCLUDES and setting the cache variable VAR
1613# accordingly.
1614ac_fn_c_check_header_mongrel ()
1615{
1616  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1618  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1619$as_echo_n "checking for $2... " >&6; }
1620if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1621  $as_echo_n "(cached) " >&6
1622fi
1623eval ac_res=\$$3
1624	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1625$as_echo "$ac_res" >&6; }
1626else
1627  # Is the header compilable?
1628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1629$as_echo_n "checking $2 usability... " >&6; }
1630cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631/* end confdefs.h.  */
1632$4
1633#include <$2>
1634_ACEOF
1635if ac_fn_c_try_compile "$LINENO"; then :
1636  ac_header_compiler=yes
1637else
1638  ac_header_compiler=no
1639fi
1640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1642$as_echo "$ac_header_compiler" >&6; }
1643
1644# Is the header present?
1645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1646$as_echo_n "checking $2 presence... " >&6; }
1647cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1648/* end confdefs.h.  */
1649#include <$2>
1650_ACEOF
1651if ac_fn_c_try_cpp "$LINENO"; then :
1652  ac_header_preproc=yes
1653else
1654  ac_header_preproc=no
1655fi
1656rm -f conftest.err conftest.$ac_ext
1657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1658$as_echo "$ac_header_preproc" >&6; }
1659
1660# So?  What about this header?
1661case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1662  yes:no: )
1663    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1664$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1665    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1666$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1667    ;;
1668  no:yes:* )
1669    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1670$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1671    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1672$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1673    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1674$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1675    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1676$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1677    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1678$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1679    ;;
1680esac
1681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682$as_echo_n "checking for $2... " >&6; }
1683if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1684  $as_echo_n "(cached) " >&6
1685else
1686  eval "$3=\$ac_header_compiler"
1687fi
1688eval ac_res=\$$3
1689	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1690$as_echo "$ac_res" >&6; }
1691fi
1692  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1693
1694} # ac_fn_c_check_header_mongrel
1695
1696# ac_fn_c_try_run LINENO
1697# ----------------------
1698# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1699# that executables *can* be run.
1700ac_fn_c_try_run ()
1701{
1702  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703  if { { ac_try="$ac_link"
1704case "(($ac_try" in
1705  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706  *) ac_try_echo=$ac_try;;
1707esac
1708eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709$as_echo "$ac_try_echo"; } >&5
1710  (eval "$ac_link") 2>&5
1711  ac_status=$?
1712  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1714  { { case "(($ac_try" in
1715  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716  *) ac_try_echo=$ac_try;;
1717esac
1718eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719$as_echo "$ac_try_echo"; } >&5
1720  (eval "$ac_try") 2>&5
1721  ac_status=$?
1722  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723  test $ac_status = 0; }; }; then :
1724  ac_retval=0
1725else
1726  $as_echo "$as_me: program exited with status $ac_status" >&5
1727       $as_echo "$as_me: failed program was:" >&5
1728sed 's/^/| /' conftest.$ac_ext >&5
1729
1730       ac_retval=$ac_status
1731fi
1732  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1733  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1734  return $ac_retval
1735
1736} # ac_fn_c_try_run
1737
1738# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1739# -------------------------------------------------------
1740# Tests whether HEADER exists and can be compiled using the include files in
1741# INCLUDES, setting the cache variable VAR accordingly.
1742ac_fn_c_check_header_compile ()
1743{
1744  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746$as_echo_n "checking for $2... " >&6; }
1747if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1748  $as_echo_n "(cached) " >&6
1749else
1750  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1751/* end confdefs.h.  */
1752$4
1753#include <$2>
1754_ACEOF
1755if ac_fn_c_try_compile "$LINENO"; then :
1756  eval "$3=yes"
1757else
1758  eval "$3=no"
1759fi
1760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1761fi
1762eval ac_res=\$$3
1763	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1764$as_echo "$ac_res" >&6; }
1765  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1766
1767} # ac_fn_c_check_header_compile
1768
1769# ac_fn_c_check_func LINENO FUNC VAR
1770# ----------------------------------
1771# Tests whether FUNC exists, setting the cache variable VAR accordingly
1772ac_fn_c_check_func ()
1773{
1774  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776$as_echo_n "checking for $2... " >&6; }
1777if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1778  $as_echo_n "(cached) " >&6
1779else
1780  if test x$gcc_no_link = xyes; then
1781  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1782fi
1783cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784/* end confdefs.h.  */
1785/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1786   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1787#define $2 innocuous_$2
1788
1789/* System header to define __stub macros and hopefully few prototypes,
1790    which can conflict with char $2 (); below.
1791    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1792    <limits.h> exists even on freestanding compilers.  */
1793
1794#ifdef __STDC__
1795# include <limits.h>
1796#else
1797# include <assert.h>
1798#endif
1799
1800#undef $2
1801
1802/* Override any GCC internal prototype to avoid an error.
1803   Use char because int might match the return type of a GCC
1804   builtin and then its argument prototype would still apply.  */
1805#ifdef __cplusplus
1806extern "C"
1807#endif
1808char $2 ();
1809/* The GNU C library defines this for functions which it implements
1810    to always fail with ENOSYS.  Some functions are actually named
1811    something starting with __ and the normal name is an alias.  */
1812#if defined __stub_$2 || defined __stub___$2
1813choke me
1814#endif
1815
1816int
1817main ()
1818{
1819return $2 ();
1820  ;
1821  return 0;
1822}
1823_ACEOF
1824if ac_fn_c_try_link "$LINENO"; then :
1825  eval "$3=yes"
1826else
1827  eval "$3=no"
1828fi
1829rm -f core conftest.err conftest.$ac_objext \
1830    conftest$ac_exeext conftest.$ac_ext
1831fi
1832eval ac_res=\$$3
1833	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1834$as_echo "$ac_res" >&6; }
1835  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1836
1837} # ac_fn_c_check_func
1838cat >config.log <<_ACEOF
1839This file contains any messages produced by compilers while
1840running configure, to aid debugging if configure makes a mistake.
1841
1842It was created by libssp $as_me 1.0, which was
1843generated by GNU Autoconf 2.64.  Invocation command line was
1844
1845  $ $0 $@
1846
1847_ACEOF
1848exec 5>>config.log
1849{
1850cat <<_ASUNAME
1851## --------- ##
1852## Platform. ##
1853## --------- ##
1854
1855hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1856uname -m = `(uname -m) 2>/dev/null || echo unknown`
1857uname -r = `(uname -r) 2>/dev/null || echo unknown`
1858uname -s = `(uname -s) 2>/dev/null || echo unknown`
1859uname -v = `(uname -v) 2>/dev/null || echo unknown`
1860
1861/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1862/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1863
1864/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1865/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1866/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1867/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1868/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1869/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1870/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1871
1872_ASUNAME
1873
1874as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875for as_dir in $PATH
1876do
1877  IFS=$as_save_IFS
1878  test -z "$as_dir" && as_dir=.
1879    $as_echo "PATH: $as_dir"
1880  done
1881IFS=$as_save_IFS
1882
1883} >&5
1884
1885cat >&5 <<_ACEOF
1886
1887
1888## ----------- ##
1889## Core tests. ##
1890## ----------- ##
1891
1892_ACEOF
1893
1894
1895# Keep a trace of the command line.
1896# Strip out --no-create and --no-recursion so they do not pile up.
1897# Strip out --silent because we don't want to record it for future runs.
1898# Also quote any args containing shell meta-characters.
1899# Make two passes to allow for proper duplicate-argument suppression.
1900ac_configure_args=
1901ac_configure_args0=
1902ac_configure_args1=
1903ac_must_keep_next=false
1904for ac_pass in 1 2
1905do
1906  for ac_arg
1907  do
1908    case $ac_arg in
1909    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1910    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1911    | -silent | --silent | --silen | --sile | --sil)
1912      continue ;;
1913    *\'*)
1914      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1915    esac
1916    case $ac_pass in
1917    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1918    2)
1919      as_fn_append ac_configure_args1 " '$ac_arg'"
1920      if test $ac_must_keep_next = true; then
1921	ac_must_keep_next=false # Got value, back to normal.
1922      else
1923	case $ac_arg in
1924	  *=* | --config-cache | -C | -disable-* | --disable-* \
1925	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1926	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1927	  | -with-* | --with-* | -without-* | --without-* | --x)
1928	    case "$ac_configure_args0 " in
1929	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1930	    esac
1931	    ;;
1932	  -* ) ac_must_keep_next=true ;;
1933	esac
1934      fi
1935      as_fn_append ac_configure_args " '$ac_arg'"
1936      ;;
1937    esac
1938  done
1939done
1940{ ac_configure_args0=; unset ac_configure_args0;}
1941{ ac_configure_args1=; unset ac_configure_args1;}
1942
1943# When interrupted or exit'd, cleanup temporary files, and complete
1944# config.log.  We remove comments because anyway the quotes in there
1945# would cause problems or look ugly.
1946# WARNING: Use '\'' to represent an apostrophe within the trap.
1947# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1948trap 'exit_status=$?
1949  # Save into config.log some information that might help in debugging.
1950  {
1951    echo
1952
1953    cat <<\_ASBOX
1954## ---------------- ##
1955## Cache variables. ##
1956## ---------------- ##
1957_ASBOX
1958    echo
1959    # The following way of writing the cache mishandles newlines in values,
1960(
1961  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1962    eval ac_val=\$$ac_var
1963    case $ac_val in #(
1964    *${as_nl}*)
1965      case $ac_var in #(
1966      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1967$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1968      esac
1969      case $ac_var in #(
1970      _ | IFS | as_nl) ;; #(
1971      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1972      *) { eval $ac_var=; unset $ac_var;} ;;
1973      esac ;;
1974    esac
1975  done
1976  (set) 2>&1 |
1977    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1978    *${as_nl}ac_space=\ *)
1979      sed -n \
1980	"s/'\''/'\''\\\\'\'''\''/g;
1981	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1982      ;; #(
1983    *)
1984      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1985      ;;
1986    esac |
1987    sort
1988)
1989    echo
1990
1991    cat <<\_ASBOX
1992## ----------------- ##
1993## Output variables. ##
1994## ----------------- ##
1995_ASBOX
1996    echo
1997    for ac_var in $ac_subst_vars
1998    do
1999      eval ac_val=\$$ac_var
2000      case $ac_val in
2001      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2002      esac
2003      $as_echo "$ac_var='\''$ac_val'\''"
2004    done | sort
2005    echo
2006
2007    if test -n "$ac_subst_files"; then
2008      cat <<\_ASBOX
2009## ------------------- ##
2010## File substitutions. ##
2011## ------------------- ##
2012_ASBOX
2013      echo
2014      for ac_var in $ac_subst_files
2015      do
2016	eval ac_val=\$$ac_var
2017	case $ac_val in
2018	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2019	esac
2020	$as_echo "$ac_var='\''$ac_val'\''"
2021      done | sort
2022      echo
2023    fi
2024
2025    if test -s confdefs.h; then
2026      cat <<\_ASBOX
2027## ----------- ##
2028## confdefs.h. ##
2029## ----------- ##
2030_ASBOX
2031      echo
2032      cat confdefs.h
2033      echo
2034    fi
2035    test "$ac_signal" != 0 &&
2036      $as_echo "$as_me: caught signal $ac_signal"
2037    $as_echo "$as_me: exit $exit_status"
2038  } >&5
2039  rm -f core *.core core.conftest.* &&
2040    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2041    exit $exit_status
2042' 0
2043for ac_signal in 1 2 13 15; do
2044  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2045done
2046ac_signal=0
2047
2048# confdefs.h avoids OS command line length limits that DEFS can exceed.
2049rm -f -r conftest* confdefs.h
2050
2051$as_echo "/* confdefs.h */" > confdefs.h
2052
2053# Predefined preprocessor variables.
2054
2055cat >>confdefs.h <<_ACEOF
2056#define PACKAGE_NAME "$PACKAGE_NAME"
2057_ACEOF
2058
2059cat >>confdefs.h <<_ACEOF
2060#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2061_ACEOF
2062
2063cat >>confdefs.h <<_ACEOF
2064#define PACKAGE_VERSION "$PACKAGE_VERSION"
2065_ACEOF
2066
2067cat >>confdefs.h <<_ACEOF
2068#define PACKAGE_STRING "$PACKAGE_STRING"
2069_ACEOF
2070
2071cat >>confdefs.h <<_ACEOF
2072#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2073_ACEOF
2074
2075cat >>confdefs.h <<_ACEOF
2076#define PACKAGE_URL "$PACKAGE_URL"
2077_ACEOF
2078
2079
2080# Let the site file select an alternate cache file if it wants to.
2081# Prefer an explicitly selected file to automatically selected ones.
2082ac_site_file1=NONE
2083ac_site_file2=NONE
2084if test -n "$CONFIG_SITE"; then
2085  ac_site_file1=$CONFIG_SITE
2086elif test "x$prefix" != xNONE; then
2087  ac_site_file1=$prefix/share/config.site
2088  ac_site_file2=$prefix/etc/config.site
2089else
2090  ac_site_file1=$ac_default_prefix/share/config.site
2091  ac_site_file2=$ac_default_prefix/etc/config.site
2092fi
2093for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2094do
2095  test "x$ac_site_file" = xNONE && continue
2096  if test -r "$ac_site_file"; then
2097    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2098$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2099    sed 's/^/| /' "$ac_site_file" >&5
2100    . "$ac_site_file"
2101  fi
2102done
2103
2104if test -r "$cache_file"; then
2105  # Some versions of bash will fail to source /dev/null (special
2106  # files actually), so we avoid doing that.
2107  if test -f "$cache_file"; then
2108    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2109$as_echo "$as_me: loading cache $cache_file" >&6;}
2110    case $cache_file in
2111      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2112      *)                      . "./$cache_file";;
2113    esac
2114  fi
2115else
2116  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2117$as_echo "$as_me: creating cache $cache_file" >&6;}
2118  >$cache_file
2119fi
2120
2121# Check that the precious variables saved in the cache have kept the same
2122# value.
2123ac_cache_corrupted=false
2124for ac_var in $ac_precious_vars; do
2125  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2126  eval ac_new_set=\$ac_env_${ac_var}_set
2127  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2128  eval ac_new_val=\$ac_env_${ac_var}_value
2129  case $ac_old_set,$ac_new_set in
2130    set,)
2131      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2132$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2133      ac_cache_corrupted=: ;;
2134    ,set)
2135      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2136$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2137      ac_cache_corrupted=: ;;
2138    ,);;
2139    *)
2140      if test "x$ac_old_val" != "x$ac_new_val"; then
2141	# differences in whitespace do not lead to failure.
2142	ac_old_val_w=`echo x $ac_old_val`
2143	ac_new_val_w=`echo x $ac_new_val`
2144	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2145	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2146$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2147	  ac_cache_corrupted=:
2148	else
2149	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2150$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2151	  eval $ac_var=\$ac_old_val
2152	fi
2153	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2154$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2155	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2156$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2157      fi;;
2158  esac
2159  # Pass precious variables to config.status.
2160  if test "$ac_new_set" = set; then
2161    case $ac_new_val in
2162    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2163    *) ac_arg=$ac_var=$ac_new_val ;;
2164    esac
2165    case " $ac_configure_args " in
2166      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2167      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2168    esac
2169  fi
2170done
2171if $ac_cache_corrupted; then
2172  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2173$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2174  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2175$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2176  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2177fi
2178## -------------------- ##
2179## Main body of script. ##
2180## -------------------- ##
2181
2182ac_ext=c
2183ac_cpp='$CPP $CPPFLAGS'
2184ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2185ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2186ac_compiler_gnu=$ac_cv_c_compiler_gnu
2187
2188
2189
2190
2191
2192
2193ac_aux_dir=
2194for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2195  for ac_t in install-sh install.sh shtool; do
2196    if test -f "$ac_dir/$ac_t"; then
2197      ac_aux_dir=$ac_dir
2198      ac_install_sh="$ac_aux_dir/$ac_t -c"
2199      break 2
2200    fi
2201  done
2202done
2203if test -z "$ac_aux_dir"; then
2204  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2205fi
2206
2207# These three variables are undocumented and unsupported,
2208# and are intended to be withdrawn in a future Autoconf release.
2209# They can cause serious problems if a builder's source tree is in a directory
2210# whose full name contains unusual characters.
2211ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2212ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2213ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2214
2215
2216# Make sure we can run config.sub.
2217$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2218  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2219
2220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2221$as_echo_n "checking build system type... " >&6; }
2222if test "${ac_cv_build+set}" = set; then :
2223  $as_echo_n "(cached) " >&6
2224else
2225  ac_build_alias=$build_alias
2226test "x$ac_build_alias" = x &&
2227  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2228test "x$ac_build_alias" = x &&
2229  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2230ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2231  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2232
2233fi
2234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2235$as_echo "$ac_cv_build" >&6; }
2236case $ac_cv_build in
2237*-*-*) ;;
2238*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2239esac
2240build=$ac_cv_build
2241ac_save_IFS=$IFS; IFS='-'
2242set x $ac_cv_build
2243shift
2244build_cpu=$1
2245build_vendor=$2
2246shift; shift
2247# Remember, the first character of IFS is used to create $*,
2248# except with old shells:
2249build_os=$*
2250IFS=$ac_save_IFS
2251case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2252
2253
2254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2255$as_echo_n "checking host system type... " >&6; }
2256if test "${ac_cv_host+set}" = set; then :
2257  $as_echo_n "(cached) " >&6
2258else
2259  if test "x$host_alias" = x; then
2260  ac_cv_host=$ac_cv_build
2261else
2262  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2263    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2264fi
2265
2266fi
2267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2268$as_echo "$ac_cv_host" >&6; }
2269case $ac_cv_host in
2270*-*-*) ;;
2271*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2272esac
2273host=$ac_cv_host
2274ac_save_IFS=$IFS; IFS='-'
2275set x $ac_cv_host
2276shift
2277host_cpu=$1
2278host_vendor=$2
2279shift; shift
2280# Remember, the first character of IFS is used to create $*,
2281# except with old shells:
2282host_os=$*
2283IFS=$ac_save_IFS
2284case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2285
2286
2287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2288$as_echo_n "checking target system type... " >&6; }
2289if test "${ac_cv_target+set}" = set; then :
2290  $as_echo_n "(cached) " >&6
2291else
2292  if test "x$target_alias" = x; then
2293  ac_cv_target=$ac_cv_host
2294else
2295  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2296    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2297fi
2298
2299fi
2300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2301$as_echo "$ac_cv_target" >&6; }
2302case $ac_cv_target in
2303*-*-*) ;;
2304*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2305esac
2306target=$ac_cv_target
2307ac_save_IFS=$IFS; IFS='-'
2308set x $ac_cv_target
2309shift
2310target_cpu=$1
2311target_vendor=$2
2312shift; shift
2313# Remember, the first character of IFS is used to create $*,
2314# except with old shells:
2315target_os=$*
2316IFS=$ac_save_IFS
2317case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2318
2319
2320# The aliases save the names the user supplied, while $host etc.
2321# will get canonicalized.
2322test -n "$target_alias" &&
2323  test "$program_prefix$program_suffix$program_transform_name" = \
2324    NONENONEs,x,x, &&
2325  program_prefix=${target_alias}-
2326
2327 case ${build_alias} in
2328  "") build_noncanonical=${build} ;;
2329  *) build_noncanonical=${build_alias} ;;
2330esac
2331
2332 case ${host_alias} in
2333  "") host_noncanonical=${build_noncanonical} ;;
2334  *) host_noncanonical=${host_alias} ;;
2335esac
2336
2337 case ${target_alias} in
2338  "") target_noncanonical=${host_noncanonical} ;;
2339  *) target_noncanonical=${target_alias} ;;
2340esac
2341
2342
2343
2344
2345am__api_version='1.11'
2346
2347# Find a good install program.  We prefer a C program (faster),
2348# so one script is as good as another.  But avoid the broken or
2349# incompatible versions:
2350# SysV /etc/install, /usr/sbin/install
2351# SunOS /usr/etc/install
2352# IRIX /sbin/install
2353# AIX /bin/install
2354# AmigaOS /C/install, which installs bootblocks on floppy discs
2355# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2356# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2357# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2358# OS/2's system install, which has a completely different semantic
2359# ./install, which can be erroneously created by make from ./install.sh.
2360# Reject install programs that cannot install multiple files.
2361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2362$as_echo_n "checking for a BSD-compatible install... " >&6; }
2363if test -z "$INSTALL"; then
2364if test "${ac_cv_path_install+set}" = set; then :
2365  $as_echo_n "(cached) " >&6
2366else
2367  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368for as_dir in $PATH
2369do
2370  IFS=$as_save_IFS
2371  test -z "$as_dir" && as_dir=.
2372    # Account for people who put trailing slashes in PATH elements.
2373case $as_dir/ in #((
2374  ./ | .// | /[cC]/* | \
2375  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2376  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2377  /usr/ucb/* ) ;;
2378  *)
2379    # OSF1 and SCO ODT 3.0 have their own names for install.
2380    # Don't use installbsd from OSF since it installs stuff as root
2381    # by default.
2382    for ac_prog in ginstall scoinst install; do
2383      for ac_exec_ext in '' $ac_executable_extensions; do
2384	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2385	  if test $ac_prog = install &&
2386	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2387	    # AIX install.  It has an incompatible calling convention.
2388	    :
2389	  elif test $ac_prog = install &&
2390	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2391	    # program-specific install script used by HP pwplus--don't use.
2392	    :
2393	  else
2394	    rm -rf conftest.one conftest.two conftest.dir
2395	    echo one > conftest.one
2396	    echo two > conftest.two
2397	    mkdir conftest.dir
2398	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2399	      test -s conftest.one && test -s conftest.two &&
2400	      test -s conftest.dir/conftest.one &&
2401	      test -s conftest.dir/conftest.two
2402	    then
2403	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2404	      break 3
2405	    fi
2406	  fi
2407	fi
2408      done
2409    done
2410    ;;
2411esac
2412
2413  done
2414IFS=$as_save_IFS
2415
2416rm -rf conftest.one conftest.two conftest.dir
2417
2418fi
2419  if test "${ac_cv_path_install+set}" = set; then
2420    INSTALL=$ac_cv_path_install
2421  else
2422    # As a last resort, use the slow shell script.  Don't cache a
2423    # value for INSTALL within a source directory, because that will
2424    # break other packages using the cache if that directory is
2425    # removed, or if the value is a relative name.
2426    INSTALL=$ac_install_sh
2427  fi
2428fi
2429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2430$as_echo "$INSTALL" >&6; }
2431
2432# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2433# It thinks the first close brace ends the variable substitution.
2434test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2435
2436test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2437
2438test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2439
2440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2441$as_echo_n "checking whether build environment is sane... " >&6; }
2442# Just in case
2443sleep 1
2444echo timestamp > conftest.file
2445# Reject unsafe characters in $srcdir or the absolute working directory
2446# name.  Accept space and tab only in the latter.
2447am_lf='
2448'
2449case `pwd` in
2450  *[\\\"\#\$\&\'\`$am_lf]*)
2451    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2452esac
2453case $srcdir in
2454  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2455    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2456esac
2457
2458# Do `set' in a subshell so we don't clobber the current shell's
2459# arguments.  Must try -L first in case configure is actually a
2460# symlink; some systems play weird games with the mod time of symlinks
2461# (eg FreeBSD returns the mod time of the symlink's containing
2462# directory).
2463if (
2464   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2465   if test "$*" = "X"; then
2466      # -L didn't work.
2467      set X `ls -t "$srcdir/configure" conftest.file`
2468   fi
2469   rm -f conftest.file
2470   if test "$*" != "X $srcdir/configure conftest.file" \
2471      && test "$*" != "X conftest.file $srcdir/configure"; then
2472
2473      # If neither matched, then we have a broken ls.  This can happen
2474      # if, for instance, CONFIG_SHELL is bash and it inherits a
2475      # broken ls alias from the environment.  This has actually
2476      # happened.  Such a system could not be considered "sane".
2477      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2478alias in your environment" "$LINENO" 5
2479   fi
2480
2481   test "$2" = conftest.file
2482   )
2483then
2484   # Ok.
2485   :
2486else
2487   as_fn_error "newly created file is older than distributed files!
2488Check your system clock" "$LINENO" 5
2489fi
2490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2491$as_echo "yes" >&6; }
2492test "$program_prefix" != NONE &&
2493  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2494# Use a double $ so make ignores it.
2495test "$program_suffix" != NONE &&
2496  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2497# Double any \ or $.
2498# By default was `s,x,x', remove it if useless.
2499ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2500program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2501
2502# expand $ac_aux_dir to an absolute path
2503am_aux_dir=`cd $ac_aux_dir && pwd`
2504
2505if test x"${MISSING+set}" != xset; then
2506  case $am_aux_dir in
2507  *\ * | *\	*)
2508    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2509  *)
2510    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2511  esac
2512fi
2513# Use eval to expand $SHELL
2514if eval "$MISSING --run true"; then
2515  am_missing_run="$MISSING --run "
2516else
2517  am_missing_run=
2518  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2519$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2520fi
2521
2522if test x"${install_sh}" != xset; then
2523  case $am_aux_dir in
2524  *\ * | *\	*)
2525    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2526  *)
2527    install_sh="\${SHELL} $am_aux_dir/install-sh"
2528  esac
2529fi
2530
2531# Installed binaries are usually stripped using `strip' when the user
2532# run `make install-strip'.  However `strip' might not be the right
2533# tool to use in cross-compilation environments, therefore Automake
2534# will honor the `STRIP' environment variable to overrule this program.
2535if test "$cross_compiling" != no; then
2536  if test -n "$ac_tool_prefix"; then
2537  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2538set dummy ${ac_tool_prefix}strip; ac_word=$2
2539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2540$as_echo_n "checking for $ac_word... " >&6; }
2541if test "${ac_cv_prog_STRIP+set}" = set; then :
2542  $as_echo_n "(cached) " >&6
2543else
2544  if test -n "$STRIP"; then
2545  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2546else
2547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548for as_dir in $PATH
2549do
2550  IFS=$as_save_IFS
2551  test -z "$as_dir" && as_dir=.
2552    for ac_exec_ext in '' $ac_executable_extensions; do
2553  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2554    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2555    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2556    break 2
2557  fi
2558done
2559  done
2560IFS=$as_save_IFS
2561
2562fi
2563fi
2564STRIP=$ac_cv_prog_STRIP
2565if test -n "$STRIP"; then
2566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2567$as_echo "$STRIP" >&6; }
2568else
2569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2570$as_echo "no" >&6; }
2571fi
2572
2573
2574fi
2575if test -z "$ac_cv_prog_STRIP"; then
2576  ac_ct_STRIP=$STRIP
2577  # Extract the first word of "strip", so it can be a program name with args.
2578set dummy strip; ac_word=$2
2579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2580$as_echo_n "checking for $ac_word... " >&6; }
2581if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2582  $as_echo_n "(cached) " >&6
2583else
2584  if test -n "$ac_ct_STRIP"; then
2585  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2586else
2587as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2588for as_dir in $PATH
2589do
2590  IFS=$as_save_IFS
2591  test -z "$as_dir" && as_dir=.
2592    for ac_exec_ext in '' $ac_executable_extensions; do
2593  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2594    ac_cv_prog_ac_ct_STRIP="strip"
2595    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2596    break 2
2597  fi
2598done
2599  done
2600IFS=$as_save_IFS
2601
2602fi
2603fi
2604ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2605if test -n "$ac_ct_STRIP"; then
2606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2607$as_echo "$ac_ct_STRIP" >&6; }
2608else
2609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2610$as_echo "no" >&6; }
2611fi
2612
2613  if test "x$ac_ct_STRIP" = x; then
2614    STRIP=":"
2615  else
2616    case $cross_compiling:$ac_tool_warned in
2617yes:)
2618{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2619$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2620ac_tool_warned=yes ;;
2621esac
2622    STRIP=$ac_ct_STRIP
2623  fi
2624else
2625  STRIP="$ac_cv_prog_STRIP"
2626fi
2627
2628fi
2629INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2630
2631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2632$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2633if test -z "$MKDIR_P"; then
2634  if test "${ac_cv_path_mkdir+set}" = set; then :
2635  $as_echo_n "(cached) " >&6
2636else
2637  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2639do
2640  IFS=$as_save_IFS
2641  test -z "$as_dir" && as_dir=.
2642    for ac_prog in mkdir gmkdir; do
2643	 for ac_exec_ext in '' $ac_executable_extensions; do
2644	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2645	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2646	     'mkdir (GNU coreutils) '* | \
2647	     'mkdir (coreutils) '* | \
2648	     'mkdir (fileutils) '4.1*)
2649	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2650	       break 3;;
2651	   esac
2652	 done
2653       done
2654  done
2655IFS=$as_save_IFS
2656
2657fi
2658
2659  if test "${ac_cv_path_mkdir+set}" = set; then
2660    MKDIR_P="$ac_cv_path_mkdir -p"
2661  else
2662    # As a last resort, use the slow shell script.  Don't cache a
2663    # value for MKDIR_P within a source directory, because that will
2664    # break other packages using the cache if that directory is
2665    # removed, or if the value is a relative name.
2666    test -d ./--version && rmdir ./--version
2667    MKDIR_P="$ac_install_sh -d"
2668  fi
2669fi
2670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2671$as_echo "$MKDIR_P" >&6; }
2672
2673mkdir_p="$MKDIR_P"
2674case $mkdir_p in
2675  [\\/$]* | ?:[\\/]*) ;;
2676  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2677esac
2678
2679for ac_prog in gawk mawk nawk awk
2680do
2681  # Extract the first word of "$ac_prog", so it can be a program name with args.
2682set dummy $ac_prog; ac_word=$2
2683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684$as_echo_n "checking for $ac_word... " >&6; }
2685if test "${ac_cv_prog_AWK+set}" = set; then :
2686  $as_echo_n "(cached) " >&6
2687else
2688  if test -n "$AWK"; then
2689  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2690else
2691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692for as_dir in $PATH
2693do
2694  IFS=$as_save_IFS
2695  test -z "$as_dir" && as_dir=.
2696    for ac_exec_ext in '' $ac_executable_extensions; do
2697  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2698    ac_cv_prog_AWK="$ac_prog"
2699    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2700    break 2
2701  fi
2702done
2703  done
2704IFS=$as_save_IFS
2705
2706fi
2707fi
2708AWK=$ac_cv_prog_AWK
2709if test -n "$AWK"; then
2710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2711$as_echo "$AWK" >&6; }
2712else
2713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714$as_echo "no" >&6; }
2715fi
2716
2717
2718  test -n "$AWK" && break
2719done
2720
2721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2722$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2723set x ${MAKE-make}
2724ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2725if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2726  $as_echo_n "(cached) " >&6
2727else
2728  cat >conftest.make <<\_ACEOF
2729SHELL = /bin/sh
2730all:
2731	@echo '@@@%%%=$(MAKE)=@@@%%%'
2732_ACEOF
2733# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2734case `${MAKE-make} -f conftest.make 2>/dev/null` in
2735  *@@@%%%=?*=@@@%%%*)
2736    eval ac_cv_prog_make_${ac_make}_set=yes;;
2737  *)
2738    eval ac_cv_prog_make_${ac_make}_set=no;;
2739esac
2740rm -f conftest.make
2741fi
2742if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2744$as_echo "yes" >&6; }
2745  SET_MAKE=
2746else
2747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748$as_echo "no" >&6; }
2749  SET_MAKE="MAKE=${MAKE-make}"
2750fi
2751
2752rm -rf .tst 2>/dev/null
2753mkdir .tst 2>/dev/null
2754if test -d .tst; then
2755  am__leading_dot=.
2756else
2757  am__leading_dot=_
2758fi
2759rmdir .tst 2>/dev/null
2760
2761if test "`cd $srcdir && pwd`" != "`pwd`"; then
2762  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2763  # is not polluted with repeated "-I."
2764  am__isrc=' -I$(srcdir)'
2765  # test to see if srcdir already configured
2766  if test -f $srcdir/config.status; then
2767    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2768  fi
2769fi
2770
2771# test whether we have cygpath
2772if test -z "$CYGPATH_W"; then
2773  if (cygpath --version) >/dev/null 2>/dev/null; then
2774    CYGPATH_W='cygpath -w'
2775  else
2776    CYGPATH_W=echo
2777  fi
2778fi
2779
2780
2781# Define the identity of the package.
2782 PACKAGE='libssp'
2783 VERSION='1.0'
2784
2785
2786cat >>confdefs.h <<_ACEOF
2787#define PACKAGE "$PACKAGE"
2788_ACEOF
2789
2790
2791cat >>confdefs.h <<_ACEOF
2792#define VERSION "$VERSION"
2793_ACEOF
2794
2795# Some tools Automake needs.
2796
2797ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2798
2799
2800AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2801
2802
2803AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2804
2805
2806AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2807
2808
2809MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2810
2811# We need awk for the "check" target.  The system "awk" is bad on
2812# some platforms.
2813# Always define AMTAR for backward compatibility.  Yes, it's still used
2814# in the wild :-(  We should find a proper way to deprecate it ...
2815AMTAR='$${TAR-tar}'
2816
2817am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2818
2819
2820
2821
2822
2823
2824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2825$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2826# Check whether --enable-version-specific-runtime-libs was given.
2827if test "${enable_version_specific_runtime_libs+set}" = set; then :
2828  enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2829 yes) version_specific_libs=yes ;;
2830 no)  version_specific_libs=no ;;
2831 *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2832 esac
2833else
2834  version_specific_libs=no
2835fi
2836
2837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2838$as_echo "$version_specific_libs" >&6; }
2839
2840
2841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2842$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2843    # Check whether --enable-maintainer-mode was given.
2844if test "${enable_maintainer_mode+set}" = set; then :
2845  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2846else
2847  USE_MAINTAINER_MODE=no
2848fi
2849
2850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2851$as_echo "$USE_MAINTAINER_MODE" >&6; }
2852   if test $USE_MAINTAINER_MODE = yes; then
2853  MAINTAINER_MODE_TRUE=
2854  MAINTAINER_MODE_FALSE='#'
2855else
2856  MAINTAINER_MODE_TRUE='#'
2857  MAINTAINER_MODE_FALSE=
2858fi
2859
2860  MAINT=$MAINTAINER_MODE_TRUE
2861
2862
2863
2864
2865
2866# Default to --enable-multilib
2867# Check whether --enable-multilib was given.
2868if test "${enable_multilib+set}" = set; then :
2869  enableval=$enable_multilib; case "$enableval" in
2870  yes) multilib=yes ;;
2871  no)  multilib=no ;;
2872  *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2873 esac
2874else
2875  multilib=yes
2876fi
2877
2878
2879# We may get other options which we leave undocumented:
2880# --with-target-subdir, --with-multisrctop, --with-multisubdir
2881# See config-ml.in if you want the gory details.
2882
2883if test "$srcdir" = "."; then
2884  if test "$with_target_subdir" != "."; then
2885    multi_basedir="$srcdir/$with_multisrctop../.."
2886  else
2887    multi_basedir="$srcdir/$with_multisrctop.."
2888  fi
2889else
2890  multi_basedir="$srcdir/.."
2891fi
2892
2893
2894# Even if the default multilib is not a cross compilation,
2895# it may be that some of the other multilibs are.
2896if test $cross_compiling = no && test $multilib = yes \
2897   && test "x${with_multisubdir}" != x ; then
2898   cross_compiling=maybe
2899fi
2900
2901ac_config_commands="$ac_config_commands default-1"
2902
2903
2904target_alias=${target_alias-$host_alias}
2905
2906
2907ac_config_headers="$ac_config_headers config.h"
2908
2909
2910ac_ext=c
2911ac_cpp='$CPP $CPPFLAGS'
2912ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2913ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2914ac_compiler_gnu=$ac_cv_c_compiler_gnu
2915
2916# The same as in boehm-gc and libstdc++. Have to borrow it from there.
2917# We must force CC to /not/ be precious variables; otherwise
2918# the wrong, non-multilib-adjusted value will be used in multilibs.
2919# As a side effect, we have to subst CFLAGS ourselves.
2920
2921
2922
2923ac_ext=c
2924ac_cpp='$CPP $CPPFLAGS'
2925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2927ac_compiler_gnu=$ac_cv_c_compiler_gnu
2928if test -n "$ac_tool_prefix"; then
2929  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2930set dummy ${ac_tool_prefix}gcc; ac_word=$2
2931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932$as_echo_n "checking for $ac_word... " >&6; }
2933if test "${ac_cv_prog_CC+set}" = set; then :
2934  $as_echo_n "(cached) " >&6
2935else
2936  if test -n "$CC"; then
2937  ac_cv_prog_CC="$CC" # Let the user override the test.
2938else
2939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2940for as_dir in $PATH
2941do
2942  IFS=$as_save_IFS
2943  test -z "$as_dir" && as_dir=.
2944    for ac_exec_ext in '' $ac_executable_extensions; do
2945  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2946    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2947    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948    break 2
2949  fi
2950done
2951  done
2952IFS=$as_save_IFS
2953
2954fi
2955fi
2956CC=$ac_cv_prog_CC
2957if test -n "$CC"; then
2958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2959$as_echo "$CC" >&6; }
2960else
2961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2962$as_echo "no" >&6; }
2963fi
2964
2965
2966fi
2967if test -z "$ac_cv_prog_CC"; then
2968  ac_ct_CC=$CC
2969  # Extract the first word of "gcc", so it can be a program name with args.
2970set dummy gcc; ac_word=$2
2971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2972$as_echo_n "checking for $ac_word... " >&6; }
2973if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2974  $as_echo_n "(cached) " >&6
2975else
2976  if test -n "$ac_ct_CC"; then
2977  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2978else
2979as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980for as_dir in $PATH
2981do
2982  IFS=$as_save_IFS
2983  test -z "$as_dir" && as_dir=.
2984    for ac_exec_ext in '' $ac_executable_extensions; do
2985  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2986    ac_cv_prog_ac_ct_CC="gcc"
2987    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988    break 2
2989  fi
2990done
2991  done
2992IFS=$as_save_IFS
2993
2994fi
2995fi
2996ac_ct_CC=$ac_cv_prog_ac_ct_CC
2997if test -n "$ac_ct_CC"; then
2998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2999$as_echo "$ac_ct_CC" >&6; }
3000else
3001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002$as_echo "no" >&6; }
3003fi
3004
3005  if test "x$ac_ct_CC" = x; then
3006    CC=""
3007  else
3008    case $cross_compiling:$ac_tool_warned in
3009yes:)
3010{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3011$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3012ac_tool_warned=yes ;;
3013esac
3014    CC=$ac_ct_CC
3015  fi
3016else
3017  CC="$ac_cv_prog_CC"
3018fi
3019
3020if test -z "$CC"; then
3021          if test -n "$ac_tool_prefix"; then
3022    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3023set dummy ${ac_tool_prefix}cc; ac_word=$2
3024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025$as_echo_n "checking for $ac_word... " >&6; }
3026if test "${ac_cv_prog_CC+set}" = set; then :
3027  $as_echo_n "(cached) " >&6
3028else
3029  if test -n "$CC"; then
3030  ac_cv_prog_CC="$CC" # Let the user override the test.
3031else
3032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033for as_dir in $PATH
3034do
3035  IFS=$as_save_IFS
3036  test -z "$as_dir" && as_dir=.
3037    for ac_exec_ext in '' $ac_executable_extensions; do
3038  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3039    ac_cv_prog_CC="${ac_tool_prefix}cc"
3040    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041    break 2
3042  fi
3043done
3044  done
3045IFS=$as_save_IFS
3046
3047fi
3048fi
3049CC=$ac_cv_prog_CC
3050if test -n "$CC"; then
3051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3052$as_echo "$CC" >&6; }
3053else
3054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055$as_echo "no" >&6; }
3056fi
3057
3058
3059  fi
3060fi
3061if test -z "$CC"; then
3062  # Extract the first word of "cc", so it can be a program name with args.
3063set dummy cc; ac_word=$2
3064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065$as_echo_n "checking for $ac_word... " >&6; }
3066if test "${ac_cv_prog_CC+set}" = set; then :
3067  $as_echo_n "(cached) " >&6
3068else
3069  if test -n "$CC"; then
3070  ac_cv_prog_CC="$CC" # Let the user override the test.
3071else
3072  ac_prog_rejected=no
3073as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074for as_dir in $PATH
3075do
3076  IFS=$as_save_IFS
3077  test -z "$as_dir" && as_dir=.
3078    for ac_exec_ext in '' $ac_executable_extensions; do
3079  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3080    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3081       ac_prog_rejected=yes
3082       continue
3083     fi
3084    ac_cv_prog_CC="cc"
3085    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3086    break 2
3087  fi
3088done
3089  done
3090IFS=$as_save_IFS
3091
3092if test $ac_prog_rejected = yes; then
3093  # We found a bogon in the path, so make sure we never use it.
3094  set dummy $ac_cv_prog_CC
3095  shift
3096  if test $# != 0; then
3097    # We chose a different compiler from the bogus one.
3098    # However, it has the same basename, so the bogon will be chosen
3099    # first if we set CC to just the basename; use the full file name.
3100    shift
3101    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3102  fi
3103fi
3104fi
3105fi
3106CC=$ac_cv_prog_CC
3107if test -n "$CC"; then
3108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3109$as_echo "$CC" >&6; }
3110else
3111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112$as_echo "no" >&6; }
3113fi
3114
3115
3116fi
3117if test -z "$CC"; then
3118  if test -n "$ac_tool_prefix"; then
3119  for ac_prog in cl.exe
3120  do
3121    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3122set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124$as_echo_n "checking for $ac_word... " >&6; }
3125if test "${ac_cv_prog_CC+set}" = set; then :
3126  $as_echo_n "(cached) " >&6
3127else
3128  if test -n "$CC"; then
3129  ac_cv_prog_CC="$CC" # Let the user override the test.
3130else
3131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132for as_dir in $PATH
3133do
3134  IFS=$as_save_IFS
3135  test -z "$as_dir" && as_dir=.
3136    for ac_exec_ext in '' $ac_executable_extensions; do
3137  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3138    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3139    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140    break 2
3141  fi
3142done
3143  done
3144IFS=$as_save_IFS
3145
3146fi
3147fi
3148CC=$ac_cv_prog_CC
3149if test -n "$CC"; then
3150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3151$as_echo "$CC" >&6; }
3152else
3153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154$as_echo "no" >&6; }
3155fi
3156
3157
3158    test -n "$CC" && break
3159  done
3160fi
3161if test -z "$CC"; then
3162  ac_ct_CC=$CC
3163  for ac_prog in cl.exe
3164do
3165  # Extract the first word of "$ac_prog", so it can be a program name with args.
3166set dummy $ac_prog; ac_word=$2
3167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3168$as_echo_n "checking for $ac_word... " >&6; }
3169if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3170  $as_echo_n "(cached) " >&6
3171else
3172  if test -n "$ac_ct_CC"; then
3173  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3174else
3175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176for as_dir in $PATH
3177do
3178  IFS=$as_save_IFS
3179  test -z "$as_dir" && as_dir=.
3180    for ac_exec_ext in '' $ac_executable_extensions; do
3181  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3182    ac_cv_prog_ac_ct_CC="$ac_prog"
3183    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184    break 2
3185  fi
3186done
3187  done
3188IFS=$as_save_IFS
3189
3190fi
3191fi
3192ac_ct_CC=$ac_cv_prog_ac_ct_CC
3193if test -n "$ac_ct_CC"; then
3194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3195$as_echo "$ac_ct_CC" >&6; }
3196else
3197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198$as_echo "no" >&6; }
3199fi
3200
3201
3202  test -n "$ac_ct_CC" && break
3203done
3204
3205  if test "x$ac_ct_CC" = x; then
3206    CC=""
3207  else
3208    case $cross_compiling:$ac_tool_warned in
3209yes:)
3210{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3211$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3212ac_tool_warned=yes ;;
3213esac
3214    CC=$ac_ct_CC
3215  fi
3216fi
3217
3218fi
3219
3220
3221test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3222$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3223as_fn_error "no acceptable C compiler found in \$PATH
3224See \`config.log' for more details." "$LINENO" 5; }
3225
3226# Provide some information about the compiler.
3227$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3228set X $ac_compile
3229ac_compiler=$2
3230for ac_option in --version -v -V -qversion; do
3231  { { ac_try="$ac_compiler $ac_option >&5"
3232case "(($ac_try" in
3233  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3234  *) ac_try_echo=$ac_try;;
3235esac
3236eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3237$as_echo "$ac_try_echo"; } >&5
3238  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3239  ac_status=$?
3240  if test -s conftest.err; then
3241    sed '10a\
3242... rest of stderr output deleted ...
3243         10q' conftest.err >conftest.er1
3244    cat conftest.er1 >&5
3245    rm -f conftest.er1 conftest.err
3246  fi
3247  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3248  test $ac_status = 0; }
3249done
3250
3251cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252/* end confdefs.h.  */
3253
3254int
3255main ()
3256{
3257
3258  ;
3259  return 0;
3260}
3261_ACEOF
3262# FIXME: Cleanup?
3263if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3264  (eval $ac_link) 2>&5
3265  ac_status=$?
3266  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267  test $ac_status = 0; }; then :
3268  gcc_no_link=no
3269else
3270  gcc_no_link=yes
3271fi
3272if test x$gcc_no_link = xyes; then
3273  # Setting cross_compile will disable run tests; it will
3274  # also disable AC_CHECK_FILE but that's generally
3275  # correct if we can't link.
3276  cross_compiling=yes
3277  EXEEXT=
3278else
3279  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280/* end confdefs.h.  */
3281
3282int
3283main ()
3284{
3285
3286  ;
3287  return 0;
3288}
3289_ACEOF
3290ac_clean_files_save=$ac_clean_files
3291ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3292# Try to create an executable without -o first, disregard a.out.
3293# It will help us diagnose broken compilers, and finding out an intuition
3294# of exeext.
3295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3296$as_echo_n "checking for C compiler default output file name... " >&6; }
3297ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3298
3299# The possible output files:
3300ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3301
3302ac_rmfiles=
3303for ac_file in $ac_files
3304do
3305  case $ac_file in
3306    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3307    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3308  esac
3309done
3310rm -f $ac_rmfiles
3311
3312if { { ac_try="$ac_link_default"
3313case "(($ac_try" in
3314  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315  *) ac_try_echo=$ac_try;;
3316esac
3317eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3318$as_echo "$ac_try_echo"; } >&5
3319  (eval "$ac_link_default") 2>&5
3320  ac_status=$?
3321  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3322  test $ac_status = 0; }; then :
3323  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3324# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3325# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3326# so that the user can short-circuit this test for compilers unknown to
3327# Autoconf.
3328for ac_file in $ac_files ''
3329do
3330  test -f "$ac_file" || continue
3331  case $ac_file in
3332    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3333	;;
3334    [ab].out )
3335	# We found the default executable, but exeext='' is most
3336	# certainly right.
3337	break;;
3338    *.* )
3339	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3340	then :; else
3341	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3342	fi
3343	# We set ac_cv_exeext here because the later test for it is not
3344	# safe: cross compilers may not add the suffix if given an `-o'
3345	# argument, so we may need to know it at that point already.
3346	# Even if this section looks crufty: it has the advantage of
3347	# actually working.
3348	break;;
3349    * )
3350	break;;
3351  esac
3352done
3353test "$ac_cv_exeext" = no && ac_cv_exeext=
3354
3355else
3356  ac_file=''
3357fi
3358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3359$as_echo "$ac_file" >&6; }
3360if test -z "$ac_file"; then :
3361  $as_echo "$as_me: failed program was:" >&5
3362sed 's/^/| /' conftest.$ac_ext >&5
3363
3364{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3365$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3366{ as_fn_set_status 77
3367as_fn_error "C compiler cannot create executables
3368See \`config.log' for more details." "$LINENO" 5; }; }
3369fi
3370ac_exeext=$ac_cv_exeext
3371
3372# Check that the compiler produces executables we can run.  If not, either
3373# the compiler is broken, or we cross compile.
3374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3375$as_echo_n "checking whether the C compiler works... " >&6; }
3376# If not cross compiling, check that we can run a simple program.
3377if test "$cross_compiling" != yes; then
3378  if { ac_try='./$ac_file'
3379  { { case "(($ac_try" in
3380  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381  *) ac_try_echo=$ac_try;;
3382esac
3383eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3384$as_echo "$ac_try_echo"; } >&5
3385  (eval "$ac_try") 2>&5
3386  ac_status=$?
3387  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3388  test $ac_status = 0; }; }; then
3389    cross_compiling=no
3390  else
3391    if test "$cross_compiling" = maybe; then
3392	cross_compiling=yes
3393    else
3394	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3395$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3396as_fn_error "cannot run C compiled programs.
3397If you meant to cross compile, use \`--host'.
3398See \`config.log' for more details." "$LINENO" 5; }
3399    fi
3400  fi
3401fi
3402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3403$as_echo "yes" >&6; }
3404
3405rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3406ac_clean_files=$ac_clean_files_save
3407# Check that the compiler produces executables we can run.  If not, either
3408# the compiler is broken, or we cross compile.
3409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3410$as_echo_n "checking whether we are cross compiling... " >&6; }
3411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3412$as_echo "$cross_compiling" >&6; }
3413
3414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3415$as_echo_n "checking for suffix of executables... " >&6; }
3416if { { ac_try="$ac_link"
3417case "(($ac_try" in
3418  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3419  *) ac_try_echo=$ac_try;;
3420esac
3421eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3422$as_echo "$ac_try_echo"; } >&5
3423  (eval "$ac_link") 2>&5
3424  ac_status=$?
3425  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3426  test $ac_status = 0; }; then :
3427  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3428# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3429# work properly (i.e., refer to `conftest.exe'), while it won't with
3430# `rm'.
3431for ac_file in conftest.exe conftest conftest.*; do
3432  test -f "$ac_file" || continue
3433  case $ac_file in
3434    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3435    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3436	  break;;
3437    * ) break;;
3438  esac
3439done
3440else
3441  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3442$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3443as_fn_error "cannot compute suffix of executables: cannot compile and link
3444See \`config.log' for more details." "$LINENO" 5; }
3445fi
3446rm -f conftest$ac_cv_exeext
3447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3448$as_echo "$ac_cv_exeext" >&6; }
3449
3450rm -f conftest.$ac_ext
3451EXEEXT=$ac_cv_exeext
3452ac_exeext=$EXEEXT
3453fi
3454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3455$as_echo_n "checking for suffix of object files... " >&6; }
3456if test "${ac_cv_objext+set}" = set; then :
3457  $as_echo_n "(cached) " >&6
3458else
3459  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3460/* end confdefs.h.  */
3461
3462int
3463main ()
3464{
3465
3466  ;
3467  return 0;
3468}
3469_ACEOF
3470rm -f conftest.o conftest.obj
3471if { { ac_try="$ac_compile"
3472case "(($ac_try" in
3473  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474  *) ac_try_echo=$ac_try;;
3475esac
3476eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3477$as_echo "$ac_try_echo"; } >&5
3478  (eval "$ac_compile") 2>&5
3479  ac_status=$?
3480  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3481  test $ac_status = 0; }; then :
3482  for ac_file in conftest.o conftest.obj conftest.*; do
3483  test -f "$ac_file" || continue;
3484  case $ac_file in
3485    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3486    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3487       break;;
3488  esac
3489done
3490else
3491  $as_echo "$as_me: failed program was:" >&5
3492sed 's/^/| /' conftest.$ac_ext >&5
3493
3494{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3495$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3496as_fn_error "cannot compute suffix of object files: cannot compile
3497See \`config.log' for more details." "$LINENO" 5; }
3498fi
3499rm -f conftest.$ac_cv_objext conftest.$ac_ext
3500fi
3501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3502$as_echo "$ac_cv_objext" >&6; }
3503OBJEXT=$ac_cv_objext
3504ac_objext=$OBJEXT
3505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3506$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3507if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3508  $as_echo_n "(cached) " >&6
3509else
3510  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3511/* end confdefs.h.  */
3512
3513int
3514main ()
3515{
3516#ifndef __GNUC__
3517       choke me
3518#endif
3519
3520  ;
3521  return 0;
3522}
3523_ACEOF
3524if ac_fn_c_try_compile "$LINENO"; then :
3525  ac_compiler_gnu=yes
3526else
3527  ac_compiler_gnu=no
3528fi
3529rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530ac_cv_c_compiler_gnu=$ac_compiler_gnu
3531
3532fi
3533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3534$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3535if test $ac_compiler_gnu = yes; then
3536  GCC=yes
3537else
3538  GCC=
3539fi
3540ac_test_CFLAGS=${CFLAGS+set}
3541ac_save_CFLAGS=$CFLAGS
3542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3543$as_echo_n "checking whether $CC accepts -g... " >&6; }
3544if test "${ac_cv_prog_cc_g+set}" = set; then :
3545  $as_echo_n "(cached) " >&6
3546else
3547  ac_save_c_werror_flag=$ac_c_werror_flag
3548   ac_c_werror_flag=yes
3549   ac_cv_prog_cc_g=no
3550   CFLAGS="-g"
3551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3552/* end confdefs.h.  */
3553
3554int
3555main ()
3556{
3557
3558  ;
3559  return 0;
3560}
3561_ACEOF
3562if ac_fn_c_try_compile "$LINENO"; then :
3563  ac_cv_prog_cc_g=yes
3564else
3565  CFLAGS=""
3566      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567/* end confdefs.h.  */
3568
3569int
3570main ()
3571{
3572
3573  ;
3574  return 0;
3575}
3576_ACEOF
3577if ac_fn_c_try_compile "$LINENO"; then :
3578
3579else
3580  ac_c_werror_flag=$ac_save_c_werror_flag
3581	 CFLAGS="-g"
3582	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583/* end confdefs.h.  */
3584
3585int
3586main ()
3587{
3588
3589  ;
3590  return 0;
3591}
3592_ACEOF
3593if ac_fn_c_try_compile "$LINENO"; then :
3594  ac_cv_prog_cc_g=yes
3595fi
3596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3597fi
3598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3599fi
3600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3601   ac_c_werror_flag=$ac_save_c_werror_flag
3602fi
3603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3604$as_echo "$ac_cv_prog_cc_g" >&6; }
3605if test "$ac_test_CFLAGS" = set; then
3606  CFLAGS=$ac_save_CFLAGS
3607elif test $ac_cv_prog_cc_g = yes; then
3608  if test "$GCC" = yes; then
3609    CFLAGS="-g -O2"
3610  else
3611    CFLAGS="-g"
3612  fi
3613else
3614  if test "$GCC" = yes; then
3615    CFLAGS="-O2"
3616  else
3617    CFLAGS=
3618  fi
3619fi
3620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3621$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3622if test "${ac_cv_prog_cc_c89+set}" = set; then :
3623  $as_echo_n "(cached) " >&6
3624else
3625  ac_cv_prog_cc_c89=no
3626ac_save_CC=$CC
3627cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3628/* end confdefs.h.  */
3629#include <stdarg.h>
3630#include <stdio.h>
3631#include <sys/types.h>
3632#include <sys/stat.h>
3633/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3634struct buf { int x; };
3635FILE * (*rcsopen) (struct buf *, struct stat *, int);
3636static char *e (p, i)
3637     char **p;
3638     int i;
3639{
3640  return p[i];
3641}
3642static char *f (char * (*g) (char **, int), char **p, ...)
3643{
3644  char *s;
3645  va_list v;
3646  va_start (v,p);
3647  s = g (p, va_arg (v,int));
3648  va_end (v);
3649  return s;
3650}
3651
3652/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3653   function prototypes and stuff, but not '\xHH' hex character constants.
3654   These don't provoke an error unfortunately, instead are silently treated
3655   as 'x'.  The following induces an error, until -std is added to get
3656   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3657   array size at least.  It's necessary to write '\x00'==0 to get something
3658   that's true only with -std.  */
3659int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3660
3661/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3662   inside strings and character constants.  */
3663#define FOO(x) 'x'
3664int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3665
3666int test (int i, double x);
3667struct s1 {int (*f) (int a);};
3668struct s2 {int (*f) (double a);};
3669int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3670int argc;
3671char **argv;
3672int
3673main ()
3674{
3675return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3676  ;
3677  return 0;
3678}
3679_ACEOF
3680for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3681	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3682do
3683  CC="$ac_save_CC $ac_arg"
3684  if ac_fn_c_try_compile "$LINENO"; then :
3685  ac_cv_prog_cc_c89=$ac_arg
3686fi
3687rm -f core conftest.err conftest.$ac_objext
3688  test "x$ac_cv_prog_cc_c89" != "xno" && break
3689done
3690rm -f conftest.$ac_ext
3691CC=$ac_save_CC
3692
3693fi
3694# AC_CACHE_VAL
3695case "x$ac_cv_prog_cc_c89" in
3696  x)
3697    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3698$as_echo "none needed" >&6; } ;;
3699  xno)
3700    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3701$as_echo "unsupported" >&6; } ;;
3702  *)
3703    CC="$CC $ac_cv_prog_cc_c89"
3704    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3705$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3706esac
3707if test "x$ac_cv_prog_cc_c89" != xno; then :
3708
3709fi
3710
3711ac_ext=c
3712ac_cpp='$CPP $CPPFLAGS'
3713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3715ac_compiler_gnu=$ac_cv_c_compiler_gnu
3716DEPDIR="${am__leading_dot}deps"
3717
3718ac_config_commands="$ac_config_commands depfiles"
3719
3720
3721am_make=${MAKE-make}
3722cat > confinc << 'END'
3723am__doit:
3724	@echo this is the am__doit target
3725.PHONY: am__doit
3726END
3727# If we don't find an include directive, just comment out the code.
3728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3729$as_echo_n "checking for style of include used by $am_make... " >&6; }
3730am__include="#"
3731am__quote=
3732_am_result=none
3733# First try GNU make style include.
3734echo "include confinc" > confmf
3735# Ignore all kinds of additional output from `make'.
3736case `$am_make -s -f confmf 2> /dev/null` in #(
3737*the\ am__doit\ target*)
3738  am__include=include
3739  am__quote=
3740  _am_result=GNU
3741  ;;
3742esac
3743# Now try BSD make style include.
3744if test "$am__include" = "#"; then
3745   echo '.include "confinc"' > confmf
3746   case `$am_make -s -f confmf 2> /dev/null` in #(
3747   *the\ am__doit\ target*)
3748     am__include=.include
3749     am__quote="\""
3750     _am_result=BSD
3751     ;;
3752   esac
3753fi
3754
3755
3756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3757$as_echo "$_am_result" >&6; }
3758rm -f confinc confmf
3759
3760# Check whether --enable-dependency-tracking was given.
3761if test "${enable_dependency_tracking+set}" = set; then :
3762  enableval=$enable_dependency_tracking;
3763fi
3764
3765if test "x$enable_dependency_tracking" != xno; then
3766  am_depcomp="$ac_aux_dir/depcomp"
3767  AMDEPBACKSLASH='\'
3768  am__nodep='_no'
3769fi
3770 if test "x$enable_dependency_tracking" != xno; then
3771  AMDEP_TRUE=
3772  AMDEP_FALSE='#'
3773else
3774  AMDEP_TRUE='#'
3775  AMDEP_FALSE=
3776fi
3777
3778
3779
3780depcc="$CC"   am_compiler_list=
3781
3782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3783$as_echo_n "checking dependency style of $depcc... " >&6; }
3784if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3785  $as_echo_n "(cached) " >&6
3786else
3787  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3788  # We make a subdir and do the tests there.  Otherwise we can end up
3789  # making bogus files that we don't know about and never remove.  For
3790  # instance it was reported that on HP-UX the gcc test will end up
3791  # making a dummy file named `D' -- because `-MD' means `put the output
3792  # in D'.
3793  rm -rf conftest.dir
3794  mkdir conftest.dir
3795  # Copy depcomp to subdir because otherwise we won't find it if we're
3796  # using a relative directory.
3797  cp "$am_depcomp" conftest.dir
3798  cd conftest.dir
3799  # We will build objects and dependencies in a subdirectory because
3800  # it helps to detect inapplicable dependency modes.  For instance
3801  # both Tru64's cc and ICC support -MD to output dependencies as a
3802  # side effect of compilation, but ICC will put the dependencies in
3803  # the current directory while Tru64 will put them in the object
3804  # directory.
3805  mkdir sub
3806
3807  am_cv_CC_dependencies_compiler_type=none
3808  if test "$am_compiler_list" = ""; then
3809     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3810  fi
3811  am__universal=false
3812  case " $depcc " in #(
3813     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3814     esac
3815
3816  for depmode in $am_compiler_list; do
3817    # Setup a source with many dependencies, because some compilers
3818    # like to wrap large dependency lists on column 80 (with \), and
3819    # we should not choose a depcomp mode which is confused by this.
3820    #
3821    # We need to recreate these files for each test, as the compiler may
3822    # overwrite some of them when testing with obscure command lines.
3823    # This happens at least with the AIX C compiler.
3824    : > sub/conftest.c
3825    for i in 1 2 3 4 5 6; do
3826      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3827      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3828      # Solaris 8's {/usr,}/bin/sh.
3829      touch sub/conftst$i.h
3830    done
3831    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3832
3833    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3834    # mode.  It turns out that the SunPro C++ compiler does not properly
3835    # handle `-M -o', and we need to detect this.  Also, some Intel
3836    # versions had trouble with output in subdirs
3837    am__obj=sub/conftest.${OBJEXT-o}
3838    am__minus_obj="-o $am__obj"
3839    case $depmode in
3840    gcc)
3841      # This depmode causes a compiler race in universal mode.
3842      test "$am__universal" = false || continue
3843      ;;
3844    nosideeffect)
3845      # after this tag, mechanisms are not by side-effect, so they'll
3846      # only be used when explicitly requested
3847      if test "x$enable_dependency_tracking" = xyes; then
3848	continue
3849      else
3850	break
3851      fi
3852      ;;
3853    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3854      # This compiler won't grok `-c -o', but also, the minuso test has
3855      # not run yet.  These depmodes are late enough in the game, and
3856      # so weak that their functioning should not be impacted.
3857      am__obj=conftest.${OBJEXT-o}
3858      am__minus_obj=
3859      ;;
3860    none) break ;;
3861    esac
3862    if depmode=$depmode \
3863       source=sub/conftest.c object=$am__obj \
3864       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3865       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3866         >/dev/null 2>conftest.err &&
3867       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3868       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3869       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3870       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3871      # icc doesn't choke on unknown options, it will just issue warnings
3872      # or remarks (even with -Werror).  So we grep stderr for any message
3873      # that says an option was ignored or not supported.
3874      # When given -MP, icc 7.0 and 7.1 complain thusly:
3875      #   icc: Command line warning: ignoring option '-M'; no argument required
3876      # The diagnosis changed in icc 8.0:
3877      #   icc: Command line remark: option '-MP' not supported
3878      if (grep 'ignoring option' conftest.err ||
3879          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3880        am_cv_CC_dependencies_compiler_type=$depmode
3881        break
3882      fi
3883    fi
3884  done
3885
3886  cd ..
3887  rm -rf conftest.dir
3888else
3889  am_cv_CC_dependencies_compiler_type=none
3890fi
3891
3892fi
3893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3894$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3895CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3896
3897 if
3898  test "x$enable_dependency_tracking" != xno \
3899  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3900  am__fastdepCC_TRUE=
3901  am__fastdepCC_FALSE='#'
3902else
3903  am__fastdepCC_TRUE='#'
3904  am__fastdepCC_FALSE=
3905fi
3906
3907
3908
3909
3910
3911
3912if test "x$GCC" != "xyes"; then
3913  as_fn_error "libssp must be built with GCC" "$LINENO" 5
3914fi
3915ac_ext=c
3916ac_cpp='$CPP $CPPFLAGS'
3917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3919ac_compiler_gnu=$ac_cv_c_compiler_gnu
3920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3921$as_echo_n "checking how to run the C preprocessor... " >&6; }
3922# On Suns, sometimes $CPP names a directory.
3923if test -n "$CPP" && test -d "$CPP"; then
3924  CPP=
3925fi
3926if test -z "$CPP"; then
3927  if test "${ac_cv_prog_CPP+set}" = set; then :
3928  $as_echo_n "(cached) " >&6
3929else
3930      # Double quotes because CPP needs to be expanded
3931    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3932    do
3933      ac_preproc_ok=false
3934for ac_c_preproc_warn_flag in '' yes
3935do
3936  # Use a header file that comes with gcc, so configuring glibc
3937  # with a fresh cross-compiler works.
3938  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3939  # <limits.h> exists even on freestanding compilers.
3940  # On the NeXT, cc -E runs the code through the compiler's parser,
3941  # not just through cpp. "Syntax error" is here to catch this case.
3942  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3943/* end confdefs.h.  */
3944#ifdef __STDC__
3945# include <limits.h>
3946#else
3947# include <assert.h>
3948#endif
3949		     Syntax error
3950_ACEOF
3951if ac_fn_c_try_cpp "$LINENO"; then :
3952
3953else
3954  # Broken: fails on valid input.
3955continue
3956fi
3957rm -f conftest.err conftest.$ac_ext
3958
3959  # OK, works on sane cases.  Now check whether nonexistent headers
3960  # can be detected and how.
3961  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962/* end confdefs.h.  */
3963#include <ac_nonexistent.h>
3964_ACEOF
3965if ac_fn_c_try_cpp "$LINENO"; then :
3966  # Broken: success on invalid input.
3967continue
3968else
3969  # Passes both tests.
3970ac_preproc_ok=:
3971break
3972fi
3973rm -f conftest.err conftest.$ac_ext
3974
3975done
3976# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3977rm -f conftest.err conftest.$ac_ext
3978if $ac_preproc_ok; then :
3979  break
3980fi
3981
3982    done
3983    ac_cv_prog_CPP=$CPP
3984
3985fi
3986  CPP=$ac_cv_prog_CPP
3987else
3988  ac_cv_prog_CPP=$CPP
3989fi
3990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3991$as_echo "$CPP" >&6; }
3992ac_preproc_ok=false
3993for ac_c_preproc_warn_flag in '' yes
3994do
3995  # Use a header file that comes with gcc, so configuring glibc
3996  # with a fresh cross-compiler works.
3997  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3998  # <limits.h> exists even on freestanding compilers.
3999  # On the NeXT, cc -E runs the code through the compiler's parser,
4000  # not just through cpp. "Syntax error" is here to catch this case.
4001  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002/* end confdefs.h.  */
4003#ifdef __STDC__
4004# include <limits.h>
4005#else
4006# include <assert.h>
4007#endif
4008		     Syntax error
4009_ACEOF
4010if ac_fn_c_try_cpp "$LINENO"; then :
4011
4012else
4013  # Broken: fails on valid input.
4014continue
4015fi
4016rm -f conftest.err conftest.$ac_ext
4017
4018  # OK, works on sane cases.  Now check whether nonexistent headers
4019  # can be detected and how.
4020  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021/* end confdefs.h.  */
4022#include <ac_nonexistent.h>
4023_ACEOF
4024if ac_fn_c_try_cpp "$LINENO"; then :
4025  # Broken: success on invalid input.
4026continue
4027else
4028  # Passes both tests.
4029ac_preproc_ok=:
4030break
4031fi
4032rm -f conftest.err conftest.$ac_ext
4033
4034done
4035# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4036rm -f conftest.err conftest.$ac_ext
4037if $ac_preproc_ok; then :
4038
4039else
4040  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042as_fn_error "C preprocessor \"$CPP\" fails sanity check
4043See \`config.log' for more details." "$LINENO" 5; }
4044fi
4045
4046ac_ext=c
4047ac_cpp='$CPP $CPPFLAGS'
4048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4050ac_compiler_gnu=$ac_cv_c_compiler_gnu
4051
4052
4053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fstack-protector works" >&5
4054$as_echo_n "checking whether -fstack-protector works... " >&6; }
4055save_CFLAGS="$CFLAGS"
4056CFLAGS="$CFLAGS -fstack-protector -Werror"
4057
4058cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059/* end confdefs.h.  */
4060
4061void __attribute__((noinline)) bar (char *x)
4062{
4063  __builtin_memset (x, 0, 64);
4064}
4065int
4066main ()
4067{
4068char buf[64]; bar (buf);
4069  ;
4070  return 0;
4071}
4072_ACEOF
4073if ac_fn_c_try_compile "$LINENO"; then :
4074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4075$as_echo "yes" >&6; }
4076else
4077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078$as_echo "no" >&6; }
4079fi
4080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4081CFLAGS="$save_CFLAGS"
4082
4083# Add CET specific flags if CET is enabled
4084 # Check whether --enable-cet was given.
4085if test "${enable_cet+set}" = set; then :
4086  enableval=$enable_cet;
4087      case "$enableval" in
4088       yes|no|auto) ;;
4089       *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
4090                          esac
4091
4092else
4093  enable_cet=no
4094fi
4095
4096
4097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
4098$as_echo_n "checking for CET support... " >&6; }
4099
4100case "$host" in
4101  i[34567]86-*-linux* | x86_64-*-linux*)
4102    case "$enable_cet" in
4103      auto)
4104	# Check if target supports multi-byte NOPs
4105	# and if assembler supports CET insn.
4106	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107/* end confdefs.h.  */
4108
4109int
4110main ()
4111{
4112
4113#if !defined(__SSE2__)
4114#error target does not support multi-byte NOPs
4115#else
4116asm ("setssbsy");
4117#endif
4118
4119  ;
4120  return 0;
4121}
4122_ACEOF
4123if ac_fn_c_try_compile "$LINENO"; then :
4124  enable_cet=yes
4125else
4126  enable_cet=no
4127fi
4128rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4129	;;
4130      yes)
4131	# Check if assembler supports CET.
4132	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133/* end confdefs.h.  */
4134
4135int
4136main ()
4137{
4138asm ("setssbsy");
4139  ;
4140  return 0;
4141}
4142_ACEOF
4143if ac_fn_c_try_compile "$LINENO"; then :
4144
4145else
4146  as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
4147fi
4148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4149	;;
4150    esac
4151    ;;
4152  *)
4153    enable_cet=no
4154    ;;
4155esac
4156if test x$enable_cet = xyes; then
4157  CET_FLAGS="-fcf-protection -mshstk"
4158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4159$as_echo "yes" >&6; }
4160else
4161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4162$as_echo "no" >&6; }
4163fi
4164
4165XCFLAGS="$XCFLAGS $CET_FLAGS"
4166
4167
4168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hidden visibility is supported" >&5
4169$as_echo_n "checking whether hidden visibility is supported... " >&6; }
4170cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171/* end confdefs.h.  */
4172
4173void __attribute__((visibility ("hidden"))) bar (void) {}
4174int
4175main ()
4176{
4177
4178  ;
4179  return 0;
4180}
4181_ACEOF
4182if ac_fn_c_try_compile "$LINENO"; then :
4183  ssp_hidden=yes
4184else
4185  ssp_hidden=no
4186fi
4187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_hidden" >&5
4189$as_echo "$ssp_hidden" >&6; }
4190if test x$ssp_hidden = xyes; then
4191
4192$as_echo "#define HAVE_HIDDEN_VISIBILITY 1" >>confdefs.h
4193
4194fi
4195
4196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4197$as_echo_n "checking whether symbol versioning is supported... " >&6; }
4198# Check whether --enable-symvers was given.
4199if test "${enable_symvers+set}" = set; then :
4200  enableval=$enable_symvers; ssp_use_symver=$enableval
4201else
4202  ssp_use_symver=yes
4203fi
4204
4205if test "x$ssp_use_symver" != xno; then
4206  if test x$gcc_no_link = xyes; then
4207    # If we cannot link, we cannot build shared libraries, so do not use
4208    # symbol versioning.
4209    ssp_use_symver=no
4210  else
4211    save_LDFLAGS="$LDFLAGS"
4212    LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4213    cat > conftest.map <<EOF
4214FOO_1.0 {
4215  global: *foo*; bar; local: *;
4216};
4217EOF
4218    if test x$gcc_no_link = xyes; then
4219  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4220fi
4221cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222/* end confdefs.h.  */
4223int foo;
4224int
4225main ()
4226{
4227
4228  ;
4229  return 0;
4230}
4231_ACEOF
4232if ac_fn_c_try_link "$LINENO"; then :
4233  ssp_use_symver=gnu
4234else
4235  ssp_use_symver=no
4236fi
4237rm -f core conftest.err conftest.$ac_objext \
4238    conftest$ac_exeext conftest.$ac_ext
4239    if test x$ssp_use_symver = xno; then
4240      case "$target_os" in
4241        solaris2*)
4242          LDFLAGS="$save_LDFLAGS"
4243          LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
4244          # Sun ld cannot handle wildcards and treats all entries as undefined.
4245          cat > conftest.map <<EOF
4246FOO_1.0 {
4247  global: foo; local: *;
4248};
4249EOF
4250          if test x$gcc_no_link = xyes; then
4251  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4252fi
4253cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254/* end confdefs.h.  */
4255int foo;
4256int
4257main ()
4258{
4259
4260  ;
4261  return 0;
4262}
4263_ACEOF
4264if ac_fn_c_try_link "$LINENO"; then :
4265  ssp_use_symver=sun
4266else
4267  ssp_use_symver=no
4268fi
4269rm -f core conftest.err conftest.$ac_objext \
4270    conftest$ac_exeext conftest.$ac_ext
4271	  ;;
4272      esac
4273    fi
4274    LDFLAGS="$save_LDFLAGS"
4275  fi
4276fi
4277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_use_symver" >&5
4278$as_echo "$ssp_use_symver" >&6; }
4279 if test "x$ssp_use_symver" != xno; then
4280  LIBSSP_USE_SYMVER_TRUE=
4281  LIBSSP_USE_SYMVER_FALSE='#'
4282else
4283  LIBSSP_USE_SYMVER_TRUE='#'
4284  LIBSSP_USE_SYMVER_FALSE=
4285fi
4286
4287 if test "x$ssp_use_symver" = xgnu; then
4288  LIBSSP_USE_SYMVER_GNU_TRUE=
4289  LIBSSP_USE_SYMVER_GNU_FALSE='#'
4290else
4291  LIBSSP_USE_SYMVER_GNU_TRUE='#'
4292  LIBSSP_USE_SYMVER_GNU_FALSE=
4293fi
4294
4295 if test "x$ssp_use_symver" = xsun; then
4296  LIBSSP_USE_SYMVER_SUN_TRUE=
4297  LIBSSP_USE_SYMVER_SUN_FALSE='#'
4298else
4299  LIBSSP_USE_SYMVER_SUN_TRUE='#'
4300  LIBSSP_USE_SYMVER_SUN_FALSE=
4301fi
4302
4303
4304
4305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4306$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4307if test "${ac_cv_path_GREP+set}" = set; then :
4308  $as_echo_n "(cached) " >&6
4309else
4310  if test -z "$GREP"; then
4311  ac_path_GREP_found=false
4312  # Loop through the user's path and test for each of PROGNAME-LIST
4313  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4314for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4315do
4316  IFS=$as_save_IFS
4317  test -z "$as_dir" && as_dir=.
4318    for ac_prog in grep ggrep; do
4319    for ac_exec_ext in '' $ac_executable_extensions; do
4320      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4321      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4322# Check for GNU ac_path_GREP and select it if it is found.
4323  # Check for GNU $ac_path_GREP
4324case `"$ac_path_GREP" --version 2>&1` in
4325*GNU*)
4326  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4327*)
4328  ac_count=0
4329  $as_echo_n 0123456789 >"conftest.in"
4330  while :
4331  do
4332    cat "conftest.in" "conftest.in" >"conftest.tmp"
4333    mv "conftest.tmp" "conftest.in"
4334    cp "conftest.in" "conftest.nl"
4335    $as_echo 'GREP' >> "conftest.nl"
4336    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4337    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4338    as_fn_arith $ac_count + 1 && ac_count=$as_val
4339    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4340      # Best one so far, save it but keep looking for a better one
4341      ac_cv_path_GREP="$ac_path_GREP"
4342      ac_path_GREP_max=$ac_count
4343    fi
4344    # 10*(2^10) chars as input seems more than enough
4345    test $ac_count -gt 10 && break
4346  done
4347  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4348esac
4349
4350      $ac_path_GREP_found && break 3
4351    done
4352  done
4353  done
4354IFS=$as_save_IFS
4355  if test -z "$ac_cv_path_GREP"; then
4356    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4357  fi
4358else
4359  ac_cv_path_GREP=$GREP
4360fi
4361
4362fi
4363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4364$as_echo "$ac_cv_path_GREP" >&6; }
4365 GREP="$ac_cv_path_GREP"
4366
4367
4368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4369$as_echo_n "checking for egrep... " >&6; }
4370if test "${ac_cv_path_EGREP+set}" = set; then :
4371  $as_echo_n "(cached) " >&6
4372else
4373  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4374   then ac_cv_path_EGREP="$GREP -E"
4375   else
4376     if test -z "$EGREP"; then
4377  ac_path_EGREP_found=false
4378  # Loop through the user's path and test for each of PROGNAME-LIST
4379  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4381do
4382  IFS=$as_save_IFS
4383  test -z "$as_dir" && as_dir=.
4384    for ac_prog in egrep; do
4385    for ac_exec_ext in '' $ac_executable_extensions; do
4386      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4387      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4388# Check for GNU ac_path_EGREP and select it if it is found.
4389  # Check for GNU $ac_path_EGREP
4390case `"$ac_path_EGREP" --version 2>&1` in
4391*GNU*)
4392  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4393*)
4394  ac_count=0
4395  $as_echo_n 0123456789 >"conftest.in"
4396  while :
4397  do
4398    cat "conftest.in" "conftest.in" >"conftest.tmp"
4399    mv "conftest.tmp" "conftest.in"
4400    cp "conftest.in" "conftest.nl"
4401    $as_echo 'EGREP' >> "conftest.nl"
4402    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4403    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4404    as_fn_arith $ac_count + 1 && ac_count=$as_val
4405    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4406      # Best one so far, save it but keep looking for a better one
4407      ac_cv_path_EGREP="$ac_path_EGREP"
4408      ac_path_EGREP_max=$ac_count
4409    fi
4410    # 10*(2^10) chars as input seems more than enough
4411    test $ac_count -gt 10 && break
4412  done
4413  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4414esac
4415
4416      $ac_path_EGREP_found && break 3
4417    done
4418  done
4419  done
4420IFS=$as_save_IFS
4421  if test -z "$ac_cv_path_EGREP"; then
4422    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4423  fi
4424else
4425  ac_cv_path_EGREP=$EGREP
4426fi
4427
4428   fi
4429fi
4430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4431$as_echo "$ac_cv_path_EGREP" >&6; }
4432 EGREP="$ac_cv_path_EGREP"
4433
4434
4435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4436$as_echo_n "checking for ANSI C header files... " >&6; }
4437if test "${ac_cv_header_stdc+set}" = set; then :
4438  $as_echo_n "(cached) " >&6
4439else
4440  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4441/* end confdefs.h.  */
4442#include <stdlib.h>
4443#include <stdarg.h>
4444#include <string.h>
4445#include <float.h>
4446
4447int
4448main ()
4449{
4450
4451  ;
4452  return 0;
4453}
4454_ACEOF
4455if ac_fn_c_try_compile "$LINENO"; then :
4456  ac_cv_header_stdc=yes
4457else
4458  ac_cv_header_stdc=no
4459fi
4460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4461
4462if test $ac_cv_header_stdc = yes; then
4463  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4464  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465/* end confdefs.h.  */
4466#include <string.h>
4467
4468_ACEOF
4469if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4470  $EGREP "memchr" >/dev/null 2>&1; then :
4471
4472else
4473  ac_cv_header_stdc=no
4474fi
4475rm -f conftest*
4476
4477fi
4478
4479if test $ac_cv_header_stdc = yes; then
4480  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4481  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482/* end confdefs.h.  */
4483#include <stdlib.h>
4484
4485_ACEOF
4486if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4487  $EGREP "free" >/dev/null 2>&1; then :
4488
4489else
4490  ac_cv_header_stdc=no
4491fi
4492rm -f conftest*
4493
4494fi
4495
4496if test $ac_cv_header_stdc = yes; then
4497  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4498  if test "$cross_compiling" = yes; then :
4499  :
4500else
4501  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502/* end confdefs.h.  */
4503#include <ctype.h>
4504#include <stdlib.h>
4505#if ((' ' & 0x0FF) == 0x020)
4506# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4507# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4508#else
4509# define ISLOWER(c) \
4510		   (('a' <= (c) && (c) <= 'i') \
4511		     || ('j' <= (c) && (c) <= 'r') \
4512		     || ('s' <= (c) && (c) <= 'z'))
4513# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4514#endif
4515
4516#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4517int
4518main ()
4519{
4520  int i;
4521  for (i = 0; i < 256; i++)
4522    if (XOR (islower (i), ISLOWER (i))
4523	|| toupper (i) != TOUPPER (i))
4524      return 2;
4525  return 0;
4526}
4527_ACEOF
4528if ac_fn_c_try_run "$LINENO"; then :
4529
4530else
4531  ac_cv_header_stdc=no
4532fi
4533rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4534  conftest.$ac_objext conftest.beam conftest.$ac_ext
4535fi
4536
4537fi
4538fi
4539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4540$as_echo "$ac_cv_header_stdc" >&6; }
4541if test $ac_cv_header_stdc = yes; then
4542
4543$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4544
4545fi
4546
4547# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4548for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4549		  inttypes.h stdint.h unistd.h
4550do :
4551  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4552ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4553"
4554eval as_val=\$$as_ac_Header
4555   if test "x$as_val" = x""yes; then :
4556  cat >>confdefs.h <<_ACEOF
4557#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4558_ACEOF
4559
4560fi
4561
4562done
4563
4564
4565for ac_header in alloca.h malloc.h paths.h syslog.h string.h unistd.h fcntl.h stdio.h limits.h
4566do :
4567  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4568ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4569eval as_val=\$$as_ac_Header
4570   if test "x$as_val" = x""yes; then :
4571  cat >>confdefs.h <<_ACEOF
4572#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4573_ACEOF
4574
4575fi
4576
4577done
4578
4579
4580if test x$gcc_no_link = xyes; then
4581  # Presume the ISO C functions are available; add target-specific
4582  # configuration here if required.
4583  $as_echo "#define HAVE_STRNCPY 1" >>confdefs.h
4584
4585  $as_echo "#define HAVE_STRNCAT 1" >>confdefs.h
4586
4587else
4588  for ac_func in memmove mempcpy strncpy strncat
4589do :
4590  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4591ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4592eval as_val=\$$as_ac_var
4593   if test "x$as_val" = x""yes; then :
4594  cat >>confdefs.h <<_ACEOF
4595#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4596_ACEOF
4597
4598fi
4599done
4600
4601fi
4602
4603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vsnprintf is usable" >&5
4604$as_echo_n "checking whether vsnprintf is usable... " >&6; }
4605if test "$cross_compiling" = yes; then :
4606  ssp_have_usable_vsnprintf=undef
4607else
4608  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609/* end confdefs.h.  */
4610
4611#include <stdarg.h>
4612#include <string.h>
4613#include <stdio.h>
4614int foo (char *buf, size_t n, const char *fmt, ...)
4615{
4616  va_list ap;
4617  int ret;
4618  va_start (ap, fmt);
4619  ret = vsnprintf (buf, n, fmt, ap);
4620  va_end (ap);
4621  return ret;
4622}
4623int
4624main ()
4625{
4626char buf[8]; memset (buf, 'A', sizeof (buf));
4627 if (foo (buf, 4, ".%s.", "CDEFG") != 7)
4628   return 1;
4629 return memcmp (buf, ".CD\0AAAA", sizeof (buf)) != 0;
4630  ;
4631  return 0;
4632}
4633_ACEOF
4634if ac_fn_c_try_run "$LINENO"; then :
4635  ssp_have_usable_vsnprintf=define
4636else
4637  ssp_have_usable_vsnprintf=undef
4638fi
4639rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4640  conftest.$ac_objext conftest.beam conftest.$ac_ext
4641fi
4642
4643if test "x$ssp_have_usable_vsnprintf" = xdefine; then
4644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4645$as_echo "yes" >&6; }
4646
4647$as_echo "#define HAVE_USABLE_VSNPRINTF 1" >>confdefs.h
4648
4649else
4650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651$as_echo "no" >&6; }
4652fi
4653
4654
4655case `pwd` in
4656  *\ * | *\	*)
4657    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4658$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4659esac
4660
4661
4662
4663macro_version='2.2.7a'
4664macro_revision='1.3134'
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678ltmain="$ac_aux_dir/ltmain.sh"
4679
4680# Backslashify metacharacters that are still active within
4681# double-quoted strings.
4682sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4683
4684# Same as above, but do not quote variable references.
4685double_quote_subst='s/\(["`\\]\)/\\\1/g'
4686
4687# Sed substitution to delay expansion of an escaped shell variable in a
4688# double_quote_subst'ed string.
4689delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4690
4691# Sed substitution to delay expansion of an escaped single quote.
4692delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4693
4694# Sed substitution to avoid accidental globbing in evaled expressions
4695no_glob_subst='s/\*/\\\*/g'
4696
4697ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4698ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4699ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4700
4701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4702$as_echo_n "checking how to print strings... " >&6; }
4703# Test print first, because it will be a builtin if present.
4704if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4705   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4706  ECHO='print -r --'
4707elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4708  ECHO='printf %s\n'
4709else
4710  # Use this function as a fallback that always works.
4711  func_fallback_echo ()
4712  {
4713    eval 'cat <<_LTECHO_EOF
4714$1
4715_LTECHO_EOF'
4716  }
4717  ECHO='func_fallback_echo'
4718fi
4719
4720# func_echo_all arg...
4721# Invoke $ECHO with all args, space-separated.
4722func_echo_all ()
4723{
4724    $ECHO ""
4725}
4726
4727case "$ECHO" in
4728  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4729$as_echo "printf" >&6; } ;;
4730  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4731$as_echo "print -r" >&6; } ;;
4732  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4733$as_echo "cat" >&6; } ;;
4734esac
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4750$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4751if test "${ac_cv_path_SED+set}" = set; then :
4752  $as_echo_n "(cached) " >&6
4753else
4754            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4755     for ac_i in 1 2 3 4 5 6 7; do
4756       ac_script="$ac_script$as_nl$ac_script"
4757     done
4758     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4759     { ac_script=; unset ac_script;}
4760     if test -z "$SED"; then
4761  ac_path_SED_found=false
4762  # Loop through the user's path and test for each of PROGNAME-LIST
4763  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764for as_dir in $PATH
4765do
4766  IFS=$as_save_IFS
4767  test -z "$as_dir" && as_dir=.
4768    for ac_prog in sed gsed; do
4769    for ac_exec_ext in '' $ac_executable_extensions; do
4770      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4771      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4772# Check for GNU ac_path_SED and select it if it is found.
4773  # Check for GNU $ac_path_SED
4774case `"$ac_path_SED" --version 2>&1` in
4775*GNU*)
4776  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4777*)
4778  ac_count=0
4779  $as_echo_n 0123456789 >"conftest.in"
4780  while :
4781  do
4782    cat "conftest.in" "conftest.in" >"conftest.tmp"
4783    mv "conftest.tmp" "conftest.in"
4784    cp "conftest.in" "conftest.nl"
4785    $as_echo '' >> "conftest.nl"
4786    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4787    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4788    as_fn_arith $ac_count + 1 && ac_count=$as_val
4789    if test $ac_count -gt ${ac_path_SED_max-0}; then
4790      # Best one so far, save it but keep looking for a better one
4791      ac_cv_path_SED="$ac_path_SED"
4792      ac_path_SED_max=$ac_count
4793    fi
4794    # 10*(2^10) chars as input seems more than enough
4795    test $ac_count -gt 10 && break
4796  done
4797  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4798esac
4799
4800      $ac_path_SED_found && break 3
4801    done
4802  done
4803  done
4804IFS=$as_save_IFS
4805  if test -z "$ac_cv_path_SED"; then
4806    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4807  fi
4808else
4809  ac_cv_path_SED=$SED
4810fi
4811
4812fi
4813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4814$as_echo "$ac_cv_path_SED" >&6; }
4815 SED="$ac_cv_path_SED"
4816  rm -f conftest.sed
4817
4818test -z "$SED" && SED=sed
4819Xsed="$SED -e 1s/^X//"
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4832$as_echo_n "checking for fgrep... " >&6; }
4833if test "${ac_cv_path_FGREP+set}" = set; then :
4834  $as_echo_n "(cached) " >&6
4835else
4836  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4837   then ac_cv_path_FGREP="$GREP -F"
4838   else
4839     if test -z "$FGREP"; then
4840  ac_path_FGREP_found=false
4841  # Loop through the user's path and test for each of PROGNAME-LIST
4842  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4844do
4845  IFS=$as_save_IFS
4846  test -z "$as_dir" && as_dir=.
4847    for ac_prog in fgrep; do
4848    for ac_exec_ext in '' $ac_executable_extensions; do
4849      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4850      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4851# Check for GNU ac_path_FGREP and select it if it is found.
4852  # Check for GNU $ac_path_FGREP
4853case `"$ac_path_FGREP" --version 2>&1` in
4854*GNU*)
4855  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4856*)
4857  ac_count=0
4858  $as_echo_n 0123456789 >"conftest.in"
4859  while :
4860  do
4861    cat "conftest.in" "conftest.in" >"conftest.tmp"
4862    mv "conftest.tmp" "conftest.in"
4863    cp "conftest.in" "conftest.nl"
4864    $as_echo 'FGREP' >> "conftest.nl"
4865    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4866    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4867    as_fn_arith $ac_count + 1 && ac_count=$as_val
4868    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4869      # Best one so far, save it but keep looking for a better one
4870      ac_cv_path_FGREP="$ac_path_FGREP"
4871      ac_path_FGREP_max=$ac_count
4872    fi
4873    # 10*(2^10) chars as input seems more than enough
4874    test $ac_count -gt 10 && break
4875  done
4876  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4877esac
4878
4879      $ac_path_FGREP_found && break 3
4880    done
4881  done
4882  done
4883IFS=$as_save_IFS
4884  if test -z "$ac_cv_path_FGREP"; then
4885    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4886  fi
4887else
4888  ac_cv_path_FGREP=$FGREP
4889fi
4890
4891   fi
4892fi
4893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4894$as_echo "$ac_cv_path_FGREP" >&6; }
4895 FGREP="$ac_cv_path_FGREP"
4896
4897
4898test -z "$GREP" && GREP=grep
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918# Check whether --with-gnu-ld was given.
4919if test "${with_gnu_ld+set}" = set; then :
4920  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4921else
4922  with_gnu_ld=no
4923fi
4924
4925ac_prog=ld
4926if test "$GCC" = yes; then
4927  # Check if gcc -print-prog-name=ld gives a path.
4928  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4929$as_echo_n "checking for ld used by $CC... " >&6; }
4930  case $host in
4931  *-*-mingw*)
4932    # gcc leaves a trailing carriage return which upsets mingw
4933    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4934  *)
4935    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4936  esac
4937  case $ac_prog in
4938    # Accept absolute paths.
4939    [\\/]* | ?:[\\/]*)
4940      re_direlt='/[^/][^/]*/\.\./'
4941      # Canonicalize the pathname of ld
4942      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4943      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4944	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4945      done
4946      test -z "$LD" && LD="$ac_prog"
4947      ;;
4948  "")
4949    # If it fails, then pretend we aren't using GCC.
4950    ac_prog=ld
4951    ;;
4952  *)
4953    # If it is relative, then search for the first ld in PATH.
4954    with_gnu_ld=unknown
4955    ;;
4956  esac
4957elif test "$with_gnu_ld" = yes; then
4958  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4959$as_echo_n "checking for GNU ld... " >&6; }
4960else
4961  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4962$as_echo_n "checking for non-GNU ld... " >&6; }
4963fi
4964if test "${lt_cv_path_LD+set}" = set; then :
4965  $as_echo_n "(cached) " >&6
4966else
4967  if test -z "$LD"; then
4968  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4969  for ac_dir in $PATH; do
4970    IFS="$lt_save_ifs"
4971    test -z "$ac_dir" && ac_dir=.
4972    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4973      lt_cv_path_LD="$ac_dir/$ac_prog"
4974      # Check to see if the program is GNU ld.  I'd rather use --version,
4975      # but apparently some variants of GNU ld only accept -v.
4976      # Break only if it was the GNU/non-GNU ld that we prefer.
4977      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4978      *GNU* | *'with BFD'*)
4979	test "$with_gnu_ld" != no && break
4980	;;
4981      *)
4982	test "$with_gnu_ld" != yes && break
4983	;;
4984      esac
4985    fi
4986  done
4987  IFS="$lt_save_ifs"
4988else
4989  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4990fi
4991fi
4992
4993LD="$lt_cv_path_LD"
4994if test -n "$LD"; then
4995  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4996$as_echo "$LD" >&6; }
4997else
4998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999$as_echo "no" >&6; }
5000fi
5001test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5003$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5004if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5005  $as_echo_n "(cached) " >&6
5006else
5007  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5008case `$LD -v 2>&1 </dev/null` in
5009*GNU* | *'with BFD'*)
5010  lt_cv_prog_gnu_ld=yes
5011  ;;
5012*)
5013  lt_cv_prog_gnu_ld=no
5014  ;;
5015esac
5016fi
5017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5018$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5019with_gnu_ld=$lt_cv_prog_gnu_ld
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5030$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5031if test "${lt_cv_path_NM+set}" = set; then :
5032  $as_echo_n "(cached) " >&6
5033else
5034  if test -n "$NM"; then
5035  # Let the user override the test.
5036  lt_cv_path_NM="$NM"
5037else
5038  lt_nm_to_check="${ac_tool_prefix}nm"
5039  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5040    lt_nm_to_check="$lt_nm_to_check nm"
5041  fi
5042  for lt_tmp_nm in $lt_nm_to_check; do
5043    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5044    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5045      IFS="$lt_save_ifs"
5046      test -z "$ac_dir" && ac_dir=.
5047      tmp_nm="$ac_dir/$lt_tmp_nm"
5048      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5049	# Check to see if the nm accepts a BSD-compat flag.
5050	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5051	#   nm: unknown option "B" ignored
5052	# Tru64's nm complains that /dev/null is an invalid object file
5053	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5054	*/dev/null* | *'Invalid file or object type'*)
5055	  lt_cv_path_NM="$tmp_nm -B"
5056	  break
5057	  ;;
5058	*)
5059	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5060	  */dev/null*)
5061	    lt_cv_path_NM="$tmp_nm -p"
5062	    break
5063	    ;;
5064	  *)
5065	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5066	    continue # so that we can try to find one that supports BSD flags
5067	    ;;
5068	  esac
5069	  ;;
5070	esac
5071      fi
5072    done
5073    IFS="$lt_save_ifs"
5074  done
5075  : ${lt_cv_path_NM=no}
5076fi
5077fi
5078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5079$as_echo "$lt_cv_path_NM" >&6; }
5080if test "$lt_cv_path_NM" != "no"; then
5081  NM="$lt_cv_path_NM"
5082else
5083  # Didn't find any BSD compatible name lister, look for dumpbin.
5084  if test -n "$DUMPBIN"; then :
5085    # Let the user override the test.
5086  else
5087    if test -n "$ac_tool_prefix"; then
5088  for ac_prog in dumpbin "link -dump"
5089  do
5090    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5091set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5093$as_echo_n "checking for $ac_word... " >&6; }
5094if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5095  $as_echo_n "(cached) " >&6
5096else
5097  if test -n "$DUMPBIN"; then
5098  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5099else
5100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5101for as_dir in $PATH
5102do
5103  IFS=$as_save_IFS
5104  test -z "$as_dir" && as_dir=.
5105    for ac_exec_ext in '' $ac_executable_extensions; do
5106  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5107    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5108    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5109    break 2
5110  fi
5111done
5112  done
5113IFS=$as_save_IFS
5114
5115fi
5116fi
5117DUMPBIN=$ac_cv_prog_DUMPBIN
5118if test -n "$DUMPBIN"; then
5119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5120$as_echo "$DUMPBIN" >&6; }
5121else
5122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5123$as_echo "no" >&6; }
5124fi
5125
5126
5127    test -n "$DUMPBIN" && break
5128  done
5129fi
5130if test -z "$DUMPBIN"; then
5131  ac_ct_DUMPBIN=$DUMPBIN
5132  for ac_prog in dumpbin "link -dump"
5133do
5134  # Extract the first word of "$ac_prog", so it can be a program name with args.
5135set dummy $ac_prog; ac_word=$2
5136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5137$as_echo_n "checking for $ac_word... " >&6; }
5138if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5139  $as_echo_n "(cached) " >&6
5140else
5141  if test -n "$ac_ct_DUMPBIN"; then
5142  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5143else
5144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145for as_dir in $PATH
5146do
5147  IFS=$as_save_IFS
5148  test -z "$as_dir" && as_dir=.
5149    for ac_exec_ext in '' $ac_executable_extensions; do
5150  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5151    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5152    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153    break 2
5154  fi
5155done
5156  done
5157IFS=$as_save_IFS
5158
5159fi
5160fi
5161ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5162if test -n "$ac_ct_DUMPBIN"; then
5163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5164$as_echo "$ac_ct_DUMPBIN" >&6; }
5165else
5166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167$as_echo "no" >&6; }
5168fi
5169
5170
5171  test -n "$ac_ct_DUMPBIN" && break
5172done
5173
5174  if test "x$ac_ct_DUMPBIN" = x; then
5175    DUMPBIN=":"
5176  else
5177    case $cross_compiling:$ac_tool_warned in
5178yes:)
5179{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5180$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5181ac_tool_warned=yes ;;
5182esac
5183    DUMPBIN=$ac_ct_DUMPBIN
5184  fi
5185fi
5186
5187    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5188    *COFF*)
5189      DUMPBIN="$DUMPBIN -symbols"
5190      ;;
5191    *)
5192      DUMPBIN=:
5193      ;;
5194    esac
5195  fi
5196
5197  if test "$DUMPBIN" != ":"; then
5198    NM="$DUMPBIN"
5199  fi
5200fi
5201test -z "$NM" && NM=nm
5202
5203
5204
5205
5206
5207
5208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5209$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5210if test "${lt_cv_nm_interface+set}" = set; then :
5211  $as_echo_n "(cached) " >&6
5212else
5213  lt_cv_nm_interface="BSD nm"
5214  echo "int some_variable = 0;" > conftest.$ac_ext
5215  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5216  (eval "$ac_compile" 2>conftest.err)
5217  cat conftest.err >&5
5218  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5219  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5220  cat conftest.err >&5
5221  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5222  cat conftest.out >&5
5223  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5224    lt_cv_nm_interface="MS dumpbin"
5225  fi
5226  rm -f conftest*
5227fi
5228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5229$as_echo "$lt_cv_nm_interface" >&6; }
5230
5231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5232$as_echo_n "checking whether ln -s works... " >&6; }
5233LN_S=$as_ln_s
5234if test "$LN_S" = "ln -s"; then
5235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5236$as_echo "yes" >&6; }
5237else
5238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5239$as_echo "no, using $LN_S" >&6; }
5240fi
5241
5242# find the maximum length of command line arguments
5243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5244$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5245if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5246  $as_echo_n "(cached) " >&6
5247else
5248    i=0
5249  teststring="ABCD"
5250
5251  case $build_os in
5252  msdosdjgpp*)
5253    # On DJGPP, this test can blow up pretty badly due to problems in libc
5254    # (any single argument exceeding 2000 bytes causes a buffer overrun
5255    # during glob expansion).  Even if it were fixed, the result of this
5256    # check would be larger than it should be.
5257    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5258    ;;
5259
5260  gnu*)
5261    # Under GNU Hurd, this test is not required because there is
5262    # no limit to the length of command line arguments.
5263    # Libtool will interpret -1 as no limit whatsoever
5264    lt_cv_sys_max_cmd_len=-1;
5265    ;;
5266
5267  cygwin* | mingw* | cegcc*)
5268    # On Win9x/ME, this test blows up -- it succeeds, but takes
5269    # about 5 minutes as the teststring grows exponentially.
5270    # Worse, since 9x/ME are not pre-emptively multitasking,
5271    # you end up with a "frozen" computer, even though with patience
5272    # the test eventually succeeds (with a max line length of 256k).
5273    # Instead, let's just punt: use the minimum linelength reported by
5274    # all of the supported platforms: 8192 (on NT/2K/XP).
5275    lt_cv_sys_max_cmd_len=8192;
5276    ;;
5277
5278  mint*)
5279    # On MiNT this can take a long time and run out of memory.
5280    lt_cv_sys_max_cmd_len=8192;
5281    ;;
5282
5283  amigaos*)
5284    # On AmigaOS with pdksh, this test takes hours, literally.
5285    # So we just punt and use a minimum line length of 8192.
5286    lt_cv_sys_max_cmd_len=8192;
5287    ;;
5288
5289  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5290    # This has been around since 386BSD, at least.  Likely further.
5291    if test -x /sbin/sysctl; then
5292      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5293    elif test -x /usr/sbin/sysctl; then
5294      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5295    else
5296      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5297    fi
5298    # And add a safety zone
5299    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5300    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5301    ;;
5302
5303  interix*)
5304    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5305    lt_cv_sys_max_cmd_len=196608
5306    ;;
5307
5308  osf*)
5309    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5310    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5311    # nice to cause kernel panics so lets avoid the loop below.
5312    # First set a reasonable default.
5313    lt_cv_sys_max_cmd_len=16384
5314    #
5315    if test -x /sbin/sysconfig; then
5316      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5317        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5318      esac
5319    fi
5320    ;;
5321  sco3.2v5*)
5322    lt_cv_sys_max_cmd_len=102400
5323    ;;
5324  sysv5* | sco5v6* | sysv4.2uw2*)
5325    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5326    if test -n "$kargmax"; then
5327      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5328    else
5329      lt_cv_sys_max_cmd_len=32768
5330    fi
5331    ;;
5332  *)
5333    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5334    if test -n "$lt_cv_sys_max_cmd_len"; then
5335      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5336      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5337    else
5338      # Make teststring a little bigger before we do anything with it.
5339      # a 1K string should be a reasonable start.
5340      for i in 1 2 3 4 5 6 7 8 ; do
5341        teststring=$teststring$teststring
5342      done
5343      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5344      # If test is not a shell built-in, we'll probably end up computing a
5345      # maximum length that is only half of the actual maximum length, but
5346      # we can't tell.
5347      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5348	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5349	      test $i != 17 # 1/2 MB should be enough
5350      do
5351        i=`expr $i + 1`
5352        teststring=$teststring$teststring
5353      done
5354      # Only check the string length outside the loop.
5355      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5356      teststring=
5357      # Add a significant safety factor because C++ compilers can tack on
5358      # massive amounts of additional arguments before passing them to the
5359      # linker.  It appears as though 1/2 is a usable value.
5360      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5361    fi
5362    ;;
5363  esac
5364
5365fi
5366
5367if test -n $lt_cv_sys_max_cmd_len ; then
5368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5369$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5370else
5371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5372$as_echo "none" >&6; }
5373fi
5374max_cmd_len=$lt_cv_sys_max_cmd_len
5375
5376
5377
5378
5379
5380
5381: ${CP="cp -f"}
5382: ${MV="mv -f"}
5383: ${RM="rm -f"}
5384
5385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5386$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5387# Try some XSI features
5388xsi_shell=no
5389( _lt_dummy="a/b/c"
5390  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5391      = c,a/b,, \
5392    && eval 'test $(( 1 + 1 )) -eq 2 \
5393    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5394  && xsi_shell=yes
5395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5396$as_echo "$xsi_shell" >&6; }
5397
5398
5399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5400$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5401lt_shell_append=no
5402( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5403    >/dev/null 2>&1 \
5404  && lt_shell_append=yes
5405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5406$as_echo "$lt_shell_append" >&6; }
5407
5408
5409if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5410  lt_unset=unset
5411else
5412  lt_unset=false
5413fi
5414
5415
5416
5417
5418
5419# test EBCDIC or ASCII
5420case `echo X|tr X '\101'` in
5421 A) # ASCII based system
5422    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5423  lt_SP2NL='tr \040 \012'
5424  lt_NL2SP='tr \015\012 \040\040'
5425  ;;
5426 *) # EBCDIC based system
5427  lt_SP2NL='tr \100 \n'
5428  lt_NL2SP='tr \r\n \100\100'
5429  ;;
5430esac
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5441$as_echo_n "checking for $LD option to reload object files... " >&6; }
5442if test "${lt_cv_ld_reload_flag+set}" = set; then :
5443  $as_echo_n "(cached) " >&6
5444else
5445  lt_cv_ld_reload_flag='-r'
5446fi
5447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5448$as_echo "$lt_cv_ld_reload_flag" >&6; }
5449reload_flag=$lt_cv_ld_reload_flag
5450case $reload_flag in
5451"" | " "*) ;;
5452*) reload_flag=" $reload_flag" ;;
5453esac
5454reload_cmds='$LD$reload_flag -o $output$reload_objs'
5455case $host_os in
5456  darwin*)
5457    if test "$GCC" = yes; then
5458      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5459    else
5460      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5461    fi
5462    ;;
5463esac
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473if test -n "$ac_tool_prefix"; then
5474  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5475set dummy ${ac_tool_prefix}objdump; ac_word=$2
5476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477$as_echo_n "checking for $ac_word... " >&6; }
5478if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5479  $as_echo_n "(cached) " >&6
5480else
5481  if test -n "$OBJDUMP"; then
5482  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5483else
5484as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485for as_dir in $PATH
5486do
5487  IFS=$as_save_IFS
5488  test -z "$as_dir" && as_dir=.
5489    for ac_exec_ext in '' $ac_executable_extensions; do
5490  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5491    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5492    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493    break 2
5494  fi
5495done
5496  done
5497IFS=$as_save_IFS
5498
5499fi
5500fi
5501OBJDUMP=$ac_cv_prog_OBJDUMP
5502if test -n "$OBJDUMP"; then
5503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5504$as_echo "$OBJDUMP" >&6; }
5505else
5506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507$as_echo "no" >&6; }
5508fi
5509
5510
5511fi
5512if test -z "$ac_cv_prog_OBJDUMP"; then
5513  ac_ct_OBJDUMP=$OBJDUMP
5514  # Extract the first word of "objdump", so it can be a program name with args.
5515set dummy objdump; ac_word=$2
5516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517$as_echo_n "checking for $ac_word... " >&6; }
5518if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5519  $as_echo_n "(cached) " >&6
5520else
5521  if test -n "$ac_ct_OBJDUMP"; then
5522  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5523else
5524as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525for as_dir in $PATH
5526do
5527  IFS=$as_save_IFS
5528  test -z "$as_dir" && as_dir=.
5529    for ac_exec_ext in '' $ac_executable_extensions; do
5530  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5531    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5532    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533    break 2
5534  fi
5535done
5536  done
5537IFS=$as_save_IFS
5538
5539fi
5540fi
5541ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5542if test -n "$ac_ct_OBJDUMP"; then
5543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5544$as_echo "$ac_ct_OBJDUMP" >&6; }
5545else
5546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547$as_echo "no" >&6; }
5548fi
5549
5550  if test "x$ac_ct_OBJDUMP" = x; then
5551    OBJDUMP="false"
5552  else
5553    case $cross_compiling:$ac_tool_warned in
5554yes:)
5555{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5556$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5557ac_tool_warned=yes ;;
5558esac
5559    OBJDUMP=$ac_ct_OBJDUMP
5560  fi
5561else
5562  OBJDUMP="$ac_cv_prog_OBJDUMP"
5563fi
5564
5565test -z "$OBJDUMP" && OBJDUMP=objdump
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5576$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5577if test "${lt_cv_deplibs_check_method+set}" = set; then :
5578  $as_echo_n "(cached) " >&6
5579else
5580  lt_cv_file_magic_cmd='$MAGIC_CMD'
5581lt_cv_file_magic_test_file=
5582lt_cv_deplibs_check_method='unknown'
5583# Need to set the preceding variable on all platforms that support
5584# interlibrary dependencies.
5585# 'none' -- dependencies not supported.
5586# `unknown' -- same as none, but documents that we really don't know.
5587# 'pass_all' -- all dependencies passed with no checks.
5588# 'test_compile' -- check by making test program.
5589# 'file_magic [[regex]]' -- check by looking for files in library path
5590# which responds to the $file_magic_cmd with a given extended regex.
5591# If you have `file' or equivalent on your system and you're not sure
5592# whether `pass_all' will *always* work, you probably want this one.
5593
5594case $host_os in
5595aix[4-9]*)
5596  lt_cv_deplibs_check_method=pass_all
5597  ;;
5598
5599beos*)
5600  lt_cv_deplibs_check_method=pass_all
5601  ;;
5602
5603bsdi[45]*)
5604  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5605  lt_cv_file_magic_cmd='/usr/bin/file -L'
5606  lt_cv_file_magic_test_file=/shlib/libc.so
5607  ;;
5608
5609cygwin*)
5610  # func_win32_libid is a shell function defined in ltmain.sh
5611  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5612  lt_cv_file_magic_cmd='func_win32_libid'
5613  ;;
5614
5615mingw* | pw32*)
5616  # Base MSYS/MinGW do not provide the 'file' command needed by
5617  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5618  # unless we find 'file', for example because we are cross-compiling.
5619  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5620  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5621    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5622    lt_cv_file_magic_cmd='func_win32_libid'
5623  else
5624    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5625    lt_cv_file_magic_cmd='$OBJDUMP -f'
5626  fi
5627  ;;
5628
5629cegcc*)
5630  # use the weaker test based on 'objdump'. See mingw*.
5631  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5632  lt_cv_file_magic_cmd='$OBJDUMP -f'
5633  ;;
5634
5635darwin* | rhapsody*)
5636  lt_cv_deplibs_check_method=pass_all
5637  ;;
5638
5639freebsd* | dragonfly*)
5640  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5641    case $host_cpu in
5642    i*86 )
5643      # Not sure whether the presence of OpenBSD here was a mistake.
5644      # Let's accept both of them until this is cleared up.
5645      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5646      lt_cv_file_magic_cmd=/usr/bin/file
5647      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5648      ;;
5649    esac
5650  else
5651    lt_cv_deplibs_check_method=pass_all
5652  fi
5653  ;;
5654
5655gnu*)
5656  lt_cv_deplibs_check_method=pass_all
5657  ;;
5658
5659haiku*)
5660  lt_cv_deplibs_check_method=pass_all
5661  ;;
5662
5663hpux10.20* | hpux11*)
5664  lt_cv_file_magic_cmd=/usr/bin/file
5665  case $host_cpu in
5666  ia64*)
5667    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5668    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5669    ;;
5670  hppa*64*)
5671    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]'
5672    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5673    ;;
5674  *)
5675    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5676    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5677    ;;
5678  esac
5679  ;;
5680
5681interix[3-9]*)
5682  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5683  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5684  ;;
5685
5686irix5* | irix6* | nonstopux*)
5687  case $LD in
5688  *-32|*"-32 ") libmagic=32-bit;;
5689  *-n32|*"-n32 ") libmagic=N32;;
5690  *-64|*"-64 ") libmagic=64-bit;;
5691  *) libmagic=never-match;;
5692  esac
5693  lt_cv_deplibs_check_method=pass_all
5694  ;;
5695
5696# This must be Linux ELF.
5697linux* | k*bsd*-gnu | kopensolaris*-gnu)
5698  lt_cv_deplibs_check_method=pass_all
5699  ;;
5700
5701netbsd*)
5702  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5703    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5704  else
5705    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5706  fi
5707  ;;
5708
5709newos6*)
5710  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5711  lt_cv_file_magic_cmd=/usr/bin/file
5712  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5713  ;;
5714
5715*nto* | *qnx*)
5716  lt_cv_deplibs_check_method=pass_all
5717  ;;
5718
5719openbsd*)
5720  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5721    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5722  else
5723    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5724  fi
5725  ;;
5726
5727osf3* | osf4* | osf5*)
5728  lt_cv_deplibs_check_method=pass_all
5729  ;;
5730
5731rdos*)
5732  lt_cv_deplibs_check_method=pass_all
5733  ;;
5734
5735solaris*)
5736  lt_cv_deplibs_check_method=pass_all
5737  ;;
5738
5739sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5740  lt_cv_deplibs_check_method=pass_all
5741  ;;
5742
5743sysv4 | sysv4.3*)
5744  case $host_vendor in
5745  motorola)
5746    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]'
5747    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5748    ;;
5749  ncr)
5750    lt_cv_deplibs_check_method=pass_all
5751    ;;
5752  sequent)
5753    lt_cv_file_magic_cmd='/bin/file'
5754    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5755    ;;
5756  sni)
5757    lt_cv_file_magic_cmd='/bin/file'
5758    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5759    lt_cv_file_magic_test_file=/lib/libc.so
5760    ;;
5761  siemens)
5762    lt_cv_deplibs_check_method=pass_all
5763    ;;
5764  pc)
5765    lt_cv_deplibs_check_method=pass_all
5766    ;;
5767  esac
5768  ;;
5769
5770tpf*)
5771  lt_cv_deplibs_check_method=pass_all
5772  ;;
5773esac
5774
5775fi
5776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5777$as_echo "$lt_cv_deplibs_check_method" >&6; }
5778file_magic_cmd=$lt_cv_file_magic_cmd
5779deplibs_check_method=$lt_cv_deplibs_check_method
5780test -z "$deplibs_check_method" && deplibs_check_method=unknown
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793if test -n "$ac_tool_prefix"; then
5794  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5795set dummy ${ac_tool_prefix}ar; ac_word=$2
5796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797$as_echo_n "checking for $ac_word... " >&6; }
5798if test "${ac_cv_prog_AR+set}" = set; then :
5799  $as_echo_n "(cached) " >&6
5800else
5801  if test -n "$AR"; then
5802  ac_cv_prog_AR="$AR" # Let the user override the test.
5803else
5804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805for as_dir in $PATH
5806do
5807  IFS=$as_save_IFS
5808  test -z "$as_dir" && as_dir=.
5809    for ac_exec_ext in '' $ac_executable_extensions; do
5810  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5811    ac_cv_prog_AR="${ac_tool_prefix}ar"
5812    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813    break 2
5814  fi
5815done
5816  done
5817IFS=$as_save_IFS
5818
5819fi
5820fi
5821AR=$ac_cv_prog_AR
5822if test -n "$AR"; then
5823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5824$as_echo "$AR" >&6; }
5825else
5826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827$as_echo "no" >&6; }
5828fi
5829
5830
5831fi
5832if test -z "$ac_cv_prog_AR"; then
5833  ac_ct_AR=$AR
5834  # Extract the first word of "ar", so it can be a program name with args.
5835set dummy ar; ac_word=$2
5836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837$as_echo_n "checking for $ac_word... " >&6; }
5838if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5839  $as_echo_n "(cached) " >&6
5840else
5841  if test -n "$ac_ct_AR"; then
5842  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5843else
5844as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845for as_dir in $PATH
5846do
5847  IFS=$as_save_IFS
5848  test -z "$as_dir" && as_dir=.
5849    for ac_exec_ext in '' $ac_executable_extensions; do
5850  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5851    ac_cv_prog_ac_ct_AR="ar"
5852    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853    break 2
5854  fi
5855done
5856  done
5857IFS=$as_save_IFS
5858
5859fi
5860fi
5861ac_ct_AR=$ac_cv_prog_ac_ct_AR
5862if test -n "$ac_ct_AR"; then
5863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5864$as_echo "$ac_ct_AR" >&6; }
5865else
5866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867$as_echo "no" >&6; }
5868fi
5869
5870  if test "x$ac_ct_AR" = x; then
5871    AR="false"
5872  else
5873    case $cross_compiling:$ac_tool_warned in
5874yes:)
5875{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5876$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5877ac_tool_warned=yes ;;
5878esac
5879    AR=$ac_ct_AR
5880  fi
5881else
5882  AR="$ac_cv_prog_AR"
5883fi
5884
5885test -z "$AR" && AR=ar
5886test -z "$AR_FLAGS" && AR_FLAGS=cru
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898if test -n "$ac_tool_prefix"; then
5899  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5900set dummy ${ac_tool_prefix}strip; ac_word=$2
5901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902$as_echo_n "checking for $ac_word... " >&6; }
5903if test "${ac_cv_prog_STRIP+set}" = set; then :
5904  $as_echo_n "(cached) " >&6
5905else
5906  if test -n "$STRIP"; then
5907  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5908else
5909as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910for as_dir in $PATH
5911do
5912  IFS=$as_save_IFS
5913  test -z "$as_dir" && as_dir=.
5914    for ac_exec_ext in '' $ac_executable_extensions; do
5915  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5916    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5917    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918    break 2
5919  fi
5920done
5921  done
5922IFS=$as_save_IFS
5923
5924fi
5925fi
5926STRIP=$ac_cv_prog_STRIP
5927if test -n "$STRIP"; then
5928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5929$as_echo "$STRIP" >&6; }
5930else
5931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932$as_echo "no" >&6; }
5933fi
5934
5935
5936fi
5937if test -z "$ac_cv_prog_STRIP"; then
5938  ac_ct_STRIP=$STRIP
5939  # Extract the first word of "strip", so it can be a program name with args.
5940set dummy strip; ac_word=$2
5941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5942$as_echo_n "checking for $ac_word... " >&6; }
5943if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5944  $as_echo_n "(cached) " >&6
5945else
5946  if test -n "$ac_ct_STRIP"; then
5947  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5948else
5949as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950for as_dir in $PATH
5951do
5952  IFS=$as_save_IFS
5953  test -z "$as_dir" && as_dir=.
5954    for ac_exec_ext in '' $ac_executable_extensions; do
5955  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5956    ac_cv_prog_ac_ct_STRIP="strip"
5957    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958    break 2
5959  fi
5960done
5961  done
5962IFS=$as_save_IFS
5963
5964fi
5965fi
5966ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5967if test -n "$ac_ct_STRIP"; then
5968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5969$as_echo "$ac_ct_STRIP" >&6; }
5970else
5971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5972$as_echo "no" >&6; }
5973fi
5974
5975  if test "x$ac_ct_STRIP" = x; then
5976    STRIP=":"
5977  else
5978    case $cross_compiling:$ac_tool_warned in
5979yes:)
5980{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5981$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5982ac_tool_warned=yes ;;
5983esac
5984    STRIP=$ac_ct_STRIP
5985  fi
5986else
5987  STRIP="$ac_cv_prog_STRIP"
5988fi
5989
5990test -z "$STRIP" && STRIP=:
5991
5992
5993
5994
5995
5996
5997if test -n "$ac_tool_prefix"; then
5998  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5999set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001$as_echo_n "checking for $ac_word... " >&6; }
6002if test "${ac_cv_prog_RANLIB+set}" = set; then :
6003  $as_echo_n "(cached) " >&6
6004else
6005  if test -n "$RANLIB"; then
6006  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6007else
6008as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009for as_dir in $PATH
6010do
6011  IFS=$as_save_IFS
6012  test -z "$as_dir" && as_dir=.
6013    for ac_exec_ext in '' $ac_executable_extensions; do
6014  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6015    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6016    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6017    break 2
6018  fi
6019done
6020  done
6021IFS=$as_save_IFS
6022
6023fi
6024fi
6025RANLIB=$ac_cv_prog_RANLIB
6026if test -n "$RANLIB"; then
6027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6028$as_echo "$RANLIB" >&6; }
6029else
6030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031$as_echo "no" >&6; }
6032fi
6033
6034
6035fi
6036if test -z "$ac_cv_prog_RANLIB"; then
6037  ac_ct_RANLIB=$RANLIB
6038  # Extract the first word of "ranlib", so it can be a program name with args.
6039set dummy ranlib; ac_word=$2
6040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6041$as_echo_n "checking for $ac_word... " >&6; }
6042if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6043  $as_echo_n "(cached) " >&6
6044else
6045  if test -n "$ac_ct_RANLIB"; then
6046  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6047else
6048as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6049for as_dir in $PATH
6050do
6051  IFS=$as_save_IFS
6052  test -z "$as_dir" && as_dir=.
6053    for ac_exec_ext in '' $ac_executable_extensions; do
6054  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6055    ac_cv_prog_ac_ct_RANLIB="ranlib"
6056    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6057    break 2
6058  fi
6059done
6060  done
6061IFS=$as_save_IFS
6062
6063fi
6064fi
6065ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6066if test -n "$ac_ct_RANLIB"; then
6067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6068$as_echo "$ac_ct_RANLIB" >&6; }
6069else
6070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071$as_echo "no" >&6; }
6072fi
6073
6074  if test "x$ac_ct_RANLIB" = x; then
6075    RANLIB=":"
6076  else
6077    case $cross_compiling:$ac_tool_warned in
6078yes:)
6079{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6080$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6081ac_tool_warned=yes ;;
6082esac
6083    RANLIB=$ac_ct_RANLIB
6084  fi
6085else
6086  RANLIB="$ac_cv_prog_RANLIB"
6087fi
6088
6089test -z "$RANLIB" && RANLIB=:
6090
6091
6092
6093
6094
6095
6096# Determine commands to create old-style static archives.
6097old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6098old_postinstall_cmds='chmod 644 $oldlib'
6099old_postuninstall_cmds=
6100
6101if test -n "$RANLIB"; then
6102  case $host_os in
6103  openbsd*)
6104    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6105    ;;
6106  *)
6107    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6108    ;;
6109  esac
6110  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6111fi
6112
6113case $host_os in
6114  darwin*)
6115    lock_old_archive_extraction=yes ;;
6116  *)
6117    lock_old_archive_extraction=no ;;
6118esac
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158# If no C compiler was specified, use CC.
6159LTCC=${LTCC-"$CC"}
6160
6161# If no C compiler flags were specified, use CFLAGS.
6162LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6163
6164# Allow CC to be a program name with arguments.
6165compiler=$CC
6166
6167
6168# Check for command to grab the raw symbol name followed by C symbol from nm.
6169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6170$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6171if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6172  $as_echo_n "(cached) " >&6
6173else
6174
6175# These are sane defaults that work on at least a few old systems.
6176# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6177
6178# Character class describing NM global symbol codes.
6179symcode='[BCDEGRST]'
6180
6181# Regexp to match symbols that can be accessed directly from C.
6182sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6183
6184# Define system-specific variables.
6185case $host_os in
6186aix*)
6187  symcode='[BCDT]'
6188  ;;
6189cygwin* | mingw* | pw32* | cegcc*)
6190  symcode='[ABCDGISTW]'
6191  ;;
6192hpux*)
6193  if test "$host_cpu" = ia64; then
6194    symcode='[ABCDEGRST]'
6195  fi
6196  ;;
6197irix* | nonstopux*)
6198  symcode='[BCDEGRST]'
6199  ;;
6200osf*)
6201  symcode='[BCDEGQRST]'
6202  ;;
6203solaris*)
6204  symcode='[BDRT]'
6205  ;;
6206sco3.2v5*)
6207  symcode='[DT]'
6208  ;;
6209sysv4.2uw2*)
6210  symcode='[DT]'
6211  ;;
6212sysv5* | sco5v6* | unixware* | OpenUNIX*)
6213  symcode='[ABDT]'
6214  ;;
6215sysv4)
6216  symcode='[DFNSTU]'
6217  ;;
6218esac
6219
6220# If we're using GNU nm, then use its standard symbol codes.
6221case `$NM -V 2>&1` in
6222*GNU* | *'with BFD'*)
6223  symcode='[ABCDGIRSTW]' ;;
6224esac
6225
6226# Transform an extracted symbol line into a proper C declaration.
6227# Some systems (esp. on ia64) link data and code symbols differently,
6228# so use this general approach.
6229lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6230
6231# Transform an extracted symbol line into symbol name and symbol address
6232lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6233lt_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'"
6234
6235# Handle CRLF in mingw tool chain
6236opt_cr=
6237case $build_os in
6238mingw*)
6239  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6240  ;;
6241esac
6242
6243# Try without a prefix underscore, then with it.
6244for ac_symprfx in "" "_"; do
6245
6246  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6247  symxfrm="\\1 $ac_symprfx\\2 \\2"
6248
6249  # Write the raw and C identifiers.
6250  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6251    # Fake it for dumpbin and say T for any non-static function
6252    # and D for any global variable.
6253    # Also find C++ and __fastcall symbols from MSVC++,
6254    # which start with @ or ?.
6255    lt_cv_sys_global_symbol_pipe="$AWK '"\
6256"     {last_section=section; section=\$ 3};"\
6257"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6258"     \$ 0!~/External *\|/{next};"\
6259"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6260"     {if(hide[section]) next};"\
6261"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6262"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6263"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6264"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6265"     ' prfx=^$ac_symprfx"
6266  else
6267    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6268  fi
6269
6270  # Check to see that the pipe works correctly.
6271  pipe_works=no
6272
6273  rm -f conftest*
6274  cat > conftest.$ac_ext <<_LT_EOF
6275#ifdef __cplusplus
6276extern "C" {
6277#endif
6278char nm_test_var;
6279void nm_test_func(void);
6280void nm_test_func(void){}
6281#ifdef __cplusplus
6282}
6283#endif
6284int main(){nm_test_var='a';nm_test_func();return(0);}
6285_LT_EOF
6286
6287  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6288  (eval $ac_compile) 2>&5
6289  ac_status=$?
6290  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6291  test $ac_status = 0; }; then
6292    # Now try to grab the symbols.
6293    nlist=conftest.nm
6294    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6295  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6296  ac_status=$?
6297  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6298  test $ac_status = 0; } && test -s "$nlist"; then
6299      # Try sorting and uniquifying the output.
6300      if sort "$nlist" | uniq > "$nlist"T; then
6301	mv -f "$nlist"T "$nlist"
6302      else
6303	rm -f "$nlist"T
6304      fi
6305
6306      # Make sure that we snagged all the symbols we need.
6307      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6308	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6309	  cat <<_LT_EOF > conftest.$ac_ext
6310#ifdef __cplusplus
6311extern "C" {
6312#endif
6313
6314_LT_EOF
6315	  # Now generate the symbol file.
6316	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6317
6318	  cat <<_LT_EOF >> conftest.$ac_ext
6319
6320/* The mapping between symbol names and symbols.  */
6321const struct {
6322  const char *name;
6323  void       *address;
6324}
6325lt__PROGRAM__LTX_preloaded_symbols[] =
6326{
6327  { "@PROGRAM@", (void *) 0 },
6328_LT_EOF
6329	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6330	  cat <<\_LT_EOF >> conftest.$ac_ext
6331  {0, (void *) 0}
6332};
6333
6334/* This works around a problem in FreeBSD linker */
6335#ifdef FREEBSD_WORKAROUND
6336static const void *lt_preloaded_setup() {
6337  return lt__PROGRAM__LTX_preloaded_symbols;
6338}
6339#endif
6340
6341#ifdef __cplusplus
6342}
6343#endif
6344_LT_EOF
6345	  # Now try linking the two files.
6346	  mv conftest.$ac_objext conftstm.$ac_objext
6347	  lt_save_LIBS="$LIBS"
6348	  lt_save_CFLAGS="$CFLAGS"
6349	  LIBS="conftstm.$ac_objext"
6350	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6351	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6352  (eval $ac_link) 2>&5
6353  ac_status=$?
6354  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6355  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6356	    pipe_works=yes
6357	  fi
6358	  LIBS="$lt_save_LIBS"
6359	  CFLAGS="$lt_save_CFLAGS"
6360	else
6361	  echo "cannot find nm_test_func in $nlist" >&5
6362	fi
6363      else
6364	echo "cannot find nm_test_var in $nlist" >&5
6365      fi
6366    else
6367      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6368    fi
6369  else
6370    echo "$progname: failed program was:" >&5
6371    cat conftest.$ac_ext >&5
6372  fi
6373  rm -rf conftest* conftst*
6374
6375  # Do not use the global_symbol_pipe unless it works.
6376  if test "$pipe_works" = yes; then
6377    break
6378  else
6379    lt_cv_sys_global_symbol_pipe=
6380  fi
6381done
6382
6383fi
6384
6385if test -z "$lt_cv_sys_global_symbol_pipe"; then
6386  lt_cv_sys_global_symbol_to_cdecl=
6387fi
6388if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6390$as_echo "failed" >&6; }
6391else
6392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6393$as_echo "ok" >&6; }
6394fi
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417# Check whether --enable-libtool-lock was given.
6418if test "${enable_libtool_lock+set}" = set; then :
6419  enableval=$enable_libtool_lock;
6420fi
6421
6422test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6423
6424# Some flags need to be propagated to the compiler or linker for good
6425# libtool support.
6426case $host in
6427ia64-*-hpux*)
6428  # Find out which ABI we are using.
6429  echo 'int i;' > conftest.$ac_ext
6430  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6431  (eval $ac_compile) 2>&5
6432  ac_status=$?
6433  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6434  test $ac_status = 0; }; then
6435    case `/usr/bin/file conftest.$ac_objext` in
6436      *ELF-32*)
6437	HPUX_IA64_MODE="32"
6438	;;
6439      *ELF-64*)
6440	HPUX_IA64_MODE="64"
6441	;;
6442    esac
6443  fi
6444  rm -rf conftest*
6445  ;;
6446*-*-irix6*)
6447  # Find out which ABI we are using.
6448  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6449  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6450  (eval $ac_compile) 2>&5
6451  ac_status=$?
6452  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6453  test $ac_status = 0; }; then
6454    if test "$lt_cv_prog_gnu_ld" = yes; then
6455      case `/usr/bin/file conftest.$ac_objext` in
6456	*32-bit*)
6457	  LD="${LD-ld} -melf32bsmip"
6458	  ;;
6459	*N32*)
6460	  LD="${LD-ld} -melf32bmipn32"
6461	  ;;
6462	*64-bit*)
6463	  LD="${LD-ld} -melf64bmip"
6464	;;
6465      esac
6466    else
6467      case `/usr/bin/file conftest.$ac_objext` in
6468	*32-bit*)
6469	  LD="${LD-ld} -32"
6470	  ;;
6471	*N32*)
6472	  LD="${LD-ld} -n32"
6473	  ;;
6474	*64-bit*)
6475	  LD="${LD-ld} -64"
6476	  ;;
6477      esac
6478    fi
6479  fi
6480  rm -rf conftest*
6481  ;;
6482
6483x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6484s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6485  # Find out which ABI we are using.
6486  echo 'int i;' > conftest.$ac_ext
6487  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6488  (eval $ac_compile) 2>&5
6489  ac_status=$?
6490  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6491  test $ac_status = 0; }; then
6492    case `/usr/bin/file conftest.o` in
6493      *32-bit*)
6494	case $host in
6495	  x86_64-*kfreebsd*-gnu)
6496	    LD="${LD-ld} -m elf_i386_fbsd"
6497	    ;;
6498	  x86_64-*linux*)
6499	    case `/usr/bin/file conftest.o` in
6500	      *x86-64*)
6501		LD="${LD-ld} -m elf32_x86_64"
6502		;;
6503	      *)
6504		LD="${LD-ld} -m elf_i386"
6505		;;
6506	    esac
6507	    ;;
6508	  powerpc64le-*linux*)
6509	    LD="${LD-ld} -m elf32lppclinux"
6510	    ;;
6511	  powerpc64-*linux*)
6512	    LD="${LD-ld} -m elf32ppclinux"
6513	    ;;
6514	  s390x-*linux*)
6515	    LD="${LD-ld} -m elf_s390"
6516	    ;;
6517	  sparc64-*linux*)
6518	    LD="${LD-ld} -m elf32_sparc"
6519	    ;;
6520	esac
6521	;;
6522      *64-bit*)
6523	case $host in
6524	  x86_64-*kfreebsd*-gnu)
6525	    LD="${LD-ld} -m elf_x86_64_fbsd"
6526	    ;;
6527	  x86_64-*linux*)
6528	    LD="${LD-ld} -m elf_x86_64"
6529	    ;;
6530	  powerpcle-*linux*)
6531	    LD="${LD-ld} -m elf64lppc"
6532	    ;;
6533	  powerpc-*linux*)
6534	    LD="${LD-ld} -m elf64ppc"
6535	    ;;
6536	  s390*-*linux*|s390*-*tpf*)
6537	    LD="${LD-ld} -m elf64_s390"
6538	    ;;
6539	  sparc*-*linux*)
6540	    LD="${LD-ld} -m elf64_sparc"
6541	    ;;
6542	esac
6543	;;
6544    esac
6545  fi
6546  rm -rf conftest*
6547  ;;
6548
6549*-*-sco3.2v5*)
6550  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6551  SAVE_CFLAGS="$CFLAGS"
6552  CFLAGS="$CFLAGS -belf"
6553  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6554$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6555if test "${lt_cv_cc_needs_belf+set}" = set; then :
6556  $as_echo_n "(cached) " >&6
6557else
6558  ac_ext=c
6559ac_cpp='$CPP $CPPFLAGS'
6560ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6561ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6562ac_compiler_gnu=$ac_cv_c_compiler_gnu
6563
6564     if test x$gcc_no_link = xyes; then
6565  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6566fi
6567cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6568/* end confdefs.h.  */
6569
6570int
6571main ()
6572{
6573
6574  ;
6575  return 0;
6576}
6577_ACEOF
6578if ac_fn_c_try_link "$LINENO"; then :
6579  lt_cv_cc_needs_belf=yes
6580else
6581  lt_cv_cc_needs_belf=no
6582fi
6583rm -f core conftest.err conftest.$ac_objext \
6584    conftest$ac_exeext conftest.$ac_ext
6585     ac_ext=c
6586ac_cpp='$CPP $CPPFLAGS'
6587ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6588ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6589ac_compiler_gnu=$ac_cv_c_compiler_gnu
6590
6591fi
6592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6593$as_echo "$lt_cv_cc_needs_belf" >&6; }
6594  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6595    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6596    CFLAGS="$SAVE_CFLAGS"
6597  fi
6598  ;;
6599sparc*-*solaris*)
6600  # Find out which ABI we are using.
6601  echo 'int i;' > conftest.$ac_ext
6602  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6603  (eval $ac_compile) 2>&5
6604  ac_status=$?
6605  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6606  test $ac_status = 0; }; then
6607    case `/usr/bin/file conftest.o` in
6608    *64-bit*)
6609      case $lt_cv_prog_gnu_ld in
6610      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6611      *)
6612	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6613	  LD="${LD-ld} -64"
6614	fi
6615	;;
6616      esac
6617      ;;
6618    esac
6619  fi
6620  rm -rf conftest*
6621  ;;
6622esac
6623
6624need_locks="$enable_libtool_lock"
6625
6626
6627  case $host_os in
6628    rhapsody* | darwin*)
6629    if test -n "$ac_tool_prefix"; then
6630  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6631set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6633$as_echo_n "checking for $ac_word... " >&6; }
6634if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6635  $as_echo_n "(cached) " >&6
6636else
6637  if test -n "$DSYMUTIL"; then
6638  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6639else
6640as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6641for as_dir in $PATH
6642do
6643  IFS=$as_save_IFS
6644  test -z "$as_dir" && as_dir=.
6645    for ac_exec_ext in '' $ac_executable_extensions; do
6646  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6647    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6648    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6649    break 2
6650  fi
6651done
6652  done
6653IFS=$as_save_IFS
6654
6655fi
6656fi
6657DSYMUTIL=$ac_cv_prog_DSYMUTIL
6658if test -n "$DSYMUTIL"; then
6659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6660$as_echo "$DSYMUTIL" >&6; }
6661else
6662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663$as_echo "no" >&6; }
6664fi
6665
6666
6667fi
6668if test -z "$ac_cv_prog_DSYMUTIL"; then
6669  ac_ct_DSYMUTIL=$DSYMUTIL
6670  # Extract the first word of "dsymutil", so it can be a program name with args.
6671set dummy dsymutil; ac_word=$2
6672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673$as_echo_n "checking for $ac_word... " >&6; }
6674if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6675  $as_echo_n "(cached) " >&6
6676else
6677  if test -n "$ac_ct_DSYMUTIL"; then
6678  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6679else
6680as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681for as_dir in $PATH
6682do
6683  IFS=$as_save_IFS
6684  test -z "$as_dir" && as_dir=.
6685    for ac_exec_ext in '' $ac_executable_extensions; do
6686  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6687    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6688    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6689    break 2
6690  fi
6691done
6692  done
6693IFS=$as_save_IFS
6694
6695fi
6696fi
6697ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6698if test -n "$ac_ct_DSYMUTIL"; then
6699  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6700$as_echo "$ac_ct_DSYMUTIL" >&6; }
6701else
6702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703$as_echo "no" >&6; }
6704fi
6705
6706  if test "x$ac_ct_DSYMUTIL" = x; then
6707    DSYMUTIL=":"
6708  else
6709    case $cross_compiling:$ac_tool_warned in
6710yes:)
6711{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6712$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6713ac_tool_warned=yes ;;
6714esac
6715    DSYMUTIL=$ac_ct_DSYMUTIL
6716  fi
6717else
6718  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6719fi
6720
6721    if test -n "$ac_tool_prefix"; then
6722  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6723set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725$as_echo_n "checking for $ac_word... " >&6; }
6726if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6727  $as_echo_n "(cached) " >&6
6728else
6729  if test -n "$NMEDIT"; then
6730  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6731else
6732as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6733for as_dir in $PATH
6734do
6735  IFS=$as_save_IFS
6736  test -z "$as_dir" && as_dir=.
6737    for ac_exec_ext in '' $ac_executable_extensions; do
6738  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6739    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6740    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6741    break 2
6742  fi
6743done
6744  done
6745IFS=$as_save_IFS
6746
6747fi
6748fi
6749NMEDIT=$ac_cv_prog_NMEDIT
6750if test -n "$NMEDIT"; then
6751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6752$as_echo "$NMEDIT" >&6; }
6753else
6754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6755$as_echo "no" >&6; }
6756fi
6757
6758
6759fi
6760if test -z "$ac_cv_prog_NMEDIT"; then
6761  ac_ct_NMEDIT=$NMEDIT
6762  # Extract the first word of "nmedit", so it can be a program name with args.
6763set dummy nmedit; ac_word=$2
6764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6765$as_echo_n "checking for $ac_word... " >&6; }
6766if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6767  $as_echo_n "(cached) " >&6
6768else
6769  if test -n "$ac_ct_NMEDIT"; then
6770  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6771else
6772as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6773for as_dir in $PATH
6774do
6775  IFS=$as_save_IFS
6776  test -z "$as_dir" && as_dir=.
6777    for ac_exec_ext in '' $ac_executable_extensions; do
6778  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6779    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6780    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6781    break 2
6782  fi
6783done
6784  done
6785IFS=$as_save_IFS
6786
6787fi
6788fi
6789ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6790if test -n "$ac_ct_NMEDIT"; then
6791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6792$as_echo "$ac_ct_NMEDIT" >&6; }
6793else
6794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6795$as_echo "no" >&6; }
6796fi
6797
6798  if test "x$ac_ct_NMEDIT" = x; then
6799    NMEDIT=":"
6800  else
6801    case $cross_compiling:$ac_tool_warned in
6802yes:)
6803{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6804$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6805ac_tool_warned=yes ;;
6806esac
6807    NMEDIT=$ac_ct_NMEDIT
6808  fi
6809else
6810  NMEDIT="$ac_cv_prog_NMEDIT"
6811fi
6812
6813    if test -n "$ac_tool_prefix"; then
6814  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6815set dummy ${ac_tool_prefix}lipo; ac_word=$2
6816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817$as_echo_n "checking for $ac_word... " >&6; }
6818if test "${ac_cv_prog_LIPO+set}" = set; then :
6819  $as_echo_n "(cached) " >&6
6820else
6821  if test -n "$LIPO"; then
6822  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6823else
6824as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6825for as_dir in $PATH
6826do
6827  IFS=$as_save_IFS
6828  test -z "$as_dir" && as_dir=.
6829    for ac_exec_ext in '' $ac_executable_extensions; do
6830  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6831    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6832    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6833    break 2
6834  fi
6835done
6836  done
6837IFS=$as_save_IFS
6838
6839fi
6840fi
6841LIPO=$ac_cv_prog_LIPO
6842if test -n "$LIPO"; then
6843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6844$as_echo "$LIPO" >&6; }
6845else
6846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847$as_echo "no" >&6; }
6848fi
6849
6850
6851fi
6852if test -z "$ac_cv_prog_LIPO"; then
6853  ac_ct_LIPO=$LIPO
6854  # Extract the first word of "lipo", so it can be a program name with args.
6855set dummy lipo; ac_word=$2
6856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6857$as_echo_n "checking for $ac_word... " >&6; }
6858if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6859  $as_echo_n "(cached) " >&6
6860else
6861  if test -n "$ac_ct_LIPO"; then
6862  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6863else
6864as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6865for as_dir in $PATH
6866do
6867  IFS=$as_save_IFS
6868  test -z "$as_dir" && as_dir=.
6869    for ac_exec_ext in '' $ac_executable_extensions; do
6870  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6871    ac_cv_prog_ac_ct_LIPO="lipo"
6872    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6873    break 2
6874  fi
6875done
6876  done
6877IFS=$as_save_IFS
6878
6879fi
6880fi
6881ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6882if test -n "$ac_ct_LIPO"; then
6883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6884$as_echo "$ac_ct_LIPO" >&6; }
6885else
6886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6887$as_echo "no" >&6; }
6888fi
6889
6890  if test "x$ac_ct_LIPO" = x; then
6891    LIPO=":"
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    LIPO=$ac_ct_LIPO
6900  fi
6901else
6902  LIPO="$ac_cv_prog_LIPO"
6903fi
6904
6905    if test -n "$ac_tool_prefix"; then
6906  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6907set dummy ${ac_tool_prefix}otool; ac_word=$2
6908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909$as_echo_n "checking for $ac_word... " >&6; }
6910if test "${ac_cv_prog_OTOOL+set}" = set; then :
6911  $as_echo_n "(cached) " >&6
6912else
6913  if test -n "$OTOOL"; then
6914  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6915else
6916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6917for as_dir in $PATH
6918do
6919  IFS=$as_save_IFS
6920  test -z "$as_dir" && as_dir=.
6921    for ac_exec_ext in '' $ac_executable_extensions; do
6922  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6923    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6924    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6925    break 2
6926  fi
6927done
6928  done
6929IFS=$as_save_IFS
6930
6931fi
6932fi
6933OTOOL=$ac_cv_prog_OTOOL
6934if test -n "$OTOOL"; then
6935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6936$as_echo "$OTOOL" >&6; }
6937else
6938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939$as_echo "no" >&6; }
6940fi
6941
6942
6943fi
6944if test -z "$ac_cv_prog_OTOOL"; then
6945  ac_ct_OTOOL=$OTOOL
6946  # Extract the first word of "otool", so it can be a program name with args.
6947set dummy otool; ac_word=$2
6948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6949$as_echo_n "checking for $ac_word... " >&6; }
6950if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6951  $as_echo_n "(cached) " >&6
6952else
6953  if test -n "$ac_ct_OTOOL"; then
6954  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6955else
6956as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957for as_dir in $PATH
6958do
6959  IFS=$as_save_IFS
6960  test -z "$as_dir" && as_dir=.
6961    for ac_exec_ext in '' $ac_executable_extensions; do
6962  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6963    ac_cv_prog_ac_ct_OTOOL="otool"
6964    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6965    break 2
6966  fi
6967done
6968  done
6969IFS=$as_save_IFS
6970
6971fi
6972fi
6973ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6974if test -n "$ac_ct_OTOOL"; then
6975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6976$as_echo "$ac_ct_OTOOL" >&6; }
6977else
6978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6979$as_echo "no" >&6; }
6980fi
6981
6982  if test "x$ac_ct_OTOOL" = x; then
6983    OTOOL=":"
6984  else
6985    case $cross_compiling:$ac_tool_warned in
6986yes:)
6987{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6988$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6989ac_tool_warned=yes ;;
6990esac
6991    OTOOL=$ac_ct_OTOOL
6992  fi
6993else
6994  OTOOL="$ac_cv_prog_OTOOL"
6995fi
6996
6997    if test -n "$ac_tool_prefix"; then
6998  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6999set dummy ${ac_tool_prefix}otool64; ac_word=$2
7000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001$as_echo_n "checking for $ac_word... " >&6; }
7002if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7003  $as_echo_n "(cached) " >&6
7004else
7005  if test -n "$OTOOL64"; then
7006  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7007else
7008as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7009for as_dir in $PATH
7010do
7011  IFS=$as_save_IFS
7012  test -z "$as_dir" && as_dir=.
7013    for ac_exec_ext in '' $ac_executable_extensions; do
7014  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7015    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7016    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7017    break 2
7018  fi
7019done
7020  done
7021IFS=$as_save_IFS
7022
7023fi
7024fi
7025OTOOL64=$ac_cv_prog_OTOOL64
7026if test -n "$OTOOL64"; then
7027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7028$as_echo "$OTOOL64" >&6; }
7029else
7030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031$as_echo "no" >&6; }
7032fi
7033
7034
7035fi
7036if test -z "$ac_cv_prog_OTOOL64"; then
7037  ac_ct_OTOOL64=$OTOOL64
7038  # Extract the first word of "otool64", so it can be a program name with args.
7039set dummy otool64; ac_word=$2
7040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7041$as_echo_n "checking for $ac_word... " >&6; }
7042if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7043  $as_echo_n "(cached) " >&6
7044else
7045  if test -n "$ac_ct_OTOOL64"; then
7046  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7047else
7048as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7049for as_dir in $PATH
7050do
7051  IFS=$as_save_IFS
7052  test -z "$as_dir" && as_dir=.
7053    for ac_exec_ext in '' $ac_executable_extensions; do
7054  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7055    ac_cv_prog_ac_ct_OTOOL64="otool64"
7056    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7057    break 2
7058  fi
7059done
7060  done
7061IFS=$as_save_IFS
7062
7063fi
7064fi
7065ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7066if test -n "$ac_ct_OTOOL64"; then
7067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7068$as_echo "$ac_ct_OTOOL64" >&6; }
7069else
7070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7071$as_echo "no" >&6; }
7072fi
7073
7074  if test "x$ac_ct_OTOOL64" = x; then
7075    OTOOL64=":"
7076  else
7077    case $cross_compiling:$ac_tool_warned in
7078yes:)
7079{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7080$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7081ac_tool_warned=yes ;;
7082esac
7083    OTOOL64=$ac_ct_OTOOL64
7084  fi
7085else
7086  OTOOL64="$ac_cv_prog_OTOOL64"
7087fi
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7116$as_echo_n "checking for -single_module linker flag... " >&6; }
7117if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7118  $as_echo_n "(cached) " >&6
7119else
7120  lt_cv_apple_cc_single_mod=no
7121      if test -z "${LT_MULTI_MODULE}"; then
7122	# By default we will add the -single_module flag. You can override
7123	# by either setting the environment variable LT_MULTI_MODULE
7124	# non-empty at configure time, or by adding -multi_module to the
7125	# link flags.
7126	rm -rf libconftest.dylib*
7127	echo "int foo(void){return 1;}" > conftest.c
7128	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7129-dynamiclib -Wl,-single_module conftest.c" >&5
7130	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7131	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7132        _lt_result=$?
7133	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7134	  lt_cv_apple_cc_single_mod=yes
7135	else
7136	  cat conftest.err >&5
7137	fi
7138	rm -rf libconftest.dylib*
7139	rm -f conftest.*
7140      fi
7141fi
7142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7143$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7144    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7145$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7146if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7147  $as_echo_n "(cached) " >&6
7148else
7149  lt_cv_ld_exported_symbols_list=no
7150      save_LDFLAGS=$LDFLAGS
7151      echo "_main" > conftest.sym
7152      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7153      if test x$gcc_no_link = xyes; then
7154  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7155fi
7156cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7157/* end confdefs.h.  */
7158
7159int
7160main ()
7161{
7162
7163  ;
7164  return 0;
7165}
7166_ACEOF
7167if ac_fn_c_try_link "$LINENO"; then :
7168  lt_cv_ld_exported_symbols_list=yes
7169else
7170  lt_cv_ld_exported_symbols_list=no
7171fi
7172rm -f core conftest.err conftest.$ac_objext \
7173    conftest$ac_exeext conftest.$ac_ext
7174	LDFLAGS="$save_LDFLAGS"
7175
7176fi
7177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7178$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7179    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7180$as_echo_n "checking for -force_load linker flag... " >&6; }
7181if test "${lt_cv_ld_force_load+set}" = set; then :
7182  $as_echo_n "(cached) " >&6
7183else
7184  lt_cv_ld_force_load=no
7185      cat > conftest.c << _LT_EOF
7186int forced_loaded() { return 2;}
7187_LT_EOF
7188      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7189      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7190      echo "$AR cru libconftest.a conftest.o" >&5
7191      $AR cru libconftest.a conftest.o 2>&5
7192      cat > conftest.c << _LT_EOF
7193int main() { return 0;}
7194_LT_EOF
7195      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7196      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7197      _lt_result=$?
7198      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7199	lt_cv_ld_force_load=yes
7200      else
7201	cat conftest.err >&5
7202      fi
7203        rm -f conftest.err libconftest.a conftest conftest.c
7204        rm -rf conftest.dSYM
7205
7206fi
7207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7208$as_echo "$lt_cv_ld_force_load" >&6; }
7209    case $host_os in
7210    rhapsody* | darwin1.[012])
7211      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7212    darwin1.*)
7213      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7214    darwin*) # darwin 5.x on
7215      # if running on 10.5 or later, the deployment target defaults
7216      # to the OS version, if on x86, and 10.4, the deployment
7217      # target defaults to 10.4. Don't you love it?
7218      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7219	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7220	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7221	10.[012][,.]*)
7222	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7223	10.*)
7224	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7225      esac
7226    ;;
7227  esac
7228    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7229      _lt_dar_single_mod='$single_module'
7230    fi
7231    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7232      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7233    else
7234      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7235    fi
7236    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7237      _lt_dsymutil='~$DSYMUTIL $lib || :'
7238    else
7239      _lt_dsymutil=
7240    fi
7241    ;;
7242  esac
7243
7244for ac_header in dlfcn.h
7245do :
7246  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7247"
7248if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7249  cat >>confdefs.h <<_ACEOF
7250#define HAVE_DLFCN_H 1
7251_ACEOF
7252
7253fi
7254
7255done
7256
7257
7258
7259
7260
7261# Set options
7262
7263
7264
7265        enable_dlopen=no
7266
7267
7268  enable_win32_dll=no
7269
7270
7271            # Check whether --enable-shared was given.
7272if test "${enable_shared+set}" = set; then :
7273  enableval=$enable_shared; p=${PACKAGE-default}
7274    case $enableval in
7275    yes) enable_shared=yes ;;
7276    no) enable_shared=no ;;
7277    *)
7278      enable_shared=no
7279      # Look at the argument we got.  We use all the common list separators.
7280      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7281      for pkg in $enableval; do
7282	IFS="$lt_save_ifs"
7283	if test "X$pkg" = "X$p"; then
7284	  enable_shared=yes
7285	fi
7286      done
7287      IFS="$lt_save_ifs"
7288      ;;
7289    esac
7290else
7291  enable_shared=yes
7292fi
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302  # Check whether --enable-static was given.
7303if test "${enable_static+set}" = set; then :
7304  enableval=$enable_static; p=${PACKAGE-default}
7305    case $enableval in
7306    yes) enable_static=yes ;;
7307    no) enable_static=no ;;
7308    *)
7309     enable_static=no
7310      # Look at the argument we got.  We use all the common list separators.
7311      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7312      for pkg in $enableval; do
7313	IFS="$lt_save_ifs"
7314	if test "X$pkg" = "X$p"; then
7315	  enable_static=yes
7316	fi
7317      done
7318      IFS="$lt_save_ifs"
7319      ;;
7320    esac
7321else
7322  enable_static=yes
7323fi
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334# Check whether --with-pic was given.
7335if test "${with_pic+set}" = set; then :
7336  withval=$with_pic; pic_mode="$withval"
7337else
7338  pic_mode=default
7339fi
7340
7341
7342test -z "$pic_mode" && pic_mode=default
7343
7344
7345
7346
7347
7348
7349
7350  # Check whether --enable-fast-install was given.
7351if test "${enable_fast_install+set}" = set; then :
7352  enableval=$enable_fast_install; p=${PACKAGE-default}
7353    case $enableval in
7354    yes) enable_fast_install=yes ;;
7355    no) enable_fast_install=no ;;
7356    *)
7357      enable_fast_install=no
7358      # Look at the argument we got.  We use all the common list separators.
7359      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7360      for pkg in $enableval; do
7361	IFS="$lt_save_ifs"
7362	if test "X$pkg" = "X$p"; then
7363	  enable_fast_install=yes
7364	fi
7365      done
7366      IFS="$lt_save_ifs"
7367      ;;
7368    esac
7369else
7370  enable_fast_install=yes
7371fi
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383# This can be used to rebuild libtool when needed
7384LIBTOOL_DEPS="$ltmain"
7385
7386# Always use our own libtool.
7387LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414test -z "$LN_S" && LN_S="ln -s"
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429if test -n "${ZSH_VERSION+set}" ; then
7430   setopt NO_GLOB_SUBST
7431fi
7432
7433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7434$as_echo_n "checking for objdir... " >&6; }
7435if test "${lt_cv_objdir+set}" = set; then :
7436  $as_echo_n "(cached) " >&6
7437else
7438  rm -f .libs 2>/dev/null
7439mkdir .libs 2>/dev/null
7440if test -d .libs; then
7441  lt_cv_objdir=.libs
7442else
7443  # MS-DOS does not allow filenames that begin with a dot.
7444  lt_cv_objdir=_libs
7445fi
7446rmdir .libs 2>/dev/null
7447fi
7448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7449$as_echo "$lt_cv_objdir" >&6; }
7450objdir=$lt_cv_objdir
7451
7452
7453
7454
7455
7456cat >>confdefs.h <<_ACEOF
7457#define LT_OBJDIR "$lt_cv_objdir/"
7458_ACEOF
7459
7460
7461
7462
7463case $host_os in
7464aix3*)
7465  # AIX sometimes has problems with the GCC collect2 program.  For some
7466  # reason, if we set the COLLECT_NAMES environment variable, the problems
7467  # vanish in a puff of smoke.
7468  if test "X${COLLECT_NAMES+set}" != Xset; then
7469    COLLECT_NAMES=
7470    export COLLECT_NAMES
7471  fi
7472  ;;
7473esac
7474
7475# Global variables:
7476ofile=libtool
7477can_build_shared=yes
7478
7479# All known linkers require a `.a' archive for static linking (except MSVC,
7480# which needs '.lib').
7481libext=a
7482
7483with_gnu_ld="$lt_cv_prog_gnu_ld"
7484
7485old_CC="$CC"
7486old_CFLAGS="$CFLAGS"
7487
7488# Set sane defaults for various variables
7489test -z "$CC" && CC=cc
7490test -z "$LTCC" && LTCC=$CC
7491test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7492test -z "$LD" && LD=ld
7493test -z "$ac_objext" && ac_objext=o
7494
7495for cc_temp in $compiler""; do
7496  case $cc_temp in
7497    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7498    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7499    \-*) ;;
7500    *) break;;
7501  esac
7502done
7503cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7504
7505
7506# Only perform the check for file, if the check method requires it
7507test -z "$MAGIC_CMD" && MAGIC_CMD=file
7508case $deplibs_check_method in
7509file_magic*)
7510  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7511    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7512$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7513if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7514  $as_echo_n "(cached) " >&6
7515else
7516  case $MAGIC_CMD in
7517[\\/*] |  ?:[\\/]*)
7518  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7519  ;;
7520*)
7521  lt_save_MAGIC_CMD="$MAGIC_CMD"
7522  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7523  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7524  for ac_dir in $ac_dummy; do
7525    IFS="$lt_save_ifs"
7526    test -z "$ac_dir" && ac_dir=.
7527    if test -f $ac_dir/${ac_tool_prefix}file; then
7528      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7529      if test -n "$file_magic_test_file"; then
7530	case $deplibs_check_method in
7531	"file_magic "*)
7532	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7533	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7534	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7535	    $EGREP "$file_magic_regex" > /dev/null; then
7536	    :
7537	  else
7538	    cat <<_LT_EOF 1>&2
7539
7540*** Warning: the command libtool uses to detect shared libraries,
7541*** $file_magic_cmd, produces output that libtool cannot recognize.
7542*** The result is that libtool may fail to recognize shared libraries
7543*** as such.  This will affect the creation of libtool libraries that
7544*** depend on shared libraries, but programs linked with such libtool
7545*** libraries will work regardless of this problem.  Nevertheless, you
7546*** may want to report the problem to your system manager and/or to
7547*** bug-libtool@gnu.org
7548
7549_LT_EOF
7550	  fi ;;
7551	esac
7552      fi
7553      break
7554    fi
7555  done
7556  IFS="$lt_save_ifs"
7557  MAGIC_CMD="$lt_save_MAGIC_CMD"
7558  ;;
7559esac
7560fi
7561
7562MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7563if test -n "$MAGIC_CMD"; then
7564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7565$as_echo "$MAGIC_CMD" >&6; }
7566else
7567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7568$as_echo "no" >&6; }
7569fi
7570
7571
7572
7573
7574
7575if test -z "$lt_cv_path_MAGIC_CMD"; then
7576  if test -n "$ac_tool_prefix"; then
7577    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7578$as_echo_n "checking for file... " >&6; }
7579if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7580  $as_echo_n "(cached) " >&6
7581else
7582  case $MAGIC_CMD in
7583[\\/*] |  ?:[\\/]*)
7584  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7585  ;;
7586*)
7587  lt_save_MAGIC_CMD="$MAGIC_CMD"
7588  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7589  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7590  for ac_dir in $ac_dummy; do
7591    IFS="$lt_save_ifs"
7592    test -z "$ac_dir" && ac_dir=.
7593    if test -f $ac_dir/file; then
7594      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7595      if test -n "$file_magic_test_file"; then
7596	case $deplibs_check_method in
7597	"file_magic "*)
7598	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7599	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7600	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7601	    $EGREP "$file_magic_regex" > /dev/null; then
7602	    :
7603	  else
7604	    cat <<_LT_EOF 1>&2
7605
7606*** Warning: the command libtool uses to detect shared libraries,
7607*** $file_magic_cmd, produces output that libtool cannot recognize.
7608*** The result is that libtool may fail to recognize shared libraries
7609*** as such.  This will affect the creation of libtool libraries that
7610*** depend on shared libraries, but programs linked with such libtool
7611*** libraries will work regardless of this problem.  Nevertheless, you
7612*** may want to report the problem to your system manager and/or to
7613*** bug-libtool@gnu.org
7614
7615_LT_EOF
7616	  fi ;;
7617	esac
7618      fi
7619      break
7620    fi
7621  done
7622  IFS="$lt_save_ifs"
7623  MAGIC_CMD="$lt_save_MAGIC_CMD"
7624  ;;
7625esac
7626fi
7627
7628MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7629if test -n "$MAGIC_CMD"; then
7630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7631$as_echo "$MAGIC_CMD" >&6; }
7632else
7633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7634$as_echo "no" >&6; }
7635fi
7636
7637
7638  else
7639    MAGIC_CMD=:
7640  fi
7641fi
7642
7643  fi
7644  ;;
7645esac
7646
7647# Use C for the default configuration in the libtool script
7648
7649lt_save_CC="$CC"
7650ac_ext=c
7651ac_cpp='$CPP $CPPFLAGS'
7652ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7653ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7654ac_compiler_gnu=$ac_cv_c_compiler_gnu
7655
7656
7657# Source file extension for C test sources.
7658ac_ext=c
7659
7660# Object file extension for compiled C test sources.
7661objext=o
7662objext=$objext
7663
7664# Code to be used in simple compile tests
7665lt_simple_compile_test_code="int some_variable = 0;"
7666
7667# Code to be used in simple link tests
7668lt_simple_link_test_code='int main(){return(0);}'
7669
7670
7671
7672
7673
7674
7675
7676# If no C compiler was specified, use CC.
7677LTCC=${LTCC-"$CC"}
7678
7679# If no C compiler flags were specified, use CFLAGS.
7680LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7681
7682# Allow CC to be a program name with arguments.
7683compiler=$CC
7684
7685# Save the default compiler, since it gets overwritten when the other
7686# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7687compiler_DEFAULT=$CC
7688
7689# save warnings/boilerplate of simple test code
7690ac_outfile=conftest.$ac_objext
7691echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7692eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7693_lt_compiler_boilerplate=`cat conftest.err`
7694$RM conftest*
7695
7696ac_outfile=conftest.$ac_objext
7697echo "$lt_simple_link_test_code" >conftest.$ac_ext
7698eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7699_lt_linker_boilerplate=`cat conftest.err`
7700$RM -r conftest*
7701
7702
7703## CAVEAT EMPTOR:
7704## There is no encapsulation within the following macros, do not change
7705## the running order or otherwise move them around unless you know exactly
7706## what you are doing...
7707if test -n "$compiler"; then
7708
7709lt_prog_compiler_no_builtin_flag=
7710
7711if test "$GCC" = yes; then
7712  case $cc_basename in
7713  nvcc*)
7714    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7715  *)
7716    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7717  esac
7718
7719  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7720$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7721if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7722  $as_echo_n "(cached) " >&6
7723else
7724  lt_cv_prog_compiler_rtti_exceptions=no
7725   ac_outfile=conftest.$ac_objext
7726   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7727   lt_compiler_flag="-fno-rtti -fno-exceptions"
7728   # Insert the option either (1) after the last *FLAGS variable, or
7729   # (2) before a word containing "conftest.", or (3) at the end.
7730   # Note that $ac_compile itself does not contain backslashes and begins
7731   # with a dollar sign (not a hyphen), so the echo should work correctly.
7732   # The option is referenced via a variable to avoid confusing sed.
7733   lt_compile=`echo "$ac_compile" | $SED \
7734   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7735   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7736   -e 's:$: $lt_compiler_flag:'`
7737   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7738   (eval "$lt_compile" 2>conftest.err)
7739   ac_status=$?
7740   cat conftest.err >&5
7741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742   if (exit $ac_status) && test -s "$ac_outfile"; then
7743     # The compiler can only warn and ignore the option if not recognized
7744     # So say no if there are warnings other than the usual output.
7745     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7746     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7747     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7748       lt_cv_prog_compiler_rtti_exceptions=yes
7749     fi
7750   fi
7751   $RM conftest*
7752
7753fi
7754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7755$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7756
7757if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7758    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7759else
7760    :
7761fi
7762
7763fi
7764
7765
7766
7767
7768
7769
7770  lt_prog_compiler_wl=
7771lt_prog_compiler_pic=
7772lt_prog_compiler_static=
7773
7774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7775$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7776
7777  if test "$GCC" = yes; then
7778    lt_prog_compiler_wl='-Wl,'
7779    lt_prog_compiler_static='-static'
7780
7781    case $host_os in
7782      aix*)
7783      # All AIX code is PIC.
7784      if test "$host_cpu" = ia64; then
7785	# AIX 5 now supports IA64 processor
7786	lt_prog_compiler_static='-Bstatic'
7787      fi
7788      lt_prog_compiler_pic='-fPIC'
7789      ;;
7790
7791    amigaos*)
7792      case $host_cpu in
7793      powerpc)
7794            # see comment about AmigaOS4 .so support
7795            lt_prog_compiler_pic='-fPIC'
7796        ;;
7797      m68k)
7798            # FIXME: we need at least 68020 code to build shared libraries, but
7799            # adding the `-m68020' flag to GCC prevents building anything better,
7800            # like `-m68040'.
7801            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7802        ;;
7803      esac
7804      ;;
7805
7806    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7807      # PIC is the default for these OSes.
7808      ;;
7809
7810    mingw* | cygwin* | pw32* | os2* | cegcc*)
7811      # This hack is so that the source file can tell whether it is being
7812      # built for inclusion in a dll (and should export symbols for example).
7813      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7814      # (--disable-auto-import) libraries
7815      lt_prog_compiler_pic='-DDLL_EXPORT'
7816      ;;
7817
7818    darwin* | rhapsody*)
7819      # PIC is the default on this platform
7820      # Common symbols not allowed in MH_DYLIB files
7821      lt_prog_compiler_pic='-fno-common'
7822      ;;
7823
7824    haiku*)
7825      # PIC is the default for Haiku.
7826      # The "-static" flag exists, but is broken.
7827      lt_prog_compiler_static=
7828      ;;
7829
7830    hpux*)
7831      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7832      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7833      # sets the default TLS model and affects inlining.
7834      case $host_cpu in
7835      hppa*64*)
7836	# +Z the default
7837	;;
7838      *)
7839	lt_prog_compiler_pic='-fPIC'
7840	;;
7841      esac
7842      ;;
7843
7844    interix[3-9]*)
7845      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7846      # Instead, we relocate shared libraries at runtime.
7847      ;;
7848
7849    msdosdjgpp*)
7850      # Just because we use GCC doesn't mean we suddenly get shared libraries
7851      # on systems that don't support them.
7852      lt_prog_compiler_can_build_shared=no
7853      enable_shared=no
7854      ;;
7855
7856    *nto* | *qnx*)
7857      # QNX uses GNU C++, but need to define -shared option too, otherwise
7858      # it will coredump.
7859      lt_prog_compiler_pic='-fPIC -shared'
7860      ;;
7861
7862    sysv4*MP*)
7863      if test -d /usr/nec; then
7864	lt_prog_compiler_pic=-Kconform_pic
7865      fi
7866      ;;
7867
7868    *)
7869      lt_prog_compiler_pic='-fPIC'
7870      ;;
7871    esac
7872
7873    case $cc_basename in
7874    nvcc*) # Cuda Compiler Driver 2.2
7875      lt_prog_compiler_wl='-Xlinker '
7876      lt_prog_compiler_pic='-Xcompiler -fPIC'
7877      ;;
7878    esac
7879  else
7880    # PORTME Check for flag to pass linker flags through the system compiler.
7881    case $host_os in
7882    aix*)
7883      lt_prog_compiler_wl='-Wl,'
7884      if test "$host_cpu" = ia64; then
7885	# AIX 5 now supports IA64 processor
7886	lt_prog_compiler_static='-Bstatic'
7887      else
7888	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7889      fi
7890      ;;
7891
7892    mingw* | cygwin* | pw32* | os2* | cegcc*)
7893      # This hack is so that the source file can tell whether it is being
7894      # built for inclusion in a dll (and should export symbols for example).
7895      lt_prog_compiler_pic='-DDLL_EXPORT'
7896      ;;
7897
7898    hpux9* | hpux10* | hpux11*)
7899      lt_prog_compiler_wl='-Wl,'
7900      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7901      # not for PA HP-UX.
7902      case $host_cpu in
7903      hppa*64*|ia64*)
7904	# +Z the default
7905	;;
7906      *)
7907	lt_prog_compiler_pic='+Z'
7908	;;
7909      esac
7910      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7911      lt_prog_compiler_static='${wl}-a ${wl}archive'
7912      ;;
7913
7914    irix5* | irix6* | nonstopux*)
7915      lt_prog_compiler_wl='-Wl,'
7916      # PIC (with -KPIC) is the default.
7917      lt_prog_compiler_static='-non_shared'
7918      ;;
7919
7920    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7921      case $cc_basename in
7922      # old Intel for x86_64 which still supported -KPIC.
7923      ecc*)
7924	lt_prog_compiler_wl='-Wl,'
7925	lt_prog_compiler_pic='-KPIC'
7926	lt_prog_compiler_static='-static'
7927        ;;
7928      # icc used to be incompatible with GCC.
7929      # ICC 10 doesn't accept -KPIC any more.
7930      icc* | ifort*)
7931	lt_prog_compiler_wl='-Wl,'
7932	lt_prog_compiler_pic='-fPIC'
7933	lt_prog_compiler_static='-static'
7934        ;;
7935      # Lahey Fortran 8.1.
7936      lf95*)
7937	lt_prog_compiler_wl='-Wl,'
7938	lt_prog_compiler_pic='--shared'
7939	lt_prog_compiler_static='--static'
7940	;;
7941      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7942        # Portland Group compilers (*not* the Pentium gcc compiler,
7943	# which looks to be a dead project)
7944	lt_prog_compiler_wl='-Wl,'
7945	lt_prog_compiler_pic='-fpic'
7946	lt_prog_compiler_static='-Bstatic'
7947        ;;
7948      ccc*)
7949        lt_prog_compiler_wl='-Wl,'
7950        # All Alpha code is PIC.
7951        lt_prog_compiler_static='-non_shared'
7952        ;;
7953      xl* | bgxl* | bgf* | mpixl*)
7954	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7955	lt_prog_compiler_wl='-Wl,'
7956	lt_prog_compiler_pic='-qpic'
7957	lt_prog_compiler_static='-qstaticlink'
7958	;;
7959      *)
7960	case `$CC -V 2>&1 | sed 5q` in
7961	*Sun\ F* | *Sun*Fortran*)
7962	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
7963	  lt_prog_compiler_pic='-KPIC'
7964	  lt_prog_compiler_static='-Bstatic'
7965	  lt_prog_compiler_wl=''
7966	  ;;
7967	*Sun\ C*)
7968	  # Sun C 5.9
7969	  lt_prog_compiler_pic='-KPIC'
7970	  lt_prog_compiler_static='-Bstatic'
7971	  lt_prog_compiler_wl='-Wl,'
7972	  ;;
7973	esac
7974	;;
7975      esac
7976      ;;
7977
7978    newsos6)
7979      lt_prog_compiler_pic='-KPIC'
7980      lt_prog_compiler_static='-Bstatic'
7981      ;;
7982
7983    *nto* | *qnx*)
7984      # QNX uses GNU C++, but need to define -shared option too, otherwise
7985      # it will coredump.
7986      lt_prog_compiler_pic='-fPIC -shared'
7987      ;;
7988
7989    osf3* | osf4* | osf5*)
7990      lt_prog_compiler_wl='-Wl,'
7991      # All OSF/1 code is PIC.
7992      lt_prog_compiler_static='-non_shared'
7993      ;;
7994
7995    rdos*)
7996      lt_prog_compiler_static='-non_shared'
7997      ;;
7998
7999    solaris*)
8000      lt_prog_compiler_pic='-KPIC'
8001      lt_prog_compiler_static='-Bstatic'
8002      case $cc_basename in
8003      f77* | f90* | f95*)
8004	lt_prog_compiler_wl='-Qoption ld ';;
8005      *)
8006	lt_prog_compiler_wl='-Wl,';;
8007      esac
8008      ;;
8009
8010    sunos4*)
8011      lt_prog_compiler_wl='-Qoption ld '
8012      lt_prog_compiler_pic='-PIC'
8013      lt_prog_compiler_static='-Bstatic'
8014      ;;
8015
8016    sysv4 | sysv4.2uw2* | sysv4.3*)
8017      lt_prog_compiler_wl='-Wl,'
8018      lt_prog_compiler_pic='-KPIC'
8019      lt_prog_compiler_static='-Bstatic'
8020      ;;
8021
8022    sysv4*MP*)
8023      if test -d /usr/nec ;then
8024	lt_prog_compiler_pic='-Kconform_pic'
8025	lt_prog_compiler_static='-Bstatic'
8026      fi
8027      ;;
8028
8029    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8030      lt_prog_compiler_wl='-Wl,'
8031      lt_prog_compiler_pic='-KPIC'
8032      lt_prog_compiler_static='-Bstatic'
8033      ;;
8034
8035    unicos*)
8036      lt_prog_compiler_wl='-Wl,'
8037      lt_prog_compiler_can_build_shared=no
8038      ;;
8039
8040    uts4*)
8041      lt_prog_compiler_pic='-pic'
8042      lt_prog_compiler_static='-Bstatic'
8043      ;;
8044
8045    *)
8046      lt_prog_compiler_can_build_shared=no
8047      ;;
8048    esac
8049  fi
8050
8051case $host_os in
8052  # For platforms which do not support PIC, -DPIC is meaningless:
8053  *djgpp*)
8054    lt_prog_compiler_pic=
8055    ;;
8056  *)
8057    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8058    ;;
8059esac
8060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8061$as_echo "$lt_prog_compiler_pic" >&6; }
8062
8063
8064
8065
8066
8067
8068#
8069# Check to make sure the PIC flag actually works.
8070#
8071if test -n "$lt_prog_compiler_pic"; then
8072  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8073$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8074if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8075  $as_echo_n "(cached) " >&6
8076else
8077  lt_cv_prog_compiler_pic_works=no
8078   ac_outfile=conftest.$ac_objext
8079   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8080   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8081   # Insert the option either (1) after the last *FLAGS variable, or
8082   # (2) before a word containing "conftest.", or (3) at the end.
8083   # Note that $ac_compile itself does not contain backslashes and begins
8084   # with a dollar sign (not a hyphen), so the echo should work correctly.
8085   # The option is referenced via a variable to avoid confusing sed.
8086   lt_compile=`echo "$ac_compile" | $SED \
8087   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8088   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8089   -e 's:$: $lt_compiler_flag:'`
8090   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8091   (eval "$lt_compile" 2>conftest.err)
8092   ac_status=$?
8093   cat conftest.err >&5
8094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8095   if (exit $ac_status) && test -s "$ac_outfile"; then
8096     # The compiler can only warn and ignore the option if not recognized
8097     # So say no if there are warnings other than the usual output.
8098     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8099     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8100     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8101       lt_cv_prog_compiler_pic_works=yes
8102     fi
8103   fi
8104   $RM conftest*
8105
8106fi
8107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8108$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8109
8110if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8111    case $lt_prog_compiler_pic in
8112     "" | " "*) ;;
8113     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8114     esac
8115else
8116    lt_prog_compiler_pic=
8117     lt_prog_compiler_can_build_shared=no
8118fi
8119
8120fi
8121
8122
8123
8124
8125
8126
8127#
8128# Check to make sure the static flag actually works.
8129#
8130wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8132$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8133if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8134  $as_echo_n "(cached) " >&6
8135else
8136  lt_cv_prog_compiler_static_works=no
8137   save_LDFLAGS="$LDFLAGS"
8138   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8139   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8140   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8141     # The linker can only warn and ignore the option if not recognized
8142     # So say no if there are warnings
8143     if test -s conftest.err; then
8144       # Append any errors to the config.log.
8145       cat conftest.err 1>&5
8146       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8147       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8148       if diff conftest.exp conftest.er2 >/dev/null; then
8149         lt_cv_prog_compiler_static_works=yes
8150       fi
8151     else
8152       lt_cv_prog_compiler_static_works=yes
8153     fi
8154   fi
8155   $RM -r conftest*
8156   LDFLAGS="$save_LDFLAGS"
8157
8158fi
8159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8160$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8161
8162if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8163    :
8164else
8165    lt_prog_compiler_static=
8166fi
8167
8168
8169
8170
8171
8172
8173
8174  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8175$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8176if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8177  $as_echo_n "(cached) " >&6
8178else
8179  lt_cv_prog_compiler_c_o=no
8180   $RM -r conftest 2>/dev/null
8181   mkdir conftest
8182   cd conftest
8183   mkdir out
8184   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8185
8186   lt_compiler_flag="-o out/conftest2.$ac_objext"
8187   # Insert the option either (1) after the last *FLAGS variable, or
8188   # (2) before a word containing "conftest.", or (3) at the end.
8189   # Note that $ac_compile itself does not contain backslashes and begins
8190   # with a dollar sign (not a hyphen), so the echo should work correctly.
8191   lt_compile=`echo "$ac_compile" | $SED \
8192   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8193   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8194   -e 's:$: $lt_compiler_flag:'`
8195   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8196   (eval "$lt_compile" 2>out/conftest.err)
8197   ac_status=$?
8198   cat out/conftest.err >&5
8199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8201   then
8202     # The compiler can only warn and ignore the option if not recognized
8203     # So say no if there are warnings
8204     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8205     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8206     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8207       lt_cv_prog_compiler_c_o=yes
8208     fi
8209   fi
8210   chmod u+w . 2>&5
8211   $RM conftest*
8212   # SGI C++ compiler will create directory out/ii_files/ for
8213   # template instantiation
8214   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8215   $RM out/* && rmdir out
8216   cd ..
8217   $RM -r conftest
8218   $RM conftest*
8219
8220fi
8221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8222$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8223
8224
8225
8226
8227
8228
8229  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8230$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8231if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8232  $as_echo_n "(cached) " >&6
8233else
8234  lt_cv_prog_compiler_c_o=no
8235   $RM -r conftest 2>/dev/null
8236   mkdir conftest
8237   cd conftest
8238   mkdir out
8239   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8240
8241   lt_compiler_flag="-o out/conftest2.$ac_objext"
8242   # Insert the option either (1) after the last *FLAGS variable, or
8243   # (2) before a word containing "conftest.", or (3) at the end.
8244   # Note that $ac_compile itself does not contain backslashes and begins
8245   # with a dollar sign (not a hyphen), so the echo should work correctly.
8246   lt_compile=`echo "$ac_compile" | $SED \
8247   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8248   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8249   -e 's:$: $lt_compiler_flag:'`
8250   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8251   (eval "$lt_compile" 2>out/conftest.err)
8252   ac_status=$?
8253   cat out/conftest.err >&5
8254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8256   then
8257     # The compiler can only warn and ignore the option if not recognized
8258     # So say no if there are warnings
8259     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8260     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8261     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8262       lt_cv_prog_compiler_c_o=yes
8263     fi
8264   fi
8265   chmod u+w . 2>&5
8266   $RM conftest*
8267   # SGI C++ compiler will create directory out/ii_files/ for
8268   # template instantiation
8269   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8270   $RM out/* && rmdir out
8271   cd ..
8272   $RM -r conftest
8273   $RM conftest*
8274
8275fi
8276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8277$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8278
8279
8280
8281
8282hard_links="nottested"
8283if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8284  # do not overwrite the value of need_locks provided by the user
8285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8286$as_echo_n "checking if we can lock with hard links... " >&6; }
8287  hard_links=yes
8288  $RM conftest*
8289  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8290  touch conftest.a
8291  ln conftest.a conftest.b 2>&5 || hard_links=no
8292  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8294$as_echo "$hard_links" >&6; }
8295  if test "$hard_links" = no; then
8296    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8297$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8298    need_locks=warn
8299  fi
8300else
8301  need_locks=no
8302fi
8303
8304
8305
8306
8307
8308
8309  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8310$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8311
8312  runpath_var=
8313  allow_undefined_flag=
8314  always_export_symbols=no
8315  archive_cmds=
8316  archive_expsym_cmds=
8317  compiler_needs_object=no
8318  enable_shared_with_static_runtimes=no
8319  export_dynamic_flag_spec=
8320  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8321  hardcode_automatic=no
8322  hardcode_direct=no
8323  hardcode_direct_absolute=no
8324  hardcode_libdir_flag_spec=
8325  hardcode_libdir_flag_spec_ld=
8326  hardcode_libdir_separator=
8327  hardcode_minus_L=no
8328  hardcode_shlibpath_var=unsupported
8329  inherit_rpath=no
8330  link_all_deplibs=unknown
8331  module_cmds=
8332  module_expsym_cmds=
8333  old_archive_from_new_cmds=
8334  old_archive_from_expsyms_cmds=
8335  thread_safe_flag_spec=
8336  whole_archive_flag_spec=
8337  # include_expsyms should be a list of space-separated symbols to be *always*
8338  # included in the symbol list
8339  include_expsyms=
8340  # exclude_expsyms can be an extended regexp of symbols to exclude
8341  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8342  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8343  # as well as any symbol that contains `d'.
8344  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8345  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8346  # platforms (ab)use it in PIC code, but their linkers get confused if
8347  # the symbol is explicitly referenced.  Since portable code cannot
8348  # rely on this symbol name, it's probably fine to never include it in
8349  # preloaded symbol tables.
8350  # Exclude shared library initialization/finalization symbols.
8351  extract_expsyms_cmds=
8352
8353  case $host_os in
8354  cygwin* | mingw* | pw32* | cegcc*)
8355    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8356    # When not using gcc, we currently assume that we are using
8357    # Microsoft Visual C++.
8358    if test "$GCC" != yes; then
8359      with_gnu_ld=no
8360    fi
8361    ;;
8362  interix*)
8363    # we just hope/assume this is gcc and not c89 (= MSVC++)
8364    with_gnu_ld=yes
8365    ;;
8366  openbsd*)
8367    with_gnu_ld=no
8368    ;;
8369  esac
8370
8371  ld_shlibs=yes
8372
8373  # On some targets, GNU ld is compatible enough with the native linker
8374  # that we're better off using the native interface for both.
8375  lt_use_gnu_ld_interface=no
8376  if test "$with_gnu_ld" = yes; then
8377    case $host_os in
8378      aix*)
8379	# The AIX port of GNU ld has always aspired to compatibility
8380	# with the native linker.  However, as the warning in the GNU ld
8381	# block says, versions before 2.19.5* couldn't really create working
8382	# shared libraries, regardless of the interface used.
8383	case `$LD -v 2>&1` in
8384	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8385	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8386	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8387	  *)
8388	    lt_use_gnu_ld_interface=yes
8389	    ;;
8390	esac
8391	;;
8392      *)
8393	lt_use_gnu_ld_interface=yes
8394	;;
8395    esac
8396  fi
8397
8398  if test "$lt_use_gnu_ld_interface" = yes; then
8399    # If archive_cmds runs LD, not CC, wlarc should be empty
8400    wlarc='${wl}'
8401
8402    # Set some defaults for GNU ld with shared library support. These
8403    # are reset later if shared libraries are not supported. Putting them
8404    # here allows them to be overridden if necessary.
8405    runpath_var=LD_RUN_PATH
8406    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8407    export_dynamic_flag_spec='${wl}--export-dynamic'
8408    # ancient GNU ld didn't support --whole-archive et. al.
8409    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8410      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8411    else
8412      whole_archive_flag_spec=
8413    fi
8414    supports_anon_versioning=no
8415    case `$LD -v 2>&1` in
8416      *GNU\ gold*) supports_anon_versioning=yes ;;
8417      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8418      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8419      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8420      *\ 2.11.*) ;; # other 2.11 versions
8421      *) supports_anon_versioning=yes ;;
8422    esac
8423
8424    # See if GNU ld supports shared libraries.
8425    case $host_os in
8426    aix[3-9]*)
8427      # On AIX/PPC, the GNU linker is very broken
8428      if test "$host_cpu" != ia64; then
8429	ld_shlibs=no
8430	cat <<_LT_EOF 1>&2
8431
8432*** Warning: the GNU linker, at least up to release 2.19, is reported
8433*** to be unable to reliably create shared libraries on AIX.
8434*** Therefore, libtool is disabling shared libraries support.  If you
8435*** really care for shared libraries, you may want to install binutils
8436*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8437*** You will then need to restart the configuration process.
8438
8439_LT_EOF
8440      fi
8441      ;;
8442
8443    amigaos*)
8444      case $host_cpu in
8445      powerpc)
8446            # see comment about AmigaOS4 .so support
8447            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8448            archive_expsym_cmds=''
8449        ;;
8450      m68k)
8451            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)'
8452            hardcode_libdir_flag_spec='-L$libdir'
8453            hardcode_minus_L=yes
8454        ;;
8455      esac
8456      ;;
8457
8458    beos*)
8459      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8460	allow_undefined_flag=unsupported
8461	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8462	# support --undefined.  This deserves some investigation.  FIXME
8463	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8464      else
8465	ld_shlibs=no
8466      fi
8467      ;;
8468
8469    cygwin* | mingw* | pw32* | cegcc*)
8470      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8471      # as there is no search path for DLLs.
8472      hardcode_libdir_flag_spec='-L$libdir'
8473      export_dynamic_flag_spec='${wl}--export-all-symbols'
8474      allow_undefined_flag=unsupported
8475      always_export_symbols=no
8476      enable_shared_with_static_runtimes=yes
8477      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8478
8479      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8480        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8481	# If the export-symbols file already is a .def file (1st line
8482	# is EXPORTS), use it as is; otherwise, prepend...
8483	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8484	  cp $export_symbols $output_objdir/$soname.def;
8485	else
8486	  echo EXPORTS > $output_objdir/$soname.def;
8487	  cat $export_symbols >> $output_objdir/$soname.def;
8488	fi~
8489	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8490      else
8491	ld_shlibs=no
8492      fi
8493      ;;
8494
8495    haiku*)
8496      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8497      link_all_deplibs=yes
8498      ;;
8499
8500    interix[3-9]*)
8501      hardcode_direct=no
8502      hardcode_shlibpath_var=no
8503      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8504      export_dynamic_flag_spec='${wl}-E'
8505      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8506      # Instead, shared libraries are loaded at an image base (0x10000000 by
8507      # default) and relocated if they conflict, which is a slow very memory
8508      # consuming and fragmenting process.  To avoid this, we pick a random,
8509      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8510      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8511      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8512      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'
8513      ;;
8514
8515    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8516      tmp_diet=no
8517      if test "$host_os" = linux-dietlibc; then
8518	case $cc_basename in
8519	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8520	esac
8521      fi
8522      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8523	 && test "$tmp_diet" = no
8524      then
8525	tmp_addflag=' $pic_flag'
8526	tmp_sharedflag='-shared'
8527	case $cc_basename,$host_cpu in
8528        pgcc*)				# Portland Group C compiler
8529	  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'
8530	  tmp_addflag=' $pic_flag'
8531	  ;;
8532	pgf77* | pgf90* | pgf95* | pgfortran*)
8533					# Portland Group f77 and f90 compilers
8534	  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'
8535	  tmp_addflag=' $pic_flag -Mnomain' ;;
8536	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8537	  tmp_addflag=' -i_dynamic' ;;
8538	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8539	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8540	ifc* | ifort*)			# Intel Fortran compiler
8541	  tmp_addflag=' -nofor_main' ;;
8542	lf95*)				# Lahey Fortran 8.1
8543	  whole_archive_flag_spec=
8544	  tmp_sharedflag='--shared' ;;
8545	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8546	  tmp_sharedflag='-qmkshrobj'
8547	  tmp_addflag= ;;
8548	nvcc*)	# Cuda Compiler Driver 2.2
8549	  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'
8550	  compiler_needs_object=yes
8551	  ;;
8552	esac
8553	case `$CC -V 2>&1 | sed 5q` in
8554	*Sun\ C*)			# Sun C 5.9
8555	  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'
8556	  compiler_needs_object=yes
8557	  tmp_sharedflag='-G' ;;
8558	*Sun\ F*)			# Sun Fortran 8.3
8559	  tmp_sharedflag='-G' ;;
8560	esac
8561	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8562
8563        if test "x$supports_anon_versioning" = xyes; then
8564          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8565	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8566	    echo "local: *; };" >> $output_objdir/$libname.ver~
8567	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8568        fi
8569
8570	case $cc_basename in
8571	xlf* | bgf* | bgxlf* | mpixlf*)
8572	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8573	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8574	  hardcode_libdir_flag_spec=
8575	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
8576	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8577	  if test "x$supports_anon_versioning" = xyes; then
8578	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8579	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8580	      echo "local: *; };" >> $output_objdir/$libname.ver~
8581	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8582	  fi
8583	  ;;
8584	esac
8585      else
8586        ld_shlibs=no
8587      fi
8588      ;;
8589
8590    netbsd*)
8591      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8592	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8593	wlarc=
8594      else
8595	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8596	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8597      fi
8598      ;;
8599
8600    solaris*)
8601      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8602	ld_shlibs=no
8603	cat <<_LT_EOF 1>&2
8604
8605*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8606*** create shared libraries on Solaris systems.  Therefore, libtool
8607*** is disabling shared libraries support.  We urge you to upgrade GNU
8608*** binutils to release 2.9.1 or newer.  Another option is to modify
8609*** your PATH or compiler configuration so that the native linker is
8610*** used, and then restart.
8611
8612_LT_EOF
8613      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8614	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8615	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8616      else
8617	ld_shlibs=no
8618      fi
8619      ;;
8620
8621    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8622      case `$LD -v 2>&1` in
8623        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8624	ld_shlibs=no
8625	cat <<_LT_EOF 1>&2
8626
8627*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8628*** reliably create shared libraries on SCO systems.  Therefore, libtool
8629*** is disabling shared libraries support.  We urge you to upgrade GNU
8630*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8631*** your PATH or compiler configuration so that the native linker is
8632*** used, and then restart.
8633
8634_LT_EOF
8635	;;
8636	*)
8637	  # For security reasons, it is highly recommended that you always
8638	  # use absolute paths for naming shared libraries, and exclude the
8639	  # DT_RUNPATH tag from executables and libraries.  But doing so
8640	  # requires that you compile everything twice, which is a pain.
8641	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8642	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8643	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8644	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8645	  else
8646	    ld_shlibs=no
8647	  fi
8648	;;
8649      esac
8650      ;;
8651
8652    sunos4*)
8653      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8654      wlarc=
8655      hardcode_direct=yes
8656      hardcode_shlibpath_var=no
8657      ;;
8658
8659    *)
8660      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8661	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8662	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8663      else
8664	ld_shlibs=no
8665      fi
8666      ;;
8667    esac
8668
8669    if test "$ld_shlibs" = no; then
8670      runpath_var=
8671      hardcode_libdir_flag_spec=
8672      export_dynamic_flag_spec=
8673      whole_archive_flag_spec=
8674    fi
8675  else
8676    # PORTME fill in a description of your system's linker (not GNU ld)
8677    case $host_os in
8678    aix3*)
8679      allow_undefined_flag=unsupported
8680      always_export_symbols=yes
8681      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'
8682      # Note: this linker hardcodes the directories in LIBPATH if there
8683      # are no directories specified by -L.
8684      hardcode_minus_L=yes
8685      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8686	# Neither direct hardcoding nor static linking is supported with a
8687	# broken collect2.
8688	hardcode_direct=unsupported
8689      fi
8690      ;;
8691
8692    aix[4-9]*)
8693      if test "$host_cpu" = ia64; then
8694	# On IA64, the linker does run time linking by default, so we don't
8695	# have to do anything special.
8696	aix_use_runtimelinking=no
8697	exp_sym_flag='-Bexport'
8698	no_entry_flag=""
8699      else
8700	# If we're using GNU nm, then we don't want the "-C" option.
8701	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8702	# Also, AIX nm treats weak defined symbols like other global
8703	# defined symbols, whereas GNU nm marks them as "W".
8704	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8705	  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'
8706	else
8707	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8708	fi
8709	aix_use_runtimelinking=no
8710
8711	# Test if we are trying to use run time linking or normal
8712	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8713	# need to do runtime linking.
8714	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8715	  for ld_flag in $LDFLAGS; do
8716	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8717	    aix_use_runtimelinking=yes
8718	    break
8719	  fi
8720	  done
8721	  ;;
8722	esac
8723
8724	exp_sym_flag='-bexport'
8725	no_entry_flag='-bnoentry'
8726      fi
8727
8728      # When large executables or shared objects are built, AIX ld can
8729      # have problems creating the table of contents.  If linking a library
8730      # or program results in "error TOC overflow" add -mminimal-toc to
8731      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8732      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8733
8734      archive_cmds=''
8735      hardcode_direct=yes
8736      hardcode_direct_absolute=yes
8737      hardcode_libdir_separator=':'
8738      link_all_deplibs=yes
8739      file_list_spec='${wl}-f,'
8740
8741      if test "$GCC" = yes; then
8742	case $host_os in aix4.[012]|aix4.[012].*)
8743	# We only want to do this on AIX 4.2 and lower, the check
8744	# below for broken collect2 doesn't work under 4.3+
8745	  collect2name=`${CC} -print-prog-name=collect2`
8746	  if test -f "$collect2name" &&
8747	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8748	  then
8749	  # We have reworked collect2
8750	  :
8751	  else
8752	  # We have old collect2
8753	  hardcode_direct=unsupported
8754	  # It fails to find uninstalled libraries when the uninstalled
8755	  # path is not listed in the libpath.  Setting hardcode_minus_L
8756	  # to unsupported forces relinking
8757	  hardcode_minus_L=yes
8758	  hardcode_libdir_flag_spec='-L$libdir'
8759	  hardcode_libdir_separator=
8760	  fi
8761	  ;;
8762	esac
8763	shared_flag='-shared'
8764	if test "$aix_use_runtimelinking" = yes; then
8765	  shared_flag="$shared_flag "'${wl}-G'
8766	fi
8767      else
8768	# not using gcc
8769	if test "$host_cpu" = ia64; then
8770	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8771	# chokes on -Wl,-G. The following line is correct:
8772	  shared_flag='-G'
8773	else
8774	  if test "$aix_use_runtimelinking" = yes; then
8775	    shared_flag='${wl}-G'
8776	  else
8777	    shared_flag='${wl}-bM:SRE'
8778	  fi
8779	fi
8780      fi
8781
8782      export_dynamic_flag_spec='${wl}-bexpall'
8783      # It seems that -bexpall does not export symbols beginning with
8784      # underscore (_), so it is better to generate a list of symbols to export.
8785      always_export_symbols=yes
8786      if test "$aix_use_runtimelinking" = yes; then
8787	# Warning - without using the other runtime loading flags (-brtl),
8788	# -berok will link without error, but may produce a broken library.
8789	allow_undefined_flag='-berok'
8790        # Determine the default libpath from the value encoded in an
8791        # empty executable.
8792        if test x$gcc_no_link = xyes; then
8793  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8794fi
8795cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8796/* end confdefs.h.  */
8797
8798int
8799main ()
8800{
8801
8802  ;
8803  return 0;
8804}
8805_ACEOF
8806if ac_fn_c_try_link "$LINENO"; then :
8807
8808lt_aix_libpath_sed='
8809    /Import File Strings/,/^$/ {
8810	/^0/ {
8811	    s/^0  *\(.*\)$/\1/
8812	    p
8813	}
8814    }'
8815aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8816# Check for a 64-bit object if we didn't find anything.
8817if test -z "$aix_libpath"; then
8818  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8819fi
8820fi
8821rm -f core conftest.err conftest.$ac_objext \
8822    conftest$ac_exeext conftest.$ac_ext
8823if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8824
8825        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8826        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"
8827      else
8828	if test "$host_cpu" = ia64; then
8829	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8830	  allow_undefined_flag="-z nodefs"
8831	  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"
8832	else
8833	 # Determine the default libpath from the value encoded in an
8834	 # empty executable.
8835	 if test x$gcc_no_link = xyes; then
8836  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8837fi
8838cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8839/* end confdefs.h.  */
8840
8841int
8842main ()
8843{
8844
8845  ;
8846  return 0;
8847}
8848_ACEOF
8849if ac_fn_c_try_link "$LINENO"; then :
8850
8851lt_aix_libpath_sed='
8852    /Import File Strings/,/^$/ {
8853	/^0/ {
8854	    s/^0  *\(.*\)$/\1/
8855	    p
8856	}
8857    }'
8858aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8859# Check for a 64-bit object if we didn't find anything.
8860if test -z "$aix_libpath"; then
8861  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8862fi
8863fi
8864rm -f core conftest.err conftest.$ac_objext \
8865    conftest$ac_exeext conftest.$ac_ext
8866if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8867
8868	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8869	  # Warning - without using the other run time loading flags,
8870	  # -berok will link without error, but may produce a broken library.
8871	  no_undefined_flag=' ${wl}-bernotok'
8872	  allow_undefined_flag=' ${wl}-berok'
8873	  if test "$with_gnu_ld" = yes; then
8874	    # We only use this code for GNU lds that support --whole-archive.
8875	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8876	  else
8877	    # Exported symbols can be pulled into shared objects from archives
8878	    whole_archive_flag_spec='$convenience'
8879	  fi
8880	  archive_cmds_need_lc=yes
8881	  # This is similar to how AIX traditionally builds its shared libraries.
8882	  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'
8883	fi
8884      fi
8885      ;;
8886
8887    amigaos*)
8888      case $host_cpu in
8889      powerpc)
8890            # see comment about AmigaOS4 .so support
8891            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8892            archive_expsym_cmds=''
8893        ;;
8894      m68k)
8895            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)'
8896            hardcode_libdir_flag_spec='-L$libdir'
8897            hardcode_minus_L=yes
8898        ;;
8899      esac
8900      ;;
8901
8902    bsdi[45]*)
8903      export_dynamic_flag_spec=-rdynamic
8904      ;;
8905
8906    cygwin* | mingw* | pw32* | cegcc*)
8907      # When not using gcc, we currently assume that we are using
8908      # Microsoft Visual C++.
8909      # hardcode_libdir_flag_spec is actually meaningless, as there is
8910      # no search path for DLLs.
8911      hardcode_libdir_flag_spec=' '
8912      allow_undefined_flag=unsupported
8913      # Tell ltmain to make .lib files, not .a files.
8914      libext=lib
8915      # Tell ltmain to make .dll files, not .so files.
8916      shrext_cmds=".dll"
8917      # FIXME: Setting linknames here is a bad hack.
8918      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8919      # The linker will automatically build a .lib file if we build a DLL.
8920      old_archive_from_new_cmds='true'
8921      # FIXME: Should let the user specify the lib program.
8922      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8923      fix_srcfile_path='`cygpath -w "$srcfile"`'
8924      enable_shared_with_static_runtimes=yes
8925      ;;
8926
8927    darwin* | rhapsody*)
8928
8929
8930  archive_cmds_need_lc=no
8931  hardcode_direct=no
8932  hardcode_automatic=yes
8933  hardcode_shlibpath_var=unsupported
8934  if test "$lt_cv_ld_force_load" = "yes"; then
8935    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\"`'
8936  else
8937    whole_archive_flag_spec=''
8938  fi
8939  link_all_deplibs=yes
8940  allow_undefined_flag="$_lt_dar_allow_undefined"
8941  case $cc_basename in
8942     ifort*) _lt_dar_can_shared=yes ;;
8943     *) _lt_dar_can_shared=$GCC ;;
8944  esac
8945  if test "$_lt_dar_can_shared" = "yes"; then
8946    output_verbose_link_cmd=func_echo_all
8947    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8948    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8949    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}"
8950    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}"
8951
8952  else
8953  ld_shlibs=no
8954  fi
8955
8956      ;;
8957
8958    dgux*)
8959      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8960      hardcode_libdir_flag_spec='-L$libdir'
8961      hardcode_shlibpath_var=no
8962      ;;
8963
8964    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8965    # support.  Future versions do this automatically, but an explicit c++rt0.o
8966    # does not break anything, and helps significantly (at the cost of a little
8967    # extra space).
8968    freebsd2.2*)
8969      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8970      hardcode_libdir_flag_spec='-R$libdir'
8971      hardcode_direct=yes
8972      hardcode_shlibpath_var=no
8973      ;;
8974
8975    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8976    freebsd2.*)
8977      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8978      hardcode_direct=yes
8979      hardcode_minus_L=yes
8980      hardcode_shlibpath_var=no
8981      ;;
8982
8983    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8984    freebsd* | dragonfly*)
8985      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8986      hardcode_libdir_flag_spec='-R$libdir'
8987      hardcode_direct=yes
8988      hardcode_shlibpath_var=no
8989      ;;
8990
8991    hpux9*)
8992      if test "$GCC" = yes; then
8993	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8994      else
8995	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'
8996      fi
8997      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8998      hardcode_libdir_separator=:
8999      hardcode_direct=yes
9000
9001      # hardcode_minus_L: Not really in the search PATH,
9002      # but as the default location of the library.
9003      hardcode_minus_L=yes
9004      export_dynamic_flag_spec='${wl}-E'
9005      ;;
9006
9007    hpux10*)
9008      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9009	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9010      else
9011	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9012      fi
9013      if test "$with_gnu_ld" = no; then
9014	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9015	hardcode_libdir_flag_spec_ld='+b $libdir'
9016	hardcode_libdir_separator=:
9017	hardcode_direct=yes
9018	hardcode_direct_absolute=yes
9019	export_dynamic_flag_spec='${wl}-E'
9020	# hardcode_minus_L: Not really in the search PATH,
9021	# but as the default location of the library.
9022	hardcode_minus_L=yes
9023      fi
9024      ;;
9025
9026    hpux11*)
9027      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9028	case $host_cpu in
9029	hppa*64*)
9030	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9031	  ;;
9032	ia64*)
9033	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9034	  ;;
9035	*)
9036	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9037	  ;;
9038	esac
9039      else
9040	case $host_cpu in
9041	hppa*64*)
9042	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9043	  ;;
9044	ia64*)
9045	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9046	  ;;
9047	*)
9048
9049	  # Older versions of the 11.00 compiler do not understand -b yet
9050	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9051	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9052$as_echo_n "checking if $CC understands -b... " >&6; }
9053if test "${lt_cv_prog_compiler__b+set}" = set; then :
9054  $as_echo_n "(cached) " >&6
9055else
9056  lt_cv_prog_compiler__b=no
9057   save_LDFLAGS="$LDFLAGS"
9058   LDFLAGS="$LDFLAGS -b"
9059   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9060   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9061     # The linker can only warn and ignore the option if not recognized
9062     # So say no if there are warnings
9063     if test -s conftest.err; then
9064       # Append any errors to the config.log.
9065       cat conftest.err 1>&5
9066       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9067       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9068       if diff conftest.exp conftest.er2 >/dev/null; then
9069         lt_cv_prog_compiler__b=yes
9070       fi
9071     else
9072       lt_cv_prog_compiler__b=yes
9073     fi
9074   fi
9075   $RM -r conftest*
9076   LDFLAGS="$save_LDFLAGS"
9077
9078fi
9079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9080$as_echo "$lt_cv_prog_compiler__b" >&6; }
9081
9082if test x"$lt_cv_prog_compiler__b" = xyes; then
9083    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9084else
9085    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9086fi
9087
9088	  ;;
9089	esac
9090      fi
9091      if test "$with_gnu_ld" = no; then
9092	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9093	hardcode_libdir_separator=:
9094
9095	case $host_cpu in
9096	hppa*64*|ia64*)
9097	  hardcode_direct=no
9098	  hardcode_shlibpath_var=no
9099	  ;;
9100	*)
9101	  hardcode_direct=yes
9102	  hardcode_direct_absolute=yes
9103	  export_dynamic_flag_spec='${wl}-E'
9104
9105	  # hardcode_minus_L: Not really in the search PATH,
9106	  # but as the default location of the library.
9107	  hardcode_minus_L=yes
9108	  ;;
9109	esac
9110      fi
9111      ;;
9112
9113    irix5* | irix6* | nonstopux*)
9114      if test "$GCC" = yes; then
9115	archive_cmds='$CC -shared $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'
9116	# Try to use the -exported_symbol ld option, if it does not
9117	# work, assume that -exports_file does not work either and
9118	# implicitly export all symbols.
9119        save_LDFLAGS="$LDFLAGS"
9120        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9121        if test x$gcc_no_link = xyes; then
9122  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9123fi
9124cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9125/* end confdefs.h.  */
9126int foo(void) {}
9127_ACEOF
9128if ac_fn_c_try_link "$LINENO"; then :
9129  archive_expsym_cmds='$CC -shared $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'
9130
9131fi
9132rm -f core conftest.err conftest.$ac_objext \
9133    conftest$ac_exeext conftest.$ac_ext
9134        LDFLAGS="$save_LDFLAGS"
9135      else
9136	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'
9137	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'
9138      fi
9139      archive_cmds_need_lc='no'
9140      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9141      hardcode_libdir_separator=:
9142      inherit_rpath=yes
9143      link_all_deplibs=yes
9144      ;;
9145
9146    netbsd*)
9147      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9148	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9149      else
9150	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9151      fi
9152      hardcode_libdir_flag_spec='-R$libdir'
9153      hardcode_direct=yes
9154      hardcode_shlibpath_var=no
9155      ;;
9156
9157    newsos6)
9158      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9159      hardcode_direct=yes
9160      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161      hardcode_libdir_separator=:
9162      hardcode_shlibpath_var=no
9163      ;;
9164
9165    *nto* | *qnx*)
9166      ;;
9167
9168    openbsd*)
9169      if test -f /usr/libexec/ld.so; then
9170	hardcode_direct=yes
9171	hardcode_shlibpath_var=no
9172	hardcode_direct_absolute=yes
9173	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9174	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9175	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9176	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9177	  export_dynamic_flag_spec='${wl}-E'
9178	else
9179	  case $host_os in
9180	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9181	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9182	     hardcode_libdir_flag_spec='-R$libdir'
9183	     ;;
9184	   *)
9185	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9186	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9187	     ;;
9188	  esac
9189	fi
9190      else
9191	ld_shlibs=no
9192      fi
9193      ;;
9194
9195    os2*)
9196      hardcode_libdir_flag_spec='-L$libdir'
9197      hardcode_minus_L=yes
9198      allow_undefined_flag=unsupported
9199      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'
9200      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9201      ;;
9202
9203    osf3*)
9204      if test "$GCC" = yes; then
9205	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9206	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'
9207      else
9208	allow_undefined_flag=' -expect_unresolved \*'
9209	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'
9210      fi
9211      archive_cmds_need_lc='no'
9212      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9213      hardcode_libdir_separator=:
9214      ;;
9215
9216    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9217      if test "$GCC" = yes; then
9218	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9219	archive_cmds='$CC -shared${allow_undefined_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'
9220	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9221      else
9222	allow_undefined_flag=' -expect_unresolved \*'
9223	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'
9224	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~
9225	$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'
9226
9227	# Both c and cxx compiler support -rpath directly
9228	hardcode_libdir_flag_spec='-rpath $libdir'
9229      fi
9230      archive_cmds_need_lc='no'
9231      hardcode_libdir_separator=:
9232      ;;
9233
9234    solaris*)
9235      no_undefined_flag=' -z defs'
9236      if test "$GCC" = yes; then
9237	wlarc='${wl}'
9238	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9239	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9240	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9241      else
9242	case `$CC -V 2>&1` in
9243	*"Compilers 5.0"*)
9244	  wlarc=''
9245	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9246	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9247	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9248	  ;;
9249	*)
9250	  wlarc='${wl}'
9251	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9252	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9253	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9254	  ;;
9255	esac
9256      fi
9257      hardcode_libdir_flag_spec='-R$libdir'
9258      hardcode_shlibpath_var=no
9259      case $host_os in
9260      solaris2.[0-5] | solaris2.[0-5].*) ;;
9261      *)
9262	# The compiler driver will combine and reorder linker options,
9263	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9264	# but is careful enough not to reorder.
9265	# Supported since Solaris 2.6 (maybe 2.5.1?)
9266	if test "$GCC" = yes; then
9267	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9268	else
9269	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9270	fi
9271	;;
9272      esac
9273      link_all_deplibs=yes
9274      ;;
9275
9276    sunos4*)
9277      if test "x$host_vendor" = xsequent; then
9278	# Use $CC to link under sequent, because it throws in some extra .o
9279	# files that make .init and .fini sections work.
9280	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9281      else
9282	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9283      fi
9284      hardcode_libdir_flag_spec='-L$libdir'
9285      hardcode_direct=yes
9286      hardcode_minus_L=yes
9287      hardcode_shlibpath_var=no
9288      ;;
9289
9290    sysv4)
9291      case $host_vendor in
9292	sni)
9293	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9294	  hardcode_direct=yes # is this really true???
9295	;;
9296	siemens)
9297	  ## LD is ld it makes a PLAMLIB
9298	  ## CC just makes a GrossModule.
9299	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9300	  reload_cmds='$CC -r -o $output$reload_objs'
9301	  hardcode_direct=no
9302        ;;
9303	motorola)
9304	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9305	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9306	;;
9307      esac
9308      runpath_var='LD_RUN_PATH'
9309      hardcode_shlibpath_var=no
9310      ;;
9311
9312    sysv4.3*)
9313      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9314      hardcode_shlibpath_var=no
9315      export_dynamic_flag_spec='-Bexport'
9316      ;;
9317
9318    sysv4*MP*)
9319      if test -d /usr/nec; then
9320	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9321	hardcode_shlibpath_var=no
9322	runpath_var=LD_RUN_PATH
9323	hardcode_runpath_var=yes
9324	ld_shlibs=yes
9325      fi
9326      ;;
9327
9328    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9329      no_undefined_flag='${wl}-z,text'
9330      archive_cmds_need_lc=no
9331      hardcode_shlibpath_var=no
9332      runpath_var='LD_RUN_PATH'
9333
9334      if test "$GCC" = yes; then
9335	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9336	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9337      else
9338	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9339	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9340      fi
9341      ;;
9342
9343    sysv5* | sco3.2v5* | sco5v6*)
9344      # Note: We can NOT use -z defs as we might desire, because we do not
9345      # link with -lc, and that would cause any symbols used from libc to
9346      # always be unresolved, which means just about no library would
9347      # ever link correctly.  If we're not using GNU ld we use -z text
9348      # though, which does catch some bad symbols but isn't as heavy-handed
9349      # as -z defs.
9350      no_undefined_flag='${wl}-z,text'
9351      allow_undefined_flag='${wl}-z,nodefs'
9352      archive_cmds_need_lc=no
9353      hardcode_shlibpath_var=no
9354      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9355      hardcode_libdir_separator=':'
9356      link_all_deplibs=yes
9357      export_dynamic_flag_spec='${wl}-Bexport'
9358      runpath_var='LD_RUN_PATH'
9359
9360      if test "$GCC" = yes; then
9361	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9362	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9363      else
9364	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9365	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9366      fi
9367      ;;
9368
9369    uts4*)
9370      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9371      hardcode_libdir_flag_spec='-L$libdir'
9372      hardcode_shlibpath_var=no
9373      ;;
9374
9375    *)
9376      ld_shlibs=no
9377      ;;
9378    esac
9379
9380    if test x$host_vendor = xsni; then
9381      case $host in
9382      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9383	export_dynamic_flag_spec='${wl}-Blargedynsym'
9384	;;
9385      esac
9386    fi
9387  fi
9388
9389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9390$as_echo "$ld_shlibs" >&6; }
9391test "$ld_shlibs" = no && can_build_shared=no
9392
9393with_gnu_ld=$with_gnu_ld
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409#
9410# Do we need to explicitly link libc?
9411#
9412case "x$archive_cmds_need_lc" in
9413x|xyes)
9414  # Assume -lc should be added
9415  archive_cmds_need_lc=yes
9416
9417  if test "$enable_shared" = yes && test "$GCC" = yes; then
9418    case $archive_cmds in
9419    *'~'*)
9420      # FIXME: we may have to deal with multi-command sequences.
9421      ;;
9422    '$CC '*)
9423      # Test whether the compiler implicitly links with -lc since on some
9424      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9425      # to ld, don't add -lc before -lgcc.
9426      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9427$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9428if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9429  $as_echo_n "(cached) " >&6
9430else
9431  $RM conftest*
9432	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9433
9434	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9435  (eval $ac_compile) 2>&5
9436  ac_status=$?
9437  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9438  test $ac_status = 0; } 2>conftest.err; then
9439	  soname=conftest
9440	  lib=conftest
9441	  libobjs=conftest.$ac_objext
9442	  deplibs=
9443	  wl=$lt_prog_compiler_wl
9444	  pic_flag=$lt_prog_compiler_pic
9445	  compiler_flags=-v
9446	  linker_flags=-v
9447	  verstring=
9448	  output_objdir=.
9449	  libname=conftest
9450	  lt_save_allow_undefined_flag=$allow_undefined_flag
9451	  allow_undefined_flag=
9452	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9453  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9454  ac_status=$?
9455  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9456  test $ac_status = 0; }
9457	  then
9458	    lt_cv_archive_cmds_need_lc=no
9459	  else
9460	    lt_cv_archive_cmds_need_lc=yes
9461	  fi
9462	  allow_undefined_flag=$lt_save_allow_undefined_flag
9463	else
9464	  cat conftest.err 1>&5
9465	fi
9466	$RM conftest*
9467
9468fi
9469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9470$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9471      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9472      ;;
9473    esac
9474  fi
9475  ;;
9476esac
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9635$as_echo_n "checking dynamic linker characteristics... " >&6; }
9636
9637if test "$GCC" = yes; then
9638  case $host_os in
9639    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9640    *) lt_awk_arg="/^libraries:/" ;;
9641  esac
9642  case $host_os in
9643    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9644    *) lt_sed_strip_eq="s,=/,/,g" ;;
9645  esac
9646  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9647  case $lt_search_path_spec in
9648  *\;*)
9649    # if the path contains ";" then we assume it to be the separator
9650    # otherwise default to the standard path separator (i.e. ":") - it is
9651    # assumed that no part of a normal pathname contains ";" but that should
9652    # okay in the real world where ";" in dirpaths is itself problematic.
9653    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9654    ;;
9655  *)
9656    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9657    ;;
9658  esac
9659  # Ok, now we have the path, separated by spaces, we can step through it
9660  # and add multilib dir if necessary.
9661  lt_tmp_lt_search_path_spec=
9662  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9663  for lt_sys_path in $lt_search_path_spec; do
9664    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9665      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9666    else
9667      test -d "$lt_sys_path" && \
9668	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9669    fi
9670  done
9671  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9672BEGIN {RS=" "; FS="/|\n";} {
9673  lt_foo="";
9674  lt_count=0;
9675  for (lt_i = NF; lt_i > 0; lt_i--) {
9676    if ($lt_i != "" && $lt_i != ".") {
9677      if ($lt_i == "..") {
9678        lt_count++;
9679      } else {
9680        if (lt_count == 0) {
9681          lt_foo="/" $lt_i lt_foo;
9682        } else {
9683          lt_count--;
9684        }
9685      }
9686    }
9687  }
9688  if (lt_foo != "") { lt_freq[lt_foo]++; }
9689  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9690}'`
9691  # AWK program above erroneously prepends '/' to C:/dos/paths
9692  # for these hosts.
9693  case $host_os in
9694    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9695      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9696  esac
9697  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9698else
9699  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9700fi
9701library_names_spec=
9702libname_spec='lib$name'
9703soname_spec=
9704shrext_cmds=".so"
9705postinstall_cmds=
9706postuninstall_cmds=
9707finish_cmds=
9708finish_eval=
9709shlibpath_var=
9710shlibpath_overrides_runpath=unknown
9711version_type=none
9712dynamic_linker="$host_os ld.so"
9713sys_lib_dlsearch_path_spec="/lib /usr/lib"
9714need_lib_prefix=unknown
9715hardcode_into_libs=no
9716
9717# when you set need_version to no, make sure it does not cause -set_version
9718# flags to be left without arguments
9719need_version=unknown
9720
9721case $host_os in
9722aix3*)
9723  version_type=linux
9724  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9725  shlibpath_var=LIBPATH
9726
9727  # AIX 3 has no versioning support, so we append a major version to the name.
9728  soname_spec='${libname}${release}${shared_ext}$major'
9729  ;;
9730
9731aix[4-9]*)
9732  version_type=linux
9733  need_lib_prefix=no
9734  need_version=no
9735  hardcode_into_libs=yes
9736  if test "$host_cpu" = ia64; then
9737    # AIX 5 supports IA64
9738    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9739    shlibpath_var=LD_LIBRARY_PATH
9740  else
9741    # With GCC up to 2.95.x, collect2 would create an import file
9742    # for dependence libraries.  The import file would start with
9743    # the line `#! .'.  This would cause the generated library to
9744    # depend on `.', always an invalid library.  This was fixed in
9745    # development snapshots of GCC prior to 3.0.
9746    case $host_os in
9747      aix4 | aix4.[01] | aix4.[01].*)
9748      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9749	   echo ' yes '
9750	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9751	:
9752      else
9753	can_build_shared=no
9754      fi
9755      ;;
9756    esac
9757    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9758    # soname into executable. Probably we can add versioning support to
9759    # collect2, so additional links can be useful in future.
9760    if test "$aix_use_runtimelinking" = yes; then
9761      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9762      # instead of lib<name>.a to let people know that these are not
9763      # typical AIX shared libraries.
9764      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9765    else
9766      # We preserve .a as extension for shared libraries through AIX4.2
9767      # and later when we are not doing run time linking.
9768      library_names_spec='${libname}${release}.a $libname.a'
9769      soname_spec='${libname}${release}${shared_ext}$major'
9770    fi
9771    shlibpath_var=LIBPATH
9772  fi
9773  ;;
9774
9775amigaos*)
9776  case $host_cpu in
9777  powerpc)
9778    # Since July 2007 AmigaOS4 officially supports .so libraries.
9779    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9780    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9781    ;;
9782  m68k)
9783    library_names_spec='$libname.ixlibrary $libname.a'
9784    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9785    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'
9786    ;;
9787  esac
9788  ;;
9789
9790beos*)
9791  library_names_spec='${libname}${shared_ext}'
9792  dynamic_linker="$host_os ld.so"
9793  shlibpath_var=LIBRARY_PATH
9794  ;;
9795
9796bsdi[45]*)
9797  version_type=linux
9798  need_version=no
9799  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9800  soname_spec='${libname}${release}${shared_ext}$major'
9801  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9802  shlibpath_var=LD_LIBRARY_PATH
9803  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9804  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9805  # the default ld.so.conf also contains /usr/contrib/lib and
9806  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9807  # libtool to hard-code these into programs
9808  ;;
9809
9810cygwin* | mingw* | pw32* | cegcc*)
9811  version_type=windows
9812  shrext_cmds=".dll"
9813  need_version=no
9814  need_lib_prefix=no
9815
9816  case $GCC,$host_os in
9817  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9818    library_names_spec='$libname.dll.a'
9819    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9820    postinstall_cmds='base_file=`basename \${file}`~
9821      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9822      dldir=$destdir/`dirname \$dlpath`~
9823      test -d \$dldir || mkdir -p \$dldir~
9824      $install_prog $dir/$dlname \$dldir/$dlname~
9825      chmod a+x \$dldir/$dlname~
9826      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9827        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9828      fi'
9829    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9830      dlpath=$dir/\$dldll~
9831       $RM \$dlpath'
9832    shlibpath_overrides_runpath=yes
9833
9834    case $host_os in
9835    cygwin*)
9836      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9837      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9838
9839      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9840      ;;
9841    mingw* | cegcc*)
9842      # MinGW DLLs use traditional 'lib' prefix
9843      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9844      ;;
9845    pw32*)
9846      # pw32 DLLs use 'pw' prefix rather than 'lib'
9847      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9848      ;;
9849    esac
9850    ;;
9851
9852  *)
9853    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9854    ;;
9855  esac
9856  dynamic_linker='Win32 ld.exe'
9857  # FIXME: first we should search . and the directory the executable is in
9858  shlibpath_var=PATH
9859  ;;
9860
9861darwin* | rhapsody*)
9862  dynamic_linker="$host_os dyld"
9863  version_type=darwin
9864  need_lib_prefix=no
9865  need_version=no
9866  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9867  soname_spec='${libname}${release}${major}$shared_ext'
9868  shlibpath_overrides_runpath=yes
9869  shlibpath_var=DYLD_LIBRARY_PATH
9870  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9871
9872  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9873  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9874  ;;
9875
9876dgux*)
9877  version_type=linux
9878  need_lib_prefix=no
9879  need_version=no
9880  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9881  soname_spec='${libname}${release}${shared_ext}$major'
9882  shlibpath_var=LD_LIBRARY_PATH
9883  ;;
9884
9885freebsd* | dragonfly*)
9886  # DragonFly does not have aout.  When/if they implement a new
9887  # versioning mechanism, adjust this.
9888  if test -x /usr/bin/objformat; then
9889    objformat=`/usr/bin/objformat`
9890  else
9891    case $host_os in
9892    freebsd[23].*) objformat=aout ;;
9893    *) objformat=elf ;;
9894    esac
9895  fi
9896  version_type=freebsd-$objformat
9897  case $version_type in
9898    freebsd-elf*)
9899      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9900      need_version=no
9901      need_lib_prefix=no
9902      ;;
9903    freebsd-*)
9904      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9905      need_version=yes
9906      ;;
9907  esac
9908  shlibpath_var=LD_LIBRARY_PATH
9909  case $host_os in
9910  freebsd2.*)
9911    shlibpath_overrides_runpath=yes
9912    ;;
9913  freebsd3.[01]* | freebsdelf3.[01]*)
9914    shlibpath_overrides_runpath=yes
9915    hardcode_into_libs=yes
9916    ;;
9917  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9918  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9919    shlibpath_overrides_runpath=no
9920    hardcode_into_libs=yes
9921    ;;
9922  *) # from 4.6 on, and DragonFly
9923    shlibpath_overrides_runpath=yes
9924    hardcode_into_libs=yes
9925    ;;
9926  esac
9927  ;;
9928
9929gnu*)
9930  version_type=linux
9931  need_lib_prefix=no
9932  need_version=no
9933  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9934  soname_spec='${libname}${release}${shared_ext}$major'
9935  shlibpath_var=LD_LIBRARY_PATH
9936  hardcode_into_libs=yes
9937  ;;
9938
9939haiku*)
9940  version_type=linux
9941  need_lib_prefix=no
9942  need_version=no
9943  dynamic_linker="$host_os runtime_loader"
9944  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9945  soname_spec='${libname}${release}${shared_ext}$major'
9946  shlibpath_var=LIBRARY_PATH
9947  shlibpath_overrides_runpath=yes
9948  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9949  hardcode_into_libs=yes
9950  ;;
9951
9952hpux9* | hpux10* | hpux11*)
9953  # Give a soname corresponding to the major version so that dld.sl refuses to
9954  # link against other versions.
9955  version_type=sunos
9956  need_lib_prefix=no
9957  need_version=no
9958  case $host_cpu in
9959  ia64*)
9960    shrext_cmds='.so'
9961    hardcode_into_libs=yes
9962    dynamic_linker="$host_os dld.so"
9963    shlibpath_var=LD_LIBRARY_PATH
9964    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9965    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9966    soname_spec='${libname}${release}${shared_ext}$major'
9967    if test "X$HPUX_IA64_MODE" = X32; then
9968      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9969    else
9970      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9971    fi
9972    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9973    ;;
9974  hppa*64*)
9975    shrext_cmds='.sl'
9976    hardcode_into_libs=yes
9977    dynamic_linker="$host_os dld.sl"
9978    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9979    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9980    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9981    soname_spec='${libname}${release}${shared_ext}$major'
9982    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9983    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9984    ;;
9985  *)
9986    shrext_cmds='.sl'
9987    dynamic_linker="$host_os dld.sl"
9988    shlibpath_var=SHLIB_PATH
9989    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9990    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9991    soname_spec='${libname}${release}${shared_ext}$major'
9992    ;;
9993  esac
9994  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9995  postinstall_cmds='chmod 555 $lib'
9996  # or fails outright, so override atomically:
9997  install_override_mode=555
9998  ;;
9999
10000interix[3-9]*)
10001  version_type=linux
10002  need_lib_prefix=no
10003  need_version=no
10004  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10005  soname_spec='${libname}${release}${shared_ext}$major'
10006  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10007  shlibpath_var=LD_LIBRARY_PATH
10008  shlibpath_overrides_runpath=no
10009  hardcode_into_libs=yes
10010  ;;
10011
10012irix5* | irix6* | nonstopux*)
10013  case $host_os in
10014    nonstopux*) version_type=nonstopux ;;
10015    *)
10016	if test "$lt_cv_prog_gnu_ld" = yes; then
10017		version_type=linux
10018	else
10019		version_type=irix
10020	fi ;;
10021  esac
10022  need_lib_prefix=no
10023  need_version=no
10024  soname_spec='${libname}${release}${shared_ext}$major'
10025  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10026  case $host_os in
10027  irix5* | nonstopux*)
10028    libsuff= shlibsuff=
10029    ;;
10030  *)
10031    case $LD in # libtool.m4 will add one of these switches to LD
10032    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10033      libsuff= shlibsuff= libmagic=32-bit;;
10034    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10035      libsuff=32 shlibsuff=N32 libmagic=N32;;
10036    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10037      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10038    *) libsuff= shlibsuff= libmagic=never-match;;
10039    esac
10040    ;;
10041  esac
10042  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10043  shlibpath_overrides_runpath=no
10044  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10045  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10046  hardcode_into_libs=yes
10047  ;;
10048
10049# No shared lib support for Linux oldld, aout, or coff.
10050linux*oldld* | linux*aout* | linux*coff*)
10051  dynamic_linker=no
10052  ;;
10053
10054# This must be Linux ELF.
10055linux* | k*bsd*-gnu | kopensolaris*-gnu)
10056  version_type=linux
10057  need_lib_prefix=no
10058  need_version=no
10059  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10060  soname_spec='${libname}${release}${shared_ext}$major'
10061  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10062  shlibpath_var=LD_LIBRARY_PATH
10063  shlibpath_overrides_runpath=no
10064
10065  # Some binutils ld are patched to set DT_RUNPATH
10066  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10067  $as_echo_n "(cached) " >&6
10068else
10069  lt_cv_shlibpath_overrides_runpath=no
10070    save_LDFLAGS=$LDFLAGS
10071    save_libdir=$libdir
10072    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10073	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10074    if test x$gcc_no_link = xyes; then
10075  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10076fi
10077cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078/* end confdefs.h.  */
10079
10080int
10081main ()
10082{
10083
10084  ;
10085  return 0;
10086}
10087_ACEOF
10088if ac_fn_c_try_link "$LINENO"; then :
10089  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10090  lt_cv_shlibpath_overrides_runpath=yes
10091fi
10092fi
10093rm -f core conftest.err conftest.$ac_objext \
10094    conftest$ac_exeext conftest.$ac_ext
10095    LDFLAGS=$save_LDFLAGS
10096    libdir=$save_libdir
10097
10098fi
10099
10100  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10101
10102  # This implies no fast_install, which is unacceptable.
10103  # Some rework will be needed to allow for fast_install
10104  # before this can be enabled.
10105  hardcode_into_libs=yes
10106
10107  # Append ld.so.conf contents to the search path
10108  if test -f /etc/ld.so.conf; then
10109    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' ' '`
10110    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10111  fi
10112
10113  # We used to test for /lib/ld.so.1 and disable shared libraries on
10114  # powerpc, because MkLinux only supported shared libraries with the
10115  # GNU dynamic linker.  Since this was broken with cross compilers,
10116  # most powerpc-linux boxes support dynamic linking these days and
10117  # people can always --disable-shared, the test was removed, and we
10118  # assume the GNU/Linux dynamic linker is in use.
10119  dynamic_linker='GNU/Linux ld.so'
10120  ;;
10121
10122netbsd*)
10123  version_type=sunos
10124  need_lib_prefix=no
10125  need_version=no
10126  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10127    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10128    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10129    dynamic_linker='NetBSD (a.out) ld.so'
10130  else
10131    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10132    soname_spec='${libname}${release}${shared_ext}$major'
10133    dynamic_linker='NetBSD ld.elf_so'
10134  fi
10135  shlibpath_var=LD_LIBRARY_PATH
10136  shlibpath_overrides_runpath=yes
10137  hardcode_into_libs=yes
10138  ;;
10139
10140newsos6)
10141  version_type=linux
10142  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10143  shlibpath_var=LD_LIBRARY_PATH
10144  shlibpath_overrides_runpath=yes
10145  ;;
10146
10147*nto* | *qnx*)
10148  version_type=qnx
10149  need_lib_prefix=no
10150  need_version=no
10151  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10152  soname_spec='${libname}${release}${shared_ext}$major'
10153  shlibpath_var=LD_LIBRARY_PATH
10154  shlibpath_overrides_runpath=no
10155  hardcode_into_libs=yes
10156  dynamic_linker='ldqnx.so'
10157  ;;
10158
10159openbsd*)
10160  version_type=sunos
10161  sys_lib_dlsearch_path_spec="/usr/lib"
10162  need_lib_prefix=no
10163  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10164  case $host_os in
10165    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10166    *)				need_version=no  ;;
10167  esac
10168  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10169  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10170  shlibpath_var=LD_LIBRARY_PATH
10171  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10172    case $host_os in
10173      openbsd2.[89] | openbsd2.[89].*)
10174	shlibpath_overrides_runpath=no
10175	;;
10176      *)
10177	shlibpath_overrides_runpath=yes
10178	;;
10179      esac
10180  else
10181    shlibpath_overrides_runpath=yes
10182  fi
10183  ;;
10184
10185os2*)
10186  libname_spec='$name'
10187  shrext_cmds=".dll"
10188  need_lib_prefix=no
10189  library_names_spec='$libname${shared_ext} $libname.a'
10190  dynamic_linker='OS/2 ld.exe'
10191  shlibpath_var=LIBPATH
10192  ;;
10193
10194osf3* | osf4* | osf5*)
10195  version_type=osf
10196  need_lib_prefix=no
10197  need_version=no
10198  soname_spec='${libname}${release}${shared_ext}$major'
10199  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10200  shlibpath_var=LD_LIBRARY_PATH
10201  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10202  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10203  ;;
10204
10205rdos*)
10206  dynamic_linker=no
10207  ;;
10208
10209solaris*)
10210  version_type=linux
10211  need_lib_prefix=no
10212  need_version=no
10213  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10214  soname_spec='${libname}${release}${shared_ext}$major'
10215  shlibpath_var=LD_LIBRARY_PATH
10216  shlibpath_overrides_runpath=yes
10217  hardcode_into_libs=yes
10218  # ldd complains unless libraries are executable
10219  postinstall_cmds='chmod +x $lib'
10220  ;;
10221
10222sunos4*)
10223  version_type=sunos
10224  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10225  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10226  shlibpath_var=LD_LIBRARY_PATH
10227  shlibpath_overrides_runpath=yes
10228  if test "$with_gnu_ld" = yes; then
10229    need_lib_prefix=no
10230  fi
10231  need_version=yes
10232  ;;
10233
10234sysv4 | sysv4.3*)
10235  version_type=linux
10236  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10237  soname_spec='${libname}${release}${shared_ext}$major'
10238  shlibpath_var=LD_LIBRARY_PATH
10239  case $host_vendor in
10240    sni)
10241      shlibpath_overrides_runpath=no
10242      need_lib_prefix=no
10243      runpath_var=LD_RUN_PATH
10244      ;;
10245    siemens)
10246      need_lib_prefix=no
10247      ;;
10248    motorola)
10249      need_lib_prefix=no
10250      need_version=no
10251      shlibpath_overrides_runpath=no
10252      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10253      ;;
10254  esac
10255  ;;
10256
10257sysv4*MP*)
10258  if test -d /usr/nec ;then
10259    version_type=linux
10260    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10261    soname_spec='$libname${shared_ext}.$major'
10262    shlibpath_var=LD_LIBRARY_PATH
10263  fi
10264  ;;
10265
10266sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10267  version_type=freebsd-elf
10268  need_lib_prefix=no
10269  need_version=no
10270  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10271  soname_spec='${libname}${release}${shared_ext}$major'
10272  shlibpath_var=LD_LIBRARY_PATH
10273  shlibpath_overrides_runpath=yes
10274  hardcode_into_libs=yes
10275  if test "$with_gnu_ld" = yes; then
10276    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10277  else
10278    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10279    case $host_os in
10280      sco3.2v5*)
10281        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10282	;;
10283    esac
10284  fi
10285  sys_lib_dlsearch_path_spec='/usr/lib'
10286  ;;
10287
10288tpf*)
10289  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10290  version_type=linux
10291  need_lib_prefix=no
10292  need_version=no
10293  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10294  shlibpath_var=LD_LIBRARY_PATH
10295  shlibpath_overrides_runpath=no
10296  hardcode_into_libs=yes
10297  ;;
10298
10299uts4*)
10300  version_type=linux
10301  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10302  soname_spec='${libname}${release}${shared_ext}$major'
10303  shlibpath_var=LD_LIBRARY_PATH
10304  ;;
10305
10306*)
10307  dynamic_linker=no
10308  ;;
10309esac
10310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10311$as_echo "$dynamic_linker" >&6; }
10312test "$dynamic_linker" = no && can_build_shared=no
10313
10314variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10315if test "$GCC" = yes; then
10316  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10317fi
10318
10319if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10320  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10321fi
10322if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10323  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10324fi
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10418$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10419hardcode_action=
10420if test -n "$hardcode_libdir_flag_spec" ||
10421   test -n "$runpath_var" ||
10422   test "X$hardcode_automatic" = "Xyes" ; then
10423
10424  # We can hardcode non-existent directories.
10425  if test "$hardcode_direct" != no &&
10426     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10427     # have to relink, otherwise we might link with an installed library
10428     # when we should be linking with a yet-to-be-installed one
10429     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10430     test "$hardcode_minus_L" != no; then
10431    # Linking always hardcodes the temporary library directory.
10432    hardcode_action=relink
10433  else
10434    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10435    hardcode_action=immediate
10436  fi
10437else
10438  # We cannot hardcode anything, or else we can only hardcode existing
10439  # directories.
10440  hardcode_action=unsupported
10441fi
10442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10443$as_echo "$hardcode_action" >&6; }
10444
10445if test "$hardcode_action" = relink ||
10446   test "$inherit_rpath" = yes; then
10447  # Fast installation is not supported
10448  enable_fast_install=no
10449elif test "$shlibpath_overrides_runpath" = yes ||
10450     test "$enable_shared" = no; then
10451  # Fast installation is not necessary
10452  enable_fast_install=needless
10453fi
10454
10455
10456
10457
10458
10459
10460  if test "x$enable_dlopen" != xyes; then
10461  enable_dlopen=unknown
10462  enable_dlopen_self=unknown
10463  enable_dlopen_self_static=unknown
10464else
10465  lt_cv_dlopen=no
10466  lt_cv_dlopen_libs=
10467
10468  case $host_os in
10469  beos*)
10470    lt_cv_dlopen="load_add_on"
10471    lt_cv_dlopen_libs=
10472    lt_cv_dlopen_self=yes
10473    ;;
10474
10475  mingw* | pw32* | cegcc*)
10476    lt_cv_dlopen="LoadLibrary"
10477    lt_cv_dlopen_libs=
10478    ;;
10479
10480  cygwin*)
10481    lt_cv_dlopen="dlopen"
10482    lt_cv_dlopen_libs=
10483    ;;
10484
10485  darwin*)
10486  # if libdl is installed we need to link against it
10487    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10488$as_echo_n "checking for dlopen in -ldl... " >&6; }
10489if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10490  $as_echo_n "(cached) " >&6
10491else
10492  ac_check_lib_save_LIBS=$LIBS
10493LIBS="-ldl  $LIBS"
10494if test x$gcc_no_link = xyes; then
10495  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10496fi
10497cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10498/* end confdefs.h.  */
10499
10500/* Override any GCC internal prototype to avoid an error.
10501   Use char because int might match the return type of a GCC
10502   builtin and then its argument prototype would still apply.  */
10503#ifdef __cplusplus
10504extern "C"
10505#endif
10506char dlopen ();
10507int
10508main ()
10509{
10510return dlopen ();
10511  ;
10512  return 0;
10513}
10514_ACEOF
10515if ac_fn_c_try_link "$LINENO"; then :
10516  ac_cv_lib_dl_dlopen=yes
10517else
10518  ac_cv_lib_dl_dlopen=no
10519fi
10520rm -f core conftest.err conftest.$ac_objext \
10521    conftest$ac_exeext conftest.$ac_ext
10522LIBS=$ac_check_lib_save_LIBS
10523fi
10524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10525$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10526if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10527  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10528else
10529
10530    lt_cv_dlopen="dyld"
10531    lt_cv_dlopen_libs=
10532    lt_cv_dlopen_self=yes
10533
10534fi
10535
10536    ;;
10537
10538  *)
10539    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10540if test "x$ac_cv_func_shl_load" = x""yes; then :
10541  lt_cv_dlopen="shl_load"
10542else
10543  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10544$as_echo_n "checking for shl_load in -ldld... " >&6; }
10545if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10546  $as_echo_n "(cached) " >&6
10547else
10548  ac_check_lib_save_LIBS=$LIBS
10549LIBS="-ldld  $LIBS"
10550if test x$gcc_no_link = xyes; then
10551  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10552fi
10553cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10554/* end confdefs.h.  */
10555
10556/* Override any GCC internal prototype to avoid an error.
10557   Use char because int might match the return type of a GCC
10558   builtin and then its argument prototype would still apply.  */
10559#ifdef __cplusplus
10560extern "C"
10561#endif
10562char shl_load ();
10563int
10564main ()
10565{
10566return shl_load ();
10567  ;
10568  return 0;
10569}
10570_ACEOF
10571if ac_fn_c_try_link "$LINENO"; then :
10572  ac_cv_lib_dld_shl_load=yes
10573else
10574  ac_cv_lib_dld_shl_load=no
10575fi
10576rm -f core conftest.err conftest.$ac_objext \
10577    conftest$ac_exeext conftest.$ac_ext
10578LIBS=$ac_check_lib_save_LIBS
10579fi
10580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10581$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10582if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10583  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10584else
10585  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10586if test "x$ac_cv_func_dlopen" = x""yes; then :
10587  lt_cv_dlopen="dlopen"
10588else
10589  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10590$as_echo_n "checking for dlopen in -ldl... " >&6; }
10591if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10592  $as_echo_n "(cached) " >&6
10593else
10594  ac_check_lib_save_LIBS=$LIBS
10595LIBS="-ldl  $LIBS"
10596if test x$gcc_no_link = xyes; then
10597  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10598fi
10599cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10600/* end confdefs.h.  */
10601
10602/* Override any GCC internal prototype to avoid an error.
10603   Use char because int might match the return type of a GCC
10604   builtin and then its argument prototype would still apply.  */
10605#ifdef __cplusplus
10606extern "C"
10607#endif
10608char dlopen ();
10609int
10610main ()
10611{
10612return dlopen ();
10613  ;
10614  return 0;
10615}
10616_ACEOF
10617if ac_fn_c_try_link "$LINENO"; then :
10618  ac_cv_lib_dl_dlopen=yes
10619else
10620  ac_cv_lib_dl_dlopen=no
10621fi
10622rm -f core conftest.err conftest.$ac_objext \
10623    conftest$ac_exeext conftest.$ac_ext
10624LIBS=$ac_check_lib_save_LIBS
10625fi
10626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10627$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10628if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10629  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10630else
10631  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10632$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10633if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10634  $as_echo_n "(cached) " >&6
10635else
10636  ac_check_lib_save_LIBS=$LIBS
10637LIBS="-lsvld  $LIBS"
10638if test x$gcc_no_link = xyes; then
10639  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10640fi
10641cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10642/* end confdefs.h.  */
10643
10644/* Override any GCC internal prototype to avoid an error.
10645   Use char because int might match the return type of a GCC
10646   builtin and then its argument prototype would still apply.  */
10647#ifdef __cplusplus
10648extern "C"
10649#endif
10650char dlopen ();
10651int
10652main ()
10653{
10654return dlopen ();
10655  ;
10656  return 0;
10657}
10658_ACEOF
10659if ac_fn_c_try_link "$LINENO"; then :
10660  ac_cv_lib_svld_dlopen=yes
10661else
10662  ac_cv_lib_svld_dlopen=no
10663fi
10664rm -f core conftest.err conftest.$ac_objext \
10665    conftest$ac_exeext conftest.$ac_ext
10666LIBS=$ac_check_lib_save_LIBS
10667fi
10668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10669$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10670if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10671  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10672else
10673  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10674$as_echo_n "checking for dld_link in -ldld... " >&6; }
10675if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10676  $as_echo_n "(cached) " >&6
10677else
10678  ac_check_lib_save_LIBS=$LIBS
10679LIBS="-ldld  $LIBS"
10680if test x$gcc_no_link = xyes; then
10681  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10682fi
10683cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10684/* end confdefs.h.  */
10685
10686/* Override any GCC internal prototype to avoid an error.
10687   Use char because int might match the return type of a GCC
10688   builtin and then its argument prototype would still apply.  */
10689#ifdef __cplusplus
10690extern "C"
10691#endif
10692char dld_link ();
10693int
10694main ()
10695{
10696return dld_link ();
10697  ;
10698  return 0;
10699}
10700_ACEOF
10701if ac_fn_c_try_link "$LINENO"; then :
10702  ac_cv_lib_dld_dld_link=yes
10703else
10704  ac_cv_lib_dld_dld_link=no
10705fi
10706rm -f core conftest.err conftest.$ac_objext \
10707    conftest$ac_exeext conftest.$ac_ext
10708LIBS=$ac_check_lib_save_LIBS
10709fi
10710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10711$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10712if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10713  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10714fi
10715
10716
10717fi
10718
10719
10720fi
10721
10722
10723fi
10724
10725
10726fi
10727
10728
10729fi
10730
10731    ;;
10732  esac
10733
10734  if test "x$lt_cv_dlopen" != xno; then
10735    enable_dlopen=yes
10736  else
10737    enable_dlopen=no
10738  fi
10739
10740  case $lt_cv_dlopen in
10741  dlopen)
10742    save_CPPFLAGS="$CPPFLAGS"
10743    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10744
10745    save_LDFLAGS="$LDFLAGS"
10746    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10747
10748    save_LIBS="$LIBS"
10749    LIBS="$lt_cv_dlopen_libs $LIBS"
10750
10751    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10752$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10753if test "${lt_cv_dlopen_self+set}" = set; then :
10754  $as_echo_n "(cached) " >&6
10755else
10756  	  if test "$cross_compiling" = yes; then :
10757  lt_cv_dlopen_self=cross
10758else
10759  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10760  lt_status=$lt_dlunknown
10761  cat > conftest.$ac_ext <<_LT_EOF
10762#line 10762 "configure"
10763#include "confdefs.h"
10764
10765#if HAVE_DLFCN_H
10766#include <dlfcn.h>
10767#endif
10768
10769#include <stdio.h>
10770
10771#ifdef RTLD_GLOBAL
10772#  define LT_DLGLOBAL		RTLD_GLOBAL
10773#else
10774#  ifdef DL_GLOBAL
10775#    define LT_DLGLOBAL		DL_GLOBAL
10776#  else
10777#    define LT_DLGLOBAL		0
10778#  endif
10779#endif
10780
10781/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10782   find out it does not work in some platform. */
10783#ifndef LT_DLLAZY_OR_NOW
10784#  ifdef RTLD_LAZY
10785#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10786#  else
10787#    ifdef DL_LAZY
10788#      define LT_DLLAZY_OR_NOW		DL_LAZY
10789#    else
10790#      ifdef RTLD_NOW
10791#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10792#      else
10793#        ifdef DL_NOW
10794#          define LT_DLLAZY_OR_NOW	DL_NOW
10795#        else
10796#          define LT_DLLAZY_OR_NOW	0
10797#        endif
10798#      endif
10799#    endif
10800#  endif
10801#endif
10802
10803/* When -fvisbility=hidden is used, assume the code has been annotated
10804   correspondingly for the symbols needed.  */
10805#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10806void fnord () __attribute__((visibility("default")));
10807#endif
10808
10809void fnord () { int i=42; }
10810int main ()
10811{
10812  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10813  int status = $lt_dlunknown;
10814
10815  if (self)
10816    {
10817      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10818      else
10819        {
10820	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
10821          else puts (dlerror ());
10822	}
10823      /* dlclose (self); */
10824    }
10825  else
10826    puts (dlerror ());
10827
10828  return status;
10829}
10830_LT_EOF
10831  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10832  (eval $ac_link) 2>&5
10833  ac_status=$?
10834  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10835  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10836    (./conftest; exit; ) >&5 2>/dev/null
10837    lt_status=$?
10838    case x$lt_status in
10839      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10840      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10841      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10842    esac
10843  else :
10844    # compilation failed
10845    lt_cv_dlopen_self=no
10846  fi
10847fi
10848rm -fr conftest*
10849
10850
10851fi
10852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10853$as_echo "$lt_cv_dlopen_self" >&6; }
10854
10855    if test "x$lt_cv_dlopen_self" = xyes; then
10856      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10857      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10858$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10859if test "${lt_cv_dlopen_self_static+set}" = set; then :
10860  $as_echo_n "(cached) " >&6
10861else
10862  	  if test "$cross_compiling" = yes; then :
10863  lt_cv_dlopen_self_static=cross
10864else
10865  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10866  lt_status=$lt_dlunknown
10867  cat > conftest.$ac_ext <<_LT_EOF
10868#line 10868 "configure"
10869#include "confdefs.h"
10870
10871#if HAVE_DLFCN_H
10872#include <dlfcn.h>
10873#endif
10874
10875#include <stdio.h>
10876
10877#ifdef RTLD_GLOBAL
10878#  define LT_DLGLOBAL		RTLD_GLOBAL
10879#else
10880#  ifdef DL_GLOBAL
10881#    define LT_DLGLOBAL		DL_GLOBAL
10882#  else
10883#    define LT_DLGLOBAL		0
10884#  endif
10885#endif
10886
10887/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10888   find out it does not work in some platform. */
10889#ifndef LT_DLLAZY_OR_NOW
10890#  ifdef RTLD_LAZY
10891#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10892#  else
10893#    ifdef DL_LAZY
10894#      define LT_DLLAZY_OR_NOW		DL_LAZY
10895#    else
10896#      ifdef RTLD_NOW
10897#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10898#      else
10899#        ifdef DL_NOW
10900#          define LT_DLLAZY_OR_NOW	DL_NOW
10901#        else
10902#          define LT_DLLAZY_OR_NOW	0
10903#        endif
10904#      endif
10905#    endif
10906#  endif
10907#endif
10908
10909/* When -fvisbility=hidden is used, assume the code has been annotated
10910   correspondingly for the symbols needed.  */
10911#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10912void fnord () __attribute__((visibility("default")));
10913#endif
10914
10915void fnord () { int i=42; }
10916int main ()
10917{
10918  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10919  int status = $lt_dlunknown;
10920
10921  if (self)
10922    {
10923      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10924      else
10925        {
10926	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
10927          else puts (dlerror ());
10928	}
10929      /* dlclose (self); */
10930    }
10931  else
10932    puts (dlerror ());
10933
10934  return status;
10935}
10936_LT_EOF
10937  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10938  (eval $ac_link) 2>&5
10939  ac_status=$?
10940  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10941  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10942    (./conftest; exit; ) >&5 2>/dev/null
10943    lt_status=$?
10944    case x$lt_status in
10945      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10946      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10947      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10948    esac
10949  else :
10950    # compilation failed
10951    lt_cv_dlopen_self_static=no
10952  fi
10953fi
10954rm -fr conftest*
10955
10956
10957fi
10958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10959$as_echo "$lt_cv_dlopen_self_static" >&6; }
10960    fi
10961
10962    CPPFLAGS="$save_CPPFLAGS"
10963    LDFLAGS="$save_LDFLAGS"
10964    LIBS="$save_LIBS"
10965    ;;
10966  esac
10967
10968  case $lt_cv_dlopen_self in
10969  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10970  *) enable_dlopen_self=unknown ;;
10971  esac
10972
10973  case $lt_cv_dlopen_self_static in
10974  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10975  *) enable_dlopen_self_static=unknown ;;
10976  esac
10977fi
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995striplib=
10996old_striplib=
10997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10998$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10999if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11000  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11001  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11003$as_echo "yes" >&6; }
11004else
11005# FIXME - insert some real tests, host_os isn't really good enough
11006  case $host_os in
11007  darwin*)
11008    if test -n "$STRIP" ; then
11009      striplib="$STRIP -x"
11010      old_striplib="$STRIP -S"
11011      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11012$as_echo "yes" >&6; }
11013    else
11014      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11015$as_echo "no" >&6; }
11016    fi
11017    ;;
11018  *)
11019    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11020$as_echo "no" >&6; }
11021    ;;
11022  esac
11023fi
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036  # Report which library types will actually be built
11037  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11038$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11040$as_echo "$can_build_shared" >&6; }
11041
11042  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11043$as_echo_n "checking whether to build shared libraries... " >&6; }
11044  test "$can_build_shared" = "no" && enable_shared=no
11045
11046  # On AIX, shared libraries and static libraries use the same namespace, and
11047  # are all built from PIC.
11048  case $host_os in
11049  aix3*)
11050    test "$enable_shared" = yes && enable_static=no
11051    if test -n "$RANLIB"; then
11052      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11053      postinstall_cmds='$RANLIB $lib'
11054    fi
11055    ;;
11056
11057  aix[4-9]*)
11058    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11059      test "$enable_shared" = yes && enable_static=no
11060    fi
11061    ;;
11062  esac
11063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11064$as_echo "$enable_shared" >&6; }
11065
11066  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11067$as_echo_n "checking whether to build static libraries... " >&6; }
11068  # Make sure either enable_shared or enable_static is yes.
11069  test "$enable_shared" = yes || enable_static=yes
11070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11071$as_echo "$enable_static" >&6; }
11072
11073
11074
11075
11076fi
11077ac_ext=c
11078ac_cpp='$CPP $CPPFLAGS'
11079ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11080ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11081ac_compiler_gnu=$ac_cv_c_compiler_gnu
11082
11083CC="$lt_save_CC"
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097        ac_config_commands="$ac_config_commands libtool"
11098
11099
11100
11101
11102# Only expand once:
11103
11104
11105
11106
11107
11108case $host in
11109  *-cygwin* | *-mingw*)
11110    # 'host' will be top-level target in the case of a target lib,
11111    # we must compare to with_cross_host to decide if this is a native
11112    # or cross-compiler and select where to install dlls appropriately.
11113    if test -n "$with_cross_host" &&
11114	test x"$with_cross_host" != x"no"; then
11115      lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
11116    else
11117      lt_host_flags='-no-undefined -bindir "$(bindir)"';
11118    fi
11119    ;;
11120  *)
11121    lt_host_flags=
11122    ;;
11123esac
11124
11125
11126
11127
11128
11129
11130# Calculate toolexeclibdir
11131# Also toolexecdir, though it's only used in toolexeclibdir
11132case ${version_specific_libs} in
11133  yes)
11134    # Need the gcc compiler version to know where to install libraries
11135    # and header files if --enable-version-specific-runtime-libs option
11136    # is selected.
11137    toolexecdir='$(libdir)/gcc/$(target_alias)'
11138    toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
11139    ;;
11140  no)
11141    if test -n "$with_cross_host" &&
11142       test x"$with_cross_host" != x"no"; then
11143      # Install a library built with a cross compiler in tooldir, not libdir.
11144      toolexecdir='$(exec_prefix)/$(target_alias)'
11145      toolexeclibdir='$(toolexecdir)/lib'
11146    else
11147      toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
11148      toolexeclibdir='$(libdir)'
11149    fi
11150    multi_os_directory=`$CC -print-multi-os-directory`
11151    case $multi_os_directory in
11152      .) ;; # Avoid trailing /.
11153      *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
11154    esac
11155    ;;
11156esac
11157
11158
11159
11160if test ${multilib} = yes; then
11161  multilib_arg="--enable-multilib"
11162else
11163  multilib_arg=
11164fi
11165
11166# Determine what GCC version number to use in filesystem paths.
11167
11168  get_gcc_base_ver="cat"
11169
11170# Check whether --with-gcc-major-version-only was given.
11171if test "${with_gcc_major_version_only+set}" = set; then :
11172  withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
11173        get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
11174      fi
11175
11176fi
11177
11178
11179
11180
11181ac_config_files="$ac_config_files Makefile ssp/ssp.h"
11182
11183cat >confcache <<\_ACEOF
11184# This file is a shell script that caches the results of configure
11185# tests run on this system so they can be shared between configure
11186# scripts and configure runs, see configure's option --config-cache.
11187# It is not useful on other systems.  If it contains results you don't
11188# want to keep, you may remove or edit it.
11189#
11190# config.status only pays attention to the cache file if you give it
11191# the --recheck option to rerun configure.
11192#
11193# `ac_cv_env_foo' variables (set or unset) will be overridden when
11194# loading this file, other *unset* `ac_cv_foo' will be assigned the
11195# following values.
11196
11197_ACEOF
11198
11199# The following way of writing the cache mishandles newlines in values,
11200# but we know of no workaround that is simple, portable, and efficient.
11201# So, we kill variables containing newlines.
11202# Ultrix sh set writes to stderr and can't be redirected directly,
11203# and sets the high bit in the cache file unless we assign to the vars.
11204(
11205  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11206    eval ac_val=\$$ac_var
11207    case $ac_val in #(
11208    *${as_nl}*)
11209      case $ac_var in #(
11210      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11211$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11212      esac
11213      case $ac_var in #(
11214      _ | IFS | as_nl) ;; #(
11215      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11216      *) { eval $ac_var=; unset $ac_var;} ;;
11217      esac ;;
11218    esac
11219  done
11220
11221  (set) 2>&1 |
11222    case $as_nl`(ac_space=' '; set) 2>&1` in #(
11223    *${as_nl}ac_space=\ *)
11224      # `set' does not quote correctly, so add quotes: double-quote
11225      # substitution turns \\\\ into \\, and sed turns \\ into \.
11226      sed -n \
11227	"s/'/'\\\\''/g;
11228	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11229      ;; #(
11230    *)
11231      # `set' quotes correctly as required by POSIX, so do not add quotes.
11232      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11233      ;;
11234    esac |
11235    sort
11236) |
11237  sed '
11238     /^ac_cv_env_/b end
11239     t clear
11240     :clear
11241     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11242     t end
11243     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11244     :end' >>confcache
11245if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11246  if test -w "$cache_file"; then
11247    test "x$cache_file" != "x/dev/null" &&
11248      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11249$as_echo "$as_me: updating cache $cache_file" >&6;}
11250    cat confcache >$cache_file
11251  else
11252    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11253$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11254  fi
11255fi
11256rm -f confcache
11257
11258test "x$prefix" = xNONE && prefix=$ac_default_prefix
11259# Let make expand exec_prefix.
11260test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11261
11262DEFS=-DHAVE_CONFIG_H
11263
11264ac_libobjs=
11265ac_ltlibobjs=
11266for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11267  # 1. Remove the extension, and $U if already installed.
11268  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11269  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11270  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11271  #    will be set to the directory where LIBOBJS objects are built.
11272  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11273  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11274done
11275LIBOBJS=$ac_libobjs
11276
11277LTLIBOBJS=$ac_ltlibobjs
11278
11279
11280 if test -n "$EXEEXT"; then
11281  am__EXEEXT_TRUE=
11282  am__EXEEXT_FALSE='#'
11283else
11284  am__EXEEXT_TRUE='#'
11285  am__EXEEXT_FALSE=
11286fi
11287
11288if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11289  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
11290Usually this means the macro was only invoked conditionally." "$LINENO" 5
11291fi
11292if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11293  as_fn_error "conditional \"AMDEP\" was never defined.
11294Usually this means the macro was only invoked conditionally." "$LINENO" 5
11295fi
11296if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11297  as_fn_error "conditional \"am__fastdepCC\" was never defined.
11298Usually this means the macro was only invoked conditionally." "$LINENO" 5
11299fi
11300if test -z "${LIBSSP_USE_SYMVER_TRUE}" && test -z "${LIBSSP_USE_SYMVER_FALSE}"; then
11301  as_fn_error "conditional \"LIBSSP_USE_SYMVER\" was never defined.
11302Usually this means the macro was only invoked conditionally." "$LINENO" 5
11303fi
11304if test -z "${LIBSSP_USE_SYMVER_GNU_TRUE}" && test -z "${LIBSSP_USE_SYMVER_GNU_FALSE}"; then
11305  as_fn_error "conditional \"LIBSSP_USE_SYMVER_GNU\" was never defined.
11306Usually this means the macro was only invoked conditionally." "$LINENO" 5
11307fi
11308if test -z "${LIBSSP_USE_SYMVER_SUN_TRUE}" && test -z "${LIBSSP_USE_SYMVER_SUN_FALSE}"; then
11309  as_fn_error "conditional \"LIBSSP_USE_SYMVER_SUN\" was never defined.
11310Usually this means the macro was only invoked conditionally." "$LINENO" 5
11311fi
11312
11313: ${CONFIG_STATUS=./config.status}
11314ac_write_fail=0
11315ac_clean_files_save=$ac_clean_files
11316ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11317{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11318$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11319as_write_fail=0
11320cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11321#! $SHELL
11322# Generated by $as_me.
11323# Run this file to recreate the current configuration.
11324# Compiler output produced by configure, useful for debugging
11325# configure, is in config.log if it exists.
11326
11327debug=false
11328ac_cs_recheck=false
11329ac_cs_silent=false
11330
11331SHELL=\${CONFIG_SHELL-$SHELL}
11332export SHELL
11333_ASEOF
11334cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11335## -------------------- ##
11336## M4sh Initialization. ##
11337## -------------------- ##
11338
11339# Be more Bourne compatible
11340DUALCASE=1; export DUALCASE # for MKS sh
11341if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11342  emulate sh
11343  NULLCMD=:
11344  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11345  # is contrary to our usage.  Disable this feature.
11346  alias -g '${1+"$@"}'='"$@"'
11347  setopt NO_GLOB_SUBST
11348else
11349  case `(set -o) 2>/dev/null` in #(
11350  *posix*) :
11351    set -o posix ;; #(
11352  *) :
11353     ;;
11354esac
11355fi
11356
11357
11358as_nl='
11359'
11360export as_nl
11361# Printing a long string crashes Solaris 7 /usr/bin/printf.
11362as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11363as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11364as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11365# Prefer a ksh shell builtin over an external printf program on Solaris,
11366# but without wasting forks for bash or zsh.
11367if test -z "$BASH_VERSION$ZSH_VERSION" \
11368    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11369  as_echo='print -r --'
11370  as_echo_n='print -rn --'
11371elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11372  as_echo='printf %s\n'
11373  as_echo_n='printf %s'
11374else
11375  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11376    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11377    as_echo_n='/usr/ucb/echo -n'
11378  else
11379    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11380    as_echo_n_body='eval
11381      arg=$1;
11382      case $arg in #(
11383      *"$as_nl"*)
11384	expr "X$arg" : "X\\(.*\\)$as_nl";
11385	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11386      esac;
11387      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11388    '
11389    export as_echo_n_body
11390    as_echo_n='sh -c $as_echo_n_body as_echo'
11391  fi
11392  export as_echo_body
11393  as_echo='sh -c $as_echo_body as_echo'
11394fi
11395
11396# The user is always right.
11397if test "${PATH_SEPARATOR+set}" != set; then
11398  PATH_SEPARATOR=:
11399  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11400    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11401      PATH_SEPARATOR=';'
11402  }
11403fi
11404
11405
11406# IFS
11407# We need space, tab and new line, in precisely that order.  Quoting is
11408# there to prevent editors from complaining about space-tab.
11409# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11410# splitting by setting IFS to empty value.)
11411IFS=" ""	$as_nl"
11412
11413# Find who we are.  Look in the path if we contain no directory separator.
11414case $0 in #((
11415  *[\\/]* ) as_myself=$0 ;;
11416  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11417for as_dir in $PATH
11418do
11419  IFS=$as_save_IFS
11420  test -z "$as_dir" && as_dir=.
11421    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11422  done
11423IFS=$as_save_IFS
11424
11425     ;;
11426esac
11427# We did not find ourselves, most probably we were run as `sh COMMAND'
11428# in which case we are not to be found in the path.
11429if test "x$as_myself" = x; then
11430  as_myself=$0
11431fi
11432if test ! -f "$as_myself"; then
11433  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11434  exit 1
11435fi
11436
11437# Unset variables that we do not need and which cause bugs (e.g. in
11438# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
11439# suppresses any "Segmentation fault" message there.  '((' could
11440# trigger a bug in pdksh 5.2.14.
11441for as_var in BASH_ENV ENV MAIL MAILPATH
11442do eval test x\${$as_var+set} = xset \
11443  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11444done
11445PS1='$ '
11446PS2='> '
11447PS4='+ '
11448
11449# NLS nuisances.
11450LC_ALL=C
11451export LC_ALL
11452LANGUAGE=C
11453export LANGUAGE
11454
11455# CDPATH.
11456(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11457
11458
11459# as_fn_error ERROR [LINENO LOG_FD]
11460# ---------------------------------
11461# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11462# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11463# script with status $?, using 1 if that was 0.
11464as_fn_error ()
11465{
11466  as_status=$?; test $as_status -eq 0 && as_status=1
11467  if test "$3"; then
11468    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11469    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11470  fi
11471  $as_echo "$as_me: error: $1" >&2
11472  as_fn_exit $as_status
11473} # as_fn_error
11474
11475
11476# as_fn_set_status STATUS
11477# -----------------------
11478# Set $? to STATUS, without forking.
11479as_fn_set_status ()
11480{
11481  return $1
11482} # as_fn_set_status
11483
11484# as_fn_exit STATUS
11485# -----------------
11486# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11487as_fn_exit ()
11488{
11489  set +e
11490  as_fn_set_status $1
11491  exit $1
11492} # as_fn_exit
11493
11494# as_fn_unset VAR
11495# ---------------
11496# Portably unset VAR.
11497as_fn_unset ()
11498{
11499  { eval $1=; unset $1;}
11500}
11501as_unset=as_fn_unset
11502# as_fn_append VAR VALUE
11503# ----------------------
11504# Append the text in VALUE to the end of the definition contained in VAR. Take
11505# advantage of any shell optimizations that allow amortized linear growth over
11506# repeated appends, instead of the typical quadratic growth present in naive
11507# implementations.
11508if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11509  eval 'as_fn_append ()
11510  {
11511    eval $1+=\$2
11512  }'
11513else
11514  as_fn_append ()
11515  {
11516    eval $1=\$$1\$2
11517  }
11518fi # as_fn_append
11519
11520# as_fn_arith ARG...
11521# ------------------
11522# Perform arithmetic evaluation on the ARGs, and store the result in the
11523# global $as_val. Take advantage of shells that can avoid forks. The arguments
11524# must be portable across $(()) and expr.
11525if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11526  eval 'as_fn_arith ()
11527  {
11528    as_val=$(( $* ))
11529  }'
11530else
11531  as_fn_arith ()
11532  {
11533    as_val=`expr "$@" || test $? -eq 1`
11534  }
11535fi # as_fn_arith
11536
11537
11538if expr a : '\(a\)' >/dev/null 2>&1 &&
11539   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11540  as_expr=expr
11541else
11542  as_expr=false
11543fi
11544
11545if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11546  as_basename=basename
11547else
11548  as_basename=false
11549fi
11550
11551if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11552  as_dirname=dirname
11553else
11554  as_dirname=false
11555fi
11556
11557as_me=`$as_basename -- "$0" ||
11558$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11559	 X"$0" : 'X\(//\)$' \| \
11560	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11561$as_echo X/"$0" |
11562    sed '/^.*\/\([^/][^/]*\)\/*$/{
11563	    s//\1/
11564	    q
11565	  }
11566	  /^X\/\(\/\/\)$/{
11567	    s//\1/
11568	    q
11569	  }
11570	  /^X\/\(\/\).*/{
11571	    s//\1/
11572	    q
11573	  }
11574	  s/.*/./; q'`
11575
11576# Avoid depending upon Character Ranges.
11577as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11578as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11579as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11580as_cr_digits='0123456789'
11581as_cr_alnum=$as_cr_Letters$as_cr_digits
11582
11583ECHO_C= ECHO_N= ECHO_T=
11584case `echo -n x` in #(((((
11585-n*)
11586  case `echo 'xy\c'` in
11587  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
11588  xy)  ECHO_C='\c';;
11589  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
11590       ECHO_T='	';;
11591  esac;;
11592*)
11593  ECHO_N='-n';;
11594esac
11595
11596rm -f conf$$ conf$$.exe conf$$.file
11597if test -d conf$$.dir; then
11598  rm -f conf$$.dir/conf$$.file
11599else
11600  rm -f conf$$.dir
11601  mkdir conf$$.dir 2>/dev/null
11602fi
11603if (echo >conf$$.file) 2>/dev/null; then
11604  if ln -s conf$$.file conf$$ 2>/dev/null; then
11605    as_ln_s='ln -s'
11606    # ... but there are two gotchas:
11607    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11608    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11609    # In both cases, we have to default to `cp -p'.
11610    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11611      as_ln_s='cp -p'
11612  elif ln conf$$.file conf$$ 2>/dev/null; then
11613    as_ln_s=ln
11614  else
11615    as_ln_s='cp -p'
11616  fi
11617else
11618  as_ln_s='cp -p'
11619fi
11620rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11621rmdir conf$$.dir 2>/dev/null
11622
11623
11624# as_fn_mkdir_p
11625# -------------
11626# Create "$as_dir" as a directory, including parents if necessary.
11627as_fn_mkdir_p ()
11628{
11629
11630  case $as_dir in #(
11631  -*) as_dir=./$as_dir;;
11632  esac
11633  test -d "$as_dir" || eval $as_mkdir_p || {
11634    as_dirs=
11635    while :; do
11636      case $as_dir in #(
11637      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11638      *) as_qdir=$as_dir;;
11639      esac
11640      as_dirs="'$as_qdir' $as_dirs"
11641      as_dir=`$as_dirname -- "$as_dir" ||
11642$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11643	 X"$as_dir" : 'X\(//\)[^/]' \| \
11644	 X"$as_dir" : 'X\(//\)$' \| \
11645	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11646$as_echo X"$as_dir" |
11647    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11648	    s//\1/
11649	    q
11650	  }
11651	  /^X\(\/\/\)[^/].*/{
11652	    s//\1/
11653	    q
11654	  }
11655	  /^X\(\/\/\)$/{
11656	    s//\1/
11657	    q
11658	  }
11659	  /^X\(\/\).*/{
11660	    s//\1/
11661	    q
11662	  }
11663	  s/.*/./; q'`
11664      test -d "$as_dir" && break
11665    done
11666    test -z "$as_dirs" || eval "mkdir $as_dirs"
11667  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
11668
11669
11670} # as_fn_mkdir_p
11671if mkdir -p . 2>/dev/null; then
11672  as_mkdir_p='mkdir -p "$as_dir"'
11673else
11674  test -d ./-p && rmdir ./-p
11675  as_mkdir_p=false
11676fi
11677
11678if test -x / >/dev/null 2>&1; then
11679  as_test_x='test -x'
11680else
11681  if ls -dL / >/dev/null 2>&1; then
11682    as_ls_L_option=L
11683  else
11684    as_ls_L_option=
11685  fi
11686  as_test_x='
11687    eval sh -c '\''
11688      if test -d "$1"; then
11689	test -d "$1/.";
11690      else
11691	case $1 in #(
11692	-*)set "./$1";;
11693	esac;
11694	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11695	???[sx]*):;;*)false;;esac;fi
11696    '\'' sh
11697  '
11698fi
11699as_executable_p=$as_test_x
11700
11701# Sed expression to map a string onto a valid CPP name.
11702as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11703
11704# Sed expression to map a string onto a valid variable name.
11705as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11706
11707
11708exec 6>&1
11709## ----------------------------------- ##
11710## Main body of $CONFIG_STATUS script. ##
11711## ----------------------------------- ##
11712_ASEOF
11713test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11714
11715cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11716# Save the log message, to keep $0 and so on meaningful, and to
11717# report actual input values of CONFIG_FILES etc. instead of their
11718# values after options handling.
11719ac_log="
11720This file was extended by libssp $as_me 1.0, which was
11721generated by GNU Autoconf 2.64.  Invocation command line was
11722
11723  CONFIG_FILES    = $CONFIG_FILES
11724  CONFIG_HEADERS  = $CONFIG_HEADERS
11725  CONFIG_LINKS    = $CONFIG_LINKS
11726  CONFIG_COMMANDS = $CONFIG_COMMANDS
11727  $ $0 $@
11728
11729on `(hostname || uname -n) 2>/dev/null | sed 1q`
11730"
11731
11732_ACEOF
11733
11734case $ac_config_files in *"
11735"*) set x $ac_config_files; shift; ac_config_files=$*;;
11736esac
11737
11738case $ac_config_headers in *"
11739"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11740esac
11741
11742
11743cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11744# Files that config.status was made for.
11745config_files="$ac_config_files"
11746config_headers="$ac_config_headers"
11747config_commands="$ac_config_commands"
11748
11749_ACEOF
11750
11751cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11752ac_cs_usage="\
11753\`$as_me' instantiates files and other configuration actions
11754from templates according to the current configuration.  Unless the files
11755and actions are specified as TAGs, all are instantiated by default.
11756
11757Usage: $0 [OPTION]... [TAG]...
11758
11759  -h, --help       print this help, then exit
11760  -V, --version    print version number and configuration settings, then exit
11761  -q, --quiet, --silent
11762                   do not print progress messages
11763  -d, --debug      don't remove temporary files
11764      --recheck    update $as_me by reconfiguring in the same conditions
11765      --file=FILE[:TEMPLATE]
11766                   instantiate the configuration file FILE
11767      --header=FILE[:TEMPLATE]
11768                   instantiate the configuration header FILE
11769
11770Configuration files:
11771$config_files
11772
11773Configuration headers:
11774$config_headers
11775
11776Configuration commands:
11777$config_commands
11778
11779Report bugs to the package provider."
11780
11781_ACEOF
11782cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11783ac_cs_version="\\
11784libssp config.status 1.0
11785configured by $0, generated by GNU Autoconf 2.64,
11786  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11787
11788Copyright (C) 2009 Free Software Foundation, Inc.
11789This config.status script is free software; the Free Software Foundation
11790gives unlimited permission to copy, distribute and modify it."
11791
11792ac_pwd='$ac_pwd'
11793srcdir='$srcdir'
11794INSTALL='$INSTALL'
11795MKDIR_P='$MKDIR_P'
11796AWK='$AWK'
11797test -n "\$AWK" || AWK=awk
11798_ACEOF
11799
11800cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11801# The default lists apply if the user does not specify any file.
11802ac_need_defaults=:
11803while test $# != 0
11804do
11805  case $1 in
11806  --*=*)
11807    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11808    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11809    ac_shift=:
11810    ;;
11811  *)
11812    ac_option=$1
11813    ac_optarg=$2
11814    ac_shift=shift
11815    ;;
11816  esac
11817
11818  case $ac_option in
11819  # Handling of the options.
11820  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11821    ac_cs_recheck=: ;;
11822  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11823    $as_echo "$ac_cs_version"; exit ;;
11824  --debug | --debu | --deb | --de | --d | -d )
11825    debug=: ;;
11826  --file | --fil | --fi | --f )
11827    $ac_shift
11828    case $ac_optarg in
11829    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11830    esac
11831    as_fn_append CONFIG_FILES " '$ac_optarg'"
11832    ac_need_defaults=false;;
11833  --header | --heade | --head | --hea )
11834    $ac_shift
11835    case $ac_optarg in
11836    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11837    esac
11838    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11839    ac_need_defaults=false;;
11840  --he | --h)
11841    # Conflict between --help and --header
11842    as_fn_error "ambiguous option: \`$1'
11843Try \`$0 --help' for more information.";;
11844  --help | --hel | -h )
11845    $as_echo "$ac_cs_usage"; exit ;;
11846  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11847  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11848    ac_cs_silent=: ;;
11849
11850  # This is an error.
11851  -*) as_fn_error "unrecognized option: \`$1'
11852Try \`$0 --help' for more information." ;;
11853
11854  *) as_fn_append ac_config_targets " $1"
11855     ac_need_defaults=false ;;
11856
11857  esac
11858  shift
11859done
11860
11861ac_configure_extra_args=
11862
11863if $ac_cs_silent; then
11864  exec 6>/dev/null
11865  ac_configure_extra_args="$ac_configure_extra_args --silent"
11866fi
11867
11868_ACEOF
11869cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11870if \$ac_cs_recheck; then
11871  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11872  shift
11873  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11874  CONFIG_SHELL='$SHELL'
11875  export CONFIG_SHELL
11876  exec "\$@"
11877fi
11878
11879_ACEOF
11880cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11881exec 5>>config.log
11882{
11883  echo
11884  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11885## Running $as_me. ##
11886_ASBOX
11887  $as_echo "$ac_log"
11888} >&5
11889
11890_ACEOF
11891cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11892#
11893# INIT-COMMANDS
11894#
11895
11896srcdir="$srcdir"
11897host="$host"
11898target="$target"
11899with_multisubdir="$with_multisubdir"
11900with_multisrctop="$with_multisrctop"
11901with_target_subdir="$with_target_subdir"
11902ac_configure_args="${multilib_arg} ${ac_configure_args}"
11903multi_basedir="$multi_basedir"
11904CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11905CC="$CC"
11906CXX="$CXX"
11907GFORTRAN="$GFORTRAN"
11908AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11909
11910
11911# The HP-UX ksh and POSIX shell print the target directory to stdout
11912# if CDPATH is set.
11913(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11914
11915sed_quote_subst='$sed_quote_subst'
11916double_quote_subst='$double_quote_subst'
11917delay_variable_subst='$delay_variable_subst'
11918macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
11919macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
11920enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
11921enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
11922pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
11923enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
11924SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
11925ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
11926host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
11927host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
11928host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
11929build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
11930build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
11931build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
11932SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
11933Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
11934GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
11935EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
11936FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
11937LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
11938NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
11939LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
11940max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
11941ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
11942exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
11943lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
11944lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
11945lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
11946reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
11947reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
11948OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
11949deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
11950file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
11951AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
11952AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
11953STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
11954RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
11955old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
11956old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
11957old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
11958lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
11959CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
11960CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
11961compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
11962GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
11963lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
11964lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
11965lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
11966lt_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"`'
11967objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
11968MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
11969lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
11970lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
11971lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
11972lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
11973lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
11974need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
11975DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
11976NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
11977LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
11978OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
11979OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
11980libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
11981shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
11982extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
11983archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
11984enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
11985export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
11986whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
11987compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
11988old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
11989old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
11990archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
11991archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
11992module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
11993module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
11994with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
11995allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
11996no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
11997hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
11998hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
11999hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12000hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12001hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12002hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12003hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12004hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12005inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12006link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12007fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12008always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12009export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12010exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12011include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12012prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12013file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12014variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12015need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12016need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12017version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12018runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12019shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12020shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12021libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12022library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12023soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12024install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12025postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12026postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12027finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12028finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12029hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12030sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12031sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12032hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12033enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12034enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12035enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12036old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12037striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12038
12039LTCC='$LTCC'
12040LTCFLAGS='$LTCFLAGS'
12041compiler='$compiler_DEFAULT'
12042
12043# A function that is used when there is no print builtin or printf.
12044func_fallback_echo ()
12045{
12046  eval 'cat <<_LTECHO_EOF
12047\$1
12048_LTECHO_EOF'
12049}
12050
12051# Quote evaled strings.
12052for var in SHELL \
12053ECHO \
12054SED \
12055GREP \
12056EGREP \
12057FGREP \
12058LD \
12059NM \
12060LN_S \
12061lt_SP2NL \
12062lt_NL2SP \
12063reload_flag \
12064OBJDUMP \
12065deplibs_check_method \
12066file_magic_cmd \
12067AR \
12068AR_FLAGS \
12069STRIP \
12070RANLIB \
12071CC \
12072CFLAGS \
12073compiler \
12074lt_cv_sys_global_symbol_pipe \
12075lt_cv_sys_global_symbol_to_cdecl \
12076lt_cv_sys_global_symbol_to_c_name_address \
12077lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12078lt_prog_compiler_no_builtin_flag \
12079lt_prog_compiler_wl \
12080lt_prog_compiler_pic \
12081lt_prog_compiler_static \
12082lt_cv_prog_compiler_c_o \
12083need_locks \
12084DSYMUTIL \
12085NMEDIT \
12086LIPO \
12087OTOOL \
12088OTOOL64 \
12089shrext_cmds \
12090export_dynamic_flag_spec \
12091whole_archive_flag_spec \
12092compiler_needs_object \
12093with_gnu_ld \
12094allow_undefined_flag \
12095no_undefined_flag \
12096hardcode_libdir_flag_spec \
12097hardcode_libdir_flag_spec_ld \
12098hardcode_libdir_separator \
12099fix_srcfile_path \
12100exclude_expsyms \
12101include_expsyms \
12102file_list_spec \
12103variables_saved_for_relink \
12104libname_spec \
12105library_names_spec \
12106soname_spec \
12107install_override_mode \
12108finish_eval \
12109old_striplib \
12110striplib; do
12111    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12112    *[\\\\\\\`\\"\\\$]*)
12113      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12114      ;;
12115    *)
12116      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12117      ;;
12118    esac
12119done
12120
12121# Double-quote double-evaled strings.
12122for var in reload_cmds \
12123old_postinstall_cmds \
12124old_postuninstall_cmds \
12125old_archive_cmds \
12126extract_expsyms_cmds \
12127old_archive_from_new_cmds \
12128old_archive_from_expsyms_cmds \
12129archive_cmds \
12130archive_expsym_cmds \
12131module_cmds \
12132module_expsym_cmds \
12133export_symbols_cmds \
12134prelink_cmds \
12135postinstall_cmds \
12136postuninstall_cmds \
12137finish_cmds \
12138sys_lib_search_path_spec \
12139sys_lib_dlsearch_path_spec; do
12140    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12141    *[\\\\\\\`\\"\\\$]*)
12142      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12143      ;;
12144    *)
12145      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12146      ;;
12147    esac
12148done
12149
12150ac_aux_dir='$ac_aux_dir'
12151xsi_shell='$xsi_shell'
12152lt_shell_append='$lt_shell_append'
12153
12154# See if we are running on zsh, and set the options which allow our
12155# commands through without removal of \ escapes INIT.
12156if test -n "\${ZSH_VERSION+set}" ; then
12157   setopt NO_GLOB_SUBST
12158fi
12159
12160
12161    PACKAGE='$PACKAGE'
12162    VERSION='$VERSION'
12163    TIMESTAMP='$TIMESTAMP'
12164    RM='$RM'
12165    ofile='$ofile'
12166
12167
12168
12169
12170_ACEOF
12171
12172cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12173
12174# Handling of arguments.
12175for ac_config_target in $ac_config_targets
12176do
12177  case $ac_config_target in
12178    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12179    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12180    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12181    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12182    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12183    "ssp/ssp.h") CONFIG_FILES="$CONFIG_FILES ssp/ssp.h" ;;
12184
12185  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12186  esac
12187done
12188
12189
12190# If the user did not use the arguments to specify the items to instantiate,
12191# then the envvar interface is used.  Set only those that are not.
12192# We use the long form for the default assignment because of an extremely
12193# bizarre bug on SunOS 4.1.3.
12194if $ac_need_defaults; then
12195  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12196  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12197  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12198fi
12199
12200# Have a temporary directory for convenience.  Make it in the build tree
12201# simply because there is no reason against having it here, and in addition,
12202# creating and moving files from /tmp can sometimes cause problems.
12203# Hook for its removal unless debugging.
12204# Note that there is a small window in which the directory will not be cleaned:
12205# after its creation but before its name has been assigned to `$tmp'.
12206$debug ||
12207{
12208  tmp=
12209  trap 'exit_status=$?
12210  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12211' 0
12212  trap 'as_fn_exit 1' 1 2 13 15
12213}
12214# Create a (secure) tmp directory for tmp files.
12215
12216{
12217  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12218  test -n "$tmp" && test -d "$tmp"
12219}  ||
12220{
12221  tmp=./conf$$-$RANDOM
12222  (umask 077 && mkdir "$tmp")
12223} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
12224
12225# Set up the scripts for CONFIG_FILES section.
12226# No need to generate them if there are no CONFIG_FILES.
12227# This happens for instance with `./config.status config.h'.
12228if test -n "$CONFIG_FILES"; then
12229
12230
12231ac_cr=`echo X | tr X '\015'`
12232# On cygwin, bash can eat \r inside `` if the user requested igncr.
12233# But we know of no other shell where ac_cr would be empty at this
12234# point, so we can use a bashism as a fallback.
12235if test "x$ac_cr" = x; then
12236  eval ac_cr=\$\'\\r\'
12237fi
12238ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12239if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12240  ac_cs_awk_cr='\r'
12241else
12242  ac_cs_awk_cr=$ac_cr
12243fi
12244
12245echo 'BEGIN {' >"$tmp/subs1.awk" &&
12246_ACEOF
12247
12248
12249{
12250  echo "cat >conf$$subs.awk <<_ACEOF" &&
12251  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12252  echo "_ACEOF"
12253} >conf$$subs.sh ||
12254  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12255ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12256ac_delim='%!_!# '
12257for ac_last_try in false false false false false :; do
12258  . ./conf$$subs.sh ||
12259    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12260
12261  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12262  if test $ac_delim_n = $ac_delim_num; then
12263    break
12264  elif $ac_last_try; then
12265    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12266  else
12267    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12268  fi
12269done
12270rm -f conf$$subs.sh
12271
12272cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12273cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
12274_ACEOF
12275sed -n '
12276h
12277s/^/S["/; s/!.*/"]=/
12278p
12279g
12280s/^[^!]*!//
12281:repl
12282t repl
12283s/'"$ac_delim"'$//
12284t delim
12285:nl
12286h
12287s/\(.\{148\}\).*/\1/
12288t more1
12289s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12290p
12291n
12292b repl
12293:more1
12294s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12295p
12296g
12297s/.\{148\}//
12298t nl
12299:delim
12300h
12301s/\(.\{148\}\).*/\1/
12302t more2
12303s/["\\]/\\&/g; s/^/"/; s/$/"/
12304p
12305b
12306:more2
12307s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12308p
12309g
12310s/.\{148\}//
12311t delim
12312' <conf$$subs.awk | sed '
12313/^[^""]/{
12314  N
12315  s/\n//
12316}
12317' >>$CONFIG_STATUS || ac_write_fail=1
12318rm -f conf$$subs.awk
12319cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12320_ACAWK
12321cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12322  for (key in S) S_is_set[key] = 1
12323  FS = ""
12324
12325}
12326{
12327  line = $ 0
12328  nfields = split(line, field, "@")
12329  substed = 0
12330  len = length(field[1])
12331  for (i = 2; i < nfields; i++) {
12332    key = field[i]
12333    keylen = length(key)
12334    if (S_is_set[key]) {
12335      value = S[key]
12336      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12337      len += length(value) + length(field[++i])
12338      substed = 1
12339    } else
12340      len += 1 + keylen
12341  }
12342
12343  print line
12344}
12345
12346_ACAWK
12347_ACEOF
12348cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12349if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12350  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12351else
12352  cat
12353fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12354  || as_fn_error "could not setup config files machinery" "$LINENO" 5
12355_ACEOF
12356
12357# VPATH may cause trouble with some makes, so we remove $(srcdir),
12358# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12359# trailing colons and then remove the whole line if VPATH becomes empty
12360# (actually we leave an empty line to preserve line numbers).
12361if test "x$srcdir" = x.; then
12362  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
12363s/:*\$(srcdir):*/:/
12364s/:*\${srcdir}:*/:/
12365s/:*@srcdir@:*/:/
12366s/^\([^=]*=[	 ]*\):*/\1/
12367s/:*$//
12368s/^[^=]*=[	 ]*$//
12369}'
12370fi
12371
12372cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12373fi # test -n "$CONFIG_FILES"
12374
12375# Set up the scripts for CONFIG_HEADERS section.
12376# No need to generate them if there are no CONFIG_HEADERS.
12377# This happens for instance with `./config.status Makefile'.
12378if test -n "$CONFIG_HEADERS"; then
12379cat >"$tmp/defines.awk" <<\_ACAWK ||
12380BEGIN {
12381_ACEOF
12382
12383# Transform confdefs.h into an awk script `defines.awk', embedded as
12384# here-document in config.status, that substitutes the proper values into
12385# config.h.in to produce config.h.
12386
12387# Create a delimiter string that does not exist in confdefs.h, to ease
12388# handling of long lines.
12389ac_delim='%!_!# '
12390for ac_last_try in false false :; do
12391  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12392  if test -z "$ac_t"; then
12393    break
12394  elif $ac_last_try; then
12395    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
12396  else
12397    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12398  fi
12399done
12400
12401# For the awk script, D is an array of macro values keyed by name,
12402# likewise P contains macro parameters if any.  Preserve backslash
12403# newline sequences.
12404
12405ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12406sed -n '
12407s/.\{148\}/&'"$ac_delim"'/g
12408t rset
12409:rset
12410s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
12411t def
12412d
12413:def
12414s/\\$//
12415t bsnl
12416s/["\\]/\\&/g
12417s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12418D["\1"]=" \3"/p
12419s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
12420d
12421:bsnl
12422s/["\\]/\\&/g
12423s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12424D["\1"]=" \3\\\\\\n"\\/p
12425t cont
12426s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12427t cont
12428d
12429:cont
12430n
12431s/.\{148\}/&'"$ac_delim"'/g
12432t clear
12433:clear
12434s/\\$//
12435t bsnlc
12436s/["\\]/\\&/g; s/^/"/; s/$/"/p
12437d
12438:bsnlc
12439s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12440b cont
12441' <confdefs.h | sed '
12442s/'"$ac_delim"'/"\\\
12443"/g' >>$CONFIG_STATUS || ac_write_fail=1
12444
12445cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12446  for (key in D) D_is_set[key] = 1
12447  FS = ""
12448}
12449/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12450  line = \$ 0
12451  split(line, arg, " ")
12452  if (arg[1] == "#") {
12453    defundef = arg[2]
12454    mac1 = arg[3]
12455  } else {
12456    defundef = substr(arg[1], 2)
12457    mac1 = arg[2]
12458  }
12459  split(mac1, mac2, "(") #)
12460  macro = mac2[1]
12461  prefix = substr(line, 1, index(line, defundef) - 1)
12462  if (D_is_set[macro]) {
12463    # Preserve the white space surrounding the "#".
12464    print prefix "define", macro P[macro] D[macro]
12465    next
12466  } else {
12467    # Replace #undef with comments.  This is necessary, for example,
12468    # in the case of _POSIX_SOURCE, which is predefined and required
12469    # on some systems where configure will not decide to define it.
12470    if (defundef == "undef") {
12471      print "/*", prefix defundef, macro, "*/"
12472      next
12473    }
12474  }
12475}
12476{ print }
12477_ACAWK
12478_ACEOF
12479cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12480  as_fn_error "could not setup config headers machinery" "$LINENO" 5
12481fi # test -n "$CONFIG_HEADERS"
12482
12483
12484eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
12485shift
12486for ac_tag
12487do
12488  case $ac_tag in
12489  :[FHLC]) ac_mode=$ac_tag; continue;;
12490  esac
12491  case $ac_mode$ac_tag in
12492  :[FHL]*:*);;
12493  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
12494  :[FH]-) ac_tag=-:-;;
12495  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12496  esac
12497  ac_save_IFS=$IFS
12498  IFS=:
12499  set x $ac_tag
12500  IFS=$ac_save_IFS
12501  shift
12502  ac_file=$1
12503  shift
12504
12505  case $ac_mode in
12506  :L) ac_source=$1;;
12507  :[FH])
12508    ac_file_inputs=
12509    for ac_f
12510    do
12511      case $ac_f in
12512      -) ac_f="$tmp/stdin";;
12513      *) # Look for the file first in the build tree, then in the source tree
12514	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
12515	 # because $ac_f cannot contain `:'.
12516	 test -f "$ac_f" ||
12517	   case $ac_f in
12518	   [\\/$]*) false;;
12519	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12520	   esac ||
12521	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12522      esac
12523      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12524      as_fn_append ac_file_inputs " '$ac_f'"
12525    done
12526
12527    # Let's still pretend it is `configure' which instantiates (i.e., don't
12528    # use $as_me), people would be surprised to read:
12529    #    /* config.h.  Generated by config.status.  */
12530    configure_input='Generated from '`
12531	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12532	`' by configure.'
12533    if test x"$ac_file" != x-; then
12534      configure_input="$ac_file.  $configure_input"
12535      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12536$as_echo "$as_me: creating $ac_file" >&6;}
12537    fi
12538    # Neutralize special characters interpreted by sed in replacement strings.
12539    case $configure_input in #(
12540    *\&* | *\|* | *\\* )
12541       ac_sed_conf_input=`$as_echo "$configure_input" |
12542       sed 's/[\\\\&|]/\\\\&/g'`;; #(
12543    *) ac_sed_conf_input=$configure_input;;
12544    esac
12545
12546    case $ac_tag in
12547    *:-:* | *:-) cat >"$tmp/stdin" \
12548      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
12549    esac
12550    ;;
12551  esac
12552
12553  ac_dir=`$as_dirname -- "$ac_file" ||
12554$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12555	 X"$ac_file" : 'X\(//\)[^/]' \| \
12556	 X"$ac_file" : 'X\(//\)$' \| \
12557	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12558$as_echo X"$ac_file" |
12559    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12560	    s//\1/
12561	    q
12562	  }
12563	  /^X\(\/\/\)[^/].*/{
12564	    s//\1/
12565	    q
12566	  }
12567	  /^X\(\/\/\)$/{
12568	    s//\1/
12569	    q
12570	  }
12571	  /^X\(\/\).*/{
12572	    s//\1/
12573	    q
12574	  }
12575	  s/.*/./; q'`
12576  as_dir="$ac_dir"; as_fn_mkdir_p
12577  ac_builddir=.
12578
12579case "$ac_dir" in
12580.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12581*)
12582  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12583  # A ".." for each directory in $ac_dir_suffix.
12584  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12585  case $ac_top_builddir_sub in
12586  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12587  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12588  esac ;;
12589esac
12590ac_abs_top_builddir=$ac_pwd
12591ac_abs_builddir=$ac_pwd$ac_dir_suffix
12592# for backward compatibility:
12593ac_top_builddir=$ac_top_build_prefix
12594
12595case $srcdir in
12596  .)  # We are building in place.
12597    ac_srcdir=.
12598    ac_top_srcdir=$ac_top_builddir_sub
12599    ac_abs_top_srcdir=$ac_pwd ;;
12600  [\\/]* | ?:[\\/]* )  # Absolute name.
12601    ac_srcdir=$srcdir$ac_dir_suffix;
12602    ac_top_srcdir=$srcdir
12603    ac_abs_top_srcdir=$srcdir ;;
12604  *) # Relative name.
12605    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12606    ac_top_srcdir=$ac_top_build_prefix$srcdir
12607    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12608esac
12609ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12610
12611
12612  case $ac_mode in
12613  :F)
12614  #
12615  # CONFIG_FILE
12616  #
12617
12618  case $INSTALL in
12619  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12620  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12621  esac
12622  ac_MKDIR_P=$MKDIR_P
12623  case $MKDIR_P in
12624  [\\/$]* | ?:[\\/]* ) ;;
12625  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12626  esac
12627_ACEOF
12628
12629cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12630# If the template does not know about datarootdir, expand it.
12631# FIXME: This hack should be removed a few years after 2.60.
12632ac_datarootdir_hack=; ac_datarootdir_seen=
12633ac_sed_dataroot='
12634/datarootdir/ {
12635  p
12636  q
12637}
12638/@datadir@/p
12639/@docdir@/p
12640/@infodir@/p
12641/@localedir@/p
12642/@mandir@/p'
12643case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12644*datarootdir*) ac_datarootdir_seen=yes;;
12645*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12646  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12647$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12648_ACEOF
12649cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12650  ac_datarootdir_hack='
12651  s&@datadir@&$datadir&g
12652  s&@docdir@&$docdir&g
12653  s&@infodir@&$infodir&g
12654  s&@localedir@&$localedir&g
12655  s&@mandir@&$mandir&g
12656  s&\\\${datarootdir}&$datarootdir&g' ;;
12657esac
12658_ACEOF
12659
12660# Neutralize VPATH when `$srcdir' = `.'.
12661# Shell code in configure.ac might set extrasub.
12662# FIXME: do we really want to maintain this feature?
12663cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12664ac_sed_extra="$ac_vpsub
12665$extrasub
12666_ACEOF
12667cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12668:t
12669/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12670s|@configure_input@|$ac_sed_conf_input|;t t
12671s&@top_builddir@&$ac_top_builddir_sub&;t t
12672s&@top_build_prefix@&$ac_top_build_prefix&;t t
12673s&@srcdir@&$ac_srcdir&;t t
12674s&@abs_srcdir@&$ac_abs_srcdir&;t t
12675s&@top_srcdir@&$ac_top_srcdir&;t t
12676s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12677s&@builddir@&$ac_builddir&;t t
12678s&@abs_builddir@&$ac_abs_builddir&;t t
12679s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12680s&@INSTALL@&$ac_INSTALL&;t t
12681s&@MKDIR_P@&$ac_MKDIR_P&;t t
12682$ac_datarootdir_hack
12683"
12684eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12685  || as_fn_error "could not create $ac_file" "$LINENO" 5
12686
12687test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12688  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12689  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12690  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12691which seems to be undefined.  Please make sure it is defined." >&5
12692$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12693which seems to be undefined.  Please make sure it is defined." >&2;}
12694
12695  rm -f "$tmp/stdin"
12696  case $ac_file in
12697  -) cat "$tmp/out" && rm -f "$tmp/out";;
12698  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12699  esac \
12700  || as_fn_error "could not create $ac_file" "$LINENO" 5
12701 ;;
12702  :H)
12703  #
12704  # CONFIG_HEADER
12705  #
12706  if test x"$ac_file" != x-; then
12707    {
12708      $as_echo "/* $configure_input  */" \
12709      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12710    } >"$tmp/config.h" \
12711      || as_fn_error "could not create $ac_file" "$LINENO" 5
12712    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12713      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12714$as_echo "$as_me: $ac_file is unchanged" >&6;}
12715    else
12716      rm -f "$ac_file"
12717      mv "$tmp/config.h" "$ac_file" \
12718	|| as_fn_error "could not create $ac_file" "$LINENO" 5
12719    fi
12720  else
12721    $as_echo "/* $configure_input  */" \
12722      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12723      || as_fn_error "could not create -" "$LINENO" 5
12724  fi
12725# Compute "$ac_file"'s index in $config_headers.
12726_am_arg="$ac_file"
12727_am_stamp_count=1
12728for _am_header in $config_headers :; do
12729  case $_am_header in
12730    $_am_arg | $_am_arg:* )
12731      break ;;
12732    * )
12733      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12734  esac
12735done
12736echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12737$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12738	 X"$_am_arg" : 'X\(//\)[^/]' \| \
12739	 X"$_am_arg" : 'X\(//\)$' \| \
12740	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12741$as_echo X"$_am_arg" |
12742    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12743	    s//\1/
12744	    q
12745	  }
12746	  /^X\(\/\/\)[^/].*/{
12747	    s//\1/
12748	    q
12749	  }
12750	  /^X\(\/\/\)$/{
12751	    s//\1/
12752	    q
12753	  }
12754	  /^X\(\/\).*/{
12755	    s//\1/
12756	    q
12757	  }
12758	  s/.*/./; q'`/stamp-h$_am_stamp_count
12759 ;;
12760
12761  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12762$as_echo "$as_me: executing $ac_file commands" >&6;}
12763 ;;
12764  esac
12765
12766
12767  case $ac_file$ac_mode in
12768    "default-1":C)
12769# Only add multilib support code if we just rebuilt the top-level
12770# Makefile.
12771case " $CONFIG_FILES " in
12772 *" Makefile "*)
12773   ac_file=Makefile . ${multi_basedir}/config-ml.in
12774   ;;
12775esac ;;
12776    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12777  # Autoconf 2.62 quotes --file arguments for eval, but not when files
12778  # are listed without --file.  Let's play safe and only enable the eval
12779  # if we detect the quoting.
12780  case $CONFIG_FILES in
12781  *\'*) eval set x "$CONFIG_FILES" ;;
12782  *)   set x $CONFIG_FILES ;;
12783  esac
12784  shift
12785  for mf
12786  do
12787    # Strip MF so we end up with the name of the file.
12788    mf=`echo "$mf" | sed -e 's/:.*$//'`
12789    # Check whether this is an Automake generated Makefile or not.
12790    # We used to match only the files named `Makefile.in', but
12791    # some people rename them; so instead we look at the file content.
12792    # Grep'ing the first line is not enough: some people post-process
12793    # each Makefile.in and add a new line on top of each file to say so.
12794    # Grep'ing the whole file is not good either: AIX grep has a line
12795    # limit of 2048, but all sed's we know have understand at least 4000.
12796    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12797      dirpart=`$as_dirname -- "$mf" ||
12798$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12799	 X"$mf" : 'X\(//\)[^/]' \| \
12800	 X"$mf" : 'X\(//\)$' \| \
12801	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12802$as_echo X"$mf" |
12803    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12804	    s//\1/
12805	    q
12806	  }
12807	  /^X\(\/\/\)[^/].*/{
12808	    s//\1/
12809	    q
12810	  }
12811	  /^X\(\/\/\)$/{
12812	    s//\1/
12813	    q
12814	  }
12815	  /^X\(\/\).*/{
12816	    s//\1/
12817	    q
12818	  }
12819	  s/.*/./; q'`
12820    else
12821      continue
12822    fi
12823    # Extract the definition of DEPDIR, am__include, and am__quote
12824    # from the Makefile without running `make'.
12825    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12826    test -z "$DEPDIR" && continue
12827    am__include=`sed -n 's/^am__include = //p' < "$mf"`
12828    test -z "am__include" && continue
12829    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12830    # When using ansi2knr, U may be empty or an underscore; expand it
12831    U=`sed -n 's/^U = //p' < "$mf"`
12832    # Find all dependency output files, they are included files with
12833    # $(DEPDIR) in their names.  We invoke sed twice because it is the
12834    # simplest approach to changing $(DEPDIR) to its actual value in the
12835    # expansion.
12836    for file in `sed -n "
12837      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12838	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12839      # Make sure the directory exists.
12840      test -f "$dirpart/$file" && continue
12841      fdir=`$as_dirname -- "$file" ||
12842$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12843	 X"$file" : 'X\(//\)[^/]' \| \
12844	 X"$file" : 'X\(//\)$' \| \
12845	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12846$as_echo X"$file" |
12847    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12848	    s//\1/
12849	    q
12850	  }
12851	  /^X\(\/\/\)[^/].*/{
12852	    s//\1/
12853	    q
12854	  }
12855	  /^X\(\/\/\)$/{
12856	    s//\1/
12857	    q
12858	  }
12859	  /^X\(\/\).*/{
12860	    s//\1/
12861	    q
12862	  }
12863	  s/.*/./; q'`
12864      as_dir=$dirpart/$fdir; as_fn_mkdir_p
12865      # echo "creating $dirpart/$file"
12866      echo '# dummy' > "$dirpart/$file"
12867    done
12868  done
12869}
12870 ;;
12871    "libtool":C)
12872
12873    # See if we are running on zsh, and set the options which allow our
12874    # commands through without removal of \ escapes.
12875    if test -n "${ZSH_VERSION+set}" ; then
12876      setopt NO_GLOB_SUBST
12877    fi
12878
12879    cfgfile="${ofile}T"
12880    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12881    $RM "$cfgfile"
12882
12883    cat <<_LT_EOF >> "$cfgfile"
12884#! $SHELL
12885
12886# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12887# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12888# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12889# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12890#
12891#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12892#                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
12893#   Written by Gordon Matzigkeit, 1996
12894#
12895#   This file is part of GNU Libtool.
12896#
12897# GNU Libtool is free software; you can redistribute it and/or
12898# modify it under the terms of the GNU General Public License as
12899# published by the Free Software Foundation; either version 2 of
12900# the License, or (at your option) any later version.
12901#
12902# As a special exception to the GNU General Public License,
12903# if you distribute this file as part of a program or library that
12904# is built using GNU Libtool, you may include this file under the
12905# same distribution terms that you use for the rest of that program.
12906#
12907# GNU Libtool is distributed in the hope that it will be useful,
12908# but WITHOUT ANY WARRANTY; without even the implied warranty of
12909# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12910# GNU General Public License for more details.
12911#
12912# You should have received a copy of the GNU General Public License
12913# along with GNU Libtool; see the file COPYING.  If not, a copy
12914# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12915# obtained by writing to the Free Software Foundation, Inc.,
12916# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12917
12918
12919# The names of the tagged configurations supported by this script.
12920available_tags=""
12921
12922# ### BEGIN LIBTOOL CONFIG
12923
12924# Which release of libtool.m4 was used?
12925macro_version=$macro_version
12926macro_revision=$macro_revision
12927
12928# Whether or not to build shared libraries.
12929build_libtool_libs=$enable_shared
12930
12931# Whether or not to build static libraries.
12932build_old_libs=$enable_static
12933
12934# What type of objects to build.
12935pic_mode=$pic_mode
12936
12937# Whether or not to optimize for fast installation.
12938fast_install=$enable_fast_install
12939
12940# Shell to use when invoking shell scripts.
12941SHELL=$lt_SHELL
12942
12943# An echo program that protects backslashes.
12944ECHO=$lt_ECHO
12945
12946# The host system.
12947host_alias=$host_alias
12948host=$host
12949host_os=$host_os
12950
12951# The build system.
12952build_alias=$build_alias
12953build=$build
12954build_os=$build_os
12955
12956# A sed program that does not truncate output.
12957SED=$lt_SED
12958
12959# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12960Xsed="\$SED -e 1s/^X//"
12961
12962# A grep program that handles long lines.
12963GREP=$lt_GREP
12964
12965# An ERE matcher.
12966EGREP=$lt_EGREP
12967
12968# A literal string matcher.
12969FGREP=$lt_FGREP
12970
12971# A BSD- or MS-compatible name lister.
12972NM=$lt_NM
12973
12974# Whether we need soft or hard links.
12975LN_S=$lt_LN_S
12976
12977# What is the maximum length of a command?
12978max_cmd_len=$max_cmd_len
12979
12980# Object file suffix (normally "o").
12981objext=$ac_objext
12982
12983# Executable file suffix (normally "").
12984exeext=$exeext
12985
12986# whether the shell understands "unset".
12987lt_unset=$lt_unset
12988
12989# turn spaces into newlines.
12990SP2NL=$lt_lt_SP2NL
12991
12992# turn newlines into spaces.
12993NL2SP=$lt_lt_NL2SP
12994
12995# An object symbol dumper.
12996OBJDUMP=$lt_OBJDUMP
12997
12998# Method to check whether dependent libraries are shared objects.
12999deplibs_check_method=$lt_deplibs_check_method
13000
13001# Command to use when deplibs_check_method == "file_magic".
13002file_magic_cmd=$lt_file_magic_cmd
13003
13004# The archiver.
13005AR=$lt_AR
13006AR_FLAGS=$lt_AR_FLAGS
13007
13008# A symbol stripping program.
13009STRIP=$lt_STRIP
13010
13011# Commands used to install an old-style archive.
13012RANLIB=$lt_RANLIB
13013old_postinstall_cmds=$lt_old_postinstall_cmds
13014old_postuninstall_cmds=$lt_old_postuninstall_cmds
13015
13016# Whether to use a lock for old archive extraction.
13017lock_old_archive_extraction=$lock_old_archive_extraction
13018
13019# A C compiler.
13020LTCC=$lt_CC
13021
13022# LTCC compiler flags.
13023LTCFLAGS=$lt_CFLAGS
13024
13025# Take the output of nm and produce a listing of raw symbols and C names.
13026global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13027
13028# Transform the output of nm in a proper C declaration.
13029global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13030
13031# Transform the output of nm in a C name address pair.
13032global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13033
13034# Transform the output of nm in a C name address pair when lib prefix is needed.
13035global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13036
13037# The name of the directory that contains temporary libtool files.
13038objdir=$objdir
13039
13040# Used to examine libraries when file_magic_cmd begins with "file".
13041MAGIC_CMD=$MAGIC_CMD
13042
13043# Must we lock files when doing compilation?
13044need_locks=$lt_need_locks
13045
13046# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13047DSYMUTIL=$lt_DSYMUTIL
13048
13049# Tool to change global to local symbols on Mac OS X.
13050NMEDIT=$lt_NMEDIT
13051
13052# Tool to manipulate fat objects and archives on Mac OS X.
13053LIPO=$lt_LIPO
13054
13055# ldd/readelf like tool for Mach-O binaries on Mac OS X.
13056OTOOL=$lt_OTOOL
13057
13058# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13059OTOOL64=$lt_OTOOL64
13060
13061# Old archive suffix (normally "a").
13062libext=$libext
13063
13064# Shared library suffix (normally ".so").
13065shrext_cmds=$lt_shrext_cmds
13066
13067# The commands to extract the exported symbol list from a shared archive.
13068extract_expsyms_cmds=$lt_extract_expsyms_cmds
13069
13070# Variables whose values should be saved in libtool wrapper scripts and
13071# restored at link time.
13072variables_saved_for_relink=$lt_variables_saved_for_relink
13073
13074# Do we need the "lib" prefix for modules?
13075need_lib_prefix=$need_lib_prefix
13076
13077# Do we need a version for libraries?
13078need_version=$need_version
13079
13080# Library versioning type.
13081version_type=$version_type
13082
13083# Shared library runtime path variable.
13084runpath_var=$runpath_var
13085
13086# Shared library path variable.
13087shlibpath_var=$shlibpath_var
13088
13089# Is shlibpath searched before the hard-coded library search path?
13090shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13091
13092# Format of library name prefix.
13093libname_spec=$lt_libname_spec
13094
13095# List of archive names.  First name is the real one, the rest are links.
13096# The last name is the one that the linker finds with -lNAME
13097library_names_spec=$lt_library_names_spec
13098
13099# The coded name of the library, if different from the real name.
13100soname_spec=$lt_soname_spec
13101
13102# Permission mode override for installation of shared libraries.
13103install_override_mode=$lt_install_override_mode
13104
13105# Command to use after installation of a shared archive.
13106postinstall_cmds=$lt_postinstall_cmds
13107
13108# Command to use after uninstallation of a shared archive.
13109postuninstall_cmds=$lt_postuninstall_cmds
13110
13111# Commands used to finish a libtool library installation in a directory.
13112finish_cmds=$lt_finish_cmds
13113
13114# As "finish_cmds", except a single script fragment to be evaled but
13115# not shown.
13116finish_eval=$lt_finish_eval
13117
13118# Whether we should hardcode library paths into libraries.
13119hardcode_into_libs=$hardcode_into_libs
13120
13121# Compile-time system search path for libraries.
13122sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13123
13124# Run-time system search path for libraries.
13125sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13126
13127# Whether dlopen is supported.
13128dlopen_support=$enable_dlopen
13129
13130# Whether dlopen of programs is supported.
13131dlopen_self=$enable_dlopen_self
13132
13133# Whether dlopen of statically linked programs is supported.
13134dlopen_self_static=$enable_dlopen_self_static
13135
13136# Commands to strip libraries.
13137old_striplib=$lt_old_striplib
13138striplib=$lt_striplib
13139
13140
13141# The linker used to build libraries.
13142LD=$lt_LD
13143
13144# How to create reloadable object files.
13145reload_flag=$lt_reload_flag
13146reload_cmds=$lt_reload_cmds
13147
13148# Commands used to build an old-style archive.
13149old_archive_cmds=$lt_old_archive_cmds
13150
13151# A language specific compiler.
13152CC=$lt_compiler
13153
13154# Is the compiler the GNU compiler?
13155with_gcc=$GCC
13156
13157# Compiler flag to turn off builtin functions.
13158no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13159
13160# How to pass a linker flag through the compiler.
13161wl=$lt_lt_prog_compiler_wl
13162
13163# Additional compiler flags for building library objects.
13164pic_flag=$lt_lt_prog_compiler_pic
13165
13166# Compiler flag to prevent dynamic linking.
13167link_static_flag=$lt_lt_prog_compiler_static
13168
13169# Does compiler simultaneously support -c and -o options?
13170compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13171
13172# Whether or not to add -lc for building shared libraries.
13173build_libtool_need_lc=$archive_cmds_need_lc
13174
13175# Whether or not to disallow shared libs when runtime libs are static.
13176allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13177
13178# Compiler flag to allow reflexive dlopens.
13179export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13180
13181# Compiler flag to generate shared objects directly from archives.
13182whole_archive_flag_spec=$lt_whole_archive_flag_spec
13183
13184# Whether the compiler copes with passing no objects directly.
13185compiler_needs_object=$lt_compiler_needs_object
13186
13187# Create an old-style archive from a shared archive.
13188old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13189
13190# Create a temporary old-style archive to link instead of a shared archive.
13191old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13192
13193# Commands used to build a shared archive.
13194archive_cmds=$lt_archive_cmds
13195archive_expsym_cmds=$lt_archive_expsym_cmds
13196
13197# Commands used to build a loadable module if different from building
13198# a shared archive.
13199module_cmds=$lt_module_cmds
13200module_expsym_cmds=$lt_module_expsym_cmds
13201
13202# Whether we are building with GNU ld or not.
13203with_gnu_ld=$lt_with_gnu_ld
13204
13205# Flag that allows shared libraries with undefined symbols to be built.
13206allow_undefined_flag=$lt_allow_undefined_flag
13207
13208# Flag that enforces no undefined symbols.
13209no_undefined_flag=$lt_no_undefined_flag
13210
13211# Flag to hardcode \$libdir into a binary during linking.
13212# This must work even if \$libdir does not exist
13213hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13214
13215# If ld is used when linking, flag to hardcode \$libdir into a binary
13216# during linking.  This must work even if \$libdir does not exist.
13217hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13218
13219# Whether we need a single "-rpath" flag with a separated argument.
13220hardcode_libdir_separator=$lt_hardcode_libdir_separator
13221
13222# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13223# DIR into the resulting binary.
13224hardcode_direct=$hardcode_direct
13225
13226# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13227# DIR into the resulting binary and the resulting library dependency is
13228# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13229# library is relocated.
13230hardcode_direct_absolute=$hardcode_direct_absolute
13231
13232# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13233# into the resulting binary.
13234hardcode_minus_L=$hardcode_minus_L
13235
13236# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13237# into the resulting binary.
13238hardcode_shlibpath_var=$hardcode_shlibpath_var
13239
13240# Set to "yes" if building a shared library automatically hardcodes DIR
13241# into the library and all subsequent libraries and executables linked
13242# against it.
13243hardcode_automatic=$hardcode_automatic
13244
13245# Set to yes if linker adds runtime paths of dependent libraries
13246# to runtime path list.
13247inherit_rpath=$inherit_rpath
13248
13249# Whether libtool must link a program against all its dependency libraries.
13250link_all_deplibs=$link_all_deplibs
13251
13252# Fix the shell variable \$srcfile for the compiler.
13253fix_srcfile_path=$lt_fix_srcfile_path
13254
13255# Set to "yes" if exported symbols are required.
13256always_export_symbols=$always_export_symbols
13257
13258# The commands to list exported symbols.
13259export_symbols_cmds=$lt_export_symbols_cmds
13260
13261# Symbols that should not be listed in the preloaded symbols.
13262exclude_expsyms=$lt_exclude_expsyms
13263
13264# Symbols that must always be exported.
13265include_expsyms=$lt_include_expsyms
13266
13267# Commands necessary for linking programs (against libraries) with templates.
13268prelink_cmds=$lt_prelink_cmds
13269
13270# Specify filename containing input files.
13271file_list_spec=$lt_file_list_spec
13272
13273# How to hardcode a shared library path into an executable.
13274hardcode_action=$hardcode_action
13275
13276# ### END LIBTOOL CONFIG
13277
13278_LT_EOF
13279
13280  case $host_os in
13281  aix3*)
13282    cat <<\_LT_EOF >> "$cfgfile"
13283# AIX sometimes has problems with the GCC collect2 program.  For some
13284# reason, if we set the COLLECT_NAMES environment variable, the problems
13285# vanish in a puff of smoke.
13286if test "X${COLLECT_NAMES+set}" != Xset; then
13287  COLLECT_NAMES=
13288  export COLLECT_NAMES
13289fi
13290_LT_EOF
13291    ;;
13292  esac
13293
13294
13295ltmain="$ac_aux_dir/ltmain.sh"
13296
13297
13298  # We use sed instead of cat because bash on DJGPP gets confused if
13299  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13300  # text mode, it properly converts lines to CR/LF.  This bash problem
13301  # is reportedly fixed, but why not run on old versions too?
13302  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13303    || (rm -f "$cfgfile"; exit 1)
13304
13305  case $xsi_shell in
13306  yes)
13307    cat << \_LT_EOF >> "$cfgfile"
13308
13309# func_dirname file append nondir_replacement
13310# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13311# otherwise set result to NONDIR_REPLACEMENT.
13312func_dirname ()
13313{
13314  case ${1} in
13315    */*) func_dirname_result="${1%/*}${2}" ;;
13316    *  ) func_dirname_result="${3}" ;;
13317  esac
13318}
13319
13320# func_basename file
13321func_basename ()
13322{
13323  func_basename_result="${1##*/}"
13324}
13325
13326# func_dirname_and_basename file append nondir_replacement
13327# perform func_basename and func_dirname in a single function
13328# call:
13329#   dirname:  Compute the dirname of FILE.  If nonempty,
13330#             add APPEND to the result, otherwise set result
13331#             to NONDIR_REPLACEMENT.
13332#             value returned in "$func_dirname_result"
13333#   basename: Compute filename of FILE.
13334#             value retuned in "$func_basename_result"
13335# Implementation must be kept synchronized with func_dirname
13336# and func_basename. For efficiency, we do not delegate to
13337# those functions but instead duplicate the functionality here.
13338func_dirname_and_basename ()
13339{
13340  case ${1} in
13341    */*) func_dirname_result="${1%/*}${2}" ;;
13342    *  ) func_dirname_result="${3}" ;;
13343  esac
13344  func_basename_result="${1##*/}"
13345}
13346
13347# func_stripname prefix suffix name
13348# strip PREFIX and SUFFIX off of NAME.
13349# PREFIX and SUFFIX must not contain globbing or regex special
13350# characters, hashes, percent signs, but SUFFIX may contain a leading
13351# dot (in which case that matches only a dot).
13352func_stripname ()
13353{
13354  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13355  # positional parameters, so assign one to ordinary parameter first.
13356  func_stripname_result=${3}
13357  func_stripname_result=${func_stripname_result#"${1}"}
13358  func_stripname_result=${func_stripname_result%"${2}"}
13359}
13360
13361# func_opt_split
13362func_opt_split ()
13363{
13364  func_opt_split_opt=${1%%=*}
13365  func_opt_split_arg=${1#*=}
13366}
13367
13368# func_lo2o object
13369func_lo2o ()
13370{
13371  case ${1} in
13372    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13373    *)    func_lo2o_result=${1} ;;
13374  esac
13375}
13376
13377# func_xform libobj-or-source
13378func_xform ()
13379{
13380  func_xform_result=${1%.*}.lo
13381}
13382
13383# func_arith arithmetic-term...
13384func_arith ()
13385{
13386  func_arith_result=$(( $* ))
13387}
13388
13389# func_len string
13390# STRING may not start with a hyphen.
13391func_len ()
13392{
13393  func_len_result=${#1}
13394}
13395
13396_LT_EOF
13397    ;;
13398  *) # Bourne compatible functions.
13399    cat << \_LT_EOF >> "$cfgfile"
13400
13401# func_dirname file append nondir_replacement
13402# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13403# otherwise set result to NONDIR_REPLACEMENT.
13404func_dirname ()
13405{
13406  # Extract subdirectory from the argument.
13407  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
13408  if test "X$func_dirname_result" = "X${1}"; then
13409    func_dirname_result="${3}"
13410  else
13411    func_dirname_result="$func_dirname_result${2}"
13412  fi
13413}
13414
13415# func_basename file
13416func_basename ()
13417{
13418  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
13419}
13420
13421
13422# func_stripname prefix suffix name
13423# strip PREFIX and SUFFIX off of NAME.
13424# PREFIX and SUFFIX must not contain globbing or regex special
13425# characters, hashes, percent signs, but SUFFIX may contain a leading
13426# dot (in which case that matches only a dot).
13427# func_strip_suffix prefix name
13428func_stripname ()
13429{
13430  case ${2} in
13431    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13432    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13433  esac
13434}
13435
13436# sed scripts:
13437my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13438my_sed_long_arg='1s/^-[^=]*=//'
13439
13440# func_opt_split
13441func_opt_split ()
13442{
13443  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
13444  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
13445}
13446
13447# func_lo2o object
13448func_lo2o ()
13449{
13450  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
13451}
13452
13453# func_xform libobj-or-source
13454func_xform ()
13455{
13456  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
13457}
13458
13459# func_arith arithmetic-term...
13460func_arith ()
13461{
13462  func_arith_result=`expr "$@"`
13463}
13464
13465# func_len string
13466# STRING may not start with a hyphen.
13467func_len ()
13468{
13469  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13470}
13471
13472_LT_EOF
13473esac
13474
13475case $lt_shell_append in
13476  yes)
13477    cat << \_LT_EOF >> "$cfgfile"
13478
13479# func_append var value
13480# Append VALUE to the end of shell variable VAR.
13481func_append ()
13482{
13483  eval "$1+=\$2"
13484}
13485_LT_EOF
13486    ;;
13487  *)
13488    cat << \_LT_EOF >> "$cfgfile"
13489
13490# func_append var value
13491# Append VALUE to the end of shell variable VAR.
13492func_append ()
13493{
13494  eval "$1=\$$1\$2"
13495}
13496
13497_LT_EOF
13498    ;;
13499  esac
13500
13501
13502  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13503    || (rm -f "$cfgfile"; exit 1)
13504
13505  mv -f "$cfgfile" "$ofile" ||
13506    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13507  chmod +x "$ofile"
13508
13509 ;;
13510
13511  esac
13512done # for ac_tag
13513
13514
13515as_fn_exit 0
13516_ACEOF
13517ac_clean_files=$ac_clean_files_save
13518
13519test $ac_write_fail = 0 ||
13520  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
13521
13522
13523# configure is writing to config.log, and then calls config.status.
13524# config.status does its own redirection, appending to config.log.
13525# Unfortunately, on DOS this fails, as config.log is still kept open
13526# by configure, so config.status won't be able to write to it; its
13527# output is simply discarded.  So we exec the FD to /dev/null,
13528# effectively closing config.log, so it can be properly (re)opened and
13529# appended to by config.status.  When coming back to configure, we
13530# need to make the FD available again.
13531if test "$no_create" != yes; then
13532  ac_cs_success=:
13533  ac_config_status_args=
13534  test "$silent" = yes &&
13535    ac_config_status_args="$ac_config_status_args --quiet"
13536  exec 5>/dev/null
13537  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13538  exec 5>>config.log
13539  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13540  # would make configure fail if this is the last instruction.
13541  $ac_cs_success || as_fn_exit $?
13542fi
13543if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13544  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13545$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13546fi
13547
13548