source: trunk/configure @ 292

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

added README file; incorporated corrections in coin.m4

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