source: ThirdParty/ASL/trunk/configure @ 91

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

updated according to changes in BuildTools?

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