source: trunk/configure @ 500

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

regenerate files

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

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