source: ThirdParty/ASL/trunk/configure @ 49

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

added Blas and Lapack ThirdParty? configuration and makefiles

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