source: ThirdParty/ASL/trunk/configure @ 211

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

reran autotools with latest coin.m4

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