source: trunk/configure @ 754

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

first version

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