source: ThirdParty/ASL/trunk/configure @ 63

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

corrected last correcion

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