source: branches/devel/configure @ 2264

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

added README file; incorporated corrections in coin.m4

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