source: branches/devel/configure @ 568

Last change on this file since 568 was 568, checked in by forrest, 13 years ago

try and fix ampl missing files

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