source: branches/autotools-update/Clp/configure @ 2364

Last change on this file since 2364 was 2364, checked in by lou, 6 months ago

Remove COIN_INIT_LIBVARS.

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