source: trunk/configure @ 472

Last change on this file since 472 was 472, checked in by kulshres, 6 years ago

regenerate files

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

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