source: trunk/configure @ 289

Last change on this file since 289 was 289, checked in by kulshres, 7 years ago

regenerate files

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

File size: 597.4 KB
<
Line 
1#! /bin/sh
2# From configure.ac Revision.
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.68 for adolc 2.2.1-trunk.
5#
6# Report bugs to <adol-c@list.coin-or.org>.
7#
8#
9# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11# Foundation, Inc.
12#
13#
14# This configure script is free software; the Free Software Foundation
15# gives unlimited permission to copy, distribute and modify it.
16## -------------------- ##
17## M4sh Initialization. ##
18## -------------------- ##
19
20# Be more Bourne compatible
21DUALCASE=1; export DUALCASE # for MKS sh
22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23  emulate sh
24  NULLCMD=:
25  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26  # is contrary to our usage.  Disable this feature.
27  alias -g '${1+"$@"}'='"$@"'
28  setopt NO_GLOB_SUBST
29else
30  case `(set -o) 2>/dev/null` in #(
31  *posix*) :
32    set -o posix ;; #(
33  *) :
34     ;;
35esac
36fi
37
38
39as_nl='
40'
41export as_nl
42# Printing a long string crashes Solaris 7 /usr/bin/printf.
43as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46# Prefer a ksh shell builtin over an external printf program on Solaris,
47# but without wasting forks for bash or zsh.
48if test -z "$BASH_VERSION$ZSH_VERSION" \
49    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='print -r --'
51  as_echo_n='print -rn --'
52elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53  as_echo='printf %s\n'
54  as_echo_n='printf %s'
55else
56  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58    as_echo_n='/usr/ucb/echo -n'
59  else
60    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61    as_echo_n_body='eval
62      arg=$1;
63      case $arg in #(
64      *"$as_nl"*)
65        expr "X$arg" : "X\\(.*\\)$as_nl";
66        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67      esac;
68      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69    '
70    export as_echo_n_body
71    as_echo_n='sh -c $as_echo_n_body as_echo'
72  fi
73  export as_echo_body
74  as_echo='sh -c $as_echo_body as_echo'
75fi
76
77# The user is always right.
78if test "${PATH_SEPARATOR+set}" != set; then
79  PATH_SEPARATOR=:
80  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82      PATH_SEPARATOR=';'
83  }
84fi
85
86
87# IFS
88# We need space, tab and new line, in precisely that order.  Quoting is
89# there to prevent editors from complaining about space-tab.
90# (If _AS_PATH_WALK were called with IFS unset, it would disable word
91# splitting by setting IFS to empty value.)
92IFS=" ""        $as_nl"
93
94# Find who we are.  Look in the path if we contain no directory separator.
95as_myself=
96case $0 in #((
97  *[\\/]* ) as_myself=$0 ;;
98  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99for as_dir in $PATH
100do
101  IFS=$as_save_IFS
102  test -z "$as_dir" && as_dir=.
103    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104  done
105IFS=$as_save_IFS
106
107     ;;
108esac
109# We did not find ourselves, most probably we were run as `sh COMMAND'
110# in which case we are not to be found in the path.
111if test "x$as_myself" = x; then
112  as_myself=$0
113fi
114if test ! -f "$as_myself"; then
115  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116  exit 1
117fi
118
119# Unset variables that we do not need and which cause bugs (e.g. in
120# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
121# suppresses any "Segmentation fault" message there.  '((' could
122# trigger a bug in pdksh 5.2.14.
123for as_var in BASH_ENV ENV MAIL MAILPATH
124do eval test x\${$as_var+set} = xset \
125  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
126done
127PS1='$ '
128PS2='> '
129PS4='+ '
130
131# NLS nuisances.
132LC_ALL=C
133export LC_ALL
134LANGUAGE=C
135export LANGUAGE
136
137# CDPATH.
138(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
140if test "x$CONFIG_SHELL" = x; then
141  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142  emulate sh
143  NULLCMD=:
144  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145  # is contrary to our usage.  Disable this feature.
146  alias -g '\${1+\"\$@\"}'='\"\$@\"'
147  setopt NO_GLOB_SUBST
148else
149  case \`(set -o) 2>/dev/null\` in #(
150  *posix*) :
151    set -o posix ;; #(
152  *) :
153     ;;
154esac
155fi
156"
157  as_required="as_fn_return () { (exit \$1); }
158as_fn_success () { as_fn_return 0; }
159as_fn_failure () { as_fn_return 1; }
160as_fn_ret_success () { return 0; }
161as_fn_ret_failure () { return 1; }
162
163exitcode=0
164as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
170else
171  exitcode=1; echo positional parameters were not saved.
172fi
173test x\$exitcode = x0 || exit 1"
174  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
175  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178
179  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183    PATH=/empty FPATH=/empty; export PATH FPATH
184    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
186test \$(( 1 + 1 )) = 2 || exit 1"
187  if (eval "$as_required") 2>/dev/null; then :
188  as_have_required=yes
189else
190  as_have_required=no
191fi
192  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
193
194else
195  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196as_found=false
197for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
198do
199  IFS=$as_save_IFS
200  test -z "$as_dir" && as_dir=.
201  as_found=:
202  case $as_dir in #(
203         /*)
204           for as_base in sh bash ksh sh5; do
205             # Try only shells that exist, to save several forks.
206             as_shell=$as_dir/$as_base
207             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
208                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
209  CONFIG_SHELL=$as_shell as_have_required=yes
210                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
211  break 2
212fi
213fi
214           done;;
215       esac
216  as_found=false
217done
218$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
219              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
220  CONFIG_SHELL=$SHELL as_have_required=yes
221fi; }
222IFS=$as_save_IFS
223
224
225      if test "x$CONFIG_SHELL" != x; then :
226  # We cannot yet assume a decent shell, so we have to provide a
227        # neutralization value for shells without unset; and this also
228        # works around shells that cannot unset nonexistent variables.
229        # Preserve -v and -x to the replacement shell.
230        BASH_ENV=/dev/null
231        ENV=/dev/null
232        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
233        export CONFIG_SHELL
234        case $- in # ((((
235          *v*x* | *x*v* ) as_opts=-vx ;;
236          *v* ) as_opts=-v ;;
237          *x* ) as_opts=-x ;;
238          * ) as_opts= ;;
239        esac
240        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
241fi
242
243    if test x$as_have_required = xno; then :
244  $as_echo "$0: This script requires a shell more modern than all"
245  $as_echo "$0: the shells that I found on your system."
246  if test x${ZSH_VERSION+set} = xset ; then
247    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
248    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249  else
250    $as_echo "$0: Please tell bug-autoconf@gnu.org and
251$0: adol-c@list.coin-or.org about your system, including
252$0: any error possibly output before this message. Then
253$0: install a modern shell, or manually run the script
254$0: under such a shell if you do have one."
255  fi
256  exit 1
257fi
258fi
259fi
260SHELL=${CONFIG_SHELL-/bin/sh}
261export SHELL
262# Unset more variables known to interfere with behavior of common tools.
263CLICOLOR_FORCE= GREP_OPTIONS=
264unset CLICOLOR_FORCE GREP_OPTIONS
265
266## --------------------- ##
267## M4sh Shell Functions. ##
268## --------------------- ##
269# as_fn_unset VAR
270# ---------------
271# Portably unset VAR.
272as_fn_unset ()
273{
274  { eval $1=; unset $1;}
275}
276as_unset=as_fn_unset
277
278# as_fn_set_status STATUS
279# -----------------------
280# Set $? to STATUS, without forking.
281as_fn_set_status ()
282{
283  return $1
284} # as_fn_set_status
285
286# as_fn_exit STATUS
287# -----------------
288# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289as_fn_exit ()
290{
291  set +e
292  as_fn_set_status $1
293  exit $1
294} # as_fn_exit
295
296# as_fn_mkdir_p
297# -------------
298# Create "$as_dir" as a directory, including parents if necessary.
299as_fn_mkdir_p ()
300{
301
302  case $as_dir in #(
303  -*) as_dir=./$as_dir;;
304  esac
305  test -d "$as_dir" || eval $as_mkdir_p || {
306    as_dirs=
307    while :; do
308      case $as_dir in #(
309      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310      *) as_qdir=$as_dir;;
311      esac
312      as_dirs="'$as_qdir' $as_dirs"
313      as_dir=`$as_dirname -- "$as_dir" ||
314$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315         X"$as_dir" : 'X\(//\)[^/]' \| \
316         X"$as_dir" : 'X\(//\)$' \| \
317         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318$as_echo X"$as_dir" |
319    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320            s//\1/
321            q
322          }
323          /^X\(\/\/\)[^/].*/{
324            s//\1/
325            q
326          }
327          /^X\(\/\/\)$/{
328            s//\1/
329            q
330          }
331          /^X\(\/\).*/{
332            s//\1/
333            q
334          }
335          s/.*/./; q'`
336      test -d "$as_dir" && break
337    done
338    test -z "$as_dirs" || eval "mkdir $as_dirs"
339  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
341
342} # as_fn_mkdir_p
343# as_fn_append VAR VALUE
344# ----------------------
345# Append the text in VALUE to the end of the definition contained in VAR. Take
346# advantage of any shell optimizations that allow amortized linear growth over
347# repeated appends, instead of the typical quadratic growth present in naive
348# implementations.
349if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350  eval 'as_fn_append ()
351  {
352    eval $1+=\$2
353  }'
354else
355  as_fn_append ()
356  {
357    eval $1=\$$1\$2
358  }
359fi # as_fn_append
360
361# as_fn_arith ARG...
362# ------------------
363# Perform arithmetic evaluation on the ARGs, and store the result in the
364# global $as_val. Take advantage of shells that can avoid forks. The arguments
365# must be portable across $(()) and expr.
366if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367  eval 'as_fn_arith ()
368  {
369    as_val=$(( $* ))
370  }'
371else
372  as_fn_arith ()
373  {
374    as_val=`expr "$@" || test $? -eq 1`
375  }
376fi # as_fn_arith
377
378
379# as_fn_error STATUS ERROR [LINENO LOG_FD]
380# ----------------------------------------
381# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383# script with STATUS, using 1 if that was 0.
384as_fn_error ()
385{
386  as_status=$1; test $as_status -eq 0 && as_status=1
387  if test "$4"; then
388    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390  fi
391  $as_echo "$as_me: error: $2" >&2
392  as_fn_exit $as_status
393} # as_fn_error
394
395if expr a : '\(a\)' >/dev/null 2>&1 &&
396   test "X`expr 00001 : '.*\(...\)'`" = X001; then
397  as_expr=expr
398else
399  as_expr=false
400fi
401
402if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403  as_basename=basename
404else
405  as_basename=false
406fi
407
408if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409  as_dirname=dirname
410else
411  as_dirname=false
412fi
413
414as_me=`$as_basename -- "$0" ||
415$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416         X"$0" : 'X\(//\)$' \| \
417         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418$as_echo X/"$0" |
419    sed '/^.*\/\([^/][^/]*\)\/*$/{
420            s//\1/
421            q
422          }
423          /^X\/\(\/\/\)$/{
424            s//\1/
425            q
426          }
427          /^X\/\(\/\).*/{
428            s//\1/
429            q
430          }
431          s/.*/./; q'`
432
433# Avoid depending upon Character Ranges.
434as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437as_cr_digits='0123456789'
438as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441  as_lineno_1=$LINENO as_lineno_1a=$LINENO
442  as_lineno_2=$LINENO as_lineno_2a=$LINENO
443  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
446  sed -n '
447    p
448    /[$]LINENO/=
449  ' <$as_myself |
450    sed '
451      s/[$]LINENO.*/&-/
452      t lineno
453      b
454      :lineno
455      N
456      :loop
457      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458      t loop
459      s/-\n.*//
460    ' >$as_me.lineno &&
461  chmod +x "$as_me.lineno" ||
462    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
464  # Don't try to exec as it changes $[0], causing all sort of problems
465  # (the dirname of $[0] is not the place where we might find the
466  # original and so on.  Autoconf is especially sensitive to this).
467  . "./$as_me.lineno"
468  # Exit status is that of the last command.
469  exit
470}
471
472ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in #(((((
474-n*)
475  case `echo 'xy\c'` in
476  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477  xy)  ECHO_C='\c';;
478  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479       ECHO_T=' ';;
480  esac;;
481*)
482  ECHO_N='-n';;
483esac
484
485rm -f conf$$ conf$$.exe conf$$.file
486if test -d conf$$.dir; then
487  rm -f conf$$.dir/conf$$.file
488else
489  rm -f conf$$.dir
490  mkdir conf$$.dir 2>/dev/null
491fi
492if (echo >conf$$.file) 2>/dev/null; then
493  if ln -s conf$$.file conf$$ 2>/dev/null; then
494    as_ln_s='ln -s'
495    # ... but there are two gotchas:
496    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498    # In both cases, we have to default to `cp -p'.
499    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500      as_ln_s='cp -p'
501  elif ln conf$$.file conf$$ 2>/dev/null; then
502    as_ln_s=ln
503  else
504    as_ln_s='cp -p'
505  fi
506else
507  as_ln_s='cp -p'
508fi
509rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510rmdir conf$$.dir 2>/dev/null
511
512if mkdir -p . 2>/dev/null; then
513  as_mkdir_p='mkdir -p "$as_dir"'
514else
515  test -d ./-p && rmdir ./-p
516  as_mkdir_p=false
517fi
518
519if test -x / >/dev/null 2>&1; then
520  as_test_x='test -x'
521else
522  if ls -dL / >/dev/null 2>&1; then
523    as_ls_L_option=L
524  else
525    as_ls_L_option=
526  fi
527  as_test_x='
528    eval sh -c '\''
529      if test -d "$1"; then
530        test -d "$1/.";
531      else
532        case $1 in #(
533        -*)set "./$1";;
534        esac;
535        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536        ???[sx]*):;;*)false;;esac;fi
537    '\'' sh
538  '
539fi
540as_executable_p=$as_test_x
541
542# Sed expression to map a string onto a valid CPP name.
543as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545# Sed expression to map a string onto a valid variable name.
546as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548SHELL=${CONFIG_SHELL-/bin/sh}
549
550
551test -n "$DJDIR" || exec 7<&0 </dev/null
552exec 6>&1
553
554# Name of the host.
555# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556# so uname gets run too.
557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559#
560# Initializations.
561#
562ac_default_prefix=/usr/local
563ac_clean_files=
564ac_config_libobj_dir=.
565LIBOBJS=
566cross_compiling=no
567subdirs=
568MFLAGS=
569MAKEFLAGS=
570
571# Identity of this package.
572PACKAGE_NAME='adolc'
573PACKAGE_TARNAME='adolc'
574PACKAGE_VERSION='2.2.1-trunk'
575PACKAGE_STRING='adolc 2.2.1-trunk'
576PACKAGE_BUGREPORT='adol-c@list.coin-or.org'
577PACKAGE_URL=''
578
579ac_unique_file="ADOL-C/src/adolc.h"
580ac_default_prefix=${HOME}/adolc_base
581# Factoring default headers for most tests.
582ac_includes_default="\
583#include <stdio.h>
584#ifdef HAVE_SYS_TYPES_H
585# include <sys/types.h>
586#endif
587#ifdef HAVE_SYS_STAT_H
588# include <sys/stat.h>
589#endif
590#ifdef STDC_HEADERS
591# include <stdlib.h>
592# include <stddef.h>
593#else
594# ifdef HAVE_STDLIB_H
595#  include <stdlib.h>
596# endif
597#endif
598#ifdef HAVE_STRING_H
599# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
600#  include <memory.h>
601# endif
602# include <string.h>
603#endif
604#ifdef HAVE_STRINGS_H
605# include <strings.h>
606#endif
607#ifdef HAVE_INTTYPES_H
608# include <inttypes.h>
609#endif
610#ifdef HAVE_STDINT_H
611# include <stdint.h>
612#endif
613#ifdef HAVE_UNISTD_H
614# include <unistd.h>
615#endif"
616
617ac_subst_vars='am__EXEEXT_FALSE
618am__EXEEXT_TRUE
619LTLIBOBJS
620Q
621V
622MCS
623OBJC
624F77
625FC
626AM_MAKEFLAGS
627MAKEFLAGS
628shavedir
629ac_adolc_cxxflags
630ac_adolc_cflags
631PAREXA_FALSE
632PAREXA_TRUE
633ADDEXA_FALSE
634ADDEXA_TRUE
635DOCEXA_FALSE
636DOCEXA_TRUE
637COLPACK_LIBS
638COLPACK_CFLAGS
639SPARSE_FALSE
640SPARSE_TRUE
641HAVE_LIBCOLPACK_FALSE
642HAVE_LIBCOLPACK_TRUE
643ADOLC_PATCHLEVEL
644ADOLC_SUBVERSION
645ADOLC_VERSION
646ac_aux_dir
647LIBOBJS
648_lib
649LTCXXCOMPILE
650LTCOMPILE
651DOLT_BASH
652CXXCPP
653OTOOL64
654OTOOL
655LIPO
656NMEDIT
657DSYMUTIL
658MANIFEST_TOOL
659RANLIB
660ac_ct_AR
661AR
662NM
663ac_ct_DUMPBIN
664DUMPBIN
665LD
666FGREP
667EGREP
668GREP
669SED
670LIBTOOL
671OBJDUMP
672DLLTOOL
673AS
674host_os
675host_vendor
676host_cpu
677host
678build_os
679build_vendor
680build_cpu
681build
682LN_S
683CPP
684am__fastdepCC_FALSE
685am__fastdepCC_TRUE
686CCDEPMODE
687ac_ct_CC
688CFLAGS
689CC
690am__fastdepCXX_FALSE
691am__fastdepCXX_TRUE
692CXXDEPMODE
693AMDEPBACKSLASH
694AMDEP_FALSE
695AMDEP_TRUE
696am__quote
697am__include
698DEPDIR
699OBJEXT
700EXEEXT
701ac_ct_CXX
702CPPFLAGS
703LDFLAGS
704CXXFLAGS
705CXX
706am__untar
707am__tar
708AMTAR
709am__leading_dot
710SET_MAKE
711AWK
712mkdir_p
713MKDIR_P
714INSTALL_STRIP_PROGRAM
715STRIP
716install_sh
717MAKEINFO
718AUTOHEADER
719AUTOMAKE
720AUTOCONF
721ACLOCAL
722VERSION
723PACKAGE
724CYGPATH_W
725am__isrc
726INSTALL_DATA
727INSTALL_SCRIPT
728INSTALL_PROGRAM
729target_alias
730host_alias
731build_alias
732LIBS
733ECHO_T
734ECHO_N
735ECHO_C
736DEFS
737mandir
738localedir
739libdir
740psdir
741pdfdir
742dvidir
743htmldir
744infodir
745docdir
746oldincludedir
747includedir
748localstatedir
749sharedstatedir
750sysconfdir
751datadir
752datarootdir
753libexecdir
754sbindir
755bindir
756program_transform_name
757prefix
758exec_prefix
759PACKAGE_URL
760PACKAGE_BUGREPORT
761PACKAGE_STRING
762PACKAGE_VERSION
763PACKAGE_TARNAME
764PACKAGE_NAME
765PATH_SEPARATOR
766SHELL'
767ac_subst_files=''
768ac_user_opts='
769enable_option_checking
770enable_dependency_tracking
771enable_shared
772enable_static
773with_pic
774enable_fast_install
775with_gnu_ld
776with_sysroot
777enable_libtool_lock
778enable_debug
779enable_harddebug
780enable_stdczero
781enable_tserrno
782enable_safe_extern
783with_openmp_flag
784enable_sparse
785with_colpack
786enable_docexa
787enable_addexa
788enable_parexa
789with_cflags
790with_cxxflags
791enable_shave
792'
793      ac_precious_vars='build_alias
794host_alias
795target_alias
796CXX
797CXXFLAGS
798LDFLAGS
799LIBS
800CPPFLAGS
801CCC
802CC
803CFLAGS
804CPP
805CXXCPP'
806
807
808# Initialize some variables set by options.
809ac_init_help=
810ac_init_version=false
811ac_unrecognized_opts=
812ac_unrecognized_sep=
813# The variables have the same names as the options, with
814# dashes changed to underlines.
815cache_file=/dev/null
816exec_prefix=NONE
817no_create=
818no_recursion=
819prefix=NONE
820program_prefix=NONE
821program_suffix=NONE
822program_transform_name=s,x,x,
823silent=
824site=
825srcdir=
826verbose=
827x_includes=NONE
828x_libraries=NONE
829
830# Installation directory options.
831# These are left unexpanded so users can "make install exec_prefix=/foo"
832# and all the variables that are supposed to be based on exec_prefix
833# by default will actually change.
834# Use braces instead of parens because sh, perl, etc. also accept them.
835# (The list follows the same order as the GNU Coding Standards.)
836bindir='${exec_prefix}/bin'
837sbindir='${exec_prefix}/sbin'
838libexecdir='${exec_prefix}/libexec'
839datarootdir='${prefix}/share'
840datadir='${datarootdir}'
841sysconfdir='${prefix}/etc'
842sharedstatedir='${prefix}/com'
843localstatedir='${prefix}/var'
844includedir='${prefix}/include'
845oldincludedir='/usr/include'
846docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
847infodir='${datarootdir}/info'
848htmldir='${docdir}'
849dvidir='${docdir}'
850pdfdir='${docdir}'
851psdir='${docdir}'
852libdir='${exec_prefix}/lib'
853localedir='${datarootdir}/locale'
854mandir='${datarootdir}/man'
855
856ac_prev=
857ac_dashdash=
858for ac_option
859do
860  # If the previous option needs an argument, assign it.
861  if test -n "$ac_prev"; then
862    eval $ac_prev=\$ac_option
863    ac_prev=
864    continue
865  fi
866
867  case $ac_option in
868  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
869  *=)   ac_optarg= ;;
870  *)    ac_optarg=yes ;;
871  esac
872
873  # Accept the important Cygnus configure options, so we can diagnose typos.
874
875  case $ac_dashdash$ac_option in
876  --)
877    ac_dashdash=yes ;;
878
879  -bindir | --bindir | --bindi | --bind | --bin | --bi)
880    ac_prev=bindir ;;
881  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
882    bindir=$ac_optarg ;;
883
884  -build | --build | --buil | --bui | --bu)
885    ac_prev=build_alias ;;
886  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
887    build_alias=$ac_optarg ;;
888
889  -cache-file | --cache-file | --cache-fil | --cache-fi \
890  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
891    ac_prev=cache_file ;;
892  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
893  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
894    cache_file=$ac_optarg ;;
895
896  --config-cache | -C)
897    cache_file=config.cache ;;
898
899  -datadir | --datadir | --datadi | --datad)
900    ac_prev=datadir ;;
901  -datadir=* | --datadir=* | --datadi=* | --datad=*)
902    datadir=$ac_optarg ;;
903
904  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
905  | --dataroo | --dataro | --datar)
906    ac_prev=datarootdir ;;
907  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
908  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
909    datarootdir=$ac_optarg ;;
910
911  -disable-* | --disable-*)
912    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
913    # Reject names that are not valid shell variable names.
914    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
915      as_fn_error $? "invalid feature name: $ac_useropt"
916    ac_useropt_orig=$ac_useropt
917    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
918    case $ac_user_opts in
919      *"
920"enable_$ac_useropt"
921"*) ;;
922      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
923         ac_unrecognized_sep=', ';;
924    esac
925    eval enable_$ac_useropt=no ;;
926
927  -docdir | --docdir | --docdi | --doc | --do)
928    ac_prev=docdir ;;
929  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
930    docdir=$ac_optarg ;;
931
932  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
933    ac_prev=dvidir ;;
934  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
935    dvidir=$ac_optarg ;;
936
937  -enable-* | --enable-*)
938    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
939    # Reject names that are not valid shell variable names.
940    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
941      as_fn_error $? "invalid feature name: $ac_useropt"
942    ac_useropt_orig=$ac_useropt
943    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
944    case $ac_user_opts in
945      *"
946"enable_$ac_useropt"
947"*) ;;
948      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
949         ac_unrecognized_sep=', ';;
950    esac
951    eval enable_$ac_useropt=\$ac_optarg ;;
952
953  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
954  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
955  | --exec | --exe | --ex)
956    ac_prev=exec_prefix ;;
957  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
958  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
959  | --exec=* | --exe=* | --ex=*)
960    exec_prefix=$ac_optarg ;;
961
962  -gas | --gas | --ga | --g)
963    # Obsolete; use --with-gas.
964    with_gas=yes ;;
965
966  -help | --help | --hel | --he | -h)
967    ac_init_help=long ;;
968  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
969    ac_init_help=recursive ;;
970  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
971    ac_init_help=short ;;
972
973  -host | --host | --hos | --ho)
974    ac_prev=host_alias ;;
975  -host=* | --host=* | --hos=* | --ho=*)
976    host_alias=$ac_optarg ;;
977
978  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
979    ac_prev=htmldir ;;
980  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
981  | --ht=*)
982    htmldir=$ac_optarg ;;
983
984  -includedir | --includedir | --includedi | --included | --include \
985  | --includ | --inclu | --incl | --inc)
986    ac_prev=includedir ;;
987  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
988  | --includ=* | --inclu=* | --incl=* | --inc=*)
989    includedir=$ac_optarg ;;
990
991  -infodir | --infodir | --infodi | --infod | --info | --inf)
992    ac_prev=infodir ;;
993  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
994    infodir=$ac_optarg ;;
995
996  -libdir | --libdir | --libdi | --libd)
997    ac_prev=libdir ;;
998  -libdir=* | --libdir=* | --libdi=* | --libd=*)
999    libdir=$ac_optarg ;;
1000
1001  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1002  | --libexe | --libex | --libe)
1003    ac_prev=libexecdir ;;
1004  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1005  | --libexe=* | --libex=* | --libe=*)
1006    libexecdir=$ac_optarg ;;
1007
1008  -localedir | --localedir | --localedi | --localed | --locale)
1009    ac_prev=localedir ;;
1010  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1011    localedir=$ac_optarg ;;
1012
1013  -localstatedir | --localstatedir | --localstatedi | --localstated \
1014  | --localstate | --localstat | --localsta | --localst | --locals)
1015    ac_prev=localstatedir ;;
1016  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1017  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1018    localstatedir=$ac_optarg ;;
1019
1020  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1021    ac_prev=mandir ;;
1022  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1023    mandir=$ac_optarg ;;
1024
1025  -nfp | --nfp | --nf)
1026    # Obsolete; use --without-fp.
1027    with_fp=no ;;
1028
1029  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1030  | --no-cr | --no-c | -n)
1031    no_create=yes ;;
1032
1033  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1034  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1035    no_recursion=yes ;;
1036
1037  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1038  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1039  | --oldin | --oldi | --old | --ol | --o)
1040    ac_prev=oldincludedir ;;
1041  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1042  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1043  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1044    oldincludedir=$ac_optarg ;;
1045
1046  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1047    ac_prev=prefix ;;
1048  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1049    prefix=$ac_optarg ;;
1050
1051  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1052  | --program-pre | --program-pr | --program-p)
1053    ac_prev=program_prefix ;;
1054  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1055  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1056    program_prefix=$ac_optarg ;;
1057
1058  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1059  | --program-suf | --program-su | --program-s)
1060    ac_prev=program_suffix ;;
1061  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1062  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1063    program_suffix=$ac_optarg ;;
1064
1065  -program-transform-name | --program-transform-name \
1066  | --program-transform-nam | --program-transform-na \
1067  | --program-transform-n | --program-transform- \
1068  | --program-transform | --program-transfor \
1069  | --program-transfo | --program-transf \
1070  | --program-trans | --program-tran \
1071  | --progr-tra | --program-tr | --program-t)
1072    ac_prev=program_transform_name ;;
1073  -program-transform-name=* | --program-transform-name=* \
1074  | --program-transform-nam=* | --program-transform-na=* \
1075  | --program-transform-n=* | --program-transform-=* \
1076  | --program-transform=* | --program-transfor=* \
1077  | --program-transfo=* | --program-transf=* \
1078  | --program-trans=* | --program-tran=* \
1079  | --progr-tra=* | --program-tr=* | --program-t=*)
1080    program_transform_name=$ac_optarg ;;
1081
1082  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1083    ac_prev=pdfdir ;;
1084  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1085    pdfdir=$ac_optarg ;;
1086
1087  -psdir | --psdir | --psdi | --psd | --ps)
1088    ac_prev=psdir ;;
1089  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1090    psdir=$ac_optarg ;;
1091
1092  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1093  | -silent | --silent | --silen | --sile | --sil)
1094    silent=yes ;;
1095
1096  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1097    ac_prev=sbindir ;;
1098  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1099  | --sbi=* | --sb=*)
1100    sbindir=$ac_optarg ;;
1101
1102  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1103  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1104  | --sharedst | --shareds | --shared | --share | --shar \
1105  | --sha | --sh)
1106    ac_prev=sharedstatedir ;;
1107  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1108  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1109  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1110  | --sha=* | --sh=*)
1111    sharedstatedir=$ac_optarg ;;
1112
1113  -site | --site | --sit)
1114    ac_prev=site ;;
1115  -site=* | --site=* | --sit=*)
1116    site=$ac_optarg ;;
1117
1118  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1119    ac_prev=srcdir ;;
1120  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1121    srcdir=$ac_optarg ;;
1122
1123  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1124  | --syscon | --sysco | --sysc | --sys | --sy)
1125    ac_prev=sysconfdir ;;
1126  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1127  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1128    sysconfdir=$ac_optarg ;;
1129
1130  -target | --target | --targe | --targ | --tar | --ta | --t)
1131    ac_prev=target_alias ;;
1132  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1133    target_alias=$ac_optarg ;;
1134
1135  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1136    verbose=yes ;;
1137
1138  -version | --version | --versio | --versi | --vers | -V)
1139    ac_init_version=: ;;
1140
1141  -with-* | --with-*)
1142    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1143    # Reject names that are not valid shell variable names.
1144    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1145      as_fn_error $? "invalid package name: $ac_useropt"
1146    ac_useropt_orig=$ac_useropt
1147    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148    case $ac_user_opts in
1149      *"
1150"with_$ac_useropt"
1151"*) ;;
1152      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1153         ac_unrecognized_sep=', ';;
1154    esac
1155    eval with_$ac_useropt=\$ac_optarg ;;
1156
1157  -without-* | --without-*)
1158    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1159    # Reject names that are not valid shell variable names.
1160    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1161      as_fn_error $? "invalid package name: $ac_useropt"
1162    ac_useropt_orig=$ac_useropt
1163    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1164    case $ac_user_opts in
1165      *"
1166"with_$ac_useropt"
1167"*) ;;
1168      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1169         ac_unrecognized_sep=', ';;
1170    esac
1171    eval with_$ac_useropt=no ;;
1172
1173  --x)
1174    # Obsolete; use --with-x.
1175    with_x=yes ;;
1176
1177  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1178  | --x-incl | --x-inc | --x-in | --x-i)
1179    ac_prev=x_includes ;;
1180  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1181  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1182    x_includes=$ac_optarg ;;
1183
1184  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1185  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1186    ac_prev=x_libraries ;;
1187  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1188  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1189    x_libraries=$ac_optarg ;;
1190
1191  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1192Try \`$0 --help' for more information"
1193    ;;
1194
1195  *=*)
1196    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1197    # Reject names that are not valid shell variable names.
1198    case $ac_envvar in #(
1199      '' | [0-9]* | *[!_$as_cr_alnum]* )
1200      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1201    esac
1202    eval $ac_envvar=\$ac_optarg
1203    export $ac_envvar ;;
1204
1205  *)
1206    # FIXME: should be removed in autoconf 3.0.
1207    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1208    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1209      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1210    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1211    ;;
1212
1213  esac
1214done
1215
1216if test -n "$ac_prev"; then
1217  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1218  as_fn_error $? "missing argument to $ac_option"
1219fi
1220
1221if test -n "$ac_unrecognized_opts"; then
1222  case $enable_option_checking in
1223    no) ;;
1224    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1225    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1226  esac
1227fi
1228
1229# Check all directory arguments for consistency.
1230for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1231                datadir sysconfdir sharedstatedir localstatedir includedir \
1232                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1233                libdir localedir mandir
1234do
1235  eval ac_val=\$$ac_var
1236  # Remove trailing slashes.
1237  case $ac_val in
1238    */ )
1239      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1240      eval $ac_var=\$ac_val;;
1241  esac
1242  # Be sure to have absolute directory names.
1243  case $ac_val in
1244    [\\/$]* | ?:[\\/]* )  continue;;
1245    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1246  esac
1247  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1248done
1249
1250# There might be people who depend on the old broken behavior: `$host'
1251# used to hold the argument of --host etc.
1252# FIXME: To remove some day.
1253build=$build_alias
1254host=$host_alias
1255target=$target_alias
1256
1257# FIXME: To remove some day.
1258if test "x$host_alias" != x; then
1259  if test "x$build_alias" = x; then
1260    cross_compiling=maybe
1261    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1262    If a cross compiler is detected then cross compile mode will be used" >&2
1263  elif test "x$build_alias" != "x$host_alias"; then
1264    cross_compiling=yes
1265  fi
1266fi
1267
1268ac_tool_prefix=
1269test -n "$host_alias" && ac_tool_prefix=$host_alias-
1270
1271test "$silent" = yes && exec 6>/dev/null
1272
1273
1274ac_pwd=`pwd` && test -n "$ac_pwd" &&
1275ac_ls_di=`ls -di .` &&
1276ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1277  as_fn_error $? "working directory cannot be determined"
1278test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1279  as_fn_error $? "pwd does not report name of working directory"
1280
1281
1282# Find the source files, if location was not specified.
1283if test -z "$srcdir"; then
1284  ac_srcdir_defaulted=yes
1285  # Try the directory containing this script, then the parent directory.
1286  ac_confdir=`$as_dirname -- "$as_myself" ||
1287$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1288         X"$as_myself" : 'X\(//\)[^/]' \| \
1289         X"$as_myself" : 'X\(//\)$' \| \
1290         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1291$as_echo X"$as_myself" |
1292    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1293            s//\1/
1294            q
1295          }
1296          /^X\(\/\/\)[^/].*/{
1297            s//\1/
1298            q
1299          }
1300          /^X\(\/\/\)$/{
1301            s//\1/
1302            q
1303          }
1304          /^X\(\/\).*/{
1305            s//\1/
1306            q
1307          }
1308          s/.*/./; q'`
1309  srcdir=$ac_confdir
1310  if test ! -r "$srcdir/$ac_unique_file"; then
1311    srcdir=..
1312  fi
1313else
1314  ac_srcdir_defaulted=no
1315fi
1316if test ! -r "$srcdir/$ac_unique_file"; then
1317  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1318  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1319fi
1320ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1321ac_abs_confdir=`(
1322        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1323        pwd)`
1324# When building in place, set srcdir=.
1325if test "$ac_abs_confdir" = "$ac_pwd"; then
1326  srcdir=.
1327fi
1328# Remove unnecessary trailing slashes from srcdir.
1329# Double slashes in file names in object file debugging info
1330# mess up M-x gdb in Emacs.
1331case $srcdir in
1332*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1333esac
1334for ac_var in $ac_precious_vars; do
1335  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1336  eval ac_env_${ac_var}_value=\$${ac_var}
1337  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1338  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1339done
1340
1341#
1342# Report the --help message.
1343#
1344if test "$ac_init_help" = "long"; then
1345  # Omit some internal or obsolete options to make the list less imposing.
1346  # This message is too long to be a string in the A/UX 3.1 sh.
1347  cat <<_ACEOF
1348\`configure' configures adolc 2.2.1-trunk to adapt to many kinds of systems.
1349
1350Usage: $0 [OPTION]... [VAR=VALUE]...
1351
1352To assign environment variables (e.g., CC, CFLAGS...), specify them as
1353VAR=VALUE.  See below for descriptions of some of the useful variables.
1354
1355Defaults for the options are specified in brackets.
1356
1357Configuration:
1358  -h, --help              display this help and exit
1359      --help=short        display options specific to this package
1360      --help=recursive    display the short help of all the included packages
1361  -V, --version           display version information and exit
1362  -q, --quiet, --silent   do not print \`checking ...' messages
1363      --cache-file=FILE   cache test results in FILE [disabled]
1364  -C, --config-cache      alias for \`--cache-file=config.cache'
1365  -n, --no-create         do not create output files
1366      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1367
1368Installation directories:
1369  --prefix=PREFIX         install architecture-independent files in PREFIX
1370                          [$ac_default_prefix]
1371  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1372                          [PREFIX]
1373
1374By default, \`make install' will install all the files in
1375\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1376an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1377for instance \`--prefix=\$HOME'.
1378
1379For better control, use the options below.
1380
1381Fine tuning of the installation directories:
1382  --bindir=DIR            user executables [EPREFIX/bin]
1383  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1384  --libexecdir=DIR        program executables [EPREFIX/libexec]
1385  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1386  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1387  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1388  --libdir=DIR            object code libraries [EPREFIX/lib]
1389  --includedir=DIR        C header files [PREFIX/include]
1390  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1391  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1392  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1393  --infodir=DIR           info documentation [DATAROOTDIR/info]
1394  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1395  --mandir=DIR            man documentation [DATAROOTDIR/man]
1396  --docdir=DIR            documentation root [DATAROOTDIR/doc/adolc]
1397  --htmldir=DIR           html documentation [DOCDIR]
1398  --dvidir=DIR            dvi documentation [DOCDIR]
1399  --pdfdir=DIR            pdf documentation [DOCDIR]
1400  --psdir=DIR             ps documentation [DOCDIR]
1401_ACEOF
1402
1403  cat <<\_ACEOF
1404
1405Program names:
1406  --program-prefix=PREFIX            prepend PREFIX to installed program names
1407  --program-suffix=SUFFIX            append SUFFIX to installed program names
1408  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1409
1410System types:
1411  --build=BUILD     configure for building on BUILD [guessed]
1412  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1413_ACEOF
1414fi
1415
1416if test -n "$ac_init_help"; then
1417  case $ac_init_help in
1418     short | recursive ) echo "Configuration of adolc 2.2.1-trunk:";;
1419   esac
1420  cat <<\_ACEOF
1421
1422Optional Features:
1423  --disable-option-checking  ignore unrecognized --enable/--with options
1424  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1425  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1426  --disable-dependency-tracking  speeds up one-time build
1427  --enable-dependency-tracking   do not reject slow dependency extractors
1428  --enable-shared[=PKGS]  build shared libraries [default=yes]
1429  --enable-static[=PKGS]  build static libraries [default=yes]
1430  --enable-fast-install[=PKGS]
1431                          optimize for fast installation [default=yes]
1432  --disable-libtool-lock  avoid locking (might break parallel builds)
1433
1434  --enable-debug          enable ADOL-C debug mode [default=no]
1435
1436  --enable-harddebug      enable ADOL-C hard debug mode [default=no]
1437
1438  --enable-stdczero       adouble standard constructor zeros value (at the
1439                          cost of performance) [default=no]
1440
1441  --enable-tserrno        use errno as thread number cache [default=no]
1442
1443  --enable-safe-extern    backup all adoubles before calling an external
1444                          function [default=no]
1445
1446  --enable-sparse         build sparse drivers [default=disabled]
1447
1448  --enable-docexa         build documented examples [default=disabled]
1449  --enable-addexa         build additional examples [default=disabled]
1450  --enable-parexa         build parallel example [default=disabled], if
1451                          enabled -with-openmp-flag=FLAG required
1452  --enable-shave          use shave to make the build pretty [[default=yes]]
1453
1454Optional Packages:
1455  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1456  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1457  --with-pic              try to use only PIC/non-PIC objects [default=use
1458                          both]
1459  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1460  --with-sysroot=DIR Search for dependent libraries within DIR
1461                        (or the compiler's sysroot if not specified).
1462  --with-openmp-flag=FLAG use FLAG to enable OpenMP at compile time
1463                          [default=none]
1464
1465  --with-colpack=DIR      path to the colpack library and headers
1466                          [default=${srcdir}/ThirdParty/ColPack]
1467  --with-cflags=FLAGS     use CFLAGS=FLAGS (default: -O2)
1468  --with-cxxflags=FLAGS   use CXXFLAGS=FLAGS (default: -O2)
1469
1470Some influential environment variables:
1471  CXX         C++ compiler command
1472  CXXFLAGS    C++ compiler flags
1473  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1474              nonstandard directory <lib dir>
1475  LIBS        libraries to pass to the linker, e.g. -l<library>
1476  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1477              you have headers in a nonstandard directory <include dir>
1478  CC          C compiler command
1479  CFLAGS      C compiler flags
1480  CPP         C preprocessor
1481  CXXCPP      C++ preprocessor
1482
1483Use these variables to override the choices made by `configure' or to help
1484it to find libraries and programs with nonstandard names/locations.
1485
1486Report bugs to <adol-c@list.coin-or.org>.
1487_ACEOF
1488ac_status=$?
1489fi
1490
1491if test "$ac_init_help" = "recursive"; then
1492  # If there are subdirs, report their specific --help.
1493  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1494    test -d "$ac_dir" ||
1495      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1496      continue
1497    ac_builddir=.
1498
1499case "$ac_dir" in
1500.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1501*)
1502  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1503  # A ".." for each directory in $ac_dir_suffix.
1504  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1505  case $ac_top_builddir_sub in
1506  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1507  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1508  esac ;;
1509esac
1510ac_abs_top_builddir=$ac_pwd
1511ac_abs_builddir=$ac_pwd$ac_dir_suffix
1512# for backward compatibility:
1513ac_top_builddir=$ac_top_build_prefix
1514
1515case $srcdir in
1516  .)  # We are building in place.
1517    ac_srcdir=.
1518    ac_top_srcdir=$ac_top_builddir_sub
1519    ac_abs_top_srcdir=$ac_pwd ;;
1520  [\\/]* | ?:[\\/]* )  # Absolute name.
1521    ac_srcdir=$srcdir$ac_dir_suffix;
1522    ac_top_srcdir=$srcdir
1523    ac_abs_top_srcdir=$srcdir ;;
1524  *) # Relative name.
1525    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1526    ac_top_srcdir=$ac_top_build_prefix$srcdir
1527    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1528esac
1529ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1530
1531    cd "$ac_dir" || { ac_status=$?; continue; }
1532    # Check for guested configure.
1533    if test -f "$ac_srcdir/configure.gnu"; then
1534      echo &&
1535      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1536    elif test -f "$ac_srcdir/configure"; then
1537      echo &&
1538      $SHELL "$ac_srcdir/configure" --help=recursive
1539    else
1540      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1541    fi || ac_status=$?
1542    cd "$ac_pwd" || { ac_status=$?; break; }
1543  done
1544fi
1545
1546test -n "$ac_init_help" && exit $ac_status
1547if $ac_init_version; then
1548  cat <<\_ACEOF
1549adolc configure 2.2.1-trunk
1550generated by GNU Autoconf 2.68
1551
1552Copyright (C) 2010 Free Software Foundation, Inc.
1553This configure script is free software; the Free Software Foundation
1554gives unlimited permission to copy, distribute and modify it.
1555_ACEOF
1556  exit
1557fi
1558
1559## ------------------------ ##
1560## Autoconf initialization. ##
1561## ------------------------ ##
1562
1563# ac_fn_cxx_try_compile LINENO
1564# ----------------------------
1565# Try to compile conftest.$ac_ext, and return whether this succeeded.
1566ac_fn_cxx_try_compile ()
1567{
1568  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569  rm -f conftest.$ac_objext
1570  if { { ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
1587         test ! -s conftest.err
1588       } && test -s conftest.$ac_objext; then :
1589  ac_retval=0
1590else
1591  $as_echo "$as_me: failed program was:" >&5
1592sed 's/^/| /' conftest.$ac_ext >&5
1593
1594        ac_retval=1
1595fi
1596  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1597  as_fn_set_status $ac_retval
1598
1599} # ac_fn_cxx_try_compile
1600
1601# ac_fn_c_try_compile LINENO
1602# --------------------------
1603# Try to compile conftest.$ac_ext, and return whether this succeeded.
1604ac_fn_c_try_compile ()
1605{
1606  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607  rm -f conftest.$ac_objext
1608  if { { ac_try="$ac_compile"
1609case "(($ac_try" in
1610  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611  *) ac_try_echo=$ac_try;;
1612esac
1613eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614$as_echo "$ac_try_echo"; } >&5
1615  (eval "$ac_compile") 2>conftest.err
1616  ac_status=$?
1617  if test -s conftest.err; then
1618    grep -v '^ *+' conftest.err >conftest.er1
1619    cat conftest.er1 >&5
1620    mv -f conftest.er1 conftest.err
1621  fi
1622  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623  test $ac_status = 0; } && {
1624         test -z "$ac_c_werror_flag" ||
1625         test ! -s conftest.err
1626       } && test -s conftest.$ac_objext; then :
1627  ac_retval=0
1628else
1629  $as_echo "$as_me: failed program was:" >&5
1630sed 's/^/| /' conftest.$ac_ext >&5
1631
1632        ac_retval=1
1633fi
1634  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635  as_fn_set_status $ac_retval
1636
1637} # ac_fn_c_try_compile
1638
1639# ac_fn_c_try_cpp LINENO
1640# ----------------------
1641# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1642ac_fn_c_try_cpp ()
1643{
1644  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1645  if { { ac_try="$ac_cpp conftest.$ac_ext"
1646case "(($ac_try" in
1647  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1648  *) ac_try_echo=$ac_try;;
1649esac
1650eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651$as_echo "$ac_try_echo"; } >&5
1652  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1653  ac_status=$?
1654  if test -s conftest.err; then
1655    grep -v '^ *+' conftest.err >conftest.er1
1656    cat conftest.er1 >&5
1657    mv -f conftest.er1 conftest.err
1658  fi
1659  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660  test $ac_status = 0; } > conftest.i && {
1661         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1662         test ! -s conftest.err
1663       }; then :
1664  ac_retval=0
1665else
1666  $as_echo "$as_me: failed program was:" >&5
1667sed 's/^/| /' conftest.$ac_ext >&5
1668
1669    ac_retval=1
1670fi
1671  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1672  as_fn_set_status $ac_retval
1673
1674} # ac_fn_c_try_cpp
1675
1676# ac_fn_c_try_link LINENO
1677# -----------------------
1678# Try to link conftest.$ac_ext, and return whether this succeeded.
1679ac_fn_c_try_link ()
1680{
1681  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682  rm -f conftest.$ac_objext conftest$ac_exeext
1683  if { { ac_try="$ac_link"
1684case "(($ac_try" in
1685  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1686  *) ac_try_echo=$ac_try;;
1687esac
1688eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689$as_echo "$ac_try_echo"; } >&5
1690  (eval "$ac_link") 2>conftest.err
1691  ac_status=$?
1692  if test -s conftest.err; then
1693    grep -v '^ *+' conftest.err >conftest.er1
1694    cat conftest.er1 >&5
1695    mv -f conftest.er1 conftest.err
1696  fi
1697  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698  test $ac_status = 0; } && {
1699         test -z "$ac_c_werror_flag" ||
1700         test ! -s conftest.err
1701       } && test -s conftest$ac_exeext && {
1702         test "$cross_compiling" = yes ||
1703         $as_test_x conftest$ac_exeext
1704       }; then :
1705  ac_retval=0
1706else
1707  $as_echo "$as_me: failed program was:" >&5
1708sed 's/^/| /' conftest.$ac_ext >&5
1709
1710        ac_retval=1
1711fi
1712  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1713  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1714  # interfere with the next link command; also delete a directory that is
1715  # left behind by Apple's compiler.  We do this before executing the actions.
1716  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1717  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718  as_fn_set_status $ac_retval
1719
1720} # ac_fn_c_try_link
1721
1722# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1723# -------------------------------------------------------
1724# Tests whether HEADER exists and can be compiled using the include files in
1725# INCLUDES, setting the cache variable VAR accordingly.
1726ac_fn_c_check_header_compile ()
1727{
1728  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1730$as_echo_n "checking for $2... " >&6; }
1731if eval \${$3+:} false; then :
1732  $as_echo_n "(cached) " >&6
1733else
1734  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1735/* end confdefs.h.  */
1736$4
1737#include <$2>
1738_ACEOF
1739if ac_fn_c_try_compile "$LINENO"; then :
1740  eval "$3=yes"
1741else
1742  eval "$3=no"
1743fi
1744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1745fi
1746eval ac_res=\$$3
1747               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1748$as_echo "$ac_res" >&6; }
1749  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750
1751} # ac_fn_c_check_header_compile
1752
1753# ac_fn_c_try_run LINENO
1754# ----------------------
1755# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1756# that executables *can* be run.
1757ac_fn_c_try_run ()
1758{
1759  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760  if { { ac_try="$ac_link"
1761case "(($ac_try" in
1762  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1763  *) ac_try_echo=$ac_try;;
1764esac
1765eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766$as_echo "$ac_try_echo"; } >&5
1767  (eval "$ac_link") 2>&5
1768  ac_status=$?
1769  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1771  { { case "(($ac_try" in
1772  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773  *) ac_try_echo=$ac_try;;
1774esac
1775eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776$as_echo "$ac_try_echo"; } >&5
1777  (eval "$ac_try") 2>&5
1778  ac_status=$?
1779  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780  test $ac_status = 0; }; }; then :
1781  ac_retval=0
1782else
1783  $as_echo "$as_me: program exited with status $ac_status" >&5
1784       $as_echo "$as_me: failed program was:" >&5
1785sed 's/^/| /' conftest.$ac_ext >&5
1786
1787       ac_retval=$ac_status
1788fi
1789  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1790  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791  as_fn_set_status $ac_retval
1792
1793} # ac_fn_c_try_run
1794
1795# ac_fn_c_check_func LINENO FUNC VAR
1796# ----------------------------------
1797# Tests whether FUNC exists, setting the cache variable VAR accordingly
1798ac_fn_c_check_func ()
1799{
1800  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802$as_echo_n "checking for $2... " >&6; }
1803if eval \${$3+:} false; then :
1804  $as_echo_n "(cached) " >&6
1805else
1806  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807/* end confdefs.h.  */
1808/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1809   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1810#define $2 innocuous_$2
1811
1812/* System header to define __stub macros and hopefully few prototypes,
1813    which can conflict with char $2 (); below.
1814    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1815    <limits.h> exists even on freestanding compilers.  */
1816
1817#ifdef __STDC__
1818# include <limits.h>
1819#else
1820# include <assert.h>
1821#endif
1822
1823#undef $2
1824
1825/* Override any GCC internal prototype to avoid an error.
1826   Use char because int might match the return type of a GCC
1827   builtin and then its argument prototype would still apply.  */
1828#ifdef __cplusplus
1829extern "C"
1830#endif
1831char $2 ();
1832/* The GNU C library defines this for functions which it implements
1833    to always fail with ENOSYS.  Some functions are actually named
1834    something starting with __ and the normal name is an alias.  */
1835#if defined __stub_$2 || defined __stub___$2
1836choke me
1837#endif
1838
1839int
1840main ()
1841{
1842return $2 ();
1843  ;
1844  return 0;
1845}
1846_ACEOF
1847if ac_fn_c_try_link "$LINENO"; then :
1848  eval "$3=yes"
1849else
1850  eval "$3=no"
1851fi
1852rm -f core conftest.err conftest.$ac_objext \
1853    conftest$ac_exeext conftest.$ac_ext
1854fi
1855eval ac_res=\$$3
1856               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857$as_echo "$ac_res" >&6; }
1858  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859
1860} # ac_fn_c_check_func
1861
1862# ac_fn_cxx_try_cpp LINENO
1863# ------------------------
1864# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1865ac_fn_cxx_try_cpp ()
1866{
1867  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868  if { { ac_try="$ac_cpp conftest.$ac_ext"
1869case "(($ac_try" in
1870  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1871  *) ac_try_echo=$ac_try;;
1872esac
1873eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874$as_echo "$ac_try_echo"; } >&5
1875  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1876  ac_status=$?
1877  if test -s conftest.err; then
1878    grep -v '^ *+' conftest.err >conftest.er1
1879    cat conftest.er1 >&5
1880    mv -f conftest.er1 conftest.err
1881  fi
1882  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1883  test $ac_status = 0; } > conftest.i && {
1884         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1885         test ! -s conftest.err
1886       }; then :
1887  ac_retval=0
1888else
1889  $as_echo "$as_me: failed program was:" >&5
1890sed 's/^/| /' conftest.$ac_ext >&5
1891
1892    ac_retval=1
1893fi
1894  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895  as_fn_set_status $ac_retval
1896
1897} # ac_fn_cxx_try_cpp
1898
1899# ac_fn_cxx_try_link LINENO
1900# -------------------------
1901# Try to link conftest.$ac_ext, and return whether this succeeded.
1902ac_fn_cxx_try_link ()
1903{
1904  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905  rm -f conftest.$ac_objext conftest$ac_exeext
1906  if { { ac_try="$ac_link"
1907case "(($ac_try" in
1908  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1909  *) ac_try_echo=$ac_try;;
1910esac
1911eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1912$as_echo "$ac_try_echo"; } >&5
1913  (eval "$ac_link") 2>conftest.err
1914  ac_status=$?
1915  if test -s conftest.err; then
1916    grep -v '^ *+' conftest.err >conftest.er1
1917    cat conftest.er1 >&5
1918    mv -f conftest.er1 conftest.err
1919  fi
1920  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1921  test $ac_status = 0; } && {
1922         test -z "$ac_cxx_werror_flag" ||
1923         test ! -s conftest.err
1924       } && test -s conftest$ac_exeext && {
1925         test "$cross_compiling" = yes ||
1926         $as_test_x conftest$ac_exeext
1927       }; then :
1928  ac_retval=0
1929else
1930  $as_echo "$as_me: failed program was:" >&5
1931sed 's/^/| /' conftest.$ac_ext >&5
1932
1933        ac_retval=1
1934fi
1935  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1936  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1937  # interfere with the next link command; also delete a directory that is
1938  # left behind by Apple's compiler.  We do this before executing the actions.
1939  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1940  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941  as_fn_set_status $ac_retval
1942
1943} # ac_fn_cxx_try_link
1944
1945# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1946# --------------------------------------------
1947# Tries to find the compile-time value of EXPR in a program that includes
1948# INCLUDES, setting VAR accordingly. Returns whether the value could be
1949# computed
1950ac_fn_c_compute_int ()
1951{
1952  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953  if test "$cross_compiling" = yes; then
1954    # Depending upon the size, compute the lo and hi bounds.
1955cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1956/* end confdefs.h.  */
1957$4
1958int
1959main ()
1960{
1961static int test_array [1 - 2 * !(($2) >= 0)];
1962test_array [0] = 0
1963
1964  ;
1965  return 0;
1966}
1967_ACEOF
1968if ac_fn_c_try_compile "$LINENO"; then :
1969  ac_lo=0 ac_mid=0
1970  while :; do
1971    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972/* end confdefs.h.  */
1973$4
1974int
1975main ()
1976{
1977static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1978test_array [0] = 0
1979
1980  ;
1981  return 0;
1982}
1983_ACEOF
1984if ac_fn_c_try_compile "$LINENO"; then :
1985  ac_hi=$ac_mid; break
1986else
1987  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1988                        if test $ac_lo -le $ac_mid; then
1989                          ac_lo= ac_hi=
1990                          break
1991                        fi
1992                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1993fi
1994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1995  done
1996else
1997  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998/* end confdefs.h.  */
1999$4
2000int
2001main ()
2002{
2003static int test_array [1 - 2 * !(($2) < 0)];
2004test_array [0] = 0
2005
2006  ;
2007  return 0;
2008}
2009_ACEOF
2010if ac_fn_c_try_compile "$LINENO"; then :
2011  ac_hi=-1 ac_mid=-1
2012  while :; do
2013    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014/* end confdefs.h.  */
2015$4
2016int
2017main ()
2018{
2019static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2020test_array [0] = 0
2021
2022  ;
2023  return 0;
2024}
2025_ACEOF
2026if ac_fn_c_try_compile "$LINENO"; then :
2027  ac_lo=$ac_mid; break
2028else
2029  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2030                        if test $ac_mid -le $ac_hi; then
2031                          ac_lo= ac_hi=
2032                          break
2033                        fi
2034                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2035fi
2036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2037  done
2038else
2039  ac_lo= ac_hi=
2040fi
2041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2042fi
2043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2044# Binary search between lo and hi bounds.
2045while test "x$ac_lo" != "x$ac_hi"; do
2046  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2047  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048/* end confdefs.h.  */
2049$4
2050int
2051main ()
2052{
2053static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2054test_array [0] = 0
2055
2056  ;
2057  return 0;
2058}
2059_ACEOF
2060if ac_fn_c_try_compile "$LINENO"; then :
2061  ac_hi=$ac_mid
2062else
2063  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2064fi
2065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2066done
2067case $ac_lo in #((
2068?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2069'') ac_retval=1 ;;
2070esac
2071  else
2072    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2073/* end confdefs.h.  */
2074$4
2075static long int longval () { return $2; }
2076static unsigned long int ulongval () { return $2; }
2077#include <stdio.h>
2078#include <stdlib.h>
2079int
2080main ()
2081{
2082
2083  FILE *f = fopen ("conftest.val", "w");
2084  if (! f)
2085    return 1;
2086  if (($2) < 0)
2087    {
2088      long int i = longval ();
2089      if (i != ($2))
2090        return 1;
2091      fprintf (f, "%ld", i);
2092    }
2093  else
2094    {
2095      unsigned long int i = ulongval ();
2096      if (i != ($2))
2097        return 1;
2098      fprintf (f, "%lu", i);
2099    }
2100  /* Do not output a trailing newline, as this causes \r\n confusion
2101     on some platforms.  */
2102  return ferror (f) || fclose (f) != 0;
2103
2104  ;
2105  return 0;
2106}
2107_ACEOF
2108if ac_fn_c_try_run "$LINENO"; then :
2109  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2110else
2111  ac_retval=1
2112fi
2113rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2114  conftest.$ac_objext conftest.beam conftest.$ac_ext
2115rm -f conftest.val
2116
2117  fi
2118  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2119  as_fn_set_status $ac_retval
2120
2121} # ac_fn_c_compute_int
2122
2123# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2124# -------------------------------------------
2125# Tests whether TYPE exists after having included INCLUDES, setting cache
2126# variable VAR accordingly.
2127ac_fn_c_check_type ()
2128{
2129  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2130  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2131$as_echo_n "checking for $2... " >&6; }
2132if eval \${$3+:} false; then :
2133  $as_echo_n "(cached) " >&6
2134else
2135  eval "$3=no"
2136  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2137/* end confdefs.h.  */
2138$4
2139int
2140main ()
2141{
2142if (sizeof ($2))
2143         return 0;
2144  ;
2145  return 0;
2146}
2147_ACEOF
2148if ac_fn_c_try_compile "$LINENO"; then :
2149  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2150/* end confdefs.h.  */
2151$4
2152int
2153main ()
2154{
2155if (sizeof (($2)))
2156            return 0;
2157  ;
2158  return 0;
2159}
2160_ACEOF
2161if ac_fn_c_try_compile "$LINENO"; then :
2162
2163else
2164  eval "$3=yes"
2165fi
2166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2167fi
2168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2169fi
2170eval ac_res=\$$3
2171               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2172$as_echo "$ac_res" >&6; }
2173  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2174
2175} # ac_fn_c_check_type
2176
2177# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2178# -------------------------------------------------------
2179# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2180# the include files in INCLUDES and setting the cache variable VAR
2181# accordingly.
2182ac_fn_c_check_header_mongrel ()
2183{
2184  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2185  if eval \${$3+:} false; then :
2186  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2187$as_echo_n "checking for $2... " >&6; }
2188if eval \${$3+:} false; then :
2189  $as_echo_n "(cached) " >&6
2190fi
2191eval ac_res=\$$3
2192               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2193$as_echo "$ac_res" >&6; }
2194else
2195  # Is the header compilable?
2196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2197$as_echo_n "checking $2 usability... " >&6; }
2198cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2199/* end confdefs.h.  */
2200$4
2201#include <$2>
2202_ACEOF
2203if ac_fn_c_try_compile "$LINENO"; then :
2204  ac_header_compiler=yes
2205else
2206  ac_header_compiler=no
2207fi
2208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2210$as_echo "$ac_header_compiler" >&6; }
2211
2212# Is the header present?
2213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2214$as_echo_n "checking $2 presence... " >&6; }
2215cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216/* end confdefs.h.  */
2217#include <$2>
2218_ACEOF
2219if ac_fn_c_try_cpp "$LINENO"; then :
2220  ac_header_preproc=yes
2221else
2222  ac_header_preproc=no
2223fi
2224rm -f conftest.err conftest.i conftest.$ac_ext
2225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2226$as_echo "$ac_header_preproc" >&6; }
2227
2228# So?  What about this header?
2229case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2230  yes:no: )
2231    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2232$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2233    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2234$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2235    ;;
2236  no:yes:* )
2237    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2238$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2239    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2240$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2241    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2242$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2243    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2244$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2245    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2246$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2247( $as_echo "## -------------------------------------- ##
2248## Report this to adol-c@list.coin-or.org ##
2249## -------------------------------------- ##"
2250     ) | sed "s/^/$as_me: WARNING:     /" >&2
2251    ;;
2252esac
2253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2254$as_echo_n "checking for $2... " >&6; }
2255if eval \${$3+:} false; then :
2256  $as_echo_n "(cached) " >&6
2257else
2258  eval "$3=\$ac_header_compiler"
2259fi
2260eval ac_res=\$$3
2261               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2262$as_echo "$ac_res" >&6; }
2263fi
2264  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2265
2266} # ac_fn_c_check_header_mongrel
2267
2268# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2269# ---------------------------------------------------------
2270# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2271# the include files in INCLUDES and setting the cache variable VAR
2272# accordingly.
2273ac_fn_cxx_check_header_mongrel ()
2274{
2275  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2276  if eval \${$3+:} false; then :
2277  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2278$as_echo_n "checking for $2... " >&6; }
2279if eval \${$3+:} false; then :
2280  $as_echo_n "(cached) " >&6
2281fi
2282eval ac_res=\$$3
2283               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2284$as_echo "$ac_res" >&6; }
2285else
2286  # Is the header compilable?
2287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2288$as_echo_n "checking $2 usability... " >&6; }
2289cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2290/* end confdefs.h.  */
2291$4
2292#include <$2>
2293_ACEOF
2294if ac_fn_cxx_try_compile "$LINENO"; then :
2295  ac_header_compiler=yes
2296else
2297  ac_header_compiler=no
2298fi
2299rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2301$as_echo "$ac_header_compiler" >&6; }
2302
2303# Is the header present?
2304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2305$as_echo_n "checking $2 presence... " >&6; }
2306cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2307/* end confdefs.h.  */
2308#include <$2>
2309_ACEOF
2310if ac_fn_cxx_try_cpp "$LINENO"; then :
2311  ac_header_preproc=yes
2312else
2313  ac_header_preproc=no
2314fi
2315rm -f conftest.err conftest.i conftest.$ac_ext
2316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2317$as_echo "$ac_header_preproc" >&6; }
2318
2319# So?  What about this header?
2320case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2321  yes:no: )
2322    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2323$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2324    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2325$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2326    ;;
2327  no:yes:* )
2328    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2329$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2330    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2331$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2332    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2333$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2334    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2335$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2336    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2337$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2338( $as_echo "## -------------------------------------- ##
2339## Report this to adol-c@list.coin-or.org ##
2340## -------------------------------------- ##"
2341     ) | sed "s/^/$as_me: WARNING:     /" >&2
2342    ;;
2343esac
2344  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2345$as_echo_n "checking for $2... " >&6; }
2346if eval \${$3+:} false; then :
2347  $as_echo_n "(cached) " >&6
2348else
2349  eval "$3=\$ac_header_compiler"
2350fi
2351eval ac_res=\$$3
2352               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2353$as_echo "$ac_res" >&6; }
2354fi
2355  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2356
2357} # ac_fn_cxx_check_header_mongrel
2358cat >config.log <<_ACEOF
2359This file contains any messages produced by compilers while
2360running configure, to aid debugging if configure makes a mistake.
2361
2362It was created by adolc $as_me 2.2.1-trunk, which was
2363generated by GNU Autoconf 2.68.  Invocation command line was
2364
2365  $ $0 $@
2366
2367_ACEOF
2368exec 5>>config.log
2369{
2370cat <<_ASUNAME
2371## --------- ##
2372## Platform. ##
2373## --------- ##
2374
2375hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2376uname -m = `(uname -m) 2>/dev/null || echo unknown`
2377uname -r = `(uname -r) 2>/dev/null || echo unknown`
2378uname -s = `(uname -s) 2>/dev/null || echo unknown`
2379uname -v = `(uname -v) 2>/dev/null || echo unknown`
2380
2381/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2382/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2383
2384/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2385/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2386/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2387/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2388/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2389/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2390/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2391
2392_ASUNAME
2393
2394as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395for as_dir in $PATH
2396do
2397  IFS=$as_save_IFS
2398  test -z "$as_dir" && as_dir=.
2399    $as_echo "PATH: $as_dir"
2400  done
2401IFS=$as_save_IFS
2402
2403} >&5
2404
2405cat >&5 <<_ACEOF
2406
2407
2408## ----------- ##
2409## Core tests. ##
2410## ----------- ##
2411
2412_ACEOF
2413
2414
2415# Keep a trace of the command line.
2416# Strip out --no-create and --no-recursion so they do not pile up.
2417# Strip out --silent because we don't want to record it for future runs.
2418# Also quote any args containing shell meta-characters.
2419# Make two passes to allow for proper duplicate-argument suppression.
2420ac_configure_args=
2421ac_configure_args0=
2422ac_configure_args1=
2423ac_must_keep_next=false
2424for ac_pass in 1 2
2425do
2426  for ac_arg
2427  do
2428    case $ac_arg in
2429    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2430    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2431    | -silent | --silent | --silen | --sile | --sil)
2432      continue ;;
2433    *\'*)
2434      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2435    esac
2436    case $ac_pass in
2437    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2438    2)
2439      as_fn_append ac_configure_args1 " '$ac_arg'"
2440      if test $ac_must_keep_next = true; then
2441        ac_must_keep_next=false # Got value, back to normal.
2442      else
2443        case $ac_arg in
2444          *=* | --config-cache | -C | -disable-* | --disable-* \
2445          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2446          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2447          | -with-* | --with-* | -without-* | --without-* | --x)
2448            case "$ac_configure_args0 " in
2449              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2450            esac
2451            ;;
2452          -* ) ac_must_keep_next=true ;;
2453        esac
2454      fi
2455      as_fn_append ac_configure_args " '$ac_arg'"
2456      ;;
2457    esac
2458  done
2459done
2460{ ac_configure_args0=; unset ac_configure_args0;}
2461{ ac_configure_args1=; unset ac_configure_args1;}
2462
2463# When interrupted or exit'd, cleanup temporary files, and complete
2464# config.log.  We remove comments because anyway the quotes in there
2465# would cause problems or look ugly.
2466# WARNING: Use '\'' to represent an apostrophe within the trap.
2467# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2468trap 'exit_status=$?
2469  # Save into config.log some information that might help in debugging.
2470  {
2471    echo
2472
2473    $as_echo "## ---------------- ##
2474## Cache variables. ##
2475## ---------------- ##"
2476    echo
2477    # The following way of writing the cache mishandles newlines in values,
2478(
2479  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2480    eval ac_val=\$$ac_var
2481    case $ac_val in #(
2482    *${as_nl}*)
2483      case $ac_var in #(
2484      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2485$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2486      esac
2487      case $ac_var in #(
2488      _ | IFS | as_nl) ;; #(
2489      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2490      *) { eval $ac_var=; unset $ac_var;} ;;
2491      esac ;;
2492    esac
2493  done
2494  (set) 2>&1 |
2495    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2496    *${as_nl}ac_space=\ *)
2497      sed -n \
2498        "s/'\''/'\''\\\\'\'''\''/g;
2499          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2500      ;; #(
2501    *)
2502      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2503      ;;
2504    esac |
2505    sort
2506)
2507    echo
2508
2509    $as_echo "## ----------------- ##
2510## Output variables. ##
2511## ----------------- ##"
2512    echo
2513    for ac_var in $ac_subst_vars
2514    do
2515      eval ac_val=\$$ac_var
2516      case $ac_val in
2517      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2518      esac
2519      $as_echo "$ac_var='\''$ac_val'\''"
2520    done | sort
2521    echo
2522
2523    if test -n "$ac_subst_files"; then
2524      $as_echo "## ------------------- ##
2525## File substitutions. ##
2526## ------------------- ##"
2527      echo
2528      for ac_var in $ac_subst_files
2529      do
2530        eval ac_val=\$$ac_var
2531        case $ac_val in
2532        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2533        esac
2534        $as_echo "$ac_var='\''$ac_val'\''"
2535      done | sort
2536      echo
2537    fi
2538
2539    if test -s confdefs.h; then
2540      $as_echo "## ----------- ##
2541## confdefs.h. ##
2542## ----------- ##"
2543      echo
2544      cat confdefs.h
2545      echo
2546    fi
2547    test "$ac_signal" != 0 &&
2548      $as_echo "$as_me: caught signal $ac_signal"
2549    $as_echo "$as_me: exit $exit_status"
2550  } >&5
2551  rm -f core *.core core.conftest.* &&
2552    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2553    exit $exit_status
2554' 0
2555for ac_signal in 1 2 13 15; do
2556  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2557done
2558ac_signal=0
2559
2560# confdefs.h avoids OS command line length limits that DEFS can exceed.
2561rm -f -r conftest* confdefs.h
2562
2563$as_echo "/* confdefs.h */" > confdefs.h
2564
2565# Predefined preprocessor variables.
2566
2567cat >>confdefs.h <<_ACEOF
2568#define PACKAGE_NAME "$PACKAGE_NAME"
2569_ACEOF
2570
2571cat >>confdefs.h <<_ACEOF
2572#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2573_ACEOF
2574
2575cat >>confdefs.h <<_ACEOF
2576#define PACKAGE_VERSION "$PACKAGE_VERSION"
2577_ACEOF
2578
2579cat >>confdefs.h <<_ACEOF
2580#define PACKAGE_STRING "$PACKAGE_STRING"
2581_ACEOF
2582
2583cat >>confdefs.h <<_ACEOF
2584#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2585_ACEOF
2586
2587cat >>confdefs.h <<_ACEOF
2588#define PACKAGE_URL "$PACKAGE_URL"
2589_ACEOF
2590
2591
2592# Let the site file select an alternate cache file if it wants to.
2593# Prefer an explicitly selected file to automatically selected ones.
2594ac_site_file1=NONE
2595ac_site_file2=NONE
2596if test -n "$CONFIG_SITE"; then
2597  # We do not want a PATH search for config.site.
2598  case $CONFIG_SITE in #((
2599    -*)  ac_site_file1=./$CONFIG_SITE;;
2600    */*) ac_site_file1=$CONFIG_SITE;;
2601    *)   ac_site_file1=./$CONFIG_SITE;;
2602  esac
2603elif test "x$prefix" != xNONE; then
2604  ac_site_file1=$prefix/share/config.site
2605  ac_site_file2=$prefix/etc/config.site
2606else
2607  ac_site_file1=$ac_default_prefix/share/config.site
2608  ac_site_file2=$ac_default_prefix/etc/config.site
2609fi
2610for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2611do
2612  test "x$ac_site_file" = xNONE && continue
2613  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2614    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2615$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2616    sed 's/^/| /' "$ac_site_file" >&5
2617    . "$ac_site_file" \
2618      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2619$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2620as_fn_error $? "failed to load site script $ac_site_file
2621See \`config.log' for more details" "$LINENO" 5; }
2622  fi
2623done
2624
2625if test -r "$cache_file"; then
2626  # Some versions of bash will fail to source /dev/null (special files
2627  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2628  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2629    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2630$as_echo "$as_me: loading cache $cache_file" >&6;}
2631    case $cache_file in
2632      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2633      *)                      . "./$cache_file";;
2634    esac
2635  fi
2636else
2637  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2638$as_echo "$as_me: creating cache $cache_file" >&6;}
2639  >$cache_file
2640fi
2641
2642# Check that the precious variables saved in the cache have kept the same
2643# value.
2644ac_cache_corrupted=false
2645for ac_var in $ac_precious_vars; do
2646  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2647  eval ac_new_set=\$ac_env_${ac_var}_set
2648  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2649  eval ac_new_val=\$ac_env_${ac_var}_value
2650  case $ac_old_set,$ac_new_set in
2651    set,)
2652      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2653$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2654      ac_cache_corrupted=: ;;
2655    ,set)
2656      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2657$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2658      ac_cache_corrupted=: ;;
2659    ,);;
2660    *)
2661      if test "x$ac_old_val" != "x$ac_new_val"; then
2662        # differences in whitespace do not lead to failure.
2663        ac_old_val_w=`echo x $ac_old_val`
2664        ac_new_val_w=`echo x $ac_new_val`
2665        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2666          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2667$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2668          ac_cache_corrupted=:
2669        else
2670          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2671$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2672          eval $ac_var=\$ac_old_val
2673        fi
2674        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2675$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2676        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2677$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2678      fi;;
2679  esac
2680  # Pass precious variables to config.status.
2681  if test "$ac_new_set" = set; then
2682    case $ac_new_val in
2683    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2684    *) ac_arg=$ac_var=$ac_new_val ;;
2685    esac
2686    case " $ac_configure_args " in
2687      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2688      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2689    esac
2690  fi
2691done
2692if $ac_cache_corrupted; then
2693  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2694$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2695  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2696$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2697  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2698fi
2699## -------------------- ##
2700## Main body of script. ##
2701## -------------------- ##
2702
2703ac_ext=c
2704ac_cpp='$CPP $CPPFLAGS'
2705ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2706ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2707ac_compiler_gnu=$ac_cv_c_compiler_gnu
2708
2709
2710
2711
2712ac_aux_dir=
2713for ac_dir in autoconf "$srcdir"/autoconf; do
2714  if test -f "$ac_dir/install-sh"; then
2715    ac_aux_dir=$ac_dir
2716    ac_install_sh="$ac_aux_dir/install-sh -c"
2717    break
2718  elif test -f "$ac_dir/install.sh"; then
2719    ac_aux_dir=$ac_dir
2720    ac_install_sh="$ac_aux_dir/install.sh -c"
2721    break
2722  elif test -f "$ac_dir/shtool"; then
2723    ac_aux_dir=$ac_dir
2724    ac_install_sh="$ac_aux_dir/shtool install -c"
2725    break
2726  fi
2727done
2728if test -z "$ac_aux_dir"; then
2729  as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
2730fi
2731
2732# These three variables are undocumented and unsupported,
2733# and are intended to be withdrawn in a future Autoconf release.
2734# They can cause serious problems if a builder's source tree is in a directory
2735# whose full name contains unusual characters.
2736ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2737ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2738ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2739
2740
2741ac_config_headers="$ac_config_headers ADOL-C/src/config.h"
2742
2743
2744am__api_version='1.11'
2745
2746# Find a good install program.  We prefer a C program (faster),
2747# so one script is as good as another.  But avoid the broken or
2748# incompatible versions:
2749# SysV /etc/install, /usr/sbin/install
2750# SunOS /usr/etc/install
2751# IRIX /sbin/install
2752# AIX /bin/install
2753# AmigaOS /C/install, which installs bootblocks on floppy discs
2754# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2755# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2756# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2757# OS/2's system install, which has a completely different semantic
2758# ./install, which can be erroneously created by make from ./install.sh.
2759# Reject install programs that cannot install multiple files.
2760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2761$as_echo_n "checking for a BSD-compatible install... " >&6; }
2762if test -z "$INSTALL"; then
2763if ${ac_cv_path_install+:} false; then :
2764  $as_echo_n "(cached) " >&6
2765else
2766  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2767for as_dir in $PATH
2768do
2769  IFS=$as_save_IFS
2770  test -z "$as_dir" && as_dir=.
2771    # Account for people who put trailing slashes in PATH elements.
2772case $as_dir/ in #((
2773  ./ | .// | /[cC]/* | \
2774  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2775  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2776  /usr/ucb/* ) ;;
2777  *)
2778    # OSF1 and SCO ODT 3.0 have their own names for install.
2779    # Don't use installbsd from OSF since it installs stuff as root
2780    # by default.
2781    for ac_prog in ginstall scoinst install; do
2782      for ac_exec_ext in '' $ac_executable_extensions; do
2783        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2784          if test $ac_prog = install &&
2785            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2786            # AIX install.  It has an incompatible calling convention.
2787            :
2788          elif test $ac_prog = install &&
2789            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2790            # program-specific install script used by HP pwplus--don't use.
2791            :
2792          else
2793            rm -rf conftest.one conftest.two conftest.dir
2794            echo one > conftest.one
2795            echo two > conftest.two
2796            mkdir conftest.dir
2797            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2798              test -s conftest.one && test -s conftest.two &&
2799              test -s conftest.dir/conftest.one &&
2800              test -s conftest.dir/conftest.two
2801            then
2802              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2803              break 3
2804            fi
2805          fi
2806        fi
2807      done
2808    done
2809    ;;
2810esac
2811
2812  done
2813IFS=$as_save_IFS
2814
2815rm -rf conftest.one conftest.two conftest.dir
2816
2817fi
2818  if test "${ac_cv_path_install+set}" = set; then
2819    INSTALL=$ac_cv_path_install
2820  else
2821    # As a last resort, use the slow shell script.  Don't cache a
2822    # value for INSTALL within a source directory, because that will
2823    # break other packages using the cache if that directory is
2824    # removed, or if the value is a relative name.
2825    INSTALL=$ac_install_sh
2826  fi
2827fi
2828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2829$as_echo "$INSTALL" >&6; }
2830
2831# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2832# It thinks the first close brace ends the variable substitution.
2833test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2834
2835test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2836
2837test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2838
2839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2840$as_echo_n "checking whether build environment is sane... " >&6; }
2841# Just in case
2842sleep 1
2843echo timestamp > conftest.file
2844# Reject unsafe characters in $srcdir or the absolute working directory
2845# name.  Accept space and tab only in the latter.
2846am_lf='
2847'
2848case `pwd` in
2849  *[\\\"\#\$\&\'\`$am_lf]*)
2850    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2851esac
2852case $srcdir in
2853  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2854    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2855esac
2856
2857# Do `set' in a subshell so we don't clobber the current shell's
2858# arguments.  Must try -L first in case configure is actually a
2859# symlink; some systems play weird games with the mod time of symlinks
2860# (eg FreeBSD returns the mod time of the symlink's containing
2861# directory).
2862if (
2863   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2864   if test "$*" = "X"; then
2865      # -L didn't work.
2866      set X `ls -t "$srcdir/configure" conftest.file`
2867   fi
2868   rm -f conftest.file
2869   if test "$*" != "X $srcdir/configure conftest.file" \
2870      && test "$*" != "X conftest.file $srcdir/configure"; then
2871
2872      # If neither matched, then we have a broken ls.  This can happen
2873      # if, for instance, CONFIG_SHELL is bash and it inherits a
2874      # broken ls alias from the environment.  This has actually
2875      # happened.  Such a system could not be considered "sane".
2876      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2877alias in your environment" "$LINENO" 5
2878   fi
2879
2880   test "$2" = conftest.file
2881   )
2882then
2883   # Ok.
2884   :
2885else
2886   as_fn_error $? "newly created file is older than distributed files!
2887Check your system clock" "$LINENO" 5
2888fi
2889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2890$as_echo "yes" >&6; }
2891test "$program_prefix" != NONE &&
2892  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2893# Use a double $ so make ignores it.
2894test "$program_suffix" != NONE &&
2895  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2896# Double any \ or $.
2897# By default was `s,x,x', remove it if useless.
2898ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2899program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2900
2901# expand $ac_aux_dir to an absolute path
2902am_aux_dir=`cd $ac_aux_dir && pwd`
2903
2904if test x"${MISSING+set}" != xset; then
2905  case $am_aux_dir in
2906  *\ * | *\     *)
2907    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2908  *)
2909    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2910  esac
2911fi
2912# Use eval to expand $SHELL
2913if eval "$MISSING --run true"; then
2914  am_missing_run="$MISSING --run "
2915else
2916  am_missing_run=
2917  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2918$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2919fi
2920
2921if test x"${install_sh}" != xset; then
2922  case $am_aux_dir in
2923  *\ * | *\     *)
2924    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2925  *)
2926    install_sh="\${SHELL} $am_aux_dir/install-sh"
2927  esac
2928fi
2929
2930# Installed binaries are usually stripped using `strip' when the user
2931# run `make install-strip'.  However `strip' might not be the right
2932# tool to use in cross-compilation environments, therefore Automake
2933# will honor the `STRIP' environment variable to overrule this program.
2934if test "$cross_compiling" != no; then
2935  if test -n "$ac_tool_prefix"; then
2936  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2937set dummy ${ac_tool_prefix}strip; ac_word=$2
2938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939$as_echo_n "checking for $ac_word... " >&6; }
2940if ${ac_cv_prog_STRIP+:} false; then :
2941  $as_echo_n "(cached) " >&6
2942else
2943  if test -n "$STRIP"; then
2944  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2945else
2946as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2947for as_dir in $PATH
2948do
2949  IFS=$as_save_IFS
2950  test -z "$as_dir" && as_dir=.
2951    for ac_exec_ext in '' $ac_executable_extensions; do
2952  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2953    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2954    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2955    break 2
2956  fi
2957done
2958  done
2959IFS=$as_save_IFS
2960
2961fi
2962fi
2963STRIP=$ac_cv_prog_STRIP
2964if test -n "$STRIP"; then
2965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2966$as_echo "$STRIP" >&6; }
2967else
2968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969$as_echo "no" >&6; }
2970fi
2971
2972
2973fi
2974if test -z "$ac_cv_prog_STRIP"; then
2975  ac_ct_STRIP=$STRIP
2976  # Extract the first word of "strip", so it can be a program name with args.
2977set dummy strip; ac_word=$2
2978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2979$as_echo_n "checking for $ac_word... " >&6; }
2980if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2981  $as_echo_n "(cached) " >&6
2982else
2983  if test -n "$ac_ct_STRIP"; then
2984  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2985else
2986as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987for as_dir in $PATH
2988do
2989  IFS=$as_save_IFS
2990  test -z "$as_dir" && as_dir=.
2991    for ac_exec_ext in '' $ac_executable_extensions; do
2992  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2993    ac_cv_prog_ac_ct_STRIP="strip"
2994    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2995    break 2
2996  fi
2997done
2998  done
2999IFS=$as_save_IFS
3000
3001fi
3002fi
3003ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3004if test -n "$ac_ct_STRIP"; then
3005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3006$as_echo "$ac_ct_STRIP" >&6; }
3007else
3008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009$as_echo "no" >&6; }
3010fi
3011
3012  if test "x$ac_ct_STRIP" = x; then
3013    STRIP=":"
3014  else
3015    case $cross_compiling:$ac_tool_warned in
3016yes:)
3017{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3018$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3019ac_tool_warned=yes ;;
3020esac
3021    STRIP=$ac_ct_STRIP
3022  fi
3023else
3024  STRIP="$ac_cv_prog_STRIP"
3025fi
3026
3027fi
3028INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3029
3030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3031$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3032if test -z "$MKDIR_P"; then
3033  if ${ac_cv_path_mkdir+:} false; then :
3034  $as_echo_n "(cached) " >&6
3035else
3036  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3038do
3039  IFS=$as_save_IFS
3040  test -z "$as_dir" && as_dir=.
3041    for ac_prog in mkdir gmkdir; do
3042         for ac_exec_ext in '' $ac_executable_extensions; do
3043           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3044           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3045             'mkdir (GNU coreutils) '* | \
3046             'mkdir (coreutils) '* | \
3047             'mkdir (fileutils) '4.1*)
3048               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3049               break 3;;
3050           esac
3051         done
3052       done
3053  done
3054IFS=$as_save_IFS
3055
3056fi
3057
3058  test -d ./--version && rmdir ./--version
3059  if test "${ac_cv_path_mkdir+set}" = set; then
3060    MKDIR_P="$ac_cv_path_mkdir -p"
3061  else
3062    # As a last resort, use the slow shell script.  Don't cache a
3063    # value for MKDIR_P within a source directory, because that will
3064    # break other packages using the cache if that directory is
3065    # removed, or if the value is a relative name.
3066    MKDIR_P="$ac_install_sh -d"
3067  fi
3068fi
3069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3070$as_echo "$MKDIR_P" >&6; }
3071
3072mkdir_p="$MKDIR_P"
3073case $mkdir_p in
3074  [\\/$]* | ?:[\\/]*) ;;
3075  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3076esac
3077
3078for ac_prog in gawk mawk nawk awk
3079do
3080  # Extract the first word of "$ac_prog", so it can be a program name with args.
3081set dummy $ac_prog; ac_word=$2
3082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3083$as_echo_n "checking for $ac_word... " >&6; }
3084if ${ac_cv_prog_AWK+:} false; then :
3085  $as_echo_n "(cached) " >&6
3086else
3087  if test -n "$AWK"; then
3088  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3089else
3090as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3091for as_dir in $PATH
3092do
3093  IFS=$as_save_IFS
3094  test -z "$as_dir" && as_dir=.
3095    for ac_exec_ext in '' $ac_executable_extensions; do
3096  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3097    ac_cv_prog_AWK="$ac_prog"
3098    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3099    break 2
3100  fi
3101done
3102  done
3103IFS=$as_save_IFS
3104
3105fi
3106fi
3107AWK=$ac_cv_prog_AWK
3108if test -n "$AWK"; then
3109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3110$as_echo "$AWK" >&6; }
3111else
3112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3113$as_echo "no" >&6; }
3114fi
3115
3116
3117  test -n "$AWK" && break
3118done
3119
3120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3121$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3122set x ${MAKE-make}
3123ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3124if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3125  $as_echo_n "(cached) " >&6
3126else
3127  cat >conftest.make <<\_ACEOF
3128SHELL = /bin/sh
3129all:
3130        @echo '@@@%%%=$(MAKE)=@@@%%%'
3131_ACEOF
3132# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3133case `${MAKE-make} -f conftest.make 2>/dev/null` in
3134  *@@@%%%=?*=@@@%%%*)
3135    eval ac_cv_prog_make_${ac_make}_set=yes;;
3136  *)
3137    eval ac_cv_prog_make_${ac_make}_set=no;;
3138esac
3139rm -f conftest.make
3140fi
3141if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3143$as_echo "yes" >&6; }
3144  SET_MAKE=
3145else
3146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3147$as_echo "no" >&6; }
3148  SET_MAKE="MAKE=${MAKE-make}"
3149fi
3150
3151rm -rf .tst 2>/dev/null
3152mkdir .tst 2>/dev/null
3153if test -d .tst; then
3154  am__leading_dot=.
3155else
3156  am__leading_dot=_
3157fi
3158rmdir .tst 2>/dev/null
3159
3160if test "`cd $srcdir && pwd`" != "`pwd`"; then
3161  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3162  # is not polluted with repeated "-I."
3163  am__isrc=' -I$(srcdir)'
3164  # test to see if srcdir already configured
3165  if test -f $srcdir/config.status; then
3166    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3167  fi
3168fi
3169
3170# test whether we have cygpath
3171if test -z "$CYGPATH_W"; then
3172  if (cygpath --version) >/dev/null 2>/dev/null; then
3173    CYGPATH_W='cygpath -w'
3174  else
3175    CYGPATH_W=echo
3176  fi
3177fi
3178
3179
3180# Define the identity of the package.
3181 PACKAGE='adolc'
3182 VERSION='2.2.1-trunk'
3183
3184
3185cat >>confdefs.h <<_ACEOF
3186#define PACKAGE "$PACKAGE"
3187_ACEOF
3188
3189
3190cat >>confdefs.h <<_ACEOF
3191#define VERSION "$VERSION"
3192_ACEOF
3193
3194# Some tools Automake needs.
3195
3196ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3197
3198
3199AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3200
3201
3202AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3203
3204
3205AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3206
3207
3208MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3209
3210# We need awk for the "check" target.  The system "awk" is bad on
3211# some platforms.
3212# Always define AMTAR for backward compatibility.
3213
3214AMTAR=${AMTAR-"${am_missing_run}tar"}
3215
3216am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3217
3218
3219
3220
3221
3222
3223if test "x$CFLAGS" == x ; then
3224    ac_shell_cflags="not_set"
3225else
3226    ac_shell_cflags="$CFLAGS"
3227fi
3228if test "x$CXXFLAGS" == x ; then
3229    ac_shell_cxxflags="not_set"
3230else
3231    ac_shell_cxxflags="$CXXFLAGS"
3232fi
3233
3234# checks for programs
3235ac_ext=cpp
3236ac_cpp='$CXXCPP $CPPFLAGS'
3237ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3238ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3239ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3240if test -z "$CXX"; then
3241  if test -n "$CCC"; then
3242    CXX=$CCC
3243  else
3244    if test -n "$ac_tool_prefix"; then
3245  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3246  do
3247    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3248set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3250$as_echo_n "checking for $ac_word... " >&6; }
3251if ${ac_cv_prog_CXX+:} false; then :
3252  $as_echo_n "(cached) " >&6
3253else
3254  if test -n "$CXX"; then
3255  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3256else
3257as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258for as_dir in $PATH
3259do
3260  IFS=$as_save_IFS
3261  test -z "$as_dir" && as_dir=.
3262    for ac_exec_ext in '' $ac_executable_extensions; do
3263  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3264    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3265    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3266    break 2
3267  fi
3268done
3269  done
3270IFS=$as_save_IFS
3271
3272fi
3273fi
3274CXX=$ac_cv_prog_CXX
3275if test -n "$CXX"; then
3276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3277$as_echo "$CXX" >&6; }
3278else
3279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3280$as_echo "no" >&6; }
3281fi
3282
3283
3284    test -n "$CXX" && break
3285  done
3286fi
3287if test -z "$CXX"; then
3288  ac_ct_CXX=$CXX
3289  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3290do
3291  # Extract the first word of "$ac_prog", so it can be a program name with args.
3292set dummy $ac_prog; ac_word=$2
3293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3294$as_echo_n "checking for $ac_word... " >&6; }
3295if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3296  $as_echo_n "(cached) " >&6
3297else
3298  if test -n "$ac_ct_CXX"; then
3299  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3300else
3301as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3302for as_dir in $PATH
3303do
3304  IFS=$as_save_IFS
3305  test -z "$as_dir" && as_dir=.
3306    for ac_exec_ext in '' $ac_executable_extensions; do
3307  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3308    ac_cv_prog_ac_ct_CXX="$ac_prog"
3309    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3310    break 2
3311  fi
3312done
3313  done
3314IFS=$as_save_IFS
3315
3316fi
3317fi
3318ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3319if test -n "$ac_ct_CXX"; then
3320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3321$as_echo "$ac_ct_CXX" >&6; }
3322else
3323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324$as_echo "no" >&6; }
3325fi
3326
3327
3328  test -n "$ac_ct_CXX" && break
3329done
3330
3331  if test "x$ac_ct_CXX" = x; then
3332    CXX="g++"
3333  else
3334    case $cross_compiling:$ac_tool_warned in
3335yes:)
3336{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3337$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3338ac_tool_warned=yes ;;
3339esac
3340    CXX=$ac_ct_CXX
3341  fi
3342fi
3343
3344  fi
3345fi
3346# Provide some information about the compiler.
3347$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3348set X $ac_compile
3349ac_compiler=$2
3350for ac_option in --version -v -V -qversion; do
3351  { { ac_try="$ac_compiler $ac_option >&5"
3352case "(($ac_try" in
3353  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354  *) ac_try_echo=$ac_try;;
3355esac
3356eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3357$as_echo "$ac_try_echo"; } >&5
3358  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3359  ac_status=$?
3360  if test -s conftest.err; then
3361    sed '10a\
3362... rest of stderr output deleted ...
3363         10q' conftest.err >conftest.er1
3364    cat conftest.er1 >&5
3365  fi
3366  rm -f conftest.er1 conftest.err
3367  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3368  test $ac_status = 0; }
3369done
3370
3371cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372/* end confdefs.h.  */
3373
3374int
3375main ()
3376{
3377
3378  ;
3379  return 0;
3380}
3381_ACEOF
3382ac_clean_files_save=$ac_clean_files
3383ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3384# Try to create an executable without -o first, disregard a.out.
3385# It will help us diagnose broken compilers, and finding out an intuition
3386# of exeext.
3387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3388$as_echo_n "checking whether the C++ compiler works... " >&6; }
3389ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3390
3391# The possible output files:
3392ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3393
3394ac_rmfiles=
3395for ac_file in $ac_files
3396do
3397  case $ac_file in
3398    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3399    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3400  esac
3401done
3402rm -f $ac_rmfiles
3403
3404if { { ac_try="$ac_link_default"
3405case "(($ac_try" in
3406  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3407  *) ac_try_echo=$ac_try;;
3408esac
3409eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3410$as_echo "$ac_try_echo"; } >&5
3411  (eval "$ac_link_default") 2>&5
3412  ac_status=$?
3413  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3414  test $ac_status = 0; }; then :
3415  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3416# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3417# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3418# so that the user can short-circuit this test for compilers unknown to
3419# Autoconf.
3420for ac_file in $ac_files ''
3421do
3422  test -f "$ac_file" || continue
3423  case $ac_file in
3424    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3425        ;;
3426    [ab].out )
3427        # We found the default executable, but exeext='' is most
3428        # certainly right.
3429        break;;
3430    *.* )
3431        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3432        then :; else
3433           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3434        fi
3435        # We set ac_cv_exeext here because the later test for it is not
3436        # safe: cross compilers may not add the suffix if given an `-o'
3437        # argument, so we may need to know it at that point already.
3438        # Even if this section looks crufty: it has the advantage of
3439        # actually working.
3440        break;;
3441    * )
3442        break;;
3443  esac
3444done
3445test "$ac_cv_exeext" = no && ac_cv_exeext=
3446
3447else
3448  ac_file=''
3449fi
3450if test -z "$ac_file"; then :
3451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3452$as_echo "no" >&6; }
3453$as_echo "$as_me: failed program was:" >&5
3454sed 's/^/| /' conftest.$ac_ext >&5
3455
3456{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3457$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3458as_fn_error 77 "C++ compiler cannot create executables
3459See \`config.log' for more details" "$LINENO" 5; }
3460else
3461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3462$as_echo "yes" >&6; }
3463fi
3464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3465$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3467$as_echo "$ac_file" >&6; }
3468ac_exeext=$ac_cv_exeext
3469
3470rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3471ac_clean_files=$ac_clean_files_save
3472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3473$as_echo_n "checking for suffix of executables... " >&6; }
3474if { { ac_try="$ac_link"
3475case "(($ac_try" in
3476  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477  *) ac_try_echo=$ac_try;;
3478esac
3479eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480$as_echo "$ac_try_echo"; } >&5
3481  (eval "$ac_link") 2>&5
3482  ac_status=$?
3483  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484  test $ac_status = 0; }; then :
3485  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3486# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3487# work properly (i.e., refer to `conftest.exe'), while it won't with
3488# `rm'.
3489for ac_file in conftest.exe conftest conftest.*; do
3490  test -f "$ac_file" || continue
3491  case $ac_file in
3492    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3493    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3494          break;;
3495    * ) break;;
3496  esac
3497done
3498else
3499  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3500$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3501as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3502See \`config.log' for more details" "$LINENO" 5; }
3503fi
3504rm -f conftest conftest$ac_cv_exeext
3505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3506$as_echo "$ac_cv_exeext" >&6; }
3507
3508rm -f conftest.$ac_ext
3509EXEEXT=$ac_cv_exeext
3510ac_exeext=$EXEEXT
3511cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512/* end confdefs.h.  */
3513#include <stdio.h>
3514int
3515main ()
3516{
3517FILE *f = fopen ("conftest.out", "w");
3518 return ferror (f) || fclose (f) != 0;
3519
3520  ;
3521  return 0;
3522}
3523_ACEOF
3524ac_clean_files="$ac_clean_files conftest.out"
3525# Check that the compiler produces executables we can run.  If not, either
3526# the compiler is broken, or we cross compile.
3527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3528$as_echo_n "checking whether we are cross compiling... " >&6; }
3529if test "$cross_compiling" != yes; then
3530  { { ac_try="$ac_link"
3531case "(($ac_try" in
3532  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3533  *) ac_try_echo=$ac_try;;
3534esac
3535eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536$as_echo "$ac_try_echo"; } >&5
3537  (eval "$ac_link") 2>&5
3538  ac_status=$?
3539  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540  test $ac_status = 0; }
3541  if { ac_try='./conftest$ac_cv_exeext'
3542  { { case "(($ac_try" in
3543  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3544  *) ac_try_echo=$ac_try;;
3545esac
3546eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3547$as_echo "$ac_try_echo"; } >&5
3548  (eval "$ac_try") 2>&5
3549  ac_status=$?
3550  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3551  test $ac_status = 0; }; }; then
3552    cross_compiling=no
3553  else
3554    if test "$cross_compiling" = maybe; then
3555        cross_compiling=yes
3556    else
3557        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3558$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3559as_fn_error $? "cannot run C++ compiled programs.
3560If you meant to cross compile, use \`--host'.
3561See \`config.log' for more details" "$LINENO" 5; }
3562    fi
3563  fi
3564fi
3565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3566$as_echo "$cross_compiling" >&6; }
3567
3568rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3569ac_clean_files=$ac_clean_files_save
3570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3571$as_echo_n "checking for suffix of object files... " >&6; }
3572if ${ac_cv_objext+:} false; then :
3573  $as_echo_n "(cached) " >&6
3574else
3575  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576/* end confdefs.h.  */
3577
3578int
3579main ()
3580{
3581
3582  ;
3583  return 0;
3584}
3585_ACEOF
3586rm -f conftest.o conftest.obj
3587if { { ac_try="$ac_compile"
3588case "(($ac_try" in
3589  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590  *) ac_try_echo=$ac_try;;
3591esac
3592eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3593$as_echo "$ac_try_echo"; } >&5
3594  (eval "$ac_compile") 2>&5
3595  ac_status=$?
3596  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3597  test $ac_status = 0; }; then :
3598  for ac_file in conftest.o conftest.obj conftest.*; do
3599  test -f "$ac_file" || continue;
3600  case $ac_file in
3601    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3602    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3603       break;;
3604  esac
3605done
3606else
3607  $as_echo "$as_me: failed program was:" >&5
3608sed 's/^/| /' conftest.$ac_ext >&5
3609
3610{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3611$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3612as_fn_error $? "cannot compute suffix of object files: cannot compile
3613See \`config.log' for more details" "$LINENO" 5; }
3614fi
3615rm -f conftest.$ac_cv_objext conftest.$ac_ext
3616fi
3617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3618$as_echo "$ac_cv_objext" >&6; }
3619OBJEXT=$ac_cv_objext
3620ac_objext=$OBJEXT
3621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3622$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3623if ${ac_cv_cxx_compiler_gnu+:} false; then :
3624  $as_echo_n "(cached) " >&6
3625else
3626  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627/* end confdefs.h.  */
3628
3629int
3630main ()
3631{
3632#ifndef __GNUC__
3633       choke me
3634#endif
3635
3636  ;
3637  return 0;
3638}
3639_ACEOF
3640if ac_fn_cxx_try_compile "$LINENO"; then :
3641  ac_compiler_gnu=yes
3642else
3643  ac_compiler_gnu=no
3644fi
3645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3647
3648fi
3649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3650$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3651if test $ac_compiler_gnu = yes; then
3652  GXX=yes
3653else
3654  GXX=
3655fi
3656ac_test_CXXFLAGS=${CXXFLAGS+set}
3657ac_save_CXXFLAGS=$CXXFLAGS
3658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3659$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3660if ${ac_cv_prog_cxx_g+:} false; then :
3661  $as_echo_n "(cached) " >&6
3662else
3663  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3664   ac_cxx_werror_flag=yes
3665   ac_cv_prog_cxx_g=no
3666   CXXFLAGS="-g"
3667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668/* end confdefs.h.  */
3669
3670int
3671main ()
3672{
3673
3674  ;
3675  return 0;
3676}
3677_ACEOF
3678if ac_fn_cxx_try_compile "$LINENO"; then :
3679  ac_cv_prog_cxx_g=yes
3680else
3681  CXXFLAGS=""
3682      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683/* end confdefs.h.  */
3684
3685int
3686main ()
3687{
3688
3689  ;
3690  return 0;
3691}
3692_ACEOF
3693if ac_fn_cxx_try_compile "$LINENO"; then :
3694
3695else
3696  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3697         CXXFLAGS="-g"
3698         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3699/* end confdefs.h.  */
3700
3701int
3702main ()
3703{
3704
3705  ;
3706  return 0;
3707}
3708_ACEOF
3709if ac_fn_cxx_try_compile "$LINENO"; then :
3710  ac_cv_prog_cxx_g=yes
3711fi
3712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3713fi
3714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3715fi
3716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3717   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3718fi
3719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3720$as_echo "$ac_cv_prog_cxx_g" >&6; }
3721if test "$ac_test_CXXFLAGS" = set; then
3722  CXXFLAGS=$ac_save_CXXFLAGS
3723elif test $ac_cv_prog_cxx_g = yes; then
3724  if test "$GXX" = yes; then
3725    CXXFLAGS="-g -O2"
3726  else
3727    CXXFLAGS="-g"
3728  fi
3729else
3730  if test "$GXX" = yes; then
3731    CXXFLAGS="-O2"
3732  else
3733    CXXFLAGS=
3734  fi
3735fi
3736ac_ext=c
3737ac_cpp='$CPP $CPPFLAGS'
3738ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3739ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3740ac_compiler_gnu=$ac_cv_c_compiler_gnu
3741DEPDIR="${am__leading_dot}deps"
3742
3743ac_config_commands="$ac_config_commands depfiles"
3744
3745
3746am_make=${MAKE-make}
3747cat > confinc << 'END'
3748am__doit:
3749        @echo this is the am__doit target
3750.PHONY: am__doit
3751END
3752# If we don't find an include directive, just comment out the code.
3753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3754$as_echo_n "checking for style of include used by $am_make... " >&6; }
3755am__include="#"
3756am__quote=
3757_am_result=none
3758# First try GNU make style include.
3759echo "include confinc" > confmf
3760# Ignore all kinds of additional output from `make'.
3761case `$am_make -s -f confmf 2> /dev/null` in #(
3762*the\ am__doit\ target*)
3763  am__include=include
3764  am__quote=
3765  _am_result=GNU
3766  ;;
3767esac
3768# Now try BSD make style include.
3769if test "$am__include" = "#"; then
3770   echo '.include "confinc"' > confmf
3771   case `$am_make -s -f confmf 2> /dev/null` in #(
3772   *the\ am__doit\ target*)
3773     am__include=.include
3774     am__quote="\""
3775     _am_result=BSD
3776     ;;
3777   esac
3778fi
3779
3780
3781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3782$as_echo "$_am_result" >&6; }
3783rm -f confinc confmf
3784
3785# Check whether --enable-dependency-tracking was given.
3786if test "${enable_dependency_tracking+set}" = set; then :
3787  enableval=$enable_dependency_tracking;
3788fi
3789
3790if test "x$enable_dependency_tracking" != xno; then
3791  am_depcomp="$ac_aux_dir/depcomp"
3792  AMDEPBACKSLASH='\'
3793fi
3794 if test "x$enable_dependency_tracking" != xno; then
3795  AMDEP_TRUE=
3796  AMDEP_FALSE='#'
3797else
3798  AMDEP_TRUE='#'
3799  AMDEP_FALSE=
3800fi
3801
3802
3803
3804depcc="$CXX"  am_compiler_list=
3805
3806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3807$as_echo_n "checking dependency style of $depcc... " >&6; }
3808if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3809  $as_echo_n "(cached) " >&6
3810else
3811  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3812  # We make a subdir and do the tests there.  Otherwise we can end up
3813  # making bogus files that we don't know about and never remove.  For
3814  # instance it was reported that on HP-UX the gcc test will end up
3815  # making a dummy file named `D' -- because `-MD' means `put the output
3816  # in D'.
3817  mkdir conftest.dir
3818  # Copy depcomp to subdir because otherwise we won't find it if we're
3819  # using a relative directory.
3820  cp "$am_depcomp" conftest.dir
3821  cd conftest.dir
3822  # We will build objects and dependencies in a subdirectory because
3823  # it helps to detect inapplicable dependency modes.  For instance
3824  # both Tru64's cc and ICC support -MD to output dependencies as a
3825  # side effect of compilation, but ICC will put the dependencies in
3826  # the current directory while Tru64 will put them in the object
3827  # directory.
3828  mkdir sub
3829
3830  am_cv_CXX_dependencies_compiler_type=none
3831  if test "$am_compiler_list" = ""; then
3832     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3833  fi
3834  am__universal=false
3835  case " $depcc " in #(
3836     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3837     esac
3838
3839  for depmode in $am_compiler_list; do
3840    # Setup a source with many dependencies, because some compilers
3841    # like to wrap large dependency lists on column 80 (with \), and
3842    # we should not choose a depcomp mode which is confused by this.
3843    #
3844    # We need to recreate these files for each test, as the compiler may
3845    # overwrite some of them when testing with obscure command lines.
3846    # This happens at least with the AIX C compiler.
3847    : > sub/conftest.c
3848    for i in 1 2 3 4 5 6; do
3849      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3850      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3851      # Solaris 8's {/usr,}/bin/sh.
3852      touch sub/conftst$i.h
3853    done
3854    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3855
3856    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3857    # mode.  It turns out that the SunPro C++ compiler does not properly
3858    # handle `-M -o', and we need to detect this.  Also, some Intel
3859    # versions had trouble with output in subdirs
3860    am__obj=sub/conftest.${OBJEXT-o}
3861    am__minus_obj="-o $am__obj"
3862    case $depmode in
3863    gcc)
3864      # This depmode causes a compiler race in universal mode.
3865      test "$am__universal" = false || continue
3866      ;;
3867    nosideeffect)
3868      # after this tag, mechanisms are not by side-effect, so they'll
3869      # only be used when explicitly requested
3870      if test "x$enable_dependency_tracking" = xyes; then
3871        continue
3872      else
3873        break
3874      fi
3875      ;;
3876    msvisualcpp | msvcmsys)
3877      # This compiler won't grok `-c -o', but also, the minuso test has
3878      # not run yet.  These depmodes are late enough in the game, and
3879      # so weak that their functioning should not be impacted.
3880      am__obj=conftest.${OBJEXT-o}
3881      am__minus_obj=
3882      ;;
3883    none) break ;;
3884    esac
3885    if depmode=$depmode \
3886       source=sub/conftest.c object=$am__obj \
3887       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3888       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3889         >/dev/null 2>conftest.err &&
3890       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3891       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3892       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3893       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3894      # icc doesn't choke on unknown options, it will just issue warnings
3895      # or remarks (even with -Werror).  So we grep stderr for any message
3896      # that says an option was ignored or not supported.
3897      # When given -MP, icc 7.0 and 7.1 complain thusly:
3898      #   icc: Command line warning: ignoring option '-M'; no argument required
3899      # The diagnosis changed in icc 8.0:
3900      #   icc: Command line remark: option '-MP' not supported
3901      if (grep 'ignoring option' conftest.err ||
3902          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3903        am_cv_CXX_dependencies_compiler_type=$depmode
3904        break
3905      fi
3906    fi
3907  done
3908
3909  cd ..
3910  rm -rf conftest.dir
3911else
3912  am_cv_CXX_dependencies_compiler_type=none
3913fi
3914
3915fi
3916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3917$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3918CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3919
3920 if
3921  test "x$enable_dependency_tracking" != xno \
3922  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3923  am__fastdepCXX_TRUE=
3924  am__fastdepCXX_FALSE='#'
3925else
3926  am__fastdepCXX_TRUE='#'
3927  am__fastdepCXX_FALSE=
3928fi
3929
3930
3931ac_ext=c
3932ac_cpp='$CPP $CPPFLAGS'
3933ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3934ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3935ac_compiler_gnu=$ac_cv_c_compiler_gnu
3936if test -n "$ac_tool_prefix"; then
3937  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3938set dummy ${ac_tool_prefix}gcc; ac_word=$2
3939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3940$as_echo_n "checking for $ac_word... " >&6; }
3941if ${ac_cv_prog_CC+:} false; then :
3942  $as_echo_n "(cached) " >&6
3943else
3944  if test -n "$CC"; then
3945  ac_cv_prog_CC="$CC" # Let the user override the test.
3946else
3947as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3948for as_dir in $PATH
3949do
3950  IFS=$as_save_IFS
3951  test -z "$as_dir" && as_dir=.
3952    for ac_exec_ext in '' $ac_executable_extensions; do
3953  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3954    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3955    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3956    break 2
3957  fi
3958done
3959  done
3960IFS=$as_save_IFS
3961
3962fi
3963fi
3964CC=$ac_cv_prog_CC
3965if test -n "$CC"; then
3966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3967$as_echo "$CC" >&6; }
3968else
3969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3970$as_echo "no" >&6; }
3971fi
3972
3973
3974fi
3975if test -z "$ac_cv_prog_CC"; then
3976  ac_ct_CC=$CC
3977  # Extract the first word of "gcc", so it can be a program name with args.
3978set dummy gcc; ac_word=$2
3979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3980$as_echo_n "checking for $ac_word... " >&6; }
3981if ${ac_cv_prog_ac_ct_CC+:} false; then :
3982  $as_echo_n "(cached) " >&6
3983else
3984  if test -n "$ac_ct_CC"; then
3985  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3986else
3987as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988for as_dir in $PATH
3989do
3990  IFS=$as_save_IFS
3991  test -z "$as_dir" && as_dir=.
3992    for ac_exec_ext in '' $ac_executable_extensions; do
3993  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3994    ac_cv_prog_ac_ct_CC="gcc"
3995    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3996    break 2
3997  fi
3998done
3999  done
4000IFS=$as_save_IFS
4001
4002fi
4003fi
4004ac_ct_CC=$ac_cv_prog_ac_ct_CC
4005if test -n "$ac_ct_CC"; then
4006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4007$as_echo "$ac_ct_CC" >&6; }
4008else
4009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4010$as_echo "no" >&6; }
4011fi
4012
4013  if test "x$ac_ct_CC" = x; then
4014    CC=""
4015  else
4016    case $cross_compiling:$ac_tool_warned in
4017yes:)
4018{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4019$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4020ac_tool_warned=yes ;;
4021esac
4022    CC=$ac_ct_CC
4023  fi
4024else
4025  CC="$ac_cv_prog_CC"
4026fi
4027
4028if test -z "$CC"; then
4029          if test -n "$ac_tool_prefix"; then
4030    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4031set dummy ${ac_tool_prefix}cc; ac_word=$2
4032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4033$as_echo_n "checking for $ac_word... " >&6; }
4034if ${ac_cv_prog_CC+:} false; then :
4035  $as_echo_n "(cached) " >&6
4036else
4037  if test -n "$CC"; then
4038  ac_cv_prog_CC="$CC" # Let the user override the test.
4039else
4040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4041for as_dir in $PATH
4042do
4043  IFS=$as_save_IFS
4044  test -z "$as_dir" && as_dir=.
4045    for ac_exec_ext in '' $ac_executable_extensions; do
4046  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4047    ac_cv_prog_CC="${ac_tool_prefix}cc"
4048    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049    break 2
4050  fi
4051done
4052  done
4053IFS=$as_save_IFS
4054
4055fi
4056fi
4057CC=$ac_cv_prog_CC
4058if test -n "$CC"; then
4059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4060$as_echo "$CC" >&6; }
4061else
4062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4063$as_echo "no" >&6; }
4064fi
4065
4066
4067  fi
4068fi
4069if test -z "$CC"; then
4070  # Extract the first word of "cc", so it can be a program name with args.
4071set dummy cc; ac_word=$2
4072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4073$as_echo_n "checking for $ac_word... " >&6; }
4074if ${ac_cv_prog_CC+:} false; then :
4075  $as_echo_n "(cached) " >&6
4076else
4077  if test -n "$CC"; then
4078  ac_cv_prog_CC="$CC" # Let the user override the test.
4079else
4080  ac_prog_rejected=no
4081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4082for as_dir in $PATH
4083do
4084  IFS=$as_save_IFS
4085  test -z "$as_dir" && as_dir=.
4086    for ac_exec_ext in '' $ac_executable_extensions; do
4087  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4088    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4089       ac_prog_rejected=yes
4090       continue
4091     fi
4092    ac_cv_prog_CC="cc"
4093    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4094    break 2
4095  fi
4096done
4097  done
4098IFS=$as_save_IFS
4099
4100if test $ac_prog_rejected = yes; then
4101  # We found a bogon in the path, so make sure we never use it.
4102  set dummy $ac_cv_prog_CC
4103  shift
4104  if test $# != 0; then
4105    # We chose a different compiler from the bogus one.
4106    # However, it has the same basename, so the bogon will be chosen
4107    # first if we set CC to just the basename; use the full file name.
4108    shift
4109    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4110  fi
4111fi
4112fi
4113fi
4114CC=$ac_cv_prog_CC
4115if test -n "$CC"; then
4116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4117$as_echo "$CC" >&6; }
4118else
4119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4120$as_echo "no" >&6; }
4121fi
4122
4123
4124fi
4125if test -z "$CC"; then
4126  if test -n "$ac_tool_prefix"; then
4127  for ac_prog in cl.exe
4128  do
4129    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4130set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4132$as_echo_n "checking for $ac_word... " >&6; }
4133if ${ac_cv_prog_CC+:} false; then :
4134  $as_echo_n "(cached) " >&6
4135else
4136  if test -n "$CC"; then
4137  ac_cv_prog_CC="$CC" # Let the user override the test.
4138else
4139as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4140for as_dir in $PATH
4141do
4142  IFS=$as_save_IFS
4143  test -z "$as_dir" && as_dir=.
4144    for ac_exec_ext in '' $ac_executable_extensions; do
4145  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4146    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4147    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4148    break 2
4149  fi
4150done
4151  done
4152IFS=$as_save_IFS
4153
4154fi
4155fi
4156CC=$ac_cv_prog_CC
4157if test -n "$CC"; then
4158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4159$as_echo "$CC" >&6; }
4160else
4161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4162$as_echo "no" >&6; }
4163fi
4164
4165
4166    test -n "$CC" && break
4167  done
4168fi
4169if test -z "$CC"; then
4170  ac_ct_CC=$CC
4171  for ac_prog in cl.exe
4172do
4173  # Extract the first word of "$ac_prog", so it can be a program name with args.
4174set dummy $ac_prog; ac_word=$2
4175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4176$as_echo_n "checking for $ac_word... " >&6; }
4177if ${ac_cv_prog_ac_ct_CC+:} false; then :
4178  $as_echo_n "(cached) " >&6
4179else
4180  if test -n "$ac_ct_CC"; then
4181  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4182else
4183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4184for as_dir in $PATH
4185do
4186  IFS=$as_save_IFS
4187  test -z "$as_dir" && as_dir=.
4188    for ac_exec_ext in '' $ac_executable_extensions; do
4189  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4190    ac_cv_prog_ac_ct_CC="$ac_prog"
4191    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4192    break 2
4193  fi
4194done
4195  done
4196IFS=$as_save_IFS
4197
4198fi
4199fi
4200ac_ct_CC=$ac_cv_prog_ac_ct_CC
4201if test -n "$ac_ct_CC"; then
4202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4203$as_echo "$ac_ct_CC" >&6; }
4204else
4205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4206$as_echo "no" >&6; }
4207fi
4208
4209
4210  test -n "$ac_ct_CC" && break
4211done
4212
4213  if test "x$ac_ct_CC" = x; then
4214    CC=""
4215  else
4216    case $cross_compiling:$ac_tool_warned in
4217yes:)
4218{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4219$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4220ac_tool_warned=yes ;;
4221esac
4222    CC=$ac_ct_CC
4223  fi
4224fi
4225
4226fi
4227
4228
4229test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4231as_fn_error $? "no acceptable C compiler found in \$PATH
4232See \`config.log' for more details" "$LINENO" 5; }
4233
4234# Provide some information about the compiler.
4235$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4236set X $ac_compile
4237ac_compiler=$2
4238for ac_option in --version -v -V -qversion; do
4239  { { ac_try="$ac_compiler $ac_option >&5"
4240case "(($ac_try" in
4241  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4242  *) ac_try_echo=$ac_try;;
4243esac
4244eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4245$as_echo "$ac_try_echo"; } >&5
4246  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4247  ac_status=$?
4248  if test -s conftest.err; then
4249    sed '10a\
4250... rest of stderr output deleted ...
4251         10q' conftest.err >conftest.er1
4252    cat conftest.er1 >&5
4253  fi
4254  rm -f conftest.er1 conftest.err
4255  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4256  test $ac_status = 0; }
4257done
4258
4259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4260$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4261if ${ac_cv_c_compiler_gnu+:} false; then :
4262  $as_echo_n "(cached) " >&6
4263else
4264  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4265/* end confdefs.h.  */
4266
4267int
4268main ()
4269{
4270#ifndef __GNUC__
4271       choke me
4272#endif
4273
4274  ;
4275  return 0;
4276}
4277_ACEOF
4278if ac_fn_c_try_compile "$LINENO"; then :
4279  ac_compiler_gnu=yes
4280else
4281  ac_compiler_gnu=no
4282fi
4283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4284ac_cv_c_compiler_gnu=$ac_compiler_gnu
4285
4286fi
4287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4288$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4289if test $ac_compiler_gnu = yes; then
4290  GCC=yes
4291else
4292  GCC=
4293fi
4294ac_test_CFLAGS=${CFLAGS+set}
4295ac_save_CFLAGS=$CFLAGS
4296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4297$as_echo_n "checking whether $CC accepts -g... " >&6; }
4298if ${ac_cv_prog_cc_g+:} false; then :
4299  $as_echo_n "(cached) " >&6
4300else
4301  ac_save_c_werror_flag=$ac_c_werror_flag
4302   ac_c_werror_flag=yes
4303   ac_cv_prog_cc_g=no
4304   CFLAGS="-g"
4305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306/* end confdefs.h.  */
4307
4308int
4309main ()
4310{
4311
4312  ;
4313  return 0;
4314}
4315_ACEOF
4316if ac_fn_c_try_compile "$LINENO"; then :
4317  ac_cv_prog_cc_g=yes
4318else
4319  CFLAGS=""
4320      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321/* end confdefs.h.  */
4322
4323int
4324main ()
4325{
4326
4327  ;
4328  return 0;
4329}
4330_ACEOF
4331if ac_fn_c_try_compile "$LINENO"; then :
4332
4333else
4334  ac_c_werror_flag=$ac_save_c_werror_flag
4335         CFLAGS="-g"
4336         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4337/* end confdefs.h.  */
4338
4339int
4340main ()
4341{
4342
4343  ;
4344  return 0;
4345}
4346_ACEOF
4347if ac_fn_c_try_compile "$LINENO"; then :
4348  ac_cv_prog_cc_g=yes
4349fi
4350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4351fi
4352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4353fi
4354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4355   ac_c_werror_flag=$ac_save_c_werror_flag
4356fi
4357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4358$as_echo "$ac_cv_prog_cc_g" >&6; }
4359if test "$ac_test_CFLAGS" = set; then
4360  CFLAGS=$ac_save_CFLAGS
4361elif test $ac_cv_prog_cc_g = yes; then
4362  if test "$GCC" = yes; then
4363    CFLAGS="-g -O2"
4364  else
4365    CFLAGS="-g"
4366  fi
4367else
4368  if test "$GCC" = yes; then
4369    CFLAGS="-O2"
4370  else
4371    CFLAGS=
4372  fi
4373fi
4374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4375$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4376if ${ac_cv_prog_cc_c89+:} false; then :
4377  $as_echo_n "(cached) " >&6
4378else
4379  ac_cv_prog_cc_c89=no
4380ac_save_CC=$CC
4381cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382/* end confdefs.h.  */
4383#include <stdarg.h>
4384#include <stdio.h>
4385#include <sys/types.h>
4386#include <sys/stat.h>
4387/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4388struct buf { int x; };
4389FILE * (*rcsopen) (struct buf *, struct stat *, int);
4390static char *e (p, i)
4391     char **p;
4392     int i;
4393{
4394  return p[i];
4395}
4396static char *f (char * (*g) (char **, int), char **p, ...)
4397{
4398  char *s;
4399  va_list v;
4400  va_start (v,p);
4401  s = g (p, va_arg (v,int));
4402  va_end (v);
4403  return s;
4404}
4405
4406/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4407   function prototypes and stuff, but not '\xHH' hex character constants.
4408   These don't provoke an error unfortunately, instead are silently treated
4409   as 'x'.  The following induces an error, until -std is added to get
4410   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4411   array size at least.  It's necessary to write '\x00'==0 to get something
4412   that's true only with -std.  */
4413int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4414
4415/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4416   inside strings and character constants.  */
4417#define FOO(x) 'x'
4418int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4419
4420int test (int i, double x);
4421struct s1 {int (*f) (int a);};
4422struct s2 {int (*f) (double a);};
4423int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4424int argc;
4425char **argv;
4426int
4427main ()
4428{
4429return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4430  ;
4431  return 0;
4432}
4433_ACEOF
4434for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4435        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4436do
4437  CC="$ac_save_CC $ac_arg"
4438  if ac_fn_c_try_compile "$LINENO"; then :
4439  ac_cv_prog_cc_c89=$ac_arg
4440fi
4441rm -f core conftest.err conftest.$ac_objext
4442  test "x$ac_cv_prog_cc_c89" != "xno" && break
4443done
4444rm -f conftest.$ac_ext
4445CC=$ac_save_CC
4446
4447fi
4448# AC_CACHE_VAL
4449case "x$ac_cv_prog_cc_c89" in
4450  x)
4451    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4452$as_echo "none needed" >&6; } ;;
4453  xno)
4454    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4455$as_echo "unsupported" >&6; } ;;
4456  *)
4457    CC="$CC $ac_cv_prog_cc_c89"
4458    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4459$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4460esac
4461if test "x$ac_cv_prog_cc_c89" != xno; then :
4462
4463fi
4464
4465ac_ext=c
4466ac_cpp='$CPP $CPPFLAGS'
4467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4469ac_compiler_gnu=$ac_cv_c_compiler_gnu
4470
4471depcc="$CC"   am_compiler_list=
4472
4473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4474$as_echo_n "checking dependency style of $depcc... " >&6; }
4475if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4476  $as_echo_n "(cached) " >&6
4477else
4478  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4479  # We make a subdir and do the tests there.  Otherwise we can end up
4480  # making bogus files that we don't know about and never remove.  For
4481  # instance it was reported that on HP-UX the gcc test will end up
4482  # making a dummy file named `D' -- because `-MD' means `put the output
4483  # in D'.
4484  mkdir conftest.dir
4485  # Copy depcomp to subdir because otherwise we won't find it if we're
4486  # using a relative directory.
4487  cp "$am_depcomp" conftest.dir
4488  cd conftest.dir
4489  # We will build objects and dependencies in a subdirectory because
4490  # it helps to detect inapplicable dependency modes.  For instance
4491  # both Tru64's cc and ICC support -MD to output dependencies as a
4492  # side effect of compilation, but ICC will put the dependencies in
4493  # the current directory while Tru64 will put them in the object
4494  # directory.
4495  mkdir sub
4496
4497  am_cv_CC_dependencies_compiler_type=none
4498  if test "$am_compiler_list" = ""; then
4499     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4500  fi
4501  am__universal=false
4502  case " $depcc " in #(
4503     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4504     esac
4505
4506  for depmode in $am_compiler_list; do
4507    # Setup a source with many dependencies, because some compilers
4508    # like to wrap large dependency lists on column 80 (with \), and
4509    # we should not choose a depcomp mode which is confused by this.
4510    #
4511    # We need to recreate these files for each test, as the compiler may
4512    # overwrite some of them when testing with obscure command lines.
4513    # This happens at least with the AIX C compiler.
4514    : > sub/conftest.c
4515    for i in 1 2 3 4 5 6; do
4516      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4517      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4518      # Solaris 8's {/usr,}/bin/sh.
4519      touch sub/conftst$i.h
4520    done
4521    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4522
4523    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4524    # mode.  It turns out that the SunPro C++ compiler does not properly
4525    # handle `-M -o', and we need to detect this.  Also, some Intel
4526    # versions had trouble with output in subdirs
4527    am__obj=sub/conftest.${OBJEXT-o}
4528    am__minus_obj="-o $am__obj"
4529    case $depmode in
4530    gcc)
4531      # This depmode causes a compiler race in universal mode.
4532      test "$am__universal" = false || continue
4533      ;;
4534    nosideeffect)
4535      # after this tag, mechanisms are not by side-effect, so they'll
4536      # only be used when explicitly requested
4537      if test "x$enable_dependency_tracking" = xyes; then
4538        continue
4539      else
4540        break
4541      fi
4542      ;;
4543    msvisualcpp | msvcmsys)
4544      # This compiler won't grok `-c -o', but also, the minuso test has
4545      # not run yet.  These depmodes are late enough in the game, and
4546      # so weak that their functioning should not be impacted.
4547      am__obj=conftest.${OBJEXT-o}
4548      am__minus_obj=
4549      ;;
4550    none) break ;;
4551    esac
4552    if depmode=$depmode \
4553       source=sub/conftest.c object=$am__obj \
4554       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4555       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4556         >/dev/null 2>conftest.err &&
4557       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4558       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4559       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4560       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4561      # icc doesn't choke on unknown options, it will just issue warnings
4562      # or remarks (even with -Werror).  So we grep stderr for any message
4563      # that says an option was ignored or not supported.
4564      # When given -MP, icc 7.0 and 7.1 complain thusly:
4565      #   icc: Command line warning: ignoring option '-M'; no argument required
4566      # The diagnosis changed in icc 8.0:
4567      #   icc: Command line remark: option '-MP' not supported
4568      if (grep 'ignoring option' conftest.err ||
4569          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4570        am_cv_CC_dependencies_compiler_type=$depmode
4571        break
4572      fi
4573    fi
4574  done
4575
4576  cd ..
4577  rm -rf conftest.dir
4578else
4579  am_cv_CC_dependencies_compiler_type=none
4580fi
4581
4582fi
4583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4584$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4585CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4586
4587 if
4588  test "x$enable_dependency_tracking" != xno \
4589  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4590  am__fastdepCC_TRUE=
4591  am__fastdepCC_FALSE='#'
4592else
4593  am__fastdepCC_TRUE='#'
4594  am__fastdepCC_FALSE=
4595fi
4596
4597
4598ac_ext=c
4599ac_cpp='$CPP $CPPFLAGS'
4600ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4601ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4602ac_compiler_gnu=$ac_cv_c_compiler_gnu
4603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4604$as_echo_n "checking how to run the C preprocessor... " >&6; }
4605# On Suns, sometimes $CPP names a directory.
4606if test -n "$CPP" && test -d "$CPP"; then
4607  CPP=
4608fi
4609if test -z "$CPP"; then
4610  if ${ac_cv_prog_CPP+:} false; then :
4611  $as_echo_n "(cached) " >&6
4612else
4613      # Double quotes because CPP needs to be expanded
4614    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4615    do
4616      ac_preproc_ok=false
4617for ac_c_preproc_warn_flag in '' yes
4618do
4619  # Use a header file that comes with gcc, so configuring glibc
4620  # with a fresh cross-compiler works.
4621  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4622  # <limits.h> exists even on freestanding compilers.
4623  # On the NeXT, cc -E runs the code through the compiler's parser,
4624  # not just through cpp. "Syntax error" is here to catch this case.
4625  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626/* end confdefs.h.  */
4627#ifdef __STDC__
4628# include <limits.h>
4629#else
4630# include <assert.h>
4631#endif
4632                     Syntax error
4633_ACEOF
4634if ac_fn_c_try_cpp "$LINENO"; then :
4635
4636else
4637  # Broken: fails on valid input.
4638continue
4639fi
4640rm -f conftest.err conftest.i conftest.$ac_ext
4641
4642  # OK, works on sane cases.  Now check whether nonexistent headers
4643  # can be detected and how.
4644  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645/* end confdefs.h.  */
4646#include <ac_nonexistent.h>
4647_ACEOF
4648if ac_fn_c_try_cpp "$LINENO"; then :
4649  # Broken: success on invalid input.
4650continue
4651else
4652  # Passes both tests.
4653ac_preproc_ok=:
4654break
4655fi
4656rm -f conftest.err conftest.i conftest.$ac_ext
4657
4658done
4659# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4660rm -f conftest.i conftest.err conftest.$ac_ext
4661if $ac_preproc_ok; then :
4662  break
4663fi
4664
4665    done
4666    ac_cv_prog_CPP=$CPP
4667
4668fi
4669  CPP=$ac_cv_prog_CPP
4670else
4671  ac_cv_prog_CPP=$CPP
4672fi
4673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4674$as_echo "$CPP" >&6; }
4675ac_preproc_ok=false
4676for ac_c_preproc_warn_flag in '' yes
4677do
4678  # Use a header file that comes with gcc, so configuring glibc
4679  # with a fresh cross-compiler works.
4680  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4681  # <limits.h> exists even on freestanding compilers.
4682  # On the NeXT, cc -E runs the code through the compiler's parser,
4683  # not just through cpp. "Syntax error" is here to catch this case.
4684  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685/* end confdefs.h.  */
4686#ifdef __STDC__
4687# include <limits.h>
4688#else
4689# include <assert.h>
4690#endif
4691                     Syntax error
4692_ACEOF
4693if ac_fn_c_try_cpp "$LINENO"; then :
4694
4695else
4696  # Broken: fails on valid input.
4697continue
4698fi
4699rm -f conftest.err conftest.i conftest.$ac_ext
4700
4701  # OK, works on sane cases.  Now check whether nonexistent headers
4702  # can be detected and how.
4703  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704/* end confdefs.h.  */
4705#include <ac_nonexistent.h>
4706_ACEOF
4707if ac_fn_c_try_cpp "$LINENO"; then :
4708  # Broken: success on invalid input.
4709continue
4710else
4711  # Passes both tests.
4712ac_preproc_ok=:
4713break
4714fi
4715rm -f conftest.err conftest.i conftest.$ac_ext
4716
4717done
4718# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4719rm -f conftest.i conftest.err conftest.$ac_ext
4720if $ac_preproc_ok; then :
4721
4722else
4723  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4724$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4725as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4726See \`config.log' for more details" "$LINENO" 5; }
4727fi
4728
4729ac_ext=c
4730ac_cpp='$CPP $CPPFLAGS'
4731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4733ac_compiler_gnu=$ac_cv_c_compiler_gnu
4734
4735
4736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4737$as_echo_n "checking whether ln -s works... " >&6; }
4738LN_S=$as_ln_s
4739if test "$LN_S" = "ln -s"; then
4740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4741$as_echo "yes" >&6; }
4742else
4743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4744$as_echo "no, using $LN_S" >&6; }
4745fi
4746
4747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4748$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4749set x ${MAKE-make}
4750ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4751if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4752  $as_echo_n "(cached) " >&6
4753else
4754  cat >conftest.make <<\_ACEOF
4755SHELL = /bin/sh
4756all:
4757        @echo '@@@%%%=$(MAKE)=@@@%%%'
4758_ACEOF
4759# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4760case `${MAKE-make} -f conftest.make 2>/dev/null` in
4761  *@@@%%%=?*=@@@%%%*)
4762    eval ac_cv_prog_make_${ac_make}_set=yes;;
4763  *)
4764    eval ac_cv_prog_make_${ac_make}_set=no;;
4765esac
4766rm -f conftest.make
4767fi
4768if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4770$as_echo "yes" >&6; }
4771  SET_MAKE=
4772else
4773  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4774$as_echo "no" >&6; }
4775  SET_MAKE="MAKE=${MAKE-make}"
4776fi
4777
4778# Make sure we can run config.sub.
4779$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4780  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4781
4782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4783$as_echo_n "checking build system type... " >&6; }
4784if ${ac_cv_build+:} false; then :
4785  $as_echo_n "(cached) " >&6
4786else
4787  ac_build_alias=$build_alias
4788test "x$ac_build_alias" = x &&
4789  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4790test "x$ac_build_alias" = x &&
4791  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4792ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4793  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4794
4795fi
4796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4797$as_echo "$ac_cv_build" >&6; }
4798case $ac_cv_build in
4799*-*-*) ;;
4800*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4801esac
4802build=$ac_cv_build
4803ac_save_IFS=$IFS; IFS='-'
4804set x $ac_cv_build
4805shift
4806build_cpu=$1
4807build_vendor=$2
4808shift; shift
4809# Remember, the first character of IFS is used to create $*,
4810# except with old shells:
4811build_os=$*
4812IFS=$ac_save_IFS
4813case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4814
4815
4816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4817$as_echo_n "checking host system type... " >&6; }
4818if ${ac_cv_host+:} false; then :
4819  $as_echo_n "(cached) " >&6
4820else
4821  if test "x$host_alias" = x; then
4822  ac_cv_host=$ac_cv_build
4823else
4824  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4825    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4826fi
4827
4828fi
4829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4830$as_echo "$ac_cv_host" >&6; }
4831case $ac_cv_host in
4832*-*-*) ;;
4833*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4834esac
4835host=$ac_cv_host
4836ac_save_IFS=$IFS; IFS='-'
4837set x $ac_cv_host
4838shift
4839host_cpu=$1
4840host_vendor=$2
4841shift; shift
4842# Remember, the first character of IFS is used to create $*,
4843# except with old shells:
4844host_os=$*
4845IFS=$ac_save_IFS
4846case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4847
4848
4849enable_win32_dll=yes
4850
4851case $host in
4852*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4853  if test -n "$ac_tool_prefix"; then
4854  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4855set dummy ${ac_tool_prefix}as; ac_word=$2
4856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4857$as_echo_n "checking for $ac_word... " >&6; }
4858if ${ac_cv_prog_AS+:} false; then :
4859  $as_echo_n "(cached) " >&6
4860else
4861  if test -n "$AS"; then
4862  ac_cv_prog_AS="$AS" # Let the user override the test.
4863else
4864as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4865for as_dir in $PATH
4866do
4867  IFS=$as_save_IFS
4868  test -z "$as_dir" && as_dir=.
4869    for ac_exec_ext in '' $ac_executable_extensions; do
4870  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4871    ac_cv_prog_AS="${ac_tool_prefix}as"
4872    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4873    break 2
4874  fi
4875done
4876  done
4877IFS=$as_save_IFS
4878
4879fi
4880fi
4881AS=$ac_cv_prog_AS
4882if test -n "$AS"; then
4883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4884$as_echo "$AS" >&6; }
4885else
4886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887$as_echo "no" >&6; }
4888fi
4889
4890
4891fi
4892if test -z "$ac_cv_prog_AS"; then
4893  ac_ct_AS=$AS
4894  # Extract the first word of "as", so it can be a program name with args.
4895set dummy as; ac_word=$2
4896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4897$as_echo_n "checking for $ac_word... " >&6; }
4898if ${ac_cv_prog_ac_ct_AS+:} false; then :
4899  $as_echo_n "(cached) " >&6
4900else
4901  if test -n "$ac_ct_AS"; then
4902  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4903else
4904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905for as_dir in $PATH
4906do
4907  IFS=$as_save_IFS
4908  test -z "$as_dir" && as_dir=.
4909    for ac_exec_ext in '' $ac_executable_extensions; do
4910  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4911    ac_cv_prog_ac_ct_AS="as"
4912    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4913    break 2
4914  fi
4915done
4916  done
4917IFS=$as_save_IFS
4918
4919fi
4920fi
4921ac_ct_AS=$ac_cv_prog_ac_ct_AS
4922if test -n "$ac_ct_AS"; then
4923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4924$as_echo "$ac_ct_AS" >&6; }
4925else
4926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927$as_echo "no" >&6; }
4928fi
4929
4930  if test "x$ac_ct_AS" = x; then
4931    AS="false"
4932  else
4933    case $cross_compiling:$ac_tool_warned in
4934yes:)
4935{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4936$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4937ac_tool_warned=yes ;;
4938esac
4939    AS=$ac_ct_AS
4940  fi
4941else
4942  AS="$ac_cv_prog_AS"
4943fi
4944
4945  if test -n "$ac_tool_prefix"; then
4946  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4947set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949$as_echo_n "checking for $ac_word... " >&6; }
4950if ${ac_cv_prog_DLLTOOL+:} false; then :
4951  $as_echo_n "(cached) " >&6
4952else
4953  if test -n "$DLLTOOL"; then
4954  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4955else
4956as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957for as_dir in $PATH
4958do
4959  IFS=$as_save_IFS
4960  test -z "$as_dir" && as_dir=.
4961    for ac_exec_ext in '' $ac_executable_extensions; do
4962  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4963    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4964    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4965    break 2
4966  fi
4967done
4968  done
4969IFS=$as_save_IFS
4970
4971fi
4972fi
4973DLLTOOL=$ac_cv_prog_DLLTOOL
4974if test -n "$DLLTOOL"; then
4975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4976$as_echo "$DLLTOOL" >&6; }
4977else
4978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979$as_echo "no" >&6; }
4980fi
4981
4982
4983fi
4984if test -z "$ac_cv_prog_DLLTOOL"; then
4985  ac_ct_DLLTOOL=$DLLTOOL
4986  # Extract the first word of "dlltool", so it can be a program name with args.
4987set dummy dlltool; ac_word=$2
4988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989$as_echo_n "checking for $ac_word... " >&6; }
4990if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4991  $as_echo_n "(cached) " >&6
4992else
4993  if test -n "$ac_ct_DLLTOOL"; then
4994  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4995else
4996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997for as_dir in $PATH
4998do
4999  IFS=$as_save_IFS
5000  test -z "$as_dir" && as_dir=.
5001    for ac_exec_ext in '' $ac_executable_extensions; do
5002  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5003    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5004    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5005    break 2
5006  fi
5007done
5008  done
5009IFS=$as_save_IFS
5010
5011fi
5012fi
5013ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5014if test -n "$ac_ct_DLLTOOL"; then
5015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5016$as_echo "$ac_ct_DLLTOOL" >&6; }
5017else
5018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019$as_echo "no" >&6; }
5020fi
5021
5022  if test "x$ac_ct_DLLTOOL" = x; then
5023    DLLTOOL="false"
5024  else
5025    case $cross_compiling:$ac_tool_warned in
5026yes:)
5027{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5028$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5029ac_tool_warned=yes ;;
5030esac
5031    DLLTOOL=$ac_ct_DLLTOOL
5032  fi
5033else
5034  DLLTOOL="$ac_cv_prog_DLLTOOL"
5035fi
5036
5037  if test -n "$ac_tool_prefix"; then
5038  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5039set dummy ${ac_tool_prefix}objdump; ac_word=$2
5040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041$as_echo_n "checking for $ac_word... " >&6; }
5042if ${ac_cv_prog_OBJDUMP+:} false; then :
5043  $as_echo_n "(cached) " >&6
5044else
5045  if test -n "$OBJDUMP"; then
5046  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5047else
5048as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5049for as_dir in $PATH
5050do
5051  IFS=$as_save_IFS
5052  test -z "$as_dir" && as_dir=.
5053    for ac_exec_ext in '' $ac_executable_extensions; do
5054  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5055    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5056    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5057    break 2
5058  fi
5059done
5060  done
5061IFS=$as_save_IFS
5062
5063fi
5064fi
5065OBJDUMP=$ac_cv_prog_OBJDUMP
5066if test -n "$OBJDUMP"; then
5067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5068$as_echo "$OBJDUMP" >&6; }
5069else
5070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071$as_echo "no" >&6; }
5072fi
5073
5074
5075fi
5076if test -z "$ac_cv_prog_OBJDUMP"; then
5077  ac_ct_OBJDUMP=$OBJDUMP
5078  # Extract the first word of "objdump", so it can be a program name with args.
5079set dummy objdump; ac_word=$2
5080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081$as_echo_n "checking for $ac_word... " >&6; }
5082if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5083  $as_echo_n "(cached) " >&6
5084else
5085  if test -n "$ac_ct_OBJDUMP"; then
5086  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5087else
5088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089for as_dir in $PATH
5090do
5091  IFS=$as_save_IFS
5092  test -z "$as_dir" && as_dir=.
5093    for ac_exec_ext in '' $ac_executable_extensions; do
5094  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5095    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5096    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097    break 2
5098  fi
5099done
5100  done
5101IFS=$as_save_IFS
5102
5103fi
5104fi
5105ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5106if test -n "$ac_ct_OBJDUMP"; then
5107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5108$as_echo "$ac_ct_OBJDUMP" >&6; }
5109else
5110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111$as_echo "no" >&6; }
5112fi
5113
5114  if test "x$ac_ct_OBJDUMP" = x; then
5115    OBJDUMP="false"
5116  else
5117    case $cross_compiling:$ac_tool_warned in
5118yes:)
5119{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5120$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5121ac_tool_warned=yes ;;
5122esac
5123    OBJDUMP=$ac_ct_OBJDUMP
5124  fi
5125else
5126  OBJDUMP="$ac_cv_prog_OBJDUMP"
5127fi
5128
5129  ;;
5130esac
5131
5132test -z "$AS" && AS=as
5133
5134
5135
5136
5137
5138test -z "$DLLTOOL" && DLLTOOL=dlltool
5139
5140
5141
5142
5143
5144test -z "$OBJDUMP" && OBJDUMP=objdump
5145
5146
5147
5148
5149
5150
5151
5152case `pwd` in
5153  *\ * | *\     *)
5154    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5155$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5156esac
5157
5158
5159
5160macro_version='2.4'
5161macro_revision='1.3293'
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175ltmain="$ac_aux_dir/ltmain.sh"
5176
5177# Backslashify metacharacters that are still active within
5178# double-quoted strings.
5179sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5180
5181# Same as above, but do not quote variable references.
5182double_quote_subst='s/\(["`\\]\)/\\\1/g'
5183
5184# Sed substitution to delay expansion of an escaped shell variable in a
5185# double_quote_subst'ed string.
5186delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5187
5188# Sed substitution to delay expansion of an escaped single quote.
5189delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5190
5191# Sed substitution to avoid accidental globbing in evaled expressions
5192no_glob_subst='s/\*/\\\*/g'
5193
5194ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5195ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5196ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5197
5198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5199$as_echo_n "checking how to print strings... " >&6; }
5200# Test print first, because it will be a builtin if present.
5201if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5202   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5203  ECHO='print -r --'
5204elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5205  ECHO='printf %s\n'
5206else
5207  # Use this function as a fallback that always works.
5208  func_fallback_echo ()
5209  {
5210    eval 'cat <<_LTECHO_EOF
5211$1
5212_LTECHO_EOF'
5213  }
5214  ECHO='func_fallback_echo'
5215fi
5216
5217# func_echo_all arg...
5218# Invoke $ECHO with all args, space-separated.
5219func_echo_all ()
5220{
5221    $ECHO ""
5222}
5223
5224case "$ECHO" in
5225  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5226$as_echo "printf" >&6; } ;;
5227  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5228$as_echo "print -r" >&6; } ;;
5229  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5230$as_echo "cat" >&6; } ;;
5231esac
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5247$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5248if ${ac_cv_path_SED+:} false; then :
5249  $as_echo_n "(cached) " >&6
5250else
5251            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5252     for ac_i in 1 2 3 4 5 6 7; do
5253       ac_script="$ac_script$as_nl$ac_script"
5254     done
5255     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5256     { ac_script=; unset ac_script;}
5257     if test -z "$SED"; then
5258  ac_path_SED_found=false
5259  # Loop through the user's path and test for each of PROGNAME-LIST
5260  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5261for as_dir in $PATH
5262do
5263  IFS=$as_save_IFS
5264  test -z "$as_dir" && as_dir=.
5265    for ac_prog in sed gsed; do
5266    for ac_exec_ext in '' $ac_executable_extensions; do
5267      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5268      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5269# Check for GNU ac_path_SED and select it if it is found.
5270  # Check for GNU $ac_path_SED
5271case `"$ac_path_SED" --version 2>&1` in
5272*GNU*)
5273  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5274*)
5275  ac_count=0
5276  $as_echo_n 0123456789 >"conftest.in"
5277  while :
5278  do
5279    cat "conftest.in" "conftest.in" >"conftest.tmp"
5280    mv "conftest.tmp" "conftest.in"
5281    cp "conftest.in" "conftest.nl"
5282    $as_echo '' >> "conftest.nl"
5283    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5284    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5285    as_fn_arith $ac_count + 1 && ac_count=$as_val
5286    if test $ac_count -gt ${ac_path_SED_max-0}; then
5287      # Best one so far, save it but keep looking for a better one
5288      ac_cv_path_SED="$ac_path_SED"
5289      ac_path_SED_max=$ac_count
5290    fi
5291    # 10*(2^10) chars as input seems more than enough
5292    test $ac_count -gt 10 && break
5293  done
5294  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5295esac
5296
5297      $ac_path_SED_found && break 3
5298    done
5299  done
5300  done
5301IFS=$as_save_IFS
5302  if test -z "$ac_cv_path_SED"; then
5303    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5304  fi
5305else
5306  ac_cv_path_SED=$SED
5307fi
5308
5309fi
5310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5311$as_echo "$ac_cv_path_SED" >&6; }
5312 SED="$ac_cv_path_SED"
5313  rm -f conftest.sed
5314
5315test -z "$SED" && SED=sed
5316Xsed="$SED -e 1s/^X//"
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5329$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5330if ${ac_cv_path_GREP+:} false; then :
5331  $as_echo_n "(cached) " >&6
5332else
5333  if test -z "$GREP"; then
5334  ac_path_GREP_found=false
5335  # Loop through the user's path and test for each of PROGNAME-LIST
5336  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5337for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5338do
5339  IFS=$as_save_IFS
5340  test -z "$as_dir" && as_dir=.
5341    for ac_prog in grep ggrep; do
5342    for ac_exec_ext in '' $ac_executable_extensions; do
5343      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5344      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5345# Check for GNU ac_path_GREP and select it if it is found.
5346  # Check for GNU $ac_path_GREP
5347case `"$ac_path_GREP" --version 2>&1` in
5348*GNU*)
5349  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5350*)
5351  ac_count=0
5352  $as_echo_n 0123456789 >"conftest.in"
5353  while :
5354  do
5355    cat "conftest.in" "conftest.in" >"conftest.tmp"
5356    mv "conftest.tmp" "conftest.in"
5357    cp "conftest.in" "conftest.nl"
5358    $as_echo 'GREP' >> "conftest.nl"
5359    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5360    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5361    as_fn_arith $ac_count + 1 && ac_count=$as_val
5362    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5363      # Best one so far, save it but keep looking for a better one
5364      ac_cv_path_GREP="$ac_path_GREP"
5365      ac_path_GREP_max=$ac_count
5366    fi
5367    # 10*(2^10) chars as input seems more than enough
5368    test $ac_count -gt 10 && break
5369  done
5370  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5371esac
5372
5373      $ac_path_GREP_found && break 3
5374    done
5375  done
5376  done
5377IFS=$as_save_IFS
5378  if test -z "$ac_cv_path_GREP"; then
5379    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5380  fi
5381else
5382  ac_cv_path_GREP=$GREP
5383fi
5384
5385fi
5386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5387$as_echo "$ac_cv_path_GREP" >&6; }
5388 GREP="$ac_cv_path_GREP"
5389
5390
5391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5392$as_echo_n "checking for egrep... " >&6; }
5393if ${ac_cv_path_EGREP+:} false; then :
5394  $as_echo_n "(cached) " >&6
5395else
5396  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5397   then ac_cv_path_EGREP="$GREP -E"
5398   else
5399     if test -z "$EGREP"; then
5400  ac_path_EGREP_found=false
5401  # Loop through the user's path and test for each of PROGNAME-LIST
5402  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5404do
5405  IFS=$as_save_IFS
5406  test -z "$as_dir" && as_dir=.
5407    for ac_prog in egrep; do
5408    for ac_exec_ext in '' $ac_executable_extensions; do
5409      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5410      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5411# Check for GNU ac_path_EGREP and select it if it is found.
5412  # Check for GNU $ac_path_EGREP
5413case `"$ac_path_EGREP" --version 2>&1` in
5414*GNU*)
5415  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5416*)
5417  ac_count=0
5418  $as_echo_n 0123456789 >"conftest.in"
5419  while :
5420  do
5421    cat "conftest.in" "conftest.in" >"conftest.tmp"
5422    mv "conftest.tmp" "conftest.in"
5423    cp "conftest.in" "conftest.nl"
5424    $as_echo 'EGREP' >> "conftest.nl"
5425    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5426    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5427    as_fn_arith $ac_count + 1 && ac_count=$as_val
5428    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5429      # Best one so far, save it but keep looking for a better one
5430      ac_cv_path_EGREP="$ac_path_EGREP"
5431      ac_path_EGREP_max=$ac_count
5432    fi
5433    # 10*(2^10) chars as input seems more than enough
5434    test $ac_count -gt 10 && break
5435  done
5436  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5437esac
5438
5439      $ac_path_EGREP_found && break 3
5440    done
5441  done
5442  done
5443IFS=$as_save_IFS
5444  if test -z "$ac_cv_path_EGREP"; then
5445    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5446  fi
5447else
5448  ac_cv_path_EGREP=$EGREP
5449fi
5450
5451   fi
5452fi
5453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5454$as_echo "$ac_cv_path_EGREP" >&6; }
5455 EGREP="$ac_cv_path_EGREP"
5456
5457
5458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5459$as_echo_n "checking for fgrep... " >&6; }
5460if ${ac_cv_path_FGREP+:} false; then :
5461  $as_echo_n "(cached) " >&6
5462else
5463  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5464   then ac_cv_path_FGREP="$GREP -F"
5465   else
5466     if test -z "$FGREP"; then
5467  ac_path_FGREP_found=false
5468  # Loop through the user's path and test for each of PROGNAME-LIST
5469  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5471do
5472  IFS=$as_save_IFS
5473  test -z "$as_dir" && as_dir=.
5474    for ac_prog in fgrep; do
5475    for ac_exec_ext in '' $ac_executable_extensions; do
5476      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5477      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5478# Check for GNU ac_path_FGREP and select it if it is found.
5479  # Check for GNU $ac_path_FGREP
5480case `"$ac_path_FGREP" --version 2>&1` in
5481*GNU*)
5482  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5483*)
5484  ac_count=0
5485  $as_echo_n 0123456789 >"conftest.in"
5486  while :
5487  do
5488    cat "conftest.in" "conftest.in" >"conftest.tmp"
5489    mv "conftest.tmp" "conftest.in"
5490    cp "conftest.in" "conftest.nl"
5491    $as_echo 'FGREP' >> "conftest.nl"
5492    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5493    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5494    as_fn_arith $ac_count + 1 && ac_count=$as_val
5495    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5496      # Best one so far, save it but keep looking for a better one
5497      ac_cv_path_FGREP="$ac_path_FGREP"
5498      ac_path_FGREP_max=$ac_count
5499    fi
5500    # 10*(2^10) chars as input seems more than enough
5501    test $ac_count -gt 10 && break
5502  done
5503  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5504esac
5505
5506      $ac_path_FGREP_found && break 3
5507    done
5508  done
5509  done
5510IFS=$as_save_IFS
5511  if test -z "$ac_cv_path_FGREP"; then
5512    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5513  fi
5514else
5515  ac_cv_path_FGREP=$FGREP
5516fi
5517
5518   fi
5519fi
5520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5521$as_echo "$ac_cv_path_FGREP" >&6; }
5522 FGREP="$ac_cv_path_FGREP"
5523
5524
5525test -z "$GREP" && GREP=grep
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545# Check whether --with-gnu-ld was given.
5546if test "${with_gnu_ld+set}" = set; then :
5547  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5548else
5549  with_gnu_ld=no
5550fi
5551
5552ac_prog=ld
5553if test "$GCC" = yes; then
5554  # Check if gcc -print-prog-name=ld gives a path.
5555  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5556$as_echo_n "checking for ld used by $CC... " >&6; }
5557  case $host in
5558  *-*-mingw*)
5559    # gcc leaves a trailing carriage return which upsets mingw
5560    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5561  *)
5562    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5563  esac
5564  case $ac_prog in
5565    # Accept absolute paths.
5566    [\\/]* | ?:[\\/]*)
5567      re_direlt='/[^/][^/]*/\.\./'
5568      # Canonicalize the pathname of ld
5569      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5570      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5571        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5572      done
5573      test -z "$LD" && LD="$ac_prog"
5574      ;;
5575  "")
5576    # If it fails, then pretend we aren't using GCC.
5577    ac_prog=ld
5578    ;;
5579  *)
5580    # If it is relative, then search for the first ld in PATH.
5581    with_gnu_ld=unknown
5582    ;;
5583  esac
5584elif test "$with_gnu_ld" = yes; then
5585  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5586$as_echo_n "checking for GNU ld... " >&6; }
5587else
5588  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5589$as_echo_n "checking for non-GNU ld... " >&6; }
5590fi
5591if ${lt_cv_path_LD+:} false; then :
5592  $as_echo_n "(cached) " >&6
5593else
5594  if test -z "$LD"; then
5595  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5596  for ac_dir in $PATH; do
5597    IFS="$lt_save_ifs"
5598    test -z "$ac_dir" && ac_dir=.
5599    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5600      lt_cv_path_LD="$ac_dir/$ac_prog"
5601      # Check to see if the program is GNU ld.  I'd rather use --version,
5602      # but apparently some variants of GNU ld only accept -v.
5603      # Break only if it was the GNU/non-GNU ld that we prefer.
5604      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5605      *GNU* | *'with BFD'*)
5606        test "$with_gnu_ld" != no && break
5607        ;;
5608      *)
5609        test "$with_gnu_ld" != yes && break
5610        ;;
5611      esac
5612    fi
5613  done
5614  IFS="$lt_save_ifs"
5615else
5616  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5617fi
5618fi
5619
5620LD="$lt_cv_path_LD"
5621if test -n "$LD"; then
5622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5623$as_echo "$LD" >&6; }
5624else
5625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5626$as_echo "no" >&6; }
5627fi
5628test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5630$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5631if ${lt_cv_prog_gnu_ld+:} false; then :
5632  $as_echo_n "(cached) " >&6
5633else
5634  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5635case `$LD -v 2>&1 </dev/null` in
5636*GNU* | *'with BFD'*)
5637  lt_cv_prog_gnu_ld=yes
5638  ;;
5639*)
5640  lt_cv_prog_gnu_ld=no
5641  ;;
5642esac
5643fi
5644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5645$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5646with_gnu_ld=$lt_cv_prog_gnu_ld
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5657$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5658if ${lt_cv_path_NM+:} false; then :
5659  $as_echo_n "(cached) " >&6
5660else
5661  if test -n "$NM"; then
5662  # Let the user override the test.
5663  lt_cv_path_NM="$NM"
5664else
5665  lt_nm_to_check="${ac_tool_prefix}nm"
5666  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5667    lt_nm_to_check="$lt_nm_to_check nm"
5668  fi
5669  for lt_tmp_nm in $lt_nm_to_check; do
5670    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5671    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5672      IFS="$lt_save_ifs"
5673      test -z "$ac_dir" && ac_dir=.
5674      tmp_nm="$ac_dir/$lt_tmp_nm"
5675      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5676        # Check to see if the nm accepts a BSD-compat flag.
5677        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5678        #   nm: unknown option "B" ignored
5679        # Tru64's nm complains that /dev/null is an invalid object file
5680        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5681        */dev/null* | *'Invalid file or object type'*)
5682          lt_cv_path_NM="$tmp_nm -B"
5683          break
5684          ;;
5685        *)
5686          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5687          */dev/null*)
5688            lt_cv_path_NM="$tmp_nm -p"
5689            break
5690            ;;
5691          *)
5692            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5693            continue # so that we can try to find one that supports BSD flags
5694            ;;
5695          esac
5696          ;;
5697        esac
5698      fi
5699    done
5700    IFS="$lt_save_ifs"
5701  done
5702  : ${lt_cv_path_NM=no}
5703fi
5704fi
5705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5706$as_echo "$lt_cv_path_NM" >&6; }
5707if test "$lt_cv_path_NM" != "no"; then
5708  NM="$lt_cv_path_NM"
5709else
5710  # Didn't find any BSD compatible name lister, look for dumpbin.
5711  if test -n "$DUMPBIN"; then :
5712    # Let the user override the test.
5713  else
5714    if test -n "$ac_tool_prefix"; then
5715  for ac_prog in dumpbin "link -dump"
5716  do
5717    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5718set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720$as_echo_n "checking for $ac_word... " >&6; }
5721if ${ac_cv_prog_DUMPBIN+:} false; then :
5722  $as_echo_n "(cached) " >&6
5723else
5724  if test -n "$DUMPBIN"; then
5725  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5726else
5727as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728for as_dir in $PATH
5729do
5730  IFS=$as_save_IFS
5731  test -z "$as_dir" && as_dir=.
5732    for ac_exec_ext in '' $ac_executable_extensions; do
5733  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5734    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5735    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5736    break 2
5737  fi
5738done
5739  done
5740IFS=$as_save_IFS
5741
5742fi
5743fi
5744DUMPBIN=$ac_cv_prog_DUMPBIN
5745if test -n "$DUMPBIN"; then
5746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5747$as_echo "$DUMPBIN" >&6; }
5748else
5749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750$as_echo "no" >&6; }
5751fi
5752
5753
5754    test -n "$DUMPBIN" && break
5755  done
5756fi
5757if test -z "$DUMPBIN"; then
5758  ac_ct_DUMPBIN=$DUMPBIN
5759  for ac_prog in dumpbin "link -dump"
5760do
5761  # Extract the first word of "$ac_prog", so it can be a program name with args.
5762set dummy $ac_prog; ac_word=$2
5763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5764$as_echo_n "checking for $ac_word... " >&6; }
5765if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5766  $as_echo_n "(cached) " >&6
5767else
5768  if test -n "$ac_ct_DUMPBIN"; then
5769  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5770else
5771as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5772for as_dir in $PATH
5773do
5774  IFS=$as_save_IFS
5775  test -z "$as_dir" && as_dir=.
5776    for ac_exec_ext in '' $ac_executable_extensions; do
5777  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5778    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5779    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5780    break 2
5781  fi
5782done
5783  done
5784IFS=$as_save_IFS
5785
5786fi
5787fi
5788ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5789if test -n "$ac_ct_DUMPBIN"; then
5790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5791$as_echo "$ac_ct_DUMPBIN" >&6; }
5792else
5793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5794$as_echo "no" >&6; }
5795fi
5796
5797
5798  test -n "$ac_ct_DUMPBIN" && break
5799done
5800
5801  if test "x$ac_ct_DUMPBIN" = x; then
5802    DUMPBIN=":"
5803  else
5804    case $cross_compiling:$ac_tool_warned in
5805yes:)
5806{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5807$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5808ac_tool_warned=yes ;;
5809esac
5810    DUMPBIN=$ac_ct_DUMPBIN
5811  fi
5812fi
5813
5814    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5815    *COFF*)
5816      DUMPBIN="$DUMPBIN -symbols"
5817      ;;
5818    *)
5819      DUMPBIN=:
5820      ;;
5821    esac
5822  fi
5823
5824  if test "$DUMPBIN" != ":"; then
5825    NM="$DUMPBIN"
5826  fi
5827fi
5828test -z "$NM" && NM=nm
5829
5830
5831
5832
5833
5834
5835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5836$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5837if ${lt_cv_nm_interface+:} false; then :
5838  $as_echo_n "(cached) " >&6
5839else
5840  lt_cv_nm_interface="BSD nm"
5841  echo "int some_variable = 0;" > conftest.$ac_ext
5842  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5843  (eval "$ac_compile" 2>conftest.err)
5844  cat conftest.err >&5
5845  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5846  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5847  cat conftest.err >&5
5848  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5849  cat conftest.out >&5
5850  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5851    lt_cv_nm_interface="MS dumpbin"
5852  fi
5853  rm -f conftest*
5854fi
5855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5856$as_echo "$lt_cv_nm_interface" >&6; }
5857
5858# find the maximum length of command line arguments
5859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5860$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5861if ${lt_cv_sys_max_cmd_len+:} false; then :
5862  $as_echo_n "(cached) " >&6
5863else
5864    i=0
5865  teststring="ABCD"
5866
5867  case $build_os in
5868  msdosdjgpp*)
5869    # On DJGPP, this test can blow up pretty badly due to problems in libc
5870    # (any single argument exceeding 2000 bytes causes a buffer overrun
5871    # during glob expansion).  Even if it were fixed, the result of this
5872    # check would be larger than it should be.
5873    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5874    ;;
5875
5876  gnu*)
5877    # Under GNU Hurd, this test is not required because there is
5878    # no limit to the length of command line arguments.
5879    # Libtool will interpret -1 as no limit whatsoever
5880    lt_cv_sys_max_cmd_len=-1;
5881    ;;
5882
5883  cygwin* | mingw* | cegcc*)
5884    # On Win9x/ME, this test blows up -- it succeeds, but takes
5885    # about 5 minutes as the teststring grows exponentially.
5886    # Worse, since 9x/ME are not pre-emptively multitasking,
5887    # you end up with a "frozen" computer, even though with patience
5888    # the test eventually succeeds (with a max line length of 256k).
5889    # Instead, let's just punt: use the minimum linelength reported by
5890    # all of the supported platforms: 8192 (on NT/2K/XP).
5891    lt_cv_sys_max_cmd_len=8192;
5892    ;;
5893
5894  mint*)
5895    # On MiNT this can take a long time and run out of memory.
5896    lt_cv_sys_max_cmd_len=8192;
5897    ;;
5898
5899  amigaos*)
5900    # On AmigaOS with pdksh, this test takes hours, literally.
5901    # So we just punt and use a minimum line length of 8192.
5902    lt_cv_sys_max_cmd_len=8192;
5903    ;;
5904
5905  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5906    # This has been around since 386BSD, at least.  Likely further.
5907    if test -x /sbin/sysctl; then
5908      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5909    elif test -x /usr/sbin/sysctl; then
5910      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5911    else
5912      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5913    fi
5914    # And add a safety zone
5915    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5916    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5917    ;;
5918
5919  interix*)
5920    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5921    lt_cv_sys_max_cmd_len=196608
5922    ;;
5923
5924  osf*)
5925    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5926    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5927    # nice to cause kernel panics so lets avoid the loop below.
5928    # First set a reasonable default.
5929    lt_cv_sys_max_cmd_len=16384
5930    #
5931    if test -x /sbin/sysconfig; then
5932      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5933        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5934      esac
5935    fi
5936    ;;
5937  sco3.2v5*)
5938    lt_cv_sys_max_cmd_len=102400
5939    ;;
5940  sysv5* | sco5v6* | sysv4.2uw2*)
5941    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5942    if test -n "$kargmax"; then
5943      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5944    else
5945      lt_cv_sys_max_cmd_len=32768
5946    fi
5947    ;;
5948  *)
5949    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5950    if test -n "$lt_cv_sys_max_cmd_len"; then
5951      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5952      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5953    else
5954      # Make teststring a little bigger before we do anything with it.
5955      # a 1K string should be a reasonable start.
5956      for i in 1 2 3 4 5 6 7 8 ; do
5957        teststring=$teststring$teststring
5958      done
5959      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5960      # If test is not a shell built-in, we'll probably end up computing a
5961      # maximum length that is only half of the actual maximum length, but
5962      # we can't tell.
5963      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5964                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5965              test $i != 17 # 1/2 MB should be enough
5966      do
5967        i=`expr $i + 1`
5968        teststring=$teststring$teststring
5969      done
5970      # Only check the string length outside the loop.
5971      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5972      teststring=
5973      # Add a significant safety factor because C++ compilers can tack on
5974      # massive amounts of additional arguments before passing them to the
5975      # linker.  It appears as though 1/2 is a usable value.
5976      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5977    fi
5978    ;;
5979  esac
5980
5981fi
5982
5983if test -n $lt_cv_sys_max_cmd_len ; then
5984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5985$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5986else
5987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5988$as_echo "none" >&6; }
5989fi
5990max_cmd_len=$lt_cv_sys_max_cmd_len
5991
5992
5993
5994
5995
5996
5997: ${CP="cp -f"}
5998: ${MV="mv -f"}
5999: ${RM="rm -f"}
6000
6001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6002$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6003# Try some XSI features
6004xsi_shell=no
6005( _lt_dummy="a/b/c"
6006  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6007      = c,a/b,b/c, \
6008    && eval 'test $(( 1 + 1 )) -eq 2 \
6009    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6010  && xsi_shell=yes
6011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6012$as_echo "$xsi_shell" >&6; }
6013
6014
6015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6016$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6017lt_shell_append=no
6018( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6019    >/dev/null 2>&1 \
6020  && lt_shell_append=yes
6021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6022$as_echo "$lt_shell_append" >&6; }
6023
6024
6025if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6026  lt_unset=unset
6027else
6028  lt_unset=false
6029fi
6030
6031
6032
6033
6034
6035# test EBCDIC or ASCII
6036case `echo X|tr X '\101'` in
6037 A) # ASCII based system
6038    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6039  lt_SP2NL='tr \040 \012'
6040  lt_NL2SP='tr \015\012 \040\040'
6041  ;;
6042 *) # EBCDIC based system
6043  lt_SP2NL='tr \100 \n'
6044  lt_NL2SP='tr \r\n \100\100'
6045  ;;
6046esac
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6057$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6058if ${lt_cv_to_host_file_cmd+:} false; then :
6059  $as_echo_n "(cached) " >&6
6060else
6061  case $host in
6062  *-*-mingw* )
6063    case $build in
6064      *-*-mingw* ) # actually msys
6065        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6066        ;;
6067      *-*-cygwin* )
6068        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6069        ;;
6070      * ) # otherwise, assume *nix
6071        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6072        ;;
6073    esac
6074    ;;
6075  *-*-cygwin* )
6076    case $build in
6077      *-*-mingw* ) # actually msys
6078        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6079        ;;
6080      *-*-cygwin* )
6081        lt_cv_to_host_file_cmd=func_convert_file_noop
6082        ;;
6083      * ) # otherwise, assume *nix
6084        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6085        ;;
6086    esac
6087    ;;
6088  * ) # unhandled hosts (and "normal" native builds)
6089    lt_cv_to_host_file_cmd=func_convert_file_noop
6090    ;;
6091esac
6092
6093fi
6094
6095to_host_file_cmd=$lt_cv_to_host_file_cmd
6096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6097$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6098
6099
6100
6101
6102
6103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6104$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6105if ${lt_cv_to_tool_file_cmd+:} false; then :
6106  $as_echo_n "(cached) " >&6
6107else
6108  #assume ordinary cross tools, or native build.
6109lt_cv_to_tool_file_cmd=func_convert_file_noop
6110case $host in
6111  *-*-mingw* )
6112    case $build in
6113      *-*-mingw* ) # actually msys
6114        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6115        ;;
6116    esac
6117    ;;
6118esac
6119
6120fi
6121
6122to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6124$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6125
6126
6127
6128
6129
6130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6131$as_echo_n "checking for $LD option to reload object files... " >&6; }
6132if ${lt_cv_ld_reload_flag+:} false; then :
6133  $as_echo_n "(cached) " >&6
6134else
6135  lt_cv_ld_reload_flag='-r'
6136fi
6137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6138$as_echo "$lt_cv_ld_reload_flag" >&6; }
6139reload_flag=$lt_cv_ld_reload_flag
6140case $reload_flag in
6141"" | " "*) ;;
6142*) reload_flag=" $reload_flag" ;;
6143esac
6144reload_cmds='$LD$reload_flag -o $output$reload_objs'
6145case $host_os in
6146  cygwin* | mingw* | pw32* | cegcc*)
6147    if test "$GCC" != yes; then
6148      reload_cmds=false
6149    fi
6150    ;;
6151  darwin*)
6152    if test "$GCC" = yes; then
6153      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6154    else
6155      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6156    fi
6157    ;;
6158esac
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168if test -n "$ac_tool_prefix"; then
6169  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6170set dummy ${ac_tool_prefix}objdump; ac_word=$2
6171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6172$as_echo_n "checking for $ac_word... " >&6; }
6173if ${ac_cv_prog_OBJDUMP+:} false; then :
6174  $as_echo_n "(cached) " >&6
6175else
6176  if test -n "$OBJDUMP"; then
6177  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6178else
6179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180for as_dir in $PATH
6181do
6182  IFS=$as_save_IFS
6183  test -z "$as_dir" && as_dir=.
6184    for ac_exec_ext in '' $ac_executable_extensions; do
6185  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6186    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6187    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6188    break 2
6189  fi
6190done
6191  done
6192IFS=$as_save_IFS
6193
6194fi
6195fi
6196OBJDUMP=$ac_cv_prog_OBJDUMP
6197if test -n "$OBJDUMP"; then
6198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6199$as_echo "$OBJDUMP" >&6; }
6200else
6201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6202$as_echo "no" >&6; }
6203fi
6204
6205
6206fi
6207if test -z "$ac_cv_prog_OBJDUMP"; then
6208  ac_ct_OBJDUMP=$OBJDUMP
6209  # Extract the first word of "objdump", so it can be a program name with args.
6210set dummy objdump; ac_word=$2
6211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6212$as_echo_n "checking for $ac_word... " >&6; }
6213if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6214  $as_echo_n "(cached) " >&6
6215else
6216  if test -n "$ac_ct_OBJDUMP"; then
6217  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6218else
6219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220for as_dir in $PATH
6221do
6222  IFS=$as_save_IFS
6223  test -z "$as_dir" && as_dir=.
6224    for ac_exec_ext in '' $ac_executable_extensions; do
6225  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6226    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6227    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6228    break 2
6229  fi
6230done
6231  done
6232IFS=$as_save_IFS
6233
6234fi
6235fi
6236ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6237if test -n "$ac_ct_OBJDUMP"; then
6238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6239$as_echo "$ac_ct_OBJDUMP" >&6; }
6240else
6241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6242$as_echo "no" >&6; }
6243fi
6244
6245  if test "x$ac_ct_OBJDUMP" = x; then
6246    OBJDUMP="false"
6247  else
6248    case $cross_compiling:$ac_tool_warned in
6249yes:)
6250{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6251$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6252ac_tool_warned=yes ;;
6253esac
6254    OBJDUMP=$ac_ct_OBJDUMP
6255  fi
6256else
6257  OBJDUMP="$ac_cv_prog_OBJDUMP"
6258fi
6259
6260test -z "$OBJDUMP" && OBJDUMP=objdump
6261
6262
6263
6264
6265
6266
6267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6268$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6269if ${lt_cv_deplibs_check_method+:} false; then :
6270  $as_echo_n "(cached) " >&6
6271else
6272  lt_cv_file_magic_cmd='$MAGIC_CMD'
6273lt_cv_file_magic_test_file=
6274lt_cv_deplibs_check_method='unknown'
6275# Need to set the preceding variable on all platforms that support
6276# interlibrary dependencies.
6277# 'none' -- dependencies not supported.
6278# `unknown' -- same as none, but documents that we really don't know.
6279# 'pass_all' -- all dependencies passed with no checks.
6280# 'test_compile' -- check by making test program.
6281# 'file_magic [[regex]]' -- check by looking for files in library path
6282# which responds to the $file_magic_cmd with a given extended regex.
6283# If you have `file' or equivalent on your system and you're not sure
6284# whether `pass_all' will *always* work, you probably want this one.
6285
6286case $host_os in
6287aix[4-9]*)
6288  lt_cv_deplibs_check_method=pass_all
6289  ;;
6290
6291beos*)
6292  lt_cv_deplibs_check_method=pass_all
6293  ;;
6294
6295bsdi[45]*)
6296  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6297  lt_cv_file_magic_cmd='/usr/bin/file -L'
6298  lt_cv_file_magic_test_file=/shlib/libc.so
6299  ;;
6300
6301cygwin*)
6302  # func_win32_libid is a shell function defined in ltmain.sh
6303  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6304  lt_cv_file_magic_cmd='func_win32_libid'
6305  ;;
6306
6307mingw* | pw32*)
6308  # Base MSYS/MinGW do not provide the 'file' command needed by
6309  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6310  # unless we find 'file', for example because we are cross-compiling.
6311  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6312  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6313    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6314    lt_cv_file_magic_cmd='func_win32_libid'
6315  else
6316    # Keep this pattern in sync with the one in func_win32_libid.
6317    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6318    lt_cv_file_magic_cmd='$OBJDUMP -f'
6319  fi
6320  ;;
6321
6322cegcc*)
6323  # use the weaker test based on 'objdump'. See mingw*.
6324  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6325  lt_cv_file_magic_cmd='$OBJDUMP -f'
6326  ;;
6327
6328darwin* | rhapsody*)
6329  lt_cv_deplibs_check_method=pass_all
6330  ;;
6331
6332freebsd* | dragonfly*)
6333  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6334    case $host_cpu in
6335    i*86 )
6336      # Not sure whether the presence of OpenBSD here was a mistake.
6337      # Let's accept both of them until this is cleared up.
6338      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6339      lt_cv_file_magic_cmd=/usr/bin/file
6340      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6341      ;;
6342    esac
6343  else
6344    lt_cv_deplibs_check_method=pass_all
6345  fi
6346  ;;
6347
6348gnu*)
6349  lt_cv_deplibs_check_method=pass_all
6350  ;;
6351
6352haiku*)
6353  lt_cv_deplibs_check_method=pass_all
6354  ;;
6355
6356hpux10.20* | hpux11*)
6357  lt_cv_file_magic_cmd=/usr/bin/file
6358  case $host_cpu in
6359  ia64*)
6360    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6361    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6362    ;;
6363  hppa*64*)
6364    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]'
6365    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6366    ;;
6367  *)
6368    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6369    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6370    ;;
6371  esac
6372  ;;
6373
6374interix[3-9]*)
6375  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6376  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6377  ;;
6378
6379irix5* | irix6* | nonstopux*)
6380  case $LD in
6381  *-32|*"-32 ") libmagic=32-bit;;
6382  *-n32|*"-n32 ") libmagic=N32;;
6383  *-64|*"-64 ") libmagic=64-bit;;
6384  *) libmagic=never-match;;
6385  esac
6386  lt_cv_deplibs_check_method=pass_all
6387  ;;
6388
6389# This must be Linux ELF.
6390linux* | k*bsd*-gnu | kopensolaris*-gnu)
6391  lt_cv_deplibs_check_method=pass_all
6392  ;;
6393
6394netbsd*)
6395  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6396    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6397  else
6398    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6399  fi
6400  ;;
6401
6402newos6*)
6403  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6404  lt_cv_file_magic_cmd=/usr/bin/file
6405  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6406  ;;
6407
6408*nto* | *qnx*)
6409  lt_cv_deplibs_check_method=pass_all
6410  ;;
6411
6412openbsd*)
6413  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6414    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6415  else
6416    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6417  fi
6418  ;;
6419
6420osf3* | osf4* | osf5*)
6421  lt_cv_deplibs_check_method=pass_all
6422  ;;
6423
6424rdos*)
6425  lt_cv_deplibs_check_method=pass_all
6426  ;;
6427
6428solaris*)
6429  lt_cv_deplibs_check_method=pass_all
6430  ;;
6431
6432sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6433  lt_cv_deplibs_check_method=pass_all
6434  ;;
6435
6436sysv4 | sysv4.3*)
6437  case $host_vendor in
6438  motorola)
6439    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]'
6440    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6441    ;;
6442  ncr)
6443    lt_cv_deplibs_check_method=pass_all
6444    ;;
6445  sequent)
6446    lt_cv_file_magic_cmd='/bin/file'
6447    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6448    ;;
6449  sni)
6450    lt_cv_file_magic_cmd='/bin/file'
6451    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6452    lt_cv_file_magic_test_file=/lib/libc.so
6453    ;;
6454  siemens)
6455    lt_cv_deplibs_check_method=pass_all
6456    ;;
6457  pc)
6458    lt_cv_deplibs_check_method=pass_all
6459    ;;
6460  esac
6461  ;;
6462
6463tpf*)
6464  lt_cv_deplibs_check_method=pass_all
6465  ;;
6466esac
6467
6468fi
6469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6470$as_echo "$lt_cv_deplibs_check_method" >&6; }
6471
6472file_magic_glob=
6473want_nocaseglob=no
6474if test "$build" = "$host"; then
6475  case $host_os in
6476  mingw* | pw32*)
6477    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6478      want_nocaseglob=yes
6479    else
6480      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6481    fi
6482    ;;
6483  esac
6484fi
6485
6486file_magic_cmd=$lt_cv_file_magic_cmd
6487deplibs_check_method=$lt_cv_deplibs_check_method
6488test -z "$deplibs_check_method" && deplibs_check_method=unknown
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511if test -n "$ac_tool_prefix"; then
6512  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6513set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515$as_echo_n "checking for $ac_word... " >&6; }
6516if ${ac_cv_prog_DLLTOOL+:} false; then :
6517  $as_echo_n "(cached) " >&6
6518else
6519  if test -n "$DLLTOOL"; then
6520  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6521else
6522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523for as_dir in $PATH
6524do
6525  IFS=$as_save_IFS
6526  test -z "$as_dir" && as_dir=.
6527    for ac_exec_ext in '' $ac_executable_extensions; do
6528  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6529    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6530    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6531    break 2
6532  fi
6533done
6534  done
6535IFS=$as_save_IFS
6536
6537fi
6538fi
6539DLLTOOL=$ac_cv_prog_DLLTOOL
6540if test -n "$DLLTOOL"; then
6541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6542$as_echo "$DLLTOOL" >&6; }
6543else
6544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545$as_echo "no" >&6; }
6546fi
6547
6548
6549fi
6550if test -z "$ac_cv_prog_DLLTOOL"; then
6551  ac_ct_DLLTOOL=$DLLTOOL
6552  # Extract the first word of "dlltool", so it can be a program name with args.
6553set dummy dlltool; ac_word=$2
6554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6555$as_echo_n "checking for $ac_word... " >&6; }
6556if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6557  $as_echo_n "(cached) " >&6
6558else
6559  if test -n "$ac_ct_DLLTOOL"; then
6560  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6561else
6562as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6563for as_dir in $PATH
6564do
6565  IFS=$as_save_IFS
6566  test -z "$as_dir" && as_dir=.
6567    for ac_exec_ext in '' $ac_executable_extensions; do
6568  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6569    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6570    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6571    break 2
6572  fi
6573done
6574  done
6575IFS=$as_save_IFS
6576
6577fi
6578fi
6579ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6580if test -n "$ac_ct_DLLTOOL"; then
6581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6582$as_echo "$ac_ct_DLLTOOL" >&6; }
6583else
6584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6585$as_echo "no" >&6; }
6586fi
6587
6588  if test "x$ac_ct_DLLTOOL" = x; then
6589    DLLTOOL="false"
6590  else
6591    case $cross_compiling:$ac_tool_warned in
6592yes:)
6593{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6594$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6595ac_tool_warned=yes ;;
6596esac
6597    DLLTOOL=$ac_ct_DLLTOOL
6598  fi
6599else
6600  DLLTOOL="$ac_cv_prog_DLLTOOL"
6601fi
6602
6603test -z "$DLLTOOL" && DLLTOOL=dlltool
6604
6605
6606
6607
6608
6609
6610
6611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6612$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6613if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6614  $as_echo_n "(cached) " >&6
6615else
6616  lt_cv_sharedlib_from_linklib_cmd='unknown'
6617
6618case $host_os in
6619cygwin* | mingw* | pw32* | cegcc*)
6620  # two different shell functions defined in ltmain.sh
6621  # decide which to use based on capabilities of $DLLTOOL
6622  case `$DLLTOOL --help 2>&1` in
6623  *--identify-strict*)
6624    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6625    ;;
6626  *)
6627    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6628    ;;
6629  esac
6630  ;;
6631*)
6632  # fallback: assume linklib IS sharedlib
6633  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6634  ;;
6635esac
6636
6637fi
6638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6639$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6640sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6641test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6642
6643
6644
6645
6646
6647
6648
6649
6650if test -n "$ac_tool_prefix"; then
6651  for ac_prog in ar
6652  do
6653    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6654set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6656$as_echo_n "checking for $ac_word... " >&6; }
6657if ${ac_cv_prog_AR+:} false; then :
6658  $as_echo_n "(cached) " >&6
6659else
6660  if test -n "$AR"; then
6661  ac_cv_prog_AR="$AR" # Let the user override the test.
6662else
6663as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6664for as_dir in $PATH
6665do
6666  IFS=$as_save_IFS
6667  test -z "$as_dir" && as_dir=.
6668    for ac_exec_ext in '' $ac_executable_extensions; do
6669  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6670    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6671    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6672    break 2
6673  fi
6674done
6675  done
6676IFS=$as_save_IFS
6677
6678fi
6679fi
6680AR=$ac_cv_prog_AR
6681if test -n "$AR"; then
6682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6683$as_echo "$AR" >&6; }
6684else
6685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686$as_echo "no" >&6; }
6687fi
6688
6689
6690    test -n "$AR" && break
6691  done
6692fi
6693if test -z "$AR"; then
6694  ac_ct_AR=$AR
6695  for ac_prog in ar
6696do
6697  # Extract the first word of "$ac_prog", so it can be a program name with args.
6698set dummy $ac_prog; ac_word=$2
6699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700$as_echo_n "checking for $ac_word... " >&6; }
6701if ${ac_cv_prog_ac_ct_AR+:} false; then :
6702  $as_echo_n "(cached) " >&6
6703else
6704  if test -n "$ac_ct_AR"; then
6705  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6706else
6707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708for as_dir in $PATH
6709do
6710  IFS=$as_save_IFS
6711  test -z "$as_dir" && as_dir=.
6712    for ac_exec_ext in '' $ac_executable_extensions; do
6713  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6714    ac_cv_prog_ac_ct_AR="$ac_prog"
6715    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6716    break 2
6717  fi
6718done
6719  done
6720IFS=$as_save_IFS
6721
6722fi
6723fi
6724ac_ct_AR=$ac_cv_prog_ac_ct_AR
6725if test -n "$ac_ct_AR"; then
6726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6727$as_echo "$ac_ct_AR" >&6; }
6728else
6729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730$as_echo "no" >&6; }
6731fi
6732
6733
6734  test -n "$ac_ct_AR" && break
6735done
6736
6737  if test "x$ac_ct_AR" = x; then
6738    AR="false"
6739  else
6740    case $cross_compiling:$ac_tool_warned in
6741yes:)
6742{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6743$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6744ac_tool_warned=yes ;;
6745esac
6746    AR=$ac_ct_AR
6747  fi
6748fi
6749
6750: ${AR=ar}
6751: ${AR_FLAGS=cru}
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6764$as_echo_n "checking for archiver @FILE support... " >&6; }
6765if ${lt_cv_ar_at_file+:} false; then :
6766  $as_echo_n "(cached) " >&6
6767else
6768  lt_cv_ar_at_file=no
6769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6770/* end confdefs.h.  */
6771
6772int
6773main ()
6774{
6775
6776  ;
6777  return 0;
6778}
6779_ACEOF
6780if ac_fn_c_try_compile "$LINENO"; then :
6781  echo conftest.$ac_objext > conftest.lst
6782      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6783      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6784  (eval $lt_ar_try) 2>&5
6785  ac_status=$?
6786  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6787  test $ac_status = 0; }
6788      if test "$ac_status" -eq 0; then
6789        # Ensure the archiver fails upon bogus file names.
6790        rm -f conftest.$ac_objext libconftest.a
6791        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6792  (eval $lt_ar_try) 2>&5
6793  ac_status=$?
6794  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6795  test $ac_status = 0; }
6796        if test "$ac_status" -ne 0; then
6797          lt_cv_ar_at_file=@
6798        fi
6799      fi
6800      rm -f conftest.* libconftest.a
6801
6802fi
6803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6804
6805fi
6806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6807$as_echo "$lt_cv_ar_at_file" >&6; }
6808
6809if test "x$lt_cv_ar_at_file" = xno; then
6810  archiver_list_spec=
6811else
6812  archiver_list_spec=$lt_cv_ar_at_file
6813fi
6814
6815
6816
6817
6818
6819
6820
6821if test -n "$ac_tool_prefix"; then
6822  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6823set dummy ${ac_tool_prefix}strip; ac_word=$2
6824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6825$as_echo_n "checking for $ac_word... " >&6; }
6826if ${ac_cv_prog_STRIP+:} false; then :
6827  $as_echo_n "(cached) " >&6
6828else
6829  if test -n "$STRIP"; then
6830  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6831else
6832as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6833for as_dir in $PATH
6834do
6835  IFS=$as_save_IFS
6836  test -z "$as_dir" && as_dir=.
6837    for ac_exec_ext in '' $ac_executable_extensions; do
6838  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6839    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6840    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6841    break 2
6842  fi
6843done
6844  done
6845IFS=$as_save_IFS
6846
6847fi
6848fi
6849STRIP=$ac_cv_prog_STRIP
6850if test -n "$STRIP"; then
6851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6852$as_echo "$STRIP" >&6; }
6853else
6854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6855$as_echo "no" >&6; }
6856fi
6857
6858
6859fi
6860if test -z "$ac_cv_prog_STRIP"; then
6861  ac_ct_STRIP=$STRIP
6862  # Extract the first word of "strip", so it can be a program name with args.
6863set dummy strip; ac_word=$2
6864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6865$as_echo_n "checking for $ac_word... " >&6; }
6866if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6867  $as_echo_n "(cached) " >&6
6868else
6869  if test -n "$ac_ct_STRIP"; then
6870  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6871else
6872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6873for as_dir in $PATH
6874do
6875  IFS=$as_save_IFS
6876  test -z "$as_dir" && as_dir=.
6877    for ac_exec_ext in '' $ac_executable_extensions; do
6878  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6879    ac_cv_prog_ac_ct_STRIP="strip"
6880    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6881    break 2
6882  fi
6883done
6884  done
6885IFS=$as_save_IFS
6886
6887fi
6888fi
6889ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6890if test -n "$ac_ct_STRIP"; then
6891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6892$as_echo "$ac_ct_STRIP" >&6; }
6893else
6894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6895$as_echo "no" >&6; }
6896fi
6897
6898  if test "x$ac_ct_STRIP" = x; then
6899    STRIP=":"
6900  else
6901    case $cross_compiling:$ac_tool_warned in
6902yes:)
6903{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6904$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6905ac_tool_warned=yes ;;
6906esac
6907    STRIP=$ac_ct_STRIP
6908  fi
6909else
6910  STRIP="$ac_cv_prog_STRIP"
6911fi
6912
6913test -z "$STRIP" && STRIP=:
6914
6915
6916
6917
6918
6919
6920if test -n "$ac_tool_prefix"; then
6921  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6922set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6924$as_echo_n "checking for $ac_word... " >&6; }
6925if ${ac_cv_prog_RANLIB+:} false; then :
6926  $as_echo_n "(cached) " >&6
6927else
6928  if test -n "$RANLIB"; then
6929  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6930else
6931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6932for as_dir in $PATH
6933do
6934  IFS=$as_save_IFS
6935  test -z "$as_dir" && as_dir=.
6936    for ac_exec_ext in '' $ac_executable_extensions; do
6937  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6938    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6939    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6940    break 2
6941  fi
6942done
6943  done
6944IFS=$as_save_IFS
6945
6946fi
6947fi
6948RANLIB=$ac_cv_prog_RANLIB
6949if test -n "$RANLIB"; then
6950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6951$as_echo "$RANLIB" >&6; }
6952else
6953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6954$as_echo "no" >&6; }
6955fi
6956
6957
6958fi
6959if test -z "$ac_cv_prog_RANLIB"; then
6960  ac_ct_RANLIB=$RANLIB
6961  # Extract the first word of "ranlib", so it can be a program name with args.
6962set dummy ranlib; ac_word=$2
6963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964$as_echo_n "checking for $ac_word... " >&6; }
6965if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6966  $as_echo_n "(cached) " >&6
6967else
6968  if test -n "$ac_ct_RANLIB"; then
6969  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6970else
6971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972for as_dir in $PATH
6973do
6974  IFS=$as_save_IFS
6975  test -z "$as_dir" && as_dir=.
6976    for ac_exec_ext in '' $ac_executable_extensions; do
6977  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6978    ac_cv_prog_ac_ct_RANLIB="ranlib"
6979    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6980    break 2
6981  fi
6982done
6983  done
6984IFS=$as_save_IFS
6985
6986fi
6987fi
6988ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6989if test -n "$ac_ct_RANLIB"; then
6990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6991$as_echo "$ac_ct_RANLIB" >&6; }
6992else
6993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994$as_echo "no" >&6; }
6995fi
6996
6997  if test "x$ac_ct_RANLIB" = x; then
6998    RANLIB=":"
6999  else
7000    case $cross_compiling:$ac_tool_warned in
7001yes:)
7002{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7003$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7004ac_tool_warned=yes ;;
7005esac
7006    RANLIB=$ac_ct_RANLIB
7007  fi
7008else
7009  RANLIB="$ac_cv_prog_RANLIB"
7010fi
7011
7012test -z "$RANLIB" && RANLIB=:
7013
7014
7015
7016
7017
7018
7019# Determine commands to create old-style static archives.
7020old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7021old_postinstall_cmds='chmod 644 $oldlib'
7022old_postuninstall_cmds=
7023
7024if test -n "$RANLIB"; then
7025  case $host_os in
7026  openbsd*)
7027    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7028    ;;
7029  *)
7030    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7031    ;;
7032  esac
7033  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7034fi
7035
7036case $host_os in
7037  darwin*)
7038    lock_old_archive_extraction=yes ;;
7039  *)
7040    lock_old_archive_extraction=no ;;
7041esac
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081# If no C compiler was specified, use CC.
7082LTCC=${LTCC-"$CC"}
7083
7084# If no C compiler flags were specified, use CFLAGS.
7085LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7086
7087# Allow CC to be a program name with arguments.
7088compiler=$CC
7089
7090
7091# Check for command to grab the raw symbol name followed by C symbol from nm.
7092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7093$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7094if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7095  $as_echo_n "(cached) " >&6
7096else
7097
7098# These are sane defaults that work on at least a few old systems.
7099# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7100
7101# Character class describing NM global symbol codes.
7102symcode='[BCDEGRST]'
7103
7104# Regexp to match symbols that can be accessed directly from C.
7105sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7106
7107# Define system-specific variables.
7108case $host_os in
7109aix*)
7110  symcode='[BCDT]'
7111  ;;
7112cygwin* | mingw* | pw32* | cegcc*)
7113  symcode='[ABCDGISTW]'
7114  ;;
7115hpux*)
7116  if test "$host_cpu" = ia64; then
7117    symcode='[ABCDEGRST]'
7118  fi
7119  ;;
7120irix* | nonstopux*)
7121  symcode='[BCDEGRST]'
7122  ;;
7123osf*)
7124  symcode='[BCDEGQRST]'
7125  ;;
7126solaris*)
7127  symcode='[BDRT]'
7128  ;;
7129sco3.2v5*)
7130  symcode='[DT]'
7131  ;;
7132sysv4.2uw2*)
7133  symcode='[DT]'
7134  ;;
7135sysv5* | sco5v6* | unixware* | OpenUNIX*)
7136  symcode='[ABDT]'
7137  ;;
7138sysv4)
7139  symcode='[DFNSTU]'
7140  ;;
7141esac
7142
7143# If we're using GNU nm, then use its standard symbol codes.
7144case `$NM -V 2>&1` in
7145*GNU* | *'with BFD'*)
7146  symcode='[ABCDGIRSTW]' ;;
7147esac
7148
7149# Transform an extracted symbol line into a proper C declaration.
7150# Some systems (esp. on ia64) link data and code symbols differently,
7151# so use this general approach.
7152lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7153
7154# Transform an extracted symbol line into symbol name and symbol address
7155lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7156lt_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'"
7157
7158# Handle CRLF in mingw tool chain
7159opt_cr=
7160case $build_os in
7161mingw*)
7162  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7163  ;;
7164esac
7165
7166# Try without a prefix underscore, then with it.
7167for ac_symprfx in "" "_"; do
7168
7169  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7170  symxfrm="\\1 $ac_symprfx\\2 \\2"
7171
7172  # Write the raw and C identifiers.
7173  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7174    # Fake it for dumpbin and say T for any non-static function
7175    # and D for any global variable.
7176    # Also find C++ and __fastcall symbols from MSVC++,
7177    # which start with @ or ?.
7178    lt_cv_sys_global_symbol_pipe="$AWK '"\
7179"     {last_section=section; section=\$ 3};"\
7180"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7181"     \$ 0!~/External *\|/{next};"\
7182"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7183"     {if(hide[section]) next};"\
7184"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7185"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7186"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7187"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7188"     ' prfx=^$ac_symprfx"
7189  else
7190    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7191  fi
7192  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7193
7194  # Check to see that the pipe works correctly.
7195  pipe_works=no
7196
7197  rm -f conftest*
7198  cat > conftest.$ac_ext <<_LT_EOF
7199#ifdef __cplusplus
7200extern "C" {
7201#endif
7202char nm_test_var;
7203void nm_test_func(void);
7204void nm_test_func(void){}
7205#ifdef __cplusplus
7206}
7207#endif
7208int main(){nm_test_var='a';nm_test_func();return(0);}
7209_LT_EOF
7210
7211  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7212  (eval $ac_compile) 2>&5
7213  ac_status=$?
7214  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7215  test $ac_status = 0; }; then
7216    # Now try to grab the symbols.
7217    nlist=conftest.nm
7218    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7219  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7220  ac_status=$?
7221  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7222  test $ac_status = 0; } && test -s "$nlist"; then
7223      # Try sorting and uniquifying the output.
7224      if sort "$nlist" | uniq > "$nlist"T; then
7225        mv -f "$nlist"T "$nlist"
7226      else
7227        rm -f "$nlist"T
7228      fi
7229
7230      # Make sure that we snagged all the symbols we need.
7231      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7232        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7233          cat <<_LT_EOF > conftest.$ac_ext
7234/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7235#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7236/* DATA imports from DLLs on WIN32 con't be const, because runtime
7237   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7238# define LT_DLSYM_CONST
7239#elif defined(__osf__)
7240/* This system does not cope well with relocations in const data.  */
7241# define LT_DLSYM_CONST
7242#else
7243# define LT_DLSYM_CONST const
7244#endif
7245
7246#ifdef __cplusplus
7247extern "C" {
7248#endif
7249
7250_LT_EOF
7251          # Now generate the symbol file.
7252          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7253
7254          cat <<_LT_EOF >> conftest.$ac_ext
7255
7256/* The mapping between symbol names and symbols.  */
7257LT_DLSYM_CONST struct {
7258  const char *name;
7259  void       *address;
7260}
7261lt__PROGRAM__LTX_preloaded_symbols[] =
7262{
7263  { "@PROGRAM@", (void *) 0 },
7264_LT_EOF
7265          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7266          cat <<\_LT_EOF >> conftest.$ac_ext
7267  {0, (void *) 0}
7268};
7269
7270/* This works around a problem in FreeBSD linker */
7271#ifdef FREEBSD_WORKAROUND
7272static const void *lt_preloaded_setup() {
7273  return lt__PROGRAM__LTX_preloaded_symbols;
7274}
7275#endif
7276
7277#ifdef __cplusplus
7278}
7279#endif
7280_LT_EOF
7281          # Now try linking the two files.
7282          mv conftest.$ac_objext conftstm.$ac_objext
7283          lt_globsym_save_LIBS=$LIBS
7284          lt_globsym_save_CFLAGS=$CFLAGS
7285          LIBS="conftstm.$ac_objext"
7286          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7287          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7288  (eval $ac_link) 2>&5
7289  ac_status=$?
7290  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7291  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7292            pipe_works=yes
7293          fi
7294          LIBS=$lt_globsym_save_LIBS
7295          CFLAGS=$lt_globsym_save_CFLAGS
7296        else
7297          echo "cannot find nm_test_func in $nlist" >&5
7298        fi
7299      else
7300        echo "cannot find nm_test_var in $nlist" >&5
7301      fi
7302    else
7303      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7304    fi
7305  else
7306    echo "$progname: failed program was:" >&5
7307    cat conftest.$ac_ext >&5
7308  fi
7309  rm -rf conftest* conftst*
7310
7311  # Do not use the global_symbol_pipe unless it works.
7312  if test "$pipe_works" = yes; then
7313    break
7314  else
7315    lt_cv_sys_global_symbol_pipe=
7316  fi
7317done
7318
7319fi
7320
7321if test -z "$lt_cv_sys_global_symbol_pipe"; then
7322  lt_cv_sys_global_symbol_to_cdecl=
7323fi
7324if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7326$as_echo "failed" >&6; }
7327else
7328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7329$as_echo "ok" >&6; }
7330fi
7331
7332# Response file support.
7333if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7334  nm_file_list_spec='@'
7335elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7336  nm_file_list_spec='@'
7337fi
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7366$as_echo_n "checking for sysroot... " >&6; }
7367
7368# Check whether --with-sysroot was given.
7369if test "${with_sysroot+set}" = set; then :
7370  withval=$with_sysroot;
7371else
7372  with_sysroot=no
7373fi
7374
7375
7376lt_sysroot=
7377case ${with_sysroot} in #(
7378 yes)
7379   if test "$GCC" = yes; then
7380     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7381   fi
7382   ;; #(
7383 /*)
7384   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7385   ;; #(
7386 no|'')
7387   ;; #(
7388 *)
7389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7390$as_echo "${with_sysroot}" >&6; }
7391   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7392   ;;
7393esac
7394
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7396$as_echo "${lt_sysroot:-no}" >&6; }
7397
7398
7399
7400
7401
7402# Check whether --enable-libtool-lock was given.
7403if test "${enable_libtool_lock+set}" = set; then :
7404  enableval=$enable_libtool_lock;
7405fi
7406
7407test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7408
7409# Some flags need to be propagated to the compiler or linker for good
7410# libtool support.
7411case $host in
7412ia64-*-hpux*)
7413  # Find out which ABI we are using.
7414  echo 'int i;' > conftest.$ac_ext
7415  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7416  (eval $ac_compile) 2>&5
7417  ac_status=$?
7418  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7419  test $ac_status = 0; }; then
7420    case `/usr/bin/file conftest.$ac_objext` in
7421      *ELF-32*)
7422        HPUX_IA64_MODE="32"
7423        ;;
7424      *ELF-64*)
7425        HPUX_IA64_MODE="64"
7426        ;;
7427    esac
7428  fi
7429  rm -rf conftest*
7430  ;;
7431*-*-irix6*)
7432  # Find out which ABI we are using.
7433  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7434  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7435  (eval $ac_compile) 2>&5
7436  ac_status=$?
7437  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7438  test $ac_status = 0; }; then
7439    if test "$lt_cv_prog_gnu_ld" = yes; then
7440      case `/usr/bin/file conftest.$ac_objext` in
7441        *32-bit*)
7442          LD="${LD-ld} -melf32bsmip"
7443          ;;
7444        *N32*)
7445          LD="${LD-ld} -melf32bmipn32"
7446          ;;
7447        *64-bit*)
7448          LD="${LD-ld} -melf64bmip"
7449        ;;
7450      esac
7451    else
7452      case `/usr/bin/file conftest.$ac_objext` in
7453        *32-bit*)
7454          LD="${LD-ld} -32"
7455          ;;
7456        *N32*)
7457          LD="${LD-ld} -n32"
7458          ;;
7459        *64-bit*)
7460          LD="${LD-ld} -64"
7461          ;;
7462      esac
7463    fi
7464  fi
7465  rm -rf conftest*
7466  ;;
7467
7468x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7469s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7470  # Find out which ABI we are using.
7471  echo 'int i;' > conftest.$ac_ext
7472  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7473  (eval $ac_compile) 2>&5
7474  ac_status=$?
7475  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7476  test $ac_status = 0; }; then
7477    case `/usr/bin/file conftest.o` in
7478      *32-bit*)
7479        case $host in
7480          x86_64-*kfreebsd*-gnu)
7481            LD="${LD-ld} -m elf_i386_fbsd"
7482            ;;
7483          x86_64-*linux*)
7484            LD="${LD-ld} -m elf_i386"
7485            ;;
7486          ppc64-*linux*|powerpc64-*linux*)
7487            LD="${LD-ld} -m elf32ppclinux"
7488            ;;
7489          s390x-*linux*)
7490            LD="${LD-ld} -m elf_s390"
7491            ;;
7492          sparc64-*linux*)
7493            LD="${LD-ld} -m elf32_sparc"
7494            ;;
7495        esac
7496        ;;
7497      *64-bit*)
7498        case $host in
7499          x86_64-*kfreebsd*-gnu)
7500            LD="${LD-ld} -m elf_x86_64_fbsd"
7501            ;;
7502          x86_64-*linux*)
7503            LD="${LD-ld} -m elf_x86_64"
7504            ;;
7505          ppc*-*linux*|powerpc*-*linux*)
7506            LD="${LD-ld} -m elf64ppc"
7507            ;;
7508          s390*-*linux*|s390*-*tpf*)
7509            LD="${LD-ld} -m elf64_s390"
7510            ;;
7511          sparc*-*linux*)
7512            LD="${LD-ld} -m elf64_sparc"
7513            ;;
7514        esac
7515        ;;
7516    esac
7517  fi
7518  rm -rf conftest*
7519  ;;
7520
7521*-*-sco3.2v5*)
7522  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7523  SAVE_CFLAGS="$CFLAGS"
7524  CFLAGS="$CFLAGS -belf"
7525  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7526$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7527if ${lt_cv_cc_needs_belf+:} false; then :
7528  $as_echo_n "(cached) " >&6
7529else
7530  ac_ext=c
7531ac_cpp='$CPP $CPPFLAGS'
7532ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7533ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7534ac_compiler_gnu=$ac_cv_c_compiler_gnu
7535
7536     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7537/* end confdefs.h.  */
7538
7539int
7540main ()
7541{
7542
7543  ;
7544  return 0;
7545}
7546_ACEOF
7547if ac_fn_c_try_link "$LINENO"; then :
7548  lt_cv_cc_needs_belf=yes
7549else
7550  lt_cv_cc_needs_belf=no
7551fi
7552rm -f core conftest.err conftest.$ac_objext \
7553    conftest$ac_exeext conftest.$ac_ext
7554     ac_ext=c
7555ac_cpp='$CPP $CPPFLAGS'
7556ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7557ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7558ac_compiler_gnu=$ac_cv_c_compiler_gnu
7559
7560fi
7561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7562$as_echo "$lt_cv_cc_needs_belf" >&6; }
7563  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7564    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7565    CFLAGS="$SAVE_CFLAGS"
7566  fi
7567  ;;
7568sparc*-*solaris*)
7569  # Find out which ABI we are using.
7570  echo 'int i;' > conftest.$ac_ext
7571  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7572  (eval $ac_compile) 2>&5
7573  ac_status=$?
7574  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7575  test $ac_status = 0; }; then
7576    case `/usr/bin/file conftest.o` in
7577    *64-bit*)
7578      case $lt_cv_prog_gnu_ld in
7579      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7580      *)
7581        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7582          LD="${LD-ld} -64"
7583        fi
7584        ;;
7585      esac
7586      ;;
7587    esac
7588  fi
7589  rm -rf conftest*
7590  ;;
7591esac
7592
7593need_locks="$enable_libtool_lock"
7594
7595if test -n "$ac_tool_prefix"; then
7596  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7597set dummy ${ac_tool_prefix}mt; ac_word=$2
7598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7599$as_echo_n "checking for $ac_word... " >&6; }
7600if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7601  $as_echo_n "(cached) " >&6
7602else
7603  if test -n "$MANIFEST_TOOL"; then
7604  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7605else
7606as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7607for as_dir in $PATH
7608do
7609  IFS=$as_save_IFS
7610  test -z "$as_dir" && as_dir=.
7611    for ac_exec_ext in '' $ac_executable_extensions; do
7612  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7613    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7614    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7615    break 2
7616  fi
7617done
7618  done
7619IFS=$as_save_IFS
7620
7621fi
7622fi
7623MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7624if test -n "$MANIFEST_TOOL"; then
7625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7626$as_echo "$MANIFEST_TOOL" >&6; }
7627else
7628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7629$as_echo "no" >&6; }
7630fi
7631
7632
7633fi
7634if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7635  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7636  # Extract the first word of "mt", so it can be a program name with args.
7637set dummy mt; ac_word=$2
7638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639$as_echo_n "checking for $ac_word... " >&6; }
7640if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7641  $as_echo_n "(cached) " >&6
7642else
7643  if test -n "$ac_ct_MANIFEST_TOOL"; then
7644  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7645else
7646as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647for as_dir in $PATH
7648do
7649  IFS=$as_save_IFS
7650  test -z "$as_dir" && as_dir=.
7651    for ac_exec_ext in '' $ac_executable_extensions; do
7652  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7654    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655    break 2
7656  fi
7657done
7658  done
7659IFS=$as_save_IFS
7660
7661fi
7662fi
7663ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7664if test -n "$ac_ct_MANIFEST_TOOL"; then
7665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7666$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7667else
7668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669$as_echo "no" >&6; }
7670fi
7671
7672  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7673    MANIFEST_TOOL=":"
7674  else
7675    case $cross_compiling:$ac_tool_warned in
7676yes:)
7677{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7678$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7679ac_tool_warned=yes ;;
7680esac
7681    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7682  fi
7683else
7684  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7685fi
7686
7687test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7689$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7690if ${lt_cv_path_mainfest_tool+:} false; then :
7691  $as_echo_n "(cached) " >&6
7692else
7693  lt_cv_path_mainfest_tool=no
7694  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7695  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7696  cat conftest.err >&5
7697  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7698    lt_cv_path_mainfest_tool=yes
7699  fi
7700  rm -f conftest*
7701fi
7702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7703$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7704if test "x$lt_cv_path_mainfest_tool" != xyes; then
7705  MANIFEST_TOOL=:
7706fi
7707
7708
7709
7710
7711
7712
7713  case $host_os in
7714    rhapsody* | darwin*)
7715    if test -n "$ac_tool_prefix"; then
7716  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7717set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7719$as_echo_n "checking for $ac_word... " >&6; }
7720if ${ac_cv_prog_DSYMUTIL+:} false; then :
7721  $as_echo_n "(cached) " >&6
7722else
7723  if test -n "$DSYMUTIL"; then
7724  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7725else
7726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7727for as_dir in $PATH
7728do
7729  IFS=$as_save_IFS
7730  test -z "$as_dir" && as_dir=.
7731    for ac_exec_ext in '' $ac_executable_extensions; do
7732  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7733    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7734    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7735    break 2
7736  fi
7737done
7738  done
7739IFS=$as_save_IFS
7740
7741fi
7742fi
7743DSYMUTIL=$ac_cv_prog_DSYMUTIL
7744if test -n "$DSYMUTIL"; then
7745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7746$as_echo "$DSYMUTIL" >&6; }
7747else
7748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7749$as_echo "no" >&6; }
7750fi
7751
7752
7753fi
7754if test -z "$ac_cv_prog_DSYMUTIL"; then
7755  ac_ct_DSYMUTIL=$DSYMUTIL
7756  # Extract the first word of "dsymutil", so it can be a program name with args.
7757set dummy dsymutil; ac_word=$2
7758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7759$as_echo_n "checking for $ac_word... " >&6; }
7760if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7761  $as_echo_n "(cached) " >&6
7762else
7763  if test -n "$ac_ct_DSYMUTIL"; then
7764  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7765else
7766as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7767for as_dir in $PATH
7768do
7769  IFS=$as_save_IFS
7770  test -z "$as_dir" && as_dir=.
7771    for ac_exec_ext in '' $ac_executable_extensions; do
7772  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7773    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7774    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7775    break 2
7776  fi
7777done
7778  done
7779IFS=$as_save_IFS
7780
7781fi
7782fi
7783ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7784if test -n "$ac_ct_DSYMUTIL"; then
7785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7786$as_echo "$ac_ct_DSYMUTIL" >&6; }
7787else
7788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7789$as_echo "no" >&6; }
7790fi
7791
7792  if test "x$ac_ct_DSYMUTIL" = x; then
7793    DSYMUTIL=":"
7794  else
7795    case $cross_compiling:$ac_tool_warned in
7796yes:)
7797{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7798$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7799ac_tool_warned=yes ;;
7800esac
7801    DSYMUTIL=$ac_ct_DSYMUTIL
7802  fi
7803else
7804  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7805fi
7806
7807    if test -n "$ac_tool_prefix"; then
7808  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7809set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7811$as_echo_n "checking for $ac_word... " >&6; }
7812if ${ac_cv_prog_NMEDIT+:} false; then :
7813  $as_echo_n "(cached) " >&6
7814else
7815  if test -n "$NMEDIT"; then
7816  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7817else
7818as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7819for as_dir in $PATH
7820do
7821  IFS=$as_save_IFS
7822  test -z "$as_dir" && as_dir=.
7823    for ac_exec_ext in '' $ac_executable_extensions; do
7824  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7825    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7826    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7827    break 2
7828  fi
7829done
7830  done
7831IFS=$as_save_IFS
7832
7833fi
7834fi
7835NMEDIT=$ac_cv_prog_NMEDIT
7836if test -n "$NMEDIT"; then
7837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7838$as_echo "$NMEDIT" >&6; }
7839else
7840  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7841$as_echo "no" >&6; }
7842fi
7843
7844
7845fi
7846if test -z "$ac_cv_prog_NMEDIT"; then
7847  ac_ct_NMEDIT=$NMEDIT
7848  # Extract the first word of "nmedit", so it can be a program name with args.
7849set dummy nmedit; ac_word=$2
7850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7851$as_echo_n "checking for $ac_word... " >&6; }
7852if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7853  $as_echo_n "(cached) " >&6
7854else
7855  if test -n "$ac_ct_NMEDIT"; then
7856  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7857else
7858as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7859for as_dir in $PATH
7860do
7861  IFS=$as_save_IFS
7862  test -z "$as_dir" && as_dir=.
7863    for ac_exec_ext in '' $ac_executable_extensions; do
7864  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7865    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7866    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7867    break 2
7868  fi
7869done
7870  done
7871IFS=$as_save_IFS
7872
7873fi
7874fi
7875ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7876if test -n "$ac_ct_NMEDIT"; then
7877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7878$as_echo "$ac_ct_NMEDIT" >&6; }
7879else
7880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7881$as_echo "no" >&6; }
7882fi
7883
7884  if test "x$ac_ct_NMEDIT" = x; then
7885    NMEDIT=":"
7886  else
7887    case $cross_compiling:$ac_tool_warned in
7888yes:)
7889{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7890$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7891ac_tool_warned=yes ;;
7892esac
7893    NMEDIT=$ac_ct_NMEDIT
7894  fi
7895else
7896  NMEDIT="$ac_cv_prog_NMEDIT"
7897fi
7898
7899    if test -n "$ac_tool_prefix"; then
7900  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7901set dummy ${ac_tool_prefix}lipo; ac_word=$2
7902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7903$as_echo_n "checking for $ac_word... " >&6; }
7904if ${ac_cv_prog_LIPO+:} false; then :
7905  $as_echo_n "(cached) " >&6
7906else
7907  if test -n "$LIPO"; then
7908  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7909else
7910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7911for as_dir in $PATH
7912do
7913  IFS=$as_save_IFS
7914  test -z "$as_dir" && as_dir=.
7915    for ac_exec_ext in '' $ac_executable_extensions; do
7916  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7917    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7918    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7919    break 2
7920  fi
7921done
7922  done
7923IFS=$as_save_IFS
7924
7925fi
7926fi
7927LIPO=$ac_cv_prog_LIPO
7928if test -n "$LIPO"; then
7929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7930$as_echo "$LIPO" >&6; }
7931else
7932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7933$as_echo "no" >&6; }
7934fi
7935
7936
7937fi
7938if test -z "$ac_cv_prog_LIPO"; then
7939  ac_ct_LIPO=$LIPO
7940  # Extract the first word of "lipo", so it can be a program name with args.
7941set dummy lipo; ac_word=$2
7942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7943$as_echo_n "checking for $ac_word... " >&6; }
7944if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7945  $as_echo_n "(cached) " >&6
7946else
7947  if test -n "$ac_ct_LIPO"; then
7948  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7949else
7950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7951for as_dir in $PATH
7952do
7953  IFS=$as_save_IFS
7954  test -z "$as_dir" && as_dir=.
7955    for ac_exec_ext in '' $ac_executable_extensions; do
7956  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7957    ac_cv_prog_ac_ct_LIPO="lipo"
7958    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7959    break 2
7960  fi
7961done
7962  done
7963IFS=$as_save_IFS
7964
7965fi
7966fi
7967ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7968if test -n "$ac_ct_LIPO"; then
7969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7970$as_echo "$ac_ct_LIPO" >&6; }
7971else
7972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7973$as_echo "no" >&6; }
7974fi
7975
7976  if test "x$ac_ct_LIPO" = x; then
7977    LIPO=":"
7978  else
7979    case $cross_compiling:$ac_tool_warned in
7980yes:)
7981{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7982$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7983ac_tool_warned=yes ;;
7984esac
7985    LIPO=$ac_ct_LIPO
7986  fi
7987else
7988  LIPO="$ac_cv_prog_LIPO"
7989fi
7990
7991    if test -n "$ac_tool_prefix"; then
7992  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7993set dummy ${ac_tool_prefix}otool; ac_word=$2
7994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7995$as_echo_n "checking for $ac_word... " >&6; }
7996if ${ac_cv_prog_OTOOL+:} false; then :
7997  $as_echo_n "(cached) " >&6
7998else
7999  if test -n "$OTOOL"; then
8000  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8001else
8002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8003for as_dir in $PATH
8004do
8005  IFS=$as_save_IFS
8006  test -z "$as_dir" && as_dir=.
8007    for ac_exec_ext in '' $ac_executable_extensions; do
8008  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8009    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8010    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8011    break 2
8012  fi
8013done
8014  done
8015IFS=$as_save_IFS
8016
8017fi
8018fi
8019OTOOL=$ac_cv_prog_OTOOL
8020if test -n "$OTOOL"; then
8021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8022$as_echo "$OTOOL" >&6; }
8023else
8024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8025$as_echo "no" >&6; }
8026fi
8027
8028
8029fi
8030if test -z "$ac_cv_prog_OTOOL"; then
8031  ac_ct_OTOOL=$OTOOL
8032  # Extract the first word of "otool", so it can be a program name with args.
8033set dummy otool; ac_word=$2
8034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8035$as_echo_n "checking for $ac_word... " >&6; }
8036if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8037  $as_echo_n "(cached) " >&6
8038else
8039  if test -n "$ac_ct_OTOOL"; then
8040  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8041else
8042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8043for as_dir in $PATH
8044do
8045  IFS=$as_save_IFS
8046  test -z "$as_dir" && as_dir=.
8047    for ac_exec_ext in '' $ac_executable_extensions; do
8048  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8049    ac_cv_prog_ac_ct_OTOOL="otool"
8050    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8051    break 2
8052  fi
8053done
8054  done
8055IFS=$as_save_IFS
8056
8057fi
8058fi
8059ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8060if test -n "$ac_ct_OTOOL"; then
8061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8062$as_echo "$ac_ct_OTOOL" >&6; }
8063else
8064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8065$as_echo "no" >&6; }
8066fi
8067
8068  if test "x$ac_ct_OTOOL" = x; then
8069    OTOOL=":"
8070  else
8071    case $cross_compiling:$ac_tool_warned in
8072yes:)
8073{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8074$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8075ac_tool_warned=yes ;;
8076esac
8077    OTOOL=$ac_ct_OTOOL
8078  fi
8079else
8080  OTOOL="$ac_cv_prog_OTOOL"
8081fi
8082
8083    if test -n "$ac_tool_prefix"; then
8084  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8085set dummy ${ac_tool_prefix}otool64; ac_word=$2
8086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8087$as_echo_n "checking for $ac_word... " >&6; }
8088if ${ac_cv_prog_OTOOL64+:} false; then :
8089  $as_echo_n "(cached) " >&6
8090else
8091  if test -n "$OTOOL64"; then
8092  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8093else
8094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8095for as_dir in $PATH
8096do
8097  IFS=$as_save_IFS
8098  test -z "$as_dir" && as_dir=.
8099    for ac_exec_ext in '' $ac_executable_extensions; do
8100  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8101    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8102    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8103    break 2
8104  fi
8105done
8106  done
8107IFS=$as_save_IFS
8108
8109fi
8110fi
8111OTOOL64=$ac_cv_prog_OTOOL64
8112if test -n "$OTOOL64"; then
8113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8114$as_echo "$OTOOL64" >&6; }
8115else
8116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8117$as_echo "no" >&6; }
8118fi
8119
8120
8121fi
8122if test -z "$ac_cv_prog_OTOOL64"; then
8123  ac_ct_OTOOL64=$OTOOL64
8124  # Extract the first word of "otool64", so it can be a program name with args.
8125set dummy otool64; ac_word=$2
8126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8127$as_echo_n "checking for $ac_word... " >&6; }
8128if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8129  $as_echo_n "(cached) " >&6
8130else
8131  if test -n "$ac_ct_OTOOL64"; then
8132  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8133else
8134as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8135for as_dir in $PATH
8136do
8137  IFS=$as_save_IFS
8138  test -z "$as_dir" && as_dir=.
8139    for ac_exec_ext in '' $ac_executable_extensions; do
8140  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8141    ac_cv_prog_ac_ct_OTOOL64="otool64"
8142    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8143    break 2
8144  fi
8145done
8146  done
8147IFS=$as_save_IFS
8148
8149fi
8150fi
8151ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8152if test -n "$ac_ct_OTOOL64"; then
8153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8154$as_echo "$ac_ct_OTOOL64" >&6; }
8155else
8156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8157$as_echo "no" >&6; }
8158fi
8159
8160  if test "x$ac_ct_OTOOL64" = x; then
8161    OTOOL64=":"
8162  else
8163    case $cross_compiling:$ac_tool_warned in
8164yes:)
8165{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8166$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8167ac_tool_warned=yes ;;
8168esac
8169    OTOOL64=$ac_ct_OTOOL64
8170  fi
8171else
8172  OTOOL64="$ac_cv_prog_OTOOL64"
8173fi
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8202$as_echo_n "checking for -single_module linker flag... " >&6; }
8203if ${lt_cv_apple_cc_single_mod+:} false; then :
8204  $as_echo_n "(cached) " >&6
8205else
8206  lt_cv_apple_cc_single_mod=no
8207      if test -z "${LT_MULTI_MODULE}"; then
8208        # By default we will add the -single_module flag. You can override
8209        # by either setting the environment variable LT_MULTI_MODULE
8210        # non-empty at configure time, or by adding -multi_module to the
8211        # link flags.
8212        rm -rf libconftest.dylib*
8213        echo "int foo(void){return 1;}" > conftest.c
8214        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8215-dynamiclib -Wl,-single_module conftest.c" >&5
8216        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8217          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8218        _lt_result=$?
8219        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8220          lt_cv_apple_cc_single_mod=yes
8221        else
8222          cat conftest.err >&5
8223        fi
8224        rm -rf libconftest.dylib*
8225        rm -f conftest.*
8226      fi
8227fi
8228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8229$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8230    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8231$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8232if ${lt_cv_ld_exported_symbols_list+:} false; then :
8233  $as_echo_n "(cached) " >&6
8234else
8235  lt_cv_ld_exported_symbols_list=no
8236      save_LDFLAGS=$LDFLAGS
8237      echo "_main" > conftest.sym
8238      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8239      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8240/* end confdefs.h.  */
8241
8242int
8243main ()
8244{
8245
8246  ;
8247  return 0;
8248}
8249_ACEOF
8250if ac_fn_c_try_link "$LINENO"; then :
8251  lt_cv_ld_exported_symbols_list=yes
8252else
8253  lt_cv_ld_exported_symbols_list=no
8254fi
8255rm -f core conftest.err conftest.$ac_objext \
8256    conftest$ac_exeext conftest.$ac_ext
8257        LDFLAGS="$save_LDFLAGS"
8258
8259fi
8260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8261$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8262    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8263$as_echo_n "checking for -force_load linker flag... " >&6; }
8264if ${lt_cv_ld_force_load+:} false; then :
8265  $as_echo_n "(cached) " >&6
8266else
8267  lt_cv_ld_force_load=no
8268      cat > conftest.c << _LT_EOF
8269int forced_loaded() { return 2;}
8270_LT_EOF
8271      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8272      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8273      echo "$AR cru libconftest.a conftest.o" >&5
8274      $AR cru libconftest.a conftest.o 2>&5
8275      echo "$RANLIB libconftest.a" >&5
8276      $RANLIB libconftest.a 2>&5
8277      cat > conftest.c << _LT_EOF
8278int main() { return 0;}
8279_LT_EOF
8280      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8281      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8282      _lt_result=$?
8283      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8284        lt_cv_ld_force_load=yes
8285      else
8286        cat conftest.err >&5
8287      fi
8288        rm -f conftest.err libconftest.a conftest conftest.c
8289        rm -rf conftest.dSYM
8290
8291fi
8292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8293$as_echo "$lt_cv_ld_force_load" >&6; }
8294    case $host_os in
8295    rhapsody* | darwin1.[012])
8296      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8297    darwin1.*)
8298      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8299    darwin*) # darwin 5.x on
8300      # if running on 10.5 or later, the deployment target defaults
8301      # to the OS version, if on x86, and 10.4, the deployment
8302      # target defaults to 10.4. Don't you love it?
8303      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8304        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8305          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8306        10.[012]*)
8307          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8308        10.*)
8309          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8310      esac
8311    ;;
8312  esac
8313    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8314      _lt_dar_single_mod='$single_module'
8315    fi
8316    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8317      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8318    else
8319      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8320    fi
8321    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8322      _lt_dsymutil='~$DSYMUTIL $lib || :'
8323    else
8324      _lt_dsymutil=
8325    fi
8326    ;;
8327  esac
8328
8329
8330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8331$as_echo_n "checking for ANSI C header files... " >&6; }
8332if ${ac_cv_header_stdc+:} false; then :
8333  $as_echo_n "(cached) " >&6
8334else
8335  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8336/* end confdefs.h.  */
8337#include <stdlib.h>
8338#include <stdarg.h>
8339#include <string.h>
8340#include <float.h>
8341
8342int
8343main ()
8344{
8345
8346  ;
8347  return 0;
8348}
8349_ACEOF
8350if ac_fn_c_try_compile "$LINENO"; then :
8351  ac_cv_header_stdc=yes
8352else
8353  ac_cv_header_stdc=no
8354fi
8355rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8356
8357if test $ac_cv_header_stdc = yes; then
8358  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8359  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8360/* end confdefs.h.  */
8361#include <string.h>
8362
8363_ACEOF
8364if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8365  $EGREP "memchr" >/dev/null 2>&1; then :
8366
8367else
8368  ac_cv_header_stdc=no
8369fi
8370rm -f conftest*
8371
8372fi
8373
8374if test $ac_cv_header_stdc = yes; then
8375  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8376  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8377/* end confdefs.h.  */
8378#include <stdlib.h>
8379
8380_ACEOF
8381if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8382  $EGREP "free" >/dev/null 2>&1; then :
8383
8384else
8385  ac_cv_header_stdc=no
8386fi
8387rm -f conftest*
8388
8389fi
8390
8391if test $ac_cv_header_stdc = yes; then
8392  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8393  if test "$cross_compiling" = yes; then :
8394  :
8395else
8396  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8397/* end confdefs.h.  */
8398#include <ctype.h>
8399#include <stdlib.h>
8400#if ((' ' & 0x0FF) == 0x020)
8401# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8402# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8403#else
8404# define ISLOWER(c) \
8405                   (('a' <= (c) && (c) <= 'i') \
8406                     || ('j' <= (c) && (c) <= 'r') \
8407                     || ('s' <= (c) && (c) <= 'z'))
8408# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8409#endif
8410
8411#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8412int
8413main ()
8414{
8415  int i;
8416  for (i = 0; i < 256; i++)
8417    if (XOR (islower (i), ISLOWER (i))
8418        || toupper (i) != TOUPPER (i))
8419      return 2;
8420  return 0;
8421}
8422_ACEOF
8423if ac_fn_c_try_run "$LINENO"; then :
8424
8425else
8426  ac_cv_header_stdc=no
8427fi
8428rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8429  conftest.$ac_objext conftest.beam conftest.$ac_ext
8430fi
8431
8432fi
8433fi
8434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8435$as_echo "$ac_cv_header_stdc" >&6; }
8436if test $ac_cv_header_stdc = yes; then
8437
8438$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8439
8440fi
8441
8442# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8443for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8444                  inttypes.h stdint.h unistd.h
8445do :
8446  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8447ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8448"
8449if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8450  cat >>confdefs.h <<_ACEOF
8451#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8452_ACEOF
8453
8454fi
8455
8456done
8457
8458
8459for ac_header in dlfcn.h
8460do :
8461  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8462"
8463if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8464  cat >>confdefs.h <<_ACEOF
8465#define HAVE_DLFCN_H 1
8466_ACEOF
8467
8468fi
8469
8470done
8471
8472
8473
8474
8475func_stripname_cnf ()
8476{
8477  case ${2} in
8478  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8479  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8480  esac
8481} # func_stripname_cnf
8482
8483
8484
8485
8486
8487# Set options
8488
8489
8490
8491        enable_dlopen=no
8492
8493
8494
8495            # Check whether --enable-shared was given.
8496if test "${enable_shared+set}" = set; then :
8497  enableval=$enable_shared; p=${PACKAGE-default}
8498    case $enableval in
8499    yes) enable_shared=yes ;;
8500    no) enable_shared=no ;;
8501    *)
8502      enable_shared=no
8503      # Look at the argument we got.  We use all the common list separators.
8504      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8505      for pkg in $enableval; do
8506        IFS="$lt_save_ifs"
8507        if test "X$pkg" = "X$p"; then
8508          enable_shared=yes
8509        fi
8510      done
8511      IFS="$lt_save_ifs"
8512      ;;
8513    esac
8514else
8515  enable_shared=yes
8516fi
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526  # Check whether --enable-static was given.
8527if test "${enable_static+set}" = set; then :
8528  enableval=$enable_static; p=${PACKAGE-default}
8529    case $enableval in
8530    yes) enable_static=yes ;;
8531    no) enable_static=no ;;
8532    *)
8533     enable_static=no
8534      # Look at the argument we got.  We use all the common list separators.
8535      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8536      for pkg in $enableval; do
8537        IFS="$lt_save_ifs"
8538        if test "X$pkg" = "X$p"; then
8539          enable_static=yes
8540        fi
8541      done
8542      IFS="$lt_save_ifs"
8543      ;;
8544    esac
8545else
8546  enable_static=yes
8547fi
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558# Check whether --with-pic was given.
8559if test "${with_pic+set}" = set; then :
8560  withval=$with_pic; pic_mode="$withval"
8561else
8562  pic_mode=default
8563fi
8564
8565
8566test -z "$pic_mode" && pic_mode=default
8567
8568
8569
8570
8571
8572
8573
8574  # Check whether --enable-fast-install was given.
8575if test "${enable_fast_install+set}" = set; then :
8576  enableval=$enable_fast_install; p=${PACKAGE-default}
8577    case $enableval in
8578    yes) enable_fast_install=yes ;;
8579    no) enable_fast_install=no ;;
8580    *)
8581      enable_fast_install=no
8582      # Look at the argument we got.  We use all the common list separators.
8583      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8584      for pkg in $enableval; do
8585        IFS="$lt_save_ifs"
8586        if test "X$pkg" = "X$p"; then
8587          enable_fast_install=yes
8588        fi
8589      done
8590      IFS="$lt_save_ifs"
8591      ;;
8592    esac
8593else
8594  enable_fast_install=yes
8595fi
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607# This can be used to rebuild libtool when needed
8608LIBTOOL_DEPS="$ltmain"
8609
8610# Always use our own libtool.
8611LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638test -z "$LN_S" && LN_S="ln -s"
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653if test -n "${ZSH_VERSION+set}" ; then
8654   setopt NO_GLOB_SUBST
8655fi
8656
8657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8658$as_echo_n "checking for objdir... " >&6; }
8659if ${lt_cv_objdir+:} false; then :
8660  $as_echo_n "(cached) " >&6
8661else
8662  rm -f .libs 2>/dev/null
8663mkdir .libs 2>/dev/null
8664if test -d .libs; then
8665  lt_cv_objdir=.libs
8666else
8667  # MS-DOS does not allow filenames that begin with a dot.
8668  lt_cv_objdir=_libs
8669fi
8670rmdir .libs 2>/dev/null
8671fi
8672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8673$as_echo "$lt_cv_objdir" >&6; }
8674objdir=$lt_cv_objdir
8675
8676
8677
8678
8679
8680cat >>confdefs.h <<_ACEOF
8681#define LT_OBJDIR "$lt_cv_objdir/"
8682_ACEOF
8683
8684
8685
8686
8687case $host_os in
8688aix3*)
8689  # AIX sometimes has problems with the GCC collect2 program.  For some
8690  # reason, if we set the COLLECT_NAMES environment variable, the problems
8691  # vanish in a puff of smoke.
8692  if test "X${COLLECT_NAMES+set}" != Xset; then
8693    COLLECT_NAMES=
8694    export COLLECT_NAMES
8695  fi
8696  ;;
8697esac
8698
8699# Global variables:
8700ofile=libtool
8701can_build_shared=yes
8702
8703# All known linkers require a `.a' archive for static linking (except MSVC,
8704# which needs '.lib').
8705libext=a
8706
8707with_gnu_ld="$lt_cv_prog_gnu_ld"
8708
8709old_CC="$CC"
8710old_CFLAGS="$CFLAGS"
8711
8712# Set sane defaults for various variables
8713test -z "$CC" && CC=cc
8714test -z "$LTCC" && LTCC=$CC
8715test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8716test -z "$LD" && LD=ld
8717test -z "$ac_objext" && ac_objext=o
8718
8719for cc_temp in $compiler""; do
8720  case $cc_temp in
8721    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8722    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8723    \-*) ;;
8724    *) break;;
8725  esac
8726done
8727cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8728
8729
8730# Only perform the check for file, if the check method requires it
8731test -z "$MAGIC_CMD" && MAGIC_CMD=file
8732case $deplibs_check_method in
8733file_magic*)
8734  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8735    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8736$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8737if ${lt_cv_path_MAGIC_CMD+:} false; then :
8738  $as_echo_n "(cached) " >&6
8739else
8740  case $MAGIC_CMD in
8741[\\/*] |  ?:[\\/]*)
8742  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8743  ;;
8744*)
8745  lt_save_MAGIC_CMD="$MAGIC_CMD"
8746  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8747  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8748  for ac_dir in $ac_dummy; do
8749    IFS="$lt_save_ifs"
8750    test -z "$ac_dir" && ac_dir=.
8751    if test -f $ac_dir/${ac_tool_prefix}file; then
8752      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8753      if test -n "$file_magic_test_file"; then
8754        case $deplibs_check_method in
8755        "file_magic "*)
8756          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8757          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8758          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8759            $EGREP "$file_magic_regex" > /dev/null; then
8760            :
8761          else
8762            cat <<_LT_EOF 1>&2
8763
8764*** Warning: the command libtool uses to detect shared libraries,
8765*** $file_magic_cmd, produces output that libtool cannot recognize.
8766*** The result is that libtool may fail to recognize shared libraries
8767*** as such.  This will affect the creation of libtool libraries that
8768*** depend on shared libraries, but programs linked with such libtool
8769*** libraries will work regardless of this problem.  Nevertheless, you
8770*** may want to report the problem to your system manager and/or to
8771*** bug-libtool@gnu.org
8772
8773_LT_EOF
8774          fi ;;
8775        esac
8776      fi
8777      break
8778    fi
8779  done
8780  IFS="$lt_save_ifs"
8781  MAGIC_CMD="$lt_save_MAGIC_CMD"
8782  ;;
8783esac
8784fi
8785
8786MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8787if test -n "$MAGIC_CMD"; then
8788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8789$as_echo "$MAGIC_CMD" >&6; }
8790else
8791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8792$as_echo "no" >&6; }
8793fi
8794
8795
8796
8797
8798
8799if test -z "$lt_cv_path_MAGIC_CMD"; then
8800  if test -n "$ac_tool_prefix"; then
8801    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8802$as_echo_n "checking for file... " >&6; }
8803if ${lt_cv_path_MAGIC_CMD+:} false; then :
8804  $as_echo_n "(cached) " >&6
8805else
8806  case $MAGIC_CMD in
8807[\\/*] |  ?:[\\/]*)
8808  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8809  ;;
8810*)
8811  lt_save_MAGIC_CMD="$MAGIC_CMD"
8812  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8813  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8814  for ac_dir in $ac_dummy; do
8815    IFS="$lt_save_ifs"
8816    test -z "$ac_dir" && ac_dir=.
8817    if test -f $ac_dir/file; then
8818      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8819      if test -n "$file_magic_test_file"; then
8820        case $deplibs_check_method in
8821        "file_magic "*)
8822          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8823          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8824          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8825            $EGREP "$file_magic_regex" > /dev/null; then
8826            :
8827          else
8828            cat <<_LT_EOF 1>&2
8829
8830*** Warning: the command libtool uses to detect shared libraries,
8831*** $file_magic_cmd, produces output that libtool cannot recognize.
8832*** The result is that libtool may fail to recognize shared libraries
8833*** as such.  This will affect the creation of libtool libraries that
8834*** depend on shared libraries, but programs linked with such libtool
8835*** libraries will work regardless of this problem.  Nevertheless, you
8836*** may want to report the problem to your system manager and/or to
8837*** bug-libtool@gnu.org
8838
8839_LT_EOF
8840          fi ;;
8841        esac
8842      fi
8843      break
8844    fi
8845  done
8846  IFS="$lt_save_ifs"
8847  MAGIC_CMD="$lt_save_MAGIC_CMD"
8848  ;;
8849esac
8850fi
8851
8852MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8853if test -n "$MAGIC_CMD"; then
8854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8855$as_echo "$MAGIC_CMD" >&6; }
8856else
8857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8858$as_echo "no" >&6; }
8859fi
8860
8861
8862  else
8863    MAGIC_CMD=:
8864  fi
8865fi
8866
8867  fi
8868  ;;
8869esac
8870
8871# Use C for the default configuration in the libtool script
8872
8873lt_save_CC="$CC"
8874ac_ext=c
8875ac_cpp='$CPP $CPPFLAGS'
8876ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8877ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8878ac_compiler_gnu=$ac_cv_c_compiler_gnu
8879
8880
8881# Source file extension for C test sources.
8882ac_ext=c
8883
8884# Object file extension for compiled C test sources.
8885objext=o
8886objext=$objext
8887
8888# Code to be used in simple compile tests
8889lt_simple_compile_test_code="int some_variable = 0;"
8890
8891# Code to be used in simple link tests
8892lt_simple_link_test_code='int main(){return(0);}'
8893
8894
8895
8896
8897
8898
8899
8900# If no C compiler was specified, use CC.
8901LTCC=${LTCC-"$CC"}
8902
8903# If no C compiler flags were specified, use CFLAGS.
8904LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8905
8906# Allow CC to be a program name with arguments.
8907compiler=$CC
8908
8909# Save the default compiler, since it gets overwritten when the other
8910# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8911compiler_DEFAULT=$CC
8912
8913# save warnings/boilerplate of simple test code
8914ac_outfile=conftest.$ac_objext
8915echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8916eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8917_lt_compiler_boilerplate=`cat conftest.err`
8918$RM conftest*
8919
8920ac_outfile=conftest.$ac_objext
8921echo "$lt_simple_link_test_code" >conftest.$ac_ext
8922eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8923_lt_linker_boilerplate=`cat conftest.err`
8924$RM -r conftest*
8925
8926
8927if test -n "$compiler"; then
8928
8929lt_prog_compiler_no_builtin_flag=
8930
8931if test "$GCC" = yes; then
8932  case $cc_basename in
8933  nvcc*)
8934    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8935  *)
8936    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8937  esac
8938
8939  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8940$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8941if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8942  $as_echo_n "(cached) " >&6
8943else
8944  lt_cv_prog_compiler_rtti_exceptions=no
8945   ac_outfile=conftest.$ac_objext
8946   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8947   lt_compiler_flag="-fno-rtti -fno-exceptions"
8948   # Insert the option either (1) after the last *FLAGS variable, or
8949   # (2) before a word containing "conftest.", or (3) at the end.
8950   # Note that $ac_compile itself does not contain backslashes and begins
8951   # with a dollar sign (not a hyphen), so the echo should work correctly.
8952   # The option is referenced via a variable to avoid confusing sed.
8953   lt_compile=`echo "$ac_compile" | $SED \
8954   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8955   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8956   -e 's:$: $lt_compiler_flag:'`
8957   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8958   (eval "$lt_compile" 2>conftest.err)
8959   ac_status=$?
8960   cat conftest.err >&5
8961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962   if (exit $ac_status) && test -s "$ac_outfile"; then
8963     # The compiler can only warn and ignore the option if not recognized
8964     # So say no if there are warnings other than the usual output.
8965     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8966     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8967     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8968       lt_cv_prog_compiler_rtti_exceptions=yes
8969     fi
8970   fi
8971   $RM conftest*
8972
8973fi
8974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8975$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8976
8977if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8978    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8979else
8980    :
8981fi
8982
8983fi
8984
8985
8986
8987
8988
8989
8990  lt_prog_compiler_wl=
8991lt_prog_compiler_pic=
8992lt_prog_compiler_static=
8993
8994
8995  if test "$GCC" = yes; then
8996    lt_prog_compiler_wl='-Wl,'
8997    lt_prog_compiler_static='-static'
8998
8999    case $host_os in
9000      aix*)
9001      # All AIX code is PIC.
9002      if test "$host_cpu" = ia64; then
9003        # AIX 5 now supports IA64 processor
9004        lt_prog_compiler_static='-Bstatic'
9005      fi
9006      ;;
9007
9008    amigaos*)
9009      case $host_cpu in
9010      powerpc)
9011            # see comment about AmigaOS4 .so support
9012            lt_prog_compiler_pic='-fPIC'
9013        ;;
9014      m68k)
9015            # FIXME: we need at least 68020 code to build shared libraries, but
9016            # adding the `-m68020' flag to GCC prevents building anything better,
9017            # like `-m68040'.
9018            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9019        ;;
9020      esac
9021      ;;
9022
9023    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9024      # PIC is the default for these OSes.
9025      ;;
9026
9027    mingw* | cygwin* | pw32* | os2* | cegcc*)
9028      # This hack is so that the source file can tell whether it is being
9029      # built for inclusion in a dll (and should export symbols for example).
9030      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9031      # (--disable-auto-import) libraries
9032      lt_prog_compiler_pic='-DDLL_EXPORT'
9033      ;;
9034
9035    darwin* | rhapsody*)
9036      # PIC is the default on this platform
9037      # Common symbols not allowed in MH_DYLIB files
9038      lt_prog_compiler_pic='-fno-common'
9039      ;;
9040
9041    haiku*)
9042      # PIC is the default for Haiku.
9043      # The "-static" flag exists, but is broken.
9044      lt_prog_compiler_static=
9045      ;;
9046
9047    hpux*)
9048      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9049      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9050      # sets the default TLS model and affects inlining.
9051      case $host_cpu in
9052      hppa*64*)
9053        # +Z the default
9054        ;;
9055      *)
9056        lt_prog_compiler_pic='-fPIC'
9057        ;;
9058      esac
9059      ;;
9060
9061    interix[3-9]*)
9062      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9063      # Instead, we relocate shared libraries at runtime.
9064      ;;
9065
9066    msdosdjgpp*)
9067      # Just because we use GCC doesn't mean we suddenly get shared libraries
9068      # on systems that don't support them.
9069      lt_prog_compiler_can_build_shared=no
9070      enable_shared=no
9071      ;;
9072
9073    *nto* | *qnx*)
9074      # QNX uses GNU C++, but need to define -shared option too, otherwise
9075      # it will coredump.
9076      lt_prog_compiler_pic='-fPIC -shared'
9077      ;;
9078
9079    sysv4*MP*)
9080      if test -d /usr/nec; then
9081        lt_prog_compiler_pic=-Kconform_pic
9082      fi
9083      ;;
9084
9085    *)
9086      lt_prog_compiler_pic='-fPIC'
9087      ;;
9088    esac
9089
9090    case $cc_basename in
9091    nvcc*) # Cuda Compiler Driver 2.2
9092      lt_prog_compiler_wl='-Xlinker '
9093      lt_prog_compiler_pic='-Xcompiler -fPIC'
9094      ;;
9095    esac
9096  else
9097    # PORTME Check for flag to pass linker flags through the system compiler.
9098    case $host_os in
9099    aix*)
9100      lt_prog_compiler_wl='-Wl,'
9101      if test "$host_cpu" = ia64; then
9102        # AIX 5 now supports IA64 processor
9103        lt_prog_compiler_static='-Bstatic'
9104      else
9105        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9106      fi
9107      ;;
9108
9109    mingw* | cygwin* | pw32* | os2* | cegcc*)
9110      # This hack is so that the source file can tell whether it is being
9111      # built for inclusion in a dll (and should export symbols for example).
9112      lt_prog_compiler_pic='-DDLL_EXPORT'
9113      ;;
9114
9115    hpux9* | hpux10* | hpux11*)
9116      lt_prog_compiler_wl='-Wl,'
9117      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9118      # not for PA HP-UX.
9119      case $host_cpu in
9120      hppa*64*|ia64*)
9121        # +Z the default
9122        ;;
9123      *)
9124        lt_prog_compiler_pic='+Z'
9125        ;;
9126      esac
9127      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9128      lt_prog_compiler_static='${wl}-a ${wl}archive'
9129      ;;
9130
9131    irix5* | irix6* | nonstopux*)
9132      lt_prog_compiler_wl='-Wl,'
9133      # PIC (with -KPIC) is the default.
9134      lt_prog_compiler_static='-non_shared'
9135      ;;
9136
9137    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9138      case $cc_basename in
9139      # old Intel for x86_64 which still supported -KPIC.
9140      ecc*)
9141        lt_prog_compiler_wl='-Wl,'
9142        lt_prog_compiler_pic='-KPIC'
9143        lt_prog_compiler_static='-static'
9144        ;;
9145      # icc used to be incompatible with GCC.
9146      # ICC 10 doesn't accept -KPIC any more.
9147      icc* | ifort*)
9148        lt_prog_compiler_wl='-Wl,'
9149        lt_prog_compiler_pic='-fPIC'
9150        lt_prog_compiler_static='-static'
9151        ;;
9152      # Lahey Fortran 8.1.
9153      lf95*)
9154        lt_prog_compiler_wl='-Wl,'
9155        lt_prog_compiler_pic='--shared'
9156        lt_prog_compiler_static='--static'
9157        ;;
9158      nagfor*)
9159        # NAG Fortran compiler
9160        lt_prog_compiler_wl='-Wl,-Wl,,'
9161        lt_prog_compiler_pic='-PIC'
9162        lt_prog_compiler_static='-Bstatic'
9163        ;;
9164      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9165        # Portland Group compilers (*not* the Pentium gcc compiler,
9166        # which looks to be a dead project)
9167        lt_prog_compiler_wl='-Wl,'
9168        lt_prog_compiler_pic='-fpic'
9169        lt_prog_compiler_static='-Bstatic'
9170        ;;
9171      ccc*)
9172        lt_prog_compiler_wl='-Wl,'
9173        # All Alpha code is PIC.
9174        lt_prog_compiler_static='-non_shared'
9175        ;;
9176      xl* | bgxl* | bgf* | mpixl*)
9177        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9178        lt_prog_compiler_wl='-Wl,'
9179        lt_prog_compiler_pic='-qpic'
9180        lt_prog_compiler_static='-qstaticlink'
9181        ;;
9182      *)
9183        case `$CC -V 2>&1 | sed 5q` in
9184        *Sun\ F* | *Sun*Fortran*)
9185          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9186          lt_prog_compiler_pic='-KPIC'
9187          lt_prog_compiler_static='-Bstatic'
9188          lt_prog_compiler_wl=''
9189          ;;
9190        *Sun\ C*)
9191          # Sun C 5.9
9192          lt_prog_compiler_pic='-KPIC'
9193          lt_prog_compiler_static='-Bstatic'
9194          lt_prog_compiler_wl='-Wl,'
9195          ;;
9196        esac
9197        ;;
9198      esac
9199      ;;
9200
9201    newsos6)
9202      lt_prog_compiler_pic='-KPIC'
9203      lt_prog_compiler_static='-Bstatic'
9204      ;;
9205
9206    *nto* | *qnx*)
9207      # QNX uses GNU C++, but need to define -shared option too, otherwise
9208      # it will coredump.
9209      lt_prog_compiler_pic='-fPIC -shared'
9210      ;;
9211
9212    osf3* | osf4* | osf5*)
9213      lt_prog_compiler_wl='-Wl,'
9214      # All OSF/1 code is PIC.
9215      lt_prog_compiler_static='-non_shared'
9216      ;;
9217
9218    rdos*)
9219      lt_prog_compiler_static='-non_shared'
9220      ;;
9221
9222    solaris*)
9223      lt_prog_compiler_pic='-KPIC'
9224      lt_prog_compiler_static='-Bstatic'
9225      case $cc_basename in
9226      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9227        lt_prog_compiler_wl='-Qoption ld ';;
9228      *)
9229        lt_prog_compiler_wl='-Wl,';;
9230      esac
9231      ;;
9232
9233    sunos4*)
9234      lt_prog_compiler_wl='-Qoption ld '
9235      lt_prog_compiler_pic='-PIC'
9236      lt_prog_compiler_static='-Bstatic'
9237      ;;
9238
9239    sysv4 | sysv4.2uw2* | sysv4.3*)
9240      lt_prog_compiler_wl='-Wl,'
9241      lt_prog_compiler_pic='-KPIC'
9242      lt_prog_compiler_static='-Bstatic'
9243      ;;
9244
9245    sysv4*MP*)
9246      if test -d /usr/nec ;then
9247        lt_prog_compiler_pic='-Kconform_pic'
9248        lt_prog_compiler_static='-Bstatic'
9249      fi
9250      ;;
9251
9252    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9253      lt_prog_compiler_wl='-Wl,'
9254      lt_prog_compiler_pic='-KPIC'
9255      lt_prog_compiler_static='-Bstatic'
9256      ;;
9257
9258    unicos*)
9259      lt_prog_compiler_wl='-Wl,'
9260      lt_prog_compiler_can_build_shared=no
9261      ;;
9262
9263    uts4*)
9264      lt_prog_compiler_pic='-pic'
9265      lt_prog_compiler_static='-Bstatic'
9266      ;;
9267
9268    *)
9269      lt_prog_compiler_can_build_shared=no
9270      ;;
9271    esac
9272  fi
9273
9274case $host_os in
9275  # For platforms which do not support PIC, -DPIC is meaningless:
9276  *djgpp*)
9277    lt_prog_compiler_pic=
9278    ;;
9279  *)
9280    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9281    ;;
9282esac
9283
9284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9285$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9286if ${lt_cv_prog_compiler_pic+:} false; then :
9287  $as_echo_n "(cached) " >&6
9288else
9289  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9290fi
9291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9292$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9293lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9294
9295#
9296# Check to make sure the PIC flag actually works.
9297#
9298if test -n "$lt_prog_compiler_pic"; then
9299  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9300$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9301if ${lt_cv_prog_compiler_pic_works+:} false; then :
9302  $as_echo_n "(cached) " >&6
9303else
9304  lt_cv_prog_compiler_pic_works=no
9305   ac_outfile=conftest.$ac_objext
9306   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9307   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9308   # Insert the option either (1) after the last *FLAGS variable, or
9309   # (2) before a word containing "conftest.", or (3) at the end.
9310   # Note that $ac_compile itself does not contain backslashes and begins
9311   # with a dollar sign (not a hyphen), so the echo should work correctly.
9312   # The option is referenced via a variable to avoid confusing sed.
9313   lt_compile=`echo "$ac_compile" | $SED \
9314   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9315   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9316   -e 's:$: $lt_compiler_flag:'`
9317   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9318   (eval "$lt_compile" 2>conftest.err)
9319   ac_status=$?
9320   cat conftest.err >&5
9321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322   if (exit $ac_status) && test -s "$ac_outfile"; then
9323     # The compiler can only warn and ignore the option if not recognized
9324     # So say no if there are warnings other than the usual output.
9325     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9326     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9327     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9328       lt_cv_prog_compiler_pic_works=yes
9329     fi
9330   fi
9331   $RM conftest*
9332
9333fi
9334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9335$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9336
9337if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9338    case $lt_prog_compiler_pic in
9339     "" | " "*) ;;
9340     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9341     esac
9342else
9343    lt_prog_compiler_pic=
9344     lt_prog_compiler_can_build_shared=no
9345fi
9346
9347fi
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359#
9360# Check to make sure the static flag actually works.
9361#
9362wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9364$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9365if ${lt_cv_prog_compiler_static_works+:} false; then :
9366  $as_echo_n "(cached) " >&6
9367else
9368  lt_cv_prog_compiler_static_works=no
9369   save_LDFLAGS="$LDFLAGS"
9370   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9371   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9372   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9373     # The linker can only warn and ignore the option if not recognized
9374     # So say no if there are warnings
9375     if test -s conftest.err; then
9376       # Append any errors to the config.log.
9377       cat conftest.err 1>&5
9378       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9379       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9380       if diff conftest.exp conftest.er2 >/dev/null; then
9381         lt_cv_prog_compiler_static_works=yes
9382       fi
9383     else
9384       lt_cv_prog_compiler_static_works=yes
9385     fi
9386   fi
9387   $RM -r conftest*
9388   LDFLAGS="$save_LDFLAGS"
9389
9390fi
9391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9392$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9393
9394if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9395    :
9396else
9397    lt_prog_compiler_static=
9398fi
9399
9400
9401
9402
9403
9404
9405
9406  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9407$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9408if ${lt_cv_prog_compiler_c_o+:} false; then :
9409  $as_echo_n "(cached) " >&6
9410else
9411  lt_cv_prog_compiler_c_o=no
9412   $RM -r conftest 2>/dev/null
9413   mkdir conftest
9414   cd conftest
9415   mkdir out
9416   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9417
9418   lt_compiler_flag="-o out/conftest2.$ac_objext"
9419   # Insert the option either (1) after the last *FLAGS variable, or
9420   # (2) before a word containing "conftest.", or (3) at the end.
9421   # Note that $ac_compile itself does not contain backslashes and begins
9422   # with a dollar sign (not a hyphen), so the echo should work correctly.
9423   lt_compile=`echo "$ac_compile" | $SED \
9424   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9425   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9426   -e 's:$: $lt_compiler_flag:'`
9427   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9428   (eval "$lt_compile" 2>out/conftest.err)
9429   ac_status=$?
9430   cat out/conftest.err >&5
9431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9433   then
9434     # The compiler can only warn and ignore the option if not recognized
9435     # So say no if there are warnings
9436     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9437     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9438     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9439       lt_cv_prog_compiler_c_o=yes
9440     fi
9441   fi
9442   chmod u+w . 2>&5
9443   $RM conftest*
9444   # SGI C++ compiler will create directory out/ii_files/ for
9445   # template instantiation
9446   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9447   $RM out/* && rmdir out
9448   cd ..
9449   $RM -r conftest
9450   $RM conftest*
9451
9452fi
9453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9454$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9455
9456
9457
9458
9459
9460
9461  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9462$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9463if ${lt_cv_prog_compiler_c_o+:} false; then :
9464  $as_echo_n "(cached) " >&6
9465else
9466  lt_cv_prog_compiler_c_o=no
9467   $RM -r conftest 2>/dev/null
9468   mkdir conftest
9469   cd conftest
9470   mkdir out
9471   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9472
9473   lt_compiler_flag="-o out/conftest2.$ac_objext"
9474   # Insert the option either (1) after the last *FLAGS variable, or
9475   # (2) before a word containing "conftest.", or (3) at the end.
9476   # Note that $ac_compile itself does not contain backslashes and begins
9477   # with a dollar sign (not a hyphen), so the echo should work correctly.
9478   lt_compile=`echo "$ac_compile" | $SED \
9479   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9480   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9481   -e 's:$: $lt_compiler_flag:'`
9482   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9483   (eval "$lt_compile" 2>out/conftest.err)
9484   ac_status=$?
9485   cat out/conftest.err >&5
9486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9488   then
9489     # The compiler can only warn and ignore the option if not recognized
9490     # So say no if there are warnings
9491     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9492     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9493     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9494       lt_cv_prog_compiler_c_o=yes
9495     fi
9496   fi
9497   chmod u+w . 2>&5
9498   $RM conftest*
9499   # SGI C++ compiler will create directory out/ii_files/ for
9500   # template instantiation
9501   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9502   $RM out/* && rmdir out
9503   cd ..
9504   $RM -r conftest
9505   $RM conftest*
9506
9507fi
9508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9509$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9510
9511
9512
9513
9514hard_links="nottested"
9515if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9516  # do not overwrite the value of need_locks provided by the user
9517  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9518$as_echo_n "checking if we can lock with hard links... " >&6; }
9519  hard_links=yes
9520  $RM conftest*
9521  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9522  touch conftest.a
9523  ln conftest.a conftest.b 2>&5 || hard_links=no
9524  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9526$as_echo "$hard_links" >&6; }
9527  if test "$hard_links" = no; then
9528    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9529$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9530    need_locks=warn
9531  fi
9532else
9533  need_locks=no
9534fi
9535
9536
9537
9538
9539
9540
9541  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9542$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9543
9544  runpath_var=
9545  allow_undefined_flag=
9546  always_export_symbols=no
9547  archive_cmds=
9548  archive_expsym_cmds=
9549  compiler_needs_object=no
9550  enable_shared_with_static_runtimes=no
9551  export_dynamic_flag_spec=
9552  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9553  hardcode_automatic=no
9554  hardcode_direct=no
9555  hardcode_direct_absolute=no
9556  hardcode_libdir_flag_spec=
9557  hardcode_libdir_flag_spec_ld=
9558  hardcode_libdir_separator=
9559  hardcode_minus_L=no
9560  hardcode_shlibpath_var=unsupported
9561  inherit_rpath=no
9562  link_all_deplibs=unknown
9563  module_cmds=
9564  module_expsym_cmds=
9565  old_archive_from_new_cmds=
9566  old_archive_from_expsyms_cmds=
9567  thread_safe_flag_spec=
9568  whole_archive_flag_spec=
9569  # include_expsyms should be a list of space-separated symbols to be *always*
9570  # included in the symbol list
9571  include_expsyms=
9572  # exclude_expsyms can be an extended regexp of symbols to exclude
9573  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9574  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9575  # as well as any symbol that contains `d'.
9576  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9577  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9578  # platforms (ab)use it in PIC code, but their linkers get confused if
9579  # the symbol is explicitly referenced.  Since portable code cannot
9580  # rely on this symbol name, it's probably fine to never include it in
9581  # preloaded symbol tables.
9582  # Exclude shared library initialization/finalization symbols.
9583  extract_expsyms_cmds=
9584
9585  case $host_os in
9586  cygwin* | mingw* | pw32* | cegcc*)
9587    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9588    # When not using gcc, we currently assume that we are using
9589    # Microsoft Visual C++.
9590    if test "$GCC" != yes; then
9591      with_gnu_ld=no
9592    fi
9593    ;;
9594  interix*)
9595    # we just hope/assume this is gcc and not c89 (= MSVC++)
9596    with_gnu_ld=yes
9597    ;;
9598  openbsd*)
9599    with_gnu_ld=no
9600    ;;
9601  esac
9602
9603  ld_shlibs=yes
9604
9605  # On some targets, GNU ld is compatible enough with the native linker
9606  # that we're better off using the native interface for both.
9607  lt_use_gnu_ld_interface=no
9608  if test "$with_gnu_ld" = yes; then
9609    case $host_os in
9610      aix*)
9611        # The AIX port of GNU ld has always aspired to compatibility
9612        # with the native linker.  However, as the warning in the GNU ld
9613        # block says, versions before 2.19.5* couldn't really create working
9614        # shared libraries, regardless of the interface used.
9615        case `$LD -v 2>&1` in
9616          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9617          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9618          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9619          *)
9620            lt_use_gnu_ld_interface=yes
9621            ;;
9622        esac
9623        ;;
9624      *)
9625        lt_use_gnu_ld_interface=yes
9626        ;;
9627    esac
9628  fi
9629
9630  if test "$lt_use_gnu_ld_interface" = yes; then
9631    # If archive_cmds runs LD, not CC, wlarc should be empty
9632    wlarc='${wl}'
9633
9634    # Set some defaults for GNU ld with shared library support. These
9635    # are reset later if shared libraries are not supported. Putting them
9636    # here allows them to be overridden if necessary.
9637    runpath_var=LD_RUN_PATH
9638    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9639    export_dynamic_flag_spec='${wl}--export-dynamic'
9640    # ancient GNU ld didn't support --whole-archive et. al.
9641    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9642      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9643    else
9644      whole_archive_flag_spec=
9645    fi
9646    supports_anon_versioning=no
9647    case `$LD -v 2>&1` in
9648      *GNU\ gold*) supports_anon_versioning=yes ;;
9649      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9650      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9651      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9652      *\ 2.11.*) ;; # other 2.11 versions
9653      *) supports_anon_versioning=yes ;;
9654    esac
9655
9656    # See if GNU ld supports shared libraries.
9657    case $host_os in
9658    aix[3-9]*)
9659      # On AIX/PPC, the GNU linker is very broken
9660      if test "$host_cpu" != ia64; then
9661        ld_shlibs=no
9662        cat <<_LT_EOF 1>&2
9663
9664*** Warning: the GNU linker, at least up to release 2.19, is reported
9665*** to be unable to reliably create shared libraries on AIX.
9666*** Therefore, libtool is disabling shared libraries support.  If you
9667*** really care for shared libraries, you may want to install binutils
9668*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9669*** You will then need to restart the configuration process.
9670
9671_LT_EOF
9672      fi
9673      ;;
9674
9675    amigaos*)
9676      case $host_cpu in
9677      powerpc)
9678            # see comment about AmigaOS4 .so support
9679            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9680            archive_expsym_cmds=''
9681        ;;
9682      m68k)
9683            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)'
9684            hardcode_libdir_flag_spec='-L$libdir'
9685            hardcode_minus_L=yes
9686        ;;
9687      esac
9688      ;;
9689
9690    beos*)
9691      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9692        allow_undefined_flag=unsupported
9693        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9694        # support --undefined.  This deserves some investigation.  FIXME
9695        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9696      else
9697        ld_shlibs=no
9698      fi
9699      ;;
9700
9701    cygwin* | mingw* | pw32* | cegcc*)
9702      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9703      # as there is no search path for DLLs.
9704      hardcode_libdir_flag_spec='-L$libdir'
9705      export_dynamic_flag_spec='${wl}--export-all-symbols'
9706      allow_undefined_flag=unsupported
9707      always_export_symbols=no
9708      enable_shared_with_static_runtimes=yes
9709      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9710      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9711
9712      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9713        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9714        # If the export-symbols file already is a .def file (1st line
9715        # is EXPORTS), use it as is; otherwise, prepend...
9716        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9717          cp $export_symbols $output_objdir/$soname.def;
9718        else
9719          echo EXPORTS > $output_objdir/$soname.def;
9720          cat $export_symbols >> $output_objdir/$soname.def;
9721        fi~
9722        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9723      else
9724        ld_shlibs=no
9725      fi
9726      ;;
9727
9728    haiku*)
9729      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9730      link_all_deplibs=yes
9731      ;;
9732
9733    interix[3-9]*)
9734      hardcode_direct=no
9735      hardcode_shlibpath_var=no
9736      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9737      export_dynamic_flag_spec='${wl}-E'
9738      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9739      # Instead, shared libraries are loaded at an image base (0x10000000 by
9740      # default) and relocated if they conflict, which is a slow very memory
9741      # consuming and fragmenting process.  To avoid this, we pick a random,
9742      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9743      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9744      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9745      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'
9746      ;;
9747
9748    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9749      tmp_diet=no
9750      if test "$host_os" = linux-dietlibc; then
9751        case $cc_basename in
9752          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9753        esac
9754      fi
9755      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9756         && test "$tmp_diet" = no
9757      then
9758        tmp_addflag=' $pic_flag'
9759        tmp_sharedflag='-shared'
9760        case $cc_basename,$host_cpu in
9761        pgcc*)                          # Portland Group C compiler
9762          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'
9763          tmp_addflag=' $pic_flag'
9764          ;;
9765        pgf77* | pgf90* | pgf95* | pgfortran*)
9766                                        # Portland Group f77 and f90 compilers
9767          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'
9768          tmp_addflag=' $pic_flag -Mnomain' ;;
9769        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9770          tmp_addflag=' -i_dynamic' ;;
9771        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9772          tmp_addflag=' -i_dynamic -nofor_main' ;;
9773        ifc* | ifort*)                  # Intel Fortran compiler
9774          tmp_addflag=' -nofor_main' ;;
9775        lf95*)                          # Lahey Fortran 8.1
9776          whole_archive_flag_spec=
9777          tmp_sharedflag='--shared' ;;
9778        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9779          tmp_sharedflag='-qmkshrobj'
9780          tmp_addflag= ;;
9781        nvcc*)  # Cuda Compiler Driver 2.2
9782          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'
9783          compiler_needs_object=yes
9784          ;;
9785        esac
9786        case `$CC -V 2>&1 | sed 5q` in
9787        *Sun\ C*)                       # Sun C 5.9
9788          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'
9789          compiler_needs_object=yes
9790          tmp_sharedflag='-G' ;;
9791        *Sun\ F*)                       # Sun Fortran 8.3
9792          tmp_sharedflag='-G' ;;
9793        esac
9794        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9795
9796        if test "x$supports_anon_versioning" = xyes; then
9797          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9798            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9799            echo "local: *; };" >> $output_objdir/$libname.ver~
9800            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9801        fi
9802
9803        case $cc_basename in
9804        xlf* | bgf* | bgxlf* | mpixlf*)
9805          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9806          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9807          hardcode_libdir_flag_spec=
9808          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9809          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9810          if test "x$supports_anon_versioning" = xyes; then
9811            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9812              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9813              echo "local: *; };" >> $output_objdir/$libname.ver~
9814              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9815          fi
9816          ;;
9817        esac
9818      else
9819        ld_shlibs=no
9820      fi
9821      ;;
9822
9823    netbsd*)
9824      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9825        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9826        wlarc=
9827      else
9828        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9829        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9830      fi
9831      ;;
9832
9833    solaris*)
9834      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9835        ld_shlibs=no
9836        cat <<_LT_EOF 1>&2
9837
9838*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9839*** create shared libraries on Solaris systems.  Therefore, libtool
9840*** is disabling shared libraries support.  We urge you to upgrade GNU
9841*** binutils to release 2.9.1 or newer.  Another option is to modify
9842*** your PATH or compiler configuration so that the native linker is
9843*** used, and then restart.
9844
9845_LT_EOF
9846      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9847        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9848        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9849      else
9850        ld_shlibs=no
9851      fi
9852      ;;
9853
9854    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9855      case `$LD -v 2>&1` in
9856        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9857        ld_shlibs=no
9858        cat <<_LT_EOF 1>&2
9859
9860*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9861*** reliably create shared libraries on SCO systems.  Therefore, libtool
9862*** is disabling shared libraries support.  We urge you to upgrade GNU
9863*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9864*** your PATH or compiler configuration so that the native linker is
9865*** used, and then restart.
9866
9867_LT_EOF
9868        ;;
9869        *)
9870          # For security reasons, it is highly recommended that you always
9871          # use absolute paths for naming shared libraries, and exclude the
9872          # DT_RUNPATH tag from executables and libraries.  But doing so
9873          # requires that you compile everything twice, which is a pain.
9874          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9875            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9876            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9877            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9878          else
9879            ld_shlibs=no
9880          fi
9881        ;;
9882      esac
9883      ;;
9884
9885    sunos4*)
9886      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9887      wlarc=
9888      hardcode_direct=yes
9889      hardcode_shlibpath_var=no
9890      ;;
9891
9892    *)
9893      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9894        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9895        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9896      else
9897        ld_shlibs=no
9898      fi
9899      ;;
9900    esac
9901
9902    if test "$ld_shlibs" = no; then
9903      runpath_var=
9904      hardcode_libdir_flag_spec=
9905      export_dynamic_flag_spec=
9906      whole_archive_flag_spec=
9907    fi
9908  else
9909    # PORTME fill in a description of your system's linker (not GNU ld)
9910    case $host_os in
9911    aix3*)
9912      allow_undefined_flag=unsupported
9913      always_export_symbols=yes
9914      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'
9915      # Note: this linker hardcodes the directories in LIBPATH if there
9916      # are no directories specified by -L.
9917      hardcode_minus_L=yes
9918      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9919        # Neither direct hardcoding nor static linking is supported with a
9920        # broken collect2.
9921        hardcode_direct=unsupported
9922      fi
9923      ;;
9924
9925    aix[4-9]*)
9926      if test "$host_cpu" = ia64; then
9927        # On IA64, the linker does run time linking by default, so we don't
9928        # have to do anything special.
9929        aix_use_runtimelinking=no
9930        exp_sym_flag='-Bexport'
9931        no_entry_flag=""
9932      else
9933        # If we're using GNU nm, then we don't want the "-C" option.
9934        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9935        # Also, AIX nm treats weak defined symbols like other global
9936        # defined symbols, whereas GNU nm marks them as "W".
9937        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9938          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'
9939        else
9940          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9941        fi
9942        aix_use_runtimelinking=no
9943
9944        # Test if we are trying to use run time linking or normal
9945        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9946        # need to do runtime linking.
9947        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9948          for ld_flag in $LDFLAGS; do
9949          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9950            aix_use_runtimelinking=yes
9951            break
9952          fi
9953          done
9954          ;;
9955        esac
9956
9957        exp_sym_flag='-bexport'
9958        no_entry_flag='-bnoentry'
9959      fi
9960
9961      # When large executables or shared objects are built, AIX ld can
9962      # have problems creating the table of contents.  If linking a library
9963      # or program results in "error TOC overflow" add -mminimal-toc to
9964      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9965      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9966
9967      archive_cmds=''
9968      hardcode_direct=yes
9969      hardcode_direct_absolute=yes
9970      hardcode_libdir_separator=':'
9971      link_all_deplibs=yes
9972      file_list_spec='${wl}-f,'
9973
9974      if test "$GCC" = yes; then
9975        case $host_os in aix4.[012]|aix4.[012].*)
9976        # We only want to do this on AIX 4.2 and lower, the check
9977        # below for broken collect2 doesn't work under 4.3+
9978          collect2name=`${CC} -print-prog-name=collect2`
9979          if test -f "$collect2name" &&
9980           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9981          then
9982          # We have reworked collect2
9983          :
9984          else
9985          # We have old collect2
9986          hardcode_direct=unsupported
9987          # It fails to find uninstalled libraries when the uninstalled
9988          # path is not listed in the libpath.  Setting hardcode_minus_L
9989          # to unsupported forces relinking
9990          hardcode_minus_L=yes
9991          hardcode_libdir_flag_spec='-L$libdir'
9992          hardcode_libdir_separator=
9993          fi
9994          ;;
9995        esac
9996        shared_flag='-shared'
9997        if test "$aix_use_runtimelinking" = yes; then
9998          shared_flag="$shared_flag "'${wl}-G'
9999        fi
10000      else
10001        # not using gcc
10002        if test "$host_cpu" = ia64; then
10003        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10004        # chokes on -Wl,-G. The following line is correct:
10005          shared_flag='-G'
10006        else
10007          if test "$aix_use_runtimelinking" = yes; then
10008            shared_flag='${wl}-G'
10009          else
10010            shared_flag='${wl}-bM:SRE'
10011          fi
10012        fi
10013      fi
10014
10015      export_dynamic_flag_spec='${wl}-bexpall'
10016      # It seems that -bexpall does not export symbols beginning with
10017      # underscore (_), so it is better to generate a list of symbols to export.
10018      always_export_symbols=yes
10019      if test "$aix_use_runtimelinking" = yes; then
10020        # Warning - without using the other runtime loading flags (-brtl),
10021        # -berok will link without error, but may produce a broken library.
10022        allow_undefined_flag='-berok'
10023        # Determine the default libpath from the value encoded in an
10024        # empty executable.
10025        if test "${lt_cv_aix_libpath+set}" = set; then
10026  aix_libpath=$lt_cv_aix_libpath
10027else
10028  if ${lt_cv_aix_libpath_+:} false; then :
10029  $as_echo_n "(cached) " >&6
10030else
10031  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10032/* end confdefs.h.  */
10033
10034int
10035main ()
10036{
10037
10038  ;
10039  return 0;
10040}
10041_ACEOF
10042if ac_fn_c_try_link "$LINENO"; then :
10043
10044  lt_aix_libpath_sed='
10045      /Import File Strings/,/^$/ {
10046          /^0/ {
10047              s/^0  *\([^ ]*\) *$/\1/
10048              p
10049          }
10050      }'
10051  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10052  # Check for a 64-bit object if we didn't find anything.
10053  if test -z "$lt_cv_aix_libpath_"; then
10054    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10055  fi
10056fi
10057rm -f core conftest.err conftest.$ac_objext \
10058    conftest$ac_exeext conftest.$ac_ext
10059  if test -z "$lt_cv_aix_libpath_"; then
10060    lt_cv_aix_libpath_="/usr/lib:/lib"
10061  fi
10062
10063fi
10064
10065  aix_libpath=$lt_cv_aix_libpath_
10066fi
10067
10068        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10069        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"
10070      else
10071        if test "$host_cpu" = ia64; then
10072          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10073          allow_undefined_flag="-z nodefs"
10074          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"
10075        else
10076         # Determine the default libpath from the value encoded in an
10077         # empty executable.
10078         if test "${lt_cv_aix_libpath+set}" = set; then
10079  aix_libpath=$lt_cv_aix_libpath
10080else
10081  if ${lt_cv_aix_libpath_+:} false; then :
10082  $as_echo_n "(cached) " >&6
10083else
10084  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10085/* end confdefs.h.  */
10086
10087int
10088main ()
10089{
10090
10091  ;
10092  return 0;
10093}
10094_ACEOF
10095if ac_fn_c_try_link "$LINENO"; then :
10096
10097  lt_aix_libpath_sed='
10098      /Import File Strings/,/^$/ {
10099          /^0/ {
10100              s/^0  *\([^ ]*\) *$/\1/
10101              p
10102          }
10103      }'
10104  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10105  # Check for a 64-bit object if we didn't find anything.
10106  if test -z "$lt_cv_aix_libpath_"; then
10107    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10108  fi
10109fi
10110rm -f core conftest.err conftest.$ac_objext \
10111    conftest$ac_exeext conftest.$ac_ext
10112  if test -z "$lt_cv_aix_libpath_"; then
10113    lt_cv_aix_libpath_="/usr/lib:/lib"
10114  fi
10115
10116fi
10117
10118  aix_libpath=$lt_cv_aix_libpath_
10119fi
10120
10121         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10122          # Warning - without using the other run time loading flags,
10123          # -berok will link without error, but may produce a broken library.
10124          no_undefined_flag=' ${wl}-bernotok'
10125          allow_undefined_flag=' ${wl}-berok'
10126          if test "$with_gnu_ld" = yes; then
10127            # We only use this code for GNU lds that support --whole-archive.
10128            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10129          else
10130            # Exported symbols can be pulled into shared objects from archives
10131            whole_archive_flag_spec='$convenience'
10132          fi
10133          archive_cmds_need_lc=yes
10134          # This is similar to how AIX traditionally builds its shared libraries.
10135          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'
10136        fi
10137      fi
10138      ;;
10139
10140    amigaos*)
10141      case $host_cpu in
10142      powerpc)
10143            # see comment about AmigaOS4 .so support
10144            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10145            archive_expsym_cmds=''
10146        ;;
10147      m68k)
10148            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)'
10149            hardcode_libdir_flag_spec='-L$libdir'
10150            hardcode_minus_L=yes
10151        ;;
10152      esac
10153      ;;
10154
10155    bsdi[45]*)
10156      export_dynamic_flag_spec=-rdynamic
10157      ;;
10158
10159    cygwin* | mingw* | pw32* | cegcc*)
10160      # When not using gcc, we currently assume that we are using
10161      # Microsoft Visual C++.
10162      # hardcode_libdir_flag_spec is actually meaningless, as there is
10163      # no search path for DLLs.
10164      case $cc_basename in
10165      cl*)
10166        # Native MSVC
10167        hardcode_libdir_flag_spec=' '
10168        allow_undefined_flag=unsupported
10169        always_export_symbols=yes
10170        file_list_spec='@'
10171        # Tell ltmain to make .lib files, not .a files.
10172        libext=lib
10173        # Tell ltmain to make .dll files, not .so files.
10174        shrext_cmds=".dll"
10175        # FIXME: Setting linknames here is a bad hack.
10176        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10177        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10178            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10179          else
10180            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10181          fi~
10182          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10183          linknames='
10184        # The linker will not automatically build a static lib if we build a DLL.
10185        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10186        enable_shared_with_static_runtimes=yes
10187        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10188        # Don't use ranlib
10189        old_postinstall_cmds='chmod 644 $oldlib'
10190        postlink_cmds='lt_outputfile="@OUTPUT@"~
10191          lt_tool_outputfile="@TOOL_OUTPUT@"~
10192          case $lt_outputfile in
10193            *.exe|*.EXE) ;;
10194            *)
10195              lt_outputfile="$lt_outputfile.exe"
10196              lt_tool_outputfile="$lt_tool_outputfile.exe"
10197              ;;
10198          esac~
10199          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10200            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10201            $RM "$lt_outputfile.manifest";
10202          fi'
10203        ;;
10204      *)
10205        # Assume MSVC wrapper
10206        hardcode_libdir_flag_spec=' '
10207        allow_undefined_flag=unsupported
10208        # Tell ltmain to make .lib files, not .a files.
10209        libext=lib
10210        # Tell ltmain to make .dll files, not .so files.
10211        shrext_cmds=".dll"
10212        # FIXME: Setting linknames here is a bad hack.
10213        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10214        # The linker will automatically build a .lib file if we build a DLL.
10215        old_archive_from_new_cmds='true'
10216        # FIXME: Should let the user specify the lib program.
10217        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10218        enable_shared_with_static_runtimes=yes
10219        ;;
10220      esac
10221      ;;
10222
10223    darwin* | rhapsody*)
10224
10225
10226  archive_cmds_need_lc=no
10227  hardcode_direct=no
10228  hardcode_automatic=yes
10229  hardcode_shlibpath_var=unsupported
10230  if test "$lt_cv_ld_force_load" = "yes"; then
10231    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\"`'
10232  else
10233    whole_archive_flag_spec=''
10234  fi
10235  link_all_deplibs=yes
10236  allow_undefined_flag="$_lt_dar_allow_undefined"
10237  case $cc_basename in
10238     ifort*) _lt_dar_can_shared=yes ;;
10239     *) _lt_dar_can_shared=$GCC ;;
10240  esac
10241  if test "$_lt_dar_can_shared" = "yes"; then
10242    output_verbose_link_cmd=func_echo_all
10243    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10244    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10245    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}"
10246    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}"
10247
10248  else
10249  ld_shlibs=no
10250  fi
10251
10252      ;;
10253
10254    dgux*)
10255      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10256      hardcode_libdir_flag_spec='-L$libdir'
10257      hardcode_shlibpath_var=no
10258      ;;
10259
10260    freebsd1*)
10261      ld_shlibs=no
10262      ;;
10263
10264    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10265    # support.  Future versions do this automatically, but an explicit c++rt0.o
10266    # does not break anything, and helps significantly (at the cost of a little
10267    # extra space).
10268    freebsd2.2*)
10269      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10270      hardcode_libdir_flag_spec='-R$libdir'
10271      hardcode_direct=yes
10272      hardcode_shlibpath_var=no
10273      ;;
10274
10275    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10276    freebsd2*)
10277      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10278      hardcode_direct=yes
10279      hardcode_minus_L=yes
10280      hardcode_shlibpath_var=no
10281      ;;
10282
10283    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10284    freebsd* | dragonfly*)
10285      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10286      hardcode_libdir_flag_spec='-R$libdir'
10287      hardcode_direct=yes
10288      hardcode_shlibpath_var=no
10289      ;;
10290
10291    hpux9*)
10292      if test "$GCC" = yes; then
10293        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10294      else
10295        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'
10296      fi
10297      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10298      hardcode_libdir_separator=:
10299      hardcode_direct=yes
10300
10301      # hardcode_minus_L: Not really in the search PATH,
10302      # but as the default location of the library.
10303      hardcode_minus_L=yes
10304      export_dynamic_flag_spec='${wl}-E'
10305      ;;
10306
10307    hpux10*)
10308      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10309        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10310      else
10311        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10312      fi
10313      if test "$with_gnu_ld" = no; then
10314        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10315        hardcode_libdir_flag_spec_ld='+b $libdir'
10316        hardcode_libdir_separator=:
10317        hardcode_direct=yes
10318        hardcode_direct_absolute=yes
10319        export_dynamic_flag_spec='${wl}-E'
10320        # hardcode_minus_L: Not really in the search PATH,
10321        # but as the default location of the library.
10322        hardcode_minus_L=yes
10323      fi
10324      ;;
10325
10326    hpux11*)
10327      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10328        case $host_cpu in
10329        hppa*64*)
10330          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10331          ;;
10332        ia64*)
10333          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10334          ;;
10335        *)
10336          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10337          ;;
10338        esac
10339      else
10340        case $host_cpu in
10341        hppa*64*)
10342          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10343          ;;
10344        ia64*)
10345          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10346          ;;
10347        *)
10348
10349          # Older versions of the 11.00 compiler do not understand -b yet
10350          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10351          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10352$as_echo_n "checking if $CC understands -b... " >&6; }
10353if ${lt_cv_prog_compiler__b+:} false; then :
10354  $as_echo_n "(cached) " >&6
10355else
10356  lt_cv_prog_compiler__b=no
10357   save_LDFLAGS="$LDFLAGS"
10358   LDFLAGS="$LDFLAGS -b"
10359   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10360   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10361     # The linker can only warn and ignore the option if not recognized
10362     # So say no if there are warnings
10363     if test -s conftest.err; then
10364       # Append any errors to the config.log.
10365       cat conftest.err 1>&5
10366       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10367       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10368       if diff conftest.exp conftest.er2 >/dev/null; then
10369         lt_cv_prog_compiler__b=yes
10370       fi
10371     else
10372       lt_cv_prog_compiler__b=yes
10373     fi
10374   fi
10375   $RM -r conftest*
10376   LDFLAGS="$save_LDFLAGS"
10377
10378fi
10379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10380$as_echo "$lt_cv_prog_compiler__b" >&6; }
10381
10382if test x"$lt_cv_prog_compiler__b" = xyes; then
10383    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10384else
10385    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10386fi
10387
10388          ;;
10389        esac
10390      fi
10391      if test "$with_gnu_ld" = no; then
10392        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10393        hardcode_libdir_separator=:
10394
10395        case $host_cpu in
10396        hppa*64*|ia64*)
10397          hardcode_direct=no
10398          hardcode_shlibpath_var=no
10399          ;;
10400        *)
10401          hardcode_direct=yes
10402          hardcode_direct_absolute=yes
10403          export_dynamic_flag_spec='${wl}-E'
10404
10405          # hardcode_minus_L: Not really in the search PATH,
10406          # but as the default location of the library.
10407          hardcode_minus_L=yes
10408          ;;
10409        esac
10410      fi
10411      ;;
10412
10413    irix5* | irix6* | nonstopux*)
10414      if test "$GCC" = yes; then
10415        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10416        # Try to use the -exported_symbol ld option, if it does not
10417        # work, assume that -exports_file does not work either and
10418        # implicitly export all symbols.
10419        # This should be the same for all languages, so no per-tag cache variable.
10420        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10421$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10422if ${lt_cv_irix_exported_symbol+:} false; then :
10423  $as_echo_n "(cached) " >&6
10424else
10425  save_LDFLAGS="$LDFLAGS"
10426           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10427           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10428/* end confdefs.h.  */
10429int foo (void) { return 0; }
10430_ACEOF
10431if ac_fn_c_try_link "$LINENO"; then :
10432  lt_cv_irix_exported_symbol=yes
10433else
10434  lt_cv_irix_exported_symbol=no
10435fi
10436rm -f core conftest.err conftest.$ac_objext \
10437    conftest$ac_exeext conftest.$ac_ext
10438           LDFLAGS="$save_LDFLAGS"
10439fi
10440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10441$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10442        if test "$lt_cv_irix_exported_symbol" = yes; then
10443          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10444        fi
10445      else
10446        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'
10447        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'
10448      fi
10449      archive_cmds_need_lc='no'
10450      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10451      hardcode_libdir_separator=:
10452      inherit_rpath=yes
10453      link_all_deplibs=yes
10454      ;;
10455
10456    netbsd*)
10457      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10458        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10459      else
10460        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10461      fi
10462      hardcode_libdir_flag_spec='-R$libdir'
10463      hardcode_direct=yes
10464      hardcode_shlibpath_var=no
10465      ;;
10466
10467    newsos6)
10468      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10469      hardcode_direct=yes
10470      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10471      hardcode_libdir_separator=:
10472      hardcode_shlibpath_var=no
10473      ;;
10474
10475    *nto* | *qnx*)
10476      ;;
10477
10478    openbsd*)
10479      if test -f /usr/libexec/ld.so; then
10480        hardcode_direct=yes
10481        hardcode_shlibpath_var=no
10482        hardcode_direct_absolute=yes
10483        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10484          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10485          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10486          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10487          export_dynamic_flag_spec='${wl}-E'
10488        else
10489          case $host_os in
10490           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10491             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10492             hardcode_libdir_flag_spec='-R$libdir'
10493             ;;
10494           *)
10495             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10496             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10497             ;;
10498          esac
10499        fi
10500      else
10501        ld_shlibs=no
10502      fi
10503      ;;
10504
10505    os2*)
10506      hardcode_libdir_flag_spec='-L$libdir'
10507      hardcode_minus_L=yes
10508      allow_undefined_flag=unsupported
10509      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'
10510      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10511      ;;
10512
10513    osf3*)
10514      if test "$GCC" = yes; then
10515        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10516        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'
10517      else
10518        allow_undefined_flag=' -expect_unresolved \*'
10519        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'
10520      fi
10521      archive_cmds_need_lc='no'
10522      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10523      hardcode_libdir_separator=:
10524      ;;
10525
10526    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10527      if test "$GCC" = yes; then
10528        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10529        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10530        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10531      else
10532        allow_undefined_flag=' -expect_unresolved \*'
10533        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'
10534        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~
10535        $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'
10536
10537        # Both c and cxx compiler support -rpath directly
10538        hardcode_libdir_flag_spec='-rpath $libdir'
10539      fi
10540      archive_cmds_need_lc='no'
10541      hardcode_libdir_separator=:
10542      ;;
10543
10544    solaris*)
10545      no_undefined_flag=' -z defs'
10546      if test "$GCC" = yes; then
10547        wlarc='${wl}'
10548        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10549        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10550          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10551      else
10552        case `$CC -V 2>&1` in
10553        *"Compilers 5.0"*)
10554          wlarc=''
10555          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10556          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10557          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10558          ;;
10559        *)
10560          wlarc='${wl}'
10561          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10562          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10563          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10564          ;;
10565        esac
10566      fi
10567      hardcode_libdir_flag_spec='-R$libdir'
10568      hardcode_shlibpath_var=no
10569      case $host_os in
10570      solaris2.[0-5] | solaris2.[0-5].*) ;;
10571      *)
10572        # The compiler driver will combine and reorder linker options,
10573        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10574        # but is careful enough not to reorder.
10575        # Supported since Solaris 2.6 (maybe 2.5.1?)
10576        if test "$GCC" = yes; then
10577          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10578        else
10579          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10580        fi
10581        ;;
10582      esac
10583      link_all_deplibs=yes
10584      ;;
10585
10586    sunos4*)
10587      if test "x$host_vendor" = xsequent; then
10588        # Use $CC to link under sequent, because it throws in some extra .o
10589        # files that make .init and .fini sections work.
10590        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10591      else
10592        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10593      fi
10594      hardcode_libdir_flag_spec='-L$libdir'
10595      hardcode_direct=yes
10596      hardcode_minus_L=yes
10597      hardcode_shlibpath_var=no
10598      ;;
10599
10600    sysv4)
10601      case $host_vendor in
10602        sni)
10603          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10604          hardcode_direct=yes # is this really true???
10605        ;;
10606        siemens)
10607          ## LD is ld it makes a PLAMLIB
10608          ## CC just makes a GrossModule.
10609          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10610          reload_cmds='$CC -r -o $output$reload_objs'
10611          hardcode_direct=no
10612        ;;
10613        motorola)
10614          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10615          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10616        ;;
10617      esac
10618      runpath_var='LD_RUN_PATH'
10619      hardcode_shlibpath_var=no
10620      ;;
10621
10622    sysv4.3*)
10623      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10624      hardcode_shlibpath_var=no
10625      export_dynamic_flag_spec='-Bexport'
10626      ;;
10627
10628    sysv4*MP*)
10629      if test -d /usr/nec; then
10630        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10631        hardcode_shlibpath_var=no
10632        runpath_var=LD_RUN_PATH
10633        hardcode_runpath_var=yes
10634        ld_shlibs=yes
10635      fi
10636      ;;
10637
10638    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10639      no_undefined_flag='${wl}-z,text'
10640      archive_cmds_need_lc=no
10641      hardcode_shlibpath_var=no
10642      runpath_var='LD_RUN_PATH'
10643
10644      if test "$GCC" = yes; then
10645        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10646        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10647      else
10648        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10649        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10650      fi
10651      ;;
10652
10653    sysv5* | sco3.2v5* | sco5v6*)
10654      # Note: We can NOT use -z defs as we might desire, because we do not
10655      # link with -lc, and that would cause any symbols used from libc to
10656      # always be unresolved, which means just about no library would
10657      # ever link correctly.  If we're not using GNU ld we use -z text
10658      # though, which does catch some bad symbols but isn't as heavy-handed
10659      # as -z defs.
10660      no_undefined_flag='${wl}-z,text'
10661      allow_undefined_flag='${wl}-z,nodefs'
10662      archive_cmds_need_lc=no
10663      hardcode_shlibpath_var=no
10664      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10665      hardcode_libdir_separator=':'
10666      link_all_deplibs=yes
10667      export_dynamic_flag_spec='${wl}-Bexport'
10668      runpath_var='LD_RUN_PATH'
10669
10670      if test "$GCC" = yes; then
10671        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10672        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10673      else
10674        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10675        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10676      fi
10677      ;;
10678
10679    uts4*)
10680      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10681      hardcode_libdir_flag_spec='-L$libdir'
10682      hardcode_shlibpath_var=no
10683      ;;
10684
10685    *)
10686      ld_shlibs=no
10687      ;;
10688    esac
10689
10690    if test x$host_vendor = xsni; then
10691      case $host in
10692      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10693        export_dynamic_flag_spec='${wl}-Blargedynsym'
10694        ;;
10695      esac
10696    fi
10697  fi
10698
10699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10700$as_echo "$ld_shlibs" >&6; }
10701test "$ld_shlibs" = no && can_build_shared=no
10702
10703with_gnu_ld=$with_gnu_ld
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719#
10720# Do we need to explicitly link libc?
10721#
10722case "x$archive_cmds_need_lc" in
10723x|xyes)
10724  # Assume -lc should be added
10725  archive_cmds_need_lc=yes
10726
10727  if test "$enable_shared" = yes && test "$GCC" = yes; then
10728    case $archive_cmds in
10729    *'~'*)
10730      # FIXME: we may have to deal with multi-command sequences.
10731      ;;
10732    '$CC '*)
10733      # Test whether the compiler implicitly links with -lc since on some
10734      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10735      # to ld, don't add -lc before -lgcc.
10736      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10737$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10738if ${lt_cv_archive_cmds_need_lc+:} false; then :
10739  $as_echo_n "(cached) " >&6
10740else
10741  $RM conftest*
10742        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10743
10744        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10745  (eval $ac_compile) 2>&5
10746  ac_status=$?
10747  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10748  test $ac_status = 0; } 2>conftest.err; then
10749          soname=conftest
10750          lib=conftest
10751          libobjs=conftest.$ac_objext
10752          deplibs=
10753          wl=$lt_prog_compiler_wl
10754          pic_flag=$lt_prog_compiler_pic
10755          compiler_flags=-v
10756          linker_flags=-v
10757          verstring=
10758          output_objdir=.
10759          libname=conftest
10760          lt_save_allow_undefined_flag=$allow_undefined_flag
10761          allow_undefined_flag=
10762          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10763  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10764  ac_status=$?
10765  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10766  test $ac_status = 0; }
10767          then
10768            lt_cv_archive_cmds_need_lc=no
10769          else
10770            lt_cv_archive_cmds_need_lc=yes
10771          fi
10772          allow_undefined_flag=$lt_save_allow_undefined_flag
10773        else
10774          cat conftest.err 1>&5
10775        fi
10776        $RM conftest*
10777
10778fi
10779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10780$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10781      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10782      ;;
10783    esac
10784  fi
10785  ;;
10786esac
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10945$as_echo_n "checking dynamic linker characteristics... " >&6; }
10946
10947if test "$GCC" = yes; then
10948  case $host_os in
10949    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10950    *) lt_awk_arg="/^libraries:/" ;;
10951  esac
10952  case $host_os in
10953    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10954    *) lt_sed_strip_eq="s,=/,/,g" ;;
10955  esac
10956  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10957  case $lt_search_path_spec in
10958  *\;*)
10959    # if the path contains ";" then we assume it to be the separator
10960    # otherwise default to the standard path separator (i.e. ":") - it is
10961    # assumed that no part of a normal pathname contains ";" but that should
10962    # okay in the real world where ";" in dirpaths is itself problematic.
10963    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10964    ;;
10965  *)
10966    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10967    ;;
10968  esac
10969  # Ok, now we have the path, separated by spaces, we can step through it
10970  # and add multilib dir if necessary.
10971  lt_tmp_lt_search_path_spec=
10972  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10973  for lt_sys_path in $lt_search_path_spec; do
10974    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10975      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10976    else
10977      test -d "$lt_sys_path" && \
10978        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10979    fi
10980  done
10981  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10982BEGIN {RS=" "; FS="/|\n";} {
10983  lt_foo="";
10984  lt_count=0;
10985  for (lt_i = NF; lt_i > 0; lt_i--) {
10986    if ($lt_i != "" && $lt_i != ".") {
10987      if ($lt_i == "..") {
10988        lt_count++;
10989      } else {
10990        if (lt_count == 0) {
10991          lt_foo="/" $lt_i lt_foo;
10992