source: ThirdParty/ASL/trunk/configure @ 282

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

fixing a few things for Cygwin compile with native MS/Intel compilers

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