source: ThirdParty/ASL/trunk/configure @ 158

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

suppress compilation warning messages

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