Debian Codegraph @

configure

raw
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 CoinMP 1.8.
5 #
6 # Report bugs to <[email protected]>.
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 CoinMP which is distributed
16 # under the Common Public License.
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
20
21 # Be Bourne compatible
22 if 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+"$@"}'='"$@"'
28 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
29 set -o posix
30 fi
31 DUALCASE=1; export DUALCASE # for MKS sh
32
33 # Support unset when possible.
34 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
35 as_unset=unset
36 else
37 as_unset=false
38 fi
39
40
41 # Work around bugs in pre-3.0 UWIN ksh.
42 $as_unset ENV MAIL MAILPATH
43 PS1='$ '
44 PS2='> '
45 PS4='+ '
46
47 # NLS nuisances.
48 for 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
52 do
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
58 done
59
60 # Required to use basename.
61 if expr a : '\(a\)' >/dev/null 2>&1; then
62 as_expr=expr
63 else
64 as_expr=false
65 fi
66
67 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 as_basename=basename
69 else
70 as_basename=false
71 fi
72
73
74 # Name of the executable.
75 as_me=`$as_basename "$0" ||
76 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
77 X"$0" : 'X\(//\)$' \| \
78 X"$0" : 'X\(/\)$' \| \
79 . : '\(.\)' 2>/dev/null ||
80 echo 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.
89 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
90 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
91 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
92 as_cr_digits='0123456789'
93 as_cr_alnum=$as_cr_Letters$as_cr_digits
94
95 # The user is always right.
96 if 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
106 fi
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
119 for as_dir in $PATH
120 do
121 IFS=$as_save_IFS
122 test -z "$as_dir" && as_dir=.
123 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
124 done
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
140 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
141 do
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
161 done
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
196 case `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= ;;
201 esac
202
203 if expr a : '\(a\)' >/dev/null 2>&1; then
204 as_expr=expr
205 else
206 as_expr=false
207 fi
208
209 rm -f conf$$ conf$$.exe conf$$.file
210 echo >conf$$.file
211 if 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
220 elif ln conf$$.file conf$$ 2>/dev/null; then
221 as_ln_s=ln
222 else
223 as_ln_s='cp -p'
224 fi
225 rm -f conf$$ conf$$.exe conf$$.file
226
227 if mkdir -p . 2>/dev/null; then
228 as_mkdir_p=:
229 else
230 test -d ./-p && rmdir ./-p
231 as_mkdir_p=false
232 fi
233
234 as_executable_p="test -f"
235
236 # Sed expression to map a string onto a valid CPP name.
237 as_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.
240 as_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.
245 as_nl='
246 '
247 IFS=" $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.
256 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
257
258 exec 6>&1
259
260 #
261 # Initializations.
262 #
263 ac_default_prefix=/usr/local
264 ac_config_libobj_dir=.
265 cross_compiling=no
266 subdirs=
267 MFLAGS=
268 MAKEFLAGS=
269 SHELL=${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.
277 PACKAGE_NAME='CoinMP'
278 PACKAGE_TARNAME='coinmp'
279 PACKAGE_VERSION='1.8'
280 PACKAGE_STRING='CoinMP 1.8'
281 PACKAGE_BUGREPORT='[email protected]'
282
283 ac_unique_file="configure.ac"
284 ac_default_prefix=`pwd`
285 ac_subdirs_all="$ac_subdirs_all Data/Sample"
286 ac_subdirs_all="$ac_subdirs_all CoinUtils"
287 ac_subdirs_all="$ac_subdirs_all Osi"
288 ac_subdirs_all="$ac_subdirs_all Clp"
289 ac_subdirs_all="$ac_subdirs_all Cgl"
290 ac_subdirs_all="$ac_subdirs_all Cbc"
291 ac_subdirs_all="$ac_subdirs_all CoinMP"
292 ac_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 LN_S 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 have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE COIN_SKIP_PROJECTS subdirs LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
293 ac_subst_files=''
294
295 # Initialize some variables set by options.
296 ac_init_help=
297 ac_init_version=false
298 # The variables have the same names as the options, with
299 # dashes changed to underlines.
300 cache_file=/dev/null
301 exec_prefix=NONE
302 no_create=
303 no_recursion=
304 prefix=NONE
305 program_prefix=NONE
306 program_suffix=NONE
307 program_transform_name=s,x,x,
308 silent=
309 site=
310 srcdir=
311 verbose=
312 x_includes=NONE
313 x_libraries=NONE
314
315 # Installation directory options.
316 # These are left unexpanded so users can "make install exec_prefix=/foo"
317 # and all the variables that are supposed to be based on exec_prefix
318 # by default will actually change.
319 # Use braces instead of parens because sh, perl, etc. also accept them.
320 bindir='${exec_prefix}/bin'
321 sbindir='${exec_prefix}/sbin'
322 libexecdir='${exec_prefix}/libexec'
323 datadir='${prefix}/share'
324 sysconfdir='${prefix}/etc'
325 sharedstatedir='${prefix}/com'
326 localstatedir='${prefix}/var'
327 libdir='${exec_prefix}/lib'
328 includedir='${prefix}/include'
329 oldincludedir='/usr/include'
330 infodir='${prefix}/info'
331 mandir='${prefix}/man'
332
333 ac_prev=
334 for ac_option
335 do
336 # If the previous option needs an argument, assign it.
337 if test -n "$ac_prev"; then
338 eval "$ac_prev=\$ac_option"
339 ac_prev=
340 continue
341 fi
342
343 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
344
345 # Accept the important Cygnus configure options, so we can diagnose typos.
346
347 case $ac_option in
348
349 -bindir | --bindir | --bindi | --bind | --bin | --bi)
350 ac_prev=bindir ;;
351 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
352 bindir=$ac_optarg ;;
353
354 -build | --build | --buil | --bui | --bu)
355 ac_prev=build_alias ;;
356 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
357 build_alias=$ac_optarg ;;
358
359 -cache-file | --cache-file | --cache-fil | --cache-fi \
360 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
361 ac_prev=cache_file ;;
362 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
363 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
364 cache_file=$ac_optarg ;;
365
366 --config-cache | -C)
367 cache_file=config.cache ;;
368
369 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
370 ac_prev=datadir ;;
371 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
372 | --da=*)
373 datadir=$ac_optarg ;;
374
375 -disable-* | --disable-*)
376 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
377 # Reject names that are not valid shell variable names.
378 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
379 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
380 { (exit 1); exit 1; }; }
381 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
382 eval "enable_$ac_feature=no" ;;
383
384 -enable-* | --enable-*)
385 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
386 # Reject names that are not valid shell variable names.
387 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
388 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
389 { (exit 1); exit 1; }; }
390 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
391 case $ac_option in
392 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
393 *) ac_optarg=yes ;;
394 esac
395 eval "enable_$ac_feature='$ac_optarg'" ;;
396
397 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
398 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
399 | --exec | --exe | --ex)
400 ac_prev=exec_prefix ;;
401 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
402 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
403 | --exec=* | --exe=* | --ex=*)
404 exec_prefix=$ac_optarg ;;
405
406 -gas | --gas | --ga | --g)
407 # Obsolete; use --with-gas.
408 with_gas=yes ;;
409
410 -help | --help | --hel | --he | -h)
411 ac_init_help=long ;;
412 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
413 ac_init_help=recursive ;;
414 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
415 ac_init_help=short ;;
416
417 -host | --host | --hos | --ho)
418 ac_prev=host_alias ;;
419 -host=* | --host=* | --hos=* | --ho=*)
420 host_alias=$ac_optarg ;;
421
422 -includedir | --includedir | --includedi | --included | --include \
423 | --includ | --inclu | --incl | --inc)
424 ac_prev=includedir ;;
425 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
426 | --includ=* | --inclu=* | --incl=* | --inc=*)
427 includedir=$ac_optarg ;;
428
429 -infodir | --infodir | --infodi | --infod | --info | --inf)
430 ac_prev=infodir ;;
431 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
432 infodir=$ac_optarg ;;
433
434 -libdir | --libdir | --libdi | --libd)
435 ac_prev=libdir ;;
436 -libdir=* | --libdir=* | --libdi=* | --libd=*)
437 libdir=$ac_optarg ;;
438
439 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
440 | --libexe | --libex | --libe)
441 ac_prev=libexecdir ;;
442 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
443 | --libexe=* | --libex=* | --libe=*)
444 libexecdir=$ac_optarg ;;
445
446 -localstatedir | --localstatedir | --localstatedi | --localstated \
447 | --localstate | --localstat | --localsta | --localst \
448 | --locals | --local | --loca | --loc | --lo)
449 ac_prev=localstatedir ;;
450 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
451 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
452 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
453 localstatedir=$ac_optarg ;;
454
455 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
456 ac_prev=mandir ;;
457 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
458 mandir=$ac_optarg ;;
459
460 -nfp | --nfp | --nf)
461 # Obsolete; use --without-fp.
462 with_fp=no ;;
463
464 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
465 | --no-cr | --no-c | -n)
466 no_create=yes ;;
467
468 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
469 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
470 no_recursion=yes ;;
471
472 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
473 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
474 | --oldin | --oldi | --old | --ol | --o)
475 ac_prev=oldincludedir ;;
476 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
477 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
478 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
479 oldincludedir=$ac_optarg ;;
480
481 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
482 ac_prev=prefix ;;
483 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
484 prefix=$ac_optarg ;;
485
486 -program-prefix | --program-prefix | --program-prefi | --program-pref \
487 | --program-pre | --program-pr | --program-p)
488 ac_prev=program_prefix ;;
489 -program-prefix=* | --program-prefix=* | --program-prefi=* \
490 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
491 program_prefix=$ac_optarg ;;
492
493 -program-suffix | --program-suffix | --program-suffi | --program-suff \
494 | --program-suf | --program-su | --program-s)
495 ac_prev=program_suffix ;;
496 -program-suffix=* | --program-suffix=* | --program-suffi=* \
497 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
498 program_suffix=$ac_optarg ;;
499
500 -program-transform-name | --program-transform-name \
501 | --program-transform-nam | --program-transform-na \
502 | --program-transform-n | --program-transform- \
503 | --program-transform | --program-transfor \
504 | --program-transfo | --program-transf \
505 | --program-trans | --program-tran \
506 | --progr-tra | --program-tr | --program-t)
507 ac_prev=program_transform_name ;;
508 -program-transform-name=* | --program-transform-name=* \
509 | --program-transform-nam=* | --program-transform-na=* \
510 | --program-transform-n=* | --program-transform-=* \
511 | --program-transform=* | --program-transfor=* \
512 | --program-transfo=* | --program-transf=* \
513 | --program-trans=* | --program-tran=* \
514 | --progr-tra=* | --program-tr=* | --program-t=*)
515 program_transform_name=$ac_optarg ;;
516
517 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
518 | -silent | --silent | --silen | --sile | --sil)
519 silent=yes ;;
520
521 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
522 ac_prev=sbindir ;;
523 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
524 | --sbi=* | --sb=*)
525 sbindir=$ac_optarg ;;
526
527 -sharedstatedir | --sharedstatedir | --sharedstatedi \
528 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
529 | --sharedst | --shareds | --shared | --share | --shar \
530 | --sha | --sh)
531 ac_prev=sharedstatedir ;;
532 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
533 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
534 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
535 | --sha=* | --sh=*)
536 sharedstatedir=$ac_optarg ;;
537
538 -site | --site | --sit)
539 ac_prev=site ;;
540 -site=* | --site=* | --sit=*)
541 site=$ac_optarg ;;
542
543 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
544 ac_prev=srcdir ;;
545 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
546 srcdir=$ac_optarg ;;
547
548 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
549 | --syscon | --sysco | --sysc | --sys | --sy)
550 ac_prev=sysconfdir ;;
551 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
552 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
553 sysconfdir=$ac_optarg ;;
554
555 -target | --target | --targe | --targ | --tar | --ta | --t)
556 ac_prev=target_alias ;;
557 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
558 target_alias=$ac_optarg ;;
559
560 -v | -verbose | --verbose | --verbos | --verbo | --verb)
561 verbose=yes ;;
562
563 -version | --version | --versio | --versi | --vers | -V)
564 ac_init_version=: ;;
565
566 -with-* | --with-*)
567 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
568 # Reject names that are not valid shell variable names.
569 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
570 { echo "$as_me: error: invalid package name: $ac_package" >&2
571 { (exit 1); exit 1; }; }
572 ac_package=`echo $ac_package| sed 's/-/_/g'`
573 case $ac_option in
574 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
575 *) ac_optarg=yes ;;
576 esac
577 eval "with_$ac_package='$ac_optarg'" ;;
578
579 -without-* | --without-*)
580 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
581 # Reject names that are not valid shell variable names.
582 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
583 { echo "$as_me: error: invalid package name: $ac_package" >&2
584 { (exit 1); exit 1; }; }
585 ac_package=`echo $ac_package | sed 's/-/_/g'`
586 eval "with_$ac_package=no" ;;
587
588 --x)
589 # Obsolete; use --with-x.
590 with_x=yes ;;
591
592 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
593 | --x-incl | --x-inc | --x-in | --x-i)
594 ac_prev=x_includes ;;
595 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
596 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
597 x_includes=$ac_optarg ;;
598
599 -x-libraries | --x-libraries | --x-librarie | --x-librari \
600 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
601 ac_prev=x_libraries ;;
602 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
603 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
604 x_libraries=$ac_optarg ;;
605
606 -*) { echo "$as_me: error: unrecognized option: $ac_option
607 Try \`$0 --help' for more information." >&2
608 { (exit 1); exit 1; }; }
609 ;;
610
611 *=*)
612 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
613 # Reject names that are not valid shell variable names.
614 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
615 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
616 { (exit 1); exit 1; }; }
617 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
618 eval "$ac_envvar='$ac_optarg'"
619 export $ac_envvar ;;
620
621 *)
622 # FIXME: should be removed in autoconf 3.0.
623 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
624 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
625 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
626 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
627 ;;
628
629 esac
630 done
631
632 if test -n "$ac_prev"; then
633 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
634 { echo "$as_me: error: missing argument to $ac_option" >&2
635 { (exit 1); exit 1; }; }
636 fi
637
638 # Be sure to have absolute paths.
639 for ac_var in exec_prefix prefix
640 do
641 eval ac_val=$`echo $ac_var`
642 case $ac_val in
643 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
644 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
645 { (exit 1); exit 1; }; };;
646 esac
647 done
648
649 # Be sure to have absolute paths.
650 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
651 localstatedir libdir includedir oldincludedir infodir mandir
652 do
653 eval ac_val=$`echo $ac_var`
654 case $ac_val in
655 [\\/$]* | ?:[\\/]* ) ;;
656 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
657 { (exit 1); exit 1; }; };;
658 esac
659 done
660
661 # There might be people who depend on the old broken behavior: `$host'
662 # used to hold the argument of --host etc.
663 # FIXME: To remove some day.
664 build=$build_alias
665 host=$host_alias
666 target=$target_alias
667
668 # FIXME: To remove some day.
669 if test "x$host_alias" != x; then
670 if test "x$build_alias" = x; then
671 cross_compiling=maybe
672 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
673 If a cross compiler is detected then cross compile mode will be used." >&2
674 elif test "x$build_alias" != "x$host_alias"; then
675 cross_compiling=yes
676 fi
677 fi
678
679 ac_tool_prefix=
680 test -n "$host_alias" && ac_tool_prefix=$host_alias-
681
682 test "$silent" = yes && exec 6>/dev/null
683
684
685 # Find the source files, if location was not specified.
686 if test -z "$srcdir"; then
687 ac_srcdir_defaulted=yes
688 # Try the directory containing this script, then its parent.
689 ac_confdir=`(dirname "$0") 2>/dev/null ||
690 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
691 X"$0" : 'X\(//\)[^/]' \| \
692 X"$0" : 'X\(//\)$' \| \
693 X"$0" : 'X\(/\)' \| \
694 . : '\(.\)' 2>/dev/null ||
695 echo X"$0" |
696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
697 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
698 /^X\(\/\/\)$/{ s//\1/; q; }
699 /^X\(\/\).*/{ s//\1/; q; }
700 s/.*/./; q'`
701 srcdir=$ac_confdir
702 if test ! -r $srcdir/$ac_unique_file; then
703 srcdir=..
704 fi
705 else
706 ac_srcdir_defaulted=no
707 fi
708 if test ! -r $srcdir/$ac_unique_file; then
709 if test "$ac_srcdir_defaulted" = yes; then
710 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
711 { (exit 1); exit 1; }; }
712 else
713 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
714 { (exit 1); exit 1; }; }
715 fi
716 fi
717 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
718 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
719 { (exit 1); exit 1; }; }
720 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
721 ac_env_build_alias_set=${build_alias+set}
722 ac_env_build_alias_value=$build_alias
723 ac_cv_env_build_alias_set=${build_alias+set}
724 ac_cv_env_build_alias_value=$build_alias
725 ac_env_host_alias_set=${host_alias+set}
726 ac_env_host_alias_value=$host_alias
727 ac_cv_env_host_alias_set=${host_alias+set}
728 ac_cv_env_host_alias_value=$host_alias
729 ac_env_target_alias_set=${target_alias+set}
730 ac_env_target_alias_value=$target_alias
731 ac_cv_env_target_alias_set=${target_alias+set}
732 ac_cv_env_target_alias_value=$target_alias
733 ac_env_COIN_SKIP_PROJECTS_set=${COIN_SKIP_PROJECTS+set}
734 ac_env_COIN_SKIP_PROJECTS_value=$COIN_SKIP_PROJECTS
735 ac_cv_env_COIN_SKIP_PROJECTS_set=${COIN_SKIP_PROJECTS+set}
736 ac_cv_env_COIN_SKIP_PROJECTS_value=$COIN_SKIP_PROJECTS
737
738 #
739 # Report the --help message.
740 #
741 if test "$ac_init_help" = "long"; then
742 # Omit some internal or obsolete options to make the list less imposing.
743 # This message is too long to be a string in the A/UX 3.1 sh.
744 cat <<_ACEOF
745 \`configure' configures CoinMP 1.8 to adapt to many kinds of systems.
746
747 Usage: $0 [OPTION]... [VAR=VALUE]...
748
749 To assign environment variables (e.g., CC, CFLAGS...), specify them as
750 VAR=VALUE. See below for descriptions of some of the useful variables.
751
752 Defaults for the options are specified in brackets.
753
754 Configuration:
755 -h, --help display this help and exit
756 --help=short display options specific to this package
757 --help=recursive display the short help of all the included packages
758 -V, --version display version information and exit
759 -q, --quiet, --silent do not print \`checking...' messages
760 --cache-file=FILE cache test results in FILE [disabled]
761 -C, --config-cache alias for \`--cache-file=config.cache'
762 -n, --no-create do not create output files
763 --srcdir=DIR find the sources in DIR [configure dir or \`..']
764
765 _ACEOF
766
767 cat <<_ACEOF
768 Installation directories:
769 --prefix=PREFIX install architecture-independent files in PREFIX
770 [$ac_default_prefix]
771 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
772 [PREFIX]
773
774 By default, \`make install' will install all the files in
775 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
776 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
777 for instance \`--prefix=\$HOME'.
778
779 For better control, use the options below.
780
781 Fine tuning of the installation directories:
782 --bindir=DIR user executables [EPREFIX/bin]
783 --sbindir=DIR system admin executables [EPREFIX/sbin]
784 --libexecdir=DIR program executables [EPREFIX/libexec]
785 --datadir=DIR read-only architecture-independent data [PREFIX/share]
786 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
787 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
788 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
789 --libdir=DIR object code libraries [EPREFIX/lib]
790 --includedir=DIR C header files [PREFIX/include]
791 --oldincludedir=DIR C header files for non-gcc [/usr/include]
792 --infodir=DIR info documentation [PREFIX/info]
793 --mandir=DIR man documentation [PREFIX/man]
794 _ACEOF
795
796 cat <<\_ACEOF
797
798 Program names:
799 --program-prefix=PREFIX prepend PREFIX to installed program names
800 --program-suffix=SUFFIX append SUFFIX to installed program names
801 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
802 _ACEOF
803 fi
804
805 if test -n "$ac_init_help"; then
806 case $ac_init_help in
807 short | recursive ) echo "Configuration of CoinMP 1.8:";;
808 esac
809 cat <<\_ACEOF
810
811 Optional Features:
812 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
813 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
814 --enable-maintainer-mode enable make rules and dependencies not useful
815 (and sometimes confusing) to the casual installer
816
817 Optional Packages:
818 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
819 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
820
821 --with-sample-lib linker flags for using project Sample
822 --with-sample-incdir directory with header files for using project Sample
823 --with-sample-datadir directory with data files for using project Sample
824 --with-coinutils-lib linker flags for using project CoinUtils
825 --with-coinutils-incdir directory with header files for using project
826 CoinUtils
827 --with-coinutils-datadir
828 directory with data files for using project
829 CoinUtils
830 --with-osi-lib linker flags for using project Osi
831 --with-osi-incdir directory with header files for using project Osi
832 --with-osi-datadir directory with data files for using project Osi
833 --with-clp-lib linker flags for using project Clp
834 --with-clp-incdir directory with header files for using project Clp
835 --with-clp-datadir directory with data files for using project Clp
836 --with-cgl-lib linker flags for using project Cgl
837 --with-cgl-incdir directory with header files for using project Cgl
838 --with-cgl-datadir directory with data files for using project Cgl
839 --with-cbc-lib linker flags for using project Cbc
840 --with-cbc-incdir directory with header files for using project Cbc
841 --with-cbc-datadir directory with data files for using project Cbc
842 --with-coinmp-lib linker flags for using project CoinMP
843 --with-coinmp-incdir directory with header files for using project CoinMP
844 --with-coinmp-datadir directory with data files for using project CoinMP
845
846 Some influential environment variables:
847 COIN_SKIP_PROJECTS
848 Set to the subdirectories of projects that should be skipped in
849 the configuration
850
851 Use these variables to override the choices made by `configure' or to help
852 it to find libraries and programs with nonstandard names/locations.
853
854 Report bugs to <[email protected]>.
855 _ACEOF
856 fi
857
858 if test "$ac_init_help" = "recursive"; then
859 # If there are subdirs, report their specific --help.
860 ac_popdir=`pwd`
861 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
862 test -d $ac_dir || continue
863 ac_builddir=.
864
865 if test "$ac_dir" != .; then
866 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
867 # A "../" for each directory in $ac_dir_suffix.
868 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
869 else
870 ac_dir_suffix= ac_top_builddir=
871 fi
872
873 case $srcdir in
874 .) # No --srcdir option. We are building in place.
875 ac_srcdir=.
876 if test -z "$ac_top_builddir"; then
877 ac_top_srcdir=.
878 else
879 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
880 fi ;;
881 [\\/]* | ?:[\\/]* ) # Absolute path.
882 ac_srcdir=$srcdir$ac_dir_suffix;
883 ac_top_srcdir=$srcdir ;;
884 *) # Relative path.
885 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
886 ac_top_srcdir=$ac_top_builddir$srcdir ;;
887 esac
888
889 # Do not use `cd foo && pwd` to compute absolute paths, because
890 # the directories may not exist.
891 case `pwd` in
892 .) ac_abs_builddir="$ac_dir";;
893 *)
894 case "$ac_dir" in
895 .) ac_abs_builddir=`pwd`;;
896 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
897 *) ac_abs_builddir=`pwd`/"$ac_dir";;
898 esac;;
899 esac
900 case $ac_abs_builddir in
901 .) ac_abs_top_builddir=${ac_top_builddir}.;;
902 *)
903 case ${ac_top_builddir}. in
904 .) ac_abs_top_builddir=$ac_abs_builddir;;
905 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
906 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
907 esac;;
908 esac
909 case $ac_abs_builddir in
910 .) ac_abs_srcdir=$ac_srcdir;;
911 *)
912 case $ac_srcdir in
913 .) ac_abs_srcdir=$ac_abs_builddir;;
914 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
915 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
916 esac;;
917 esac
918 case $ac_abs_builddir in
919 .) ac_abs_top_srcdir=$ac_top_srcdir;;
920 *)
921 case $ac_top_srcdir in
922 .) ac_abs_top_srcdir=$ac_abs_builddir;;
923 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
924 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
925 esac;;
926 esac
927
928 cd $ac_dir
929 # Check for guested configure; otherwise get Cygnus style configure.
930 if test -f $ac_srcdir/configure.gnu; then
931 echo
932 $SHELL $ac_srcdir/configure.gnu --help=recursive
933 elif test -f $ac_srcdir/configure; then
934 echo
935 $SHELL $ac_srcdir/configure --help=recursive
936 elif test -f $ac_srcdir/configure.ac ||
937 test -f $ac_srcdir/configure.in; then
938 echo
939 $ac_configure --help
940 else
941 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
942 fi
943 cd $ac_popdir
944 done
945 fi
946
947 test -n "$ac_init_help" && exit 0
948 if $ac_init_version; then
949 cat <<\_ACEOF
950 CoinMP configure 1.8
951 generated by GNU Autoconf 2.59
952
953 Copyright (C) 2003 Free Software Foundation, Inc.
954 This configure script is free software; the Free Software Foundation
955 gives unlimited permission to copy, distribute and modify it.
956
957
958 Copyright 2006 International Business Machines and others.
959 All Rights Reserved.
960 This file is part of the open source package CoinMP which is distributed
961 under the Common Public License.
962 _ACEOF
963 exit 0
964 fi
965 exec 5>config.log
966 cat >&5 <<_ACEOF
967 This file contains any messages produced by compilers while
968 running configure, to aid debugging if configure makes a mistake.
969
970 It was created by CoinMP $as_me 1.8, which was
971 generated by GNU Autoconf 2.59. Invocation command line was
972
973 $ $0 $@
974
975 _ACEOF
976 {
977 cat <<_ASUNAME
978 ## --------- ##
979 ## Platform. ##
980 ## --------- ##
981
982 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
983 uname -m = `(uname -m) 2>/dev/null || echo unknown`
984 uname -r = `(uname -r) 2>/dev/null || echo unknown`
985 uname -s = `(uname -s) 2>/dev/null || echo unknown`
986 uname -v = `(uname -v) 2>/dev/null || echo unknown`
987
988 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
989 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
990
991 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
992 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
993 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
994 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
995 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
996 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
997 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
998
999 _ASUNAME
1000
1001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1002 for as_dir in $PATH
1003 do
1004 IFS=$as_save_IFS
1005 test -z "$as_dir" && as_dir=.
1006 echo "PATH: $as_dir"
1007 done
1008
1009 } >&5
1010
1011 cat >&5 <<_ACEOF
1012
1013
1014 ## ----------- ##
1015 ## Core tests. ##
1016 ## ----------- ##
1017
1018 _ACEOF
1019
1020
1021 # Keep a trace of the command line.
1022 # Strip out --no-create and --no-recursion so they do not pile up.
1023 # Strip out --silent because we don't want to record it for future runs.
1024 # Also quote any args containing shell meta-characters.
1025 # Make two passes to allow for proper duplicate-argument suppression.
1026 ac_configure_args=
1027 ac_configure_args0=
1028 ac_configure_args1=
1029 ac_sep=
1030 ac_must_keep_next=false
1031 for ac_pass in 1 2
1032 do
1033 for ac_arg
1034 do
1035 case $ac_arg in
1036 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1037 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038 | -silent | --silent | --silen | --sile | --sil)
1039 continue ;;
1040 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1041 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1042 esac
1043 case $ac_pass in
1044 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1045 2)
1046 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1047 if test $ac_must_keep_next = true; then
1048 ac_must_keep_next=false # Got value, back to normal.
1049 else
1050 case $ac_arg in
1051 *=* | --config-cache | -C | -disable-* | --disable-* \
1052 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1053 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1054 | -with-* | --with-* | -without-* | --without-* | --x)
1055 case "$ac_configure_args0 " in
1056 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1057 esac
1058 ;;
1059 -* ) ac_must_keep_next=true ;;
1060 esac
1061 fi
1062 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1063 # Get rid of the leading space.
1064 ac_sep=" "
1065 ;;
1066 esac
1067 done
1068 done
1069 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1070 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1071
1072 # When interrupted or exit'd, cleanup temporary files, and complete
1073 # config.log. We remove comments because anyway the quotes in there
1074 # would cause problems or look ugly.
1075 # WARNING: Be sure not to use single quotes in there, as some shells,
1076 # such as our DU 5.0 friend, will then `close' the trap.
1077 trap 'exit_status=$?
1078 # Save into config.log some information that might help in debugging.
1079 {
1080 echo
1081
1082 cat <<\_ASBOX
1083 ## ---------------- ##
1084 ## Cache variables. ##
1085 ## ---------------- ##
1086 _ASBOX
1087 echo
1088 # The following way of writing the cache mishandles newlines in values,
1089 {
1090 (set) 2>&1 |
1091 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1092 *ac_space=\ *)
1093 sed -n \
1094 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1095 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1096 ;;
1097 *)
1098 sed -n \
1099 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1100 ;;
1101 esac;
1102 }
1103 echo
1104
1105 cat <<\_ASBOX
1106 ## ----------------- ##
1107 ## Output variables. ##
1108 ## ----------------- ##
1109 _ASBOX
1110 echo
1111 for ac_var in $ac_subst_vars
1112 do
1113 eval ac_val=$`echo $ac_var`
1114 echo "$ac_var='"'"'$ac_val'"'"'"
1115 done | sort
1116 echo
1117
1118 if test -n "$ac_subst_files"; then
1119 cat <<\_ASBOX
1120 ## ------------- ##
1121 ## Output files. ##
1122 ## ------------- ##
1123 _ASBOX
1124 echo
1125 for ac_var in $ac_subst_files
1126 do
1127 eval ac_val=$`echo $ac_var`
1128 echo "$ac_var='"'"'$ac_val'"'"'"
1129 done | sort
1130 echo
1131 fi
1132
1133 if test -s confdefs.h; then
1134 cat <<\_ASBOX
1135 ## ----------- ##
1136 ## confdefs.h. ##
1137 ## ----------- ##
1138 _ASBOX
1139 echo
1140 sed "/^$/d" confdefs.h | sort
1141 echo
1142 fi
1143 test "$ac_signal" != 0 &&
1144 echo "$as_me: caught signal $ac_signal"
1145 echo "$as_me: exit $exit_status"
1146 } >&5
1147 rm -f core *.core &&
1148 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1149 exit $exit_status
1150 ' 0
1151 for ac_signal in 1 2 13 15; do
1152 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1153 done
1154 ac_signal=0
1155
1156 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1157 rm -rf conftest* confdefs.h
1158 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1159 echo >confdefs.h
1160
1161 # Predefined preprocessor variables.
1162
1163 cat >>confdefs.h <<_ACEOF
1164 #define PACKAGE_NAME "$PACKAGE_NAME"
1165 _ACEOF
1166
1167
1168 cat >>confdefs.h <<_ACEOF
1169 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1170 _ACEOF
1171
1172
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1175 _ACEOF
1176
1177
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_STRING "$PACKAGE_STRING"
1180 _ACEOF
1181
1182
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1185 _ACEOF
1186
1187
1188 # Let the site file select an alternate cache file if it wants to.
1189 # Prefer explicitly selected file to automatically selected ones.
1190 if test -z "$CONFIG_SITE"; then
1191 if test "x$prefix" != xNONE; then
1192 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1193 else
1194 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1195 fi
1196 fi
1197 for ac_site_file in $CONFIG_SITE; do
1198 if test -r "$ac_site_file"; then
1199 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1200 echo "$as_me: loading site script $ac_site_file" >&6;}
1201 sed 's/^/| /' "$ac_site_file" >&5
1202 . "$ac_site_file"
1203 fi
1204 done
1205
1206 if test -r "$cache_file"; then
1207 # Some versions of bash will fail to source /dev/null (special
1208 # files actually), so we avoid doing that.
1209 if test -f "$cache_file"; then
1210 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1211 echo "$as_me: loading cache $cache_file" >&6;}
1212 case $cache_file in
1213 [\\/]* | ?:[\\/]* ) . $cache_file;;
1214 *) . ./$cache_file;;
1215 esac
1216 fi
1217 else
1218 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1219 echo "$as_me: creating cache $cache_file" >&6;}
1220 >$cache_file
1221 fi
1222
1223 # Check that the precious variables saved in the cache have kept the same
1224 # value.
1225 ac_cache_corrupted=false
1226 for ac_var in `(set) 2>&1 |
1227 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1228 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1229 eval ac_new_set=\$ac_env_${ac_var}_set
1230 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1231 eval ac_new_val="\$ac_env_${ac_var}_value"
1232 case $ac_old_set,$ac_new_set in
1233 set,)
1234 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1235 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1236 ac_cache_corrupted=: ;;
1237 ,set)
1238 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1239 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1240 ac_cache_corrupted=: ;;
1241 ,);;
1242 *)
1243 if test "x$ac_old_val" != "x$ac_new_val"; then
1244 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1245 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1246 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1247 echo "$as_me: former value: $ac_old_val" >&2;}
1248 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1249 echo "$as_me: current value: $ac_new_val" >&2;}
1250 ac_cache_corrupted=:
1251 fi;;
1252 esac
1253 # Pass precious variables to config.status.
1254 if test "$ac_new_set" = set; then
1255 case $ac_new_val in
1256 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1257 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1258 *) ac_arg=$ac_var=$ac_new_val ;;
1259 esac
1260 case " $ac_configure_args " in
1261 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1262 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1263 esac
1264 fi
1265 done
1266 if $ac_cache_corrupted; then
1267 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1268 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1269 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1270 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1271 { (exit 1); exit 1; }; }
1272 fi
1273
1274 ac_ext=c
1275 ac_cpp='$CPP $CPPFLAGS'
1276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311 # List one file in the package so that the configure script can test
1312 # whether the package is actually there
1313
1314
1315 # Where should everything be installed by default? Here, we want it
1316 # to be installed directly in 'bin', 'lib', 'include' subdirectories
1317 # of the directory where configure is run. The default would be
1318 # /usr/local.
1319
1320
1321 #############################################################################
1322 # We only need automake to generate Makefiles for the distribution #
1323 #############################################################################
1324
1325 # Initialize automake
1326 echo "$as_me:$LINENO: checking for egrep" >&5
1327 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
1328 if test "${ac_cv_prog_egrep+set}" = set; then
1329 echo $ECHO_N "(cached) $ECHO_C" >&6
1330 else
1331 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
1332 then ac_cv_prog_egrep='grep -E'
1333 else ac_cv_prog_egrep='egrep'
1334 fi
1335 fi
1336 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
1337 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
1338 EGREP=$ac_cv_prog_egrep
1339
1340
1341 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1342 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1343 LN_S=$as_ln_s
1344 if test "$LN_S" = "ln -s"; then
1345 echo "$as_me:$LINENO: result: yes" >&5
1346 echo "${ECHO_T}yes" >&6
1347 else
1348 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1349 echo "${ECHO_T}no, using $LN_S" >&6
1350 fi
1351
1352 am__api_version="1.9"
1353 ac_aux_dir=
1354 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1355 if test -f $ac_dir/install-sh; then
1356 ac_aux_dir=$ac_dir
1357 ac_install_sh="$ac_aux_dir/install-sh -c"
1358 break
1359 elif test -f $ac_dir/install.sh; then
1360 ac_aux_dir=$ac_dir
1361 ac_install_sh="$ac_aux_dir/install.sh -c"
1362 break
1363 elif test -f $ac_dir/shtool; then
1364 ac_aux_dir=$ac_dir
1365 ac_install_sh="$ac_aux_dir/shtool install -c"
1366 break
1367 fi
1368 done
1369 if test -z "$ac_aux_dir"; then
1370 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1371 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1372 { (exit 1); exit 1; }; }
1373 fi
1374 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1375 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1376 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1377
1378 # Find a good install program. We prefer a C program (faster),
1379 # so one script is as good as another. But avoid the broken or
1380 # incompatible versions:
1381 # SysV /etc/install, /usr/sbin/install
1382 # SunOS /usr/etc/install
1383 # IRIX /sbin/install
1384 # AIX /bin/install
1385 # AmigaOS /C/install, which installs bootblocks on floppy discs
1386 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1387 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1388 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1389 # OS/2's system install, which has a completely different semantic
1390 # ./install, which can be erroneously created by make from ./install.sh.
1391 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1392 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1393 if test -z "$INSTALL"; then
1394 if test "${ac_cv_path_install+set}" = set; then
1395 echo $ECHO_N "(cached) $ECHO_C" >&6
1396 else
1397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1398 for as_dir in $PATH
1399 do
1400 IFS=$as_save_IFS
1401 test -z "$as_dir" && as_dir=.
1402 # Account for people who put trailing slashes in PATH elements.
1403 case $as_dir/ in
1404 ./ | .// | /cC/* | \
1405 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1406 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1407 /usr/ucb/* ) ;;
1408 *)
1409 # OSF1 and SCO ODT 3.0 have their own names for install.
1410 # Don't use installbsd from OSF since it installs stuff as root
1411 # by default.
1412 for ac_prog in ginstall scoinst install; do
1413 for ac_exec_ext in '' $ac_executable_extensions; do
1414 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1415 if test $ac_prog = install &&
1416 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1417 # AIX install. It has an incompatible calling convention.
1418 :
1419 elif test $ac_prog = install &&
1420 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1421 # program-specific install script used by HP pwplus--don't use.
1422 :
1423 else
1424 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1425 break 3
1426 fi
1427 fi
1428 done
1429 done
1430 ;;
1431 esac
1432 done
1433
1434
1435 fi
1436 if test "${ac_cv_path_install+set}" = set; then
1437 INSTALL=$ac_cv_path_install
1438 else
1439 # As a last resort, use the slow shell script. We don't cache a
1440 # path for INSTALL within a source directory, because that will
1441 # break other packages using the cache if that directory is
1442 # removed, or if the path is relative.
1443 INSTALL=$ac_install_sh
1444 fi
1445 fi
1446 echo "$as_me:$LINENO: result: $INSTALL" >&5
1447 echo "${ECHO_T}$INSTALL" >&6
1448
1449 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1450 # It thinks the first close brace ends the variable substitution.
1451 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1452
1453 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1454
1455 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1456
1457 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1458 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1459 # Just in case
1460 sleep 1
1461 echo timestamp > conftest.file
1462 # Do `set' in a subshell so we don't clobber the current shell's
1463 # arguments. Must try -L first in case configure is actually a
1464 # symlink; some systems play weird games with the mod time of symlinks
1465 # (eg FreeBSD returns the mod time of the symlink's containing
1466 # directory).
1467 if (
1468 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1469 if test "$*" = "X"; then
1470 # -L didn't work.
1471 set X `ls -t $srcdir/configure conftest.file`
1472 fi
1473 rm -f conftest.file
1474 if test "$*" != "X $srcdir/configure conftest.file" \
1475 && test "$*" != "X conftest.file $srcdir/configure"; then
1476
1477 # If neither matched, then we have a broken ls. This can happen
1478 # if, for instance, CONFIG_SHELL is bash and it inherits a
1479 # broken ls alias from the environment. This has actually
1480 # happened. Such a system could not be considered "sane".
1481 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1482 alias in your environment" >&5
1483 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1484 alias in your environment" >&2;}
1485 { (exit 1); exit 1; }; }
1486 fi
1487
1488 test "$2" = conftest.file
1489 )
1490 then
1491 # Ok.
1492 :
1493 else
1494 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1495 Check your system clock" >&5
1496 echo "$as_me: error: newly created file is older than distributed files!
1497 Check your system clock" >&2;}
1498 { (exit 1); exit 1; }; }
1499 fi
1500 echo "$as_me:$LINENO: result: yes" >&5
1501 echo "${ECHO_T}yes" >&6
1502 test "$program_prefix" != NONE &&
1503 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1504 # Use a double $ so make ignores it.
1505 test "$program_suffix" != NONE &&
1506 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1507 # Double any \ or $. echo might interpret backslashes.
1508 # By default was `s,x,x', remove it if useless.
1509 cat <<\_ACEOF >conftest.sed
1510 s/[\\$]/&&/g;s/;s,x,x,$//
1511 _ACEOF
1512 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1513 rm conftest.sed
1514
1515 # expand $ac_aux_dir to an absolute path
1516 am_aux_dir=`cd $ac_aux_dir && pwd`
1517
1518 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1519 # Use eval to expand $SHELL
1520 if eval "$MISSING --run true"; then
1521 am_missing_run="$MISSING --run "
1522 else
1523 am_missing_run=
1524 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1525 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1526 fi
1527
1528 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1529 # We used to keeping the `.' as first argument, in order to
1530 # allow $(mkdir_p) to be used without argument. As in
1531 # $(mkdir_p) $(somedir)
1532 # where $(somedir) is conditionally defined. However this is wrong
1533 # for two reasons:
1534 # 1. if the package is installed by a user who cannot write `.'
1535 # make install will fail,
1536 # 2. the above comment should most certainly read
1537 # $(mkdir_p) $(DESTDIR)$(somedir)
1538 # so it does not work when $(somedir) is undefined and
1539 # $(DESTDIR) is not.
1540 # To support the latter case, we have to write
1541 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1542 # so the `.' trick is pointless.
1543 mkdir_p='mkdir -p --'
1544 else
1545 # On NextStep and OpenStep, the `mkdir' command does not
1546 # recognize any option. It will interpret all options as
1547 # directories to create, and then abort because `.' already
1548 # exists.
1549 for d in ./-p ./--version;
1550 do
1551 test -d $d && rmdir $d
1552 done
1553 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1554 if test -f "$ac_aux_dir/mkinstalldirs"; then
1555 mkdir_p='$(mkinstalldirs)'
1556 else
1557 mkdir_p='$(install_sh) -d'
1558 fi
1559 fi
1560
1561 for ac_prog in gawk mawk nawk awk
1562 do
1563 # Extract the first word of "$ac_prog", so it can be a program name with args.
1564 set dummy $ac_prog; ac_word=$2
1565 echo "$as_me:$LINENO: checking for $ac_word" >&5
1566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1567 if test "${ac_cv_prog_AWK+set}" = set; then
1568 echo $ECHO_N "(cached) $ECHO_C" >&6
1569 else
1570 if test -n "$AWK"; then
1571 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1572 else
1573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1574 for as_dir in $PATH
1575 do
1576 IFS=$as_save_IFS
1577 test -z "$as_dir" && as_dir=.
1578 for ac_exec_ext in '' $ac_executable_extensions; do
1579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1580 ac_cv_prog_AWK="$ac_prog"
1581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1582 break 2
1583 fi
1584 done
1585 done
1586
1587 fi
1588 fi
1589 AWK=$ac_cv_prog_AWK
1590 if test -n "$AWK"; then
1591 echo "$as_me:$LINENO: result: $AWK" >&5
1592 echo "${ECHO_T}$AWK" >&6
1593 else
1594 echo "$as_me:$LINENO: result: no" >&5
1595 echo "${ECHO_T}no" >&6
1596 fi
1597
1598 test -n "$AWK" && break
1599 done
1600
1601 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1602 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1603 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1604 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 else
1607 cat >conftest.make <<\_ACEOF
1608 all:
1609 @echo 'ac_maketemp="$(MAKE)"'
1610 _ACEOF
1611 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1612 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1613 if test -n "$ac_maketemp"; then
1614 eval ac_cv_prog_make_${ac_make}_set=yes
1615 else
1616 eval ac_cv_prog_make_${ac_make}_set=no
1617 fi
1618 rm -f conftest.make
1619 fi
1620 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1621 echo "$as_me:$LINENO: result: yes" >&5
1622 echo "${ECHO_T}yes" >&6
1623 SET_MAKE=
1624 else
1625 echo "$as_me:$LINENO: result: no" >&5
1626 echo "${ECHO_T}no" >&6
1627 SET_MAKE="MAKE=${MAKE-make}"
1628 fi
1629
1630 rm -rf .tst 2>/dev/null
1631 mkdir .tst 2>/dev/null
1632 if test -d .tst; then
1633 am__leading_dot=.
1634 else
1635 am__leading_dot=_
1636 fi
1637 rmdir .tst 2>/dev/null
1638
1639
1640
1641
1642 # AC_MSG_NOTICE([Beginning automake initialisation.])
1643 # Stuff for automake
1644 # test to see if srcdir already configured
1645 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1646 test -f $srcdir/config.status; then
1647 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1648 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1649 { (exit 1); exit 1; }; }
1650 fi
1651
1652 # test whether we have cygpath
1653 if test -z "$CYGPATH_W"; then
1654 if (cygpath --version) >/dev/null 2>/dev/null; then
1655 CYGPATH_W='cygpath -w'
1656 else
1657 CYGPATH_W=echo
1658 fi
1659 fi
1660
1661
1662 # Define the identity of the package.
1663 PACKAGE='coinmp'
1664 VERSION='1.8'
1665
1666
1667 cat >>confdefs.h <<_ACEOF
1668 #define PACKAGE "$PACKAGE"
1669 _ACEOF
1670
1671
1672 cat >>confdefs.h <<_ACEOF
1673 #define VERSION "$VERSION"
1674 _ACEOF
1675
1676 # Some tools Automake needs.
1677
1678 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1679
1680
1681 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1682
1683
1684 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1685
1686
1687 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1688
1689
1690 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1691
1692 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1693
1694 # Installed binaries are usually stripped using `strip' when the user
1695 # run `make install-strip'. However `strip' might not be the right
1696 # tool to use in cross-compilation environments, therefore Automake
1697 # will honor the `STRIP' environment variable to overrule this program.
1698 if test "$cross_compiling" != no; then
1699 if test -n "$ac_tool_prefix"; then
1700 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1701 set dummy ${ac_tool_prefix}strip; ac_word=$2
1702 echo "$as_me:$LINENO: checking for $ac_word" >&5
1703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1704 if test "${ac_cv_prog_STRIP+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1706 else
1707 if test -n "$STRIP"; then
1708 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1709 else
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 for as_dir in $PATH
1712 do
1713 IFS=$as_save_IFS
1714 test -z "$as_dir" && as_dir=.
1715 for ac_exec_ext in '' $ac_executable_extensions; do
1716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1717 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1719 break 2
1720 fi
1721 done
1722 done
1723
1724 fi
1725 fi
1726 STRIP=$ac_cv_prog_STRIP
1727 if test -n "$STRIP"; then
1728 echo "$as_me:$LINENO: result: $STRIP" >&5
1729 echo "${ECHO_T}$STRIP" >&6
1730 else
1731 echo "$as_me:$LINENO: result: no" >&5
1732 echo "${ECHO_T}no" >&6
1733 fi
1734
1735 fi
1736 if test -z "$ac_cv_prog_STRIP"; then
1737 ac_ct_STRIP=$STRIP
1738 # Extract the first word of "strip", so it can be a program name with args.
1739 set dummy strip; ac_word=$2
1740 echo "$as_me:$LINENO: checking for $ac_word" >&5
1741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1742 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1743 echo $ECHO_N "(cached) $ECHO_C" >&6
1744 else
1745 if test -n "$ac_ct_STRIP"; then
1746 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1747 else
1748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1749 for as_dir in $PATH
1750 do
1751 IFS=$as_save_IFS
1752 test -z "$as_dir" && as_dir=.
1753 for ac_exec_ext in '' $ac_executable_extensions; do
1754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1755 ac_cv_prog_ac_ct_STRIP="strip"
1756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1757 break 2
1758 fi
1759 done
1760 done
1761
1762 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1763 fi
1764 fi
1765 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1766 if test -n "$ac_ct_STRIP"; then
1767 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1768 echo "${ECHO_T}$ac_ct_STRIP" >&6
1769 else
1770 echo "$as_me:$LINENO: result: no" >&5
1771 echo "${ECHO_T}no" >&6
1772 fi
1773
1774 STRIP=$ac_ct_STRIP
1775 else
1776 STRIP="$ac_cv_prog_STRIP"
1777 fi
1778
1779 fi
1780 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1781
1782 # We need awk for the "check" target. The system "awk" is bad on
1783 # some platforms.
1784 # Always define AMTAR for backward compatibility.
1785
1786 AMTAR=${AMTAR-"${am_missing_run}tar"}
1787
1788 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1789
1790
1791
1792
1793
1794 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1795 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1796 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1797 if test "${enable_maintainer_mode+set}" = set; then
1798 enableval="$enable_maintainer_mode"
1799 USE_MAINTAINER_MODE=$enableval
1800 else
1801 USE_MAINTAINER_MODE=no
1802 fi;
1803 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1804 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1805
1806
1807 if test $USE_MAINTAINER_MODE = yes; then
1808 MAINTAINER_MODE_TRUE=
1809 MAINTAINER_MODE_FALSE='#'
1810 else
1811 MAINTAINER_MODE_TRUE='#'
1812 MAINTAINER_MODE_FALSE=
1813 fi
1814
1815 MAINT=$MAINTAINER_MODE_TRUE
1816
1817
1818
1819 coin_have_externals=no
1820 if test "$enable_maintainer_mode" = yes; then
1821
1822 # If maintainer mode is chosen, we make sure that the correct versions
1823 # of the tools are used, and that we know where libtool.m4 is (to
1824 # recreate acinclude.m4)
1825
1826
1827 LIBTOOLM4=
1828 # Normally, $HOME
1829 AUTOTOOLS_DFLT=$HOME
1830
1831 echo "$as_me:$LINENO: checking whether we are using the correct autotools" >&5
1832 echo $ECHO_N "checking whether we are using the correct autotools... $ECHO_C" >&6
1833 if test "${ac_cv_use_correct_autotools+set}" = set; then
1834 echo $ECHO_N "(cached) $ECHO_C" >&6
1835 else
1836 ac_cv_use_correct_autotools=check
1837 fi
1838 echo "$as_me:$LINENO: result: $ac_cv_use_correct_autotools" >&5
1839 echo "${ECHO_T}$ac_cv_use_correct_autotools" >&6
1840
1841 if test $ac_cv_use_correct_autotools = check; then
1842 ac_cv_use_correct_autotools=yes
1843 # Check if we have autoconf
1844 # Extract the first word of "autoconf", so it can be a program name with args.
1845 set dummy autoconf; ac_word=$2
1846 echo "$as_me:$LINENO: checking for $ac_word" >&5
1847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1848 if test "${ac_cv_prog_have_autoconf+set}" = set; then
1849 echo $ECHO_N "(cached) $ECHO_C" >&6
1850 else
1851 if test -n "$have_autoconf"; then
1852 ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test.
1853 else
1854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1855 for as_dir in $PATH
1856 do
1857 IFS=$as_save_IFS
1858 test -z "$as_dir" && as_dir=.
1859 for ac_exec_ext in '' $ac_executable_extensions; do
1860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1861 ac_cv_prog_have_autoconf="yes"
1862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1863 break 2
1864 fi
1865 done
1866 done
1867
1868 test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no"
1869 fi
1870 fi
1871 have_autoconf=$ac_cv_prog_have_autoconf
1872 if test -n "$have_autoconf"; then
1873 echo "$as_me:$LINENO: result: $have_autoconf" >&5
1874 echo "${ECHO_T}$have_autoconf" >&6
1875 else
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1878 fi
1879
1880 if test $have_autoconf = no; then
1881 { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&5
1882 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&2;}
1883 { (exit 1); exit 1; }; }
1884 fi
1885
1886 # Check whether autoconf is the correct version
1887 correct_version='2.59'
1888 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'`
1889 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of autoconf" >&5
1890 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of autoconf... $ECHO_C" >&6
1891 autoconf --version > confauto.out 2>&1
1892 if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
1893 echo "$as_me:$LINENO: result: yes" >&5
1894 echo "${ECHO_T}yes" >&6
1895 else
1896 rm -f confauto.out
1897 echo "$as_me:$LINENO: result: no" >&5
1898 echo "${ECHO_T}no" >&6
1899 { { echo "$as_me:$LINENO: error: You don't have the correct version of autoconf as the first one in your path." >&5
1900 echo "$as_me: error: You don't have the correct version of autoconf as the first one in your path." >&2;}
1901 { (exit 1); exit 1; }; }
1902 fi
1903 rm -f confauto.out
1904
1905 # Check if the executable autoconf is picked up from the correct location
1906 echo "$as_me:$LINENO: checking whether autoconf is coming from the correct location" >&5
1907 echo $ECHO_N "checking whether autoconf is coming from the correct location... $ECHO_C" >&6
1908 autoconf_dir=`which autoconf | sed -e 's=/autoconf=='`
1909 autoconf_dir=`cd $autoconf_dir; pwd`
1910 if test x$AUTOTOOLS_DIR = x; then
1911 want_dir=$AUTOTOOLS_DFLT/bin
1912 else
1913 want_dir=$AUTOTOOLS_DIR/bin
1914 fi
1915 if test $autoconf_dir = `cd $want_dir; pwd`; then
1916 echo "$as_me:$LINENO: result: yes" >&5
1917 echo "${ECHO_T}yes" >&6
1918 else
1919 rm -f confauto.out
1920 echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1922 { { echo "$as_me:$LINENO: error: The autoconf executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&5
1923 echo "$as_me: error: The autoconf executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&2;}
1924 { (exit 1); exit 1; }; }
1925 fi
1926
1927 # Check if we have automake
1928 # Extract the first word of "automake", so it can be a program name with args.
1929 set dummy automake; ac_word=$2
1930 echo "$as_me:$LINENO: checking for $ac_word" >&5
1931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1932 if test "${ac_cv_prog_have_automake+set}" = set; then
1933 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 else
1935 if test -n "$have_automake"; then
1936 ac_cv_prog_have_automake="$have_automake" # Let the user override the test.
1937 else
1938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939 for as_dir in $PATH
1940 do
1941 IFS=$as_save_IFS
1942 test -z "$as_dir" && as_dir=.
1943 for ac_exec_ext in '' $ac_executable_extensions; do
1944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1945 ac_cv_prog_have_automake="yes"
1946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1947 break 2
1948 fi
1949 done
1950 done
1951
1952 test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no"
1953 fi
1954 fi
1955 have_automake=$ac_cv_prog_have_automake
1956 if test -n "$have_automake"; then
1957 echo "$as_me:$LINENO: result: $have_automake" >&5
1958 echo "${ECHO_T}$have_automake" >&6
1959 else
1960 echo "$as_me:$LINENO: result: no" >&5
1961 echo "${ECHO_T}no" >&6
1962 fi
1963
1964 if test $have_automake = no; then
1965 { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5
1966 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;}
1967 { (exit 1); exit 1; }; }
1968 fi
1969
1970 # Check whether automake is the correct version
1971 correct_version='1.9.6'
1972 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'`
1973 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5
1974 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6
1975 automake --version > confauto.out 2>&1
1976 if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
1977 echo "$as_me:$LINENO: result: yes" >&5
1978 echo "${ECHO_T}yes" >&6
1979 else
1980 rm -f confauto.out
1981 echo "$as_me:$LINENO: result: no" >&5
1982 echo "${ECHO_T}no" >&6
1983 { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5
1984 echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;}
1985 { (exit 1); exit 1; }; }
1986 fi
1987 rm -f confauto.out
1988
1989 # Check if the executable automake is picked up from the correct location
1990 echo "$as_me:$LINENO: checking whether automake is coming from the correct location" >&5
1991 echo $ECHO_N "checking whether automake is coming from the correct location... $ECHO_C" >&6
1992 automake_dir=`which automake | sed -e 's=/automake=='`
1993 automake_dir=`cd $automake_dir; pwd`
1994 if test x$AUTOTOOLS_DIR = x; then
1995 want_dir=$AUTOTOOLS_DFLT/bin
1996 else
1997 want_dir=$AUTOTOOLS_DIR/bin
1998 fi
1999 if test $automake_dir = `cd $want_dir; pwd`; then
2000 echo "$as_me:$LINENO: result: yes" >&5
2001 echo "${ECHO_T}yes" >&6
2002 else
2003 rm -f confauto.out
2004 echo "$as_me:$LINENO: result: no" >&5
2005 echo "${ECHO_T}no" >&6
2006 { { echo "$as_me:$LINENO: error: The automake executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&5
2007 echo "$as_me: error: The automake executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&2;}
2008 { (exit 1); exit 1; }; }
2009 fi
2010
2011 # Check if this is the correct version of libtool (with escaped dots)
2012 if test x$AUTOTOOLS_DIR = x; then
2013 want_dir=$AUTOTOOLS_DFLT/share
2014 else
2015 want_dir=$AUTOTOOLS_DIR/share
2016 fi
2017 correct_version='1.5.22'
2018 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'`
2019 if test -r $want_dir/libtool/ltmain.sh; then
2020 have_ltmain=yes
2021 :
2022 else
2023 have_ltmain=no
2024 :
2025 fi
2026
2027 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5
2028 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6
2029 if test $have_ltmain = yes; then
2030 if $EGREP $grep_version $want_dir/libtool/ltmain.sh >/dev/null 2>&1; then
2031 echo "$as_me:$LINENO: result: yes" >&5
2032 echo "${ECHO_T}yes" >&6
2033 else
2034 echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6
2036 { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5
2037 echo "$as_me: error: You don't have the correct version of libtool." >&2;}
2038 { (exit 1); exit 1; }; }
2039 fi
2040 else
2041 echo "$as_me:$LINENO: result: no" >&5
2042 echo "${ECHO_T}no" >&6
2043 { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5
2044 echo "$as_me: error: I cannot find the ltmain.sh file." >&2;}
2045 { (exit 1); exit 1; }; }
2046 fi
2047 fi
2048
2049 # Check if we can find the libtool file
2050 if test x$AUTOTOOLS_DIR = x; then
2051 want_dir=$AUTOTOOLS_DFLT/share
2052 else
2053 want_dir=$AUTOTOOLS_DIR/share
2054 fi
2055 if test -r $want_dir/aclocal/libtool.m4; then
2056 LIBTOOLM4="$want_dir/aclocal/libtool.m4"
2057 :
2058 else
2059 { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
2060 echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
2061 { (exit 1); exit 1; }; }
2062 :
2063 fi
2064
2065
2066 # Check if we have an Dependencies file
2067 if test -r $srcdir/Dependencies; then
2068 coin_have_externals=yes
2069 fi
2070 # Check if subversion is installed and understands https
2071 # Extract the first word of "svn", so it can be a program name with args.
2072 set dummy svn; ac_word=$2
2073 echo "$as_me:$LINENO: checking for $ac_word" >&5
2074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2075 if test "${ac_cv_prog_have_svn+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2077 else
2078 if test -n "$have_svn"; then
2079 ac_cv_prog_have_svn="$have_svn" # Let the user override the test.
2080 else
2081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 for as_dir in $PATH
2083 do
2084 IFS=$as_save_IFS
2085 test -z "$as_dir" && as_dir=.
2086 for ac_exec_ext in '' $ac_executable_extensions; do
2087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2088 ac_cv_prog_have_svn="yes"
2089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2090 break 2
2091 fi
2092 done
2093 done
2094
2095 test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no"
2096 fi
2097 fi
2098 have_svn=$ac_cv_prog_have_svn
2099 if test -n "$have_svn"; then
2100 echo "$as_me:$LINENO: result: $have_svn" >&5
2101 echo "${ECHO_T}$have_svn" >&6
2102 else
2103 echo "$as_me:$LINENO: result: no" >&5
2104 echo "${ECHO_T}no" >&6
2105 fi
2106
2107 if test x$have_svn = xyes; then
2108 echo "$as_me:$LINENO: checking whether svn understands https" >&5
2109 echo $ECHO_N "checking whether svn understands https... $ECHO_C" >&6
2110 if test "${ac_cv_svn_understands_https+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 else
2113 svn --version > confauto.out 2>&1
2114 if $EGREP https confauto.out >/dev/null 2>&1; then
2115 ac_cv_svn_understands_https=yes
2116 else
2117 ac_cv_svn_understands_https=no
2118 have_svn=no
2119 ac_cv_prog_have_svn=no
2120 fi
2121 rm -f confauto.out
2122 fi
2123 echo "$as_me:$LINENO: result: $ac_cv_svn_understands_https" >&5
2124 echo "${ECHO_T}$ac_cv_svn_understands_https" >&6
2125 fi
2126
2127 # Find the location of the BuildTools directory
2128 BUILDTOOLSDIR=
2129 if test -r $srcdir/BuildTools/coin.m4; then
2130 BUILDTOOLSDIR=$srcdir/BuildTools
2131 elif test -r $srcdir/../BuildTools/coin.m4; then
2132 BUILDTOOLSDIR=$srcdir/../BuildTools
2133 elif test -r $srcdir/../../BuildTools/coin.m4; then
2134 BUILDTOOLSDIR=$srcdir/../../BuildTools
2135 elif test -r $srcdir/../../../BuildTools/coin.m4; then
2136 BUILDTOOLSDIR=$srcdir/../../../BuildTools
2137 else
2138 { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
2139 echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
2140 { (exit better disable maintainer mode.); exit better disable maintainer mode.; }; }
2141 fi
2142
2143
2144 # for running automake by make, we need to have Makemain.inc available at the place where it usually can be found during run_autotools
2145 if test "$BUILDTOOLSDIR" != "$srcdir/BuildTools" ; then
2146 $LN_S `cd $BUILDTOOLSDIR; pwd` "$srcdir/BuildTools"
2147 fi
2148
2149 # The following variable is set to the name of the directory where
2150 # the autotool scripts are located
2151
2152 AUX_DIR=$ac_aux_dir
2153 fi
2154
2155 # helpful variable for the base directory of this package
2156 abs_source_dir=`cd $srcdir; pwd`
2157
2158
2159 # Stuff for example Makefiles
2160 if test x$prefix = xNONE; then
2161 full_prefix=$ac_default_prefix
2162 else
2163 full_prefix=$prefix
2164 fi
2165 full_prefix=`cd $full_prefix ; pwd`
2166
2167 abs_lib_dir=$full_prefix/lib
2168
2169 abs_include_dir=$full_prefix/include
2170
2171 abs_bin_dir=$full_prefix/bin
2172
2173
2174
2175 if test $coin_have_externals = yes && test x$have_svn = xyes; then
2176 HAVE_EXTERNALS_TRUE=
2177 HAVE_EXTERNALS_FALSE='#'
2178 else
2179 HAVE_EXTERNALS_TRUE='#'
2180 HAVE_EXTERNALS_FALSE=
2181 fi
2182
2183
2184 # AC_MSG_NOTICE([End automake initialisation.])
2185
2186
2187
2188 #############################################################################
2189 # Check which subprojects are there #
2190 #############################################################################
2191
2192
2193 echo "$as_me:$LINENO: checking whether source of project Sample is available and should be compiled" >&5
2194 echo $ECHO_N "checking whether source of project Sample is available and should be compiled... $ECHO_C" >&6
2195
2196 coin_has_sample=notGiven
2197 coin_reason=
2198
2199 # check if user wants to skip project in any case
2200
2201 if test x"$COIN_SKIP_PROJECTS" != x; then
2202 for dir in $COIN_SKIP_PROJECTS; do
2203 if test $dir = "Sample"; then
2204 coin_has_sample="no"
2205 coin_reason="Sample has been specified in COIN_SKIP_PROJECTS"
2206 fi
2207
2208 if test $dir = "Data/Sample"; then
2209 coin_has_sample="no"
2210 coin_reason="Data/Sample has been specified in COIN_SKIP_PROJECTS"
2211 fi
2212 done
2213 fi
2214
2215 if test "$coin_has_sample" != no; then
2216
2217 # Check whether --with-m4_tolower(Sample) or --without-m4_tolower(Sample) was given.
2218 if test "${with_sample+set}" = set; then
2219 withval="$with_sample"
2220 if test "$withval" = no ; then
2221 coin_has_sample="no"
2222 coin_reason="--without-sample has been specified"
2223 fi
2224
2225 fi;
2226 fi
2227
2228 if test "$coin_has_sample" != no; then
2229
2230 # Check whether --with-m4_tolower(Sample)-lib or --without-m4_tolower(Sample)-lib was given.
2231 if test "${with_sample_lib+set}" = set; then
2232 withval="$with_sample_lib"
2233 if test "$withval" = no ; then
2234 coin_has_sample="no"
2235 coin_reason="--without-sample-lib has been specified"
2236 else
2237 coin_has_sample="no"
2238 coin_reason="--with-sample-lib has been specified"
2239 fi
2240 fi;
2241 fi
2242
2243 if test "$coin_has_sample" != no; then
2244
2245 # Check whether --with-m4_tolower(Sample)-incdir or --without-m4_tolower(Sample)-incdir was given.
2246 if test "${with_sample_incdir+set}" = set; then
2247 withval="$with_sample_incdir"
2248 if test "$withval" = no ; then
2249 coin_has_sample="no"
2250 coin_reason="--without-sample-incdir has been specified"
2251 else
2252 coin_has_sample="no"
2253 coin_reason="--with-sample-incdir has been specified"
2254 fi
2255 fi;
2256 fi
2257
2258 if test "$coin_has_sample" != no; then
2259
2260 # Check whether --with-m4_tolower(Sample)-datadir or --without-m4_tolower(Sample)-datadir was given.
2261 if test "${with_sample_datadir+set}" = set; then
2262 withval="$with_sample_datadir"
2263 if test "$withval" = no ; then
2264 coin_has_sample="no"
2265 coin_reason="--without-sample-datadir has been specified"
2266 else
2267 coin_has_sample="no"
2268 coin_reason="--with-sample-datadir has been specified"
2269 fi
2270 fi;
2271 fi
2272
2273
2274
2275
2276
2277 # check if project is available in present directory
2278 if test "$coin_has_sample" = notGiven; then
2279 coin_has_sample=no
2280 if test -d $srcdir/Data/Sample; then
2281 coin_reason="source in Data/Sample"
2282 # If a third argument is given, then we have to check if one one the files given in that third argument is present.
2283 # If none of the files in the third argument is available, then we consider the project directory as non-existing.
2284 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
2285 coin_has_sample="yes"
2286
2287 fi
2288 fi
2289
2290 if test -z "$coin_reason" ; then
2291 echo "$as_me:$LINENO: result: $coin_has_sample" >&5
2292 echo "${ECHO_T}$coin_has_sample" >&6
2293 else
2294 echo "$as_me:$LINENO: result: $coin_has_sample, $coin_reason" >&5
2295 echo "${ECHO_T}$coin_has_sample, $coin_reason" >&6
2296 fi
2297
2298 if test "$coin_has_sample" = yes ; then
2299 if test -r $srcdir/Data/Sample/configure; then
2300 coin_subdirs="$coin_subdirs Data/Sample"
2301
2302
2303 subdirs="$subdirs Data/Sample"
2304
2305 fi
2306 fi
2307
2308
2309 echo "$as_me:$LINENO: checking whether source of project CoinUtils is available and should be compiled" >&5
2310 echo $ECHO_N "checking whether source of project CoinUtils is available and should be compiled... $ECHO_C" >&6
2311
2312 coin_has_coinutils=notGiven
2313 coin_reason=
2314
2315 # check if user wants to skip project in any case
2316
2317 if test x"$COIN_SKIP_PROJECTS" != x; then
2318 for dir in $COIN_SKIP_PROJECTS; do
2319 if test $dir = "CoinUtils"; then
2320 coin_has_coinutils="no"
2321 coin_reason="CoinUtils has been specified in COIN_SKIP_PROJECTS"
2322 fi
2323
2324 done
2325 fi
2326
2327 if test "$coin_has_coinutils" != no; then
2328
2329 # Check whether --with-m4_tolower(CoinUtils) or --without-m4_tolower(CoinUtils) was given.
2330 if test "${with_coinutils+set}" = set; then
2331 withval="$with_coinutils"
2332 if test "$withval" = no ; then
2333 coin_has_coinutils="no"
2334 coin_reason="--without-coinutils has been specified"
2335 fi
2336
2337 fi;
2338 fi
2339
2340 if test "$coin_has_coinutils" != no; then
2341
2342 # Check whether --with-m4_tolower(CoinUtils)-lib or --without-m4_tolower(CoinUtils)-lib was given.
2343 if test "${with_coinutils_lib+set}" = set; then
2344 withval="$with_coinutils_lib"
2345 if test "$withval" = no ; then
2346 coin_has_coinutils="no"
2347 coin_reason="--without-coinutils-lib has been specified"
2348 else
2349 coin_has_coinutils="no"
2350 coin_reason="--with-coinutils-lib has been specified"
2351 fi
2352 fi;
2353 fi
2354
2355 if test "$coin_has_coinutils" != no; then
2356
2357 # Check whether --with-m4_tolower(CoinUtils)-incdir or --without-m4_tolower(CoinUtils)-incdir was given.
2358 if test "${with_coinutils_incdir+set}" = set; then
2359 withval="$with_coinutils_incdir"
2360 if test "$withval" = no ; then
2361 coin_has_coinutils="no"
2362 coin_reason="--without-coinutils-incdir has been specified"
2363 else
2364 coin_has_coinutils="no"
2365 coin_reason="--with-coinutils-incdir has been specified"
2366 fi
2367 fi;
2368 fi
2369
2370 if test "$coin_has_coinutils" != no; then
2371
2372 # Check whether --with-m4_tolower(CoinUtils)-datadir or --without-m4_tolower(CoinUtils)-datadir was given.
2373 if test "${with_coinutils_datadir+set}" = set; then
2374 withval="$with_coinutils_datadir"
2375 if test "$withval" = no ; then
2376 coin_has_coinutils="no"
2377 coin_reason="--without-coinutils-datadir has been specified"
2378 else
2379 coin_has_coinutils="no"
2380 coin_reason="--with-coinutils-datadir has been specified"
2381 fi
2382 fi;
2383 fi
2384
2385
2386
2387
2388
2389 # check if project is available in present directory
2390 if test "$coin_has_coinutils" = notGiven; then
2391 coin_has_coinutils=no
2392 if test -d $srcdir/CoinUtils; then
2393 coin_reason="source in CoinUtils"
2394 # If a third argument is given, then we have to check if one one the files given in that third argument is present.
2395 # If none of the files in the third argument is available, then we consider the project directory as non-existing.
2396 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
2397 coin_has_coinutils="yes"
2398
2399 fi
2400 fi
2401
2402 if test -z "$coin_reason" ; then
2403 echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5
2404 echo "${ECHO_T}$coin_has_coinutils" >&6
2405 else
2406 echo "$as_me:$LINENO: result: $coin_has_coinutils, $coin_reason" >&5
2407 echo "${ECHO_T}$coin_has_coinutils, $coin_reason" >&6
2408 fi
2409
2410 if test "$coin_has_coinutils" = yes ; then
2411 if test -r $srcdir/CoinUtils/configure; then
2412 coin_subdirs="$coin_subdirs CoinUtils"
2413
2414
2415 subdirs="$subdirs CoinUtils"
2416
2417 fi
2418 fi
2419
2420
2421 echo "$as_me:$LINENO: checking whether source of project Osi is available and should be compiled" >&5
2422 echo $ECHO_N "checking whether source of project Osi is available and should be compiled... $ECHO_C" >&6
2423
2424 coin_has_osi=notGiven
2425 coin_reason=
2426
2427 # check if user wants to skip project in any case
2428
2429 if test x"$COIN_SKIP_PROJECTS" != x; then
2430 for dir in $COIN_SKIP_PROJECTS; do
2431 if test $dir = "Osi"; then
2432 coin_has_osi="no"
2433 coin_reason="Osi has been specified in COIN_SKIP_PROJECTS"
2434 fi
2435
2436 done
2437 fi
2438
2439 if test "$coin_has_osi" != no; then
2440
2441 # Check whether --with-m4_tolower(Osi) or --without-m4_tolower(Osi) was given.
2442 if test "${with_osi+set}" = set; then
2443 withval="$with_osi"
2444 if test "$withval" = no ; then
2445 coin_has_osi="no"
2446 coin_reason="--without-osi has been specified"
2447 fi
2448
2449 fi;
2450 fi
2451
2452 if test "$coin_has_osi" != no; then
2453
2454 # Check whether --with-m4_tolower(Osi)-lib or --without-m4_tolower(Osi)-lib was given.
2455 if test "${with_osi_lib+set}" = set; then
2456 withval="$with_osi_lib"
2457 if test "$withval" = no ; then
2458 coin_has_osi="no"
2459 coin_reason="--without-osi-lib has been specified"
2460 else
2461 coin_has_osi="no"
2462 coin_reason="--with-osi-lib has been specified"
2463 fi
2464 fi;
2465 fi
2466
2467 if test "$coin_has_osi" != no; then
2468
2469 # Check whether --with-m4_tolower(Osi)-incdir or --without-m4_tolower(Osi)-incdir was given.
2470 if test "${with_osi_incdir+set}" = set; then
2471 withval="$with_osi_incdir"
2472 if test "$withval" = no ; then
2473 coin_has_osi="no"
2474 coin_reason="--without-osi-incdir has been specified"
2475 else
2476 coin_has_osi="no"
2477 coin_reason="--with-osi-incdir has been specified"
2478 fi
2479 fi;
2480 fi
2481
2482 if test "$coin_has_osi" != no; then
2483
2484 # Check whether --with-m4_tolower(Osi)-datadir or --without-m4_tolower(Osi)-datadir was given.
2485 if test "${with_osi_datadir+set}" = set; then
2486 withval="$with_osi_datadir"
2487 if test "$withval" = no ; then
2488 coin_has_osi="no"
2489 coin_reason="--without-osi-datadir has been specified"
2490 else
2491 coin_has_osi="no"
2492 coin_reason="--with-osi-datadir has been specified"
2493 fi
2494 fi;
2495 fi
2496
2497
2498
2499
2500
2501 # check if project is available in present directory
2502 if test "$coin_has_osi" = notGiven; then
2503 coin_has_osi=no
2504 if test -d $srcdir/Osi; then
2505 coin_reason="source in Osi"
2506 # If a third argument is given, then we have to check if one one the files given in that third argument is present.
2507 # If none of the files in the third argument is available, then we consider the project directory as non-existing.
2508 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
2509 coin_has_osi="yes"
2510
2511 fi
2512 fi
2513
2514 if test -z "$coin_reason" ; then
2515 echo "$as_me:$LINENO: result: $coin_has_osi" >&5
2516 echo "${ECHO_T}$coin_has_osi" >&6
2517 else
2518 echo "$as_me:$LINENO: result: $coin_has_osi, $coin_reason" >&5
2519 echo "${ECHO_T}$coin_has_osi, $coin_reason" >&6
2520 fi
2521
2522 if test "$coin_has_osi" = yes ; then
2523 if test -r $srcdir/Osi/configure; then
2524 coin_subdirs="$coin_subdirs Osi"
2525
2526
2527 subdirs="$subdirs Osi"
2528
2529 fi
2530 fi
2531
2532
2533 echo "$as_me:$LINENO: checking whether source of project Clp is available and should be compiled" >&5
2534 echo $ECHO_N "checking whether source of project Clp is available and should be compiled... $ECHO_C" >&6
2535
2536 coin_has_clp=notGiven
2537 coin_reason=
2538
2539 # check if user wants to skip project in any case
2540
2541 if test x"$COIN_SKIP_PROJECTS" != x; then
2542 for dir in $COIN_SKIP_PROJECTS; do
2543 if test $dir = "Clp"; then
2544 coin_has_clp="no"
2545 coin_reason="Clp has been specified in COIN_SKIP_PROJECTS"
2546 fi
2547
2548 done
2549 fi
2550
2551 if test "$coin_has_clp" != no; then
2552
2553 # Check whether --with-m4_tolower(Clp) or --without-m4_tolower(Clp) was given.
2554 if test "${with_clp+set}" = set; then
2555 withval="$with_clp"
2556 if test "$withval" = no ; then
2557 coin_has_clp="no"
2558 coin_reason="--without-clp has been specified"
2559 fi
2560
2561 fi;
2562 fi
2563
2564 if test "$coin_has_clp" != no; then
2565
2566 # Check whether --with-m4_tolower(Clp)-lib or --without-m4_tolower(Clp)-lib was given.
2567 if test "${with_clp_lib+set}" = set; then
2568 withval="$with_clp_lib"
2569 if test "$withval" = no ; then
2570 coin_has_clp="no"
2571 coin_reason="--without-clp-lib has been specified"
2572 else
2573 coin_has_clp="no"
2574 coin_reason="--with-clp-lib has been specified"
2575 fi
2576 fi;
2577 fi
2578
2579 if test "$coin_has_clp" != no; then
2580
2581 # Check whether --with-m4_tolower(Clp)-incdir or --without-m4_tolower(Clp)-incdir was given.
2582 if test "${with_clp_incdir+set}" = set; then
2583 withval="$with_clp_incdir"
2584 if test "$withval" = no ; then
2585 coin_has_clp="no"
2586 coin_reason="--without-clp-incdir has been specified"
2587 else
2588 coin_has_clp="no"
2589 coin_reason="--with-clp-incdir has been specified"
2590 fi
2591 fi;
2592 fi
2593
2594 if test "$coin_has_clp" != no; then
2595
2596 # Check whether --with-m4_tolower(Clp)-datadir or --without-m4_tolower(Clp)-datadir was given.
2597 if test "${with_clp_datadir+set}" = set; then
2598 withval="$with_clp_datadir"
2599 if test "$withval" = no ; then
2600 coin_has_clp="no"
2601 coin_reason="--without-clp-datadir has been specified"
2602 else
2603 coin_has_clp="no"
2604 coin_reason="--with-clp-datadir has been specified"
2605 fi
2606 fi;
2607 fi
2608
2609
2610
2611
2612
2613 # check if project is available in present directory
2614 if test "$coin_has_clp" = notGiven; then
2615 coin_has_clp=no
2616 if test -d $srcdir/Clp; then
2617 coin_reason="source in Clp"
2618 # If a third argument is given, then we have to check if one one the files given in that third argument is present.
2619 # If none of the files in the third argument is available, then we consider the project directory as non-existing.
2620 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
2621 coin_has_clp="yes"
2622
2623 fi
2624 fi
2625
2626 if test -z "$coin_reason" ; then
2627 echo "$as_me:$LINENO: result: $coin_has_clp" >&5
2628 echo "${ECHO_T}$coin_has_clp" >&6
2629 else
2630 echo "$as_me:$LINENO: result: $coin_has_clp, $coin_reason" >&5
2631 echo "${ECHO_T}$coin_has_clp, $coin_reason" >&6
2632 fi
2633
2634 if test "$coin_has_clp" = yes ; then
2635 if test -r $srcdir/Clp/configure; then
2636 coin_subdirs="$coin_subdirs Clp"
2637
2638
2639 subdirs="$subdirs Clp"
2640
2641 fi
2642 fi
2643
2644
2645 echo "$as_me:$LINENO: checking whether source of project Cgl is available and should be compiled" >&5
2646 echo $ECHO_N "checking whether source of project Cgl is available and should be compiled... $ECHO_C" >&6
2647
2648 coin_has_cgl=notGiven
2649 coin_reason=
2650
2651 # check if user wants to skip project in any case
2652
2653 if test x"$COIN_SKIP_PROJECTS" != x; then
2654 for dir in $COIN_SKIP_PROJECTS; do
2655 if test $dir = "Cgl"; then
2656 coin_has_cgl="no"
2657 coin_reason="Cgl has been specified in COIN_SKIP_PROJECTS"
2658 fi
2659
2660 done
2661 fi
2662
2663 if test "$coin_has_cgl" != no; then
2664
2665 # Check whether --with-m4_tolower(Cgl) or --without-m4_tolower(Cgl) was given.
2666 if test "${with_cgl+set}" = set; then
2667 withval="$with_cgl"
2668 if test "$withval" = no ; then
2669 coin_has_cgl="no"
2670 coin_reason="--without-cgl has been specified"
2671 fi
2672
2673 fi;
2674 fi
2675
2676 if test "$coin_has_cgl" != no; then
2677
2678 # Check whether --with-m4_tolower(Cgl)-lib or --without-m4_tolower(Cgl)-lib was given.
2679 if test "${with_cgl_lib+set}" = set; then
2680 withval="$with_cgl_lib"
2681 if test "$withval" = no ; then
2682 coin_has_cgl="no"
2683 coin_reason="--without-cgl-lib has been specified"
2684 else
2685 coin_has_cgl="no"
2686 coin_reason="--with-cgl-lib has been specified"
2687 fi
2688 fi;
2689 fi
2690
2691 if test "$coin_has_cgl" != no; then
2692
2693 # Check whether --with-m4_tolower(Cgl)-incdir or --without-m4_tolower(Cgl)-incdir was given.
2694 if test "${with_cgl_incdir+set}" = set; then
2695 withval="$with_cgl_incdir"
2696 if test "$withval" = no ; then
2697 coin_has_cgl="no"
2698 coin_reason="--without-cgl-incdir has been specified"
2699 else
2700 coin_has_cgl="no"
2701 coin_reason="--with-cgl-incdir has been specified"
2702 fi
2703 fi;
2704 fi
2705
2706 if test "$coin_has_cgl" != no; then
2707
2708 # Check whether --with-m4_tolower(Cgl)-datadir or --without-m4_tolower(Cgl)-datadir was given.
2709 if test "${with_cgl_datadir+set}" = set; then
2710 withval="$with_cgl_datadir"
2711 if test "$withval" = no ; then
2712 coin_has_cgl="no"
2713 coin_reason="--without-cgl-datadir has been specified"
2714 else
2715 coin_has_cgl="no"
2716 coin_reason="--with-cgl-datadir has been specified"
2717 fi
2718 fi;
2719 fi
2720
2721
2722
2723
2724
2725 # check if project is available in present directory
2726 if test "$coin_has_cgl" = notGiven; then
2727 coin_has_cgl=no
2728 if test -d $srcdir/Cgl; then
2729 coin_reason="source in Cgl"
2730 # If a third argument is given, then we have to check if one one the files given in that third argument is present.
2731 # If none of the files in the third argument is available, then we consider the project directory as non-existing.
2732 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
2733 coin_has_cgl="yes"
2734
2735 fi
2736 fi
2737
2738 if test -z "$coin_reason" ; then
2739 echo "$as_me:$LINENO: result: $coin_has_cgl" >&5
2740 echo "${ECHO_T}$coin_has_cgl" >&6
2741 else
2742 echo "$as_me:$LINENO: result: $coin_has_cgl, $coin_reason" >&5
2743 echo "${ECHO_T}$coin_has_cgl, $coin_reason" >&6
2744 fi
2745
2746 if test "$coin_has_cgl" = yes ; then
2747 if test -r $srcdir/Cgl/configure; then
2748 coin_subdirs="$coin_subdirs Cgl"
2749
2750
2751 subdirs="$subdirs Cgl"
2752
2753 fi
2754 fi
2755
2756
2757 echo "$as_me:$LINENO: checking whether source of project Cbc is available and should be compiled" >&5
2758 echo $ECHO_N "checking whether source of project Cbc is available and should be compiled... $ECHO_C" >&6
2759
2760 coin_has_cbc=notGiven
2761 coin_reason=
2762
2763 # check if user wants to skip project in any case
2764
2765 if test x"$COIN_SKIP_PROJECTS" != x; then
2766 for dir in $COIN_SKIP_PROJECTS; do
2767 if test $dir = "Cbc"; then
2768 coin_has_cbc="no"
2769 coin_reason="Cbc has been specified in COIN_SKIP_PROJECTS"
2770 fi
2771
2772 done
2773 fi
2774
2775 if test "$coin_has_cbc" != no; then
2776
2777 # Check whether --with-m4_tolower(Cbc) or --without-m4_tolower(Cbc) was given.
2778 if test "${with_cbc+set}" = set; then
2779 withval="$with_cbc"
2780 if test "$withval" = no ; then
2781 coin_has_cbc="no"
2782 coin_reason="--without-cbc has been specified"
2783 fi
2784
2785 fi;
2786 fi
2787
2788 if test "$coin_has_cbc" != no; then
2789
2790 # Check whether --with-m4_tolower(Cbc)-lib or --without-m4_tolower(Cbc)-lib was given.
2791 if test "${with_cbc_lib+set}" = set; then
2792 withval="$with_cbc_lib"
2793 if test "$withval" = no ; then
2794 coin_has_cbc="no"
2795 coin_reason="--without-cbc-lib has been specified"
2796 else
2797 coin_has_cbc="no"
2798 coin_reason="--with-cbc-lib has been specified"
2799 fi
2800 fi;
2801 fi
2802
2803 if test "$coin_has_cbc" != no; then
2804
2805 # Check whether --with-m4_tolower(Cbc)-incdir or --without-m4_tolower(Cbc)-incdir was given.
2806 if test "${with_cbc_incdir+set}" = set; then
2807 withval="$with_cbc_incdir"
2808 if test "$withval" = no ; then
2809 coin_has_cbc="no"
2810 coin_reason="--without-cbc-incdir has been specified"
2811 else
2812 coin_has_cbc="no"
2813 coin_reason="--with-cbc-incdir has been specified"
2814 fi
2815 fi;
2816 fi
2817
2818 if test "$coin_has_cbc" != no; then
2819
2820 # Check whether --with-m4_tolower(Cbc)-datadir or --without-m4_tolower(Cbc)-datadir was given.
2821 if test "${with_cbc_datadir+set}" = set; then
2822 withval="$with_cbc_datadir"
2823 if test "$withval" = no ; then
2824 coin_has_cbc="no"
2825 coin_reason="--without-cbc-datadir has been specified"
2826 else
2827 coin_has_cbc="no"
2828 coin_reason="--with-cbc-datadir has been specified"
2829 fi
2830 fi;
2831 fi
2832
2833
2834
2835
2836
2837 # check if project is available in present directory
2838 if test "$coin_has_cbc" = notGiven; then
2839 coin_has_cbc=no
2840 if test -d $srcdir/Cbc; then
2841 coin_reason="source in Cbc"
2842 # If a third argument is given, then we have to check if one one the files given in that third argument is present.
2843 # If none of the files in the third argument is available, then we consider the project directory as non-existing.
2844 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
2845 coin_has_cbc="yes"
2846
2847 fi
2848 fi
2849
2850 if test -z "$coin_reason" ; then
2851 echo "$as_me:$LINENO: result: $coin_has_cbc" >&5
2852 echo "${ECHO_T}$coin_has_cbc" >&6
2853 else
2854 echo "$as_me:$LINENO: result: $coin_has_cbc, $coin_reason" >&5
2855 echo "${ECHO_T}$coin_has_cbc, $coin_reason" >&6
2856 fi
2857
2858 if test "$coin_has_cbc" = yes ; then
2859 if test -r $srcdir/Cbc/configure; then
2860 coin_subdirs="$coin_subdirs Cbc"
2861
2862
2863 subdirs="$subdirs Cbc"
2864
2865 fi
2866 fi
2867
2868
2869 echo "$as_me:$LINENO: checking whether source of project CoinMP is available and should be compiled" >&5
2870 echo $ECHO_N "checking whether source of project CoinMP is available and should be compiled... $ECHO_C" >&6
2871
2872 coin_has_coinmp=notGiven
2873 coin_reason=
2874
2875 # check if user wants to skip project in any case
2876
2877 if test x"$COIN_SKIP_PROJECTS" != x; then
2878 for dir in $COIN_SKIP_PROJECTS; do
2879 if test $dir = "CoinMP"; then
2880 coin_has_coinmp="no"
2881 coin_reason="CoinMP has been specified in COIN_SKIP_PROJECTS"
2882 fi
2883
2884 done
2885 fi
2886
2887 if test "$coin_has_coinmp" != no; then
2888
2889 # Check whether --with-m4_tolower(CoinMP) or --without-m4_tolower(CoinMP) was given.
2890 if test "${with_coinmp+set}" = set; then
2891 withval="$with_coinmp"
2892 if test "$withval" = no ; then
2893 coin_has_coinmp="no"
2894 coin_reason="--without-coinmp has been specified"
2895 fi
2896
2897 fi;
2898 fi
2899
2900 if test "$coin_has_coinmp" != no; then
2901
2902 # Check whether --with-m4_tolower(CoinMP)-lib or --without-m4_tolower(CoinMP)-lib was given.
2903 if test "${with_coinmp_lib+set}" = set; then
2904 withval="$with_coinmp_lib"
2905 if test "$withval" = no ; then
2906 coin_has_coinmp="no"
2907 coin_reason="--without-coinmp-lib has been specified"
2908 else
2909 coin_has_coinmp="no"
2910 coin_reason="--with-coinmp-lib has been specified"
2911 fi
2912 fi;
2913 fi
2914
2915 if test "$coin_has_coinmp" != no; then
2916
2917 # Check whether --with-m4_tolower(CoinMP)-incdir or --without-m4_tolower(CoinMP)-incdir was given.
2918 if test "${with_coinmp_incdir+set}" = set; then
2919 withval="$with_coinmp_incdir"
2920 if test "$withval" = no ; then
2921 coin_has_coinmp="no"
2922 coin_reason="--without-coinmp-incdir has been specified"
2923 else
2924 coin_has_coinmp="no"
2925 coin_reason="--with-coinmp-incdir has been specified"
2926 fi
2927 fi;
2928 fi
2929
2930 if test "$coin_has_coinmp" != no; then
2931
2932 # Check whether --with-m4_tolower(CoinMP)-datadir or --without-m4_tolower(CoinMP)-datadir was given.
2933 if test "${with_coinmp_datadir+set}" = set; then
2934 withval="$with_coinmp_datadir"
2935 if test "$withval" = no ; then
2936 coin_has_coinmp="no"
2937 coin_reason="--without-coinmp-datadir has been specified"
2938 else
2939 coin_has_coinmp="no"
2940 coin_reason="--with-coinmp-datadir has been specified"
2941 fi
2942 fi;
2943 fi
2944
2945
2946
2947
2948
2949 # check if project is available in present directory
2950 if test "$coin_has_coinmp" = notGiven; then
2951 coin_has_coinmp=no
2952 if test -d $srcdir/CoinMP; then
2953 coin_reason="source in CoinMP"
2954 # If a third argument is given, then we have to check if one one the files given in that third argument is present.
2955 # If none of the files in the third argument is available, then we consider the project directory as non-existing.
2956 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
2957 coin_has_coinmp="yes"
2958
2959 fi
2960 fi
2961
2962 if test -z "$coin_reason" ; then
2963 echo "$as_me:$LINENO: result: $coin_has_coinmp" >&5
2964 echo "${ECHO_T}$coin_has_coinmp" >&6
2965 else
2966 echo "$as_me:$LINENO: result: $coin_has_coinmp, $coin_reason" >&5
2967 echo "${ECHO_T}$coin_has_coinmp, $coin_reason" >&6
2968 fi
2969
2970 if test "$coin_has_coinmp" = yes ; then
2971 if test -r $srcdir/CoinMP/configure; then
2972 coin_subdirs="$coin_subdirs CoinMP"
2973
2974
2975 subdirs="$subdirs CoinMP"
2976
2977 fi
2978 fi
2979
2980
2981 ##############################################################################
2982 # Finishing up by writing all the output #
2983 ##############################################################################
2984
2985 # Here list all the files that configure should create (except for the
2986 # configuration header file)
2987 ac_config_files="$ac_config_files Makefile"
2988
2989
2990 # Finally, we let configure write all the output...
2991
2992
2993
2994
2995 echo "$as_me:$LINENO: checking which command should be used to link input files" >&5
2996 echo $ECHO_N "checking which command should be used to link input files... $ECHO_C" >&6
2997 coin_link_input_cmd="$LN_S"
2998 case "$CC" in
2999 clang* ) ;;
3000 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
3001 coin_link_input_cmd=cp ;;
3002 esac
3003 echo "$as_me:$LINENO: result: $coin_link_input_cmd" >&5
3004 echo "${ECHO_T}$coin_link_input_cmd" >&6
3005
3006
3007
3008 if test x$coin_skip_ac_output != xyes; then
3009
3010 # library extension
3011
3012 case "$CC" in
3013 clang* )
3014 LIBEXT=a ;;
3015 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
3016 LIBEXT=lib ;;
3017 *) LIBEXT=a ;;
3018 esac
3019
3020 # Define VPATH_DISTCLEANFILES to be everything that needs to be
3021 # cleaned for distclean in a vpath configuration
3022
3023 VPATH_DISTCLEANFILES="$coin_vpath_link_files"
3024
3025 # Take out subdirectories if their configuration concluded that they
3026 # don't need to be compiled
3027 if test x"$coin_ac_skip_subdirs" != x; then
3028 new_subdirs=
3029 for i in $subdirs; do
3030 skipme=no
3031 for j in $coin_ac_skip_subdirs; do
3032 if test $i = $j; then
3033 skipme=yes;
3034 fi
3035 done
3036 if test $skipme = no; then
3037 new_subdirs="$new_subdirs $i"
3038 fi
3039 done
3040 subdirs="$new_subdirs"
3041 fi
3042
3043 # need to come before AC_OUTPUT
3044 if test x$coin_projectdir != xyes; then
3045 # write coin_subdirs to a file so that project configuration knows where to find uninstalled projects
3046 echo $coin_subdirs > coin_subdirs.txt
3047 else
3048 # substitute for OBJDIR, needed to setup .pc file for uninstalled project
3049 ABSBUILDDIR="`pwd`"
3050
3051 fi
3052
3053 cat >confcache <<\_ACEOF
3054 # This file is a shell script that caches the results of configure
3055 # tests run on this system so they can be shared between configure
3056 # scripts and configure runs, see configure's option --config-cache.
3057 # It is not useful on other systems. If it contains results you don't
3058 # want to keep, you may remove or edit it.
3059 #
3060 # config.status only pays attention to the cache file if you give it
3061 # the --recheck option to rerun configure.
3062 #
3063 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3064 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3065 # following values.
3066
3067 _ACEOF
3068
3069 # The following way of writing the cache mishandles newlines in values,
3070 # but we know of no workaround that is simple, portable, and efficient.
3071 # So, don't put newlines in cache variables' values.
3072 # Ultrix sh set writes to stderr and can't be redirected directly,
3073 # and sets the high bit in the cache file unless we assign to the vars.
3074 {
3075 (set) 2>&1 |
3076 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3077 *ac_space=\ *)
3078 # `set' does not quote correctly, so add quotes (double-quote
3079 # substitution turns \\\\ into \\, and sed turns \\ into \).
3080 sed -n \
3081 "s/'/'\\\\''/g;
3082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3083 ;;
3084 *)
3085 # `set' quotes correctly as required by POSIX, so do not add quotes.
3086 sed -n \
3087 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3088 ;;
3089 esac;
3090 } |
3091 sed '
3092 t clear
3093 : clear
3094 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3095 t end
3096 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3097 : end' >>confcache
3098 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3099 if test -w $cache_file; then
3100 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3101 cat confcache >$cache_file
3102 else
3103 echo "not updating unwritable cache $cache_file"
3104 fi
3105 fi
3106 rm -f confcache
3107
3108 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3109 # Let make expand exec_prefix.
3110 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3111
3112 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3113 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3114 # trailing colons and then remove the whole line if VPATH becomes empty
3115 # (actually we leave an empty line to preserve line numbers).
3116 if test "x$srcdir" = x.; then
3117 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3118 s/:*\$(srcdir):*/:/;
3119 s/:*\${srcdir}:*/:/;
3120 s/:*@srcdir@:*/:/;
3121 s/^\([^=]*=[ ]*\):*/\1/;
3122 s/:*$//;
3123 s/^[^=]*=[ ]*$//;
3124 }'
3125 fi
3126
3127 # Transform confdefs.h into DEFS.
3128 # Protect against shell expansion while executing Makefile rules.
3129 # Protect against Makefile macro expansion.
3130 #
3131 # If the first sed substitution is executed (which looks for macros that
3132 # take arguments), then we branch to the quote section. Otherwise,
3133 # look for a macro that doesn't take arguments.
3134 cat >confdef2opt.sed <<\_ACEOF
3135 t clear
3136 : clear
3137 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3138 t quote
3139 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3140 t quote
3141 d
3142 : quote
3143 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3144 s,\[,\\&,g
3145 s,\],\\&,g
3146 s,\$,$$,g
3147 p
3148 _ACEOF
3149 # We use echo to avoid assuming a particular line-breaking character.
3150 # The extra dot is to prevent the shell from consuming trailing
3151 # line-breaks from the sub-command output. A line-break within
3152 # single-quotes doesn't work because, if this script is created in a
3153 # platform that uses two characters for line-breaks (e.g., DOS), tr
3154 # would break.
3155 ac_LF_and_DOT=`echo; echo .`
3156 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3157 rm -f confdef2opt.sed
3158
3159
3160 ac_libobjs=
3161 ac_ltlibobjs=
3162 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3163 # 1. Remove the extension, and $U if already installed.
3164 ac_i=`echo "$ac_i" |
3165 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3166 # 2. Add them.
3167 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3168 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3169 done
3170 LIBOBJS=$ac_libobjs
3171
3172 LTLIBOBJS=$ac_ltlibobjs
3173
3174
3175 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3176 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3177 Usually this means the macro was only invoked conditionally." >&5
3178 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3179 Usually this means the macro was only invoked conditionally." >&2;}
3180 { (exit 1); exit 1; }; }
3181 fi
3182 if test -z "${HAVE_EXTERNALS_TRUE}" && test -z "${HAVE_EXTERNALS_FALSE}"; then
3183 { { echo "$as_me:$LINENO: error: conditional \"HAVE_EXTERNALS\" was never defined.
3184 Usually this means the macro was only invoked conditionally." >&5
3185 echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
3186 Usually this means the macro was only invoked conditionally." >&2;}
3187 { (exit 1); exit 1; }; }
3188 fi
3189
3190 : ${CONFIG_STATUS=./config.status}
3191 ac_clean_files_save=$ac_clean_files
3192 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3193 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3194 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3195 cat >$CONFIG_STATUS <<_ACEOF
3196 #! $SHELL
3197 # Generated by $as_me.
3198 # Run this file to recreate the current configuration.
3199 # Compiler output produced by configure, useful for debugging
3200 # configure, is in config.log if it exists.
3201
3202 debug=false
3203 ac_cs_recheck=false
3204 ac_cs_silent=false
3205 SHELL=\${CONFIG_SHELL-$SHELL}
3206 _ACEOF
3207
3208 cat >>$CONFIG_STATUS <<\_ACEOF
3209 ## --------------------- ##
3210 ## M4sh Initialization. ##
3211 ## --------------------- ##
3212
3213 # Be Bourne compatible
3214 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3215 emulate sh
3216 NULLCMD=:
3217 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3218 # is contrary to our usage. Disable this feature.
3219 alias -g '${1+"$@"}'='"$@"'
3220 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3221 set -o posix
3222 fi
3223 DUALCASE=1; export DUALCASE # for MKS sh
3224
3225 # Support unset when possible.
3226 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3227 as_unset=unset
3228 else
3229 as_unset=false
3230 fi
3231
3232
3233 # Work around bugs in pre-3.0 UWIN ksh.
3234 $as_unset ENV MAIL MAILPATH
3235 PS1='$ '
3236 PS2='> '
3237 PS4='+ '
3238
3239 # NLS nuisances.
3240 for as_var in \
3241 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3242 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3243 LC_TELEPHONE LC_TIME
3244 do
3245 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3246 eval $as_var=C; export $as_var
3247 else
3248 $as_unset $as_var
3249 fi
3250 done
3251
3252 # Required to use basename.
3253 if expr a : '\(a\)' >/dev/null 2>&1; then
3254 as_expr=expr
3255 else
3256 as_expr=false
3257 fi
3258
3259 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3260 as_basename=basename
3261 else
3262 as_basename=false
3263 fi
3264
3265
3266 # Name of the executable.
3267 as_me=`$as_basename "$0" ||
3268 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3269 X"$0" : 'X\(//\)$' \| \
3270 X"$0" : 'X\(/\)$' \| \
3271 . : '\(.\)' 2>/dev/null ||
3272 echo X/"$0" |
3273 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3274 /^X\/\(\/\/\)$/{ s//\1/; q; }
3275 /^X\/\(\/\).*/{ s//\1/; q; }
3276 s/.*/./; q'`
3277
3278
3279 # PATH needs CR, and LINENO needs CR and PATH.
3280 # Avoid depending upon Character Ranges.
3281 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3282 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3283 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3284 as_cr_digits='0123456789'
3285 as_cr_alnum=$as_cr_Letters$as_cr_digits
3286
3287 # The user is always right.
3288 if test "${PATH_SEPARATOR+set}" != set; then
3289 echo "#! /bin/sh" >conf$$.sh
3290 echo "exit 0" >>conf$$.sh
3291 chmod +x conf$$.sh
3292 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3293 PATH_SEPARATOR=';'
3294 else
3295 PATH_SEPARATOR=:
3296 fi
3297 rm -f conf$$.sh
3298 fi
3299
3300
3301 as_lineno_1=$LINENO
3302 as_lineno_2=$LINENO
3303 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3304 test "x$as_lineno_1" != "x$as_lineno_2" &&
3305 test "x$as_lineno_3" = "x$as_lineno_2" || {
3306 # Find who we are. Look in the path if we contain no path at all
3307 # relative or not.
3308 case $0 in
3309 *[\\/]* ) as_myself=$0 ;;
3310 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3311 for as_dir in $PATH
3312 do
3313 IFS=$as_save_IFS
3314 test -z "$as_dir" && as_dir=.
3315 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3316 done
3317
3318 ;;
3319 esac
3320 # We did not find ourselves, most probably we were run as `sh COMMAND'
3321 # in which case we are not to be found in the path.
3322 if test "x$as_myself" = x; then
3323 as_myself=$0
3324 fi
3325 if test ! -f "$as_myself"; then
3326 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3327 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3328 { (exit 1); exit 1; }; }
3329 fi
3330 case $CONFIG_SHELL in
3331 '')
3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3334 do
3335 IFS=$as_save_IFS
3336 test -z "$as_dir" && as_dir=.
3337 for as_base in sh bash ksh sh5; do
3338 case $as_dir in
3339 /*)
3340 if ("$as_dir/$as_base" -c '
3341 as_lineno_1=$LINENO
3342 as_lineno_2=$LINENO
3343 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3344 test "x$as_lineno_1" != "x$as_lineno_2" &&
3345 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3346 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3347 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3348 CONFIG_SHELL=$as_dir/$as_base
3349 export CONFIG_SHELL
3350 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3351 fi;;
3352 esac
3353 done
3354 done
3355 ;;
3356 esac
3357
3358 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3359 # uniformly replaced by the line number. The first 'sed' inserts a
3360 # line-number line before each line; the second 'sed' does the real
3361 # work. The second script uses 'N' to pair each line-number line
3362 # with the numbered line, and appends trailing '-' during
3363 # substitution so that $LINENO is not a special case at line end.
3364 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3365 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3366 sed '=' <$as_myself |
3367 sed '
3368 N
3369 s,$,-,
3370 : loop
3371 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3372 t loop
3373 s,-$,,
3374 s,^['$as_cr_digits']*\n,,
3375 ' >$as_me.lineno &&
3376 chmod +x $as_me.lineno ||
3377 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3378 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3379 { (exit 1); exit 1; }; }
3380
3381 # Don't try to exec as it changes $[0], causing all sort of problems
3382 # (the dirname of $[0] is not the place where we might find the
3383 # original and so on. Autoconf is especially sensible to this).
3384 . ./$as_me.lineno
3385 # Exit status is that of the last command.
3386 exit
3387 }
3388
3389
3390 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3391 *c*,-n*) ECHO_N= ECHO_C='
3392 ' ECHO_T=' ' ;;
3393 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3394 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3395 esac
3396
3397 if expr a : '\(a\)' >/dev/null 2>&1; then
3398 as_expr=expr
3399 else
3400 as_expr=false
3401 fi
3402
3403 rm -f conf$$ conf$$.exe conf$$.file
3404 echo >conf$$.file
3405 if ln -s conf$$.file conf$$ 2>/dev/null; then
3406 # We could just check for DJGPP; but this test a) works b) is more generic
3407 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3408 if test -f conf$$.exe; then
3409 # Don't use ln at all; we don't have any links
3410 as_ln_s='cp -p'
3411 else
3412 as_ln_s='ln -s'
3413 fi
3414 elif ln conf$$.file conf$$ 2>/dev/null; then
3415 as_ln_s=ln
3416 else
3417 as_ln_s='cp -p'
3418 fi
3419 rm -f conf$$ conf$$.exe conf$$.file
3420
3421 if mkdir -p . 2>/dev/null; then
3422 as_mkdir_p=:
3423 else
3424 test -d ./-p && rmdir ./-p
3425 as_mkdir_p=false
3426 fi
3427
3428 as_executable_p="test -f"
3429
3430 # Sed expression to map a string onto a valid CPP name.
3431 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3432
3433 # Sed expression to map a string onto a valid variable name.
3434 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3435
3436
3437 # IFS
3438 # We need space, tab and new line, in precisely that order.
3439 as_nl='
3440 '
3441 IFS=" $as_nl"
3442
3443 # CDPATH.
3444 $as_unset CDPATH
3445
3446 exec 6>&1
3447
3448 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3449 # report actual input values of CONFIG_FILES etc. instead of their
3450 # values after options handling. Logging --version etc. is OK.
3451 exec 5>>config.log
3452 {
3453 echo
3454 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3455 ## Running $as_me. ##
3456 _ASBOX
3457 } >&5
3458 cat >&5 <<_CSEOF
3459
3460 This file was extended by CoinMP $as_me 1.8, which was
3461 generated by GNU Autoconf 2.59. Invocation command line was
3462
3463 CONFIG_FILES = $CONFIG_FILES
3464 CONFIG_HEADERS = $CONFIG_HEADERS
3465 CONFIG_LINKS = $CONFIG_LINKS
3466 CONFIG_COMMANDS = $CONFIG_COMMANDS
3467 $ $0 $@
3468
3469 _CSEOF
3470 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3471 echo >&5
3472 _ACEOF
3473
3474 # Files that config.status was made for.
3475 if test -n "$ac_config_files"; then
3476 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3477 fi
3478
3479 if test -n "$ac_config_headers"; then
3480 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3481 fi
3482
3483 if test -n "$ac_config_links"; then
3484 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3485 fi
3486
3487 if test -n "$ac_config_commands"; then
3488 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3489 fi
3490
3491 cat >>$CONFIG_STATUS <<\_ACEOF
3492
3493 ac_cs_usage="\
3494 \`$as_me' instantiates files from templates according to the
3495 current configuration.
3496
3497 Usage: $0 [OPTIONS] [FILE]...
3498
3499 -h, --help print this help, then exit
3500 -V, --version print version number, then exit
3501 -q, --quiet do not print progress messages
3502 -d, --debug don't remove temporary files
3503 --recheck update $as_me by reconfiguring in the same conditions
3504 --file=FILE[:TEMPLATE]
3505 instantiate the configuration file FILE
3506
3507 Configuration files:
3508 $config_files
3509
3510 Report bugs to <[email protected]>."
3511 _ACEOF
3512
3513 cat >>$CONFIG_STATUS <<_ACEOF
3514 ac_cs_version="\\
3515 CoinMP config.status 1.8
3516 configured by $0, generated by GNU Autoconf 2.59,
3517 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3518
3519 Copyright (C) 2003 Free Software Foundation, Inc.
3520 This config.status script is free software; the Free Software Foundation
3521 gives unlimited permission to copy, distribute and modify it."
3522 srcdir=$srcdir
3523 INSTALL="$INSTALL"
3524 _ACEOF
3525
3526 cat >>$CONFIG_STATUS <<\_ACEOF
3527 # If no file are specified by the user, then we need to provide default
3528 # value. By we need to know if files were specified by the user.
3529 ac_need_defaults=:
3530 while test $# != 0
3531 do
3532 case $1 in
3533 --*=*)
3534 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3535 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3536 ac_shift=:
3537 ;;
3538 -*)
3539 ac_option=$1
3540 ac_optarg=$2
3541 ac_shift=shift
3542 ;;
3543 *) # This is not an option, so the user has probably given explicit
3544 # arguments.
3545 ac_option=$1
3546 ac_need_defaults=false;;
3547 esac
3548
3549 case $ac_option in
3550 # Handling of the options.
3551 _ACEOF
3552 cat >>$CONFIG_STATUS <<\_ACEOF
3553 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3554 ac_cs_recheck=: ;;
3555 --version | --vers* | -V )
3556 echo "$ac_cs_version"; exit 0 ;;
3557 --he | --h)
3558 # Conflict between --help and --header
3559 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3560 Try \`$0 --help' for more information." >&5
3561 echo "$as_me: error: ambiguous option: $1
3562 Try \`$0 --help' for more information." >&2;}
3563 { (exit 1); exit 1; }; };;
3564 --help | --hel | -h )
3565 echo "$ac_cs_usage"; exit 0 ;;
3566 --debug | --d* | -d )
3567 debug=: ;;
3568 --file | --fil | --fi | --f )
3569 $ac_shift
3570 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3571 ac_need_defaults=false;;
3572 --header | --heade | --head | --hea )
3573 $ac_shift
3574 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3575 ac_need_defaults=false;;
3576 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3577 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3578 ac_cs_silent=: ;;
3579
3580 # This is an error.
3581 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3582 Try \`$0 --help' for more information." >&5
3583 echo "$as_me: error: unrecognized option: $1
3584 Try \`$0 --help' for more information." >&2;}
3585 { (exit 1); exit 1; }; } ;;
3586
3587 *) ac_config_targets="$ac_config_targets $1" ;;
3588
3589 esac
3590 shift
3591 done
3592
3593 ac_configure_extra_args=
3594
3595 if $ac_cs_silent; then
3596 exec 6>/dev/null
3597 ac_configure_extra_args="$ac_configure_extra_args --silent"
3598 fi
3599
3600 _ACEOF
3601 cat >>$CONFIG_STATUS <<_ACEOF
3602 if \$ac_cs_recheck; then
3603 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3604 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3605 fi
3606
3607 _ACEOF
3608
3609
3610
3611
3612
3613 cat >>$CONFIG_STATUS <<\_ACEOF
3614 for ac_config_target in $ac_config_targets
3615 do
3616 case "$ac_config_target" in
3617 # Handling of arguments.
3618 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3619 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3620 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3621 { (exit 1); exit 1; }; };;
3622 esac
3623 done
3624
3625 # If the user did not use the arguments to specify the items to instantiate,
3626 # then the envvar interface is used. Set only those that are not.
3627 # We use the long form for the default assignment because of an extremely
3628 # bizarre bug on SunOS 4.1.3.
3629 if $ac_need_defaults; then
3630 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3631 fi
3632
3633 # Have a temporary directory for convenience. Make it in the build tree
3634 # simply because there is no reason to put it here, and in addition,
3635 # creating and moving files from /tmp can sometimes cause problems.
3636 # Create a temporary directory, and hook for its removal unless debugging.
3637 $debug ||
3638 {
3639 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3640 trap '{ (exit 1); exit 1; }' 1 2 13 15
3641 }
3642
3643 # Create a (secure) tmp directory for tmp files.
3644
3645 {
3646 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3647 test -n "$tmp" && test -d "$tmp"
3648 } ||
3649 {
3650 tmp=./confstat$$-$RANDOM
3651 (umask 077 && mkdir $tmp)
3652 } ||
3653 {
3654 echo "$me: cannot create a temporary directory in ." >&2
3655 { (exit 1); exit 1; }
3656 }
3657
3658 _ACEOF
3659
3660 cat >>$CONFIG_STATUS <<_ACEOF
3661
3662 #
3663 # CONFIG_FILES section.
3664 #
3665
3666 # No need to generate the scripts if there are no CONFIG_FILES.
3667 # This happens for instance when ./config.status config.h
3668 if test -n "\$CONFIG_FILES"; then
3669 # Protect against being on the right side of a sed subst in config.status.
3670 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3671 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3672 s,@SHELL@,$SHELL,;t t
3673 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3674 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3675 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3676 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3677 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3678 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3679 s,@exec_prefix@,$exec_prefix,;t t
3680 s,@prefix@,$prefix,;t t
3681 s,@program_transform_name@,$program_transform_name,;t t
3682 s,@bindir@,$bindir,;t t
3683 s,@sbindir@,$sbindir,;t t
3684 s,@libexecdir@,$libexecdir,;t t
3685 s,@datadir@,$datadir,;t t
3686 s,@sysconfdir@,$sysconfdir,;t t
3687 s,@sharedstatedir@,$sharedstatedir,;t t
3688 s,@localstatedir@,$localstatedir,;t t
3689 s,@libdir@,$libdir,;t t
3690 s,@includedir@,$includedir,;t t
3691 s,@oldincludedir@,$oldincludedir,;t t
3692 s,@infodir@,$infodir,;t t
3693 s,@mandir@,$mandir,;t t
3694 s,@build_alias@,$build_alias,;t t
3695 s,@host_alias@,$host_alias,;t t
3696 s,@target_alias@,$target_alias,;t t
3697 s,@DEFS@,$DEFS,;t t
3698 s,@ECHO_C@,$ECHO_C,;t t
3699 s,@ECHO_N@,$ECHO_N,;t t
3700 s,@ECHO_T@,$ECHO_T,;t t
3701 s,@LIBS@,$LIBS,;t t
3702 s,@EGREP@,$EGREP,;t t
3703 s,@LN_S@,$LN_S,;t t
3704 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3705 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3706 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3707 s,@CYGPATH_W@,$CYGPATH_W,;t t
3708 s,@PACKAGE@,$PACKAGE,;t t
3709 s,@VERSION@,$VERSION,;t t
3710 s,@ACLOCAL@,$ACLOCAL,;t t
3711 s,@AUTOCONF@,$AUTOCONF,;t t
3712 s,@AUTOMAKE@,$AUTOMAKE,;t t
3713 s,@AUTOHEADER@,$AUTOHEADER,;t t
3714 s,@MAKEINFO@,$MAKEINFO,;t t
3715 s,@install_sh@,$install_sh,;t t
3716 s,@STRIP@,$STRIP,;t t
3717 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3718 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3719 s,@mkdir_p@,$mkdir_p,;t t
3720 s,@AWK@,$AWK,;t t
3721 s,@SET_MAKE@,$SET_MAKE,;t t
3722 s,@am__leading_dot@,$am__leading_dot,;t t
3723 s,@AMTAR@,$AMTAR,;t t
3724 s,@am__tar@,$am__tar,;t t
3725 s,@am__untar@,$am__untar,;t t
3726 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
3727 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
3728 s,@MAINT@,$MAINT,;t t
3729 s,@LIBTOOLM4@,$LIBTOOLM4,;t t
3730 s,@have_autoconf@,$have_autoconf,;t t
3731 s,@have_automake@,$have_automake,;t t
3732 s,@have_svn@,$have_svn,;t t
3733 s,@BUILDTOOLSDIR@,$BUILDTOOLSDIR,;t t
3734 s,@AUX_DIR@,$AUX_DIR,;t t
3735 s,@abs_source_dir@,$abs_source_dir,;t t
3736 s,@abs_lib_dir@,$abs_lib_dir,;t t
3737 s,@abs_include_dir@,$abs_include_dir,;t t
3738 s,@abs_bin_dir@,$abs_bin_dir,;t t
3739 s,@HAVE_EXTERNALS_TRUE@,$HAVE_EXTERNALS_TRUE,;t t
3740 s,@HAVE_EXTERNALS_FALSE@,$HAVE_EXTERNALS_FALSE,;t t
3741 s,@COIN_SKIP_PROJECTS@,$COIN_SKIP_PROJECTS,;t t
3742 s,@subdirs@,$subdirs,;t t
3743 s,@LIBEXT@,$LIBEXT,;t t
3744 s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
3745 s,@ABSBUILDDIR@,$ABSBUILDDIR,;t t
3746 s,@LIBOBJS@,$LIBOBJS,;t t
3747 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3748 CEOF
3749
3750 _ACEOF
3751
3752 cat >>$CONFIG_STATUS <<\_ACEOF
3753 # Split the substitutions into bite-sized pieces for seds with
3754 # small command number limits, like on Digital OSF/1 and HP-UX.
3755 ac_max_sed_lines=48
3756 ac_sed_frag=1 # Number of current file.
3757 ac_beg=1 # First line for current file.
3758 ac_end=$ac_max_sed_lines # Line after last line for current file.
3759 ac_more_lines=:
3760 ac_sed_cmds=
3761 while $ac_more_lines; do
3762 if test $ac_beg -gt 1; then
3763 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3764 else
3765 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3766 fi
3767 if test ! -s $tmp/subs.frag; then
3768 ac_more_lines=false
3769 else
3770 # The purpose of the label and of the branching condition is to
3771 # speed up the sed processing (if there are no `@' at all, there
3772 # is no need to browse any of the substitutions).
3773 # These are the two extra sed commands mentioned above.
3774 (echo ':t
3775 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3776 if test -z "$ac_sed_cmds"; then
3777 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3778 else
3779 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3780 fi
3781 ac_sed_frag=`expr $ac_sed_frag + 1`
3782 ac_beg=$ac_end
3783 ac_end=`expr $ac_end + $ac_max_sed_lines`
3784 fi
3785 done
3786 if test -z "$ac_sed_cmds"; then
3787 ac_sed_cmds=cat
3788 fi
3789 fi # test -n "$CONFIG_FILES"
3790
3791 _ACEOF
3792 cat >>$CONFIG_STATUS <<\_ACEOF
3793 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3794 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3795 case $ac_file in
3796 - | *:- | *:-:* ) # input from stdin
3797 cat >$tmp/stdin
3798 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3799 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3800 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3801 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3802 * ) ac_file_in=$ac_file.in ;;
3803 esac
3804
3805 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3806 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3807 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3808 X"$ac_file" : 'X\(//\)[^/]' \| \
3809 X"$ac_file" : 'X\(//\)$' \| \
3810 X"$ac_file" : 'X\(/\)' \| \
3811 . : '\(.\)' 2>/dev/null ||
3812 echo X"$ac_file" |
3813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3814 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3815 /^X\(\/\/\)$/{ s//\1/; q; }
3816 /^X\(\/\).*/{ s//\1/; q; }
3817 s/.*/./; q'`
3818 { if $as_mkdir_p; then
3819 mkdir -p "$ac_dir"
3820 else
3821 as_dir="$ac_dir"
3822 as_dirs=
3823 while test ! -d "$as_dir"; do
3824 as_dirs="$as_dir $as_dirs"
3825 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3826 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3827 X"$as_dir" : 'X\(//\)[^/]' \| \
3828 X"$as_dir" : 'X\(//\)$' \| \
3829 X"$as_dir" : 'X\(/\)' \| \
3830 . : '\(.\)' 2>/dev/null ||
3831 echo X"$as_dir" |
3832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3833 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3834 /^X\(\/\/\)$/{ s//\1/; q; }
3835 /^X\(\/\).*/{ s//\1/; q; }
3836 s/.*/./; q'`
3837 done
3838 test ! -n "$as_dirs" || mkdir $as_dirs
3839 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3840 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3841 { (exit 1); exit 1; }; }; }
3842
3843 ac_builddir=.
3844
3845 if test "$ac_dir" != .; then
3846 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3847 # A "../" for each directory in $ac_dir_suffix.
3848 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3849 else
3850 ac_dir_suffix= ac_top_builddir=
3851 fi
3852
3853 case $srcdir in
3854 .) # No --srcdir option. We are building in place.
3855 ac_srcdir=.
3856 if test -z "$ac_top_builddir"; then
3857 ac_top_srcdir=.
3858 else
3859 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3860 fi ;;
3861 [\\/]* | ?:[\\/]* ) # Absolute path.
3862 ac_srcdir=$srcdir$ac_dir_suffix;
3863 ac_top_srcdir=$srcdir ;;
3864 *) # Relative path.
3865 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3866 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3867 esac
3868
3869 # Do not use `cd foo && pwd` to compute absolute paths, because
3870 # the directories may not exist.
3871 case `pwd` in
3872 .) ac_abs_builddir="$ac_dir";;
3873 *)
3874 case "$ac_dir" in
3875 .) ac_abs_builddir=`pwd`;;
3876 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3877 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3878 esac;;
3879 esac
3880 case $ac_abs_builddir in
3881 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3882 *)
3883 case ${ac_top_builddir}. in
3884 .) ac_abs_top_builddir=$ac_abs_builddir;;
3885 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3886 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3887 esac;;
3888 esac
3889 case $ac_abs_builddir in
3890 .) ac_abs_srcdir=$ac_srcdir;;
3891 *)
3892 case $ac_srcdir in
3893 .) ac_abs_srcdir=$ac_abs_builddir;;
3894 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3895 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3896 esac;;
3897 esac
3898 case $ac_abs_builddir in
3899 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3900 *)
3901 case $ac_top_srcdir in
3902 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3903 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3904 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3905 esac;;
3906 esac
3907
3908
3909 case $INSTALL in
3910 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3911 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3912 esac
3913
3914 if test x"$ac_file" != x-; then
3915 { echo "$as_me:$LINENO: creating $ac_file" >&5
3916 echo "$as_me: creating $ac_file" >&6;}
3917 rm -f "$ac_file"
3918 fi
3919 # Let's still pretend it is `configure' which instantiates (i.e., don't
3920 # use $as_me), people would be surprised to read:
3921 # /* config.h. Generated by config.status. */
3922 if test x"$ac_file" = x-; then
3923 configure_input=
3924 else
3925 configure_input="$ac_file. "
3926 fi
3927 configure_input=$configure_input"Generated from `echo $ac_file_in |
3928 sed 's,.*/,,'` by configure."
3929
3930 # First look for the input files in the build tree, otherwise in the
3931 # src tree.
3932 ac_file_inputs=`IFS=:
3933 for f in $ac_file_in; do
3934 case $f in
3935 -) echo $tmp/stdin ;;
3936 [\\/$]*)
3937 # Absolute (can't be DOS-style, as IFS=:)
3938 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3939 echo "$as_me: error: cannot find input file: $f" >&2;}
3940 { (exit 1); exit 1; }; }
3941 echo "$f";;
3942 *) # Relative
3943 if test -f "$f"; then
3944 # Build tree
3945 echo "$f"
3946 elif test -f "$srcdir/$f"; then
3947 # Source tree
3948 echo "$srcdir/$f"
3949 else
3950 # /dev/null tree
3951 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3952 echo "$as_me: error: cannot find input file: $f" >&2;}
3953 { (exit 1); exit 1; }; }
3954 fi;;
3955 esac
3956 done` || { (exit 1); exit 1; }
3957 _ACEOF
3958 cat >>$CONFIG_STATUS <<_ACEOF
3959 sed "$ac_vpsub
3960 $extrasub
3961 _ACEOF
3962 cat >>$CONFIG_STATUS <<\_ACEOF
3963 :t
3964 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3965 s,@configure_input@,$configure_input,;t t
3966 s,@srcdir@,$ac_srcdir,;t t
3967 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3968 s,@top_srcdir@,$ac_top_srcdir,;t t
3969 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3970 s,@builddir@,$ac_builddir,;t t
3971 s,@abs_builddir@,$ac_abs_builddir,;t t
3972 s,@top_builddir@,$ac_top_builddir,;t t
3973 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3974 s,@INSTALL@,$ac_INSTALL,;t t
3975 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3976 rm -f $tmp/stdin
3977 if test x"$ac_file" != x-; then
3978 mv $tmp/out $ac_file
3979 else
3980 cat $tmp/out
3981 rm -f $tmp/out
3982 fi
3983
3984 done
3985 _ACEOF
3986
3987 cat >>$CONFIG_STATUS <<\_ACEOF
3988
3989 { (exit 0); exit 0; }
3990 _ACEOF
3991 chmod +x $CONFIG_STATUS
3992 ac_clean_files=$ac_clean_files_save
3993
3994
3995 # configure is writing to config.log, and then calls config.status.
3996 # config.status does its own redirection, appending to config.log.
3997 # Unfortunately, on DOS this fails, as config.log is still kept open
3998 # by configure, so config.status won't be able to write to it; its
3999 # output is simply discarded. So we exec the FD to /dev/null,
4000 # effectively closing config.log, so it can be properly (re)opened and
4001 # appended to by config.status. When coming back to configure, we
4002 # need to make the FD available again.
4003 if test "$no_create" != yes; then
4004 ac_cs_success=:
4005 ac_config_status_args=
4006 test "$silent" = yes &&
4007 ac_config_status_args="$ac_config_status_args --quiet"
4008 exec 5>/dev/null
4009 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4010 exec 5>>config.log
4011 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4012 # would make configure fail if this is the last instruction.
4013 $ac_cs_success || { (exit 1); exit 1; }
4014 fi
4015
4016 #
4017 # CONFIG_SUBDIRS section.
4018 #
4019 if test "$no_recursion" != yes; then
4020
4021 # Remove --cache-file and --srcdir arguments so they do not pile up.
4022 ac_sub_configure_args=
4023 ac_prev=
4024 for ac_arg in $ac_configure_args; do
4025 if test -n "$ac_prev"; then
4026 ac_prev=
4027 continue
4028 fi
4029 case $ac_arg in
4030 -cache-file | --cache-file | --cache-fil | --cache-fi \
4031 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4032 ac_prev=cache_file ;;
4033 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4034 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4035 | --c=*)
4036 ;;
4037 --config-cache | -C)
4038 ;;
4039 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4040 ac_prev=srcdir ;;
4041 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4042 ;;
4043 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4044 ac_prev=prefix ;;
4045 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4046 ;;
4047 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
4048 esac
4049 done
4050
4051 # Always prepend --prefix to ensure using the same prefix
4052 # in subdir configurations.
4053 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
4054
4055 ac_popdir=`pwd`
4056 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4057
4058 # Do not complain, so a configure script can configure whichever
4059 # parts of a large source tree are present.
4060 test -d $srcdir/$ac_dir || continue
4061
4062 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
4063 echo "$as_me: configuring in $ac_dir" >&6;}
4064 { if $as_mkdir_p; then
4065 mkdir -p "$ac_dir"
4066 else
4067 as_dir="$ac_dir"
4068 as_dirs=
4069 while test ! -d "$as_dir"; do
4070 as_dirs="$as_dir $as_dirs"
4071 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4072 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4073 X"$as_dir" : 'X\(//\)[^/]' \| \
4074 X"$as_dir" : 'X\(//\)$' \| \
4075 X"$as_dir" : 'X\(/\)' \| \
4076 . : '\(.\)' 2>/dev/null ||
4077 echo X"$as_dir" |
4078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4079 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4080 /^X\(\/\/\)$/{ s//\1/; q; }
4081 /^X\(\/\).*/{ s//\1/; q; }
4082 s/.*/./; q'`
4083 done
4084 test ! -n "$as_dirs" || mkdir $as_dirs
4085 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4086 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4087 { (exit 1); exit 1; }; }; }
4088
4089 ac_builddir=.
4090
4091 if test "$ac_dir" != .; then
4092 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4093 # A "../" for each directory in $ac_dir_suffix.
4094 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4095 else
4096 ac_dir_suffix= ac_top_builddir=
4097 fi
4098
4099 case $srcdir in
4100 .) # No --srcdir option. We are building in place.
4101 ac_srcdir=.
4102 if test -z "$ac_top_builddir"; then
4103 ac_top_srcdir=.
4104 else
4105 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4106 fi ;;
4107 [\\/]* | ?:[\\/]* ) # Absolute path.
4108 ac_srcdir=$srcdir$ac_dir_suffix;
4109 ac_top_srcdir=$srcdir ;;
4110 *) # Relative path.
4111 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4112 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4113 esac
4114
4115 # Do not use `cd foo && pwd` to compute absolute paths, because
4116 # the directories may not exist.
4117 case `pwd` in
4118 .) ac_abs_builddir="$ac_dir";;
4119 *)
4120 case "$ac_dir" in
4121 .) ac_abs_builddir=`pwd`;;
4122 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4123 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4124 esac;;
4125 esac
4126 case $ac_abs_builddir in
4127 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4128 *)
4129 case ${ac_top_builddir}. in
4130 .) ac_abs_top_builddir=$ac_abs_builddir;;
4131 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4132 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4133 esac;;
4134 esac
4135 case $ac_abs_builddir in
4136 .) ac_abs_srcdir=$ac_srcdir;;
4137 *)
4138 case $ac_srcdir in
4139 .) ac_abs_srcdir=$ac_abs_builddir;;
4140 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4141 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4142 esac;;
4143 esac
4144 case $ac_abs_builddir in
4145 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4146 *)
4147 case $ac_top_srcdir in
4148 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4149 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4150 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4151 esac;;
4152 esac
4153
4154
4155 cd $ac_dir
4156
4157 # Check for guested configure; otherwise get Cygnus style configure.
4158 if test -f $ac_srcdir/configure.gnu; then
4159 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
4160 elif test -f $ac_srcdir/configure; then
4161 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
4162 elif test -f $ac_srcdir/configure.in; then
4163 ac_sub_configure=$ac_configure
4164 else
4165 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
4166 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4167 ac_sub_configure=
4168 fi
4169
4170 # The recursion is here.
4171 if test -n "$ac_sub_configure"; then
4172 # Make the cache file name correct relative to the subdirectory.
4173 case $cache_file in
4174 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4175 *) # Relative path.
4176 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4177 esac
4178
4179 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4180 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4181 # The eval makes quoting arguments work.
4182 eval $ac_sub_configure $ac_sub_configure_args \
4183 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
4184 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
4185 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
4186 { (exit 1); exit 1; }; }
4187 fi
4188
4189 cd $ac_popdir
4190 done
4191 fi
4192
4193
4194 if test x"$coin_vpath_link_files" = x; then : ; else
4195 lnkcmd="$coin_link_input_cmd"
4196 if test "$lnkcmd" = cp; then
4197 { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5
4198 echo "$as_me: Copying data files for VPATH configuration" >&6;}
4199 else
4200 { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
4201 echo "$as_me: Creating VPATH links for data files" >&6;}
4202 fi
4203 for file in $coin_vpath_link_files; do
4204 dir=`(dirname "./$file") 2>/dev/null ||
4205 $as_expr X"./$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4206 X"./$file" : 'X\(//\)[^/]' \| \
4207 X"./$file" : 'X\(//\)$' \| \
4208 X"./$file" : 'X\(/\)' \| \
4209 . : '\(.\)' 2>/dev/null ||
4210 echo X"./$file" |
4211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4212 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4213 /^X\(\/\/\)$/{ s//\1/; q; }
4214 /^X\(\/\).*/{ s//\1/; q; }
4215 s/.*/./; q'`
4216 if test -d $dir; then : ; else
4217 { if $as_mkdir_p; then
4218 mkdir -p $dir
4219 else
4220 as_dir=$dir
4221 as_dirs=
4222 while test ! -d "$as_dir"; do
4223 as_dirs="$as_dir $as_dirs"
4224 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4225 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4226 X"$as_dir" : 'X\(//\)[^/]' \| \
4227 X"$as_dir" : 'X\(//\)$' \| \
4228 X"$as_dir" : 'X\(/\)' \| \
4229 . : '\(.\)' 2>/dev/null ||
4230 echo X"$as_dir" |
4231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4232 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4233 /^X\(\/\/\)$/{ s//\1/; q; }
4234 /^X\(\/\).*/{ s//\1/; q; }
4235 s/.*/./; q'`
4236 done
4237 test ! -n "$as_dirs" || mkdir $as_dirs
4238 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dir" >&5
4239 echo "$as_me: error: cannot create directory $dir" >&2;}
4240 { (exit 1); exit 1; }; }; }
4241
4242 fi
4243 rm -f $file
4244 $lnkcmd $abs_source_dir/$file $file
4245 done
4246 fi
4247
4248 { echo "$as_me:$LINENO: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&5
4249 echo "$as_me: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&6;}
4250 if test x$coin_projectdir = xyes; then
4251 { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
4252 echo "$as_me: Configuration of $PACKAGE_NAME successful" >&6;}
4253 else
4254 { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&5
4255 echo "$as_me: Main configuration of $PACKAGE_NAME successful" >&6;}
4256 fi
4257 else
4258 { echo "$as_me:$LINENO: No configuration of $PACKAGE_NAME necessary" >&5
4259 echo "$as_me: No configuration of $PACKAGE_NAME necessary" >&6;}
4260 fi
4261
4262