source: stable/1.1/configure @ 122

Last change on this file since 122 was 122, checked in by bjarni, 11 years ago

run autotools for stable 1.1

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