source: ThirdParty/ASL/trunk/configure @ 144

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

included latest changes from coin.m4

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