source: ThirdParty/ASL/stable/1.0/configure @ 120

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

check for C compiler when we search for Fortran compiler to make sure we have consistent compilers

  • Property svn:executable set to *
File size: 153.8 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 test x${DBG_CFLAGS+set} != xset; then
2562    DBG_CFLAGS="$coin_dbg_cflags $coin_add_cflags $coin_warn_cflags"
2563  fi
2564  if test x${OPT_CFLAGS+set} != xset; then
2565    OPT_CFLAGS="$coin_opt_cflags $coin_add_cflags -DNDEBUG $coin_warn_cflags"
2566  fi
2567
2568  DBG_CFLAGS="$DBG_CFLAGS $ADD_CFLAGS $CDEFS"
2569  OPT_CFLAGS="$OPT_CFLAGS $ADD_CFLAGS $CDEFS"
2570
2571  if test "$coin_debug_compile" = "true"; then
2572    CFLAGS="$DBG_CFLAGS"
2573  else
2574    CFLAGS="$OPT_CFLAGS"
2575  fi
2576else
2577  CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS"
2578  if test x${DBG_CFLAGS+set} != xset; then
2579    DBG_CFLAGS="$CFLAGS"
2580  fi
2581  if test x${OPT_CFLAGS+set} != xset; then
2582    OPT_CFLAGS="$CFLAGS"
2583  fi
2584fi
2585
2586# Check if user wants to have additional CFLAGS options
2587
2588if test x"$ADD_CFLAGS" != x; then
2589  CFLAGS="$CFLAGS $ADD_CFLAGS"
2590fi
2591
2592# Try if CFLAGS works
2593save_CFLAGS="$CFLAGS"
2594cat >conftest.$ac_ext <<_ACEOF
2595/* confdefs.h.  */
2596_ACEOF
2597cat confdefs.h >>conftest.$ac_ext
2598cat >>conftest.$ac_ext <<_ACEOF
2599/* end confdefs.h.  */
2600
2601int
2602main ()
2603{
2604int i=0; i++;
2605  ;
2606  return 0;
2607}
2608_ACEOF
2609rm -f conftest.$ac_objext conftest$ac_exeext
2610if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2611  (eval $ac_link) 2>conftest.er1
2612  ac_status=$?
2613  grep -v '^ *+' conftest.er1 >conftest.err
2614  rm -f conftest.er1
2615  cat conftest.err >&5
2616  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617  (exit $ac_status); } &&
2618         { ac_try='test -z "$ac_c_werror_flag"
2619                         || test ! -s conftest.err'
2620  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2621  (eval $ac_try) 2>&5
2622  ac_status=$?
2623  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624  (exit $ac_status); }; } &&
2625         { ac_try='test -s conftest$ac_exeext'
2626  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627  (eval $ac_try) 2>&5
2628  ac_status=$?
2629  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630  (exit $ac_status); }; }; then
2631  :
2632else
2633  echo "$as_me: failed program was:" >&5
2634sed 's/^/| /' conftest.$ac_ext >&5
2635
2636CFLAGS=
2637fi
2638rm -f conftest.err conftest.$ac_objext \
2639      conftest$ac_exeext conftest.$ac_ext
2640if test -z "$CFLAGS"; then
2641  { 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
2642echo "$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;}
2643  CFLAGS='-O'
2644  cat >conftest.$ac_ext <<_ACEOF
2645/* confdefs.h.  */
2646_ACEOF
2647cat confdefs.h >>conftest.$ac_ext
2648cat >>conftest.$ac_ext <<_ACEOF
2649/* end confdefs.h.  */
2650
2651int
2652main ()
2653{
2654int i=0; i++;
2655  ;
2656  return 0;
2657}
2658_ACEOF
2659rm -f conftest.$ac_objext conftest$ac_exeext
2660if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2661  (eval $ac_link) 2>conftest.er1
2662  ac_status=$?
2663  grep -v '^ *+' conftest.er1 >conftest.err
2664  rm -f conftest.er1
2665  cat conftest.err >&5
2666  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667  (exit $ac_status); } &&
2668         { ac_try='test -z "$ac_c_werror_flag"
2669                         || test ! -s conftest.err'
2670  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2671  (eval $ac_try) 2>&5
2672  ac_status=$?
2673  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674  (exit $ac_status); }; } &&
2675         { ac_try='test -s conftest$ac_exeext'
2676  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2677  (eval $ac_try) 2>&5
2678  ac_status=$?
2679  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680  (exit $ac_status); }; }; then
2681  :
2682else
2683  echo "$as_me: failed program was:" >&5
2684sed 's/^/| /' conftest.$ac_ext >&5
2685
2686CFLAGS=
2687fi
2688rm -f conftest.err conftest.$ac_objext \
2689      conftest$ac_exeext conftest.$ac_ext
2690  if test -z "$CFLAGS"; then
2691    { 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
2692echo "$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;}
2693  fi
2694fi
2695
2696{ echo "$as_me:$LINENO: C compiler options are: $CFLAGS" >&5
2697echo "$as_me: C compiler options are: $CFLAGS" >&6;}
2698
2699
2700if test x"$MPICC" = x; then :; else
2701  { echo "$as_me:$LINENO: Will use MPI C compiler $MPICC" >&5
2702echo "$as_me: Will use MPI C compiler $MPICC" >&6;}
2703  CC="$MPICC"
2704fi
2705
2706# Correct ADDLIBS initialization if we are using the MS compiler
2707case "$CC" in
2708  cl*)
2709    ADDLIBS=
2710    case $build in
2711  *-mingw*)
2712    if test "${LD+set}" = set; then :; else
2713      LD=link
2714    fi
2715    ;;
2716esac
2717
2718    ;;
2719esac
2720
2721ac_ext=c
2722ac_cpp='$CPP $CPPFLAGS'
2723ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2724ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2725ac_compiler_gnu=$ac_cv_c_compiler_gnu
2726
2727
2728
2729# We filter out the -pedantic-errors flag for C compiler because
2730# ASL otherwise doesn't compile
2731CFLAGS=`echo $CFLAGS | sed -e s/-pedantic-errors//g`
2732
2733
2734# Initialize automake
2735am__api_version="1.9"
2736# Find a good install program.  We prefer a C program (faster),
2737# so one script is as good as another.  But avoid the broken or
2738# incompatible versions:
2739# SysV /etc/install, /usr/sbin/install
2740# SunOS /usr/etc/install
2741# IRIX /sbin/install
2742# AIX /bin/install
2743# AmigaOS /C/install, which installs bootblocks on floppy discs
2744# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2745# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2746# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2747# OS/2's system install, which has a completely different semantic
2748# ./install, which can be erroneously created by make from ./install.sh.
2749echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2750echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2751if test -z "$INSTALL"; then
2752if test "${ac_cv_path_install+set}" = set; then
2753  echo $ECHO_N "(cached) $ECHO_C" >&6
2754else
2755  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756for as_dir in $PATH
2757do
2758  IFS=$as_save_IFS
2759  test -z "$as_dir" && as_dir=.
2760  # Account for people who put trailing slashes in PATH elements.
2761case $as_dir/ in
2762  ./ | .// | /cC/* | \
2763  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2764  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2765  /usr/ucb/* ) ;;
2766  *)
2767    # OSF1 and SCO ODT 3.0 have their own names for install.
2768    # Don't use installbsd from OSF since it installs stuff as root
2769    # by default.
2770    for ac_prog in ginstall scoinst install; do
2771      for ac_exec_ext in '' $ac_executable_extensions; do
2772        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2773          if test $ac_prog = install &&
2774            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2775            # AIX install.  It has an incompatible calling convention.
2776            :
2777          elif test $ac_prog = install &&
2778            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2779            # program-specific install script used by HP pwplus--don't use.
2780            :
2781          else
2782            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2783            break 3
2784          fi
2785        fi
2786      done
2787    done
2788    ;;
2789esac
2790done
2791
2792
2793fi
2794  if test "${ac_cv_path_install+set}" = set; then
2795    INSTALL=$ac_cv_path_install
2796  else
2797    # As a last resort, use the slow shell script.  We don't cache a
2798    # path for INSTALL within a source directory, because that will
2799    # break other packages using the cache if that directory is
2800    # removed, or if the path is relative.
2801    INSTALL=$ac_install_sh
2802  fi
2803fi
2804echo "$as_me:$LINENO: result: $INSTALL" >&5
2805echo "${ECHO_T}$INSTALL" >&6
2806
2807# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2808# It thinks the first close brace ends the variable substitution.
2809test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2810
2811test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2812
2813test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2814
2815echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2816echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2817# Just in case
2818sleep 1
2819echo timestamp > conftest.file
2820# Do `set' in a subshell so we don't clobber the current shell's
2821# arguments.  Must try -L first in case configure is actually a
2822# symlink; some systems play weird games with the mod time of symlinks
2823# (eg FreeBSD returns the mod time of the symlink's containing
2824# directory).
2825if (
2826   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2827   if test "$*" = "X"; then
2828      # -L didn't work.
2829      set X `ls -t $srcdir/configure conftest.file`
2830   fi
2831   rm -f conftest.file
2832   if test "$*" != "X $srcdir/configure conftest.file" \
2833      && test "$*" != "X conftest.file $srcdir/configure"; then
2834
2835      # If neither matched, then we have a broken ls.  This can happen
2836      # if, for instance, CONFIG_SHELL is bash and it inherits a
2837      # broken ls alias from the environment.  This has actually
2838      # happened.  Such a system could not be considered "sane".
2839      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2840alias in your environment" >&5
2841echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2842alias in your environment" >&2;}
2843   { (exit 1); exit 1; }; }
2844   fi
2845
2846   test "$2" = conftest.file
2847   )
2848then
2849   # Ok.
2850   :
2851else
2852   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2853Check your system clock" >&5
2854echo "$as_me: error: newly created file is older than distributed files!
2855Check your system clock" >&2;}
2856   { (exit 1); exit 1; }; }
2857fi
2858echo "$as_me:$LINENO: result: yes" >&5
2859echo "${ECHO_T}yes" >&6
2860test "$program_prefix" != NONE &&
2861  program_transform_name="s,^,$program_prefix,;$program_transform_name"
2862# Use a double $ so make ignores it.
2863test "$program_suffix" != NONE &&
2864  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2865# Double any \ or $.  echo might interpret backslashes.
2866# By default was `s,x,x', remove it if useless.
2867cat <<\_ACEOF >conftest.sed
2868s/[\\$]/&&/g;s/;s,x,x,$//
2869_ACEOF
2870program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2871rm conftest.sed
2872
2873# expand $ac_aux_dir to an absolute path
2874am_aux_dir=`cd $ac_aux_dir && pwd`
2875
2876test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2877# Use eval to expand $SHELL
2878if eval "$MISSING --run true"; then
2879  am_missing_run="$MISSING --run "
2880else
2881  am_missing_run=
2882  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2883echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2884fi
2885
2886if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2887  # We used to keeping the `.' as first argument, in order to
2888  # allow $(mkdir_p) to be used without argument.  As in
2889  #   $(mkdir_p) $(somedir)
2890  # where $(somedir) is conditionally defined.  However this is wrong
2891  # for two reasons:
2892  #  1. if the package is installed by a user who cannot write `.'
2893  #     make install will fail,
2894  #  2. the above comment should most certainly read
2895  #     $(mkdir_p) $(DESTDIR)$(somedir)
2896  #     so it does not work when $(somedir) is undefined and
2897  #     $(DESTDIR) is not.
2898  #  To support the latter case, we have to write
2899  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2900  #  so the `.' trick is pointless.
2901  mkdir_p='mkdir -p --'
2902else
2903  # On NextStep and OpenStep, the `mkdir' command does not
2904  # recognize any option.  It will interpret all options as
2905  # directories to create, and then abort because `.' already
2906  # exists.
2907  for d in ./-p ./--version;
2908  do
2909    test -d $d && rmdir $d
2910  done
2911  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2912  if test -f "$ac_aux_dir/mkinstalldirs"; then
2913    mkdir_p='$(mkinstalldirs)'
2914  else
2915    mkdir_p='$(install_sh) -d'
2916  fi
2917fi
2918
2919for ac_prog in gawk mawk nawk awk
2920do
2921  # Extract the first word of "$ac_prog", so it can be a program name with args.
2922set dummy $ac_prog; ac_word=$2
2923echo "$as_me:$LINENO: checking for $ac_word" >&5
2924echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2925if test "${ac_cv_prog_AWK+set}" = set; then
2926  echo $ECHO_N "(cached) $ECHO_C" >&6
2927else
2928  if test -n "$AWK"; then
2929  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2930else
2931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2932for as_dir in $PATH
2933do
2934  IFS=$as_save_IFS
2935  test -z "$as_dir" && as_dir=.
2936  for ac_exec_ext in '' $ac_executable_extensions; do
2937  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2938    ac_cv_prog_AWK="$ac_prog"
2939    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2940    break 2
2941  fi
2942done
2943done
2944
2945fi
2946fi
2947AWK=$ac_cv_prog_AWK
2948if test -n "$AWK"; then
2949  echo "$as_me:$LINENO: result: $AWK" >&5
2950echo "${ECHO_T}$AWK" >&6
2951else
2952  echo "$as_me:$LINENO: result: no" >&5
2953echo "${ECHO_T}no" >&6
2954fi
2955
2956  test -n "$AWK" && break
2957done
2958
2959echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2960echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2961set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2962if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2963  echo $ECHO_N "(cached) $ECHO_C" >&6
2964else
2965  cat >conftest.make <<\_ACEOF
2966all:
2967        @echo 'ac_maketemp="$(MAKE)"'
2968_ACEOF
2969# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2970eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2971if test -n "$ac_maketemp"; then
2972  eval ac_cv_prog_make_${ac_make}_set=yes
2973else
2974  eval ac_cv_prog_make_${ac_make}_set=no
2975fi
2976rm -f conftest.make
2977fi
2978if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2979  echo "$as_me:$LINENO: result: yes" >&5
2980echo "${ECHO_T}yes" >&6
2981  SET_MAKE=
2982else
2983  echo "$as_me:$LINENO: result: no" >&5
2984echo "${ECHO_T}no" >&6
2985  SET_MAKE="MAKE=${MAKE-make}"
2986fi
2987
2988rm -rf .tst 2>/dev/null
2989mkdir .tst 2>/dev/null
2990if test -d .tst; then
2991  am__leading_dot=.
2992else
2993  am__leading_dot=_
2994fi
2995rmdir .tst 2>/dev/null
2996
2997DEPDIR="${am__leading_dot}deps"
2998
2999          ac_config_commands="$ac_config_commands depfiles"
3000
3001
3002am_make=${MAKE-make}
3003cat > confinc << 'END'
3004am__doit:
3005        @echo done
3006.PHONY: am__doit
3007END
3008# If we don't find an include directive, just comment out the code.
3009echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3010echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3011am__include="#"
3012am__quote=
3013_am_result=none
3014# First try GNU make style include.
3015echo "include confinc" > confmf
3016# We grep out `Entering directory' and `Leaving directory'
3017# messages which can occur if `w' ends up in MAKEFLAGS.
3018# In particular we don't look at `^make:' because GNU make might
3019# be invoked under some other name (usually "gmake"), in which
3020# case it prints its new name instead of `make'.
3021if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3022   am__include=include
3023   am__quote=
3024   _am_result=GNU
3025fi
3026# Now try BSD make style include.
3027if test "$am__include" = "#"; then
3028   echo '.include "confinc"' > confmf
3029   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3030      am__include=.include
3031      am__quote="\""
3032      _am_result=BSD
3033   fi
3034fi
3035
3036
3037echo "$as_me:$LINENO: result: $_am_result" >&5
3038echo "${ECHO_T}$_am_result" >&6
3039rm -f confinc confmf
3040
3041# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3042if test "${enable_dependency_tracking+set}" = set; then
3043  enableval="$enable_dependency_tracking"
3044
3045fi;
3046if test "x$enable_dependency_tracking" != xno; then
3047  am_depcomp="$ac_aux_dir/depcomp"
3048  AMDEPBACKSLASH='\'
3049fi
3050
3051
3052if test "x$enable_dependency_tracking" != xno; then
3053  AMDEP_TRUE=
3054  AMDEP_FALSE='#'
3055else
3056  AMDEP_TRUE='#'
3057  AMDEP_FALSE=
3058fi
3059
3060
3061
3062
3063# Stuff for automake
3064# test to see if srcdir already configured
3065if test "`cd $srcdir && pwd`" != "`pwd`" &&
3066   test -f $srcdir/config.status; then
3067  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3068echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3069   { (exit 1); exit 1; }; }
3070fi
3071
3072# test whether we have cygpath
3073if test -z "$CYGPATH_W"; then
3074  if (cygpath --version) >/dev/null 2>/dev/null; then
3075    CYGPATH_W='cygpath -w'
3076  else
3077    CYGPATH_W=echo
3078  fi
3079fi
3080
3081
3082# Define the identity of the package.
3083 PACKAGE='thirdpartyasl'
3084 VERSION='0.0'
3085
3086
3087cat >>confdefs.h <<_ACEOF
3088#define PACKAGE "$PACKAGE"
3089_ACEOF
3090
3091
3092cat >>confdefs.h <<_ACEOF
3093#define VERSION "$VERSION"
3094_ACEOF
3095
3096# Some tools Automake needs.
3097
3098ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3099
3100
3101AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3102
3103
3104AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3105
3106
3107AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3108
3109
3110MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3111
3112install_sh=${install_sh-"$am_aux_dir/install-sh"}
3113
3114# Installed binaries are usually stripped using `strip' when the user
3115# run `make install-strip'.  However `strip' might not be the right
3116# tool to use in cross-compilation environments, therefore Automake
3117# will honor the `STRIP' environment variable to overrule this program.
3118if test "$cross_compiling" != no; then
3119  if test -n "$ac_tool_prefix"; then
3120  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3121set dummy ${ac_tool_prefix}strip; ac_word=$2
3122echo "$as_me:$LINENO: checking for $ac_word" >&5
3123echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3124if test "${ac_cv_prog_STRIP+set}" = set; then
3125  echo $ECHO_N "(cached) $ECHO_C" >&6
3126else
3127  if test -n "$STRIP"; then
3128  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3129else
3130as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131for as_dir in $PATH
3132do
3133  IFS=$as_save_IFS
3134  test -z "$as_dir" && as_dir=.
3135  for ac_exec_ext in '' $ac_executable_extensions; do
3136  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3137    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3138    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3139    break 2
3140  fi
3141done
3142done
3143
3144fi
3145fi
3146STRIP=$ac_cv_prog_STRIP
3147if test -n "$STRIP"; then
3148  echo "$as_me:$LINENO: result: $STRIP" >&5
3149echo "${ECHO_T}$STRIP" >&6
3150else
3151  echo "$as_me:$LINENO: result: no" >&5
3152echo "${ECHO_T}no" >&6
3153fi
3154
3155fi
3156if test -z "$ac_cv_prog_STRIP"; then
3157  ac_ct_STRIP=$STRIP
3158  # Extract the first word of "strip", so it can be a program name with args.
3159set dummy strip; ac_word=$2
3160echo "$as_me:$LINENO: checking for $ac_word" >&5
3161echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3162if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3163  echo $ECHO_N "(cached) $ECHO_C" >&6
3164else
3165  if test -n "$ac_ct_STRIP"; then
3166  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3167else
3168as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3169for as_dir in $PATH
3170do
3171  IFS=$as_save_IFS
3172  test -z "$as_dir" && as_dir=.
3173  for ac_exec_ext in '' $ac_executable_extensions; do
3174  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3175    ac_cv_prog_ac_ct_STRIP="strip"
3176    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3177    break 2
3178  fi
3179done
3180done
3181
3182  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3183fi
3184fi
3185ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3186if test -n "$ac_ct_STRIP"; then
3187  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3188echo "${ECHO_T}$ac_ct_STRIP" >&6
3189else
3190  echo "$as_me:$LINENO: result: no" >&5
3191echo "${ECHO_T}no" >&6
3192fi
3193
3194  STRIP=$ac_ct_STRIP
3195else
3196  STRIP="$ac_cv_prog_STRIP"
3197fi
3198
3199fi
3200INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3201
3202# We need awk for the "check" target.  The system "awk" is bad on
3203# some platforms.
3204# Always define AMTAR for backward compatibility.
3205
3206AMTAR=${AMTAR-"${am_missing_run}tar"}
3207
3208am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3209
3210
3211
3212
3213depcc="$CC"   am_compiler_list=
3214
3215echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3216echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3217if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3218  echo $ECHO_N "(cached) $ECHO_C" >&6
3219else
3220  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3221  # We make a subdir and do the tests there.  Otherwise we can end up
3222  # making bogus files that we don't know about and never remove.  For
3223  # instance it was reported that on HP-UX the gcc test will end up
3224  # making a dummy file named `D' -- because `-MD' means `put the output
3225  # in D'.
3226  mkdir conftest.dir
3227  # Copy depcomp to subdir because otherwise we won't find it if we're
3228  # using a relative directory.
3229  cp "$am_depcomp" conftest.dir
3230  cd conftest.dir
3231  # We will build objects and dependencies in a subdirectory because
3232  # it helps to detect inapplicable dependency modes.  For instance
3233  # both Tru64's cc and ICC support -MD to output dependencies as a
3234  # side effect of compilation, but ICC will put the dependencies in
3235  # the current directory while Tru64 will put them in the object
3236  # directory.
3237  mkdir sub
3238
3239  am_cv_CC_dependencies_compiler_type=none
3240  if test "$am_compiler_list" = ""; then
3241     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3242  fi
3243  for depmode in $am_compiler_list; do
3244    # Setup a source with many dependencies, because some compilers
3245    # like to wrap large dependency lists on column 80 (with \), and
3246    # we should not choose a depcomp mode which is confused by this.
3247    #
3248    # We need to recreate these files for each test, as the compiler may
3249    # overwrite some of them when testing with obscure command lines.
3250    # This happens at least with the AIX C compiler.
3251    : > sub/conftest.c
3252    for i in 1 2 3 4 5 6; do
3253      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3254      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3255      # Solaris 8's {/usr,}/bin/sh.
3256      touch sub/conftst$i.h
3257    done
3258    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3259
3260    case $depmode in
3261    nosideeffect)
3262      # after this tag, mechanisms are not by side-effect, so they'll
3263      # only be used when explicitly requested
3264      if test "x$enable_dependency_tracking" = xyes; then
3265        continue
3266      else
3267        break
3268      fi
3269      ;;
3270    none) break ;;
3271    esac
3272    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3273    # mode.  It turns out that the SunPro C++ compiler does not properly
3274    # handle `-M -o', and we need to detect this.
3275    if depmode=$depmode \
3276       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3277       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3278       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3279         >/dev/null 2>conftest.err &&
3280       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3281       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3282       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3283      # icc doesn't choke on unknown options, it will just issue warnings
3284      # or remarks (even with -Werror).  So we grep stderr for any message
3285      # that says an option was ignored or not supported.
3286      # When given -MP, icc 7.0 and 7.1 complain thusly:
3287      #   icc: Command line warning: ignoring option '-M'; no argument required
3288      # The diagnosis changed in icc 8.0:
3289      #   icc: Command line remark: option '-MP' not supported
3290      if (grep 'ignoring option' conftest.err ||
3291          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3292        am_cv_CC_dependencies_compiler_type=$depmode
3293        break
3294      fi
3295    fi
3296  done
3297
3298  cd ..
3299  rm -rf conftest.dir
3300else
3301  am_cv_CC_dependencies_compiler_type=none
3302fi
3303
3304fi
3305echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3306echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3307CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3308
3309
3310
3311if
3312  test "x$enable_dependency_tracking" != xno \
3313  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3314  am__fastdepCC_TRUE=
3315  am__fastdepCC_FALSE='#'
3316else
3317  am__fastdepCC_TRUE='#'
3318  am__fastdepCC_FALSE=
3319fi
3320
3321
3322
3323echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3324echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3325    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3326if test "${enable_maintainer_mode+set}" = set; then
3327  enableval="$enable_maintainer_mode"
3328  USE_MAINTAINER_MODE=$enableval
3329else
3330  USE_MAINTAINER_MODE=no
3331fi;
3332  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3333echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3334
3335
3336if test $USE_MAINTAINER_MODE = yes; then
3337  MAINTAINER_MODE_TRUE=
3338  MAINTAINER_MODE_FALSE='#'
3339else
3340  MAINTAINER_MODE_TRUE='#'
3341  MAINTAINER_MODE_FALSE=
3342fi
3343
3344  MAINT=$MAINTAINER_MODE_TRUE
3345
3346
3347
3348coin_have_externals=no
3349if test "$enable_maintainer_mode" = yes; then
3350
3351  # If maintainer mode is chosen, we make sure that the correct versions
3352  # of the tools are used, and that we know where libtoo.m4 is (to
3353  # recreate acinclude.m4)
3354
3355
3356  LIBTOOLM4=
3357
3358  # Check if we have autoconf
3359  # Extract the first word of "autoconf", so it can be a program name with args.
3360set dummy autoconf; ac_word=$2
3361echo "$as_me:$LINENO: checking for $ac_word" >&5
3362echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3363if test "${ac_cv_prog_have_autoconf+set}" = set; then
3364  echo $ECHO_N "(cached) $ECHO_C" >&6
3365else
3366  if test -n "$have_autoconf"; then
3367  ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test.
3368else
3369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3370for as_dir in $PATH
3371do
3372  IFS=$as_save_IFS
3373  test -z "$as_dir" && as_dir=.
3374  for ac_exec_ext in '' $ac_executable_extensions; do
3375  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3376    ac_cv_prog_have_autoconf="yes"
3377    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3378    break 2
3379  fi
3380done
3381done
3382
3383  test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no"
3384fi
3385fi
3386have_autoconf=$ac_cv_prog_have_autoconf
3387if test -n "$have_autoconf"; then
3388  echo "$as_me:$LINENO: result: $have_autoconf" >&5
3389echo "${ECHO_T}$have_autoconf" >&6
3390else
3391  echo "$as_me:$LINENO: result: no" >&5
3392echo "${ECHO_T}no" >&6
3393fi
3394
3395  if test $have_autoconf = no; then
3396    { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&5
3397echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&2;}
3398   { (exit 1); exit 1; }; }
3399  fi
3400
3401  # Check whether autoconf is the correct version
3402  correct_version='2.59'
3403  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
3404  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of autoconf" >&5
3405echo $ECHO_N "checking whether we are using the correct version ($correct_version) of autoconf... $ECHO_C" >&6
3406  autoconf --version > confauto.out 2>&1
3407  if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
3408    echo "$as_me:$LINENO: result: yes" >&5
3409echo "${ECHO_T}yes" >&6
3410  else
3411    rm -f confauto.out
3412    echo "$as_me:$LINENO: result: no" >&5
3413echo "${ECHO_T}no" >&6
3414    { { echo "$as_me:$LINENO: error: You don't have the correct version of autoconf as the first one in your path." >&5
3415echo "$as_me: error: You don't have the correct version of autoconf as the first one in your path." >&2;}
3416   { (exit 1); exit 1; }; }
3417  fi
3418  rm -f confauto.out
3419
3420  # Check if the executable autoconf is picked up from the correct location
3421  echo "$as_me:$LINENO: checking whether autoconf is coming from the correct location" >&5
3422echo $ECHO_N "checking whether autoconf is coming from the correct location... $ECHO_C" >&6
3423  autoconf_dir=`which autoconf | sed -e 's=/autoconf=='`
3424  autoconf_dir=`cd $autoconf_dir; pwd`
3425  if test x$AUTOTOOLS_DIR = x; then
3426    want_dir=$HOME/bin
3427  else
3428    want_dir=$AUTOTOOLS_DIR/bin
3429  fi
3430  if test $autoconf_dir = `cd $want_dir; pwd`; then
3431    echo "$as_me:$LINENO: result: yes" >&5
3432echo "${ECHO_T}yes" >&6
3433  else
3434    rm -f confauto.out
3435    echo "$as_me:$LINENO: result: no" >&5
3436echo "${ECHO_T}no" >&6
3437    { { echo "$as_me:$LINENO: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5
3438echo "$as_me: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;}
3439   { (exit 1); exit 1; }; }
3440  fi
3441
3442  # Check if we have automake
3443  # Extract the first word of "automake", so it can be a program name with args.
3444set dummy automake; ac_word=$2
3445echo "$as_me:$LINENO: checking for $ac_word" >&5
3446echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3447if test "${ac_cv_prog_have_automake+set}" = set; then
3448  echo $ECHO_N "(cached) $ECHO_C" >&6
3449else
3450  if test -n "$have_automake"; then
3451  ac_cv_prog_have_automake="$have_automake" # Let the user override the test.
3452else
3453as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3454for as_dir in $PATH
3455do
3456  IFS=$as_save_IFS
3457  test -z "$as_dir" && as_dir=.
3458  for ac_exec_ext in '' $ac_executable_extensions; do
3459  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3460    ac_cv_prog_have_automake="yes"
3461    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3462    break 2
3463  fi
3464done
3465done
3466
3467  test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no"
3468fi
3469fi
3470have_automake=$ac_cv_prog_have_automake
3471if test -n "$have_automake"; then
3472  echo "$as_me:$LINENO: result: $have_automake" >&5
3473echo "${ECHO_T}$have_automake" >&6
3474else
3475  echo "$as_me:$LINENO: result: no" >&5
3476echo "${ECHO_T}no" >&6
3477fi
3478
3479  if test $have_automake = no; then
3480    { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5
3481echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;}
3482   { (exit 1); exit 1; }; }
3483  fi
3484
3485  # Check whether automake is the correct version
3486  correct_version='1.9.6'
3487  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
3488  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5
3489echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6
3490  automake --version > confauto.out 2>&1
3491  if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
3492    echo "$as_me:$LINENO: result: yes" >&5
3493echo "${ECHO_T}yes" >&6
3494  else
3495    rm -f confauto.out
3496    echo "$as_me:$LINENO: result: no" >&5
3497echo "${ECHO_T}no" >&6
3498    { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5
3499echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;}
3500   { (exit 1); exit 1; }; }
3501  fi
3502  rm -f confauto.out
3503
3504  # Check if the executable automake is picked up from the correct location
3505  echo "$as_me:$LINENO: checking whether automake is coming from the correct location" >&5
3506echo $ECHO_N "checking whether automake is coming from the correct location... $ECHO_C" >&6
3507  automake_dir=`which automake | sed -e 's=/automake=='`
3508  automake_dir=`cd $automake_dir; pwd`
3509  if test x$AUTOTOOLS_DIR = x; then
3510    want_dir=$HOME/bin
3511  else
3512    want_dir=$AUTOTOOLS_DIR/bin
3513  fi
3514  if test $automake_dir = `cd $want_dir; pwd`; then
3515    echo "$as_me:$LINENO: result: yes" >&5
3516echo "${ECHO_T}yes" >&6
3517  else
3518    rm -f confauto.out
3519    echo "$as_me:$LINENO: result: no" >&5
3520echo "${ECHO_T}no" >&6
3521    { { echo "$as_me:$LINENO: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5
3522echo "$as_me: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;}
3523   { (exit 1); exit 1; }; }
3524  fi
3525
3526  # Check if we can find the libtool file
3527  if test x$AUTOTOOLS_DIR = x; then
3528    want_dir=$HOME/share
3529  else
3530    want_dir=$AUTOTOOLS_DIR/share
3531  fi
3532  as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh`
3533echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5
3534echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6
3535if eval "test \"\${$as_ac_File+set}\" = set"; then
3536  echo $ECHO_N "(cached) $ECHO_C" >&6
3537else
3538  test "$cross_compiling" = yes &&
3539  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3540echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3541   { (exit 1); exit 1; }; }
3542if test -r "$want_dir/aclocal/libtool.m4"; then
3543  eval "$as_ac_File=yes"
3544else
3545  eval "$as_ac_File=no"
3546fi
3547fi
3548echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
3549echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
3550if test `eval echo '${'$as_ac_File'}'` = yes; then
3551  LIBTOOLM4="$want_dir/aclocal/libtool.m4"
3552else
3553  { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
3554echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
3555   { (exit 1); exit 1; }; }
3556fi
3557
3558
3559  # Check if this is the correct version of libtool (with escaped dots)
3560  correct_version='1.5.22'
3561  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
3562  as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh`
3563echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5
3564echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6
3565if eval "test \"\${$as_ac_File+set}\" = set"; then
3566  echo $ECHO_N "(cached) $ECHO_C" >&6
3567else
3568  test "$cross_compiling" = yes &&
3569  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3570echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3571   { (exit 1); exit 1; }; }
3572if test -r "$want_dir/libtool/ltmain.sh"; then
3573  eval "$as_ac_File=yes"
3574else
3575  eval "$as_ac_File=no"
3576fi
3577fi
3578echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
3579echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
3580if test `eval echo '${'$as_ac_File'}'` = yes; then
3581  have_ltmain=yes
3582else
3583  have_ltmain=no
3584fi
3585
3586  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5
3587echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6
3588  if test $have_ltmain = yes; then
3589    if $EGREP $grep_version $want_dir/libtool/ltmain.sh >/dev/null 2>&1; then
3590      echo "$as_me:$LINENO: result: yes" >&5
3591echo "${ECHO_T}yes" >&6
3592    else
3593      echo "$as_me:$LINENO: result: no" >&5
3594echo "${ECHO_T}no" >&6
3595      { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5
3596echo "$as_me: error: You don't have the correct version of libtool." >&2;}
3597   { (exit 1); exit 1; }; }
3598    fi
3599  else
3600    echo "$as_me:$LINENO: result: no" >&5
3601echo "${ECHO_T}no" >&6
3602    { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5
3603echo "$as_me: error: I cannot find the ltmain.sh file." >&2;}
3604   { (exit 1); exit 1; }; }
3605  fi
3606
3607  # Check if we have an Externals file
3608  if test -r $srcdir/Externals; then
3609    coin_have_externals=yes
3610  fi
3611  # Check if subversion is installed and understands https
3612  # Extract the first word of "svn", so it can be a program name with args.
3613set dummy svn; ac_word=$2
3614echo "$as_me:$LINENO: checking for $ac_word" >&5
3615echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3616if test "${ac_cv_prog_have_svn+set}" = set; then
3617  echo $ECHO_N "(cached) $ECHO_C" >&6
3618else
3619  if test -n "$have_svn"; then
3620  ac_cv_prog_have_svn="$have_svn" # Let the user override the test.
3621else
3622as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3623for as_dir in $PATH
3624do
3625  IFS=$as_save_IFS
3626  test -z "$as_dir" && as_dir=.
3627  for ac_exec_ext in '' $ac_executable_extensions; do
3628  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3629    ac_cv_prog_have_svn="yes"
3630    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3631    break 2
3632  fi
3633done
3634done
3635
3636  test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no"
3637fi
3638fi
3639have_svn=$ac_cv_prog_have_svn
3640if test -n "$have_svn"; then
3641  echo "$as_me:$LINENO: result: $have_svn" >&5
3642echo "${ECHO_T}$have_svn" >&6
3643else
3644  echo "$as_me:$LINENO: result: no" >&5
3645echo "${ECHO_T}no" >&6
3646fi
3647
3648  if test x$have_svn = xyes; then
3649    echo "$as_me:$LINENO: checking svn understands https" >&5
3650echo $ECHO_N "checking svn understands https... $ECHO_C" >&6
3651    svn --version > confauto.out 2>&1
3652    if $EGREP https confauto.out >/dev/null 2>&1; then
3653      echo "$as_me:$LINENO: result: yes" >&5
3654echo "${ECHO_T}yes" >&6
3655    else
3656      echo "$as_me:$LINENO: result: no" >&5
3657echo "${ECHO_T}no" >&6
3658      have_svn=no
3659    fi
3660    rm -f confauto.out
3661  fi
3662
3663  # Find the location of the BuildTools directory
3664  BUILDTOOLSDIR=
3665  if test -r $srcdir/BuildTools/coin.m4; then
3666    BUILDTOOLSDIR=$srcdir/BuildTools
3667  else
3668    if test -r $srcdir/../BuildTools/coin.m4; then
3669      BUILDTOOLSDIR=$srcdir/../BuildTools
3670    else
3671      if test -r $srcdir/../../BuildTools/coin.m4; then
3672        BUILDTOOLSDIR=$srcdir/../../BuildTools
3673      else
3674        { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
3675echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
3676   { (exit 1); exit 1; }; }
3677      fi
3678    fi
3679  fi
3680
3681
3682  # The following variable is set to the name of the directory where
3683  # the autotool scripts are located
3684
3685  AUX_DIR=$ac_aux_dir
3686fi
3687
3688# helpful variable for the base directory of this package
3689abs_source_dir=`cd $srcdir; pwd`
3690
3691
3692# Stuff for example Makefiles
3693if test x$prefix = xNONE; then
3694  full_prefix=$ac_default_prefix
3695else
3696  full_prefix=$prefix
3697fi
3698full_prefix=`cd $full_prefix ; pwd`
3699
3700abs_lib_dir=$full_prefix/lib
3701
3702abs_include_dir=$full_prefix/include
3703
3704abs_bin_dir=$full_prefix/bin
3705
3706
3707
3708if test $coin_have_externals = yes && test x$have_svn = xyes; then
3709  HAVE_EXTERNALS_TRUE=
3710  HAVE_EXTERNALS_FALSE='#'
3711else
3712  HAVE_EXTERNALS_TRUE='#'
3713  HAVE_EXTERNALS_FALSE=
3714fi
3715
3716
3717
3718#############################################################################
3719#                          AMPL SOLVER LIBRARY                              #
3720#############################################################################
3721
3722# Determine the name of the ASL library
3723
3724case "$CXX" in
3725  cl* | */cl*)
3726    AMPLSOLVER_A=amplsolv.lib
3727    msvc_compile=yes ;;
3728  *)
3729    AMPLSOLVER_A=amplsolver.a
3730    msvc_compile=no ;;
3731esac
3732
3733
3734if test $msvc_compile = yes; then
3735  MSVC_COMPILE_TRUE=
3736  MSVC_COMPILE_FALSE='#'
3737else
3738  MSVC_COMPILE_TRUE='#'
3739  MSVC_COMPILE_FALSE=
3740fi
3741
3742
3743if test -z "$ASLMAKEFLAGS" ; then
3744  asladdcflags=
3745  case $build in
3746    *-linux*)
3747      asladdcflags="-DNON_STDIO"
3748      case $CC in
3749        pgcc* | */pgcc*)
3750          asladdcflags="$asladdcflags -DNO_fpu_control";;
3751      esac
3752      ;;
3753    *-cygwin*) # ToDo: If on Cygwin but not using -mno-cygwin, we should not define -DNo_Control87 -DNO_RUSAGE
3754      asladdcflags="-DNON_STDIO -DNo_Control87 -DNO_RUSAGE"
3755      ;;
3756    *-mingw32)
3757      asladdcflags="-DNON_STDIO -DNo_Control87 -DNO_RUSAGE"
3758      ;;
3759  esac
3760
3761# On BlueGene disable dynamic library loading
3762  if test x"$enable_bg" = xyes; then
3763    asladdcflags="$asladdcflags -DNO_FUNCADD"
3764  fi
3765
3766# Do the following for now to make sure we are not interupting compilation
3767# of ASL because of warning message:
3768  bla=
3769  for i in $CFLAGS; do
3770    if test "$i" != "-Werror"; then
3771      bla="$bla $i"
3772    fi
3773  done
3774  ASLMAKEFLAGS="CFLAGS=\"$bla $asladdcflags\""
3775
3776#   Somehow, -qtune=auto makes ASL segfault on AIX compiler, so take them out
3777  case $CC in
3778    xlc* | */xlc* | mpxlc* | */mpxlc*)
3779      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'`
3780      ;;
3781    pgcc* | */pgcc*)
3782      ASLMAKEFLAGS=`echo $ASLMAKEFLAGS | sed 's/-fast/-O1/g'`
3783      ;;
3784  esac
3785
3786  echo "$as_me:$LINENO: checking whether $am_make is the GNU make" >&5
3787echo $ECHO_N "checking whether $am_make is the GNU make... $ECHO_C" >&6
3788  rm -rf conftest.mak
3789  ($am_make -v -f conftest.mak > conftest.grp) 2>&5
3790  if $EGREP GNU conftest.grp >&5 ; then
3791    echo "$as_me:$LINENO: result: yes" >&5
3792echo "${ECHO_T}yes" >&6
3793    ASLMAKEFLAGS="-j 1 $ASLMAKEFLAGS"
3794  else
3795    echo "$as_me:$LINENO: result: no" >&5
3796echo "${ECHO_T}no" >&6
3797  fi
3798  rm -f conftest.mak conftest.grp
3799fi
3800
3801if test x"$AR" = x; then
3802  AR=ar
3803fi
3804
3805ASLMAKEFILECMDS="sed -e 's%ar \$\$(ARFLAGS)%$AR \$\$(ARFLAGS)%' makefile.u | sed -e 's%ar ruv%$AR ruv%' "
3806if test "$EXEEXT" = ".exe"; then
3807  ASLMAKEFILECMDS="$ASLMAKEFILECMDS | sed 's/a.out/a.exe/'"
3808fi
3809case $build in
3810  *-cygwin*)
3811    ASLMAKEFILECMDS="$ASLMAKEFILECMDS | sed 's%s/System_details/\`uname -sr\`/%s|System_details|\`uname -sr\`|%'" ;;
3812esac
3813ASLMAKEFILECMDS="$ASLMAKEFILECMDS > makefile"
3814
3815
3816
3817
3818                    ac_config_files="$ac_config_files Makefile compile_MS_ASL"
3819
3820
3821
3822FADDLIBS="$ADDLIBS"
3823if test x"$coin_need_flibs" = xyes; then
3824  ADDLIBS="$ADDLIBS $FLIBS"
3825fi
3826
3827# library extension
3828
3829case "$CC" in
3830  cl*) LIBEXT=lib ;;
3831    *) LIBEXT=a ;;
3832esac
3833
3834# Define VPATH_DISTCLEANFILES to be everything that needs to be
3835# cleaned for distclean in a vpath configuration
3836
3837VPATH_DISTCLEANFILES="$coin_vpath_link_files"
3838
3839cat >confcache <<\_ACEOF
3840# This file is a shell script that caches the results of configure
3841# tests run on this system so they can be shared between configure
3842# scripts and configure runs, see configure's option --config-cache.
3843# It is not useful on other systems.  If it contains results you don't
3844# want to keep, you may remove or edit it.
3845#
3846# config.status only pays attention to the cache file if you give it
3847# the --recheck option to rerun configure.
3848#
3849# `ac_cv_env_foo' variables (set or unset) will be overridden when
3850# loading this file, other *unset* `ac_cv_foo' will be assigned the
3851# following values.
3852
3853_ACEOF
3854
3855# The following way of writing the cache mishandles newlines in values,
3856# but we know of no workaround that is simple, portable, and efficient.
3857# So, don't put newlines in cache variables' values.
3858# Ultrix sh set writes to stderr and can't be redirected directly,
3859# and sets the high bit in the cache file unless we assign to the vars.
3860{
3861  (set) 2>&1 |
3862    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3863    *ac_space=\ *)
3864      # `set' does not quote correctly, so add quotes (double-quote
3865      # substitution turns \\\\ into \\, and sed turns \\ into \).
3866      sed -n \
3867        "s/'/'\\\\''/g;
3868          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3869      ;;
3870    *)
3871      # `set' quotes correctly as required by POSIX, so do not add quotes.
3872      sed -n \
3873        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3874      ;;
3875    esac;
3876} |
3877  sed '
3878     t clear
3879     : clear
3880     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3881     t end
3882     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3883     : end' >>confcache
3884if diff $cache_file confcache >/dev/null 2>&1; then :; else
3885  if test -w $cache_file; then
3886    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3887    cat confcache >$cache_file
3888  else
3889    echo "not updating unwritable cache $cache_file"
3890  fi
3891fi
3892rm -f confcache
3893
3894test "x$prefix" = xNONE && prefix=$ac_default_prefix
3895# Let make expand exec_prefix.
3896test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3897
3898# VPATH may cause trouble with some makes, so we remove $(srcdir),
3899# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3900# trailing colons and then remove the whole line if VPATH becomes empty
3901# (actually we leave an empty line to preserve line numbers).
3902if test "x$srcdir" = x.; then
3903  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3904s/:*\$(srcdir):*/:/;
3905s/:*\${srcdir}:*/:/;
3906s/:*@srcdir@:*/:/;
3907s/^\([^=]*=[     ]*\):*/\1/;
3908s/:*$//;
3909s/^[^=]*=[       ]*$//;
3910}'
3911fi
3912
3913# Transform confdefs.h into DEFS.
3914# Protect against shell expansion while executing Makefile rules.
3915# Protect against Makefile macro expansion.
3916#
3917# If the first sed substitution is executed (which looks for macros that
3918# take arguments), then we branch to the quote section.  Otherwise,
3919# look for a macro that doesn't take arguments.
3920cat >confdef2opt.sed <<\_ACEOF
3921t clear
3922: clear
3923s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
3924t quote
3925s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
3926t quote
3927d
3928: quote
3929s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
3930s,\[,\\&,g
3931s,\],\\&,g
3932s,\$,$$,g
3933p
3934_ACEOF
3935# We use echo to avoid assuming a particular line-breaking character.
3936# The extra dot is to prevent the shell from consuming trailing
3937# line-breaks from the sub-command output.  A line-break within
3938# single-quotes doesn't work because, if this script is created in a
3939# platform that uses two characters for line-breaks (e.g., DOS), tr
3940# would break.
3941ac_LF_and_DOT=`echo; echo .`
3942DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3943rm -f confdef2opt.sed
3944
3945
3946ac_libobjs=
3947ac_ltlibobjs=
3948for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3949  # 1. Remove the extension, and $U if already installed.
3950  ac_i=`echo "$ac_i" |
3951         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3952  # 2. Add them.
3953  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3954  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3955done
3956LIBOBJS=$ac_libobjs
3957
3958LTLIBOBJS=$ac_ltlibobjs
3959
3960
3961if test -z "${ALWAYS_FALSE_TRUE}" && test -z "${ALWAYS_FALSE_FALSE}"; then
3962  { { echo "$as_me:$LINENO: error: conditional \"ALWAYS_FALSE\" was never defined.
3963Usually this means the macro was only invoked conditionally." >&5
3964echo "$as_me: error: conditional \"ALWAYS_FALSE\" was never defined.
3965Usually this means the macro was only invoked conditionally." >&2;}
3966   { (exit 1); exit 1; }; }
3967fi
3968if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3969  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3970Usually this means the macro was only invoked conditionally." >&5
3971echo "$as_me: error: conditional \"AMDEP\" was never defined.
3972Usually this means the macro was only invoked conditionally." >&2;}
3973   { (exit 1); exit 1; }; }
3974fi
3975if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3976  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3977Usually this means the macro was only invoked conditionally." >&5
3978echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3979Usually this means the macro was only invoked conditionally." >&2;}
3980   { (exit 1); exit 1; }; }
3981fi
3982if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3983  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3984Usually this means the macro was only invoked conditionally." >&5
3985echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3986Usually this means the macro was only invoked conditionally." >&2;}
3987   { (exit 1); exit 1; }; }
3988fi
3989if test -z "${HAVE_EXTERNALS_TRUE}" && test -z "${HAVE_EXTERNALS_FALSE}"; then
3990  { { echo "$as_me:$LINENO: error: conditional \"HAVE_EXTERNALS\" was never defined.
3991Usually this means the macro was only invoked conditionally." >&5
3992echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
3993Usually this means the macro was only invoked conditionally." >&2;}
3994   { (exit 1); exit 1; }; }
3995fi
3996if test -z "${MSVC_COMPILE_TRUE}" && test -z "${MSVC_COMPILE_FALSE}"; then
3997  { { echo "$as_me:$LINENO: error: conditional \"MSVC_COMPILE\" was never defined.
3998Usually this means the macro was only invoked conditionally." >&5
3999echo "$as_me: error: conditional \"MSVC_COMPILE\" was never defined.
4000Usually this means the macro was only invoked conditionally." >&2;}
4001   { (exit 1); exit 1; }; }
4002fi
4003
4004: ${CONFIG_STATUS=./config.status}
4005ac_clean_files_save=$ac_clean_files
4006ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4007{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4008echo "$as_me: creating $CONFIG_STATUS" >&6;}
4009cat >$CONFIG_STATUS <<_ACEOF
4010#! $SHELL
4011# Generated by $as_me.
4012# Run this file to recreate the current configuration.
4013# Compiler output produced by configure, useful for debugging
4014# configure, is in config.log if it exists.
4015
4016debug=false
4017ac_cs_recheck=false
4018ac_cs_silent=false
4019SHELL=\${CONFIG_SHELL-$SHELL}
4020_ACEOF
4021
4022cat >>$CONFIG_STATUS <<\_ACEOF
4023## --------------------- ##
4024## M4sh Initialization.  ##
4025## --------------------- ##
4026
4027# Be Bourne compatible
4028if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4029  emulate sh
4030  NULLCMD=:
4031  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4032  # is contrary to our usage.  Disable this feature.
4033  alias -g '${1+"$@"}'='"$@"'
4034elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4035  set -o posix
4036fi
4037DUALCASE=1; export DUALCASE # for MKS sh
4038
4039# Support unset when possible.
4040if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4041  as_unset=unset
4042else
4043  as_unset=false
4044fi
4045
4046
4047# Work around bugs in pre-3.0 UWIN ksh.
4048$as_unset ENV MAIL MAILPATH
4049PS1='$ '
4050PS2='> '
4051PS4='+ '
4052
4053# NLS nuisances.
4054for as_var in \
4055  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4056  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4057  LC_TELEPHONE LC_TIME
4058do
4059  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4060    eval $as_var=C; export $as_var
4061  else
4062    $as_unset $as_var
4063  fi
4064done
4065
4066# Required to use basename.
4067if expr a : '\(a\)' >/dev/null 2>&1; then
4068  as_expr=expr
4069else
4070  as_expr=false
4071fi
4072
4073if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4074  as_basename=basename
4075else
4076  as_basename=false
4077fi
4078
4079
4080# Name of the executable.
4081as_me=`$as_basename "$0" ||
4082$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4083         X"$0" : 'X\(//\)$' \| \
4084         X"$0" : 'X\(/\)$' \| \
4085         .     : '\(.\)' 2>/dev/null ||
4086echo X/"$0" |
4087    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4088          /^X\/\(\/\/\)$/{ s//\1/; q; }
4089          /^X\/\(\/\).*/{ s//\1/; q; }
4090          s/.*/./; q'`
4091
4092
4093# PATH needs CR, and LINENO needs CR and PATH.
4094# Avoid depending upon Character Ranges.
4095as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4096as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4097as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4098as_cr_digits='0123456789'
4099as_cr_alnum=$as_cr_Letters$as_cr_digits
4100
4101# The user is always right.
4102if test "${PATH_SEPARATOR+set}" != set; then
4103  echo "#! /bin/sh" >conf$$.sh
4104  echo  "exit 0"   >>conf$$.sh
4105  chmod +x conf$$.sh
4106  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4107    PATH_SEPARATOR=';'
4108  else
4109    PATH_SEPARATOR=:
4110  fi
4111  rm -f conf$$.sh
4112fi
4113
4114
4115  as_lineno_1=$LINENO
4116  as_lineno_2=$LINENO
4117  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4118  test "x$as_lineno_1" != "x$as_lineno_2" &&
4119  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4120  # Find who we are.  Look in the path if we contain no path at all
4121  # relative or not.
4122  case $0 in
4123    *[\\/]* ) as_myself=$0 ;;
4124    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125for as_dir in $PATH
4126do
4127  IFS=$as_save_IFS
4128  test -z "$as_dir" && as_dir=.
4129  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4130done
4131
4132       ;;
4133  esac
4134  # We did not find ourselves, most probably we were run as `sh COMMAND'
4135  # in which case we are not to be found in the path.
4136  if test "x$as_myself" = x; then
4137    as_myself=$0
4138  fi
4139  if test ! -f "$as_myself"; then
4140    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4141echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4142   { (exit 1); exit 1; }; }
4143  fi
4144  case $CONFIG_SHELL in
4145  '')
4146    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4147for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4148do
4149  IFS=$as_save_IFS
4150  test -z "$as_dir" && as_dir=.
4151  for as_base in sh bash ksh sh5; do
4152         case $as_dir in
4153         /*)
4154           if ("$as_dir/$as_base" -c '
4155  as_lineno_1=$LINENO
4156  as_lineno_2=$LINENO
4157  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4158  test "x$as_lineno_1" != "x$as_lineno_2" &&
4159  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4160             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4161             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4162             CONFIG_SHELL=$as_dir/$as_base
4163             export CONFIG_SHELL
4164             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4165           fi;;
4166         esac
4167       done
4168done
4169;;
4170  esac
4171
4172  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4173  # uniformly replaced by the line number.  The first 'sed' inserts a
4174  # line-number line before each line; the second 'sed' does the real
4175  # work.  The second script uses 'N' to pair each line-number line
4176  # with the numbered line, and appends trailing '-' during
4177  # substitution so that $LINENO is not a special case at line end.
4178  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4179  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4180  sed '=' <$as_myself |
4181    sed '
4182      N
4183      s,$,-,
4184      : loop
4185      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4186      t loop
4187      s,-$,,
4188      s,^['$as_cr_digits']*\n,,
4189    ' >$as_me.lineno &&
4190  chmod +x $as_me.lineno ||
4191    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4192echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4193   { (exit 1); exit 1; }; }
4194
4195  # Don't try to exec as it changes $[0], causing all sort of problems
4196  # (the dirname of $[0] is not the place where we might find the
4197  # original and so on.  Autoconf is especially sensible to this).
4198  . ./$as_me.lineno
4199  # Exit status is that of the last command.
4200  exit
4201}
4202
4203
4204case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4205  *c*,-n*) ECHO_N= ECHO_C='
4206' ECHO_T='      ' ;;
4207  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4208  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4209esac
4210
4211if expr a : '\(a\)' >/dev/null 2>&1; then
4212  as_expr=expr
4213else
4214  as_expr=false
4215fi
4216
4217rm -f conf$$ conf$$.exe conf$$.file
4218echo >conf$$.file
4219if ln -s conf$$.file conf$$ 2>/dev/null; then
4220  # We could just check for DJGPP; but this test a) works b) is more generic
4221  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4222  if test -f conf$$.exe; then
4223    # Don't use ln at all; we don't have any links
4224    as_ln_s='cp -p'
4225  else
4226    as_ln_s='ln -s'
4227  fi
4228elif ln conf$$.file conf$$ 2>/dev/null; then
4229  as_ln_s=ln
4230else
4231  as_ln_s='cp -p'
4232fi
4233rm -f conf$$ conf$$.exe conf$$.file
4234
4235if mkdir -p . 2>/dev/null; then
4236  as_mkdir_p=:
4237else
4238  test -d ./-p && rmdir ./-p
4239  as_mkdir_p=false
4240fi
4241
4242as_executable_p="test -f"
4243
4244# Sed expression to map a string onto a valid CPP name.
4245as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4246
4247# Sed expression to map a string onto a valid variable name.
4248as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4249
4250
4251# IFS
4252# We need space, tab and new line, in precisely that order.
4253as_nl='
4254'
4255IFS="   $as_nl"
4256
4257# CDPATH.
4258$as_unset CDPATH
4259
4260exec 6>&1
4261
4262# Open the log real soon, to keep \$[0] and so on meaningful, and to
4263# report actual input values of CONFIG_FILES etc. instead of their
4264# values after options handling.  Logging --version etc. is OK.
4265exec 5>>config.log
4266{
4267  echo
4268  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4269## Running $as_me. ##
4270_ASBOX
4271} >&5
4272cat >&5 <<_CSEOF
4273
4274This file was extended by ThirdPartyASL $as_me 0.0, which was
4275generated by GNU Autoconf 2.59.  Invocation command line was
4276
4277  CONFIG_FILES    = $CONFIG_FILES
4278  CONFIG_HEADERS  = $CONFIG_HEADERS
4279  CONFIG_LINKS    = $CONFIG_LINKS
4280  CONFIG_COMMANDS = $CONFIG_COMMANDS
4281  $ $0 $@
4282
4283_CSEOF
4284echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4285echo >&5
4286_ACEOF
4287
4288# Files that config.status was made for.
4289if test -n "$ac_config_files"; then
4290  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4291fi
4292
4293if test -n "$ac_config_headers"; then
4294  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4295fi
4296
4297if test -n "$ac_config_links"; then
4298  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4299fi
4300
4301if test -n "$ac_config_commands"; then
4302  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4303fi
4304
4305cat >>$CONFIG_STATUS <<\_ACEOF
4306
4307ac_cs_usage="\
4308\`$as_me' instantiates files from templates according to the
4309current configuration.
4310
4311Usage: $0 [OPTIONS] [FILE]...
4312
4313  -h, --help       print this help, then exit
4314  -V, --version    print version number, then exit
4315  -q, --quiet      do not print progress messages
4316  -d, --debug      don't remove temporary files
4317      --recheck    update $as_me by reconfiguring in the same conditions
4318  --file=FILE[:TEMPLATE]
4319                   instantiate the configuration file FILE
4320
4321Configuration files:
4322$config_files
4323
4324Configuration commands:
4325$config_commands
4326
4327Report bugs to <bug-autoconf@gnu.org>."
4328_ACEOF
4329
4330cat >>$CONFIG_STATUS <<_ACEOF
4331ac_cs_version="\\
4332ThirdPartyASL config.status 0.0
4333configured by $0, generated by GNU Autoconf 2.59,
4334  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4335
4336Copyright (C) 2003 Free Software Foundation, Inc.
4337This config.status script is free software; the Free Software Foundation
4338gives unlimited permission to copy, distribute and modify it."
4339srcdir=$srcdir
4340INSTALL="$INSTALL"
4341_ACEOF
4342
4343cat >>$CONFIG_STATUS <<\_ACEOF
4344# If no file are specified by the user, then we need to provide default
4345# value.  By we need to know if files were specified by the user.
4346ac_need_defaults=:
4347while test $# != 0
4348do
4349  case $1 in
4350  --*=*)
4351    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4352    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4353    ac_shift=:
4354    ;;
4355  -*)
4356    ac_option=$1
4357    ac_optarg=$2
4358    ac_shift=shift
4359    ;;
4360  *) # This is not an option, so the user has probably given explicit
4361     # arguments.
4362     ac_option=$1
4363     ac_need_defaults=false;;
4364  esac
4365
4366  case $ac_option in
4367  # Handling of the options.
4368_ACEOF
4369cat >>$CONFIG_STATUS <<\_ACEOF
4370  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4371    ac_cs_recheck=: ;;
4372  --version | --vers* | -V )
4373    echo "$ac_cs_version"; exit 0 ;;
4374  --he | --h)
4375    # Conflict between --help and --header
4376    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4377Try \`$0 --help' for more information." >&5
4378echo "$as_me: error: ambiguous option: $1
4379Try \`$0 --help' for more information." >&2;}
4380   { (exit 1); exit 1; }; };;
4381  --help | --hel | -h )
4382    echo "$ac_cs_usage"; exit 0 ;;
4383  --debug | --d* | -d )
4384    debug=: ;;
4385  --file | --fil | --fi | --f )
4386    $ac_shift
4387    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4388    ac_need_defaults=false;;
4389  --header | --heade | --head | --hea )
4390    $ac_shift
4391    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4392    ac_need_defaults=false;;
4393  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4394  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4395    ac_cs_silent=: ;;
4396
4397  # This is an error.
4398  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4399Try \`$0 --help' for more information." >&5
4400echo "$as_me: error: unrecognized option: $1
4401Try \`$0 --help' for more information." >&2;}
4402   { (exit 1); exit 1; }; } ;;
4403
4404  *) ac_config_targets="$ac_config_targets $1" ;;
4405
4406  esac
4407  shift
4408done
4409
4410ac_configure_extra_args=
4411
4412if $ac_cs_silent; then
4413  exec 6>/dev/null
4414  ac_configure_extra_args="$ac_configure_extra_args --silent"
4415fi
4416
4417_ACEOF
4418cat >>$CONFIG_STATUS <<_ACEOF
4419if \$ac_cs_recheck; then
4420  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4421  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4422fi
4423
4424_ACEOF
4425
4426cat >>$CONFIG_STATUS <<_ACEOF
4427#
4428# INIT-COMMANDS section.
4429#
4430
4431AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4432
4433_ACEOF
4434
4435
4436
4437cat >>$CONFIG_STATUS <<\_ACEOF
4438for ac_config_target in $ac_config_targets
4439do
4440  case "$ac_config_target" in
4441  # Handling of arguments.
4442  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4443  "compile_MS_ASL" ) CONFIG_FILES="$CONFIG_FILES compile_MS_ASL" ;;
4444  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4445  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4446echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4447   { (exit 1); exit 1; }; };;
4448  esac
4449done
4450
4451# If the user did not use the arguments to specify the items to instantiate,
4452# then the envvar interface is used.  Set only those that are not.
4453# We use the long form for the default assignment because of an extremely
4454# bizarre bug on SunOS 4.1.3.
4455if $ac_need_defaults; then
4456  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4457  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4458fi
4459
4460# Have a temporary directory for convenience.  Make it in the build tree
4461# simply because there is no reason to put it here, and in addition,
4462# creating and moving files from /tmp can sometimes cause problems.
4463# Create a temporary directory, and hook for its removal unless debugging.
4464$debug ||
4465{
4466  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4467  trap '{ (exit 1); exit 1; }' 1 2 13 15
4468}
4469
4470# Create a (secure) tmp directory for tmp files.
4471
4472{
4473  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4474  test -n "$tmp" && test -d "$tmp"
4475}  ||
4476{
4477  tmp=./confstat$$-$RANDOM
4478  (umask 077 && mkdir $tmp)
4479} ||
4480{
4481   echo "$me: cannot create a temporary directory in ." >&2
4482   { (exit 1); exit 1; }
4483}
4484
4485_ACEOF
4486
4487cat >>$CONFIG_STATUS <<_ACEOF
4488
4489#
4490# CONFIG_FILES section.
4491#
4492
4493# No need to generate the scripts if there are no CONFIG_FILES.
4494# This happens for instance when ./config.status config.h
4495if test -n "\$CONFIG_FILES"; then
4496  # Protect against being on the right side of a sed subst in config.status.
4497  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4498   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4499s,@SHELL@,$SHELL,;t t
4500s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4501s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4502s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4503s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4504s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4505s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4506s,@exec_prefix@,$exec_prefix,;t t
4507s,@prefix@,$prefix,;t t
4508s,@program_transform_name@,$program_transform_name,;t t
4509s,@bindir@,$bindir,;t t
4510s,@sbindir@,$sbindir,;t t
4511s,@libexecdir@,$libexecdir,;t t
4512s,@datadir@,$datadir,;t t
4513s,@sysconfdir@,$sysconfdir,;t t
4514s,@sharedstatedir@,$sharedstatedir,;t t
4515s,@localstatedir@,$localstatedir,;t t
4516s,@libdir@,$libdir,;t t
4517s,@includedir@,$includedir,;t t
4518s,@oldincludedir@,$oldincludedir,;t t
4519s,@infodir@,$infodir,;t t
4520s,@mandir@,$mandir,;t t
4521s,@build_alias@,$build_alias,;t t
4522s,@host_alias@,$host_alias,;t t
4523s,@target_alias@,$target_alias,;t t
4524s,@DEFS@,$DEFS,;t t
4525s,@ECHO_C@,$ECHO_C,;t t
4526s,@ECHO_N@,$ECHO_N,;t t
4527s,@ECHO_T@,$ECHO_T,;t t
4528s,@LIBS@,$LIBS,;t t
4529s,@ADDLIBS@,$ADDLIBS,;t t
4530s,@FADDLIBS@,$FADDLIBS,;t t
4531s,@ALWAYS_FALSE_TRUE@,$ALWAYS_FALSE_TRUE,;t t
4532s,@ALWAYS_FALSE_FALSE@,$ALWAYS_FALSE_FALSE,;t t
4533s,@build@,$build,;t t
4534s,@build_cpu@,$build_cpu,;t t
4535s,@build_vendor@,$build_vendor,;t t
4536s,@build_os@,$build_os,;t t
4537s,@EGREP@,$EGREP,;t t
4538s,@LN_S@,$LN_S,;t t
4539s,@CDEFS@,$CDEFS,;t t
4540s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t
4541s,@DBG_CFLAGS@,$DBG_CFLAGS,;t t
4542s,@OPT_CFLAGS@,$OPT_CFLAGS,;t t
4543s,@CC@,$CC,;t t
4544s,@CFLAGS@,$CFLAGS,;t t
4545s,@LDFLAGS@,$LDFLAGS,;t t
4546s,@CPPFLAGS@,$CPPFLAGS,;t t
4547s,@ac_ct_CC@,$ac_ct_CC,;t t
4548s,@EXEEXT@,$EXEEXT,;t t
4549s,@OBJEXT@,$OBJEXT,;t t
4550s,@MPICC@,$MPICC,;t t
4551s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4552s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4553s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4554s,@CYGPATH_W@,$CYGPATH_W,;t t
4555s,@PACKAGE@,$PACKAGE,;t t
4556s,@VERSION@,$VERSION,;t t
4557s,@ACLOCAL@,$ACLOCAL,;t t
4558s,@AUTOCONF@,$AUTOCONF,;t t
4559s,@AUTOMAKE@,$AUTOMAKE,;t t
4560s,@AUTOHEADER@,$AUTOHEADER,;t t
4561s,@MAKEINFO@,$MAKEINFO,;t t
4562s,@install_sh@,$install_sh,;t t
4563s,@STRIP@,$STRIP,;t t
4564s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4565s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4566s,@mkdir_p@,$mkdir_p,;t t
4567s,@AWK@,$AWK,;t t
4568s,@SET_MAKE@,$SET_MAKE,;t t
4569s,@am__leading_dot@,$am__leading_dot,;t t
4570s,@AMTAR@,$AMTAR,;t t
4571s,@am__tar@,$am__tar,;t t
4572s,@am__untar@,$am__untar,;t t
4573s,@DEPDIR@,$DEPDIR,;t t
4574s,@am__include@,$am__include,;t t
4575s,@am__quote@,$am__quote,;t t
4576s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4577s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4578s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4579s,@CCDEPMODE@,$CCDEPMODE,;t t
4580s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4581s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4582s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4583s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4584s,@MAINT@,$MAINT,;t t
4585s,@LIBTOOLM4@,$LIBTOOLM4,;t t
4586s,@have_autoconf@,$have_autoconf,;t t
4587s,@have_automake@,$have_automake,;t t
4588s,@have_svn@,$have_svn,;t t
4589s,@BUILDTOOLSDIR@,$BUILDTOOLSDIR,;t t
4590s,@AUX_DIR@,$AUX_DIR,;t t
4591s,@abs_source_dir@,$abs_source_dir,;t t
4592s,@abs_lib_dir@,$abs_lib_dir,;t t
4593s,@abs_include_dir@,$abs_include_dir,;t t
4594s,@abs_bin_dir@,$abs_bin_dir,;t t
4595s,@HAVE_EXTERNALS_TRUE@,$HAVE_EXTERNALS_TRUE,;t t
4596s,@HAVE_EXTERNALS_FALSE@,$HAVE_EXTERNALS_FALSE,;t t
4597s,@AMPLSOLVER_A@,$AMPLSOLVER_A,;t t
4598s,@MSVC_COMPILE_TRUE@,$MSVC_COMPILE_TRUE,;t t
4599s,@MSVC_COMPILE_FALSE@,$MSVC_COMPILE_FALSE,;t t
4600s,@ASLMAKEFLAGS@,$ASLMAKEFLAGS,;t t
4601s,@ASLMAKEFILECMDS@,$ASLMAKEFILECMDS,;t t
4602s,@LIBEXT@,$LIBEXT,;t t
4603s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
4604s,@LIBOBJS@,$LIBOBJS,;t t
4605s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4606CEOF
4607
4608_ACEOF
4609
4610  cat >>$CONFIG_STATUS <<\_ACEOF
4611  # Split the substitutions into bite-sized pieces for seds with
4612  # small command number limits, like on Digital OSF/1 and HP-UX.
4613  ac_max_sed_lines=48
4614  ac_sed_frag=1 # Number of current file.
4615  ac_beg=1 # First line for current file.
4616  ac_end=$ac_max_sed_lines # Line after last line for current file.
4617  ac_more_lines=:
4618  ac_sed_cmds=
4619  while $ac_more_lines; do
4620    if test $ac_beg -gt 1; then
4621      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4622    else
4623      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4624    fi
4625    if test ! -s $tmp/subs.frag; then
4626      ac_more_lines=false
4627    else
4628      # The purpose of the label and of the branching condition is to
4629      # speed up the sed processing (if there are no `@' at all, there
4630      # is no need to browse any of the substitutions).
4631      # These are the two extra sed commands mentioned above.
4632      (echo ':t
4633  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4634      if test -z "$ac_sed_cmds"; then
4635        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4636      else
4637        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4638      fi
4639      ac_sed_frag=`expr $ac_sed_frag + 1`
4640      ac_beg=$ac_end
4641      ac_end=`expr $ac_end + $ac_max_sed_lines`
4642    fi
4643  done
4644  if test -z "$ac_sed_cmds"; then
4645    ac_sed_cmds=cat
4646  fi
4647fi # test -n "$CONFIG_FILES"
4648
4649_ACEOF
4650cat >>$CONFIG_STATUS <<\_ACEOF
4651for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4652  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4653  case $ac_file in
4654  - | *:- | *:-:* ) # input from stdin
4655        cat >$tmp/stdin
4656        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4657        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4658  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4659        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4660  * )   ac_file_in=$ac_file.in ;;
4661  esac
4662
4663  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4664  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4665$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4666         X"$ac_file" : 'X\(//\)[^/]' \| \
4667         X"$ac_file" : 'X\(//\)$' \| \
4668         X"$ac_file" : 'X\(/\)' \| \
4669         .     : '\(.\)' 2>/dev/null ||
4670echo X"$ac_file" |
4671    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4672          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4673          /^X\(\/\/\)$/{ s//\1/; q; }
4674          /^X\(\/\).*/{ s//\1/; q; }
4675          s/.*/./; q'`
4676  { if $as_mkdir_p; then
4677    mkdir -p "$ac_dir"
4678  else
4679    as_dir="$ac_dir"
4680    as_dirs=
4681    while test ! -d "$as_dir"; do
4682      as_dirs="$as_dir $as_dirs"
4683      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4684$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4685         X"$as_dir" : 'X\(//\)[^/]' \| \
4686         X"$as_dir" : 'X\(//\)$' \| \
4687         X"$as_dir" : 'X\(/\)' \| \
4688         .     : '\(.\)' 2>/dev/null ||
4689echo X"$as_dir" |
4690    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4691          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4692          /^X\(\/\/\)$/{ s//\1/; q; }
4693          /^X\(\/\).*/{ s//\1/; q; }
4694          s/.*/./; q'`
4695    done
4696    test ! -n "$as_dirs" || mkdir $as_dirs
4697  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4698echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4699   { (exit 1); exit 1; }; }; }
4700
4701  ac_builddir=.
4702
4703if test "$ac_dir" != .; then
4704  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4705  # A "../" for each directory in $ac_dir_suffix.
4706  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4707else
4708  ac_dir_suffix= ac_top_builddir=
4709fi
4710
4711case $srcdir in
4712  .)  # No --srcdir option.  We are building in place.
4713    ac_srcdir=.
4714    if test -z "$ac_top_builddir"; then
4715       ac_top_srcdir=.
4716    else
4717       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4718    fi ;;
4719  [\\/]* | ?:[\\/]* )  # Absolute path.
4720    ac_srcdir=$srcdir$ac_dir_suffix;
4721    ac_top_srcdir=$srcdir ;;
4722  *) # Relative path.
4723    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4724    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4725esac
4726
4727# Do not use `cd foo && pwd` to compute absolute paths, because
4728# the directories may not exist.
4729case `pwd` in
4730.) ac_abs_builddir="$ac_dir";;
4731*)
4732  case "$ac_dir" in
4733  .) ac_abs_builddir=`pwd`;;
4734  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4735  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4736  esac;;
4737esac
4738case $ac_abs_builddir in
4739.) ac_abs_top_builddir=${ac_top_builddir}.;;
4740*)
4741  case ${ac_top_builddir}. in
4742  .) ac_abs_top_builddir=$ac_abs_builddir;;
4743  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4744  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4745  esac;;
4746esac
4747case $ac_abs_builddir in
4748.) ac_abs_srcdir=$ac_srcdir;;
4749*)
4750  case $ac_srcdir in
4751  .) ac_abs_srcdir=$ac_abs_builddir;;
4752  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4753  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4754  esac;;
4755esac
4756case $ac_abs_builddir in
4757.) ac_abs_top_srcdir=$ac_top_srcdir;;
4758*)
4759  case $ac_top_srcdir in
4760  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4761  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4762  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4763  esac;;
4764esac
4765
4766
4767  case $INSTALL in
4768  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4769  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4770  esac
4771
4772  if test x"$ac_file" != x-; then
4773    { echo "$as_me:$LINENO: creating $ac_file" >&5
4774echo "$as_me: creating $ac_file" >&6;}
4775    rm -f "$ac_file"
4776  fi
4777  # Let's still pretend it is `configure' which instantiates (i.e., don't
4778  # use $as_me), people would be surprised to read:
4779  #    /* config.h.  Generated by config.status.  */
4780  if test x"$ac_file" = x-; then
4781    configure_input=
4782  else
4783    configure_input="$ac_file.  "
4784  fi
4785  configure_input=$configure_input"Generated from `echo $ac_file_in |
4786                                     sed 's,.*/,,'` by configure."
4787
4788  # First look for the input files in the build tree, otherwise in the
4789  # src tree.
4790  ac_file_inputs=`IFS=:
4791    for f in $ac_file_in; do
4792      case $f in
4793      -) echo $tmp/stdin ;;
4794      [\\/$]*)
4795         # Absolute (can't be DOS-style, as IFS=:)
4796         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4797echo "$as_me: error: cannot find input file: $f" >&2;}
4798   { (exit 1); exit 1; }; }
4799         echo "$f";;
4800      *) # Relative
4801         if test -f "$f"; then
4802           # Build tree
4803           echo "$f"
4804         elif test -f "$srcdir/$f"; then
4805           # Source tree
4806           echo "$srcdir/$f"
4807         else
4808           # /dev/null tree
4809           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4810echo "$as_me: error: cannot find input file: $f" >&2;}
4811   { (exit 1); exit 1; }; }
4812         fi;;
4813      esac
4814    done` || { (exit 1); exit 1; }
4815_ACEOF
4816cat >>$CONFIG_STATUS <<_ACEOF
4817  sed "$ac_vpsub
4818$extrasub
4819_ACEOF
4820cat >>$CONFIG_STATUS <<\_ACEOF
4821:t
4822/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4823s,@configure_input@,$configure_input,;t t
4824s,@srcdir@,$ac_srcdir,;t t
4825s,@abs_srcdir@,$ac_abs_srcdir,;t t
4826s,@top_srcdir@,$ac_top_srcdir,;t t
4827s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4828s,@builddir@,$ac_builddir,;t t
4829s,@abs_builddir@,$ac_abs_builddir,;t t
4830s,@top_builddir@,$ac_top_builddir,;t t
4831s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4832s,@INSTALL@,$ac_INSTALL,;t t
4833" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4834  rm -f $tmp/stdin
4835  if test x"$ac_file" != x-; then
4836    mv $tmp/out $ac_file
4837  else
4838    cat $tmp/out
4839    rm -f $tmp/out
4840  fi
4841
4842done
4843_ACEOF
4844cat >>$CONFIG_STATUS <<\_ACEOF
4845
4846#
4847# CONFIG_COMMANDS section.
4848#
4849for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4850  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4851  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4852  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4853$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4854         X"$ac_dest" : 'X\(//\)[^/]' \| \
4855         X"$ac_dest" : 'X\(//\)$' \| \
4856         X"$ac_dest" : 'X\(/\)' \| \
4857         .     : '\(.\)' 2>/dev/null ||
4858echo X"$ac_dest" |
4859    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4860          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4861          /^X\(\/\/\)$/{ s//\1/; q; }
4862          /^X\(\/\).*/{ s//\1/; q; }
4863          s/.*/./; q'`
4864  { if $as_mkdir_p; then
4865    mkdir -p "$ac_dir"
4866  else
4867    as_dir="$ac_dir"
4868    as_dirs=
4869    while test ! -d "$as_dir"; do
4870      as_dirs="$as_dir $as_dirs"
4871      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4872$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4873         X"$as_dir" : 'X\(//\)[^/]' \| \
4874         X"$as_dir" : 'X\(//\)$' \| \
4875         X"$as_dir" : 'X\(/\)' \| \
4876         .     : '\(.\)' 2>/dev/null ||
4877echo X"$as_dir" |
4878    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4879          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4880          /^X\(\/\/\)$/{ s//\1/; q; }
4881          /^X\(\/\).*/{ s//\1/; q; }
4882          s/.*/./; q'`
4883    done
4884    test ! -n "$as_dirs" || mkdir $as_dirs
4885  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4886echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4887   { (exit 1); exit 1; }; }; }
4888
4889  ac_builddir=.
4890
4891if test "$ac_dir" != .; then
4892  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4893  # A "../" for each directory in $ac_dir_suffix.
4894  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4895else
4896  ac_dir_suffix= ac_top_builddir=
4897fi
4898
4899case $srcdir in
4900  .)  # No --srcdir option.  We are building in place.
4901    ac_srcdir=.
4902    if test -z "$ac_top_builddir"; then
4903       ac_top_srcdir=.
4904    else
4905       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4906    fi ;;
4907  [\\/]* | ?:[\\/]* )  # Absolute path.
4908    ac_srcdir=$srcdir$ac_dir_suffix;
4909    ac_top_srcdir=$srcdir ;;
4910  *) # Relative path.
4911    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4912    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4913esac
4914
4915# Do not use `cd foo && pwd` to compute absolute paths, because
4916# the directories may not exist.
4917case `pwd` in
4918.) ac_abs_builddir="$ac_dir";;
4919*)
4920  case "$ac_dir" in
4921  .) ac_abs_builddir=`pwd`;;
4922  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4923  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4924  esac;;
4925esac
4926case $ac_abs_builddir in
4927.) ac_abs_top_builddir=${ac_top_builddir}.;;
4928*)
4929  case ${ac_top_builddir}. in
4930  .) ac_abs_top_builddir=$ac_abs_builddir;;
4931  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4932  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4933  esac;;
4934esac
4935case $ac_abs_builddir in
4936.) ac_abs_srcdir=$ac_srcdir;;
4937*)
4938  case $ac_srcdir in
4939  .) ac_abs_srcdir=$ac_abs_builddir;;
4940  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4941  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4942  esac;;
4943esac
4944case $ac_abs_builddir in
4945.) ac_abs_top_srcdir=$ac_top_srcdir;;
4946*)
4947  case $ac_top_srcdir in
4948  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4949  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4950  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4951  esac;;
4952esac
4953
4954
4955  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4956echo "$as_me: executing $ac_dest commands" >&6;}
4957  case $ac_dest in
4958    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4959  # Strip MF so we end up with the name of the file.
4960  mf=`echo "$mf" | sed -e 's/:.*$//'`
4961  # Check whether this is an Automake generated Makefile or not.
4962  # We used to match only the files named `Makefile.in', but
4963  # some people rename them; so instead we look at the file content.
4964  # Grep'ing the first line is not enough: some people post-process
4965  # each Makefile.in and add a new line on top of each file to say so.
4966  # So let's grep whole file.
4967  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4968    dirpart=`(dirname "$mf") 2>/dev/null ||
4969$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4970         X"$mf" : 'X\(//\)[^/]' \| \
4971         X"$mf" : 'X\(//\)$' \| \
4972         X"$mf" : 'X\(/\)' \| \
4973         .     : '\(.\)' 2>/dev/null ||
4974echo X"$mf" |
4975    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4976          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4977          /^X\(\/\/\)$/{ s//\1/; q; }
4978          /^X\(\/\).*/{ s//\1/; q; }
4979          s/.*/./; q'`
4980  else
4981    continue
4982  fi
4983  # Extract the definition of DEPDIR, am__include, and am__quote
4984  # from the Makefile without running `make'.
4985  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4986  test -z "$DEPDIR" && continue
4987  am__include=`sed -n 's/^am__include = //p' < "$mf"`
4988  test -z "am__include" && continue
4989  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4990  # When using ansi2knr, U may be empty or an underscore; expand it
4991  U=`sed -n 's/^U = //p' < "$mf"`
4992  # Find all dependency output files, they are included files with
4993  # $(DEPDIR) in their names.  We invoke sed twice because it is the
4994  # simplest approach to changing $(DEPDIR) to its actual value in the
4995  # expansion.
4996  for file in `sed -n "
4997    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4998       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4999    # Make sure the directory exists.
5000    test -f "$dirpart/$file" && continue
5001    fdir=`(dirname "$file") 2>/dev/null ||
5002$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5003         X"$file" : 'X\(//\)[^/]' \| \
5004         X"$file" : 'X\(//\)$' \| \
5005         X"$file" : 'X\(/\)' \| \
5006         .     : '\(.\)' 2>/dev/null ||
5007echo X"$file" |
5008    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5009          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5010          /^X\(\/\/\)$/{ s//\1/; q; }
5011          /^X\(\/\).*/{ s//\1/; q; }
5012          s/.*/./; q'`
5013    { if $as_mkdir_p; then
5014    mkdir -p $dirpart/$fdir
5015  else
5016    as_dir=$dirpart/$fdir
5017    as_dirs=
5018    while test ! -d "$as_dir"; do
5019      as_dirs="$as_dir $as_dirs"
5020      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5021$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5022         X"$as_dir" : 'X\(//\)[^/]' \| \
5023         X"$as_dir" : 'X\(//\)$' \| \
5024         X"$as_dir" : 'X\(/\)' \| \
5025         .     : '\(.\)' 2>/dev/null ||
5026echo X"$as_dir" |
5027    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5028          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5029          /^X\(\/\/\)$/{ s//\1/; q; }
5030          /^X\(\/\).*/{ s//\1/; q; }
5031          s/.*/./; q'`
5032    done
5033    test ! -n "$as_dirs" || mkdir $as_dirs
5034  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5035echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5036   { (exit 1); exit 1; }; }; }
5037
5038    # echo "creating $dirpart/$file"
5039    echo '# dummy' > "$dirpart/$file"
5040  done
5041done
5042 ;;
5043  esac
5044done
5045_ACEOF
5046
5047cat >>$CONFIG_STATUS <<\_ACEOF
5048
5049{ (exit 0); exit 0; }
5050_ACEOF
5051chmod +x $CONFIG_STATUS
5052ac_clean_files=$ac_clean_files_save
5053
5054
5055# configure is writing to config.log, and then calls config.status.
5056# config.status does its own redirection, appending to config.log.
5057# Unfortunately, on DOS this fails, as config.log is still kept open
5058# by configure, so config.status won't be able to write to it; its
5059# output is simply discarded.  So we exec the FD to /dev/null,
5060# effectively closing config.log, so it can be properly (re)opened and
5061# appended to by config.status.  When coming back to configure, we
5062# need to make the FD available again.
5063if test "$no_create" != yes; then
5064  ac_cs_success=:
5065  ac_config_status_args=
5066  test "$silent" = yes &&
5067    ac_config_status_args="$ac_config_status_args --quiet"
5068  exec 5>/dev/null
5069  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5070  exec 5>>config.log
5071  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5072  # would make configure fail if this is the last instruction.
5073  $ac_cs_success || { (exit 1); exit 1; }
5074fi
5075
5076
5077if test x"$coin_vpath_link_files" = x; then : ; else
5078  { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
5079echo "$as_me: Creating VPATH links for data files" >&6;}
5080  for file in $coin_vpath_link_files; do
5081    rm -f $file
5082    $LN_S $abs_source_dir/$file $file
5083  done
5084fi
5085
5086if test x$coin_projectdir = xyes; then
5087  { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
5088echo "$as_me: Configuration of $PACKAGE_NAME successful" >&6;}
5089else
5090  { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&5
5091echo "$as_me: Main configuration of $PACKAGE_NAME successful" >&6;}
5092fi
5093
5094
5095# Finally, we need to make sure that compile_MS_ASL is executable
5096chmod a+x compile_MS_ASL
Note: See TracBrowser for help on using the repository browser.