source: ThirdParty/ASL/trunk/configure @ 181

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

reran autotools

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