source: ThirdParty/ASL/trunk/configure @ 441

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

reran autotools

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