source: branches/devel/configure @ 26

Last change on this file since 26 was 1, checked in by andreasw, 13 years ago

imported initial code

  • Property svn:executable set to *
File size: 116.5 KB
Line 
1#! /bin/sh
2# From configure.ac 0.9.
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.59 for Bonmin 0.1.
5#
6# Report bugs to <coin-bonmin@lists.coin-or.org>.
7#
8# Copyright (C) 2003 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11#
12#
13# Copyright 2006 International Business Machines and others.
14# All Rights Reserved.
15# This file is part of the open source package Coin which is distributed
16# under the Common Public License.
17## --------------------- ##
18## M4sh Initialization.  ##
19## --------------------- ##
20
21# Be Bourne compatible
22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23  emulate sh
24  NULLCMD=:
25  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26  # is contrary to our usage.  Disable this feature.
27  alias -g '${1+"$@"}'='"$@"'
28elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
29  set -o posix
30fi
31DUALCASE=1; export DUALCASE # for MKS sh
32
33# Support unset when possible.
34if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
35  as_unset=unset
36else
37  as_unset=false
38fi
39
40
41# Work around bugs in pre-3.0 UWIN ksh.
42$as_unset ENV MAIL MAILPATH
43PS1='$ '
44PS2='> '
45PS4='+ '
46
47# NLS nuisances.
48for as_var in \
49  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51  LC_TELEPHONE LC_TIME
52do
53  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
54    eval $as_var=C; export $as_var
55  else
56    $as_unset $as_var
57  fi
58done
59
60# Required to use basename.
61if expr a : '\(a\)' >/dev/null 2>&1; then
62  as_expr=expr
63else
64  as_expr=false
65fi
66
67if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
68  as_basename=basename
69else
70  as_basename=false
71fi
72
73
74# Name of the executable.
75as_me=`$as_basename "$0" ||
76$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
77         X"$0" : 'X\(//\)$' \| \
78         X"$0" : 'X\(/\)$' \| \
79         .     : '\(.\)' 2>/dev/null ||
80echo X/"$0" |
81    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
82          /^X\/\(\/\/\)$/{ s//\1/; q; }
83          /^X\/\(\/\).*/{ s//\1/; q; }
84          s/.*/./; q'`
85
86
87# PATH needs CR, and LINENO needs CR and PATH.
88# Avoid depending upon Character Ranges.
89as_cr_letters='abcdefghijklmnopqrstuvwxyz'
90as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
91as_cr_Letters=$as_cr_letters$as_cr_LETTERS
92as_cr_digits='0123456789'
93as_cr_alnum=$as_cr_Letters$as_cr_digits
94
95# The user is always right.
96if test "${PATH_SEPARATOR+set}" != set; then
97  echo "#! /bin/sh" >conf$$.sh
98  echo  "exit 0"   >>conf$$.sh
99  chmod +x conf$$.sh
100  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
101    PATH_SEPARATOR=';'
102  else
103    PATH_SEPARATOR=:
104  fi
105  rm -f conf$$.sh
106fi
107
108
109  as_lineno_1=$LINENO
110  as_lineno_2=$LINENO
111  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
112  test "x$as_lineno_1" != "x$as_lineno_2" &&
113  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
114  # Find who we are.  Look in the path if we contain no path at all
115  # relative or not.
116  case $0 in
117    *[\\/]* ) as_myself=$0 ;;
118    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
119for as_dir in $PATH
120do
121  IFS=$as_save_IFS
122  test -z "$as_dir" && as_dir=.
123  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
124done
125
126       ;;
127  esac
128  # We did not find ourselves, most probably we were run as `sh COMMAND'
129  # in which case we are not to be found in the path.
130  if test "x$as_myself" = x; then
131    as_myself=$0
132  fi
133  if test ! -f "$as_myself"; then
134    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
135   { (exit 1); exit 1; }; }
136  fi
137  case $CONFIG_SHELL in
138  '')
139    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
140for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
141do
142  IFS=$as_save_IFS
143  test -z "$as_dir" && as_dir=.
144  for as_base in sh bash ksh sh5; do
145         case $as_dir in
146         /*)
147           if ("$as_dir/$as_base" -c '
148  as_lineno_1=$LINENO
149  as_lineno_2=$LINENO
150  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
151  test "x$as_lineno_1" != "x$as_lineno_2" &&
152  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
153             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
154             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
155             CONFIG_SHELL=$as_dir/$as_base
156             export CONFIG_SHELL
157             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158           fi;;
159         esac
160       done
161done
162;;
163  esac
164
165  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
166  # uniformly replaced by the line number.  The first 'sed' inserts a
167  # line-number line before each line; the second 'sed' does the real
168  # work.  The second script uses 'N' to pair each line-number line
169  # with the numbered line, and appends trailing '-' during
170  # substitution so that $LINENO is not a special case at line end.
171  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
172  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
173  sed '=' <$as_myself |
174    sed '
175      N
176      s,$,-,
177      : loop
178      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
179      t loop
180      s,-$,,
181      s,^['$as_cr_digits']*\n,,
182    ' >$as_me.lineno &&
183  chmod +x $as_me.lineno ||
184    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
185   { (exit 1); exit 1; }; }
186
187  # Don't try to exec as it changes $[0], causing all sort of problems
188  # (the dirname of $[0] is not the place where we might find the
189  # original and so on.  Autoconf is especially sensible to this).
190  . ./$as_me.lineno
191  # Exit status is that of the last command.
192  exit
193}
194
195
196case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
197  *c*,-n*) ECHO_N= ECHO_C='
198' ECHO_T='      ' ;;
199  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
200  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
201esac
202
203if expr a : '\(a\)' >/dev/null 2>&1; then
204  as_expr=expr
205else
206  as_expr=false
207fi
208
209rm -f conf$$ conf$$.exe conf$$.file
210echo >conf$$.file
211if ln -s conf$$.file conf$$ 2>/dev/null; then
212  # We could just check for DJGPP; but this test a) works b) is more generic
213  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
214  if test -f conf$$.exe; then
215    # Don't use ln at all; we don't have any links
216    as_ln_s='cp -p'
217  else
218    as_ln_s='ln -s'
219  fi
220elif ln conf$$.file conf$$ 2>/dev/null; then
221  as_ln_s=ln
222else
223  as_ln_s='cp -p'
224fi
225rm -f conf$$ conf$$.exe conf$$.file
226
227if mkdir -p . 2>/dev/null; then
228  as_mkdir_p=:
229else
230  test -d ./-p && rmdir ./-p
231  as_mkdir_p=false
232fi
233
234as_executable_p="test -f"
235
236# Sed expression to map a string onto a valid CPP name.
237as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
238
239# Sed expression to map a string onto a valid variable name.
240as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
241
242
243# IFS
244# We need space, tab and new line, in precisely that order.
245as_nl='
246'
247IFS="   $as_nl"
248
249# CDPATH.
250$as_unset CDPATH
251
252
253# Name of the host.
254# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
255# so uname gets run too.
256ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
257
258exec 6>&1
259
260#
261# Initializations.
262#
263ac_default_prefix=/usr/local
264ac_config_libobj_dir=.
265cross_compiling=no
266subdirs=
267MFLAGS=
268MAKEFLAGS=
269SHELL=${CONFIG_SHELL-/bin/sh}
270
271# Maximum number of lines to put in a shell here document.
272# This variable seems obsolete.  It should probably be removed, and
273# only ac_max_sed_lines should be used.
274: ${ac_max_here_lines=38}
275
276# Identity of this package.
277PACKAGE_NAME='Bonmin'
278PACKAGE_TARNAME='bonmin'
279PACKAGE_VERSION='0.1'
280PACKAGE_STRING='Bonmin 0.1'
281PACKAGE_BUGREPORT='coin-bonmin@lists.coin-or.org'
282
283ac_unique_file="configure.ac"
284ac_default_prefix=`pwd`
285ac_subdirs_all="$ac_subdirs_all ThirdParty/Blas"
286ac_subdirs_all="$ac_subdirs_all ThirdParty/Lapack"
287ac_subdirs_all="$ac_subdirs_all ThirdParty/HSL"
288ac_subdirs_all="$ac_subdirs_all ThirdParty/ASL"
289ac_subdirs_all="$ac_subdirs_all CoinUtils"
290ac_subdirs_all="$ac_subdirs_all Data/Netlib"
291ac_subdirs_all="$ac_subdirs_all Data/Sample"
292ac_subdirs_all="$ac_subdirs_all Data/miplib3"
293ac_subdirs_all="$ac_subdirs_all Clp"
294ac_subdirs_all="$ac_subdirs_all Osi"
295ac_subdirs_all="$ac_subdirs_all Cgl"
296ac_subdirs_all="$ac_subdirs_all Cbc"
297ac_subdirs_all="$ac_subdirs_all Bcp"
298ac_subdirs_all="$ac_subdirs_all Ipopt"
299ac_subdirs_all="$ac_subdirs_all Bonmin"
300ac_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 EGREP 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 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 subdirs COIN_SKIP_PROJECTS LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
301ac_subst_files=''
302
303# Initialize some variables set by options.
304ac_init_help=
305ac_init_version=false
306# The variables have the same names as the options, with
307# dashes changed to underlines.
308cache_file=/dev/null
309exec_prefix=NONE
310no_create=
311no_recursion=
312prefix=NONE
313program_prefix=NONE
314program_suffix=NONE
315program_transform_name=s,x,x,
316silent=
317site=
318srcdir=
319verbose=
320x_includes=NONE
321x_libraries=NONE
322
323# Installation directory options.
324# These are left unexpanded so users can "make install exec_prefix=/foo"
325# and all the variables that are supposed to be based on exec_prefix
326# by default will actually change.
327# Use braces instead of parens because sh, perl, etc. also accept them.
328bindir='${exec_prefix}/bin'
329sbindir='${exec_prefix}/sbin'
330libexecdir='${exec_prefix}/libexec'
331datadir='${prefix}/share'
332sysconfdir='${prefix}/etc'
333sharedstatedir='${prefix}/com'
334localstatedir='${prefix}/var'
335libdir='${exec_prefix}/lib'
336includedir='${prefix}/include'
337oldincludedir='/usr/include'
338infodir='${prefix}/info'
339mandir='${prefix}/man'
340
341ac_prev=
342for ac_option
343do
344  # If the previous option needs an argument, assign it.
345  if test -n "$ac_prev"; then
346    eval "$ac_prev=\$ac_option"
347    ac_prev=
348    continue
349  fi
350
351  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
352
353  # Accept the important Cygnus configure options, so we can diagnose typos.
354
355  case $ac_option in
356
357  -bindir | --bindir | --bindi | --bind | --bin | --bi)
358    ac_prev=bindir ;;
359  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
360    bindir=$ac_optarg ;;
361
362  -build | --build | --buil | --bui | --bu)
363    ac_prev=build_alias ;;
364  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
365    build_alias=$ac_optarg ;;
366
367  -cache-file | --cache-file | --cache-fil | --cache-fi \
368  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
369    ac_prev=cache_file ;;
370  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
371  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
372    cache_file=$ac_optarg ;;
373
374  --config-cache | -C)
375    cache_file=config.cache ;;
376
377  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
378    ac_prev=datadir ;;
379  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
380  | --da=*)
381    datadir=$ac_optarg ;;
382
383  -disable-* | --disable-*)
384    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
385    # Reject names that are not valid shell variable names.
386    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
387      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
388   { (exit 1); exit 1; }; }
389    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
390    eval "enable_$ac_feature=no" ;;
391
392  -enable-* | --enable-*)
393    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
394    # Reject names that are not valid shell variable names.
395    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
396      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
397   { (exit 1); exit 1; }; }
398    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
399    case $ac_option in
400      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
401      *) ac_optarg=yes ;;
402    esac
403    eval "enable_$ac_feature='$ac_optarg'" ;;
404
405  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
406  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
407  | --exec | --exe | --ex)
408    ac_prev=exec_prefix ;;
409  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
410  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
411  | --exec=* | --exe=* | --ex=*)
412    exec_prefix=$ac_optarg ;;
413
414  -gas | --gas | --ga | --g)
415    # Obsolete; use --with-gas.
416    with_gas=yes ;;
417
418  -help | --help | --hel | --he | -h)
419    ac_init_help=long ;;
420  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
421    ac_init_help=recursive ;;
422  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
423    ac_init_help=short ;;
424
425  -host | --host | --hos | --ho)
426    ac_prev=host_alias ;;
427  -host=* | --host=* | --hos=* | --ho=*)
428    host_alias=$ac_optarg ;;
429
430  -includedir | --includedir | --includedi | --included | --include \
431  | --includ | --inclu | --incl | --inc)
432    ac_prev=includedir ;;
433  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
434  | --includ=* | --inclu=* | --incl=* | --inc=*)
435    includedir=$ac_optarg ;;
436
437  -infodir | --infodir | --infodi | --infod | --info | --inf)
438    ac_prev=infodir ;;
439  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
440    infodir=$ac_optarg ;;
441
442  -libdir | --libdir | --libdi | --libd)
443    ac_prev=libdir ;;
444  -libdir=* | --libdir=* | --libdi=* | --libd=*)
445    libdir=$ac_optarg ;;
446
447  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
448  | --libexe | --libex | --libe)
449    ac_prev=libexecdir ;;
450  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
451  | --libexe=* | --libex=* | --libe=*)
452    libexecdir=$ac_optarg ;;
453
454  -localstatedir | --localstatedir | --localstatedi | --localstated \
455  | --localstate | --localstat | --localsta | --localst \
456  | --locals | --local | --loca | --loc | --lo)
457    ac_prev=localstatedir ;;
458  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
459  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
460  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
461    localstatedir=$ac_optarg ;;
462
463  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
464    ac_prev=mandir ;;
465  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
466    mandir=$ac_optarg ;;
467
468  -nfp | --nfp | --nf)
469    # Obsolete; use --without-fp.
470    with_fp=no ;;
471
472  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
473  | --no-cr | --no-c | -n)
474    no_create=yes ;;
475
476  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
477  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
478    no_recursion=yes ;;
479
480  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
481  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
482  | --oldin | --oldi | --old | --ol | --o)
483    ac_prev=oldincludedir ;;
484  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
485  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
486  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
487    oldincludedir=$ac_optarg ;;
488
489  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
490    ac_prev=prefix ;;
491  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
492    prefix=$ac_optarg ;;
493
494  -program-prefix | --program-prefix | --program-prefi | --program-pref \
495  | --program-pre | --program-pr | --program-p)
496    ac_prev=program_prefix ;;
497  -program-prefix=* | --program-prefix=* | --program-prefi=* \
498  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
499    program_prefix=$ac_optarg ;;
500
501  -program-suffix | --program-suffix | --program-suffi | --program-suff \
502  | --program-suf | --program-su | --program-s)
503    ac_prev=program_suffix ;;
504  -program-suffix=* | --program-suffix=* | --program-suffi=* \
505  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
506    program_suffix=$ac_optarg ;;
507
508  -program-transform-name | --program-transform-name \
509  | --program-transform-nam | --program-transform-na \
510  | --program-transform-n | --program-transform- \
511  | --program-transform | --program-transfor \
512  | --program-transfo | --program-transf \
513  | --program-trans | --program-tran \
514  | --progr-tra | --program-tr | --program-t)
515    ac_prev=program_transform_name ;;
516  -program-transform-name=* | --program-transform-name=* \
517  | --program-transform-nam=* | --program-transform-na=* \
518  | --program-transform-n=* | --program-transform-=* \
519  | --program-transform=* | --program-transfor=* \
520  | --program-transfo=* | --program-transf=* \
521  | --program-trans=* | --program-tran=* \
522  | --progr-tra=* | --program-tr=* | --program-t=*)
523    program_transform_name=$ac_optarg ;;
524
525  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
526  | -silent | --silent | --silen | --sile | --sil)
527    silent=yes ;;
528
529  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
530    ac_prev=sbindir ;;
531  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
532  | --sbi=* | --sb=*)
533    sbindir=$ac_optarg ;;
534
535  -sharedstatedir | --sharedstatedir | --sharedstatedi \
536  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
537  | --sharedst | --shareds | --shared | --share | --shar \
538  | --sha | --sh)
539    ac_prev=sharedstatedir ;;
540  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
541  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
542  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
543  | --sha=* | --sh=*)
544    sharedstatedir=$ac_optarg ;;
545
546  -site | --site | --sit)
547    ac_prev=site ;;
548  -site=* | --site=* | --sit=*)
549    site=$ac_optarg ;;
550
551  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
552    ac_prev=srcdir ;;
553  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
554    srcdir=$ac_optarg ;;
555
556  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
557  | --syscon | --sysco | --sysc | --sys | --sy)
558    ac_prev=sysconfdir ;;
559  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
560  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
561    sysconfdir=$ac_optarg ;;
562
563  -target | --target | --targe | --targ | --tar | --ta | --t)
564    ac_prev=target_alias ;;
565  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
566    target_alias=$ac_optarg ;;
567
568  -v | -verbose | --verbose | --verbos | --verbo | --verb)
569    verbose=yes ;;
570
571  -version | --version | --versio | --versi | --vers | -V)
572    ac_init_version=: ;;
573
574  -with-* | --with-*)
575    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
576    # Reject names that are not valid shell variable names.
577    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
578      { echo "$as_me: error: invalid package name: $ac_package" >&2
579   { (exit 1); exit 1; }; }
580    ac_package=`echo $ac_package| sed 's/-/_/g'`
581    case $ac_option in
582      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
583      *) ac_optarg=yes ;;
584    esac
585    eval "with_$ac_package='$ac_optarg'" ;;
586
587  -without-* | --without-*)
588    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
589    # Reject names that are not valid shell variable names.
590    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591      { echo "$as_me: error: invalid package name: $ac_package" >&2
592   { (exit 1); exit 1; }; }
593    ac_package=`echo $ac_package | sed 's/-/_/g'`
594    eval "with_$ac_package=no" ;;
595
596  --x)
597    # Obsolete; use --with-x.
598    with_x=yes ;;
599
600  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
601  | --x-incl | --x-inc | --x-in | --x-i)
602    ac_prev=x_includes ;;
603  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
604  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
605    x_includes=$ac_optarg ;;
606
607  -x-libraries | --x-libraries | --x-librarie | --x-librari \
608  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
609    ac_prev=x_libraries ;;
610  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
611  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
612    x_libraries=$ac_optarg ;;
613
614  -*) { echo "$as_me: error: unrecognized option: $ac_option
615Try \`$0 --help' for more information." >&2
616   { (exit 1); exit 1; }; }
617    ;;
618
619  *=*)
620    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
621    # Reject names that are not valid shell variable names.
622    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
623      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
624   { (exit 1); exit 1; }; }
625    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
626    eval "$ac_envvar='$ac_optarg'"
627    export $ac_envvar ;;
628
629  *)
630    # FIXME: should be removed in autoconf 3.0.
631    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
632    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
633      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
634    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
635    ;;
636
637  esac
638done
639
640if test -n "$ac_prev"; then
641  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
642  { echo "$as_me: error: missing argument to $ac_option" >&2
643   { (exit 1); exit 1; }; }
644fi
645
646# Be sure to have absolute paths.
647for ac_var in exec_prefix prefix
648do
649  eval ac_val=$`echo $ac_var`
650  case $ac_val in
651    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
652    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
653   { (exit 1); exit 1; }; };;
654  esac
655done
656
657# Be sure to have absolute paths.
658for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
659              localstatedir libdir includedir oldincludedir infodir mandir
660do
661  eval ac_val=$`echo $ac_var`
662  case $ac_val in
663    [\\/$]* | ?:[\\/]* ) ;;
664    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665   { (exit 1); exit 1; }; };;
666  esac
667done
668
669# There might be people who depend on the old broken behavior: `$host'
670# used to hold the argument of --host etc.
671# FIXME: To remove some day.
672build=$build_alias
673host=$host_alias
674target=$target_alias
675
676# FIXME: To remove some day.
677if test "x$host_alias" != x; then
678  if test "x$build_alias" = x; then
679    cross_compiling=maybe
680    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
681    If a cross compiler is detected then cross compile mode will be used." >&2
682  elif test "x$build_alias" != "x$host_alias"; then
683    cross_compiling=yes
684  fi
685fi
686
687ac_tool_prefix=
688test -n "$host_alias" && ac_tool_prefix=$host_alias-
689
690test "$silent" = yes && exec 6>/dev/null
691
692
693# Find the source files, if location was not specified.
694if test -z "$srcdir"; then
695  ac_srcdir_defaulted=yes
696  # Try the directory containing this script, then its parent.
697  ac_confdir=`(dirname "$0") 2>/dev/null ||
698$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
699         X"$0" : 'X\(//\)[^/]' \| \
700         X"$0" : 'X\(//\)$' \| \
701         X"$0" : 'X\(/\)' \| \
702         .     : '\(.\)' 2>/dev/null ||
703echo X"$0" |
704    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
705          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
706          /^X\(\/\/\)$/{ s//\1/; q; }
707          /^X\(\/\).*/{ s//\1/; q; }
708          s/.*/./; q'`
709  srcdir=$ac_confdir
710  if test ! -r $srcdir/$ac_unique_file; then
711    srcdir=..
712  fi
713else
714  ac_srcdir_defaulted=no
715fi
716if test ! -r $srcdir/$ac_unique_file; then
717  if test "$ac_srcdir_defaulted" = yes; then
718    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
719   { (exit 1); exit 1; }; }
720  else
721    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
722   { (exit 1); exit 1; }; }
723  fi
724fi
725(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
726  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
727   { (exit 1); exit 1; }; }
728srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
729ac_env_build_alias_set=${build_alias+set}
730ac_env_build_alias_value=$build_alias
731ac_cv_env_build_alias_set=${build_alias+set}
732ac_cv_env_build_alias_value=$build_alias
733ac_env_host_alias_set=${host_alias+set}
734ac_env_host_alias_value=$host_alias
735ac_cv_env_host_alias_set=${host_alias+set}
736ac_cv_env_host_alias_value=$host_alias
737ac_env_target_alias_set=${target_alias+set}
738ac_env_target_alias_value=$target_alias
739ac_cv_env_target_alias_set=${target_alias+set}
740ac_cv_env_target_alias_value=$target_alias
741ac_env_COIN_SKIP_PROJECTS_set=${COIN_SKIP_PROJECTS+set}
742ac_env_COIN_SKIP_PROJECTS_value=$COIN_SKIP_PROJECTS
743ac_cv_env_COIN_SKIP_PROJECTS_set=${COIN_SKIP_PROJECTS+set}
744ac_cv_env_COIN_SKIP_PROJECTS_value=$COIN_SKIP_PROJECTS
745
746#
747# Report the --help message.
748#
749if test "$ac_init_help" = "long"; then
750  # Omit some internal or obsolete options to make the list less imposing.
751  # This message is too long to be a string in the A/UX 3.1 sh.
752  cat <<_ACEOF
753\`configure' configures Bonmin 0.1 to adapt to many kinds of systems.
754
755Usage: $0 [OPTION]... [VAR=VALUE]...
756
757To assign environment variables (e.g., CC, CFLAGS...), specify them as
758VAR=VALUE.  See below for descriptions of some of the useful variables.
759
760Defaults for the options are specified in brackets.
761
762Configuration:
763  -h, --help              display this help and exit
764      --help=short        display options specific to this package
765      --help=recursive    display the short help of all the included packages
766  -V, --version           display version information and exit
767  -q, --quiet, --silent   do not print \`checking...' messages
768      --cache-file=FILE   cache test results in FILE [disabled]
769  -C, --config-cache      alias for \`--cache-file=config.cache'
770  -n, --no-create         do not create output files
771      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
772
773_ACEOF
774
775  cat <<_ACEOF
776Installation directories:
777  --prefix=PREFIX         install architecture-independent files in PREFIX
778                          [$ac_default_prefix]
779  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
780                          [PREFIX]
781
782By default, \`make install' will install all the files in
783\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
784an installation prefix other than \`$ac_default_prefix' using \`--prefix',
785for instance \`--prefix=\$HOME'.
786
787For better control, use the options below.
788
789Fine tuning of the installation directories:
790  --bindir=DIR           user executables [EPREFIX/bin]
791  --sbindir=DIR          system admin executables [EPREFIX/sbin]
792  --libexecdir=DIR       program executables [EPREFIX/libexec]
793  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
794  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
795  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
796  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
797  --libdir=DIR           object code libraries [EPREFIX/lib]
798  --includedir=DIR       C header files [PREFIX/include]
799  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
800  --infodir=DIR          info documentation [PREFIX/info]
801  --mandir=DIR           man documentation [PREFIX/man]
802_ACEOF
803
804  cat <<\_ACEOF
805
806Program names:
807  --program-prefix=PREFIX            prepend PREFIX to installed program names
808  --program-suffix=SUFFIX            append SUFFIX to installed program names
809  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
810_ACEOF
811fi
812
813if test -n "$ac_init_help"; then
814  case $ac_init_help in
815     short | recursive ) echo "Configuration of Bonmin 0.1:";;
816   esac
817  cat <<\_ACEOF
818
819Optional Features:
820  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
821  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
822  --enable-maintainer-mode  enable make rules and dependencies not useful
823                          (and sometimes confusing) to the casual installer
824
825Some influential environment variables:
826  COIN_SKIP_PROJECTS
827              Set to the subdirectories of projects that should be skipped in
828              the configuration
829
830Use these variables to override the choices made by `configure' or to help
831it to find libraries and programs with nonstandard names/locations.
832
833Report bugs to <coin-bonmin@lists.coin-or.org>.
834_ACEOF
835fi
836
837if test "$ac_init_help" = "recursive"; then
838  # If there are subdirs, report their specific --help.
839  ac_popdir=`pwd`
840  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
841    test -d $ac_dir || continue
842    ac_builddir=.
843
844if test "$ac_dir" != .; then
845  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
846  # A "../" for each directory in $ac_dir_suffix.
847  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
848else
849  ac_dir_suffix= ac_top_builddir=
850fi
851
852case $srcdir in
853  .)  # No --srcdir option.  We are building in place.
854    ac_srcdir=.
855    if test -z "$ac_top_builddir"; then
856       ac_top_srcdir=.
857    else
858       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
859    fi ;;
860  [\\/]* | ?:[\\/]* )  # Absolute path.
861    ac_srcdir=$srcdir$ac_dir_suffix;
862    ac_top_srcdir=$srcdir ;;
863  *) # Relative path.
864    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
865    ac_top_srcdir=$ac_top_builddir$srcdir ;;
866esac
867
868# Do not use `cd foo && pwd` to compute absolute paths, because
869# the directories may not exist.
870case `pwd` in
871.) ac_abs_builddir="$ac_dir";;
872*)
873  case "$ac_dir" in
874  .) ac_abs_builddir=`pwd`;;
875  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
876  *) ac_abs_builddir=`pwd`/"$ac_dir";;
877  esac;;
878esac
879case $ac_abs_builddir in
880.) ac_abs_top_builddir=${ac_top_builddir}.;;
881*)
882  case ${ac_top_builddir}. in
883  .) ac_abs_top_builddir=$ac_abs_builddir;;
884  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
885  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
886  esac;;
887esac
888case $ac_abs_builddir in
889.) ac_abs_srcdir=$ac_srcdir;;
890*)
891  case $ac_srcdir in
892  .) ac_abs_srcdir=$ac_abs_builddir;;
893  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
894  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
895  esac;;
896esac
897case $ac_abs_builddir in
898.) ac_abs_top_srcdir=$ac_top_srcdir;;
899*)
900  case $ac_top_srcdir in
901  .) ac_abs_top_srcdir=$ac_abs_builddir;;
902  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
903  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
904  esac;;
905esac
906
907    cd $ac_dir
908    # Check for guested configure; otherwise get Cygnus style configure.
909    if test -f $ac_srcdir/configure.gnu; then
910      echo
911      $SHELL $ac_srcdir/configure.gnu  --help=recursive
912    elif test -f $ac_srcdir/configure; then
913      echo
914      $SHELL $ac_srcdir/configure  --help=recursive
915    elif test -f $ac_srcdir/configure.ac ||
916           test -f $ac_srcdir/configure.in; then
917      echo
918      $ac_configure --help
919    else
920      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
921    fi
922    cd $ac_popdir
923  done
924fi
925
926test -n "$ac_init_help" && exit 0
927if $ac_init_version; then
928  cat <<\_ACEOF
929Bonmin configure 0.1
930generated by GNU Autoconf 2.59
931
932Copyright (C) 2003 Free Software Foundation, Inc.
933This configure script is free software; the Free Software Foundation
934gives unlimited permission to copy, distribute and modify it.
935
936
937Copyright 2006 International Business Machines and others.
938All Rights Reserved.
939This file is part of the open source package Coin which is distributed
940under the Common Public License.
941_ACEOF
942  exit 0
943fi
944exec 5>config.log
945cat >&5 <<_ACEOF
946This file contains any messages produced by compilers while
947running configure, to aid debugging if configure makes a mistake.
948
949It was created by Bonmin $as_me 0.1, which was
950generated by GNU Autoconf 2.59.  Invocation command line was
951
952  $ $0 $@
953
954_ACEOF
955{
956cat <<_ASUNAME
957## --------- ##
958## Platform. ##
959## --------- ##
960
961hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
962uname -m = `(uname -m) 2>/dev/null || echo unknown`
963uname -r = `(uname -r) 2>/dev/null || echo unknown`
964uname -s = `(uname -s) 2>/dev/null || echo unknown`
965uname -v = `(uname -v) 2>/dev/null || echo unknown`
966
967/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
968/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
969
970/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
971/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
972/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
973hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
974/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
975/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
976/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
977
978_ASUNAME
979
980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
981for as_dir in $PATH
982do
983  IFS=$as_save_IFS
984  test -z "$as_dir" && as_dir=.
985  echo "PATH: $as_dir"
986done
987
988} >&5
989
990cat >&5 <<_ACEOF
991
992
993## ----------- ##
994## Core tests. ##
995## ----------- ##
996
997_ACEOF
998
999
1000# Keep a trace of the command line.
1001# Strip out --no-create and --no-recursion so they do not pile up.
1002# Strip out --silent because we don't want to record it for future runs.
1003# Also quote any args containing shell meta-characters.
1004# Make two passes to allow for proper duplicate-argument suppression.
1005ac_configure_args=
1006ac_configure_args0=
1007ac_configure_args1=
1008ac_sep=
1009ac_must_keep_next=false
1010for ac_pass in 1 2
1011do
1012  for ac_arg
1013  do
1014    case $ac_arg in
1015    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1016    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1017    | -silent | --silent | --silen | --sile | --sil)
1018      continue ;;
1019    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1020      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1021    esac
1022    case $ac_pass in
1023    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1024    2)
1025      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1026      if test $ac_must_keep_next = true; then
1027        ac_must_keep_next=false # Got value, back to normal.
1028      else
1029        case $ac_arg in
1030          *=* | --config-cache | -C | -disable-* | --disable-* \
1031          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1032          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1033          | -with-* | --with-* | -without-* | --without-* | --x)
1034            case "$ac_configure_args0 " in
1035              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1036            esac
1037            ;;
1038          -* ) ac_must_keep_next=true ;;
1039        esac
1040      fi
1041      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1042      # Get rid of the leading space.
1043      ac_sep=" "
1044      ;;
1045    esac
1046  done
1047done
1048$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1049$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1050
1051# When interrupted or exit'd, cleanup temporary files, and complete
1052# config.log.  We remove comments because anyway the quotes in there
1053# would cause problems or look ugly.
1054# WARNING: Be sure not to use single quotes in there, as some shells,
1055# such as our DU 5.0 friend, will then `close' the trap.
1056trap 'exit_status=$?
1057  # Save into config.log some information that might help in debugging.
1058  {
1059    echo
1060
1061    cat <<\_ASBOX
1062## ---------------- ##
1063## Cache variables. ##
1064## ---------------- ##
1065_ASBOX
1066    echo
1067    # The following way of writing the cache mishandles newlines in values,
1068{
1069  (set) 2>&1 |
1070    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1071    *ac_space=\ *)
1072      sed -n \
1073        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1074          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1075      ;;
1076    *)
1077      sed -n \
1078        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1079      ;;
1080    esac;
1081}
1082    echo
1083
1084    cat <<\_ASBOX
1085## ----------------- ##
1086## Output variables. ##
1087## ----------------- ##
1088_ASBOX
1089    echo
1090    for ac_var in $ac_subst_vars
1091    do
1092      eval ac_val=$`echo $ac_var`
1093      echo "$ac_var='"'"'$ac_val'"'"'"
1094    done | sort
1095    echo
1096
1097    if test -n "$ac_subst_files"; then
1098      cat <<\_ASBOX
1099## ------------- ##
1100## Output files. ##
1101## ------------- ##
1102_ASBOX
1103      echo
1104      for ac_var in $ac_subst_files
1105      do
1106        eval ac_val=$`echo $ac_var`
1107        echo "$ac_var='"'"'$ac_val'"'"'"
1108      done | sort
1109      echo
1110    fi
1111
1112    if test -s confdefs.h; then
1113      cat <<\_ASBOX
1114## ----------- ##
1115## confdefs.h. ##
1116## ----------- ##
1117_ASBOX
1118      echo
1119      sed "/^$/d" confdefs.h | sort
1120      echo
1121    fi
1122    test "$ac_signal" != 0 &&
1123      echo "$as_me: caught signal $ac_signal"
1124    echo "$as_me: exit $exit_status"
1125  } >&5
1126  rm -f core *.core &&
1127  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1128    exit $exit_status
1129     ' 0
1130for ac_signal in 1 2 13 15; do
1131  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1132done
1133ac_signal=0
1134
1135# confdefs.h avoids OS command line length limits that DEFS can exceed.
1136rm -rf conftest* confdefs.h
1137# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1138echo >confdefs.h
1139
1140# Predefined preprocessor variables.
1141
1142cat >>confdefs.h <<_ACEOF
1143#define PACKAGE_NAME "$PACKAGE_NAME"
1144_ACEOF
1145
1146
1147cat >>confdefs.h <<_ACEOF
1148#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1149_ACEOF
1150
1151
1152cat >>confdefs.h <<_ACEOF
1153#define PACKAGE_VERSION "$PACKAGE_VERSION"
1154_ACEOF
1155
1156
1157cat >>confdefs.h <<_ACEOF
1158#define PACKAGE_STRING "$PACKAGE_STRING"
1159_ACEOF
1160
1161
1162cat >>confdefs.h <<_ACEOF
1163#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1164_ACEOF
1165
1166
1167# Let the site file select an alternate cache file if it wants to.
1168# Prefer explicitly selected file to automatically selected ones.
1169if test -z "$CONFIG_SITE"; then
1170  if test "x$prefix" != xNONE; then
1171    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1172  else
1173    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1174  fi
1175fi
1176for ac_site_file in $CONFIG_SITE; do
1177  if test -r "$ac_site_file"; then
1178    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1179echo "$as_me: loading site script $ac_site_file" >&6;}
1180    sed 's/^/| /' "$ac_site_file" >&5
1181    . "$ac_site_file"
1182  fi
1183done
1184
1185if test -r "$cache_file"; then
1186  # Some versions of bash will fail to source /dev/null (special
1187  # files actually), so we avoid doing that.
1188  if test -f "$cache_file"; then
1189    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1190echo "$as_me: loading cache $cache_file" >&6;}
1191    case $cache_file in
1192      [\\/]* | ?:[\\/]* ) . $cache_file;;
1193      *)                      . ./$cache_file;;
1194    esac
1195  fi
1196else
1197  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1198echo "$as_me: creating cache $cache_file" >&6;}
1199  >$cache_file
1200fi
1201
1202# Check that the precious variables saved in the cache have kept the same
1203# value.
1204ac_cache_corrupted=false
1205for ac_var in `(set) 2>&1 |
1206               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1207  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1208  eval ac_new_set=\$ac_env_${ac_var}_set
1209  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1210  eval ac_new_val="\$ac_env_${ac_var}_value"
1211  case $ac_old_set,$ac_new_set in
1212    set,)
1213      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1214echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1215      ac_cache_corrupted=: ;;
1216    ,set)
1217      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1218echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1219      ac_cache_corrupted=: ;;
1220    ,);;
1221    *)
1222      if test "x$ac_old_val" != "x$ac_new_val"; then
1223        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1224echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1225        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1226echo "$as_me:   former value:  $ac_old_val" >&2;}
1227        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1228echo "$as_me:   current value: $ac_new_val" >&2;}
1229        ac_cache_corrupted=:
1230      fi;;
1231  esac
1232  # Pass precious variables to config.status.
1233  if test "$ac_new_set" = set; then
1234    case $ac_new_val in
1235    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1236      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1237    *) ac_arg=$ac_var=$ac_new_val ;;
1238    esac
1239    case " $ac_configure_args " in
1240      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1241      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1242    esac
1243  fi
1244done
1245if $ac_cache_corrupted; then
1246  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1247echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1248  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1249echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1250   { (exit 1); exit 1; }; }
1251fi
1252
1253ac_ext=c
1254ac_cpp='$CPP $CPPFLAGS'
1255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1257ac_compiler_gnu=$ac_cv_c_compiler_gnu
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290# List one file in the package so that the configure script can test
1291# whether the package is actually there
1292
1293
1294# Where should everything be installed by default?  Here, we want it
1295# to be installed directly in 'bin', 'lib', 'include' subdirectories
1296# of the directory where configure is run.  The default would be
1297# /usr/local.
1298
1299
1300#############################################################################
1301#     We only need automake to generate Makefiles for the distribution      #
1302#############################################################################
1303
1304# Initialize automake
1305echo "$as_me:$LINENO: checking for egrep" >&5
1306echo $ECHO_N "checking for egrep... $ECHO_C" >&6
1307if test "${ac_cv_prog_egrep+set}" = set; then
1308  echo $ECHO_N "(cached) $ECHO_C" >&6
1309else
1310  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
1311    then ac_cv_prog_egrep='grep -E'
1312    else ac_cv_prog_egrep='egrep'
1313    fi
1314fi
1315echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
1316echo "${ECHO_T}$ac_cv_prog_egrep" >&6
1317 EGREP=$ac_cv_prog_egrep
1318
1319
1320am__api_version="1.9"
1321ac_aux_dir=
1322for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1323  if test -f $ac_dir/install-sh; then
1324    ac_aux_dir=$ac_dir
1325    ac_install_sh="$ac_aux_dir/install-sh -c"
1326    break
1327  elif test -f $ac_dir/install.sh; then
1328    ac_aux_dir=$ac_dir
1329    ac_install_sh="$ac_aux_dir/install.sh -c"
1330    break
1331  elif test -f $ac_dir/shtool; then
1332    ac_aux_dir=$ac_dir
1333    ac_install_sh="$ac_aux_dir/shtool install -c"
1334    break
1335  fi
1336done
1337if test -z "$ac_aux_dir"; then
1338  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1339echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1340   { (exit 1); exit 1; }; }
1341fi
1342ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1343ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1344ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1345
1346# Find a good install program.  We prefer a C program (faster),
1347# so one script is as good as another.  But avoid the broken or
1348# incompatible versions:
1349# SysV /etc/install, /usr/sbin/install
1350# SunOS /usr/etc/install
1351# IRIX /sbin/install
1352# AIX /bin/install
1353# AmigaOS /C/install, which installs bootblocks on floppy discs
1354# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1355# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1356# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1357# OS/2's system install, which has a completely different semantic
1358# ./install, which can be erroneously created by make from ./install.sh.
1359echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1360echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1361if test -z "$INSTALL"; then
1362if test "${ac_cv_path_install+set}" = set; then
1363  echo $ECHO_N "(cached) $ECHO_C" >&6
1364else
1365  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1366for as_dir in $PATH
1367do
1368  IFS=$as_save_IFS
1369  test -z "$as_dir" && as_dir=.
1370  # Account for people who put trailing slashes in PATH elements.
1371case $as_dir/ in
1372  ./ | .// | /cC/* | \
1373  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1374  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1375  /usr/ucb/* ) ;;
1376  *)
1377    # OSF1 and SCO ODT 3.0 have their own names for install.
1378    # Don't use installbsd from OSF since it installs stuff as root
1379    # by default.
1380    for ac_prog in ginstall scoinst install; do
1381      for ac_exec_ext in '' $ac_executable_extensions; do
1382        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1383          if test $ac_prog = install &&
1384            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1385            # AIX install.  It has an incompatible calling convention.
1386            :
1387          elif test $ac_prog = install &&
1388            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1389            # program-specific install script used by HP pwplus--don't use.
1390            :
1391          else
1392            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1393            break 3
1394          fi
1395        fi
1396      done
1397    done
1398    ;;
1399esac
1400done
1401
1402
1403fi
1404  if test "${ac_cv_path_install+set}" = set; then
1405    INSTALL=$ac_cv_path_install
1406  else
1407    # As a last resort, use the slow shell script.  We don't cache a
1408    # path for INSTALL within a source directory, because that will
1409    # break other packages using the cache if that directory is
1410    # removed, or if the path is relative.
1411    INSTALL=$ac_install_sh
1412  fi
1413fi
1414echo "$as_me:$LINENO: result: $INSTALL" >&5
1415echo "${ECHO_T}$INSTALL" >&6
1416
1417# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1418# It thinks the first close brace ends the variable substitution.
1419test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1420
1421test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1422
1423test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1424
1425echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1426echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1427# Just in case
1428sleep 1
1429echo timestamp > conftest.file
1430# Do `set' in a subshell so we don't clobber the current shell's
1431# arguments.  Must try -L first in case configure is actually a
1432# symlink; some systems play weird games with the mod time of symlinks
1433# (eg FreeBSD returns the mod time of the symlink's containing
1434# directory).
1435if (
1436   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1437   if test "$*" = "X"; then
1438      # -L didn't work.
1439      set X `ls -t $srcdir/configure conftest.file`
1440   fi
1441   rm -f conftest.file
1442   if test "$*" != "X $srcdir/configure conftest.file" \
1443      && test "$*" != "X conftest.file $srcdir/configure"; then
1444
1445      # If neither matched, then we have a broken ls.  This can happen
1446      # if, for instance, CONFIG_SHELL is bash and it inherits a
1447      # broken ls alias from the environment.  This has actually
1448      # happened.  Such a system could not be considered "sane".
1449      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1450alias in your environment" >&5
1451echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1452alias in your environment" >&2;}
1453   { (exit 1); exit 1; }; }
1454   fi
1455
1456   test "$2" = conftest.file
1457   )
1458then
1459   # Ok.
1460   :
1461else
1462   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1463Check your system clock" >&5
1464echo "$as_me: error: newly created file is older than distributed files!
1465Check your system clock" >&2;}
1466   { (exit 1); exit 1; }; }
1467fi
1468echo "$as_me:$LINENO: result: yes" >&5
1469echo "${ECHO_T}yes" >&6
1470test "$program_prefix" != NONE &&
1471  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1472# Use a double $ so make ignores it.
1473test "$program_suffix" != NONE &&
1474  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1475# Double any \ or $.  echo might interpret backslashes.
1476# By default was `s,x,x', remove it if useless.
1477cat <<\_ACEOF >conftest.sed
1478s/[\\$]/&&/g;s/;s,x,x,$//
1479_ACEOF
1480program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1481rm conftest.sed
1482
1483# expand $ac_aux_dir to an absolute path
1484am_aux_dir=`cd $ac_aux_dir && pwd`
1485
1486test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1487# Use eval to expand $SHELL
1488if eval "$MISSING --run true"; then
1489  am_missing_run="$MISSING --run "
1490else
1491  am_missing_run=
1492  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1493echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1494fi
1495
1496if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1497  # We used to keeping the `.' as first argument, in order to
1498  # allow $(mkdir_p) to be used without argument.  As in
1499  #   $(mkdir_p) $(somedir)
1500  # where $(somedir) is conditionally defined.  However this is wrong
1501  # for two reasons:
1502  #  1. if the package is installed by a user who cannot write `.'
1503  #     make install will fail,
1504  #  2. the above comment should most certainly read
1505  #     $(mkdir_p) $(DESTDIR)$(somedir)
1506  #     so it does not work when $(somedir) is undefined and
1507  #     $(DESTDIR) is not.
1508  #  To support the latter case, we have to write
1509  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1510  #  so the `.' trick is pointless.
1511  mkdir_p='mkdir -p --'
1512else
1513  # On NextStep and OpenStep, the `mkdir' command does not
1514  # recognize any option.  It will interpret all options as
1515  # directories to create, and then abort because `.' already
1516  # exists.
1517  for d in ./-p ./--version;
1518  do
1519    test -d $d && rmdir $d
1520  done
1521  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1522  if test -f "$ac_aux_dir/mkinstalldirs"; then
1523    mkdir_p='$(mkinstalldirs)'
1524  else
1525    mkdir_p='$(install_sh) -d'
1526  fi
1527fi
1528
1529for ac_prog in gawk mawk nawk awk
1530do
1531  # Extract the first word of "$ac_prog", so it can be a program name with args.
1532set dummy $ac_prog; ac_word=$2
1533echo "$as_me:$LINENO: checking for $ac_word" >&5
1534echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1535if test "${ac_cv_prog_AWK+set}" = set; then
1536  echo $ECHO_N "(cached) $ECHO_C" >&6
1537else
1538  if test -n "$AWK"; then
1539  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1540else
1541as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1542for as_dir in $PATH
1543do
1544  IFS=$as_save_IFS
1545  test -z "$as_dir" && as_dir=.
1546  for ac_exec_ext in '' $ac_executable_extensions; do
1547  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1548    ac_cv_prog_AWK="$ac_prog"
1549    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1550    break 2
1551  fi
1552done
1553done
1554
1555fi
1556fi
1557AWK=$ac_cv_prog_AWK
1558if test -n "$AWK"; then
1559  echo "$as_me:$LINENO: result: $AWK" >&5
1560echo "${ECHO_T}$AWK" >&6
1561else
1562  echo "$as_me:$LINENO: result: no" >&5
1563echo "${ECHO_T}no" >&6
1564fi
1565
1566  test -n "$AWK" && break
1567done
1568
1569echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1570echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1571set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1572if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1573  echo $ECHO_N "(cached) $ECHO_C" >&6
1574else
1575  cat >conftest.make <<\_ACEOF
1576all:
1577        @echo 'ac_maketemp="$(MAKE)"'
1578_ACEOF
1579# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1580eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1581if test -n "$ac_maketemp"; then
1582  eval ac_cv_prog_make_${ac_make}_set=yes
1583else
1584  eval ac_cv_prog_make_${ac_make}_set=no
1585fi
1586rm -f conftest.make
1587fi
1588if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1589  echo "$as_me:$LINENO: result: yes" >&5
1590echo "${ECHO_T}yes" >&6
1591  SET_MAKE=
1592else
1593  echo "$as_me:$LINENO: result: no" >&5
1594echo "${ECHO_T}no" >&6
1595  SET_MAKE="MAKE=${MAKE-make}"
1596fi
1597
1598rm -rf .tst 2>/dev/null
1599mkdir .tst 2>/dev/null
1600if test -d .tst; then
1601  am__leading_dot=.
1602else
1603  am__leading_dot=_
1604fi
1605rmdir .tst 2>/dev/null
1606
1607
1608# Stuff for automake
1609# test to see if srcdir already configured
1610if test "`cd $srcdir && pwd`" != "`pwd`" &&
1611   test -f $srcdir/config.status; then
1612  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1613echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1614   { (exit 1); exit 1; }; }
1615fi
1616
1617# test whether we have cygpath
1618if test -z "$CYGPATH_W"; then
1619  if (cygpath --version) >/dev/null 2>/dev/null; then
1620    CYGPATH_W='cygpath -w'
1621  else
1622    CYGPATH_W=echo
1623  fi
1624fi
1625
1626
1627# Define the identity of the package.
1628 PACKAGE='bonmin'
1629 VERSION='0.1'
1630
1631
1632cat >>confdefs.h <<_ACEOF
1633#define PACKAGE "$PACKAGE"
1634_ACEOF
1635
1636
1637cat >>confdefs.h <<_ACEOF
1638#define VERSION "$VERSION"
1639_ACEOF
1640
1641# Some tools Automake needs.
1642
1643ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1644
1645
1646AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1647
1648
1649AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1650
1651
1652AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1653
1654
1655MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1656
1657install_sh=${install_sh-"$am_aux_dir/install-sh"}
1658
1659# Installed binaries are usually stripped using `strip' when the user
1660# run `make install-strip'.  However `strip' might not be the right
1661# tool to use in cross-compilation environments, therefore Automake
1662# will honor the `STRIP' environment variable to overrule this program.
1663if test "$cross_compiling" != no; then
1664  if test -n "$ac_tool_prefix"; then
1665  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1666set dummy ${ac_tool_prefix}strip; ac_word=$2
1667echo "$as_me:$LINENO: checking for $ac_word" >&5
1668echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1669if test "${ac_cv_prog_STRIP+set}" = set; then
1670  echo $ECHO_N "(cached) $ECHO_C" >&6
1671else
1672  if test -n "$STRIP"; then
1673  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1674else
1675as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1676for as_dir in $PATH
1677do
1678  IFS=$as_save_IFS
1679  test -z "$as_dir" && as_dir=.
1680  for ac_exec_ext in '' $ac_executable_extensions; do
1681  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1682    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1683    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1684    break 2
1685  fi
1686done
1687done
1688
1689fi
1690fi
1691STRIP=$ac_cv_prog_STRIP
1692if test -n "$STRIP"; then
1693  echo "$as_me:$LINENO: result: $STRIP" >&5
1694echo "${ECHO_T}$STRIP" >&6
1695else
1696  echo "$as_me:$LINENO: result: no" >&5
1697echo "${ECHO_T}no" >&6
1698fi
1699
1700fi
1701if test -z "$ac_cv_prog_STRIP"; then
1702  ac_ct_STRIP=$STRIP
1703  # Extract the first word of "strip", so it can be a program name with args.
1704set dummy strip; ac_word=$2
1705echo "$as_me:$LINENO: checking for $ac_word" >&5
1706echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1708  echo $ECHO_N "(cached) $ECHO_C" >&6
1709else
1710  if test -n "$ac_ct_STRIP"; then
1711  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1712else
1713as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714for as_dir in $PATH
1715do
1716  IFS=$as_save_IFS
1717  test -z "$as_dir" && as_dir=.
1718  for ac_exec_ext in '' $ac_executable_extensions; do
1719  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1720    ac_cv_prog_ac_ct_STRIP="strip"
1721    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1722    break 2
1723  fi
1724done
1725done
1726
1727  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1728fi
1729fi
1730ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1731if test -n "$ac_ct_STRIP"; then
1732  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1733echo "${ECHO_T}$ac_ct_STRIP" >&6
1734else
1735  echo "$as_me:$LINENO: result: no" >&5
1736echo "${ECHO_T}no" >&6
1737fi
1738
1739  STRIP=$ac_ct_STRIP
1740else
1741  STRIP="$ac_cv_prog_STRIP"
1742fi
1743
1744fi
1745INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1746
1747# We need awk for the "check" target.  The system "awk" is bad on
1748# some platforms.
1749# Always define AMTAR for backward compatibility.
1750
1751AMTAR=${AMTAR-"${am_missing_run}tar"}
1752
1753am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1754
1755
1756
1757
1758
1759echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1760echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1761    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1762if test "${enable_maintainer_mode+set}" = set; then
1763  enableval="$enable_maintainer_mode"
1764  USE_MAINTAINER_MODE=$enableval
1765else
1766  USE_MAINTAINER_MODE=no
1767fi;
1768  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1769echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1770
1771
1772if test $USE_MAINTAINER_MODE = yes; then
1773  MAINTAINER_MODE_TRUE=
1774  MAINTAINER_MODE_FALSE='#'
1775else
1776  MAINTAINER_MODE_TRUE='#'
1777  MAINTAINER_MODE_FALSE=
1778fi
1779
1780  MAINT=$MAINTAINER_MODE_TRUE
1781
1782
1783
1784coin_have_externals=no
1785if test "$enable_maintainer_mode" = yes; then
1786
1787  # If maintainer mode is chosen, we make sure that the correct versions
1788  # of the tools are used, and that we know where libtoo.m4 is (to
1789  # recreate acinclude.m4)
1790
1791
1792  LIBTOOLM4=
1793
1794  # Check if we have autoconf
1795  # Extract the first word of "autoconf", so it can be a program name with args.
1796set dummy autoconf; ac_word=$2
1797echo "$as_me:$LINENO: checking for $ac_word" >&5
1798echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1799if test "${ac_cv_prog_have_autoconf+set}" = set; then
1800  echo $ECHO_N "(cached) $ECHO_C" >&6
1801else
1802  if test -n "$have_autoconf"; then
1803  ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test.
1804else
1805as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1806for as_dir in $PATH
1807do
1808  IFS=$as_save_IFS
1809  test -z "$as_dir" && as_dir=.
1810  for ac_exec_ext in '' $ac_executable_extensions; do
1811  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1812    ac_cv_prog_have_autoconf="yes"
1813    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1814    break 2
1815  fi
1816done
1817done
1818
1819  test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no"
1820fi
1821fi
1822have_autoconf=$ac_cv_prog_have_autoconf
1823if test -n "$have_autoconf"; then
1824  echo "$as_me:$LINENO: result: $have_autoconf" >&5
1825echo "${ECHO_T}$have_autoconf" >&6
1826else
1827  echo "$as_me:$LINENO: result: no" >&5
1828echo "${ECHO_T}no" >&6
1829fi
1830
1831  if test $have_autoconf = no; then
1832    { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&5
1833echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&2;}
1834   { (exit 1); exit 1; }; }
1835  fi
1836
1837  # Check whether autoconf is the correct version
1838  correct_version='2.59'
1839  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
1840  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of autoconf" >&5
1841echo $ECHO_N "checking whether we are using the correct version ($correct_version) of autoconf... $ECHO_C" >&6
1842  autoconf --version > confauto.out 2>&1
1843  if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
1844    echo "$as_me:$LINENO: result: yes" >&5
1845echo "${ECHO_T}yes" >&6
1846  else
1847    rm -f confauto.out
1848    echo "$as_me:$LINENO: result: no" >&5
1849echo "${ECHO_T}no" >&6
1850    { { echo "$as_me:$LINENO: error: You don't have the correct version of autoconf as the first one in your path." >&5
1851echo "$as_me: error: You don't have the correct version of autoconf as the first one in your path." >&2;}
1852   { (exit 1); exit 1; }; }
1853  fi
1854  rm -f confauto.out
1855
1856  # Check if the executable autoconf is picked up from the correct location
1857  echo "$as_me:$LINENO: checking whether autoconf is coming from the correct location" >&5
1858echo $ECHO_N "checking whether autoconf is coming from the correct location... $ECHO_C" >&6
1859  autoconf_dir=`which autoconf | sed -e 's=/autoconf=='`
1860  autoconf_dir=`cd $autoconf_dir; pwd`
1861  if test x$AUTOTOOLS_DIR = x; then
1862    want_dir=$HOME/bin
1863  else
1864    want_dir=$AUTOTOOLS_DIR/bin
1865  fi
1866  if test $autoconf_dir = `cd $want_dir; pwd`; then
1867    echo "$as_me:$LINENO: result: yes" >&5
1868echo "${ECHO_T}yes" >&6
1869  else
1870    rm -f confauto.out
1871    echo "$as_me:$LINENO: result: no" >&5
1872echo "${ECHO_T}no" >&6
1873    { { echo "$as_me:$LINENO: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5
1874echo "$as_me: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;}
1875   { (exit 1); exit 1; }; }
1876  fi
1877
1878  # Check if we have automake
1879  # Extract the first word of "automake", so it can be a program name with args.
1880set dummy automake; ac_word=$2
1881echo "$as_me:$LINENO: checking for $ac_word" >&5
1882echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1883if test "${ac_cv_prog_have_automake+set}" = set; then
1884  echo $ECHO_N "(cached) $ECHO_C" >&6
1885else
1886  if test -n "$have_automake"; then
1887  ac_cv_prog_have_automake="$have_automake" # Let the user override the test.
1888else
1889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890for as_dir in $PATH
1891do
1892  IFS=$as_save_IFS
1893  test -z "$as_dir" && as_dir=.
1894  for ac_exec_ext in '' $ac_executable_extensions; do
1895  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1896    ac_cv_prog_have_automake="yes"
1897    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898    break 2
1899  fi
1900done
1901done
1902
1903  test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no"
1904fi
1905fi
1906have_automake=$ac_cv_prog_have_automake
1907if test -n "$have_automake"; then
1908  echo "$as_me:$LINENO: result: $have_automake" >&5
1909echo "${ECHO_T}$have_automake" >&6
1910else
1911  echo "$as_me:$LINENO: result: no" >&5
1912echo "${ECHO_T}no" >&6
1913fi
1914
1915  if test $have_automake = no; then
1916    { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5
1917echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;}
1918   { (exit 1); exit 1; }; }
1919  fi
1920
1921  # Check whether automake is the correct version
1922  correct_version='1.9.6'
1923  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
1924  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5
1925echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6
1926  automake --version > confauto.out 2>&1
1927  if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
1928    echo "$as_me:$LINENO: result: yes" >&5
1929echo "${ECHO_T}yes" >&6
1930  else
1931    rm -f confauto.out
1932    echo "$as_me:$LINENO: result: no" >&5
1933echo "${ECHO_T}no" >&6
1934    { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5
1935echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;}
1936   { (exit 1); exit 1; }; }
1937  fi
1938  rm -f confauto.out
1939
1940  # Check if the executable automake is picked up from the correct location
1941  echo "$as_me:$LINENO: checking whether automake is coming from the correct location" >&5
1942echo $ECHO_N "checking whether automake is coming from the correct location... $ECHO_C" >&6
1943  automake_dir=`which automake | sed -e 's=/automake=='`
1944  automake_dir=`cd $automake_dir; pwd`
1945  if test x$AUTOTOOLS_DIR = x; then
1946    want_dir=$HOME/bin
1947  else
1948    want_dir=$AUTOTOOLS_DIR/bin
1949  fi
1950  if test $automake_dir = `cd $want_dir; pwd`; then
1951    echo "$as_me:$LINENO: result: yes" >&5
1952echo "${ECHO_T}yes" >&6
1953  else
1954    rm -f confauto.out
1955    echo "$as_me:$LINENO: result: no" >&5
1956echo "${ECHO_T}no" >&6
1957    { { echo "$as_me:$LINENO: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5
1958echo "$as_me: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;}
1959   { (exit 1); exit 1; }; }
1960  fi
1961
1962  # Check if we can find the libtool file
1963  if test x$AUTOTOOLS_DIR = x; then
1964    want_dir=$HOME/share
1965  else
1966    want_dir=$AUTOTOOLS_DIR/share
1967  fi
1968  as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh`
1969echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5
1970echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6
1971if eval "test \"\${$as_ac_File+set}\" = set"; then
1972  echo $ECHO_N "(cached) $ECHO_C" >&6
1973else
1974  test "$cross_compiling" = yes &&
1975  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1976echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1977   { (exit 1); exit 1; }; }
1978if test -r "$want_dir/aclocal/libtool.m4"; then
1979  eval "$as_ac_File=yes"
1980else
1981  eval "$as_ac_File=no"
1982fi
1983fi
1984echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
1985echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
1986if test `eval echo '${'$as_ac_File'}'` = yes; then
1987  LIBTOOLM4="$want_dir/aclocal/libtool.m4"
1988else
1989  { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
1990echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
1991   { (exit 1); exit 1; }; }
1992fi
1993
1994
1995  # Check if this is the correct version of libtool (with escaped dots)
1996  correct_version='1.5.22'
1997  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
1998  as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh`
1999echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5
2000echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6
2001if eval "test \"\${$as_ac_File+set}\" = set"; then
2002  echo $ECHO_N "(cached) $ECHO_C" >&6
2003else
2004  test "$cross_compiling" = yes &&
2005  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2006echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2007   { (exit 1); exit 1; }; }
2008if test -r "$want_dir/libtool/ltmain.sh"; then
2009  eval "$as_ac_File=yes"
2010else
2011  eval "$as_ac_File=no"
2012fi
2013fi
2014echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2015echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2016if test `eval echo '${'$as_ac_File'}'` = yes; then
2017  have_ltmain=yes
2018else
2019  have_ltmain=no
2020fi
2021
2022  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5
2023echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6
2024  if test $have_ltmain = yes; then
2025    if $EGREP $grep_version $want_dir/libtool/ltmain.sh >/dev/null 2>&1; then
2026      echo "$as_me:$LINENO: result: yes" >&5
2027echo "${ECHO_T}yes" >&6
2028    else
2029      echo "$as_me:$LINENO: result: no" >&5
2030echo "${ECHO_T}no" >&6
2031      { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5
2032echo "$as_me: error: You don't have the correct version of libtool." >&2;}
2033   { (exit 1); exit 1; }; }
2034    fi
2035  else
2036    echo "$as_me:$LINENO: result: no" >&5
2037echo "${ECHO_T}no" >&6
2038    { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5
2039echo "$as_me: error: I cannot find the ltmain.sh file." >&2;}
2040   { (exit 1); exit 1; }; }
2041  fi
2042
2043  # Check if we have an Externals file
2044  if test -r $srcdir/Externals; then
2045    coin_have_externals=yes
2046  fi
2047  # Check if subversion is installed and understands https
2048  # Extract the first word of "svn", so it can be a program name with args.
2049set dummy svn; ac_word=$2
2050echo "$as_me:$LINENO: checking for $ac_word" >&5
2051echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2052if test "${ac_cv_prog_have_svn+set}" = set; then
2053  echo $ECHO_N "(cached) $ECHO_C" >&6
2054else
2055  if test -n "$have_svn"; then
2056  ac_cv_prog_have_svn="$have_svn" # Let the user override the test.
2057else
2058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059for as_dir in $PATH
2060do
2061  IFS=$as_save_IFS
2062  test -z "$as_dir" && as_dir=.
2063  for ac_exec_ext in '' $ac_executable_extensions; do
2064  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2065    ac_cv_prog_have_svn="yes"
2066    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2067    break 2
2068  fi
2069done
2070done
2071
2072  test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no"
2073fi
2074fi
2075have_svn=$ac_cv_prog_have_svn
2076if test -n "$have_svn"; then
2077  echo "$as_me:$LINENO: result: $have_svn" >&5
2078echo "${ECHO_T}$have_svn" >&6
2079else
2080  echo "$as_me:$LINENO: result: no" >&5
2081echo "${ECHO_T}no" >&6
2082fi
2083
2084  if test x$have_svn = xyes; then
2085    echo "$as_me:$LINENO: checking svn understands https" >&5
2086echo $ECHO_N "checking svn understands https... $ECHO_C" >&6
2087    svn --version > confauto.out 2>&1
2088    if $EGREP https confauto.out >/dev/null 2>&1; then
2089      echo "$as_me:$LINENO: result: yes" >&5
2090echo "${ECHO_T}yes" >&6
2091    else
2092      echo "$as_me:$LINENO: result: no" >&5
2093echo "${ECHO_T}no" >&6
2094      have_svn=no
2095    fi
2096    rm -f confauto.out
2097  fi
2098
2099  # Find the location of the BuildTools directory
2100  BUILDTOOLSDIR=
2101  if test -r $srcdir/BuildTools/coin.m4; then
2102    BUILDTOOLSDIR=$srcdir/BuildTools
2103  else
2104    if test -r $srcdir/../BuildTools/coin.m4; then
2105      BUILDTOOLSDIR=$srcdir/../BuildTools
2106    else
2107      if test -r $srcdir/../../BuildTools/coin.m4; then
2108        BUILDTOOLSDIR=$srcdir/../../BuildTools
2109      else
2110        { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
2111echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
2112   { (exit 1); exit 1; }; }
2113      fi
2114    fi
2115  fi
2116
2117
2118  # The following variable is set to the name of the directory where
2119  # the autotool scripts are located
2120
2121  AUX_DIR=$ac_aux_dir
2122fi
2123
2124# helpful variable for the base directory of this package
2125abs_source_dir=`cd $srcdir; pwd`
2126
2127
2128# Stuff for example Makefiles
2129if test x$prefix = xNONE; then
2130  full_prefix=$ac_default_prefix
2131else
2132  full_prefix=$prefix
2133fi
2134full_prefix=`cd $full_prefix ; pwd`
2135
2136abs_lib_dir=$full_prefix/lib
2137
2138abs_include_dir=$full_prefix/include
2139
2140abs_bin_dir=$full_prefix/bin
2141
2142
2143
2144if test $coin_have_externals = yes && test x$have_svn = xyes; then
2145  HAVE_EXTERNALS_TRUE=
2146  HAVE_EXTERNALS_FALSE='#'
2147else
2148  HAVE_EXTERNALS_TRUE='#'
2149  HAVE_EXTERNALS_FALSE=
2150fi
2151
2152
2153
2154#############################################################################
2155#             Check which ThirdParty sources are available                  #
2156#############################################################################
2157
2158echo "$as_me:$LINENO: checking whether code for third party package Blas is available" >&5
2159echo $ECHO_N "checking whether code for third party package Blas is available... $ECHO_C" >&6
2160coin_skip=no
2161if test x"$COIN_SKIP_PROJECTS" != x; then
2162  for dir in $COIN_SKIP_PROJECTS; do
2163    if test $dir = ThirdParty/Blas; then
2164      coin_skip=yes
2165    fi
2166  done
2167fi
2168if test $coin_skip = yes; then
2169  echo "$as_me:$LINENO: result: skipping" >&5
2170echo "${ECHO_T}skipping" >&6
2171elif test -r $srcdir/ThirdParty/Blas/daxpy.f; then
2172  coin_subdirs="$coin_subdirs ThirdParty/Blas"
2173  echo "$as_me:$LINENO: result: yes" >&5
2174echo "${ECHO_T}yes" >&6
2175
2176
2177subdirs="$subdirs ThirdParty/Blas"
2178
2179else
2180  echo "$as_me:$LINENO: result: no" >&5
2181echo "${ECHO_T}no" >&6
2182fi
2183
2184echo "$as_me:$LINENO: checking whether code for third party package Lapack is available" >&5
2185echo $ECHO_N "checking whether code for third party package Lapack is available... $ECHO_C" >&6
2186coin_skip=no
2187if test x"$COIN_SKIP_PROJECTS" != x; then
2188  for dir in $COIN_SKIP_PROJECTS; do
2189    if test $dir = ThirdParty/Lapack; then
2190      coin_skip=yes
2191    fi
2192  done
2193fi
2194if test $coin_skip = yes; then
2195  echo "$as_me:$LINENO: result: skipping" >&5
2196echo "${ECHO_T}skipping" >&6
2197elif test -r $srcdir/ThirdParty/Lapack/LAPACK/SRC/dlarf.f; then
2198  coin_subdirs="$coin_subdirs ThirdParty/Lapack"
2199  echo "$as_me:$LINENO: result: yes" >&5
2200echo "${ECHO_T}yes" >&6
2201
2202
2203subdirs="$subdirs ThirdParty/Lapack"
2204
2205else
2206  echo "$as_me:$LINENO: result: no" >&5
2207echo "${ECHO_T}no" >&6
2208fi
2209
2210echo "$as_me:$LINENO: checking whether code for third party package HSL is available" >&5
2211echo $ECHO_N "checking whether code for third party package HSL is available... $ECHO_C" >&6
2212coin_skip=no
2213if test x"$COIN_SKIP_PROJECTS" != x; then
2214  for dir in $COIN_SKIP_PROJECTS; do
2215    if test $dir = ThirdParty/HSL; then
2216      coin_skip=yes
2217    fi
2218  done
2219fi
2220if test $coin_skip = yes; then
2221  echo "$as_me:$LINENO: result: skipping" >&5
2222echo "${ECHO_T}skipping" >&6
2223elif test -r $srcdir/ThirdParty/HSL/configure.ac; then
2224  coin_subdirs="$coin_subdirs ThirdParty/HSL"
2225  echo "$as_me:$LINENO: result: yes" >&5
2226echo "${ECHO_T}yes" >&6
2227
2228
2229subdirs="$subdirs ThirdParty/HSL"
2230
2231else
2232  echo "$as_me:$LINENO: result: no" >&5
2233echo "${ECHO_T}no" >&6
2234fi
2235
2236echo "$as_me:$LINENO: checking whether code for third party package ASL is available" >&5
2237echo $ECHO_N "checking whether code for third party package ASL is available... $ECHO_C" >&6
2238coin_skip=no
2239if test x"$COIN_SKIP_PROJECTS" != x; then
2240  for dir in $COIN_SKIP_PROJECTS; do
2241    if test $dir = ThirdParty/ASL; then
2242      coin_skip=yes
2243    fi
2244  done
2245fi
2246if test $coin_skip = yes; then
2247  echo "$as_me:$LINENO: result: skipping" >&5
2248echo "${ECHO_T}skipping" >&6
2249elif test -r $srcdir/ThirdParty/ASL/solvers/asl.h; then
2250  coin_subdirs="$coin_subdirs ThirdParty/ASL"
2251  echo "$as_me:$LINENO: result: yes" >&5
2252echo "${ECHO_T}yes" >&6
2253
2254
2255subdirs="$subdirs ThirdParty/ASL"
2256
2257else
2258  echo "$as_me:$LINENO: result: no" >&5
2259echo "${ECHO_T}no" >&6
2260fi
2261
2262
2263#############################################################################
2264#                  Check which subprojects are there                        #
2265#############################################################################
2266
2267
2268
2269echo "$as_me:$LINENO: checking whether directory CoinUtils is available" >&5
2270echo $ECHO_N "checking whether directory CoinUtils is available... $ECHO_C" >&6
2271                coin_skip=no
2272                if test x"$COIN_SKIP_PROJECTS" != x; then
2273                  for dir in $COIN_SKIP_PROJECTS; do
2274                    if test $dir = CoinUtils; then
2275                      coin_skip=yes
2276                    fi
2277                  done
2278                fi
2279                if test $coin_skip = yes; then
2280                  echo "$as_me:$LINENO: result: skipping" >&5
2281echo "${ECHO_T}skipping" >&6
2282                elif test -r $srcdir/CoinUtils/configure; then
2283                  coin_subdirs="$coin_subdirs CoinUtils"
2284                  echo "$as_me:$LINENO: result: yes" >&5
2285echo "${ECHO_T}yes" >&6
2286
2287
2288subdirs="$subdirs CoinUtils"
2289
2290                else
2291                  echo "$as_me:$LINENO: result: no" >&5
2292echo "${ECHO_T}no" >&6
2293                fi
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307echo "$as_me:$LINENO: checking whether directory Data/Netlib is available" >&5
2308echo $ECHO_N "checking whether directory Data/Netlib is available... $ECHO_C" >&6
2309                coin_skip=no
2310                if test x"$COIN_SKIP_PROJECTS" != x; then
2311                  for dir in $COIN_SKIP_PROJECTS; do
2312                    if test $dir = Data/Netlib; then
2313                      coin_skip=yes
2314                    fi
2315                  done
2316                fi
2317                if test $coin_skip = yes; then
2318                  echo "$as_me:$LINENO: result: skipping" >&5
2319echo "${ECHO_T}skipping" >&6
2320                elif test -r $srcdir/Data/Netlib/configure; then
2321                  coin_subdirs="$coin_subdirs Data/Netlib"
2322                  echo "$as_me:$LINENO: result: yes" >&5
2323echo "${ECHO_T}yes" >&6
2324
2325
2326subdirs="$subdirs Data/Netlib"
2327
2328                else
2329                  echo "$as_me:$LINENO: result: no" >&5
2330echo "${ECHO_T}no" >&6
2331                fi
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345echo "$as_me:$LINENO: checking whether directory Data/Sample is available" >&5
2346echo $ECHO_N "checking whether directory Data/Sample is available... $ECHO_C" >&6
2347                coin_skip=no
2348                if test x"$COIN_SKIP_PROJECTS" != x; then
2349                  for dir in $COIN_SKIP_PROJECTS; do
2350                    if test $dir = Data/Sample; then
2351                      coin_skip=yes
2352                    fi
2353                  done
2354                fi
2355                if test $coin_skip = yes; then
2356                  echo "$as_me:$LINENO: result: skipping" >&5
2357echo "${ECHO_T}skipping" >&6
2358                elif test -r $srcdir/Data/Sample/configure; then
2359                  coin_subdirs="$coin_subdirs Data/Sample"
2360                  echo "$as_me:$LINENO: result: yes" >&5
2361echo "${ECHO_T}yes" >&6
2362
2363
2364subdirs="$subdirs Data/Sample"
2365
2366                else
2367                  echo "$as_me:$LINENO: result: no" >&5
2368echo "${ECHO_T}no" >&6
2369                fi
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383echo "$as_me:$LINENO: checking whether directory Data/miplib3 is available" >&5
2384echo $ECHO_N "checking whether directory Data/miplib3 is available... $ECHO_C" >&6
2385                coin_skip=no
2386                if test x"$COIN_SKIP_PROJECTS" != x; then
2387                  for dir in $COIN_SKIP_PROJECTS; do
2388                    if test $dir = Data/miplib3; then
2389                      coin_skip=yes
2390                    fi
2391                  done
2392                fi
2393                if test $coin_skip = yes; then
2394                  echo "$as_me:$LINENO: result: skipping" >&5
2395echo "${ECHO_T}skipping" >&6
2396                elif test -r $srcdir/Data/miplib3/configure; then
2397                  coin_subdirs="$coin_subdirs Data/miplib3"
2398                  echo "$as_me:$LINENO: result: yes" >&5
2399echo "${ECHO_T}yes" >&6
2400
2401
2402subdirs="$subdirs Data/miplib3"
2403
2404                else
2405                  echo "$as_me:$LINENO: result: no" >&5
2406echo "${ECHO_T}no" >&6
2407                fi
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421echo "$as_me:$LINENO: checking whether directory Clp is available" >&5
2422echo $ECHO_N "checking whether directory Clp is available... $ECHO_C" >&6
2423                coin_skip=no
2424                if test x"$COIN_SKIP_PROJECTS" != x; then
2425                  for dir in $COIN_SKIP_PROJECTS; do
2426                    if test $dir = Clp; then
2427                      coin_skip=yes
2428                    fi
2429                  done
2430                fi
2431                if test $coin_skip = yes; then
2432                  echo "$as_me:$LINENO: result: skipping" >&5
2433echo "${ECHO_T}skipping" >&6
2434                elif test -r $srcdir/Clp/configure; then
2435                  coin_subdirs="$coin_subdirs Clp"
2436                  echo "$as_me:$LINENO: result: yes" >&5
2437echo "${ECHO_T}yes" >&6
2438
2439
2440subdirs="$subdirs Clp"
2441
2442                else
2443                  echo "$as_me:$LINENO: result: no" >&5
2444echo "${ECHO_T}no" >&6
2445                fi
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459echo "$as_me:$LINENO: checking whether directory Osi is available" >&5
2460echo $ECHO_N "checking whether directory Osi is available... $ECHO_C" >&6
2461                coin_skip=no
2462                if test x"$COIN_SKIP_PROJECTS" != x; then
2463                  for dir in $COIN_SKIP_PROJECTS; do
2464                    if test $dir = Osi; then
2465                      coin_skip=yes
2466                    fi
2467                  done
2468                fi
2469                if test $coin_skip = yes; then
2470                  echo "$as_me:$LINENO: result: skipping" >&5
2471echo "${ECHO_T}skipping" >&6
2472                elif test -r $srcdir/Osi/configure; then
2473                  coin_subdirs="$coin_subdirs Osi"
2474                  echo "$as_me:$LINENO: result: yes" >&5
2475echo "${ECHO_T}yes" >&6
2476
2477
2478subdirs="$subdirs Osi"
2479
2480                else
2481                  echo "$as_me:$LINENO: result: no" >&5
2482echo "${ECHO_T}no" >&6
2483                fi
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497echo "$as_me:$LINENO: checking whether directory Cgl is available" >&5
2498echo $ECHO_N "checking whether directory Cgl is available... $ECHO_C" >&6
2499                coin_skip=no
2500                if test x"$COIN_SKIP_PROJECTS" != x; then
2501                  for dir in $COIN_SKIP_PROJECTS; do
2502                    if test $dir = Cgl; then
2503                      coin_skip=yes
2504                    fi
2505                  done
2506                fi
2507                if test $coin_skip = yes; then
2508                  echo "$as_me:$LINENO: result: skipping" >&5
2509echo "${ECHO_T}skipping" >&6
2510                elif test -r $srcdir/Cgl/configure; then
2511                  coin_subdirs="$coin_subdirs Cgl"
2512                  echo "$as_me:$LINENO: result: yes" >&5
2513echo "${ECHO_T}yes" >&6
2514
2515
2516subdirs="$subdirs Cgl"
2517
2518                else
2519                  echo "$as_me:$LINENO: result: no" >&5
2520echo "${ECHO_T}no" >&6
2521                fi
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535echo "$as_me:$LINENO: checking whether directory Cbc is available" >&5
2536echo $ECHO_N "checking whether directory Cbc is available... $ECHO_C" >&6
2537                coin_skip=no
2538                if test x"$COIN_SKIP_PROJECTS" != x; then
2539                  for dir in $COIN_SKIP_PROJECTS; do
2540                    if test $dir = Cbc; then
2541                      coin_skip=yes
2542                    fi
2543                  done
2544                fi
2545                if test $coin_skip = yes; then
2546                  echo "$as_me:$LINENO: result: skipping" >&5
2547echo "${ECHO_T}skipping" >&6
2548                elif test -r $srcdir/Cbc/configure; then
2549                  coin_subdirs="$coin_subdirs Cbc"
2550                  echo "$as_me:$LINENO: result: yes" >&5
2551echo "${ECHO_T}yes" >&6
2552
2553
2554subdirs="$subdirs Cbc"
2555
2556                else
2557                  echo "$as_me:$LINENO: result: no" >&5
2558echo "${ECHO_T}no" >&6
2559                fi
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573echo "$as_me:$LINENO: checking whether directory Bcp is available" >&5
2574echo $ECHO_N "checking whether directory Bcp is available... $ECHO_C" >&6
2575                coin_skip=no
2576                if test x"$COIN_SKIP_PROJECTS" != x; then
2577                  for dir in $COIN_SKIP_PROJECTS; do
2578                    if test $dir = Bcp; then
2579                      coin_skip=yes
2580                    fi
2581                  done
2582                fi
2583                if test $coin_skip = yes; then
2584                  echo "$as_me:$LINENO: result: skipping" >&5
2585echo "${ECHO_T}skipping" >&6
2586                elif test -r $srcdir/Bcp/configure; then
2587                  coin_subdirs="$coin_subdirs Bcp"
2588                  echo "$as_me:$LINENO: result: yes" >&5
2589echo "${ECHO_T}yes" >&6
2590
2591
2592subdirs="$subdirs Bcp"
2593
2594                else
2595                  echo "$as_me:$LINENO: result: no" >&5
2596echo "${ECHO_T}no" >&6
2597                fi
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611echo "$as_me:$LINENO: checking whether directory Ipopt is available" >&5
2612echo $ECHO_N "checking whether directory Ipopt is available... $ECHO_C" >&6
2613                coin_skip=no
2614                if test x"$COIN_SKIP_PROJECTS" != x; then
2615                  for dir in $COIN_SKIP_PROJECTS; do
2616                    if test $dir = Ipopt; then
2617                      coin_skip=yes
2618                    fi
2619                  done
2620                fi
2621                if test $coin_skip = yes; then
2622                  echo "$as_me:$LINENO: result: skipping" >&5
2623echo "${ECHO_T}skipping" >&6
2624                elif test -r $srcdir/Ipopt/configure; then
2625                  coin_subdirs="$coin_subdirs Ipopt"
2626                  echo "$as_me:$LINENO: result: yes" >&5
2627echo "${ECHO_T}yes" >&6
2628
2629
2630subdirs="$subdirs Ipopt"
2631
2632                else
2633                  echo "$as_me:$LINENO: result: no" >&5
2634echo "${ECHO_T}no" >&6
2635                fi
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649echo "$as_me:$LINENO: checking whether directory Bonmin is available" >&5
2650echo $ECHO_N "checking whether directory Bonmin is available... $ECHO_C" >&6
2651                coin_skip=no
2652                if test x"$COIN_SKIP_PROJECTS" != x; then
2653                  for dir in $COIN_SKIP_PROJECTS; do
2654                    if test $dir = Bonmin; then
2655                      coin_skip=yes
2656                    fi
2657                  done
2658                fi
2659                if test $coin_skip = yes; then
2660                  echo "$as_me:$LINENO: result: skipping" >&5
2661echo "${ECHO_T}skipping" >&6
2662                elif test -r $srcdir/Bonmin/configure; then
2663                  coin_subdirs="$coin_subdirs Bonmin"
2664                  echo "$as_me:$LINENO: result: yes" >&5
2665echo "${ECHO_T}yes" >&6
2666
2667
2668subdirs="$subdirs Bonmin"
2669
2670                else
2671                  echo "$as_me:$LINENO: result: no" >&5
2672echo "${ECHO_T}no" >&6
2673                fi
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686##############################################################################
2687#                   Finishing up by writing all the output                   #
2688##############################################################################
2689
2690# Here list all the files that configure should create (except for the
2691# configuration header file)
2692          ac_config_files="$ac_config_files Makefile"
2693
2694
2695# Finally, we let configure write all the output...
2696
2697FADDLIBS="$ADDLIBS"
2698if test x"$coin_need_flibs" = xyes; then
2699  ADDLIBS="$ADDLIBS $FLIBS"
2700fi
2701
2702# library extension
2703
2704case "$CC" in
2705  cl*) LIBEXT=lib ;;
2706    *) LIBEXT=a ;;
2707esac
2708
2709# Define VPATH_DISTCLEANFILES to be everything that needs to be
2710# cleaned for distclean in a vpath configuration
2711
2712VPATH_DISTCLEANFILES="$coin_vpath_link_files"
2713
2714cat >confcache <<\_ACEOF
2715# This file is a shell script that caches the results of configure
2716# tests run on this system so they can be shared between configure
2717# scripts and configure runs, see configure's option --config-cache.
2718# It is not useful on other systems.  If it contains results you don't
2719# want to keep, you may remove or edit it.
2720#
2721# config.status only pays attention to the cache file if you give it
2722# the --recheck option to rerun configure.
2723#
2724# `ac_cv_env_foo' variables (set or unset) will be overridden when
2725# loading this file, other *unset* `ac_cv_foo' will be assigned the
2726# following values.
2727
2728_ACEOF
2729
2730# The following way of writing the cache mishandles newlines in values,
2731# but we know of no workaround that is simple, portable, and efficient.
2732# So, don't put newlines in cache variables' values.
2733# Ultrix sh set writes to stderr and can't be redirected directly,
2734# and sets the high bit in the cache file unless we assign to the vars.
2735{
2736  (set) 2>&1 |
2737    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2738    *ac_space=\ *)
2739      # `set' does not quote correctly, so add quotes (double-quote
2740      # substitution turns \\\\ into \\, and sed turns \\ into \).
2741      sed -n \
2742        "s/'/'\\\\''/g;
2743          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2744      ;;
2745    *)
2746      # `set' quotes correctly as required by POSIX, so do not add quotes.
2747      sed -n \
2748        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2749      ;;
2750    esac;
2751} |
2752  sed '
2753     t clear
2754     : clear
2755     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2756     t end
2757     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2758     : end' >>confcache
2759if diff $cache_file confcache >/dev/null 2>&1; then :; else
2760  if test -w $cache_file; then
2761    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2762    cat confcache >$cache_file
2763  else
2764    echo "not updating unwritable cache $cache_file"
2765  fi
2766fi
2767rm -f confcache
2768
2769test "x$prefix" = xNONE && prefix=$ac_default_prefix
2770# Let make expand exec_prefix.
2771test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2772
2773# VPATH may cause trouble with some makes, so we remove $(srcdir),
2774# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2775# trailing colons and then remove the whole line if VPATH becomes empty
2776# (actually we leave an empty line to preserve line numbers).
2777if test "x$srcdir" = x.; then
2778  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2779s/:*\$(srcdir):*/:/;
2780s/:*\${srcdir}:*/:/;
2781s/:*@srcdir@:*/:/;
2782s/^\([^=]*=[     ]*\):*/\1/;
2783s/:*$//;
2784s/^[^=]*=[       ]*$//;
2785}'
2786fi
2787
2788# Transform confdefs.h into DEFS.
2789# Protect against shell expansion while executing Makefile rules.
2790# Protect against Makefile macro expansion.
2791#
2792# If the first sed substitution is executed (which looks for macros that
2793# take arguments), then we branch to the quote section.  Otherwise,
2794# look for a macro that doesn't take arguments.
2795cat >confdef2opt.sed <<\_ACEOF
2796t clear
2797: clear
2798s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2799t quote
2800s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2801t quote
2802d
2803: quote
2804s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2805s,\[,\\&,g
2806s,\],\\&,g
2807s,\$,$$,g
2808p
2809_ACEOF
2810# We use echo to avoid assuming a particular line-breaking character.
2811# The extra dot is to prevent the shell from consuming trailing
2812# line-breaks from the sub-command output.  A line-break within
2813# single-quotes doesn't work because, if this script is created in a
2814# platform that uses two characters for line-breaks (e.g., DOS), tr
2815# would break.
2816ac_LF_and_DOT=`echo; echo .`
2817DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2818rm -f confdef2opt.sed
2819
2820
2821ac_libobjs=
2822ac_ltlibobjs=
2823for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2824  # 1. Remove the extension, and $U if already installed.
2825  ac_i=`echo "$ac_i" |
2826         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2827  # 2. Add them.
2828  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2829  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2830done
2831LIBOBJS=$ac_libobjs
2832
2833LTLIBOBJS=$ac_ltlibobjs
2834
2835
2836if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2837  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
2838Usually this means the macro was only invoked conditionally." >&5
2839echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
2840Usually this means the macro was only invoked conditionally." >&2;}
2841   { (exit 1); exit 1; }; }
2842fi
2843if test -z "${HAVE_EXTERNALS_TRUE}" && test -z "${HAVE_EXTERNALS_FALSE}"; then
2844  { { echo "$as_me:$LINENO: error: conditional \"HAVE_EXTERNALS\" was never defined.
2845Usually this means the macro was only invoked conditionally." >&5
2846echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
2847Usually this means the macro was only invoked conditionally." >&2;}
2848   { (exit 1); exit 1; }; }
2849fi
2850
2851: ${CONFIG_STATUS=./config.status}
2852ac_clean_files_save=$ac_clean_files
2853ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2854{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2855echo "$as_me: creating $CONFIG_STATUS" >&6;}
2856cat >$CONFIG_STATUS <<_ACEOF
2857#! $SHELL
2858# Generated by $as_me.
2859# Run this file to recreate the current configuration.
2860# Compiler output produced by configure, useful for debugging
2861# configure, is in config.log if it exists.
2862
2863debug=false
2864ac_cs_recheck=false
2865ac_cs_silent=false
2866SHELL=\${CONFIG_SHELL-$SHELL}
2867_ACEOF
2868
2869cat >>$CONFIG_STATUS <<\_ACEOF
2870## --------------------- ##
2871## M4sh Initialization.  ##
2872## --------------------- ##
2873
2874# Be Bourne compatible
2875if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2876  emulate sh
2877  NULLCMD=:
2878  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2879  # is contrary to our usage.  Disable this feature.
2880  alias -g '${1+"$@"}'='"$@"'
2881elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2882  set -o posix
2883fi
2884DUALCASE=1; export DUALCASE # for MKS sh
2885
2886# Support unset when possible.
2887if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2888  as_unset=unset
2889else
2890  as_unset=false
2891fi
2892
2893
2894# Work around bugs in pre-3.0 UWIN ksh.
2895$as_unset ENV MAIL MAILPATH
2896PS1='$ '
2897PS2='> '
2898PS4='+ '
2899
2900# NLS nuisances.
2901for as_var in \
2902  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2903  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2904  LC_TELEPHONE LC_TIME
2905do
2906  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2907    eval $as_var=C; export $as_var
2908  else
2909    $as_unset $as_var
2910  fi
2911done
2912
2913# Required to use basename.
2914if expr a : '\(a\)' >/dev/null 2>&1; then
2915  as_expr=expr
2916else
2917  as_expr=false
2918fi
2919
2920if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2921  as_basename=basename
2922else
2923  as_basename=false
2924fi
2925
2926
2927# Name of the executable.
2928as_me=`$as_basename "$0" ||
2929$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2930         X"$0" : 'X\(//\)$' \| \
2931         X"$0" : 'X\(/\)$' \| \
2932         .     : '\(.\)' 2>/dev/null ||
2933echo X/"$0" |
2934    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2935          /^X\/\(\/\/\)$/{ s//\1/; q; }
2936          /^X\/\(\/\).*/{ s//\1/; q; }
2937          s/.*/./; q'`
2938
2939
2940# PATH needs CR, and LINENO needs CR and PATH.
2941# Avoid depending upon Character Ranges.
2942as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2943as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2944as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2945as_cr_digits='0123456789'
2946as_cr_alnum=$as_cr_Letters$as_cr_digits
2947
2948# The user is always right.
2949if test "${PATH_SEPARATOR+set}" != set; then
2950  echo "#! /bin/sh" >conf$$.sh
2951  echo  "exit 0"   >>conf$$.sh
2952  chmod +x conf$$.sh
2953  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2954    PATH_SEPARATOR=';'
2955  else
2956    PATH_SEPARATOR=:
2957  fi
2958  rm -f conf$$.sh
2959fi
2960
2961
2962  as_lineno_1=$LINENO
2963  as_lineno_2=$LINENO
2964  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2965  test "x$as_lineno_1" != "x$as_lineno_2" &&
2966  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2967  # Find who we are.  Look in the path if we contain no path at all
2968  # relative or not.
2969  case $0 in
2970    *[\\/]* ) as_myself=$0 ;;
2971    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2972for as_dir in $PATH
2973do
2974  IFS=$as_save_IFS
2975  test -z "$as_dir" && as_dir=.
2976  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2977done
2978
2979       ;;
2980  esac
2981  # We did not find ourselves, most probably we were run as `sh COMMAND'
2982  # in which case we are not to be found in the path.
2983  if test "x$as_myself" = x; then
2984    as_myself=$0
2985  fi
2986  if test ! -f "$as_myself"; then
2987    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2988echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2989   { (exit 1); exit 1; }; }
2990  fi
2991  case $CONFIG_SHELL in
2992  '')
2993    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2994for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2995do
2996  IFS=$as_save_IFS
2997  test -z "$as_dir" && as_dir=.
2998  for as_base in sh bash ksh sh5; do
2999         case $as_dir in
3000         /*)
3001           if ("$as_dir/$as_base" -c '
3002  as_lineno_1=$LINENO
3003  as_lineno_2=$LINENO
3004  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3005  test "x$as_lineno_1" != "x$as_lineno_2" &&
3006  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3007             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3008             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3009             CONFIG_SHELL=$as_dir/$as_base
3010             export CONFIG_SHELL
3011             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3012           fi;;
3013         esac
3014       done
3015done
3016;;
3017  esac
3018
3019  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3020  # uniformly replaced by the line number.  The first 'sed' inserts a
3021  # line-number line before each line; the second 'sed' does the real
3022  # work.  The second script uses 'N' to pair each line-number line
3023  # with the numbered line, and appends trailing '-' during
3024  # substitution so that $LINENO is not a special case at line end.
3025  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3026  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3027  sed '=' <$as_myself |
3028    sed '
3029      N
3030      s,$,-,
3031      : loop
3032      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3033      t loop
3034      s,-$,,
3035      s,^['$as_cr_digits']*\n,,
3036    ' >$as_me.lineno &&
3037  chmod +x $as_me.lineno ||
3038    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3039echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3040   { (exit 1); exit 1; }; }
3041
3042  # Don't try to exec as it changes $[0], causing all sort of problems
3043  # (the dirname of $[0] is not the place where we might find the
3044  # original and so on.  Autoconf is especially sensible to this).
3045  . ./$as_me.lineno
3046  # Exit status is that of the last command.
3047  exit
3048}
3049
3050
3051case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3052  *c*,-n*) ECHO_N= ECHO_C='
3053' ECHO_T='      ' ;;
3054  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3055  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
3056esac
3057
3058if expr a : '\(a\)' >/dev/null 2>&1; then
3059  as_expr=expr
3060else
3061  as_expr=false
3062fi
3063
3064rm -f conf$$ conf$$.exe conf$$.file
3065echo >conf$$.file
3066if ln -s conf$$.file conf$$ 2>/dev/null; then
3067  # We could just check for DJGPP; but this test a) works b) is more generic
3068  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3069  if test -f conf$$.exe; then
3070    # Don't use ln at all; we don't have any links
3071    as_ln_s='cp -p'
3072  else
3073    as_ln_s='ln -s'
3074  fi
3075elif ln conf$$.file conf$$ 2>/dev/null; then
3076  as_ln_s=ln
3077else
3078  as_ln_s='cp -p'
3079fi
3080rm -f conf$$ conf$$.exe conf$$.file
3081
3082if mkdir -p . 2>/dev/null; then
3083  as_mkdir_p=:
3084else
3085  test -d ./-p && rmdir ./-p
3086  as_mkdir_p=false
3087fi
3088
3089as_executable_p="test -f"
3090
3091# Sed expression to map a string onto a valid CPP name.
3092as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3093
3094# Sed expression to map a string onto a valid variable name.
3095as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3096
3097
3098# IFS
3099# We need space, tab and new line, in precisely that order.
3100as_nl='
3101'
3102IFS="   $as_nl"
3103
3104# CDPATH.
3105$as_unset CDPATH
3106
3107exec 6>&1
3108
3109# Open the log real soon, to keep \$[0] and so on meaningful, and to
3110# report actual input values of CONFIG_FILES etc. instead of their
3111# values after options handling.  Logging --version etc. is OK.
3112exec 5>>config.log
3113{
3114  echo
3115  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3116## Running $as_me. ##
3117_ASBOX
3118} >&5
3119cat >&5 <<_CSEOF
3120
3121This file was extended by Bonmin $as_me 0.1, which was
3122generated by GNU Autoconf 2.59.  Invocation command line was
3123
3124  CONFIG_FILES    = $CONFIG_FILES
3125  CONFIG_HEADERS  = $CONFIG_HEADERS
3126  CONFIG_LINKS    = $CONFIG_LINKS
3127  CONFIG_COMMANDS = $CONFIG_COMMANDS
3128  $ $0 $@
3129
3130_CSEOF
3131echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3132echo >&5
3133_ACEOF
3134
3135# Files that config.status was made for.
3136if test -n "$ac_config_files"; then
3137  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3138fi
3139
3140if test -n "$ac_config_headers"; then
3141  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3142fi
3143
3144if test -n "$ac_config_links"; then
3145  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3146fi
3147
3148if test -n "$ac_config_commands"; then
3149  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3150fi
3151
3152cat >>$CONFIG_STATUS <<\_ACEOF
3153
3154ac_cs_usage="\
3155\`$as_me' instantiates files from templates according to the
3156current configuration.
3157
3158Usage: $0 [OPTIONS] [FILE]...
3159
3160  -h, --help       print this help, then exit
3161  -V, --version    print version number, then exit
3162  -q, --quiet      do not print progress messages
3163  -d, --debug      don't remove temporary files
3164      --recheck    update $as_me by reconfiguring in the same conditions
3165  --file=FILE[:TEMPLATE]
3166                   instantiate the configuration file FILE
3167
3168Configuration files:
3169$config_files
3170
3171Report bugs to <bug-autoconf@gnu.org>."
3172_ACEOF
3173
3174cat >>$CONFIG_STATUS <<_ACEOF
3175ac_cs_version="\\
3176Bonmin config.status 0.1
3177configured by $0, generated by GNU Autoconf 2.59,
3178  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3179
3180Copyright (C) 2003 Free Software Foundation, Inc.
3181This config.status script is free software; the Free Software Foundation
3182gives unlimited permission to copy, distribute and modify it."
3183srcdir=$srcdir
3184INSTALL="$INSTALL"
3185_ACEOF
3186
3187cat >>$CONFIG_STATUS <<\_ACEOF
3188# If no file are specified by the user, then we need to provide default
3189# value.  By we need to know if files were specified by the user.
3190ac_need_defaults=:
3191while test $# != 0
3192do
3193  case $1 in
3194  --*=*)
3195    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3196    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3197    ac_shift=:
3198    ;;
3199  -*)
3200    ac_option=$1
3201    ac_optarg=$2
3202    ac_shift=shift
3203    ;;
3204  *) # This is not an option, so the user has probably given explicit
3205     # arguments.
3206     ac_option=$1
3207     ac_need_defaults=false;;
3208  esac
3209
3210  case $ac_option in
3211  # Handling of the options.
3212_ACEOF
3213cat >>$CONFIG_STATUS <<\_ACEOF
3214  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3215    ac_cs_recheck=: ;;
3216  --version | --vers* | -V )
3217    echo "$ac_cs_version"; exit 0 ;;
3218  --he | --h)
3219    # Conflict between --help and --header
3220    { { echo "$as_me:$LINENO: error: ambiguous option: $1
3221Try \`$0 --help' for more information." >&5
3222echo "$as_me: error: ambiguous option: $1
3223Try \`$0 --help' for more information." >&2;}
3224   { (exit 1); exit 1; }; };;
3225  --help | --hel | -h )
3226    echo "$ac_cs_usage"; exit 0 ;;
3227  --debug | --d* | -d )
3228    debug=: ;;
3229  --file | --fil | --fi | --f )
3230    $ac_shift
3231    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3232    ac_need_defaults=false;;
3233  --header | --heade | --head | --hea )
3234    $ac_shift
3235    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3236    ac_need_defaults=false;;
3237  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3238  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3239    ac_cs_silent=: ;;
3240
3241  # This is an error.
3242  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3243Try \`$0 --help' for more information." >&5
3244echo "$as_me: error: unrecognized option: $1
3245Try \`$0 --help' for more information." >&2;}
3246   { (exit 1); exit 1; }; } ;;
3247
3248  *) ac_config_targets="$ac_config_targets $1" ;;
3249
3250  esac
3251  shift
3252done
3253
3254ac_configure_extra_args=
3255
3256if $ac_cs_silent; then
3257  exec 6>/dev/null
3258  ac_configure_extra_args="$ac_configure_extra_args --silent"
3259fi
3260
3261_ACEOF
3262cat >>$CONFIG_STATUS <<_ACEOF
3263if \$ac_cs_recheck; then
3264  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3265  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3266fi
3267
3268_ACEOF
3269
3270
3271
3272
3273
3274cat >>$CONFIG_STATUS <<\_ACEOF
3275for ac_config_target in $ac_config_targets
3276do
3277  case "$ac_config_target" in
3278  # Handling of arguments.
3279  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3280  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3281echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3282   { (exit 1); exit 1; }; };;
3283  esac
3284done
3285
3286# If the user did not use the arguments to specify the items to instantiate,
3287# then the envvar interface is used.  Set only those that are not.
3288# We use the long form for the default assignment because of an extremely
3289# bizarre bug on SunOS 4.1.3.
3290if $ac_need_defaults; then
3291  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3292fi
3293
3294# Have a temporary directory for convenience.  Make it in the build tree
3295# simply because there is no reason to put it here, and in addition,
3296# creating and moving files from /tmp can sometimes cause problems.
3297# Create a temporary directory, and hook for its removal unless debugging.
3298$debug ||
3299{
3300  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3301  trap '{ (exit 1); exit 1; }' 1 2 13 15
3302}
3303
3304# Create a (secure) tmp directory for tmp files.
3305
3306{
3307  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3308  test -n "$tmp" && test -d "$tmp"
3309}  ||
3310{
3311  tmp=./confstat$$-$RANDOM
3312  (umask 077 && mkdir $tmp)
3313} ||
3314{
3315   echo "$me: cannot create a temporary directory in ." >&2
3316   { (exit 1); exit 1; }
3317}
3318
3319_ACEOF
3320
3321cat >>$CONFIG_STATUS <<_ACEOF
3322
3323#
3324# CONFIG_FILES section.
3325#
3326
3327# No need to generate the scripts if there are no CONFIG_FILES.
3328# This happens for instance when ./config.status config.h
3329if test -n "\$CONFIG_FILES"; then
3330  # Protect against being on the right side of a sed subst in config.status.
3331  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3332   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3333s,@SHELL@,$SHELL,;t t
3334s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3335s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3336s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3337s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3338s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3339s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3340s,@exec_prefix@,$exec_prefix,;t t
3341s,@prefix@,$prefix,;t t
3342s,@program_transform_name@,$program_transform_name,;t t
3343s,@bindir@,$bindir,;t t
3344s,@sbindir@,$sbindir,;t t
3345s,@libexecdir@,$libexecdir,;t t
3346s,@datadir@,$datadir,;t t
3347s,@sysconfdir@,$sysconfdir,;t t
3348s,@sharedstatedir@,$sharedstatedir,;t t
3349s,@localstatedir@,$localstatedir,;t t
3350s,@libdir@,$libdir,;t t
3351s,@includedir@,$includedir,;t t
3352s,@oldincludedir@,$oldincludedir,;t t
3353s,@infodir@,$infodir,;t t
3354s,@mandir@,$mandir,;t t
3355s,@build_alias@,$build_alias,;t t
3356s,@host_alias@,$host_alias,;t t
3357s,@target_alias@,$target_alias,;t t
3358s,@DEFS@,$DEFS,;t t
3359s,@ECHO_C@,$ECHO_C,;t t
3360s,@ECHO_N@,$ECHO_N,;t t
3361s,@ECHO_T@,$ECHO_T,;t t
3362s,@LIBS@,$LIBS,;t t
3363s,@EGREP@,$EGREP,;t t
3364s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3365s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3366s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3367s,@CYGPATH_W@,$CYGPATH_W,;t t
3368s,@PACKAGE@,$PACKAGE,;t t
3369s,@VERSION@,$VERSION,;t t
3370s,@ACLOCAL@,$ACLOCAL,;t t
3371s,@AUTOCONF@,$AUTOCONF,;t t
3372s,@AUTOMAKE@,$AUTOMAKE,;t t
3373s,@AUTOHEADER@,$AUTOHEADER,;t t
3374s,@MAKEINFO@,$MAKEINFO,;t t
3375s,@install_sh@,$install_sh,;t t
3376s,@STRIP@,$STRIP,;t t
3377s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3378s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3379s,@mkdir_p@,$mkdir_p,;t t
3380s,@AWK@,$AWK,;t t
3381s,@SET_MAKE@,$SET_MAKE,;t t
3382s,@am__leading_dot@,$am__leading_dot,;t t
3383s,@AMTAR@,$AMTAR,;t t
3384s,@am__tar@,$am__tar,;t t
3385s,@am__untar@,$am__untar,;t t
3386s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
3387s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
3388s,@MAINT@,$MAINT,;t t
3389s,@LIBTOOLM4@,$LIBTOOLM4,;t t
3390s,@have_autoconf@,$have_autoconf,;t t
3391s,@have_automake@,$have_automake,;t t
3392s,@have_svn@,$have_svn,;t t
3393s,@BUILDTOOLSDIR@,$BUILDTOOLSDIR,;t t
3394s,@AUX_DIR@,$AUX_DIR,;t t
3395s,@abs_source_dir@,$abs_source_dir,;t t
3396s,@abs_lib_dir@,$abs_lib_dir,;t t
3397s,@abs_include_dir@,$abs_include_dir,;t t
3398s,@abs_bin_dir@,$abs_bin_dir,;t t
3399s,@HAVE_EXTERNALS_TRUE@,$HAVE_EXTERNALS_TRUE,;t t
3400s,@HAVE_EXTERNALS_FALSE@,$HAVE_EXTERNALS_FALSE,;t t
3401s,@subdirs@,$subdirs,;t t
3402s,@COIN_SKIP_PROJECTS@,$COIN_SKIP_PROJECTS,;t t
3403s,@LIBEXT@,$LIBEXT,;t t
3404s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
3405s,@LIBOBJS@,$LIBOBJS,;t t
3406s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3407CEOF
3408
3409_ACEOF
3410
3411  cat >>$CONFIG_STATUS <<\_ACEOF
3412  # Split the substitutions into bite-sized pieces for seds with
3413  # small command number limits, like on Digital OSF/1 and HP-UX.
3414  ac_max_sed_lines=48
3415  ac_sed_frag=1 # Number of current file.
3416  ac_beg=1 # First line for current file.
3417  ac_end=$ac_max_sed_lines # Line after last line for current file.
3418  ac_more_lines=:
3419  ac_sed_cmds=
3420  while $ac_more_lines; do
3421    if test $ac_beg -gt 1; then
3422      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3423    else
3424      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3425    fi
3426    if test ! -s $tmp/subs.frag; then
3427      ac_more_lines=false
3428    else
3429      # The purpose of the label and of the branching condition is to
3430      # speed up the sed processing (if there are no `@' at all, there
3431      # is no need to browse any of the substitutions).
3432      # These are the two extra sed commands mentioned above.
3433      (echo ':t
3434  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3435      if test -z "$ac_sed_cmds"; then
3436        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3437      else
3438        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3439      fi
3440      ac_sed_frag=`expr $ac_sed_frag + 1`
3441      ac_beg=$ac_end
3442      ac_end=`expr $ac_end + $ac_max_sed_lines`
3443    fi
3444  done
3445  if test -z "$ac_sed_cmds"; then
3446    ac_sed_cmds=cat
3447  fi
3448fi # test -n "$CONFIG_FILES"
3449
3450_ACEOF
3451cat >>$CONFIG_STATUS <<\_ACEOF
3452for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3453  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3454  case $ac_file in
3455  - | *:- | *:-:* ) # input from stdin
3456        cat >$tmp/stdin
3457        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3458        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3459  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3460        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3461  * )   ac_file_in=$ac_file.in ;;
3462  esac
3463
3464  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3465  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3466$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3467         X"$ac_file" : 'X\(//\)[^/]' \| \
3468         X"$ac_file" : 'X\(//\)$' \| \
3469         X"$ac_file" : 'X\(/\)' \| \
3470         .     : '\(.\)' 2>/dev/null ||
3471echo X"$ac_file" |
3472    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3473          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3474          /^X\(\/\/\)$/{ s//\1/; q; }
3475          /^X\(\/\).*/{ s//\1/; q; }
3476          s/.*/./; q'`
3477  { if $as_mkdir_p; then
3478    mkdir -p "$ac_dir"
3479  else
3480    as_dir="$ac_dir"
3481    as_dirs=
3482    while test ! -d "$as_dir"; do
3483      as_dirs="$as_dir $as_dirs"
3484      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3485$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3486         X"$as_dir" : 'X\(//\)[^/]' \| \
3487         X"$as_dir" : 'X\(//\)$' \| \
3488         X"$as_dir" : 'X\(/\)' \| \
3489         .     : '\(.\)' 2>/dev/null ||
3490echo X"$as_dir" |
3491    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3492          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3493          /^X\(\/\/\)$/{ s//\1/; q; }
3494          /^X\(\/\).*/{ s//\1/; q; }
3495          s/.*/./; q'`
3496    done
3497    test ! -n "$as_dirs" || mkdir $as_dirs
3498  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3499echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3500   { (exit 1); exit 1; }; }; }
3501
3502  ac_builddir=.
3503
3504if test "$ac_dir" != .; then
3505  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3506  # A "../" for each directory in $ac_dir_suffix.
3507  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3508else
3509  ac_dir_suffix= ac_top_builddir=
3510fi
3511
3512case $srcdir in
3513  .)  # No --srcdir option.  We are building in place.
3514    ac_srcdir=.
3515    if test -z "$ac_top_builddir"; then
3516       ac_top_srcdir=.
3517    else
3518       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3519    fi ;;
3520  [\\/]* | ?:[\\/]* )  # Absolute path.
3521    ac_srcdir=$srcdir$ac_dir_suffix;
3522    ac_top_srcdir=$srcdir ;;
3523  *) # Relative path.
3524    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3525    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3526esac
3527
3528# Do not use `cd foo && pwd` to compute absolute paths, because
3529# the directories may not exist.
3530case `pwd` in
3531.) ac_abs_builddir="$ac_dir";;
3532*)
3533  case "$ac_dir" in
3534  .) ac_abs_builddir=`pwd`;;
3535  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3536  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3537  esac;;
3538esac
3539case $ac_abs_builddir in
3540.) ac_abs_top_builddir=${ac_top_builddir}.;;
3541*)
3542  case ${ac_top_builddir}. in
3543  .) ac_abs_top_builddir=$ac_abs_builddir;;
3544  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3545  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3546  esac;;
3547esac
3548case $ac_abs_builddir in
3549.) ac_abs_srcdir=$ac_srcdir;;
3550*)
3551  case $ac_srcdir in
3552  .) ac_abs_srcdir=$ac_abs_builddir;;
3553  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3554  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3555  esac;;
3556esac
3557case $ac_abs_builddir in
3558.) ac_abs_top_srcdir=$ac_top_srcdir;;
3559*)
3560  case $ac_top_srcdir in
3561  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3562  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3563  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3564  esac;;
3565esac
3566
3567
3568  case $INSTALL in
3569  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3570  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3571  esac
3572
3573  if test x"$ac_file" != x-; then
3574    { echo "$as_me:$LINENO: creating $ac_file" >&5
3575echo "$as_me: creating $ac_file" >&6;}
3576    rm -f "$ac_file"
3577  fi
3578  # Let's still pretend it is `configure' which instantiates (i.e., don't
3579  # use $as_me), people would be surprised to read:
3580  #    /* config.h.  Generated by config.status.  */
3581  if test x"$ac_file" = x-; then
3582    configure_input=
3583  else
3584    configure_input="$ac_file.  "
3585  fi
3586  configure_input=$configure_input"Generated from `echo $ac_file_in |
3587                                     sed 's,.*/,,'` by configure."
3588
3589  # First look for the input files in the build tree, otherwise in the
3590  # src tree.
3591  ac_file_inputs=`IFS=:
3592    for f in $ac_file_in; do
3593      case $f in
3594      -) echo $tmp/stdin ;;
3595      [\\/$]*)
3596         # Absolute (can't be DOS-style, as IFS=:)
3597         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3598echo "$as_me: error: cannot find input file: $f" >&2;}
3599   { (exit 1); exit 1; }; }
3600         echo "$f";;
3601      *) # Relative
3602         if test -f "$f"; then
3603           # Build tree
3604           echo "$f"
3605         elif test -f "$srcdir/$f"; then
3606           # Source tree
3607           echo "$srcdir/$f"
3608         else
3609           # /dev/null tree
3610           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3611echo "$as_me: error: cannot find input file: $f" >&2;}
3612   { (exit 1); exit 1; }; }
3613         fi;;
3614      esac
3615    done` || { (exit 1); exit 1; }
3616_ACEOF
3617cat >>$CONFIG_STATUS <<_ACEOF
3618  sed "$ac_vpsub
3619$extrasub
3620_ACEOF
3621cat >>$CONFIG_STATUS <<\_ACEOF
3622:t
3623/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3624s,@configure_input@,$configure_input,;t t
3625s,@srcdir@,$ac_srcdir,;t t
3626s,@abs_srcdir@,$ac_abs_srcdir,;t t
3627s,@top_srcdir@,$ac_top_srcdir,;t t
3628s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3629s,@builddir@,$ac_builddir,;t t
3630s,@abs_builddir@,$ac_abs_builddir,;t t
3631s,@top_builddir@,$ac_top_builddir,;t t
3632s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3633s,@INSTALL@,$ac_INSTALL,;t t
3634" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3635  rm -f $tmp/stdin
3636  if test x"$ac_file" != x-; then
3637    mv $tmp/out $ac_file
3638  else
3639    cat $tmp/out
3640    rm -f $tmp/out
3641  fi
3642
3643done
3644_ACEOF
3645
3646cat >>$CONFIG_STATUS <<\_ACEOF
3647
3648{ (exit 0); exit 0; }
3649_ACEOF
3650chmod +x $CONFIG_STATUS
3651ac_clean_files=$ac_clean_files_save
3652
3653
3654# configure is writing to config.log, and then calls config.status.
3655# config.status does its own redirection, appending to config.log.
3656# Unfortunately, on DOS this fails, as config.log is still kept open
3657# by configure, so config.status won't be able to write to it; its
3658# output is simply discarded.  So we exec the FD to /dev/null,
3659# effectively closing config.log, so it can be properly (re)opened and
3660# appended to by config.status.  When coming back to configure, we
3661# need to make the FD available again.
3662if test "$no_create" != yes; then
3663  ac_cs_success=:
3664  ac_config_status_args=
3665  test "$silent" = yes &&
3666    ac_config_status_args="$ac_config_status_args --quiet"
3667  exec 5>/dev/null
3668  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3669  exec 5>>config.log
3670  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3671  # would make configure fail if this is the last instruction.
3672  $ac_cs_success || { (exit 1); exit 1; }
3673fi
3674
3675#
3676# CONFIG_SUBDIRS section.
3677#
3678if test "$no_recursion" != yes; then
3679
3680  # Remove --cache-file and --srcdir arguments so they do not pile up.
3681  ac_sub_configure_args=
3682  ac_prev=
3683  for ac_arg in $ac_configure_args; do
3684    if test -n "$ac_prev"; then
3685      ac_prev=
3686      continue
3687    fi
3688    case $ac_arg in
3689    -cache-file | --cache-file | --cache-fil | --cache-fi \
3690    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3691      ac_prev=cache_file ;;
3692    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3693    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3694    | --c=*)
3695      ;;
3696    --config-cache | -C)
3697      ;;
3698    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3699      ac_prev=srcdir ;;
3700    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3701      ;;
3702    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3703      ac_prev=prefix ;;
3704    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3705      ;;
3706    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3707    esac
3708  done
3709
3710  # Always prepend --prefix to ensure using the same prefix
3711  # in subdir configurations.
3712  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
3713
3714  ac_popdir=`pwd`
3715  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3716
3717    # Do not complain, so a configure script can configure whichever
3718    # parts of a large source tree are present.
3719    test -d $srcdir/$ac_dir || continue
3720
3721    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
3722echo "$as_me: configuring in $ac_dir" >&6;}
3723    { if $as_mkdir_p; then
3724    mkdir -p "$ac_dir"
3725  else
3726    as_dir="$ac_dir"
3727    as_dirs=
3728    while test ! -d "$as_dir"; do
3729      as_dirs="$as_dir $as_dirs"
3730      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3731$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3732         X"$as_dir" : 'X\(//\)[^/]' \| \
3733         X"$as_dir" : 'X\(//\)$' \| \
3734         X"$as_dir" : 'X\(/\)' \| \
3735         .     : '\(.\)' 2>/dev/null ||
3736echo X"$as_dir" |
3737    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3738          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3739          /^X\(\/\/\)$/{ s//\1/; q; }
3740          /^X\(\/\).*/{ s//\1/; q; }
3741          s/.*/./; q'`
3742    done
3743    test ! -n "$as_dirs" || mkdir $as_dirs
3744  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3745echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3746   { (exit 1); exit 1; }; }; }
3747
3748    ac_builddir=.
3749
3750if test "$ac_dir" != .; then
3751  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3752  # A "../" for each directory in $ac_dir_suffix.
3753  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3754else
3755  ac_dir_suffix= ac_top_builddir=
3756fi
3757
3758case $srcdir in
3759  .)  # No --srcdir option.  We are building in place.
3760    ac_srcdir=.
3761    if test -z "$ac_top_builddir"; then
3762       ac_top_srcdir=.
3763    else
3764       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3765    fi ;;
3766  [\\/]* | ?:[\\/]* )  # Absolute path.
3767    ac_srcdir=$srcdir$ac_dir_suffix;
3768    ac_top_srcdir=$srcdir ;;
3769  *) # Relative path.
3770    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3771    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3772esac
3773
3774# Do not use `cd foo && pwd` to compute absolute paths, because
3775# the directories may not exist.
3776case `pwd` in
3777.) ac_abs_builddir="$ac_dir";;
3778*)
3779  case "$ac_dir" in
3780  .) ac_abs_builddir=`pwd`;;
3781  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3782  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3783  esac;;
3784esac
3785case $ac_abs_builddir in
3786.) ac_abs_top_builddir=${ac_top_builddir}.;;
3787*)
3788  case ${ac_top_builddir}. in
3789  .) ac_abs_top_builddir=$ac_abs_builddir;;
3790  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3791  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3792  esac;;
3793esac
3794case $ac_abs_builddir in
3795.) ac_abs_srcdir=$ac_srcdir;;
3796*)
3797  case $ac_srcdir in
3798  .) ac_abs_srcdir=$ac_abs_builddir;;
3799  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3800  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3801  esac;;
3802esac
3803case $ac_abs_builddir in
3804.) ac_abs_top_srcdir=$ac_top_srcdir;;
3805*)
3806  case $ac_top_srcdir in
3807  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3808  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3809  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3810  esac;;
3811esac
3812
3813
3814    cd $ac_dir
3815
3816    # Check for guested configure; otherwise get Cygnus style configure.
3817    if test -f $ac_srcdir/configure.gnu; then
3818      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
3819    elif test -f $ac_srcdir/configure; then
3820      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
3821    elif test -f $ac_srcdir/configure.in; then
3822      ac_sub_configure=$ac_configure
3823    else
3824      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3825echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3826      ac_sub_configure=
3827    fi
3828
3829    # The recursion is here.
3830    if test -n "$ac_sub_configure"; then
3831      # Make the cache file name correct relative to the subdirectory.
3832      case $cache_file in
3833      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3834      *) # Relative path.
3835        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
3836      esac
3837
3838      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3839echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3840      # The eval makes quoting arguments work.
3841      eval $ac_sub_configure $ac_sub_configure_args \
3842           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
3843        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3844echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3845   { (exit 1); exit 1; }; }
3846    fi
3847
3848    cd $ac_popdir
3849  done
3850fi
3851
3852
3853if test x"$coin_vpath_link_files" = x; then : ; else
3854  { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
3855echo "$as_me: Creating VPATH links for data files" >&6;}
3856  for file in $coin_vpath_link_files; do
3857    rm -f $file
3858    $LN_S $abs_source_dir/$file $file
3859  done
3860fi
3861
3862if test x$coin_projectdir = xyes; then
3863  { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
3864echo "$as_me: Configuration of $PACKAGE_NAME successful" >&6;}
3865else
3866  { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&5
3867echo "$as_me: Main configuration of $PACKAGE_NAME successful" >&6;}
3868fi
3869
Note: See TracBrowser for help on using the repository browser.