source: ThirdParty/ASL/trunk/configure @ 227

Last change on this file since 227 was 227, checked in by andreasw, 13 years ago

compile third party code only if not otherwise available

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