source: ThirdParty/ASL/trunk/configure @ 160

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

included latest changes from coin.m4

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