source: ThirdParty/ASL/trunk/configure @ 167

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

regenerated configure for new trunk coin.m4 (reuse libtool script)

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