source: ThirdParty/ASL/trunk/configure @ 402

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

correct version number if configure.ac

  • Property svn:executable set to *
File size: 168.5 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        enable_shared=no
1449        ;;
1450   no)  coin_debug_compile=false
1451        ;;
1452   *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
1453echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
1454   { (exit 1); exit 1; }; }
1455        ;;
1456esac
1457else
1458  coin_debug_compile=false
1459fi;
1460
1461# Check whether --enable-debug-asl or --disable-debug-asl was given.
1462if test "${enable_debug_asl+set}" = set; then
1463  enableval="$enable_debug_asl"
1464  case "${enableval}" in
1465    yes) coin_debug_compile=true
1466         enable_shared=no
1467         ;;
1468    no)  coin_debug_compile=false
1469         ;;
1470    *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug-asl" >&5
1471echo "$as_me: error: bad value ${enableval} for --enable-debug-asl" >&2;}
1472   { (exit 1); exit 1; }; }
1473         ;;
1474 esac
1475else
1476  :
1477fi;
1478
1479 # m4_ifvaln([ASL],
1480
1481if test $coin_debug_compile = true; then
1482  echo "$as_me:$LINENO: result: yes" >&5
1483echo "${ECHO_T}yes" >&6
1484else
1485  echo "$as_me:$LINENO: result: no" >&5
1486echo "${ECHO_T}no" >&6
1487fi
1488
1489
1490# Check whether --with-asl-verbosity or --without-asl-verbosity was given.
1491if test "${with_asl_verbosity+set}" = set; then
1492  withval="$with_asl_verbosity"
1493  if test "$withval" = yes; then
1494                withval=1
1495              fi
1496              coin_asl_verbosity=$withval
1497else
1498  coin_asl_verbosity=0
1499fi;
1500
1501cat >>confdefs.h <<_ACEOF
1502#define COIN_ASL_VERBOSITY $coin_asl_verbosity
1503_ACEOF
1504
1505
1506
1507# Check whether --with-asl-checklevel or --without-asl-checklevel was given.
1508if test "${with_asl_checklevel+set}" = set; then
1509  withval="$with_asl_checklevel"
1510  if test "$withval" = yes; then
1511                withval=1
1512              fi
1513              coin_asl_checklevel=$withval
1514else
1515  coin_asl_checklevel=0
1516fi;
1517
1518cat >>confdefs.h <<_ACEOF
1519#define COIN_ASL_CHECKLEVEL $coin_asl_checklevel
1520_ACEOF
1521
1522
1523# We use the following variable to have a string with the upper case
1524# version of the project name
1525COIN_PRJCT=ASL
1526
1527
1528 # m4_ifvaln([ASL],
1529
1530
1531
1532# We need egrep and ln -s somewhere
1533echo "$as_me:$LINENO: checking for egrep" >&5
1534echo $ECHO_N "checking for egrep... $ECHO_C" >&6
1535if test "${ac_cv_prog_egrep+set}" = set; then
1536  echo $ECHO_N "(cached) $ECHO_C" >&6
1537else
1538  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
1539    then ac_cv_prog_egrep='grep -E'
1540    else ac_cv_prog_egrep='egrep'
1541    fi
1542fi
1543echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
1544echo "${ECHO_T}$ac_cv_prog_egrep" >&6
1545 EGREP=$ac_cv_prog_egrep
1546
1547
1548echo "$as_me:$LINENO: checking whether ln -s works" >&5
1549echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1550LN_S=$as_ln_s
1551if test "$LN_S" = "ln -s"; then
1552  echo "$as_me:$LINENO: result: yes" >&5
1553echo "${ECHO_T}yes" >&6
1554else
1555  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1556echo "${ECHO_T}no, using $LN_S" >&6
1557fi
1558
1559
1560# Get the name of the C compiler and appropriate compiler options
1561coin_skip_warn_cflags=yes
1562case $build in
1563  *-mingw*)
1564    if test "${LD+set}" = set; then :; else
1565      LD=link
1566    fi
1567    ;;
1568 esac
1569 case $enable_doscompile in
1570   msvc)
1571     if test "x${LD+set}" = xset; then :; else
1572       LD=link
1573     fi
1574     ;;
1575 esac
1576
1577
1578 # Check whether --enable-doscompile or --disable-doscompile was given.
1579if test "${enable_doscompile+set}" = set; then
1580  enableval="$enable_doscompile"
1581  if test "$enable_doscompile" != no; then
1582     case $build in
1583       *-cygwin*) ;;
1584       *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes sense only under Cygwin" >&5
1585echo "$as_me: error: --enable-doscompile option makes sense only under Cygwin" >&2;}
1586   { (exit 1); exit 1; }; } ;;
1587     esac
1588   fi
1589else
1590  enable_doscompile=no
1591fi;
1592 case "$enable_doscompile" in
1593   msvc|mingw|no) ;;
1594   yes) enable_doscompile=mingw ;;
1595   *) { { echo "$as_me:$LINENO: error: Invalid value $enable_doscompile for --enable-doscompile.
1596                    Try configure --help=recursive." >&5
1597echo "$as_me: error: Invalid value $enable_doscompile for --enable-doscompile.
1598                    Try configure --help=recursive." >&2;}
1599   { (exit 1); exit 1; }; }
1600      ;;
1601  esac
1602  if test "$enable_doscompile" != no ; then
1603    { echo "$as_me:$LINENO: DOS compile style is: $enable_doscompile" >&5
1604echo "$as_me: DOS compile style is: $enable_doscompile" >&6;}
1605  fi
1606
1607
1608
1609
1610ac_ext=c
1611ac_cpp='$CPP $CPPFLAGS'
1612ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1613ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1614ac_compiler_gnu=$ac_cv_c_compiler_gnu
1615
1616
1617# For consistency, we set the C compiler to the same value of the C++
1618# compiler, if the C++ is set, but the C compiler isn't (only for CXX=cl)
1619if test x"$CXX" != x; then
1620  case "$CXX" in
1621    cl* | */cl* | CL* | */CL*)
1622      if test x"$CC" = x; then
1623        CC="$CXX"
1624        { echo "$as_me:$LINENO: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&5
1625echo "$as_me: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&2;}
1626      fi
1627      ;;
1628  esac
1629fi
1630
1631
1632
1633
1634
1635
1636coin_has_cc=yes
1637
1638save_cflags="$CFLAGS"
1639# For sparc-sun-solaris, promote Studio/Workshop compiler to front of list.
1640# ToDo: If Studio/Workshop cc is not present, we may find /usr/ucb/cc, which
1641# is likely to be a non-functional shell. But many installations will have
1642# both cc and gcc, so promoting gcc isn't good either. How to test reliably?
1643case $build in
1644  *-cygwin* | *-mingw*)
1645             if test "$enable_doscompile" = msvc ; then
1646               comps="cl"
1647             else
1648               comps="gcc cl"
1649             fi ;;
1650  sparc-sun-solaris*)
1651             comps="cc xlc gcc pgcc icc" ;;
1652  *-linux-*) comps="xlc gcc cc pgcc icc" ;;
1653  *)         comps="xlc_r xlc cc gcc pgcc icc" ;;
1654esac
1655
1656# We delete the cached value, since the test might not have been
1657# performed with our choice of compilers earlier
1658$as_unset ac_cv_prog_CC || test "${ac_cv_prog_CC+set}" != set || { ac_cv_prog_CC=; export ac_cv_prog_CC; }
1659# AC_MSG_NOTICE([C compiler candidates: $comps])
1660ac_ext=c
1661ac_cpp='$CPP $CPPFLAGS'
1662ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1663ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1664ac_compiler_gnu=$ac_cv_c_compiler_gnu
1665if test -n "$ac_tool_prefix"; then
1666  for ac_prog in $comps
1667  do
1668    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1669set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1670echo "$as_me:$LINENO: checking for $ac_word" >&5
1671echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1672if test "${ac_cv_prog_CC+set}" = set; then
1673  echo $ECHO_N "(cached) $ECHO_C" >&6
1674else
1675  if test -n "$CC"; then
1676  ac_cv_prog_CC="$CC" # Let the user override the test.
1677else
1678as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1679for as_dir in $PATH
1680do
1681  IFS=$as_save_IFS
1682  test -z "$as_dir" && as_dir=.
1683  for ac_exec_ext in '' $ac_executable_extensions; do
1684  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1685    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1686    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1687    break 2
1688  fi
1689done
1690done
1691
1692fi
1693fi
1694CC=$ac_cv_prog_CC
1695if test -n "$CC"; then
1696  echo "$as_me:$LINENO: result: $CC" >&5
1697echo "${ECHO_T}$CC" >&6
1698else
1699  echo "$as_me:$LINENO: result: no" >&5
1700echo "${ECHO_T}no" >&6
1701fi
1702
1703    test -n "$CC" && break
1704  done
1705fi
1706if test -z "$CC"; then
1707  ac_ct_CC=$CC
1708  for ac_prog in $comps
1709do
1710  # Extract the first word of "$ac_prog", so it can be a program name with args.
1711set dummy $ac_prog; ac_word=$2
1712echo "$as_me:$LINENO: checking for $ac_word" >&5
1713echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1714if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1715  echo $ECHO_N "(cached) $ECHO_C" >&6
1716else
1717  if test -n "$ac_ct_CC"; then
1718  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1719else
1720as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1721for as_dir in $PATH
1722do
1723  IFS=$as_save_IFS
1724  test -z "$as_dir" && as_dir=.
1725  for ac_exec_ext in '' $ac_executable_extensions; do
1726  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1727    ac_cv_prog_ac_ct_CC="$ac_prog"
1728    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1729    break 2
1730  fi
1731done
1732done
1733
1734fi
1735fi
1736ac_ct_CC=$ac_cv_prog_ac_ct_CC
1737if test -n "$ac_ct_CC"; then
1738  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1739echo "${ECHO_T}$ac_ct_CC" >&6
1740else
1741  echo "$as_me:$LINENO: result: no" >&5
1742echo "${ECHO_T}no" >&6
1743fi
1744
1745  test -n "$ac_ct_CC" && break
1746done
1747
1748  CC=$ac_ct_CC
1749fi
1750
1751
1752test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1753See \`config.log' for more details." >&5
1754echo "$as_me: error: no acceptable C compiler found in \$PATH
1755See \`config.log' for more details." >&2;}
1756   { (exit 1); exit 1; }; }
1757
1758# Provide some information about the compiler.
1759echo "$as_me:$LINENO:" \
1760     "checking for C compiler version" >&5
1761ac_compiler=`set X $ac_compile; echo $2`
1762{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1763  (eval $ac_compiler --version </dev/null >&5) 2>&5
1764  ac_status=$?
1765  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1766  (exit $ac_status); }
1767{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1768  (eval $ac_compiler -v </dev/null >&5) 2>&5
1769  ac_status=$?
1770  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1771  (exit $ac_status); }
1772{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1773  (eval $ac_compiler -V </dev/null >&5) 2>&5
1774  ac_status=$?
1775  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1776  (exit $ac_status); }
1777
1778cat >conftest.$ac_ext <<_ACEOF
1779/* confdefs.h.  */
1780_ACEOF
1781cat confdefs.h >>conftest.$ac_ext
1782cat >>conftest.$ac_ext <<_ACEOF
1783/* end confdefs.h.  */
1784
1785int
1786main ()
1787{
1788
1789  ;
1790  return 0;
1791}
1792_ACEOF
1793ac_clean_files_save=$ac_clean_files
1794ac_clean_files="$ac_clean_files a.out a.exe b.out"
1795# Try to create an executable without -o first, disregard a.out.
1796# It will help us diagnose broken compilers, and finding out an intuition
1797# of exeext.
1798echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1799echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1800ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1801if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1802  (eval $ac_link_default) 2>&5
1803  ac_status=$?
1804  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1805  (exit $ac_status); }; then
1806  # Find the output, starting from the most likely.  This scheme is
1807# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1808# resort.
1809
1810# Be careful to initialize this variable, since it used to be cached.
1811# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1812ac_cv_exeext=
1813# b.out is created by i960 compilers.
1814for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1815do
1816  test -f "$ac_file" || continue
1817  case $ac_file in
1818    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1819        ;;
1820    conftest.$ac_ext )
1821        # This is the source file.
1822        ;;
1823    [ab].out )
1824        # We found the default executable, but exeext='' is most
1825        # certainly right.
1826        break;;
1827    *.* )
1828        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1829        # FIXME: I believe we export ac_cv_exeext for Libtool,
1830        # but it would be cool to find out if it's true.  Does anybody
1831        # maintain Libtool? --akim.
1832        export ac_cv_exeext
1833        break;;
1834    * )
1835        break;;
1836  esac
1837done
1838else
1839  echo "$as_me: failed program was:" >&5
1840sed 's/^/| /' conftest.$ac_ext >&5
1841
1842{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1843See \`config.log' for more details." >&5
1844echo "$as_me: error: C compiler cannot create executables
1845See \`config.log' for more details." >&2;}
1846   { (exit 77); exit 77; }; }
1847fi
1848
1849ac_exeext=$ac_cv_exeext
1850echo "$as_me:$LINENO: result: $ac_file" >&5
1851echo "${ECHO_T}$ac_file" >&6
1852
1853# Check the compiler produces executables we can run.  If not, either
1854# the compiler is broken, or we cross compile.
1855echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1856echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1857# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1858# If not cross compiling, check that we can run a simple program.
1859if test "$cross_compiling" != yes; then
1860  if { ac_try='./$ac_file'
1861  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1862  (eval $ac_try) 2>&5
1863  ac_status=$?
1864  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1865  (exit $ac_status); }; }; then
1866    cross_compiling=no
1867  else
1868    if test "$cross_compiling" = maybe; then
1869        cross_compiling=yes
1870    else
1871        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1872If you meant to cross compile, use \`--host'.
1873See \`config.log' for more details." >&5
1874echo "$as_me: error: cannot run C compiled programs.
1875If you meant to cross compile, use \`--host'.
1876See \`config.log' for more details." >&2;}
1877   { (exit 1); exit 1; }; }
1878    fi
1879  fi
1880fi
1881echo "$as_me:$LINENO: result: yes" >&5
1882echo "${ECHO_T}yes" >&6
1883
1884rm -f a.out a.exe conftest$ac_cv_exeext b.out
1885ac_clean_files=$ac_clean_files_save
1886# Check the compiler produces executables we can run.  If not, either
1887# the compiler is broken, or we cross compile.
1888echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1889echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1890echo "$as_me:$LINENO: result: $cross_compiling" >&5
1891echo "${ECHO_T}$cross_compiling" >&6
1892
1893echo "$as_me:$LINENO: checking for suffix of executables" >&5
1894echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1895if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1896  (eval $ac_link) 2>&5
1897  ac_status=$?
1898  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1899  (exit $ac_status); }; then
1900  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1901# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1902# work properly (i.e., refer to `conftest.exe'), while it won't with
1903# `rm'.
1904for ac_file in conftest.exe conftest conftest.*; do
1905  test -f "$ac_file" || continue
1906  case $ac_file in
1907    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1908    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1909          export ac_cv_exeext
1910          break;;
1911    * ) break;;
1912  esac
1913done
1914else
1915  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1916See \`config.log' for more details." >&5
1917echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1918See \`config.log' for more details." >&2;}
1919   { (exit 1); exit 1; }; }
1920fi
1921
1922rm -f conftest$ac_cv_exeext
1923echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1924echo "${ECHO_T}$ac_cv_exeext" >&6
1925
1926rm -f conftest.$ac_ext
1927EXEEXT=$ac_cv_exeext
1928ac_exeext=$EXEEXT
1929echo "$as_me:$LINENO: checking for suffix of object files" >&5
1930echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1931if test "${ac_cv_objext+set}" = set; then
1932  echo $ECHO_N "(cached) $ECHO_C" >&6
1933else
1934  cat >conftest.$ac_ext <<_ACEOF
1935/* confdefs.h.  */
1936_ACEOF
1937cat confdefs.h >>conftest.$ac_ext
1938cat >>conftest.$ac_ext <<_ACEOF
1939/* end confdefs.h.  */
1940
1941int
1942main ()
1943{
1944
1945  ;
1946  return 0;
1947}
1948_ACEOF
1949rm -f conftest.o conftest.obj
1950if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1951  (eval $ac_compile) 2>&5
1952  ac_status=$?
1953  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1954  (exit $ac_status); }; then
1955  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1956  case $ac_file in
1957    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1958    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1959       break;;
1960  esac
1961done
1962else
1963  echo "$as_me: failed program was:" >&5
1964sed 's/^/| /' conftest.$ac_ext >&5
1965
1966{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1967See \`config.log' for more details." >&5
1968echo "$as_me: error: cannot compute suffix of object files: cannot compile
1969See \`config.log' for more details." >&2;}
1970   { (exit 1); exit 1; }; }
1971fi
1972
1973rm -f conftest.$ac_cv_objext conftest.$ac_ext
1974fi
1975echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1976echo "${ECHO_T}$ac_cv_objext" >&6
1977OBJEXT=$ac_cv_objext
1978ac_objext=$OBJEXT
1979echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1980echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1981if test "${ac_cv_c_compiler_gnu+set}" = set; then
1982  echo $ECHO_N "(cached) $ECHO_C" >&6
1983else
1984  cat >conftest.$ac_ext <<_ACEOF
1985/* confdefs.h.  */
1986_ACEOF
1987cat confdefs.h >>conftest.$ac_ext
1988cat >>conftest.$ac_ext <<_ACEOF
1989/* end confdefs.h.  */
1990
1991int
1992main ()
1993{
1994#ifndef __GNUC__
1995       choke me
1996#endif
1997
1998  ;
1999  return 0;
2000}
2001_ACEOF
2002rm -f conftest.$ac_objext
2003if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2004  (eval $ac_compile) 2>conftest.er1
2005  ac_status=$?
2006  grep -v '^ *+' conftest.er1 >conftest.err
2007  rm -f conftest.er1
2008  cat conftest.err >&5
2009  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2010  (exit $ac_status); } &&
2011         { ac_try='test -z "$ac_c_werror_flag"
2012                         || test ! -s conftest.err'
2013  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2014  (eval $ac_try) 2>&5
2015  ac_status=$?
2016  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2017  (exit $ac_status); }; } &&
2018         { ac_try='test -s conftest.$ac_objext'
2019  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2020  (eval $ac_try) 2>&5
2021  ac_status=$?
2022  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2023  (exit $ac_status); }; }; then
2024  ac_compiler_gnu=yes
2025else
2026  echo "$as_me: failed program was:" >&5
2027sed 's/^/| /' conftest.$ac_ext >&5
2028
2029ac_compiler_gnu=no
2030fi
2031rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2032ac_cv_c_compiler_gnu=$ac_compiler_gnu
2033
2034fi
2035echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2036echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2037GCC=`test $ac_compiler_gnu = yes && echo yes`
2038ac_test_CFLAGS=${CFLAGS+set}
2039ac_save_CFLAGS=$CFLAGS
2040CFLAGS="-g"
2041echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2042echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2043if test "${ac_cv_prog_cc_g+set}" = set; then
2044  echo $ECHO_N "(cached) $ECHO_C" >&6
2045else
2046  cat >conftest.$ac_ext <<_ACEOF
2047/* confdefs.h.  */
2048_ACEOF
2049cat confdefs.h >>conftest.$ac_ext
2050cat >>conftest.$ac_ext <<_ACEOF
2051/* end confdefs.h.  */
2052
2053int
2054main ()
2055{
2056
2057  ;
2058  return 0;
2059}
2060_ACEOF
2061rm -f conftest.$ac_objext
2062if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2063  (eval $ac_compile) 2>conftest.er1
2064  ac_status=$?
2065  grep -v '^ *+' conftest.er1 >conftest.err
2066  rm -f conftest.er1
2067  cat conftest.err >&5
2068  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2069  (exit $ac_status); } &&
2070         { ac_try='test -z "$ac_c_werror_flag"
2071                         || test ! -s conftest.err'
2072  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2073  (eval $ac_try) 2>&5
2074  ac_status=$?
2075  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076  (exit $ac_status); }; } &&
2077         { ac_try='test -s conftest.$ac_objext'
2078  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2079  (eval $ac_try) 2>&5
2080  ac_status=$?
2081  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2082  (exit $ac_status); }; }; then
2083  ac_cv_prog_cc_g=yes
2084else
2085  echo "$as_me: failed program was:" >&5
2086sed 's/^/| /' conftest.$ac_ext >&5
2087
2088ac_cv_prog_cc_g=no
2089fi
2090rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2091fi
2092echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2093echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2094if test "$ac_test_CFLAGS" = set; then
2095  CFLAGS=$ac_save_CFLAGS
2096elif test $ac_cv_prog_cc_g = yes; then
2097  if test "$GCC" = yes; then
2098    CFLAGS="-g -O2"
2099  else
2100    CFLAGS="-g"
2101  fi
2102else
2103  if test "$GCC" = yes; then
2104    CFLAGS="-O2"
2105  else
2106    CFLAGS=
2107  fi
2108fi
2109echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2110echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2111if test "${ac_cv_prog_cc_stdc+set}" = set; then
2112  echo $ECHO_N "(cached) $ECHO_C" >&6
2113else
2114  ac_cv_prog_cc_stdc=no
2115ac_save_CC=$CC
2116cat >conftest.$ac_ext <<_ACEOF
2117/* confdefs.h.  */
2118_ACEOF
2119cat confdefs.h >>conftest.$ac_ext
2120cat >>conftest.$ac_ext <<_ACEOF
2121/* end confdefs.h.  */
2122#include <stdarg.h>
2123#include <stdio.h>
2124#include <sys/types.h>
2125#include <sys/stat.h>
2126/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2127struct buf { int x; };
2128FILE * (*rcsopen) (struct buf *, struct stat *, int);
2129static char *e (p, i)
2130     char **p;
2131     int i;
2132{
2133  return p[i];
2134}
2135static char *f (char * (*g) (char **, int), char **p, ...)
2136{
2137  char *s;
2138  va_list v;
2139  va_start (v,p);
2140  s = g (p, va_arg (v,int));
2141  va_end (v);
2142  return s;
2143}
2144
2145/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2146   function prototypes and stuff, but not '\xHH' hex character constants.
2147   These don't provoke an error unfortunately, instead are silently treated
2148   as 'x'.  The following induces an error, until -std1 is added to get
2149   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2150   array size at least.  It's necessary to write '\x00'==0 to get something
2151   that's true only with -std1.  */
2152int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2153
2154int test (int i, double x);
2155struct s1 {int (*f) (int a);};
2156struct s2 {int (*f) (double a);};
2157int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2158int argc;
2159char **argv;
2160int
2161main ()
2162{
2163return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2164  ;
2165  return 0;
2166}
2167_ACEOF
2168# Don't try gcc -ansi; that turns off useful extensions and
2169# breaks some systems' header files.
2170# AIX                   -qlanglvl=ansi
2171# Ultrix and OSF/1      -std1
2172# HP-UX 10.20 and later -Ae
2173# HP-UX older versions  -Aa -D_HPUX_SOURCE
2174# SVR4                  -Xc -D__EXTENSIONS__
2175for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2176do
2177  CC="$ac_save_CC $ac_arg"
2178  rm -f conftest.$ac_objext
2179if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2180  (eval $ac_compile) 2>conftest.er1
2181  ac_status=$?
2182  grep -v '^ *+' conftest.er1 >conftest.err
2183  rm -f conftest.er1
2184  cat conftest.err >&5
2185  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186  (exit $ac_status); } &&
2187         { ac_try='test -z "$ac_c_werror_flag"
2188                         || test ! -s conftest.err'
2189  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190  (eval $ac_try) 2>&5
2191  ac_status=$?
2192  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193  (exit $ac_status); }; } &&
2194         { ac_try='test -s conftest.$ac_objext'
2195  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2196  (eval $ac_try) 2>&5
2197  ac_status=$?
2198  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199  (exit $ac_status); }; }; then
2200  ac_cv_prog_cc_stdc=$ac_arg
2201break
2202else
2203  echo "$as_me: failed program was:" >&5
2204sed 's/^/| /' conftest.$ac_ext >&5
2205
2206fi
2207rm -f conftest.err conftest.$ac_objext
2208done
2209rm -f conftest.$ac_ext conftest.$ac_objext
2210CC=$ac_save_CC
2211
2212fi
2213
2214case "x$ac_cv_prog_cc_stdc" in
2215  x|xno)
2216    echo "$as_me:$LINENO: result: none needed" >&5
2217echo "${ECHO_T}none needed" >&6 ;;
2218  *)
2219    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2220echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2221    CC="$CC $ac_cv_prog_cc_stdc" ;;
2222esac
2223
2224# Some people use a C++ compiler to compile C.  Since we use `exit',
2225# in C++ we need to declare it.  In case someone uses the same compiler
2226# for both compiling C and C++ we need to have the C++ compiler decide
2227# the declaration of exit, since it's the most demanding environment.
2228cat >conftest.$ac_ext <<_ACEOF
2229#ifndef __cplusplus
2230  choke me
2231#endif
2232_ACEOF
2233rm -f conftest.$ac_objext
2234if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2235  (eval $ac_compile) 2>conftest.er1
2236  ac_status=$?
2237  grep -v '^ *+' conftest.er1 >conftest.err
2238  rm -f conftest.er1
2239  cat conftest.err >&5
2240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241  (exit $ac_status); } &&
2242         { ac_try='test -z "$ac_c_werror_flag"
2243                         || test ! -s conftest.err'
2244  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2245  (eval $ac_try) 2>&5
2246  ac_status=$?
2247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248  (exit $ac_status); }; } &&
2249         { ac_try='test -s conftest.$ac_objext'
2250  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2251  (eval $ac_try) 2>&5
2252  ac_status=$?
2253  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254  (exit $ac_status); }; }; then
2255  for ac_declaration in \
2256   '' \
2257   'extern "C" void std::exit (int) throw (); using std::exit;' \
2258   'extern "C" void std::exit (int); using std::exit;' \
2259   'extern "C" void exit (int) throw ();' \
2260   'extern "C" void exit (int);' \
2261   'void exit (int);'
2262do
2263  cat >conftest.$ac_ext <<_ACEOF
2264/* confdefs.h.  */
2265_ACEOF
2266cat confdefs.h >>conftest.$ac_ext
2267cat >>conftest.$ac_ext <<_ACEOF
2268/* end confdefs.h.  */
2269$ac_declaration
2270#include <stdlib.h>
2271int
2272main ()
2273{
2274exit (42);
2275  ;
2276  return 0;
2277}
2278_ACEOF
2279rm -f conftest.$ac_objext
2280if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2281  (eval $ac_compile) 2>conftest.er1
2282  ac_status=$?
2283  grep -v '^ *+' conftest.er1 >conftest.err
2284  rm -f conftest.er1
2285  cat conftest.err >&5
2286  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287  (exit $ac_status); } &&
2288         { ac_try='test -z "$ac_c_werror_flag"
2289                         || test ! -s conftest.err'
2290  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2291  (eval $ac_try) 2>&5
2292  ac_status=$?
2293  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294  (exit $ac_status); }; } &&
2295         { ac_try='test -s conftest.$ac_objext'
2296  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2297  (eval $ac_try) 2>&5
2298  ac_status=$?
2299  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300  (exit $ac_status); }; }; then
2301  :
2302else
2303  echo "$as_me: failed program was:" >&5
2304sed 's/^/| /' conftest.$ac_ext >&5
2305
2306continue
2307fi
2308rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2309  cat >conftest.$ac_ext <<_ACEOF
2310/* confdefs.h.  */
2311_ACEOF
2312cat confdefs.h >>conftest.$ac_ext
2313cat >>conftest.$ac_ext <<_ACEOF
2314/* end confdefs.h.  */
2315$ac_declaration
2316int
2317main ()
2318{
2319exit (42);
2320  ;
2321  return 0;
2322}
2323_ACEOF
2324rm -f conftest.$ac_objext
2325if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2326  (eval $ac_compile) 2>conftest.er1
2327  ac_status=$?
2328  grep -v '^ *+' conftest.er1 >conftest.err
2329  rm -f conftest.er1
2330  cat conftest.err >&5
2331  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332  (exit $ac_status); } &&
2333         { ac_try='test -z "$ac_c_werror_flag"
2334                         || test ! -s conftest.err'
2335  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2336  (eval $ac_try) 2>&5
2337  ac_status=$?
2338  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339  (exit $ac_status); }; } &&
2340         { ac_try='test -s conftest.$ac_objext'
2341  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2342  (eval $ac_try) 2>&5
2343  ac_status=$?
2344  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345  (exit $ac_status); }; }; then
2346  break
2347else
2348  echo "$as_me: failed program was:" >&5
2349sed 's/^/| /' conftest.$ac_ext >&5
2350
2351fi
2352rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2353done
2354rm -f conftest*
2355if test -n "$ac_declaration"; then
2356  echo '#ifdef __cplusplus' >>confdefs.h
2357  echo $ac_declaration      >>confdefs.h
2358  echo '#endif'             >>confdefs.h
2359fi
2360
2361else
2362  echo "$as_me: failed program was:" >&5
2363sed 's/^/| /' conftest.$ac_ext >&5
2364
2365fi
2366rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2367ac_ext=c
2368ac_cpp='$CPP $CPPFLAGS'
2369ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2370ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2371ac_compiler_gnu=$ac_cv_c_compiler_gnu
2372
2373if test -z "$CC" ; then
2374  { { echo "$as_me:$LINENO: error: Failed to find a C compiler!" >&5
2375echo "$as_me: error: Failed to find a C compiler!" >&2;}
2376   { (exit 1); exit 1; }; }
2377fi
2378# Autoconf incorrectly concludes that cl recognises -g. It doesn't.
2379case "$CC" in
2380  cl* | */cl* | CL* | */CL* )
2381    if test "$ac_cv_prog_cc_g" = yes ; then
2382      ac_cv_prog_cc_g=no
2383      { echo "$as_me:$LINENO: Overruling autoconf; cl does not recognise -g." >&5
2384echo "$as_me: Overruling autoconf; cl does not recognise -g." >&6;}
2385    fi ;;
2386esac
2387CFLAGS="$save_cflags"
2388
2389# Check if a project specific CFLAGS variable has been set
2390if test x$COIN_PRJCT != x; then
2391  eval coin_tmp=\${${COIN_PRJCT}_CFLAGS+set}
2392  if test x$coin_tmp = xset; then
2393    eval CFLAGS=\${${COIN_PRJCT}_CFLAGS}
2394  fi
2395fi
2396
2397if test x"$CFLAGS" = x; then
2398
2399  coin_add_cflags=
2400  coin_opt_cflags=
2401  coin_dbg_cflags=
2402  coin_warn_cflags=
2403
2404  if test "$GCC" = "yes"; then
2405    case "$CC" in
2406      icc* | */icc*)
2407        ;;
2408      *)
2409        coin_opt_cflags="-O3 -fomit-frame-pointer"
2410        coin_add_cflags="-pipe"
2411        coin_dbg_cflags="-g"
2412        coin_warn_cflags="-pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall"
2413        case $enable_doscompile in
2414          mingw)
2415            CFLAGS="-mno-cygwin"
2416            cat >conftest.$ac_ext <<_ACEOF
2417/* confdefs.h.  */
2418_ACEOF
2419cat confdefs.h >>conftest.$ac_ext
2420cat >>conftest.$ac_ext <<_ACEOF
2421/* end confdefs.h.  */
2422
2423int
2424main ()
2425{
2426int i=0; i++;
2427  ;
2428  return 0;
2429}
2430_ACEOF
2431rm -f conftest.$ac_objext conftest$ac_exeext
2432if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2433  (eval $ac_link) 2>conftest.er1
2434  ac_status=$?
2435  grep -v '^ *+' conftest.er1 >conftest.err
2436  rm -f conftest.er1
2437  cat conftest.err >&5
2438  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439  (exit $ac_status); } &&
2440         { ac_try='test -z "$ac_c_werror_flag"
2441                         || test ! -s conftest.err'
2442  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2443  (eval $ac_try) 2>&5
2444  ac_status=$?
2445  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446  (exit $ac_status); }; } &&
2447         { ac_try='test -s conftest$ac_exeext'
2448  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2449  (eval $ac_try) 2>&5
2450  ac_status=$?
2451  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452  (exit $ac_status); }; }; then
2453  coin_add_cflags="-mno-cygwin $coin_add_cflags"
2454else
2455  echo "$as_me: failed program was:" >&5
2456sed 's/^/| /' conftest.$ac_ext >&5
2457
2458fi
2459rm -f conftest.err conftest.$ac_objext \
2460      conftest$ac_exeext conftest.$ac_ext
2461            CFLAGS=
2462          ;;
2463        esac
2464    esac
2465  fi
2466  if test -z "$coin_opt_cflags"; then
2467    case $build in
2468      *-cygwin* | *-mingw*)
2469        case "$CC" in
2470          cl* | */cl* | CL* | */CL*)
2471            coin_opt_cflags='-MT -O2'
2472            coin_add_cflags='-nologo -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
2473            coin_dbg_cflags='-MTd'
2474            ;;
2475        esac
2476        ;;
2477      *-linux-*)
2478        case "$CC" in
2479          icc* | */icc*)
2480            coin_opt_cflags="-O3 -ip"
2481            coin_add_cflags=""
2482            coin_dbg_cflags="-g"
2483            # Check if -i_dynamic is necessary (for new glibc library)
2484            CFLAGS=
2485            cat >conftest.$ac_ext <<_ACEOF
2486/* confdefs.h.  */
2487_ACEOF
2488cat confdefs.h >>conftest.$ac_ext
2489cat >>conftest.$ac_ext <<_ACEOF
2490/* end confdefs.h.  */
2491
2492int
2493main ()
2494{
2495int i=0; i++;
2496  ;
2497  return 0;
2498}
2499_ACEOF
2500rm -f conftest.$ac_objext conftest$ac_exeext
2501if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2502  (eval $ac_link) 2>conftest.er1
2503  ac_status=$?
2504  grep -v '^ *+' conftest.er1 >conftest.err
2505  rm -f conftest.er1
2506  cat conftest.err >&5
2507  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508  (exit $ac_status); } &&
2509         { ac_try='test -z "$ac_c_werror_flag"
2510                         || test ! -s conftest.err'
2511  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2512  (eval $ac_try) 2>&5
2513  ac_status=$?
2514  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515  (exit $ac_status); }; } &&
2516         { ac_try='test -s conftest$ac_exeext'
2517  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2518  (eval $ac_try) 2>&5
2519  ac_status=$?
2520  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521  (exit $ac_status); }; }; then
2522  :
2523else
2524  echo "$as_me: failed program was:" >&5
2525sed 's/^/| /' conftest.$ac_ext >&5
2526
2527coin_add_cflags="-i_dynamic $coin_add_cflags"
2528fi
2529rm -f conftest.err conftest.$ac_objext \
2530      conftest$ac_exeext conftest.$ac_ext
2531            ;;
2532          pgcc* | */pgcc*)
2533            coin_opt_cflags="-fast"
2534            coin_add_cflags="-Kieee -pc 64"
2535            coin_dbg_cflags="-g"
2536            ;;
2537        esac
2538        ;;
2539      *-ibm-*)
2540        case "$CC" in
2541          xlc* | */xlc* | mpxlc* | */mpxlc*)
2542            coin_opt_cflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1"
2543            coin_add_cflags="-bmaxdata:0x80000000"
2544            coin_dbg_cflags="-g"
2545          ;;
2546        esac
2547        ;;
2548      *-hp-*)
2549        coin_opt_cflags="-O"
2550        coin_add_cflags="-Ae"
2551        coin_dbg_cflags="-g"
2552        ;;
2553      *-sun-*)
2554        coin_opt_cflags="-xO4"
2555        coin_dbg_cflags="-g"
2556        ;;
2557      *-sgi-*)
2558        coin_opt_cflags="-O -OPT:Olimit=0"
2559        coin_dbg_cflags="-g"
2560        ;;
2561    esac
2562  fi
2563
2564  if test "$ac_cv_prog_cc_g" = yes && test -z "$coin_dbg_cflags" ; then
2565    coin_dbg_cflags="-g"
2566  fi
2567
2568  if test -z "$coin_opt_cflags"; then
2569    # Try if -O option works if nothing else is set
2570    CFLAGS="-O"
2571    cat >conftest.$ac_ext <<_ACEOF
2572/* confdefs.h.  */
2573_ACEOF
2574cat confdefs.h >>conftest.$ac_ext
2575cat >>conftest.$ac_ext <<_ACEOF
2576/* end confdefs.h.  */
2577
2578int
2579main ()
2580{
2581int i=0; i++;
2582  ;
2583  return 0;
2584}
2585_ACEOF
2586rm -f conftest.$ac_objext conftest$ac_exeext
2587if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2588  (eval $ac_link) 2>conftest.er1
2589  ac_status=$?
2590  grep -v '^ *+' conftest.er1 >conftest.err
2591  rm -f conftest.er1
2592  cat conftest.err >&5
2593  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594  (exit $ac_status); } &&
2595         { ac_try='test -z "$ac_c_werror_flag"
2596                         || test ! -s conftest.err'
2597  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598  (eval $ac_try) 2>&5
2599  ac_status=$?
2600  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601  (exit $ac_status); }; } &&
2602         { ac_try='test -s conftest$ac_exeext'
2603  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604  (eval $ac_try) 2>&5
2605  ac_status=$?
2606  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607  (exit $ac_status); }; }; then
2608  coin_opt_cflags="-O"
2609else
2610  echo "$as_me: failed program was:" >&5
2611sed 's/^/| /' conftest.$ac_ext >&5
2612
2613fi
2614rm -f conftest.err conftest.$ac_objext \
2615      conftest$ac_exeext conftest.$ac_ext
2616  fi
2617
2618  # if PM doesn't want the warning messages, take them out
2619  if test x"$coin_skip_warn_cflags" = xyes; then
2620    coin_warn_cflags=
2621  fi
2622
2623  if test x${DBG_CFLAGS+set} != xset; then
2624    DBG_CFLAGS="$coin_dbg_cflags $coin_add_cflags $coin_warn_cflags"
2625  fi
2626  if test x${OPT_CFLAGS+set} != xset; then
2627    OPT_CFLAGS="$coin_opt_cflags $coin_add_cflags -DNDEBUG $coin_warn_cflags"
2628  fi
2629
2630  DBG_CFLAGS="$DBG_CFLAGS $ADD_CFLAGS $CDEFS"
2631  OPT_CFLAGS="$OPT_CFLAGS $ADD_CFLAGS $CDEFS"
2632
2633  if test "$coin_debug_compile" = "true"; then
2634    CFLAGS="$DBG_CFLAGS"
2635  else
2636    CFLAGS="$OPT_CFLAGS"
2637  fi
2638else
2639  CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS"
2640  if test x${DBG_CFLAGS+set} != xset; then
2641    DBG_CFLAGS="$CFLAGS"
2642  fi
2643  if test x${OPT_CFLAGS+set} != xset; then
2644    OPT_CFLAGS="$CFLAGS"
2645  fi
2646fi
2647
2648# If CFLAGS contains -mno-cygwin, CPPFLAGS must also have it.
2649
2650case "$CFLAGS" in
2651  *-mno-cygwin*)
2652    if test x${CPPFLAGS+set} != xset ; then
2653      CPPFLAGS="-mno-cygwin"
2654    else
2655      case "$CPPFLAGS" in
2656        *-mno-cygwin*)
2657          ;;
2658        *)
2659          CPPFLAGS="$CPPFLAGS -mno-cygwin"
2660          ;;
2661      esac
2662    fi ;;
2663esac
2664
2665# Try if CFLAGS works
2666save_CFLAGS="$CFLAGS"
2667cat >conftest.$ac_ext <<_ACEOF
2668/* confdefs.h.  */
2669_ACEOF
2670cat confdefs.h >>conftest.$ac_ext
2671cat >>conftest.$ac_ext <<_ACEOF
2672/* end confdefs.h.  */
2673
2674int
2675main ()
2676{
2677int i=0; i++;
2678  ;
2679  return 0;
2680}
2681_ACEOF
2682rm -f conftest.$ac_objext conftest$ac_exeext
2683if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2684  (eval $ac_link) 2>conftest.er1
2685  ac_status=$?
2686  grep -v '^ *+' conftest.er1 >conftest.err
2687  rm -f conftest.er1
2688  cat conftest.err >&5
2689  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690  (exit $ac_status); } &&
2691         { ac_try='test -z "$ac_c_werror_flag"
2692                         || test ! -s conftest.err'
2693  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2694  (eval $ac_try) 2>&5
2695  ac_status=$?
2696  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697  (exit $ac_status); }; } &&
2698         { ac_try='test -s conftest$ac_exeext'
2699  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700  (eval $ac_try) 2>&5
2701  ac_status=$?
2702  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703  (exit $ac_status); }; }; then
2704  :
2705else
2706  echo "$as_me: failed program was:" >&5
2707sed 's/^/| /' conftest.$ac_ext >&5
2708
2709CFLAGS=
2710fi
2711rm -f conftest.err conftest.$ac_objext \
2712      conftest$ac_exeext conftest.$ac_ext
2713if test -z "$CFLAGS"; then
2714  { 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
2715echo "$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;}
2716  CFLAGS='-O'
2717  cat >conftest.$ac_ext <<_ACEOF
2718/* confdefs.h.  */
2719_ACEOF
2720cat confdefs.h >>conftest.$ac_ext
2721cat >>conftest.$ac_ext <<_ACEOF
2722/* end confdefs.h.  */
2723
2724int
2725main ()
2726{
2727int i=0; i++;
2728  ;
2729  return 0;
2730}
2731_ACEOF
2732rm -f conftest.$ac_objext conftest$ac_exeext
2733if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2734  (eval $ac_link) 2>conftest.er1
2735  ac_status=$?
2736  grep -v '^ *+' conftest.er1 >conftest.err
2737  rm -f conftest.er1
2738  cat conftest.err >&5
2739  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740  (exit $ac_status); } &&
2741         { ac_try='test -z "$ac_c_werror_flag"
2742                         || test ! -s conftest.err'
2743  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2744  (eval $ac_try) 2>&5
2745  ac_status=$?
2746  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747  (exit $ac_status); }; } &&
2748         { ac_try='test -s conftest$ac_exeext'
2749  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2750  (eval $ac_try) 2>&5
2751  ac_status=$?
2752  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753  (exit $ac_status); }; }; then
2754  :
2755else
2756  echo "$as_me: failed program was:" >&5
2757sed 's/^/| /' conftest.$ac_ext >&5
2758
2759CFLAGS=
2760fi
2761rm -f conftest.err conftest.$ac_objext \
2762      conftest$ac_exeext conftest.$ac_ext
2763  if test -z "$CFLAGS"; then
2764    { 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
2765echo "$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;}
2766  fi
2767fi
2768
2769{ echo "$as_me:$LINENO: C compiler options are: $CFLAGS" >&5
2770echo "$as_me: C compiler options are: $CFLAGS" >&6;}
2771
2772
2773if test x"$MPICC" = x; then :; else
2774  { echo "$as_me:$LINENO: Will use MPI C compiler $MPICC" >&5
2775echo "$as_me: Will use MPI C compiler $MPICC" >&6;}
2776  CC="$MPICC"
2777fi
2778
2779# Correct ADDLIBS initialization if we are using the MS compiler
2780case "$CC" in
2781  cl* | */cl* | CL* | */CL*)
2782    ADDLIBS=
2783    case $build in
2784  *-mingw*)
2785    if test "${LD+set}" = set; then :; else
2786      LD=link
2787    fi
2788    ;;
2789 esac
2790 case $enable_doscompile in
2791   msvc)
2792     if test "x${LD+set}" = xset; then :; else
2793       LD=link
2794     fi
2795     ;;
2796 esac
2797
2798    ;;
2799esac
2800
2801ac_ext=c
2802ac_cpp='$CPP $CPPFLAGS'
2803ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2804ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2805ac_compiler_gnu=$ac_cv_c_compiler_gnu
2806
2807
2808
2809# Initialize automake
2810am__api_version="1.9"
2811# Find a good install program.  We prefer a C program (faster),
2812# so one script is as good as another.  But avoid the broken or
2813# incompatible versions:
2814# SysV /etc/install, /usr/sbin/install
2815# SunOS /usr/etc/install
2816# IRIX /sbin/install
2817# AIX /bin/install
2818# AmigaOS /C/install, which installs bootblocks on floppy discs
2819# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2820# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2821# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2822# OS/2's system install, which has a completely different semantic
2823# ./install, which can be erroneously created by make from ./install.sh.
2824echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2825echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2826if test -z "$INSTALL"; then
2827if test "${ac_cv_path_install+set}" = set; then
2828  echo $ECHO_N "(cached) $ECHO_C" >&6
2829else
2830  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2831for as_dir in $PATH
2832do
2833  IFS=$as_save_IFS
2834  test -z "$as_dir" && as_dir=.
2835  # Account for people who put trailing slashes in PATH elements.
2836case $as_dir/ in
2837  ./ | .// | /cC/* | \
2838  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2839  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2840  /usr/ucb/* ) ;;
2841  *)
2842    # OSF1 and SCO ODT 3.0 have their own names for install.
2843    # Don't use installbsd from OSF since it installs stuff as root
2844    # by default.
2845    for ac_prog in ginstall scoinst install; do
2846      for ac_exec_ext in '' $ac_executable_extensions; do
2847        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2848          if test $ac_prog = install &&
2849            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2850            # AIX install.  It has an incompatible calling convention.
2851            :
2852          elif test $ac_prog = install &&
2853            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2854            # program-specific install script used by HP pwplus--don't use.
2855            :
2856          else
2857            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2858            break 3
2859          fi
2860        fi
2861      done
2862    done
2863    ;;
2864esac
2865done
2866
2867
2868fi
2869  if test "${ac_cv_path_install+set}" = set; then
2870    INSTALL=$ac_cv_path_install
2871  else
2872    # As a last resort, use the slow shell script.  We don't cache a
2873    # path for INSTALL within a source directory, because that will
2874    # break other packages using the cache if that directory is
2875    # removed, or if the path is relative.
2876    INSTALL=$ac_install_sh
2877  fi
2878fi
2879echo "$as_me:$LINENO: result: $INSTALL" >&5
2880echo "${ECHO_T}$INSTALL" >&6
2881
2882# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2883# It thinks the first close brace ends the variable substitution.
2884test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2885
2886test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2887
2888test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2889
2890echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2891echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2892# Just in case
2893sleep 1
2894echo timestamp > conftest.file
2895# Do `set' in a subshell so we don't clobber the current shell's
2896# arguments.  Must try -L first in case configure is actually a
2897# symlink; some systems play weird games with the mod time of symlinks
2898# (eg FreeBSD returns the mod time of the symlink's containing
2899# directory).
2900if (
2901   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2902   if test "$*" = "X"; then
2903      # -L didn't work.
2904      set X `ls -t $srcdir/configure conftest.file`
2905   fi
2906   rm -f conftest.file
2907   if test "$*" != "X $srcdir/configure conftest.file" \
2908      && test "$*" != "X conftest.file $srcdir/configure"; then
2909
2910      # If neither matched, then we have a broken ls.  This can happen
2911      # if, for instance, CONFIG_SHELL is bash and it inherits a
2912      # broken ls alias from the environment.  This has actually
2913      # happened.  Such a system could not be considered "sane".
2914      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2915alias in your environment" >&5
2916echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2917alias in your environment" >&2;}
2918   { (exit 1); exit 1; }; }
2919   fi
2920
2921   test "$2" = conftest.file
2922   )
2923then
2924   # Ok.
2925   :
2926else
2927   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2928Check your system clock" >&5
2929echo "$as_me: error: newly created file is older than distributed files!
2930Check your system clock" >&2;}
2931   { (exit 1); exit 1; }; }
2932fi
2933echo "$as_me:$LINENO: result: yes" >&5
2934echo "${ECHO_T}yes" >&6
2935test "$program_prefix" != NONE &&
2936  program_transform_name="s,^,$program_prefix,;$program_transform_name"
2937# Use a double $ so make ignores it.
2938test "$program_suffix" != NONE &&
2939  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2940# Double any \ or $.  echo might interpret backslashes.
2941# By default was `s,x,x', remove it if useless.
2942cat <<\_ACEOF >conftest.sed
2943s/[\\$]/&&/g;s/;s,x,x,$//
2944_ACEOF
2945program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2946rm conftest.sed
2947
2948# expand $ac_aux_dir to an absolute path
2949am_aux_dir=`cd $ac_aux_dir && pwd`
2950
2951test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2952# Use eval to expand $SHELL
2953if eval "$MISSING --run true"; then
2954  am_missing_run="$MISSING --run "
2955else
2956  am_missing_run=
2957  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2958echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2959fi
2960
2961if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2962  # We used to keeping the `.' as first argument, in order to
2963  # allow $(mkdir_p) to be used without argument.  As in
2964  #   $(mkdir_p) $(somedir)
2965  # where $(somedir) is conditionally defined.  However this is wrong
2966  # for two reasons:
2967  #  1. if the package is installed by a user who cannot write `.'
2968  #     make install will fail,
2969  #  2. the above comment should most certainly read
2970  #     $(mkdir_p) $(DESTDIR)$(somedir)
2971  #     so it does not work when $(somedir) is undefined and
2972  #     $(DESTDIR) is not.
2973  #  To support the latter case, we have to write
2974  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2975  #  so the `.' trick is pointless.
2976  mkdir_p='mkdir -p --'
2977else
2978  # On NextStep and OpenStep, the `mkdir' command does not
2979  # recognize any option.  It will interpret all options as
2980  # directories to create, and then abort because `.' already
2981  # exists.
2982  for d in ./-p ./--version;
2983  do
2984    test -d $d && rmdir $d
2985  done
2986  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2987  if test -f "$ac_aux_dir/mkinstalldirs"; then
2988    mkdir_p='$(mkinstalldirs)'
2989  else
2990    mkdir_p='$(install_sh) -d'
2991  fi
2992fi
2993
2994for ac_prog in gawk mawk nawk awk
2995do
2996  # Extract the first word of "$ac_prog", so it can be a program name with args.
2997set dummy $ac_prog; ac_word=$2
2998echo "$as_me:$LINENO: checking for $ac_word" >&5
2999echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3000if test "${ac_cv_prog_AWK+set}" = set; then
3001  echo $ECHO_N "(cached) $ECHO_C" >&6
3002else
3003  if test -n "$AWK"; then
3004  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3005else
3006as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3007for as_dir in $PATH
3008do
3009  IFS=$as_save_IFS
3010  test -z "$as_dir" && as_dir=.
3011  for ac_exec_ext in '' $ac_executable_extensions; do
3012  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3013    ac_cv_prog_AWK="$ac_prog"
3014    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3015    break 2
3016  fi
3017done
3018done
3019
3020fi
3021fi
3022AWK=$ac_cv_prog_AWK
3023if test -n "$AWK"; then
3024  echo "$as_me:$LINENO: result: $AWK" >&5
3025echo "${ECHO_T}$AWK" >&6
3026else
3027  echo "$as_me:$LINENO: result: no" >&5
3028echo "${ECHO_T}no" >&6
3029fi
3030
3031  test -n "$AWK" && break
3032done
3033
3034echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3035echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3036set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3037if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3038  echo $ECHO_N "(cached) $ECHO_C" >&6
3039else
3040  cat >conftest.make <<\_ACEOF
3041all:
3042        @echo 'ac_maketemp="$(MAKE)"'
3043_ACEOF
3044# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3045eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3046if test -n "$ac_maketemp"; then
3047  eval ac_cv_prog_make_${ac_make}_set=yes
3048else
3049  eval ac_cv_prog_make_${ac_make}_set=no
3050fi
3051rm -f conftest.make
3052fi
3053if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3054  echo "$as_me:$LINENO: result: yes" >&5
3055echo "${ECHO_T}yes" >&6
3056  SET_MAKE=
3057else
3058  echo "$as_me:$LINENO: result: no" >&5
3059echo "${ECHO_T}no" >&6
3060  SET_MAKE="MAKE=${MAKE-make}"
3061fi
3062
3063rm -rf .tst 2>/dev/null
3064mkdir .tst 2>/dev/null
3065if test -d .tst; then
3066  am__leading_dot=.
3067else
3068  am__leading_dot=_
3069fi
3070rmdir .tst 2>/dev/null
3071
3072DEPDIR="${am__leading_dot}deps"
3073
3074          ac_config_commands="$ac_config_commands depfiles"
3075
3076
3077am_make=${MAKE-make}
3078cat > confinc << 'END'
3079am__doit:
3080        @echo done
3081.PHONY: am__doit
3082END
3083# If we don't find an include directive, just comment out the code.
3084echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3085echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3086am__include="#"
3087am__quote=
3088_am_result=none
3089# First try GNU make style include.
3090echo "include confinc" > confmf
3091# We grep out `Entering directory' and `Leaving directory'
3092# messages which can occur if `w' ends up in MAKEFLAGS.
3093# In particular we don't look at `^make:' because GNU make might
3094# be invoked under some other name (usually "gmake"), in which
3095# case it prints its new name instead of `make'.
3096if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3097   am__include=include
3098   am__quote=
3099   _am_result=GNU
3100fi
3101# Now try BSD make style include.
3102if test "$am__include" = "#"; then
3103   echo '.include "confinc"' > confmf
3104   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3105      am__include=.include
3106      am__quote="\""
3107      _am_result=BSD
3108   fi
3109fi
3110
3111
3112echo "$as_me:$LINENO: result: $_am_result" >&5
3113echo "${ECHO_T}$_am_result" >&6
3114rm -f confinc confmf
3115
3116# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3117if test "${enable_dependency_tracking+set}" = set; then
3118  enableval="$enable_dependency_tracking"
3119
3120fi;
3121if test "x$enable_dependency_tracking" != xno; then
3122  am_depcomp="$ac_aux_dir/depcomp"
3123  AMDEPBACKSLASH='\'
3124fi
3125
3126
3127if test "x$enable_dependency_tracking" != xno; then
3128  AMDEP_TRUE=
3129  AMDEP_FALSE='#'
3130else
3131  AMDEP_TRUE='#'
3132  AMDEP_FALSE=
3133fi
3134
3135
3136
3137
3138
3139# AC_MSG_NOTICE([Beginning automake initialisation.])
3140# Stuff for automake
3141# test to see if srcdir already configured
3142if test "`cd $srcdir && pwd`" != "`pwd`" &&
3143   test -f $srcdir/config.status; then
3144  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3145echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3146   { (exit 1); exit 1; }; }
3147fi
3148
3149# test whether we have cygpath
3150if test -z "$CYGPATH_W"; then
3151  if (cygpath --version) >/dev/null 2>/dev/null; then
3152    CYGPATH_W='cygpath -w'
3153  else
3154    CYGPATH_W=echo
3155  fi
3156fi
3157
3158
3159# Define the identity of the package.
3160 PACKAGE='thirdpartyasl'
3161 VERSION='1.0trunk'
3162
3163
3164cat >>confdefs.h <<_ACEOF
3165#define PACKAGE "$PACKAGE"
3166_ACEOF
3167
3168
3169cat >>confdefs.h <<_ACEOF
3170#define VERSION "$VERSION"
3171_ACEOF
3172
3173# Some tools Automake needs.
3174
3175ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3176
3177
3178AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3179
3180
3181AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3182
3183
3184AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3185
3186
3187MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3188
3189install_sh=${install_sh-"$am_aux_dir/install-sh"}
3190
3191# Installed binaries are usually stripped using `strip' when the user
3192# run `make install-strip'.  However `strip' might not be the right
3193# tool to use in cross-compilation environments, therefore Automake
3194# will honor the `STRIP' environment variable to overrule this program.
3195if test "$cross_compiling" != no; then
3196  if test -n "$ac_tool_prefix"; then
3197  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3198set dummy ${ac_tool_prefix}strip; ac_word=$2
3199echo "$as_me:$LINENO: checking for $ac_word" >&5
3200echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3201if test "${ac_cv_prog_STRIP+set}" = set; then
3202  echo $ECHO_N "(cached) $ECHO_C" >&6
3203else
3204  if test -n "$STRIP"; then
3205  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3206else
3207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208for as_dir in $PATH
3209do
3210  IFS=$as_save_IFS
3211  test -z "$as_dir" && as_dir=.
3212  for ac_exec_ext in '' $ac_executable_extensions; do
3213  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3215    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3216    break 2
3217  fi
3218done
3219done
3220
3221fi
3222fi
3223STRIP=$ac_cv_prog_STRIP
3224if test -n "$STRIP"; then
3225  echo "$as_me:$LINENO: result: $STRIP" >&5
3226echo "${ECHO_T}$STRIP" >&6
3227else
3228  echo "$as_me:$LINENO: result: no" >&5
3229echo "${ECHO_T}no" >&6
3230fi
3231
3232fi
3233if test -z "$ac_cv_prog_STRIP"; then
3234  ac_ct_STRIP=$STRIP
3235  # Extract the first word of "strip", so it can be a program name with args.
3236set dummy strip; ac_word=$2
3237echo "$as_me:$LINENO: checking for $ac_word" >&5
3238echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3239if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3240  echo $ECHO_N "(cached) $ECHO_C" >&6
3241else
3242  if test -n "$ac_ct_STRIP"; then
3243  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3244else
3245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246for as_dir in $PATH
3247do
3248  IFS=$as_save_IFS
3249  test -z "$as_dir" && as_dir=.
3250  for ac_exec_ext in '' $ac_executable_extensions; do
3251  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3252    ac_cv_prog_ac_ct_STRIP="strip"
3253    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3254    break 2
3255  fi
3256done
3257done
3258
3259  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3260fi
3261fi
3262ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3263if test -n "$ac_ct_STRIP"; then
3264  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3265echo "${ECHO_T}$ac_ct_STRIP" >&6
3266else
3267  echo "$as_me:$LINENO: result: no" >&5
3268echo "${ECHO_T}no" >&6
3269fi
3270
3271  STRIP=$ac_ct_STRIP
3272else
3273  STRIP="$ac_cv_prog_STRIP"
3274fi
3275
3276fi
3277INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3278
3279# We need awk for the "check" target.  The system "awk" is bad on
3280# some platforms.
3281# Always define AMTAR for backward compatibility.
3282
3283AMTAR=${AMTAR-"${am_missing_run}tar"}
3284
3285am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3286
3287
3288
3289
3290depcc="$CC"   am_compiler_list=
3291
3292echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3293echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3294if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3295  echo $ECHO_N "(cached) $ECHO_C" >&6
3296else
3297  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3298  # We make a subdir and do the tests there.  Otherwise we can end up
3299  # making bogus files that we don't know about and never remove.  For
3300  # instance it was reported that on HP-UX the gcc test will end up
3301  # making a dummy file named `D' -- because `-MD' means `put the output
3302  # in D'.
3303  mkdir conftest.dir
3304  # Copy depcomp to subdir because otherwise we won't find it if we're
3305  # using a relative directory.
3306  cp "$am_depcomp" conftest.dir
3307  cd conftest.dir
3308  # We will build objects and dependencies in a subdirectory because
3309  # it helps to detect inapplicable dependency modes.  For instance
3310  # both Tru64's cc and ICC support -MD to output dependencies as a
3311  # side effect of compilation, but ICC will put the dependencies in
3312  # the current directory while Tru64 will put them in the object
3313  # directory.
3314  mkdir sub
3315
3316  am_cv_CC_dependencies_compiler_type=none
3317  if test "$am_compiler_list" = ""; then
3318     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3319  fi
3320  for depmode in $am_compiler_list; do
3321    # Setup a source with many dependencies, because some compilers
3322    # like to wrap large dependency lists on column 80 (with \), and
3323    # we should not choose a depcomp mode which is confused by this.
3324    #
3325    # We need to recreate these files for each test, as the compiler may
3326    # overwrite some of them when testing with obscure command lines.
3327    # This happens at least with the AIX C compiler.
3328    : > sub/conftest.c
3329    for i in 1 2 3 4 5 6; do
3330      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3331      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3332      # Solaris 8's {/usr,}/bin/sh.
3333      touch sub/conftst$i.h
3334    done
3335    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3336
3337    case $depmode in
3338    nosideeffect)
3339      # after this tag, mechanisms are not by side-effect, so they'll
3340      # only be used when explicitly requested
3341      if test "x$enable_dependency_tracking" = xyes; then
3342        continue
3343      else
3344        break
3345      fi
3346      ;;
3347    none) break ;;
3348    esac
3349    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3350    # mode.  It turns out that the SunPro C++ compiler does not properly
3351    # handle `-M -o', and we need to detect this.
3352    if depmode=$depmode \
3353       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3354       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3355       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3356         >/dev/null 2>conftest.err &&
3357       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3358       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3359       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3360      # icc doesn't choke on unknown options, it will just issue warnings
3361      # or remarks (even with -Werror).  So we grep stderr for any message
3362      # that says an option was ignored or not supported.
3363      # When given -MP, icc 7.0 and 7.1 complain thusly:
3364      #   icc: Command line warning: ignoring option '-M'; no argument required
3365      # The diagnosis changed in icc 8.0:
3366      #   icc: Command line remark: option '-MP' not supported
3367      if (grep 'ignoring option' conftest.err ||
3368          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3369        am_cv_CC_dependencies_compiler_type=$depmode
3370        break
3371      fi
3372    fi
3373  done
3374
3375  cd ..
3376  rm -rf conftest.dir
3377else
3378  am_cv_CC_dependencies_compiler_type=none
3379fi
3380
3381fi
3382echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3383echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3384CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3385
3386
3387
3388if
3389  test "x$enable_dependency_tracking" != xno \
3390  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3391  am__fastdepCC_TRUE=
3392  am__fastdepCC_FALSE='#'
3393else
3394  am__fastdepCC_TRUE='#'
3395  am__fastdepCC_FALSE=
3396fi
3397
3398
3399
3400echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3401echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3402    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3403if test "${enable_maintainer_mode+set}" = set; then
3404  enableval="$enable_maintainer_mode"
3405  USE_MAINTAINER_MODE=$enableval
3406else
3407  USE_MAINTAINER_MODE=no
3408fi;
3409  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3410echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3411
3412
3413if test $USE_MAINTAINER_MODE = yes; then
3414  MAINTAINER_MODE_TRUE=
3415  MAINTAINER_MODE_FALSE='#'
3416else
3417  MAINTAINER_MODE_TRUE='#'
3418  MAINTAINER_MODE_FALSE=
3419fi
3420
3421  MAINT=$MAINTAINER_MODE_TRUE
3422
3423
3424
3425coin_have_externals=no
3426if test "$enable_maintainer_mode" = yes; then
3427
3428  # If maintainer mode is chosen, we make sure that the correct versions
3429  # of the tools are used, and that we know where libtool.m4 is (to
3430  # recreate acinclude.m4)
3431
3432
3433  LIBTOOLM4=
3434  # Normally, $HOME
3435  AUTOTOOLS_DFLT=$HOME
3436
3437  echo "$as_me:$LINENO: checking whether we are using the correct autotools" >&5
3438echo $ECHO_N "checking whether we are using the correct autotools... $ECHO_C" >&6
3439if test "${ac_cv_use_correct_autotools+set}" = set; then
3440  echo $ECHO_N "(cached) $ECHO_C" >&6
3441else
3442  ac_cv_use_correct_autotools=check
3443fi
3444echo "$as_me:$LINENO: result: $ac_cv_use_correct_autotools" >&5
3445echo "${ECHO_T}$ac_cv_use_correct_autotools" >&6
3446
3447  if test $ac_cv_use_correct_autotools = check; then
3448    ac_cv_use_correct_autotools=yes
3449    # Check if we have autoconf
3450    # Extract the first word of "autoconf", so it can be a program name with args.
3451set dummy autoconf; ac_word=$2
3452echo "$as_me:$LINENO: checking for $ac_word" >&5
3453echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3454if test "${ac_cv_prog_have_autoconf+set}" = set; then
3455  echo $ECHO_N "(cached) $ECHO_C" >&6
3456else
3457  if test -n "$have_autoconf"; then
3458  ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test.
3459else
3460as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3461for as_dir in $PATH
3462do
3463  IFS=$as_save_IFS
3464  test -z "$as_dir" && as_dir=.
3465  for ac_exec_ext in '' $ac_executable_extensions; do
3466  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3467    ac_cv_prog_have_autoconf="yes"
3468    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3469    break 2
3470  fi
3471done
3472done
3473
3474  test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no"
3475fi
3476fi
3477have_autoconf=$ac_cv_prog_have_autoconf
3478if test -n "$have_autoconf"; then
3479  echo "$as_me:$LINENO: result: $have_autoconf" >&5
3480echo "${ECHO_T}$have_autoconf" >&6
3481else
3482  echo "$as_me:$LINENO: result: no" >&5
3483echo "${ECHO_T}no" >&6
3484fi
3485
3486    if test $have_autoconf = no; then
3487      { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&5
3488echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&2;}
3489   { (exit 1); exit 1; }; }
3490    fi
3491
3492    # Check whether autoconf is the correct version
3493    correct_version='2.59'
3494    grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
3495    echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of autoconf" >&5
3496echo $ECHO_N "checking whether we are using the correct version ($correct_version) of autoconf... $ECHO_C" >&6
3497    autoconf --version > confauto.out 2>&1
3498    if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
3499      echo "$as_me:$LINENO: result: yes" >&5
3500echo "${ECHO_T}yes" >&6
3501    else
3502      rm -f confauto.out
3503      echo "$as_me:$LINENO: result: no" >&5
3504echo "${ECHO_T}no" >&6
3505      { { echo "$as_me:$LINENO: error: You don't have the correct version of autoconf as the first one in your path." >&5
3506echo "$as_me: error: You don't have the correct version of autoconf as the first one in your path." >&2;}
3507   { (exit 1); exit 1; }; }
3508    fi
3509    rm -f confauto.out
3510
3511    # Check if the executable autoconf is picked up from the correct location
3512    echo "$as_me:$LINENO: checking whether autoconf is coming from the correct location" >&5
3513echo $ECHO_N "checking whether autoconf is coming from the correct location... $ECHO_C" >&6
3514    autoconf_dir=`which autoconf | sed -e 's=/autoconf=='`
3515    autoconf_dir=`cd $autoconf_dir; pwd`
3516    if test x$AUTOTOOLS_DIR = x; then
3517      want_dir=$AUTOTOOLS_DFLT/bin
3518    else
3519      want_dir=$AUTOTOOLS_DIR/bin
3520    fi
3521    if test $autoconf_dir = `cd $want_dir; pwd`; then
3522      echo "$as_me:$LINENO: result: yes" >&5
3523echo "${ECHO_T}yes" >&6
3524    else
3525      rm -f confauto.out
3526      echo "$as_me:$LINENO: result: no" >&5
3527echo "${ECHO_T}no" >&6
3528      { { echo "$as_me:$LINENO: error: The autoconf executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&5
3529echo "$as_me: error: The autoconf executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&2;}
3530   { (exit 1); exit 1; }; }
3531    fi
3532
3533    # Check if we have automake
3534    # Extract the first word of "automake", so it can be a program name with args.
3535set dummy automake; ac_word=$2
3536echo "$as_me:$LINENO: checking for $ac_word" >&5
3537echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3538if test "${ac_cv_prog_have_automake+set}" = set; then
3539  echo $ECHO_N "(cached) $ECHO_C" >&6
3540else
3541  if test -n "$have_automake"; then
3542  ac_cv_prog_have_automake="$have_automake" # Let the user override the test.
3543else
3544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545for as_dir in $PATH
3546do
3547  IFS=$as_save_IFS
3548  test -z "$as_dir" && as_dir=.
3549  for ac_exec_ext in '' $ac_executable_extensions; do
3550  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3551    ac_cv_prog_have_automake="yes"
3552    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3553    break 2
3554  fi
3555done
3556done
3557
3558  test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no"
3559fi
3560fi
3561have_automake=$ac_cv_prog_have_automake
3562if test -n "$have_automake"; then
3563  echo "$as_me:$LINENO: result: $have_automake" >&5
3564echo "${ECHO_T}$have_automake" >&6
3565else
3566  echo "$as_me:$LINENO: result: no" >&5
3567echo "${ECHO_T}no" >&6
3568fi
3569
3570    if test $have_automake = no; then
3571      { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5
3572echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;}
3573   { (exit 1); exit 1; }; }
3574    fi
3575
3576    # Check whether automake is the correct version
3577    correct_version='1.9.6'
3578    grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
3579    echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5
3580echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6
3581    automake --version > confauto.out 2>&1
3582    if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
3583      echo "$as_me:$LINENO: result: yes" >&5
3584echo "${ECHO_T}yes" >&6
3585    else
3586      rm -f confauto.out
3587      echo "$as_me:$LINENO: result: no" >&5
3588echo "${ECHO_T}no" >&6
3589      { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5
3590echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;}
3591   { (exit 1); exit 1; }; }
3592    fi
3593    rm -f confauto.out
3594
3595    # Check if the executable automake is picked up from the correct location
3596    echo "$as_me:$LINENO: checking whether automake is coming from the correct location" >&5
3597echo $ECHO_N "checking whether automake is coming from the correct location... $ECHO_C" >&6
3598    automake_dir=`which automake | sed -e 's=/automake=='`
3599    automake_dir=`cd $automake_dir; pwd`
3600    if test x$AUTOTOOLS_DIR = x; then
3601      want_dir=$AUTOTOOLS_DFLT/bin
3602    else
3603      want_dir=$AUTOTOOLS_DIR/bin
3604    fi
3605    if test $automake_dir = `cd $want_dir; pwd`; then
3606      echo "$as_me:$LINENO: result: yes" >&5
3607echo "${ECHO_T}yes" >&6
3608    else
3609      rm -f confauto.out
3610      echo "$as_me:$LINENO: result: no" >&5
3611echo "${ECHO_T}no" >&6
3612      { { echo "$as_me:$LINENO: error: The automake executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&5
3613echo "$as_me: error: The automake executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&2;}
3614   { (exit 1); exit 1; }; }
3615    fi
3616
3617    # Check if this is the correct version of libtool (with escaped dots)
3618    if test x$AUTOTOOLS_DIR = x; then
3619      want_dir=$AUTOTOOLS_DFLT/share
3620    else
3621      want_dir=$AUTOTOOLS_DIR/share
3622    fi
3623    correct_version='1.5.22'
3624    grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
3625    as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh`
3626echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5
3627echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6
3628if eval "test \"\${$as_ac_File+set}\" = set"; then
3629  echo $ECHO_N "(cached) $ECHO_C" >&6
3630else
3631  test "$cross_compiling" = yes &&
3632  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3633echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3634   { (exit 1); exit 1; }; }
3635if test -r "$want_dir/libtool/ltmain.sh"; then
3636  eval "$as_ac_File=yes"
3637else
3638  eval "$as_ac_File=no"
3639fi
3640fi
3641echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
3642echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
3643if test `eval echo '${'$as_ac_File'}'` = yes; then
3644  have_ltmain=yes
3645else
3646  have_ltmain=no
3647fi
3648
3649    echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5
3650echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6
3651    if test $have_ltmain = yes; then
3652    if $EGREP $grep_version $want_dir/libtool/ltmain.sh >/dev/null 2>&1; then
3653        echo "$as_me:$LINENO: result: yes" >&5
3654echo "${ECHO_T}yes" >&6
3655      else
3656        echo "$as_me:$LINENO: result: no" >&5
3657echo "${ECHO_T}no" >&6
3658        { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5
3659echo "$as_me: error: You don't have the correct version of libtool." >&2;}
3660   { (exit 1); exit 1; }; }
3661      fi
3662    else
3663      echo "$as_me:$LINENO: result: no" >&5
3664echo "${ECHO_T}no" >&6
3665      { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5
3666echo "$as_me: error: I cannot find the ltmain.sh file." >&2;}
3667   { (exit 1); exit 1; }; }
3668    fi
3669  fi
3670
3671  # Check if we can find the libtool file
3672  if test x$AUTOTOOLS_DIR = x; then
3673    want_dir=$AUTOTOOLS_DFLT/share
3674  else
3675    want_dir=$AUTOTOOLS_DIR/share
3676  fi
3677  as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh`
3678echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5
3679echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6
3680if eval "test \"\${$as_ac_File+set}\" = set"; then
3681  echo $ECHO_N "(cached) $ECHO_C" >&6
3682else
3683  test "$cross_compiling" = yes &&
3684  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3685echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3686   { (exit 1); exit 1; }; }
3687if test -r "$want_dir/aclocal/libtool.m4"; then
3688  eval "$as_ac_File=yes"
3689else
3690  eval "$as_ac_File=no"
3691fi
3692fi
3693echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
3694echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
3695if test `eval echo '${'$as_ac_File'}'` = yes; then
3696  LIBTOOLM4="$want_dir/aclocal/libtool.m4"
3697else
3698  { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
3699echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
3700   { (exit 1); exit 1; }; }
3701fi
3702
3703
3704  # Check if we have an Externals file
3705  if test -r $srcdir/Externals; then
3706    coin_have_externals=yes
3707  fi
3708  # Check if subversion is installed and understands https
3709  # Extract the first word of "svn", so it can be a program name with args.
3710set dummy svn; ac_word=$2
3711echo "$as_me:$LINENO: checking for $ac_word" >&5
3712echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3713if test "${ac_cv_prog_have_svn+set}" = set; then
3714  echo $ECHO_N "(cached) $ECHO_C" >&6
3715else
3716  if test -n "$have_svn"; then
3717  ac_cv_prog_have_svn="$have_svn" # Let the user override the test.
3718else
3719as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720for as_dir in $PATH
3721do
3722  IFS=$as_save_IFS
3723  test -z "$as_dir" && as_dir=.
3724  for ac_exec_ext in '' $ac_executable_extensions; do
3725  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3726    ac_cv_prog_have_svn="yes"
3727    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3728    break 2
3729  fi
3730done
3731done
3732
3733  test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no"
3734fi
3735fi
3736have_svn=$ac_cv_prog_have_svn
3737if test -n "$have_svn"; then
3738  echo "$as_me:$LINENO: result: $have_svn" >&5
3739echo "${ECHO_T}$have_svn" >&6
3740else
3741  echo "$as_me:$LINENO: result: no" >&5
3742echo "${ECHO_T}no" >&6
3743fi
3744
3745  if test x$have_svn = xyes; then
3746    echo "$as_me:$LINENO: checking whether svn understands https" >&5
3747echo $ECHO_N "checking whether svn understands https... $ECHO_C" >&6
3748if test "${ac_cv_svn_understands_https+set}" = set; then
3749  echo $ECHO_N "(cached) $ECHO_C" >&6
3750else
3751  svn --version > confauto.out 2>&1
3752                    if $EGREP https confauto.out >/dev/null 2>&1; then
3753                      ac_cv_svn_understands_https=yes
3754                    else
3755                      ac_cv_svn_understands_https=no
3756                      have_svn=no
3757                      ac_cv_prog_have_svn=no
3758                    fi
3759                    rm -f confauto.out
3760fi
3761echo "$as_me:$LINENO: result: $ac_cv_svn_understands_https" >&5
3762echo "${ECHO_T}$ac_cv_svn_understands_https" >&6
3763  fi
3764
3765  # Find the location of the BuildTools directory
3766  BUILDTOOLSDIR=
3767  if test -r $srcdir/BuildTools/coin.m4; then
3768    BUILDTOOLSDIR=$srcdir/BuildTools
3769  else
3770    if test -r $srcdir/../BuildTools/coin.m4; then
3771      BUILDTOOLSDIR=$srcdir/../BuildTools
3772    else
3773      if test -r $srcdir/../../BuildTools/coin.m4; then
3774        BUILDTOOLSDIR=$srcdir/../../BuildTools
3775      else
3776        { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
3777echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
3778   { (exit 1); exit 1; }; }
3779      fi
3780    fi
3781  fi
3782
3783
3784  # The following variable is set to the name of the directory where
3785  # the autotool scripts are located
3786
3787  AUX_DIR=$ac_aux_dir
3788fi
3789
3790# helpful variable for the base directory of this package
3791abs_source_dir=`cd $srcdir; pwd`
3792
3793
3794# Stuff for example Makefiles
3795if test x$prefix = xNONE; then
3796  full_prefix=$ac_default_prefix
3797else
3798  full_prefix=$prefix
3799fi
3800full_prefix=`cd $full_prefix ; pwd`
3801
3802abs_lib_dir=$full_prefix/lib
3803
3804abs_include_dir=$full_prefix/include
3805
3806abs_bin_dir=$full_prefix/bin
3807
3808
3809
3810if test $coin_have_externals = yes && test x$have_svn = xyes; then
3811  HAVE_EXTERNALS_TRUE=
3812  HAVE_EXTERNALS_FALSE='#'
3813else
3814  HAVE_EXTERNALS_TRUE='#'
3815  HAVE_EXTERNALS_FALSE=
3816fi
3817
3818
3819# AC_MSG_NOTICE([End automake initialisation.])
3820
3821
3822
3823coin_aslobjdir=../ThirdParty/ASL
3824coin_aslsrcdir=$srcdir/$coin_aslobjdir
3825
3826# Determine the name of the ASL library
3827case "$CC" in
3828  cl* | */cl* | CL* | */CL*)
3829    ampllib=amplsolv.lib ;;
3830  *)
3831    ampllib=amplsolver.a ;;
3832esac
3833
3834
3835# Check whether --with-asldir or --without-asldir was given.
3836if test "${with_asldir+set}" = set; then
3837  withval="$with_asldir"
3838  use_asldir=$withval
3839else
3840  use_asldir=
3841fi;
3842
3843if test "$use_asldir" = BUILD; then
3844  if test "$PACKAGE_NAME" != ThirdPartyASL; then
3845    # If we are configuring ThirdParty/ASL, don't check
3846    if test -r $coin_aslobjdir/.MakeOk; then :; else
3847      { { echo "$as_me:$LINENO: error: option \"BUILD\" specified for asldir, but directory is not configure (sources missing?)" >&5
3848echo "$as_me: error: option \"BUILD\" specified for asldir, but directory is not configure (sources missing?)" >&2;}
3849   { (exit 1); exit 1; }; }
3850    fi
3851  fi
3852elif test -z "$use_asldir"; then
3853 # try to find sources - if not given don't compile
3854  if test "$PACKAGE_NAME" != ThirdPartyASL; then
3855    if test -r $coin_aslobjdir/.MakeOk; then
3856      use_asldir=BUILD
3857    else
3858      use_asldir=no
3859    fi
3860  else
3861    use_asldir=no
3862  fi
3863elif test "$use_asldir" != "no"; then
3864  as_ac_File=`echo "ac_cv_file_$use_asldir/$ampllib" | $as_tr_sh`
3865echo "$as_me:$LINENO: checking for $use_asldir/$ampllib" >&5
3866echo $ECHO_N "checking for $use_asldir/$ampllib... $ECHO_C" >&6
3867if eval "test \"\${$as_ac_File+set}\" = set"; then
3868  echo $ECHO_N "(cached) $ECHO_C" >&6
3869else
3870  test "$cross_compiling" = yes &&
3871  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3872echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3873   { (exit 1); exit 1; }; }
3874if test -r "$use_asldir/$ampllib"; then
3875  eval "$as_ac_File=yes"
3876else
3877  eval "$as_ac_File=no"
3878fi
3879fi
3880echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
3881echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
3882if test `eval echo '${'$as_ac_File'}'` = yes; then
3883  :
3884else
3885  { { echo "$as_me:$LINENO: error: ASL directory \"$use_asldir\" specified, but library missing" >&5
3886echo "$as_me: error: ASL directory \"$use_asldir\" specified, but library missing" >&2;}
3887   { (exit 1); exit 1; }; }
3888fi
3889
3890  as_ac_File=`echo "ac_cv_file_$use_asldir/asl.h" | $as_tr_sh`
3891echo "$as_me:$LINENO: checking for $use_asldir/asl.h" >&5
3892echo $ECHO_N "checking for $use_asldir/asl.h... $ECHO_C" >&6
3893if eval "test \"\${$as_ac_File+set}\" = set"; then
3894  echo $ECHO_N "(cached) $ECHO_C" >&6
3895else
3896  test "$cross_compiling" = yes &&
3897  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3898echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3899   { (exit 1); exit 1; }; }
3900if test -r "$use_asldir/asl.h"; then
3901  eval "$as_ac_File=yes"
3902else
3903  eval "$as_ac_File=no"
3904fi
3905fi
3906echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
3907echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
3908if test `eval echo '${'$as_ac_File'}'` = yes; then
3909  :
3910else
3911  { { echo "$as_me:$LINENO: error: ASL directory \"$use_asldir\" specified, but header files are missing" >&5
3912echo "$as_me: error: ASL directory \"$use_asldir\" specified, but header files are missing" >&2;}
3913   { (exit 1); exit 1; }; }
3914fi
3915
3916  use_asldir=`cd $use_asldir; pwd`
3917  case $build in
3918    *-cygwin*) use_asldir=`cygpath -w $use_asldir | sed -e sX\\\\\\\\X/Xg` ;;
3919  esac
3920fi
3921
3922# Variable containing ASL library (including full path)
3923
3924# Variable containing flags for including ASL header files
3925
3926
3927if test "$use_asldir" = BUILD; then
3928  coin_aslobjdir=`cd $coin_aslobjdir; pwd`
3929  ASLLIB=`$CYGPATH_W $coin_aslobjdir/$ampllib | sed -e sX\\\\\\\\X/Xg`
3930  coin_aslsrcdir=`cd $coin_aslsrcdir; pwd`
3931  ASL_CPPFLAGS="-I"`$CYGPATH_W $coin_aslobjdir | sed -e sX\\\\\\\\X/Xg`" -I"`$CYGPATH_W $coin_aslsrcdir/solvers | sed -e sX\\\\\\\\X/Xg`
3932elif test "$use_asldir" != no; then
3933  ASLLIB=`$CYGPATH_W $use_asldir/$ampllib | sed -e sX\\\\\\\\X/Xg`
3934  ASL_CPPFLAGS="-I"`$CYGPATH_W $use_asldir | sed -e sX\\\\\\\\X/Xg`
3935fi
3936
3937if test "$use_asldir" != no; then
3938  ac_ext=c
3939ac_cpp='$CPP $CPPFLAGS'
3940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942ac_compiler_gnu=$ac_cv_c_compiler_gnu
3943
3944  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
3945echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
3946if test "${ac_cv_lib_dl_dlopen+set}" = set; then
3947  echo $ECHO_N "(cached) $ECHO_C" >&6
3948else
3949  ac_check_lib_save_LIBS=$LIBS
3950LIBS="-ldl  $LIBS"
3951cat >conftest.$ac_ext <<_ACEOF
3952/* confdefs.h.  */
3953_ACEOF
3954cat confdefs.h >>conftest.$ac_ext
3955cat >>conftest.$ac_ext <<_ACEOF
3956/* end confdefs.h.  */
3957
3958/* Override any gcc2 internal prototype to avoid an error.  */
3959#ifdef __cplusplus
3960extern "C"
3961#endif
3962/* We use char because int might match the return type of a gcc2
3963   builtin and then its argument prototype would still apply.  */
3964char dlopen ();
3965int
3966main ()
3967{
3968dlopen ();
3969  ;
3970  return 0;
3971}
3972_ACEOF
3973rm -f conftest.$ac_objext conftest$ac_exeext
3974if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3975  (eval $ac_link) 2>conftest.er1
3976  ac_status=$?
3977  grep -v '^ *+' conftest.er1 >conftest.err
3978  rm -f conftest.er1
3979  cat conftest.err >&5
3980  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981  (exit $ac_status); } &&
3982         { ac_try='test -z "$ac_c_werror_flag"
3983                         || test ! -s conftest.err'
3984  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3985  (eval $ac_try) 2>&5
3986  ac_status=$?
3987  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988  (exit $ac_status); }; } &&
3989         { ac_try='test -s conftest$ac_exeext'
3990  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3991  (eval $ac_try) 2>&5
3992  ac_status=$?
3993  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994  (exit $ac_status); }; }; then
3995  ac_cv_lib_dl_dlopen=yes
3996else
3997  echo "$as_me: failed program was:" >&5
3998sed 's/^/| /' conftest.$ac_ext >&5
3999
4000ac_cv_lib_dl_dlopen=no
4001fi
4002rm -f conftest.err conftest.$ac_objext \
4003      conftest$ac_exeext conftest.$ac_ext
4004LIBS=$ac_check_lib_save_LIBS
4005fi
4006echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
4007echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
4008if test $ac_cv_lib_dl_dlopen = yes; then
4009  ASLLIB="$ASLLIB -ldl"
4010fi
4011
4012  coin_has_asl=yes
4013
4014cat >>confdefs.h <<\_ACEOF
4015#define COIN_HAS_ASL 1
4016_ACEOF
4017
4018  ac_ext=c
4019ac_cpp='$CPP $CPPFLAGS'
4020ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4021ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4022ac_compiler_gnu=$ac_cv_c_compiler_gnu
4023
4024else
4025  coin_has_asl=no
4026fi
4027
4028
4029if test $coin_has_asl = yes; then
4030  COIN_HAS_ASL_TRUE=
4031  COIN_HAS_ASL_FALSE='#'
4032else
4033  COIN_HAS_ASL_TRUE='#'
4034  COIN_HAS_ASL_FALSE=
4035fi
4036
4037
4038MAKEOKFILE=.MakeOk
4039if test $coin_has_asl != no && test "$use_asldir" != BUILD; then
4040  skip_further_test=yes
4041  rm -f $MAKEOKFILE
4042  { echo "$as_me:$LINENO: The ASL sources don't need to be compiled" >&5
4043echo "$as_me: The ASL sources don't need to be compiled" >&6;}
4044  MAKEOKFILE=
4045else
4046  touch $MAKEOKFILE
4047fi
4048
4049
4050
4051if test -z "$MAKEOKFILE"; then
4052  SKIPMAKE_TRUE=
4053  SKIPMAKE_FALSE='#'
4054else
4055  SKIPMAKE_TRUE='#'
4056  SKIPMAKE_FALSE=
4057fi
4058
4059
4060#############################################################################
4061#                          AMPL SOLVER LIBRARY                              #
4062#############################################################################
4063
4064if test x$skip_further_test != xyes; then
4065
4066  # Determine the name of the ASL library
4067
4068  case "$CC" in
4069    cl* | */cl* | CL* | */CL*)
4070      AMPLSOLVER_A=amplsolv.lib
4071      msvc_compile=yes ;;
4072    *)
4073      AMPLSOLVER_A=amplsolver.a
4074      msvc_compile=no ;;
4075  esac
4076
4077  if test -z "$ASLMAKEFLAGS" ; then
4078    asladdcflags=
4079    case $build in
4080      *-linux*)
4081        asladdcflags="-DNON_STDIO"
4082        case $CC in
4083          pgcc* | */pgcc* | xlc* | */xlc* | blrts_xlc* | */blrts_xlc*)
4084            asladdcflags="$asladdcflags -DNO_fpu_control";;
4085        esac
4086        ;;
4087      *-cygwin*) # ToDo: If on Cygwin but not using -mno-cygwin, we should not define -DNo_Control87 -DNO_RUSAGE
4088        asladdcflags="-DNON_STDIO -DNo_Control87 -DNO_RUSAGE"
4089        ;;
4090      *-mingw32)
4091        asladdcflags="-DNON_STDIO -DNo_Control87 -DNO_RUSAGE"
4092        ;;
4093    esac
4094
4095# On BlueGene disable dynamic library loading
4096    if test x"$enable_bg" = xyes; then
4097      asladdcflags="$asladdcflags -DNO_FUNCADD"
4098    fi
4099
4100# Do the following for now to make sure we are not interupting compilation
4101# of ASL because of warning message:
4102    bla=
4103    for i in $CFLAGS; do
4104      if test "$i" != "-Werror"; then
4105        bla="$bla $i"
4106      fi
4107    done
4108    ASLMAKEFLAGS="CFLAGS=\"$bla $asladdcflags\""
4109
4110#   Somehow, -qtune=auto makes ASL segfault on AIX compiler, so take them out
4111    case $CC in
4112      xlc* | */xlc* | mpxlc* | */mpxlc*)
4113        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'`
4114        ;;
4115      pgcc* | */pgcc*)
4116        ASLMAKEFLAGS=`echo $ASLMAKEFLAGS | sed 's/-fast/-O1/g'`
4117        ;;
4118    esac
4119
4120    echo "$as_me:$LINENO: checking whether $am_make is the GNU make" >&5
4121echo $ECHO_N "checking whether $am_make is the GNU make... $ECHO_C" >&6
4122    rm -rf conftest.mak
4123    ($am_make -v -f conftest.mak > conftest.grp) 2>&5
4124    if $EGREP GNU conftest.grp >&5 ; then
4125      echo "$as_me:$LINENO: result: yes" >&5
4126echo "${ECHO_T}yes" >&6
4127      ASLMAKEFLAGS="-j 1 $ASLMAKEFLAGS"
4128    else
4129      echo "$as_me:$LINENO: result: no" >&5
4130echo "${ECHO_T}no" >&6
4131    fi
4132    rm -f conftest.mak conftest.grp
4133  fi
4134
4135  if test x"$AR" = x; then
4136    AR=ar
4137  fi
4138
4139  ASLMAKEFILECMDS="sed -e 's%ar \$\$(ARFLAGS)%$AR \$\$(ARFLAGS)%' makefile.u | sed -e 's%ar ruv%$AR ruv%' "
4140  if test "$EXEEXT" = ".exe"; then
4141    ASLMAKEFILECMDS="$ASLMAKEFILECMDS | sed 's/a.out/a.exe/'"
4142  fi
4143  case $build in
4144    *-cygwin*)
4145      ASLMAKEFILECMDS="$ASLMAKEFILECMDS | sed 's%s/System_details/\`uname -sr\`/%s|System_details|\`uname -sr\`|%'" ;;
4146  esac
4147  ASLMAKEFILECMDS="$ASLMAKEFILECMDS > makefile"
4148
4149
4150
4151
4152fi
4153
4154
4155
4156if test x$msvc_compile = xyes; then
4157  MSVC_COMPILE_TRUE=
4158  MSVC_COMPILE_FALSE='#'
4159else
4160  MSVC_COMPILE_TRUE='#'
4161  MSVC_COMPILE_FALSE=
4162fi
4163
4164
4165                    ac_config_files="$ac_config_files Makefile compile_MS_ASL"
4166
4167
4168
4169if test x$coin_skip_ac_output != xyes; then
4170
4171  FADDLIBS="$ADDLIBS"
4172  if test x"$coin_need_flibs" = xyes; then
4173    ADDLIBS="$ADDLIBS $FLIBS"
4174  fi
4175
4176  # library extension
4177
4178  case "$CC" in
4179    cl* | */cl* | CL* | */CL*)
4180         LIBEXT=lib ;;
4181      *) LIBEXT=a ;;
4182  esac
4183
4184  # Define VPATH_DISTCLEANFILES to be everything that needs to be
4185  # cleaned for distclean in a vpath configuration
4186
4187  VPATH_DISTCLEANFILES="$coin_vpath_link_files"
4188
4189  # Take out subdirectories if their configuration concluded that they
4190  # don't need to be compiled
4191  if test x"$coin_ac_skip_subdirs" != x; then
4192    new_subdirs=
4193    for i in $subdirs; do
4194      skipme=no
4195      for j in $coin_ac_skip_subdirs; do
4196        if test $i = $j; then
4197          skipme=yes;
4198        fi
4199      done
4200      if test $skipme = no; then
4201        new_subdirs="$new_subdirs $i"
4202      fi
4203    done
4204    subdirs="$new_subdirs"
4205  fi
4206
4207  cat >confcache <<\_ACEOF
4208# This file is a shell script that caches the results of configure
4209# tests run on this system so they can be shared between configure
4210# scripts and configure runs, see configure's option --config-cache.
4211# It is not useful on other systems.  If it contains results you don't
4212# want to keep, you may remove or edit it.
4213#
4214# config.status only pays attention to the cache file if you give it
4215# the --recheck option to rerun configure.
4216#
4217# `ac_cv_env_foo' variables (set or unset) will be overridden when
4218# loading this file, other *unset* `ac_cv_foo' will be assigned the
4219# following values.
4220
4221_ACEOF
4222
4223# The following way of writing the cache mishandles newlines in values,
4224# but we know of no workaround that is simple, portable, and efficient.
4225# So, don't put newlines in cache variables' values.
4226# Ultrix sh set writes to stderr and can't be redirected directly,
4227# and sets the high bit in the cache file unless we assign to the vars.
4228{
4229  (set) 2>&1 |
4230    case `(ac_space=' '; set | grep ac_space) 2>&1` in
4231    *ac_space=\ *)
4232      # `set' does not quote correctly, so add quotes (double-quote
4233      # substitution turns \\\\ into \\, and sed turns \\ into \).
4234      sed -n \
4235        "s/'/'\\\\''/g;
4236          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4237      ;;
4238    *)
4239      # `set' quotes correctly as required by POSIX, so do not add quotes.
4240      sed -n \
4241        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4242      ;;
4243    esac;
4244} |
4245  sed '
4246     t clear
4247     : clear
4248     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4249     t end
4250     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4251     : end' >>confcache
4252if diff $cache_file confcache >/dev/null 2>&1; then :; else
4253  if test -w $cache_file; then
4254    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4255    cat confcache >$cache_file
4256  else
4257    echo "not updating unwritable cache $cache_file"
4258  fi
4259fi
4260rm -f confcache
4261
4262test "x$prefix" = xNONE && prefix=$ac_default_prefix
4263# Let make expand exec_prefix.
4264test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4265
4266# VPATH may cause trouble with some makes, so we remove $(srcdir),
4267# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4268# trailing colons and then remove the whole line if VPATH becomes empty
4269# (actually we leave an empty line to preserve line numbers).
4270if test "x$srcdir" = x.; then
4271  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4272s/:*\$(srcdir):*/:/;
4273s/:*\${srcdir}:*/:/;
4274s/:*@srcdir@:*/:/;
4275s/^\([^=]*=[     ]*\):*/\1/;
4276s/:*$//;
4277s/^[^=]*=[       ]*$//;
4278}'
4279fi
4280
4281# Transform confdefs.h into DEFS.
4282# Protect against shell expansion while executing Makefile rules.
4283# Protect against Makefile macro expansion.
4284#
4285# If the first sed substitution is executed (which looks for macros that
4286# take arguments), then we branch to the quote section.  Otherwise,
4287# look for a macro that doesn't take arguments.
4288cat >confdef2opt.sed <<\_ACEOF
4289t clear
4290: clear
4291s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
4292t quote
4293s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
4294t quote
4295d
4296: quote
4297s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
4298s,\[,\\&,g
4299s,\],\\&,g
4300s,\$,$$,g
4301p
4302_ACEOF
4303# We use echo to avoid assuming a particular line-breaking character.
4304# The extra dot is to prevent the shell from consuming trailing
4305# line-breaks from the sub-command output.  A line-break within
4306# single-quotes doesn't work because, if this script is created in a
4307# platform that uses two characters for line-breaks (e.g., DOS), tr
4308# would break.
4309ac_LF_and_DOT=`echo; echo .`
4310DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4311rm -f confdef2opt.sed
4312
4313
4314ac_libobjs=
4315ac_ltlibobjs=
4316for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4317  # 1. Remove the extension, and $U if already installed.
4318  ac_i=`echo "$ac_i" |
4319         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4320  # 2. Add them.
4321  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4322  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4323done
4324LIBOBJS=$ac_libobjs
4325
4326LTLIBOBJS=$ac_ltlibobjs
4327
4328
4329if test -z "${ALWAYS_FALSE_TRUE}" && test -z "${ALWAYS_FALSE_FALSE}"; then
4330  { { echo "$as_me:$LINENO: error: conditional \"ALWAYS_FALSE\" was never defined.
4331Usually this means the macro was only invoked conditionally." >&5
4332echo "$as_me: error: conditional \"ALWAYS_FALSE\" was never defined.
4333Usually this means the macro was only invoked conditionally." >&2;}
4334   { (exit 1); exit 1; }; }
4335fi
4336if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4337  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4338Usually this means the macro was only invoked conditionally." >&5
4339echo "$as_me: error: conditional \"AMDEP\" was never defined.
4340Usually this means the macro was only invoked conditionally." >&2;}
4341   { (exit 1); exit 1; }; }
4342fi
4343if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4344  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4345Usually this means the macro was only invoked conditionally." >&5
4346echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4347Usually this means the macro was only invoked conditionally." >&2;}
4348   { (exit 1); exit 1; }; }
4349fi
4350if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4351  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4352Usually this means the macro was only invoked conditionally." >&5
4353echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4354Usually this means the macro was only invoked conditionally." >&2;}
4355   { (exit 1); exit 1; }; }
4356fi
4357if test -z "${HAVE_EXTERNALS_TRUE}" && test -z "${HAVE_EXTERNALS_FALSE}"; then
4358  { { echo "$as_me:$LINENO: error: conditional \"HAVE_EXTERNALS\" was never defined.
4359Usually this means the macro was only invoked conditionally." >&5
4360echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
4361Usually this means the macro was only invoked conditionally." >&2;}
4362   { (exit 1); exit 1; }; }
4363fi
4364if test -z "${COIN_HAS_ASL_TRUE}" && test -z "${COIN_HAS_ASL_FALSE}"; then
4365  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_ASL\" was never defined.
4366Usually this means the macro was only invoked conditionally." >&5
4367echo "$as_me: error: conditional \"COIN_HAS_ASL\" was never defined.
4368Usually this means the macro was only invoked conditionally." >&2;}
4369   { (exit 1); exit 1; }; }
4370fi
4371if test -z "${SKIPMAKE_TRUE}" && test -z "${SKIPMAKE_FALSE}"; then
4372  { { echo "$as_me:$LINENO: error: conditional \"SKIPMAKE\" was never defined.
4373Usually this means the macro was only invoked conditionally." >&5
4374echo "$as_me: error: conditional \"SKIPMAKE\" was never defined.
4375Usually this means the macro was only invoked conditionally." >&2;}
4376   { (exit 1); exit 1; }; }
4377fi
4378if test -z "${MSVC_COMPILE_TRUE}" && test -z "${MSVC_COMPILE_FALSE}"; then
4379  { { echo "$as_me:$LINENO: error: conditional \"MSVC_COMPILE\" was never defined.
4380Usually this means the macro was only invoked conditionally." >&5
4381echo "$as_me: error: conditional \"MSVC_COMPILE\" was never defined.
4382Usually this means the macro was only invoked conditionally." >&2;}
4383   { (exit 1); exit 1; }; }
4384fi
4385
4386: ${CONFIG_STATUS=./config.status}
4387ac_clean_files_save=$ac_clean_files
4388ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4389{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4390echo "$as_me: creating $CONFIG_STATUS" >&6;}
4391cat >$CONFIG_STATUS <<_ACEOF
4392#! $SHELL
4393# Generated by $as_me.
4394# Run this file to recreate the current configuration.
4395# Compiler output produced by configure, useful for debugging
4396# configure, is in config.log if it exists.
4397
4398debug=false
4399ac_cs_recheck=false
4400ac_cs_silent=false
4401SHELL=\${CONFIG_SHELL-$SHELL}
4402_ACEOF
4403
4404cat >>$CONFIG_STATUS <<\_ACEOF
4405## --------------------- ##
4406## M4sh Initialization.  ##
4407## --------------------- ##
4408
4409# Be Bourne compatible
4410if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4411  emulate sh
4412  NULLCMD=:
4413  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4414  # is contrary to our usage.  Disable this feature.
4415  alias -g '${1+"$@"}'='"$@"'
4416elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4417  set -o posix
4418fi
4419DUALCASE=1; export DUALCASE # for MKS sh
4420
4421# Support unset when possible.
4422if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4423  as_unset=unset
4424else
4425  as_unset=false
4426fi
4427
4428
4429# Work around bugs in pre-3.0 UWIN ksh.
4430$as_unset ENV MAIL MAILPATH
4431PS1='$ '
4432PS2='> '
4433PS4='+ '
4434
4435# NLS nuisances.
4436for as_var in \
4437  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4438  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4439  LC_TELEPHONE LC_TIME
4440do
4441  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4442    eval $as_var=C; export $as_var
4443  else
4444    $as_unset $as_var
4445  fi
4446done
4447
4448# Required to use basename.
4449if expr a : '\(a\)' >/dev/null 2>&1; then
4450  as_expr=expr
4451else
4452  as_expr=false
4453fi
4454
4455if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4456  as_basename=basename
4457else
4458  as_basename=false
4459fi
4460
4461
4462# Name of the executable.
4463as_me=`$as_basename "$0" ||
4464$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4465         X"$0" : 'X\(//\)$' \| \
4466         X"$0" : 'X\(/\)$' \| \
4467         .     : '\(.\)' 2>/dev/null ||
4468echo X/"$0" |
4469    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4470          /^X\/\(\/\/\)$/{ s//\1/; q; }
4471          /^X\/\(\/\).*/{ s//\1/; q; }
4472          s/.*/./; q'`
4473
4474
4475# PATH needs CR, and LINENO needs CR and PATH.
4476# Avoid depending upon Character Ranges.
4477as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4478as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4479as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4480as_cr_digits='0123456789'
4481as_cr_alnum=$as_cr_Letters$as_cr_digits
4482
4483# The user is always right.
4484if test "${PATH_SEPARATOR+set}" != set; then
4485  echo "#! /bin/sh" >conf$$.sh
4486  echo  "exit 0"   >>conf$$.sh
4487  chmod +x conf$$.sh
4488  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4489    PATH_SEPARATOR=';'
4490  else
4491    PATH_SEPARATOR=:
4492  fi
4493  rm -f conf$$.sh
4494fi
4495
4496
4497  as_lineno_1=$LINENO
4498  as_lineno_2=$LINENO
4499  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4500  test "x$as_lineno_1" != "x$as_lineno_2" &&
4501  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4502  # Find who we are.  Look in the path if we contain no path at all
4503  # relative or not.
4504  case $0 in
4505    *[\\/]* ) as_myself=$0 ;;
4506    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4507for as_dir in $PATH
4508do
4509  IFS=$as_save_IFS
4510  test -z "$as_dir" && as_dir=.
4511  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4512done
4513
4514       ;;
4515  esac
4516  # We did not find ourselves, most probably we were run as `sh COMMAND'
4517  # in which case we are not to be found in the path.
4518  if test "x$as_myself" = x; then
4519    as_myself=$0
4520  fi
4521  if test ! -f "$as_myself"; then
4522    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4523echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4524   { (exit 1); exit 1; }; }
4525  fi
4526  case $CONFIG_SHELL in
4527  '')
4528    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4529for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4530do
4531  IFS=$as_save_IFS
4532  test -z "$as_dir" && as_dir=.
4533  for as_base in sh bash ksh sh5; do
4534         case $as_dir in
4535         /*)
4536           if ("$as_dir/$as_base" -c '
4537  as_lineno_1=$LINENO
4538  as_lineno_2=$LINENO
4539  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4540  test "x$as_lineno_1" != "x$as_lineno_2" &&
4541  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4542             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4543             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4544             CONFIG_SHELL=$as_dir/$as_base
4545             export CONFIG_SHELL
4546             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4547           fi;;
4548         esac
4549       done
4550done
4551;;
4552  esac
4553
4554  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4555  # uniformly replaced by the line number.  The first 'sed' inserts a
4556  # line-number line before each line; the second 'sed' does the real
4557  # work.  The second script uses 'N' to pair each line-number line
4558  # with the numbered line, and appends trailing '-' during
4559  # substitution so that $LINENO is not a special case at line end.
4560  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4561  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4562  sed '=' <$as_myself |
4563    sed '
4564      N
4565      s,$,-,
4566      : loop
4567      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4568      t loop
4569      s,-$,,
4570      s,^['$as_cr_digits']*\n,,
4571    ' >$as_me.lineno &&
4572  chmod +x $as_me.lineno ||
4573    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4574echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4575   { (exit 1); exit 1; }; }
4576
4577  # Don't try to exec as it changes $[0], causing all sort of problems
4578  # (the dirname of $[0] is not the place where we might find the
4579  # original and so on.  Autoconf is especially sensible to this).
4580  . ./$as_me.lineno
4581  # Exit status is that of the last command.
4582  exit
4583}
4584
4585
4586case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4587  *c*,-n*) ECHO_N= ECHO_C='
4588' ECHO_T='      ' ;;
4589  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4590  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4591esac
4592
4593if expr a : '\(a\)' >/dev/null 2>&1; then
4594  as_expr=expr
4595else
4596  as_expr=false
4597fi
4598
4599rm -f conf$$ conf$$.exe conf$$.file
4600echo >conf$$.file
4601if ln -s conf$$.file conf$$ 2>/dev/null; then
4602  # We could just check for DJGPP; but this test a) works b) is more generic
4603  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4604  if test -f conf$$.exe; then
4605    # Don't use ln at all; we don't have any links
4606    as_ln_s='cp -p'
4607  else
4608    as_ln_s='ln -s'
4609  fi
4610elif ln conf$$.file conf$$ 2>/dev/null; then
4611  as_ln_s=ln
4612else
4613  as_ln_s='cp -p'
4614fi
4615rm -f conf$$ conf$$.exe conf$$.file
4616
4617if mkdir -p . 2>/dev/null; then
4618  as_mkdir_p=:
4619else
4620  test -d ./-p && rmdir ./-p
4621  as_mkdir_p=false
4622fi
4623
4624as_executable_p="test -f"
4625
4626# Sed expression to map a string onto a valid CPP name.
4627as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4628
4629# Sed expression to map a string onto a valid variable name.
4630as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4631
4632
4633# IFS
4634# We need space, tab and new line, in precisely that order.
4635as_nl='
4636'
4637IFS="   $as_nl"
4638
4639# CDPATH.
4640$as_unset CDPATH
4641
4642exec 6>&1
4643
4644# Open the log real soon, to keep \$[0] and so on meaningful, and to
4645# report actual input values of CONFIG_FILES etc. instead of their
4646# values after options handling.  Logging --version etc. is OK.
4647exec 5>>config.log
4648{
4649  echo
4650  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4651## Running $as_me. ##
4652_ASBOX
4653} >&5
4654cat >&5 <<_CSEOF
4655
4656This file was extended by ThirdPartyASL $as_me 1.0trunk, which was
4657generated by GNU Autoconf 2.59.  Invocation command line was
4658
4659  CONFIG_FILES    = $CONFIG_FILES
4660  CONFIG_HEADERS  = $CONFIG_HEADERS
4661  CONFIG_LINKS    = $CONFIG_LINKS
4662  CONFIG_COMMANDS = $CONFIG_COMMANDS
4663  $ $0 $@
4664
4665_CSEOF
4666echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4667echo >&5
4668_ACEOF
4669
4670# Files that config.status was made for.
4671if test -n "$ac_config_files"; then
4672  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4673fi
4674
4675if test -n "$ac_config_headers"; then
4676  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4677fi
4678
4679if test -n "$ac_config_links"; then
4680  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4681fi
4682
4683if test -n "$ac_config_commands"; then
4684  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4685fi
4686
4687cat >>$CONFIG_STATUS <<\_ACEOF
4688
4689ac_cs_usage="\
4690\`$as_me' instantiates files from templates according to the
4691current configuration.
4692
4693Usage: $0 [OPTIONS] [FILE]...
4694
4695  -h, --help       print this help, then exit
4696  -V, --version    print version number, then exit
4697  -q, --quiet      do not print progress messages
4698  -d, --debug      don't remove temporary files
4699      --recheck    update $as_me by reconfiguring in the same conditions
4700  --file=FILE[:TEMPLATE]
4701                   instantiate the configuration file FILE
4702
4703Configuration files:
4704$config_files
4705
4706Configuration commands:
4707$config_commands
4708
4709Report bugs to <bug-autoconf@gnu.org>."
4710_ACEOF
4711
4712cat >>$CONFIG_STATUS <<_ACEOF
4713ac_cs_version="\\
4714ThirdPartyASL config.status 1.0trunk
4715configured by $0, generated by GNU Autoconf 2.59,
4716  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4717
4718Copyright (C) 2003 Free Software Foundation, Inc.
4719This config.status script is free software; the Free Software Foundation
4720gives unlimited permission to copy, distribute and modify it."
4721srcdir=$srcdir
4722INSTALL="$INSTALL"
4723_ACEOF
4724
4725cat >>$CONFIG_STATUS <<\_ACEOF
4726# If no file are specified by the user, then we need to provide default
4727# value.  By we need to know if files were specified by the user.
4728ac_need_defaults=:
4729while test $# != 0
4730do
4731  case $1 in
4732  --*=*)
4733    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4734    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4735    ac_shift=:
4736    ;;
4737  -*)
4738    ac_option=$1
4739    ac_optarg=$2
4740    ac_shift=shift
4741    ;;
4742  *) # This is not an option, so the user has probably given explicit
4743     # arguments.
4744     ac_option=$1
4745     ac_need_defaults=false;;
4746  esac
4747
4748  case $ac_option in
4749  # Handling of the options.
4750_ACEOF
4751cat >>$CONFIG_STATUS <<\_ACEOF
4752  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4753    ac_cs_recheck=: ;;
4754  --version | --vers* | -V )
4755    echo "$ac_cs_version"; exit 0 ;;
4756  --he | --h)
4757    # Conflict between --help and --header
4758    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4759Try \`$0 --help' for more information." >&5
4760echo "$as_me: error: ambiguous option: $1
4761Try \`$0 --help' for more information." >&2;}
4762   { (exit 1); exit 1; }; };;
4763  --help | --hel | -h )
4764    echo "$ac_cs_usage"; exit 0 ;;
4765  --debug | --d* | -d )
4766    debug=: ;;
4767  --file | --fil | --fi | --f )
4768    $ac_shift
4769    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4770    ac_need_defaults=false;;
4771  --header | --heade | --head | --hea )
4772    $ac_shift
4773    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4774    ac_need_defaults=false;;
4775  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4776  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4777    ac_cs_silent=: ;;
4778
4779  # This is an error.
4780  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4781Try \`$0 --help' for more information." >&5
4782echo "$as_me: error: unrecognized option: $1
4783Try \`$0 --help' for more information." >&2;}
4784   { (exit 1); exit 1; }; } ;;
4785
4786  *) ac_config_targets="$ac_config_targets $1" ;;
4787
4788  esac
4789  shift
4790done
4791
4792ac_configure_extra_args=
4793
4794if $ac_cs_silent; then
4795  exec 6>/dev/null
4796  ac_configure_extra_args="$ac_configure_extra_args --silent"
4797fi
4798
4799_ACEOF
4800cat >>$CONFIG_STATUS <<_ACEOF
4801if \$ac_cs_recheck; then
4802  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4803  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4804fi
4805
4806_ACEOF
4807
4808cat >>$CONFIG_STATUS <<_ACEOF
4809#
4810# INIT-COMMANDS section.
4811#
4812
4813AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4814
4815_ACEOF
4816
4817
4818
4819cat >>$CONFIG_STATUS <<\_ACEOF
4820for ac_config_target in $ac_config_targets
4821do
4822  case "$ac_config_target" in
4823  # Handling of arguments.
4824  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4825  "compile_MS_ASL" ) CONFIG_FILES="$CONFIG_FILES compile_MS_ASL" ;;
4826  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4827  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4828echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4829   { (exit 1); exit 1; }; };;
4830  esac
4831done
4832
4833# If the user did not use the arguments to specify the items to instantiate,
4834# then the envvar interface is used.  Set only those that are not.
4835# We use the long form for the default assignment because of an extremely
4836# bizarre bug on SunOS 4.1.3.
4837if $ac_need_defaults; then
4838  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4839  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4840fi
4841
4842# Have a temporary directory for convenience.  Make it in the build tree
4843# simply because there is no reason to put it here, and in addition,
4844# creating and moving files from /tmp can sometimes cause problems.
4845# Create a temporary directory, and hook for its removal unless debugging.
4846$debug ||
4847{
4848  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4849  trap '{ (exit 1); exit 1; }' 1 2 13 15
4850}
4851
4852# Create a (secure) tmp directory for tmp files.
4853
4854{
4855  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4856  test -n "$tmp" && test -d "$tmp"
4857}  ||
4858{
4859  tmp=./confstat$$-$RANDOM
4860  (umask 077 && mkdir $tmp)
4861} ||
4862{
4863   echo "$me: cannot create a temporary directory in ." >&2
4864   { (exit 1); exit 1; }
4865}
4866
4867_ACEOF
4868
4869cat >>$CONFIG_STATUS <<_ACEOF
4870
4871#
4872# CONFIG_FILES section.
4873#
4874
4875# No need to generate the scripts if there are no CONFIG_FILES.
4876# This happens for instance when ./config.status config.h
4877if test -n "\$CONFIG_FILES"; then
4878  # Protect against being on the right side of a sed subst in config.status.
4879  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4880   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4881s,@SHELL@,$SHELL,;t t
4882s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4883s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4884s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4885s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4886s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4887s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4888s,@exec_prefix@,$exec_prefix,;t t
4889s,@prefix@,$prefix,;t t
4890s,@program_transform_name@,$program_transform_name,;t t
4891s,@bindir@,$bindir,;t t
4892s,@sbindir@,$sbindir,;t t
4893s,@libexecdir@,$libexecdir,;t t
4894s,@datadir@,$datadir,;t t
4895s,@sysconfdir@,$sysconfdir,;t t
4896s,@sharedstatedir@,$sharedstatedir,;t t
4897s,@localstatedir@,$localstatedir,;t t
4898s,@libdir@,$libdir,;t t
4899s,@includedir@,$includedir,;t t
4900s,@oldincludedir@,$oldincludedir,;t t
4901s,@infodir@,$infodir,;t t
4902s,@mandir@,$mandir,;t t
4903s,@build_alias@,$build_alias,;t t
4904s,@host_alias@,$host_alias,;t t
4905s,@target_alias@,$target_alias,;t t
4906s,@DEFS@,$DEFS,;t t
4907s,@ECHO_C@,$ECHO_C,;t t
4908s,@ECHO_N@,$ECHO_N,;t t
4909s,@ECHO_T@,$ECHO_T,;t t
4910s,@LIBS@,$LIBS,;t t
4911s,@ADDLIBS@,$ADDLIBS,;t t
4912s,@FADDLIBS@,$FADDLIBS,;t t
4913s,@ALWAYS_FALSE_TRUE@,$ALWAYS_FALSE_TRUE,;t t
4914s,@ALWAYS_FALSE_FALSE@,$ALWAYS_FALSE_FALSE,;t t
4915s,@build@,$build,;t t
4916s,@build_cpu@,$build_cpu,;t t
4917s,@build_vendor@,$build_vendor,;t t
4918s,@build_os@,$build_os,;t t
4919s,@EGREP@,$EGREP,;t t
4920s,@LN_S@,$LN_S,;t t
4921s,@CDEFS@,$CDEFS,;t t
4922s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t
4923s,@DBG_CFLAGS@,$DBG_CFLAGS,;t t
4924s,@OPT_CFLAGS@,$OPT_CFLAGS,;t t
4925s,@CC@,$CC,;t t
4926s,@CFLAGS@,$CFLAGS,;t t
4927s,@LDFLAGS@,$LDFLAGS,;t t
4928s,@CPPFLAGS@,$CPPFLAGS,;t t
4929s,@ac_ct_CC@,$ac_ct_CC,;t t
4930s,@EXEEXT@,$EXEEXT,;t t
4931s,@OBJEXT@,$OBJEXT,;t t
4932s,@MPICC@,$MPICC,;t t
4933s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4934s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4935s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4936s,@CYGPATH_W@,$CYGPATH_W,;t t
4937s,@PACKAGE@,$PACKAGE,;t t
4938s,@VERSION@,$VERSION,;t t
4939s,@ACLOCAL@,$ACLOCAL,;t t
4940s,@AUTOCONF@,$AUTOCONF,;t t
4941s,@AUTOMAKE@,$AUTOMAKE,;t t
4942s,@AUTOHEADER@,$AUTOHEADER,;t t
4943s,@MAKEINFO@,$MAKEINFO,;t t
4944s,@install_sh@,$install_sh,;t t
4945s,@STRIP@,$STRIP,;t t
4946s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4947s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4948s,@mkdir_p@,$mkdir_p,;t t
4949s,@AWK@,$AWK,;t t
4950s,@SET_MAKE@,$SET_MAKE,;t t
4951s,@am__leading_dot@,$am__leading_dot,;t t
4952s,@AMTAR@,$AMTAR,;t t
4953s,@am__tar@,$am__tar,;t t
4954s,@am__untar@,$am__untar,;t t
4955s,@DEPDIR@,$DEPDIR,;t t
4956s,@am__include@,$am__include,;t t
4957s,@am__quote@,$am__quote,;t t
4958s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4959s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4960s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4961s,@CCDEPMODE@,$CCDEPMODE,;t t
4962s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4963s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4964s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4965s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4966s,@MAINT@,$MAINT,;t t
4967s,@LIBTOOLM4@,$LIBTOOLM4,;t t
4968s,@have_autoconf@,$have_autoconf,;t t
4969s,@have_automake@,$have_automake,;t t
4970s,@have_svn@,$have_svn,;t t
4971s,@BUILDTOOLSDIR@,$BUILDTOOLSDIR,;t t
4972s,@AUX_DIR@,$AUX_DIR,;t t
4973s,@abs_source_dir@,$abs_source_dir,;t t
4974s,@abs_lib_dir@,$abs_lib_dir,;t t
4975s,@abs_include_dir@,$abs_include_dir,;t t
4976s,@abs_bin_dir@,$abs_bin_dir,;t t
4977s,@HAVE_EXTERNALS_TRUE@,$HAVE_EXTERNALS_TRUE,;t t
4978s,@HAVE_EXTERNALS_FALSE@,$HAVE_EXTERNALS_FALSE,;t t
4979s,@ASLLIB@,$ASLLIB,;t t
4980s,@ASL_CPPFLAGS@,$ASL_CPPFLAGS,;t t
4981s,@COIN_HAS_ASL_TRUE@,$COIN_HAS_ASL_TRUE,;t t
4982s,@COIN_HAS_ASL_FALSE@,$COIN_HAS_ASL_FALSE,;t t
4983s,@MAKEOKFILE@,$MAKEOKFILE,;t t
4984s,@SKIPMAKE_TRUE@,$SKIPMAKE_TRUE,;t t
4985s,@SKIPMAKE_FALSE@,$SKIPMAKE_FALSE,;t t
4986s,@AMPLSOLVER_A@,$AMPLSOLVER_A,;t t
4987s,@ASLMAKEFLAGS@,$ASLMAKEFLAGS,;t t
4988s,@ASLMAKEFILECMDS@,$ASLMAKEFILECMDS,;t t
4989s,@MSVC_COMPILE_TRUE@,$MSVC_COMPILE_TRUE,;t t
4990s,@MSVC_COMPILE_FALSE@,$MSVC_COMPILE_FALSE,;t t
4991s,@LIBEXT@,$LIBEXT,;t t
4992s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
4993s,@LIBOBJS@,$LIBOBJS,;t t
4994s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4995CEOF
4996
4997_ACEOF
4998
4999  cat >>$CONFIG_STATUS <<\_ACEOF
5000  # Split the substitutions into bite-sized pieces for seds with
5001  # small command number limits, like on Digital OSF/1 and HP-UX.
5002  ac_max_sed_lines=48
5003  ac_sed_frag=1 # Number of current file.
5004  ac_beg=1 # First line for current file.
5005  ac_end=$ac_max_sed_lines # Line after last line for current file.
5006  ac_more_lines=:
5007  ac_sed_cmds=
5008  while $ac_more_lines; do
5009    if test $ac_beg -gt 1; then
5010      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5011    else
5012      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5013    fi
5014    if test ! -s $tmp/subs.frag; then
5015      ac_more_lines=false
5016    else
5017      # The purpose of the label and of the branching condition is to
5018      # speed up the sed processing (if there are no `@' at all, there
5019      # is no need to browse any of the substitutions).
5020      # These are the two extra sed commands mentioned above.
5021      (echo ':t
5022  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5023      if test -z "$ac_sed_cmds"; then
5024        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5025      else
5026        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5027      fi
5028      ac_sed_frag=`expr $ac_sed_frag + 1`
5029      ac_beg=$ac_end
5030      ac_end=`expr $ac_end + $ac_max_sed_lines`
5031    fi
5032  done
5033  if test -z "$ac_sed_cmds"; then
5034    ac_sed_cmds=cat
5035  fi
5036fi # test -n "$CONFIG_FILES"
5037
5038_ACEOF
5039cat >>$CONFIG_STATUS <<\_ACEOF
5040for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5041  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5042  case $ac_file in
5043  - | *:- | *:-:* ) # input from stdin
5044        cat >$tmp/stdin
5045        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5046        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5047  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5048        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5049  * )   ac_file_in=$ac_file.in ;;
5050  esac
5051
5052  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5053  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5054$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5055         X"$ac_file" : 'X\(//\)[^/]' \| \
5056         X"$ac_file" : 'X\(//\)$' \| \
5057         X"$ac_file" : 'X\(/\)' \| \
5058         .     : '\(.\)' 2>/dev/null ||
5059echo X"$ac_file" |
5060    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5061          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5062          /^X\(\/\/\)$/{ s//\1/; q; }
5063          /^X\(\/\).*/{ s//\1/; q; }
5064          s/.*/./; q'`
5065  { if $as_mkdir_p; then
5066    mkdir -p "$ac_dir"
5067  else
5068    as_dir="$ac_dir"
5069    as_dirs=
5070    while test ! -d "$as_dir"; do
5071      as_dirs="$as_dir $as_dirs"
5072      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5073$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5074         X"$as_dir" : 'X\(//\)[^/]' \| \
5075         X"$as_dir" : 'X\(//\)$' \| \
5076         X"$as_dir" : 'X\(/\)' \| \
5077         .     : '\(.\)' 2>/dev/null ||
5078echo X"$as_dir" |
5079    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5080          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5081          /^X\(\/\/\)$/{ s//\1/; q; }
5082          /^X\(\/\).*/{ s//\1/; q; }
5083          s/.*/./; q'`
5084    done
5085    test ! -n "$as_dirs" || mkdir $as_dirs
5086  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5087echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5088   { (exit 1); exit 1; }; }; }
5089
5090  ac_builddir=.
5091
5092if test "$ac_dir" != .; then
5093  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5094  # A "../" for each directory in $ac_dir_suffix.
5095  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5096else
5097  ac_dir_suffix= ac_top_builddir=
5098fi
5099
5100case $srcdir in
5101  .)  # No --srcdir option.  We are building in place.
5102    ac_srcdir=.
5103    if test -z "$ac_top_builddir"; then
5104       ac_top_srcdir=.
5105    else
5106       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5107    fi ;;
5108  [\\/]* | ?:[\\/]* )  # Absolute path.
5109    ac_srcdir=$srcdir$ac_dir_suffix;
5110    ac_top_srcdir=$srcdir ;;
5111  *) # Relative path.
5112    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5113    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5114esac
5115
5116# Do not use `cd foo && pwd` to compute absolute paths, because
5117# the directories may not exist.
5118case `pwd` in
5119.) ac_abs_builddir="$ac_dir";;
5120*)
5121  case "$ac_dir" in
5122  .) ac_abs_builddir=`pwd`;;
5123  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5124  *) ac_abs_builddir=`pwd`/"$ac_dir";;
5125  esac;;
5126esac
5127case $ac_abs_builddir in
5128.) ac_abs_top_builddir=${ac_top_builddir}.;;
5129*)
5130  case ${ac_top_builddir}. in
5131  .) ac_abs_top_builddir=$ac_abs_builddir;;
5132  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5133  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5134  esac;;
5135esac
5136case $ac_abs_builddir in
5137.) ac_abs_srcdir=$ac_srcdir;;
5138*)
5139  case $ac_srcdir in
5140  .) ac_abs_srcdir=$ac_abs_builddir;;
5141  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5142  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5143  esac;;
5144esac
5145case $ac_abs_builddir in
5146.) ac_abs_top_srcdir=$ac_top_srcdir;;
5147*)
5148  case $ac_top_srcdir in
5149  .) ac_abs_top_srcdir=$ac_abs_builddir;;
5150  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5151  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5152  esac;;
5153esac
5154
5155
5156  case $INSTALL in
5157  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5158  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5159  esac
5160
5161  if test x"$ac_file" != x-; then
5162    { echo "$as_me:$LINENO: creating $ac_file" >&5
5163echo "$as_me: creating $ac_file" >&6;}
5164    rm -f "$ac_file"
5165  fi
5166  # Let's still pretend it is `configure' which instantiates (i.e., don't
5167  # use $as_me), people would be surprised to read:
5168  #    /* config.h.  Generated by config.status.  */
5169  if test x"$ac_file" = x-; then
5170    configure_input=
5171  else
5172    configure_input="$ac_file.  "
5173  fi
5174  configure_input=$configure_input"Generated from `echo $ac_file_in |
5175                                     sed 's,.*/,,'` by configure."
5176
5177  # First look for the input files in the build tree, otherwise in the
5178  # src tree.
5179  ac_file_inputs=`IFS=:
5180    for f in $ac_file_in; do
5181      case $f in
5182      -) echo $tmp/stdin ;;
5183      [\\/$]*)
5184         # Absolute (can't be DOS-style, as IFS=:)
5185         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5186echo "$as_me: error: cannot find input file: $f" >&2;}
5187   { (exit 1); exit 1; }; }
5188         echo "$f";;
5189      *) # Relative
5190         if test -f "$f"; then
5191           # Build tree
5192           echo "$f"
5193         elif test -f "$srcdir/$f"; then
5194           # Source tree
5195           echo "$srcdir/$f"
5196         else
5197           # /dev/null tree
5198           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5199echo "$as_me: error: cannot find input file: $f" >&2;}
5200   { (exit 1); exit 1; }; }
5201         fi;;
5202      esac
5203    done` || { (exit 1); exit 1; }
5204_ACEOF
5205cat >>$CONFIG_STATUS <<_ACEOF
5206  sed "$ac_vpsub
5207$extrasub
5208_ACEOF
5209cat >>$CONFIG_STATUS <<\_ACEOF
5210:t
5211/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5212s,@configure_input@,$configure_input,;t t
5213s,@srcdir@,$ac_srcdir,;t t
5214s,@abs_srcdir@,$ac_abs_srcdir,;t t
5215s,@top_srcdir@,$ac_top_srcdir,;t t
5216s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5217s,@builddir@,$ac_builddir,;t t
5218s,@abs_builddir@,$ac_abs_builddir,;t t
5219s,@top_builddir@,$ac_top_builddir,;t t
5220s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5221s,@INSTALL@,$ac_INSTALL,;t t
5222" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5223  rm -f $tmp/stdin
5224  if test x"$ac_file" != x-; then
5225    mv $tmp/out $ac_file
5226  else
5227    cat $tmp/out
5228    rm -f $tmp/out
5229  fi
5230
5231done
5232_ACEOF
5233cat >>$CONFIG_STATUS <<\_ACEOF
5234
5235#
5236# CONFIG_COMMANDS section.
5237#
5238for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5239  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5240  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5241  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5242$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5243         X"$ac_dest" : 'X\(//\)[^/]' \| \
5244         X"$ac_dest" : 'X\(//\)$' \| \
5245         X"$ac_dest" : 'X\(/\)' \| \
5246         .     : '\(.\)' 2>/dev/null ||
5247echo X"$ac_dest" |
5248    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5249          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5250          /^X\(\/\/\)$/{ s//\1/; q; }
5251          /^X\(\/\).*/{ s//\1/; q; }
5252          s/.*/./; q'`
5253  { if $as_mkdir_p; then
5254    mkdir -p "$ac_dir"
5255  else
5256    as_dir="$ac_dir"
5257    as_dirs=
5258    while test ! -d "$as_dir"; do
5259      as_dirs="$as_dir $as_dirs"
5260      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5261$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5262         X"$as_dir" : 'X\(//\)[^/]' \| \
5263         X"$as_dir" : 'X\(//\)$' \| \
5264         X"$as_dir" : 'X\(/\)' \| \
5265         .     : '\(.\)' 2>/dev/null ||
5266echo X"$as_dir" |
5267    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5268          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5269          /^X\(\/\/\)$/{ s//\1/; q; }
5270          /^X\(\/\).*/{ s//\1/; q; }
5271          s/.*/./; q'`
5272    done
5273    test ! -n "$as_dirs" || mkdir $as_dirs
5274  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5275echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5276   { (exit 1); exit 1; }; }; }
5277
5278  ac_builddir=.
5279
5280if test "$ac_dir" != .; then
5281  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5282  # A "../" for each directory in $ac_dir_suffix.
5283  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5284else
5285  ac_dir_suffix= ac_top_builddir=
5286fi
5287
5288case $srcdir in
5289  .)  # No --srcdir option.  We are building in place.
5290    ac_srcdir=.
5291    if test -z "$ac_top_builddir"; then
5292       ac_top_srcdir=.
5293    else
5294       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5295    fi ;;
5296  [\\/]* | ?:[\\/]* )  # Absolute path.
5297    ac_srcdir=$srcdir$ac_dir_suffix;
5298    ac_top_srcdir=$srcdir ;;
5299  *) # Relative path.
5300    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5301    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5302esac
5303
5304# Do not use `cd foo && pwd` to compute absolute paths, because
5305# the directories may not exist.
5306case `pwd` in
5307.) ac_abs_builddir="$ac_dir";;
5308*)
5309  case "$ac_dir" in
5310  .) ac_abs_builddir=`pwd`;;
5311  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5312  *) ac_abs_builddir=`pwd`/"$ac_dir";;
5313  esac;;
5314esac
5315case $ac_abs_builddir in
5316.) ac_abs_top_builddir=${ac_top_builddir}.;;
5317*)
5318  case ${ac_top_builddir}. in
5319  .) ac_abs_top_builddir=$ac_abs_builddir;;
5320  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5321  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5322  esac;;
5323esac
5324case $ac_abs_builddir in
5325.) ac_abs_srcdir=$ac_srcdir;;
5326*)
5327  case $ac_srcdir in
5328  .) ac_abs_srcdir=$ac_abs_builddir;;
5329  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5330  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5331  esac;;
5332esac
5333case $ac_abs_builddir in
5334.) ac_abs_top_srcdir=$ac_top_srcdir;;
5335*)
5336  case $ac_top_srcdir in
5337  .) ac_abs_top_srcdir=$ac_abs_builddir;;
5338  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5339  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5340  esac;;
5341esac
5342
5343
5344  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5345echo "$as_me: executing $ac_dest commands" >&6;}
5346  case $ac_dest in
5347    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5348  # Strip MF so we end up with the name of the file.
5349  mf=`echo "$mf" | sed -e 's/:.*$//'`
5350  # Check whether this is an Automake generated Makefile or not.
5351  # We used to match only the files named `Makefile.in', but
5352  # some people rename them; so instead we look at the file content.
5353  # Grep'ing the first line is not enough: some people post-process
5354  # each Makefile.in and add a new line on top of each file to say so.
5355  # So let's grep whole file.
5356  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5357    dirpart=`(dirname "$mf") 2>/dev/null ||
5358$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5359         X"$mf" : 'X\(//\)[^/]' \| \
5360         X"$mf" : 'X\(//\)$' \| \
5361         X"$mf" : 'X\(/\)' \| \
5362         .     : '\(.\)' 2>/dev/null ||
5363echo X"$mf" |
5364    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5365          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5366          /^X\(\/\/\)$/{ s//\1/; q; }
5367          /^X\(\/\).*/{ s//\1/; q; }
5368          s/.*/./; q'`
5369  else
5370    continue
5371  fi
5372  # Extract the definition of DEPDIR, am__include, and am__quote
5373  # from the Makefile without running `make'.
5374  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5375  test -z "$DEPDIR" && continue
5376  am__include=`sed -n 's/^am__include = //p' < "$mf"`
5377  test -z "am__include" && continue
5378  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5379  # When using ansi2knr, U may be empty or an underscore; expand it
5380  U=`sed -n 's/^U = //p' < "$mf"`
5381  # Find all dependency output files, they are included files with
5382  # $(DEPDIR) in their names.  We invoke sed twice because it is the
5383  # simplest approach to changing $(DEPDIR) to its actual value in the
5384  # expansion.
5385  for file in `sed -n "
5386    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5387       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5388    # Make sure the directory exists.
5389    test -f "$dirpart/$file" && continue
5390    fdir=`(dirname "$file") 2>/dev/null ||
5391$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5392         X"$file" : 'X\(//\)[^/]' \| \
5393         X"$file" : 'X\(//\)$' \| \
5394         X"$file" : 'X\(/\)' \| \
5395         .     : '\(.\)' 2>/dev/null ||
5396echo X"$file" |
5397    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5398          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5399          /^X\(\/\/\)$/{ s//\1/; q; }
5400          /^X\(\/\).*/{ s//\1/; q; }
5401          s/.*/./; q'`
5402    { if $as_mkdir_p; then
5403    mkdir -p $dirpart/$fdir
5404  else
5405    as_dir=$dirpart/$fdir
5406    as_dirs=
5407    while test ! -d "$as_dir"; do
5408      as_dirs="$as_dir $as_dirs"
5409      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5410$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5411         X"$as_dir" : 'X\(//\)[^/]' \| \
5412         X"$as_dir" : 'X\(//\)$' \| \
5413         X"$as_dir" : 'X\(/\)' \| \
5414         .     : '\(.\)' 2>/dev/null ||
5415echo X"$as_dir" |
5416    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5417          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5418          /^X\(\/\/\)$/{ s//\1/; q; }
5419          /^X\(\/\).*/{ s//\1/; q; }
5420          s/.*/./; q'`
5421    done
5422    test ! -n "$as_dirs" || mkdir $as_dirs
5423  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5424echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5425   { (exit 1); exit 1; }; }; }
5426
5427    # echo "creating $dirpart/$file"
5428    echo '# dummy' > "$dirpart/$file"
5429  done
5430done
5431 ;;
5432  esac
5433done
5434_ACEOF
5435
5436cat >>$CONFIG_STATUS <<\_ACEOF
5437
5438{ (exit 0); exit 0; }
5439_ACEOF
5440chmod +x $CONFIG_STATUS
5441ac_clean_files=$ac_clean_files_save
5442
5443
5444# configure is writing to config.log, and then calls config.status.
5445# config.status does its own redirection, appending to config.log.
5446# Unfortunately, on DOS this fails, as config.log is still kept open
5447# by configure, so config.status won't be able to write to it; its
5448# output is simply discarded.  So we exec the FD to /dev/null,
5449# effectively closing config.log, so it can be properly (re)opened and
5450# appended to by config.status.  When coming back to configure, we
5451# need to make the FD available again.
5452if test "$no_create" != yes; then
5453  ac_cs_success=:
5454  ac_config_status_args=
5455  test "$silent" = yes &&
5456    ac_config_status_args="$ac_config_status_args --quiet"
5457  exec 5>/dev/null
5458  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5459  exec 5>>config.log
5460  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5461  # would make configure fail if this is the last instruction.
5462  $ac_cs_success || { (exit 1); exit 1; }
5463fi
5464
5465
5466  if test x"$coin_vpath_link_files" = x; then : ; else
5467    lnkcmd=
5468    if test "$enable_doscompile" = mingw; then
5469      lnkcmd=cp
5470    fi
5471    case "$CC" in
5472      cl* | */cl* | CL* | */CL*)
5473        lnkcmd=cp ;;
5474    esac
5475    if test "$lnkcmd" = cp; then
5476      { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5
5477echo "$as_me: Copying data files for VPATH configuration" >&6;}
5478    else
5479      echo "$as_me:$LINENO: checking whether ln -s works" >&5
5480echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5481LN_S=$as_ln_s
5482if test "$LN_S" = "ln -s"; then
5483  echo "$as_me:$LINENO: result: yes" >&5
5484echo "${ECHO_T}yes" >&6
5485else
5486  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5487echo "${ECHO_T}no, using $LN_S" >&6
5488fi
5489
5490      { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
5491echo "$as_me: Creating VPATH links for data files" >&6;}
5492      lnkcmd="$LN_S"
5493    fi
5494    for file in $coin_vpath_link_files; do
5495      dir=`(dirname "./$file") 2>/dev/null ||
5496$as_expr X"./$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5497         X"./$file" : 'X\(//\)[^/]' \| \
5498         X"./$file" : 'X\(//\)$' \| \
5499         X"./$file" : 'X\(/\)' \| \
5500         .     : '\(.\)' 2>/dev/null ||
5501echo X"./$file" |
5502    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5503          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5504          /^X\(\/\/\)$/{ s//\1/; q; }
5505          /^X\(\/\).*/{ s//\1/; q; }
5506          s/.*/./; q'`
5507      if test -d $dir; then : ; else
5508        { if $as_mkdir_p; then
5509    mkdir -p $dir
5510  else
5511    as_dir=$dir
5512    as_dirs=
5513    while test ! -d "$as_dir"; do
5514      as_dirs="$as_dir $as_dirs"
5515      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5516$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5517         X"$as_dir" : 'X\(//\)[^/]' \| \
5518         X"$as_dir" : 'X\(//\)$' \| \
5519         X"$as_dir" : 'X\(/\)' \| \
5520         .     : '\(.\)' 2>/dev/null ||
5521echo X"$as_dir" |
5522    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5523          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5524          /^X\(\/\/\)$/{ s//\1/; q; }
5525          /^X\(\/\).*/{ s//\1/; q; }
5526          s/.*/./; q'`
5527    done
5528    test ! -n "$as_dirs" || mkdir $as_dirs
5529  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dir" >&5
5530echo "$as_me: error: cannot create directory $dir" >&2;}
5531   { (exit 1); exit 1; }; }; }
5532
5533      fi
5534      rm -f $file
5535      $lnkcmd $abs_source_dir/$file $file
5536    done
5537  fi
5538
5539  if test x$coin_projectdir = xyes; then
5540    { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
5541echo "$as_me: Configuration of $PACKAGE_NAME successful" >&6;}
5542  else
5543    { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&5
5544echo "$as_me: Main configuration of $PACKAGE_NAME successful" >&6;}
5545  fi
5546else
5547  { echo "$as_me:$LINENO: No configuration of $PACKAGE_NAME necessary" >&5
5548echo "$as_me: No configuration of $PACKAGE_NAME necessary" >&6;}
5549fi
5550
5551
5552
5553# Finally, we need to make sure that compile_MS_ASL is executable
5554chmod a+x compile_MS_ASL
Note: See TracBrowser for help on using the repository browser.