source: branches/devel/configure @ 379

Last change on this file since 379 was 352, checked in by andreasw, 14 years ago

updated INSTALL file; reran autotools to get latest changes in BuildTools?

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