source: ThirdParty/ASL/trunk/configure @ 82

Last change on this file since 82 was 82, checked in by andreasw, 14 years ago

regenerated autofiles

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