source: ThirdParty/ASL/trunk/configure @ 45

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

First version of ASL ThirtParty? directory

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