source: trunk/configure @ 370

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

added external for ThirdParty?/ASL

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