source: trunk/configure @ 342

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

use AC_COIN_FINALIZE

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