source: trunk/configure @ 371

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

added missing check for ASL in package configure script

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