Ignore:
Timestamp:
Mar 8, 2014 1:54:11 PM (6 years ago)
Author:
stefan
Message:

get it compiling with buildtools/trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Glpk/branches/autotools-update/configure

    r3099 r3193  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59 for ThirdPartyGlpk trunk.
     3# Generated by GNU Autoconf 2.69 for ThirdPartyGlpk trunk.
    44#
    55# Report bugs to <http://projects.coin-or.org/BuildTools/newticket>.
    66#
    7 # Copyright (C) 2003 Free Software Foundation, Inc.
     7#
     8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     9#
     10#
    811# This configure script is free software; the Free Software Foundation
    912# gives unlimited permission to copy, distribute and modify it.
     
    1215# Copyright 2007-2010 Stefan Vigerske and others.
    1316# All Rights Reserved.
    14 # This file is part of the open source package Coin which is distributed
     17# This file is part of the open source package ThirdParty/Glpk which is distributed
    1518# under the Eclipse Public License.
    16 ## --------------------- ##
    17 ## M4sh Initialization.  ##
    18 ## --------------------- ##
    19 
    20 # Be Bourne compatible
    21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     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 :
    2226  emulate sh
    2327  NULLCMD=:
    24   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     28  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    2529  # is contrary to our usage.  Disable this feature.
    2630  alias -g '${1+"$@"}'='"$@"'
    27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    28   set -o posix
    29 fi
    30 DUALCASE=1; export DUALCASE # for MKS sh
    31 
    32 # Support unset when possible.
    33 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    34   as_unset=unset
    35 else
    36   as_unset=false
    37 fi
    38 
    39 
    40 # Work around bugs in pre-3.0 UWIN ksh.
    41 $as_unset ENV MAIL MAILPATH
     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
    42130PS1='$ '
    43131PS2='> '
     
    45133
    46134# NLS nuisances.
    47 for as_var in \
    48   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    49   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    50   LC_TELEPHONE LC_TIME
     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
    51227do
    52   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    53     eval $as_var=C; export $as_var
     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."
    54282  else
    55     $as_unset $as_var
     283    $as_echo "$0: Please tell bug-autoconf@gnu.org and
     284$0: http://projects.coin-or.org/BuildTools/newticket about
     285$0: your system, including any error possibly output before
     286$0: this message. Then install a modern shell, or manually
     287$0: run the script under such a shell if you do have one."
    56288  fi
    57 done
    58 
    59 # Required to use basename.
    60 if expr a : '\(a\)' >/dev/null 2>&1; then
     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
    61438  as_expr=expr
    62439else
     
    64441fi
    65442
    66 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     443if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    67444  as_basename=basename
    68445else
     
    70447fi
    71448
    72 
    73 # Name of the executable.
    74 as_me=`$as_basename "$0" ||
     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" ||
    75456$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    76457         X"$0" : 'X\(//\)$' \| \
    77          X"$0" : 'X\(/\)$' \| \
    78          .     : '\(.\)' 2>/dev/null ||
    79 echo X/"$0" |
    80     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    81           /^X\/\(\/\/\)$/{ s//\1/; q; }
    82           /^X\/\(\/\).*/{ s//\1/; q; }
    83           s/.*/./; q'`
    84 
    85 
    86 # PATH needs CR, and LINENO needs CR and PATH.
     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
    87474# Avoid depending upon Character Ranges.
    88475as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    92479as_cr_alnum=$as_cr_Letters$as_cr_digits
    93480
    94 # The user is always right.
    95 if test "${PATH_SEPARATOR+set}" != set; then
    96   echo "#! /bin/sh" >conf$$.sh
    97   echo  "exit 0"   >>conf$$.sh
    98   chmod +x conf$$.sh
    99   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    100     PATH_SEPARATOR=';'
    101   else
    102     PATH_SEPARATOR=:
    103   fi
    104   rm -f conf$$.sh
    105 fi
    106 
    107 
    108   as_lineno_1=$LINENO
    109   as_lineno_2=$LINENO
    110   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    111   test "x$as_lineno_1" != "x$as_lineno_2" &&
    112   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    113   # Find who we are.  Look in the path if we contain no path at all
    114   # relative or not.
    115   case $0 in
    116     *[\\/]* ) as_myself=$0 ;;
    117     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    118 for as_dir in $PATH
    119 do
    120   IFS=$as_save_IFS
    121   test -z "$as_dir" && as_dir=.
    122   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    123 done
    124 
    125        ;;
    126   esac
    127   # We did not find ourselves, most probably we were run as `sh COMMAND'
    128   # in which case we are not to be found in the path.
    129   if test "x$as_myself" = x; then
    130     as_myself=$0
    131   fi
    132   if test ! -f "$as_myself"; then
    133     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    134    { (exit 1); exit 1; }; }
    135   fi
    136   case $CONFIG_SHELL in
    137   '')
    138     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    139 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    140 do
    141   IFS=$as_save_IFS
    142   test -z "$as_dir" && as_dir=.
    143   for as_base in sh bash ksh sh5; do
    144          case $as_dir in
    145          /*)
    146            if ("$as_dir/$as_base" -c '
    147   as_lineno_1=$LINENO
    148   as_lineno_2=$LINENO
    149   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    150   test "x$as_lineno_1" != "x$as_lineno_2" &&
    151   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    152              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    153              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    154              CONFIG_SHELL=$as_dir/$as_base
    155              export CONFIG_SHELL
    156              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    157            fi;;
    158          esac
    159        done
    160 done
    161 ;;
    162   esac
    163 
    164   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    165   # uniformly replaced by the line number.  The first 'sed' inserts a
    166   # line-number line before each line; the second 'sed' does the real
    167   # work.  The second script uses 'N' to pair each line-number line
    168   # with the numbered line, and appends trailing '-' during
    169   # substitution so that $LINENO is not a special case at line end.
    170   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    171   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    172   sed '=' <$as_myself |
     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 |
    173491    sed '
     492      s/[$]LINENO.*/&-/
     493      t lineno
     494      b
     495      :lineno
    174496      N
    175       s,$,-,
    176       : loop
    177       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     497      :loop
     498      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    178499      t loop
    179       s,-$,,
    180       s,^['$as_cr_digits']*\n,,
     500      s/-\n.*//
    181501    ' >$as_me.lineno &&
    182   chmod +x $as_me.lineno ||
    183     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    184    { (exit 1); exit 1; }; }
    185 
     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
    186509  # Don't try to exec as it changes $[0], causing all sort of problems
    187510  # (the dirname of $[0] is not the place where we might find the
    188   # original and so on.  Autoconf is especially sensible to this).
    189   . ./$as_me.lineno
     511  # original and so on.  Autoconf is especially sensitive to this).
     512  . "./$as_me.lineno"
    190513  # Exit status is that of the last command.
    191514  exit
    192515}
    193516
    194 
    195 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    196   *c*,-n*) ECHO_N= ECHO_C='
    197 ' ECHO_T='      ' ;;
    198   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    199   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     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';;
    200528esac
    201529
    202 if expr a : '\(a\)' >/dev/null 2>&1; then
    203   as_expr=expr
    204 else
    205   as_expr=false
    206 fi
    207 
    208530rm -f conf$$ conf$$.exe conf$$.file
    209 echo >conf$$.file
    210 if ln -s conf$$.file conf$$ 2>/dev/null; then
    211   # We could just check for DJGPP; but this test a) works b) is more generic
    212   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    213   if test -f conf$$.exe; then
    214     # Don't use ln at all; we don't have any links
    215     as_ln_s='cp -p'
     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
    216548  else
    217     as_ln_s='ln -s'
     549    as_ln_s='cp -pR'
    218550  fi
    219 elif ln conf$$.file conf$$ 2>/dev/null; then
    220   as_ln_s=ln
    221 else
    222   as_ln_s='cp -p'
    223 fi
    224 rm -f conf$$ conf$$.exe conf$$.file
     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
    225556
    226557if mkdir -p . 2>/dev/null; then
    227   as_mkdir_p=:
     558  as_mkdir_p='mkdir -p "$as_dir"'
    228559else
    229560  test -d ./-p && rmdir ./-p
     
    231562fi
    232563
    233 as_executable_p="test -f"
     564as_test_x='test -x'
     565as_executable_p=as_fn_executable_p
    234566
    235567# Sed expression to map a string onto a valid CPP name.
     
    239571as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    240572
    241 
    242 # IFS
    243 # We need space, tab and new line, in precisely that order.
    244 as_nl='
    245 '
    246 IFS="   $as_nl"
    247 
    248 # CDPATH.
    249 $as_unset CDPATH
    250 
    251 
    252 
    253 # Check that we are running under the correct shell.
    254573SHELL=${CONFIG_SHELL-/bin/sh}
    255574
    256 case X$ECHO in
    257 X*--fallback-echo)
    258   # Remove one level of quotation (which was required for Make).
    259   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    260   ;;
    261 esac
    262 
    263 echo=${ECHO-echo}
    264 if test "X$1" = X--no-reexec; then
    265   # Discard the --no-reexec flag, and continue.
    266   shift
    267 elif test "X$1" = X--fallback-echo; then
    268   # Avoid inline document here, it may be left over
    269   :
    270 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    271   # Yippee, $echo works!
    272   :
    273 else
    274   # Restart under the correct shell.
    275   exec $SHELL "$0" --no-reexec ${1+"$@"}
    276 fi
    277 
    278 if test "X$1" = X--fallback-echo; then
    279   # used as fallback echo
    280   shift
    281   cat <<EOF
    282 $*
    283 EOF
    284   exit 0
    285 fi
    286 
    287 # The HP-UX ksh and POSIX shell print the target directory to stdout
    288 # if CDPATH is set.
    289 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    290 
    291 if test -z "$ECHO"; then
    292 if test "X${echo_test_string+set}" != Xset; then
    293 # find a string as large as possible, as long as the shell can cope with it
    294   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    295     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    296     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    297        echo_test_string=`eval $cmd` &&
    298        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    299     then
    300       break
    301     fi
    302   done
    303 fi
    304 
    305 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    306    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    307    test "X$echo_testing_string" = "X$echo_test_string"; then
    308   :
    309 else
    310   # The Solaris, AIX, and Digital Unix default echo programs unquote
    311   # backslashes.  This makes it impossible to quote backslashes using
    312   #   echo "$something" | sed 's/\\/\\\\/g'
    313   #
    314   # So, first we look for a working echo in the user's PATH.
    315 
    316   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    317   for dir in $PATH /usr/ucb; do
    318     IFS="$lt_save_ifs"
    319     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    320        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    321        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    322        test "X$echo_testing_string" = "X$echo_test_string"; then
    323       echo="$dir/echo"
    324       break
    325     fi
    326   done
    327   IFS="$lt_save_ifs"
    328 
    329   if test "X$echo" = Xecho; then
    330     # We didn't find a better echo, so look for alternatives.
    331     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    332        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    333        test "X$echo_testing_string" = "X$echo_test_string"; then
    334       # This shell has a builtin print -r that does the trick.
    335       echo='print -r'
    336     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    337          test "X$CONFIG_SHELL" != X/bin/ksh; then
    338       # If we have ksh, try running configure again with it.
    339       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    340       export ORIGINAL_CONFIG_SHELL
    341       CONFIG_SHELL=/bin/ksh
    342       export CONFIG_SHELL
    343       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    344     else
    345       # Try using printf.
    346       echo='printf %s\n'
    347       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    348          echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    349          test "X$echo_testing_string" = "X$echo_test_string"; then
    350         # Cool, printf works
    351         :
    352       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    353            test "X$echo_testing_string" = 'X\t' &&
    354            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    355            test "X$echo_testing_string" = "X$echo_test_string"; then
    356         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    357         export CONFIG_SHELL
    358         SHELL="$CONFIG_SHELL"
    359         export SHELL
    360         echo="$CONFIG_SHELL $0 --fallback-echo"
    361       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    362            test "X$echo_testing_string" = 'X\t' &&
    363            echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    364            test "X$echo_testing_string" = "X$echo_test_string"; then
    365         echo="$CONFIG_SHELL $0 --fallback-echo"
    366       else
    367         # maybe with a smaller string...
    368         prev=:
    369 
    370         for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    371           if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    372           then
    373             break
    374           fi
    375           prev="$cmd"
    376         done
    377 
    378         if test "$prev" != 'sed 50q "$0"'; then
    379           echo_test_string=`eval $prev`
    380           export echo_test_string
    381           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    382         else
    383           # Oops.  We lost completely, so just stick with echo.
    384           echo=echo
    385         fi
    386       fi
    387     fi
    388   fi
    389 fi
    390 fi
    391 
    392 # Copy echo and quote the copy suitably for passing to libtool from
    393 # the Makefile, instead of quoting the original, which is used later.
    394 ECHO=$echo
    395 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    396    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    397 fi
    398 
    399 
    400 
    401 
    402 tagnames=${tagnames+${tagnames},}CXX
    403 
    404 tagnames=${tagnames+${tagnames},}F77
     575
     576test -n "$DJDIR" || exec 7<&0 </dev/null
     577exec 6>&1
    405578
    406579# Name of the host.
    407 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     580# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    408581# so uname gets run too.
    409582ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    410 
    411 exec 6>&1
    412583
    413584#
     
    415586#
    416587ac_default_prefix=/usr/local
     588ac_clean_files=
    417589ac_config_libobj_dir=.
     590LIBOBJS=
    418591cross_compiling=no
    419592subdirs=
    420593MFLAGS=
    421594MAKEFLAGS=
    422 SHELL=${CONFIG_SHELL-/bin/sh}
    423 
    424 # Maximum number of lines to put in a shell here document.
    425 # This variable seems obsolete.  It should probably be removed, and
    426 # only ac_max_sed_lines should be used.
    427 : ${ac_max_here_lines=38}
    428595
    429596# Identity of this package.
     
    433600PACKAGE_STRING='ThirdPartyGlpk trunk'
    434601PACKAGE_BUGREPORT='http://projects.coin-or.org/BuildTools/newticket'
     602PACKAGE_URL=''
    435603
    436604ac_unique_file="glpk/src/glpk.h"
     
    439607ac_includes_default="\
    440608#include <stdio.h>
    441 #if HAVE_SYS_TYPES_H
     609#ifdef HAVE_SYS_TYPES_H
    442610# include <sys/types.h>
    443611#endif
    444 #if HAVE_SYS_STAT_H
     612#ifdef HAVE_SYS_STAT_H
    445613# include <sys/stat.h>
    446614#endif
    447 #if STDC_HEADERS
     615#ifdef STDC_HEADERS
    448616# include <stdlib.h>
    449617# include <stddef.h>
    450618#else
    451 # if HAVE_STDLIB_H
     619# ifdef HAVE_STDLIB_H
    452620#  include <stdlib.h>
    453621# endif
    454622#endif
    455 #if HAVE_STRING_H
    456 # if !STDC_HEADERS && HAVE_MEMORY_H
     623#ifdef HAVE_STRING_H
     624# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    457625#  include <memory.h>
    458626# endif
    459627# include <string.h>
    460628#endif
    461 #if HAVE_STRINGS_H
     629#ifdef HAVE_STRINGS_H
    462630# include <strings.h>
    463631#endif
    464 #if HAVE_INTTYPES_H
     632#ifdef HAVE_INTTYPES_H
    465633# include <inttypes.h>
    466 #else
    467 # if HAVE_STDINT_H
    468 #  include <stdint.h>
    469 # endif
    470634#endif
    471 #if HAVE_UNISTD_H
     635#ifdef HAVE_STDINT_H
     636# include <stdint.h>
     637#endif
     638#ifdef HAVE_UNISTD_H
    472639# include <unistd.h>
    473640#endif"
    474641
    475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion GLPK_SVN_REV build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC PKG_CONFIG ac_ct_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED EGREP LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS DEPENDENCY_LINKING_TRUE DEPENDENCY_LINKING_FALSE LT_LDFLAGS glpkmajorver glpkminorver GLPKDIR GLPK_PCLIBS LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
     642ac_subst_vars='am__EXEEXT_FALSE
     643am__EXEEXT_TRUE
     644LTLIBOBJS
     645LIBOBJS
     646GLPKDIR
     647glpkminorver
     648glpkmajorver
     649CPP
     650OTOOL64
     651OTOOL
     652LIPO
     653NMEDIT
     654DSYMUTIL
     655MANIFEST_TOOL
     656RANLIB
     657ac_ct_AR
     658AR
     659DLLTOOL
     660OBJDUMP
     661LN_S
     662NM
     663ac_ct_DUMPBIN
     664DUMPBIN
     665LD
     666FGREP
     667EGREP
     668GREP
     669SED
     670host_os
     671host_vendor
     672host_cpu
     673host
     674LIBTOOL
     675MAINT
     676MAINTAINER_MODE_FALSE
     677MAINTAINER_MODE_TRUE
     678AM_BACKSLASH
     679AM_DEFAULT_VERBOSITY
     680AM_DEFAULT_V
     681AM_V
     682am__fastdepCC_FALSE
     683am__fastdepCC_TRUE
     684CCDEPMODE
     685am__nodep
     686AMDEPBACKSLASH
     687AMDEP_FALSE
     688AMDEP_TRUE
     689am__quote
     690am__include
     691DEPDIR
     692am__untar
     693am__tar
     694AMTAR
     695am__leading_dot
     696SET_MAKE
     697AWK
     698mkdir_p
     699MKDIR_P
     700INSTALL_STRIP_PROGRAM
     701STRIP
     702install_sh
     703MAKEINFO
     704AUTOHEADER
     705AUTOMAKE
     706AUTOCONF
     707ACLOCAL
     708VERSION
     709PACKAGE
     710CYGPATH_W
     711am__isrc
     712INSTALL_DATA
     713INSTALL_SCRIPT
     714INSTALL_PROGRAM
     715OBJEXT
     716EXEEXT
     717ac_ct_CC
     718CPPFLAGS
     719LDFLAGS
     720CFLAGS
     721CC
     722build_os
     723build_vendor
     724build_cpu
     725build
     726GLPK_SVN_REV
     727have_svnversion
     728COIN_DESTDIR
     729target_alias
     730host_alias
     731build_alias
     732LIBS
     733ECHO_T
     734ECHO_N
     735ECHO_C
     736DEFS
     737mandir
     738localedir
     739libdir
     740psdir
     741pdfdir
     742dvidir
     743htmldir
     744infodir
     745docdir
     746oldincludedir
     747includedir
     748localstatedir
     749sharedstatedir
     750sysconfdir
     751datadir
     752datarootdir
     753libexecdir
     754sbindir
     755bindir
     756program_transform_name
     757prefix
     758exec_prefix
     759PACKAGE_URL
     760PACKAGE_BUGREPORT
     761PACKAGE_STRING
     762PACKAGE_VERSION
     763PACKAGE_TARNAME
     764PACKAGE_NAME
     765PATH_SEPARATOR
     766SHELL'
    476767ac_subst_files=''
     768ac_user_opts='
     769enable_option_checking
     770enable_dependency_tracking
     771enable_silent_rules
     772enable_maintainer_mode
     773enable_shared
     774enable_static
     775with_pic
     776enable_fast_install
     777with_gnu_ld
     778with_sysroot
     779enable_libtool_lock
     780enable_odbc
     781enable_mysql
     782'
     783      ac_precious_vars='build_alias
     784host_alias
     785target_alias
     786CC
     787CFLAGS
     788LDFLAGS
     789LIBS
     790CPPFLAGS
     791CPP'
     792
    477793
    478794# Initialize some variables set by options.
    479795ac_init_help=
    480796ac_init_version=false
     797ac_unrecognized_opts=
     798ac_unrecognized_sep=
    481799# The variables have the same names as the options, with
    482800# dashes changed to underlines.
     
    501819# by default will actually change.
    502820# Use braces instead of parens because sh, perl, etc. also accept them.
     821# (The list follows the same order as the GNU Coding Standards.)
    503822bindir='${exec_prefix}/bin'
    504823sbindir='${exec_prefix}/sbin'
    505824libexecdir='${exec_prefix}/libexec'
    506 datadir='${prefix}/share'
     825datarootdir='${prefix}/share'
     826datadir='${datarootdir}'
    507827sysconfdir='${prefix}/etc'
    508828sharedstatedir='${prefix}/com'
    509829localstatedir='${prefix}/var'
    510 libdir='${exec_prefix}/lib'
    511830includedir='${prefix}/include'
    512831oldincludedir='/usr/include'
    513 infodir='${prefix}/info'
    514 mandir='${prefix}/man'
     832docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
     833infodir='${datarootdir}/info'
     834htmldir='${docdir}'
     835dvidir='${docdir}'
     836pdfdir='${docdir}'
     837psdir='${docdir}'
     838libdir='${exec_prefix}/lib'
     839localedir='${datarootdir}/locale'
     840mandir='${datarootdir}/man'
    515841
    516842ac_prev=
     843ac_dashdash=
    517844for ac_option
    518845do
    519846  # If the previous option needs an argument, assign it.
    520847  if test -n "$ac_prev"; then
    521     eval "$ac_prev=\$ac_option"
     848    eval $ac_prev=\$ac_option
    522849    ac_prev=
    523850    continue
    524851  fi
    525852
    526   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     853  case $ac_option in
     854  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     855  *=)   ac_optarg= ;;
     856  *)    ac_optarg=yes ;;
     857  esac
    527858
    528859  # Accept the important Cygnus configure options, so we can diagnose typos.
    529860
    530   case $ac_option in
     861  case $ac_dashdash$ac_option in
     862  --)
     863    ac_dashdash=yes ;;
    531864
    532865  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    550883    cache_file=config.cache ;;
    551884
    552   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     885  -datadir | --datadir | --datadi | --datad)
    553886    ac_prev=datadir ;;
    554   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    555   | --da=*)
     887  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    556888    datadir=$ac_optarg ;;
    557889
     890  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     891  | --dataroo | --dataro | --datar)
     892    ac_prev=datarootdir ;;
     893  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     894  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     895    datarootdir=$ac_optarg ;;
     896
    558897  -disable-* | --disable-*)
    559     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     898    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    560899    # Reject names that are not valid shell variable names.
    561     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    562       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    563    { (exit 1); exit 1; }; }
    564     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    565     eval "enable_$ac_feature=no" ;;
     900    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     901      as_fn_error $? "invalid feature name: $ac_useropt"
     902    ac_useropt_orig=$ac_useropt
     903    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     904    case $ac_user_opts in
     905      *"
     906"enable_$ac_useropt"
     907"*) ;;
     908      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
     909         ac_unrecognized_sep=', ';;
     910    esac
     911    eval enable_$ac_useropt=no ;;
     912
     913  -docdir | --docdir | --docdi | --doc | --do)
     914    ac_prev=docdir ;;
     915  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     916    docdir=$ac_optarg ;;
     917
     918  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     919    ac_prev=dvidir ;;
     920  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     921    dvidir=$ac_optarg ;;
    566922
    567923  -enable-* | --enable-*)
    568     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     924    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    569925    # Reject names that are not valid shell variable names.
    570     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    571       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    572    { (exit 1); exit 1; }; }
    573     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    574     case $ac_option in
    575       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    576       *) ac_optarg=yes ;;
     926    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     927      as_fn_error $? "invalid feature name: $ac_useropt"
     928    ac_useropt_orig=$ac_useropt
     929    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     930    case $ac_user_opts in
     931      *"
     932"enable_$ac_useropt"
     933"*) ;;
     934      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
     935         ac_unrecognized_sep=', ';;
    577936    esac
    578     eval "enable_$ac_feature='$ac_optarg'" ;;
     937    eval enable_$ac_useropt=\$ac_optarg ;;
    579938
    580939  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    603962    host_alias=$ac_optarg ;;
    604963
     964  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     965    ac_prev=htmldir ;;
     966  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     967  | --ht=*)
     968    htmldir=$ac_optarg ;;
     969
    605970  -includedir | --includedir | --includedi | --included | --include \
    606971  | --includ | --inclu | --incl | --inc)
     
    627992    libexecdir=$ac_optarg ;;
    628993
     994  -localedir | --localedir | --localedi | --localed | --locale)
     995    ac_prev=localedir ;;
     996  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     997    localedir=$ac_optarg ;;
     998
    629999  -localstatedir | --localstatedir | --localstatedi | --localstated \
    630   | --localstate | --localstat | --localsta | --localst \
    631   | --locals | --local | --loca | --loc | --lo)
     1000  | --localstate | --localstat | --localsta | --localst | --locals)
    6321001    ac_prev=localstatedir ;;
    6331002  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    634   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    635   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     1003  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    6361004    localstatedir=$ac_optarg ;;
    6371005
     
    6981066    program_transform_name=$ac_optarg ;;
    6991067
     1068  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     1069    ac_prev=pdfdir ;;
     1070  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     1071    pdfdir=$ac_optarg ;;
     1072
     1073  -psdir | --psdir | --psdi | --psd | --ps)
     1074    ac_prev=psdir ;;
     1075  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     1076    psdir=$ac_optarg ;;
     1077
    7001078  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    7011079  | -silent | --silent | --silen | --sile | --sil)
     
    7481126
    7491127  -with-* | --with-*)
    750     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1128    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    7511129    # Reject names that are not valid shell variable names.
    752     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    753       { echo "$as_me: error: invalid package name: $ac_package" >&2
    754    { (exit 1); exit 1; }; }
    755     ac_package=`echo $ac_package| sed 's/-/_/g'`
    756     case $ac_option in
    757       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    758       *) ac_optarg=yes ;;
     1130    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1131      as_fn_error $? "invalid package name: $ac_useropt"
     1132    ac_useropt_orig=$ac_useropt
     1133    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1134    case $ac_user_opts in
     1135      *"
     1136"with_$ac_useropt"
     1137"*) ;;
     1138      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
     1139         ac_unrecognized_sep=', ';;
    7591140    esac
    760     eval "with_$ac_package='$ac_optarg'" ;;
     1141    eval with_$ac_useropt=\$ac_optarg ;;
    7611142
    7621143  -without-* | --without-*)
    763     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1144    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    7641145    # Reject names that are not valid shell variable names.
    765     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    766       { echo "$as_me: error: invalid package name: $ac_package" >&2
    767    { (exit 1); exit 1; }; }
    768     ac_package=`echo $ac_package | sed 's/-/_/g'`
    769     eval "with_$ac_package=no" ;;
     1146    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1147      as_fn_error $? "invalid package name: $ac_useropt"
     1148    ac_useropt_orig=$ac_useropt
     1149    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1150    case $ac_user_opts in
     1151      *"
     1152"with_$ac_useropt"
     1153"*) ;;
     1154      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
     1155         ac_unrecognized_sep=', ';;
     1156    esac
     1157    eval with_$ac_useropt=no ;;
    7701158
    7711159  --x)
     
    7871175    x_libraries=$ac_optarg ;;
    7881176
    789   -*) { echo "$as_me: error: unrecognized option: $ac_option
    790 Try \`$0 --help' for more information." >&2
    791    { (exit 1); exit 1; }; }
     1177  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1178Try \`$0 --help' for more information"
    7921179    ;;
    7931180
     
    7951182    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    7961183    # Reject names that are not valid shell variable names.
    797     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    798       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    799    { (exit 1); exit 1; }; }
    800     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    801     eval "$ac_envvar='$ac_optarg'"
     1184    case $ac_envvar in #(
     1185      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1186      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1187    esac
     1188    eval $ac_envvar=\$ac_optarg
    8021189    export $ac_envvar ;;
    8031190
    8041191  *)
    8051192    # FIXME: should be removed in autoconf 3.0.
    806     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1193    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    8071194    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    808       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    809     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1195      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1196    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    8101197    ;;
    8111198
     
    8151202if test -n "$ac_prev"; then
    8161203  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    817   { echo "$as_me: error: missing argument to $ac_option" >&2
    818    { (exit 1); exit 1; }; }
    819 fi
    820 
    821 # Be sure to have absolute paths.
    822 for ac_var in exec_prefix prefix
     1204  as_fn_error $? "missing argument to $ac_option"
     1205fi
     1206
     1207if test -n "$ac_unrecognized_opts"; then
     1208  case $enable_option_checking in
     1209    no) ;;
     1210    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     1211    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1212  esac
     1213fi
     1214
     1215# Check all directory arguments for consistency.
     1216for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1217                datadir sysconfdir sharedstatedir localstatedir includedir \
     1218                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1219                libdir localedir mandir
    8231220do
    824   eval ac_val=$`echo $ac_var`
     1221  eval ac_val=\$$ac_var
     1222  # Remove trailing slashes.
    8251223  case $ac_val in
    826     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    827     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    828    { (exit 1); exit 1; }; };;
     1224    */ )
     1225      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1226      eval $ac_var=\$ac_val;;
    8291227  esac
    830 done
    831 
    832 # Be sure to have absolute paths.
    833 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    834               localstatedir libdir includedir oldincludedir infodir mandir
    835 do
    836   eval ac_val=$`echo $ac_var`
     1228  # Be sure to have absolute directory names.
    8371229  case $ac_val in
    838     [\\/$]* | ?:[\\/]* ) ;;
    839     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    840    { (exit 1); exit 1; }; };;
     1230    [\\/$]* | ?:[\\/]* )  continue;;
     1231    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    8411232  esac
     1233  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    8421234done
    8431235
     
    8531245  if test "x$build_alias" = x; then
    8541246    cross_compiling=maybe
    855     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    856     If a cross compiler is detected then cross compile mode will be used." >&2
    8571247  elif test "x$build_alias" != "x$host_alias"; then
    8581248    cross_compiling=yes
     
    8661256
    8671257
     1258ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1259ac_ls_di=`ls -di .` &&
     1260ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1261  as_fn_error $? "working directory cannot be determined"
     1262test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1263  as_fn_error $? "pwd does not report name of working directory"
     1264
     1265
    8681266# Find the source files, if location was not specified.
    8691267if test -z "$srcdir"; then
    8701268  ac_srcdir_defaulted=yes
    871   # Try the directory containing this script, then its parent.
    872   ac_confdir=`(dirname "$0") 2>/dev/null ||
    873 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    874          X"$0" : 'X\(//\)[^/]' \| \
    875          X"$0" : 'X\(//\)$' \| \
    876          X"$0" : 'X\(/\)' \| \
    877          .     : '\(.\)' 2>/dev/null ||
    878 echo X"$0" |
    879     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    880           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    881           /^X\(\/\/\)$/{ s//\1/; q; }
    882           /^X\(\/\).*/{ s//\1/; q; }
    883           s/.*/./; q'`
     1269  # Try the directory containing this script, then the parent directory.
     1270  ac_confdir=`$as_dirname -- "$as_myself" ||
     1271$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     1272         X"$as_myself" : 'X\(//\)[^/]' \| \
     1273         X"$as_myself" : 'X\(//\)$' \| \
     1274         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
     1275$as_echo X"$as_myself" |
     1276    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1277            s//\1/
     1278            q
     1279          }
     1280          /^X\(\/\/\)[^/].*/{
     1281            s//\1/
     1282            q
     1283          }
     1284          /^X\(\/\/\)$/{
     1285            s//\1/
     1286            q
     1287          }
     1288          /^X\(\/\).*/{
     1289            s//\1/
     1290            q
     1291          }
     1292          s/.*/./; q'`
    8841293  srcdir=$ac_confdir
    885   if test ! -r $srcdir/$ac_unique_file; then
     1294  if test ! -r "$srcdir/$ac_unique_file"; then
    8861295    srcdir=..
    8871296  fi
     
    8891298  ac_srcdir_defaulted=no
    8901299fi
    891 if test ! -r $srcdir/$ac_unique_file; then
    892   if test "$ac_srcdir_defaulted" = yes; then
    893     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    894    { (exit 1); exit 1; }; }
    895   else
    896     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    897    { (exit 1); exit 1; }; }
    898   fi
    899 fi
    900 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    901   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    902    { (exit 1); exit 1; }; }
    903 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    904 ac_env_build_alias_set=${build_alias+set}
    905 ac_env_build_alias_value=$build_alias
    906 ac_cv_env_build_alias_set=${build_alias+set}
    907 ac_cv_env_build_alias_value=$build_alias
    908 ac_env_host_alias_set=${host_alias+set}
    909 ac_env_host_alias_value=$host_alias
    910 ac_cv_env_host_alias_set=${host_alias+set}
    911 ac_cv_env_host_alias_value=$host_alias
    912 ac_env_target_alias_set=${target_alias+set}
    913 ac_env_target_alias_value=$target_alias
    914 ac_cv_env_target_alias_set=${target_alias+set}
    915 ac_cv_env_target_alias_value=$target_alias
    916 ac_env_CDEFS_set=${CDEFS+set}
    917 ac_env_CDEFS_value=$CDEFS
    918 ac_cv_env_CDEFS_set=${CDEFS+set}
    919 ac_cv_env_CDEFS_value=$CDEFS
    920 ac_env_ADD_CFLAGS_set=${ADD_CFLAGS+set}
    921 ac_env_ADD_CFLAGS_value=$ADD_CFLAGS
    922 ac_cv_env_ADD_CFLAGS_set=${ADD_CFLAGS+set}
    923 ac_cv_env_ADD_CFLAGS_value=$ADD_CFLAGS
    924 ac_env_DBG_CFLAGS_set=${DBG_CFLAGS+set}
    925 ac_env_DBG_CFLAGS_value=$DBG_CFLAGS
    926 ac_cv_env_DBG_CFLAGS_set=${DBG_CFLAGS+set}
    927 ac_cv_env_DBG_CFLAGS_value=$DBG_CFLAGS
    928 ac_env_OPT_CFLAGS_set=${OPT_CFLAGS+set}
    929 ac_env_OPT_CFLAGS_value=$OPT_CFLAGS
    930 ac_cv_env_OPT_CFLAGS_set=${OPT_CFLAGS+set}
    931 ac_cv_env_OPT_CFLAGS_value=$OPT_CFLAGS
    932 ac_env_CC_set=${CC+set}
    933 ac_env_CC_value=$CC
    934 ac_cv_env_CC_set=${CC+set}
    935 ac_cv_env_CC_value=$CC
    936 ac_env_CFLAGS_set=${CFLAGS+set}
    937 ac_env_CFLAGS_value=$CFLAGS
    938 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    939 ac_cv_env_CFLAGS_value=$CFLAGS
    940 ac_env_LDFLAGS_set=${LDFLAGS+set}
    941 ac_env_LDFLAGS_value=$LDFLAGS
    942 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    943 ac_cv_env_LDFLAGS_value=$LDFLAGS
    944 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    945 ac_env_CPPFLAGS_value=$CPPFLAGS
    946 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    947 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    948 ac_env_MPICC_set=${MPICC+set}
    949 ac_env_MPICC_value=$MPICC
    950 ac_cv_env_MPICC_set=${MPICC+set}
    951 ac_cv_env_MPICC_value=$MPICC
    952 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
    953 ac_env_PKG_CONFIG_value=$PKG_CONFIG
    954 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
    955 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
    956 ac_env_CPP_set=${CPP+set}
    957 ac_env_CPP_value=$CPP
    958 ac_cv_env_CPP_set=${CPP+set}
    959 ac_cv_env_CPP_value=$CPP
    960 ac_env_CXX_set=${CXX+set}
    961 ac_env_CXX_value=$CXX
    962 ac_cv_env_CXX_set=${CXX+set}
    963 ac_cv_env_CXX_value=$CXX
    964 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    965 ac_env_CXXFLAGS_value=$CXXFLAGS
    966 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    967 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    968 ac_env_CXXCPP_set=${CXXCPP+set}
    969 ac_env_CXXCPP_value=$CXXCPP
    970 ac_cv_env_CXXCPP_set=${CXXCPP+set}
    971 ac_cv_env_CXXCPP_value=$CXXCPP
    972 ac_env_F77_set=${F77+set}
    973 ac_env_F77_value=$F77
    974 ac_cv_env_F77_set=${F77+set}
    975 ac_cv_env_F77_value=$F77
    976 ac_env_FFLAGS_set=${FFLAGS+set}
    977 ac_env_FFLAGS_value=$FFLAGS
    978 ac_cv_env_FFLAGS_set=${FFLAGS+set}
    979 ac_cv_env_FFLAGS_value=$FFLAGS
     1300if test ! -r "$srcdir/$ac_unique_file"; then
     1301  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1302  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
     1303fi
     1304ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1305ac_abs_confdir=`(
     1306        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
     1307        pwd)`
     1308# When building in place, set srcdir=.
     1309if test "$ac_abs_confdir" = "$ac_pwd"; then
     1310  srcdir=.
     1311fi
     1312# Remove unnecessary trailing slashes from srcdir.
     1313# Double slashes in file names in object file debugging info
     1314# mess up M-x gdb in Emacs.
     1315case $srcdir in
     1316*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1317esac
     1318for ac_var in $ac_precious_vars; do
     1319  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1320  eval ac_env_${ac_var}_value=\$${ac_var}
     1321  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1322  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1323done
    9801324
    9811325#
     
    10001344      --help=recursive    display the short help of all the included packages
    10011345  -V, --version           display version information and exit
    1002   -q, --quiet, --silent   do not print \`checking...' messages
     1346  -q, --quiet, --silent   do not print \`checking ...' messages
    10031347      --cache-file=FILE   cache test results in FILE [disabled]
    10041348  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    10061350      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    10071351
    1008 _ACEOF
    1009 
    1010   cat <<_ACEOF
    10111352Installation directories:
    10121353  --prefix=PREFIX         install architecture-independent files in PREFIX
    1013                           [$ac_default_prefix]
     1354                          [$ac_default_prefix]
    10141355  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    1015                           [PREFIX]
     1356                          [PREFIX]
    10161357
    10171358By default, \`make install' will install all the files in
     
    10231364
    10241365Fine tuning of the installation directories:
    1025   --bindir=DIR           user executables [EPREFIX/bin]
    1026   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    1027   --libexecdir=DIR       program executables [EPREFIX/libexec]
    1028   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    1029   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    1030   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    1031   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    1032   --libdir=DIR           object code libraries [EPREFIX/lib]
    1033   --includedir=DIR       C header files [PREFIX/include]
    1034   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    1035   --infodir=DIR          info documentation [PREFIX/info]
    1036   --mandir=DIR           man documentation [PREFIX/man]
     1366  --bindir=DIR            user executables [EPREFIX/bin]
     1367  --sbindir=DIR           system admin executables [EPREFIX/sbin]
     1368  --libexecdir=DIR        program executables [EPREFIX/libexec]
     1369  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     1370  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     1371  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1372  --libdir=DIR            object code libraries [EPREFIX/lib]
     1373  --includedir=DIR        C header files [PREFIX/include]
     1374  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     1375  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
     1376  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     1377  --infodir=DIR           info documentation [DATAROOTDIR/info]
     1378  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
     1379  --mandir=DIR            man documentation [DATAROOTDIR/man]
     1380  --docdir=DIR            documentation root [DATAROOTDIR/doc/thirdpartyglpk]
     1381  --htmldir=DIR           html documentation [DOCDIR]
     1382  --dvidir=DIR            dvi documentation [DOCDIR]
     1383  --pdfdir=DIR            pdf documentation [DOCDIR]
     1384  --psdir=DIR             ps documentation [DOCDIR]
    10371385_ACEOF
    10381386
     
    10571405
    10581406Optional Features:
     1407  --disable-option-checking  ignore unrecognized --enable/--with options
    10591408  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    10601409  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    1061   --enable-debug          compile all projects with debug options tests
    1062                           (implies --disable-shared)
    1063   --enable-debug-glpk compile project Glpk with debug compiler flags
    1064 
    1065   --enable-msvc           Prefer (i)cl/ifort/link over GNU on MinGW/Cygwin.
    1066   --disable-pkg-config    disable use of pkg-config (if available)
    1067   --enable-static[=PKGS]
    1068                           build static libraries [default=no]
    1069   --disable-dependency-tracking  speeds up one-time build
    1070   --enable-dependency-tracking   do not reject slow dependency extractors
    1071   --enable-maintainer-mode  enable make rules and dependencies not useful
    1072                           (and sometimes confusing) to the casual installer
    1073   --enable-shared[=PKGS]
    1074                           build shared libraries [default=yes]
     1410  --enable-dependency-tracking
     1411                          do not reject slow dependency extractors
     1412  --disable-dependency-tracking
     1413                          speeds up one-time build
     1414  --enable-silent-rules   less verbose build output (undo: "make V=1")
     1415  --disable-silent-rules  verbose build output (undo: "make V=0")
     1416  --enable-maintainer-mode
     1417                          enable make rules and dependencies not useful (and
     1418                          sometimes confusing) to the casual installer
     1419  --enable-shared[=PKGS]  build shared libraries [default=yes]
     1420  --enable-static[=PKGS]  build static libraries [default=yes]
    10751421  --enable-fast-install[=PKGS]
    10761422                          optimize for fast installation [default=yes]
    10771423  --disable-libtool-lock  avoid locking (might break parallel builds)
    1078   --disable-gmp           do not compile with GNU multiple precision library
    1079   --enable-odbc           enable MathProg ODBC support [default=auto]
    1080   --enable-mysql          enable MathProg MySQL support [default=auto]
     1424  --enable-odbc           enable MathProg ODBC support [[default=auto]]
     1425  --enable-mysql          enable MathProg MySQL support [[default=auto]]
    10811426
    10821427Optional Packages:
    10831428  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    10841429  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    1085   --with-glpk-verbosity specify the debug verbosity level for project Glpk
    1086   --with-glpk-checklevel specify the sanity check level for project Glpk
    1087   --with-coin-instdir     prefix of installation directory for precompiled
    1088                           COIN packages
     1430  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
     1431                          both]
    10891432  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    1090   --with-pic              try to use only PIC/non-PIC objects [default=use
    1091                           both]
    1092   --with-tags[=TAGS]
    1093                           include additional configurations [automatic]
     1433  --with-sysroot=DIR Search for dependent libraries within DIR
     1434                        (or the compiler's sysroot if not specified).
    10941435
    10951436Some influential environment variables:
    1096   CDEFS       Additional -D flags to be used when compiling C code.
    1097   ADD_CFLAGS  Additional C compiler options
    1098   DBG_CFLAGS  Debug C compiler options
    1099   OPT_CFLAGS  Optimize C compiler options
    11001437  CC          C compiler command
    11011438  CFLAGS      C compiler flags
    11021439  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    11031440              nonstandard directory <lib dir>
    1104   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    1105               headers in a nonstandard directory <include dir>
    1106   MPICC       C MPI Compiler
    1107   PKG_CONFIG  path to pkg-config utility
     1441  LIBS        libraries to pass to the linker, e.g. -l<library>
     1442  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
     1443              you have headers in a nonstandard directory <include dir>
    11081444  CPP         C preprocessor
    1109   CXX         C++ compiler command
    1110   CXXFLAGS    C++ compiler flags
    1111   CXXCPP      C++ preprocessor
    1112   F77         Fortran 77 compiler command
    1113   FFLAGS      Fortran 77 compiler flags
    11141445
    11151446Use these variables to override the choices made by `configure' or to help
     
    11181449Report bugs to <http://projects.coin-or.org/BuildTools/newticket>.
    11191450_ACEOF
     1451ac_status=$?
    11201452fi
    11211453
    11221454if test "$ac_init_help" = "recursive"; then
    11231455  # If there are subdirs, report their specific --help.
    1124   ac_popdir=`pwd`
    11251456  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1126     test -d $ac_dir || continue
     1457    test -d "$ac_dir" ||
     1458      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     1459      continue
    11271460    ac_builddir=.
    11281461
    1129 if test "$ac_dir" != .; then
    1130   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    1131   # A "../" for each directory in $ac_dir_suffix.
    1132   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    1133 else
    1134   ac_dir_suffix= ac_top_builddir=
    1135 fi
     1462case "$ac_dir" in
     1463.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1464*)
     1465  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     1466  # A ".." for each directory in $ac_dir_suffix.
     1467  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     1468  case $ac_top_builddir_sub in
     1469  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1470  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1471  esac ;;
     1472esac
     1473ac_abs_top_builddir=$ac_pwd
     1474ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1475# for backward compatibility:
     1476ac_top_builddir=$ac_top_build_prefix
    11361477
    11371478case $srcdir in
    1138   .)  # No --srcdir option.  We are building in place.
     1479  .)  # We are building in place.
    11391480    ac_srcdir=.
    1140     if test -z "$ac_top_builddir"; then
    1141        ac_top_srcdir=.
     1481    ac_top_srcdir=$ac_top_builddir_sub
     1482    ac_abs_top_srcdir=$ac_pwd ;;
     1483  [\\/]* | ?:[\\/]* )  # Absolute name.
     1484    ac_srcdir=$srcdir$ac_dir_suffix;
     1485    ac_top_srcdir=$srcdir
     1486    ac_abs_top_srcdir=$srcdir ;;
     1487  *) # Relative name.
     1488    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1489    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1490    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1491esac
     1492ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1493
     1494    cd "$ac_dir" || { ac_status=$?; continue; }
     1495    # Check for guested configure.
     1496    if test -f "$ac_srcdir/configure.gnu"; then
     1497      echo &&
     1498      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1499    elif test -f "$ac_srcdir/configure"; then
     1500      echo &&
     1501      $SHELL "$ac_srcdir/configure" --help=recursive
    11421502    else
    1143        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    1144     fi ;;
    1145   [\\/]* | ?:[\\/]* )  # Absolute path.
    1146     ac_srcdir=$srcdir$ac_dir_suffix;
    1147     ac_top_srcdir=$srcdir ;;
    1148   *) # Relative path.
    1149     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    1150     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    1151 esac
    1152 
    1153 # Do not use `cd foo && pwd` to compute absolute paths, because
    1154 # the directories may not exist.
    1155 case `pwd` in
    1156 .) ac_abs_builddir="$ac_dir";;
    1157 *)
    1158   case "$ac_dir" in
    1159   .) ac_abs_builddir=`pwd`;;
    1160   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    1161   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    1162   esac;;
    1163 esac
    1164 case $ac_abs_builddir in
    1165 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    1166 *)
    1167   case ${ac_top_builddir}. in
    1168   .) ac_abs_top_builddir=$ac_abs_builddir;;
    1169   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    1170   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    1171   esac;;
    1172 esac
    1173 case $ac_abs_builddir in
    1174 .) ac_abs_srcdir=$ac_srcdir;;
    1175 *)
    1176   case $ac_srcdir in
    1177   .) ac_abs_srcdir=$ac_abs_builddir;;
    1178   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    1179   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    1180   esac;;
    1181 esac
    1182 case $ac_abs_builddir in
    1183 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    1184 *)
    1185   case $ac_top_srcdir in
    1186   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    1187   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    1188   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    1189   esac;;
    1190 esac
    1191 
    1192     cd $ac_dir
    1193     # Check for guested configure; otherwise get Cygnus style configure.
    1194     if test -f $ac_srcdir/configure.gnu; then
    1195       echo
    1196       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    1197     elif test -f $ac_srcdir/configure; then
    1198       echo
    1199       $SHELL $ac_srcdir/configure  --help=recursive
    1200     elif test -f $ac_srcdir/configure.ac ||
    1201            test -f $ac_srcdir/configure.in; then
    1202       echo
    1203       $ac_configure --help
    1204     else
    1205       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    1206     fi
    1207     cd $ac_popdir
     1503      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1504    fi || ac_status=$?
     1505    cd "$ac_pwd" || { ac_status=$?; break; }
    12081506  done
    12091507fi
    12101508
    1211 test -n "$ac_init_help" && exit 0
     1509test -n "$ac_init_help" && exit $ac_status
    12121510if $ac_init_version; then
    12131511  cat <<\_ACEOF
    12141512ThirdPartyGlpk configure trunk
    1215 generated by GNU Autoconf 2.59
    1216 
    1217 Copyright (C) 2003 Free Software Foundation, Inc.
     1513generated by GNU Autoconf 2.69
     1514
     1515Copyright (C) 2012 Free Software Foundation, Inc.
    12181516This configure script is free software; the Free Software Foundation
    12191517gives unlimited permission to copy, distribute and modify it.
     
    12221520Copyright 2007-2010 Stefan Vigerske and others.
    12231521All Rights Reserved.
    1224 This file is part of the open source package Coin which is distributed
     1522This file is part of the open source package ThirdParty/Glpk which is distributed
    12251523under the Eclipse Public License.
    12261524_ACEOF
    1227   exit 0
    1228 fi
    1229 exec 5>config.log
    1230 cat >&5 <<_ACEOF
     1525  exit
     1526fi
     1527
     1528## ------------------------ ##
     1529## Autoconf initialization. ##
     1530## ------------------------ ##
     1531
     1532# ac_fn_c_try_compile LINENO
     1533# --------------------------
     1534# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1535ac_fn_c_try_compile ()
     1536{
     1537  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1538  rm -f conftest.$ac_objext
     1539  if { { ac_try="$ac_compile"
     1540case "(($ac_try" in
     1541  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1542  *) ac_try_echo=$ac_try;;
     1543esac
     1544eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1545$as_echo "$ac_try_echo"; } >&5
     1546  (eval "$ac_compile") 2>conftest.err
     1547  ac_status=$?
     1548  if test -s conftest.err; then
     1549    grep -v '^ *+' conftest.err >conftest.er1
     1550    cat conftest.er1 >&5
     1551    mv -f conftest.er1 conftest.err
     1552  fi
     1553  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1554  test $ac_status = 0; } && {
     1555         test -z "$ac_c_werror_flag" ||
     1556         test ! -s conftest.err
     1557       } && test -s conftest.$ac_objext; then :
     1558  ac_retval=0
     1559else
     1560  $as_echo "$as_me: failed program was:" >&5
     1561sed 's/^/| /' conftest.$ac_ext >&5
     1562
     1563        ac_retval=1
     1564fi
     1565  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1566  as_fn_set_status $ac_retval
     1567
     1568} # ac_fn_c_try_compile
     1569
     1570# ac_fn_c_try_link LINENO
     1571# -----------------------
     1572# Try to link conftest.$ac_ext, and return whether this succeeded.
     1573ac_fn_c_try_link ()
     1574{
     1575  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1576  rm -f conftest.$ac_objext conftest$ac_exeext
     1577  if { { ac_try="$ac_link"
     1578case "(($ac_try" in
     1579  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1580  *) ac_try_echo=$ac_try;;
     1581esac
     1582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1583$as_echo "$ac_try_echo"; } >&5
     1584  (eval "$ac_link") 2>conftest.err
     1585  ac_status=$?
     1586  if test -s conftest.err; then
     1587    grep -v '^ *+' conftest.err >conftest.er1
     1588    cat conftest.er1 >&5
     1589    mv -f conftest.er1 conftest.err
     1590  fi
     1591  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1592  test $ac_status = 0; } && {
     1593         test -z "$ac_c_werror_flag" ||
     1594         test ! -s conftest.err
     1595       } && test -s conftest$ac_exeext && {
     1596         test "$cross_compiling" = yes ||
     1597         test -x conftest$ac_exeext
     1598       }; then :
     1599  ac_retval=0
     1600else
     1601  $as_echo "$as_me: failed program was:" >&5
     1602sed 's/^/| /' conftest.$ac_ext >&5
     1603
     1604        ac_retval=1
     1605fi
     1606  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1607  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1608  # interfere with the next link command; also delete a directory that is
     1609  # left behind by Apple's compiler.  We do this before executing the actions.
     1610  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1611  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1612  as_fn_set_status $ac_retval
     1613
     1614} # ac_fn_c_try_link
     1615
     1616# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1617# -------------------------------------------------------
     1618# Tests whether HEADER exists and can be compiled using the include files in
     1619# INCLUDES, setting the cache variable VAR accordingly.
     1620ac_fn_c_check_header_compile ()
     1621{
     1622  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1623  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1624$as_echo_n "checking for $2... " >&6; }
     1625if eval \${$3+:} false; then :
     1626  $as_echo_n "(cached) " >&6
     1627else
     1628  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1629/* end confdefs.h.  */
     1630$4
     1631#include <$2>
     1632_ACEOF
     1633if ac_fn_c_try_compile "$LINENO"; then :
     1634  eval "$3=yes"
     1635else
     1636  eval "$3=no"
     1637fi
     1638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1639fi
     1640eval ac_res=\$$3
     1641               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1642$as_echo "$ac_res" >&6; }
     1643  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1644
     1645} # ac_fn_c_check_header_compile
     1646
     1647# ac_fn_c_try_cpp LINENO
     1648# ----------------------
     1649# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1650ac_fn_c_try_cpp ()
     1651{
     1652  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1653  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1654case "(($ac_try" in
     1655  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1656  *) ac_try_echo=$ac_try;;
     1657esac
     1658eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1659$as_echo "$ac_try_echo"; } >&5
     1660  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1661  ac_status=$?
     1662  if test -s conftest.err; then
     1663    grep -v '^ *+' conftest.err >conftest.er1
     1664    cat conftest.er1 >&5
     1665    mv -f conftest.er1 conftest.err
     1666  fi
     1667  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1668  test $ac_status = 0; } > conftest.i && {
     1669         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1670         test ! -s conftest.err
     1671       }; then :
     1672  ac_retval=0
     1673else
     1674  $as_echo "$as_me: failed program was:" >&5
     1675sed 's/^/| /' conftest.$ac_ext >&5
     1676
     1677    ac_retval=1
     1678fi
     1679  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1680  as_fn_set_status $ac_retval
     1681
     1682} # ac_fn_c_try_cpp
     1683
     1684# ac_fn_c_try_run LINENO
     1685# ----------------------
     1686# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1687# that executables *can* be run.
     1688ac_fn_c_try_run ()
     1689{
     1690  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1691  if { { ac_try="$ac_link"
     1692case "(($ac_try" in
     1693  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1694  *) ac_try_echo=$ac_try;;
     1695esac
     1696eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1697$as_echo "$ac_try_echo"; } >&5
     1698  (eval "$ac_link") 2>&5
     1699  ac_status=$?
     1700  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1701  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1702  { { case "(($ac_try" in
     1703  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1704  *) ac_try_echo=$ac_try;;
     1705esac
     1706eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1707$as_echo "$ac_try_echo"; } >&5
     1708  (eval "$ac_try") 2>&5
     1709  ac_status=$?
     1710  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1711  test $ac_status = 0; }; }; then :
     1712  ac_retval=0
     1713else
     1714  $as_echo "$as_me: program exited with status $ac_status" >&5
     1715       $as_echo "$as_me: failed program was:" >&5
     1716sed 's/^/| /' conftest.$ac_ext >&5
     1717
     1718       ac_retval=$ac_status
     1719fi
     1720  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1721  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1722  as_fn_set_status $ac_retval
     1723
     1724} # ac_fn_c_try_run
     1725
     1726# ac_fn_c_check_func LINENO FUNC VAR
     1727# ----------------------------------
     1728# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1729ac_fn_c_check_func ()
     1730{
     1731  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1732  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1733$as_echo_n "checking for $2... " >&6; }
     1734if eval \${$3+:} false; then :
     1735  $as_echo_n "(cached) " >&6
     1736else
     1737  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1738/* end confdefs.h.  */
     1739/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1740   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1741#define $2 innocuous_$2
     1742
     1743/* System header to define __stub macros and hopefully few prototypes,
     1744    which can conflict with char $2 (); below.
     1745    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1746    <limits.h> exists even on freestanding compilers.  */
     1747
     1748#ifdef __STDC__
     1749# include <limits.h>
     1750#else
     1751# include <assert.h>
     1752#endif
     1753
     1754#undef $2
     1755
     1756/* Override any GCC internal prototype to avoid an error.
     1757   Use char because int might match the return type of a GCC
     1758   builtin and then its argument prototype would still apply.  */
     1759#ifdef __cplusplus
     1760extern "C"
     1761#endif
     1762char $2 ();
     1763/* The GNU C library defines this for functions which it implements
     1764    to always fail with ENOSYS.  Some functions are actually named
     1765    something starting with __ and the normal name is an alias.  */
     1766#if defined __stub_$2 || defined __stub___$2
     1767choke me
     1768#endif
     1769
     1770int
     1771main ()
     1772{
     1773return $2 ();
     1774  ;
     1775  return 0;
     1776}
     1777_ACEOF
     1778if ac_fn_c_try_link "$LINENO"; then :
     1779  eval "$3=yes"
     1780else
     1781  eval "$3=no"
     1782fi
     1783rm -f core conftest.err conftest.$ac_objext \
     1784    conftest$ac_exeext conftest.$ac_ext
     1785fi
     1786eval ac_res=\$$3
     1787               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1788$as_echo "$ac_res" >&6; }
     1789  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1790
     1791} # ac_fn_c_check_func
     1792
     1793# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1794# -------------------------------------------------------
     1795# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1796# the include files in INCLUDES and setting the cache variable VAR
     1797# accordingly.
     1798ac_fn_c_check_header_mongrel ()
     1799{
     1800  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1801  if eval \${$3+:} false; then :
     1802  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1803$as_echo_n "checking for $2... " >&6; }
     1804if eval \${$3+:} false; then :
     1805  $as_echo_n "(cached) " >&6
     1806fi
     1807eval ac_res=\$$3
     1808               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1809$as_echo "$ac_res" >&6; }
     1810else
     1811  # Is the header compilable?
     1812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1813$as_echo_n "checking $2 usability... " >&6; }
     1814cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1815/* end confdefs.h.  */
     1816$4
     1817#include <$2>
     1818_ACEOF
     1819if ac_fn_c_try_compile "$LINENO"; then :
     1820  ac_header_compiler=yes
     1821else
     1822  ac_header_compiler=no
     1823fi
     1824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1826$as_echo "$ac_header_compiler" >&6; }
     1827
     1828# Is the header present?
     1829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1830$as_echo_n "checking $2 presence... " >&6; }
     1831cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1832/* end confdefs.h.  */
     1833#include <$2>
     1834_ACEOF
     1835if ac_fn_c_try_cpp "$LINENO"; then :
     1836  ac_header_preproc=yes
     1837else
     1838  ac_header_preproc=no
     1839fi
     1840rm -f conftest.err conftest.i conftest.$ac_ext
     1841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1842$as_echo "$ac_header_preproc" >&6; }
     1843
     1844# So?  What about this header?
     1845case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1846  yes:no: )
     1847    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1848$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1849    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1850$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1851    ;;
     1852  no:yes:* )
     1853    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1854$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1855    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1856$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1857    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1858$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1859    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1860$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1861    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1862$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1863( $as_echo "## --------------------------------------------------------------- ##
     1864## Report this to http://projects.coin-or.org/BuildTools/newticket ##
     1865## --------------------------------------------------------------- ##"
     1866     ) | sed "s/^/$as_me: WARNING:     /" >&2
     1867    ;;
     1868esac
     1869  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1870$as_echo_n "checking for $2... " >&6; }
     1871if eval \${$3+:} false; then :
     1872  $as_echo_n "(cached) " >&6
     1873else
     1874  eval "$3=\$ac_header_compiler"
     1875fi
     1876eval ac_res=\$$3
     1877               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1878$as_echo "$ac_res" >&6; }
     1879fi
     1880  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1881
     1882} # ac_fn_c_check_header_mongrel
     1883cat >config.log <<_ACEOF
    12311884This file contains any messages produced by compilers while
    12321885running configure, to aid debugging if configure makes a mistake.
    12331886
    12341887It was created by ThirdPartyGlpk $as_me trunk, which was
    1235 generated by GNU Autoconf 2.59.  Invocation command line was
     1888generated by GNU Autoconf 2.69.  Invocation command line was
    12361889
    12371890  $ $0 $@
    12381891
    12391892_ACEOF
     1893exec 5>>config.log
    12401894{
    12411895cat <<_ASUNAME
     
    12561910/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    12571911/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1258 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1912/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    12591913/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    12601914/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    12681922  IFS=$as_save_IFS
    12691923  test -z "$as_dir" && as_dir=.
    1270   echo "PATH: $as_dir"
    1271 done
     1924    $as_echo "PATH: $as_dir"
     1925  done
     1926IFS=$as_save_IFS
    12721927
    12731928} >&5
     
    12911946ac_configure_args0=
    12921947ac_configure_args1=
    1293 ac_sep=
    12941948ac_must_keep_next=false
    12951949for ac_pass in 1 2
     
    13021956    | -silent | --silent | --silen | --sile | --sil)
    13031957      continue ;;
    1304     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1305       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1958    *\'*)
     1959      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    13061960    esac
    13071961    case $ac_pass in
    1308     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     1962    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    13091963    2)
    1310       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     1964      as_fn_append ac_configure_args1 " '$ac_arg'"
    13111965      if test $ac_must_keep_next = true; then
    13121966        ac_must_keep_next=false # Got value, back to normal.
     
    13241978        esac
    13251979      fi
    1326       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1327       # Get rid of the leading space.
    1328       ac_sep=" "
     1980      as_fn_append ac_configure_args " '$ac_arg'"
    13291981      ;;
    13301982    esac
    13311983  done
    13321984done
    1333 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1334 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     1985{ ac_configure_args0=; unset ac_configure_args0;}
     1986{ ac_configure_args1=; unset ac_configure_args1;}
    13351987
    13361988# When interrupted or exit'd, cleanup temporary files, and complete
    13371989# config.log.  We remove comments because anyway the quotes in there
    13381990# would cause problems or look ugly.
    1339 # WARNING: Be sure not to use single quotes in there, as some shells,
    1340 # such as our DU 5.0 friend, will then `close' the trap.
     1991# WARNING: Use '\'' to represent an apostrophe within the trap.
     1992# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    13411993trap 'exit_status=$?
    13421994  # Save into config.log some information that might help in debugging.
     
    13441996    echo
    13451997
    1346     cat <<\_ASBOX
    1347 ## ---------------- ##
     1998    $as_echo "## ---------------- ##
    13481999## Cache variables. ##
    1349 ## ---------------- ##
    1350 _ASBOX
     2000## ---------------- ##"
    13512001    echo
    13522002    # The following way of writing the cache mishandles newlines in values,
    1353 {
     2003(
     2004  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     2005    eval ac_val=\$$ac_var
     2006    case $ac_val in #(
     2007    *${as_nl}*)
     2008      case $ac_var in #(
     2009      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     2010$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     2011      esac
     2012      case $ac_var in #(
     2013      _ | IFS | as_nl) ;; #(
     2014      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     2015      *) { eval $ac_var=; unset $ac_var;} ;;
     2016      esac ;;
     2017    esac
     2018  done
    13542019  (set) 2>&1 |
    1355     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1356     *ac_space=\ *)
     2020    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     2021    *${as_nl}ac_space=\ *)
    13572022      sed -n \
    1358         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1359           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     2023        "s/'\''/'\''\\\\'\'''\''/g;
     2024          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     2025      ;; #(
     2026    *)
     2027      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    13602028      ;;
    1361     *)
    1362       sed -n \
    1363         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1364       ;;
    1365     esac;
    1366 }
     2029    esac |
     2030    sort
     2031)
    13672032    echo
    13682033
    1369     cat <<\_ASBOX
    1370 ## ----------------- ##
     2034    $as_echo "## ----------------- ##
    13712035## Output variables. ##
    1372 ## ----------------- ##
    1373 _ASBOX
     2036## ----------------- ##"
    13742037    echo
    13752038    for ac_var in $ac_subst_vars
    13762039    do
    1377       eval ac_val=$`echo $ac_var`
    1378       echo "$ac_var='"'"'$ac_val'"'"'"
     2040      eval ac_val=\$$ac_var
     2041      case $ac_val in
     2042      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     2043      esac
     2044      $as_echo "$ac_var='\''$ac_val'\''"
    13792045    done | sort
    13802046    echo
    13812047
    13822048    if test -n "$ac_subst_files"; then
    1383       cat <<\_ASBOX
    1384 ## ------------- ##
    1385 ## Output files. ##
    1386 ## ------------- ##
    1387 _ASBOX
     2049      $as_echo "## ------------------- ##
     2050## File substitutions. ##
     2051## ------------------- ##"
    13882052      echo
    13892053      for ac_var in $ac_subst_files
    13902054      do
    1391         eval ac_val=$`echo $ac_var`
    1392         echo "$ac_var='"'"'$ac_val'"'"'"
     2055        eval ac_val=\$$ac_var
     2056        case $ac_val in
     2057        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     2058        esac
     2059        $as_echo "$ac_var='\''$ac_val'\''"
    13932060      done | sort
    13942061      echo
     
    13962063
    13972064    if test -s confdefs.h; then
    1398       cat <<\_ASBOX
    1399 ## ----------- ##
     2065      $as_echo "## ----------- ##
    14002066## confdefs.h. ##
    1401 ## ----------- ##
    1402 _ASBOX
     2067## ----------- ##"
    14032068      echo
    1404       sed "/^$/d" confdefs.h | sort
     2069      cat confdefs.h
    14052070      echo
    14062071    fi
    14072072    test "$ac_signal" != 0 &&
    1408       echo "$as_me: caught signal $ac_signal"
    1409     echo "$as_me: exit $exit_status"
     2073      $as_echo "$as_me: caught signal $ac_signal"
     2074    $as_echo "$as_me: exit $exit_status"
    14102075  } >&5
    1411   rm -f core *.core &&
    1412   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     2076  rm -f core *.core core.conftest.* &&
     2077    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    14132078    exit $exit_status
    1414      ' 0
     2079' 0
    14152080for ac_signal in 1 2 13 15; do
    1416   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2081  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    14172082done
    14182083ac_signal=0
    14192084
    14202085# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1421 rm -rf conftest* confdefs.h
    1422 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1423 echo >confdefs.h
     2086rm -f -r conftest* confdefs.h
     2087
     2088$as_echo "/* confdefs.h */" > confdefs.h
    14242089
    14252090# Predefined preprocessor variables.
     
    14292094_ACEOF
    14302095
    1431 
    14322096cat >>confdefs.h <<_ACEOF
    14332097#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    14342098_ACEOF
    14352099
    1436 
    14372100cat >>confdefs.h <<_ACEOF
    14382101#define PACKAGE_VERSION "$PACKAGE_VERSION"
    14392102_ACEOF
    14402103
    1441 
    14422104cat >>confdefs.h <<_ACEOF
    14432105#define PACKAGE_STRING "$PACKAGE_STRING"
    14442106_ACEOF
    14452107
    1446 
    14472108cat >>confdefs.h <<_ACEOF
    14482109#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    14492110_ACEOF
    14502111
     2112cat >>confdefs.h <<_ACEOF
     2113#define PACKAGE_URL "$PACKAGE_URL"
     2114_ACEOF
     2115
    14512116
    14522117# Let the site file select an alternate cache file if it wants to.
    1453 # Prefer explicitly selected file to automatically selected ones.
    1454 if test -z "$CONFIG_SITE"; then
    1455   if test "x$prefix" != xNONE; then
    1456     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1457   else
    1458     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1459   fi
    1460 fi
    1461 for ac_site_file in $CONFIG_SITE; do
    1462   if test -r "$ac_site_file"; then
    1463     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1464 echo "$as_me: loading site script $ac_site_file" >&6;}
     2118# Prefer an explicitly selected file to automatically selected ones.
     2119ac_site_file1=NONE
     2120ac_site_file2=NONE
     2121if test -n "$CONFIG_SITE"; then
     2122  # We do not want a PATH search for config.site.
     2123  case $CONFIG_SITE in #((
     2124    -*)  ac_site_file1=./$CONFIG_SITE;;
     2125    */*) ac_site_file1=$CONFIG_SITE;;
     2126    *)   ac_site_file1=./$CONFIG_SITE;;
     2127  esac
     2128elif test "x$prefix" != xNONE; then
     2129  ac_site_file1=$prefix/share/config.site
     2130  ac_site_file2=$prefix/etc/config.site
     2131else
     2132  ac_site_file1=$ac_default_prefix/share/config.site
     2133  ac_site_file2=$ac_default_prefix/etc/config.site
     2134fi
     2135for ac_site_file in "$ac_site_file1" "$ac_site_file2"
     2136do
     2137  test "x$ac_site_file" = xNONE && continue
     2138  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2139    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     2140$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    14652141    sed 's/^/| /' "$ac_site_file" >&5
    1466     . "$ac_site_file"
     2142    . "$ac_site_file" \
     2143      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2144$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2145as_fn_error $? "failed to load site script $ac_site_file
     2146See \`config.log' for more details" "$LINENO" 5; }
    14672147  fi
    14682148done
    14692149
    14702150if test -r "$cache_file"; then
    1471   # Some versions of bash will fail to source /dev/null (special
    1472   # files actually), so we avoid doing that.
    1473   if test -f "$cache_file"; then
    1474     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1475 echo "$as_me: loading cache $cache_file" >&6;}
     2151  # Some versions of bash will fail to source /dev/null (special files
     2152  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2153  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2154    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     2155$as_echo "$as_me: loading cache $cache_file" >&6;}
    14762156    case $cache_file in
    1477       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1478       *)                      . ./$cache_file;;
     2157      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     2158      *)                      . "./$cache_file";;
    14792159    esac
    14802160  fi
    14812161else
    1482   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1483 echo "$as_me: creating cache $cache_file" >&6;}
     2162  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     2163$as_echo "$as_me: creating cache $cache_file" >&6;}
    14842164  >$cache_file
    14852165fi
     
    14882168# value.
    14892169ac_cache_corrupted=false
    1490 for ac_var in `(set) 2>&1 |
    1491                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     2170for ac_var in $ac_precious_vars; do
    14922171  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    14932172  eval ac_new_set=\$ac_env_${ac_var}_set
    1494   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1495   eval ac_new_val="\$ac_env_${ac_var}_value"
     2173  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     2174  eval ac_new_val=\$ac_env_${ac_var}_value
    14962175  case $ac_old_set,$ac_new_set in
    14972176    set,)
    1498       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1499 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     2177      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2178$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    15002179      ac_cache_corrupted=: ;;
    15012180    ,set)
    1502       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1503 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     2181      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     2182$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    15042183      ac_cache_corrupted=: ;;
    15052184    ,);;
    15062185    *)
    15072186      if test "x$ac_old_val" != "x$ac_new_val"; then
    1508         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1509 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1510         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1511 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1512         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1513 echo "$as_me:   current value: $ac_new_val" >&2;}
    1514         ac_cache_corrupted=:
     2187        # differences in whitespace do not lead to failure.
     2188        ac_old_val_w=`echo x $ac_old_val`
     2189        ac_new_val_w=`echo x $ac_new_val`
     2190        if test "$ac_old_val_w" != "$ac_new_val_w"; then
     2191          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     2192$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     2193          ac_cache_corrupted=:
     2194        else
     2195          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2196$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     2197          eval $ac_var=\$ac_old_val
     2198        fi
     2199        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     2200$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     2201        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     2202$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    15152203      fi;;
    15162204  esac
     
    15182206  if test "$ac_new_set" = set; then
    15192207    case $ac_new_val in
    1520     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1521       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     2208    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    15222209    *) ac_arg=$ac_var=$ac_new_val ;;
    15232210    esac
    15242211    case " $ac_configure_args " in
    15252212      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1526       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2213      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    15272214    esac
    15282215  fi
    15292216done
    15302217if $ac_cache_corrupted; then
    1531   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1532 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1533   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1534 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1535    { (exit 1); exit 1; }; }
    1536 fi
     2218  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2219$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2220  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     2221$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     2222  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2223fi
     2224## -------------------- ##
     2225## Main body of script. ##
     2226## -------------------- ##
    15372227
    15382228ac_ext=c
     
    15462236
    15472237
    1548 
    1549 
    1550 
    1551 
    1552 
    1553 
    1554 
    1555 
    1556 
    1557 
    1558 
    1559 
    1560 
    1561 
    1562 
    1563 
    1564 
    1565 
    1566 
    1567 
    1568 
    1569 
    1570 
    1571 
    1572 
    15732238# List one file in the package so that the configure script can test
    15742239# whether the package is actually there
     
    15822247
    15832248
    1584 # As backup, we make sure we don't loose an FLIBS if it has been set
    1585 # by the user
    1586 save_FLIBS="$FLIBS"
    1587 
    1588 # A useful makefile conditional that is always false
    1589 
    1590 
    1591 if false; then
    1592   ALWAYS_FALSE_TRUE=
    1593   ALWAYS_FALSE_FALSE='#'
    1594 else
    1595   ALWAYS_FALSE_TRUE='#'
    1596   ALWAYS_FALSE_FALSE=
    1597 fi
    1598 
    1599 
    1600 # We set the following variable so that we know later in AC_COIN_FINALIZE
    1601 # that we are in a project main directory
    1602 coin_projectdir=yes
     2249# figure out whether there is a base directory up from here
     2250coin_base_directory=
     2251if test -e ../coin_subdirs.txt ; then
     2252  coin_base_directory=`cd ..; pwd`
     2253elif test -e ../../coin_subdirs.txt ; then
     2254  coin_base_directory=`cd ../..; pwd`
     2255fi
     2256
     2257if test "x$coin_base_directory" != x ; then
     2258  COIN_DESTDIR=$coin_base_directory/coinstash
     2259fi
     2260
    16032261
    16042262# Set the project's version numbers
     
    16412299  # Extract the first word of "svnversion", so it can be a program name with args.
    16422300set dummy svnversion; ac_word=$2
    1643 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1645 if test "${ac_cv_prog_have_svnversion+set}" = set; then
    1646   echo $ECHO_N "(cached) $ECHO_C" >&6
     2301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2302$as_echo_n "checking for $ac_word... " >&6; }
     2303if ${ac_cv_prog_have_svnversion+:} false; then :
     2304  $as_echo_n "(cached) " >&6
    16472305else
    16482306  if test -n "$have_svnversion"; then
     
    16542312  IFS=$as_save_IFS
    16552313  test -z "$as_dir" && as_dir=.
    1656   for ac_exec_ext in '' $ac_executable_extensions; do
    1657   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2314    for ac_exec_ext in '' $ac_executable_extensions; do
     2315  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    16582316    ac_cv_prog_have_svnversion="yes"
    1659     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2317    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    16602318    break 2
    16612319  fi
    16622320done
    1663 done
     2321  done
     2322IFS=$as_save_IFS
    16642323
    16652324  test -z "$ac_cv_prog_have_svnversion" && ac_cv_prog_have_svnversion="no"
     
    16682327have_svnversion=$ac_cv_prog_have_svnversion
    16692328if test -n "$have_svnversion"; then
    1670   echo "$as_me:$LINENO: result: $have_svnversion" >&5
    1671 echo "${ECHO_T}$have_svnversion" >&6
    1672 else
    1673   echo "$as_me:$LINENO: result: no" >&5
    1674 echo "${ECHO_T}no" >&6
    1675 fi
     2329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_svnversion" >&5
     2330$as_echo "$have_svnversion" >&6; }
     2331else
     2332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2333$as_echo "no" >&6; }
     2334fi
     2335
    16762336
    16772337  if test "x$have_svnversion" = xyes; then
     
    17012361# Get the system type
    17022362ac_aux_dir=
    1703 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    1704   if test -f $ac_dir/install-sh; then
     2363for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     2364  if test -f "$ac_dir/install-sh"; then
    17052365    ac_aux_dir=$ac_dir
    17062366    ac_install_sh="$ac_aux_dir/install-sh -c"
    17072367    break
    1708   elif test -f $ac_dir/install.sh; then
     2368  elif test -f "$ac_dir/install.sh"; then
    17092369    ac_aux_dir=$ac_dir
    17102370    ac_install_sh="$ac_aux_dir/install.sh -c"
    17112371    break
    1712   elif test -f $ac_dir/shtool; then
     2372  elif test -f "$ac_dir/shtool"; then
    17132373    ac_aux_dir=$ac_dir
    17142374    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    17172377done
    17182378if test -z "$ac_aux_dir"; then
    1719   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    1720 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    1721    { (exit 1); exit 1; }; }
    1722 fi
    1723 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    1724 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    1725 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     2379  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
     2380fi
     2381
     2382# These three variables are undocumented and unsupported,
     2383# and are intended to be withdrawn in a future Autoconf release.
     2384# They can cause serious problems if a builder's source tree is in a directory
     2385# whose full name contains unusual characters.
     2386ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     2387ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     2388ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     2389
    17262390
    17272391# Make sure we can run config.sub.
    1728 $ac_config_sub sun4 >/dev/null 2>&1 ||
    1729   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    1730 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
    1731    { (exit 1); exit 1; }; }
    1732 
    1733 echo "$as_me:$LINENO: checking build system type" >&5
    1734 echo $ECHO_N "checking build system type... $ECHO_C" >&6
    1735 if test "${ac_cv_build+set}" = set; then
    1736   echo $ECHO_N "(cached) $ECHO_C" >&6
    1737 else
    1738   ac_cv_build_alias=$build_alias
    1739 test -z "$ac_cv_build_alias" &&
    1740   ac_cv_build_alias=`$ac_config_guess`
    1741 test -z "$ac_cv_build_alias" &&
    1742   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    1743 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    1744    { (exit 1); exit 1; }; }
    1745 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    1746   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    1747 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
    1748    { (exit 1); exit 1; }; }
    1749 
    1750 fi
    1751 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    1752 echo "${ECHO_T}$ac_cv_build" >&6
     2392$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     2393  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     2394
     2395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
     2396$as_echo_n "checking build system type... " >&6; }
     2397if ${ac_cv_build+:} false; then :
     2398  $as_echo_n "(cached) " >&6
     2399else
     2400  ac_build_alias=$build_alias
     2401test "x$ac_build_alias" = x &&
     2402  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     2403test "x$ac_build_alias" = x &&
     2404  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
     2405ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     2406  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     2407
     2408fi
     2409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
     2410$as_echo "$ac_cv_build" >&6; }
     2411case $ac_cv_build in
     2412*-*-*) ;;
     2413*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
     2414esac
    17532415build=$ac_cv_build
    1754 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1755 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1756 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     2416ac_save_IFS=$IFS; IFS='-'
     2417set x $ac_cv_build
     2418shift
     2419build_cpu=$1
     2420build_vendor=$2
     2421shift; shift
     2422# Remember, the first character of IFS is used to create $*,
     2423# except with old shells:
     2424build_os=$*
     2425IFS=$ac_save_IFS
     2426case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
    17572427
    17582428
     
    17602430#turn off warnings and pedantic mode since it seem to make trouble on solaris platform
    17612431#and we couldn't fix it anyway
    1762 coin_skip_warn_cflags=yes
     2432#coin_skip_warn_cflags=yes
    17632433
    17642434# Check if user wants to produce debugging code
    1765 
    1766 echo "$as_me:$LINENO: checking whether we want to compile in debug mode" >&5
    1767 echo $ECHO_N "checking whether we want to compile in debug mode... $ECHO_C" >&6
    1768 
    1769 # Check whether --enable-debug or --disable-debug was given.
    1770 if test "${enable_debug+set}" = set; then
    1771   enableval="$enable_debug"
    1772   case "${enableval}" in
    1773    yes) coin_debug_compile=true
    1774         if test "${enable_shared+set}" = set; then :; else
    1775           enable_shared=no
    1776         fi
    1777         ;;
    1778    no)  coin_debug_compile=false
    1779         ;;
    1780    *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
    1781 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
    1782    { (exit 1); exit 1; }; }
    1783         ;;
    1784 esac
    1785 else
    1786   coin_debug_compile=false
    1787 fi;
    1788 
    1789 # Check whether --enable-debug-glpk or --disable-debug-glpk was given.
    1790 if test "${enable_debug_glpk+set}" = set; then
    1791   enableval="$enable_debug_glpk"
    1792   case "${enableval}" in
    1793     yes) coin_debug_compile=true
    1794          ;;
    1795     no)  coin_debug_compile=false
    1796          ;;
    1797     *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug-glpk" >&5
    1798 echo "$as_me: error: bad value ${enableval} for --enable-debug-glpk" >&2;}
    1799    { (exit 1); exit 1; }; }
    1800          ;;
    1801  esac
    1802 else
    1803   :
    1804 fi;
    1805 
    1806  # m4_ifvaln([Glpk],
    1807 
    1808 if test $coin_debug_compile = true; then
    1809   echo "$as_me:$LINENO: result: yes" >&5
    1810 echo "${ECHO_T}yes" >&6
    1811 else
    1812   echo "$as_me:$LINENO: result: no" >&5
    1813 echo "${ECHO_T}no" >&6
    1814 fi
    1815 
    1816 
    1817 # Check whether --with-glpk-verbosity or --without-glpk-verbosity was given.
    1818 if test "${with_glpk_verbosity+set}" = set; then
    1819   withval="$with_glpk_verbosity"
    1820   if test "$withval" = yes; then
    1821                 withval=1
    1822               fi
    1823               coin_glpk_verbosity=$withval
    1824 else
    1825   coin_glpk_verbosity=0
    1826 fi;
    1827 
    1828 cat >>confdefs.h <<_ACEOF
    1829 #define COIN_GLPK_VERBOSITY $coin_glpk_verbosity
    1830 _ACEOF
    1831 
    1832 
    1833 
    1834 # Check whether --with-glpk-checklevel or --without-glpk-checklevel was given.
    1835 if test "${with_glpk_checklevel+set}" = set; then
    1836   withval="$with_glpk_checklevel"
    1837   if test "$withval" = yes; then
    1838                 withval=1
    1839               fi
    1840               coin_glpk_checklevel=$withval
    1841 else
    1842   coin_glpk_checklevel=0
    1843 fi;
    1844 
    1845 cat >>confdefs.h <<_ACEOF
    1846 #define COIN_GLPK_CHECKLEVEL $coin_glpk_checklevel
    1847 _ACEOF
    1848 
    1849 
    1850  # m4_ifvaln([Glpk],
    1851 
    1852 
     2435#AC_COIN_DEBUG_COMPILE(Glpk)
    18532436
    18542437# Get the name of the C compiler
    1855 
    1856 
    1857   # for backward compatibility
    1858   # Check whether --enable-doscompile or --disable-doscompile was given.
    1859 if test "${enable_doscompile+set}" = set; then
    1860   enableval="$enable_doscompile"
    1861   enable_doscompile=$enableval
    1862 else
    1863   enable_doscompile=no
    1864 fi;
    1865 
    1866   # Check whether --enable-msvc or --disable-msvc was given.
    1867 if test "${enable_msvc+set}" = set; then
    1868   enableval="$enable_msvc"
    1869   enable_msvc=$enableval
    1870 else
    1871   enable_msvc=no
    1872      if test "$enable_doscompile" = msvc ; then
    1873        enable_msvc=yes
    1874      elif test "$enable_doscompile" != no ; then
    1875        { { echo "$as_me:$LINENO: error: --enable-doscompile=$enable_doscompile not supported anymore." >&5
    1876 echo "$as_me: error: --enable-doscompile=$enable_doscompile not supported anymore." >&2;}
    1877    { (exit 1); exit 1; }; }
    1878      fi
    1879 
    1880 fi;
    1881 
    1882   if test "$enable_msvc" = MD; then
    1883     enable_shared=yes
    1884     enable_msvc=yes
    1885   fi
    1886 
    1887   if test "$enable_msvc" = yes; then
    1888     case $build in
    1889       *-cygwin* | *-mingw*) ;;
    1890       *) { { echo "$as_me:$LINENO: error: --enable-msvc option makes sense only under Cygwin or MinGW" >&5
    1891 echo "$as_me: error: --enable-msvc option makes sense only under Cygwin or MinGW" >&2;}
    1892    { (exit 1); exit 1; }; } ;;
    1893     esac
    1894   fi
    1895 
    1896 
    1897  case $build in
    1898   *-mingw*)
    1899     if test "${LD+set}" = set; then :; else
    1900       LD=link
    1901     fi
    1902     ;;
    1903  esac
    1904  if test $enable_msvc = yes ; then
    1905    if test "x${LD+set}" = xset; then :; else
    1906      LD=link
    1907    fi
    1908  fi
    1909 
    1910 
    1911 
    1912 
     2438#AC_COIN_PROG_CC
    19132439ac_ext=c
    19142440ac_cpp='$CPP $CPPFLAGS'
     
    19162442ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    19172443ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1918 
    1919 
    1920 # For consistency, we set the C compiler to the same value of the C++
    1921 # compiler, if the C++ is set, but the C compiler isn't (only for CXX=cl)
    1922 if test x"$CXX" != x; then
    1923   case "$CXX" in
    1924     clang* ) ;;
    1925     cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    1926       if test x"$CC" = x; then
    1927         CC="$CXX"
    1928         { echo "$as_me:$LINENO: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&5
    1929 echo "$as_me: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&2;}
    1930       fi
    1931       ;;
    1932   esac
    1933 fi
    1934 
    1935 
    1936 
    1937 
    1938 
    1939 
    1940 coin_has_cc=yes
    1941 
    1942 save_cflags="$CFLAGS"
    1943 
    1944 # For *-*-solaris*, promote Studio/Workshop cc compiler to front of list.
    1945 # Depending on the user's PATH, when Studio/Workshop cc is not present we may
    1946 # find /usr/ucb/cc, which is almost certainly not a good choice for the C
    1947 # compiler. In this case, put cc after gcc.
    1948 
    1949 case $build in
    1950   *-cygwin* | *-mingw*)
    1951              if test "$enable_msvc" = yes ; then
    1952                comps="icl cl gcc"
    1953              else
    1954                comps="gcc icl cl"
    1955              fi ;;
    1956   *-*-solaris*)
    1957              # Extract the first word of "cc", so it can be a program name with args.
     2444if test -n "$ac_tool_prefix"; then
     2445  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     2446set dummy ${ac_tool_prefix}gcc; ac_word=$2
     2447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2448$as_echo_n "checking for $ac_word... " >&6; }
     2449if ${ac_cv_prog_CC+:} false; then :
     2450  $as_echo_n "(cached) " >&6
     2451else
     2452  if test -n "$CC"; then
     2453  ac_cv_prog_CC="$CC" # Let the user override the test.
     2454else
     2455as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2456for as_dir in $PATH
     2457do
     2458  IFS=$as_save_IFS
     2459  test -z "$as_dir" && as_dir=.
     2460    for ac_exec_ext in '' $ac_executable_extensions; do
     2461  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2462    ac_cv_prog_CC="${ac_tool_prefix}gcc"
     2463    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2464    break 2
     2465  fi
     2466done
     2467  done
     2468IFS=$as_save_IFS
     2469
     2470fi
     2471fi
     2472CC=$ac_cv_prog_CC
     2473if test -n "$CC"; then
     2474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2475$as_echo "$CC" >&6; }
     2476else
     2477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2478$as_echo "no" >&6; }
     2479fi
     2480
     2481
     2482fi
     2483if test -z "$ac_cv_prog_CC"; then
     2484  ac_ct_CC=$CC
     2485  # Extract the first word of "gcc", so it can be a program name with args.
     2486set dummy gcc; ac_word=$2
     2487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2488$as_echo_n "checking for $ac_word... " >&6; }
     2489if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2490  $as_echo_n "(cached) " >&6
     2491else
     2492  if test -n "$ac_ct_CC"; then
     2493  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     2494else
     2495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2496for as_dir in $PATH
     2497do
     2498  IFS=$as_save_IFS
     2499  test -z "$as_dir" && as_dir=.
     2500    for ac_exec_ext in '' $ac_executable_extensions; do
     2501  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2502    ac_cv_prog_ac_ct_CC="gcc"
     2503    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2504    break 2
     2505  fi
     2506done
     2507  done
     2508IFS=$as_save_IFS
     2509
     2510fi
     2511fi
     2512ac_ct_CC=$ac_cv_prog_ac_ct_CC
     2513if test -n "$ac_ct_CC"; then
     2514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2515$as_echo "$ac_ct_CC" >&6; }
     2516else
     2517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2518$as_echo "no" >&6; }
     2519fi
     2520
     2521  if test "x$ac_ct_CC" = x; then
     2522    CC=""
     2523  else
     2524    case $cross_compiling:$ac_tool_warned in
     2525yes:)
     2526{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2527$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2528ac_tool_warned=yes ;;
     2529esac
     2530    CC=$ac_ct_CC
     2531  fi
     2532else
     2533  CC="$ac_cv_prog_CC"
     2534fi
     2535
     2536if test -z "$CC"; then
     2537          if test -n "$ac_tool_prefix"; then
     2538    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     2539set dummy ${ac_tool_prefix}cc; ac_word=$2
     2540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2541$as_echo_n "checking for $ac_word... " >&6; }
     2542if ${ac_cv_prog_CC+:} false; then :
     2543  $as_echo_n "(cached) " >&6
     2544else
     2545  if test -n "$CC"; then
     2546  ac_cv_prog_CC="$CC" # Let the user override the test.
     2547else
     2548as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2549for as_dir in $PATH
     2550do
     2551  IFS=$as_save_IFS
     2552  test -z "$as_dir" && as_dir=.
     2553    for ac_exec_ext in '' $ac_executable_extensions; do
     2554  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2555    ac_cv_prog_CC="${ac_tool_prefix}cc"
     2556    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2557    break 2
     2558  fi
     2559done
     2560  done
     2561IFS=$as_save_IFS
     2562
     2563fi
     2564fi
     2565CC=$ac_cv_prog_CC
     2566if test -n "$CC"; then
     2567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2568$as_echo "$CC" >&6; }
     2569else
     2570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2571$as_echo "no" >&6; }
     2572fi
     2573
     2574
     2575  fi
     2576fi
     2577if test -z "$CC"; then
     2578  # Extract the first word of "cc", so it can be a program name with args.
    19582579set dummy cc; ac_word=$2
    1959 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1961 if test "${ac_cv_prog_sol_cc_compiler+set}" = set; then
    1962   echo $ECHO_N "(cached) $ECHO_C" >&6
    1963 else
    1964   if test -n "$sol_cc_compiler"; then
    1965   ac_cv_prog_sol_cc_compiler="$sol_cc_compiler" # Let the user override the test.
     2580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2581$as_echo_n "checking for $ac_word... " >&6; }
     2582if ${ac_cv_prog_CC+:} false; then :
     2583  $as_echo_n "(cached) " >&6
     2584else
     2585  if test -n "$CC"; then
     2586  ac_cv_prog_CC="$CC" # Let the user override the test.
    19662587else
    19672588  ac_prog_rejected=no
     
    19712592  IFS=$as_save_IFS
    19722593  test -z "$as_dir" && as_dir=.
    1973   for ac_exec_ext in '' $ac_executable_extensions; do
    1974   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2594    for ac_exec_ext in '' $ac_executable_extensions; do
     2595  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19752596    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    19762597       ac_prog_rejected=yes
    19772598       continue
    19782599     fi
    1979     ac_cv_prog_sol_cc_compiler="cc"
    1980     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2600    ac_cv_prog_CC="cc"
     2601    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19812602    break 2
    19822603  fi
    19832604done
    1984 done
     2605  done
     2606IFS=$as_save_IFS
    19852607
    19862608if test $ac_prog_rejected = yes; then
    19872609  # We found a bogon in the path, so make sure we never use it.
    1988   set dummy $ac_cv_prog_sol_cc_compiler
     2610  set dummy $ac_cv_prog_CC
    19892611  shift
    19902612  if test $# != 0; then
    19912613    # We chose a different compiler from the bogus one.
    19922614    # However, it has the same basename, so the bogon will be chosen
    1993     # first if we set sol_cc_compiler to just the basename; use the full file name.
     2615    # first if we set CC to just the basename; use the full file name.
    19942616    shift
    1995     ac_cv_prog_sol_cc_compiler="$as_dir/$ac_word${1+' '}$@"
     2617    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    19962618  fi
    19972619fi
    19982620fi
    19992621fi
    2000 sol_cc_compiler=$ac_cv_prog_sol_cc_compiler
    2001 if test -n "$sol_cc_compiler"; then
    2002   echo "$as_me:$LINENO: result: $sol_cc_compiler" >&5
    2003 echo "${ECHO_T}$sol_cc_compiler" >&6
    2004 else
    2005   echo "$as_me:$LINENO: result: no" >&5
    2006 echo "${ECHO_T}no" >&6
    2007 fi
    2008 
    2009              if test "$sol_cc_compiler" = "cc" ; then
    2010                comps="cc xlc gcc pgcc icc"
    2011              else
    2012                comps="xlc gcc pgcc icc cc"
    2013              fi
    2014              ;;
    2015   *-linux-gnu*) comps="gcc cc pgcc icc xlc" ;;
    2016   *-linux-*) comps="xlc gcc cc pgcc icc" ;;
    2017   *)         comps="xlc_r xlc cc gcc pgcc icc" ;;
    2018 esac
    2019 
    2020 # We delete the cached value, since the test might not have been
    2021 # performed with our choice of compilers earlier
    2022 $as_unset ac_cv_prog_CC || test "${ac_cv_prog_CC+set}" != set || { ac_cv_prog_CC=; export ac_cv_prog_CC; }
    2023 # AC_MSG_NOTICE([C compiler candidates: $comps])
    2024 ac_ext=c
    2025 ac_cpp='$CPP $CPPFLAGS'
    2026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2029 if test -n "$ac_tool_prefix"; then
    2030   for ac_prog in $comps
     2622CC=$ac_cv_prog_CC
     2623if test -n "$CC"; then
     2624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2625$as_echo "$CC" >&6; }
     2626else
     2627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2628$as_echo "no" >&6; }
     2629fi
     2630
     2631
     2632fi
     2633if test -z "$CC"; then
     2634  if test -n "$ac_tool_prefix"; then
     2635  for ac_prog in cl.exe
    20312636  do
    20322637    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    20332638set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2034 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2036 if test "${ac_cv_prog_CC+set}" = set; then
    2037   echo $ECHO_N "(cached) $ECHO_C" >&6
     2639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2640$as_echo_n "checking for $ac_word... " >&6; }
     2641if ${ac_cv_prog_CC+:} false; then :
     2642  $as_echo_n "(cached) " >&6
    20382643else
    20392644  if test -n "$CC"; then
     
    20452650  IFS=$as_save_IFS
    20462651  test -z "$as_dir" && as_dir=.
    2047   for ac_exec_ext in '' $ac_executable_extensions; do
    2048   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2652    for ac_exec_ext in '' $ac_executable_extensions; do
     2653  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20492654    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2050     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2655    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20512656    break 2
    20522657  fi
    20532658done
    2054 done
     2659  done
     2660IFS=$as_save_IFS
    20552661
    20562662fi
     
    20582664CC=$ac_cv_prog_CC
    20592665if test -n "$CC"; then
    2060   echo "$as_me:$LINENO: result: $CC" >&5
    2061 echo "${ECHO_T}$CC" >&6
    2062 else
    2063   echo "$as_me:$LINENO: result: no" >&5
    2064 echo "${ECHO_T}no" >&6
    2065 fi
     2666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2667$as_echo "$CC" >&6; }
     2668else
     2669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2670$as_echo "no" >&6; }
     2671fi
     2672
    20662673
    20672674    test -n "$CC" && break
     
    20702677if test -z "$CC"; then
    20712678  ac_ct_CC=$CC
    2072   for ac_prog in $comps
     2679  for ac_prog in cl.exe
    20732680do
    20742681  # Extract the first word of "$ac_prog", so it can be a program name with args.
    20752682set dummy $ac_prog; ac_word=$2
    2076 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2078 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2079   echo $ECHO_N "(cached) $ECHO_C" >&6
     2683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2684$as_echo_n "checking for $ac_word... " >&6; }
     2685if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2686  $as_echo_n "(cached) " >&6
    20802687else
    20812688  if test -n "$ac_ct_CC"; then
     
    20872694  IFS=$as_save_IFS
    20882695  test -z "$as_dir" && as_dir=.
    2089   for ac_exec_ext in '' $ac_executable_extensions; do
    2090   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2696    for ac_exec_ext in '' $ac_executable_extensions; do
     2697  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20912698    ac_cv_prog_ac_ct_CC="$ac_prog"
    2092     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2699    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20932700    break 2
    20942701  fi
    20952702done
    2096 done
     2703  done
     2704IFS=$as_save_IFS
    20972705
    20982706fi
     
    21002708ac_ct_CC=$ac_cv_prog_ac_ct_CC
    21012709if test -n "$ac_ct_CC"; then
    2102   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2103 echo "${ECHO_T}$ac_ct_CC" >&6
    2104 else
    2105   echo "$as_me:$LINENO: result: no" >&5
    2106 echo "${ECHO_T}no" >&6
    2107 fi
     2710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2711$as_echo "$ac_ct_CC" >&6; }
     2712else
     2713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2714$as_echo "no" >&6; }
     2715fi
     2716
    21082717
    21092718  test -n "$ac_ct_CC" && break
    21102719done
    21112720
    2112   CC=$ac_ct_CC
    2113 fi
    2114 
    2115 
    2116 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2117 See \`config.log' for more details." >&5
    2118 echo "$as_me: error: no acceptable C compiler found in \$PATH
    2119 See \`config.log' for more details." >&2;}
    2120    { (exit 1); exit 1; }; }
     2721  if test "x$ac_ct_CC" = x; then
     2722    CC=""
     2723  else
     2724    case $cross_compiling:$ac_tool_warned in
     2725yes:)
     2726{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2727$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2728ac_tool_warned=yes ;;
     2729esac
     2730    CC=$ac_ct_CC
     2731  fi
     2732fi
     2733
     2734fi
     2735
     2736
     2737test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2738$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2739as_fn_error $? "no acceptable C compiler found in \$PATH
     2740See \`config.log' for more details" "$LINENO" 5; }
    21212741
    21222742# Provide some information about the compiler.
    2123 echo "$as_me:$LINENO:" \
    2124      "checking for C compiler version" >&5
    2125 ac_compiler=`set X $ac_compile; echo $2`
    2126 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2127   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2743$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     2744set X $ac_compile
     2745ac_compiler=$2
     2746for ac_option in --version -v -V -qversion; do
     2747  { { ac_try="$ac_compiler $ac_option >&5"
     2748case "(($ac_try" in
     2749  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2750  *) ac_try_echo=$ac_try;;
     2751esac
     2752eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2753$as_echo "$ac_try_echo"; } >&5
     2754  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    21282755  ac_status=$?
    2129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2130   (exit $ac_status); }
    2131 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2132   (eval $ac_compiler -v </dev/null >&5) 2>&5
    2133   ac_status=$?
    2134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2135   (exit $ac_status); }
    2136 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2137   (eval $ac_compiler -V </dev/null >&5) 2>&5
    2138   ac_status=$?
    2139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2140   (exit $ac_status); }
    2141 
    2142 cat >conftest.$ac_ext <<_ACEOF
    2143 /* confdefs.h.  */
    2144 _ACEOF
    2145 cat confdefs.h >>conftest.$ac_ext
    2146 cat >>conftest.$ac_ext <<_ACEOF
     2756  if test -s conftest.err; then
     2757    sed '10a\
     2758... rest of stderr output deleted ...
     2759         10q' conftest.err >conftest.er1
     2760    cat conftest.er1 >&5
     2761  fi
     2762  rm -f conftest.er1 conftest.err
     2763  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2764  test $ac_status = 0; }
     2765done
     2766
     2767cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    21472768/* end confdefs.h.  */
    21482769
     
    21562777_ACEOF
    21572778ac_clean_files_save=$ac_clean_files
    2158 ac_clean_files="$ac_clean_files a.out a.exe b.out"
     2779ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
    21592780# Try to create an executable without -o first, disregard a.out.
    21602781# It will help us diagnose broken compilers, and finding out an intuition
    21612782# of exeext.
    2162 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2163 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    2164 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2165 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    2166   (eval $ac_link_default) 2>&5
     2783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     2784$as_echo_n "checking whether the C compiler works... " >&6; }
     2785ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     2786
     2787# The possible output files:
     2788ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     2789
     2790ac_rmfiles=
     2791for ac_file in $ac_files
     2792do
     2793  case $ac_file in
     2794    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2795    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2796  esac
     2797done
     2798rm -f $ac_rmfiles
     2799
     2800if { { ac_try="$ac_link_default"
     2801case "(($ac_try" in
     2802  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2803  *) ac_try_echo=$ac_try;;
     2804esac
     2805eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2806$as_echo "$ac_try_echo"; } >&5
     2807  (eval "$ac_link_default") 2>&5
    21672808  ac_status=$?
    2168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2169   (exit $ac_status); }; then
    2170   # Find the output, starting from the most likely.  This scheme is
    2171 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    2172 # resort.
    2173 
    2174 # Be careful to initialize this variable, since it used to be cached.
    2175 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    2176 ac_cv_exeext=
    2177 # b.out is created by i960 compilers.
    2178 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2809  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2810  test $ac_status = 0; }; then :
     2811  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2812# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2813# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2814# so that the user can short-circuit this test for compilers unknown to
     2815# Autoconf.
     2816for ac_file in $ac_files ''
    21792817do
    21802818  test -f "$ac_file" || continue
    21812819  case $ac_file in
    2182     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    2183         ;;
    2184     conftest.$ac_ext )
    2185         # This is the source file.
     2820    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    21862821        ;;
    21872822    [ab].out )
     
    21902825        break;;
    21912826    *.* )
    2192         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2193         # FIXME: I believe we export ac_cv_exeext for Libtool,
    2194         # but it would be cool to find out if it's true.  Does anybody
    2195         # maintain Libtool? --akim.
    2196         export ac_cv_exeext
     2827        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2828        then :; else
     2829           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2830        fi
     2831        # We set ac_cv_exeext here because the later test for it is not
     2832        # safe: cross compilers may not add the suffix if given an `-o'
     2833        # argument, so we may need to know it at that point already.
     2834        # Even if this section looks crufty: it has the advantage of
     2835        # actually working.
    21972836        break;;
    21982837    * )
     
    22002839  esac
    22012840done
    2202 else
    2203   echo "$as_me: failed program was:" >&5
     2841test "$ac_cv_exeext" = no && ac_cv_exeext=
     2842
     2843else
     2844  ac_file=''
     2845fi
     2846if test -z "$ac_file"; then :
     2847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2848$as_echo "no" >&6; }
     2849$as_echo "$as_me: failed program was:" >&5
    22042850sed 's/^/| /' conftest.$ac_ext >&5
    22052851
    2206 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    2207 See \`config.log' for more details." >&5
    2208 echo "$as_me: error: C compiler cannot create executables
    2209 See \`config.log' for more details." >&2;}
    2210    { (exit 77); exit 77; }; }
    2211 fi
    2212 
     2852{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2853$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2854as_fn_error 77 "C compiler cannot create executables
     2855See \`config.log' for more details" "$LINENO" 5; }
     2856else
     2857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2858$as_echo "yes" >&6; }
     2859fi
     2860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     2861$as_echo_n "checking for C compiler default output file name... " >&6; }
     2862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
     2863$as_echo "$ac_file" >&6; }
    22132864ac_exeext=$ac_cv_exeext
    2214 echo "$as_me:$LINENO: result: $ac_file" >&5
    2215 echo "${ECHO_T}$ac_file" >&6
    2216 
    2217 # Check the compiler produces executables we can run.  If not, either
    2218 # the compiler is broken, or we cross compile.
    2219 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2220 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    2221 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2222 # If not cross compiling, check that we can run a simple program.
    2223 if test "$cross_compiling" != yes; then
    2224   if { ac_try='./$ac_file'
    2225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2226   (eval $ac_try) 2>&5
     2865
     2866rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     2867ac_clean_files=$ac_clean_files_save
     2868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     2869$as_echo_n "checking for suffix of executables... " >&6; }
     2870if { { ac_try="$ac_link"
     2871case "(($ac_try" in
     2872  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2873  *) ac_try_echo=$ac_try;;
     2874esac
     2875eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2876$as_echo "$ac_try_echo"; } >&5
     2877  (eval "$ac_link") 2>&5
    22272878  ac_status=$?
    2228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2229   (exit $ac_status); }; }; then
    2230     cross_compiling=no
    2231   else
    2232     if test "$cross_compiling" = maybe; then
    2233         cross_compiling=yes
    2234     else
    2235         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2236 If you meant to cross compile, use \`--host'.
    2237 See \`config.log' for more details." >&5
    2238 echo "$as_me: error: cannot run C compiled programs.
    2239 If you meant to cross compile, use \`--host'.
    2240 See \`config.log' for more details." >&2;}
    2241    { (exit 1); exit 1; }; }
    2242     fi
    2243   fi
    2244 fi
    2245 echo "$as_me:$LINENO: result: yes" >&5
    2246 echo "${ECHO_T}yes" >&6
    2247 
    2248 rm -f a.out a.exe conftest$ac_cv_exeext b.out
    2249 ac_clean_files=$ac_clean_files_save
    2250 # Check the compiler produces executables we can run.  If not, either
    2251 # the compiler is broken, or we cross compile.
    2252 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2253 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    2254 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2255 echo "${ECHO_T}$cross_compiling" >&6
    2256 
    2257 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2258 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    2259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2260   (eval $ac_link) 2>&5
    2261   ac_status=$?
    2262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2263   (exit $ac_status); }; then
     2879  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2880  test $ac_status = 0; }; then :
    22642881  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    22652882# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    22692886  test -f "$ac_file" || continue
    22702887  case $ac_file in
    2271     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2888    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    22722889    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2273           export ac_cv_exeext
    22742890          break;;
    22752891    * ) break;;
     
    22772893done
    22782894else
    2279   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2280 See \`config.log' for more details." >&5
    2281 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2282 See \`config.log' for more details." >&2;}
    2283    { (exit 1); exit 1; }; }
    2284 fi
    2285 
    2286 rm -f conftest$ac_cv_exeext
    2287 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2288 echo "${ECHO_T}$ac_cv_exeext" >&6
     2895  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2896$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2897as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     2898See \`config.log' for more details" "$LINENO" 5; }
     2899fi
     2900rm -f conftest conftest$ac_cv_exeext
     2901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     2902$as_echo "$ac_cv_exeext" >&6; }
    22892903
    22902904rm -f conftest.$ac_ext
    22912905EXEEXT=$ac_cv_exeext
    22922906ac_exeext=$EXEEXT
    2293 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2294 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    2295 if test "${ac_cv_objext+set}" = set; then
    2296   echo $ECHO_N "(cached) $ECHO_C" >&6
    2297 else
    2298   cat >conftest.$ac_ext <<_ACEOF
    2299 /* confdefs.h.  */
     2907cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2908/* end confdefs.h.  */
     2909#include <stdio.h>
     2910int
     2911main ()
     2912{
     2913FILE *f = fopen ("conftest.out", "w");
     2914 return ferror (f) || fclose (f) != 0;
     2915
     2916  ;
     2917  return 0;
     2918}
    23002919_ACEOF
    2301 cat confdefs.h >>conftest.$ac_ext
    2302 cat >>conftest.$ac_ext <<_ACEOF
     2920ac_clean_files="$ac_clean_files conftest.out"
     2921# Check that the compiler produces executables we can run.  If not, either
     2922# the compiler is broken, or we cross compile.
     2923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     2924$as_echo_n "checking whether we are cross compiling... " >&6; }
     2925if test "$cross_compiling" != yes; then
     2926  { { ac_try="$ac_link"
     2927case "(($ac_try" in
     2928  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2929  *) ac_try_echo=$ac_try;;
     2930esac
     2931eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2932$as_echo "$ac_try_echo"; } >&5
     2933  (eval "$ac_link") 2>&5
     2934  ac_status=$?
     2935  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2936  test $ac_status = 0; }
     2937  if { ac_try='./conftest$ac_cv_exeext'
     2938  { { case "(($ac_try" in
     2939  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2940  *) ac_try_echo=$ac_try;;
     2941esac
     2942eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2943$as_echo "$ac_try_echo"; } >&5
     2944  (eval "$ac_try") 2>&5
     2945  ac_status=$?
     2946  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2947  test $ac_status = 0; }; }; then
     2948    cross_compiling=no
     2949  else
     2950    if test "$cross_compiling" = maybe; then
     2951        cross_compiling=yes
     2952    else
     2953        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2954$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2955as_fn_error $? "cannot run C compiled programs.
     2956If you meant to cross compile, use \`--host'.
     2957See \`config.log' for more details" "$LINENO" 5; }
     2958    fi
     2959  fi
     2960fi
     2961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     2962$as_echo "$cross_compiling" >&6; }
     2963
     2964rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     2965ac_clean_files=$ac_clean_files_save
     2966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     2967$as_echo_n "checking for suffix of object files... " >&6; }
     2968if ${ac_cv_objext+:} false; then :
     2969  $as_echo_n "(cached) " >&6
     2970else
     2971  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    23032972/* end confdefs.h.  */
    23042973
     
    23122981_ACEOF
    23132982rm -f conftest.o conftest.obj
    2314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2315   (eval $ac_compile) 2>&5
     2983if { { ac_try="$ac_compile"
     2984case "(($ac_try" in
     2985  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2986  *) ac_try_echo=$ac_try;;
     2987esac
     2988eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2989$as_echo "$ac_try_echo"; } >&5
     2990  (eval "$ac_compile") 2>&5
    23162991  ac_status=$?
    2317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2318   (exit $ac_status); }; then
    2319   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2992  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2993  test $ac_status = 0; }; then :
     2994  for ac_file in conftest.o conftest.obj conftest.*; do
     2995  test -f "$ac_file" || continue;
    23202996  case $ac_file in
    2321     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2997    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    23222998    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    23232999       break;;
     
    23253001done
    23263002else
    2327   echo "$as_me: failed program was:" >&5
     3003  $as_echo "$as_me: failed program was:" >&5
    23283004sed 's/^/| /' conftest.$ac_ext >&5
    23293005
    2330 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2331 See \`config.log' for more details." >&5
    2332 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2333 See \`config.log' for more details." >&2;}
    2334    { (exit 1); exit 1; }; }
    2335 fi
    2336 
     3006{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3007$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3008as_fn_error $? "cannot compute suffix of object files: cannot compile
     3009See \`config.log' for more details" "$LINENO" 5; }
     3010fi
    23373011rm -f conftest.$ac_cv_objext conftest.$ac_ext
    23383012fi
    2339 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2340 echo "${ECHO_T}$ac_cv_objext" >&6
     3013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     3014$as_echo "$ac_cv_objext" >&6; }
    23413015OBJEXT=$ac_cv_objext
    23423016ac_objext=$OBJEXT
    2343 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2344 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    2345 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2346   echo $ECHO_N "(cached) $ECHO_C" >&6
    2347 else
    2348   cat >conftest.$ac_ext <<_ACEOF
    2349 /* confdefs.h.  */
    2350 _ACEOF
    2351 cat confdefs.h >>conftest.$ac_ext
    2352 cat >>conftest.$ac_ext <<_ACEOF
     3017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     3018$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     3019if ${ac_cv_c_compiler_gnu+:} false; then :
     3020  $as_echo_n "(cached) " >&6
     3021else
     3022  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    23533023/* end confdefs.h.  */
    23543024
     
    23643034}
    23653035_ACEOF
    2366 rm -f conftest.$ac_objext
    2367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2368   (eval $ac_compile) 2>conftest.er1
    2369   ac_status=$?
    2370   grep -v '^ *+' conftest.er1 >conftest.err
    2371   rm -f conftest.er1
    2372   cat conftest.err >&5
    2373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2374   (exit $ac_status); } &&
    2375          { ac_try='test -z "$ac_c_werror_flag"
    2376                          || test ! -s conftest.err'
    2377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2378   (eval $ac_try) 2>&5
    2379   ac_status=$?
    2380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2381   (exit $ac_status); }; } &&
    2382          { ac_try='test -s conftest.$ac_objext'
    2383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2384   (eval $ac_try) 2>&5
    2385   ac_status=$?
    2386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2387   (exit $ac_status); }; }; then
     3036if ac_fn_c_try_compile "$LINENO"; then :
    23883037  ac_compiler_gnu=yes
    23893038else
    2390   echo "$as_me: failed program was:" >&5
    2391 sed 's/^/| /' conftest.$ac_ext >&5
    2392 
    2393 ac_compiler_gnu=no
    2394 fi
    2395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3039  ac_compiler_gnu=no
     3040fi
     3041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    23963042ac_cv_c_compiler_gnu=$ac_compiler_gnu
    23973043
    23983044fi
    2399 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2400 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    2401 GCC=`test $ac_compiler_gnu = yes && echo yes`
     3045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     3046$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     3047if test $ac_compiler_gnu = yes; then
     3048  GCC=yes
     3049else
     3050  GCC=
     3051fi
    24023052ac_test_CFLAGS=${CFLAGS+set}
    24033053ac_save_CFLAGS=$CFLAGS
    2404 CFLAGS="-g"
    2405 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2406 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    2407 if test "${ac_cv_prog_cc_g+set}" = set; then
    2408   echo $ECHO_N "(cached) $ECHO_C" >&6
    2409 else
    2410   cat >conftest.$ac_ext <<_ACEOF
    2411 /* confdefs.h.  */
    2412 _ACEOF
    2413 cat confdefs.h >>conftest.$ac_ext
    2414 cat >>conftest.$ac_ext <<_ACEOF
     3054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     3055$as_echo_n "checking whether $CC accepts -g... " >&6; }
     3056if ${ac_cv_prog_cc_g+:} false; then :
     3057  $as_echo_n "(cached) " >&6
     3058else
     3059  ac_save_c_werror_flag=$ac_c_werror_flag
     3060   ac_c_werror_flag=yes
     3061   ac_cv_prog_cc_g=no
     3062   CFLAGS="-g"
     3063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    24153064/* end confdefs.h.  */
    24163065
     
    24233072}
    24243073_ACEOF
    2425 rm -f conftest.$ac_objext
    2426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2427   (eval $ac_compile) 2>conftest.er1
    2428   ac_status=$?
    2429   grep -v '^ *+' conftest.er1 >conftest.err
    2430   rm -f conftest.er1
    2431   cat conftest.err >&5
    2432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2433   (exit $ac_status); } &&
    2434          { ac_try='test -z "$ac_c_werror_flag"
    2435                          || test ! -s conftest.err'
    2436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2437   (eval $ac_try) 2>&5
    2438   ac_status=$?
    2439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2440   (exit $ac_status); }; } &&
    2441          { ac_try='test -s conftest.$ac_objext'
    2442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2443   (eval $ac_try) 2>&5
    2444   ac_status=$?
    2445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2446   (exit $ac_status); }; }; then
     3074if ac_fn_c_try_compile "$LINENO"; then :
    24473075  ac_cv_prog_cc_g=yes
    24483076else
    2449   echo "$as_me: failed program was:" >&5
    2450 sed 's/^/| /' conftest.$ac_ext >&5
    2451 
    2452 ac_cv_prog_cc_g=no
    2453 fi
    2454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2455 fi
    2456 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2457 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     3077  CFLAGS=""
     3078      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3079/* end confdefs.h.  */
     3080
     3081int
     3082main ()
     3083{
     3084
     3085  ;
     3086  return 0;
     3087}
     3088_ACEOF
     3089if ac_fn_c_try_compile "$LINENO"; then :
     3090
     3091else
     3092  ac_c_werror_flag=$ac_save_c_werror_flag
     3093         CFLAGS="-g"
     3094         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3095/* end confdefs.h.  */
     3096
     3097int
     3098main ()
     3099{
     3100
     3101  ;
     3102  return 0;
     3103}
     3104_ACEOF
     3105if ac_fn_c_try_compile "$LINENO"; then :
     3106  ac_cv_prog_cc_g=yes
     3107fi
     3108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3109fi
     3110rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3111fi
     3112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3113   ac_c_werror_flag=$ac_save_c_werror_flag
     3114fi
     3115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     3116$as_echo "$ac_cv_prog_cc_g" >&6; }
    24583117if test "$ac_test_CFLAGS" = set; then
    24593118  CFLAGS=$ac_save_CFLAGS
     
    24713130  fi
    24723131fi
    2473 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2474 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2475 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    2476   echo $ECHO_N "(cached) $ECHO_C" >&6
    2477 else
    2478   ac_cv_prog_cc_stdc=no
     3132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     3133$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     3134if ${ac_cv_prog_cc_c89+:} false; then :
     3135  $as_echo_n "(cached) " >&6
     3136else
     3137  ac_cv_prog_cc_c89=no
    24793138ac_save_CC=$CC
    2480 cat >conftest.$ac_ext <<_ACEOF
    2481 /* confdefs.h.  */
    2482 _ACEOF
    2483 cat confdefs.h >>conftest.$ac_ext
    2484 cat >>conftest.$ac_ext <<_ACEOF
     3139cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    24853140/* end confdefs.h.  */
    24863141#include <stdarg.h>
    24873142#include <stdio.h>
    2488 #include <sys/types.h>
    2489 #include <sys/stat.h>
     3143struct stat;
    24903144/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    24913145struct buf { int x; };
     
    25103164   function prototypes and stuff, but not '\xHH' hex character constants.
    25113165   These don't provoke an error unfortunately, instead are silently treated
    2512    as 'x'.  The following induces an error, until -std1 is added to get
     3166   as 'x'.  The following induces an error, until -std is added to get
    25133167   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    25143168   array size at least.  It's necessary to write '\x00'==0 to get something
    2515    that's true only with -std1.  */
     3169   that's true only with -std.  */
    25163170int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     3171
     3172/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     3173   inside strings and character constants.  */
     3174#define FOO(x) 'x'
     3175int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    25173176
    25183177int test (int i, double x);
     
    25303189}
    25313190_ACEOF
    2532 # Don't try gcc -ansi; that turns off useful extensions and
    2533 # breaks some systems' header files.
    2534 # AIX                   -qlanglvl=ansi
    2535 # Ultrix and OSF/1      -std1
    2536 # HP-UX 10.20 and later -Ae
    2537 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2538 # SVR4                  -Xc -D__EXTENSIONS__
    2539 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     3191for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     3192        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    25403193do
    25413194  CC="$ac_save_CC $ac_arg"
    2542   rm -f conftest.$ac_objext
    2543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2544   (eval $ac_compile) 2>conftest.er1
    2545   ac_status=$?
    2546   grep -v '^ *+' conftest.er1 >conftest.err
    2547   rm -f conftest.er1
    2548   cat conftest.err >&5
    2549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2550   (exit $ac_status); } &&
    2551          { ac_try='test -z "$ac_c_werror_flag"
    2552                          || test ! -s conftest.err'
    2553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2554   (eval $ac_try) 2>&5
    2555   ac_status=$?
    2556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2557   (exit $ac_status); }; } &&
    2558          { ac_try='test -s conftest.$ac_objext'
    2559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2560   (eval $ac_try) 2>&5
    2561   ac_status=$?
    2562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2563   (exit $ac_status); }; }; then
    2564   ac_cv_prog_cc_stdc=$ac_arg
    2565 break
    2566 else
    2567   echo "$as_me: failed program was:" >&5
    2568 sed 's/^/| /' conftest.$ac_ext >&5
    2569 
    2570 fi
    2571 rm -f conftest.err conftest.$ac_objext
     3195  if ac_fn_c_try_compile "$LINENO"; then :
     3196  ac_cv_prog_cc_c89=$ac_arg
     3197fi
     3198rm -f core conftest.err conftest.$ac_objext
     3199  test "x$ac_cv_prog_cc_c89" != "xno" && break
    25723200done
    2573 rm -f conftest.$ac_ext conftest.$ac_objext
     3201rm -f conftest.$ac_ext
    25743202CC=$ac_save_CC
    25753203
    25763204fi
    2577 
    2578 case "x$ac_cv_prog_cc_stdc" in
    2579   x|xno)
    2580     echo "$as_me:$LINENO: result: none needed" >&5
    2581 echo "${ECHO_T}none needed" >&6 ;;
     3205# AC_CACHE_VAL
     3206case "x$ac_cv_prog_cc_c89" in
     3207  x)
     3208    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     3209$as_echo "none needed" >&6; } ;;
     3210  xno)
     3211    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     3212$as_echo "unsupported" >&6; } ;;
    25823213  *)
    2583     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2584 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2585     CC="$CC $ac_cv_prog_cc_stdc" ;;
     3214    CC="$CC $ac_cv_prog_cc_c89"
     3215    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     3216$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    25863217esac
    2587 
    2588 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2589 # in C++ we need to declare it.  In case someone uses the same compiler
    2590 # for both compiling C and C++ we need to have the C++ compiler decide
    2591 # the declaration of exit, since it's the most demanding environment.
    2592 cat >conftest.$ac_ext <<_ACEOF
    2593 #ifndef __cplusplus
    2594   choke me
    2595 #endif
    2596 _ACEOF
    2597 rm -f conftest.$ac_objext
    2598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2599   (eval $ac_compile) 2>conftest.er1
    2600   ac_status=$?
    2601   grep -v '^ *+' conftest.er1 >conftest.err
    2602   rm -f conftest.er1
    2603   cat conftest.err >&5
    2604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2605   (exit $ac_status); } &&
    2606          { ac_try='test -z "$ac_c_werror_flag"
    2607                          || test ! -s conftest.err'
    2608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2609   (eval $ac_try) 2>&5
    2610   ac_status=$?
    2611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2612   (exit $ac_status); }; } &&
    2613          { ac_try='test -s conftest.$ac_objext'
    2614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2615   (eval $ac_try) 2>&5
    2616   ac_status=$?
    2617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2618   (exit $ac_status); }; }; then
    2619   for ac_declaration in \
    2620    '' \
    2621    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2622    'extern "C" void std::exit (int); using std::exit;' \
    2623    'extern "C" void exit (int) throw ();' \
    2624    'extern "C" void exit (int);' \
    2625    'void exit (int);'
    2626 do
    2627   cat >conftest.$ac_ext <<_ACEOF
    2628 /* confdefs.h.  */
    2629 _ACEOF
    2630 cat confdefs.h >>conftest.$ac_ext
    2631 cat >>conftest.$ac_ext <<_ACEOF
    2632 /* end confdefs.h.  */
    2633 $ac_declaration
    2634 #include <stdlib.h>
    2635 int
    2636 main ()
    2637 {
    2638 exit (42);
    2639   ;
    2640   return 0;
    2641 }
    2642 _ACEOF
    2643 rm -f conftest.$ac_objext
    2644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2645   (eval $ac_compile) 2>conftest.er1
    2646   ac_status=$?
    2647   grep -v '^ *+' conftest.er1 >conftest.err
    2648   rm -f conftest.er1
    2649   cat conftest.err >&5
    2650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2651   (exit $ac_status); } &&
    2652          { ac_try='test -z "$ac_c_werror_flag"
    2653                          || test ! -s conftest.err'
    2654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2655   (eval $ac_try) 2>&5
    2656   ac_status=$?
    2657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2658   (exit $ac_status); }; } &&
    2659          { ac_try='test -s conftest.$ac_objext'
    2660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2661   (eval $ac_try) 2>&5
    2662   ac_status=$?
    2663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2664   (exit $ac_status); }; }; then
    2665   :
    2666 else
    2667   echo "$as_me: failed program was:" >&5
    2668 sed 's/^/| /' conftest.$ac_ext >&5
    2669 
    2670 continue
    2671 fi
    2672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2673   cat >conftest.$ac_ext <<_ACEOF
    2674 /* confdefs.h.  */
    2675 _ACEOF
    2676 cat confdefs.h >>conftest.$ac_ext
    2677 cat >>conftest.$ac_ext <<_ACEOF
    2678 /* end confdefs.h.  */
    2679 $ac_declaration
    2680 int
    2681 main ()
    2682 {
    2683 exit (42);
    2684   ;
    2685   return 0;
    2686 }
    2687 _ACEOF
    2688 rm -f conftest.$ac_objext
    2689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2690   (eval $ac_compile) 2>conftest.er1
    2691   ac_status=$?
    2692   grep -v '^ *+' conftest.er1 >conftest.err
    2693   rm -f conftest.er1
    2694   cat conftest.err >&5
    2695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2696   (exit $ac_status); } &&
    2697          { ac_try='test -z "$ac_c_werror_flag"
    2698                          || test ! -s conftest.err'
    2699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2700   (eval $ac_try) 2>&5
    2701   ac_status=$?
    2702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2703   (exit $ac_status); }; } &&
    2704          { ac_try='test -s conftest.$ac_objext'
    2705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2706   (eval $ac_try) 2>&5
    2707   ac_status=$?
    2708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2709   (exit $ac_status); }; }; then
    2710   break
    2711 else
    2712   echo "$as_me: failed program was:" >&5
    2713 sed 's/^/| /' conftest.$ac_ext >&5
    2714 
    2715 fi
    2716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2717 done
    2718 rm -f conftest*
    2719 if test -n "$ac_declaration"; then
    2720   echo '#ifdef __cplusplus' >>confdefs.h
    2721   echo $ac_declaration      >>confdefs.h
    2722   echo '#endif'             >>confdefs.h
    2723 fi
    2724 
    2725 else
    2726   echo "$as_me: failed program was:" >&5
    2727 sed 's/^/| /' conftest.$ac_ext >&5
    2728 
    2729 fi
    2730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3218if test "x$ac_cv_prog_cc_c89" != xno; then :
     3219
     3220fi
     3221
    27313222ac_ext=c
    27323223ac_cpp='$CPP $CPPFLAGS'
     
    27353226ac_compiler_gnu=$ac_cv_c_compiler_gnu
    27363227
    2737 if test -z "$CC" ; then
    2738   { { echo "$as_me:$LINENO: error: Failed to find a C compiler!" >&5
    2739 echo "$as_me: error: Failed to find a C compiler!" >&2;}
    2740    { (exit 1); exit 1; }; }
    2741 fi
    2742 # Autoconf incorrectly concludes that cl recognises -g. It doesn't.
    2743 case "$CC" in
    2744   clang* ) ;;
    2745   cl* | */cl* | CL* | */CL* )
    2746     if test "$ac_cv_prog_cc_g" = yes ; then
    2747       ac_cv_prog_cc_g=no
    2748       { echo "$as_me:$LINENO: Overruling autoconf; cl does not recognise -g." >&5
    2749 echo "$as_me: Overruling autoconf; cl does not recognise -g." >&6;}
    2750     fi ;;
    2751   * )
    2752     if test x"$CYGPATH_W" = x ; then
    2753       CYGPATH_W=echo
    2754     fi
    2755     ;;
    2756 esac
    2757 CFLAGS="$save_cflags"
    2758 
    2759 # add automake conditional so we can recognize cl compiler in makefile
    2760 coin_cc_is_cl=false
    2761 case "$CC" in
    2762   clang* ) ;;
    2763   cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    2764     coin_cc_is_cl=true
    2765     ;;
    2766 esac
    2767 
    2768 
    2769 if test $coin_cc_is_cl = true; then
    2770   COIN_CC_IS_CL_TRUE=
    2771   COIN_CC_IS_CL_FALSE='#'
    2772 else
    2773   COIN_CC_IS_CL_TRUE='#'
    2774   COIN_CC_IS_CL_FALSE=
    2775 fi
    2776 
    2777 
    2778 # Check if a project specific CFLAGS variable has been set
    2779 if test x$COIN_PRJCT != x; then
    2780   eval coin_tmp=\${${COIN_PRJCT}_CFLAGS+set}
    2781   if test x$coin_tmp = xset; then
    2782     eval CFLAGS=\${${COIN_PRJCT}_CFLAGS}
    2783   fi
    2784 fi
    2785 
    2786 if test x"$CFLAGS" = x; then
    2787 
    2788   coin_add_cflags=
    2789   coin_opt_cflags=
    2790   coin_dbg_cflags=
    2791   coin_warn_cflags=
    2792 
    2793   if test "$GCC" = "yes"; then
    2794     case "$CC" in
    2795       icc* | */icc*)
    2796         ;;
    2797       *)
    2798         coin_opt_cflags="-O3"
    2799         coin_add_cflags="-pipe"
    2800         coin_dbg_cflags="-g -O0"
    2801         coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas -Wno-long-long"
    2802         case $build in
    2803           *-darwin*)
    2804             ;;
    2805           *)
    2806             coin_warn_cflags="-pedantic-errors $coin_warn_cflags"
    2807             ;;
    2808         esac
    2809     esac
    2810   fi
    2811   if test -z "$coin_opt_cflags"; then
    2812     case $build in
    2813       *-cygwin* | *-mingw*)
    2814         case "$CC" in
    2815           clang* ) ;;
    2816           cl* | */cl* | CL* | */CL*)
    2817             if test "$coin_disable_shared" = yes || test "$enable_shared" = yes ; then
    2818               coin_opt_cflags='-MD -O2'
    2819               coin_dbg_cflags='-MDd'
    2820             else
    2821               coin_opt_cflags='-MT -O2'
    2822               coin_dbg_cflags='-MTd'
    2823             fi
    2824             coin_add_cflags='-nologo -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
    2825             ;;
    2826           icl* | */icl* | ICL* | */ICL*)
    2827             if test "$coin_disable_shared" = yes || test "$enable_shared" = yes ; then
    2828               coin_opt_cflags='-MD -Ox'
    2829               coin_dbg_cflags='-MDd -debug'
    2830             else
    2831               coin_opt_cflags='-MT -Ox'
    2832               coin_dbg_cflags='-MTd -debug'
    2833             fi
    2834             coin_add_cflags='-nologo -D_CRT_SECURE_NO_DEPRECATE'
    2835             ;;
    2836         esac
    2837         ;;
    2838       *-linux-*)
    2839         case "$CC" in
    2840           icc* | */icc*)
    2841             coin_opt_cflags="-O3 -ip -mp1"
    2842             coin_add_cflags=""
    2843             coin_dbg_cflags="-g"
    2844             # Check if -i_dynamic is necessary (for new glibc library)
    2845             CFLAGS=
    2846             cat >conftest.$ac_ext <<_ACEOF
    2847 /* confdefs.h.  */
    2848 _ACEOF
    2849 cat confdefs.h >>conftest.$ac_ext
    2850 cat >>conftest.$ac_ext <<_ACEOF
    2851 /* end confdefs.h.  */
    2852 
    2853 int
    2854 main ()
    2855 {
    2856 int i=0; i++;
    2857   ;
    2858   return 0;
    2859 }
    2860 _ACEOF
    2861 rm -f conftest.$ac_objext conftest$ac_exeext
    2862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2863   (eval $ac_link) 2>conftest.er1
    2864   ac_status=$?
    2865   grep -v '^ *+' conftest.er1 >conftest.err
    2866   rm -f conftest.er1
    2867   cat conftest.err >&5
    2868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2869   (exit $ac_status); } &&
    2870          { ac_try='test -z "$ac_c_werror_flag"
    2871                          || test ! -s conftest.err'
    2872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2873   (eval $ac_try) 2>&5
    2874   ac_status=$?
    2875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2876   (exit $ac_status); }; } &&
    2877          { ac_try='test -s conftest$ac_exeext'
    2878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2879   (eval $ac_try) 2>&5
    2880   ac_status=$?
    2881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2882   (exit $ac_status); }; }; then
    2883   :
    2884 else
    2885   echo "$as_me: failed program was:" >&5
    2886 sed 's/^/| /' conftest.$ac_ext >&5
    2887 
    2888 coin_add_cflags="-i_dynamic $coin_add_cflags"
    2889 fi
    2890 rm -f conftest.err conftest.$ac_objext \
    2891       conftest$ac_exeext conftest.$ac_ext
    2892             ;;
    2893           pgcc* | */pgcc*)
    2894             coin_opt_cflags="-fast"
    2895             coin_add_cflags="-Kieee -pc 64"
    2896             coin_dbg_cflags="-g"
    2897             ;;
    2898         esac
    2899         ;;
    2900       *-ibm-*)
    2901         case "$CC" in
    2902           xlc* | */xlc* | mpxlc* | */mpxlc*)
    2903             coin_opt_cflags="-O -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1"
    2904             coin_add_cflags="-bmaxdata:0x80000000 -qsuppress=1500-036 -qsuppress=1500-029"
    2905             coin_dbg_cflags="-g"
    2906           ;;
    2907         esac
    2908         ;;
    2909       *-hp-*)
    2910         coin_opt_cflags="-O"
    2911         coin_add_cflags="-Ae"
    2912         coin_dbg_cflags="-g"
    2913         ;;
    2914       *-*-solaris*)
    2915         coin_opt_cflags="-xO4"
    2916         coin_dbg_cflags="-g"
    2917         ;;
    2918       *-sgi-*)
    2919         coin_opt_cflags="-O -OPT:Olimit=0"
    2920         coin_dbg_cflags="-g"
    2921         ;;
    2922     esac
    2923   fi
    2924 
    2925   if test "$ac_cv_prog_cc_g" = yes && test -z "$coin_dbg_cflags" ; then
    2926     coin_dbg_cflags="-g"
    2927   fi
    2928 
    2929   if test -z "$coin_opt_cflags"; then
    2930     # Try if -O option works if nothing else is set
    2931     CFLAGS="-O"
    2932     cat >conftest.$ac_ext <<_ACEOF
    2933 /* confdefs.h.  */
    2934 _ACEOF
    2935 cat confdefs.h >>conftest.$ac_ext
    2936 cat >>conftest.$ac_ext <<_ACEOF
    2937 /* end confdefs.h.  */
    2938 
    2939 int
    2940 main ()
    2941 {
    2942 int i=0; i++;
    2943   ;
    2944   return 0;
    2945 }
    2946 _ACEOF
    2947 rm -f conftest.$ac_objext conftest$ac_exeext
    2948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2949   (eval $ac_link) 2>conftest.er1
    2950   ac_status=$?
    2951   grep -v '^ *+' conftest.er1 >conftest.err
    2952   rm -f conftest.er1
    2953   cat conftest.err >&5
    2954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2955   (exit $ac_status); } &&
    2956          { ac_try='test -z "$ac_c_werror_flag"
    2957                          || test ! -s conftest.err'
    2958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2959   (eval $ac_try) 2>&5
    2960   ac_status=$?
    2961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2962   (exit $ac_status); }; } &&
    2963          { ac_try='test -s conftest$ac_exeext'
    2964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2965   (eval $ac_try) 2>&5
    2966   ac_status=$?
    2967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2968   (exit $ac_status); }; }; then
    2969   coin_opt_cflags="-O"
    2970 else
    2971   echo "$as_me: failed program was:" >&5
    2972 sed 's/^/| /' conftest.$ac_ext >&5
    2973 
    2974 fi
    2975 rm -f conftest.err conftest.$ac_objext \
    2976       conftest$ac_exeext conftest.$ac_ext
    2977   fi
    2978 
    2979   # if PM doesn't want the warning messages, take them out
    2980   if test x"$coin_skip_warn_cflags" = xyes; then
    2981     coin_warn_cflags=
    2982   fi
    2983 
    2984   if test x${DBG_CFLAGS+set} != xset; then
    2985     DBG_CFLAGS="$coin_dbg_cflags $coin_add_cflags $coin_warn_cflags"
    2986   fi
    2987   if test x${OPT_CFLAGS+set} != xset; then
    2988     OPT_CFLAGS="$coin_opt_cflags $coin_add_cflags -DNDEBUG $coin_warn_cflags"
    2989   fi
    2990 
    2991   DBG_CFLAGS="$DBG_CFLAGS $ADD_CFLAGS $CDEFS"
    2992   OPT_CFLAGS="$OPT_CFLAGS $ADD_CFLAGS $CDEFS"
    2993 
    2994   if test "$coin_debug_compile" = "true"; then
    2995     CFLAGS="$DBG_CFLAGS"
    2996   else
    2997     CFLAGS="$OPT_CFLAGS"
    2998   fi
    2999 else
    3000   CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS"
    3001   if test x${DBG_CFLAGS+set} != xset; then
    3002     DBG_CFLAGS="$CFLAGS"
    3003   fi
    3004   if test x${OPT_CFLAGS+set} != xset; then
    3005     OPT_CFLAGS="$CFLAGS"
    3006   fi
    3007 fi
    3008 
    3009 # add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include
    3010 if test x$COIN_PRJCT != x; then
    3011   CFLAGS="$CFLAGS -D${COIN_PRJCT}_BUILD"
    3012 fi
    3013 
    3014 # Try if CFLAGS works
    3015 save_CFLAGS="$CFLAGS"
    3016 cat >conftest.$ac_ext <<_ACEOF
    3017 /* confdefs.h.  */
    3018 _ACEOF
    3019 cat confdefs.h >>conftest.$ac_ext
    3020 cat >>conftest.$ac_ext <<_ACEOF
    3021 /* end confdefs.h.  */
    3022 
    3023 int
    3024 main ()
    3025 {
    3026 int i=0; i++;
    3027   ;
    3028   return 0;
    3029 }
    3030 _ACEOF
    3031 rm -f conftest.$ac_objext conftest$ac_exeext
    3032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3033   (eval $ac_link) 2>conftest.er1
    3034   ac_status=$?
    3035   grep -v '^ *+' conftest.er1 >conftest.err
    3036   rm -f conftest.er1
    3037   cat conftest.err >&5
    3038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3039   (exit $ac_status); } &&
    3040          { ac_try='test -z "$ac_c_werror_flag"
    3041                          || test ! -s conftest.err'
    3042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3043   (eval $ac_try) 2>&5
    3044   ac_status=$?
    3045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3046   (exit $ac_status); }; } &&
    3047          { ac_try='test -s conftest$ac_exeext'
    3048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3049   (eval $ac_try) 2>&5
    3050   ac_status=$?
    3051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3052   (exit $ac_status); }; }; then
    3053   :
    3054 else
    3055   echo "$as_me: failed program was:" >&5
    3056 sed 's/^/| /' conftest.$ac_ext >&5
    3057 
    3058 CFLAGS=
    3059 fi
    3060 rm -f conftest.err conftest.$ac_objext \
    3061       conftest$ac_exeext conftest.$ac_ext
    3062 if test -z "$CFLAGS"; then
    3063   { echo "$as_me:$LINENO: WARNING: The value CFLAGS=\"$save_CFLAGS\" do not work.  I will now just try '-O', but you might want to set CFLAGS manually." >&5
    3064 echo "$as_me: WARNING: The value CFLAGS=\"$save_CFLAGS\" do not work.  I will now just try '-O', but you might want to set CFLAGS manually." >&2;}
    3065   CFLAGS='-O'
    3066   cat >conftest.$ac_ext <<_ACEOF
    3067 /* confdefs.h.  */
    3068 _ACEOF
    3069 cat confdefs.h >>conftest.$ac_ext
    3070 cat >>conftest.$ac_ext <<_ACEOF
    3071 /* end confdefs.h.  */
    3072 
    3073 int
    3074 main ()
    3075 {
    3076 int i=0; i++;
    3077   ;
    3078   return 0;
    3079 }
    3080 _ACEOF
    3081 rm -f conftest.$ac_objext conftest$ac_exeext
    3082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3083   (eval $ac_link) 2>conftest.er1
    3084   ac_status=$?
    3085   grep -v '^ *+' conftest.er1 >conftest.err
    3086   rm -f conftest.er1
    3087   cat conftest.err >&5
    3088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3089   (exit $ac_status); } &&
    3090          { ac_try='test -z "$ac_c_werror_flag"
    3091                          || test ! -s conftest.err'
    3092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3093   (eval $ac_try) 2>&5
    3094   ac_status=$?
    3095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3096   (exit $ac_status); }; } &&
    3097          { ac_try='test -s conftest$ac_exeext'
    3098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3099   (eval $ac_try) 2>&5
    3100   ac_status=$?
    3101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3102   (exit $ac_status); }; }; then
    3103   :
    3104 else
    3105   echo "$as_me: failed program was:" >&5
    3106 sed 's/^/| /' conftest.$ac_ext >&5
    3107 
    3108 CFLAGS=
    3109 fi
    3110 rm -f conftest.err conftest.$ac_objext \
    3111       conftest$ac_exeext conftest.$ac_ext
    3112   if test -z "$CFLAGS"; then
    3113     { echo "$as_me:$LINENO: WARNING: This value for CFLAGS does not work.  I will continue with empty CFLAGS, but you might want to set CFLAGS manually." >&5
    3114 echo "$as_me: WARNING: This value for CFLAGS does not work.  I will continue with empty CFLAGS, but you might want to set CFLAGS manually." >&2;}
    3115   fi
    3116 fi
    3117 
    3118 { echo "$as_me:$LINENO: C compiler options are: $CFLAGS" >&5
    3119 echo "$as_me: C compiler options are: $CFLAGS" >&6;}
    3120 
    3121 
    3122 if test x"$MPICC" = x; then :; else
    3123   { echo "$as_me:$LINENO: Will use MPI C compiler $MPICC" >&5
    3124 echo "$as_me: Will use MPI C compiler $MPICC" >&6;}
    3125   CC="$MPICC"
    3126 fi
    3127 
    3128 # Correct the LD variable if we are using the MS or Intel-windows compiler
    3129 case "$CC" in
    3130   clang* ) ;;
    3131   cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    3132 
    3133  case $build in
    3134   *-mingw*)
    3135     if test "${LD+set}" = set; then :; else
    3136       LD=link
    3137     fi
    3138     ;;
    3139  esac
    3140  if test $enable_msvc = yes ; then
    3141    if test "x${LD+set}" = xset; then :; else
    3142      LD=link
    3143    fi
    3144  fi
    3145 
    3146     ;;
    3147 esac
     3228# expand $ac_aux_dir to an absolute path
     3229am_aux_dir=`cd $ac_aux_dir && pwd`
    31483230
    31493231ac_ext=c
     
    31523234ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    31533235ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
     3237$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
     3238if ${am_cv_prog_cc_c_o+:} false; then :
     3239  $as_echo_n "(cached) " >&6
     3240else
     3241  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3242/* end confdefs.h.  */
     3243
     3244int
     3245main ()
     3246{
     3247
     3248  ;
     3249  return 0;
     3250}
     3251_ACEOF
     3252  # Make sure it works both with $CC and with simple cc.
     3253  # Following AC_PROG_CC_C_O, we do the test twice because some
     3254  # compilers refuse to overwrite an existing .o file with -o,
     3255  # though they will create one.
     3256  am_cv_prog_cc_c_o=yes
     3257  for am_i in 1 2; do
     3258    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
     3259   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
     3260   ac_status=$?
     3261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3262   (exit $ac_status); } \
     3263         && test -f conftest2.$ac_objext; then
     3264      : OK
     3265    else
     3266      am_cv_prog_cc_c_o=no
     3267      break
     3268    fi
     3269  done
     3270  rm -f core conftest*
     3271  unset am_i
     3272fi
     3273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
     3274$as_echo "$am_cv_prog_cc_c_o" >&6; }
     3275if test "$am_cv_prog_cc_c_o" != yes; then
     3276   # Losing compiler, so override with the script.
     3277   # FIXME: It is wrong to rewrite CC.
     3278   # But if we don't then we get into trouble of one sort or another.
     3279   # A longer-term fix would be to have automake use am__CC in this case,
     3280   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     3281   CC="$am_aux_dir/compile $CC"
     3282fi
     3283ac_ext=c
     3284ac_cpp='$CPP $CPPFLAGS'
     3285ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3286ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3287ac_compiler_gnu=$ac_cv_c_compiler_gnu
    31543288
    31553289
    31563290
    31573291# Check if pkg-config is available (to setup addlibs file)
    3158 
    3159 
    3160 # Check whether --enable-pkg-config or --disable-pkg-config was given.
    3161 if test "${enable_pkg_config+set}" = set; then
    3162   enableval="$enable_pkg_config"
    3163   use_pkgconfig="$enableval"
    3164 else
    3165   if test x$coin_cc_is_cl = xtrue; then
    3166      use_pkgconfig=no
    3167    else
    3168      use_pkgconfig=yes
    3169    fi
    3170 fi;
    3171 
    3172 if test $use_pkgconfig = yes ; then
    3173   if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
    3174     if test -n "$ac_tool_prefix"; then
    3175   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
    3176 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
    3177 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3179 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
    3180   echo $ECHO_N "(cached) $ECHO_C" >&6
    3181 else
    3182   if test -n "$PKG_CONFIG"; then
    3183   ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
    3184 else
    3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3186 for as_dir in $PATH
    3187 do
    3188   IFS=$as_save_IFS
    3189   test -z "$as_dir" && as_dir=.
    3190   for ac_exec_ext in '' $ac_executable_extensions; do
    3191   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3192     ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
    3193     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3194     break 2
    3195   fi
    3196 done
    3197 done
    3198 
    3199 fi
    3200 fi
    3201 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
    3202 if test -n "$PKG_CONFIG"; then
    3203   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
    3204 echo "${ECHO_T}$PKG_CONFIG" >&6
    3205 else
    3206   echo "$as_me:$LINENO: result: no" >&5
    3207 echo "${ECHO_T}no" >&6
    3208 fi
    3209 
    3210 fi
    3211 if test -z "$ac_cv_prog_PKG_CONFIG"; then
    3212   ac_ct_PKG_CONFIG=$PKG_CONFIG
    3213   # Extract the first word of "pkg-config", so it can be a program name with args.
    3214 set dummy pkg-config; ac_word=$2
    3215 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3217 if test "${ac_cv_prog_ac_ct_PKG_CONFIG+set}" = set; then
    3218   echo $ECHO_N "(cached) $ECHO_C" >&6
    3219 else
    3220   if test -n "$ac_ct_PKG_CONFIG"; then
    3221   ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
    3222 else
    3223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3224 for as_dir in $PATH
    3225 do
    3226   IFS=$as_save_IFS
    3227   test -z "$as_dir" && as_dir=.
    3228   for ac_exec_ext in '' $ac_executable_extensions; do
    3229   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3230     ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
    3231     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3232     break 2
    3233   fi
    3234 done
    3235 done
    3236 
    3237 fi
    3238 fi
    3239 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
    3240 if test -n "$ac_ct_PKG_CONFIG"; then
    3241   echo "$as_me:$LINENO: result: $ac_ct_PKG_CONFIG" >&5
    3242 echo "${ECHO_T}$ac_ct_PKG_CONFIG" >&6
    3243 else
    3244   echo "$as_me:$LINENO: result: no" >&5
    3245 echo "${ECHO_T}no" >&6
    3246 fi
    3247 
    3248   PKG_CONFIG=$ac_ct_PKG_CONFIG
    3249 else
    3250   PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
    3251 fi
    3252 
    3253   fi
    3254   if test -n "$PKG_CONFIG"; then
    3255     _pkg_min_version=0.16.0
    3256     echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
    3257 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
    3258     if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
    3259       echo "$as_me:$LINENO: result: yes" >&5
    3260 echo "${ECHO_T}yes" >&6
    3261     else
    3262       echo "$as_me:$LINENO: result: no" >&5
    3263 echo "${ECHO_T}no" >&6
    3264       PKG_CONFIG=""
    3265     fi
    3266   fi
    3267 
    3268   # check if pkg-config supports the short-errors flag
    3269   if test -n "$PKG_CONFIG" && \
    3270     $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
    3271     pkg_short_errors=" --short-errors "
    3272   else
    3273     pkg_short_errors=""
    3274   fi
    3275 fi
    3276 
    3277 
    3278 
    3279 if test -n "$PKG_CONFIG"; then
    3280   COIN_HAS_PKGCONFIG_TRUE=
    3281   COIN_HAS_PKGCONFIG_FALSE='#'
    3282 else
    3283   COIN_HAS_PKGCONFIG_TRUE='#'
    3284   COIN_HAS_PKGCONFIG_FALSE=
    3285 fi
    3286 
    3287 
    3288 
    3289 # assemble pkg-config search path for installed projects
    3290 COIN_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    3291 
    3292 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there
    3293 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig,
    3294 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}...
    3295 if test "x${prefix}" = xNONE ; then
    3296   COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib64/pkgconfig:${ac_default_prefix}/lib/pkgconfig:${ac_default_prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    3297 else
    3298   COIN_PKG_CONFIG_PATH="${prefix}/lib64/pkgconfig:${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    3299 fi
    3300 
    3301 
    3302 # Check whether --with-coin-instdir or --without-coin-instdir was given.
    3303 if test "${with_coin_instdir+set}" = set; then
    3304   withval="$with_coin_instdir"
    3305   if test -d "$withval"; then : ; else
    3306      { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
    3307 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
    3308    { (exit 1); exit 1; }; }
    3309    fi
    3310    COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:$withval/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    3311 
    3312 fi;
    3313 
    3314 
    3315 
    3316 # assemble additional pkg-config search paths for uninstalled projects
    3317 if test x$coin_projectdir = xyes ; then
    3318   # if we are in a project setup, then in a classic setup, we want to find uninstalled projects
    3319   # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory
    3320   # unfortunately, if the user set prefix, then we do not know where the project base directory is located
    3321   # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data)
    3322   COIN_PKG_CONFIG_PATH_UNINSTALLED=
    3323   if test -f ../coin_subdirs.txt ; then
    3324     for i in `cat ../coin_subdirs.txt` ; do
    3325       if test -d ../$i ; then
    3326         COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../$i; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
    3327       fi
    3328       if test -d ../$i/pkgconfig ; then
    3329         COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../$i/pkgconfig; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
    3330       fi
    3331     done
    3332   fi
    3333 
    3334   if test -f ../../coin_subdirs.txt ; then
    3335     for i in `cat ../../coin_subdirs.txt` ; do
    3336       if test -d ../../$i ; then
    3337         COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../../$i; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
    3338       fi
    3339       if test -d ../../$i/pkgconfig ; then
    3340         COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../../$i/pkgconfig; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
    3341       fi
    3342     done
    3343   fi
    3344 
    3345 
    3346 fi
    3347 
    3348 if test -n "$PKG_CONFIG" && test x$coin_cc_is_cl = xtrue; then
    3349   { echo "$as_me:$LINENO: WARNING: Using pkg-config together with MS or Intel Compiler on Windows is not support by example Makefiles. Consider using --disable-pkg-config." >&5
    3350 echo "$as_me: WARNING: Using pkg-config together with MS or Intel Compiler on Windows is not support by example Makefiles. Consider using --disable-pkg-config." >&2;}
    3351 fi
    3352 
    3353 
     3292#AC_COIN_HAS_PKGCONFIG
    33543293
    33553294# Initialize automake
    3356 {
    3357 
    3358 
    3359 
    3360 # START
    3361 
    3362 coin_disable_shared=no
    3363 # Test if force_shared has been set
    3364 if test "x" = xforce_shared; then
    3365   if test x$enable_shared = xno; then
    3366     { { echo "$as_me:$LINENO: error: Shared libraries are disabled by user, but this is not feasible with the given options" >&5
    3367 echo "$as_me: error: Shared libraries are disabled by user, but this is not feasible with the given options" >&2;}
    3368    { (exit 1); exit 1; }; }
    3369   fi
    3370   enable_shared=yes;
    3371 else
    3372   # On Cygwin and AIX, building DLLs doesn't work
    3373   case $build in
    3374     *-cygwin* | *-mingw*)
    3375       coin_disable_shared=yes
    3376       if test x"$enable_shared" = xyes; then
    3377         case "$CXX" in
    3378           clang* )
    3379             { echo "$as_me:$LINENO: WARNING: DLL building not supported. I'm disabling your choice." >&5
    3380 echo "$as_me: WARNING: DLL building not supported. I'm disabling your choice." >&2;}
    3381             ;;
    3382           cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    3383             { echo "$as_me:$LINENO: DLL building not supported, but will build with -MD(d) instead of -MT(d)." >&5
    3384 echo "$as_me: DLL building not supported, but will build with -MD(d) instead of -MT(d)." >&6;}
    3385             ;;
    3386           *)
    3387             { echo "$as_me:$LINENO: WARNING: DLL building not supported. I'm disabling your choice." >&5
    3388 echo "$as_me: WARNING: DLL building not supported. I'm disabling your choice." >&2;}
    3389             ;;
    3390         esac
    3391       fi
    3392     ;;
    3393     *-aix*)
    3394       coin_disable_shared=yes
    3395       platform=AIX
    3396       if test x"$enable_shared" = xyes; then
    3397         { echo "$as_me:$LINENO: WARNING: Shared objects are not supported. I'm disabling your choice." >&5
    3398 echo "$as_me: WARNING: Shared objects are not supported. I'm disabling your choice." >&2;}
    3399       fi
    3400     ;;
    3401   esac
    3402 fi
    3403 if test x"$coin_disable_shared" = xyes; then
    3404   if test x"$enable_shared" = xyes; then
    3405     :
    3406   else
    3407     # we don't disable shared, because it was not selected anyway
    3408     coin_disable_shared=no
    3409   fi
    3410   enable_shared=no
    3411 fi
    3412 # By default, we only want the shared objects to be compiled
    3413 # Check whether --enable-static or --disable-static was given.
    3414 if test "${enable_static+set}" = set; then
    3415   enableval="$enable_static"
    3416   p=${PACKAGE-default}
    3417     case $enableval in
    3418     yes) enable_static=yes ;;
    3419     no) enable_static=no ;;
    3420     *)
    3421      enable_static=no
    3422       # Look at the argument we got.  We use all the common list separators.
    3423       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    3424       for pkg in $enableval; do
    3425         IFS="$lt_save_ifs"
    3426         if test "X$pkg" = "X$p"; then
    3427           enable_static=yes
    3428         fi
    3429       done
    3430       IFS="$lt_save_ifs"
    3431       ;;
    3432     esac
    3433 else
    3434   enable_static=no
    3435 fi;
    3436 
    3437 
    3438 
    3439 
    3440 # Initialize automake
    3441 echo "$as_me:$LINENO: checking for egrep" >&5
    3442 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3443 if test "${ac_cv_prog_egrep+set}" = set; then
    3444   echo $ECHO_N "(cached) $ECHO_C" >&6
    3445 else
    3446   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    3447     then ac_cv_prog_egrep='grep -E'
    3448     else ac_cv_prog_egrep='egrep'
    3449     fi
    3450 fi
    3451 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    3452 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    3453  EGREP=$ac_cv_prog_egrep
    3454 
    3455 
    3456 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3457 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    3458 LN_S=$as_ln_s
    3459 if test "$LN_S" = "ln -s"; then
    3460   echo "$as_me:$LINENO: result: yes" >&5
    3461 echo "${ECHO_T}yes" >&6
    3462 else
    3463   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3464 echo "${ECHO_T}no, using $LN_S" >&6
    3465 fi
    3466 
    3467 am__api_version="1.9"
     3295#AC_COIN_INIT_AUTO_TOOLS
     3296am__api_version='1.14'
     3297
    34683298# Find a good install program.  We prefer a C program (faster),
    34693299# so one script is as good as another.  But avoid the broken or
     
    34793309# OS/2's system install, which has a completely different semantic
    34803310# ./install, which can be erroneously created by make from ./install.sh.
    3481 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    3482 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3311# Reject install programs that cannot install multiple files.
     3312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     3313$as_echo_n "checking for a BSD-compatible install... " >&6; }
    34833314if test -z "$INSTALL"; then
    3484 if test "${ac_cv_path_install+set}" = set; then
    3485   echo $ECHO_N "(cached) $ECHO_C" >&6
     3315if ${ac_cv_path_install+:} false; then :
     3316  $as_echo_n "(cached) " >&6
    34863317else
    34873318  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    34903321  IFS=$as_save_IFS
    34913322  test -z "$as_dir" && as_dir=.
    3492   # Account for people who put trailing slashes in PATH elements.
    3493 case $as_dir/ in
    3494   ./ | .// | /cC/* | \
     3323    # Account for people who put trailing slashes in PATH elements.
     3324case $as_dir/ in #((
     3325  ./ | .// | /[cC]/* | \
    34953326  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    3496   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     3327  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    34973328  /usr/ucb/* ) ;;
    34983329  *)
     
    35023333    for ac_prog in ginstall scoinst install; do
    35033334      for ac_exec_ext in '' $ac_executable_extensions; do
    3504         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3335        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    35053336          if test $ac_prog = install &&
    35063337            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    35123343            :
    35133344          else
    3514             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    3515             break 3
     3345            rm -rf conftest.one conftest.two conftest.dir
     3346            echo one > conftest.one
     3347            echo two > conftest.two
     3348            mkdir conftest.dir
     3349            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     3350              test -s conftest.one && test -s conftest.two &&
     3351              test -s conftest.dir/conftest.one &&
     3352              test -s conftest.dir/conftest.two
     3353            then
     3354              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3355              break 3
     3356            fi
    35163357          fi
    35173358        fi
     
    35203361    ;;
    35213362esac
    3522 done
    3523 
     3363
     3364  done
     3365IFS=$as_save_IFS
     3366
     3367rm -rf conftest.one conftest.two conftest.dir
    35243368
    35253369fi
     
    35273371    INSTALL=$ac_cv_path_install
    35283372  else
    3529     # As a last resort, use the slow shell script.  We don't cache a
    3530     # path for INSTALL within a source directory, because that will
     3373    # As a last resort, use the slow shell script.  Don't cache a
     3374    # value for INSTALL within a source directory, because that will
    35313375    # break other packages using the cache if that directory is
    3532     # removed, or if the path is relative.
     3376    # removed, or if the value is a relative name.
    35333377    INSTALL=$ac_install_sh
    35343378  fi
    35353379fi
    3536 echo "$as_me:$LINENO: result: $INSTALL" >&5
    3537 echo "${ECHO_T}$INSTALL" >&6
     3380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     3381$as_echo "$INSTALL" >&6; }
    35383382
    35393383# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    35453389test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    35463390
    3547 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
    3548 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
    3549 # Just in case
    3550 sleep 1
    3551 echo timestamp > conftest.file
    3552 # Do `set' in a subshell so we don't clobber the current shell's
     3391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
     3392$as_echo_n "checking whether build environment is sane... " >&6; }
     3393# Reject unsafe characters in $srcdir or the absolute working directory
     3394# name.  Accept space and tab only in the latter.
     3395am_lf='
     3396'
     3397case `pwd` in
     3398  *[\\\"\#\$\&\'\`$am_lf]*)
     3399    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
     3400esac
     3401case $srcdir in
     3402  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
     3403    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
     3404esac
     3405
     3406# Do 'set' in a subshell so we don't clobber the current shell's
    35533407# arguments.  Must try -L first in case configure is actually a
    35543408# symlink; some systems play weird games with the mod time of symlinks
     
    35563410# directory).
    35573411if (
    3558    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
    3559    if test "$*" = "X"; then
    3560       # -L didn't work.
    3561       set X `ls -t $srcdir/configure conftest.file`
    3562    fi
    3563    rm -f conftest.file
    3564    if test "$*" != "X $srcdir/configure conftest.file" \
    3565       && test "$*" != "X conftest.file $srcdir/configure"; then
    3566 
    3567       # If neither matched, then we have a broken ls.  This can happen
    3568       # if, for instance, CONFIG_SHELL is bash and it inherits a
    3569       # broken ls alias from the environment.  This has actually
    3570       # happened.  Such a system could not be considered "sane".
    3571       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
    3572 alias in your environment" >&5
    3573 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
    3574 alias in your environment" >&2;}
    3575    { (exit 1); exit 1; }; }
    3576    fi
    3577 
     3412   am_has_slept=no
     3413   for am_try in 1 2; do
     3414     echo "timestamp, slept: $am_has_slept" > conftest.file
     3415     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
     3416     if test "$*" = "X"; then
     3417        # -L didn't work.
     3418        set X `ls -t "$srcdir/configure" conftest.file`
     3419     fi
     3420     if test "$*" != "X $srcdir/configure conftest.file" \
     3421        && test "$*" != "X conftest.file $srcdir/configure"; then
     3422
     3423        # If neither matched, then we have a broken ls.  This can happen
     3424        # if, for instance, CONFIG_SHELL is bash and it inherits a
     3425        # broken ls alias from the environment.  This has actually
     3426        # happened.  Such a system could not be considered "sane".
     3427        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
     3428  alias in your environment" "$LINENO" 5
     3429     fi
     3430     if test "$2" = conftest.file || test $am_try -eq 2; then
     3431       break
     3432     fi
     3433     # Just in case.
     3434     sleep 1
     3435     am_has_slept=yes
     3436   done
    35783437   test "$2" = conftest.file
    35793438   )
     
    35823441   :
    35833442else
    3584    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
    3585 Check your system clock" >&5
    3586 echo "$as_me: error: newly created file is older than distributed files!
    3587 Check your system clock" >&2;}
    3588    { (exit 1); exit 1; }; }
    3589 fi
    3590 echo "$as_me:$LINENO: result: yes" >&5
    3591 echo "${ECHO_T}yes" >&6
     3443   as_fn_error $? "newly created file is older than distributed files!
     3444Check your system clock" "$LINENO" 5
     3445fi
     3446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3447$as_echo "yes" >&6; }
     3448# If we didn't sleep, we still need to ensure time stamps of config.status and
     3449# generated files are strictly newer.
     3450am_sleep_pid=
     3451if grep 'slept: no' conftest.file >/dev/null 2>&1; then
     3452  ( sleep 1 ) &
     3453  am_sleep_pid=$!
     3454fi
     3455
     3456rm -f conftest.file
     3457
    35923458test "$program_prefix" != NONE &&
    3593   program_transform_name="s,^,$program_prefix,;$program_transform_name"
     3459  program_transform_name="s&^&$program_prefix&;$program_transform_name"
    35943460# Use a double $ so make ignores it.
    35953461test "$program_suffix" != NONE &&
    3596   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
    3597 # Double any \ or $.  echo might interpret backslashes.
     3462  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
     3463# Double any \ or $.
    35983464# By default was `s,x,x', remove it if useless.
    3599 cat <<\_ACEOF >conftest.sed
    3600 s/[\\$]/&&/g;s/;s,x,x,$//
    3601 _ACEOF
    3602 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
    3603 rm conftest.sed
    3604 
    3605 # expand $ac_aux_dir to an absolute path
    3606 am_aux_dir=`cd $ac_aux_dir && pwd`
    3607 
    3608 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
     3465ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
     3466program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
     3467
     3468if test x"${MISSING+set}" != xset; then
     3469  case $am_aux_dir in
     3470  *\ * | *\     *)
     3471    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
     3472  *)
     3473    MISSING="\${SHELL} $am_aux_dir/missing" ;;
     3474  esac
     3475fi
    36093476# Use eval to expand $SHELL
    3610 if eval "$MISSING --run true"; then
    3611   am_missing_run="$MISSING --run "
     3477if eval "$MISSING --is-lightweight"; then
     3478  am_missing_run="$MISSING "
    36123479else
    36133480  am_missing_run=
    3614   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
    3615 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
    3616 fi
    3617 
    3618 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    3619   # We used to keeping the `.' as first argument, in order to
    3620   # allow $(mkdir_p) to be used without argument.  As in
    3621   #   $(mkdir_p) $(somedir)
    3622   # where $(somedir) is conditionally defined.  However this is wrong
    3623   # for two reasons:
    3624   #  1. if the package is installed by a user who cannot write `.'
    3625   #     make install will fail,
    3626   #  2. the above comment should most certainly read
    3627   #     $(mkdir_p) $(DESTDIR)$(somedir)
    3628   #     so it does not work when $(somedir) is undefined and
    3629   #     $(DESTDIR) is not.
    3630   #  To support the latter case, we have to write
    3631   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
    3632   #  so the `.' trick is pointless.
    3633   mkdir_p='mkdir -p --'
    3634 else
    3635   # On NextStep and OpenStep, the `mkdir' command does not
    3636   # recognize any option.  It will interpret all options as
    3637   # directories to create, and then abort because `.' already
    3638   # exists.
    3639   for d in ./-p ./--version;
    3640   do
    3641     test -d $d && rmdir $d
    3642   done
    3643   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
    3644   if test -f "$ac_aux_dir/mkinstalldirs"; then
    3645     mkdir_p='$(mkinstalldirs)'
    3646   else
    3647     mkdir_p='$(install_sh) -d'
    3648   fi
    3649 fi
    3650 
    3651 for ac_prog in gawk mawk nawk awk
    3652 do
    3653   # Extract the first word of "$ac_prog", so it can be a program name with args.
    3654 set dummy $ac_prog; ac_word=$2
    3655 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3657 if test "${ac_cv_prog_AWK+set}" = set; then
    3658   echo $ECHO_N "(cached) $ECHO_C" >&6
    3659 else
    3660   if test -n "$AWK"; then
    3661   ac_cv_prog_AWK="$AWK" # Let the user override the test.
     3481  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
     3482$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
     3483fi
     3484
     3485if test x"${install_sh}" != xset; then
     3486  case $am_aux_dir in
     3487  *\ * | *\     *)
     3488    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
     3489  *)
     3490    install_sh="\${SHELL} $am_aux_dir/install-sh"
     3491  esac
     3492fi
     3493
     3494# Installed binaries are usually stripped using 'strip' when the user
     3495# run "make install-strip".  However 'strip' might not be the right
     3496# tool to use in cross-compilation environments, therefore Automake
     3497# will honor the 'STRIP' environment variable to overrule this program.
     3498if test "$cross_compiling" != no; then
     3499  if test -n "$ac_tool_prefix"; then
     3500  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     3501set dummy ${ac_tool_prefix}strip; ac_word=$2
     3502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3503$as_echo_n "checking for $ac_word... " >&6; }
     3504if ${ac_cv_prog_STRIP+:} false; then :
     3505  $as_echo_n "(cached) " >&6
     3506else
     3507  if test -n "$STRIP"; then
     3508  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
    36623509else
    36633510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    36663513  IFS=$as_save_IFS
    36673514  test -z "$as_dir" && as_dir=.
    3668   for ac_exec_ext in '' $ac_executable_extensions; do
    3669   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3670     ac_cv_prog_AWK="$ac_prog"
    3671     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3515    for ac_exec_ext in '' $ac_executable_extensions; do
     3516  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3517    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     3518    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    36723519    break 2
    36733520  fi
    36743521done
     3522  done
     3523IFS=$as_save_IFS
     3524
     3525fi
     3526fi
     3527STRIP=$ac_cv_prog_STRIP
     3528if test -n "$STRIP"; then
     3529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
     3530$as_echo "$STRIP" >&6; }
     3531else
     3532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3533$as_echo "no" >&6; }
     3534fi
     3535
     3536
     3537fi
     3538if test -z "$ac_cv_prog_STRIP"; then
     3539  ac_ct_STRIP=$STRIP
     3540  # Extract the first word of "strip", so it can be a program name with args.
     3541set dummy strip; ac_word=$2
     3542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3543$as_echo_n "checking for $ac_word... " >&6; }
     3544if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
     3545  $as_echo_n "(cached) " >&6
     3546else
     3547  if test -n "$ac_ct_STRIP"; then
     3548  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
     3549else
     3550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3551for as_dir in $PATH
     3552do
     3553  IFS=$as_save_IFS
     3554  test -z "$as_dir" && as_dir=.
     3555    for ac_exec_ext in '' $ac_executable_extensions; do
     3556  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3557    ac_cv_prog_ac_ct_STRIP="strip"
     3558    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3559    break 2
     3560  fi
    36753561done
     3562  done
     3563IFS=$as_save_IFS
     3564
     3565fi
     3566fi
     3567ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
     3568if test -n "$ac_ct_STRIP"; then
     3569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
     3570$as_echo "$ac_ct_STRIP" >&6; }
     3571else
     3572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3573$as_echo "no" >&6; }
     3574fi
     3575
     3576  if test "x$ac_ct_STRIP" = x; then
     3577    STRIP=":"
     3578  else
     3579    case $cross_compiling:$ac_tool_warned in
     3580yes:)
     3581{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3582$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3583ac_tool_warned=yes ;;
     3584esac
     3585    STRIP=$ac_ct_STRIP
     3586  fi
     3587else
     3588  STRIP="$ac_cv_prog_STRIP"
     3589fi
     3590
     3591fi
     3592INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
     3593
     3594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
     3595$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
     3596if test -z "$MKDIR_P"; then
     3597  if ${ac_cv_path_mkdir+:} false; then :
     3598  $as_echo_n "(cached) " >&6
     3599else
     3600  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3601for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
     3602do
     3603  IFS=$as_save_IFS
     3604  test -z "$as_dir" && as_dir=.
     3605    for ac_prog in mkdir gmkdir; do
     3606         for ac_exec_ext in '' $ac_executable_extensions; do
     3607           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
     3608           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
     3609             'mkdir (GNU coreutils) '* | \
     3610             'mkdir (coreutils) '* | \
     3611             'mkdir (fileutils) '4.1*)
     3612               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
     3613               break 3;;
     3614           esac
     3615         done
     3616       done
     3617  done
     3618IFS=$as_save_IFS
     3619
     3620fi
     3621
     3622  test -d ./--version && rmdir ./--version
     3623  if test "${ac_cv_path_mkdir+set}" = set; then
     3624    MKDIR_P="$ac_cv_path_mkdir -p"
     3625  else
     3626    # As a last resort, use the slow shell script.  Don't cache a
     3627    # value for MKDIR_P within a source directory, because that will
     3628    # break other packages using the cache if that directory is
     3629    # removed, or if the value is a relative name.
     3630    MKDIR_P="$ac_install_sh -d"
     3631  fi
     3632fi
     3633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
     3634$as_echo "$MKDIR_P" >&6; }
     3635
     3636for ac_prog in gawk mawk nawk awk
     3637do
     3638  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3639set dummy $ac_prog; ac_word=$2
     3640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3641$as_echo_n "checking for $ac_word... " >&6; }
     3642if ${ac_cv_prog_AWK+:} false; then :
     3643  $as_echo_n "(cached) " >&6
     3644else
     3645  if test -n "$AWK"; then
     3646  ac_cv_prog_AWK="$AWK" # Let the user override the test.
     3647else
     3648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3649for as_dir in $PATH
     3650do
     3651  IFS=$as_save_IFS
     3652  test -z "$as_dir" && as_dir=.
     3653    for ac_exec_ext in '' $ac_executable_extensions; do
     3654  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3655    ac_cv_prog_AWK="$ac_prog"
     3656    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3657    break 2
     3658  fi
     3659done
     3660  done
     3661IFS=$as_save_IFS
    36763662
    36773663fi
     
    36793665AWK=$ac_cv_prog_AWK
    36803666if test -n "$AWK"; then
    3681   echo "$as_me:$LINENO: result: $AWK" >&5
    3682 echo "${ECHO_T}$AWK" >&6
    3683 else
    3684   echo "$as_me:$LINENO: result: no" >&5
    3685 echo "${ECHO_T}no" >&6
    3686 fi
     3667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
     3668$as_echo "$AWK" >&6; }
     3669else
     3670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3671$as_echo "no" >&6; }
     3672fi
     3673
    36873674
    36883675  test -n "$AWK" && break
    36893676done
    36903677
    3691 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3692 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    3693 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    3694 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    3695   echo $ECHO_N "(cached) $ECHO_C" >&6
     3678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3679$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     3680set x ${MAKE-make}
     3681ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     3682if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     3683  $as_echo_n "(cached) " >&6
    36963684else
    36973685  cat >conftest.make <<\_ACEOF
     3686SHELL = /bin/sh
    36983687all:
    3699         @echo 'ac_maketemp="$(MAKE)"'
     3688        @echo '@@@%%%=$(MAKE)=@@@%%%'
    37003689_ACEOF
    3701 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3702 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    3703 if test -n "$ac_maketemp"; then
    3704   eval ac_cv_prog_make_${ac_make}_set=yes
    3705 else
    3706   eval ac_cv_prog_make_${ac_make}_set=no
    3707 fi
     3690# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     3691case `${MAKE-make} -f conftest.make 2>/dev/null` in
     3692  *@@@%%%=?*=@@@%%%*)
     3693    eval ac_cv_prog_make_${ac_make}_set=yes;;
     3694  *)
     3695    eval ac_cv_prog_make_${ac_make}_set=no;;
     3696esac
    37083697rm -f conftest.make
    37093698fi
    3710 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    3711   echo "$as_me:$LINENO: result: yes" >&5
    3712 echo "${ECHO_T}yes" >&6
     3699if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     3700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3701$as_echo "yes" >&6; }
    37133702  SET_MAKE=
    37143703else
    3715   echo "$as_me:$LINENO: result: no" >&5
    3716 echo "${ECHO_T}no" >&6
     3704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3705$as_echo "no" >&6; }
    37173706  SET_MAKE="MAKE=${MAKE-make}"
    37183707fi
     
    37293718DEPDIR="${am__leading_dot}deps"
    37303719
    3731           ac_config_commands="$ac_config_commands depfiles"
     3720ac_config_commands="$ac_config_commands depfiles"
    37323721
    37333722
     
    37353724cat > confinc << 'END'
    37363725am__doit:
    3737         @echo done
     3726        @echo this is the am__doit target
    37383727.PHONY: am__doit
    37393728END
    37403729# If we don't find an include directive, just comment out the code.
    3741 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
    3742 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
     3730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
     3731$as_echo_n "checking for style of include used by $am_make... " >&6; }
    37433732am__include="#"
    37443733am__quote=
     
    37463735# First try GNU make style include.
    37473736echo "include confinc" > confmf
    3748 # We grep out `Entering directory' and `Leaving directory'
    3749 # messages which can occur if `w' ends up in MAKEFLAGS.
    3750 # In particular we don't look at `^make:' because GNU make might
    3751 # be invoked under some other name (usually "gmake"), in which
    3752 # case it prints its new name instead of `make'.
    3753 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
    3754    am__include=include
    3755    am__quote=
    3756    _am_result=GNU
    3757 fi
     3737# Ignore all kinds of additional output from 'make'.
     3738case `$am_make -s -f confmf 2> /dev/null` in #(
     3739*the\ am__doit\ target*)
     3740  am__include=include
     3741  am__quote=
     3742  _am_result=GNU
     3743  ;;
     3744esac
    37583745# Now try BSD make style include.
    37593746if test "$am__include" = "#"; then
    37603747   echo '.include "confinc"' > confmf
    3761    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
    3762       am__include=.include
    3763       am__quote="\""
    3764       _am_result=BSD
    3765    fi
    3766 fi
    3767 
    3768 
    3769 echo "$as_me:$LINENO: result: $_am_result" >&5
    3770 echo "${ECHO_T}$_am_result" >&6
     3748   case `$am_make -s -f confmf 2> /dev/null` in #(
     3749   *the\ am__doit\ target*)
     3750     am__include=.include
     3751     am__quote="\""
     3752     _am_result=BSD
     3753     ;;
     3754   esac
     3755fi
     3756
     3757
     3758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
     3759$as_echo "$_am_result" >&6; }
    37713760rm -f confinc confmf
    37723761
    3773 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
    3774 if test "${enable_dependency_tracking+set}" = set; then
    3775   enableval="$enable_dependency_tracking"
    3776 
    3777 fi;
     3762# Check whether --enable-dependency-tracking was given.
     3763if test "${enable_dependency_tracking+set}" = set; then :
     3764  enableval=$enable_dependency_tracking;
     3765fi
     3766
    37783767if test "x$enable_dependency_tracking" != xno; then
    37793768  am_depcomp="$ac_aux_dir/depcomp"
    37803769  AMDEPBACKSLASH='\'
    3781 fi
    3782 
    3783 
    3784 if test "x$enable_dependency_tracking" != xno; then
     3770  am__nodep='_no'
     3771fi
     3772 if test "x$enable_dependency_tracking" != xno; then
    37853773  AMDEP_TRUE=
    37863774  AMDEP_FALSE='#'
     
    37913779
    37923780
    3793 
    3794 
    3795 
    3796 
    3797 # AC_MSG_NOTICE([Beginning automake initialisation.])
    3798 # Stuff for automake
    3799 # test to see if srcdir already configured
    3800 if test "`cd $srcdir && pwd`" != "`pwd`" &&
    3801    test -f $srcdir/config.status; then
    3802   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
    3803 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
    3804    { (exit 1); exit 1; }; }
     3781# Check whether --enable-silent-rules was given.
     3782if test "${enable_silent_rules+set}" = set; then :
     3783  enableval=$enable_silent_rules;
     3784fi
     3785
     3786case $enable_silent_rules in # (((
     3787  yes) AM_DEFAULT_VERBOSITY=0;;
     3788   no) AM_DEFAULT_VERBOSITY=1;;
     3789    *) AM_DEFAULT_VERBOSITY=1;;
     3790esac
     3791am_make=${MAKE-make}
     3792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
     3793$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
     3794if ${am_cv_make_support_nested_variables+:} false; then :
     3795  $as_echo_n "(cached) " >&6
     3796else
     3797  if $as_echo 'TRUE=$(BAR$(V))
     3798BAR0=false
     3799BAR1=true
     3800V=1
     3801am__doit:
     3802        @$(TRUE)
     3803.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
     3804  am_cv_make_support_nested_variables=yes
     3805else
     3806  am_cv_make_support_nested_variables=no
     3807fi
     3808fi
     3809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
     3810$as_echo "$am_cv_make_support_nested_variables" >&6; }
     3811if test $am_cv_make_support_nested_variables = yes; then
     3812    AM_V='$(V)'
     3813  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
     3814else
     3815  AM_V=$AM_DEFAULT_VERBOSITY
     3816  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
     3817fi
     3818AM_BACKSLASH='\'
     3819
     3820if test "`cd $srcdir && pwd`" != "`pwd`"; then
     3821  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
     3822  # is not polluted with repeated "-I."
     3823  am__isrc=' -I$(srcdir)'
     3824  # test to see if srcdir already configured
     3825  if test -f $srcdir/config.status; then
     3826    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
     3827  fi
    38053828fi
    38063829
     
    38453868MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
    38463869
    3847 install_sh=${install_sh-"$am_aux_dir/install-sh"}
    3848 
    3849 # Installed binaries are usually stripped using `strip' when the user
    3850 # run `make install-strip'.  However `strip' might not be the right
    3851 # tool to use in cross-compilation environments, therefore Automake
    3852 # will honor the `STRIP' environment variable to overrule this program.
    3853 if test "$cross_compiling" != no; then
    3854   if test -n "$ac_tool_prefix"; then
    3855   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
    3856 set dummy ${ac_tool_prefix}strip; ac_word=$2
    3857 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3859 if test "${ac_cv_prog_STRIP+set}" = set; then
    3860   echo $ECHO_N "(cached) $ECHO_C" >&6
    3861 else
    3862   if test -n "$STRIP"; then
    3863   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
    3864 else
    3865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3866 for as_dir in $PATH
    3867 do
    3868   IFS=$as_save_IFS
    3869   test -z "$as_dir" && as_dir=.
    3870   for ac_exec_ext in '' $ac_executable_extensions; do
    3871   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3872     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    3873     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3874     break 2
    3875   fi
    3876 done
    3877 done
    3878 
    3879 fi
    3880 fi
    3881 STRIP=$ac_cv_prog_STRIP
    3882 if test -n "$STRIP"; then
    3883   echo "$as_me:$LINENO: result: $STRIP" >&5
    3884 echo "${ECHO_T}$STRIP" >&6
    3885 else
    3886   echo "$as_me:$LINENO: result: no" >&5
    3887 echo "${ECHO_T}no" >&6
    3888 fi
    3889 
    3890 fi
    3891 if test -z "$ac_cv_prog_STRIP"; then
    3892   ac_ct_STRIP=$STRIP
    3893   # Extract the first word of "strip", so it can be a program name with args.
    3894 set dummy strip; ac_word=$2
    3895 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3897 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
    3898   echo $ECHO_N "(cached) $ECHO_C" >&6
    3899 else
    3900   if test -n "$ac_ct_STRIP"; then
    3901   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
    3902 else
    3903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3904 for as_dir in $PATH
    3905 do
    3906   IFS=$as_save_IFS
    3907   test -z "$as_dir" && as_dir=.
    3908   for ac_exec_ext in '' $ac_executable_extensions; do
    3909   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3910     ac_cv_prog_ac_ct_STRIP="strip"
    3911     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3912     break 2
    3913   fi
    3914 done
    3915 done
    3916 
    3917   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
    3918 fi
    3919 fi
    3920 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
    3921 if test -n "$ac_ct_STRIP"; then
    3922   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
    3923 echo "${ECHO_T}$ac_ct_STRIP" >&6
    3924 else
    3925   echo "$as_me:$LINENO: result: no" >&5
    3926 echo "${ECHO_T}no" >&6
    3927 fi
    3928 
    3929   STRIP=$ac_ct_STRIP
    3930 else
    3931   STRIP="$ac_cv_prog_STRIP"
    3932 fi
    3933 
    3934 fi
    3935 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
     3870# For better backward compatibility.  To be removed once Automake 1.9.x
     3871# dies out for good.  For more background, see:
     3872# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
     3873# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
     3874mkdir_p='$(MKDIR_P)'
    39363875
    39373876# We need awk for the "check" target.  The system "awk" is bad on
    39383877# some platforms.
    3939 # Always define AMTAR for backward compatibility.
    3940 
    3941 AMTAR=${AMTAR-"${am_missing_run}tar"}
    3942 
    3943 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
     3878# Always define AMTAR for backward compatibility.  Yes, it's still used
     3879# in the wild :-(  We should find a proper way to deprecate it ...
     3880AMTAR='$${TAR-tar}'
     3881
     3882
     3883# We'll loop over all known methods to create a tar archive until one works.
     3884_am_tools='gnutar  pax cpio none'
     3885
     3886am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
     3887
    39443888
    39453889
     
    39483892depcc="$CC"   am_compiler_list=
    39493893
    3950 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
    3951 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
    3952 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
    3953   echo $ECHO_N "(cached) $ECHO_C" >&6
     3894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
     3895$as_echo_n "checking dependency style of $depcc... " >&6; }
     3896if ${am_cv_CC_dependencies_compiler_type+:} false; then :
     3897  $as_echo_n "(cached) " >&6
    39543898else
    39553899  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     
    39573901  # making bogus files that we don't know about and never remove.  For
    39583902  # instance it was reported that on HP-UX the gcc test will end up
    3959   # making a dummy file named `D' -- because `-MD' means `put the output
    3960   # in D'.
     3903  # making a dummy file named 'D' -- because '-MD' means "put the output
     3904  # in D".
     3905  rm -rf conftest.dir
    39613906  mkdir conftest.dir
    39623907  # Copy depcomp to subdir because otherwise we won't find it if we're
     
    39763921     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
    39773922  fi
     3923  am__universal=false
     3924  case " $depcc " in #(
     3925     *\ -arch\ *\ -arch\ *) am__universal=true ;;
     3926     esac
     3927
    39783928  for depmode in $am_compiler_list; do
    39793929    # Setup a source with many dependencies, because some compilers
     
    39873937    for i in 1 2 3 4 5 6; do
    39883938      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    3989       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    3990       # Solaris 8's {/usr,}/bin/sh.
    3991       touch sub/conftst$i.h
     3939      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     3940      # Solaris 10 /bin/sh.
     3941      echo '/* dummy */' > sub/conftst$i.h
    39923942    done
    39933943    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    39943944
     3945    # We check with '-c' and '-o' for the sake of the "dashmstdout"
     3946    # mode.  It turns out that the SunPro C++ compiler does not properly
     3947    # handle '-M -o', and we need to detect this.  Also, some Intel
     3948    # versions had trouble with output in subdirs.
     3949    am__obj=sub/conftest.${OBJEXT-o}
     3950    am__minus_obj="-o $am__obj"
    39953951    case $depmode in
     3952    gcc)
     3953      # This depmode causes a compiler race in universal mode.
     3954      test "$am__universal" = false || continue
     3955      ;;
    39963956    nosideeffect)
    3997       # after this tag, mechanisms are not by side-effect, so they'll
    3998       # only be used when explicitly requested
     3957      # After this tag, mechanisms are not by side-effect, so they'll
     3958      # only be used when explicitly requested.
    39993959      if test "x$enable_dependency_tracking" = xyes; then
    40003960        continue
     
    40033963      fi
    40043964      ;;
     3965    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
     3966      # This compiler won't grok '-c -o', but also, the minuso test has
     3967      # not run yet.  These depmodes are late enough in the game, and
     3968      # so weak that their functioning should not be impacted.
     3969      am__obj=conftest.${OBJEXT-o}
     3970      am__minus_obj=
     3971      ;;
    40053972    none) break ;;
    40063973    esac
    4007     # We check with `-c' and `-o' for the sake of the "dashmstdout"
    4008     # mode.  It turns out that the SunPro C++ compiler does not properly
    4009     # handle `-M -o', and we need to detect this.
    40103974    if depmode=$depmode \
    4011        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
     3975       source=sub/conftest.c object=$am__obj \
    40123976       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    4013        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
     3977       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
    40143978         >/dev/null 2>conftest.err &&
     3979       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
    40153980       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    4016        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
     3981       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
    40173982       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    40183983      # icc doesn't choke on unknown options, it will just issue warnings
     
    40384003
    40394004fi
    4040 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
    4041 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
     4005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
     4006$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
    40424007CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
    40434008
    4044 
    4045 
    4046 if
     4009 if
    40474010  test "x$enable_dependency_tracking" != xno \
    40484011  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     
    40564019
    40574020
    4058 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
    4059 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
    4060     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    4061 if test "${enable_maintainer_mode+set}" = set; then
    4062   enableval="$enable_maintainer_mode"
    4063   USE_MAINTAINER_MODE=$enableval
     4021# POSIX will say in a future version that running "rm -f" with no argument
     4022# is OK; and we want to be able to make that assumption in our Makefile
     4023# recipes.  So use an aggressive probe to check that the usage we want is
     4024# actually supported "in the wild" to an acceptable degree.
     4025# See automake bug#10828.
     4026# To make any issue more visible, cause the running configure to be aborted
     4027# by default if the 'rm' program in use doesn't match our expectations; the
     4028# user can still override this though.
     4029if rm -f && rm -fr && rm -rf; then : OK; else
     4030  cat >&2 <<'END'
     4031Oops!
     4032
     4033Your 'rm' program seems unable to run without file operands specified
     4034on the command line, even when the '-f' option is present.  This is contrary
     4035to the behaviour of most rm programs out there, and not conforming with
     4036the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
     4037
     4038Please tell bug-automake@gnu.org about your system, including the value
     4039of your $PATH and any error possibly output before this message.  This
     4040can help us improve future automake versions.
     4041
     4042END
     4043  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
     4044    echo 'Configuration will proceed anyway, since you have set the' >&2
     4045    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
     4046    echo >&2
     4047  else
     4048    cat >&2 <<'END'
     4049Aborting the configuration process, to ensure you take notice of the issue.
     4050
     4051You can download and install GNU coreutils to get an 'rm' implementation
     4052that behaves properly: <http://www.gnu.org/software/coreutils/>.
     4053
     4054If you want to complete the configuration process using your problematic
     4055'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
     4056to "yes", and re-run configure.
     4057
     4058END
     4059    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
     4060  fi
     4061fi
     4062
     4063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
     4064$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
     4065    # Check whether --enable-maintainer-mode was given.
     4066if test "${enable_maintainer_mode+set}" = set; then :
     4067  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
    40644068else
    40654069  USE_MAINTAINER_MODE=no
    4066 fi;
    4067   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
    4068 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
    4069 
    4070 
    4071 if test $USE_MAINTAINER_MODE = yes; then
     4070fi
     4071
     4072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
     4073$as_echo "$USE_MAINTAINER_MODE" >&6; }
     4074   if test $USE_MAINTAINER_MODE = yes; then
    40724075  MAINTAINER_MODE_TRUE=
    40734076  MAINTAINER_MODE_FALSE='#'
     
    40814084
    40824085
    4083 coin_have_externals=no
    4084 if test "$enable_maintainer_mode" = yes; then
    4085 
    4086   # If maintainer mode is chosen, we make sure that the correct versions
    4087   # of the tools are used, and that we know where libtool.m4 is (to
    4088   # recreate acinclude.m4)
    4089 
    4090 
    4091   LIBTOOLM4=
    4092   # Normally, $HOME
    4093   AUTOTOOLS_DFLT=$HOME
    4094 
    4095   echo "$as_me:$LINENO: checking whether we are using the correct autotools" >&5
    4096 echo $ECHO_N "checking whether we are using the correct autotools... $ECHO_C" >&6
    4097 if test "${ac_cv_use_correct_autotools+set}" = set; then
    4098   echo $ECHO_N "(cached) $ECHO_C" >&6
    4099 else
    4100   ac_cv_use_correct_autotools=check
    4101 fi
    4102 echo "$as_me:$LINENO: result: $ac_cv_use_correct_autotools" >&5
    4103 echo "${ECHO_T}$ac_cv_use_correct_autotools" >&6
    4104 
    4105   if test $ac_cv_use_correct_autotools = check; then
    4106     ac_cv_use_correct_autotools=yes
    4107     # Check if we have autoconf
    4108     # Extract the first word of "autoconf", so it can be a program name with args.
    4109 set dummy autoconf; ac_word=$2
    4110 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4112 if test "${ac_cv_prog_have_autoconf+set}" = set; then
    4113   echo $ECHO_N "(cached) $ECHO_C" >&6
    4114 else
    4115   if test -n "$have_autoconf"; then
    4116   ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test.
    4117 else
    4118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4086case `pwd` in
     4087  *\ * | *\     *)
     4088    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
     4089$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
     4090esac
     4091
     4092
     4093
     4094macro_version='2.4.2'
     4095macro_revision='1.3337'
     4096
     4097
     4098
     4099
     4100
     4101
     4102
     4103
     4104
     4105
     4106
     4107
     4108
     4109ltmain="$ac_aux_dir/ltmain.sh"
     4110
     4111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
     4112$as_echo_n "checking host system type... " >&6; }
     4113if ${ac_cv_host+:} false; then :
     4114  $as_echo_n "(cached) " >&6
     4115else
     4116  if test "x$host_alias" = x; then
     4117  ac_cv_host=$ac_cv_build
     4118else
     4119  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     4120    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     4121fi
     4122
     4123fi
     4124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
     4125$as_echo "$ac_cv_host" >&6; }
     4126case $ac_cv_host in
     4127*-*-*) ;;
     4128*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
     4129esac
     4130host=$ac_cv_host
     4131ac_save_IFS=$IFS; IFS='-'
     4132set x $ac_cv_host
     4133shift
     4134host_cpu=$1
     4135host_vendor=$2
     4136shift; shift
     4137# Remember, the first character of IFS is used to create $*,
     4138# except with old shells:
     4139host_os=$*
     4140IFS=$ac_save_IFS
     4141case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     4142
     4143
     4144# Backslashify metacharacters that are still active within
     4145# double-quoted strings.
     4146sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
     4147
     4148# Same as above, but do not quote variable references.
     4149double_quote_subst='s/\(["`\\]\)/\\\1/g'
     4150
     4151# Sed substitution to delay expansion of an escaped shell variable in a
     4152# double_quote_subst'ed string.
     4153delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
     4154
     4155# Sed substitution to delay expansion of an escaped single quote.
     4156delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
     4157
     4158# Sed substitution to avoid accidental globbing in evaled expressions
     4159no_glob_subst='s/\*/\\\*/g'
     4160
     4161ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     4162ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
     4163ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
     4164
     4165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
     4166$as_echo_n "checking how to print strings... " >&6; }
     4167# Test print first, because it will be a builtin if present.
     4168if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
     4169   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
     4170  ECHO='print -r --'
     4171elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
     4172  ECHO='printf %s\n'
     4173else
     4174  # Use this function as a fallback that always works.
     4175  func_fallback_echo ()
     4176  {
     4177    eval 'cat <<_LTECHO_EOF
     4178$1
     4179_LTECHO_EOF'
     4180  }
     4181  ECHO='func_fallback_echo'
     4182fi
     4183
     4184# func_echo_all arg...
     4185# Invoke $ECHO with all args, space-separated.
     4186func_echo_all ()
     4187{
     4188    $ECHO ""
     4189}
     4190
     4191case "$ECHO" in
     4192  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
     4193$as_echo "printf" >&6; } ;;
     4194  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
     4195$as_echo "print -r" >&6; } ;;
     4196  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
     4197$as_echo "cat" >&6; } ;;
     4198esac
     4199
     4200
     4201
     4202
     4203
     4204
     4205
     4206
     4207
     4208
     4209
     4210
     4211
     4212
     4213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
     4214$as_echo_n "checking for a sed that does not truncate output... " >&6; }
     4215if ${ac_cv_path_SED+:} false; then :
     4216  $as_echo_n "(cached) " >&6
     4217else
     4218            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
     4219     for ac_i in 1 2 3 4 5 6 7; do
     4220       ac_script="$ac_script$as_nl$ac_script"
     4221     done
     4222     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
     4223     { ac_script=; unset ac_script;}
     4224     if test -z "$SED"; then
     4225  ac_path_SED_found=false
     4226  # Loop through the user's path and test for each of PROGNAME-LIST
     4227  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    41194228for as_dir in $PATH
    41204229do
    41214230  IFS=$as_save_IFS
    41224231  test -z "$as_dir" && as_dir=.
    4123   for ac_exec_ext in '' $ac_executable_extensions; do
    4124   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4125     ac_cv_prog_have_autoconf="yes"
    4126     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4127     break 2
     4232    for ac_prog in sed gsed; do
     4233    for ac_exec_ext in '' $ac_executable_extensions; do
     4234      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
     4235      as_fn_executable_p "$ac_path_SED" || continue
     4236# Check for GNU ac_path_SED and select it if it is found.
     4237  # Check for GNU $ac_path_SED
     4238case `"$ac_path_SED" --version 2>&1` in
     4239*GNU*)
     4240  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
     4241*)
     4242  ac_count=0
     4243  $as_echo_n 0123456789 >"conftest.in"
     4244  while :
     4245  do
     4246    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4247    mv "conftest.tmp" "conftest.in"
     4248    cp "conftest.in" "conftest.nl"
     4249    $as_echo '' >> "conftest.nl"
     4250    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4251    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4252    as_fn_arith $ac_count + 1 && ac_count=$as_val
     4253    if test $ac_count -gt ${ac_path_SED_max-0}; then
     4254      # Best one so far, save it but keep looking for a better one
     4255      ac_cv_path_SED="$ac_path_SED"
     4256      ac_path_SED_max=$ac_count
     4257    fi
     4258    # 10*(2^10) chars as input seems more than enough
     4259    test $ac_count -gt 10 && break
     4260  done
     4261  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4262esac
     4263