source: ThirdParty/ASL/trunk/configure @ 53

Last change on this file since 53 was 53, checked in by andreasw, 14 years ago

incorporated latest changes in BuildTools?

  • Property svn:executable set to *
File size: 148.6 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for ThirdPartyASL 0.0.
4#
5# Report bugs to <http://projects.coin-or.org/BuildTools/newticket>.
6#
7# Copyright (C) 2003 Free Software Foundation, Inc.
8# This configure script is free software; the Free Software Foundation
9# gives unlimited permission to copy, distribute and modify it.
10#
11#
12# Copyright 2006 International Business Machines and others.
13# All Rights Reserved.
14# This file is part of the open source package Coin which is distributed
15# under the Common Public License.
16## --------------------- ##
17## M4sh Initialization.  ##
18## --------------------- ##
19
20# Be Bourne compatible
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22  emulate sh
23  NULLCMD=:
24  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28  set -o posix
29fi
30DUALCASE=1; export DUALCASE # for MKS sh
31
32# Support unset when possible.
33if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34  as_unset=unset
35else
36  as_unset=false
37fi
38
39
40# Work around bugs in pre-3.0 UWIN ksh.
41$as_unset ENV MAIL MAILPATH
42PS1='$ '
43PS2='> '
44PS4='+ '
45
46# NLS nuisances.
47for as_var in \
48  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50  LC_TELEPHONE LC_TIME
51do
52  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53    eval $as_var=C; export $as_var
54  else
55    $as_unset $as_var
56  fi
57done
58
59# Required to use basename.
60if expr a : '\(a\)' >/dev/null 2>&1; then
61  as_expr=expr
62else
63  as_expr=false
64fi
65
66if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67  as_basename=basename
68else
69  as_basename=false
70fi
71
72
73# Name of the executable.
74as_me=`$as_basename "$0" ||
75$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
76         X"$0" : 'X\(//\)$' \| \
77         X"$0" : 'X\(/\)$' \| \
78         .     : '\(.\)' 2>/dev/null ||
79echo X/"$0" |
80    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
81          /^X\/\(\/\/\)$/{ s//\1/; q; }
82          /^X\/\(\/\).*/{ s//\1/; q; }
83          s/.*/./; q'`
84
85
86# PATH needs CR, and LINENO needs CR and PATH.
87# Avoid depending upon Character Ranges.
88as_cr_letters='abcdefghijklmnopqrstuvwxyz'
89as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
90as_cr_Letters=$as_cr_letters$as_cr_LETTERS
91as_cr_digits='0123456789'
92as_cr_alnum=$as_cr_Letters$as_cr_digits
93
94# The user is always right.
95if test "${PATH_SEPARATOR+set}" != set; then
96  echo "#! /bin/sh" >conf$$.sh
97  echo  "exit 0"   >>conf$$.sh
98  chmod +x conf$$.sh
99  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
100    PATH_SEPARATOR=';'
101  else
102    PATH_SEPARATOR=:
103  fi
104  rm -f conf$$.sh
105fi
106
107
108  as_lineno_1=$LINENO
109  as_lineno_2=$LINENO
110  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
111  test "x$as_lineno_1" != "x$as_lineno_2" &&
112  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
113  # Find who we are.  Look in the path if we contain no path at all
114  # relative or not.
115  case $0 in
116    *[\\/]* ) as_myself=$0 ;;
117    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
118for as_dir in $PATH
119do
120  IFS=$as_save_IFS
121  test -z "$as_dir" && as_dir=.
122  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
123done
124
125       ;;
126  esac
127  # We did not find ourselves, most probably we were run as `sh COMMAND'
128  # in which case we are not to be found in the path.
129  if test "x$as_myself" = x; then
130    as_myself=$0
131  fi
132  if test ! -f "$as_myself"; then
133    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
134   { (exit 1); exit 1; }; }
135  fi
136  case $CONFIG_SHELL in
137  '')
138    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
139for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
140do
141  IFS=$as_save_IFS
142  test -z "$as_dir" && as_dir=.
143  for as_base in sh bash ksh sh5; do
144         case $as_dir in
145         /*)
146           if ("$as_dir/$as_base" -c '
147  as_lineno_1=$LINENO
148  as_lineno_2=$LINENO
149  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
150  test "x$as_lineno_1" != "x$as_lineno_2" &&
151  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
152             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
153             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
154             CONFIG_SHELL=$as_dir/$as_base
155             export CONFIG_SHELL
156             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
157           fi;;
158         esac
159       done
160done
161;;
162  esac
163
164  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
165  # uniformly replaced by the line number.  The first 'sed' inserts a
166  # line-number line before each line; the second 'sed' does the real
167  # work.  The second script uses 'N' to pair each line-number line
168  # with the numbered line, and appends trailing '-' during
169  # substitution so that $LINENO is not a special case at line end.
170  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
171  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
172  sed '=' <$as_myself |
173    sed '
174      N
175      s,$,-,
176      : loop
177      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
178      t loop
179      s,-$,,
180      s,^['$as_cr_digits']*\n,,
181    ' >$as_me.lineno &&
182  chmod +x $as_me.lineno ||
183    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
184   { (exit 1); exit 1; }; }
185
186  # Don't try to exec as it changes $[0], causing all sort of problems
187  # (the dirname of $[0] is not the place where we might find the
188  # original and so on.  Autoconf is especially sensible to this).
189  . ./$as_me.lineno
190  # Exit status is that of the last command.
191  exit
192}
193
194
195case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
196  *c*,-n*) ECHO_N= ECHO_C='
197' ECHO_T='      ' ;;
198  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
199  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
200esac
201
202if expr a : '\(a\)' >/dev/null 2>&1; then
203  as_expr=expr
204else
205  as_expr=false
206fi
207
208rm -f conf$$ conf$$.exe conf$$.file
209echo >conf$$.file
210if ln -s conf$$.file conf$$ 2>/dev/null; then
211  # We could just check for DJGPP; but this test a) works b) is more generic
212  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
213  if test -f conf$$.exe; then
214    # Don't use ln at all; we don't have any links
215    as_ln_s='cp -p'
216  else
217    as_ln_s='ln -s'
218  fi
219elif ln conf$$.file conf$$ 2>/dev/null; then
220  as_ln_s=ln
221else
222  as_ln_s='cp -p'
223fi
224rm -f conf$$ conf$$.exe conf$$.file
225
226if mkdir -p . 2>/dev/null; then
227  as_mkdir_p=:
228else
229  test -d ./-p && rmdir ./-p
230  as_mkdir_p=false
231fi
232
233as_executable_p="test -f"
234
235# Sed expression to map a string onto a valid CPP name.
236as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
237
238# Sed expression to map a string onto a valid variable name.
239as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
240
241
242# IFS
243# We need space, tab and new line, in precisely that order.
244as_nl='
245'
246IFS="   $as_nl"
247
248# CDPATH.
249$as_unset CDPATH
250
251
252# Name of the host.
253# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
254# so uname gets run too.
255ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256
257exec 6>&1
258
259#
260# Initializations.
261#
262ac_default_prefix=/usr/local
263ac_config_libobj_dir=.
264cross_compiling=no
265subdirs=
266MFLAGS=
267MAKEFLAGS=
268SHELL=${CONFIG_SHELL-/bin/sh}
269
270# Maximum number of lines to put in a shell here document.
271# This variable seems obsolete.  It should probably be removed, and
272# only ac_max_sed_lines should be used.
273: ${ac_max_here_lines=38}
274
275# Identity of this package.
276PACKAGE_NAME='ThirdPartyASL'
277PACKAGE_TARNAME='thirdpartyasl'
278PACKAGE_VERSION='0.0'
279PACKAGE_STRING='ThirdPartyASL 0.0'
280PACKAGE_BUGREPORT='http://projects.coin-or.org/BuildTools/newticket'
281
282ac_unique_file="solvers/asl.h"
283ac_default_prefix=`pwd`
284ac_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 build build_cpu build_vendor build_os COIN_DEBUG_TRUE COIN_DEBUG_FALSE EGREP LN_S CDEFS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT ADD_CFLAGS MPICC 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 DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE ASLMAKEFLAGS ASLMAKEFILECMDS LIBOBJS LTLIBOBJS VPATH_DISTCLEANFILES'
285ac_subst_files=''
286
287# Initialize some variables set by options.
288ac_init_help=
289ac_init_version=false
290# The variables have the same names as the options, with
291# dashes changed to underlines.
292cache_file=/dev/null
293exec_prefix=NONE
294no_create=
295no_recursion=
296prefix=NONE
297program_prefix=NONE
298program_suffix=NONE
299program_transform_name=s,x,x,
300silent=
301site=
302srcdir=
303verbose=
304x_includes=NONE
305x_libraries=NONE
306
307# Installation directory options.
308# These are left unexpanded so users can "make install exec_prefix=/foo"
309# and all the variables that are supposed to be based on exec_prefix
310# by default will actually change.
311# Use braces instead of parens because sh, perl, etc. also accept them.
312bindir='${exec_prefix}/bin'
313sbindir='${exec_prefix}/sbin'
314libexecdir='${exec_prefix}/libexec'
315datadir='${prefix}/share'
316sysconfdir='${prefix}/etc'
317sharedstatedir='${prefix}/com'
318localstatedir='${prefix}/var'
319libdir='${exec_prefix}/lib'
320includedir='${prefix}/include'
321oldincludedir='/usr/include'
322infodir='${prefix}/info'
323mandir='${prefix}/man'
324
325ac_prev=
326for ac_option
327do
328  # If the previous option needs an argument, assign it.
329  if test -n "$ac_prev"; then
330    eval "$ac_prev=\$ac_option"
331    ac_prev=
332    continue
333  fi
334
335  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
336
337  # Accept the important Cygnus configure options, so we can diagnose typos.
338
339  case $ac_option in
340
341  -bindir | --bindir | --bindi | --bind | --bin | --bi)
342    ac_prev=bindir ;;
343  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
344    bindir=$ac_optarg ;;
345
346  -build | --build | --buil | --bui | --bu)
347    ac_prev=build_alias ;;
348  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
349    build_alias=$ac_optarg ;;
350
351  -cache-file | --cache-file | --cache-fil | --cache-fi \
352  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
353    ac_prev=cache_file ;;
354  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
355  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
356    cache_file=$ac_optarg ;;
357
358  --config-cache | -C)
359    cache_file=config.cache ;;
360
361  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
362    ac_prev=datadir ;;
363  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
364  | --da=*)
365    datadir=$ac_optarg ;;
366
367  -disable-* | --disable-*)
368    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
369    # Reject names that are not valid shell variable names.
370    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372   { (exit 1); exit 1; }; }
373    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374    eval "enable_$ac_feature=no" ;;
375
376  -enable-* | --enable-*)
377    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
378    # Reject names that are not valid shell variable names.
379    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
380      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
381   { (exit 1); exit 1; }; }
382    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
383    case $ac_option in
384      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
385      *) ac_optarg=yes ;;
386    esac
387    eval "enable_$ac_feature='$ac_optarg'" ;;
388
389  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
390  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
391  | --exec | --exe | --ex)
392    ac_prev=exec_prefix ;;
393  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
394  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
395  | --exec=* | --exe=* | --ex=*)
396    exec_prefix=$ac_optarg ;;
397
398  -gas | --gas | --ga | --g)
399    # Obsolete; use --with-gas.
400    with_gas=yes ;;
401
402  -help | --help | --hel | --he | -h)
403    ac_init_help=long ;;
404  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
405    ac_init_help=recursive ;;
406  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
407    ac_init_help=short ;;
408
409  -host | --host | --hos | --ho)
410    ac_prev=host_alias ;;
411  -host=* | --host=* | --hos=* | --ho=*)
412    host_alias=$ac_optarg ;;
413
414  -includedir | --includedir | --includedi | --included | --include \
415  | --includ | --inclu | --incl | --inc)
416    ac_prev=includedir ;;
417  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
418  | --includ=* | --inclu=* | --incl=* | --inc=*)
419    includedir=$ac_optarg ;;
420
421  -infodir | --infodir | --infodi | --infod | --info | --inf)
422    ac_prev=infodir ;;
423  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
424    infodir=$ac_optarg ;;
425
426  -libdir | --libdir | --libdi | --libd)
427    ac_prev=libdir ;;
428  -libdir=* | --libdir=* | --libdi=* | --libd=*)
429    libdir=$ac_optarg ;;
430
431  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
432  | --libexe | --libex | --libe)
433    ac_prev=libexecdir ;;
434  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
435  | --libexe=* | --libex=* | --libe=*)
436    libexecdir=$ac_optarg ;;
437
438  -localstatedir | --localstatedir | --localstatedi | --localstated \
439  | --localstate | --localstat | --localsta | --localst \
440  | --locals | --local | --loca | --loc | --lo)
441    ac_prev=localstatedir ;;
442  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
443  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
444  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
445    localstatedir=$ac_optarg ;;
446
447  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
448    ac_prev=mandir ;;
449  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
450    mandir=$ac_optarg ;;
451
452  -nfp | --nfp | --nf)
453    # Obsolete; use --without-fp.
454    with_fp=no ;;
455
456  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
457  | --no-cr | --no-c | -n)
458    no_create=yes ;;
459
460  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
461  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
462    no_recursion=yes ;;
463
464  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
465  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
466  | --oldin | --oldi | --old | --ol | --o)
467    ac_prev=oldincludedir ;;
468  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
469  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
470  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
471    oldincludedir=$ac_optarg ;;
472
473  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
474    ac_prev=prefix ;;
475  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
476    prefix=$ac_optarg ;;
477
478  -program-prefix | --program-prefix | --program-prefi | --program-pref \
479  | --program-pre | --program-pr | --program-p)
480    ac_prev=program_prefix ;;
481  -program-prefix=* | --program-prefix=* | --program-prefi=* \
482  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
483    program_prefix=$ac_optarg ;;
484
485  -program-suffix | --program-suffix | --program-suffi | --program-suff \
486  | --program-suf | --program-su | --program-s)
487    ac_prev=program_suffix ;;
488  -program-suffix=* | --program-suffix=* | --program-suffi=* \
489  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
490    program_suffix=$ac_optarg ;;
491
492  -program-transform-name | --program-transform-name \
493  | --program-transform-nam | --program-transform-na \
494  | --program-transform-n | --program-transform- \
495  | --program-transform | --program-transfor \
496  | --program-transfo | --program-transf \
497  | --program-trans | --program-tran \
498  | --progr-tra | --program-tr | --program-t)
499    ac_prev=program_transform_name ;;
500  -program-transform-name=* | --program-transform-name=* \
501  | --program-transform-nam=* | --program-transform-na=* \
502  | --program-transform-n=* | --program-transform-=* \
503  | --program-transform=* | --program-transfor=* \
504  | --program-transfo=* | --program-transf=* \
505  | --program-trans=* | --program-tran=* \
506  | --progr-tra=* | --program-tr=* | --program-t=*)
507    program_transform_name=$ac_optarg ;;
508
509  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
510  | -silent | --silent | --silen | --sile | --sil)
511    silent=yes ;;
512
513  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
514    ac_prev=sbindir ;;
515  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
516  | --sbi=* | --sb=*)
517    sbindir=$ac_optarg ;;
518
519  -sharedstatedir | --sharedstatedir | --sharedstatedi \
520  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
521  | --sharedst | --shareds | --shared | --share | --shar \
522  | --sha | --sh)
523    ac_prev=sharedstatedir ;;
524  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
525  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
526  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
527  | --sha=* | --sh=*)
528    sharedstatedir=$ac_optarg ;;
529
530  -site | --site | --sit)
531    ac_prev=site ;;
532  -site=* | --site=* | --sit=*)
533    site=$ac_optarg ;;
534
535  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
536    ac_prev=srcdir ;;
537  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
538    srcdir=$ac_optarg ;;
539
540  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
541  | --syscon | --sysco | --sysc | --sys | --sy)
542    ac_prev=sysconfdir ;;
543  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
544  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
545    sysconfdir=$ac_optarg ;;
546
547  -target | --target | --targe | --targ | --tar | --ta | --t)
548    ac_prev=target_alias ;;
549  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
550    target_alias=$ac_optarg ;;
551
552  -v | -verbose | --verbose | --verbos | --verbo | --verb)
553    verbose=yes ;;
554
555  -version | --version | --versio | --versi | --vers | -V)
556    ac_init_version=: ;;
557
558  -with-* | --with-*)
559    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
560    # Reject names that are not valid shell variable names.
561    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
562      { echo "$as_me: error: invalid package name: $ac_package" >&2
563   { (exit 1); exit 1; }; }
564    ac_package=`echo $ac_package| sed 's/-/_/g'`
565    case $ac_option in
566      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
567      *) ac_optarg=yes ;;
568    esac
569    eval "with_$ac_package='$ac_optarg'" ;;
570
571  -without-* | --without-*)
572    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
573    # Reject names that are not valid shell variable names.
574    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
575      { echo "$as_me: error: invalid package name: $ac_package" >&2
576   { (exit 1); exit 1; }; }
577    ac_package=`echo $ac_package | sed 's/-/_/g'`
578    eval "with_$ac_package=no" ;;
579
580  --x)
581    # Obsolete; use --with-x.
582    with_x=yes ;;
583
584  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
585  | --x-incl | --x-inc | --x-in | --x-i)
586    ac_prev=x_includes ;;
587  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
588  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
589    x_includes=$ac_optarg ;;
590
591  -x-libraries | --x-libraries | --x-librarie | --x-librari \
592  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
593    ac_prev=x_libraries ;;
594  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
595  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
596    x_libraries=$ac_optarg ;;
597
598  -*) { echo "$as_me: error: unrecognized option: $ac_option
599Try \`$0 --help' for more information." >&2
600   { (exit 1); exit 1; }; }
601    ;;
602
603  *=*)
604    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
605    # Reject names that are not valid shell variable names.
606    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
607      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
608   { (exit 1); exit 1; }; }
609    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
610    eval "$ac_envvar='$ac_optarg'"
611    export $ac_envvar ;;
612
613  *)
614    # FIXME: should be removed in autoconf 3.0.
615    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
616    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
617      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
618    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
619    ;;
620
621  esac
622done
623
624if test -n "$ac_prev"; then
625  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
626  { echo "$as_me: error: missing argument to $ac_option" >&2
627   { (exit 1); exit 1; }; }
628fi
629
630# Be sure to have absolute paths.
631for ac_var in exec_prefix prefix
632do
633  eval ac_val=$`echo $ac_var`
634  case $ac_val in
635    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
636    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
637   { (exit 1); exit 1; }; };;
638  esac
639done
640
641# Be sure to have absolute paths.
642for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
643              localstatedir libdir includedir oldincludedir infodir mandir
644do
645  eval ac_val=$`echo $ac_var`
646  case $ac_val in
647    [\\/$]* | ?:[\\/]* ) ;;
648    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
649   { (exit 1); exit 1; }; };;
650  esac
651done
652
653# There might be people who depend on the old broken behavior: `$host'
654# used to hold the argument of --host etc.
655# FIXME: To remove some day.
656build=$build_alias
657host=$host_alias
658target=$target_alias
659
660# FIXME: To remove some day.
661if test "x$host_alias" != x; then
662  if test "x$build_alias" = x; then
663    cross_compiling=maybe
664    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
665    If a cross compiler is detected then cross compile mode will be used." >&2
666  elif test "x$build_alias" != "x$host_alias"; then
667    cross_compiling=yes
668  fi
669fi
670
671ac_tool_prefix=
672test -n "$host_alias" && ac_tool_prefix=$host_alias-
673
674test "$silent" = yes && exec 6>/dev/null
675
676
677# Find the source files, if location was not specified.
678if test -z "$srcdir"; then
679  ac_srcdir_defaulted=yes
680  # Try the directory containing this script, then its parent.
681  ac_confdir=`(dirname "$0") 2>/dev/null ||
682$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
683         X"$0" : 'X\(//\)[^/]' \| \
684         X"$0" : 'X\(//\)$' \| \
685         X"$0" : 'X\(/\)' \| \
686         .     : '\(.\)' 2>/dev/null ||
687echo X"$0" |
688    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
689          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
690          /^X\(\/\/\)$/{ s//\1/; q; }
691          /^X\(\/\).*/{ s//\1/; q; }
692          s/.*/./; q'`
693  srcdir=$ac_confdir
694  if test ! -r $srcdir/$ac_unique_file; then
695    srcdir=..
696  fi
697else
698  ac_srcdir_defaulted=no
699fi
700if test ! -r $srcdir/$ac_unique_file; then
701  if test "$ac_srcdir_defaulted" = yes; then
702    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
703   { (exit 1); exit 1; }; }
704  else
705    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
706   { (exit 1); exit 1; }; }
707  fi
708fi
709(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
710  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
711   { (exit 1); exit 1; }; }
712srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
713ac_env_build_alias_set=${build_alias+set}
714ac_env_build_alias_value=$build_alias
715ac_cv_env_build_alias_set=${build_alias+set}
716ac_cv_env_build_alias_value=$build_alias
717ac_env_host_alias_set=${host_alias+set}
718ac_env_host_alias_value=$host_alias
719ac_cv_env_host_alias_set=${host_alias+set}
720ac_cv_env_host_alias_value=$host_alias
721ac_env_target_alias_set=${target_alias+set}
722ac_env_target_alias_value=$target_alias
723ac_cv_env_target_alias_set=${target_alias+set}
724ac_cv_env_target_alias_value=$target_alias
725ac_env_CDEFS_set=${CDEFS+set}
726ac_env_CDEFS_value=$CDEFS
727ac_cv_env_CDEFS_set=${CDEFS+set}
728ac_cv_env_CDEFS_value=$CDEFS
729ac_env_CC_set=${CC+set}
730ac_env_CC_value=$CC
731ac_cv_env_CC_set=${CC+set}
732ac_cv_env_CC_value=$CC
733ac_env_CFLAGS_set=${CFLAGS+set}
734ac_env_CFLAGS_value=$CFLAGS
735ac_cv_env_CFLAGS_set=${CFLAGS+set}
736ac_cv_env_CFLAGS_value=$CFLAGS
737ac_env_LDFLAGS_set=${LDFLAGS+set}
738ac_env_LDFLAGS_value=$LDFLAGS
739ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
740ac_cv_env_LDFLAGS_value=$LDFLAGS
741ac_env_CPPFLAGS_set=${CPPFLAGS+set}
742ac_env_CPPFLAGS_value=$CPPFLAGS
743ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
744ac_cv_env_CPPFLAGS_value=$CPPFLAGS
745ac_env_ADD_CFLAGS_set=${ADD_CFLAGS+set}
746ac_env_ADD_CFLAGS_value=$ADD_CFLAGS
747ac_cv_env_ADD_CFLAGS_set=${ADD_CFLAGS+set}
748ac_cv_env_ADD_CFLAGS_value=$ADD_CFLAGS
749ac_env_MPICC_set=${MPICC+set}
750ac_env_MPICC_value=$MPICC
751ac_cv_env_MPICC_set=${MPICC+set}
752ac_cv_env_MPICC_value=$MPICC
753ac_env_ASLMAKEFLAGS_set=${ASLMAKEFLAGS+set}
754ac_env_ASLMAKEFLAGS_value=$ASLMAKEFLAGS
755ac_cv_env_ASLMAKEFLAGS_set=${ASLMAKEFLAGS+set}
756ac_cv_env_ASLMAKEFLAGS_value=$ASLMAKEFLAGS
757
758#
759# Report the --help message.
760#
761if test "$ac_init_help" = "long"; then
762  # Omit some internal or obsolete options to make the list less imposing.
763  # This message is too long to be a string in the A/UX 3.1 sh.
764  cat <<_ACEOF
765\`configure' configures ThirdPartyASL 0.0 to adapt to many kinds of systems.
766
767Usage: $0 [OPTION]... [VAR=VALUE]...
768
769To assign environment variables (e.g., CC, CFLAGS...), specify them as
770VAR=VALUE.  See below for descriptions of some of the useful variables.
771
772Defaults for the options are specified in brackets.
773
774Configuration:
775  -h, --help              display this help and exit
776      --help=short        display options specific to this package
777      --help=recursive    display the short help of all the included packages
778  -V, --version           display version information and exit
779  -q, --quiet, --silent   do not print \`checking...' messages
780      --cache-file=FILE   cache test results in FILE [disabled]
781  -C, --config-cache      alias for \`--cache-file=config.cache'
782  -n, --no-create         do not create output files
783      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
784
785_ACEOF
786
787  cat <<_ACEOF
788Installation directories:
789  --prefix=PREFIX         install architecture-independent files in PREFIX
790                          [$ac_default_prefix]
791  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
792                          [PREFIX]
793
794By default, \`make install' will install all the files in
795\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
796an installation prefix other than \`$ac_default_prefix' using \`--prefix',
797for instance \`--prefix=\$HOME'.
798
799For better control, use the options below.
800
801Fine tuning of the installation directories:
802  --bindir=DIR           user executables [EPREFIX/bin]
803  --sbindir=DIR          system admin executables [EPREFIX/sbin]
804  --libexecdir=DIR       program executables [EPREFIX/libexec]
805  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
806  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
807  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
808  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
809  --libdir=DIR           object code libraries [EPREFIX/lib]
810  --includedir=DIR       C header files [PREFIX/include]
811  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
812  --infodir=DIR          info documentation [PREFIX/info]
813  --mandir=DIR           man documentation [PREFIX/man]
814_ACEOF
815
816  cat <<\_ACEOF
817
818Program names:
819  --program-prefix=PREFIX            prepend PREFIX to installed program names
820  --program-suffix=SUFFIX            append SUFFIX to installed program names
821  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
822
823System types:
824  --build=BUILD     configure for building on BUILD [guessed]
825_ACEOF
826fi
827
828if test -n "$ac_init_help"; then
829  case $ac_init_help in
830     short | recursive ) echo "Configuration of ThirdPartyASL 0.0:";;
831   esac
832  cat <<\_ACEOF
833
834Optional Features:
835  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
836  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
837  --enable-debug          compile with debug options and runtime tests
838  --disable-dependency-tracking  speeds up one-time build
839  --enable-dependency-tracking   do not reject slow dependency extractors
840  --enable-maintainer-mode  enable make rules and dependencies not useful
841                          (and sometimes confusing) to the casual installer
842
843Some influential environment variables:
844  CDEFS       Additional -D flags to be used when compiling C code.
845  CC          C compiler command
846  CFLAGS      C compiler flags
847  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
848              nonstandard directory <lib dir>
849  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
850              headers in a nonstandard directory <include dir>
851  ADD_CFLAGS  Additional C compiler options
852  MPICC       C MPI Compiler
853  ASLMAKEFLAGS
854              Compilation flags necessary for compiling the AMPL solver
855              library
856
857Use these variables to override the choices made by `configure' or to help
858it to find libraries and programs with nonstandard names/locations.
859
860Report bugs to <http://projects.coin-or.org/BuildTools/newticket>.
861_ACEOF
862fi
863
864if test "$ac_init_help" = "recursive"; then
865  # If there are subdirs, report their specific --help.
866  ac_popdir=`pwd`
867  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
868    test -d $ac_dir || continue
869    ac_builddir=.
870
871if test "$ac_dir" != .; then
872  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
873  # A "../" for each directory in $ac_dir_suffix.
874  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
875else
876  ac_dir_suffix= ac_top_builddir=
877fi
878
879case $srcdir in
880  .)  # No --srcdir option.  We are building in place.
881    ac_srcdir=.
882    if test -z "$ac_top_builddir"; then
883       ac_top_srcdir=.
884    else
885       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
886    fi ;;
887  [\\/]* | ?:[\\/]* )  # Absolute path.
888    ac_srcdir=$srcdir$ac_dir_suffix;
889    ac_top_srcdir=$srcdir ;;
890  *) # Relative path.
891    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
892    ac_top_srcdir=$ac_top_builddir$srcdir ;;
893esac
894
895# Do not use `cd foo && pwd` to compute absolute paths, because
896# the directories may not exist.
897case `pwd` in
898.) ac_abs_builddir="$ac_dir";;
899*)
900  case "$ac_dir" in
901  .) ac_abs_builddir=`pwd`;;
902  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
903  *) ac_abs_builddir=`pwd`/"$ac_dir";;
904  esac;;
905esac
906case $ac_abs_builddir in
907.) ac_abs_top_builddir=${ac_top_builddir}.;;
908*)
909  case ${ac_top_builddir}. in
910  .) ac_abs_top_builddir=$ac_abs_builddir;;
911  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
912  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
913  esac;;
914esac
915case $ac_abs_builddir in
916.) ac_abs_srcdir=$ac_srcdir;;
917*)
918  case $ac_srcdir in
919  .) ac_abs_srcdir=$ac_abs_builddir;;
920  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
921  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
922  esac;;
923esac
924case $ac_abs_builddir in
925.) ac_abs_top_srcdir=$ac_top_srcdir;;
926*)
927  case $ac_top_srcdir in
928  .) ac_abs_top_srcdir=$ac_abs_builddir;;
929  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
930  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
931  esac;;
932esac
933
934    cd $ac_dir
935    # Check for guested configure; otherwise get Cygnus style configure.
936    if test -f $ac_srcdir/configure.gnu; then
937      echo
938      $SHELL $ac_srcdir/configure.gnu  --help=recursive
939    elif test -f $ac_srcdir/configure; then
940      echo
941      $SHELL $ac_srcdir/configure  --help=recursive
942    elif test -f $ac_srcdir/configure.ac ||
943           test -f $ac_srcdir/configure.in; then
944      echo
945      $ac_configure --help
946    else
947      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
948    fi
949    cd $ac_popdir
950  done
951fi
952
953test -n "$ac_init_help" && exit 0
954if $ac_init_version; then
955  cat <<\_ACEOF
956ThirdPartyASL configure 0.0
957generated by GNU Autoconf 2.59
958
959Copyright (C) 2003 Free Software Foundation, Inc.
960This configure script is free software; the Free Software Foundation
961gives unlimited permission to copy, distribute and modify it.
962
963
964Copyright 2006 International Business Machines and others.
965All Rights Reserved.
966This file is part of the open source package Coin which is distributed
967under the Common Public License.
968_ACEOF
969  exit 0
970fi
971exec 5>config.log
972cat >&5 <<_ACEOF
973This file contains any messages produced by compilers while
974running configure, to aid debugging if configure makes a mistake.
975
976It was created by ThirdPartyASL $as_me 0.0, which was
977generated by GNU Autoconf 2.59.  Invocation command line was
978
979  $ $0 $@
980
981_ACEOF
982{
983cat <<_ASUNAME
984## --------- ##
985## Platform. ##
986## --------- ##
987
988hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
989uname -m = `(uname -m) 2>/dev/null || echo unknown`
990uname -r = `(uname -r) 2>/dev/null || echo unknown`
991uname -s = `(uname -s) 2>/dev/null || echo unknown`
992uname -v = `(uname -v) 2>/dev/null || echo unknown`
993
994/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
995/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
996
997/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
998/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
999/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1000hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1001/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1002/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1003/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1004
1005_ASUNAME
1006
1007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1008for as_dir in $PATH
1009do
1010  IFS=$as_save_IFS
1011  test -z "$as_dir" && as_dir=.
1012  echo "PATH: $as_dir"
1013done
1014
1015} >&5
1016
1017cat >&5 <<_ACEOF
1018
1019
1020## ----------- ##
1021## Core tests. ##
1022## ----------- ##
1023
1024_ACEOF
1025
1026
1027# Keep a trace of the command line.
1028# Strip out --no-create and --no-recursion so they do not pile up.
1029# Strip out --silent because we don't want to record it for future runs.
1030# Also quote any args containing shell meta-characters.
1031# Make two passes to allow for proper duplicate-argument suppression.
1032ac_configure_args=
1033ac_configure_args0=
1034ac_configure_args1=
1035ac_sep=
1036ac_must_keep_next=false
1037for ac_pass in 1 2
1038do
1039  for ac_arg
1040  do
1041    case $ac_arg in
1042    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1043    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1044    | -silent | --silent | --silen | --sile | --sil)
1045      continue ;;
1046    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1047      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1048    esac
1049    case $ac_pass in
1050    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1051    2)
1052      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1053      if test $ac_must_keep_next = true; then
1054        ac_must_keep_next=false # Got value, back to normal.
1055      else
1056        case $ac_arg in
1057          *=* | --config-cache | -C | -disable-* | --disable-* \
1058          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1059          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1060          | -with-* | --with-* | -without-* | --without-* | --x)
1061            case "$ac_configure_args0 " in
1062              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1063            esac
1064            ;;
1065          -* ) ac_must_keep_next=true ;;
1066        esac
1067      fi
1068      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1069      # Get rid of the leading space.
1070      ac_sep=" "
1071      ;;
1072    esac
1073  done
1074done
1075$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1076$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1077
1078# When interrupted or exit'd, cleanup temporary files, and complete
1079# config.log.  We remove comments because anyway the quotes in there
1080# would cause problems or look ugly.
1081# WARNING: Be sure not to use single quotes in there, as some shells,
1082# such as our DU 5.0 friend, will then `close' the trap.
1083trap 'exit_status=$?
1084  # Save into config.log some information that might help in debugging.
1085  {
1086    echo
1087
1088    cat <<\_ASBOX
1089## ---------------- ##
1090## Cache variables. ##
1091## ---------------- ##
1092_ASBOX
1093    echo
1094    # The following way of writing the cache mishandles newlines in values,
1095{
1096  (set) 2>&1 |
1097    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1098    *ac_space=\ *)
1099      sed -n \
1100        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1101          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1102      ;;
1103    *)
1104      sed -n \
1105        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1106      ;;
1107    esac;
1108}
1109    echo
1110
1111    cat <<\_ASBOX
1112## ----------------- ##
1113## Output variables. ##
1114## ----------------- ##
1115_ASBOX
1116    echo
1117    for ac_var in $ac_subst_vars
1118    do
1119      eval ac_val=$`echo $ac_var`
1120      echo "$ac_var='"'"'$ac_val'"'"'"
1121    done | sort
1122    echo
1123
1124    if test -n "$ac_subst_files"; then
1125      cat <<\_ASBOX
1126## ------------- ##
1127## Output files. ##
1128## ------------- ##
1129_ASBOX
1130      echo
1131      for ac_var in $ac_subst_files
1132      do
1133        eval ac_val=$`echo $ac_var`
1134        echo "$ac_var='"'"'$ac_val'"'"'"
1135      done | sort
1136      echo
1137    fi
1138
1139    if test -s confdefs.h; then
1140      cat <<\_ASBOX
1141## ----------- ##
1142## confdefs.h. ##
1143## ----------- ##
1144_ASBOX
1145      echo
1146      sed "/^$/d" confdefs.h | sort
1147      echo
1148    fi
1149    test "$ac_signal" != 0 &&
1150      echo "$as_me: caught signal $ac_signal"
1151    echo "$as_me: exit $exit_status"
1152  } >&5
1153  rm -f core *.core &&
1154  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1155    exit $exit_status
1156     ' 0
1157for ac_signal in 1 2 13 15; do
1158  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1159done
1160ac_signal=0
1161
1162# confdefs.h avoids OS command line length limits that DEFS can exceed.
1163rm -rf conftest* confdefs.h
1164# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1165echo >confdefs.h
1166
1167# Predefined preprocessor variables.
1168
1169cat >>confdefs.h <<_ACEOF
1170#define PACKAGE_NAME "$PACKAGE_NAME"
1171_ACEOF
1172
1173
1174cat >>confdefs.h <<_ACEOF
1175#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1176_ACEOF
1177
1178
1179cat >>confdefs.h <<_ACEOF
1180#define PACKAGE_VERSION "$PACKAGE_VERSION"
1181_ACEOF
1182
1183
1184cat >>confdefs.h <<_ACEOF
1185#define PACKAGE_STRING "$PACKAGE_STRING"
1186_ACEOF
1187
1188
1189cat >>confdefs.h <<_ACEOF
1190#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1191_ACEOF
1192
1193
1194# Let the site file select an alternate cache file if it wants to.
1195# Prefer explicitly selected file to automatically selected ones.
1196if test -z "$CONFIG_SITE"; then
1197  if test "x$prefix" != xNONE; then
1198    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1199  else
1200    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1201  fi
1202fi
1203for ac_site_file in $CONFIG_SITE; do
1204  if test -r "$ac_site_file"; then
1205    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1206echo "$as_me: loading site script $ac_site_file" >&6;}
1207    sed 's/^/| /' "$ac_site_file" >&5
1208    . "$ac_site_file"
1209  fi
1210done
1211
1212if test -r "$cache_file"; then
1213  # Some versions of bash will fail to source /dev/null (special
1214  # files actually), so we avoid doing that.
1215  if test -f "$cache_file"; then
1216    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1217echo "$as_me: loading cache $cache_file" >&6;}
1218    case $cache_file in
1219      [\\/]* | ?:[\\/]* ) . $cache_file;;
1220      *)                      . ./$cache_file;;
1221    esac
1222  fi
1223else
1224  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1225echo "$as_me: creating cache $cache_file" >&6;}
1226  >$cache_file
1227fi
1228
1229# Check that the precious variables saved in the cache have kept the same
1230# value.
1231ac_cache_corrupted=false
1232for ac_var in `(set) 2>&1 |
1233               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1234  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1235  eval ac_new_set=\$ac_env_${ac_var}_set
1236  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1237  eval ac_new_val="\$ac_env_${ac_var}_value"
1238  case $ac_old_set,$ac_new_set in
1239    set,)
1240      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1241echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1242      ac_cache_corrupted=: ;;
1243    ,set)
1244      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1245echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1246      ac_cache_corrupted=: ;;
1247    ,);;
1248    *)
1249      if test "x$ac_old_val" != "x$ac_new_val"; then
1250        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1251echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1252        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1253echo "$as_me:   former value:  $ac_old_val" >&2;}
1254        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1255echo "$as_me:   current value: $ac_new_val" >&2;}
1256        ac_cache_corrupted=:
1257      fi;;
1258  esac
1259  # Pass precious variables to config.status.
1260  if test "$ac_new_set" = set; then
1261    case $ac_new_val in
1262    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1263      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1264    *) ac_arg=$ac_var=$ac_new_val ;;
1265    esac
1266    case " $ac_configure_args " in
1267      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1268      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1269    esac
1270  fi
1271done
1272if $ac_cache_corrupted; then
1273  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1274echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1275  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1276echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1277   { (exit 1); exit 1; }; }
1278fi
1279
1280ac_ext=c
1281ac_cpp='$CPP $CPPFLAGS'
1282ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1283ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1284ac_compiler_gnu=$ac_cv_c_compiler_gnu
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315# List one file in the package so that the configure script can test
1316# whether the package is actually there
1317
1318
1319# Where should everything be installed by default?  Here, we want it
1320# to be installed directly in 'bin', 'lib', 'include' subdirectories
1321# of the directory where configure is run.  The default would be
1322# /usr/local.
1323
1324
1325#############################################################################
1326#                         Standard build tool stuff                         #
1327#############################################################################
1328
1329# Get the system type
1330ac_aux_dir=
1331for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1332  if test -f $ac_dir/install-sh; then
1333    ac_aux_dir=$ac_dir
1334    ac_install_sh="$ac_aux_dir/install-sh -c"
1335    break
1336  elif test -f $ac_dir/install.sh; then
1337    ac_aux_dir=$ac_dir
1338    ac_install_sh="$ac_aux_dir/install.sh -c"
1339    break
1340  elif test -f $ac_dir/shtool; then
1341    ac_aux_dir=$ac_dir
1342    ac_install_sh="$ac_aux_dir/shtool install -c"
1343    break
1344  fi
1345done
1346if test -z "$ac_aux_dir"; then
1347  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1348echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1349   { (exit 1); exit 1; }; }
1350fi
1351ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1352ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1353ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1354
1355# Make sure we can run config.sub.
1356$ac_config_sub sun4 >/dev/null 2>&1 ||
1357  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1358echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1359   { (exit 1); exit 1; }; }
1360
1361echo "$as_me:$LINENO: checking build system type" >&5
1362echo $ECHO_N "checking build system type... $ECHO_C" >&6
1363if test "${ac_cv_build+set}" = set; then
1364  echo $ECHO_N "(cached) $ECHO_C" >&6
1365else
1366  ac_cv_build_alias=$build_alias
1367test -z "$ac_cv_build_alias" &&
1368  ac_cv_build_alias=`$ac_config_guess`
1369test -z "$ac_cv_build_alias" &&
1370  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1371echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1372   { (exit 1); exit 1; }; }
1373ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1374  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1375echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1376   { (exit 1); exit 1; }; }
1377
1378fi
1379echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1380echo "${ECHO_T}$ac_cv_build" >&6
1381build=$ac_cv_build
1382build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1383build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1384build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1385
1386
1387
1388# Check if user wants to produce debugging code
1389
1390echo "$as_me:$LINENO: checking whether we want to compile in debug mode" >&5
1391echo $ECHO_N "checking whether we want to compile in debug mode... $ECHO_C" >&6
1392
1393# Check whether --enable-debug or --disable-debug was given.
1394if test "${enable_debug+set}" = set; then
1395  enableval="$enable_debug"
1396  case "${enableval}" in
1397                   yes) coin_debug_compile=true
1398
1399cat >>confdefs.h <<\_ACEOF
1400#define COIN_DEBUG 1
1401_ACEOF
1402
1403                     enable_shared=no
1404                     ;;
1405                   no)  coin_debug_compile=false
1406                     ;;
1407                    *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
1408echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
1409   { (exit 1); exit 1; }; }
1410                     ;;
1411                 esac
1412else
1413  coin_debug_compile=false
1414fi;
1415
1416if test $coin_debug_compile = true; then
1417  echo "$as_me:$LINENO: result: yes" >&5
1418echo "${ECHO_T}yes" >&6
1419else
1420  echo "$as_me:$LINENO: result: no" >&5
1421echo "${ECHO_T}no" >&6
1422fi
1423
1424
1425
1426if test "$coin_debug_compile" = true; then
1427  COIN_DEBUG_TRUE=
1428  COIN_DEBUG_FALSE='#'
1429else
1430  COIN_DEBUG_TRUE='#'
1431  COIN_DEBUG_FALSE=
1432fi
1433
1434
1435
1436# We need egrep and ln -s somewhere
1437echo "$as_me:$LINENO: checking for egrep" >&5
1438echo $ECHO_N "checking for egrep... $ECHO_C" >&6
1439if test "${ac_cv_prog_egrep+set}" = set; then
1440  echo $ECHO_N "(cached) $ECHO_C" >&6
1441else
1442  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
1443    then ac_cv_prog_egrep='grep -E'
1444    else ac_cv_prog_egrep='egrep'
1445    fi
1446fi
1447echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
1448echo "${ECHO_T}$ac_cv_prog_egrep" >&6
1449 EGREP=$ac_cv_prog_egrep
1450
1451
1452echo "$as_me:$LINENO: checking whether ln -s works" >&5
1453echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1454LN_S=$as_ln_s
1455if test "$LN_S" = "ln -s"; then
1456  echo "$as_me:$LINENO: result: yes" >&5
1457echo "${ECHO_T}yes" >&6
1458else
1459  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1460echo "${ECHO_T}no, using $LN_S" >&6
1461fi
1462
1463
1464# Get the name of the C compiler and appropriate compiler options
1465case $build in
1466  *-mingw*)
1467    if test "${LD+set}" = set; then :; else
1468      LD=link
1469    fi
1470    ;;
1471esac
1472
1473
1474
1475ac_ext=c
1476ac_cpp='$CPP $CPPFLAGS'
1477ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1478ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1479ac_compiler_gnu=$ac_cv_c_compiler_gnu
1480
1481
1482# For consistency, we set the C compiler to the same value of the C++
1483# compiler, if the C++ is set, but the C compiler isn't (only for CXX=cl)
1484if test x"$CXX" != x; then
1485  case $CXX in
1486    cl*)
1487      if test x"$CC" = x; then
1488        CC="$CXX"
1489        { echo "$as_me:$LINENO: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&5
1490echo "$as_me: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&2;}
1491      fi
1492      ;;
1493  esac
1494fi
1495
1496
1497
1498coin_has_cc=yes
1499
1500save_cflags="$CFLAGS"
1501case $build in
1502  *-cygwin* | *-mingw*)
1503             comps="gcc cl" ;;
1504  *-linux-*) comps="xlc gcc cc pgcc icc" ;;
1505  *)         comps="xlc cc gcc pgcc icc" ;;
1506esac
1507ac_ext=c
1508ac_cpp='$CPP $CPPFLAGS'
1509ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1510ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1511ac_compiler_gnu=$ac_cv_c_compiler_gnu
1512if test -n "$ac_tool_prefix"; then
1513  for ac_prog in $comps
1514  do
1515    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1516set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1517echo "$as_me:$LINENO: checking for $ac_word" >&5
1518echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1519if test "${ac_cv_prog_CC+set}" = set; then
1520  echo $ECHO_N "(cached) $ECHO_C" >&6
1521else
1522  if test -n "$CC"; then
1523  ac_cv_prog_CC="$CC" # Let the user override the test.
1524else
1525as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1526for as_dir in $PATH
1527do
1528  IFS=$as_save_IFS
1529  test -z "$as_dir" && as_dir=.
1530  for ac_exec_ext in '' $ac_executable_extensions; do
1531  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1532    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1533    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1534    break 2
1535  fi
1536done
1537done
1538
1539fi
1540fi
1541CC=$ac_cv_prog_CC
1542if test -n "$CC"; then
1543  echo "$as_me:$LINENO: result: $CC" >&5
1544echo "${ECHO_T}$CC" >&6
1545else
1546  echo "$as_me:$LINENO: result: no" >&5
1547echo "${ECHO_T}no" >&6
1548fi
1549
1550    test -n "$CC" && break
1551  done
1552fi
1553if test -z "$CC"; then
1554  ac_ct_CC=$CC
1555  for ac_prog in $comps
1556do
1557  # Extract the first word of "$ac_prog", so it can be a program name with args.
1558set dummy $ac_prog; ac_word=$2
1559echo "$as_me:$LINENO: checking for $ac_word" >&5
1560echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1561if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1562  echo $ECHO_N "(cached) $ECHO_C" >&6
1563else
1564  if test -n "$ac_ct_CC"; then
1565  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1566else
1567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1568for as_dir in $PATH
1569do
1570  IFS=$as_save_IFS
1571  test -z "$as_dir" && as_dir=.
1572  for ac_exec_ext in '' $ac_executable_extensions; do
1573  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1574    ac_cv_prog_ac_ct_CC="$ac_prog"
1575    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1576    break 2
1577  fi
1578done
1579done
1580
1581fi
1582fi
1583ac_ct_CC=$ac_cv_prog_ac_ct_CC
1584if test -n "$ac_ct_CC"; then
1585  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1586echo "${ECHO_T}$ac_ct_CC" >&6
1587else
1588  echo "$as_me:$LINENO: result: no" >&5
1589echo "${ECHO_T}no" >&6
1590fi
1591
1592  test -n "$ac_ct_CC" && break
1593done
1594
1595  CC=$ac_ct_CC
1596fi
1597
1598
1599test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1600See \`config.log' for more details." >&5
1601echo "$as_me: error: no acceptable C compiler found in \$PATH
1602See \`config.log' for more details." >&2;}
1603   { (exit 1); exit 1; }; }
1604
1605# Provide some information about the compiler.
1606echo "$as_me:$LINENO:" \
1607     "checking for C compiler version" >&5
1608ac_compiler=`set X $ac_compile; echo $2`
1609{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1610  (eval $ac_compiler --version </dev/null >&5) 2>&5
1611  ac_status=$?
1612  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1613  (exit $ac_status); }
1614{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1615  (eval $ac_compiler -v </dev/null >&5) 2>&5
1616  ac_status=$?
1617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1618  (exit $ac_status); }
1619{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1620  (eval $ac_compiler -V </dev/null >&5) 2>&5
1621  ac_status=$?
1622  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1623  (exit $ac_status); }
1624
1625cat >conftest.$ac_ext <<_ACEOF
1626/* confdefs.h.  */
1627_ACEOF
1628cat confdefs.h >>conftest.$ac_ext
1629cat >>conftest.$ac_ext <<_ACEOF
1630/* end confdefs.h.  */
1631
1632int
1633main ()
1634{
1635
1636  ;
1637  return 0;
1638}
1639_ACEOF
1640ac_clean_files_save=$ac_clean_files
1641ac_clean_files="$ac_clean_files a.out a.exe b.out"
1642# Try to create an executable without -o first, disregard a.out.
1643# It will help us diagnose broken compilers, and finding out an intuition
1644# of exeext.
1645echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1646echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1647ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1648if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1649  (eval $ac_link_default) 2>&5
1650  ac_status=$?
1651  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1652  (exit $ac_status); }; then
1653  # Find the output, starting from the most likely.  This scheme is
1654# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1655# resort.
1656
1657# Be careful to initialize this variable, since it used to be cached.
1658# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1659ac_cv_exeext=
1660# b.out is created by i960 compilers.
1661for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1662do
1663  test -f "$ac_file" || continue
1664  case $ac_file in
1665    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1666        ;;
1667    conftest.$ac_ext )
1668        # This is the source file.
1669        ;;
1670    [ab].out )
1671        # We found the default executable, but exeext='' is most
1672        # certainly right.
1673        break;;
1674    *.* )
1675        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1676        # FIXME: I believe we export ac_cv_exeext for Libtool,
1677        # but it would be cool to find out if it's true.  Does anybody
1678        # maintain Libtool? --akim.
1679        export ac_cv_exeext
1680        break;;
1681    * )
1682        break;;
1683  esac
1684done
1685else
1686  echo "$as_me: failed program was:" >&5
1687sed 's/^/| /' conftest.$ac_ext >&5
1688
1689{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1690See \`config.log' for more details." >&5
1691echo "$as_me: error: C compiler cannot create executables
1692See \`config.log' for more details." >&2;}
1693   { (exit 77); exit 77; }; }
1694fi
1695
1696ac_exeext=$ac_cv_exeext
1697echo "$as_me:$LINENO: result: $ac_file" >&5
1698echo "${ECHO_T}$ac_file" >&6
1699
1700# Check the compiler produces executables we can run.  If not, either
1701# the compiler is broken, or we cross compile.
1702echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1703echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1704# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1705# If not cross compiling, check that we can run a simple program.
1706if test "$cross_compiling" != yes; then
1707  if { ac_try='./$ac_file'
1708  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1709  (eval $ac_try) 2>&5
1710  ac_status=$?
1711  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1712  (exit $ac_status); }; }; then
1713    cross_compiling=no
1714  else
1715    if test "$cross_compiling" = maybe; then
1716        cross_compiling=yes
1717    else
1718        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1719If you meant to cross compile, use \`--host'.
1720See \`config.log' for more details." >&5
1721echo "$as_me: error: cannot run C compiled programs.
1722If you meant to cross compile, use \`--host'.
1723See \`config.log' for more details." >&2;}
1724   { (exit 1); exit 1; }; }
1725    fi
1726  fi
1727fi
1728echo "$as_me:$LINENO: result: yes" >&5
1729echo "${ECHO_T}yes" >&6
1730
1731rm -f a.out a.exe conftest$ac_cv_exeext b.out
1732ac_clean_files=$ac_clean_files_save
1733# Check the compiler produces executables we can run.  If not, either
1734# the compiler is broken, or we cross compile.
1735echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1736echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1737echo "$as_me:$LINENO: result: $cross_compiling" >&5
1738echo "${ECHO_T}$cross_compiling" >&6
1739
1740echo "$as_me:$LINENO: checking for suffix of executables" >&5
1741echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1742if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1743  (eval $ac_link) 2>&5
1744  ac_status=$?
1745  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1746  (exit $ac_status); }; then
1747  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1748# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1749# work properly (i.e., refer to `conftest.exe'), while it won't with
1750# `rm'.
1751for ac_file in conftest.exe conftest conftest.*; do
1752  test -f "$ac_file" || continue
1753  case $ac_file in
1754    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1755    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1756          export ac_cv_exeext
1757          break;;
1758    * ) break;;
1759  esac
1760done
1761else
1762  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1763See \`config.log' for more details." >&5
1764echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1765See \`config.log' for more details." >&2;}
1766   { (exit 1); exit 1; }; }
1767fi
1768
1769rm -f conftest$ac_cv_exeext
1770echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1771echo "${ECHO_T}$ac_cv_exeext" >&6
1772
1773rm -f conftest.$ac_ext
1774EXEEXT=$ac_cv_exeext
1775ac_exeext=$EXEEXT
1776echo "$as_me:$LINENO: checking for suffix of object files" >&5
1777echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1778if test "${ac_cv_objext+set}" = set; then
1779  echo $ECHO_N "(cached) $ECHO_C" >&6
1780else
1781  cat >conftest.$ac_ext <<_ACEOF
1782/* confdefs.h.  */
1783_ACEOF
1784cat confdefs.h >>conftest.$ac_ext
1785cat >>conftest.$ac_ext <<_ACEOF
1786/* end confdefs.h.  */
1787
1788int
1789main ()
1790{
1791
1792  ;
1793  return 0;
1794}
1795_ACEOF
1796rm -f conftest.o conftest.obj
1797if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1798  (eval $ac_compile) 2>&5
1799  ac_status=$?
1800  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1801  (exit $ac_status); }; then
1802  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1803  case $ac_file in
1804    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1805    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1806       break;;
1807  esac
1808done
1809else
1810  echo "$as_me: failed program was:" >&5
1811sed 's/^/| /' conftest.$ac_ext >&5
1812
1813{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1814See \`config.log' for more details." >&5
1815echo "$as_me: error: cannot compute suffix of object files: cannot compile
1816See \`config.log' for more details." >&2;}
1817   { (exit 1); exit 1; }; }
1818fi
1819
1820rm -f conftest.$ac_cv_objext conftest.$ac_ext
1821fi
1822echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1823echo "${ECHO_T}$ac_cv_objext" >&6
1824OBJEXT=$ac_cv_objext
1825ac_objext=$OBJEXT
1826echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1827echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1828if test "${ac_cv_c_compiler_gnu+set}" = set; then
1829  echo $ECHO_N "(cached) $ECHO_C" >&6
1830else
1831  cat >conftest.$ac_ext <<_ACEOF
1832/* confdefs.h.  */
1833_ACEOF
1834cat confdefs.h >>conftest.$ac_ext
1835cat >>conftest.$ac_ext <<_ACEOF
1836/* end confdefs.h.  */
1837
1838int
1839main ()
1840{
1841#ifndef __GNUC__
1842       choke me
1843#endif
1844
1845  ;
1846  return 0;
1847}
1848_ACEOF
1849rm -f conftest.$ac_objext
1850if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1851  (eval $ac_compile) 2>conftest.er1
1852  ac_status=$?
1853  grep -v '^ *+' conftest.er1 >conftest.err
1854  rm -f conftest.er1
1855  cat conftest.err >&5
1856  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1857  (exit $ac_status); } &&
1858         { ac_try='test -z "$ac_c_werror_flag"
1859                         || test ! -s conftest.err'
1860  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1861  (eval $ac_try) 2>&5
1862  ac_status=$?
1863  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1864  (exit $ac_status); }; } &&
1865         { ac_try='test -s conftest.$ac_objext'
1866  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1867  (eval $ac_try) 2>&5
1868  ac_status=$?
1869  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1870  (exit $ac_status); }; }; then
1871  ac_compiler_gnu=yes
1872else
1873  echo "$as_me: failed program was:" >&5
1874sed 's/^/| /' conftest.$ac_ext >&5
1875
1876ac_compiler_gnu=no
1877fi
1878rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1879ac_cv_c_compiler_gnu=$ac_compiler_gnu
1880
1881fi
1882echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1883echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1884GCC=`test $ac_compiler_gnu = yes && echo yes`
1885ac_test_CFLAGS=${CFLAGS+set}
1886ac_save_CFLAGS=$CFLAGS
1887CFLAGS="-g"
1888echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1889echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1890if test "${ac_cv_prog_cc_g+set}" = set; then
1891  echo $ECHO_N "(cached) $ECHO_C" >&6
1892else
1893  cat >conftest.$ac_ext <<_ACEOF
1894/* confdefs.h.  */
1895_ACEOF
1896cat confdefs.h >>conftest.$ac_ext
1897cat >>conftest.$ac_ext <<_ACEOF
1898/* end confdefs.h.  */
1899
1900int
1901main ()
1902{
1903
1904  ;
1905  return 0;
1906}
1907_ACEOF
1908rm -f conftest.$ac_objext
1909if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1910  (eval $ac_compile) 2>conftest.er1
1911  ac_status=$?
1912  grep -v '^ *+' conftest.er1 >conftest.err
1913  rm -f conftest.er1
1914  cat conftest.err >&5
1915  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1916  (exit $ac_status); } &&
1917         { ac_try='test -z "$ac_c_werror_flag"
1918                         || test ! -s conftest.err'
1919  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1920  (eval $ac_try) 2>&5
1921  ac_status=$?
1922  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1923  (exit $ac_status); }; } &&
1924         { ac_try='test -s conftest.$ac_objext'
1925  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1926  (eval $ac_try) 2>&5
1927  ac_status=$?
1928  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1929  (exit $ac_status); }; }; then
1930  ac_cv_prog_cc_g=yes
1931else
1932  echo "$as_me: failed program was:" >&5
1933sed 's/^/| /' conftest.$ac_ext >&5
1934
1935ac_cv_prog_cc_g=no
1936fi
1937rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1938fi
1939echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1940echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1941if test "$ac_test_CFLAGS" = set; then
1942  CFLAGS=$ac_save_CFLAGS
1943elif test $ac_cv_prog_cc_g = yes; then
1944  if test "$GCC" = yes; then
1945    CFLAGS="-g -O2"
1946  else
1947    CFLAGS="-g"
1948  fi
1949else
1950  if test "$GCC" = yes; then
1951    CFLAGS="-O2"
1952  else
1953    CFLAGS=
1954  fi
1955fi
1956echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1957echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1958if test "${ac_cv_prog_cc_stdc+set}" = set; then
1959  echo $ECHO_N "(cached) $ECHO_C" >&6
1960else
1961  ac_cv_prog_cc_stdc=no
1962ac_save_CC=$CC
1963cat >conftest.$ac_ext <<_ACEOF
1964/* confdefs.h.  */
1965_ACEOF
1966cat confdefs.h >>conftest.$ac_ext
1967cat >>conftest.$ac_ext <<_ACEOF
1968/* end confdefs.h.  */
1969#include <stdarg.h>
1970#include <stdio.h>
1971#include <sys/types.h>
1972#include <sys/stat.h>
1973/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
1974struct buf { int x; };
1975FILE * (*rcsopen) (struct buf *, struct stat *, int);
1976static char *e (p, i)
1977     char **p;
1978     int i;
1979{
1980  return p[i];
1981}
1982static char *f (char * (*g) (char **, int), char **p, ...)
1983{
1984  char *s;
1985  va_list v;
1986  va_start (v,p);
1987  s = g (p, va_arg (v,int));
1988  va_end (v);
1989  return s;
1990}
1991
1992/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1993   function prototypes and stuff, but not '\xHH' hex character constants.
1994   These don't provoke an error unfortunately, instead are silently treated
1995   as 'x'.  The following induces an error, until -std1 is added to get
1996   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
1997   array size at least.  It's necessary to write '\x00'==0 to get something
1998   that's true only with -std1.  */
1999int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2000
2001int test (int i, double x);
2002struct s1 {int (*f) (int a);};
2003struct s2 {int (*f) (double a);};
2004int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2005int argc;
2006char **argv;
2007int
2008main ()
2009{
2010return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2011  ;
2012  return 0;
2013}
2014_ACEOF
2015# Don't try gcc -ansi; that turns off useful extensions and
2016# breaks some systems' header files.
2017# AIX                   -qlanglvl=ansi
2018# Ultrix and OSF/1      -std1
2019# HP-UX 10.20 and later -Ae
2020# HP-UX older versions  -Aa -D_HPUX_SOURCE
2021# SVR4                  -Xc -D__EXTENSIONS__
2022for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2023do
2024  CC="$ac_save_CC $ac_arg"
2025  rm -f conftest.$ac_objext
2026if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2027  (eval $ac_compile) 2>conftest.er1
2028  ac_status=$?
2029  grep -v '^ *+' conftest.er1 >conftest.err
2030  rm -f conftest.er1
2031  cat conftest.err >&5
2032  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2033  (exit $ac_status); } &&
2034         { ac_try='test -z "$ac_c_werror_flag"
2035                         || test ! -s conftest.err'
2036  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2037  (eval $ac_try) 2>&5
2038  ac_status=$?
2039  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040  (exit $ac_status); }; } &&
2041         { ac_try='test -s conftest.$ac_objext'
2042  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2043  (eval $ac_try) 2>&5
2044  ac_status=$?
2045  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046  (exit $ac_status); }; }; then
2047  ac_cv_prog_cc_stdc=$ac_arg
2048break
2049else
2050  echo "$as_me: failed program was:" >&5
2051sed 's/^/| /' conftest.$ac_ext >&5
2052
2053fi
2054rm -f conftest.err conftest.$ac_objext
2055done
2056rm -f conftest.$ac_ext conftest.$ac_objext
2057CC=$ac_save_CC
2058
2059fi
2060
2061case "x$ac_cv_prog_cc_stdc" in
2062  x|xno)
2063    echo "$as_me:$LINENO: result: none needed" >&5
2064echo "${ECHO_T}none needed" >&6 ;;
2065  *)
2066    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2067echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2068    CC="$CC $ac_cv_prog_cc_stdc" ;;
2069esac
2070
2071# Some people use a C++ compiler to compile C.  Since we use `exit',
2072# in C++ we need to declare it.  In case someone uses the same compiler
2073# for both compiling C and C++ we need to have the C++ compiler decide
2074# the declaration of exit, since it's the most demanding environment.
2075cat >conftest.$ac_ext <<_ACEOF
2076#ifndef __cplusplus
2077  choke me
2078#endif
2079_ACEOF
2080rm -f conftest.$ac_objext
2081if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2082  (eval $ac_compile) 2>conftest.er1
2083  ac_status=$?
2084  grep -v '^ *+' conftest.er1 >conftest.err
2085  rm -f conftest.er1
2086  cat conftest.err >&5
2087  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2088  (exit $ac_status); } &&
2089         { ac_try='test -z "$ac_c_werror_flag"
2090                         || test ! -s conftest.err'
2091  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2092  (eval $ac_try) 2>&5
2093  ac_status=$?
2094  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2095  (exit $ac_status); }; } &&
2096         { ac_try='test -s conftest.$ac_objext'
2097  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2098  (eval $ac_try) 2>&5
2099  ac_status=$?
2100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101  (exit $ac_status); }; }; then
2102  for ac_declaration in \
2103   '' \
2104   'extern "C" void std::exit (int) throw (); using std::exit;' \
2105   'extern "C" void std::exit (int); using std::exit;' \
2106   'extern "C" void exit (int) throw ();' \
2107   'extern "C" void exit (int);' \
2108   'void exit (int);'
2109do
2110  cat >conftest.$ac_ext <<_ACEOF
2111/* confdefs.h.  */
2112_ACEOF
2113cat confdefs.h >>conftest.$ac_ext
2114cat >>conftest.$ac_ext <<_ACEOF
2115/* end confdefs.h.  */
2116$ac_declaration
2117#include <stdlib.h>
2118int
2119main ()
2120{
2121exit (42);
2122  ;
2123  return 0;
2124}
2125_ACEOF
2126rm -f conftest.$ac_objext
2127if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2128  (eval $ac_compile) 2>conftest.er1
2129  ac_status=$?
2130  grep -v '^ *+' conftest.er1 >conftest.err
2131  rm -f conftest.er1
2132  cat conftest.err >&5
2133  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134  (exit $ac_status); } &&
2135         { ac_try='test -z "$ac_c_werror_flag"
2136                         || test ! -s conftest.err'
2137  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2138  (eval $ac_try) 2>&5
2139  ac_status=$?
2140  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141  (exit $ac_status); }; } &&
2142         { ac_try='test -s conftest.$ac_objext'
2143  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2144  (eval $ac_try) 2>&5
2145  ac_status=$?
2146  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147  (exit $ac_status); }; }; then
2148  :
2149else
2150  echo "$as_me: failed program was:" >&5
2151sed 's/^/| /' conftest.$ac_ext >&5
2152
2153continue
2154fi
2155rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2156  cat >conftest.$ac_ext <<_ACEOF
2157/* confdefs.h.  */
2158_ACEOF
2159cat confdefs.h >>conftest.$ac_ext
2160cat >>conftest.$ac_ext <<_ACEOF
2161/* end confdefs.h.  */
2162$ac_declaration
2163int
2164main ()
2165{
2166exit (42);
2167  ;
2168  return 0;
2169}
2170_ACEOF
2171rm -f conftest.$ac_objext
2172if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2173  (eval $ac_compile) 2>conftest.er1
2174  ac_status=$?
2175  grep -v '^ *+' conftest.er1 >conftest.err
2176  rm -f conftest.er1
2177  cat conftest.err >&5
2178  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179  (exit $ac_status); } &&
2180         { ac_try='test -z "$ac_c_werror_flag"
2181                         || test ! -s conftest.err'
2182  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183  (eval $ac_try) 2>&5
2184  ac_status=$?
2185  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186  (exit $ac_status); }; } &&
2187         { ac_try='test -s conftest.$ac_objext'
2188  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2189  (eval $ac_try) 2>&5
2190  ac_status=$?
2191  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2192  (exit $ac_status); }; }; then
2193  break
2194else
2195  echo "$as_me: failed program was:" >&5
2196sed 's/^/| /' conftest.$ac_ext >&5
2197
2198fi
2199rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2200done
2201rm -f conftest*
2202if test -n "$ac_declaration"; then
2203  echo '#ifdef __cplusplus' >>confdefs.h
2204  echo $ac_declaration      >>confdefs.h
2205  echo '#endif'             >>confdefs.h
2206fi
2207
2208else
2209  echo "$as_me: failed program was:" >&5
2210sed 's/^/| /' conftest.$ac_ext >&5
2211
2212fi
2213rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2214ac_ext=c
2215ac_cpp='$CPP $CPPFLAGS'
2216ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2217ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2218ac_compiler_gnu=$ac_cv_c_compiler_gnu
2219
2220CFLAGS="$save_cflags"
2221
2222echo "$as_me:$LINENO: checking for C compiler options" >&5
2223echo $ECHO_N "checking for C compiler options... $ECHO_C" >&6
2224if test "${coin_cv_cflags+set}" = set; then
2225  echo $ECHO_N "(cached) $ECHO_C" >&6
2226else
2227  if test x"$CFLAGS" = x; then
2228
2229  coin_add_cflags=
2230  coin_opt_cflags=
2231  coin_dbg_cflags=
2232  coin_warn_cflags=
2233
2234  if test "$GCC" = "yes"; then
2235    case "$CC" in
2236      icc* | */icc*)
2237        ;;
2238      *)
2239        coin_opt_cflags="-O3 -fomit-frame-pointer"
2240        coin_add_cflags="-pipe"
2241        coin_dbg_cflags="-g"
2242        coin_warn_cflags="-pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall"
2243
2244        case $build in
2245          *-cygwin*)
2246            CFLAGS="-mno-cygwin"
2247            cat >conftest.$ac_ext <<_ACEOF
2248/* confdefs.h.  */
2249_ACEOF
2250cat confdefs.h >>conftest.$ac_ext
2251cat >>conftest.$ac_ext <<_ACEOF
2252/* end confdefs.h.  */
2253
2254int
2255main ()
2256{
2257int i=0; i++;
2258  ;
2259  return 0;
2260}
2261_ACEOF
2262rm -f conftest.$ac_objext conftest$ac_exeext
2263if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2264  (eval $ac_link) 2>conftest.er1
2265  ac_status=$?
2266  grep -v '^ *+' conftest.er1 >conftest.err
2267  rm -f conftest.er1
2268  cat conftest.err >&5
2269  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270  (exit $ac_status); } &&
2271         { ac_try='test -z "$ac_c_werror_flag"
2272                         || test ! -s conftest.err'
2273  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274  (eval $ac_try) 2>&5
2275  ac_status=$?
2276  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277  (exit $ac_status); }; } &&
2278         { ac_try='test -s conftest$ac_exeext'
2279  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2280  (eval $ac_try) 2>&5
2281  ac_status=$?
2282  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283  (exit $ac_status); }; }; then
2284  coin_add_cflags="-mno-cygwin $coin_add_cflags"
2285else
2286  echo "$as_me: failed program was:" >&5
2287sed 's/^/| /' conftest.$ac_ext >&5
2288
2289fi
2290rm -f conftest.err conftest.$ac_objext \
2291      conftest$ac_exeext conftest.$ac_ext
2292            CFLAGS=
2293          ;;
2294        esac
2295        ;;
2296    esac
2297  fi
2298  if test -z "$coin_opt_cflags"; then
2299    case $build in
2300      *-cygwin* | *-mingw*)
2301        case "$CC" in
2302          cl* | */cl*)
2303            coin_opt_cflags='-O2'
2304            coin_add_cflags='-nologo'
2305            coin_dbg_cflags='-Yd'
2306            ;;
2307        esac
2308        ;;
2309      *-linux-*)
2310        case "$CC" in
2311          icc* | */icc*)
2312            coin_opt_cflags="-O3 -ip"
2313            coin_add_cflags=""
2314            coin_dbg_cflags="-g"
2315            # Check if -i_dynamic is necessary (for new glibc library)
2316            CFLAGS=
2317            cat >conftest.$ac_ext <<_ACEOF
2318/* confdefs.h.  */
2319_ACEOF
2320cat confdefs.h >>conftest.$ac_ext
2321cat >>conftest.$ac_ext <<_ACEOF
2322/* end confdefs.h.  */
2323
2324int
2325main ()
2326{
2327int i=0; i++;
2328  ;
2329  return 0;
2330}
2331_ACEOF
2332rm -f conftest.$ac_objext conftest$ac_exeext
2333if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2334  (eval $ac_link) 2>conftest.er1
2335  ac_status=$?
2336  grep -v '^ *+' conftest.er1 >conftest.err
2337  rm -f conftest.er1
2338  cat conftest.err >&5
2339  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340  (exit $ac_status); } &&
2341         { ac_try='test -z "$ac_c_werror_flag"
2342                         || test ! -s conftest.err'
2343  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2344  (eval $ac_try) 2>&5
2345  ac_status=$?
2346  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347  (exit $ac_status); }; } &&
2348         { ac_try='test -s conftest$ac_exeext'
2349  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2350  (eval $ac_try) 2>&5
2351  ac_status=$?
2352  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353  (exit $ac_status); }; }; then
2354  :
2355else
2356  echo "$as_me: failed program was:" >&5
2357sed 's/^/| /' conftest.$ac_ext >&5
2358
2359coin_add_cflags="-i_dynamic $coin_add_cflags"
2360fi
2361rm -f conftest.err conftest.$ac_objext \
2362      conftest$ac_exeext conftest.$ac_ext
2363            ;;
2364          pgcc* | */pgcc*)
2365            coin_opt_cflags="-fast"
2366            coin_add_cflags="-Kieee -pc 64"
2367            coin_dbg_cflags="-g"
2368            ;;
2369        esac
2370        ;;
2371      *-ibm-*)
2372        case "$CC" in
2373          xlc* | */xlc* | mpxlc* | */mpxlc*)
2374            coin_opt_cflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1"
2375            coin_add_cflags="-bmaxdata:0x80000000"
2376            coin_dbg_cflags="-g"
2377          ;;
2378        esac
2379        ;;
2380      *-hp-*)
2381        coin_opt_cflags="-O"
2382        coin_add_cflags="-Ae"
2383        coin_dbg_cflags="-g"
2384        ;;
2385      *-sun-*)
2386        coin_opt_cflags="-xO4"
2387        coin_dbg_cflags="-g"
2388        ;;
2389      *-sgi-*)
2390        coin_opt_cflags="-O -OPT:Olimit=0"
2391        coin_dbg_cflags="-g"
2392        ;;
2393    esac
2394  fi
2395
2396  if test "$ac_cv_prog_cc_g" = yes && test -z "$coin_dbg_cflags" ; then
2397    coin_dbg_cflags="-g"
2398  fi
2399
2400  if test "$coin_debug_compile" = "true"; then
2401    CFLAGS="$coin_dbg_cflags $coin_add_cflags $coin_warn_cflags"
2402  else
2403    if test -z "$coin_opt_cflags"; then
2404      # Try if -O option works if nothing else is set
2405      CFLAGS="-O"
2406      cat >conftest.$ac_ext <<_ACEOF
2407/* confdefs.h.  */
2408_ACEOF
2409cat confdefs.h >>conftest.$ac_ext
2410cat >>conftest.$ac_ext <<_ACEOF
2411/* end confdefs.h.  */
2412
2413int
2414main ()
2415{
2416int i=0; i++;
2417  ;
2418  return 0;
2419}
2420_ACEOF
2421rm -f conftest.$ac_objext conftest$ac_exeext
2422if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2423  (eval $ac_link) 2>conftest.er1
2424  ac_status=$?
2425  grep -v '^ *+' conftest.er1 >conftest.err
2426  rm -f conftest.er1
2427  cat conftest.err >&5
2428  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429  (exit $ac_status); } &&
2430         { ac_try='test -z "$ac_c_werror_flag"
2431                         || test ! -s conftest.err'
2432  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2433  (eval $ac_try) 2>&5
2434  ac_status=$?
2435  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436  (exit $ac_status); }; } &&
2437         { ac_try='test -s conftest$ac_exeext'
2438  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2439  (eval $ac_try) 2>&5
2440  ac_status=$?
2441  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442  (exit $ac_status); }; }; then
2443  coin_opt_cflags="-O"
2444else
2445  echo "$as_me: failed program was:" >&5
2446sed 's/^/| /' conftest.$ac_ext >&5
2447
2448fi
2449rm -f conftest.err conftest.$ac_objext \
2450      conftest$ac_exeext conftest.$ac_ext
2451    fi
2452    CFLAGS="$coin_opt_cflags $coin_add_cflags -DNDEBUG $CDEFS $coin_warn_cflags"
2453  fi
2454fi
2455
2456# Check if user wants to have additional CFLAGS options
2457
2458if test x"$ADD_CFLAGS" != x; then
2459  CFLAGS="$CFLAGS $ADD_CFLAGS"
2460fi
2461
2462# Try if CFLAGS works
2463cat >conftest.$ac_ext <<_ACEOF
2464/* confdefs.h.  */
2465_ACEOF
2466cat confdefs.h >>conftest.$ac_ext
2467cat >>conftest.$ac_ext <<_ACEOF
2468/* end confdefs.h.  */
2469
2470int
2471main ()
2472{
2473int i=0; i++;
2474  ;
2475  return 0;
2476}
2477_ACEOF
2478rm -f conftest.$ac_objext conftest$ac_exeext
2479if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2480  (eval $ac_link) 2>conftest.er1
2481  ac_status=$?
2482  grep -v '^ *+' conftest.er1 >conftest.err
2483  rm -f conftest.er1
2484  cat conftest.err >&5
2485  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486  (exit $ac_status); } &&
2487         { ac_try='test -z "$ac_c_werror_flag"
2488                         || test ! -s conftest.err'
2489  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2490  (eval $ac_try) 2>&5
2491  ac_status=$?
2492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493  (exit $ac_status); }; } &&
2494         { ac_try='test -s conftest$ac_exeext'
2495  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2496  (eval $ac_try) 2>&5
2497  ac_status=$?
2498  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499  (exit $ac_status); }; }; then
2500  :
2501else
2502  echo "$as_me: failed program was:" >&5
2503sed 's/^/| /' conftest.$ac_ext >&5
2504
2505CFLAGS=
2506fi
2507rm -f conftest.err conftest.$ac_objext \
2508      conftest$ac_exeext conftest.$ac_ext
2509if test -z "$CFLAGS"; then
2510  { echo "$as_me:$LINENO: WARNING: The value CFLAGS=\"$CFLAGS\" do not work.  I will now just try '-O', but you might want to set CFLAGS manually." >&5
2511echo "$as_me: WARNING: The value CFLAGS=\"$CFLAGS\" do not work.  I will now just try '-O', but you might want to set CFLAGS manually." >&2;}
2512  CFLAGS='-O'
2513  cat >conftest.$ac_ext <<_ACEOF
2514/* confdefs.h.  */
2515_ACEOF
2516cat confdefs.h >>conftest.$ac_ext
2517cat >>conftest.$ac_ext <<_ACEOF
2518/* end confdefs.h.  */
2519
2520int
2521main ()
2522{
2523int i=0; i++;
2524  ;
2525  return 0;
2526}
2527_ACEOF
2528rm -f conftest.$ac_objext conftest$ac_exeext
2529if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2530  (eval $ac_link) 2>conftest.er1
2531  ac_status=$?
2532  grep -v '^ *+' conftest.er1 >conftest.err
2533  rm -f conftest.er1
2534  cat conftest.err >&5
2535  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536  (exit $ac_status); } &&
2537         { ac_try='test -z "$ac_c_werror_flag"
2538                         || test ! -s conftest.err'
2539  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2540  (eval $ac_try) 2>&5
2541  ac_status=$?
2542  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543  (exit $ac_status); }; } &&
2544         { ac_try='test -s conftest$ac_exeext'
2545  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2546  (eval $ac_try) 2>&5
2547  ac_status=$?
2548  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549  (exit $ac_status); }; }; then
2550  :
2551else
2552  echo "$as_me: failed program was:" >&5
2553sed 's/^/| /' conftest.$ac_ext >&5
2554
2555CFLAGS=
2556fi
2557rm -f conftest.err conftest.$ac_objext \
2558      conftest$ac_exeext conftest.$ac_ext
2559  if test -z "$CFLAGS"; then
2560    { echo "$as_me:$LINENO: WARNING: This value for CFLAGS does not work.  I will continue with empty CFLAGS, but you might want to set CFLAGS manually." >&5
2561echo "$as_me: WARNING: This value for CFLAGS does not work.  I will continue with empty CFLAGS, but you might want to set CFLAGS manually." >&2;}
2562  fi
2563fi
2564coin_cv_cflags="$CFLAGS"
2565
2566fi
2567echo "$as_me:$LINENO: result: $coin_cv_cflags" >&5
2568echo "${ECHO_T}$coin_cv_cflags" >&6 # AC_CACHE_CHECK([for C compiler options CXXFLAGS]
2569CFLAGS="$coin_cv_cflags"
2570
2571
2572if test x"$MPICC" = x; then :; else
2573  { echo "$as_me:$LINENO: Will use MPI C compiler $MPICC" >&5
2574echo "$as_me: Will use MPI C compiler $MPICC" >&6;}
2575  CC="$MPICC"
2576fi
2577
2578# Correct ADDLIBS initialization if we are using the MS compiler
2579case "$CC" in
2580  cl*)
2581    ADDLIBS=
2582    case $build in
2583  *-mingw*)
2584    if test "${LD+set}" = set; then :; else
2585      LD=link
2586    fi
2587    ;;
2588esac
2589
2590    ;;
2591esac
2592
2593ac_ext=c
2594ac_cpp='$CPP $CPPFLAGS'
2595ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2596ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2597ac_compiler_gnu=$ac_cv_c_compiler_gnu
2598
2599
2600
2601# Initialize automake
2602am__api_version="1.9"
2603# Find a good install program.  We prefer a C program (faster),
2604# so one script is as good as another.  But avoid the broken or
2605# incompatible versions:
2606# SysV /etc/install, /usr/sbin/install
2607# SunOS /usr/etc/install
2608# IRIX /sbin/install
2609# AIX /bin/install
2610# AmigaOS /C/install, which installs bootblocks on floppy discs
2611# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2612# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2613# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2614# OS/2's system install, which has a completely different semantic
2615# ./install, which can be erroneously created by make from ./install.sh.
2616echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2617echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2618if test -z "$INSTALL"; then
2619if test "${ac_cv_path_install+set}" = set; then
2620  echo $ECHO_N "(cached) $ECHO_C" >&6
2621else
2622  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2623for as_dir in $PATH
2624do
2625  IFS=$as_save_IFS
2626  test -z "$as_dir" && as_dir=.
2627  # Account for people who put trailing slashes in PATH elements.
2628case $as_dir/ in
2629  ./ | .// | /cC/* | \
2630  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2631  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2632  /usr/ucb/* ) ;;
2633  *)
2634    # OSF1 and SCO ODT 3.0 have their own names for install.
2635    # Don't use installbsd from OSF since it installs stuff as root
2636    # by default.
2637    for ac_prog in ginstall scoinst install; do
2638      for ac_exec_ext in '' $ac_executable_extensions; do
2639        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2640          if test $ac_prog = install &&
2641            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2642            # AIX install.  It has an incompatible calling convention.
2643            :
2644          elif test $ac_prog = install &&
2645            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2646            # program-specific install script used by HP pwplus--don't use.
2647            :
2648          else
2649            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2650            break 3
2651          fi
2652        fi
2653      done
2654    done
2655    ;;
2656esac
2657done
2658
2659
2660fi
2661  if test "${ac_cv_path_install+set}" = set; then
2662    INSTALL=$ac_cv_path_install
2663  else
2664    # As a last resort, use the slow shell script.  We don't cache a
2665    # path for INSTALL within a source directory, because that will
2666    # break other packages using the cache if that directory is
2667    # removed, or if the path is relative.
2668    INSTALL=$ac_install_sh
2669  fi
2670fi
2671echo "$as_me:$LINENO: result: $INSTALL" >&5
2672echo "${ECHO_T}$INSTALL" >&6
2673
2674# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2675# It thinks the first close brace ends the variable substitution.
2676test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2677
2678test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2679
2680test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2681
2682echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2683echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2684# Just in case
2685sleep 1
2686echo timestamp > conftest.file
2687# Do `set' in a subshell so we don't clobber the current shell's
2688# arguments.  Must try -L first in case configure is actually a
2689# symlink; some systems play weird games with the mod time of symlinks
2690# (eg FreeBSD returns the mod time of the symlink's containing
2691# directory).
2692if (
2693   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2694   if test "$*" = "X"; then
2695      # -L didn't work.
2696      set X `ls -t $srcdir/configure conftest.file`
2697   fi
2698   rm -f conftest.file
2699   if test "$*" != "X $srcdir/configure conftest.file" \
2700      && test "$*" != "X conftest.file $srcdir/configure"; then
2701
2702      # If neither matched, then we have a broken ls.  This can happen
2703      # if, for instance, CONFIG_SHELL is bash and it inherits a
2704      # broken ls alias from the environment.  This has actually
2705      # happened.  Such a system could not be considered "sane".
2706      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2707alias in your environment" >&5
2708echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2709alias in your environment" >&2;}
2710   { (exit 1); exit 1; }; }
2711   fi
2712
2713   test "$2" = conftest.file
2714   )
2715then
2716   # Ok.
2717   :
2718else
2719   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2720Check your system clock" >&5
2721echo "$as_me: error: newly created file is older than distributed files!
2722Check your system clock" >&2;}
2723   { (exit 1); exit 1; }; }
2724fi
2725echo "$as_me:$LINENO: result: yes" >&5
2726echo "${ECHO_T}yes" >&6
2727test "$program_prefix" != NONE &&
2728  program_transform_name="s,^,$program_prefix,;$program_transform_name"
2729# Use a double $ so make ignores it.
2730test "$program_suffix" != NONE &&
2731  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2732# Double any \ or $.  echo might interpret backslashes.
2733# By default was `s,x,x', remove it if useless.
2734cat <<\_ACEOF >conftest.sed
2735s/[\\$]/&&/g;s/;s,x,x,$//
2736_ACEOF
2737program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2738rm conftest.sed
2739
2740# expand $ac_aux_dir to an absolute path
2741am_aux_dir=`cd $ac_aux_dir && pwd`
2742
2743test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2744# Use eval to expand $SHELL
2745if eval "$MISSING --run true"; then
2746  am_missing_run="$MISSING --run "
2747else
2748  am_missing_run=
2749  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2750echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2751fi
2752
2753if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2754  # We used to keeping the `.' as first argument, in order to
2755  # allow $(mkdir_p) to be used without argument.  As in
2756  #   $(mkdir_p) $(somedir)
2757  # where $(somedir) is conditionally defined.  However this is wrong
2758  # for two reasons:
2759  #  1. if the package is installed by a user who cannot write `.'
2760  #     make install will fail,
2761  #  2. the above comment should most certainly read
2762  #     $(mkdir_p) $(DESTDIR)$(somedir)
2763  #     so it does not work when $(somedir) is undefined and
2764  #     $(DESTDIR) is not.
2765  #  To support the latter case, we have to write
2766  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2767  #  so the `.' trick is pointless.
2768  mkdir_p='mkdir -p --'
2769else
2770  # On NextStep and OpenStep, the `mkdir' command does not
2771  # recognize any option.  It will interpret all options as
2772  # directories to create, and then abort because `.' already
2773  # exists.
2774  for d in ./-p ./--version;
2775  do
2776    test -d $d && rmdir $d
2777  done
2778  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2779  if test -f "$ac_aux_dir/mkinstalldirs"; then
2780    mkdir_p='$(mkinstalldirs)'
2781  else
2782    mkdir_p='$(install_sh) -d'
2783  fi
2784fi
2785
2786for ac_prog in gawk mawk nawk awk
2787do
2788  # Extract the first word of "$ac_prog", so it can be a program name with args.
2789set dummy $ac_prog; ac_word=$2
2790echo "$as_me:$LINENO: checking for $ac_word" >&5
2791echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2792if test "${ac_cv_prog_AWK+set}" = set; then
2793  echo $ECHO_N "(cached) $ECHO_C" >&6
2794else
2795  if test -n "$AWK"; then
2796  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2797else
2798as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2799for as_dir in $PATH
2800do
2801  IFS=$as_save_IFS
2802  test -z "$as_dir" && as_dir=.
2803  for ac_exec_ext in '' $ac_executable_extensions; do
2804  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2805    ac_cv_prog_AWK="$ac_prog"
2806    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2807    break 2
2808  fi
2809done
2810done
2811
2812fi
2813fi
2814AWK=$ac_cv_prog_AWK
2815if test -n "$AWK"; then
2816  echo "$as_me:$LINENO: result: $AWK" >&5
2817echo "${ECHO_T}$AWK" >&6
2818else
2819  echo "$as_me:$LINENO: result: no" >&5
2820echo "${ECHO_T}no" >&6
2821fi
2822
2823  test -n "$AWK" && break
2824done
2825
2826echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2827echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2828set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2829if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2830  echo $ECHO_N "(cached) $ECHO_C" >&6
2831else
2832  cat >conftest.make <<\_ACEOF
2833all:
2834        @echo 'ac_maketemp="$(MAKE)"'
2835_ACEOF
2836# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2837eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2838if test -n "$ac_maketemp"; then
2839  eval ac_cv_prog_make_${ac_make}_set=yes
2840else
2841  eval ac_cv_prog_make_${ac_make}_set=no
2842fi
2843rm -f conftest.make
2844fi
2845if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2846  echo "$as_me:$LINENO: result: yes" >&5
2847echo "${ECHO_T}yes" >&6
2848  SET_MAKE=
2849else
2850  echo "$as_me:$LINENO: result: no" >&5
2851echo "${ECHO_T}no" >&6
2852  SET_MAKE="MAKE=${MAKE-make}"
2853fi
2854
2855rm -rf .tst 2>/dev/null
2856mkdir .tst 2>/dev/null
2857if test -d .tst; then
2858  am__leading_dot=.
2859else
2860  am__leading_dot=_
2861fi
2862rmdir .tst 2>/dev/null
2863
2864DEPDIR="${am__leading_dot}deps"
2865
2866          ac_config_commands="$ac_config_commands depfiles"
2867
2868
2869am_make=${MAKE-make}
2870cat > confinc << 'END'
2871am__doit:
2872        @echo done
2873.PHONY: am__doit
2874END
2875# If we don't find an include directive, just comment out the code.
2876echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2877echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2878am__include="#"
2879am__quote=
2880_am_result=none
2881# First try GNU make style include.
2882echo "include confinc" > confmf
2883# We grep out `Entering directory' and `Leaving directory'
2884# messages which can occur if `w' ends up in MAKEFLAGS.
2885# In particular we don't look at `^make:' because GNU make might
2886# be invoked under some other name (usually "gmake"), in which
2887# case it prints its new name instead of `make'.
2888if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2889   am__include=include
2890   am__quote=
2891   _am_result=GNU
2892fi
2893# Now try BSD make style include.
2894if test "$am__include" = "#"; then
2895   echo '.include "confinc"' > confmf
2896   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2897      am__include=.include
2898      am__quote="\""
2899      _am_result=BSD
2900   fi
2901fi
2902
2903
2904echo "$as_me:$LINENO: result: $_am_result" >&5
2905echo "${ECHO_T}$_am_result" >&6
2906rm -f confinc confmf
2907
2908# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2909if test "${enable_dependency_tracking+set}" = set; then
2910  enableval="$enable_dependency_tracking"
2911
2912fi;
2913if test "x$enable_dependency_tracking" != xno; then
2914  am_depcomp="$ac_aux_dir/depcomp"
2915  AMDEPBACKSLASH='\'
2916fi
2917
2918
2919if test "x$enable_dependency_tracking" != xno; then
2920  AMDEP_TRUE=
2921  AMDEP_FALSE='#'
2922else
2923  AMDEP_TRUE='#'
2924  AMDEP_FALSE=
2925fi
2926
2927
2928
2929
2930# Stuff for automake
2931# test to see if srcdir already configured
2932if test "`cd $srcdir && pwd`" != "`pwd`" &&
2933   test -f $srcdir/config.status; then
2934  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2935echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2936   { (exit 1); exit 1; }; }
2937fi
2938
2939# test whether we have cygpath
2940if test -z "$CYGPATH_W"; then
2941  if (cygpath --version) >/dev/null 2>/dev/null; then
2942    CYGPATH_W='cygpath -w'
2943  else
2944    CYGPATH_W=echo
2945  fi
2946fi
2947
2948
2949# Define the identity of the package.
2950 PACKAGE='thirdpartyasl'
2951 VERSION='0.0'
2952
2953
2954cat >>confdefs.h <<_ACEOF
2955#define PACKAGE "$PACKAGE"
2956_ACEOF
2957
2958
2959cat >>confdefs.h <<_ACEOF
2960#define VERSION "$VERSION"
2961_ACEOF
2962
2963# Some tools Automake needs.
2964
2965ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2966
2967
2968AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2969
2970
2971AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2972
2973
2974AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2975
2976
2977MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2978
2979install_sh=${install_sh-"$am_aux_dir/install-sh"}
2980
2981# Installed binaries are usually stripped using `strip' when the user
2982# run `make install-strip'.  However `strip' might not be the right
2983# tool to use in cross-compilation environments, therefore Automake
2984# will honor the `STRIP' environment variable to overrule this program.
2985if test "$cross_compiling" != no; then
2986  if test -n "$ac_tool_prefix"; then
2987  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2988set dummy ${ac_tool_prefix}strip; ac_word=$2
2989echo "$as_me:$LINENO: checking for $ac_word" >&5
2990echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2991if test "${ac_cv_prog_STRIP+set}" = set; then
2992  echo $ECHO_N "(cached) $ECHO_C" >&6
2993else
2994  if test -n "$STRIP"; then
2995  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2996else
2997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2998for as_dir in $PATH
2999do
3000  IFS=$as_save_IFS
3001  test -z "$as_dir" && as_dir=.
3002  for ac_exec_ext in '' $ac_executable_extensions; do
3003  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3004    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3005    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3006    break 2
3007  fi
3008done
3009done
3010
3011fi
3012fi
3013STRIP=$ac_cv_prog_STRIP
3014if test -n "$STRIP"; then
3015  echo "$as_me:$LINENO: result: $STRIP" >&5
3016echo "${ECHO_T}$STRIP" >&6
3017else
3018  echo "$as_me:$LINENO: result: no" >&5
3019echo "${ECHO_T}no" >&6
3020fi
3021
3022fi
3023if test -z "$ac_cv_prog_STRIP"; then
3024  ac_ct_STRIP=$STRIP
3025  # Extract the first word of "strip", so it can be a program name with args.
3026set dummy strip; ac_word=$2
3027echo "$as_me:$LINENO: checking for $ac_word" >&5
3028echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3029if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3030  echo $ECHO_N "(cached) $ECHO_C" >&6
3031else
3032  if test -n "$ac_ct_STRIP"; then
3033  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3034else
3035as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036for as_dir in $PATH
3037do
3038  IFS=$as_save_IFS
3039  test -z "$as_dir" && as_dir=.
3040  for ac_exec_ext in '' $ac_executable_extensions; do
3041  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3042    ac_cv_prog_ac_ct_STRIP="strip"
3043    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3044    break 2
3045  fi
3046done
3047done
3048
3049  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3050fi
3051fi
3052ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3053if test -n "$ac_ct_STRIP"; then
3054  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3055echo "${ECHO_T}$ac_ct_STRIP" >&6
3056else
3057  echo "$as_me:$LINENO: result: no" >&5
3058echo "${ECHO_T}no" >&6
3059fi
3060
3061  STRIP=$ac_ct_STRIP
3062else
3063  STRIP="$ac_cv_prog_STRIP"
3064fi
3065
3066fi
3067INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3068
3069# We need awk for the "check" target.  The system "awk" is bad on
3070# some platforms.
3071# Always define AMTAR for backward compatibility.
3072
3073AMTAR=${AMTAR-"${am_missing_run}tar"}
3074
3075am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3076
3077
3078
3079
3080depcc="$CC"   am_compiler_list=
3081
3082echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3083echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3084if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3085  echo $ECHO_N "(cached) $ECHO_C" >&6
3086else
3087  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3088  # We make a subdir and do the tests there.  Otherwise we can end up
3089  # making bogus files that we don't know about and never remove.  For
3090  # instance it was reported that on HP-UX the gcc test will end up
3091  # making a dummy file named `D' -- because `-MD' means `put the output
3092  # in D'.
3093  mkdir conftest.dir
3094  # Copy depcomp to subdir because otherwise we won't find it if we're
3095  # using a relative directory.
3096  cp "$am_depcomp" conftest.dir
3097  cd conftest.dir
3098  # We will build objects and dependencies in a subdirectory because
3099  # it helps to detect inapplicable dependency modes.  For instance
3100  # both Tru64's cc and ICC support -MD to output dependencies as a
3101  # side effect of compilation, but ICC will put the dependencies in
3102  # the current directory while Tru64 will put them in the object
3103  # directory.
3104  mkdir sub
3105
3106  am_cv_CC_dependencies_compiler_type=none
3107  if test "$am_compiler_list" = ""; then
3108     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3109  fi
3110  for depmode in $am_compiler_list; do
3111    # Setup a source with many dependencies, because some compilers
3112    # like to wrap large dependency lists on column 80 (with \), and
3113    # we should not choose a depcomp mode which is confused by this.
3114    #
3115    # We need to recreate these files for each test, as the compiler may
3116    # overwrite some of them when testing with obscure command lines.
3117    # This happens at least with the AIX C compiler.
3118    : > sub/conftest.c
3119    for i in 1 2 3 4 5 6; do
3120      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3121      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3122      # Solaris 8's {/usr,}/bin/sh.
3123      touch sub/conftst$i.h
3124    done
3125    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3126
3127    case $depmode in
3128    nosideeffect)
3129      # after this tag, mechanisms are not by side-effect, so they'll
3130      # only be used when explicitly requested
3131      if test "x$enable_dependency_tracking" = xyes; then
3132        continue
3133      else
3134        break
3135      fi
3136      ;;
3137    none) break ;;
3138    esac
3139    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3140    # mode.  It turns out that the SunPro C++ compiler does not properly
3141    # handle `-M -o', and we need to detect this.
3142    if depmode=$depmode \
3143       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3144       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3145       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3146         >/dev/null 2>conftest.err &&
3147       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3148       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3149       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3150      # icc doesn't choke on unknown options, it will just issue warnings
3151      # or remarks (even with -Werror).  So we grep stderr for any message
3152      # that says an option was ignored or not supported.
3153      # When given -MP, icc 7.0 and 7.1 complain thusly:
3154      #   icc: Command line warning: ignoring option '-M'; no argument required
3155      # The diagnosis changed in icc 8.0:
3156      #   icc: Command line remark: option '-MP' not supported
3157      if (grep 'ignoring option' conftest.err ||
3158          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3159        am_cv_CC_dependencies_compiler_type=$depmode
3160        break
3161      fi
3162    fi
3163  done
3164
3165  cd ..
3166  rm -rf conftest.dir
3167else
3168  am_cv_CC_dependencies_compiler_type=none
3169fi
3170
3171fi
3172echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3173echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3174CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3175
3176
3177
3178if
3179  test "x$enable_dependency_tracking" != xno \
3180  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3181  am__fastdepCC_TRUE=
3182  am__fastdepCC_FALSE='#'
3183else
3184  am__fastdepCC_TRUE='#'
3185  am__fastdepCC_FALSE=
3186fi
3187
3188
3189
3190echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3191echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3192    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3193if test "${enable_maintainer_mode+set}" = set; then
3194  enableval="$enable_maintainer_mode"
3195  USE_MAINTAINER_MODE=$enableval
3196else
3197  USE_MAINTAINER_MODE=no
3198fi;
3199  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3200echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3201
3202
3203if test $USE_MAINTAINER_MODE = yes; then
3204  MAINTAINER_MODE_TRUE=
3205  MAINTAINER_MODE_FALSE='#'
3206else
3207  MAINTAINER_MODE_TRUE='#'
3208  MAINTAINER_MODE_FALSE=
3209fi
3210
3211  MAINT=$MAINTAINER_MODE_TRUE
3212
3213
3214
3215coin_have_externals=no
3216if test "$enable_maintainer_mode" = yes; then
3217
3218  # If maintainer mode is chosen, we make sure that the correct versions
3219  # of the tools are used, and that we know where libtoo.m4 is (to
3220  # recreate acinclude.m4)
3221
3222
3223  LIBTOOLM4=
3224
3225  # Check if we have autoconf
3226  # Extract the first word of "autoconf", so it can be a program name with args.
3227set dummy autoconf; ac_word=$2
3228echo "$as_me:$LINENO: checking for $ac_word" >&5
3229echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3230if test "${ac_cv_prog_have_autoconf+set}" = set; then
3231  echo $ECHO_N "(cached) $ECHO_C" >&6
3232else
3233  if test -n "$have_autoconf"; then
3234  ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test.
3235else
3236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3237for as_dir in $PATH
3238do
3239  IFS=$as_save_IFS
3240  test -z "$as_dir" && as_dir=.
3241  for ac_exec_ext in '' $ac_executable_extensions; do
3242  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3243    ac_cv_prog_have_autoconf="yes"
3244    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3245    break 2
3246  fi
3247done
3248done
3249
3250  test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no"
3251fi
3252fi
3253have_autoconf=$ac_cv_prog_have_autoconf
3254if test -n "$have_autoconf"; then
3255  echo "$as_me:$LINENO: result: $have_autoconf" >&5
3256echo "${ECHO_T}$have_autoconf" >&6
3257else
3258  echo "$as_me:$LINENO: result: no" >&5
3259echo "${ECHO_T}no" >&6
3260fi
3261
3262  if test $have_autoconf = no; then
3263    { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&5
3264echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&2;}
3265   { (exit 1); exit 1; }; }
3266  fi
3267
3268  # Check whether autoconf is the correct version
3269  correct_version='2.59'
3270  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
3271  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of autoconf" >&5
3272echo $ECHO_N "checking whether we are using the correct version ($correct_version) of autoconf... $ECHO_C" >&6
3273  autoconf --version > confauto.out 2>&1
3274  if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
3275    echo "$as_me:$LINENO: result: yes" >&5
3276echo "${ECHO_T}yes" >&6
3277  else
3278    rm -f confauto.out
3279    echo "$as_me:$LINENO: result: no" >&5
3280echo "${ECHO_T}no" >&6
3281    { { echo "$as_me:$LINENO: error: You don't have the correct version of autoconf as the first one in your path." >&5
3282echo "$as_me: error: You don't have the correct version of autoconf as the first one in your path." >&2;}
3283   { (exit 1); exit 1; }; }
3284  fi
3285  rm -f confauto.out
3286
3287  # Check if the executable autoconf is picked up from the correct location
3288  echo "$as_me:$LINENO: checking whether autoconf is coming from the correct location" >&5
3289echo $ECHO_N "checking whether autoconf is coming from the correct location... $ECHO_C" >&6
3290  autoconf_dir=`which autoconf | sed -e 's=/autoconf=='`
3291  autoconf_dir=`cd $autoconf_dir; pwd`
3292  if test x$AUTOTOOLS_DIR = x; then
3293    want_dir=$HOME/bin
3294  else
3295    want_dir=$AUTOTOOLS_DIR/bin
3296  fi
3297  if test $autoconf_dir = `cd $want_dir; pwd`; then
3298    echo "$as_me:$LINENO: result: yes" >&5
3299echo "${ECHO_T}yes" >&6
3300  else
3301    rm -f confauto.out
3302    echo "$as_me:$LINENO: result: no" >&5
3303echo "${ECHO_T}no" >&6
3304    { { echo "$as_me:$LINENO: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5
3305echo "$as_me: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;}
3306   { (exit 1); exit 1; }; }
3307  fi
3308
3309  # Check if we have automake
3310  # Extract the first word of "automake", so it can be a program name with args.
3311set dummy automake; ac_word=$2
3312echo "$as_me:$LINENO: checking for $ac_word" >&5
3313echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3314if test "${ac_cv_prog_have_automake+set}" = set; then
3315  echo $ECHO_N "(cached) $ECHO_C" >&6
3316else
3317  if test -n "$have_automake"; then
3318  ac_cv_prog_have_automake="$have_automake" # Let the user override the test.
3319else
3320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3321for as_dir in $PATH
3322do
3323  IFS=$as_save_IFS
3324  test -z "$as_dir" && as_dir=.
3325  for ac_exec_ext in '' $ac_executable_extensions; do
3326  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3327    ac_cv_prog_have_automake="yes"
3328    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3329    break 2
3330  fi
3331done
3332done
3333
3334  test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no"
3335fi
3336fi
3337have_automake=$ac_cv_prog_have_automake
3338if test -n "$have_automake"; then
3339  echo "$as_me:$LINENO: result: $have_automake" >&5
3340echo "${ECHO_T}$have_automake" >&6
3341else
3342  echo "$as_me:$LINENO: result: no" >&5
3343echo "${ECHO_T}no" >&6
3344fi
3345
3346  if test $have_automake = no; then
3347    { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5
3348echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;}
3349   { (exit 1); exit 1; }; }
3350  fi
3351
3352  # Check whether automake is the correct version
3353  correct_version='1.9.6'
3354  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
3355  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5
3356echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6
3357  automake --version > confauto.out 2>&1
3358  if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
3359    echo "$as_me:$LINENO: result: yes" >&5
3360echo "${ECHO_T}yes" >&6
3361  else
3362    rm -f confauto.out
3363    echo "$as_me:$LINENO: result: no" >&5
3364echo "${ECHO_T}no" >&6
3365    { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5
3366echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;}
3367   { (exit 1); exit 1; }; }
3368  fi
3369  rm -f confauto.out
3370
3371  # Check if the executable automake is picked up from the correct location
3372  echo "$as_me:$LINENO: checking whether automake is coming from the correct location" >&5
3373echo $ECHO_N "checking whether automake is coming from the correct location... $ECHO_C" >&6
3374  automake_dir=`which automake | sed -e 's=/automake=='`
3375  automake_dir=`cd $automake_dir; pwd`
3376  if test x$AUTOTOOLS_DIR = x; then
3377    want_dir=$HOME/bin
3378  else
3379    want_dir=$AUTOTOOLS_DIR/bin
3380  fi
3381  if test $automake_dir = `cd $want_dir; pwd`; then
3382    echo "$as_me:$LINENO: result: yes" >&5
3383echo "${ECHO_T}yes" >&6
3384  else
3385    rm -f confauto.out
3386    echo "$as_me:$LINENO: result: no" >&5
3387echo "${ECHO_T}no" >&6
3388    { { echo "$as_me:$LINENO: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5
3389echo "$as_me: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;}
3390   { (exit 1); exit 1; }; }
3391  fi
3392
3393  # Check if we can find the libtool file
3394  if test x$AUTOTOOLS_DIR = x; then
3395    want_dir=$HOME/share
3396  else
3397    want_dir=$AUTOTOOLS_DIR/share
3398  fi
3399  as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh`
3400echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5
3401echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6
3402if eval "test \"\${$as_ac_File+set}\" = set"; then
3403  echo $ECHO_N "(cached) $ECHO_C" >&6
3404else
3405  test "$cross_compiling" = yes &&
3406  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3407echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3408   { (exit 1); exit 1; }; }
3409if test -r "$want_dir/aclocal/libtool.m4"; then
3410  eval "$as_ac_File=yes"
3411else
3412  eval "$as_ac_File=no"
3413fi
3414fi
3415echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
3416echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
3417if test `eval echo '${'$as_ac_File'}'` = yes; then
3418  LIBTOOLM4="$want_dir/aclocal/libtool.m4"
3419else
3420  { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
3421echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
3422   { (exit 1); exit 1; }; }
3423fi
3424
3425
3426  # Check if this is the correct version of libtool (with escaped dots)
3427  correct_version='1.5.22'
3428  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
3429  as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh`
3430echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5
3431echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6
3432if eval "test \"\${$as_ac_File+set}\" = set"; then
3433  echo $ECHO_N "(cached) $ECHO_C" >&6
3434else
3435  test "$cross_compiling" = yes &&
3436  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3437echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3438   { (exit 1); exit 1; }; }
3439if test -r "$want_dir/libtool/ltmain.sh"; then
3440  eval "$as_ac_File=yes"
3441else
3442  eval "$as_ac_File=no"
3443fi
3444fi
3445echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
3446echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
3447if test `eval echo '${'$as_ac_File'}'` = yes; then
3448  have_ltmain=yes
3449else
3450  have_ltmain=no
3451fi
3452
3453  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5
3454echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6
3455  if test $have_ltmain = yes; then
3456    if $EGREP $grep_version $want_dir/libtool/ltmain.sh >/dev/null 2>&1; then
3457      echo "$as_me:$LINENO: result: yes" >&5
3458echo "${ECHO_T}yes" >&6
3459    else
3460      echo "$as_me:$LINENO: result: no" >&5
3461echo "${ECHO_T}no" >&6
3462      { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5
3463echo "$as_me: error: You don't have the correct version of libtool." >&2;}
3464   { (exit 1); exit 1; }; }
3465    fi
3466  else
3467    echo "$as_me:$LINENO: result: no" >&5
3468echo "${ECHO_T}no" >&6
3469    { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5
3470echo "$as_me: error: I cannot find the ltmain.sh file." >&2;}
3471   { (exit 1); exit 1; }; }
3472  fi
3473
3474  # Check if we have an Externals file
3475  if test -r $srcdir/Externals; then
3476    coin_have_externals=yes
3477  fi
3478  # Check if subversion is installed and understands https
3479  # Extract the first word of "svn", so it can be a program name with args.
3480set dummy svn; ac_word=$2
3481echo "$as_me:$LINENO: checking for $ac_word" >&5
3482echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3483if test "${ac_cv_prog_have_svn+set}" = set; then
3484  echo $ECHO_N "(cached) $ECHO_C" >&6
3485else
3486  if test -n "$have_svn"; then
3487  ac_cv_prog_have_svn="$have_svn" # Let the user override the test.
3488else
3489as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3490for as_dir in $PATH
3491do
3492  IFS=$as_save_IFS
3493  test -z "$as_dir" && as_dir=.
3494  for ac_exec_ext in '' $ac_executable_extensions; do
3495  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3496    ac_cv_prog_have_svn="yes"
3497    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3498    break 2
3499  fi
3500done
3501done
3502
3503  test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no"
3504fi
3505fi
3506have_svn=$ac_cv_prog_have_svn
3507if test -n "$have_svn"; then
3508  echo "$as_me:$LINENO: result: $have_svn" >&5
3509echo "${ECHO_T}$have_svn" >&6
3510else
3511  echo "$as_me:$LINENO: result: no" >&5
3512echo "${ECHO_T}no" >&6
3513fi
3514
3515  if test x$have_svn = xyes; then
3516    echo "$as_me:$LINENO: checking svn understands https" >&5
3517echo $ECHO_N "checking svn understands https... $ECHO_C" >&6
3518    svn --version > confauto.out 2>&1
3519    if $EGREP https confauto.out >/dev/null 2>&1; then
3520      echo "$as_me:$LINENO: result: yes" >&5
3521echo "${ECHO_T}yes" >&6
3522    else
3523      echo "$as_me:$LINENO: result: no" >&5
3524echo "${ECHO_T}no" >&6
3525      have_svn=no
3526    fi
3527    rm -f confauto.out
3528  fi
3529
3530  # Find the location of the BuildTools directory
3531  BUILDTOOLSDIR=
3532  if test -r $srcdir/BuildTools/coin.m4; then
3533    BUILDTOOLSDIR=$srcdir/BuildTools
3534  else
3535    if test -r $srcdir/../BuildTools/coin.m4; then
3536      BUILDTOOLSDIR=$srcdir/../BuildTools
3537    else
3538      if test -r $srcdir/../../BuildTools/coin.m4; then
3539        BUILDTOOLSDIR=$srcdir/../../BuildTools
3540      else
3541        { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
3542echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
3543   { (exit 1); exit 1; }; }
3544      fi
3545    fi
3546  fi
3547
3548
3549  # The following variable is set to the name of the directory where
3550  # the autotool scripts are located
3551
3552  AUX_DIR=$ac_aux_dir
3553fi
3554
3555# helpful variable for the base directory of this package
3556abs_source_dir=`cd $srcdir; pwd`
3557
3558
3559# Stuff for example Makefiles
3560if test x$prefix = xNONE; then
3561  full_prefix=$ac_default_prefix
3562else
3563  full_prefix=$prefix
3564fi
3565full_prefix=`cd $full_prefix ; pwd`
3566
3567abs_lib_dir=$full_prefix/lib
3568
3569abs_include_dir=$full_prefix/include
3570
3571abs_bin_dir=$full_prefix/bin
3572
3573
3574
3575if test $coin_have_externals = yes && test x$have_svn = xyes; then
3576  HAVE_EXTERNALS_TRUE=
3577  HAVE_EXTERNALS_FALSE='#'
3578else
3579  HAVE_EXTERNALS_TRUE='#'
3580  HAVE_EXTERNALS_FALSE=
3581fi
3582
3583
3584
3585#############################################################################
3586#                          AMPL SOLVER LIBRARY                              #
3587#############################################################################
3588
3589if test -z "$ASLMAKEFLAGS" ; then
3590  asladdcflags=
3591  case $build in
3592    *-linux*)
3593      asladdcflags="-DNON_STDIO"
3594      case $CC in
3595        pgcc* | */pgcc*)
3596          asladdcflags="$asladdcflags -DNO_fpu_control";;
3597      esac
3598      ;;
3599    *-cygwin*) # ToDo: If on Cygwin but not using -mno-cygwin, we should not define -DNo_Control87 -DNO_RUSAGE
3600      asladdcflags="-DNON_STDIO -DNo_Control87 -DNO_RUSAGE"
3601      ;;
3602    *-mingw32)
3603      asladdcflags="-DNON_STDIO -DNo_Control87 -DNO_RUSAGE"
3604      ;;
3605  esac
3606# Do the following for now to make sure we are not interupting compilation
3607# of ASL because of warning message:
3608  bla=
3609  for i in $CFLAGS; do
3610    if test "$i" != "-Werror"; then
3611      bla="$bla $i"
3612    fi
3613  done
3614  ASLMAKEFLAGS="CFLAGS=\"$bla $asladdcflags\""
3615
3616#   Somehow, -qtune=auto makes ASL segfault on AIX compiler, so take them out
3617  case $CC in
3618    xlc* | */xlc* | mpxlc* | */mpxlc*)
3619      ASLMAKEFLAGS=`echo $ASLMAKEFLAGS | sed -e 's/-qtune=auto//g' -e 's/-qarch=auto//g' -e 's/-qcache=auto//g' -e 's/-qhot//g' -e sed 's/-O3/-O/g'`
3620      ;;
3621    pgcc* | */pgcc*)
3622      ASLMAKEFLAGS=`echo $ASLMAKEFLAGS | sed 's/-fast/-O1/g'`
3623      ;;
3624  esac
3625
3626  echo "$as_me:$LINENO: checking whether $am_make is the GNU make" >&5
3627echo $ECHO_N "checking whether $am_make is the GNU make... $ECHO_C" >&6
3628  rm -rf conftest.mak
3629  ($am_make -v -f conftest.mak > conftest.grp) 2>&5
3630  if $EGREP GNU conftest.grp >&5 ; then
3631    echo "$as_me:$LINENO: result: yes" >&5
3632echo "${ECHO_T}yes" >&6
3633    ASLMAKEFLAGS="-j 1 $ASLMAKEFLAGS"
3634  else
3635    echo "$as_me:$LINENO: result: no" >&5
3636echo "${ECHO_T}no" >&6
3637  fi
3638  rm -f conftest.mak conftest.grp
3639fi
3640
3641if test x"$AR" = x; then
3642  AR=ar
3643fi
3644
3645ASLMAKEFILECMDS="sed -e 's%ar \$\$(ARFLAGS)%$AR \$\$(ARFLAGS)%' makefile.u | sed -e 's%ar ruv%$AR ruv%' "
3646if test "$EXEEXT" = ".exe"; then
3647  ASLMAKEFILECMDS="$ASLMAKEFILECMDS | sed 's/a.out/a.exe/'"
3648fi
3649case $build in
3650  *-cygwin*)
3651    ASLMAKEFILECMDS="$ASLMAKEFILECMDS | sed 's%s/System_details/\`uname -sr\`/%s|System_details|\`uname -sr\`|%'" ;;
3652esac
3653ASLMAKEFILECMDS="$ASLMAKEFILECMDS > makefile"
3654
3655
3656
3657
3658          ac_config_files="$ac_config_files Makefile"
3659
3660
3661
3662if test x"$coin_need_flibs" = xyes; then
3663  ADDLIBS="$ADDLIBS $FLIBS"
3664fi
3665
3666cat >confcache <<\_ACEOF
3667# This file is a shell script that caches the results of configure
3668# tests run on this system so they can be shared between configure
3669# scripts and configure runs, see configure's option --config-cache.
3670# It is not useful on other systems.  If it contains results you don't
3671# want to keep, you may remove or edit it.
3672#
3673# config.status only pays attention to the cache file if you give it
3674# the --recheck option to rerun configure.
3675#
3676# `ac_cv_env_foo' variables (set or unset) will be overridden when
3677# loading this file, other *unset* `ac_cv_foo' will be assigned the
3678# following values.
3679
3680_ACEOF
3681
3682# The following way of writing the cache mishandles newlines in values,
3683# but we know of no workaround that is simple, portable, and efficient.
3684# So, don't put newlines in cache variables' values.
3685# Ultrix sh set writes to stderr and can't be redirected directly,
3686# and sets the high bit in the cache file unless we assign to the vars.
3687{
3688  (set) 2>&1 |
3689    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3690    *ac_space=\ *)
3691      # `set' does not quote correctly, so add quotes (double-quote
3692      # substitution turns \\\\ into \\, and sed turns \\ into \).
3693      sed -n \
3694        "s/'/'\\\\''/g;
3695          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3696      ;;
3697    *)
3698      # `set' quotes correctly as required by POSIX, so do not add quotes.
3699      sed -n \
3700        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3701      ;;
3702    esac;
3703} |
3704  sed '
3705     t clear
3706     : clear
3707     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3708     t end
3709     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3710     : end' >>confcache
3711if diff $cache_file confcache >/dev/null 2>&1; then :; else
3712  if test -w $cache_file; then
3713    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3714    cat confcache >$cache_file
3715  else
3716    echo "not updating unwritable cache $cache_file"
3717  fi
3718fi
3719rm -f confcache
3720
3721test "x$prefix" = xNONE && prefix=$ac_default_prefix
3722# Let make expand exec_prefix.
3723test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3724
3725# VPATH may cause trouble with some makes, so we remove $(srcdir),
3726# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3727# trailing colons and then remove the whole line if VPATH becomes empty
3728# (actually we leave an empty line to preserve line numbers).
3729if test "x$srcdir" = x.; then
3730  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3731s/:*\$(srcdir):*/:/;
3732s/:*\${srcdir}:*/:/;
3733s/:*@srcdir@:*/:/;
3734s/^\([^=]*=[     ]*\):*/\1/;
3735s/:*$//;
3736s/^[^=]*=[       ]*$//;
3737}'
3738fi
3739
3740# Transform confdefs.h into DEFS.
3741# Protect against shell expansion while executing Makefile rules.
3742# Protect against Makefile macro expansion.
3743#
3744# If the first sed substitution is executed (which looks for macros that
3745# take arguments), then we branch to the quote section.  Otherwise,
3746# look for a macro that doesn't take arguments.
3747cat >confdef2opt.sed <<\_ACEOF
3748t clear
3749: clear
3750s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
3751t quote
3752s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
3753t quote
3754d
3755: quote
3756s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
3757s,\[,\\&,g
3758s,\],\\&,g
3759s,\$,$$,g
3760p
3761_ACEOF
3762# We use echo to avoid assuming a particular line-breaking character.
3763# The extra dot is to prevent the shell from consuming trailing
3764# line-breaks from the sub-command output.  A line-break within
3765# single-quotes doesn't work because, if this script is created in a
3766# platform that uses two characters for line-breaks (e.g., DOS), tr
3767# would break.
3768ac_LF_and_DOT=`echo; echo .`
3769DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3770rm -f confdef2opt.sed
3771
3772
3773ac_libobjs=
3774ac_ltlibobjs=
3775for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3776  # 1. Remove the extension, and $U if already installed.
3777  ac_i=`echo "$ac_i" |
3778         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3779  # 2. Add them.
3780  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3781  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3782done
3783LIBOBJS=$ac_libobjs
3784
3785LTLIBOBJS=$ac_ltlibobjs
3786
3787
3788if test -z "${COIN_DEBUG_TRUE}" && test -z "${COIN_DEBUG_FALSE}"; then
3789  { { echo "$as_me:$LINENO: error: conditional \"COIN_DEBUG\" was never defined.
3790Usually this means the macro was only invoked conditionally." >&5
3791echo "$as_me: error: conditional \"COIN_DEBUG\" was never defined.
3792Usually this means the macro was only invoked conditionally." >&2;}
3793   { (exit 1); exit 1; }; }
3794fi
3795if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3796  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3797Usually this means the macro was only invoked conditionally." >&5
3798echo "$as_me: error: conditional \"AMDEP\" was never defined.
3799Usually this means the macro was only invoked conditionally." >&2;}
3800   { (exit 1); exit 1; }; }
3801fi
3802if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3803  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3804Usually this means the macro was only invoked conditionally." >&5
3805echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3806Usually this means the macro was only invoked conditionally." >&2;}
3807   { (exit 1); exit 1; }; }
3808fi
3809if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3810  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3811Usually this means the macro was only invoked conditionally." >&5
3812echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3813Usually this means the macro was only invoked conditionally." >&2;}
3814   { (exit 1); exit 1; }; }
3815fi
3816if test -z "${HAVE_EXTERNALS_TRUE}" && test -z "${HAVE_EXTERNALS_FALSE}"; then
3817  { { echo "$as_me:$LINENO: error: conditional \"HAVE_EXTERNALS\" was never defined.
3818Usually this means the macro was only invoked conditionally." >&5
3819echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
3820Usually this means the macro was only invoked conditionally." >&2;}
3821   { (exit 1); exit 1; }; }
3822fi
3823
3824: ${CONFIG_STATUS=./config.status}
3825ac_clean_files_save=$ac_clean_files
3826ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3827{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3828echo "$as_me: creating $CONFIG_STATUS" >&6;}
3829cat >$CONFIG_STATUS <<_ACEOF
3830#! $SHELL
3831# Generated by $as_me.
3832# Run this file to recreate the current configuration.
3833# Compiler output produced by configure, useful for debugging
3834# configure, is in config.log if it exists.
3835
3836debug=false
3837ac_cs_recheck=false
3838ac_cs_silent=false
3839SHELL=\${CONFIG_SHELL-$SHELL}
3840_ACEOF
3841
3842cat >>$CONFIG_STATUS <<\_ACEOF
3843## --------------------- ##
3844## M4sh Initialization.  ##
3845## --------------------- ##
3846
3847# Be Bourne compatible
3848if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3849  emulate sh
3850  NULLCMD=:
3851  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3852  # is contrary to our usage.  Disable this feature.
3853  alias -g '${1+"$@"}'='"$@"'
3854elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3855  set -o posix
3856fi
3857DUALCASE=1; export DUALCASE # for MKS sh
3858
3859# Support unset when possible.
3860if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3861  as_unset=unset
3862else
3863  as_unset=false
3864fi
3865
3866
3867# Work around bugs in pre-3.0 UWIN ksh.
3868$as_unset ENV MAIL MAILPATH
3869PS1='$ '
3870PS2='> '
3871PS4='+ '
3872
3873# NLS nuisances.
3874for as_var in \
3875  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3876  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3877  LC_TELEPHONE LC_TIME
3878do
3879  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3880    eval $as_var=C; export $as_var
3881  else
3882    $as_unset $as_var
3883  fi
3884done
3885
3886# Required to use basename.
3887if expr a : '\(a\)' >/dev/null 2>&1; then
3888  as_expr=expr
3889else
3890  as_expr=false
3891fi
3892
3893if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3894  as_basename=basename
3895else
3896  as_basename=false
3897fi
3898
3899
3900# Name of the executable.
3901as_me=`$as_basename "$0" ||
3902$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3903         X"$0" : 'X\(//\)$' \| \
3904         X"$0" : 'X\(/\)$' \| \
3905         .     : '\(.\)' 2>/dev/null ||
3906echo X/"$0" |
3907    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3908          /^X\/\(\/\/\)$/{ s//\1/; q; }
3909          /^X\/\(\/\).*/{ s//\1/; q; }
3910          s/.*/./; q'`
3911
3912
3913# PATH needs CR, and LINENO needs CR and PATH.
3914# Avoid depending upon Character Ranges.
3915as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3916as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3917as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3918as_cr_digits='0123456789'
3919as_cr_alnum=$as_cr_Letters$as_cr_digits
3920
3921# The user is always right.
3922if test "${PATH_SEPARATOR+set}" != set; then
3923  echo "#! /bin/sh" >conf$$.sh
3924  echo  "exit 0"   >>conf$$.sh
3925  chmod +x conf$$.sh
3926  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3927    PATH_SEPARATOR=';'
3928  else
3929    PATH_SEPARATOR=:
3930  fi
3931  rm -f conf$$.sh
3932fi
3933
3934
3935  as_lineno_1=$LINENO
3936  as_lineno_2=$LINENO
3937  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3938  test "x$as_lineno_1" != "x$as_lineno_2" &&
3939  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3940  # Find who we are.  Look in the path if we contain no path at all
3941  # relative or not.
3942  case $0 in
3943    *[\\/]* ) as_myself=$0 ;;
3944    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945for as_dir in $PATH
3946do
3947  IFS=$as_save_IFS
3948  test -z "$as_dir" && as_dir=.
3949  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3950done
3951
3952       ;;
3953  esac
3954  # We did not find ourselves, most probably we were run as `sh COMMAND'
3955  # in which case we are not to be found in the path.
3956  if test "x$as_myself" = x; then
3957    as_myself=$0
3958  fi
3959  if test ! -f "$as_myself"; then
3960    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3961echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3962   { (exit 1); exit 1; }; }
3963  fi
3964  case $CONFIG_SHELL in
3965  '')
3966    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3967for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3968do
3969  IFS=$as_save_IFS
3970  test -z "$as_dir" && as_dir=.
3971  for as_base in sh bash ksh sh5; do
3972         case $as_dir in
3973         /*)
3974           if ("$as_dir/$as_base" -c '
3975  as_lineno_1=$LINENO
3976  as_lineno_2=$LINENO
3977  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3978  test "x$as_lineno_1" != "x$as_lineno_2" &&
3979  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3980             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3981             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3982             CONFIG_SHELL=$as_dir/$as_base
3983             export CONFIG_SHELL
3984             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3985           fi;;
3986         esac
3987       done
3988done
3989;;
3990  esac
3991
3992  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3993  # uniformly replaced by the line number.  The first 'sed' inserts a
3994  # line-number line before each line; the second 'sed' does the real
3995  # work.  The second script uses 'N' to pair each line-number line
3996  # with the numbered line, and appends trailing '-' during
3997  # substitution so that $LINENO is not a special case at line end.
3998  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3999  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4000  sed '=' <$as_myself |
4001    sed '
4002      N
4003      s,$,-,
4004      : loop
4005      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4006      t loop
4007      s,-$,,
4008      s,^['$as_cr_digits']*\n,,
4009    ' >$as_me.lineno &&
4010  chmod +x $as_me.lineno ||
4011    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4012echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4013   { (exit 1); exit 1; }; }
4014
4015  # Don't try to exec as it changes $[0], causing all sort of problems
4016  # (the dirname of $[0] is not the place where we might find the
4017  # original and so on.  Autoconf is especially sensible to this).
4018  . ./$as_me.lineno
4019  # Exit status is that of the last command.
4020  exit
4021}
4022
4023
4024case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4025  *c*,-n*) ECHO_N= ECHO_C='
4026' ECHO_T='      ' ;;
4027  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4028  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4029esac
4030
4031if expr a : '\(a\)' >/dev/null 2>&1; then
4032  as_expr=expr
4033else
4034  as_expr=false
4035fi
4036
4037rm -f conf$$ conf$$.exe conf$$.file
4038echo >conf$$.file
4039if ln -s conf$$.file conf$$ 2>/dev/null; then
4040  # We could just check for DJGPP; but this test a) works b) is more generic
4041  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4042  if test -f conf$$.exe; then
4043    # Don't use ln at all; we don't have any links
4044    as_ln_s='cp -p'
4045  else
4046    as_ln_s='ln -s'
4047  fi
4048elif ln conf$$.file conf$$ 2>/dev/null; then
4049  as_ln_s=ln
4050else
4051  as_ln_s='cp -p'
4052fi
4053rm -f conf$$ conf$$.exe conf$$.file
4054
4055if mkdir -p . 2>/dev/null; then
4056  as_mkdir_p=:
4057else
4058  test -d ./-p && rmdir ./-p
4059  as_mkdir_p=false
4060fi
4061
4062as_executable_p="test -f"
4063
4064# Sed expression to map a string onto a valid CPP name.
4065as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4066
4067# Sed expression to map a string onto a valid variable name.
4068as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4069
4070
4071# IFS
4072# We need space, tab and new line, in precisely that order.
4073as_nl='
4074'
4075IFS="   $as_nl"
4076
4077# CDPATH.
4078$as_unset CDPATH
4079
4080exec 6>&1
4081
4082# Open the log real soon, to keep \$[0] and so on meaningful, and to
4083# report actual input values of CONFIG_FILES etc. instead of their
4084# values after options handling.  Logging --version etc. is OK.
4085exec 5>>config.log
4086{
4087  echo
4088  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4089## Running $as_me. ##
4090_ASBOX
4091} >&5
4092cat >&5 <<_CSEOF
4093
4094This file was extended by ThirdPartyASL $as_me 0.0, which was
4095generated by GNU Autoconf 2.59.  Invocation command line was
4096
4097  CONFIG_FILES    = $CONFIG_FILES
4098  CONFIG_HEADERS  = $CONFIG_HEADERS
4099  CONFIG_LINKS    = $CONFIG_LINKS
4100  CONFIG_COMMANDS = $CONFIG_COMMANDS
4101  $ $0 $@
4102
4103_CSEOF
4104echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4105echo >&5
4106_ACEOF
4107
4108# Files that config.status was made for.
4109if test -n "$ac_config_files"; then
4110  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4111fi
4112
4113if test -n "$ac_config_headers"; then
4114  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4115fi
4116
4117if test -n "$ac_config_links"; then
4118  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4119fi
4120
4121if test -n "$ac_config_commands"; then
4122  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4123fi
4124
4125cat >>$CONFIG_STATUS <<\_ACEOF
4126
4127ac_cs_usage="\
4128\`$as_me' instantiates files from templates according to the
4129current configuration.
4130
4131Usage: $0 [OPTIONS] [FILE]...
4132
4133  -h, --help       print this help, then exit
4134  -V, --version    print version number, then exit
4135  -q, --quiet      do not print progress messages
4136  -d, --debug      don't remove temporary files
4137      --recheck    update $as_me by reconfiguring in the same conditions
4138  --file=FILE[:TEMPLATE]
4139                   instantiate the configuration file FILE
4140
4141Configuration files:
4142$config_files
4143
4144Configuration commands:
4145$config_commands
4146
4147Report bugs to <bug-autoconf@gnu.org>."
4148_ACEOF
4149
4150cat >>$CONFIG_STATUS <<_ACEOF
4151ac_cs_version="\\
4152ThirdPartyASL config.status 0.0
4153configured by $0, generated by GNU Autoconf 2.59,
4154  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4155
4156Copyright (C) 2003 Free Software Foundation, Inc.
4157This config.status script is free software; the Free Software Foundation
4158gives unlimited permission to copy, distribute and modify it."
4159srcdir=$srcdir
4160INSTALL="$INSTALL"
4161_ACEOF
4162
4163cat >>$CONFIG_STATUS <<\_ACEOF
4164# If no file are specified by the user, then we need to provide default
4165# value.  By we need to know if files were specified by the user.
4166ac_need_defaults=:
4167while test $# != 0
4168do
4169  case $1 in
4170  --*=*)
4171    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4172    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4173    ac_shift=:
4174    ;;
4175  -*)
4176    ac_option=$1
4177    ac_optarg=$2
4178    ac_shift=shift
4179    ;;
4180  *) # This is not an option, so the user has probably given explicit
4181     # arguments.
4182     ac_option=$1
4183     ac_need_defaults=false;;
4184  esac
4185
4186  case $ac_option in
4187  # Handling of the options.
4188_ACEOF
4189cat >>$CONFIG_STATUS <<\_ACEOF
4190  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4191    ac_cs_recheck=: ;;
4192  --version | --vers* | -V )
4193    echo "$ac_cs_version"; exit 0 ;;
4194  --he | --h)
4195    # Conflict between --help and --header
4196    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4197Try \`$0 --help' for more information." >&5
4198echo "$as_me: error: ambiguous option: $1
4199Try \`$0 --help' for more information." >&2;}
4200   { (exit 1); exit 1; }; };;
4201  --help | --hel | -h )
4202    echo "$ac_cs_usage"; exit 0 ;;
4203  --debug | --d* | -d )
4204    debug=: ;;
4205  --file | --fil | --fi | --f )
4206    $ac_shift
4207    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4208    ac_need_defaults=false;;
4209  --header | --heade | --head | --hea )
4210    $ac_shift
4211    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4212    ac_need_defaults=false;;
4213  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4214  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4215    ac_cs_silent=: ;;
4216
4217  # This is an error.
4218  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4219Try \`$0 --help' for more information." >&5
4220echo "$as_me: error: unrecognized option: $1
4221Try \`$0 --help' for more information." >&2;}
4222   { (exit 1); exit 1; }; } ;;
4223
4224  *) ac_config_targets="$ac_config_targets $1" ;;
4225
4226  esac
4227  shift
4228done
4229
4230ac_configure_extra_args=
4231
4232if $ac_cs_silent; then
4233  exec 6>/dev/null
4234  ac_configure_extra_args="$ac_configure_extra_args --silent"
4235fi
4236
4237_ACEOF
4238cat >>$CONFIG_STATUS <<_ACEOF
4239if \$ac_cs_recheck; then
4240  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4241  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4242fi
4243
4244_ACEOF
4245
4246cat >>$CONFIG_STATUS <<_ACEOF
4247#
4248# INIT-COMMANDS section.
4249#
4250
4251AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4252
4253_ACEOF
4254
4255
4256
4257cat >>$CONFIG_STATUS <<\_ACEOF
4258for ac_config_target in $ac_config_targets
4259do
4260  case "$ac_config_target" in
4261  # Handling of arguments.
4262  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4263  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4264  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4265echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4266   { (exit 1); exit 1; }; };;
4267  esac
4268done
4269
4270# If the user did not use the arguments to specify the items to instantiate,
4271# then the envvar interface is used.  Set only those that are not.
4272# We use the long form for the default assignment because of an extremely
4273# bizarre bug on SunOS 4.1.3.
4274if $ac_need_defaults; then
4275  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4276  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4277fi
4278
4279# Have a temporary directory for convenience.  Make it in the build tree
4280# simply because there is no reason to put it here, and in addition,
4281# creating and moving files from /tmp can sometimes cause problems.
4282# Create a temporary directory, and hook for its removal unless debugging.
4283$debug ||
4284{
4285  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4286  trap '{ (exit 1); exit 1; }' 1 2 13 15
4287}
4288
4289# Create a (secure) tmp directory for tmp files.
4290
4291{
4292  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4293  test -n "$tmp" && test -d "$tmp"
4294}  ||
4295{
4296  tmp=./confstat$$-$RANDOM
4297  (umask 077 && mkdir $tmp)
4298} ||
4299{
4300   echo "$me: cannot create a temporary directory in ." >&2
4301   { (exit 1); exit 1; }
4302}
4303
4304_ACEOF
4305
4306cat >>$CONFIG_STATUS <<_ACEOF
4307
4308#
4309# CONFIG_FILES section.
4310#
4311
4312# No need to generate the scripts if there are no CONFIG_FILES.
4313# This happens for instance when ./config.status config.h
4314if test -n "\$CONFIG_FILES"; then
4315  # Protect against being on the right side of a sed subst in config.status.
4316  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4317   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4318s,@SHELL@,$SHELL,;t t
4319s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4320s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4321s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4322s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4323s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4324s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4325s,@exec_prefix@,$exec_prefix,;t t
4326s,@prefix@,$prefix,;t t
4327s,@program_transform_name@,$program_transform_name,;t t
4328s,@bindir@,$bindir,;t t
4329s,@sbindir@,$sbindir,;t t
4330s,@libexecdir@,$libexecdir,;t t
4331s,@datadir@,$datadir,;t t
4332s,@sysconfdir@,$sysconfdir,;t t
4333s,@sharedstatedir@,$sharedstatedir,;t t
4334s,@localstatedir@,$localstatedir,;t t
4335s,@libdir@,$libdir,;t t
4336s,@includedir@,$includedir,;t t
4337s,@oldincludedir@,$oldincludedir,;t t
4338s,@infodir@,$infodir,;t t
4339s,@mandir@,$mandir,;t t
4340s,@build_alias@,$build_alias,;t t
4341s,@host_alias@,$host_alias,;t t
4342s,@target_alias@,$target_alias,;t t
4343s,@DEFS@,$DEFS,;t t
4344s,@ECHO_C@,$ECHO_C,;t t
4345s,@ECHO_N@,$ECHO_N,;t t
4346s,@ECHO_T@,$ECHO_T,;t t
4347s,@LIBS@,$LIBS,;t t
4348s,@build@,$build,;t t
4349s,@build_cpu@,$build_cpu,;t t
4350s,@build_vendor@,$build_vendor,;t t
4351s,@build_os@,$build_os,;t t
4352s,@COIN_DEBUG_TRUE@,$COIN_DEBUG_TRUE,;t t
4353s,@COIN_DEBUG_FALSE@,$COIN_DEBUG_FALSE,;t t
4354s,@EGREP@,$EGREP,;t t
4355s,@LN_S@,$LN_S,;t t
4356s,@CDEFS@,$CDEFS,;t t
4357s,@CC@,$CC,;t t
4358s,@CFLAGS@,$CFLAGS,;t t
4359s,@LDFLAGS@,$LDFLAGS,;t t
4360s,@CPPFLAGS@,$CPPFLAGS,;t t
4361s,@ac_ct_CC@,$ac_ct_CC,;t t
4362s,@EXEEXT@,$EXEEXT,;t t
4363s,@OBJEXT@,$OBJEXT,;t t
4364s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t
4365s,@MPICC@,$MPICC,;t t
4366s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4367s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4368s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4369s,@CYGPATH_W@,$CYGPATH_W,;t t
4370s,@PACKAGE@,$PACKAGE,;t t
4371s,@VERSION@,$VERSION,;t t
4372s,@ACLOCAL@,$ACLOCAL,;t t
4373s,@AUTOCONF@,$AUTOCONF,;t t
4374s,@AUTOMAKE@,$AUTOMAKE,;t t
4375s,@AUTOHEADER@,$AUTOHEADER,;t t
4376s,@MAKEINFO@,$MAKEINFO,;t t
4377s,@install_sh@,$install_sh,;t t
4378s,@STRIP@,$STRIP,;t t
4379s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4380s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4381s,@mkdir_p@,$mkdir_p,;t t
4382s,@AWK@,$AWK,;t t
4383s,@SET_MAKE@,$SET_MAKE,;t t
4384s,@am__leading_dot@,$am__leading_dot,;t t
4385s,@AMTAR@,$AMTAR,;t t
4386s,@am__tar@,$am__tar,;t t
4387s,@am__untar@,$am__untar,;t t
4388s,@DEPDIR@,$DEPDIR,;t t
4389s,@am__include@,$am__include,;t t
4390s,@am__quote@,$am__quote,;t t
4391s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4392s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4393s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4394s,@CCDEPMODE@,$CCDEPMODE,;t t
4395s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4396s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4397s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4398s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4399s,@MAINT@,$MAINT,;t t
4400s,@LIBTOOLM4@,$LIBTOOLM4,;t t
4401s,@have_autoconf@,$have_autoconf,;t t
4402s,@have_automake@,$have_automake,;t t
4403s,@have_svn@,$have_svn,;t t
4404s,@BUILDTOOLSDIR@,$BUILDTOOLSDIR,;t t
4405s,@AUX_DIR@,$AUX_DIR,;t t
4406s,@abs_source_dir@,$abs_source_dir,;t t
4407s,@abs_lib_dir@,$abs_lib_dir,;t t
4408s,@abs_include_dir@,$abs_include_dir,;t t
4409s,@abs_bin_dir@,$abs_bin_dir,;t t
4410s,@HAVE_EXTERNALS_TRUE@,$HAVE_EXTERNALS_TRUE,;t t
4411s,@HAVE_EXTERNALS_FALSE@,$HAVE_EXTERNALS_FALSE,;t t
4412s,@ASLMAKEFLAGS@,$ASLMAKEFLAGS,;t t
4413s,@ASLMAKEFILECMDS@,$ASLMAKEFILECMDS,;t t
4414s,@LIBOBJS@,$LIBOBJS,;t t
4415s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4416CEOF
4417
4418_ACEOF
4419
4420  cat >>$CONFIG_STATUS <<\_ACEOF
4421  # Split the substitutions into bite-sized pieces for seds with
4422  # small command number limits, like on Digital OSF/1 and HP-UX.
4423  ac_max_sed_lines=48
4424  ac_sed_frag=1 # Number of current file.
4425  ac_beg=1 # First line for current file.
4426  ac_end=$ac_max_sed_lines # Line after last line for current file.
4427  ac_more_lines=:
4428  ac_sed_cmds=
4429  while $ac_more_lines; do
4430    if test $ac_beg -gt 1; then
4431      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4432    else
4433      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4434    fi
4435    if test ! -s $tmp/subs.frag; then
4436      ac_more_lines=false
4437    else
4438      # The purpose of the label and of the branching condition is to
4439      # speed up the sed processing (if there are no `@' at all, there
4440      # is no need to browse any of the substitutions).
4441      # These are the two extra sed commands mentioned above.
4442      (echo ':t
4443  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4444      if test -z "$ac_sed_cmds"; then
4445        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4446      else
4447        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4448      fi
4449      ac_sed_frag=`expr $ac_sed_frag + 1`
4450      ac_beg=$ac_end
4451      ac_end=`expr $ac_end + $ac_max_sed_lines`
4452    fi
4453  done
4454  if test -z "$ac_sed_cmds"; then
4455    ac_sed_cmds=cat
4456  fi
4457fi # test -n "$CONFIG_FILES"
4458
4459_ACEOF
4460cat >>$CONFIG_STATUS <<\_ACEOF
4461for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4462  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4463  case $ac_file in
4464  - | *:- | *:-:* ) # input from stdin
4465        cat >$tmp/stdin
4466        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4467        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4468  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4469        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4470  * )   ac_file_in=$ac_file.in ;;
4471  esac
4472
4473  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4474  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4475$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4476         X"$ac_file" : 'X\(//\)[^/]' \| \
4477         X"$ac_file" : 'X\(//\)$' \| \
4478         X"$ac_file" : 'X\(/\)' \| \
4479         .     : '\(.\)' 2>/dev/null ||
4480echo X"$ac_file" |
4481    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4482          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4483          /^X\(\/\/\)$/{ s//\1/; q; }
4484          /^X\(\/\).*/{ s//\1/; q; }
4485          s/.*/./; q'`
4486  { if $as_mkdir_p; then
4487    mkdir -p "$ac_dir"
4488  else
4489    as_dir="$ac_dir"
4490    as_dirs=
4491    while test ! -d "$as_dir"; do
4492      as_dirs="$as_dir $as_dirs"
4493      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4494$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4495         X"$as_dir" : 'X\(//\)[^/]' \| \
4496         X"$as_dir" : 'X\(//\)$' \| \
4497         X"$as_dir" : 'X\(/\)' \| \
4498         .     : '\(.\)' 2>/dev/null ||
4499echo X"$as_dir" |
4500    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4501          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4502          /^X\(\/\/\)$/{ s//\1/; q; }
4503          /^X\(\/\).*/{ s//\1/; q; }
4504          s/.*/./; q'`
4505    done
4506    test ! -n "$as_dirs" || mkdir $as_dirs
4507  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4508echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4509   { (exit 1); exit 1; }; }; }
4510
4511  ac_builddir=.
4512
4513if test "$ac_dir" != .; then
4514  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4515  # A "../" for each directory in $ac_dir_suffix.
4516  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4517else
4518  ac_dir_suffix= ac_top_builddir=
4519fi
4520
4521case $srcdir in
4522  .)  # No --srcdir option.  We are building in place.
4523    ac_srcdir=.
4524    if test -z "$ac_top_builddir"; then
4525       ac_top_srcdir=.
4526    else
4527       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4528    fi ;;
4529  [\\/]* | ?:[\\/]* )  # Absolute path.
4530    ac_srcdir=$srcdir$ac_dir_suffix;
4531    ac_top_srcdir=$srcdir ;;
4532  *) # Relative path.
4533    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4534    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4535esac
4536
4537# Do not use `cd foo && pwd` to compute absolute paths, because
4538# the directories may not exist.
4539case `pwd` in
4540.) ac_abs_builddir="$ac_dir";;
4541*)
4542  case "$ac_dir" in
4543  .) ac_abs_builddir=`pwd`;;
4544  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4545  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4546  esac;;
4547esac
4548case $ac_abs_builddir in
4549.) ac_abs_top_builddir=${ac_top_builddir}.;;
4550*)
4551  case ${ac_top_builddir}. in
4552  .) ac_abs_top_builddir=$ac_abs_builddir;;
4553  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4554  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4555  esac;;
4556esac
4557case $ac_abs_builddir in
4558.) ac_abs_srcdir=$ac_srcdir;;
4559*)
4560  case $ac_srcdir in
4561  .) ac_abs_srcdir=$ac_abs_builddir;;
4562  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4563  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4564  esac;;
4565esac
4566case $ac_abs_builddir in
4567.) ac_abs_top_srcdir=$ac_top_srcdir;;
4568*)
4569  case $ac_top_srcdir in
4570  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4571  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4572  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4573  esac;;
4574esac
4575
4576
4577  case $INSTALL in
4578  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4579  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4580  esac
4581
4582  if test x"$ac_file" != x-; then
4583    { echo "$as_me:$LINENO: creating $ac_file" >&5
4584echo "$as_me: creating $ac_file" >&6;}
4585    rm -f "$ac_file"
4586  fi
4587  # Let's still pretend it is `configure' which instantiates (i.e., don't
4588  # use $as_me), people would be surprised to read:
4589  #    /* config.h.  Generated by config.status.  */
4590  if test x"$ac_file" = x-; then
4591    configure_input=
4592  else
4593    configure_input="$ac_file.  "
4594  fi
4595  configure_input=$configure_input"Generated from `echo $ac_file_in |
4596                                     sed 's,.*/,,'` by configure."
4597
4598  # First look for the input files in the build tree, otherwise in the
4599  # src tree.
4600  ac_file_inputs=`IFS=:
4601    for f in $ac_file_in; do
4602      case $f in
4603      -) echo $tmp/stdin ;;
4604      [\\/$]*)
4605         # Absolute (can't be DOS-style, as IFS=:)
4606         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4607echo "$as_me: error: cannot find input file: $f" >&2;}
4608   { (exit 1); exit 1; }; }
4609         echo "$f";;
4610      *) # Relative
4611         if test -f "$f"; then
4612           # Build tree
4613           echo "$f"
4614         elif test -f "$srcdir/$f"; then
4615           # Source tree
4616           echo "$srcdir/$f"
4617         else
4618           # /dev/null tree
4619           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4620echo "$as_me: error: cannot find input file: $f" >&2;}
4621   { (exit 1); exit 1; }; }
4622         fi;;
4623      esac
4624    done` || { (exit 1); exit 1; }
4625_ACEOF
4626cat >>$CONFIG_STATUS <<_ACEOF
4627  sed "$ac_vpsub
4628$extrasub
4629_ACEOF
4630cat >>$CONFIG_STATUS <<\_ACEOF
4631:t
4632/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4633s,@configure_input@,$configure_input,;t t
4634s,@srcdir@,$ac_srcdir,;t t
4635s,@abs_srcdir@,$ac_abs_srcdir,;t t
4636s,@top_srcdir@,$ac_top_srcdir,;t t
4637s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4638s,@builddir@,$ac_builddir,;t t
4639s,@abs_builddir@,$ac_abs_builddir,;t t
4640s,@top_builddir@,$ac_top_builddir,;t t
4641s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4642s,@INSTALL@,$ac_INSTALL,;t t
4643" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4644  rm -f $tmp/stdin
4645  if test x"$ac_file" != x-; then
4646    mv $tmp/out $ac_file
4647  else
4648    cat $tmp/out
4649    rm -f $tmp/out
4650  fi
4651
4652done
4653_ACEOF
4654cat >>$CONFIG_STATUS <<\_ACEOF
4655
4656#
4657# CONFIG_COMMANDS section.
4658#
4659for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4660  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4661  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4662  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4663$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4664         X"$ac_dest" : 'X\(//\)[^/]' \| \
4665         X"$ac_dest" : 'X\(//\)$' \| \
4666         X"$ac_dest" : 'X\(/\)' \| \
4667         .     : '\(.\)' 2>/dev/null ||
4668echo X"$ac_dest" |
4669    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4670          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4671          /^X\(\/\/\)$/{ s//\1/; q; }
4672          /^X\(\/\).*/{ s//\1/; q; }
4673          s/.*/./; q'`
4674  { if $as_mkdir_p; then
4675    mkdir -p "$ac_dir"
4676  else
4677    as_dir="$ac_dir"
4678    as_dirs=
4679    while test ! -d "$as_dir"; do
4680      as_dirs="$as_dir $as_dirs"
4681      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4682$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4683         X"$as_dir" : 'X\(//\)[^/]' \| \
4684         X"$as_dir" : 'X\(//\)$' \| \
4685         X"$as_dir" : 'X\(/\)' \| \
4686         .     : '\(.\)' 2>/dev/null ||
4687echo X"$as_dir" |
4688    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4689          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4690          /^X\(\/\/\)$/{ s//\1/; q; }
4691          /^X\(\/\).*/{ s//\1/; q; }
4692          s/.*/./; q'`
4693    done
4694    test ! -n "$as_dirs" || mkdir $as_dirs
4695  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4696echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4697   { (exit 1); exit 1; }; }; }
4698
4699  ac_builddir=.
4700
4701if test "$ac_dir" != .; then
4702  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4703  # A "../" for each directory in $ac_dir_suffix.
4704  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4705else
4706  ac_dir_suffix= ac_top_builddir=
4707fi
4708
4709case $srcdir in
4710  .)  # No --srcdir option.  We are building in place.
4711    ac_srcdir=.
4712    if test -z "$ac_top_builddir"; then
4713       ac_top_srcdir=.
4714    else
4715       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4716    fi ;;
4717  [\\/]* | ?:[\\/]* )  # Absolute path.
4718    ac_srcdir=$srcdir$ac_dir_suffix;
4719    ac_top_srcdir=$srcdir ;;
4720  *) # Relative path.
4721    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4722    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4723esac
4724
4725# Do not use `cd foo && pwd` to compute absolute paths, because
4726# the directories may not exist.
4727case `pwd` in
4728.) ac_abs_builddir="$ac_dir";;
4729*)
4730  case "$ac_dir" in
4731  .) ac_abs_builddir=`pwd`;;
4732  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4733  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4734  esac;;
4735esac
4736case $ac_abs_builddir in
4737.) ac_abs_top_builddir=${ac_top_builddir}.;;
4738*)
4739  case ${ac_top_builddir}. in
4740  .) ac_abs_top_builddir=$ac_abs_builddir;;
4741  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4742  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4743  esac;;
4744esac
4745case $ac_abs_builddir in
4746.) ac_abs_srcdir=$ac_srcdir;;
4747*)
4748  case $ac_srcdir in
4749  .) ac_abs_srcdir=$ac_abs_builddir;;
4750  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4751  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4752  esac;;
4753esac
4754case $ac_abs_builddir in
4755.) ac_abs_top_srcdir=$ac_top_srcdir;;
4756*)
4757  case $ac_top_srcdir in
4758  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4759  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4760  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4761  esac;;
4762esac
4763
4764
4765  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4766echo "$as_me: executing $ac_dest commands" >&6;}
4767  case $ac_dest in
4768    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4769  # Strip MF so we end up with the name of the file.
4770  mf=`echo "$mf" | sed -e 's/:.*$//'`
4771  # Check whether this is an Automake generated Makefile or not.
4772  # We used to match only the files named `Makefile.in', but
4773  # some people rename them; so instead we look at the file content.
4774  # Grep'ing the first line is not enough: some people post-process
4775  # each Makefile.in and add a new line on top of each file to say so.
4776  # So let's grep whole file.
4777  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4778    dirpart=`(dirname "$mf") 2>/dev/null ||
4779$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4780         X"$mf" : 'X\(//\)[^/]' \| \
4781         X"$mf" : 'X\(//\)$' \| \
4782         X"$mf" : 'X\(/\)' \| \
4783         .     : '\(.\)' 2>/dev/null ||
4784echo X"$mf" |
4785    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4786          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4787          /^X\(\/\/\)$/{ s//\1/; q; }
4788          /^X\(\/\).*/{ s//\1/; q; }
4789          s/.*/./; q'`
4790  else
4791    continue
4792  fi
4793  # Extract the definition of DEPDIR, am__include, and am__quote
4794  # from the Makefile without running `make'.
4795  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4796  test -z "$DEPDIR" && continue
4797  am__include=`sed -n 's/^am__include = //p' < "$mf"`
4798  test -z "am__include" && continue
4799  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4800  # When using ansi2knr, U may be empty or an underscore; expand it
4801  U=`sed -n 's/^U = //p' < "$mf"`
4802  # Find all dependency output files, they are included files with
4803  # $(DEPDIR) in their names.  We invoke sed twice because it is the
4804  # simplest approach to changing $(DEPDIR) to its actual value in the
4805  # expansion.
4806  for file in `sed -n "
4807    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4808       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4809    # Make sure the directory exists.
4810    test -f "$dirpart/$file" && continue
4811    fdir=`(dirname "$file") 2>/dev/null ||
4812$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4813         X"$file" : 'X\(//\)[^/]' \| \
4814         X"$file" : 'X\(//\)$' \| \
4815         X"$file" : 'X\(/\)' \| \
4816         .     : '\(.\)' 2>/dev/null ||
4817echo X"$file" |
4818    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4819          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4820          /^X\(\/\/\)$/{ s//\1/; q; }
4821          /^X\(\/\).*/{ s//\1/; q; }
4822          s/.*/./; q'`
4823    { if $as_mkdir_p; then
4824    mkdir -p $dirpart/$fdir
4825  else
4826    as_dir=$dirpart/$fdir
4827    as_dirs=
4828    while test ! -d "$as_dir"; do
4829      as_dirs="$as_dir $as_dirs"
4830      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4831$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4832         X"$as_dir" : 'X\(//\)[^/]' \| \
4833         X"$as_dir" : 'X\(//\)$' \| \
4834         X"$as_dir" : 'X\(/\)' \| \
4835         .     : '\(.\)' 2>/dev/null ||
4836echo X"$as_dir" |
4837    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4838          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4839          /^X\(\/\/\)$/{ s//\1/; q; }
4840          /^X\(\/\).*/{ s//\1/; q; }
4841          s/.*/./; q'`
4842    done
4843    test ! -n "$as_dirs" || mkdir $as_dirs
4844  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4845echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4846   { (exit 1); exit 1; }; }; }
4847
4848    # echo "creating $dirpart/$file"
4849    echo '# dummy' > "$dirpart/$file"
4850  done
4851done
4852 ;;
4853  esac
4854done
4855_ACEOF
4856
4857cat >>$CONFIG_STATUS <<\_ACEOF
4858
4859{ (exit 0); exit 0; }
4860_ACEOF
4861chmod +x $CONFIG_STATUS
4862ac_clean_files=$ac_clean_files_save
4863
4864
4865# configure is writing to config.log, and then calls config.status.
4866# config.status does its own redirection, appending to config.log.
4867# Unfortunately, on DOS this fails, as config.log is still kept open
4868# by configure, so config.status won't be able to write to it; its
4869# output is simply discarded.  So we exec the FD to /dev/null,
4870# effectively closing config.log, so it can be properly (re)opened and
4871# appended to by config.status.  When coming back to configure, we
4872# need to make the FD available again.
4873if test "$no_create" != yes; then
4874  ac_cs_success=:
4875  ac_config_status_args=
4876  test "$silent" = yes &&
4877    ac_config_status_args="$ac_config_status_args --quiet"
4878  exec 5>/dev/null
4879  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4880  exec 5>>config.log
4881  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4882  # would make configure fail if this is the last instruction.
4883  $ac_cs_success || { (exit 1); exit 1; }
4884fi
4885
4886
4887if test x"$coin_vpath_link_files" = x; then : ; else
4888  { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
4889echo "$as_me: Creating VPATH links for data files" >&6;}
4890  for file in $coin_vpath_link_files; do
4891    rm -f $file
4892    $LN_S $srcdir/$file $file
4893  done
4894fi
4895
4896# Define VPATH_DISTCLEANFILES to be everything that needs to be
4897# cleaned for distclean in a vpath configuration
4898
4899VPATH_DISTCLEANFILES="$coin_vpath_link_files"
4900
4901if test x$coin_projectdir = xyes; then
4902  { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
4903echo "$as_me: Configuration of $PACKAGE_NAME successful" >&6;}
4904else
4905  { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&5
4906echo "$as_me: Main configuration of $PACKAGE_NAME successful" >&6;}
4907fi
4908
Note: See TracBrowser for help on using the repository browser.