source: trunk/configure @ 277

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

first working version with autotools

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