source: trunk/configure @ 787

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

reran autotools

  • Property svn:executable set to *
File size: 102.3 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 we have automake
1834  # Extract the first word of "automake", so it can be a program name with args.
1835set dummy automake; ac_word=$2
1836echo "$as_me:$LINENO: checking for $ac_word" >&5
1837echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1838if test "${ac_cv_prog_have_automake+set}" = set; then
1839  echo $ECHO_N "(cached) $ECHO_C" >&6
1840else
1841  if test -n "$have_automake"; then
1842  ac_cv_prog_have_automake="$have_automake" # Let the user override the test.
1843else
1844as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845for as_dir in $PATH
1846do
1847  IFS=$as_save_IFS
1848  test -z "$as_dir" && as_dir=.
1849  for ac_exec_ext in '' $ac_executable_extensions; do
1850  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1851    ac_cv_prog_have_automake="yes"
1852    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1853    break 2
1854  fi
1855done
1856done
1857
1858  test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no"
1859fi
1860fi
1861have_automake=$ac_cv_prog_have_automake
1862if test -n "$have_automake"; then
1863  echo "$as_me:$LINENO: result: $have_automake" >&5
1864echo "${ECHO_T}$have_automake" >&6
1865else
1866  echo "$as_me:$LINENO: result: no" >&5
1867echo "${ECHO_T}no" >&6
1868fi
1869
1870  if test $have_automake = no; then
1871    { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5
1872echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;}
1873   { (exit 1); exit 1; }; }
1874  fi
1875
1876  # Check whether automake is the correct version
1877  correct_version='1.9.6'
1878  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
1879  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5
1880echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6
1881  automake --version > confauto.out 2>&1
1882  if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
1883    echo "$as_me:$LINENO: result: yes" >&5
1884echo "${ECHO_T}yes" >&6
1885  else
1886    rm -f confauto.out
1887    echo "$as_me:$LINENO: result: no" >&5
1888echo "${ECHO_T}no" >&6
1889    { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5
1890echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;}
1891   { (exit 1); exit 1; }; }
1892  fi
1893  rm -f confauto.out
1894
1895  # Check if we can find the libtool file
1896  if test "${LIBTOOLPREFIX:+set}" != set; then
1897    for p in $HOME ; do
1898      as_ac_File=`echo "ac_cv_file_$p/share/aclocal/libtool.m4" | $as_tr_sh`
1899echo "$as_me:$LINENO: checking for $p/share/aclocal/libtool.m4" >&5
1900echo $ECHO_N "checking for $p/share/aclocal/libtool.m4... $ECHO_C" >&6
1901if eval "test \"\${$as_ac_File+set}\" = set"; then
1902  echo $ECHO_N "(cached) $ECHO_C" >&6
1903else
1904  test "$cross_compiling" = yes &&
1905  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1906echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1907   { (exit 1); exit 1; }; }
1908if test -r "$p/share/aclocal/libtool.m4"; then
1909  eval "$as_ac_File=yes"
1910else
1911  eval "$as_ac_File=no"
1912fi
1913fi
1914echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
1915echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
1916if test `eval echo '${'$as_ac_File'}'` = yes; then
1917  LIBTOOLM4="$p/share/aclocal/libtool.m4"
1918                     LIBTOOLPREFIX="$p"
1919fi
1920
1921      if test x"$LIBTOOLM4" != x; then
1922        break;
1923      fi
1924    done
1925    if test x"$LIBTOOLM4" = x; then
1926      { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find the file libtool.m4 on your system.  Please set the prefix of the location of the correct file with the LIBTOOLPREFIX variable, so that it is in $LIBTOOLPREFIX/share/aclocal.  We assume here that it is the plain version obtained from the GNU tarball." >&5
1927echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find the file libtool.m4 on your system.  Please set the prefix of the location of the correct file with the LIBTOOLPREFIX variable, so that it is in $LIBTOOLPREFIX/share/aclocal.  We assume here that it is the plain version obtained from the GNU tarball." >&2;}
1928   { (exit 1); exit 1; }; }
1929    fi
1930  else
1931    as_ac_File=`echo "ac_cv_file_$LIBTOOLPREFIX/share/aclocal/libtool.m4" | $as_tr_sh`
1932echo "$as_me:$LINENO: checking for $LIBTOOLPREFIX/share/aclocal/libtool.m4" >&5
1933echo $ECHO_N "checking for $LIBTOOLPREFIX/share/aclocal/libtool.m4... $ECHO_C" >&6
1934if eval "test \"\${$as_ac_File+set}\" = set"; then
1935  echo $ECHO_N "(cached) $ECHO_C" >&6
1936else
1937  test "$cross_compiling" = yes &&
1938  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1939echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1940   { (exit 1); exit 1; }; }
1941if test -r "$LIBTOOLPREFIX/share/aclocal/libtool.m4"; then
1942  eval "$as_ac_File=yes"
1943else
1944  eval "$as_ac_File=no"
1945fi
1946fi
1947echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
1948echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
1949if test `eval echo '${'$as_ac_File'}'` = yes; then
1950  LIBTOOLM4="$LIBTOOLPREFIX/share/aclocal/libtool.m4"
1951else
1952  { { echo "$as_me:$LINENO: error: You specified LIBTOOLPREFIX, but I cannot find the file libtool.m4 in $LIBTOOLPREFIX/share/aclocal." >&5
1953echo "$as_me: error: You specified LIBTOOLPREFIX, but I cannot find the file libtool.m4 in $LIBTOOLPREFIX/share/aclocal." >&2;}
1954   { (exit 1); exit 1; }; }
1955fi
1956
1957  fi
1958
1959  # Check if this is the correct version of libtool (with escaped dots)
1960  correct_version='1.5.22'
1961  grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
1962  as_ac_File=`echo "ac_cv_file_$LIBTOOLPREFIX/share/libtool/ltmain.sh" | $as_tr_sh`
1963echo "$as_me:$LINENO: checking for $LIBTOOLPREFIX/share/libtool/ltmain.sh" >&5
1964echo $ECHO_N "checking for $LIBTOOLPREFIX/share/libtool/ltmain.sh... $ECHO_C" >&6
1965if eval "test \"\${$as_ac_File+set}\" = set"; then
1966  echo $ECHO_N "(cached) $ECHO_C" >&6
1967else
1968  test "$cross_compiling" = yes &&
1969  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1970echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1971   { (exit 1); exit 1; }; }
1972if test -r "$LIBTOOLPREFIX/share/libtool/ltmain.sh"; then
1973  eval "$as_ac_File=yes"
1974else
1975  eval "$as_ac_File=no"
1976fi
1977fi
1978echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
1979echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
1980if test `eval echo '${'$as_ac_File'}'` = yes; then
1981  have_ltmain=yes
1982else
1983  have_ltmain=no
1984fi
1985
1986  echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5
1987echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6
1988  if test $have_ltmain = yes; then
1989    if $EGREP $grep_version $LIBTOOLPREFIX/share/libtool/ltmain.sh >/dev/null 2>&1; then
1990      echo "$as_me:$LINENO: result: yes" >&5
1991echo "${ECHO_T}yes" >&6
1992    else
1993      echo "$as_me:$LINENO: result: no" >&5
1994echo "${ECHO_T}no" >&6
1995      { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool.  Please set LIBTOOLPREFIX to the correct installation prefix, so that the correct version of ltmain.sh is in $LIBTOOLPREFIX/share/libtool." >&5
1996echo "$as_me: error: You don't have the correct version of libtool.  Please set LIBTOOLPREFIX to the correct installation prefix, so that the correct version of ltmain.sh is in $LIBTOOLPREFIX/share/libtool." >&2;}
1997   { (exit 1); exit 1; }; }
1998    fi
1999  else
2000    { { echo "$as_me:$LINENO: error: I cannot find the file ltmain.sh in $LIBTOOLPREFIX/share/libtool" >&5
2001echo "$as_me: error: I cannot find the file ltmain.sh in $LIBTOOLPREFIX/share/libtool" >&2;}
2002   { (exit 1); exit 1; }; }
2003  fi
2004
2005  # Check if we have an Externals file
2006  if test -r $srcdir/Externals; then
2007    coin_have_externals=yes
2008  fi
2009
2010  # Find the location of the BuildTools directory
2011  BUILDTOOLSDIR=
2012  if test -r $srcdir/BuildTools/coin.m4; then
2013    BUILDTOOLSDIR=$srcdir/BuildTools
2014  else
2015    if test -r $srcdir/../BuildTools/coin.m4; then
2016      BUILDTOOLSDIR=$srcdir/../BuildTools
2017    else
2018      if test -r $srcdir/../../BuildTools/coin.m4; then
2019        BUILDTOOLSDIR=$srcdir/../../BuildTools
2020      else
2021        { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
2022echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
2023   { (exit 1); exit 1; }; }
2024      fi
2025    fi
2026  fi
2027
2028
2029  # The following variable is set to the name of the directory where
2030  # the autotool scripts are located
2031
2032  AUX_DIR=$ac_aux_dir
2033fi
2034
2035
2036if test $coin_have_externals = yes; then
2037  HAVE_EXTERNALS_TRUE=
2038  HAVE_EXTERNALS_FALSE='#'
2039else
2040  HAVE_EXTERNALS_TRUE='#'
2041  HAVE_EXTERNALS_FALSE=
2042fi
2043
2044
2045
2046#############################################################################
2047#                  Check which subprojects are there                        #
2048#############################################################################
2049
2050coin_subdirs=
2051echo "$as_me:$LINENO: checking whether directory CoinUtils is available" >&5
2052echo $ECHO_N "checking whether directory CoinUtils is available... $ECHO_C" >&6
2053                if test -r $srcdir/CoinUtils/configure; then
2054                  coin_subdirs="$coin_subdirs CoinUtils"
2055                  echo "$as_me:$LINENO: result: yes" >&5
2056echo "${ECHO_T}yes" >&6
2057
2058
2059subdirs="$subdirs CoinUtils"
2060
2061                else
2062                  echo "$as_me:$LINENO: result: no" >&5
2063echo "${ECHO_T}no" >&6
2064                fi
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076coin_subdirs=
2077echo "$as_me:$LINENO: checking whether directory Data/Netlib is available" >&5
2078echo $ECHO_N "checking whether directory Data/Netlib is available... $ECHO_C" >&6
2079                if test -r $srcdir/Data/Netlib/configure; then
2080                  coin_subdirs="$coin_subdirs Data/Netlib"
2081                  echo "$as_me:$LINENO: result: yes" >&5
2082echo "${ECHO_T}yes" >&6
2083
2084
2085subdirs="$subdirs Data/Netlib"
2086
2087                else
2088                  echo "$as_me:$LINENO: result: no" >&5
2089echo "${ECHO_T}no" >&6
2090                fi
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102coin_subdirs=
2103echo "$as_me:$LINENO: checking whether directory Data/Sample is available" >&5
2104echo $ECHO_N "checking whether directory Data/Sample is available... $ECHO_C" >&6
2105                if test -r $srcdir/Data/Sample/configure; then
2106                  coin_subdirs="$coin_subdirs Data/Sample"
2107                  echo "$as_me:$LINENO: result: yes" >&5
2108echo "${ECHO_T}yes" >&6
2109
2110
2111subdirs="$subdirs Data/Sample"
2112
2113                else
2114                  echo "$as_me:$LINENO: result: no" >&5
2115echo "${ECHO_T}no" >&6
2116                fi
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128coin_subdirs=
2129echo "$as_me:$LINENO: checking whether directory Clp is available" >&5
2130echo $ECHO_N "checking whether directory Clp is available... $ECHO_C" >&6
2131                if test -r $srcdir/Clp/configure; then
2132                  coin_subdirs="$coin_subdirs Clp"
2133                  echo "$as_me:$LINENO: result: yes" >&5
2134echo "${ECHO_T}yes" >&6
2135
2136
2137subdirs="$subdirs Clp"
2138
2139                else
2140                  echo "$as_me:$LINENO: result: no" >&5
2141echo "${ECHO_T}no" >&6
2142                fi
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155##############################################################################
2156#                   Finishing up by writing all the output                   #
2157##############################################################################
2158
2159# Here list all the files that configure should create (except for the
2160# configuration header file)
2161          ac_config_files="$ac_config_files Makefile"
2162
2163
2164# Finally, we let configure write all the output...
2165
2166cat >confcache <<\_ACEOF
2167# This file is a shell script that caches the results of configure
2168# tests run on this system so they can be shared between configure
2169# scripts and configure runs, see configure's option --config-cache.
2170# It is not useful on other systems.  If it contains results you don't
2171# want to keep, you may remove or edit it.
2172#
2173# config.status only pays attention to the cache file if you give it
2174# the --recheck option to rerun configure.
2175#
2176# `ac_cv_env_foo' variables (set or unset) will be overridden when
2177# loading this file, other *unset* `ac_cv_foo' will be assigned the
2178# following values.
2179
2180_ACEOF
2181
2182# The following way of writing the cache mishandles newlines in values,
2183# but we know of no workaround that is simple, portable, and efficient.
2184# So, don't put newlines in cache variables' values.
2185# Ultrix sh set writes to stderr and can't be redirected directly,
2186# and sets the high bit in the cache file unless we assign to the vars.
2187{
2188  (set) 2>&1 |
2189    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2190    *ac_space=\ *)
2191      # `set' does not quote correctly, so add quotes (double-quote
2192      # substitution turns \\\\ into \\, and sed turns \\ into \).
2193      sed -n \
2194        "s/'/'\\\\''/g;
2195          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2196      ;;
2197    *)
2198      # `set' quotes correctly as required by POSIX, so do not add quotes.
2199      sed -n \
2200        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2201      ;;
2202    esac;
2203} |
2204  sed '
2205     t clear
2206     : clear
2207     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2208     t end
2209     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2210     : end' >>confcache
2211if diff $cache_file confcache >/dev/null 2>&1; then :; else
2212  if test -w $cache_file; then
2213    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2214    cat confcache >$cache_file
2215  else
2216    echo "not updating unwritable cache $cache_file"
2217  fi
2218fi
2219rm -f confcache
2220
2221test "x$prefix" = xNONE && prefix=$ac_default_prefix
2222# Let make expand exec_prefix.
2223test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2224
2225# VPATH may cause trouble with some makes, so we remove $(srcdir),
2226# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2227# trailing colons and then remove the whole line if VPATH becomes empty
2228# (actually we leave an empty line to preserve line numbers).
2229if test "x$srcdir" = x.; then
2230  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2231s/:*\$(srcdir):*/:/;
2232s/:*\${srcdir}:*/:/;
2233s/:*@srcdir@:*/:/;
2234s/^\([^=]*=[     ]*\):*/\1/;
2235s/:*$//;
2236s/^[^=]*=[       ]*$//;
2237}'
2238fi
2239
2240# Transform confdefs.h into DEFS.
2241# Protect against shell expansion while executing Makefile rules.
2242# Protect against Makefile macro expansion.
2243#
2244# If the first sed substitution is executed (which looks for macros that
2245# take arguments), then we branch to the quote section.  Otherwise,
2246# look for a macro that doesn't take arguments.
2247cat >confdef2opt.sed <<\_ACEOF
2248t clear
2249: clear
2250s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2251t quote
2252s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2253t quote
2254d
2255: quote
2256s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2257s,\[,\\&,g
2258s,\],\\&,g
2259s,\$,$$,g
2260p
2261_ACEOF
2262# We use echo to avoid assuming a particular line-breaking character.
2263# The extra dot is to prevent the shell from consuming trailing
2264# line-breaks from the sub-command output.  A line-break within
2265# single-quotes doesn't work because, if this script is created in a
2266# platform that uses two characters for line-breaks (e.g., DOS), tr
2267# would break.
2268ac_LF_and_DOT=`echo; echo .`
2269DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2270rm -f confdef2opt.sed
2271
2272
2273ac_libobjs=
2274ac_ltlibobjs=
2275for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2276  # 1. Remove the extension, and $U if already installed.
2277  ac_i=`echo "$ac_i" |
2278         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2279  # 2. Add them.
2280  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2281  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2282done
2283LIBOBJS=$ac_libobjs
2284
2285LTLIBOBJS=$ac_ltlibobjs
2286
2287
2288if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2289  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
2290Usually this means the macro was only invoked conditionally." >&5
2291echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
2292Usually this means the macro was only invoked conditionally." >&2;}
2293   { (exit 1); exit 1; }; }
2294fi
2295if test -z "${HAVE_EXTERNALS_TRUE}" && test -z "${HAVE_EXTERNALS_FALSE}"; then
2296  { { echo "$as_me:$LINENO: error: conditional \"HAVE_EXTERNALS\" was never defined.
2297Usually this means the macro was only invoked conditionally." >&5
2298echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
2299Usually this means the macro was only invoked conditionally." >&2;}
2300   { (exit 1); exit 1; }; }
2301fi
2302
2303: ${CONFIG_STATUS=./config.status}
2304ac_clean_files_save=$ac_clean_files
2305ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2306{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2307echo "$as_me: creating $CONFIG_STATUS" >&6;}
2308cat >$CONFIG_STATUS <<_ACEOF
2309#! $SHELL
2310# Generated by $as_me.
2311# Run this file to recreate the current configuration.
2312# Compiler output produced by configure, useful for debugging
2313# configure, is in config.log if it exists.
2314
2315debug=false
2316ac_cs_recheck=false
2317ac_cs_silent=false
2318SHELL=\${CONFIG_SHELL-$SHELL}
2319_ACEOF
2320
2321cat >>$CONFIG_STATUS <<\_ACEOF
2322## --------------------- ##
2323## M4sh Initialization.  ##
2324## --------------------- ##
2325
2326# Be Bourne compatible
2327if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2328  emulate sh
2329  NULLCMD=:
2330  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2331  # is contrary to our usage.  Disable this feature.
2332  alias -g '${1+"$@"}'='"$@"'
2333elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2334  set -o posix
2335fi
2336DUALCASE=1; export DUALCASE # for MKS sh
2337
2338# Support unset when possible.
2339if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2340  as_unset=unset
2341else
2342  as_unset=false
2343fi
2344
2345
2346# Work around bugs in pre-3.0 UWIN ksh.
2347$as_unset ENV MAIL MAILPATH
2348PS1='$ '
2349PS2='> '
2350PS4='+ '
2351
2352# NLS nuisances.
2353for as_var in \
2354  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2355  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2356  LC_TELEPHONE LC_TIME
2357do
2358  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2359    eval $as_var=C; export $as_var
2360  else
2361    $as_unset $as_var
2362  fi
2363done
2364
2365# Required to use basename.
2366if expr a : '\(a\)' >/dev/null 2>&1; then
2367  as_expr=expr
2368else
2369  as_expr=false
2370fi
2371
2372if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2373  as_basename=basename
2374else
2375  as_basename=false
2376fi
2377
2378
2379# Name of the executable.
2380as_me=`$as_basename "$0" ||
2381$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2382         X"$0" : 'X\(//\)$' \| \
2383         X"$0" : 'X\(/\)$' \| \
2384         .     : '\(.\)' 2>/dev/null ||
2385echo X/"$0" |
2386    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2387          /^X\/\(\/\/\)$/{ s//\1/; q; }
2388          /^X\/\(\/\).*/{ s//\1/; q; }
2389          s/.*/./; q'`
2390
2391
2392# PATH needs CR, and LINENO needs CR and PATH.
2393# Avoid depending upon Character Ranges.
2394as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2395as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2396as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2397as_cr_digits='0123456789'
2398as_cr_alnum=$as_cr_Letters$as_cr_digits
2399
2400# The user is always right.
2401if test "${PATH_SEPARATOR+set}" != set; then
2402  echo "#! /bin/sh" >conf$$.sh
2403  echo  "exit 0"   >>conf$$.sh
2404  chmod +x conf$$.sh
2405  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2406    PATH_SEPARATOR=';'
2407  else
2408    PATH_SEPARATOR=:
2409  fi
2410  rm -f conf$$.sh
2411fi
2412
2413
2414  as_lineno_1=$LINENO
2415  as_lineno_2=$LINENO
2416  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2417  test "x$as_lineno_1" != "x$as_lineno_2" &&
2418  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2419  # Find who we are.  Look in the path if we contain no path at all
2420  # relative or not.
2421  case $0 in
2422    *[\\/]* ) as_myself=$0 ;;
2423    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2424for as_dir in $PATH
2425do
2426  IFS=$as_save_IFS
2427  test -z "$as_dir" && as_dir=.
2428  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2429done
2430
2431       ;;
2432  esac
2433  # We did not find ourselves, most probably we were run as `sh COMMAND'
2434  # in which case we are not to be found in the path.
2435  if test "x$as_myself" = x; then
2436    as_myself=$0
2437  fi
2438  if test ! -f "$as_myself"; then
2439    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2440echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2441   { (exit 1); exit 1; }; }
2442  fi
2443  case $CONFIG_SHELL in
2444  '')
2445    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2447do
2448  IFS=$as_save_IFS
2449  test -z "$as_dir" && as_dir=.
2450  for as_base in sh bash ksh sh5; do
2451         case $as_dir in
2452         /*)
2453           if ("$as_dir/$as_base" -c '
2454  as_lineno_1=$LINENO
2455  as_lineno_2=$LINENO
2456  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2457  test "x$as_lineno_1" != "x$as_lineno_2" &&
2458  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2459             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2460             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2461             CONFIG_SHELL=$as_dir/$as_base
2462             export CONFIG_SHELL
2463             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2464           fi;;
2465         esac
2466       done
2467done
2468;;
2469  esac
2470
2471  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2472  # uniformly replaced by the line number.  The first 'sed' inserts a
2473  # line-number line before each line; the second 'sed' does the real
2474  # work.  The second script uses 'N' to pair each line-number line
2475  # with the numbered line, and appends trailing '-' during
2476  # substitution so that $LINENO is not a special case at line end.
2477  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2478  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2479  sed '=' <$as_myself |
2480    sed '
2481      N
2482      s,$,-,
2483      : loop
2484      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2485      t loop
2486      s,-$,,
2487      s,^['$as_cr_digits']*\n,,
2488    ' >$as_me.lineno &&
2489  chmod +x $as_me.lineno ||
2490    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2491echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2492   { (exit 1); exit 1; }; }
2493
2494  # Don't try to exec as it changes $[0], causing all sort of problems
2495  # (the dirname of $[0] is not the place where we might find the
2496  # original and so on.  Autoconf is especially sensible to this).
2497  . ./$as_me.lineno
2498  # Exit status is that of the last command.
2499  exit
2500}
2501
2502
2503case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2504  *c*,-n*) ECHO_N= ECHO_C='
2505' ECHO_T='      ' ;;
2506  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2507  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2508esac
2509
2510if expr a : '\(a\)' >/dev/null 2>&1; then
2511  as_expr=expr
2512else
2513  as_expr=false
2514fi
2515
2516rm -f conf$$ conf$$.exe conf$$.file
2517echo >conf$$.file
2518if ln -s conf$$.file conf$$ 2>/dev/null; then
2519  # We could just check for DJGPP; but this test a) works b) is more generic
2520  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2521  if test -f conf$$.exe; then
2522    # Don't use ln at all; we don't have any links
2523    as_ln_s='cp -p'
2524  else
2525    as_ln_s='ln -s'
2526  fi
2527elif ln conf$$.file conf$$ 2>/dev/null; then
2528  as_ln_s=ln
2529else
2530  as_ln_s='cp -p'
2531fi
2532rm -f conf$$ conf$$.exe conf$$.file
2533
2534if mkdir -p . 2>/dev/null; then
2535  as_mkdir_p=:
2536else
2537  test -d ./-p && rmdir ./-p
2538  as_mkdir_p=false
2539fi
2540
2541as_executable_p="test -f"
2542
2543# Sed expression to map a string onto a valid CPP name.
2544as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2545
2546# Sed expression to map a string onto a valid variable name.
2547as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2548
2549
2550# IFS
2551# We need space, tab and new line, in precisely that order.
2552as_nl='
2553'
2554IFS="   $as_nl"
2555
2556# CDPATH.
2557$as_unset CDPATH
2558
2559exec 6>&1
2560
2561# Open the log real soon, to keep \$[0] and so on meaningful, and to
2562# report actual input values of CONFIG_FILES etc. instead of their
2563# values after options handling.  Logging --version etc. is OK.
2564exec 5>>config.log
2565{
2566  echo
2567  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2568## Running $as_me. ##
2569_ASBOX
2570} >&5
2571cat >&5 <<_CSEOF
2572
2573This file was extended by Clp $as_me 0.1, which was
2574generated by GNU Autoconf 2.59.  Invocation command line was
2575
2576  CONFIG_FILES    = $CONFIG_FILES
2577  CONFIG_HEADERS  = $CONFIG_HEADERS
2578  CONFIG_LINKS    = $CONFIG_LINKS
2579  CONFIG_COMMANDS = $CONFIG_COMMANDS
2580  $ $0 $@
2581
2582_CSEOF
2583echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2584echo >&5
2585_ACEOF
2586
2587# Files that config.status was made for.
2588if test -n "$ac_config_files"; then
2589  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2590fi
2591
2592if test -n "$ac_config_headers"; then
2593  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2594fi
2595
2596if test -n "$ac_config_links"; then
2597  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2598fi
2599
2600if test -n "$ac_config_commands"; then
2601  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2602fi
2603
2604cat >>$CONFIG_STATUS <<\_ACEOF
2605
2606ac_cs_usage="\
2607\`$as_me' instantiates files from templates according to the
2608current configuration.
2609
2610Usage: $0 [OPTIONS] [FILE]...
2611
2612  -h, --help       print this help, then exit
2613  -V, --version    print version number, then exit
2614  -q, --quiet      do not print progress messages
2615  -d, --debug      don't remove temporary files
2616      --recheck    update $as_me by reconfiguring in the same conditions
2617  --file=FILE[:TEMPLATE]
2618                   instantiate the configuration file FILE
2619
2620Configuration files:
2621$config_files
2622
2623Report bugs to <bug-autoconf@gnu.org>."
2624_ACEOF
2625
2626cat >>$CONFIG_STATUS <<_ACEOF
2627ac_cs_version="\\
2628Clp config.status 0.1
2629configured by $0, generated by GNU Autoconf 2.59,
2630  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2631
2632Copyright (C) 2003 Free Software Foundation, Inc.
2633This config.status script is free software; the Free Software Foundation
2634gives unlimited permission to copy, distribute and modify it."
2635srcdir=$srcdir
2636INSTALL="$INSTALL"
2637_ACEOF
2638
2639cat >>$CONFIG_STATUS <<\_ACEOF
2640# If no file are specified by the user, then we need to provide default
2641# value.  By we need to know if files were specified by the user.
2642ac_need_defaults=:
2643while test $# != 0
2644do
2645  case $1 in
2646  --*=*)
2647    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2648    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2649    ac_shift=:
2650    ;;
2651  -*)
2652    ac_option=$1
2653    ac_optarg=$2
2654    ac_shift=shift
2655    ;;
2656  *) # This is not an option, so the user has probably given explicit
2657     # arguments.
2658     ac_option=$1
2659     ac_need_defaults=false;;
2660  esac
2661
2662  case $ac_option in
2663  # Handling of the options.
2664_ACEOF
2665cat >>$CONFIG_STATUS <<\_ACEOF
2666  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2667    ac_cs_recheck=: ;;
2668  --version | --vers* | -V )
2669    echo "$ac_cs_version"; exit 0 ;;
2670  --he | --h)
2671    # Conflict between --help and --header
2672    { { echo "$as_me:$LINENO: error: ambiguous option: $1
2673Try \`$0 --help' for more information." >&5
2674echo "$as_me: error: ambiguous option: $1
2675Try \`$0 --help' for more information." >&2;}
2676   { (exit 1); exit 1; }; };;
2677  --help | --hel | -h )
2678    echo "$ac_cs_usage"; exit 0 ;;
2679  --debug | --d* | -d )
2680    debug=: ;;
2681  --file | --fil | --fi | --f )
2682    $ac_shift
2683    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2684    ac_need_defaults=false;;
2685  --header | --heade | --head | --hea )
2686    $ac_shift
2687    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2688    ac_need_defaults=false;;
2689  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2690  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2691    ac_cs_silent=: ;;
2692
2693  # This is an error.
2694  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2695Try \`$0 --help' for more information." >&5
2696echo "$as_me: error: unrecognized option: $1
2697Try \`$0 --help' for more information." >&2;}
2698   { (exit 1); exit 1; }; } ;;
2699
2700  *) ac_config_targets="$ac_config_targets $1" ;;
2701
2702  esac
2703  shift
2704done
2705
2706ac_configure_extra_args=
2707
2708if $ac_cs_silent; then
2709  exec 6>/dev/null
2710  ac_configure_extra_args="$ac_configure_extra_args --silent"
2711fi
2712
2713_ACEOF
2714cat >>$CONFIG_STATUS <<_ACEOF
2715if \$ac_cs_recheck; then
2716  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2717  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2718fi
2719
2720_ACEOF
2721
2722
2723
2724
2725
2726cat >>$CONFIG_STATUS <<\_ACEOF
2727for ac_config_target in $ac_config_targets
2728do
2729  case "$ac_config_target" in
2730  # Handling of arguments.
2731  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2732  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2733echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2734   { (exit 1); exit 1; }; };;
2735  esac
2736done
2737
2738# If the user did not use the arguments to specify the items to instantiate,
2739# then the envvar interface is used.  Set only those that are not.
2740# We use the long form for the default assignment because of an extremely
2741# bizarre bug on SunOS 4.1.3.
2742if $ac_need_defaults; then
2743  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2744fi
2745
2746# Have a temporary directory for convenience.  Make it in the build tree
2747# simply because there is no reason to put it here, and in addition,
2748# creating and moving files from /tmp can sometimes cause problems.
2749# Create a temporary directory, and hook for its removal unless debugging.
2750$debug ||
2751{
2752  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2753  trap '{ (exit 1); exit 1; }' 1 2 13 15
2754}
2755
2756# Create a (secure) tmp directory for tmp files.
2757
2758{
2759  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2760  test -n "$tmp" && test -d "$tmp"
2761}  ||
2762{
2763  tmp=./confstat$$-$RANDOM
2764  (umask 077 && mkdir $tmp)
2765} ||
2766{
2767   echo "$me: cannot create a temporary directory in ." >&2
2768   { (exit 1); exit 1; }
2769}
2770
2771_ACEOF
2772
2773cat >>$CONFIG_STATUS <<_ACEOF
2774
2775#
2776# CONFIG_FILES section.
2777#
2778
2779# No need to generate the scripts if there are no CONFIG_FILES.
2780# This happens for instance when ./config.status config.h
2781if test -n "\$CONFIG_FILES"; then
2782  # Protect against being on the right side of a sed subst in config.status.
2783  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2784   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2785s,@SHELL@,$SHELL,;t t
2786s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2787s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2788s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2789s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2790s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2791s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2792s,@exec_prefix@,$exec_prefix,;t t
2793s,@prefix@,$prefix,;t t
2794s,@program_transform_name@,$program_transform_name,;t t
2795s,@bindir@,$bindir,;t t
2796s,@sbindir@,$sbindir,;t t
2797s,@libexecdir@,$libexecdir,;t t
2798s,@datadir@,$datadir,;t t
2799s,@sysconfdir@,$sysconfdir,;t t
2800s,@sharedstatedir@,$sharedstatedir,;t t
2801s,@localstatedir@,$localstatedir,;t t
2802s,@libdir@,$libdir,;t t
2803s,@includedir@,$includedir,;t t
2804s,@oldincludedir@,$oldincludedir,;t t
2805s,@infodir@,$infodir,;t t
2806s,@mandir@,$mandir,;t t
2807s,@build_alias@,$build_alias,;t t
2808s,@host_alias@,$host_alias,;t t
2809s,@target_alias@,$target_alias,;t t
2810s,@DEFS@,$DEFS,;t t
2811s,@ECHO_C@,$ECHO_C,;t t
2812s,@ECHO_N@,$ECHO_N,;t t
2813s,@ECHO_T@,$ECHO_T,;t t
2814s,@LIBS@,$LIBS,;t t
2815s,@EGREP@,$EGREP,;t t
2816s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2817s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2818s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2819s,@CYGPATH_W@,$CYGPATH_W,;t t
2820s,@PACKAGE@,$PACKAGE,;t t
2821s,@VERSION@,$VERSION,;t t
2822s,@ACLOCAL@,$ACLOCAL,;t t
2823s,@AUTOCONF@,$AUTOCONF,;t t
2824s,@AUTOMAKE@,$AUTOMAKE,;t t
2825s,@AUTOHEADER@,$AUTOHEADER,;t t
2826s,@MAKEINFO@,$MAKEINFO,;t t
2827s,@install_sh@,$install_sh,;t t
2828s,@STRIP@,$STRIP,;t t
2829s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2830s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2831s,@mkdir_p@,$mkdir_p,;t t
2832s,@AWK@,$AWK,;t t
2833s,@SET_MAKE@,$SET_MAKE,;t t
2834s,@am__leading_dot@,$am__leading_dot,;t t
2835s,@AMTAR@,$AMTAR,;t t
2836s,@am__tar@,$am__tar,;t t
2837s,@am__untar@,$am__untar,;t t
2838s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
2839s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
2840s,@MAINT@,$MAINT,;t t
2841s,@LIBTOOLM4@,$LIBTOOLM4,;t t
2842s,@have_autoconf@,$have_autoconf,;t t
2843s,@have_automake@,$have_automake,;t t
2844s,@BUILDTOOLSDIR@,$BUILDTOOLSDIR,;t t
2845s,@AUX_DIR@,$AUX_DIR,;t t
2846s,@HAVE_EXTERNALS_TRUE@,$HAVE_EXTERNALS_TRUE,;t t
2847s,@HAVE_EXTERNALS_FALSE@,$HAVE_EXTERNALS_FALSE,;t t
2848s,@subdirs@,$subdirs,;t t
2849s,@LIBOBJS@,$LIBOBJS,;t t
2850s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2851CEOF
2852
2853_ACEOF
2854
2855  cat >>$CONFIG_STATUS <<\_ACEOF
2856  # Split the substitutions into bite-sized pieces for seds with
2857  # small command number limits, like on Digital OSF/1 and HP-UX.
2858  ac_max_sed_lines=48
2859  ac_sed_frag=1 # Number of current file.
2860  ac_beg=1 # First line for current file.
2861  ac_end=$ac_max_sed_lines # Line after last line for current file.
2862  ac_more_lines=:
2863  ac_sed_cmds=
2864  while $ac_more_lines; do
2865    if test $ac_beg -gt 1; then
2866      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2867    else
2868      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2869    fi
2870    if test ! -s $tmp/subs.frag; then
2871      ac_more_lines=false
2872    else
2873      # The purpose of the label and of the branching condition is to
2874      # speed up the sed processing (if there are no `@' at all, there
2875      # is no need to browse any of the substitutions).
2876      # These are the two extra sed commands mentioned above.
2877      (echo ':t
2878  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2879      if test -z "$ac_sed_cmds"; then
2880        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2881      else
2882        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2883      fi
2884      ac_sed_frag=`expr $ac_sed_frag + 1`
2885      ac_beg=$ac_end
2886      ac_end=`expr $ac_end + $ac_max_sed_lines`
2887    fi
2888  done
2889  if test -z "$ac_sed_cmds"; then
2890    ac_sed_cmds=cat
2891  fi
2892fi # test -n "$CONFIG_FILES"
2893
2894_ACEOF
2895cat >>$CONFIG_STATUS <<\_ACEOF
2896for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2897  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2898  case $ac_file in
2899  - | *:- | *:-:* ) # input from stdin
2900        cat >$tmp/stdin
2901        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2902        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2903  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2904        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2905  * )   ac_file_in=$ac_file.in ;;
2906  esac
2907
2908  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2909  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2910$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2911         X"$ac_file" : 'X\(//\)[^/]' \| \
2912         X"$ac_file" : 'X\(//\)$' \| \
2913         X"$ac_file" : 'X\(/\)' \| \
2914         .     : '\(.\)' 2>/dev/null ||
2915echo X"$ac_file" |
2916    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2917          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2918          /^X\(\/\/\)$/{ s//\1/; q; }
2919          /^X\(\/\).*/{ s//\1/; q; }
2920          s/.*/./; q'`
2921  { if $as_mkdir_p; then
2922    mkdir -p "$ac_dir"
2923  else
2924    as_dir="$ac_dir"
2925    as_dirs=
2926    while test ! -d "$as_dir"; do
2927      as_dirs="$as_dir $as_dirs"
2928      as_dir=`(dirname "$as_dir") 2>/dev/null ||
2929$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2930         X"$as_dir" : 'X\(//\)[^/]' \| \
2931         X"$as_dir" : 'X\(//\)$' \| \
2932         X"$as_dir" : 'X\(/\)' \| \
2933         .     : '\(.\)' 2>/dev/null ||
2934echo X"$as_dir" |
2935    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2936          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2937          /^X\(\/\/\)$/{ s//\1/; q; }
2938          /^X\(\/\).*/{ s//\1/; q; }
2939          s/.*/./; q'`
2940    done
2941    test ! -n "$as_dirs" || mkdir $as_dirs
2942  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2943echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2944   { (exit 1); exit 1; }; }; }
2945
2946  ac_builddir=.
2947
2948if test "$ac_dir" != .; then
2949  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2950  # A "../" for each directory in $ac_dir_suffix.
2951  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2952else
2953  ac_dir_suffix= ac_top_builddir=
2954fi
2955
2956case $srcdir in
2957  .)  # No --srcdir option.  We are building in place.
2958    ac_srcdir=.
2959    if test -z "$ac_top_builddir"; then
2960       ac_top_srcdir=.
2961    else
2962       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2963    fi ;;
2964  [\\/]* | ?:[\\/]* )  # Absolute path.
2965    ac_srcdir=$srcdir$ac_dir_suffix;
2966    ac_top_srcdir=$srcdir ;;
2967  *) # Relative path.
2968    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2969    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2970esac
2971
2972# Do not use `cd foo && pwd` to compute absolute paths, because
2973# the directories may not exist.
2974case `pwd` in
2975.) ac_abs_builddir="$ac_dir";;
2976*)
2977  case "$ac_dir" in
2978  .) ac_abs_builddir=`pwd`;;
2979  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2980  *) ac_abs_builddir=`pwd`/"$ac_dir";;
2981  esac;;
2982esac
2983case $ac_abs_builddir in
2984.) ac_abs_top_builddir=${ac_top_builddir}.;;
2985*)
2986  case ${ac_top_builddir}. in
2987  .) ac_abs_top_builddir=$ac_abs_builddir;;
2988  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2989  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2990  esac;;
2991esac
2992case $ac_abs_builddir in
2993.) ac_abs_srcdir=$ac_srcdir;;
2994*)
2995  case $ac_srcdir in
2996  .) ac_abs_srcdir=$ac_abs_builddir;;
2997  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2998  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2999  esac;;
3000esac
3001case $ac_abs_builddir in
3002.) ac_abs_top_srcdir=$ac_top_srcdir;;
3003*)
3004  case $ac_top_srcdir in
3005  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3006  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3007  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3008  esac;;
3009esac
3010
3011
3012  case $INSTALL in
3013  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3014  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3015  esac
3016
3017  if test x"$ac_file" != x-; then
3018    { echo "$as_me:$LINENO: creating $ac_file" >&5
3019echo "$as_me: creating $ac_file" >&6;}
3020    rm -f "$ac_file"
3021  fi
3022  # Let's still pretend it is `configure' which instantiates (i.e., don't
3023  # use $as_me), people would be surprised to read:
3024  #    /* config.h.  Generated by config.status.  */
3025  if test x"$ac_file" = x-; then
3026    configure_input=
3027  else
3028    configure_input="$ac_file.  "
3029  fi
3030  configure_input=$configure_input"Generated from `echo $ac_file_in |
3031                                     sed 's,.*/,,'` by configure."
3032
3033  # First look for the input files in the build tree, otherwise in the
3034  # src tree.
3035  ac_file_inputs=`IFS=:
3036    for f in $ac_file_in; do
3037      case $f in
3038      -) echo $tmp/stdin ;;
3039      [\\/$]*)
3040         # Absolute (can't be DOS-style, as IFS=:)
3041         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3042echo "$as_me: error: cannot find input file: $f" >&2;}
3043   { (exit 1); exit 1; }; }
3044         echo "$f";;
3045      *) # Relative
3046         if test -f "$f"; then
3047           # Build tree
3048           echo "$f"
3049         elif test -f "$srcdir/$f"; then
3050           # Source tree
3051           echo "$srcdir/$f"
3052         else
3053           # /dev/null tree
3054           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3055echo "$as_me: error: cannot find input file: $f" >&2;}
3056   { (exit 1); exit 1; }; }
3057         fi;;
3058      esac
3059    done` || { (exit 1); exit 1; }
3060_ACEOF
3061cat >>$CONFIG_STATUS <<_ACEOF
3062  sed "$ac_vpsub
3063$extrasub
3064_ACEOF
3065cat >>$CONFIG_STATUS <<\_ACEOF
3066:t
3067/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3068s,@configure_input@,$configure_input,;t t
3069s,@srcdir@,$ac_srcdir,;t t
3070s,@abs_srcdir@,$ac_abs_srcdir,;t t
3071s,@top_srcdir@,$ac_top_srcdir,;t t
3072s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3073s,@builddir@,$ac_builddir,;t t
3074s,@abs_builddir@,$ac_abs_builddir,;t t
3075s,@top_builddir@,$ac_top_builddir,;t t
3076s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3077s,@INSTALL@,$ac_INSTALL,;t t
3078" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3079  rm -f $tmp/stdin
3080  if test x"$ac_file" != x-; then
3081    mv $tmp/out $ac_file
3082  else
3083    cat $tmp/out
3084    rm -f $tmp/out
3085  fi
3086
3087done
3088_ACEOF
3089
3090cat >>$CONFIG_STATUS <<\_ACEOF
3091
3092{ (exit 0); exit 0; }
3093_ACEOF
3094chmod +x $CONFIG_STATUS
3095ac_clean_files=$ac_clean_files_save
3096
3097
3098# configure is writing to config.log, and then calls config.status.
3099# config.status does its own redirection, appending to config.log.
3100# Unfortunately, on DOS this fails, as config.log is still kept open
3101# by configure, so config.status won't be able to write to it; its
3102# output is simply discarded.  So we exec the FD to /dev/null,
3103# effectively closing config.log, so it can be properly (re)opened and
3104# appended to by config.status.  When coming back to configure, we
3105# need to make the FD available again.
3106if test "$no_create" != yes; then
3107  ac_cs_success=:
3108  ac_config_status_args=
3109  test "$silent" = yes &&
3110    ac_config_status_args="$ac_config_status_args --quiet"
3111  exec 5>/dev/null
3112  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3113  exec 5>>config.log
3114  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3115  # would make configure fail if this is the last instruction.
3116  $ac_cs_success || { (exit 1); exit 1; }
3117fi
3118
3119#
3120# CONFIG_SUBDIRS section.
3121#
3122if test "$no_recursion" != yes; then
3123
3124  # Remove --cache-file and --srcdir arguments so they do not pile up.
3125  ac_sub_configure_args=
3126  ac_prev=
3127  for ac_arg in $ac_configure_args; do
3128    if test -n "$ac_prev"; then
3129      ac_prev=
3130      continue
3131    fi
3132    case $ac_arg in
3133    -cache-file | --cache-file | --cache-fil | --cache-fi \
3134    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3135      ac_prev=cache_file ;;
3136    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3137    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3138    | --c=*)
3139      ;;
3140    --config-cache | -C)
3141      ;;
3142    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3143      ac_prev=srcdir ;;
3144    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3145      ;;
3146    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3147      ac_prev=prefix ;;
3148    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3149      ;;
3150    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3151    esac
3152  done
3153
3154  # Always prepend --prefix to ensure using the same prefix
3155  # in subdir configurations.
3156  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
3157
3158  ac_popdir=`pwd`
3159  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3160
3161    # Do not complain, so a configure script can configure whichever
3162    # parts of a large source tree are present.
3163    test -d $srcdir/$ac_dir || continue
3164
3165    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
3166echo "$as_me: configuring in $ac_dir" >&6;}
3167    { if $as_mkdir_p; then
3168    mkdir -p "$ac_dir"
3169  else
3170    as_dir="$ac_dir"
3171    as_dirs=
3172    while test ! -d "$as_dir"; do
3173      as_dirs="$as_dir $as_dirs"
3174      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3175$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3176         X"$as_dir" : 'X\(//\)[^/]' \| \
3177         X"$as_dir" : 'X\(//\)$' \| \
3178         X"$as_dir" : 'X\(/\)' \| \
3179         .     : '\(.\)' 2>/dev/null ||
3180echo X"$as_dir" |
3181    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3182          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3183          /^X\(\/\/\)$/{ s//\1/; q; }
3184          /^X\(\/\).*/{ s//\1/; q; }
3185          s/.*/./; q'`
3186    done
3187    test ! -n "$as_dirs" || mkdir $as_dirs
3188  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3189echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3190   { (exit 1); exit 1; }; }; }
3191
3192    ac_builddir=.
3193
3194if test "$ac_dir" != .; then
3195  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3196  # A "../" for each directory in $ac_dir_suffix.
3197  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3198else
3199  ac_dir_suffix= ac_top_builddir=
3200fi
3201
3202case $srcdir in
3203  .)  # No --srcdir option.  We are building in place.
3204    ac_srcdir=.
3205    if test -z "$ac_top_builddir"; then
3206       ac_top_srcdir=.
3207    else
3208       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3209    fi ;;
3210  [\\/]* | ?:[\\/]* )  # Absolute path.
3211    ac_srcdir=$srcdir$ac_dir_suffix;
3212    ac_top_srcdir=$srcdir ;;
3213  *) # Relative path.
3214    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3215    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3216esac
3217
3218# Do not use `cd foo && pwd` to compute absolute paths, because
3219# the directories may not exist.
3220case `pwd` in
3221.) ac_abs_builddir="$ac_dir";;
3222*)
3223  case "$ac_dir" in
3224  .) ac_abs_builddir=`pwd`;;
3225  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3226  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3227  esac;;
3228esac
3229case $ac_abs_builddir in
3230.) ac_abs_top_builddir=${ac_top_builddir}.;;
3231*)
3232  case ${ac_top_builddir}. in
3233  .) ac_abs_top_builddir=$ac_abs_builddir;;
3234  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3235  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3236  esac;;
3237esac
3238case $ac_abs_builddir in
3239.) ac_abs_srcdir=$ac_srcdir;;
3240*)
3241  case $ac_srcdir in
3242  .) ac_abs_srcdir=$ac_abs_builddir;;
3243  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3244  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3245  esac;;
3246esac
3247case $ac_abs_builddir in
3248.) ac_abs_top_srcdir=$ac_top_srcdir;;
3249*)
3250  case $ac_top_srcdir in
3251  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3252  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3253  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3254  esac;;
3255esac
3256
3257
3258    cd $ac_dir
3259
3260    # Check for guested configure; otherwise get Cygnus style configure.
3261    if test -f $ac_srcdir/configure.gnu; then
3262      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
3263    elif test -f $ac_srcdir/configure; then
3264      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
3265    elif test -f $ac_srcdir/configure.in; then
3266      ac_sub_configure=$ac_configure
3267    else
3268      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3269echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3270      ac_sub_configure=
3271    fi
3272
3273    # The recursion is here.
3274    if test -n "$ac_sub_configure"; then
3275      # Make the cache file name correct relative to the subdirectory.
3276      case $cache_file in
3277      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3278      *) # Relative path.
3279        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
3280      esac
3281
3282      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3283echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3284      # The eval makes quoting arguments work.
3285      eval $ac_sub_configure $ac_sub_configure_args \
3286           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
3287        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3288echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3289   { (exit 1); exit 1; }; }
3290    fi
3291
3292    cd $ac_popdir
3293  done
3294fi
3295
3296
3297if test x"$coin_vpath_link_files" = x; then : ; else
3298  { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
3299echo "$as_me: Creating VPATH links for data files" >&6;}
3300  for file in $coin_vpath_link_files; do
3301    rm -f $file
3302    $LN_S $srcdir/$file $file
3303  done
3304fi
3305
3306# Define VPATH_DISTCLEANFILES to be everything that needs to be
3307# cleaned for distclean in a vpath configuration
3308
3309VPATH_DISTCLEANFILES="$coin_vpath_link_files"
3310
3311if test x$coin_projectdir = xyes; then
3312  { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
3313echo "$as_me: Configuration of $PACKAGE_NAME successful" >&6;}
3314else
3315  { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&5
3316echo "$as_me: Main configuration of $PACKAGE_NAME successful" >&6;}
3317fi
3318
Note: See TracBrowser for help on using the repository browser.