source: trunk/configure @ 317

Last change on this file since 317 was 317, checked in by kulshres, 8 years ago

regenerate files

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

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