source: ThirdParty/ASL/trunk/configure @ 62

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

filter out -pedantic-errors flag

  • Property svn:executable set to *
File size: 148.8 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# We filter out the -pedantic-errors flag for C compiler because
2602# ASL otherwise doesn't compile
2603if test "${with_mpi_lib+set}" = set; then
2604  CFLAGS=`echo $CFLAGS | sed -e s/-pedantic-errors//g`
2605fi
2606
2607
2608# Initialize automake
2609am__api_version="1.9"
2610# Find a good install program.  We prefer a C program (faster),
2611# so one script is as good as another.  But avoid the broken or
2612# incompatible versions:
2613# SysV /etc/install, /usr/sbin/install
2614# SunOS /usr/etc/install
2615# IRIX /sbin/install
2616# AIX /bin/install
2617# AmigaOS /C/install, which installs bootblocks on floppy discs
2618# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2619# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2620# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2621# OS/2's system install, which has a completely different semantic
2622# ./install, which can be erroneously created by make from ./install.sh.
2623echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2624echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2625if test -z "$INSTALL"; then
2626if test "${ac_cv_path_install+set}" = set; then
2627  echo $ECHO_N "(cached) $ECHO_C" >&6
2628else
2629  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2630for as_dir in $PATH
2631do
2632  IFS=$as_save_IFS
2633  test -z "$as_dir" && as_dir=.
2634  # Account for people who put trailing slashes in PATH elements.
2635case $as_dir/ in
2636  ./ | .// | /cC/* | \
2637  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2638  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2639  /usr/ucb/* ) ;;
2640  *)
2641    # OSF1 and SCO ODT 3.0 have their own names for install.
2642    # Don't use installbsd from OSF since it installs stuff as root
2643    # by default.
2644    for ac_prog in ginstall scoinst install; do
2645      for ac_exec_ext in '' $ac_executable_extensions; do
2646        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2647          if test $ac_prog = install &&
2648            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2649            # AIX install.  It has an incompatible calling convention.
2650            :
2651          elif test $ac_prog = install &&
2652            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2653            # program-specific install script used by HP pwplus--don't use.
2654            :
2655          else
2656            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2657            break 3
2658          fi
2659        fi
2660      done
2661    done
2662    ;;
2663esac
2664done
2665
2666
2667fi
2668  if test "${ac_cv_path_install+set}" = set; then
2669    INSTALL=$ac_cv_path_install
2670  else
2671    # As a last resort, use the slow shell script.  We don't cache a
2672    # path for INSTALL within a source directory, because that will
2673    # break other packages using the cache if that directory is
2674    # removed, or if the path is relative.
2675    INSTALL=$ac_install_sh
2676  fi
2677fi
2678echo "$as_me:$LINENO: result: $INSTALL" >&5
2679echo "${ECHO_T}$INSTALL" >&6
2680
2681# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2682# It thinks the first close brace ends the variable substitution.
2683test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2684
2685test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2686
2687test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2688
2689echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2690echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2691# Just in case
2692sleep 1
2693echo timestamp > conftest.file
2694# Do `set' in a subshell so we don't clobber the current shell's
2695# arguments.  Must try -L first in case configure is actually a
2696# symlink; some systems play weird games with the mod time of symlinks
2697# (eg FreeBSD returns the mod time of the symlink's containing
2698# directory).
2699if (
2700   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2701   if test "$*" = "X"; then
2702      # -L didn't work.
2703      set X `ls -t $srcdir/configure conftest.file`
2704   fi
2705   rm -f conftest.file
2706   if test "$*" != "X $srcdir/configure conftest.file" \
2707      && test "$*" != "X conftest.file $srcdir/configure"; then
2708
2709      # If neither matched, then we have a broken ls.  This can happen
2710      # if, for instance, CONFIG_SHELL is bash and it inherits a
2711      # broken ls alias from the environment.  This has actually
2712      # happened.  Such a system could not be considered "sane".
2713      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2714alias in your environment" >&5
2715echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2716alias in your environment" >&2;}
2717   { (exit 1); exit 1; }; }
2718   fi
2719
2720   test "$2" = conftest.file
2721   )
2722then
2723   # Ok.
2724   :
2725else
2726   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2727Check your system clock" >&5
2728echo "$as_me: error: newly created file is older than distributed files!
2729Check your system clock" >&2;}
2730   { (exit 1); exit 1; }; }
2731fi
2732echo "$as_me:$LINENO: result: yes" >&5
2733echo "${ECHO_T}yes" >&6
2734test "$program_prefix" != NONE &&
2735  program_transform_name="s,^,$program_prefix,;$program_transform_name"
2736# Use a double $ so make ignores it.
2737test "$program_suffix" != NONE &&
2738  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2739# Double any \ or $.  echo might interpret backslashes.
2740# By default was `s,x,x', remove it if useless.
2741cat <<\_ACEOF >conftest.sed
2742s/[\\$]/&&/g;s/;s,x,x,$//
2743_ACEOF
2744program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2745rm conftest.sed
2746
2747# expand $ac_aux_dir to an absolute path
2748am_aux_dir=`cd $ac_aux_dir && pwd`
2749
2750test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2751# Use eval to expand $SHELL
2752if eval "$MISSING --run true"; then
2753  am_missing_run="$MISSING --run "
2754else
2755  am_missing_run=
2756  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2757echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2758fi
2759
2760if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2761  # We used to keeping the `.' as first argument, in order to
2762  # allow $(mkdir_p) to be used without argument.  As in
2763  #   $(mkdir_p) $(somedir)
2764  # where $(somedir) is conditionally defined.  However this is wrong
2765  # for two reasons:
2766  #  1. if the package is installed by a user who cannot write `.'
2767  #     make install will fail,
2768  #  2. the above comment should most certainly read
2769  #     $(mkdir_p) $(DESTDIR)$(somedir)
2770  #     so it does not work when $(somedir) is undefined and
2771  #     $(DESTDIR) is not.
2772  #  To support the latter case, we have to write
2773  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2774  #  so the `.' trick is pointless.
2775  mkdir_p='mkdir -p --'
2776else
2777  # On NextStep and OpenStep, the `mkdir' command does not
2778  # recognize any option.  It will interpret all options as
2779  # directories to create, and then abort because `.' already
2780  # exists.
2781  for d in ./-p ./--version;
2782  do
2783    test -d $d && rmdir $d
2784  done
2785  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2786  if test -f "$ac_aux_dir/mkinstalldirs"; then
2787    mkdir_p='$(mkinstalldirs)'
2788  else
2789    mkdir_p='$(install_sh) -d'
2790  fi
2791fi
2792
2793for ac_prog in gawk mawk nawk awk
2794do
2795  # Extract the first word of "$ac_prog", so it can be a program name with args.
2796set dummy $ac_prog; ac_word=$2
2797echo "$as_me:$LINENO: checking for $ac_word" >&5
2798echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2799if test "${ac_cv_prog_AWK+set}" = set; then
2800  echo $ECHO_N "(cached) $ECHO_C" >&6
2801else
2802  if test -n "$AWK"; then
2803  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2804else
2805as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2806for as_dir in $PATH
2807do
2808  IFS=$as_save_IFS
2809  test -z "$as_dir" && as_dir=.
2810  for ac_exec_ext in '' $ac_executable_extensions; do
2811  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2812    ac_cv_prog_AWK="$ac_prog"
2813    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2814    break 2
2815  fi
2816done
2817done
2818
2819fi
2820fi
2821AWK=$ac_cv_prog_AWK
2822if test -n "$AWK"; then
2823  echo "$as_me:$LINENO: result: $AWK" >&5
2824echo "${ECHO_T}$AWK" >&6
2825else
2826  echo "$as_me:$LINENO: result: no" >&5
2827echo "${ECHO_T}no" >&6
2828fi
2829
2830  test -n "$AWK" && break
2831done
2832
2833echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2834echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2835set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2836if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2837  echo $ECHO_N "(cached) $ECHO_C" >&6
2838else
2839  cat >conftest.make <<\_ACEOF
2840all:
2841        @echo 'ac_maketemp="$(MAKE)"'
2842_ACEOF
2843# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2844eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2845if test -n "$ac_maketemp"; then
2846  eval ac_cv_prog_make_${ac_make}_set=yes
2847else
2848  eval ac_cv_prog_make_${ac_make}_set=no
2849fi
2850rm -f conftest.make
2851fi
2852if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2853  echo "$as_me:$LINENO: result: yes" >&5
2854echo "${ECHO_T}yes" >&6
2855  SET_MAKE=
2856else
2857  echo "$as_me:$LINENO: result: no" >&5
2858echo "${ECHO_T}no" >&6
2859  SET_MAKE="MAKE=${MAKE-make}"
2860fi
2861
2862rm -rf .tst 2>/dev/null
2863mkdir .tst 2>/dev/null
2864if test -d .tst; then
2865  am__leading_dot=.
2866else
2867  am__leading_dot=_
2868fi
2869rmdir .tst 2>/dev/null
2870
2871DEPDIR="${am__leading_dot}deps"
2872
2873          ac_config_commands="$ac_config_commands depfiles"
2874
2875
2876am_make=${MAKE-make}
2877cat > confinc << 'END'
2878am__doit:
2879        @echo done
2880.PHONY: am__doit
2881END
2882# If we don't find an include directive, just comment out the code.
2883echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2884echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2885am__include="#"
2886am__quote=
2887_am_result=none
2888# First try GNU make style include.
2889echo "include confinc" > confmf
2890# We grep out `Entering directory' and `Leaving directory'
2891# messages which can occur if `w' ends up in MAKEFLAGS.
2892# In particular we don't look at `^make:' because GNU make might
2893# be invoked under some other name (usually "gmake"), in which
2894# case it prints its new name instead of `make'.
2895if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2896   am__include=include
2897   am__quote=
2898   _am_result=GNU
2899fi
2900# Now try BSD make style include.
2901if test "$am__include" = "#"; then
2902   echo '.include "confinc"' > confmf
2903   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2904      am__include=.include
2905      am__quote="\""
2906      _am_result=BSD
2907   fi
2908fi
2909
2910
2911echo "$as_me:$LINENO: result: $_am_result" >&5
2912echo "${ECHO_T}$_am_result" >&6
2913rm -f confinc confmf
2914
2915# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2916if test "${enable_dependency_tracking+set}" = set; then
2917  enableval="$enable_dependency_tracking"
2918
2919fi;
2920if test "x$enable_dependency_tracking" != xno; then
2921  am_depcomp="$ac_aux_dir/depcomp"
2922  AMDEPBACKSLASH='\'
2923fi
2924
2925
2926if test "x$enable_dependency_tracking" != xno; then
2927  AMDEP_TRUE=
2928  AMDEP_FALSE='#'
2929else
2930  AMDEP_TRUE='#'
2931  AMDEP_FALSE=
2932fi
2933
2934
2935
2936
2937# Stuff for automake
2938# test to see if srcdir already configured
2939if test "`cd $srcdir && pwd`" != "`pwd`" &&
2940   test -f $srcdir/config.status; then
2941  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2942echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2943   { (exit 1); exit 1; }; }
2944fi
2945
2946# test whether we have cygpath
2947if test -z "$CYGPATH_W"; then
2948  if (cygpath --version) >/dev/null 2>/dev/null; then
2949    CYGPATH_W='cygpath -w'
2950  else
2951    CYGPATH_W=echo
2952  fi
2953fi
2954
2955
2956# Define the identity of the package.
2957 PACKAGE='thirdpartyasl'
2958 VERSION='0.0'
2959
2960
2961cat >>confdefs.h <<_ACEOF
2962#define PACKAGE "$PACKAGE"
2963_ACEOF
2964
2965
2966cat >>confdefs.h <<_ACEOF
2967#define VERSION "$VERSION"
2968_ACEOF
2969
2970# Some tools Automake needs.
2971
2972ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2973
2974
2975AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2976
2977
2978AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2979
2980
2981AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2982
2983
2984MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2985
2986install_sh=${install_sh-"$am_aux_dir/install-sh"}
2987
2988# Installed binaries are usually stripped using `strip' when the user
2989# run `make install-strip'.  However `strip' might not be the right
2990# tool to use in cross-compilation environments, therefore Automake
2991# will honor the `STRIP' environment variable to overrule this program.
2992if test "$cross_compiling" != no; then
2993  if test -n "$ac_tool_prefix"; then
2994  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2995set dummy ${ac_tool_prefix}strip; ac_word=$2
2996echo "$as_me:$LINENO: checking for $ac_word" >&5
2997echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2998if test "${ac_cv_prog_STRIP+set}" = set; then
2999  echo $ECHO_N "(cached) $ECHO_C" >&6
3000else
3001  if test -n "$STRIP"; then
3002  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3003else
3004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005for as_dir in $PATH
3006do
3007  IFS=$as_save_IFS
3008  test -z "$as_dir" && as_dir=.
3009  for ac_exec_ext in '' $ac_executable_extensions; do
3010  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3011    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3012    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3013    break 2
3014  fi
3015done
3016done
3017
3018fi
3019fi
3020STRIP=$ac_cv_prog_STRIP
3021if test -n "$STRIP"; then
3022  echo "$as_me:$LINENO: result: $STRIP" >&5
3023echo "${ECHO_T}$STRIP" >&6
3024else
3025  echo "$as_me:$LINENO: result: no" >&5
3026echo "${ECHO_T}no" >&6
3027fi
3028
3029fi
3030if test -z "$ac_cv_prog_STRIP"; then
3031  ac_ct_STRIP=$STRIP
3032  # Extract the first word of "strip", so it can be a program name with args.
3033set dummy strip; ac_word=$2
3034echo "$as_me:$LINENO: checking for $ac_word" >&5
3035echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3036if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3037  echo $ECHO_N "(cached) $ECHO_C" >&6
3038else
3039  if test -n "$ac_ct_STRIP"; then
3040  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3041else
3042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043for as_dir in $PATH
3044do
3045  IFS=$as_save_IFS
3046  test -z "$as_dir" && as_dir=.
3047  for ac_exec_ext in '' $ac_executable_extensions; do
3048  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3049    ac_cv_prog_ac_ct_STRIP="strip"
3050    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3051    break 2
3052  fi
3053done
3054done
3055
3056  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3057fi
3058fi
3059ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3060if test -n "$ac_ct_STRIP"; then
3061  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3062echo "${ECHO_T}$ac_ct_STRIP" >&6
3063else
3064  echo "$as_me:$LINENO: result: no" >&5
3065echo "${ECHO_T}no" >&6
3066fi
3067
3068  STRIP=$ac_ct_STRIP
3069else
3070  STRIP="$ac_cv_prog_STRIP"
3071fi
3072
3073fi
3074INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3075
3076# We need awk for the "check" target.  The system "awk" is bad on
3077# some platforms.
3078# Always define AMTAR for backward compatibility.
3079
3080AMTAR=${AMTAR-"${am_missing_run}tar"}
3081
3082am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3083
3084
3085
3086
3087depcc="$CC"   am_compiler_list=
3088
3089echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3090echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3091if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3092  echo $ECHO_N "(cached) $ECHO_C" >&6
3093else
3094  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3095  # We make a subdir and do the tests there.  Otherwise we can end up
3096  # making bogus files that we don't know about and never remove.  For
3097  # instance it was reported that on HP-UX the gcc test will end up
3098  # making a dummy file named `D' -- because `-MD' means `put the output
3099  # in D'.
3100  mkdir conftest.dir
3101  # Copy depcomp to subdir because otherwise we won't find it if we're
3102  # using a relative directory.
3103  cp "$am_depcomp" conftest.dir
3104  cd conftest.dir
3105  # We will build objects and dependencies in a subdirectory because
3106  # it helps to detect inapplicable dependency modes.  For instance
3107  # both Tru64's cc and ICC support -MD to output dependencies as a
3108  # side effect of compilation, but ICC will put the dependencies in
3109  # the current directory while Tru64 will put them in the object
3110  # directory.
3111  mkdir sub
3112
3113  am_cv_CC_dependencies_compiler_type=none
3114  if test "$am_compiler_list" = ""; then
3115     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3116  fi
3117  for depmode in $am_compiler_list; do
3118    # Setup a source with many dependencies, because some compilers
3119    # like to wrap large dependency lists on column 80 (with \), and
3120    # we should not choose a depcomp mode which is confused by this.
3121    #
3122    # We need to recreate these files for each test, as the compiler may
3123    # overwrite some of them when testing with obscure command lines.
3124    # This happens at least with the AIX C compiler.
3125    : > sub/conftest.c
3126    for i in 1 2 3 4 5 6; do
3127      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3128      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3129      # Solaris 8's {/usr,}/bin/sh.
3130      touch sub/conftst$i.h
3131    done
3132    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3133
3134    case $depmode in
3135    nosideeffect)
3136      # after this tag, mechanisms are not by side-effect, so they'll
3137      # only be used when explicitly requested
3138      if test "x$enable_dependency_tracking" = xyes; then
3139        continue
3140      else
3141        break
3142      fi
3143      ;;
3144    none) break ;;
3145    esac
3146    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3147    # mode.  It turns out that the SunPro C++ compiler does not properly
3148    # handle `-M -o', and we need to detect this.
3149    if depmode=$depmode \
3150       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3151       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3152       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3153         >/dev/null 2>conftest.err &&
3154       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3155       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3156       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3157      # icc doesn't choke on unknown options, it will just issue warnings
3158      # or remarks (even with -Werror).  So we grep stderr for any message
3159      # that says an option was ignored or not supported.
3160      # When given -MP, icc 7.0 and 7.1 complain thusly:
3161      #   icc: Command line warning: ignoring option '-M'; no argument required
3162      # The diagnosis changed in icc 8.0:
3163      #   icc: Command line remark: option '-MP' not supported
3164      if (grep 'ignoring option' conftest.err ||
3165          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3166        am_cv_CC_dependencies_compiler_type=$depmode
3167        break
3168      fi
3169    fi
3170  done
3171
3172  cd ..
3173  rm -rf conftest.dir
3174else
3175  am_cv_CC_dependencies_compiler_type=none
3176fi
3177
3178fi
3179echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3180echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3181CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3182
3183
3184
3185if
3186  test "x$enable_dependency_tracking" != xno \
3187  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3188  am__fastdepCC_TRUE=
3189  am__fastdepCC_FALSE='#'
3190else
3191  am__fastdepCC_TRUE='#'
3192  am__fastdepCC_FALSE=
3193fi
3194
3195
3196
3197echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3198echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3199    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3200if test "${enable_maintainer_mode+set}" = set; then
3201  enableval="$enable_maintainer_mode"
3202  USE_MAINTAINER_MODE=$enableval
3203else
3204  USE_MAINTAINER_MODE=no
3205fi;
3206  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3207echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3208
3209
3210if test $USE_MAINTAINER_MODE = yes; then
3211  MAINTAINER_MODE_TRUE=
3212  MAINTAINER_MODE_FALSE='#'
3213else
3214  MAINTAINER_MODE_TRUE='#'
3215  MAINTAINER_MODE_FALSE=
3216fi
3217
3218  MAINT=$MAINTAINER_MODE_TRUE
3219
3220
3221
3222coin_have_externals=no
3223if test "$enable_maintainer_mode" = yes; then
3224
3225  # If maintainer mode is chosen, we make sure that the correct versions
3226  # of the tools are used, and that we know where libtoo.m4 is (to
3227  # recreate acinclude.m4)
3228
3229
3230  LIBTOOLM4=
3231
3232  # Check if we have autoconf
3233  # Extract the first word of "autoconf", so it can be a program name with args.
3234set dummy autoconf; ac_word=$2
3235echo "$as_me:$LINENO: checking for $ac_word" >&5
3236echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3237if test "${ac_cv_prog_have_autoconf+set}" = set; then
3238  echo $ECHO_N "(cached) $ECHO_C" >&6
3239else
3240  if test -n "$have_autoconf"; then
3241  ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test.
3242else
3243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3244for as_dir in $PATH
3245do
3246  IFS=$as_save_IFS
3247  test -z "$as_dir" && as_dir=.
3248  for ac_exec_ext in '' $ac_executable_extensions; do
3249  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3250    ac_cv_prog_have_autoconf="yes"
3251    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3252    break 2
3253  fi
3254done
3255done
3256
3257  test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no"
3258fi
3259fi
3260have_autoconf=$ac_cv_prog_have_autoconf
3261if test -n "$have_autoconf"; then
3262  echo "$as_me:$LINENO: result: $have_autoconf" >&5
3263echo "${ECHO_T}$have_autoconf" >&6
3264else
3265  echo "$as_me:$LINENO: result: no" >&5
3266echo "${ECHO_T}no" >&6
3267fi
3268
3269  if test $have_autoconf = no; then
3270    { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&5
3271echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&2;}
3272   { (exit 1); exit 1; }; }
3273  fi
3274
3275  # Check whether autoconf is the correct version
3276  correct_version='2.59'
3277  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
3278  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of autoconf" >&5
3279echo $ECHO_N "checking whether we are using the correct version ($correct_version) of autoconf... $ECHO_C" >&6
3280  autoconf --version > confauto.out 2>&1
3281  if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
3282    echo "$as_me:$LINENO: result: yes" >&5
3283echo "${ECHO_T}yes" >&6
3284  else
3285    rm -f confauto.out
3286    echo "$as_me:$LINENO: result: no" >&5
3287echo "${ECHO_T}no" >&6
3288    { { echo "$as_me:$LINENO: error: You don't have the correct version of autoconf as the first one in your path." >&5
3289echo "$as_me: error: You don't have the correct version of autoconf as the first one in your path." >&2;}
3290   { (exit 1); exit 1; }; }
3291  fi
3292  rm -f confauto.out
3293
3294  # Check if the executable autoconf is picked up from the correct location
3295  echo "$as_me:$LINENO: checking whether autoconf is coming from the correct location" >&5
3296echo $ECHO_N "checking whether autoconf is coming from the correct location... $ECHO_C" >&6
3297  autoconf_dir=`which autoconf | sed -e 's=/autoconf=='`
3298  autoconf_dir=`cd $autoconf_dir; pwd`
3299  if test x$AUTOTOOLS_DIR = x; then
3300    want_dir=$HOME/bin
3301  else
3302    want_dir=$AUTOTOOLS_DIR/bin
3303  fi
3304  if test $autoconf_dir = `cd $want_dir; pwd`; then
3305    echo "$as_me:$LINENO: result: yes" >&5
3306echo "${ECHO_T}yes" >&6
3307  else
3308    rm -f confauto.out
3309    echo "$as_me:$LINENO: result: no" >&5
3310echo "${ECHO_T}no" >&6
3311    { { echo "$as_me:$LINENO: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5
3312echo "$as_me: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;}
3313   { (exit 1); exit 1; }; }
3314  fi
3315
3316  # Check if we have automake
3317  # Extract the first word of "automake", so it can be a program name with args.
3318set dummy automake; ac_word=$2
3319echo "$as_me:$LINENO: checking for $ac_word" >&5
3320echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3321if test "${ac_cv_prog_have_automake+set}" = set; then
3322  echo $ECHO_N "(cached) $ECHO_C" >&6
3323else
3324  if test -n "$have_automake"; then
3325  ac_cv_prog_have_automake="$have_automake" # Let the user override the test.
3326else
3327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3328for as_dir in $PATH
3329do
3330  IFS=$as_save_IFS
3331  test -z "$as_dir" && as_dir=.
3332  for ac_exec_ext in '' $ac_executable_extensions; do
3333  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3334    ac_cv_prog_have_automake="yes"
3335    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3336    break 2
3337  fi
3338done
3339done
3340
3341  test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no"
3342fi
3343fi
3344have_automake=$ac_cv_prog_have_automake
3345if test -n "$have_automake"; then
3346  echo "$as_me:$LINENO: result: $have_automake" >&5
3347echo "${ECHO_T}$have_automake" >&6
3348else
3349  echo "$as_me:$LINENO: result: no" >&5
3350echo "${ECHO_T}no" >&6
3351fi
3352
3353  if test $have_automake = no; then
3354    { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5
3355echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;}
3356   { (exit 1); exit 1; }; }
3357  fi
3358
3359  # Check whether automake is the correct version
3360  correct_version='1.9.6'
3361  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
3362  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5
3363echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6
3364  automake --version > confauto.out 2>&1
3365  if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
3366    echo "$as_me:$LINENO: result: yes" >&5
3367echo "${ECHO_T}yes" >&6
3368  else
3369    rm -f confauto.out
3370    echo "$as_me:$LINENO: result: no" >&5
3371echo "${ECHO_T}no" >&6
3372    { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5
3373echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;}
3374   { (exit 1); exit 1; }; }
3375  fi
3376  rm -f confauto.out
3377
3378  # Check if the executable automake is picked up from the correct location
3379  echo "$as_me:$LINENO: checking whether automake is coming from the correct location" >&5
3380echo $ECHO_N "checking whether automake is coming from the correct location... $ECHO_C" >&6
3381  automake_dir=`which automake | sed -e 's=/automake=='`
3382  automake_dir=`cd $automake_dir; pwd`
3383  if test x$AUTOTOOLS_DIR = x; then
3384    want_dir=$HOME/bin
3385  else
3386    want_dir=$AUTOTOOLS_DIR/bin
3387  fi
3388  if test $automake_dir = `cd $want_dir; pwd`; then
3389    echo "$as_me:$LINENO: result: yes" >&5
3390echo "${ECHO_T}yes" >&6
3391  else
3392    rm -f confauto.out
3393    echo "$as_me:$LINENO: result: no" >&5
3394echo "${ECHO_T}no" >&6
3395    { { echo "$as_me:$LINENO: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5
3396echo "$as_me: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;}
3397   { (exit 1); exit 1; }; }
3398  fi
3399
3400  # Check if we can find the libtool file
3401  if test x$AUTOTOOLS_DIR = x; then
3402    want_dir=$HOME/share
3403  else
3404    want_dir=$AUTOTOOLS_DIR/share
3405  fi
3406  as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh`
3407echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5
3408echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6
3409if eval "test \"\${$as_ac_File+set}\" = set"; then
3410  echo $ECHO_N "(cached) $ECHO_C" >&6
3411else
3412  test "$cross_compiling" = yes &&
3413  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3414echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3415   { (exit 1); exit 1; }; }
3416if test -r "$want_dir/aclocal/libtool.m4"; then
3417  eval "$as_ac_File=yes"
3418else
3419  eval "$as_ac_File=no"
3420fi
3421fi
3422echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
3423echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
3424if test `eval echo '${'$as_ac_File'}'` = yes; then
3425  LIBTOOLM4="$want_dir/aclocal/libtool.m4"
3426else
3427  { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
3428echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
3429   { (exit 1); exit 1; }; }
3430fi
3431
3432
3433  # Check if this is the correct version of libtool (with escaped dots)
3434  correct_version='1.5.22'
3435  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
3436  as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh`
3437echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5
3438echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6
3439if eval "test \"\${$as_ac_File+set}\" = set"; then
3440  echo $ECHO_N "(cached) $ECHO_C" >&6
3441else
3442  test "$cross_compiling" = yes &&
3443  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3444echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3445   { (exit 1); exit 1; }; }
3446if test -r "$want_dir/libtool/ltmain.sh"; then
3447  eval "$as_ac_File=yes"
3448else
3449  eval "$as_ac_File=no"
3450fi
3451fi
3452echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
3453echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
3454if test `eval echo '${'$as_ac_File'}'` = yes; then
3455  have_ltmain=yes
3456else
3457  have_ltmain=no
3458fi
3459
3460  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5
3461echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6
3462  if test $have_ltmain = yes; then
3463    if $EGREP $grep_version $want_dir/libtool/ltmain.sh >/dev/null 2>&1; then
3464      echo "$as_me:$LINENO: result: yes" >&5
3465echo "${ECHO_T}yes" >&6
3466    else
3467      echo "$as_me:$LINENO: result: no" >&5
3468echo "${ECHO_T}no" >&6
3469      { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5
3470echo "$as_me: error: You don't have the correct version of libtool." >&2;}
3471   { (exit 1); exit 1; }; }
3472    fi
3473  else
3474    echo "$as_me:$LINENO: result: no" >&5
3475echo "${ECHO_T}no" >&6
3476    { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5
3477echo "$as_me: error: I cannot find the ltmain.sh file." >&2;}
3478   { (exit 1); exit 1; }; }
3479  fi
3480
3481  # Check if we have an Externals file
3482  if test -r $srcdir/Externals; then
3483    coin_have_externals=yes
3484  fi
3485  # Check if subversion is installed and understands https
3486  # Extract the first word of "svn", so it can be a program name with args.
3487set dummy svn; ac_word=$2
3488echo "$as_me:$LINENO: checking for $ac_word" >&5
3489echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3490if test "${ac_cv_prog_have_svn+set}" = set; then
3491  echo $ECHO_N "(cached) $ECHO_C" >&6
3492else
3493  if test -n "$have_svn"; then
3494  ac_cv_prog_have_svn="$have_svn" # Let the user override the test.
3495else
3496as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497for as_dir in $PATH
3498do
3499  IFS=$as_save_IFS
3500  test -z "$as_dir" && as_dir=.
3501  for ac_exec_ext in '' $ac_executable_extensions; do
3502  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3503    ac_cv_prog_have_svn="yes"
3504    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3505    break 2
3506  fi
3507done
3508done
3509
3510  test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no"
3511fi
3512fi
3513have_svn=$ac_cv_prog_have_svn
3514if test -n "$have_svn"; then
3515  echo "$as_me:$LINENO: result: $have_svn" >&5
3516echo "${ECHO_T}$have_svn" >&6
3517else
3518  echo "$as_me:$LINENO: result: no" >&5
3519echo "${ECHO_T}no" >&6
3520fi
3521
3522  if test x$have_svn = xyes; then
3523    echo "$as_me:$LINENO: checking svn understands https" >&5
3524echo $ECHO_N "checking svn understands https... $ECHO_C" >&6
3525    svn --version > confauto.out 2>&1
3526    if $EGREP https confauto.out >/dev/null 2>&1; then
3527      echo "$as_me:$LINENO: result: yes" >&5
3528echo "${ECHO_T}yes" >&6
3529    else
3530      echo "$as_me:$LINENO: result: no" >&5
3531echo "${ECHO_T}no" >&6
3532      have_svn=no
3533    fi
3534    rm -f confauto.out
3535  fi
3536
3537  # Find the location of the BuildTools directory
3538  BUILDTOOLSDIR=
3539  if test -r $srcdir/BuildTools/coin.m4; then
3540    BUILDTOOLSDIR=$srcdir/BuildTools
3541  else
3542    if test -r $srcdir/../BuildTools/coin.m4; then
3543      BUILDTOOLSDIR=$srcdir/../BuildTools
3544    else
3545      if test -r $srcdir/../../BuildTools/coin.m4; then
3546        BUILDTOOLSDIR=$srcdir/../../BuildTools
3547      else
3548        { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
3549echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
3550   { (exit 1); exit 1; }; }
3551      fi
3552    fi
3553  fi
3554
3555
3556  # The following variable is set to the name of the directory where
3557  # the autotool scripts are located
3558
3559  AUX_DIR=$ac_aux_dir
3560fi
3561
3562# helpful variable for the base directory of this package
3563abs_source_dir=`cd $srcdir; pwd`
3564
3565
3566# Stuff for example Makefiles
3567if test x$prefix = xNONE; then
3568  full_prefix=$ac_default_prefix
3569else
3570  full_prefix=$prefix
3571fi
3572full_prefix=`cd $full_prefix ; pwd`
3573
3574abs_lib_dir=$full_prefix/lib
3575
3576abs_include_dir=$full_prefix/include
3577
3578abs_bin_dir=$full_prefix/bin
3579
3580
3581
3582if test $coin_have_externals = yes && test x$have_svn = xyes; then
3583  HAVE_EXTERNALS_TRUE=
3584  HAVE_EXTERNALS_FALSE='#'
3585else
3586  HAVE_EXTERNALS_TRUE='#'
3587  HAVE_EXTERNALS_FALSE=
3588fi
3589
3590
3591
3592#############################################################################
3593#                          AMPL SOLVER LIBRARY                              #
3594#############################################################################
3595
3596if test -z "$ASLMAKEFLAGS" ; then
3597  asladdcflags=
3598  case $build in
3599    *-linux*)
3600      asladdcflags="-DNON_STDIO"
3601      case $CC in
3602        pgcc* | */pgcc*)
3603          asladdcflags="$asladdcflags -DNO_fpu_control";;
3604      esac
3605      ;;
3606    *-cygwin*) # ToDo: If on Cygwin but not using -mno-cygwin, we should not define -DNo_Control87 -DNO_RUSAGE
3607      asladdcflags="-DNON_STDIO -DNo_Control87 -DNO_RUSAGE"
3608      ;;
3609    *-mingw32)
3610      asladdcflags="-DNON_STDIO -DNo_Control87 -DNO_RUSAGE"
3611      ;;
3612  esac
3613# Do the following for now to make sure we are not interupting compilation
3614# of ASL because of warning message:
3615  bla=
3616  for i in $CFLAGS; do
3617    if test "$i" != "-Werror"; then
3618      bla="$bla $i"
3619    fi
3620  done
3621  ASLMAKEFLAGS="CFLAGS=\"$bla $asladdcflags\""
3622
3623#   Somehow, -qtune=auto makes ASL segfault on AIX compiler, so take them out
3624  case $CC in
3625    xlc* | */xlc* | mpxlc* | */mpxlc*)
3626      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'`
3627      ;;
3628    pgcc* | */pgcc*)
3629      ASLMAKEFLAGS=`echo $ASLMAKEFLAGS | sed 's/-fast/-O1/g'`
3630      ;;
3631  esac
3632
3633  echo "$as_me:$LINENO: checking whether $am_make is the GNU make" >&5
3634echo $ECHO_N "checking whether $am_make is the GNU make... $ECHO_C" >&6
3635  rm -rf conftest.mak
3636  ($am_make -v -f conftest.mak > conftest.grp) 2>&5
3637  if $EGREP GNU conftest.grp >&5 ; then
3638    echo "$as_me:$LINENO: result: yes" >&5
3639echo "${ECHO_T}yes" >&6
3640    ASLMAKEFLAGS="-j 1 $ASLMAKEFLAGS"
3641  else
3642    echo "$as_me:$LINENO: result: no" >&5
3643echo "${ECHO_T}no" >&6
3644  fi
3645  rm -f conftest.mak conftest.grp
3646fi
3647
3648if test x"$AR" = x; then
3649  AR=ar
3650fi
3651
3652ASLMAKEFILECMDS="sed -e 's%ar \$\$(ARFLAGS)%$AR \$\$(ARFLAGS)%' makefile.u | sed -e 's%ar ruv%$AR ruv%' "
3653if test "$EXEEXT" = ".exe"; then
3654  ASLMAKEFILECMDS="$ASLMAKEFILECMDS | sed 's/a.out/a.exe/'"
3655fi
3656case $build in
3657  *-cygwin*)
3658    ASLMAKEFILECMDS="$ASLMAKEFILECMDS | sed 's%s/System_details/\`uname -sr\`/%s|System_details|\`uname -sr\`|%'" ;;
3659esac
3660ASLMAKEFILECMDS="$ASLMAKEFILECMDS > makefile"
3661
3662
3663
3664
3665          ac_config_files="$ac_config_files Makefile"
3666
3667
3668
3669if test x"$coin_need_flibs" = xyes; then
3670  ADDLIBS="$ADDLIBS $FLIBS"
3671fi
3672
3673cat >confcache <<\_ACEOF
3674# This file is a shell script that caches the results of configure
3675# tests run on this system so they can be shared between configure
3676# scripts and configure runs, see configure's option --config-cache.
3677# It is not useful on other systems.  If it contains results you don't
3678# want to keep, you may remove or edit it.
3679#
3680# config.status only pays attention to the cache file if you give it
3681# the --recheck option to rerun configure.
3682#
3683# `ac_cv_env_foo' variables (set or unset) will be overridden when
3684# loading this file, other *unset* `ac_cv_foo' will be assigned the
3685# following values.
3686
3687_ACEOF
3688
3689# The following way of writing the cache mishandles newlines in values,
3690# but we know of no workaround that is simple, portable, and efficient.
3691# So, don't put newlines in cache variables' values.
3692# Ultrix sh set writes to stderr and can't be redirected directly,
3693# and sets the high bit in the cache file unless we assign to the vars.
3694{
3695  (set) 2>&1 |
3696    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3697    *ac_space=\ *)
3698      # `set' does not quote correctly, so add quotes (double-quote
3699      # substitution turns \\\\ into \\, and sed turns \\ into \).
3700      sed -n \
3701        "s/'/'\\\\''/g;
3702          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3703      ;;
3704    *)
3705      # `set' quotes correctly as required by POSIX, so do not add quotes.
3706      sed -n \
3707        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3708      ;;
3709    esac;
3710} |
3711  sed '
3712     t clear
3713     : clear
3714     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3715     t end
3716     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3717     : end' >>confcache
3718if diff $cache_file confcache >/dev/null 2>&1; then :; else
3719  if test -w $cache_file; then
3720    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3721    cat confcache >$cache_file
3722  else
3723    echo "not updating unwritable cache $cache_file"
3724  fi
3725fi
3726rm -f confcache
3727
3728test "x$prefix" = xNONE && prefix=$ac_default_prefix
3729# Let make expand exec_prefix.
3730test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3731
3732# VPATH may cause trouble with some makes, so we remove $(srcdir),
3733# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3734# trailing colons and then remove the whole line if VPATH becomes empty
3735# (actually we leave an empty line to preserve line numbers).
3736if test "x$srcdir" = x.; then
3737  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3738s/:*\$(srcdir):*/:/;
3739s/:*\${srcdir}:*/:/;
3740s/:*@srcdir@:*/:/;
3741s/^\([^=]*=[     ]*\):*/\1/;
3742s/:*$//;
3743s/^[^=]*=[       ]*$//;
3744}'
3745fi
3746
3747# Transform confdefs.h into DEFS.
3748# Protect against shell expansion while executing Makefile rules.
3749# Protect against Makefile macro expansion.
3750#
3751# If the first sed substitution is executed (which looks for macros that
3752# take arguments), then we branch to the quote section.  Otherwise,
3753# look for a macro that doesn't take arguments.
3754cat >confdef2opt.sed <<\_ACEOF
3755t clear
3756: clear
3757s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
3758t quote
3759s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
3760t quote
3761d
3762: quote
3763s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
3764s,\[,\\&,g
3765s,\],\\&,g
3766s,\$,$$,g
3767p
3768_ACEOF
3769# We use echo to avoid assuming a particular line-breaking character.
3770# The extra dot is to prevent the shell from consuming trailing
3771# line-breaks from the sub-command output.  A line-break within
3772# single-quotes doesn't work because, if this script is created in a
3773# platform that uses two characters for line-breaks (e.g., DOS), tr
3774# would break.
3775ac_LF_and_DOT=`echo; echo .`
3776DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3777rm -f confdef2opt.sed
3778
3779
3780ac_libobjs=
3781ac_ltlibobjs=
3782for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3783  # 1. Remove the extension, and $U if already installed.
3784  ac_i=`echo "$ac_i" |
3785         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3786  # 2. Add them.
3787  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3788  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3789done
3790LIBOBJS=$ac_libobjs
3791
3792LTLIBOBJS=$ac_ltlibobjs
3793
3794
3795if test -z "${COIN_DEBUG_TRUE}" && test -z "${COIN_DEBUG_FALSE}"; then
3796  { { echo "$as_me:$LINENO: error: conditional \"COIN_DEBUG\" was never defined.
3797Usually this means the macro was only invoked conditionally." >&5
3798echo "$as_me: error: conditional \"COIN_DEBUG\" was never defined.
3799Usually this means the macro was only invoked conditionally." >&2;}
3800   { (exit 1); exit 1; }; }
3801fi
3802if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3803  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3804Usually this means the macro was only invoked conditionally." >&5
3805echo "$as_me: error: conditional \"AMDEP\" was never defined.
3806Usually this means the macro was only invoked conditionally." >&2;}
3807   { (exit 1); exit 1; }; }
3808fi
3809if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3810  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3811Usually this means the macro was only invoked conditionally." >&5
3812echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3813Usually this means the macro was only invoked conditionally." >&2;}
3814   { (exit 1); exit 1; }; }
3815fi
3816if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3817  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3818Usually this means the macro was only invoked conditionally." >&5
3819echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3820Usually this means the macro was only invoked conditionally." >&2;}
3821   { (exit 1); exit 1; }; }
3822fi
3823if test -z "${HAVE_EXTERNALS_TRUE}" && test -z "${HAVE_EXTERNALS_FALSE}"; then
3824  { { echo "$as_me:$LINENO: error: conditional \"HAVE_EXTERNALS\" was never defined.
3825Usually this means the macro was only invoked conditionally." >&5
3826echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
3827Usually this means the macro was only invoked conditionally." >&2;}
3828   { (exit 1); exit 1; }; }
3829fi
3830
3831: ${CONFIG_STATUS=./config.status}
3832ac_clean_files_save=$ac_clean_files
3833ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3834{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3835echo "$as_me: creating $CONFIG_STATUS" >&6;}
3836cat >$CONFIG_STATUS <<_ACEOF
3837#! $SHELL
3838# Generated by $as_me.
3839# Run this file to recreate the current configuration.
3840# Compiler output produced by configure, useful for debugging
3841# configure, is in config.log if it exists.
3842
3843debug=false
3844ac_cs_recheck=false
3845ac_cs_silent=false
3846SHELL=\${CONFIG_SHELL-$SHELL}
3847_ACEOF
3848
3849cat >>$CONFIG_STATUS <<\_ACEOF
3850## --------------------- ##
3851## M4sh Initialization.  ##
3852## --------------------- ##
3853
3854# Be Bourne compatible
3855if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3856  emulate sh
3857  NULLCMD=:
3858  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3859  # is contrary to our usage.  Disable this feature.
3860  alias -g '${1+"$@"}'='"$@"'
3861elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3862  set -o posix
3863fi
3864DUALCASE=1; export DUALCASE # for MKS sh
3865
3866# Support unset when possible.
3867if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3868  as_unset=unset
3869else
3870  as_unset=false
3871fi
3872
3873
3874# Work around bugs in pre-3.0 UWIN ksh.
3875$as_unset ENV MAIL MAILPATH
3876PS1='$ '
3877PS2='> '
3878PS4='+ '
3879
3880# NLS nuisances.
3881for as_var in \
3882  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3883  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3884  LC_TELEPHONE LC_TIME
3885do
3886  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3887    eval $as_var=C; export $as_var
3888  else
3889    $as_unset $as_var
3890  fi
3891done
3892
3893# Required to use basename.
3894if expr a : '\(a\)' >/dev/null 2>&1; then
3895  as_expr=expr
3896else
3897  as_expr=false
3898fi
3899
3900if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3901  as_basename=basename
3902else
3903  as_basename=false
3904fi
3905
3906
3907# Name of the executable.
3908as_me=`$as_basename "$0" ||
3909$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3910         X"$0" : 'X\(//\)$' \| \
3911         X"$0" : 'X\(/\)$' \| \
3912         .     : '\(.\)' 2>/dev/null ||
3913echo X/"$0" |
3914    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3915          /^X\/\(\/\/\)$/{ s//\1/; q; }
3916          /^X\/\(\/\).*/{ s//\1/; q; }
3917          s/.*/./; q'`
3918
3919
3920# PATH needs CR, and LINENO needs CR and PATH.
3921# Avoid depending upon Character Ranges.
3922as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3923as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3924as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3925as_cr_digits='0123456789'
3926as_cr_alnum=$as_cr_Letters$as_cr_digits
3927
3928# The user is always right.
3929if test "${PATH_SEPARATOR+set}" != set; then
3930  echo "#! /bin/sh" >conf$$.sh
3931  echo  "exit 0"   >>conf$$.sh
3932  chmod +x conf$$.sh
3933  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3934    PATH_SEPARATOR=';'
3935  else
3936    PATH_SEPARATOR=:
3937  fi
3938  rm -f conf$$.sh
3939fi
3940
3941
3942  as_lineno_1=$LINENO
3943  as_lineno_2=$LINENO
3944  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3945  test "x$as_lineno_1" != "x$as_lineno_2" &&
3946  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3947  # Find who we are.  Look in the path if we contain no path at all
3948  # relative or not.
3949  case $0 in
3950    *[\\/]* ) as_myself=$0 ;;
3951    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3952for as_dir in $PATH
3953do
3954  IFS=$as_save_IFS
3955  test -z "$as_dir" && as_dir=.
3956  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3957done
3958
3959       ;;
3960  esac
3961  # We did not find ourselves, most probably we were run as `sh COMMAND'
3962  # in which case we are not to be found in the path.
3963  if test "x$as_myself" = x; then
3964    as_myself=$0
3965  fi
3966  if test ! -f "$as_myself"; then
3967    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3968echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3969   { (exit 1); exit 1; }; }
3970  fi
3971  case $CONFIG_SHELL in
3972  '')
3973    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3974for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3975do
3976  IFS=$as_save_IFS
3977  test -z "$as_dir" && as_dir=.
3978  for as_base in sh bash ksh sh5; do
3979         case $as_dir in
3980         /*)
3981           if ("$as_dir/$as_base" -c '
3982  as_lineno_1=$LINENO
3983  as_lineno_2=$LINENO
3984  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3985  test "x$as_lineno_1" != "x$as_lineno_2" &&
3986  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3987             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3988             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3989             CONFIG_SHELL=$as_dir/$as_base
3990             export CONFIG_SHELL
3991             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3992           fi;;
3993         esac
3994       done
3995done
3996;;
3997  esac
3998
3999  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4000  # uniformly replaced by the line number.  The first 'sed' inserts a
4001  # line-number line before each line; the second 'sed' does the real
4002  # work.  The second script uses 'N' to pair each line-number line
4003  # with the numbered line, and appends trailing '-' during
4004  # substitution so that $LINENO is not a special case at line end.
4005  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4006  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4007  sed '=' <$as_myself |
4008    sed '
4009      N
4010      s,$,-,
4011      : loop
4012      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4013      t loop
4014      s,-$,,
4015      s,^['$as_cr_digits']*\n,,
4016    ' >$as_me.lineno &&
4017  chmod +x $as_me.lineno ||
4018    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4019echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4020   { (exit 1); exit 1; }; }
4021
4022  # Don't try to exec as it changes $[0], causing all sort of problems
4023  # (the dirname of $[0] is not the place where we might find the
4024  # original and so on.  Autoconf is especially sensible to this).
4025  . ./$as_me.lineno
4026  # Exit status is that of the last command.
4027  exit
4028}
4029
4030
4031case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4032  *c*,-n*) ECHO_N= ECHO_C='
4033' ECHO_T='      ' ;;
4034  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4035  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4036esac
4037
4038if expr a : '\(a\)' >/dev/null 2>&1; then
4039  as_expr=expr
4040else
4041  as_expr=false
4042fi
4043
4044rm -f conf$$ conf$$.exe conf$$.file
4045echo >conf$$.file
4046if ln -s conf$$.file conf$$ 2>/dev/null; then
4047  # We could just check for DJGPP; but this test a) works b) is more generic
4048  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4049  if test -f conf$$.exe; then
4050    # Don't use ln at all; we don't have any links
4051    as_ln_s='cp -p'
4052  else
4053    as_ln_s='ln -s'
4054  fi
4055elif ln conf$$.file conf$$ 2>/dev/null; then
4056  as_ln_s=ln
4057else
4058  as_ln_s='cp -p'
4059fi
4060rm -f conf$$ conf$$.exe conf$$.file
4061
4062if mkdir -p . 2>/dev/null; then
4063  as_mkdir_p=:
4064else
4065  test -d ./-p && rmdir ./-p
4066  as_mkdir_p=false
4067fi
4068
4069as_executable_p="test -f"
4070
4071# Sed expression to map a string onto a valid CPP name.
4072as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4073
4074# Sed expression to map a string onto a valid variable name.
4075as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4076
4077
4078# IFS
4079# We need space, tab and new line, in precisely that order.
4080as_nl='
4081'
4082IFS="   $as_nl"
4083
4084# CDPATH.
4085$as_unset CDPATH
4086
4087exec 6>&1
4088
4089# Open the log real soon, to keep \$[0] and so on meaningful, and to
4090# report actual input values of CONFIG_FILES etc. instead of their
4091# values after options handling.  Logging --version etc. is OK.
4092exec 5>>config.log
4093{
4094  echo
4095  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4096## Running $as_me. ##
4097_ASBOX
4098} >&5
4099cat >&5 <<_CSEOF
4100
4101This file was extended by ThirdPartyASL $as_me 0.0, which was
4102generated by GNU Autoconf 2.59.  Invocation command line was
4103
4104  CONFIG_FILES    = $CONFIG_FILES
4105  CONFIG_HEADERS  = $CONFIG_HEADERS
4106  CONFIG_LINKS    = $CONFIG_LINKS
4107  CONFIG_COMMANDS = $CONFIG_COMMANDS
4108  $ $0 $@
4109
4110_CSEOF
4111echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4112echo >&5
4113_ACEOF
4114
4115# Files that config.status was made for.
4116if test -n "$ac_config_files"; then
4117  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4118fi
4119
4120if test -n "$ac_config_headers"; then
4121  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4122fi
4123
4124if test -n "$ac_config_links"; then
4125  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4126fi
4127
4128if test -n "$ac_config_commands"; then
4129  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4130fi
4131
4132cat >>$CONFIG_STATUS <<\_ACEOF
4133
4134ac_cs_usage="\
4135\`$as_me' instantiates files from templates according to the
4136current configuration.
4137
4138Usage: $0 [OPTIONS] [FILE]...
4139
4140  -h, --help       print this help, then exit
4141  -V, --version    print version number, then exit
4142  -q, --quiet      do not print progress messages
4143  -d, --debug      don't remove temporary files
4144      --recheck    update $as_me by reconfiguring in the same conditions
4145  --file=FILE[:TEMPLATE]
4146                   instantiate the configuration file FILE
4147
4148Configuration files:
4149$config_files
4150
4151Configuration commands:
4152$config_commands
4153
4154Report bugs to <bug-autoconf@gnu.org>."
4155_ACEOF
4156
4157cat >>$CONFIG_STATUS <<_ACEOF
4158ac_cs_version="\\
4159ThirdPartyASL config.status 0.0
4160configured by $0, generated by GNU Autoconf 2.59,
4161  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4162
4163Copyright (C) 2003 Free Software Foundation, Inc.
4164This config.status script is free software; the Free Software Foundation
4165gives unlimited permission to copy, distribute and modify it."
4166srcdir=$srcdir
4167INSTALL="$INSTALL"
4168_ACEOF
4169
4170cat >>$CONFIG_STATUS <<\_ACEOF
4171# If no file are specified by the user, then we need to provide default
4172# value.  By we need to know if files were specified by the user.
4173ac_need_defaults=:
4174while test $# != 0
4175do
4176  case $1 in
4177  --*=*)
4178    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4179    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4180    ac_shift=:
4181    ;;
4182  -*)
4183    ac_option=$1
4184    ac_optarg=$2
4185    ac_shift=shift
4186    ;;
4187  *) # This is not an option, so the user has probably given explicit
4188     # arguments.
4189     ac_option=$1
4190     ac_need_defaults=false;;
4191  esac
4192
4193  case $ac_option in
4194  # Handling of the options.
4195_ACEOF
4196cat >>$CONFIG_STATUS <<\_ACEOF
4197  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4198    ac_cs_recheck=: ;;
4199  --version | --vers* | -V )
4200    echo "$ac_cs_version"; exit 0 ;;
4201  --he | --h)
4202    # Conflict between --help and --header
4203    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4204Try \`$0 --help' for more information." >&5
4205echo "$as_me: error: ambiguous option: $1
4206Try \`$0 --help' for more information." >&2;}
4207   { (exit 1); exit 1; }; };;
4208  --help | --hel | -h )
4209    echo "$ac_cs_usage"; exit 0 ;;
4210  --debug | --d* | -d )
4211    debug=: ;;
4212  --file | --fil | --fi | --f )
4213    $ac_shift
4214    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4215    ac_need_defaults=false;;
4216  --header | --heade | --head | --hea )
4217    $ac_shift
4218    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4219    ac_need_defaults=false;;
4220  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4221  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4222    ac_cs_silent=: ;;
4223
4224  # This is an error.
4225  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4226Try \`$0 --help' for more information." >&5
4227echo "$as_me: error: unrecognized option: $1
4228Try \`$0 --help' for more information." >&2;}
4229   { (exit 1); exit 1; }; } ;;
4230
4231  *) ac_config_targets="$ac_config_targets $1" ;;
4232
4233  esac
4234  shift
4235done
4236
4237ac_configure_extra_args=
4238
4239if $ac_cs_silent; then
4240  exec 6>/dev/null
4241  ac_configure_extra_args="$ac_configure_extra_args --silent"
4242fi
4243
4244_ACEOF
4245cat >>$CONFIG_STATUS <<_ACEOF
4246if \$ac_cs_recheck; then
4247  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4248  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4249fi
4250
4251_ACEOF
4252
4253cat >>$CONFIG_STATUS <<_ACEOF
4254#
4255# INIT-COMMANDS section.
4256#
4257
4258AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4259
4260_ACEOF
4261
4262
4263
4264cat >>$CONFIG_STATUS <<\_ACEOF
4265for ac_config_target in $ac_config_targets
4266do
4267  case "$ac_config_target" in
4268  # Handling of arguments.
4269  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4270  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4271  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4272echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4273   { (exit 1); exit 1; }; };;
4274  esac
4275done
4276
4277# If the user did not use the arguments to specify the items to instantiate,
4278# then the envvar interface is used.  Set only those that are not.
4279# We use the long form for the default assignment because of an extremely
4280# bizarre bug on SunOS 4.1.3.
4281if $ac_need_defaults; then
4282  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4283  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4284fi
4285
4286# Have a temporary directory for convenience.  Make it in the build tree
4287# simply because there is no reason to put it here, and in addition,
4288# creating and moving files from /tmp can sometimes cause problems.
4289# Create a temporary directory, and hook for its removal unless debugging.
4290$debug ||
4291{
4292  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4293  trap '{ (exit 1); exit 1; }' 1 2 13 15
4294}
4295
4296# Create a (secure) tmp directory for tmp files.
4297
4298{
4299  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4300  test -n "$tmp" && test -d "$tmp"
4301}  ||
4302{
4303  tmp=./confstat$$-$RANDOM
4304  (umask 077 && mkdir $tmp)
4305} ||
4306{
4307   echo "$me: cannot create a temporary directory in ." >&2
4308   { (exit 1); exit 1; }
4309}
4310
4311_ACEOF
4312
4313cat >>$CONFIG_STATUS <<_ACEOF
4314
4315#
4316# CONFIG_FILES section.
4317#
4318
4319# No need to generate the scripts if there are no CONFIG_FILES.
4320# This happens for instance when ./config.status config.h
4321if test -n "\$CONFIG_FILES"; then
4322  # Protect against being on the right side of a sed subst in config.status.
4323  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4324   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4325s,@SHELL@,$SHELL,;t t
4326s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4327s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4328s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4329s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4330s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4331s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4332s,@exec_prefix@,$exec_prefix,;t t
4333s,@prefix@,$prefix,;t t
4334s,@program_transform_name@,$program_transform_name,;t t
4335s,@bindir@,$bindir,;t t
4336s,@sbindir@,$sbindir,;t t
4337s,@libexecdir@,$libexecdir,;t t
4338s,@datadir@,$datadir,;t t
4339s,@sysconfdir@,$sysconfdir,;t t
4340s,@sharedstatedir@,$sharedstatedir,;t t
4341s,@localstatedir@,$localstatedir,;t t
4342s,@libdir@,$libdir,;t t
4343s,@includedir@,$includedir,;t t
4344s,@oldincludedir@,$oldincludedir,;t t
4345s,@infodir@,$infodir,;t t
4346s,@mandir@,$mandir,;t t
4347s,@build_alias@,$build_alias,;t t
4348s,@host_alias@,$host_alias,;t t
4349s,@target_alias@,$target_alias,;t t
4350s,@DEFS@,$DEFS,;t t
4351s,@ECHO_C@,$ECHO_C,;t t
4352s,@ECHO_N@,$ECHO_N,;t t
4353s,@ECHO_T@,$ECHO_T,;t t
4354s,@LIBS@,$LIBS,;t t
4355s,@build@,$build,;t t
4356s,@build_cpu@,$build_cpu,;t t
4357s,@build_vendor@,$build_vendor,;t t
4358s,@build_os@,$build_os,;t t
4359s,@COIN_DEBUG_TRUE@,$COIN_DEBUG_TRUE,;t t
4360s,@COIN_DEBUG_FALSE@,$COIN_DEBUG_FALSE,;t t
4361s,@EGREP@,$EGREP,;t t
4362s,@LN_S@,$LN_S,;t t
4363s,@CDEFS@,$CDEFS,;t t
4364s,@CC@,$CC,;t t
4365s,@CFLAGS@,$CFLAGS,;t t
4366s,@LDFLAGS@,$LDFLAGS,;t t
4367s,@CPPFLAGS@,$CPPFLAGS,;t t
4368s,@ac_ct_CC@,$ac_ct_CC,;t t
4369s,@EXEEXT@,$EXEEXT,;t t
4370s,@OBJEXT@,$OBJEXT,;t t
4371s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t
4372s,@MPICC@,$MPICC,;t t
4373s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4374s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4375s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4376s,@CYGPATH_W@,$CYGPATH_W,;t t
4377s,@PACKAGE@,$PACKAGE,;t t
4378s,@VERSION@,$VERSION,;t t
4379s,@ACLOCAL@,$ACLOCAL,;t t
4380s,@AUTOCONF@,$AUTOCONF,;t t
4381s,@AUTOMAKE@,$AUTOMAKE,;t t
4382s,@AUTOHEADER@,$AUTOHEADER,;t t
4383s,@MAKEINFO@,$MAKEINFO,;t t
4384s,@install_sh@,$install_sh,;t t
4385s,@STRIP@,$STRIP,;t t
4386s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4387s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4388s,@mkdir_p@,$mkdir_p,;t t
4389s,@AWK@,$AWK,;t t
4390s,@SET_MAKE@,$SET_MAKE,;t t
4391s,@am__leading_dot@,$am__leading_dot,;t t
4392s,@AMTAR@,$AMTAR,;t t
4393s,@am__tar@,$am__tar,;t t
4394s,@am__untar@,$am__untar,;t t
4395s,@DEPDIR@,$DEPDIR,;t t
4396s,@am__include@,$am__include,;t t
4397s,@am__quote@,$am__quote,;t t
4398s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4399s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4400s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4401s,@CCDEPMODE@,$CCDEPMODE,;t t
4402s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4403s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4404s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4405s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4406s,@MAINT@,$MAINT,;t t
4407s,@LIBTOOLM4@,$LIBTOOLM4,;t t
4408s,@have_autoconf@,$have_autoconf,;t t
4409s,@have_automake@,$have_automake,;t t
4410s,@have_svn@,$have_svn,;t t
4411s,@BUILDTOOLSDIR@,$BUILDTOOLSDIR,;t t
4412s,@AUX_DIR@,$AUX_DIR,;t t
4413s,@abs_source_dir@,$abs_source_dir,;t t
4414s,@abs_lib_dir@,$abs_lib_dir,;t t
4415s,@abs_include_dir@,$abs_include_dir,;t t
4416s,@abs_bin_dir@,$abs_bin_dir,;t t
4417s,@HAVE_EXTERNALS_TRUE@,$HAVE_EXTERNALS_TRUE,;t t
4418s,@HAVE_EXTERNALS_FALSE@,$HAVE_EXTERNALS_FALSE,;t t
4419s,@ASLMAKEFLAGS@,$ASLMAKEFLAGS,;t t
4420s,@ASLMAKEFILECMDS@,$ASLMAKEFILECMDS,;t t
4421s,@LIBOBJS@,$LIBOBJS,;t t
4422s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4423CEOF
4424
4425_ACEOF
4426
4427  cat >>$CONFIG_STATUS <<\_ACEOF
4428  # Split the substitutions into bite-sized pieces for seds with
4429  # small command number limits, like on Digital OSF/1 and HP-UX.
4430  ac_max_sed_lines=48
4431  ac_sed_frag=1 # Number of current file.
4432  ac_beg=1 # First line for current file.
4433  ac_end=$ac_max_sed_lines # Line after last line for current file.
4434  ac_more_lines=:
4435  ac_sed_cmds=
4436  while $ac_more_lines; do
4437    if test $ac_beg -gt 1; then
4438      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4439    else
4440      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4441    fi
4442    if test ! -s $tmp/subs.frag; then
4443      ac_more_lines=false
4444    else
4445      # The purpose of the label and of the branching condition is to
4446      # speed up the sed processing (if there are no `@' at all, there
4447      # is no need to browse any of the substitutions).
4448      # These are the two extra sed commands mentioned above.
4449      (echo ':t
4450  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4451      if test -z "$ac_sed_cmds"; then
4452        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4453      else
4454        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4455      fi
4456      ac_sed_frag=`expr $ac_sed_frag + 1`
4457      ac_beg=$ac_end
4458      ac_end=`expr $ac_end + $ac_max_sed_lines`
4459    fi
4460  done
4461  if test -z "$ac_sed_cmds"; then
4462    ac_sed_cmds=cat
4463  fi
4464fi # test -n "$CONFIG_FILES"
4465
4466_ACEOF
4467cat >>$CONFIG_STATUS <<\_ACEOF
4468for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4469  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4470  case $ac_file in
4471  - | *:- | *:-:* ) # input from stdin
4472        cat >$tmp/stdin
4473        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4474        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4475  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4476        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4477  * )   ac_file_in=$ac_file.in ;;
4478  esac
4479
4480  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4481  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4482$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4483         X"$ac_file" : 'X\(//\)[^/]' \| \
4484         X"$ac_file" : 'X\(//\)$' \| \
4485         X"$ac_file" : 'X\(/\)' \| \
4486         .     : '\(.\)' 2>/dev/null ||
4487echo X"$ac_file" |
4488    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4489          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4490          /^X\(\/\/\)$/{ s//\1/; q; }
4491          /^X\(\/\).*/{ s//\1/; q; }
4492          s/.*/./; q'`
4493  { if $as_mkdir_p; then
4494    mkdir -p "$ac_dir"
4495  else
4496    as_dir="$ac_dir"
4497    as_dirs=
4498    while test ! -d "$as_dir"; do
4499      as_dirs="$as_dir $as_dirs"
4500      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4501$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4502         X"$as_dir" : 'X\(//\)[^/]' \| \
4503         X"$as_dir" : 'X\(//\)$' \| \
4504         X"$as_dir" : 'X\(/\)' \| \
4505         .     : '\(.\)' 2>/dev/null ||
4506echo X"$as_dir" |
4507    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4508          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4509          /^X\(\/\/\)$/{ s//\1/; q; }
4510          /^X\(\/\).*/{ s//\1/; q; }
4511          s/.*/./; q'`
4512    done
4513    test ! -n "$as_dirs" || mkdir $as_dirs
4514  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4515echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4516   { (exit 1); exit 1; }; }; }
4517
4518  ac_builddir=.
4519
4520if test "$ac_dir" != .; then
4521  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4522  # A "../" for each directory in $ac_dir_suffix.
4523  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4524else
4525  ac_dir_suffix= ac_top_builddir=
4526fi
4527
4528case $srcdir in
4529  .)  # No --srcdir option.  We are building in place.
4530    ac_srcdir=.
4531    if test -z "$ac_top_builddir"; then
4532       ac_top_srcdir=.
4533    else
4534       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4535    fi ;;
4536  [\\/]* | ?:[\\/]* )  # Absolute path.
4537    ac_srcdir=$srcdir$ac_dir_suffix;
4538    ac_top_srcdir=$srcdir ;;
4539  *) # Relative path.
4540    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4541    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4542esac
4543
4544# Do not use `cd foo && pwd` to compute absolute paths, because
4545# the directories may not exist.
4546case `pwd` in
4547.) ac_abs_builddir="$ac_dir";;
4548*)
4549  case "$ac_dir" in
4550  .) ac_abs_builddir=`pwd`;;
4551  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4552  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4553  esac;;
4554esac
4555case $ac_abs_builddir in
4556.) ac_abs_top_builddir=${ac_top_builddir}.;;
4557*)
4558  case ${ac_top_builddir}. in
4559  .) ac_abs_top_builddir=$ac_abs_builddir;;
4560  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4561  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4562  esac;;
4563esac
4564case $ac_abs_builddir in
4565.) ac_abs_srcdir=$ac_srcdir;;
4566*)
4567  case $ac_srcdir in
4568  .) ac_abs_srcdir=$ac_abs_builddir;;
4569  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4570  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4571  esac;;
4572esac
4573case $ac_abs_builddir in
4574.) ac_abs_top_srcdir=$ac_top_srcdir;;
4575*)
4576  case $ac_top_srcdir in
4577  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4578  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4579  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4580  esac;;
4581esac
4582
4583
4584  case $INSTALL in
4585  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4586  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4587  esac
4588
4589  if test x"$ac_file" != x-; then
4590    { echo "$as_me:$LINENO: creating $ac_file" >&5
4591echo "$as_me: creating $ac_file" >&6;}
4592    rm -f "$ac_file"
4593  fi
4594  # Let's still pretend it is `configure' which instantiates (i.e., don't
4595  # use $as_me), people would be surprised to read:
4596  #    /* config.h.  Generated by config.status.  */
4597  if test x"$ac_file" = x-; then
4598    configure_input=
4599  else
4600    configure_input="$ac_file.  "
4601  fi
4602  configure_input=$configure_input"Generated from `echo $ac_file_in |
4603                                     sed 's,.*/,,'` by configure."
4604
4605  # First look for the input files in the build tree, otherwise in the
4606  # src tree.
4607  ac_file_inputs=`IFS=:
4608    for f in $ac_file_in; do
4609      case $f in
4610      -) echo $tmp/stdin ;;
4611      [\\/$]*)
4612         # Absolute (can't be DOS-style, as IFS=:)
4613         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4614echo "$as_me: error: cannot find input file: $f" >&2;}
4615   { (exit 1); exit 1; }; }
4616         echo "$f";;
4617      *) # Relative
4618         if test -f "$f"; then
4619           # Build tree
4620           echo "$f"
4621         elif test -f "$srcdir/$f"; then
4622           # Source tree
4623           echo "$srcdir/$f"
4624         else
4625           # /dev/null tree
4626           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4627echo "$as_me: error: cannot find input file: $f" >&2;}
4628   { (exit 1); exit 1; }; }
4629         fi;;
4630      esac
4631    done` || { (exit 1); exit 1; }
4632_ACEOF
4633cat >>$CONFIG_STATUS <<_ACEOF
4634  sed "$ac_vpsub
4635$extrasub
4636_ACEOF
4637cat >>$CONFIG_STATUS <<\_ACEOF
4638:t
4639/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4640s,@configure_input@,$configure_input,;t t
4641s,@srcdir@,$ac_srcdir,;t t
4642s,@abs_srcdir@,$ac_abs_srcdir,;t t
4643s,@top_srcdir@,$ac_top_srcdir,;t t
4644s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4645s,@builddir@,$ac_builddir,;t t
4646s,@abs_builddir@,$ac_abs_builddir,;t t
4647s,@top_builddir@,$ac_top_builddir,;t t
4648s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4649s,@INSTALL@,$ac_INSTALL,;t t
4650" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4651  rm -f $tmp/stdin
4652  if test x"$ac_file" != x-; then
4653    mv $tmp/out $ac_file
4654  else
4655    cat $tmp/out
4656    rm -f $tmp/out
4657  fi
4658
4659done
4660_ACEOF
4661cat >>$CONFIG_STATUS <<\_ACEOF
4662
4663#
4664# CONFIG_COMMANDS section.
4665#
4666for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4667  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4668  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4669  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4670$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4671         X"$ac_dest" : 'X\(//\)[^/]' \| \
4672         X"$ac_dest" : 'X\(//\)$' \| \
4673         X"$ac_dest" : 'X\(/\)' \| \
4674         .     : '\(.\)' 2>/dev/null ||
4675echo X"$ac_dest" |
4676    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4677          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4678          /^X\(\/\/\)$/{ s//\1/; q; }
4679          /^X\(\/\).*/{ s//\1/; q; }
4680          s/.*/./; q'`
4681  { if $as_mkdir_p; then
4682    mkdir -p "$ac_dir"
4683  else
4684    as_dir="$ac_dir"
4685    as_dirs=
4686    while test ! -d "$as_dir"; do
4687      as_dirs="$as_dir $as_dirs"
4688      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4689$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4690         X"$as_dir" : 'X\(//\)[^/]' \| \
4691         X"$as_dir" : 'X\(//\)$' \| \
4692         X"$as_dir" : 'X\(/\)' \| \
4693         .     : '\(.\)' 2>/dev/null ||
4694echo X"$as_dir" |
4695    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4696          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4697          /^X\(\/\/\)$/{ s//\1/; q; }
4698          /^X\(\/\).*/{ s//\1/; q; }
4699          s/.*/./; q'`
4700    done
4701    test ! -n "$as_dirs" || mkdir $as_dirs
4702  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4703echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4704   { (exit 1); exit 1; }; }; }
4705
4706  ac_builddir=.
4707
4708if test "$ac_dir" != .; then
4709  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4710  # A "../" for each directory in $ac_dir_suffix.
4711  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4712else
4713  ac_dir_suffix= ac_top_builddir=
4714fi
4715
4716case $srcdir in
4717  .)  # No --srcdir option.  We are building in place.
4718    ac_srcdir=.
4719    if test -z "$ac_top_builddir"; then
4720       ac_top_srcdir=.
4721    else
4722       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4723    fi ;;
4724  [\\/]* | ?:[\\/]* )  # Absolute path.
4725    ac_srcdir=$srcdir$ac_dir_suffix;
4726    ac_top_srcdir=$srcdir ;;
4727  *) # Relative path.
4728    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4729    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4730esac
4731
4732# Do not use `cd foo && pwd` to compute absolute paths, because
4733# the directories may not exist.
4734case `pwd` in
4735.) ac_abs_builddir="$ac_dir";;
4736*)
4737  case "$ac_dir" in
4738  .) ac_abs_builddir=`pwd`;;
4739  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4740  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4741  esac;;
4742esac
4743case $ac_abs_builddir in
4744.) ac_abs_top_builddir=${ac_top_builddir}.;;
4745*)
4746  case ${ac_top_builddir}. in
4747  .) ac_abs_top_builddir=$ac_abs_builddir;;
4748  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4749  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4750  esac;;
4751esac
4752case $ac_abs_builddir in
4753.) ac_abs_srcdir=$ac_srcdir;;
4754*)
4755  case $ac_srcdir in
4756  .) ac_abs_srcdir=$ac_abs_builddir;;
4757  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4758  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4759  esac;;
4760esac
4761case $ac_abs_builddir in
4762.) ac_abs_top_srcdir=$ac_top_srcdir;;
4763*)
4764  case $ac_top_srcdir in
4765  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4766  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4767  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4768  esac;;
4769esac
4770
4771
4772  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4773echo "$as_me: executing $ac_dest commands" >&6;}
4774  case $ac_dest in
4775    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4776  # Strip MF so we end up with the name of the file.
4777  mf=`echo "$mf" | sed -e 's/:.*$//'`
4778  # Check whether this is an Automake generated Makefile or not.
4779  # We used to match only the files named `Makefile.in', but
4780  # some people rename them; so instead we look at the file content.
4781  # Grep'ing the first line is not enough: some people post-process
4782  # each Makefile.in and add a new line on top of each file to say so.
4783  # So let's grep whole file.
4784  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4785    dirpart=`(dirname "$mf") 2>/dev/null ||
4786$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4787         X"$mf" : 'X\(//\)[^/]' \| \
4788         X"$mf" : 'X\(//\)$' \| \
4789         X"$mf" : 'X\(/\)' \| \
4790         .     : '\(.\)' 2>/dev/null ||
4791echo X"$mf" |
4792    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4793          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4794          /^X\(\/\/\)$/{ s//\1/; q; }
4795          /^X\(\/\).*/{ s//\1/; q; }
4796          s/.*/./; q'`
4797  else
4798    continue
4799  fi
4800  # Extract the definition of DEPDIR, am__include, and am__quote
4801  # from the Makefile without running `make'.
4802  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4803  test -z "$DEPDIR" && continue
4804  am__include=`sed -n 's/^am__include = //p' < "$mf"`
4805  test -z "am__include" && continue
4806  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4807  # When using ansi2knr, U may be empty or an underscore; expand it
4808  U=`sed -n 's/^U = //p' < "$mf"`
4809  # Find all dependency output files, they are included files with
4810  # $(DEPDIR) in their names.  We invoke sed twice because it is the
4811  # simplest approach to changing $(DEPDIR) to its actual value in the
4812  # expansion.
4813  for file in `sed -n "
4814    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4815       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4816    # Make sure the directory exists.
4817    test -f "$dirpart/$file" && continue
4818    fdir=`(dirname "$file") 2>/dev/null ||
4819$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4820         X"$file" : 'X\(//\)[^/]' \| \
4821         X"$file" : 'X\(//\)$' \| \
4822         X"$file" : 'X\(/\)' \| \
4823         .     : '\(.\)' 2>/dev/null ||
4824echo X"$file" |
4825    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4826          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4827          /^X\(\/\/\)$/{ s//\1/; q; }
4828          /^X\(\/\).*/{ s//\1/; q; }
4829          s/.*/./; q'`
4830    { if $as_mkdir_p; then
4831    mkdir -p $dirpart/$fdir
4832  else
4833    as_dir=$dirpart/$fdir
4834    as_dirs=
4835    while test ! -d "$as_dir"; do
4836      as_dirs="$as_dir $as_dirs"
4837      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4838$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4839         X"$as_dir" : 'X\(//\)[^/]' \| \
4840         X"$as_dir" : 'X\(//\)$' \| \
4841         X"$as_dir" : 'X\(/\)' \| \
4842         .     : '\(.\)' 2>/dev/null ||
4843echo X"$as_dir" |
4844    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4845          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4846          /^X\(\/\/\)$/{ s//\1/; q; }
4847          /^X\(\/\).*/{ s//\1/; q; }
4848          s/.*/./; q'`
4849    done
4850    test ! -n "$as_dirs" || mkdir $as_dirs
4851  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4852echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4853   { (exit 1); exit 1; }; }; }
4854
4855    # echo "creating $dirpart/$file"
4856    echo '# dummy' > "$dirpart/$file"
4857  done
4858done
4859 ;;
4860  esac
4861done
4862_ACEOF
4863
4864cat >>$CONFIG_STATUS <<\_ACEOF
4865
4866{ (exit 0); exit 0; }
4867_ACEOF
4868chmod +x $CONFIG_STATUS
4869ac_clean_files=$ac_clean_files_save
4870
4871
4872# configure is writing to config.log, and then calls config.status.
4873# config.status does its own redirection, appending to config.log.
4874# Unfortunately, on DOS this fails, as config.log is still kept open
4875# by configure, so config.status won't be able to write to it; its
4876# output is simply discarded.  So we exec the FD to /dev/null,
4877# effectively closing config.log, so it can be properly (re)opened and
4878# appended to by config.status.  When coming back to configure, we
4879# need to make the FD available again.
4880if test "$no_create" != yes; then
4881  ac_cs_success=:
4882  ac_config_status_args=
4883  test "$silent" = yes &&
4884    ac_config_status_args="$ac_config_status_args --quiet"
4885  exec 5>/dev/null
4886  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4887  exec 5>>config.log
4888  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4889  # would make configure fail if this is the last instruction.
4890  $ac_cs_success || { (exit 1); exit 1; }
4891fi
4892
4893
4894if test x"$coin_vpath_link_files" = x; then : ; else
4895  { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
4896echo "$as_me: Creating VPATH links for data files" >&6;}
4897  for file in $coin_vpath_link_files; do
4898    rm -f $file
4899    $LN_S $abs_source_dir/$file $file
4900  done
4901fi
4902
4903# Define VPATH_DISTCLEANFILES to be everything that needs to be
4904# cleaned for distclean in a vpath configuration
4905
4906VPATH_DISTCLEANFILES="$coin_vpath_link_files"
4907
4908if test x$coin_projectdir = xyes; then
4909  { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
4910echo "$as_me: Configuration of $PACKAGE_NAME successful" >&6;}
4911else
4912  { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&5
4913echo "$as_me: Main configuration of $PACKAGE_NAME successful" >&6;}
4914fi
4915
Note: See TracBrowser for help on using the repository browser.