source: trunk/configure @ 793

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

improved check for correct version of autotools

  • Property svn:executable set to *
File size: 101.9 KB
Line 
1#! /bin/sh
2# From configure.ac 0.9.
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.59 for Clp 0.1.
5#
6# Report bugs to <coin-clp@lists.coin-or.org>.
7#
8# Copyright (C) 2003 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11#
12#
13# Copyright 2006 International Business Machines and others.
14# All Rights Reserved.
15# This file is part of the open source package Coin which is distributed
16# under the Common Public License.
17## --------------------- ##
18## M4sh Initialization.  ##
19## --------------------- ##
20
21# Be Bourne compatible
22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23  emulate sh
24  NULLCMD=:
25  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26  # is contrary to our usage.  Disable this feature.
27  alias -g '${1+"$@"}'='"$@"'
28elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
29  set -o posix
30fi
31DUALCASE=1; export DUALCASE # for MKS sh
32
33# Support unset when possible.
34if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
35  as_unset=unset
36else
37  as_unset=false
38fi
39
40
41# Work around bugs in pre-3.0 UWIN ksh.
42$as_unset ENV MAIL MAILPATH
43PS1='$ '
44PS2='> '
45PS4='+ '
46
47# NLS nuisances.
48for as_var in \
49  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51  LC_TELEPHONE LC_TIME
52do
53  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
54    eval $as_var=C; export $as_var
55  else
56    $as_unset $as_var
57  fi
58done
59
60# Required to use basename.
61if expr a : '\(a\)' >/dev/null 2>&1; then
62  as_expr=expr
63else
64  as_expr=false
65fi
66
67if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
68  as_basename=basename
69else
70  as_basename=false
71fi
72
73
74# Name of the executable.
75as_me=`$as_basename "$0" ||
76$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
77         X"$0" : 'X\(//\)$' \| \
78         X"$0" : 'X\(/\)$' \| \
79         .     : '\(.\)' 2>/dev/null ||
80echo X/"$0" |
81    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
82          /^X\/\(\/\/\)$/{ s//\1/; q; }
83          /^X\/\(\/\).*/{ s//\1/; q; }
84          s/.*/./; q'`
85
86
87# PATH needs CR, and LINENO needs CR and PATH.
88# Avoid depending upon Character Ranges.
89as_cr_letters='abcdefghijklmnopqrstuvwxyz'
90as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
91as_cr_Letters=$as_cr_letters$as_cr_LETTERS
92as_cr_digits='0123456789'
93as_cr_alnum=$as_cr_Letters$as_cr_digits
94
95# The user is always right.
96if test "${PATH_SEPARATOR+set}" != set; then
97  echo "#! /bin/sh" >conf$$.sh
98  echo  "exit 0"   >>conf$$.sh
99  chmod +x conf$$.sh
100  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
101    PATH_SEPARATOR=';'
102  else
103    PATH_SEPARATOR=:
104  fi
105  rm -f conf$$.sh
106fi
107
108
109  as_lineno_1=$LINENO
110  as_lineno_2=$LINENO
111  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
112  test "x$as_lineno_1" != "x$as_lineno_2" &&
113  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
114  # Find who we are.  Look in the path if we contain no path at all
115  # relative or not.
116  case $0 in
117    *[\\/]* ) as_myself=$0 ;;
118    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
119for as_dir in $PATH
120do
121  IFS=$as_save_IFS
122  test -z "$as_dir" && as_dir=.
123  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
124done
125
126       ;;
127  esac
128  # We did not find ourselves, most probably we were run as `sh COMMAND'
129  # in which case we are not to be found in the path.
130  if test "x$as_myself" = x; then
131    as_myself=$0
132  fi
133  if test ! -f "$as_myself"; then
134    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
135   { (exit 1); exit 1; }; }
136  fi
137  case $CONFIG_SHELL in
138  '')
139    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
140for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
141do
142  IFS=$as_save_IFS
143  test -z "$as_dir" && as_dir=.
144  for as_base in sh bash ksh sh5; do
145         case $as_dir in
146         /*)
147           if ("$as_dir/$as_base" -c '
148  as_lineno_1=$LINENO
149  as_lineno_2=$LINENO
150  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
151  test "x$as_lineno_1" != "x$as_lineno_2" &&
152  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
153             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
154             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
155             CONFIG_SHELL=$as_dir/$as_base
156             export CONFIG_SHELL
157             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158           fi;;
159         esac
160       done
161done
162;;
163  esac
164
165  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
166  # uniformly replaced by the line number.  The first 'sed' inserts a
167  # line-number line before each line; the second 'sed' does the real
168  # work.  The second script uses 'N' to pair each line-number line
169  # with the numbered line, and appends trailing '-' during
170  # substitution so that $LINENO is not a special case at line end.
171  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
172  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
173  sed '=' <$as_myself |
174    sed '
175      N
176      s,$,-,
177      : loop
178      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
179      t loop
180      s,-$,,
181      s,^['$as_cr_digits']*\n,,
182    ' >$as_me.lineno &&
183  chmod +x $as_me.lineno ||
184    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
185   { (exit 1); exit 1; }; }
186
187  # Don't try to exec as it changes $[0], causing all sort of problems
188  # (the dirname of $[0] is not the place where we might find the
189  # original and so on.  Autoconf is especially sensible to this).
190  . ./$as_me.lineno
191  # Exit status is that of the last command.
192  exit
193}
194
195
196case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
197  *c*,-n*) ECHO_N= ECHO_C='
198' ECHO_T='      ' ;;
199  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
200  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
201esac
202
203if expr a : '\(a\)' >/dev/null 2>&1; then
204  as_expr=expr
205else
206  as_expr=false
207fi
208
209rm -f conf$$ conf$$.exe conf$$.file
210echo >conf$$.file
211if ln -s conf$$.file conf$$ 2>/dev/null; then
212  # We could just check for DJGPP; but this test a) works b) is more generic
213  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
214  if test -f conf$$.exe; then
215    # Don't use ln at all; we don't have any links
216    as_ln_s='cp -p'
217  else
218    as_ln_s='ln -s'
219  fi
220elif ln conf$$.file conf$$ 2>/dev/null; then
221  as_ln_s=ln
222else
223  as_ln_s='cp -p'
224fi
225rm -f conf$$ conf$$.exe conf$$.file
226
227if mkdir -p . 2>/dev/null; then
228  as_mkdir_p=:
229else
230  test -d ./-p && rmdir ./-p
231  as_mkdir_p=false
232fi
233
234as_executable_p="test -f"
235
236# Sed expression to map a string onto a valid CPP name.
237as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
238
239# Sed expression to map a string onto a valid variable name.
240as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
241
242
243# IFS
244# We need space, tab and new line, in precisely that order.
245as_nl='
246'
247IFS="   $as_nl"
248
249# CDPATH.
250$as_unset CDPATH
251
252
253# Name of the host.
254# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
255# so uname gets run too.
256ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
257
258exec 6>&1
259
260#
261# Initializations.
262#
263ac_default_prefix=/usr/local
264ac_config_libobj_dir=.
265cross_compiling=no
266subdirs=
267MFLAGS=
268MAKEFLAGS=
269SHELL=${CONFIG_SHELL-/bin/sh}
270
271# Maximum number of lines to put in a shell here document.
272# This variable seems obsolete.  It should probably be removed, and
273# only ac_max_sed_lines should be used.
274: ${ac_max_here_lines=38}
275
276# Identity of this package.
277PACKAGE_NAME='Clp'
278PACKAGE_TARNAME='clp'
279PACKAGE_VERSION='0.1'
280PACKAGE_STRING='Clp 0.1'
281PACKAGE_BUGREPORT='coin-clp@lists.coin-or.org'
282
283ac_unique_file="configure.ac"
284ac_default_prefix=`pwd`
285ac_subdirs_all="$ac_subdirs_all CoinUtils"
286ac_subdirs_all="$ac_subdirs_all Data/Netlib"
287ac_subdirs_all="$ac_subdirs_all Data/Sample"
288ac_subdirs_all="$ac_subdirs_all Clp"
289ac_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 EGREP 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake BUILDTOOLSDIR AUX_DIR HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE subdirs LIBOBJS LTLIBOBJS VPATH_DISTCLEANFILES'
290ac_subst_files=''
291
292# Initialize some variables set by options.
293ac_init_help=
294ac_init_version=false
295# The variables have the same names as the options, with
296# dashes changed to underlines.
297cache_file=/dev/null
298exec_prefix=NONE
299no_create=
300no_recursion=
301prefix=NONE
302program_prefix=NONE
303program_suffix=NONE
304program_transform_name=s,x,x,
305silent=
306site=
307srcdir=
308verbose=
309x_includes=NONE
310x_libraries=NONE
311
312# Installation directory options.
313# These are left unexpanded so users can "make install exec_prefix=/foo"
314# and all the variables that are supposed to be based on exec_prefix
315# by default will actually change.
316# Use braces instead of parens because sh, perl, etc. also accept them.
317bindir='${exec_prefix}/bin'
318sbindir='${exec_prefix}/sbin'
319libexecdir='${exec_prefix}/libexec'
320datadir='${prefix}/share'
321sysconfdir='${prefix}/etc'
322sharedstatedir='${prefix}/com'
323localstatedir='${prefix}/var'
324libdir='${exec_prefix}/lib'
325includedir='${prefix}/include'
326oldincludedir='/usr/include'
327infodir='${prefix}/info'
328mandir='${prefix}/man'
329
330ac_prev=
331for ac_option
332do
333  # If the previous option needs an argument, assign it.
334  if test -n "$ac_prev"; then
335    eval "$ac_prev=\$ac_option"
336    ac_prev=
337    continue
338  fi
339
340  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
341
342  # Accept the important Cygnus configure options, so we can diagnose typos.
343
344  case $ac_option in
345
346  -bindir | --bindir | --bindi | --bind | --bin | --bi)
347    ac_prev=bindir ;;
348  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
349    bindir=$ac_optarg ;;
350
351  -build | --build | --buil | --bui | --bu)
352    ac_prev=build_alias ;;
353  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
354    build_alias=$ac_optarg ;;
355
356  -cache-file | --cache-file | --cache-fil | --cache-fi \
357  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
358    ac_prev=cache_file ;;
359  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
360  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
361    cache_file=$ac_optarg ;;
362
363  --config-cache | -C)
364    cache_file=config.cache ;;
365
366  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
367    ac_prev=datadir ;;
368  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
369  | --da=*)
370    datadir=$ac_optarg ;;
371
372  -disable-* | --disable-*)
373    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
374    # Reject names that are not valid shell variable names.
375    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
376      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
377   { (exit 1); exit 1; }; }
378    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
379    eval "enable_$ac_feature=no" ;;
380
381  -enable-* | --enable-*)
382    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
383    # Reject names that are not valid shell variable names.
384    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
385      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
386   { (exit 1); exit 1; }; }
387    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
388    case $ac_option in
389      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
390      *) ac_optarg=yes ;;
391    esac
392    eval "enable_$ac_feature='$ac_optarg'" ;;
393
394  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
395  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
396  | --exec | --exe | --ex)
397    ac_prev=exec_prefix ;;
398  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
399  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
400  | --exec=* | --exe=* | --ex=*)
401    exec_prefix=$ac_optarg ;;
402
403  -gas | --gas | --ga | --g)
404    # Obsolete; use --with-gas.
405    with_gas=yes ;;
406
407  -help | --help | --hel | --he | -h)
408    ac_init_help=long ;;
409  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
410    ac_init_help=recursive ;;
411  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
412    ac_init_help=short ;;
413
414  -host | --host | --hos | --ho)
415    ac_prev=host_alias ;;
416  -host=* | --host=* | --hos=* | --ho=*)
417    host_alias=$ac_optarg ;;
418
419  -includedir | --includedir | --includedi | --included | --include \
420  | --includ | --inclu | --incl | --inc)
421    ac_prev=includedir ;;
422  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
423  | --includ=* | --inclu=* | --incl=* | --inc=*)
424    includedir=$ac_optarg ;;
425
426  -infodir | --infodir | --infodi | --infod | --info | --inf)
427    ac_prev=infodir ;;
428  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
429    infodir=$ac_optarg ;;
430
431  -libdir | --libdir | --libdi | --libd)
432    ac_prev=libdir ;;
433  -libdir=* | --libdir=* | --libdi=* | --libd=*)
434    libdir=$ac_optarg ;;
435
436  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
437  | --libexe | --libex | --libe)
438    ac_prev=libexecdir ;;
439  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
440  | --libexe=* | --libex=* | --libe=*)
441    libexecdir=$ac_optarg ;;
442
443  -localstatedir | --localstatedir | --localstatedi | --localstated \
444  | --localstate | --localstat | --localsta | --localst \
445  | --locals | --local | --loca | --loc | --lo)
446    ac_prev=localstatedir ;;
447  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
448  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
449  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
450    localstatedir=$ac_optarg ;;
451
452  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
453    ac_prev=mandir ;;
454  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
455    mandir=$ac_optarg ;;
456
457  -nfp | --nfp | --nf)
458    # Obsolete; use --without-fp.
459    with_fp=no ;;
460
461  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
462  | --no-cr | --no-c | -n)
463    no_create=yes ;;
464
465  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
466  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
467    no_recursion=yes ;;
468
469  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
470  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
471  | --oldin | --oldi | --old | --ol | --o)
472    ac_prev=oldincludedir ;;
473  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
474  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
475  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
476    oldincludedir=$ac_optarg ;;
477
478  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
479    ac_prev=prefix ;;
480  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
481    prefix=$ac_optarg ;;
482
483  -program-prefix | --program-prefix | --program-prefi | --program-pref \
484  | --program-pre | --program-pr | --program-p)
485    ac_prev=program_prefix ;;
486  -program-prefix=* | --program-prefix=* | --program-prefi=* \
487  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
488    program_prefix=$ac_optarg ;;
489
490  -program-suffix | --program-suffix | --program-suffi | --program-suff \
491  | --program-suf | --program-su | --program-s)
492    ac_prev=program_suffix ;;
493  -program-suffix=* | --program-suffix=* | --program-suffi=* \
494  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
495    program_suffix=$ac_optarg ;;
496
497  -program-transform-name | --program-transform-name \
498  | --program-transform-nam | --program-transform-na \
499  | --program-transform-n | --program-transform- \
500  | --program-transform | --program-transfor \
501  | --program-transfo | --program-transf \
502  | --program-trans | --program-tran \
503  | --progr-tra | --program-tr | --program-t)
504    ac_prev=program_transform_name ;;
505  -program-transform-name=* | --program-transform-name=* \
506  | --program-transform-nam=* | --program-transform-na=* \
507  | --program-transform-n=* | --program-transform-=* \
508  | --program-transform=* | --program-transfor=* \
509  | --program-transfo=* | --program-transf=* \
510  | --program-trans=* | --program-tran=* \
511  | --progr-tra=* | --program-tr=* | --program-t=*)
512    program_transform_name=$ac_optarg ;;
513
514  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
515  | -silent | --silent | --silen | --sile | --sil)
516    silent=yes ;;
517
518  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
519    ac_prev=sbindir ;;
520  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
521  | --sbi=* | --sb=*)
522    sbindir=$ac_optarg ;;
523
524  -sharedstatedir | --sharedstatedir | --sharedstatedi \
525  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
526  | --sharedst | --shareds | --shared | --share | --shar \
527  | --sha | --sh)
528    ac_prev=sharedstatedir ;;
529  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
530  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
531  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
532  | --sha=* | --sh=*)
533    sharedstatedir=$ac_optarg ;;
534
535  -site | --site | --sit)
536    ac_prev=site ;;
537  -site=* | --site=* | --sit=*)
538    site=$ac_optarg ;;
539
540  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
541    ac_prev=srcdir ;;
542  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
543    srcdir=$ac_optarg ;;
544
545  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
546  | --syscon | --sysco | --sysc | --sys | --sy)
547    ac_prev=sysconfdir ;;
548  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
549  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
550    sysconfdir=$ac_optarg ;;
551
552  -target | --target | --targe | --targ | --tar | --ta | --t)
553    ac_prev=target_alias ;;
554  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
555    target_alias=$ac_optarg ;;
556
557  -v | -verbose | --verbose | --verbos | --verbo | --verb)
558    verbose=yes ;;
559
560  -version | --version | --versio | --versi | --vers | -V)
561    ac_init_version=: ;;
562
563  -with-* | --with-*)
564    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
565    # Reject names that are not valid shell variable names.
566    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567      { echo "$as_me: error: invalid package name: $ac_package" >&2
568   { (exit 1); exit 1; }; }
569    ac_package=`echo $ac_package| sed 's/-/_/g'`
570    case $ac_option in
571      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
572      *) ac_optarg=yes ;;
573    esac
574    eval "with_$ac_package='$ac_optarg'" ;;
575
576  -without-* | --without-*)
577    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
578    # Reject names that are not valid shell variable names.
579    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
580      { echo "$as_me: error: invalid package name: $ac_package" >&2
581   { (exit 1); exit 1; }; }
582    ac_package=`echo $ac_package | sed 's/-/_/g'`
583    eval "with_$ac_package=no" ;;
584
585  --x)
586    # Obsolete; use --with-x.
587    with_x=yes ;;
588
589  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
590  | --x-incl | --x-inc | --x-in | --x-i)
591    ac_prev=x_includes ;;
592  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
593  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
594    x_includes=$ac_optarg ;;
595
596  -x-libraries | --x-libraries | --x-librarie | --x-librari \
597  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
598    ac_prev=x_libraries ;;
599  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
600  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
601    x_libraries=$ac_optarg ;;
602
603  -*) { echo "$as_me: error: unrecognized option: $ac_option
604Try \`$0 --help' for more information." >&2
605   { (exit 1); exit 1; }; }
606    ;;
607
608  *=*)
609    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
610    # Reject names that are not valid shell variable names.
611    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
612      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
613   { (exit 1); exit 1; }; }
614    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
615    eval "$ac_envvar='$ac_optarg'"
616    export $ac_envvar ;;
617
618  *)
619    # FIXME: should be removed in autoconf 3.0.
620    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
621    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
622      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
623    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
624    ;;
625
626  esac
627done
628
629if test -n "$ac_prev"; then
630  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
631  { echo "$as_me: error: missing argument to $ac_option" >&2
632   { (exit 1); exit 1; }; }
633fi
634
635# Be sure to have absolute paths.
636for ac_var in exec_prefix prefix
637do
638  eval ac_val=$`echo $ac_var`
639  case $ac_val in
640    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
641    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
642   { (exit 1); exit 1; }; };;
643  esac
644done
645
646# Be sure to have absolute paths.
647for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
648              localstatedir libdir includedir oldincludedir infodir mandir
649do
650  eval ac_val=$`echo $ac_var`
651  case $ac_val in
652    [\\/$]* | ?:[\\/]* ) ;;
653    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
654   { (exit 1); exit 1; }; };;
655  esac
656done
657
658# There might be people who depend on the old broken behavior: `$host'
659# used to hold the argument of --host etc.
660# FIXME: To remove some day.
661build=$build_alias
662host=$host_alias
663target=$target_alias
664
665# FIXME: To remove some day.
666if test "x$host_alias" != x; then
667  if test "x$build_alias" = x; then
668    cross_compiling=maybe
669    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
670    If a cross compiler is detected then cross compile mode will be used." >&2
671  elif test "x$build_alias" != "x$host_alias"; then
672    cross_compiling=yes
673  fi
674fi
675
676ac_tool_prefix=
677test -n "$host_alias" && ac_tool_prefix=$host_alias-
678
679test "$silent" = yes && exec 6>/dev/null
680
681
682# Find the source files, if location was not specified.
683if test -z "$srcdir"; then
684  ac_srcdir_defaulted=yes
685  # Try the directory containing this script, then its parent.
686  ac_confdir=`(dirname "$0") 2>/dev/null ||
687$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
688         X"$0" : 'X\(//\)[^/]' \| \
689         X"$0" : 'X\(//\)$' \| \
690         X"$0" : 'X\(/\)' \| \
691         .     : '\(.\)' 2>/dev/null ||
692echo X"$0" |
693    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
694          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
695          /^X\(\/\/\)$/{ s//\1/; q; }
696          /^X\(\/\).*/{ s//\1/; q; }
697          s/.*/./; q'`
698  srcdir=$ac_confdir
699  if test ! -r $srcdir/$ac_unique_file; then
700    srcdir=..
701  fi
702else
703  ac_srcdir_defaulted=no
704fi
705if test ! -r $srcdir/$ac_unique_file; then
706  if test "$ac_srcdir_defaulted" = yes; then
707    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
708   { (exit 1); exit 1; }; }
709  else
710    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
711   { (exit 1); exit 1; }; }
712  fi
713fi
714(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
715  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
716   { (exit 1); exit 1; }; }
717srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
718ac_env_build_alias_set=${build_alias+set}
719ac_env_build_alias_value=$build_alias
720ac_cv_env_build_alias_set=${build_alias+set}
721ac_cv_env_build_alias_value=$build_alias
722ac_env_host_alias_set=${host_alias+set}
723ac_env_host_alias_value=$host_alias
724ac_cv_env_host_alias_set=${host_alias+set}
725ac_cv_env_host_alias_value=$host_alias
726ac_env_target_alias_set=${target_alias+set}
727ac_env_target_alias_value=$target_alias
728ac_cv_env_target_alias_set=${target_alias+set}
729ac_cv_env_target_alias_value=$target_alias
730
731#
732# Report the --help message.
733#
734if test "$ac_init_help" = "long"; then
735  # Omit some internal or obsolete options to make the list less imposing.
736  # This message is too long to be a string in the A/UX 3.1 sh.
737  cat <<_ACEOF
738\`configure' configures Clp 0.1 to adapt to many kinds of systems.
739
740Usage: $0 [OPTION]... [VAR=VALUE]...
741
742To assign environment variables (e.g., CC, CFLAGS...), specify them as
743VAR=VALUE.  See below for descriptions of some of the useful variables.
744
745Defaults for the options are specified in brackets.
746
747Configuration:
748  -h, --help              display this help and exit
749      --help=short        display options specific to this package
750      --help=recursive    display the short help of all the included packages
751  -V, --version           display version information and exit
752  -q, --quiet, --silent   do not print \`checking...' messages
753      --cache-file=FILE   cache test results in FILE [disabled]
754  -C, --config-cache      alias for \`--cache-file=config.cache'
755  -n, --no-create         do not create output files
756      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
757
758_ACEOF
759
760  cat <<_ACEOF
761Installation directories:
762  --prefix=PREFIX         install architecture-independent files in PREFIX
763                          [$ac_default_prefix]
764  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
765                          [PREFIX]
766
767By default, \`make install' will install all the files in
768\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
769an installation prefix other than \`$ac_default_prefix' using \`--prefix',
770for instance \`--prefix=\$HOME'.
771
772For better control, use the options below.
773
774Fine tuning of the installation directories:
775  --bindir=DIR           user executables [EPREFIX/bin]
776  --sbindir=DIR          system admin executables [EPREFIX/sbin]
777  --libexecdir=DIR       program executables [EPREFIX/libexec]
778  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
779  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
780  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
781  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
782  --libdir=DIR           object code libraries [EPREFIX/lib]
783  --includedir=DIR       C header files [PREFIX/include]
784  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
785  --infodir=DIR          info documentation [PREFIX/info]
786  --mandir=DIR           man documentation [PREFIX/man]
787_ACEOF
788
789  cat <<\_ACEOF
790
791Program names:
792  --program-prefix=PREFIX            prepend PREFIX to installed program names
793  --program-suffix=SUFFIX            append SUFFIX to installed program names
794  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
795_ACEOF
796fi
797
798if test -n "$ac_init_help"; then
799  case $ac_init_help in
800     short | recursive ) echo "Configuration of Clp 0.1:";;
801   esac
802  cat <<\_ACEOF
803
804Optional Features:
805  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
806  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
807  --enable-maintainer-mode  enable make rules and dependencies not useful
808                          (and sometimes confusing) to the casual installer
809
810Report bugs to <coin-clp@lists.coin-or.org>.
811_ACEOF
812fi
813
814if test "$ac_init_help" = "recursive"; then
815  # If there are subdirs, report their specific --help.
816  ac_popdir=`pwd`
817  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
818    test -d $ac_dir || continue
819    ac_builddir=.
820
821if test "$ac_dir" != .; then
822  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
823  # A "../" for each directory in $ac_dir_suffix.
824  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
825else
826  ac_dir_suffix= ac_top_builddir=
827fi
828
829case $srcdir in
830  .)  # No --srcdir option.  We are building in place.
831    ac_srcdir=.
832    if test -z "$ac_top_builddir"; then
833       ac_top_srcdir=.
834    else
835       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
836    fi ;;
837  [\\/]* | ?:[\\/]* )  # Absolute path.
838    ac_srcdir=$srcdir$ac_dir_suffix;
839    ac_top_srcdir=$srcdir ;;
840  *) # Relative path.
841    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
842    ac_top_srcdir=$ac_top_builddir$srcdir ;;
843esac
844
845# Do not use `cd foo && pwd` to compute absolute paths, because
846# the directories may not exist.
847case `pwd` in
848.) ac_abs_builddir="$ac_dir";;
849*)
850  case "$ac_dir" in
851  .) ac_abs_builddir=`pwd`;;
852  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
853  *) ac_abs_builddir=`pwd`/"$ac_dir";;
854  esac;;
855esac
856case $ac_abs_builddir in
857.) ac_abs_top_builddir=${ac_top_builddir}.;;
858*)
859  case ${ac_top_builddir}. in
860  .) ac_abs_top_builddir=$ac_abs_builddir;;
861  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
862  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
863  esac;;
864esac
865case $ac_abs_builddir in
866.) ac_abs_srcdir=$ac_srcdir;;
867*)
868  case $ac_srcdir in
869  .) ac_abs_srcdir=$ac_abs_builddir;;
870  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
871  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
872  esac;;
873esac
874case $ac_abs_builddir in
875.) ac_abs_top_srcdir=$ac_top_srcdir;;
876*)
877  case $ac_top_srcdir in
878  .) ac_abs_top_srcdir=$ac_abs_builddir;;
879  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
880  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
881  esac;;
882esac
883
884    cd $ac_dir
885    # Check for guested configure; otherwise get Cygnus style configure.
886    if test -f $ac_srcdir/configure.gnu; then
887      echo
888      $SHELL $ac_srcdir/configure.gnu  --help=recursive
889    elif test -f $ac_srcdir/configure; then
890      echo
891      $SHELL $ac_srcdir/configure  --help=recursive
892    elif test -f $ac_srcdir/configure.ac ||
893           test -f $ac_srcdir/configure.in; then
894      echo
895      $ac_configure --help
896    else
897      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
898    fi
899    cd $ac_popdir
900  done
901fi
902
903test -n "$ac_init_help" && exit 0
904if $ac_init_version; then
905  cat <<\_ACEOF
906Clp configure 0.1
907generated by GNU Autoconf 2.59
908
909Copyright (C) 2003 Free Software Foundation, Inc.
910This configure script is free software; the Free Software Foundation
911gives unlimited permission to copy, distribute and modify it.
912
913
914Copyright 2006 International Business Machines and others.
915All Rights Reserved.
916This file is part of the open source package Coin which is distributed
917under the Common Public License.
918_ACEOF
919  exit 0
920fi
921exec 5>config.log
922cat >&5 <<_ACEOF
923This file contains any messages produced by compilers while
924running configure, to aid debugging if configure makes a mistake.
925
926It was created by Clp $as_me 0.1, which was
927generated by GNU Autoconf 2.59.  Invocation command line was
928
929  $ $0 $@
930
931_ACEOF
932{
933cat <<_ASUNAME
934## --------- ##
935## Platform. ##
936## --------- ##
937
938hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
939uname -m = `(uname -m) 2>/dev/null || echo unknown`
940uname -r = `(uname -r) 2>/dev/null || echo unknown`
941uname -s = `(uname -s) 2>/dev/null || echo unknown`
942uname -v = `(uname -v) 2>/dev/null || echo unknown`
943
944/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
945/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
946
947/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
948/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
949/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
950hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
951/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
952/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
953/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
954
955_ASUNAME
956
957as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
958for as_dir in $PATH
959do
960  IFS=$as_save_IFS
961  test -z "$as_dir" && as_dir=.
962  echo "PATH: $as_dir"
963done
964
965} >&5
966
967cat >&5 <<_ACEOF
968
969
970## ----------- ##
971## Core tests. ##
972## ----------- ##
973
974_ACEOF
975
976
977# Keep a trace of the command line.
978# Strip out --no-create and --no-recursion so they do not pile up.
979# Strip out --silent because we don't want to record it for future runs.
980# Also quote any args containing shell meta-characters.
981# Make two passes to allow for proper duplicate-argument suppression.
982ac_configure_args=
983ac_configure_args0=
984ac_configure_args1=
985ac_sep=
986ac_must_keep_next=false
987for ac_pass in 1 2
988do
989  for ac_arg
990  do
991    case $ac_arg in
992    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
993    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
994    | -silent | --silent | --silen | --sile | --sil)
995      continue ;;
996    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
997      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
998    esac
999    case $ac_pass in
1000    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1001    2)
1002      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1003      if test $ac_must_keep_next = true; then
1004        ac_must_keep_next=false # Got value, back to normal.
1005      else
1006        case $ac_arg in
1007          *=* | --config-cache | -C | -disable-* | --disable-* \
1008          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1009          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1010          | -with-* | --with-* | -without-* | --without-* | --x)
1011            case "$ac_configure_args0 " in
1012              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1013            esac
1014            ;;
1015          -* ) ac_must_keep_next=true ;;
1016        esac
1017      fi
1018      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1019      # Get rid of the leading space.
1020      ac_sep=" "
1021      ;;
1022    esac
1023  done
1024done
1025$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1026$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1027
1028# When interrupted or exit'd, cleanup temporary files, and complete
1029# config.log.  We remove comments because anyway the quotes in there
1030# would cause problems or look ugly.
1031# WARNING: Be sure not to use single quotes in there, as some shells,
1032# such as our DU 5.0 friend, will then `close' the trap.
1033trap 'exit_status=$?
1034  # Save into config.log some information that might help in debugging.
1035  {
1036    echo
1037
1038    cat <<\_ASBOX
1039## ---------------- ##
1040## Cache variables. ##
1041## ---------------- ##
1042_ASBOX
1043    echo
1044    # The following way of writing the cache mishandles newlines in values,
1045{
1046  (set) 2>&1 |
1047    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1048    *ac_space=\ *)
1049      sed -n \
1050        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1051          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1052      ;;
1053    *)
1054      sed -n \
1055        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1056      ;;
1057    esac;
1058}
1059    echo
1060
1061    cat <<\_ASBOX
1062## ----------------- ##
1063## Output variables. ##
1064## ----------------- ##
1065_ASBOX
1066    echo
1067    for ac_var in $ac_subst_vars
1068    do
1069      eval ac_val=$`echo $ac_var`
1070      echo "$ac_var='"'"'$ac_val'"'"'"
1071    done | sort
1072    echo
1073
1074    if test -n "$ac_subst_files"; then
1075      cat <<\_ASBOX
1076## ------------- ##
1077## Output files. ##
1078## ------------- ##
1079_ASBOX
1080      echo
1081      for ac_var in $ac_subst_files
1082      do
1083        eval ac_val=$`echo $ac_var`
1084        echo "$ac_var='"'"'$ac_val'"'"'"
1085      done | sort
1086      echo
1087    fi
1088
1089    if test -s confdefs.h; then
1090      cat <<\_ASBOX
1091## ----------- ##
1092## confdefs.h. ##
1093## ----------- ##
1094_ASBOX
1095      echo
1096      sed "/^$/d" confdefs.h | sort
1097      echo
1098    fi
1099    test "$ac_signal" != 0 &&
1100      echo "$as_me: caught signal $ac_signal"
1101    echo "$as_me: exit $exit_status"
1102  } >&5
1103  rm -f core *.core &&
1104  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1105    exit $exit_status
1106     ' 0
1107for ac_signal in 1 2 13 15; do
1108  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1109done
1110ac_signal=0
1111
1112# confdefs.h avoids OS command line length limits that DEFS can exceed.
1113rm -rf conftest* confdefs.h
1114# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1115echo >confdefs.h
1116
1117# Predefined preprocessor variables.
1118
1119cat >>confdefs.h <<_ACEOF
1120#define PACKAGE_NAME "$PACKAGE_NAME"
1121_ACEOF
1122
1123
1124cat >>confdefs.h <<_ACEOF
1125#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1126_ACEOF
1127
1128
1129cat >>confdefs.h <<_ACEOF
1130#define PACKAGE_VERSION "$PACKAGE_VERSION"
1131_ACEOF
1132
1133
1134cat >>confdefs.h <<_ACEOF
1135#define PACKAGE_STRING "$PACKAGE_STRING"
1136_ACEOF
1137
1138
1139cat >>confdefs.h <<_ACEOF
1140#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1141_ACEOF
1142
1143
1144# Let the site file select an alternate cache file if it wants to.
1145# Prefer explicitly selected file to automatically selected ones.
1146if test -z "$CONFIG_SITE"; then
1147  if test "x$prefix" != xNONE; then
1148    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1149  else
1150    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1151  fi
1152fi
1153for ac_site_file in $CONFIG_SITE; do
1154  if test -r "$ac_site_file"; then
1155    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1156echo "$as_me: loading site script $ac_site_file" >&6;}
1157    sed 's/^/| /' "$ac_site_file" >&5
1158    . "$ac_site_file"
1159  fi
1160done
1161
1162if test -r "$cache_file"; then
1163  # Some versions of bash will fail to source /dev/null (special
1164  # files actually), so we avoid doing that.
1165  if test -f "$cache_file"; then
1166    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1167echo "$as_me: loading cache $cache_file" >&6;}
1168    case $cache_file in
1169      [\\/]* | ?:[\\/]* ) . $cache_file;;
1170      *)                      . ./$cache_file;;
1171    esac
1172  fi
1173else
1174  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1175echo "$as_me: creating cache $cache_file" >&6;}
1176  >$cache_file
1177fi
1178
1179# Check that the precious variables saved in the cache have kept the same
1180# value.
1181ac_cache_corrupted=false
1182for ac_var in `(set) 2>&1 |
1183               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1184  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1185  eval ac_new_set=\$ac_env_${ac_var}_set
1186  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1187  eval ac_new_val="\$ac_env_${ac_var}_value"
1188  case $ac_old_set,$ac_new_set in
1189    set,)
1190      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1191echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1192      ac_cache_corrupted=: ;;
1193    ,set)
1194      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1195echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1196      ac_cache_corrupted=: ;;
1197    ,);;
1198    *)
1199      if test "x$ac_old_val" != "x$ac_new_val"; then
1200        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1201echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1202        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1203echo "$as_me:   former value:  $ac_old_val" >&2;}
1204        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1205echo "$as_me:   current value: $ac_new_val" >&2;}
1206        ac_cache_corrupted=:
1207      fi;;
1208  esac
1209  # Pass precious variables to config.status.
1210  if test "$ac_new_set" = set; then
1211    case $ac_new_val in
1212    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1213      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1214    *) ac_arg=$ac_var=$ac_new_val ;;
1215    esac
1216    case " $ac_configure_args " in
1217      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1218      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1219    esac
1220  fi
1221done
1222if $ac_cache_corrupted; then
1223  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1224echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1225  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1226echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1227   { (exit 1); exit 1; }; }
1228fi
1229
1230ac_ext=c
1231ac_cpp='$CPP $CPPFLAGS'
1232ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1233ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1234ac_compiler_gnu=$ac_cv_c_compiler_gnu
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267# List one file in the package so that the configure script can test
1268# whether the package is actually there
1269
1270
1271# Where should everything be installed by default?  Here, we want it
1272# to be installed directly in 'bin', 'lib', 'include' subdirectories
1273# of the directory where configure is run.  The default would be
1274# /usr/local.
1275
1276
1277#############################################################################
1278#     We only need automake to generate Makefiles for the distribution      #
1279#############################################################################
1280
1281# Initialize automake
1282echo "$as_me:$LINENO: checking for egrep" >&5
1283echo $ECHO_N "checking for egrep... $ECHO_C" >&6
1284if test "${ac_cv_prog_egrep+set}" = set; then
1285  echo $ECHO_N "(cached) $ECHO_C" >&6
1286else
1287  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
1288    then ac_cv_prog_egrep='grep -E'
1289    else ac_cv_prog_egrep='egrep'
1290    fi
1291fi
1292echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
1293echo "${ECHO_T}$ac_cv_prog_egrep" >&6
1294 EGREP=$ac_cv_prog_egrep
1295
1296
1297am__api_version="1.9"
1298ac_aux_dir=
1299for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1300  if test -f $ac_dir/install-sh; then
1301    ac_aux_dir=$ac_dir
1302    ac_install_sh="$ac_aux_dir/install-sh -c"
1303    break
1304  elif test -f $ac_dir/install.sh; then
1305    ac_aux_dir=$ac_dir
1306    ac_install_sh="$ac_aux_dir/install.sh -c"
1307    break
1308  elif test -f $ac_dir/shtool; then
1309    ac_aux_dir=$ac_dir
1310    ac_install_sh="$ac_aux_dir/shtool install -c"
1311    break
1312  fi
1313done
1314if test -z "$ac_aux_dir"; then
1315  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1316echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1317   { (exit 1); exit 1; }; }
1318fi
1319ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1320ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1321ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1322
1323# Find a good install program.  We prefer a C program (faster),
1324# so one script is as good as another.  But avoid the broken or
1325# incompatible versions:
1326# SysV /etc/install, /usr/sbin/install
1327# SunOS /usr/etc/install
1328# IRIX /sbin/install
1329# AIX /bin/install
1330# AmigaOS /C/install, which installs bootblocks on floppy discs
1331# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1332# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1333# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1334# OS/2's system install, which has a completely different semantic
1335# ./install, which can be erroneously created by make from ./install.sh.
1336echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1337echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1338if test -z "$INSTALL"; then
1339if test "${ac_cv_path_install+set}" = set; then
1340  echo $ECHO_N "(cached) $ECHO_C" >&6
1341else
1342  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1343for as_dir in $PATH
1344do
1345  IFS=$as_save_IFS
1346  test -z "$as_dir" && as_dir=.
1347  # Account for people who put trailing slashes in PATH elements.
1348case $as_dir/ in
1349  ./ | .// | /cC/* | \
1350  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1351  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1352  /usr/ucb/* ) ;;
1353  *)
1354    # OSF1 and SCO ODT 3.0 have their own names for install.
1355    # Don't use installbsd from OSF since it installs stuff as root
1356    # by default.
1357    for ac_prog in ginstall scoinst install; do
1358      for ac_exec_ext in '' $ac_executable_extensions; do
1359        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1360          if test $ac_prog = install &&
1361            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1362            # AIX install.  It has an incompatible calling convention.
1363            :
1364          elif test $ac_prog = install &&
1365            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1366            # program-specific install script used by HP pwplus--don't use.
1367            :
1368          else
1369            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1370            break 3
1371          fi
1372        fi
1373      done
1374    done
1375    ;;
1376esac
1377done
1378
1379
1380fi
1381  if test "${ac_cv_path_install+set}" = set; then
1382    INSTALL=$ac_cv_path_install
1383  else
1384    # As a last resort, use the slow shell script.  We don't cache a
1385    # path for INSTALL within a source directory, because that will
1386    # break other packages using the cache if that directory is
1387    # removed, or if the path is relative.
1388    INSTALL=$ac_install_sh
1389  fi
1390fi
1391echo "$as_me:$LINENO: result: $INSTALL" >&5
1392echo "${ECHO_T}$INSTALL" >&6
1393
1394# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1395# It thinks the first close brace ends the variable substitution.
1396test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1397
1398test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1399
1400test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1401
1402echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1403echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1404# Just in case
1405sleep 1
1406echo timestamp > conftest.file
1407# Do `set' in a subshell so we don't clobber the current shell's
1408# arguments.  Must try -L first in case configure is actually a
1409# symlink; some systems play weird games with the mod time of symlinks
1410# (eg FreeBSD returns the mod time of the symlink's containing
1411# directory).
1412if (
1413   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1414   if test "$*" = "X"; then
1415      # -L didn't work.
1416      set X `ls -t $srcdir/configure conftest.file`
1417   fi
1418   rm -f conftest.file
1419   if test "$*" != "X $srcdir/configure conftest.file" \
1420      && test "$*" != "X conftest.file $srcdir/configure"; then
1421
1422      # If neither matched, then we have a broken ls.  This can happen
1423      # if, for instance, CONFIG_SHELL is bash and it inherits a
1424      # broken ls alias from the environment.  This has actually
1425      # happened.  Such a system could not be considered "sane".
1426      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1427alias in your environment" >&5
1428echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1429alias in your environment" >&2;}
1430   { (exit 1); exit 1; }; }
1431   fi
1432
1433   test "$2" = conftest.file
1434   )
1435then
1436   # Ok.
1437   :
1438else
1439   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1440Check your system clock" >&5
1441echo "$as_me: error: newly created file is older than distributed files!
1442Check your system clock" >&2;}
1443   { (exit 1); exit 1; }; }
1444fi
1445echo "$as_me:$LINENO: result: yes" >&5
1446echo "${ECHO_T}yes" >&6
1447test "$program_prefix" != NONE &&
1448  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1449# Use a double $ so make ignores it.
1450test "$program_suffix" != NONE &&
1451  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1452# Double any \ or $.  echo might interpret backslashes.
1453# By default was `s,x,x', remove it if useless.
1454cat <<\_ACEOF >conftest.sed
1455s/[\\$]/&&/g;s/;s,x,x,$//
1456_ACEOF
1457program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1458rm conftest.sed
1459
1460# expand $ac_aux_dir to an absolute path
1461am_aux_dir=`cd $ac_aux_dir && pwd`
1462
1463test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1464# Use eval to expand $SHELL
1465if eval "$MISSING --run true"; then
1466  am_missing_run="$MISSING --run "
1467else
1468  am_missing_run=
1469  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1470echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1471fi
1472
1473if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1474  # We used to keeping the `.' as first argument, in order to
1475  # allow $(mkdir_p) to be used without argument.  As in
1476  #   $(mkdir_p) $(somedir)
1477  # where $(somedir) is conditionally defined.  However this is wrong
1478  # for two reasons:
1479  #  1. if the package is installed by a user who cannot write `.'
1480  #     make install will fail,
1481  #  2. the above comment should most certainly read
1482  #     $(mkdir_p) $(DESTDIR)$(somedir)
1483  #     so it does not work when $(somedir) is undefined and
1484  #     $(DESTDIR) is not.
1485  #  To support the latter case, we have to write
1486  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1487  #  so the `.' trick is pointless.
1488  mkdir_p='mkdir -p --'
1489else
1490  # On NextStep and OpenStep, the `mkdir' command does not
1491  # recognize any option.  It will interpret all options as
1492  # directories to create, and then abort because `.' already
1493  # exists.
1494  for d in ./-p ./--version;
1495  do
1496    test -d $d && rmdir $d
1497  done
1498  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1499  if test -f "$ac_aux_dir/mkinstalldirs"; then
1500    mkdir_p='$(mkinstalldirs)'
1501  else
1502    mkdir_p='$(install_sh) -d'
1503  fi
1504fi
1505
1506for ac_prog in gawk mawk nawk awk
1507do
1508  # Extract the first word of "$ac_prog", so it can be a program name with args.
1509set dummy $ac_prog; ac_word=$2
1510echo "$as_me:$LINENO: checking for $ac_word" >&5
1511echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1512if test "${ac_cv_prog_AWK+set}" = set; then
1513  echo $ECHO_N "(cached) $ECHO_C" >&6
1514else
1515  if test -n "$AWK"; then
1516  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1517else
1518as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1519for as_dir in $PATH
1520do
1521  IFS=$as_save_IFS
1522  test -z "$as_dir" && as_dir=.
1523  for ac_exec_ext in '' $ac_executable_extensions; do
1524  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1525    ac_cv_prog_AWK="$ac_prog"
1526    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1527    break 2
1528  fi
1529done
1530done
1531
1532fi
1533fi
1534AWK=$ac_cv_prog_AWK
1535if test -n "$AWK"; then
1536  echo "$as_me:$LINENO: result: $AWK" >&5
1537echo "${ECHO_T}$AWK" >&6
1538else
1539  echo "$as_me:$LINENO: result: no" >&5
1540echo "${ECHO_T}no" >&6
1541fi
1542
1543  test -n "$AWK" && break
1544done
1545
1546echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1547echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1548set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1549if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1550  echo $ECHO_N "(cached) $ECHO_C" >&6
1551else
1552  cat >conftest.make <<\_ACEOF
1553all:
1554        @echo 'ac_maketemp="$(MAKE)"'
1555_ACEOF
1556# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1557eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1558if test -n "$ac_maketemp"; then
1559  eval ac_cv_prog_make_${ac_make}_set=yes
1560else
1561  eval ac_cv_prog_make_${ac_make}_set=no
1562fi
1563rm -f conftest.make
1564fi
1565if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1566  echo "$as_me:$LINENO: result: yes" >&5
1567echo "${ECHO_T}yes" >&6
1568  SET_MAKE=
1569else
1570  echo "$as_me:$LINENO: result: no" >&5
1571echo "${ECHO_T}no" >&6
1572  SET_MAKE="MAKE=${MAKE-make}"
1573fi
1574
1575rm -rf .tst 2>/dev/null
1576mkdir .tst 2>/dev/null
1577if test -d .tst; then
1578  am__leading_dot=.
1579else
1580  am__leading_dot=_
1581fi
1582rmdir .tst 2>/dev/null
1583
1584
1585# Stuff for automake
1586# test to see if srcdir already configured
1587if test "`cd $srcdir && pwd`" != "`pwd`" &&
1588   test -f $srcdir/config.status; then
1589  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1590echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1591   { (exit 1); exit 1; }; }
1592fi
1593
1594# test whether we have cygpath
1595if test -z "$CYGPATH_W"; then
1596  if (cygpath --version) >/dev/null 2>/dev/null; then
1597    CYGPATH_W='cygpath -w'
1598  else
1599    CYGPATH_W=echo
1600  fi
1601fi
1602
1603
1604# Define the identity of the package.
1605 PACKAGE='clp'
1606 VERSION='0.1'
1607
1608
1609cat >>confdefs.h <<_ACEOF
1610#define PACKAGE "$PACKAGE"
1611_ACEOF
1612
1613
1614cat >>confdefs.h <<_ACEOF
1615#define VERSION "$VERSION"
1616_ACEOF
1617
1618# Some tools Automake needs.
1619
1620ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1621
1622
1623AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1624
1625
1626AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1627
1628
1629AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1630
1631
1632MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1633
1634install_sh=${install_sh-"$am_aux_dir/install-sh"}
1635
1636# Installed binaries are usually stripped using `strip' when the user
1637# run `make install-strip'.  However `strip' might not be the right
1638# tool to use in cross-compilation environments, therefore Automake
1639# will honor the `STRIP' environment variable to overrule this program.
1640if test "$cross_compiling" != no; then
1641  if test -n "$ac_tool_prefix"; then
1642  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1643set dummy ${ac_tool_prefix}strip; ac_word=$2
1644echo "$as_me:$LINENO: checking for $ac_word" >&5
1645echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1646if test "${ac_cv_prog_STRIP+set}" = set; then
1647  echo $ECHO_N "(cached) $ECHO_C" >&6
1648else
1649  if test -n "$STRIP"; then
1650  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1651else
1652as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1653for as_dir in $PATH
1654do
1655  IFS=$as_save_IFS
1656  test -z "$as_dir" && as_dir=.
1657  for ac_exec_ext in '' $ac_executable_extensions; do
1658  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1659    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1660    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1661    break 2
1662  fi
1663done
1664done
1665
1666fi
1667fi
1668STRIP=$ac_cv_prog_STRIP
1669if test -n "$STRIP"; then
1670  echo "$as_me:$LINENO: result: $STRIP" >&5
1671echo "${ECHO_T}$STRIP" >&6
1672else
1673  echo "$as_me:$LINENO: result: no" >&5
1674echo "${ECHO_T}no" >&6
1675fi
1676
1677fi
1678if test -z "$ac_cv_prog_STRIP"; then
1679  ac_ct_STRIP=$STRIP
1680  # Extract the first word of "strip", so it can be a program name with args.
1681set dummy strip; ac_word=$2
1682echo "$as_me:$LINENO: checking for $ac_word" >&5
1683echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1684if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1685  echo $ECHO_N "(cached) $ECHO_C" >&6
1686else
1687  if test -n "$ac_ct_STRIP"; then
1688  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1689else
1690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691for as_dir in $PATH
1692do
1693  IFS=$as_save_IFS
1694  test -z "$as_dir" && as_dir=.
1695  for ac_exec_ext in '' $ac_executable_extensions; do
1696  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1697    ac_cv_prog_ac_ct_STRIP="strip"
1698    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1699    break 2
1700  fi
1701done
1702done
1703
1704  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1705fi
1706fi
1707ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1708if test -n "$ac_ct_STRIP"; then
1709  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1710echo "${ECHO_T}$ac_ct_STRIP" >&6
1711else
1712  echo "$as_me:$LINENO: result: no" >&5
1713echo "${ECHO_T}no" >&6
1714fi
1715
1716  STRIP=$ac_ct_STRIP
1717else
1718  STRIP="$ac_cv_prog_STRIP"
1719fi
1720
1721fi
1722INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1723
1724# We need awk for the "check" target.  The system "awk" is bad on
1725# some platforms.
1726# Always define AMTAR for backward compatibility.
1727
1728AMTAR=${AMTAR-"${am_missing_run}tar"}
1729
1730am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1731
1732
1733
1734
1735
1736echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1737echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1738    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1739if test "${enable_maintainer_mode+set}" = set; then
1740  enableval="$enable_maintainer_mode"
1741  USE_MAINTAINER_MODE=$enableval
1742else
1743  USE_MAINTAINER_MODE=no
1744fi;
1745  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1746echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1747
1748
1749if test $USE_MAINTAINER_MODE = yes; then
1750  MAINTAINER_MODE_TRUE=
1751  MAINTAINER_MODE_FALSE='#'
1752else
1753  MAINTAINER_MODE_TRUE='#'
1754  MAINTAINER_MODE_FALSE=
1755fi
1756
1757  MAINT=$MAINTAINER_MODE_TRUE
1758
1759
1760
1761coin_have_externals=no
1762if test "$enable_maintainer_mode" = yes; then
1763
1764  # If maintainer mode is chosen, we make sure that the correct versions
1765  # of the tools are used, and that we know where libtoo.m4 is (to
1766  # recreate acinclude.m4)
1767
1768
1769  LIBTOOLM4=
1770
1771  # Check if we have autoconf
1772  # Extract the first word of "autoconf", so it can be a program name with args.
1773set dummy autoconf; ac_word=$2
1774echo "$as_me:$LINENO: checking for $ac_word" >&5
1775echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1776if test "${ac_cv_prog_have_autoconf+set}" = set; then
1777  echo $ECHO_N "(cached) $ECHO_C" >&6
1778else
1779  if test -n "$have_autoconf"; then
1780  ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test.
1781else
1782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1783for as_dir in $PATH
1784do
1785  IFS=$as_save_IFS
1786  test -z "$as_dir" && as_dir=.
1787  for ac_exec_ext in '' $ac_executable_extensions; do
1788  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1789    ac_cv_prog_have_autoconf="yes"
1790    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791    break 2
1792  fi
1793done
1794done
1795
1796  test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no"
1797fi
1798fi
1799have_autoconf=$ac_cv_prog_have_autoconf
1800if test -n "$have_autoconf"; then
1801  echo "$as_me:$LINENO: result: $have_autoconf" >&5
1802echo "${ECHO_T}$have_autoconf" >&6
1803else
1804  echo "$as_me:$LINENO: result: no" >&5
1805echo "${ECHO_T}no" >&6
1806fi
1807
1808  if test $have_autoconf = no; then
1809    { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&5
1810echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&2;}
1811   { (exit 1); exit 1; }; }
1812  fi
1813
1814  # Check whether autoconf is the correct version
1815  correct_version='2.59'
1816  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
1817  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of autoconf" >&5
1818echo $ECHO_N "checking whether we are using the correct version ($correct_version) of autoconf... $ECHO_C" >&6
1819  autoconf --version > confauto.out 2>&1
1820  if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
1821    echo "$as_me:$LINENO: result: yes" >&5
1822echo "${ECHO_T}yes" >&6
1823  else
1824    rm -f confauto.out
1825    echo "$as_me:$LINENO: result: no" >&5
1826echo "${ECHO_T}no" >&6
1827    { { echo "$as_me:$LINENO: error: You don't have the correct version of autoconf as the first one in your path." >&5
1828echo "$as_me: error: You don't have the correct version of autoconf as the first one in your path." >&2;}
1829   { (exit 1); exit 1; }; }
1830  fi
1831  rm -f confauto.out
1832
1833  # Check if the executable autoconf is picked up from the correct location
1834  echo "$as_me:$LINENO: checking whether autoconf is coming from the correct location" >&5
1835echo $ECHO_N "checking whether autoconf is coming from the correct location... $ECHO_C" >&6
1836  autoconf_dir=`which autoconf | sed -e 's=/autoconf=='`
1837  autoconf_dir=`cd $autoconf_dir; pwd`
1838  if test x$AUTOTOOLS_DIR = x; then
1839    want_dir=$HOME/bin
1840  else
1841    want_dir=$AUTOTOOLS_DIR/bin
1842  fi
1843  if test $autoconf_dir = `cd $want_dir; pwd`; then
1844    echo "$as_me:$LINENO: result: yes" >&5
1845echo "${ECHO_T}yes" >&6
1846  else
1847    rm -f confauto.out
1848    echo "$as_me:$LINENO: result: no" >&5
1849echo "${ECHO_T}no" >&6
1850    { { echo "$as_me:$LINENO: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5
1851echo "$as_me: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;}
1852   { (exit 1); exit 1; }; }
1853  fi
1854
1855  # Check if we have automake
1856  # Extract the first word of "automake", so it can be a program name with args.
1857set dummy automake; ac_word=$2
1858echo "$as_me:$LINENO: checking for $ac_word" >&5
1859echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1860if test "${ac_cv_prog_have_automake+set}" = set; then
1861  echo $ECHO_N "(cached) $ECHO_C" >&6
1862else
1863  if test -n "$have_automake"; then
1864  ac_cv_prog_have_automake="$have_automake" # Let the user override the test.
1865else
1866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1867for as_dir in $PATH
1868do
1869  IFS=$as_save_IFS
1870  test -z "$as_dir" && as_dir=.
1871  for ac_exec_ext in '' $ac_executable_extensions; do
1872  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1873    ac_cv_prog_have_automake="yes"
1874    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1875    break 2
1876  fi
1877done
1878done
1879
1880  test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no"
1881fi
1882fi
1883have_automake=$ac_cv_prog_have_automake
1884if test -n "$have_automake"; then
1885  echo "$as_me:$LINENO: result: $have_automake" >&5
1886echo "${ECHO_T}$have_automake" >&6
1887else
1888  echo "$as_me:$LINENO: result: no" >&5
1889echo "${ECHO_T}no" >&6
1890fi
1891
1892  if test $have_automake = no; then
1893    { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5
1894echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;}
1895   { (exit 1); exit 1; }; }
1896  fi
1897
1898  # Check whether automake is the correct version
1899  correct_version='1.9.6'
1900  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
1901  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5
1902echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6
1903  automake --version > confauto.out 2>&1
1904  if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
1905    echo "$as_me:$LINENO: result: yes" >&5
1906echo "${ECHO_T}yes" >&6
1907  else
1908    rm -f confauto.out
1909    echo "$as_me:$LINENO: result: no" >&5
1910echo "${ECHO_T}no" >&6
1911    { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5
1912echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;}
1913   { (exit 1); exit 1; }; }
1914  fi
1915  rm -f confauto.out
1916
1917  # Check if the executable automake is picked up from the correct location
1918  echo "$as_me:$LINENO: checking whether automake is coming from the correct location" >&5
1919echo $ECHO_N "checking whether automake is coming from the correct location... $ECHO_C" >&6
1920  automake_dir=`which automake | sed -e 's=/automake=='`
1921  automake_dir=`cd $automake_dir; pwd`
1922  if test x$AUTOTOOLS_DIR = x; then
1923    want_dir=$HOME/bin
1924  else
1925    want_dir=$AUTOTOOLS_DIR/bin
1926  fi
1927  if test $automake_dir = `cd $want_dir; pwd`; then
1928    echo "$as_me:$LINENO: result: yes" >&5
1929echo "${ECHO_T}yes" >&6
1930  else
1931    rm -f confauto.out
1932    echo "$as_me:$LINENO: result: no" >&5
1933echo "${ECHO_T}no" >&6
1934    { { echo "$as_me:$LINENO: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5
1935echo "$as_me: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;}
1936   { (exit 1); exit 1; }; }
1937  fi
1938
1939  # Check if we can find the libtool file
1940  if test x$AUTOTOOLS_DIR = x; then
1941    want_dir=$HOME/share
1942  else
1943    want_dir=$AUTOTOOLS_DIR/share
1944  fi
1945  as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh`
1946echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5
1947echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6
1948if eval "test \"\${$as_ac_File+set}\" = set"; then
1949  echo $ECHO_N "(cached) $ECHO_C" >&6
1950else
1951  test "$cross_compiling" = yes &&
1952  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1953echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1954   { (exit 1); exit 1; }; }
1955if test -r "$want_dir/aclocal/libtool.m4"; then
1956  eval "$as_ac_File=yes"
1957else
1958  eval "$as_ac_File=no"
1959fi
1960fi
1961echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
1962echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
1963if test `eval echo '${'$as_ac_File'}'` = yes; then
1964  LIBTOOLM4="$want_dir/aclocal/libtool.m4"
1965else
1966  { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
1967echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
1968   { (exit 1); exit 1; }; }
1969fi
1970
1971
1972  # Check if this is the correct version of libtool (with escaped dots)
1973  correct_version='1.5.22'
1974  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
1975  as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh`
1976echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5
1977echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6
1978if eval "test \"\${$as_ac_File+set}\" = set"; then
1979  echo $ECHO_N "(cached) $ECHO_C" >&6
1980else
1981  test "$cross_compiling" = yes &&
1982  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1983echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1984   { (exit 1); exit 1; }; }
1985if test -r "$want_dir/libtool/ltmain.sh"; then
1986  eval "$as_ac_File=yes"
1987else
1988  eval "$as_ac_File=no"
1989fi
1990fi
1991echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
1992echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
1993if test `eval echo '${'$as_ac_File'}'` = yes; then
1994  have_ltmain=yes
1995else
1996  have_ltmain=no
1997fi
1998
1999  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5
2000echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6
2001  if test $have_ltmain = yes; then
2002    if $EGREP $grep_version $want_dir/libtool/ltmain.sh >/dev/null 2>&1; then
2003      echo "$as_me:$LINENO: result: yes" >&5
2004echo "${ECHO_T}yes" >&6
2005    else
2006      echo "$as_me:$LINENO: result: no" >&5
2007echo "${ECHO_T}no" >&6
2008      { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5
2009echo "$as_me: error: You don't have the correct version of libtool." >&2;}
2010   { (exit 1); exit 1; }; }
2011    fi
2012  else
2013    echo "$as_me:$LINENO: result: no" >&5
2014echo "${ECHO_T}no" >&6
2015    { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5
2016echo "$as_me: error: I cannot find the ltmain.sh file." >&2;}
2017   { (exit 1); exit 1; }; }
2018  fi
2019
2020  # Check if we have an Externals file
2021  if test -r $srcdir/Externals; then
2022    coin_have_externals=yes
2023  fi
2024
2025  # Find the location of the BuildTools directory
2026  BUILDTOOLSDIR=
2027  if test -r $srcdir/BuildTools/coin.m4; then
2028    BUILDTOOLSDIR=$srcdir/BuildTools
2029  else
2030    if test -r $srcdir/../BuildTools/coin.m4; then
2031      BUILDTOOLSDIR=$srcdir/../BuildTools
2032    else
2033      if test -r $srcdir/../../BuildTools/coin.m4; then
2034        BUILDTOOLSDIR=$srcdir/../../BuildTools
2035      else
2036        { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
2037echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
2038   { (exit 1); exit 1; }; }
2039      fi
2040    fi
2041  fi
2042
2043
2044  # The following variable is set to the name of the directory where
2045  # the autotool scripts are located
2046
2047  AUX_DIR=$ac_aux_dir
2048fi
2049
2050
2051if test $coin_have_externals = yes; then
2052  HAVE_EXTERNALS_TRUE=
2053  HAVE_EXTERNALS_FALSE='#'
2054else
2055  HAVE_EXTERNALS_TRUE='#'
2056  HAVE_EXTERNALS_FALSE=
2057fi
2058
2059
2060
2061#############################################################################
2062#                  Check which subprojects are there                        #
2063#############################################################################
2064
2065coin_subdirs=
2066echo "$as_me:$LINENO: checking whether directory CoinUtils is available" >&5
2067echo $ECHO_N "checking whether directory CoinUtils is available... $ECHO_C" >&6
2068                if test -r $srcdir/CoinUtils/configure; then
2069                  coin_subdirs="$coin_subdirs CoinUtils"
2070                  echo "$as_me:$LINENO: result: yes" >&5
2071echo "${ECHO_T}yes" >&6
2072
2073
2074subdirs="$subdirs CoinUtils"
2075
2076                else
2077                  echo "$as_me:$LINENO: result: no" >&5
2078echo "${ECHO_T}no" >&6
2079                fi
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091coin_subdirs=
2092echo "$as_me:$LINENO: checking whether directory Data/Netlib is available" >&5
2093echo $ECHO_N "checking whether directory Data/Netlib is available... $ECHO_C" >&6
2094                if test -r $srcdir/Data/Netlib/configure; then
2095                  coin_subdirs="$coin_subdirs Data/Netlib"
2096                  echo "$as_me:$LINENO: result: yes" >&5
2097echo "${ECHO_T}yes" >&6
2098
2099
2100subdirs="$subdirs Data/Netlib"
2101
2102                else
2103                  echo "$as_me:$LINENO: result: no" >&5
2104echo "${ECHO_T}no" >&6
2105                fi
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117coin_subdirs=
2118echo "$as_me:$LINENO: checking whether directory Data/Sample is available" >&5
2119echo $ECHO_N "checking whether directory Data/Sample is available... $ECHO_C" >&6
2120                if test -r $srcdir/Data/Sample/configure; then
2121                  coin_subdirs="$coin_subdirs Data/Sample"
2122                  echo "$as_me:$LINENO: result: yes" >&5
2123echo "${ECHO_T}yes" >&6
2124
2125
2126subdirs="$subdirs Data/Sample"
2127
2128                else
2129                  echo "$as_me:$LINENO: result: no" >&5
2130echo "${ECHO_T}no" >&6
2131                fi
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143coin_subdirs=
2144echo "$as_me:$LINENO: checking whether directory Clp is available" >&5
2145echo $ECHO_N "checking whether directory Clp is available... $ECHO_C" >&6
2146                if test -r $srcdir/Clp/configure; then
2147                  coin_subdirs="$coin_subdirs Clp"
2148                  echo "$as_me:$LINENO: result: yes" >&5
2149echo "${ECHO_T}yes" >&6
2150
2151
2152subdirs="$subdirs Clp"
2153
2154                else
2155                  echo "$as_me:$LINENO: result: no" >&5
2156echo "${ECHO_T}no" >&6
2157                fi
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170##############################################################################
2171#                   Finishing up by writing all the output                   #
2172##############################################################################
2173
2174# Here list all the files that configure should create (except for the
2175# configuration header file)
2176          ac_config_files="$ac_config_files Makefile"
2177
2178
2179# Finally, we let configure write all the output...
2180
2181cat >confcache <<\_ACEOF
2182# This file is a shell script that caches the results of configure
2183# tests run on this system so they can be shared between configure
2184# scripts and configure runs, see configure's option --config-cache.
2185# It is not useful on other systems.  If it contains results you don't
2186# want to keep, you may remove or edit it.
2187#
2188# config.status only pays attention to the cache file if you give it
2189# the --recheck option to rerun configure.
2190#
2191# `ac_cv_env_foo' variables (set or unset) will be overridden when
2192# loading this file, other *unset* `ac_cv_foo' will be assigned the
2193# following values.
2194
2195_ACEOF
2196
2197# The following way of writing the cache mishandles newlines in values,
2198# but we know of no workaround that is simple, portable, and efficient.
2199# So, don't put newlines in cache variables' values.
2200# Ultrix sh set writes to stderr and can't be redirected directly,
2201# and sets the high bit in the cache file unless we assign to the vars.
2202{
2203  (set) 2>&1 |
2204    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2205    *ac_space=\ *)
2206      # `set' does not quote correctly, so add quotes (double-quote
2207      # substitution turns \\\\ into \\, and sed turns \\ into \).
2208      sed -n \
2209        "s/'/'\\\\''/g;
2210          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2211      ;;
2212    *)
2213      # `set' quotes correctly as required by POSIX, so do not add quotes.
2214      sed -n \
2215        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2216      ;;
2217    esac;
2218} |
2219  sed '
2220     t clear
2221     : clear
2222     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2223     t end
2224     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2225     : end' >>confcache
2226if diff $cache_file confcache >/dev/null 2>&1; then :; else
2227  if test -w $cache_file; then
2228    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2229    cat confcache >$cache_file
2230  else
2231    echo "not updating unwritable cache $cache_file"
2232  fi
2233fi
2234rm -f confcache
2235
2236test "x$prefix" = xNONE && prefix=$ac_default_prefix
2237# Let make expand exec_prefix.
2238test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2239
2240# VPATH may cause trouble with some makes, so we remove $(srcdir),
2241# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2242# trailing colons and then remove the whole line if VPATH becomes empty
2243# (actually we leave an empty line to preserve line numbers).
2244if test "x$srcdir" = x.; then
2245  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2246s/:*\$(srcdir):*/:/;
2247s/:*\${srcdir}:*/:/;
2248s/:*@srcdir@:*/:/;
2249s/^\([^=]*=[     ]*\):*/\1/;
2250s/:*$//;
2251s/^[^=]*=[       ]*$//;
2252}'
2253fi
2254
2255# Transform confdefs.h into DEFS.
2256# Protect against shell expansion while executing Makefile rules.
2257# Protect against Makefile macro expansion.
2258#
2259# If the first sed substitution is executed (which looks for macros that
2260# take arguments), then we branch to the quote section.  Otherwise,
2261# look for a macro that doesn't take arguments.
2262cat >confdef2opt.sed <<\_ACEOF
2263t clear
2264: clear
2265s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2266t quote
2267s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2268t quote
2269d
2270: quote
2271s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2272s,\[,\\&,g
2273s,\],\\&,g
2274s,\$,$$,g
2275p
2276_ACEOF
2277# We use echo to avoid assuming a particular line-breaking character.
2278# The extra dot is to prevent the shell from consuming trailing
2279# line-breaks from the sub-command output.  A line-break within
2280# single-quotes doesn't work because, if this script is created in a
2281# platform that uses two characters for line-breaks (e.g., DOS), tr
2282# would break.
2283ac_LF_and_DOT=`echo; echo .`
2284DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2285rm -f confdef2opt.sed
2286
2287
2288ac_libobjs=
2289ac_ltlibobjs=
2290for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2291  # 1. Remove the extension, and $U if already installed.
2292  ac_i=`echo "$ac_i" |
2293         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2294  # 2. Add them.
2295  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2296  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2297done
2298LIBOBJS=$ac_libobjs
2299
2300LTLIBOBJS=$ac_ltlibobjs
2301
2302
2303if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2304  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
2305Usually this means the macro was only invoked conditionally." >&5
2306echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
2307Usually this means the macro was only invoked conditionally." >&2;}
2308   { (exit 1); exit 1; }; }
2309fi
2310if test -z "${HAVE_EXTERNALS_TRUE}" && test -z "${HAVE_EXTERNALS_FALSE}"; then
2311  { { echo "$as_me:$LINENO: error: conditional \"HAVE_EXTERNALS\" was never defined.
2312Usually this means the macro was only invoked conditionally." >&5
2313echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
2314Usually this means the macro was only invoked conditionally." >&2;}
2315   { (exit 1); exit 1; }; }
2316fi
2317
2318: ${CONFIG_STATUS=./config.status}
2319ac_clean_files_save=$ac_clean_files
2320ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2321{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2322echo "$as_me: creating $CONFIG_STATUS" >&6;}
2323cat >$CONFIG_STATUS <<_ACEOF
2324#! $SHELL
2325# Generated by $as_me.
2326# Run this file to recreate the current configuration.
2327# Compiler output produced by configure, useful for debugging
2328# configure, is in config.log if it exists.
2329
2330debug=false
2331ac_cs_recheck=false
2332ac_cs_silent=false
2333SHELL=\${CONFIG_SHELL-$SHELL}
2334_ACEOF
2335
2336cat >>$CONFIG_STATUS <<\_ACEOF
2337## --------------------- ##
2338## M4sh Initialization.  ##
2339## --------------------- ##
2340
2341# Be Bourne compatible
2342if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2343  emulate sh
2344  NULLCMD=:
2345  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2346  # is contrary to our usage.  Disable this feature.
2347  alias -g '${1+"$@"}'='"$@"'
2348elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2349  set -o posix
2350fi
2351DUALCASE=1; export DUALCASE # for MKS sh
2352
2353# Support unset when possible.
2354if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2355  as_unset=unset
2356else
2357  as_unset=false
2358fi
2359
2360
2361# Work around bugs in pre-3.0 UWIN ksh.
2362$as_unset ENV MAIL MAILPATH
2363PS1='$ '
2364PS2='> '
2365PS4='+ '
2366
2367# NLS nuisances.
2368for as_var in \
2369  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2370  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2371  LC_TELEPHONE LC_TIME
2372do
2373  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2374    eval $as_var=C; export $as_var
2375  else
2376    $as_unset $as_var
2377  fi
2378done
2379
2380# Required to use basename.
2381if expr a : '\(a\)' >/dev/null 2>&1; then
2382  as_expr=expr
2383else
2384  as_expr=false
2385fi
2386
2387if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2388  as_basename=basename
2389else
2390  as_basename=false
2391fi
2392
2393
2394# Name of the executable.
2395as_me=`$as_basename "$0" ||
2396$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2397         X"$0" : 'X\(//\)$' \| \
2398         X"$0" : 'X\(/\)$' \| \
2399         .     : '\(.\)' 2>/dev/null ||
2400echo X/"$0" |
2401    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2402          /^X\/\(\/\/\)$/{ s//\1/; q; }
2403          /^X\/\(\/\).*/{ s//\1/; q; }
2404          s/.*/./; q'`
2405
2406
2407# PATH needs CR, and LINENO needs CR and PATH.
2408# Avoid depending upon Character Ranges.
2409as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2410as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2411as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2412as_cr_digits='0123456789'
2413as_cr_alnum=$as_cr_Letters$as_cr_digits
2414
2415# The user is always right.
2416if test "${PATH_SEPARATOR+set}" != set; then
2417  echo "#! /bin/sh" >conf$$.sh
2418  echo  "exit 0"   >>conf$$.sh
2419  chmod +x conf$$.sh
2420  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2421    PATH_SEPARATOR=';'
2422  else
2423    PATH_SEPARATOR=:
2424  fi
2425  rm -f conf$$.sh
2426fi
2427
2428
2429  as_lineno_1=$LINENO
2430  as_lineno_2=$LINENO
2431  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2432  test "x$as_lineno_1" != "x$as_lineno_2" &&
2433  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2434  # Find who we are.  Look in the path if we contain no path at all
2435  # relative or not.
2436  case $0 in
2437    *[\\/]* ) as_myself=$0 ;;
2438    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2439for as_dir in $PATH
2440do
2441  IFS=$as_save_IFS
2442  test -z "$as_dir" && as_dir=.
2443  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2444done
2445
2446       ;;
2447  esac
2448  # We did not find ourselves, most probably we were run as `sh COMMAND'
2449  # in which case we are not to be found in the path.
2450  if test "x$as_myself" = x; then
2451    as_myself=$0
2452  fi
2453  if test ! -f "$as_myself"; then
2454    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2455echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2456   { (exit 1); exit 1; }; }
2457  fi
2458  case $CONFIG_SHELL in
2459  '')
2460    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2462do
2463  IFS=$as_save_IFS
2464  test -z "$as_dir" && as_dir=.
2465  for as_base in sh bash ksh sh5; do
2466         case $as_dir in
2467         /*)
2468           if ("$as_dir/$as_base" -c '
2469  as_lineno_1=$LINENO
2470  as_lineno_2=$LINENO
2471  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2472  test "x$as_lineno_1" != "x$as_lineno_2" &&
2473  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2474             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2475             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2476             CONFIG_SHELL=$as_dir/$as_base
2477             export CONFIG_SHELL
2478             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2479           fi;;
2480         esac
2481       done
2482done
2483;;
2484  esac
2485
2486  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2487  # uniformly replaced by the line number.  The first 'sed' inserts a
2488  # line-number line before each line; the second 'sed' does the real
2489  # work.  The second script uses 'N' to pair each line-number line
2490  # with the numbered line, and appends trailing '-' during
2491  # substitution so that $LINENO is not a special case at line end.
2492  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2493  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2494  sed '=' <$as_myself |
2495    sed '
2496      N
2497      s,$,-,
2498      : loop
2499      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2500      t loop
2501      s,-$,,
2502      s,^['$as_cr_digits']*\n,,
2503    ' >$as_me.lineno &&
2504  chmod +x $as_me.lineno ||
2505    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2506echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2507   { (exit 1); exit 1; }; }
2508
2509  # Don't try to exec as it changes $[0], causing all sort of problems
2510  # (the dirname of $[0] is not the place where we might find the
2511  # original and so on.  Autoconf is especially sensible to this).
2512  . ./$as_me.lineno
2513  # Exit status is that of the last command.
2514  exit
2515}
2516
2517
2518case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2519  *c*,-n*) ECHO_N= ECHO_C='
2520' ECHO_T='      ' ;;
2521  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2522  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2523esac
2524
2525if expr a : '\(a\)' >/dev/null 2>&1; then
2526  as_expr=expr
2527else
2528  as_expr=false
2529fi
2530
2531rm -f conf$$ conf$$.exe conf$$.file
2532echo >conf$$.file
2533if ln -s conf$$.file conf$$ 2>/dev/null; then
2534  # We could just check for DJGPP; but this test a) works b) is more generic
2535  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2536  if test -f conf$$.exe; then
2537    # Don't use ln at all; we don't have any links
2538    as_ln_s='cp -p'
2539  else
2540    as_ln_s='ln -s'
2541  fi
2542elif ln conf$$.file conf$$ 2>/dev/null; then
2543  as_ln_s=ln
2544else
2545  as_ln_s='cp -p'
2546fi
2547rm -f conf$$ conf$$.exe conf$$.file
2548
2549if mkdir -p . 2>/dev/null; then
2550  as_mkdir_p=:
2551else
2552  test -d ./-p && rmdir ./-p
2553  as_mkdir_p=false
2554fi
2555
2556as_executable_p="test -f"
2557
2558# Sed expression to map a string onto a valid CPP name.
2559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2560
2561# Sed expression to map a string onto a valid variable name.
2562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2563
2564
2565# IFS
2566# We need space, tab and new line, in precisely that order.
2567as_nl='
2568'
2569IFS="   $as_nl"
2570
2571# CDPATH.
2572$as_unset CDPATH
2573
2574exec 6>&1
2575
2576# Open the log real soon, to keep \$[0] and so on meaningful, and to
2577# report actual input values of CONFIG_FILES etc. instead of their
2578# values after options handling.  Logging --version etc. is OK.
2579exec 5>>config.log
2580{
2581  echo
2582  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2583## Running $as_me. ##
2584_ASBOX
2585} >&5
2586cat >&5 <<_CSEOF
2587
2588This file was extended by Clp $as_me 0.1, which was
2589generated by GNU Autoconf 2.59.  Invocation command line was
2590
2591  CONFIG_FILES    = $CONFIG_FILES
2592  CONFIG_HEADERS  = $CONFIG_HEADERS
2593  CONFIG_LINKS    = $CONFIG_LINKS
2594  CONFIG_COMMANDS = $CONFIG_COMMANDS
2595  $ $0 $@
2596
2597_CSEOF
2598echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2599echo >&5
2600_ACEOF
2601
2602# Files that config.status was made for.
2603if test -n "$ac_config_files"; then
2604  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2605fi
2606
2607if test -n "$ac_config_headers"; then
2608  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2609fi
2610
2611if test -n "$ac_config_links"; then
2612  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2613fi
2614
2615if test -n "$ac_config_commands"; then
2616  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2617fi
2618
2619cat >>$CONFIG_STATUS <<\_ACEOF
2620
2621ac_cs_usage="\
2622\`$as_me' instantiates files from templates according to the
2623current configuration.
2624
2625Usage: $0 [OPTIONS] [FILE]...
2626
2627  -h, --help       print this help, then exit
2628  -V, --version    print version number, then exit
2629  -q, --quiet      do not print progress messages
2630  -d, --debug      don't remove temporary files
2631      --recheck    update $as_me by reconfiguring in the same conditions
2632  --file=FILE[:TEMPLATE]
2633                   instantiate the configuration file FILE
2634
2635Configuration files:
2636$config_files
2637
2638Report bugs to <bug-autoconf@gnu.org>."
2639_ACEOF
2640
2641cat >>$CONFIG_STATUS <<_ACEOF
2642ac_cs_version="\\
2643Clp config.status 0.1
2644configured by $0, generated by GNU Autoconf 2.59,
2645  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2646
2647Copyright (C) 2003 Free Software Foundation, Inc.
2648This config.status script is free software; the Free Software Foundation
2649gives unlimited permission to copy, distribute and modify it."
2650srcdir=$srcdir
2651INSTALL="$INSTALL"
2652_ACEOF
2653
2654cat >>$CONFIG_STATUS <<\_ACEOF
2655# If no file are specified by the user, then we need to provide default
2656# value.  By we need to know if files were specified by the user.
2657ac_need_defaults=:
2658while test $# != 0
2659do
2660  case $1 in
2661  --*=*)
2662    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2663    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2664    ac_shift=:
2665    ;;
2666  -*)
2667    ac_option=$1
2668    ac_optarg=$2
2669    ac_shift=shift
2670    ;;
2671  *) # This is not an option, so the user has probably given explicit
2672     # arguments.
2673     ac_option=$1
2674     ac_need_defaults=false;;
2675  esac
2676
2677  case $ac_option in
2678  # Handling of the options.
2679_ACEOF
2680cat >>$CONFIG_STATUS <<\_ACEOF
2681  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2682    ac_cs_recheck=: ;;
2683  --version | --vers* | -V )
2684    echo "$ac_cs_version"; exit 0 ;;
2685  --he | --h)
2686    # Conflict between --help and --header
2687    { { echo "$as_me:$LINENO: error: ambiguous option: $1
2688Try \`$0 --help' for more information." >&5
2689echo "$as_me: error: ambiguous option: $1
2690Try \`$0 --help' for more information." >&2;}
2691   { (exit 1); exit 1; }; };;
2692  --help | --hel | -h )
2693    echo "$ac_cs_usage"; exit 0 ;;
2694  --debug | --d* | -d )
2695    debug=: ;;
2696  --file | --fil | --fi | --f )
2697    $ac_shift
2698    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2699    ac_need_defaults=false;;
2700  --header | --heade | --head | --hea )
2701    $ac_shift
2702    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2703    ac_need_defaults=false;;
2704  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2705  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2706    ac_cs_silent=: ;;
2707
2708  # This is an error.
2709  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2710Try \`$0 --help' for more information." >&5
2711echo "$as_me: error: unrecognized option: $1
2712Try \`$0 --help' for more information." >&2;}
2713   { (exit 1); exit 1; }; } ;;
2714
2715  *) ac_config_targets="$ac_config_targets $1" ;;
2716
2717  esac
2718  shift
2719done
2720
2721ac_configure_extra_args=
2722
2723if $ac_cs_silent; then
2724  exec 6>/dev/null
2725  ac_configure_extra_args="$ac_configure_extra_args --silent"
2726fi
2727
2728_ACEOF
2729cat >>$CONFIG_STATUS <<_ACEOF
2730if \$ac_cs_recheck; then
2731  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2732  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2733fi
2734
2735_ACEOF
2736
2737
2738
2739
2740
2741cat >>$CONFIG_STATUS <<\_ACEOF
2742for ac_config_target in $ac_config_targets
2743do
2744  case "$ac_config_target" in
2745  # Handling of arguments.
2746  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2747  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2748echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2749   { (exit 1); exit 1; }; };;
2750  esac
2751done
2752
2753# If the user did not use the arguments to specify the items to instantiate,
2754# then the envvar interface is used.  Set only those that are not.
2755# We use the long form for the default assignment because of an extremely
2756# bizarre bug on SunOS 4.1.3.
2757if $ac_need_defaults; then
2758  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2759fi
2760
2761# Have a temporary directory for convenience.  Make it in the build tree
2762# simply because there is no reason to put it here, and in addition,
2763# creating and moving files from /tmp can sometimes cause problems.
2764# Create a temporary directory, and hook for its removal unless debugging.
2765$debug ||
2766{
2767  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2768  trap '{ (exit 1); exit 1; }' 1 2 13 15
2769}
2770
2771# Create a (secure) tmp directory for tmp files.
2772
2773{
2774  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2775  test -n "$tmp" && test -d "$tmp"
2776}  ||
2777{
2778  tmp=./confstat$$-$RANDOM
2779  (umask 077 && mkdir $tmp)
2780} ||
2781{
2782   echo "$me: cannot create a temporary directory in ." >&2
2783   { (exit 1); exit 1; }
2784}
2785
2786_ACEOF
2787
2788cat >>$CONFIG_STATUS <<_ACEOF
2789
2790#
2791# CONFIG_FILES section.
2792#
2793
2794# No need to generate the scripts if there are no CONFIG_FILES.
2795# This happens for instance when ./config.status config.h
2796if test -n "\$CONFIG_FILES"; then
2797  # Protect against being on the right side of a sed subst in config.status.
2798  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2799   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2800s,@SHELL@,$SHELL,;t t
2801s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2802s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2803s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2804s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2805s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2806s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2807s,@exec_prefix@,$exec_prefix,;t t
2808s,@prefix@,$prefix,;t t
2809s,@program_transform_name@,$program_transform_name,;t t
2810s,@bindir@,$bindir,;t t
2811s,@sbindir@,$sbindir,;t t
2812s,@libexecdir@,$libexecdir,;t t
2813s,@datadir@,$datadir,;t t
2814s,@sysconfdir@,$sysconfdir,;t t
2815s,@sharedstatedir@,$sharedstatedir,;t t
2816s,@localstatedir@,$localstatedir,;t t
2817s,@libdir@,$libdir,;t t
2818s,@includedir@,$includedir,;t t
2819s,@oldincludedir@,$oldincludedir,;t t
2820s,@infodir@,$infodir,;t t
2821s,@mandir@,$mandir,;t t
2822s,@build_alias@,$build_alias,;t t
2823s,@host_alias@,$host_alias,;t t
2824s,@target_alias@,$target_alias,;t t
2825s,@DEFS@,$DEFS,;t t
2826s,@ECHO_C@,$ECHO_C,;t t
2827s,@ECHO_N@,$ECHO_N,;t t
2828s,@ECHO_T@,$ECHO_T,;t t
2829s,@LIBS@,$LIBS,;t t
2830s,@EGREP@,$EGREP,;t t
2831s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2832s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2833s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2834s,@CYGPATH_W@,$CYGPATH_W,;t t
2835s,@PACKAGE@,$PACKAGE,;t t
2836s,@VERSION@,$VERSION,;t t
2837s,@ACLOCAL@,$ACLOCAL,;t t
2838s,@AUTOCONF@,$AUTOCONF,;t t
2839s,@AUTOMAKE@,$AUTOMAKE,;t t
2840s,@AUTOHEADER@,$AUTOHEADER,;t t
2841s,@MAKEINFO@,$MAKEINFO,;t t
2842s,@install_sh@,$install_sh,;t t
2843s,@STRIP@,$STRIP,;t t
2844s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2845s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2846s,@mkdir_p@,$mkdir_p,;t t
2847s,@AWK@,$AWK,;t t
2848s,@SET_MAKE@,$SET_MAKE,;t t
2849s,@am__leading_dot@,$am__leading_dot,;t t
2850s,@AMTAR@,$AMTAR,;t t
2851s,@am__tar@,$am__tar,;t t
2852s,@am__untar@,$am__untar,;t t
2853s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
2854s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
2855s,@MAINT@,$MAINT,;t t
2856s,@LIBTOOLM4@,$LIBTOOLM4,;t t
2857s,@have_autoconf@,$have_autoconf,;t t
2858s,@have_automake@,$have_automake,;t t
2859s,@BUILDTOOLSDIR@,$BUILDTOOLSDIR,;t t
2860s,@AUX_DIR@,$AUX_DIR,;t t
2861s,@HAVE_EXTERNALS_TRUE@,$HAVE_EXTERNALS_TRUE,;t t
2862s,@HAVE_EXTERNALS_FALSE@,$HAVE_EXTERNALS_FALSE,;t t
2863s,@subdirs@,$subdirs,;t t
2864s,@LIBOBJS@,$LIBOBJS,;t t
2865s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2866CEOF
2867
2868_ACEOF
2869
2870  cat >>$CONFIG_STATUS <<\_ACEOF
2871  # Split the substitutions into bite-sized pieces for seds with
2872  # small command number limits, like on Digital OSF/1 and HP-UX.
2873  ac_max_sed_lines=48
2874  ac_sed_frag=1 # Number of current file.
2875  ac_beg=1 # First line for current file.
2876  ac_end=$ac_max_sed_lines # Line after last line for current file.
2877  ac_more_lines=:
2878  ac_sed_cmds=
2879  while $ac_more_lines; do
2880    if test $ac_beg -gt 1; then
2881      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2882    else
2883      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2884    fi
2885    if test ! -s $tmp/subs.frag; then
2886      ac_more_lines=false
2887    else
2888      # The purpose of the label and of the branching condition is to
2889      # speed up the sed processing (if there are no `@' at all, there
2890      # is no need to browse any of the substitutions).
2891      # These are the two extra sed commands mentioned above.
2892      (echo ':t
2893  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2894      if test -z "$ac_sed_cmds"; then
2895        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2896      else
2897        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2898      fi
2899      ac_sed_frag=`expr $ac_sed_frag + 1`
2900      ac_beg=$ac_end
2901      ac_end=`expr $ac_end + $ac_max_sed_lines`
2902    fi
2903  done
2904  if test -z "$ac_sed_cmds"; then
2905    ac_sed_cmds=cat
2906  fi
2907fi # test -n "$CONFIG_FILES"
2908
2909_ACEOF
2910cat >>$CONFIG_STATUS <<\_ACEOF
2911for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2912  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2913  case $ac_file in
2914  - | *:- | *:-:* ) # input from stdin
2915        cat >$tmp/stdin
2916        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2917        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2918  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2919        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2920  * )   ac_file_in=$ac_file.in ;;
2921  esac
2922
2923  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2924  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2925$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2926         X"$ac_file" : 'X\(//\)[^/]' \| \
2927         X"$ac_file" : 'X\(//\)$' \| \
2928         X"$ac_file" : 'X\(/\)' \| \
2929         .     : '\(.\)' 2>/dev/null ||
2930echo X"$ac_file" |
2931    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2932          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2933          /^X\(\/\/\)$/{ s//\1/; q; }
2934          /^X\(\/\).*/{ s//\1/; q; }
2935          s/.*/./; q'`
2936  { if $as_mkdir_p; then
2937    mkdir -p "$ac_dir"
2938  else
2939    as_dir="$ac_dir"
2940    as_dirs=
2941    while test ! -d "$as_dir"; do
2942      as_dirs="$as_dir $as_dirs"
2943      as_dir=`(dirname "$as_dir") 2>/dev/null ||
2944$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2945         X"$as_dir" : 'X\(//\)[^/]' \| \
2946         X"$as_dir" : 'X\(//\)$' \| \
2947         X"$as_dir" : 'X\(/\)' \| \
2948         .     : '\(.\)' 2>/dev/null ||
2949echo X"$as_dir" |
2950    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2951          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2952          /^X\(\/\/\)$/{ s//\1/; q; }
2953          /^X\(\/\).*/{ s//\1/; q; }
2954          s/.*/./; q'`
2955    done
2956    test ! -n "$as_dirs" || mkdir $as_dirs
2957  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2958echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2959   { (exit 1); exit 1; }; }; }
2960
2961  ac_builddir=.
2962
2963if test "$ac_dir" != .; then
2964  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2965  # A "../" for each directory in $ac_dir_suffix.
2966  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2967else
2968  ac_dir_suffix= ac_top_builddir=
2969fi
2970
2971case $srcdir in
2972  .)  # No --srcdir option.  We are building in place.
2973    ac_srcdir=.
2974    if test -z "$ac_top_builddir"; then
2975       ac_top_srcdir=.
2976    else
2977       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2978    fi ;;
2979  [\\/]* | ?:[\\/]* )  # Absolute path.
2980    ac_srcdir=$srcdir$ac_dir_suffix;
2981    ac_top_srcdir=$srcdir ;;
2982  *) # Relative path.
2983    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2984    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2985esac
2986
2987# Do not use `cd foo && pwd` to compute absolute paths, because
2988# the directories may not exist.
2989case `pwd` in
2990.) ac_abs_builddir="$ac_dir";;
2991*)
2992  case "$ac_dir" in
2993  .) ac_abs_builddir=`pwd`;;
2994  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2995  *) ac_abs_builddir=`pwd`/"$ac_dir";;
2996  esac;;
2997esac
2998case $ac_abs_builddir in
2999.) ac_abs_top_builddir=${ac_top_builddir}.;;
3000*)
3001  case ${ac_top_builddir}. in
3002  .) ac_abs_top_builddir=$ac_abs_builddir;;
3003  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3004  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3005  esac;;
3006esac
3007case $ac_abs_builddir in
3008.) ac_abs_srcdir=$ac_srcdir;;
3009*)
3010  case $ac_srcdir in
3011  .) ac_abs_srcdir=$ac_abs_builddir;;
3012  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3013  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3014  esac;;
3015esac
3016case $ac_abs_builddir in
3017.) ac_abs_top_srcdir=$ac_top_srcdir;;
3018*)
3019  case $ac_top_srcdir in
3020  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3021  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3022  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3023  esac;;
3024esac
3025
3026
3027  case $INSTALL in
3028  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3029  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3030  esac
3031
3032  if test x"$ac_file" != x-; then
3033    { echo "$as_me:$LINENO: creating $ac_file" >&5
3034echo "$as_me: creating $ac_file" >&6;}
3035    rm -f "$ac_file"
3036  fi
3037  # Let's still pretend it is `configure' which instantiates (i.e., don't
3038  # use $as_me), people would be surprised to read:
3039  #    /* config.h.  Generated by config.status.  */
3040  if test x"$ac_file" = x-; then
3041    configure_input=
3042  else
3043    configure_input="$ac_file.  "
3044  fi
3045  configure_input=$configure_input"Generated from `echo $ac_file_in |
3046                                     sed 's,.*/,,'` by configure."
3047
3048  # First look for the input files in the build tree, otherwise in the
3049  # src tree.
3050  ac_file_inputs=`IFS=:
3051    for f in $ac_file_in; do
3052      case $f in
3053      -) echo $tmp/stdin ;;
3054      [\\/$]*)
3055         # Absolute (can't be DOS-style, as IFS=:)
3056         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3057echo "$as_me: error: cannot find input file: $f" >&2;}
3058   { (exit 1); exit 1; }; }
3059         echo "$f";;
3060      *) # Relative
3061         if test -f "$f"; then
3062           # Build tree
3063           echo "$f"
3064         elif test -f "$srcdir/$f"; then
3065           # Source tree
3066           echo "$srcdir/$f"
3067         else
3068           # /dev/null tree
3069           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3070echo "$as_me: error: cannot find input file: $f" >&2;}
3071   { (exit 1); exit 1; }; }
3072         fi;;
3073      esac
3074    done` || { (exit 1); exit 1; }
3075_ACEOF
3076cat >>$CONFIG_STATUS <<_ACEOF
3077  sed "$ac_vpsub
3078$extrasub
3079_ACEOF
3080cat >>$CONFIG_STATUS <<\_ACEOF
3081:t
3082/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3083s,@configure_input@,$configure_input,;t t
3084s,@srcdir@,$ac_srcdir,;t t
3085s,@abs_srcdir@,$ac_abs_srcdir,;t t
3086s,@top_srcdir@,$ac_top_srcdir,;t t
3087s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3088s,@builddir@,$ac_builddir,;t t
3089s,@abs_builddir@,$ac_abs_builddir,;t t
3090s,@top_builddir@,$ac_top_builddir,;t t
3091s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3092s,@INSTALL@,$ac_INSTALL,;t t
3093" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3094  rm -f $tmp/stdin
3095  if test x"$ac_file" != x-; then
3096    mv $tmp/out $ac_file
3097  else
3098    cat $tmp/out
3099    rm -f $tmp/out
3100  fi
3101
3102done
3103_ACEOF
3104
3105cat >>$CONFIG_STATUS <<\_ACEOF
3106
3107{ (exit 0); exit 0; }
3108_ACEOF
3109chmod +x $CONFIG_STATUS
3110ac_clean_files=$ac_clean_files_save
3111
3112
3113# configure is writing to config.log, and then calls config.status.
3114# config.status does its own redirection, appending to config.log.
3115# Unfortunately, on DOS this fails, as config.log is still kept open
3116# by configure, so config.status won't be able to write to it; its
3117# output is simply discarded.  So we exec the FD to /dev/null,
3118# effectively closing config.log, so it can be properly (re)opened and
3119# appended to by config.status.  When coming back to configure, we
3120# need to make the FD available again.
3121if test "$no_create" != yes; then
3122  ac_cs_success=:
3123  ac_config_status_args=
3124  test "$silent" = yes &&
3125    ac_config_status_args="$ac_config_status_args --quiet"
3126  exec 5>/dev/null
3127  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3128  exec 5>>config.log
3129  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3130  # would make configure fail if this is the last instruction.
3131  $ac_cs_success || { (exit 1); exit 1; }
3132fi
3133
3134#
3135# CONFIG_SUBDIRS section.
3136#
3137if test "$no_recursion" != yes; then
3138
3139  # Remove --cache-file and --srcdir arguments so they do not pile up.
3140  ac_sub_configure_args=
3141  ac_prev=
3142  for ac_arg in $ac_configure_args; do
3143    if test -n "$ac_prev"; then
3144      ac_prev=
3145      continue
3146    fi
3147    case $ac_arg in
3148    -cache-file | --cache-file | --cache-fil | --cache-fi \
3149    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3150      ac_prev=cache_file ;;
3151    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3152    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3153    | --c=*)
3154      ;;
3155    --config-cache | -C)
3156      ;;
3157    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3158      ac_prev=srcdir ;;
3159    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3160      ;;
3161    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3162      ac_prev=prefix ;;
3163    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3164      ;;
3165    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3166    esac
3167  done
3168
3169  # Always prepend --prefix to ensure using the same prefix
3170  # in subdir configurations.
3171  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
3172
3173  ac_popdir=`pwd`
3174  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3175
3176    # Do not complain, so a configure script can configure whichever
3177    # parts of a large source tree are present.
3178    test -d $srcdir/$ac_dir || continue
3179
3180    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
3181echo "$as_me: configuring in $ac_dir" >&6;}
3182    { if $as_mkdir_p; then
3183    mkdir -p "$ac_dir"
3184  else
3185    as_dir="$ac_dir"
3186    as_dirs=
3187    while test ! -d "$as_dir"; do
3188      as_dirs="$as_dir $as_dirs"
3189      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3190$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3191         X"$as_dir" : 'X\(//\)[^/]' \| \
3192         X"$as_dir" : 'X\(//\)$' \| \
3193         X"$as_dir" : 'X\(/\)' \| \
3194         .     : '\(.\)' 2>/dev/null ||
3195echo X"$as_dir" |
3196    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3197          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3198          /^X\(\/\/\)$/{ s//\1/; q; }
3199          /^X\(\/\).*/{ s//\1/; q; }
3200          s/.*/./; q'`
3201    done
3202    test ! -n "$as_dirs" || mkdir $as_dirs
3203  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3204echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3205   { (exit 1); exit 1; }; }; }
3206
3207    ac_builddir=.
3208
3209if test "$ac_dir" != .; then
3210  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3211  # A "../" for each directory in $ac_dir_suffix.
3212  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3213else
3214  ac_dir_suffix= ac_top_builddir=
3215fi
3216
3217case $srcdir in
3218  .)  # No --srcdir option.  We are building in place.
3219    ac_srcdir=.
3220    if test -z "$ac_top_builddir"; then
3221       ac_top_srcdir=.
3222    else
3223       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3224    fi ;;
3225  [\\/]* | ?:[\\/]* )  # Absolute path.
3226    ac_srcdir=$srcdir$ac_dir_suffix;
3227    ac_top_srcdir=$srcdir ;;
3228  *) # Relative path.
3229    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3230    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3231esac
3232
3233# Do not use `cd foo && pwd` to compute absolute paths, because
3234# the directories may not exist.
3235case `pwd` in
3236.) ac_abs_builddir="$ac_dir";;
3237*)
3238  case "$ac_dir" in
3239  .) ac_abs_builddir=`pwd`;;
3240  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3241  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3242  esac;;
3243esac
3244case $ac_abs_builddir in
3245.) ac_abs_top_builddir=${ac_top_builddir}.;;
3246*)
3247  case ${ac_top_builddir}. in
3248  .) ac_abs_top_builddir=$ac_abs_builddir;;
3249  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3250  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3251  esac;;
3252esac
3253case $ac_abs_builddir in
3254.) ac_abs_srcdir=$ac_srcdir;;
3255*)
3256  case $ac_srcdir in
3257  .) ac_abs_srcdir=$ac_abs_builddir;;
3258  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3259  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3260  esac;;
3261esac
3262case $ac_abs_builddir in
3263.) ac_abs_top_srcdir=$ac_top_srcdir;;
3264*)
3265  case $ac_top_srcdir in
3266  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3267  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3268  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3269  esac;;
3270esac
3271
3272
3273    cd $ac_dir
3274
3275    # Check for guested configure; otherwise get Cygnus style configure.
3276    if test -f $ac_srcdir/configure.gnu; then
3277      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
3278    elif test -f $ac_srcdir/configure; then
3279      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
3280    elif test -f $ac_srcdir/configure.in; then
3281      ac_sub_configure=$ac_configure
3282    else
3283      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3284echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3285      ac_sub_configure=
3286    fi
3287
3288    # The recursion is here.
3289    if test -n "$ac_sub_configure"; then
3290      # Make the cache file name correct relative to the subdirectory.
3291      case $cache_file in
3292      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3293      *) # Relative path.
3294        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
3295      esac
3296
3297      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3298echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3299      # The eval makes quoting arguments work.
3300      eval $ac_sub_configure $ac_sub_configure_args \
3301           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
3302        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3303echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3304   { (exit 1); exit 1; }; }
3305    fi
3306
3307    cd $ac_popdir
3308  done
3309fi
3310
3311
3312if test x"$coin_vpath_link_files" = x; then : ; else
3313  { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
3314echo "$as_me: Creating VPATH links for data files" >&6;}
3315  for file in $coin_vpath_link_files; do
3316    rm -f $file
3317    $LN_S $srcdir/$file $file
3318  done
3319fi
3320
3321# Define VPATH_DISTCLEANFILES to be everything that needs to be
3322# cleaned for distclean in a vpath configuration
3323
3324VPATH_DISTCLEANFILES="$coin_vpath_link_files"
3325
3326if test x$coin_projectdir = xyes; then
3327  { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
3328echo "$as_me: Configuration of $PACKAGE_NAME successful" >&6;}
3329else
3330  { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&5
3331echo "$as_me: Main configuration of $PACKAGE_NAME successful" >&6;}
3332fi
3333
Note: See TracBrowser for help on using the repository browser.