source: branches/Couenne/configure @ 534

Last change on this file since 534 was 193, checked in by pbonami, 13 years ago

This time import correctly Pietro Belotti's Couenne module

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