source: trunk/configure @ 369

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

regenerate files

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

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