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.4. 5# 6# Report bugs to <coinmp@list.coin-or.org>. 7# 8# Copyright (C) 2003 Free Software Foundation, Inc. 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11# 12# 13# Copyright 2006 International Business Machines and others. 14# All Rights Reserved. 15# This file is part of the open source package CoinMP which is distributed 16# under the Common Public License. 17## --------------------- ## 18## M4sh Initialization. ## 19## --------------------- ## 20 21# Be Bourne compatible 22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 23 emulate sh 24 NULLCMD=: 25 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 26 # is contrary to our usage. Disable this feature. 27 alias -g '${1+"$@"}'='"$@"' 28elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 29 set -o posix 30fi 31DUALCASE=1; export DUALCASE # for MKS sh 32 33# Support unset when possible. 34if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 35 as_unset=unset 36else 37 as_unset=false 38fi 39 40 41# Work around bugs in pre-3.0 UWIN ksh. 42$as_unset ENV MAIL MAILPATH 43PS1='$ ' 44PS2='> ' 45PS4='+ ' 46 47# NLS nuisances. 48for as_var in \ 49 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 50 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 51 LC_TELEPHONE LC_TIME 52do 53 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 54 eval $as_var=C; export $as_var 55 else 56 $as_unset $as_var 57 fi 58done 59 60# Required to use basename. 61if expr a : '\(a\)' >/dev/null 2>&1; then 62 as_expr=expr 63else 64 as_expr=false 65fi 66 67if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 68 as_basename=basename 69else 70 as_basename=false 71fi 72 73 74# Name of the executable. 75as_me=`$as_basename "$0" || 76$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 77 X"$0" : 'X\(//\)$' \| \ 78 X"$0" : 'X\(/\)$' \| \ 79 . : '\(.\)' 2>/dev/null || 80echo X/"$0" | 81 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 82 /^X\/\(\/\/\)$/{ s//\1/; q; } 83 /^X\/\(\/\).*/{ s//\1/; q; } 84 s/.*/./; q'` 85 86 87# PATH needs CR, and LINENO needs CR and PATH. 88# Avoid depending upon Character Ranges. 89as_cr_letters='abcdefghijklmnopqrstuvwxyz' 90as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 91as_cr_Letters=$as_cr_letters$as_cr_LETTERS 92as_cr_digits='0123456789' 93as_cr_alnum=$as_cr_Letters$as_cr_digits 94 95# The user is always right. 96if test "${PATH_SEPARATOR+set}" != set; then 97 echo "#! /bin/sh" >conf$$.sh 98 echo "exit 0" >>conf$$.sh 99 chmod +x conf$$.sh 100 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 101 PATH_SEPARATOR=';' 102 else 103 PATH_SEPARATOR=: 104 fi 105 rm -f conf$$.sh 106fi 107 108 109 as_lineno_1=$LINENO 110 as_lineno_2=$LINENO 111 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 112 test "x$as_lineno_1" != "x$as_lineno_2" && 113 test "x$as_lineno_3" = "x$as_lineno_2" || { 114 # Find who we are. Look in the path if we contain no path at all 115 # relative or not. 116 case $0 in 117 *[\\/]* ) as_myself=$0 ;; 118 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 119for as_dir in $PATH 120do 121 IFS=$as_save_IFS 122 test -z "$as_dir" && as_dir=. 123 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 124done 125 126 ;; 127 esac 128 # We did not find ourselves, most probably we were run as `sh COMMAND' 129 # in which case we are not to be found in the path. 130 if test "x$as_myself" = x; then 131 as_myself=$0 132 fi 133 if test ! -f "$as_myself"; then 134 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 135 { (exit 1); exit 1; }; } 136 fi 137 case $CONFIG_SHELL in 138 '') 139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 140for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 141do 142 IFS=$as_save_IFS 143 test -z "$as_dir" && as_dir=. 144 for as_base in sh bash ksh sh5; do 145 case $as_dir in 146 /*) 147 if ("$as_dir/$as_base" -c ' 148 as_lineno_1=$LINENO 149 as_lineno_2=$LINENO 150 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 151 test "x$as_lineno_1" != "x$as_lineno_2" && 152 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 153 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 154 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 155 CONFIG_SHELL=$as_dir/$as_base 156 export CONFIG_SHELL 157 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 158 fi;; 159 esac 160 done 161done 162;; 163 esac 164 165 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 166 # uniformly replaced by the line number. The first 'sed' inserts a 167 # line-number line before each line; the second 'sed' does the real 168 # work. The second script uses 'N' to pair each line-number line 169 # with the numbered line, and appends trailing '-' during 170 # substitution so that $LINENO is not a special case at line end. 171 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 172 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 173 sed '=' <$as_myself | 174 sed ' 175 N 176 s,$,-, 177 : loop 178 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 179 t loop 180 s,-$,, 181 s,^['$as_cr_digits']*\n,, 182 ' >$as_me.lineno && 183 chmod +x $as_me.lineno || 184 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 185 { (exit 1); exit 1; }; } 186 187 # Don't try to exec as it changes $[0], causing all sort of problems 188 # (the dirname of $[0] is not the place where we might find the 189 # original and so on. Autoconf is especially sensible to this). 190 . ./$as_me.lineno 191 # Exit status is that of the last command. 192 exit 193} 194 195 196case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 197 *c*,-n*) ECHO_N= ECHO_C=' 198' ECHO_T=' ' ;; 199 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 200 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 201esac 202 203if expr a : '\(a\)' >/dev/null 2>&1; then 204 as_expr=expr 205else 206 as_expr=false 207fi 208 209rm -f conf$$ conf$$.exe conf$$.file 210echo >conf$$.file 211if ln -s conf$$.file conf$$ 2>/dev/null; then 212 # We could just check for DJGPP; but this test a) works b) is more generic 213 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 214 if test -f conf$$.exe; then 215 # Don't use ln at all; we don't have any links 216 as_ln_s='cp -p' 217 else 218 as_ln_s='ln -s' 219 fi 220elif ln conf$$.file conf$$ 2>/dev/null; then 221 as_ln_s=ln 222else 223 as_ln_s='cp -p' 224fi 225rm -f conf$$ conf$$.exe conf$$.file 226 227if mkdir -p . 2>/dev/null; then 228 as_mkdir_p=: 229else 230 test -d ./-p && rmdir ./-p 231 as_mkdir_p=false 232fi 233 234as_executable_p="test -f" 235 236# Sed expression to map a string onto a valid CPP name. 237as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 238 239# Sed expression to map a string onto a valid variable name. 240as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 241 242 243# IFS 244# We need space, tab and new line, in precisely that order. 245as_nl=' 246' 247IFS=" $as_nl" 248 249# CDPATH. 250$as_unset CDPATH 251 252 253# Name of the host. 254# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 255# so uname gets run too. 256ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 257 258exec 6>&1 259 260# 261# Initializations. 262# 263ac_default_prefix=/usr/local 264ac_config_libobj_dir=. 265cross_compiling=no 266subdirs= 267MFLAGS= 268MAKEFLAGS= 269SHELL=${CONFIG_SHELL-/bin/sh} 270 271# Maximum number of lines to put in a shell here document. 272# This variable seems obsolete. It should probably be removed, and 273# only ac_max_sed_lines should be used. 274: ${ac_max_here_lines=38} 275 276# Identity of this package. 277PACKAGE_NAME='CoinMP' 278PACKAGE_TARNAME='coinmp' 279PACKAGE_VERSION='1.8.4' 280PACKAGE_STRING='CoinMP 1.8.4' 281PACKAGE_BUGREPORT='coinmp@list.coin-or.org' 282 283ac_unique_file="configure.ac" 284ac_default_prefix=`pwd` 285ac_subdirs_all="$ac_subdirs_all Data/Sample" 286ac_subdirs_all="$ac_subdirs_all CoinUtils" 287ac_subdirs_all="$ac_subdirs_all Osi" 288ac_subdirs_all="$ac_subdirs_all Clp" 289ac_subdirs_all="$ac_subdirs_all Cgl" 290ac_subdirs_all="$ac_subdirs_all Cbc" 291ac_subdirs_all="$ac_subdirs_all CoinMP" 292ac_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' 293ac_subst_files='' 294 295# Initialize some variables set by options. 296ac_init_help= 297ac_init_version=false 298# The variables have the same names as the options, with 299# dashes changed to underlines. 300cache_file=/dev/null 301exec_prefix=NONE 302no_create= 303no_recursion= 304prefix=NONE 305program_prefix=NONE 306program_suffix=NONE 307program_transform_name=s,x,x, 308silent= 309site= 310srcdir= 311verbose= 312x_includes=NONE 313x_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. 320bindir='${exec_prefix}/bin' 321sbindir='${exec_prefix}/sbin' 322libexecdir='${exec_prefix}/libexec' 323datadir='${prefix}/share' 324sysconfdir='${prefix}/etc' 325sharedstatedir='${prefix}/com' 326localstatedir='${prefix}/var' 327libdir='${exec_prefix}/lib' 328includedir='${prefix}/include' 329oldincludedir='/usr/include' 330infodir='${prefix}/info' 331mandir='${prefix}/man' 332 333ac_prev= 334for ac_option 335do 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 607Try \`$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 630done 631 632if 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; }; } 636fi 637 638# Be sure to have absolute paths. 639for ac_var in exec_prefix prefix 640do 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 647done 648 649# Be sure to have absolute paths. 650for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 651 localstatedir libdir includedir oldincludedir infodir mandir 652do 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 659done 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. 664build=$build_alias 665host=$host_alias 666target=$target_alias 667 668# FIXME: To remove some day. 669if 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 677fi 678 679ac_tool_prefix= 680test -n "$host_alias" && ac_tool_prefix=$host_alias- 681 682test "$silent" = yes && exec 6>/dev/null 683 684 685# Find the source files, if location was not specified. 686if 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 || 695echo 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 705else 706 ac_srcdir_defaulted=no 707fi 708if 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 716fi 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; }; } 720srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 721ac_env_build_alias_set=${build_alias+set} 722ac_env_build_alias_value=$build_alias 723ac_cv_env_build_alias_set=${build_alias+set} 724ac_cv_env_build_alias_value=$build_alias 725ac_env_host_alias_set=${host_alias+set} 726ac_env_host_alias_value=$host_alias 727ac_cv_env_host_alias_set=${host_alias+set} 728ac_cv_env_host_alias_value=$host_alias 729ac_env_target_alias_set=${target_alias+set} 730ac_env_target_alias_value=$target_alias 731ac_cv_env_target_alias_set=${target_alias+set} 732ac_cv_env_target_alias_value=$target_alias 733ac_env_COIN_SKIP_PROJECTS_set=${COIN_SKIP_PROJECTS+set} 734ac_env_COIN_SKIP_PROJECTS_value=$COIN_SKIP_PROJECTS 735ac_cv_env_COIN_SKIP_PROJECTS_set=${COIN_SKIP_PROJECTS+set} 736ac_cv_env_COIN_SKIP_PROJECTS_value=$COIN_SKIP_PROJECTS 737 738# 739# Report the --help message. 740# 741if 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.4 to adapt to many kinds of systems. 746 747Usage: $0 [OPTION]... [VAR=VALUE]... 748 749To assign environment variables (e.g., CC, CFLAGS...), specify them as 750VAR=VALUE. See below for descriptions of some of the useful variables. 751 752Defaults for the options are specified in brackets. 753 754Configuration: 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 768Installation 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 774By default, \`make install' will install all the files in 775\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 776an installation prefix other than \`$ac_default_prefix' using \`--prefix', 777for instance \`--prefix=\$HOME'. 778 779For better control, use the options below. 780 781Fine 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 798Program 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 803fi 804 805if test -n "$ac_init_help"; then 806 case $ac_init_help in 807 short | recursive ) echo "Configuration of CoinMP 1.8.4:";; 808 esac 809 cat <<\_ACEOF 810 811Optional 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 817Optional 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 846Some influential environment variables: 847 COIN_SKIP_PROJECTS 848 Set to the subdirectories of projects that should be skipped in 849 the configuration 850 851Use these variables to override the choices made by `configure' or to help 852it to find libraries and programs with nonstandard names/locations. 853 854Report bugs to <coinmp@list.coin-or.org>. 855_ACEOF 856fi 857 858if 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 865if 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'` 869else 870 ac_dir_suffix= ac_top_builddir= 871fi 872 873case $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 ;; 887esac 888 889# Do not use `cd foo && pwd` to compute absolute paths, because 890# the directories may not exist. 891case `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;; 899esac 900case $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;; 908esac 909case $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;; 917esac 918case $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;; 926esac 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 945fi 946 947test -n "$ac_init_help" && exit 0 948if $ac_init_version; then 949 cat <<\_ACEOF 950CoinMP configure 1.8.4 951generated by GNU Autoconf 2.59 952 953Copyright (C) 2003 Free Software Foundation, Inc. 954This configure script is free software; the Free Software Foundation 955gives unlimited permission to copy, distribute and modify it. 956 957 958Copyright 2006 International Business Machines and others. 959All Rights Reserved. 960This file is part of the open source package CoinMP which is distributed 961under the Common Public License. 962_ACEOF 963 exit 0 964fi 965exec 5>config.log 966cat >&5 <<_ACEOF 967This file contains any messages produced by compilers while 968running configure, to aid debugging if configure makes a mistake. 969 970It was created by CoinMP $as_me 1.8.4, which was 971generated by GNU Autoconf 2.59. Invocation command line was 972 973 $ $0 $@ 974 975_ACEOF 976{ 977cat <<_ASUNAME 978## --------- ## 979## Platform. ## 980## --------- ## 981 982hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 983uname -m = `(uname -m) 2>/dev/null || echo unknown` 984uname -r = `(uname -r) 2>/dev/null || echo unknown` 985uname -s = `(uname -s) 2>/dev/null || echo unknown` 986uname -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` 994hostinfo = `(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 1001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1002for as_dir in $PATH 1003do 1004 IFS=$as_save_IFS 1005 test -z "$as_dir" && as_dir=. 1006 echo "PATH: $as_dir" 1007done 1008 1009} >&5 1010 1011cat >&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. 1026ac_configure_args= 1027ac_configure_args0= 1028ac_configure_args1= 1029ac_sep= 1030ac_must_keep_next=false 1031for ac_pass in 1 2 1032do 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 1068done 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. 1077trap '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 1151for ac_signal in 1 2 13 15; do 1152 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1153done 1154ac_signal=0 1155 1156# confdefs.h avoids OS command line length limits that DEFS can exceed. 1157rm -rf conftest* confdefs.h 1158# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1159echo >confdefs.h 1160 1161# Predefined preprocessor variables. 1162 1163cat >>confdefs.h <<_ACEOF 1164#define PACKAGE_NAME "$PACKAGE_NAME" 1165_ACEOF 1166 1167 1168cat >>confdefs.h <<_ACEOF 1169#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1170_ACEOF 1171 1172 1173cat >>confdefs.h <<_ACEOF 1174#define PACKAGE_VERSION "$PACKAGE_VERSION" 1175_ACEOF 1176 1177 1178cat >>confdefs.h <<_ACEOF 1179#define PACKAGE_STRING "$PACKAGE_STRING" 1180_ACEOF 1181 1182 1183cat >>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. 1190if 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 1196fi 1197for 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 1200echo "$as_me: loading site script $ac_site_file" >&6;} 1201 sed 's/^/| /' "$ac_site_file" >&5 1202 . "$ac_site_file" 1203 fi 1204done 1205 1206if 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 1211echo "$as_me: loading cache $cache_file" >&6;} 1212 case $cache_file in 1213 [\\/]* | ?:[\\/]* ) . $cache_file;; 1214 *) . ./$cache_file;; 1215 esac 1216 fi 1217else 1218 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1219echo "$as_me: creating cache $cache_file" >&6;} 1220 >$cache_file 1221fi 1222 1223# Check that the precious variables saved in the cache have kept the same 1224# value. 1225ac_cache_corrupted=false 1226for 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 1235echo "$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 1239echo "$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 1245echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1246 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1247echo "$as_me: former value: $ac_old_val" >&2;} 1248 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1249echo "$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 1265done 1266if $ac_cache_corrupted; then 1267 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1268echo "$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 1270echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1271 { (exit 1); exit 1; }; } 1272fi 1273 1274ac_ext=c 1275ac_cpp='$CPP $CPPFLAGS' 1276ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1277ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1278ac_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 1326echo "$as_me:$LINENO: checking for egrep" >&5 1327echo $ECHO_N "checking for egrep... $ECHO_C" >&6 1328if test "${ac_cv_prog_egrep+set}" = set; then 1329 echo $ECHO_N "(cached) $ECHO_C" >&6 1330else 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 1335fi 1336echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 1337echo "${ECHO_T}$ac_cv_prog_egrep" >&6 1338 EGREP=$ac_cv_prog_egrep 1339 1340 1341echo "$as_me:$LINENO: checking whether ln -s works" >&5 1342echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 1343LN_S=$as_ln_s 1344if test "$LN_S" = "ln -s"; then 1345 echo "$as_me:$LINENO: result: yes" >&5 1346echo "${ECHO_T}yes" >&6 1347else 1348 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 1349echo "${ECHO_T}no, using $LN_S" >&6 1350fi 1351 1352am__api_version="1.9" 1353ac_aux_dir= 1354for 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 1368done 1369if test -z "$ac_aux_dir"; then 1370 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1371echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1372 { (exit 1); exit 1; }; } 1373fi 1374ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1375ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1376ac_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. 1391echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1392echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1393if test -z "$INSTALL"; then 1394if test "${ac_cv_path_install+set}" = set; then 1395 echo $ECHO_N "(cached) $ECHO_C" >&6 1396else 1397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1398for as_dir in $PATH 1399do 1400 IFS=$as_save_IFS 1401 test -z "$as_dir" && as_dir=. 1402 # Account for people who put trailing slashes in PATH elements. 1403case $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 ;; 1431esac 1432done 1433 1434 1435fi 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 1445fi 1446echo "$as_me:$LINENO: result: $INSTALL" >&5 1447echo "${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. 1451test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1452 1453test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1454 1455test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1456 1457echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1458echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1459# Just in case 1460sleep 1 1461echo 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). 1467if ( 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 1482alias in your environment" >&5 1483echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1484alias in your environment" >&2;} 1485 { (exit 1); exit 1; }; } 1486 fi 1487 1488 test "$2" = conftest.file 1489 ) 1490then 1491 # Ok. 1492 : 1493else 1494 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1495Check your system clock" >&5 1496echo "$as_me: error: newly created file is older than distributed files! 1497Check your system clock" >&2;} 1498 { (exit 1); exit 1; }; } 1499fi 1500echo "$as_me:$LINENO: result: yes" >&5 1501echo "${ECHO_T}yes" >&6 1502test "$program_prefix" != NONE && 1503 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1504# Use a double $ so make ignores it. 1505test "$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. 1509cat <<\_ACEOF >conftest.sed 1510s/[\\$]/&&/g;s/;s,x,x,$// 1511_ACEOF 1512program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1513rm conftest.sed 1514 1515# expand $ac_aux_dir to an absolute path 1516am_aux_dir=`cd $ac_aux_dir && pwd` 1517 1518test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1519# Use eval to expand $SHELL 1520if eval "$MISSING --run true"; then 1521 am_missing_run="$MISSING --run " 1522else 1523 am_missing_run= 1524 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1525echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1526fi 1527 1528if 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 --' 1544else 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 1559fi 1560 1561for ac_prog in gawk mawk nawk awk 1562do 1563 # Extract the first word of "$ac_prog", so it can be a program name with args. 1564set dummy $ac_prog; ac_word=$2 1565echo "$as_me:$LINENO: checking for $ac_word" >&5 1566echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1567if test "${ac_cv_prog_AWK+set}" = set; then 1568 echo $ECHO_N "(cached) $ECHO_C" >&6 1569else 1570 if test -n "$AWK"; then 1571 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1572else 1573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1574for as_dir in $PATH 1575do 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 1584done 1585done 1586 1587fi 1588fi 1589AWK=$ac_cv_prog_AWK 1590if test -n "$AWK"; then 1591 echo "$as_me:$LINENO: result: $AWK" >&5 1592echo "${ECHO_T}$AWK" >&6 1593else 1594 echo "$as_me:$LINENO: result: no" >&5 1595echo "${ECHO_T}no" >&6 1596fi 1597 1598 test -n "$AWK" && break 1599done 1600 1601echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1602echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1603set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1604if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1605 echo $ECHO_N "(cached) $ECHO_C" >&6 1606else 1607 cat >conftest.make <<\_ACEOF 1608all: 1609 @echo 'ac_maketemp="$(MAKE)"' 1610_ACEOF 1611# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1612eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1613if test -n "$ac_maketemp"; then 1614 eval ac_cv_prog_make_${ac_make}_set=yes 1615else 1616 eval ac_cv_prog_make_${ac_make}_set=no 1617fi 1618rm -f conftest.make 1619fi 1620if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1621 echo "$as_me:$LINENO: result: yes" >&5 1622echo "${ECHO_T}yes" >&6 1623 SET_MAKE= 1624else 1625 echo "$as_me:$LINENO: result: no" >&5 1626echo "${ECHO_T}no" >&6 1627 SET_MAKE="MAKE=${MAKE-make}" 1628fi 1629 1630rm -rf .tst 2>/dev/null 1631mkdir .tst 2>/dev/null 1632if test -d .tst; then 1633 am__leading_dot=. 1634else 1635 am__leading_dot=_ 1636fi 1637rmdir .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 1645if 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 1648echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1649 { (exit 1); exit 1; }; } 1650fi 1651 1652# test whether we have cygpath 1653if 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 1659fi 1660 1661 1662# Define the identity of the package. 1663 PACKAGE='coinmp' 1664 VERSION='1.8.4' 1665 1666 1667cat >>confdefs.h <<_ACEOF 1668#define PACKAGE "$PACKAGE" 1669_ACEOF 1670 1671 1672cat >>confdefs.h <<_ACEOF 1673#define VERSION "$VERSION" 1674_ACEOF 1675 1676# Some tools Automake needs. 1677 1678ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 1679 1680 1681AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1682 1683 1684AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 1685 1686 1687AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1688 1689 1690MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1691 1692install_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. 1698if 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. 1701set dummy ${ac_tool_prefix}strip; ac_word=$2 1702echo "$as_me:$LINENO: checking for $ac_word" >&5 1703echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1704if test "${ac_cv_prog_STRIP+set}" = set; then 1705 echo $ECHO_N "(cached) $ECHO_C" >&6 1706else 1707 if test -n "$STRIP"; then 1708 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1709else 1710as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1711for as_dir in $PATH 1712do 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 1721done 1722done 1723 1724fi 1725fi 1726STRIP=$ac_cv_prog_STRIP 1727if test -n "$STRIP"; then 1728 echo "$as_me:$LINENO: result: $STRIP" >&5 1729echo "${ECHO_T}$STRIP" >&6 1730else 1731 echo "$as_me:$LINENO: result: no" >&5 1732echo "${ECHO_T}no" >&6 1733fi 1734 1735fi 1736if 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. 1739set dummy strip; ac_word=$2 1740echo "$as_me:$LINENO: checking for $ac_word" >&5 1741echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1742if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 1743 echo $ECHO_N "(cached) $ECHO_C" >&6 1744else 1745 if test -n "$ac_ct_STRIP"; then 1746 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1747else 1748as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1749for as_dir in $PATH 1750do 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 1759done 1760done 1761 1762 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 1763fi 1764fi 1765ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1766if test -n "$ac_ct_STRIP"; then 1767 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 1768echo "${ECHO_T}$ac_ct_STRIP" >&6 1769else 1770 echo "$as_me:$LINENO: result: no" >&5 1771echo "${ECHO_T}no" >&6 1772fi 1773 1774 STRIP=$ac_ct_STRIP 1775else 1776 STRIP="$ac_cv_prog_STRIP" 1777fi 1778 1779fi 1780INSTALL_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 1786AMTAR=${AMTAR-"${am_missing_run}tar"} 1787 1788am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 1789 1790 1791 1792 1793 1794echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 1795echo $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. 1797if test "${enable_maintainer_mode+set}" = set; then 1798 enableval="$enable_maintainer_mode" 1799 USE_MAINTAINER_MODE=$enableval 1800else 1801 USE_MAINTAINER_MODE=no 1802fi; 1803 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 1804echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 1805 1806 1807if test $USE_MAINTAINER_MODE = yes; then 1808 MAINTAINER_MODE_TRUE= 1809 MAINTAINER_MODE_FALSE='#' 1810else 1811 MAINTAINER_MODE_TRUE='#' 1812 MAINTAINER_MODE_FALSE= 1813fi 1814 1815 MAINT=$MAINTAINER_MODE_TRUE 1816 1817 1818 1819coin_have_externals=no 1820if 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 1832echo $ECHO_N "checking whether we are using the correct autotools... $ECHO_C" >&6 1833if test "${ac_cv_use_correct_autotools+set}" = set; then 1834 echo $ECHO_N "(cached) $ECHO_C" >&6 1835else 1836 ac_cv_use_correct_autotools=check 1837fi 1838echo "$as_me:$LINENO: result: $ac_cv_use_correct_autotools" >&5 1839echo "${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. 1845set dummy autoconf; ac_word=$2 1846echo "$as_me:$LINENO: checking for $ac_word" >&5 1847echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1848if test "${ac_cv_prog_have_autoconf+set}" = set; then 1849 echo $ECHO_N "(cached) $ECHO_C" >&6 1850else 1851 if test -n "$have_autoconf"; then 1852 ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test. 1853else 1854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1855for as_dir in $PATH 1856do 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 1865done 1866done 1867 1868 test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no" 1869fi 1870fi 1871have_autoconf=$ac_cv_prog_have_autoconf 1872if test -n "$have_autoconf"; then 1873 echo "$as_me:$LINENO: result: $have_autoconf" >&5 1874echo "${ECHO_T}$have_autoconf" >&6 1875else 1876 echo "$as_me:$LINENO: result: no" >&5 1877echo "${ECHO_T}no" >&6 1878fi 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 1882echo "$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 1890echo $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 1894echo "${ECHO_T}yes" >&6 1895 else 1896 rm -f confauto.out 1897 echo "$as_me:$LINENO: result: no" >&5 1898echo "${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 1900echo "$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 1907echo $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 1917echo "${ECHO_T}yes" >&6 1918 else 1919 rm -f confauto.out 1920 echo "$as_me:$LINENO: result: no" >&5 1921echo "${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 1923echo "$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. 1929set dummy automake; ac_word=$2 1930echo "$as_me:$LINENO: checking for $ac_word" >&5 1931echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1932if test "${ac_cv_prog_have_automake+set}" = set; then 1933 echo $ECHO_N "(cached) $ECHO_C" >&6 1934else 1935 if test -n "$have_automake"; then 1936 ac_cv_prog_have_automake="$have_automake" # Let the user override the test. 1937else 1938as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1939for as_dir in $PATH 1940do 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 1949done 1950done 1951 1952 test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no" 1953fi 1954fi 1955have_automake=$ac_cv_prog_have_automake 1956if test -n "$have_automake"; then 1957 echo "$as_me:$LINENO: result: $have_automake" >&5 1958echo "${ECHO_T}$have_automake" >&6 1959else 1960 echo "$as_me:$LINENO: result: no" >&5 1961echo "${ECHO_T}no" >&6 1962fi 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 1966echo "$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 1974echo $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 1978echo "${ECHO_T}yes" >&6 1979 else 1980 rm -f confauto.out 1981 echo "$as_me:$LINENO: result: no" >&5 1982echo "${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 1984echo "$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 1991echo $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 2001echo "${ECHO_T}yes" >&6 2002 else 2003 rm -f confauto.out 2004 echo "$as_me:$LINENO: result: no" >&5 2005echo "${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 2007echo "$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 : 2022else 2023 have_ltmain=no 2024 : 2025fi 2026 2027 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5 2028echo $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 2032echo "${ECHO_T}yes" >&6 2033 else 2034 echo "$as_me:$LINENO: result: no" >&5 2035echo "${ECHO_T}no" >&6 2036 { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5 2037echo "$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 2042echo "${ECHO_T}no" >&6 2043 { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5 2044echo "$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 : 2058else 2059 { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5 2060echo "$as_me: error: I cannot find the libtool.m4 file." >&2;} 2061 { (exit 1); exit 1; }; } 2062 : 2063fi 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. 2072set dummy svn; ac_word=$2 2073echo "$as_me:$LINENO: checking for $ac_word" >&5 2074echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2075if test "${ac_cv_prog_have_svn+set}" = set; then 2076 echo $ECHO_N "(cached) $ECHO_C" >&6 2077else 2078 if test -n "$have_svn"; then 2079 ac_cv_prog_have_svn="$have_svn" # Let the user override the test. 2080else 2081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2082for as_dir in $PATH 2083do 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 2092done 2093done 2094 2095 test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no" 2096fi 2097fi 2098have_svn=$ac_cv_prog_have_svn 2099if test -n "$have_svn"; then 2100 echo "$as_me:$LINENO: result: $have_svn" >&5 2101echo "${ECHO_T}$have_svn" >&6 2102else 2103 echo "$as_me:$LINENO: result: no" >&5 2104echo "${ECHO_T}no" >&6 2105fi 2106 2107 if test x$have_svn = xyes; then 2108 echo "$as_me:$LINENO: checking whether svn understands https" >&5 2109echo $ECHO_N "checking whether svn understands https... $ECHO_C" >&6 2110if test "${ac_cv_svn_understands_https+set}" = set; then 2111 echo $ECHO_N "(cached) $ECHO_C" >&6 2112else 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 2122fi 2123echo "$as_me:$LINENO: result: $ac_cv_svn_understands_https" >&5 2124echo "${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 else 2132 if test -r $srcdir/../BuildTools/coin.m4; then 2133 BUILDTOOLSDIR=$srcdir/../BuildTools 2134 else 2135 if 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 2139echo "$as_me: error: Cannot find the BuildTools directory" >&2;} 2140 { (exit better disable maintainer mode.); exit better disable maintainer mode.; }; } 2141 fi 2142 fi 2143 fi 2144 2145 2146 # for running automake by make, we need to have Makemain.inc available at the place where it usually can be found during run_autotools 2147 if test "$BUILDTOOLSDIR" != "$srcdir/BuildTools" ; then 2148 $LN_S `cd $BUILDTOOLSDIR; pwd` "$srcdir/BuildTools" 2149 fi 2150 2151 # The following variable is set to the name of the directory where 2152 # the autotool scripts are located 2153 2154 AUX_DIR=$ac_aux_dir 2155fi 2156 2157# helpful variable for the base directory of this package 2158abs_source_dir=`cd $srcdir; pwd` 2159 2160 2161# Stuff for example Makefiles 2162if test x$prefix = xNONE; then 2163 full_prefix=$ac_default_prefix 2164else 2165 full_prefix=$prefix 2166fi 2167full_prefix=`cd $full_prefix ; pwd` 2168 2169abs_lib_dir=$full_prefix/lib 2170 2171abs_include_dir=$full_prefix/include 2172 2173abs_bin_dir=$full_prefix/bin 2174 2175 2176 2177if test $coin_have_externals = yes && test x$have_svn = xyes; then 2178 HAVE_EXTERNALS_TRUE= 2179 HAVE_EXTERNALS_FALSE='#' 2180else 2181 HAVE_EXTERNALS_TRUE='#' 2182 HAVE_EXTERNALS_FALSE= 2183fi 2184 2185 2186# AC_MSG_NOTICE([End automake initialisation.]) 2187 2188 2189 2190############################################################################# 2191# Check which subprojects are there # 2192############################################################################# 2193 2194 2195echo "$as_me:$LINENO: checking whether source of project Sample is available and should be compiled" >&5 2196echo $ECHO_N "checking whether source of project Sample is available and should be compiled... $ECHO_C" >&6 2197 2198coin_has_sample=notGiven 2199coin_reason= 2200 2201# check if user wants to skip project in any case 2202 2203if test x"$COIN_SKIP_PROJECTS" != x; then 2204 for dir in $COIN_SKIP_PROJECTS; do 2205 if test $dir = "Sample"; then 2206 coin_has_sample="no" 2207 coin_reason="Sample has been specified in COIN_SKIP_PROJECTS" 2208 fi 2209 2210 if test $dir = "Data/Sample"; then 2211 coin_has_sample="no" 2212 coin_reason="Data/Sample has been specified in COIN_SKIP_PROJECTS" 2213 fi 2214 done 2215fi 2216 2217if test "$coin_has_sample" != no; then 2218 2219# Check whether --with-m4_tolower(Sample) or --without-m4_tolower(Sample) was given. 2220if test "${with_sample+set}" = set; then 2221 withval="$with_sample" 2222 if test "$withval" = no ; then 2223 coin_has_sample="no" 2224 coin_reason="--without-sample has been specified" 2225 fi 2226 2227fi; 2228fi 2229 2230if test "$coin_has_sample" != no; then 2231 2232# Check whether --with-m4_tolower(Sample)-lib or --without-m4_tolower(Sample)-lib was given. 2233if test "${with_sample_lib+set}" = set; then 2234 withval="$with_sample_lib" 2235 if test "$withval" = no ; then 2236 coin_has_sample="no" 2237 coin_reason="--without-sample-lib has been specified" 2238 else 2239 coin_has_sample="no" 2240 coin_reason="--with-sample-lib has been specified" 2241 fi 2242fi; 2243fi 2244 2245if test "$coin_has_sample" != no; then 2246 2247# Check whether --with-m4_tolower(Sample)-incdir or --without-m4_tolower(Sample)-incdir was given. 2248if test "${with_sample_incdir+set}" = set; then 2249 withval="$with_sample_incdir" 2250 if test "$withval" = no ; then 2251 coin_has_sample="no" 2252 coin_reason="--without-sample-incdir has been specified" 2253 else 2254 coin_has_sample="no" 2255 coin_reason="--with-sample-incdir has been specified" 2256 fi 2257fi; 2258fi 2259 2260if test "$coin_has_sample" != no; then 2261 2262# Check whether --with-m4_tolower(Sample)-datadir or --without-m4_tolower(Sample)-datadir was given. 2263if test "${with_sample_datadir+set}" = set; then 2264 withval="$with_sample_datadir" 2265 if test "$withval" = no ; then 2266 coin_has_sample="no" 2267 coin_reason="--without-sample-datadir has been specified" 2268 else 2269 coin_has_sample="no" 2270 coin_reason="--with-sample-datadir has been specified" 2271 fi 2272fi; 2273fi 2274 2275 2276 2277 2278 2279# check if project is available in present directory 2280if test "$coin_has_sample" = notGiven; then 2281 coin_has_sample=no 2282 if test -d $srcdir/Data/Sample; then 2283 coin_reason="source in Data/Sample" 2284 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 2285 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 2286 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 2287 coin_has_sample="yes" 2288 2289 fi 2290fi 2291 2292if test -z "$coin_reason" ; then 2293 echo "$as_me:$LINENO: result: $coin_has_sample" >&5 2294echo "${ECHO_T}$coin_has_sample" >&6 2295else 2296 echo "$as_me:$LINENO: result: $coin_has_sample, $coin_reason" >&5 2297echo "${ECHO_T}$coin_has_sample, $coin_reason" >&6 2298fi 2299 2300if test "$coin_has_sample" = yes ; then 2301 if test -r $srcdir/Data/Sample/configure; then 2302 coin_subdirs="$coin_subdirs Data/Sample" 2303 2304 2305subdirs="$subdirs Data/Sample" 2306 2307 fi 2308fi 2309 2310 2311echo "$as_me:$LINENO: checking whether source of project CoinUtils is available and should be compiled" >&5 2312echo $ECHO_N "checking whether source of project CoinUtils is available and should be compiled... $ECHO_C" >&6 2313 2314coin_has_coinutils=notGiven 2315coin_reason= 2316 2317# check if user wants to skip project in any case 2318 2319if test x"$COIN_SKIP_PROJECTS" != x; then 2320 for dir in $COIN_SKIP_PROJECTS; do 2321 if test $dir = "CoinUtils"; then 2322 coin_has_coinutils="no" 2323 coin_reason="CoinUtils has been specified in COIN_SKIP_PROJECTS" 2324 fi 2325 2326 done 2327fi 2328 2329if test "$coin_has_coinutils" != no; then 2330 2331# Check whether --with-m4_tolower(CoinUtils) or --without-m4_tolower(CoinUtils) was given. 2332if test "${with_coinutils+set}" = set; then 2333 withval="$with_coinutils" 2334 if test "$withval" = no ; then 2335 coin_has_coinutils="no" 2336 coin_reason="--without-coinutils has been specified" 2337 fi 2338 2339fi; 2340fi 2341 2342if test "$coin_has_coinutils" != no; then 2343 2344# Check whether --with-m4_tolower(CoinUtils)-lib or --without-m4_tolower(CoinUtils)-lib was given. 2345if test "${with_coinutils_lib+set}" = set; then 2346 withval="$with_coinutils_lib" 2347 if test "$withval" = no ; then 2348 coin_has_coinutils="no" 2349 coin_reason="--without-coinutils-lib has been specified" 2350 else 2351 coin_has_coinutils="no" 2352 coin_reason="--with-coinutils-lib has been specified" 2353 fi 2354fi; 2355fi 2356 2357if test "$coin_has_coinutils" != no; then 2358 2359# Check whether --with-m4_tolower(CoinUtils)-incdir or --without-m4_tolower(CoinUtils)-incdir was given. 2360if test "${with_coinutils_incdir+set}" = set; then 2361 withval="$with_coinutils_incdir" 2362 if test "$withval" = no ; then 2363 coin_has_coinutils="no" 2364 coin_reason="--without-coinutils-incdir has been specified" 2365 else 2366 coin_has_coinutils="no" 2367 coin_reason="--with-coinutils-incdir has been specified" 2368 fi 2369fi; 2370fi 2371 2372if test "$coin_has_coinutils" != no; then 2373 2374# Check whether --with-m4_tolower(CoinUtils)-datadir or --without-m4_tolower(CoinUtils)-datadir was given. 2375if test "${with_coinutils_datadir+set}" = set; then 2376 withval="$with_coinutils_datadir" 2377 if test "$withval" = no ; then 2378 coin_has_coinutils="no" 2379 coin_reason="--without-coinutils-datadir has been specified" 2380 else 2381 coin_has_coinutils="no" 2382 coin_reason="--with-coinutils-datadir has been specified" 2383 fi 2384fi; 2385fi 2386 2387 2388 2389 2390 2391# check if project is available in present directory 2392if test "$coin_has_coinutils" = notGiven; then 2393 coin_has_coinutils=no 2394 if test -d $srcdir/CoinUtils; then 2395 coin_reason="source in CoinUtils" 2396 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 2397 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 2398 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 2399 coin_has_coinutils="yes" 2400 2401 fi 2402fi 2403 2404if test -z "$coin_reason" ; then 2405 echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5 2406echo "${ECHO_T}$coin_has_coinutils" >&6 2407else 2408 echo "$as_me:$LINENO: result: $coin_has_coinutils, $coin_reason" >&5 2409echo "${ECHO_T}$coin_has_coinutils, $coin_reason" >&6 2410fi 2411 2412if test "$coin_has_coinutils" = yes ; then 2413 if test -r $srcdir/CoinUtils/configure; then 2414 coin_subdirs="$coin_subdirs CoinUtils" 2415 2416 2417subdirs="$subdirs CoinUtils" 2418 2419 fi 2420fi 2421 2422 2423echo "$as_me:$LINENO: checking whether source of project Osi is available and should be compiled" >&5 2424echo $ECHO_N "checking whether source of project Osi is available and should be compiled... $ECHO_C" >&6 2425 2426coin_has_osi=notGiven 2427coin_reason= 2428 2429# check if user wants to skip project in any case 2430 2431if test x"$COIN_SKIP_PROJECTS" != x; then 2432 for dir in $COIN_SKIP_PROJECTS; do 2433 if test $dir = "Osi"; then 2434 coin_has_osi="no" 2435 coin_reason="Osi has been specified in COIN_SKIP_PROJECTS" 2436 fi 2437 2438 done 2439fi 2440 2441if test "$coin_has_osi" != no; then 2442 2443# Check whether --with-m4_tolower(Osi) or --without-m4_tolower(Osi) was given. 2444if test "${with_osi+set}" = set; then 2445 withval="$with_osi" 2446 if test "$withval" = no ; then 2447 coin_has_osi="no" 2448 coin_reason="--without-osi has been specified" 2449 fi 2450 2451fi; 2452fi 2453 2454if test "$coin_has_osi" != no; then 2455 2456# Check whether --with-m4_tolower(Osi)-lib or --without-m4_tolower(Osi)-lib was given. 2457if test "${with_osi_lib+set}" = set; then 2458 withval="$with_osi_lib" 2459 if test "$withval" = no ; then 2460 coin_has_osi="no" 2461 coin_reason="--without-osi-lib has been specified" 2462 else 2463 coin_has_osi="no" 2464 coin_reason="--with-osi-lib has been specified" 2465 fi 2466fi; 2467fi 2468 2469if test "$coin_has_osi" != no; then 2470 2471# Check whether --with-m4_tolower(Osi)-incdir or --without-m4_tolower(Osi)-incdir was given. 2472if test "${with_osi_incdir+set}" = set; then 2473 withval="$with_osi_incdir" 2474 if test "$withval" = no ; then 2475 coin_has_osi="no" 2476 coin_reason="--without-osi-incdir has been specified" 2477 else 2478 coin_has_osi="no" 2479 coin_reason="--with-osi-incdir has been specified" 2480 fi 2481fi; 2482fi 2483 2484if test "$coin_has_osi" != no; then 2485 2486# Check whether --with-m4_tolower(Osi)-datadir or --without-m4_tolower(Osi)-datadir was given. 2487if test "${with_osi_datadir+set}" = set; then 2488 withval="$with_osi_datadir" 2489 if test "$withval" = no ; then 2490 coin_has_osi="no" 2491 coin_reason="--without-osi-datadir has been specified" 2492 else 2493 coin_has_osi="no" 2494 coin_reason="--with-osi-datadir has been specified" 2495 fi 2496fi; 2497fi 2498 2499 2500 2501 2502 2503# check if project is available in present directory 2504if test "$coin_has_osi" = notGiven; then 2505 coin_has_osi=no 2506 if test -d $srcdir/Osi; then 2507 coin_reason="source in Osi" 2508 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 2509 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 2510 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 2511 coin_has_osi="yes" 2512 2513 fi 2514fi 2515 2516if test -z "$coin_reason" ; then 2517 echo "$as_me:$LINENO: result: $coin_has_osi" >&5 2518echo "${ECHO_T}$coin_has_osi" >&6 2519else 2520 echo "$as_me:$LINENO: result: $coin_has_osi, $coin_reason" >&5 2521echo "${ECHO_T}$coin_has_osi, $coin_reason" >&6 2522fi 2523 2524if test "$coin_has_osi" = yes ; then 2525 if test -r $srcdir/Osi/configure; then 2526 coin_subdirs="$coin_subdirs Osi" 2527 2528 2529subdirs="$subdirs Osi" 2530 2531 fi 2532fi 2533 2534 2535echo "$as_me:$LINENO: checking whether source of project Clp is available and should be compiled" >&5 2536echo $ECHO_N "checking whether source of project Clp is available and should be compiled... $ECHO_C" >&6 2537 2538coin_has_clp=notGiven 2539coin_reason= 2540 2541# check if user wants to skip project in any case 2542 2543if test x"$COIN_SKIP_PROJECTS" != x; then 2544 for dir in $COIN_SKIP_PROJECTS; do 2545 if test $dir = "Clp"; then 2546 coin_has_clp="no" 2547 coin_reason="Clp has been specified in COIN_SKIP_PROJECTS" 2548 fi 2549 2550 done 2551fi 2552 2553if test "$coin_has_clp" != no; then 2554 2555# Check whether --with-m4_tolower(Clp) or --without-m4_tolower(Clp) was given. 2556if test "${with_clp+set}" = set; then 2557 withval="$with_clp" 2558 if test "$withval" = no ; then 2559 coin_has_clp="no" 2560 coin_reason="--without-clp has been specified" 2561 fi 2562 2563fi; 2564fi 2565 2566if test "$coin_has_clp" != no; then 2567 2568# Check whether --with-m4_tolower(Clp)-lib or --without-m4_tolower(Clp)-lib was given. 2569if test "${with_clp_lib+set}" = set; then 2570 withval="$with_clp_lib" 2571 if test "$withval" = no ; then 2572 coin_has_clp="no" 2573 coin_reason="--without-clp-lib has been specified" 2574 else 2575 coin_has_clp="no" 2576 coin_reason="--with-clp-lib has been specified" 2577 fi 2578fi; 2579fi 2580 2581if test "$coin_has_clp" != no; then 2582 2583# Check whether --with-m4_tolower(Clp)-incdir or --without-m4_tolower(Clp)-incdir was given. 2584if test "${with_clp_incdir+set}" = set; then 2585 withval="$with_clp_incdir" 2586 if test "$withval" = no ; then 2587 coin_has_clp="no" 2588 coin_reason="--without-clp-incdir has been specified" 2589 else 2590 coin_has_clp="no" 2591 coin_reason="--with-clp-incdir has been specified" 2592 fi 2593fi; 2594fi 2595 2596if test "$coin_has_clp" != no; then 2597 2598# Check whether --with-m4_tolower(Clp)-datadir or --without-m4_tolower(Clp)-datadir was given. 2599if test "${with_clp_datadir+set}" = set; then 2600 withval="$with_clp_datadir" 2601 if test "$withval" = no ; then 2602 coin_has_clp="no" 2603 coin_reason="--without-clp-datadir has been specified" 2604 else 2605 coin_has_clp="no" 2606 coin_reason="--with-clp-datadir has been specified" 2607 fi 2608fi; 2609fi 2610 2611 2612 2613 2614 2615# check if project is available in present directory 2616if test "$coin_has_clp" = notGiven; then 2617 coin_has_clp=no 2618 if test -d $srcdir/Clp; then 2619 coin_reason="source in Clp" 2620 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 2621 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 2622 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 2623 coin_has_clp="yes" 2624 2625 fi 2626fi 2627 2628if test -z "$coin_reason" ; then 2629 echo "$as_me:$LINENO: result: $coin_has_clp" >&5 2630echo "${ECHO_T}$coin_has_clp" >&6 2631else 2632 echo "$as_me:$LINENO: result: $coin_has_clp, $coin_reason" >&5 2633echo "${ECHO_T}$coin_has_clp, $coin_reason" >&6 2634fi 2635 2636if test "$coin_has_clp" = yes ; then 2637 if test -r $srcdir/Clp/configure; then 2638 coin_subdirs="$coin_subdirs Clp" 2639 2640 2641subdirs="$subdirs Clp" 2642 2643 fi 2644fi 2645 2646 2647echo "$as_me:$LINENO: checking whether source of project Cgl is available and should be compiled" >&5 2648echo $ECHO_N "checking whether source of project Cgl is available and should be compiled... $ECHO_C" >&6 2649 2650coin_has_cgl=notGiven 2651coin_reason= 2652 2653# check if user wants to skip project in any case 2654 2655if test x"$COIN_SKIP_PROJECTS" != x; then 2656 for dir in $COIN_SKIP_PROJECTS; do 2657 if test $dir = "Cgl"; then 2658 coin_has_cgl="no" 2659 coin_reason="Cgl has been specified in COIN_SKIP_PROJECTS" 2660 fi 2661 2662 done 2663fi 2664 2665if test "$coin_has_cgl" != no; then 2666 2667# Check whether --with-m4_tolower(Cgl) or --without-m4_tolower(Cgl) was given. 2668if test "${with_cgl+set}" = set; then 2669 withval="$with_cgl" 2670 if test "$withval" = no ; then 2671 coin_has_cgl="no" 2672 coin_reason="--without-cgl has been specified" 2673 fi 2674 2675fi; 2676fi 2677 2678if test "$coin_has_cgl" != no; then 2679 2680# Check whether --with-m4_tolower(Cgl)-lib or --without-m4_tolower(Cgl)-lib was given. 2681if test "${with_cgl_lib+set}" = set; then 2682 withval="$with_cgl_lib" 2683 if test "$withval" = no ; then 2684 coin_has_cgl="no" 2685 coin_reason="--without-cgl-lib has been specified" 2686 else 2687 coin_has_cgl="no" 2688 coin_reason="--with-cgl-lib has been specified" 2689 fi 2690fi; 2691fi 2692 2693if test "$coin_has_cgl" != no; then 2694 2695# Check whether --with-m4_tolower(Cgl)-incdir or --without-m4_tolower(Cgl)-incdir was given. 2696if test "${with_cgl_incdir+set}" = set; then 2697 withval="$with_cgl_incdir" 2698 if test "$withval" = no ; then 2699 coin_has_cgl="no" 2700 coin_reason="--without-cgl-incdir has been specified" 2701 else 2702 coin_has_cgl="no" 2703 coin_reason="--with-cgl-incdir has been specified" 2704 fi 2705fi; 2706fi 2707 2708if test "$coin_has_cgl" != no; then 2709 2710# Check whether --with-m4_tolower(Cgl)-datadir or --without-m4_tolower(Cgl)-datadir was given. 2711if test "${with_cgl_datadir+set}" = set; then 2712 withval="$with_cgl_datadir" 2713 if test "$withval" = no ; then 2714 coin_has_cgl="no" 2715 coin_reason="--without-cgl-datadir has been specified" 2716 else 2717 coin_has_cgl="no" 2718 coin_reason="--with-cgl-datadir has been specified" 2719 fi 2720fi; 2721fi 2722 2723 2724 2725 2726 2727# check if project is available in present directory 2728if test "$coin_has_cgl" = notGiven; then 2729 coin_has_cgl=no 2730 if test -d $srcdir/Cgl; then 2731 coin_reason="source in Cgl" 2732 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 2733 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 2734 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 2735 coin_has_cgl="yes" 2736 2737 fi 2738fi 2739 2740if test -z "$coin_reason" ; then 2741 echo "$as_me:$LINENO: result: $coin_has_cgl" >&5 2742echo "${ECHO_T}$coin_has_cgl" >&6 2743else 2744 echo "$as_me:$LINENO: result: $coin_has_cgl, $coin_reason" >&5 2745echo "${ECHO_T}$coin_has_cgl, $coin_reason" >&6 2746fi 2747 2748if test "$coin_has_cgl" = yes ; then 2749 if test -r $srcdir/Cgl/configure; then 2750 coin_subdirs="$coin_subdirs Cgl" 2751 2752 2753subdirs="$subdirs Cgl" 2754 2755 fi 2756fi 2757 2758 2759echo "$as_me:$LINENO: checking whether source of project Cbc is available and should be compiled" >&5 2760echo $ECHO_N "checking whether source of project Cbc is available and should be compiled... $ECHO_C" >&6 2761 2762coin_has_cbc=notGiven 2763coin_reason= 2764 2765# check if user wants to skip project in any case 2766 2767if test x"$COIN_SKIP_PROJECTS" != x; then 2768 for dir in $COIN_SKIP_PROJECTS; do 2769 if test $dir = "Cbc"; then 2770 coin_has_cbc="no" 2771 coin_reason="Cbc has been specified in COIN_SKIP_PROJECTS" 2772 fi 2773 2774 done 2775fi 2776 2777if test "$coin_has_cbc" != no; then 2778 2779# Check whether --with-m4_tolower(Cbc) or --without-m4_tolower(Cbc) was given. 2780if test "${with_cbc+set}" = set; then 2781 withval="$with_cbc" 2782 if test "$withval" = no ; then 2783 coin_has_cbc="no" 2784 coin_reason="--without-cbc has been specified" 2785 fi 2786 2787fi; 2788fi 2789 2790if test "$coin_has_cbc" != no; then 2791 2792# Check whether --with-m4_tolower(Cbc)-lib or --without-m4_tolower(Cbc)-lib was given. 2793if test "${with_cbc_lib+set}" = set; then 2794 withval="$with_cbc_lib" 2795 if test "$withval" = no ; then 2796 coin_has_cbc="no" 2797 coin_reason="--without-cbc-lib has been specified" 2798 else 2799 coin_has_cbc="no" 2800 coin_reason="--with-cbc-lib has been specified" 2801 fi 2802fi; 2803fi 2804 2805if test "$coin_has_cbc" != no; then 2806 2807# Check whether --with-m4_tolower(Cbc)-incdir or --without-m4_tolower(Cbc)-incdir was given. 2808if test "${with_cbc_incdir+set}" = set; then 2809 withval="$with_cbc_incdir" 2810 if test "$withval" = no ; then 2811 coin_has_cbc="no" 2812 coin_reason="--without-cbc-incdir has been specified" 2813 else 2814 coin_has_cbc="no" 2815 coin_reason="--with-cbc-incdir has been specified" 2816 fi 2817fi; 2818fi 2819 2820if test "$coin_has_cbc" != no; then 2821 2822# Check whether --with-m4_tolower(Cbc)-datadir or --without-m4_tolower(Cbc)-datadir was given. 2823if test "${with_cbc_datadir+set}" = set; then 2824 withval="$with_cbc_datadir" 2825 if test "$withval" = no ; then 2826 coin_has_cbc="no" 2827 coin_reason="--without-cbc-datadir has been specified" 2828 else 2829 coin_has_cbc="no" 2830 coin_reason="--with-cbc-datadir has been specified" 2831 fi 2832fi; 2833fi 2834 2835 2836 2837 2838 2839# check if project is available in present directory 2840if test "$coin_has_cbc" = notGiven; then 2841 coin_has_cbc=no 2842 if test -d $srcdir/Cbc; then 2843 coin_reason="source in Cbc" 2844 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 2845 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 2846 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 2847 coin_has_cbc="yes" 2848 2849 fi 2850fi 2851 2852if test -z "$coin_reason" ; then 2853 echo "$as_me:$LINENO: result: $coin_has_cbc" >&5 2854echo "${ECHO_T}$coin_has_cbc" >&6 2855else 2856 echo "$as_me:$LINENO: result: $coin_has_cbc, $coin_reason" >&5 2857echo "${ECHO_T}$coin_has_cbc, $coin_reason" >&6 2858fi 2859 2860if test "$coin_has_cbc" = yes ; then 2861 if test -r $srcdir/Cbc/configure; then 2862 coin_subdirs="$coin_subdirs Cbc" 2863 2864 2865subdirs="$subdirs Cbc" 2866 2867 fi 2868fi 2869 2870 2871echo "$as_me:$LINENO: checking whether source of project CoinMP is available and should be compiled" >&5 2872echo $ECHO_N "checking whether source of project CoinMP is available and should be compiled... $ECHO_C" >&6 2873 2874coin_has_coinmp=notGiven 2875coin_reason= 2876 2877# check if user wants to skip project in any case 2878 2879if test x"$COIN_SKIP_PROJECTS" != x; then 2880 for dir in $COIN_SKIP_PROJECTS; do 2881 if test $dir = "CoinMP"; then 2882 coin_has_coinmp="no" 2883 coin_reason="CoinMP has been specified in COIN_SKIP_PROJECTS" 2884 fi 2885 2886 done 2887fi 2888 2889if test "$coin_has_coinmp" != no; then 2890 2891# Check whether --with-m4_tolower(CoinMP) or --without-m4_tolower(CoinMP) was given. 2892if test "${with_coinmp+set}" = set; then 2893 withval="$with_coinmp" 2894 if test "$withval" = no ; then 2895 coin_has_coinmp="no" 2896 coin_reason="--without-coinmp has been specified" 2897 fi 2898 2899fi; 2900fi 2901 2902if test "$coin_has_coinmp" != no; then 2903 2904# Check whether --with-m4_tolower(CoinMP)-lib or --without-m4_tolower(CoinMP)-lib was given. 2905if test "${with_coinmp_lib+set}" = set; then 2906 withval="$with_coinmp_lib" 2907 if test "$withval" = no ; then 2908 coin_has_coinmp="no" 2909 coin_reason="--without-coinmp-lib has been specified" 2910 else 2911 coin_has_coinmp="no" 2912 coin_reason="--with-coinmp-lib has been specified" 2913 fi 2914fi; 2915fi 2916 2917if test "$coin_has_coinmp" != no; then 2918 2919# Check whether --with-m4_tolower(CoinMP)-incdir or --without-m4_tolower(CoinMP)-incdir was given. 2920if test "${with_coinmp_incdir+set}" = set; then 2921 withval="$with_coinmp_incdir" 2922 if test "$withval" = no ; then 2923 coin_has_coinmp="no" 2924 coin_reason="--without-coinmp-incdir has been specified" 2925 else 2926 coin_has_coinmp="no" 2927 coin_reason="--with-coinmp-incdir has been specified" 2928 fi 2929fi; 2930fi 2931 2932if test "$coin_has_coinmp" != no; then 2933 2934# Check whether --with-m4_tolower(CoinMP)-datadir or --without-m4_tolower(CoinMP)-datadir was given. 2935if test "${with_coinmp_datadir+set}" = set; then 2936 withval="$with_coinmp_datadir" 2937 if test "$withval" = no ; then 2938 coin_has_coinmp="no" 2939 coin_reason="--without-coinmp-datadir has been specified" 2940 else 2941 coin_has_coinmp="no" 2942 coin_reason="--with-coinmp-datadir has been specified" 2943 fi 2944fi; 2945fi 2946 2947 2948 2949 2950 2951# check if project is available in present directory 2952if test "$coin_has_coinmp" = notGiven; then 2953 coin_has_coinmp=no 2954 if test -d $srcdir/CoinMP; then 2955 coin_reason="source in CoinMP" 2956 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 2957 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 2958 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 2959 coin_has_coinmp="yes" 2960 2961 fi 2962fi 2963 2964if test -z "$coin_reason" ; then 2965 echo "$as_me:$LINENO: result: $coin_has_coinmp" >&5 2966echo "${ECHO_T}$coin_has_coinmp" >&6 2967else 2968 echo "$as_me:$LINENO: result: $coin_has_coinmp, $coin_reason" >&5 2969echo "${ECHO_T}$coin_has_coinmp, $coin_reason" >&6 2970fi 2971 2972if test "$coin_has_coinmp" = yes ; then 2973 if test -r $srcdir/CoinMP/configure; then 2974 coin_subdirs="$coin_subdirs CoinMP" 2975 2976 2977subdirs="$subdirs CoinMP" 2978 2979 fi 2980fi 2981 2982 2983############################################################################## 2984# Finishing up by writing all the output # 2985############################################################################## 2986 2987# Here list all the files that configure should create (except for the 2988# configuration header file) 2989 ac_config_files="$ac_config_files Makefile" 2990 2991 2992# Finally, we let configure write all the output... 2993 2994 2995 2996 2997echo "$as_me:$LINENO: checking which command should be used to link input files" >&5 2998echo $ECHO_N "checking which command should be used to link input files... $ECHO_C" >&6 2999coin_link_input_cmd="$LN_S" 3000case "$CC" in 3001 clang* ) ;; 3002 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 3003 coin_link_input_cmd=cp ;; 3004esac 3005echo "$as_me:$LINENO: result: $coin_link_input_cmd" >&5 3006echo "${ECHO_T}$coin_link_input_cmd" >&6 3007 3008 3009 3010if test x$coin_skip_ac_output != xyes; then 3011 3012 # library extension 3013 3014 case "$CC" in 3015 clang* ) 3016 LIBEXT=a ;; 3017 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 3018 LIBEXT=lib ;; 3019 *) LIBEXT=a ;; 3020 esac 3021 3022 # Define VPATH_DISTCLEANFILES to be everything that needs to be 3023 # cleaned for distclean in a vpath configuration 3024 3025 VPATH_DISTCLEANFILES="$coin_vpath_link_files" 3026 3027 # Take out subdirectories if their configuration concluded that they 3028 # don't need to be compiled 3029 if test x"$coin_ac_skip_subdirs" != x; then 3030 new_subdirs= 3031 for i in $subdirs; do 3032 skipme=no 3033 for j in $coin_ac_skip_subdirs; do 3034 if test $i = $j; then 3035 skipme=yes; 3036 fi 3037 done 3038 if test $skipme = no; then 3039 new_subdirs="$new_subdirs $i" 3040 fi 3041 done 3042 subdirs="$new_subdirs" 3043 fi 3044 3045 # need to come before AC_OUTPUT 3046 if test x$coin_projectdir != xyes; then 3047 # write coin_subdirs to a file so that project configuration knows where to find uninstalled projects 3048 echo $coin_subdirs > coin_subdirs.txt 3049 else 3050 # substitute for OBJDIR, needed to setup .pc file for uninstalled project 3051 ABSBUILDDIR="`pwd`" 3052 3053 fi 3054 3055 cat >confcache <<\_ACEOF 3056# This file is a shell script that caches the results of configure 3057# tests run on this system so they can be shared between configure 3058# scripts and configure runs, see configure's option --config-cache. 3059# It is not useful on other systems. If it contains results you don't 3060# want to keep, you may remove or edit it. 3061# 3062# config.status only pays attention to the cache file if you give it 3063# the --recheck option to rerun configure. 3064# 3065# `ac_cv_env_foo' variables (set or unset) will be overridden when 3066# loading this file, other *unset* `ac_cv_foo' will be assigned the 3067# following values. 3068 3069_ACEOF 3070 3071# The following way of writing the cache mishandles newlines in values, 3072# but we know of no workaround that is simple, portable, and efficient. 3073# So, don't put newlines in cache variables' values. 3074# Ultrix sh set writes to stderr and can't be redirected directly, 3075# and sets the high bit in the cache file unless we assign to the vars. 3076{ 3077 (set) 2>&1 | 3078 case `(ac_space=' '; set | grep ac_space) 2>&1` in 3079 *ac_space=\ *) 3080 # `set' does not quote correctly, so add quotes (double-quote 3081 # substitution turns \\\\ into \\, and sed turns \\ into \). 3082 sed -n \ 3083 "s/'/'\\\\''/g; 3084 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3085 ;; 3086 *) 3087 # `set' quotes correctly as required by POSIX, so do not add quotes. 3088 sed -n \ 3089 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 3090 ;; 3091 esac; 3092} | 3093 sed ' 3094 t clear 3095 : clear 3096 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3097 t end 3098 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3099 : end' >>confcache 3100if diff $cache_file confcache >/dev/null 2>&1; then :; else 3101 if test -w $cache_file; then 3102 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 3103 cat confcache >$cache_file 3104 else 3105 echo "not updating unwritable cache $cache_file" 3106 fi 3107fi 3108rm -f confcache 3109 3110test "x$prefix" = xNONE && prefix=$ac_default_prefix 3111# Let make expand exec_prefix. 3112test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3113 3114# VPATH may cause trouble with some makes, so we remove $(srcdir), 3115# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3116# trailing colons and then remove the whole line if VPATH becomes empty 3117# (actually we leave an empty line to preserve line numbers). 3118if test "x$srcdir" = x.; then 3119 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3120s/:*\$(srcdir):*/:/; 3121s/:*\${srcdir}:*/:/; 3122s/:*@srcdir@:*/:/; 3123s/^\([^=]*=[ ]*\):*/\1/; 3124s/:*$//; 3125s/^[^=]*=[ ]*$//; 3126}' 3127fi 3128 3129# Transform confdefs.h into DEFS. 3130# Protect against shell expansion while executing Makefile rules. 3131# Protect against Makefile macro expansion. 3132# 3133# If the first sed substitution is executed (which looks for macros that 3134# take arguments), then we branch to the quote section. Otherwise, 3135# look for a macro that doesn't take arguments. 3136cat >confdef2opt.sed <<\_ACEOF 3137t clear 3138: clear 3139s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 3140t quote 3141s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 3142t quote 3143d 3144: quote 3145s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 3146s,\[,\\&,g 3147s,\],\\&,g 3148s,\$,$$,g 3149p 3150_ACEOF 3151# We use echo to avoid assuming a particular line-breaking character. 3152# The extra dot is to prevent the shell from consuming trailing 3153# line-breaks from the sub-command output. A line-break within 3154# single-quotes doesn't work because, if this script is created in a 3155# platform that uses two characters for line-breaks (e.g., DOS), tr 3156# would break. 3157ac_LF_and_DOT=`echo; echo .` 3158DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 3159rm -f confdef2opt.sed 3160 3161 3162ac_libobjs= 3163ac_ltlibobjs= 3164for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3165 # 1. Remove the extension, and $U if already installed. 3166 ac_i=`echo "$ac_i" | 3167 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 3168 # 2. Add them. 3169 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 3170 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 3171done 3172LIBOBJS=$ac_libobjs 3173 3174LTLIBOBJS=$ac_ltlibobjs 3175 3176 3177if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 3178 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 3179Usually this means the macro was only invoked conditionally." >&5 3180echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 3181Usually this means the macro was only invoked conditionally." >&2;} 3182 { (exit 1); exit 1; }; } 3183fi 3184if test -z "${HAVE_EXTERNALS_TRUE}" && test -z "${HAVE_EXTERNALS_FALSE}"; then 3185 { { echo "$as_me:$LINENO: error: conditional \"HAVE_EXTERNALS\" was never defined. 3186Usually this means the macro was only invoked conditionally." >&5 3187echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined. 3188Usually this means the macro was only invoked conditionally." >&2;} 3189 { (exit 1); exit 1; }; } 3190fi 3191 3192: ${CONFIG_STATUS=./config.status} 3193ac_clean_files_save=$ac_clean_files 3194ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3195{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3196echo "$as_me: creating $CONFIG_STATUS" >&6;} 3197cat >$CONFIG_STATUS <<_ACEOF 3198#! $SHELL 3199# Generated by $as_me. 3200# Run this file to recreate the current configuration. 3201# Compiler output produced by configure, useful for debugging 3202# configure, is in config.log if it exists. 3203 3204debug=false 3205ac_cs_recheck=false 3206ac_cs_silent=false 3207SHELL=\${CONFIG_SHELL-$SHELL} 3208_ACEOF 3209 3210cat >>$CONFIG_STATUS <<\_ACEOF 3211## --------------------- ## 3212## M4sh Initialization. ## 3213## --------------------- ## 3214 3215# Be Bourne compatible 3216if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3217 emulate sh 3218 NULLCMD=: 3219 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 3220 # is contrary to our usage. Disable this feature. 3221 alias -g '${1+"$@"}'='"$@"' 3222elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 3223 set -o posix 3224fi 3225DUALCASE=1; export DUALCASE # for MKS sh 3226 3227# Support unset when possible. 3228if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 3229 as_unset=unset 3230else 3231 as_unset=false 3232fi 3233 3234 3235# Work around bugs in pre-3.0 UWIN ksh. 3236$as_unset ENV MAIL MAILPATH 3237PS1='$ ' 3238PS2='> ' 3239PS4='+ ' 3240 3241# NLS nuisances. 3242for as_var in \ 3243 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 3244 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 3245 LC_TELEPHONE LC_TIME 3246do 3247 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 3248 eval $as_var=C; export $as_var 3249 else 3250 $as_unset $as_var 3251 fi 3252done 3253 3254# Required to use basename. 3255if expr a : '\(a\)' >/dev/null 2>&1; then 3256 as_expr=expr 3257else 3258 as_expr=false 3259fi 3260 3261if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 3262 as_basename=basename 3263else 3264 as_basename=false 3265fi 3266 3267 3268# Name of the executable. 3269as_me=`$as_basename "$0" || 3270$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3271 X"$0" : 'X\(//\)$' \| \ 3272 X"$0" : 'X\(/\)$' \| \ 3273 . : '\(.\)' 2>/dev/null || 3274echo X/"$0" | 3275 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 3276 /^X\/\(\/\/\)$/{ s//\1/; q; } 3277 /^X\/\(\/\).*/{ s//\1/; q; } 3278 s/.*/./; q'` 3279 3280 3281# PATH needs CR, and LINENO needs CR and PATH. 3282# Avoid depending upon Character Ranges. 3283as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3284as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3285as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3286as_cr_digits='0123456789' 3287as_cr_alnum=$as_cr_Letters$as_cr_digits 3288 3289# The user is always right. 3290if test "${PATH_SEPARATOR+set}" != set; then 3291 echo "#! /bin/sh" >conf$$.sh 3292 echo "exit 0" >>conf$$.sh 3293 chmod +x conf$$.sh 3294 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3295 PATH_SEPARATOR=';' 3296 else 3297 PATH_SEPARATOR=: 3298 fi 3299 rm -f conf$$.sh 3300fi 3301 3302 3303 as_lineno_1=$LINENO 3304 as_lineno_2=$LINENO 3305 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3306 test "x$as_lineno_1" != "x$as_lineno_2" && 3307 test "x$as_lineno_3" = "x$as_lineno_2" || { 3308 # Find who we are. Look in the path if we contain no path at all 3309 # relative or not. 3310 case $0 in 3311 *[\\/]* ) as_myself=$0 ;; 3312 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3313for as_dir in $PATH 3314do 3315 IFS=$as_save_IFS 3316 test -z "$as_dir" && as_dir=. 3317 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3318done 3319 3320 ;; 3321 esac 3322 # We did not find ourselves, most probably we were run as `sh COMMAND' 3323 # in which case we are not to be found in the path. 3324 if test "x$as_myself" = x; then 3325 as_myself=$0 3326 fi 3327 if test ! -f "$as_myself"; then 3328 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 3329echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 3330 { (exit 1); exit 1; }; } 3331 fi 3332 case $CONFIG_SHELL in 3333 '') 3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3335for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 3336do 3337 IFS=$as_save_IFS 3338 test -z "$as_dir" && as_dir=. 3339 for as_base in sh bash ksh sh5; do 3340 case $as_dir in 3341 /*) 3342 if ("$as_dir/$as_base" -c ' 3343 as_lineno_1=$LINENO 3344 as_lineno_2=$LINENO 3345 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3346 test "x$as_lineno_1" != "x$as_lineno_2" && 3347 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 3348 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 3349 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 3350 CONFIG_SHELL=$as_dir/$as_base 3351 export CONFIG_SHELL 3352 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 3353 fi;; 3354 esac 3355 done 3356done 3357;; 3358 esac 3359 3360 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3361 # uniformly replaced by the line number. The first 'sed' inserts a 3362 # line-number line before each line; the second 'sed' does the real 3363 # work. The second script uses 'N' to pair each line-number line 3364 # with the numbered line, and appends trailing '-' during 3365 # substitution so that $LINENO is not a special case at line end. 3366 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3367 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 3368 sed '=' <$as_myself | 3369 sed ' 3370 N 3371 s,$,-, 3372 : loop 3373 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 3374 t loop 3375 s,-$,, 3376 s,^['$as_cr_digits']*\n,, 3377 ' >$as_me.lineno && 3378 chmod +x $as_me.lineno || 3379 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 3380echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 3381 { (exit 1); exit 1; }; } 3382 3383 # Don't try to exec as it changes $[0], causing all sort of problems 3384 # (the dirname of $[0] is not the place where we might find the 3385 # original and so on. Autoconf is especially sensible to this). 3386 . ./$as_me.lineno 3387 # Exit status is that of the last command. 3388 exit 3389} 3390 3391 3392case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 3393 *c*,-n*) ECHO_N= ECHO_C=' 3394' ECHO_T=' ' ;; 3395 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 3396 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 3397esac 3398 3399if expr a : '\(a\)' >/dev/null 2>&1; then 3400 as_expr=expr 3401else 3402 as_expr=false 3403fi 3404 3405rm -f conf$$ conf$$.exe conf$$.file 3406echo >conf$$.file 3407if ln -s conf$$.file conf$$ 2>/dev/null; then 3408 # We could just check for DJGPP; but this test a) works b) is more generic 3409 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 3410 if test -f conf$$.exe; then 3411 # Don't use ln at all; we don't have any links 3412 as_ln_s='cp -p' 3413 else 3414 as_ln_s='ln -s' 3415 fi 3416elif ln conf$$.file conf$$ 2>/dev/null; then 3417 as_ln_s=ln 3418else 3419 as_ln_s='cp -p' 3420fi 3421rm -f conf$$ conf$$.exe conf$$.file 3422 3423if mkdir -p . 2>/dev/null; then 3424 as_mkdir_p=: 3425else 3426 test -d ./-p && rmdir ./-p 3427 as_mkdir_p=false 3428fi 3429 3430as_executable_p="test -f" 3431 3432# Sed expression to map a string onto a valid CPP name. 3433as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3434 3435# Sed expression to map a string onto a valid variable name. 3436as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3437 3438 3439# IFS 3440# We need space, tab and new line, in precisely that order. 3441as_nl=' 3442' 3443IFS=" $as_nl" 3444 3445# CDPATH. 3446$as_unset CDPATH 3447 3448exec 6>&1 3449 3450# Open the log real soon, to keep \$[0] and so on meaningful, and to 3451# report actual input values of CONFIG_FILES etc. instead of their 3452# values after options handling. Logging --version etc. is OK. 3453exec 5>>config.log 3454{ 3455 echo 3456 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3457## Running $as_me. ## 3458_ASBOX 3459} >&5 3460cat >&5 <<_CSEOF 3461 3462This file was extended by CoinMP $as_me 1.8.4, which was 3463generated by GNU Autoconf 2.59. Invocation command line was 3464 3465 CONFIG_FILES = $CONFIG_FILES 3466 CONFIG_HEADERS = $CONFIG_HEADERS 3467 CONFIG_LINKS = $CONFIG_LINKS 3468 CONFIG_COMMANDS = $CONFIG_COMMANDS 3469 $ $0 $@ 3470 3471_CSEOF 3472echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 3473echo >&5 3474_ACEOF 3475 3476# Files that config.status was made for. 3477if test -n "$ac_config_files"; then 3478 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 3479fi 3480 3481if test -n "$ac_config_headers"; then 3482 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 3483fi 3484 3485if test -n "$ac_config_links"; then 3486 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 3487fi 3488 3489if test -n "$ac_config_commands"; then 3490 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 3491fi 3492 3493cat >>$CONFIG_STATUS <<\_ACEOF 3494 3495ac_cs_usage="\ 3496\`$as_me' instantiates files from templates according to the 3497current configuration. 3498 3499Usage: $0 [OPTIONS] [FILE]... 3500 3501 -h, --help print this help, then exit 3502 -V, --version print version number, then exit 3503 -q, --quiet do not print progress messages 3504 -d, --debug don't remove temporary files 3505 --recheck update $as_me by reconfiguring in the same conditions 3506 --file=FILE[:TEMPLATE] 3507 instantiate the configuration file FILE 3508 3509Configuration files: 3510$config_files 3511 3512Report bugs to <bug-autoconf@gnu.org>." 3513_ACEOF 3514 3515cat >>$CONFIG_STATUS <<_ACEOF 3516ac_cs_version="\\ 3517CoinMP config.status 1.8.4 3518configured by $0, generated by GNU Autoconf 2.59, 3519 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 3520 3521Copyright (C) 2003 Free Software Foundation, Inc. 3522This config.status script is free software; the Free Software Foundation 3523gives unlimited permission to copy, distribute and modify it." 3524srcdir=$srcdir 3525INSTALL="$INSTALL" 3526_ACEOF 3527 3528cat >>$CONFIG_STATUS <<\_ACEOF 3529# If no file are specified by the user, then we need to provide default 3530# value. By we need to know if files were specified by the user. 3531ac_need_defaults=: 3532while test $# != 0 3533do 3534 case $1 in 3535 --*=*) 3536 ac_option=`expr "x$1" : 'x\([^=]*\)='` 3537 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 3538 ac_shift=: 3539 ;; 3540 -*) 3541 ac_option=$1 3542 ac_optarg=$2 3543 ac_shift=shift 3544 ;; 3545 *) # This is not an option, so the user has probably given explicit 3546 # arguments. 3547 ac_option=$1 3548 ac_need_defaults=false;; 3549 esac 3550 3551 case $ac_option in 3552 # Handling of the options. 3553_ACEOF 3554cat >>$CONFIG_STATUS <<\_ACEOF 3555 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3556 ac_cs_recheck=: ;; 3557 --version | --vers* | -V ) 3558 echo "$ac_cs_version"; exit 0 ;; 3559 --he | --h) 3560 # Conflict between --help and --header 3561 { { echo "$as_me:$LINENO: error: ambiguous option: $1 3562Try \`$0 --help' for more information." >&5 3563echo "$as_me: error: ambiguous option: $1 3564Try \`$0 --help' for more information." >&2;} 3565 { (exit 1); exit 1; }; };; 3566 --help | --hel | -h ) 3567 echo "$ac_cs_usage"; exit 0 ;; 3568 --debug | --d* | -d ) 3569 debug=: ;; 3570 --file | --fil | --fi | --f ) 3571 $ac_shift 3572 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 3573 ac_need_defaults=false;; 3574 --header | --heade | --head | --hea ) 3575 $ac_shift 3576 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 3577 ac_need_defaults=false;; 3578 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3579 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3580 ac_cs_silent=: ;; 3581 3582 # This is an error. 3583 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 3584Try \`$0 --help' for more information." >&5 3585echo "$as_me: error: unrecognized option: $1 3586Try \`$0 --help' for more information." >&2;} 3587 { (exit 1); exit 1; }; } ;; 3588 3589 *) ac_config_targets="$ac_config_targets $1" ;; 3590 3591 esac 3592 shift 3593done 3594 3595ac_configure_extra_args= 3596 3597if $ac_cs_silent; then 3598 exec 6>/dev/null 3599 ac_configure_extra_args="$ac_configure_extra_args --silent" 3600fi 3601 3602_ACEOF 3603cat >>$CONFIG_STATUS <<_ACEOF 3604if \$ac_cs_recheck; then 3605 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 3606 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3607fi 3608 3609_ACEOF 3610 3611 3612 3613 3614 3615cat >>$CONFIG_STATUS <<\_ACEOF 3616for ac_config_target in $ac_config_targets 3617do 3618 case "$ac_config_target" in 3619 # Handling of arguments. 3620 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3621 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 3622echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3623 { (exit 1); exit 1; }; };; 3624 esac 3625done 3626 3627# If the user did not use the arguments to specify the items to instantiate, 3628# then the envvar interface is used. Set only those that are not. 3629# We use the long form for the default assignment because of an extremely 3630# bizarre bug on SunOS 4.1.3. 3631if $ac_need_defaults; then 3632 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3633fi 3634 3635# Have a temporary directory for convenience. Make it in the build tree 3636# simply because there is no reason to put it here, and in addition, 3637# creating and moving files from /tmp can sometimes cause problems. 3638# Create a temporary directory, and hook for its removal unless debugging. 3639$debug || 3640{ 3641 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 3642 trap '{ (exit 1); exit 1; }' 1 2 13 15 3643} 3644 3645# Create a (secure) tmp directory for tmp files. 3646 3647{ 3648 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 3649 test -n "$tmp" && test -d "$tmp" 3650} || 3651{ 3652 tmp=./confstat$$-$RANDOM 3653 (umask 077 && mkdir $tmp) 3654} || 3655{ 3656 echo "$me: cannot create a temporary directory in ." >&2 3657 { (exit 1); exit 1; } 3658} 3659 3660_ACEOF 3661 3662cat >>$CONFIG_STATUS <<_ACEOF 3663 3664# 3665# CONFIG_FILES section. 3666# 3667 3668# No need to generate the scripts if there are no CONFIG_FILES. 3669# This happens for instance when ./config.status config.h 3670if test -n "\$CONFIG_FILES"; then 3671 # Protect against being on the right side of a sed subst in config.status. 3672 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 3673 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 3674s,@SHELL@,$SHELL,;t t 3675s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 3676s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 3677s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 3678s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 3679s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 3680s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 3681s,@exec_prefix@,$exec_prefix,;t t 3682s,@prefix@,$prefix,;t t 3683s,@program_transform_name@,$program_transform_name,;t t 3684s,@bindir@,$bindir,;t t 3685s,@sbindir@,$sbindir,;t t 3686s,@libexecdir@,$libexecdir,;t t 3687s,@datadir@,$datadir,;t t 3688s,@sysconfdir@,$sysconfdir,;t t 3689s,@sharedstatedir@,$sharedstatedir,;t t 3690s,@localstatedir@,$localstatedir,;t t 3691s,@libdir@,$libdir,;t t 3692s,@includedir@,$includedir,;t t 3693s,@oldincludedir@,$oldincludedir,;t t 3694s,@infodir@,$infodir,;t t 3695s,@mandir@,$mandir,;t t 3696s,@build_alias@,$build_alias,;t t 3697s,@host_alias@,$host_alias,;t t 3698s,@target_alias@,$target_alias,;t t 3699s,@DEFS@,$DEFS,;t t 3700s,@ECHO_C@,$ECHO_C,;t t 3701s,@ECHO_N@,$ECHO_N,;t t 3702s,@ECHO_T@,$ECHO_T,;t t 3703s,@LIBS@,$LIBS,;t t 3704s,@EGREP@,$EGREP,;t t 3705s,@LN_S@,$LN_S,;t t 3706s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 3707s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 3708s,@INSTALL_DATA@,$INSTALL_DATA,;t t 3709s,@CYGPATH_W@,$CYGPATH_W,;t t 3710s,@PACKAGE@,$PACKAGE,;t t 3711s,@VERSION@,$VERSION,;t t 3712s,@ACLOCAL@,$ACLOCAL,;t t 3713s,@AUTOCONF@,$AUTOCONF,;t t 3714s,@AUTOMAKE@,$AUTOMAKE,;t t 3715s,@AUTOHEADER@,$AUTOHEADER,;t t 3716s,@MAKEINFO@,$MAKEINFO,;t t 3717s,@install_sh@,$install_sh,;t t 3718s,@STRIP@,$STRIP,;t t 3719s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 3720s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 3721s,@mkdir_p@,$mkdir_p,;t t 3722s,@AWK@,$AWK,;t t 3723s,@SET_MAKE@,$SET_MAKE,;t t 3724s,@am__leading_dot@,$am__leading_dot,;t t 3725s,@AMTAR@,$AMTAR,;t t 3726s,@am__tar@,$am__tar,;t t 3727s,@am__untar@,$am__untar,;t t 3728s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 3729s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 3730s,@MAINT@,$MAINT,;t t 3731s,@LIBTOOLM4@,$LIBTOOLM4,;t t 3732s,@have_autoconf@,$have_autoconf,;t t 3733s,@have_automake@,$have_automake,;t t 3734s,@have_svn@,$have_svn,;t t 3735s,@BUILDTOOLSDIR@,$BUILDTOOLSDIR,;t t 3736s,@AUX_DIR@,$AUX_DIR,;t t 3737s,@abs_source_dir@,$abs_source_dir,;t t 3738s,@abs_lib_dir@,$abs_lib_dir,;t t 3739s,@abs_include_dir@,$abs_include_dir,;t t 3740s,@abs_bin_dir@,$abs_bin_dir,;t t 3741s,@HAVE_EXTERNALS_TRUE@,$HAVE_EXTERNALS_TRUE,;t t 3742s,@HAVE_EXTERNALS_FALSE@,$HAVE_EXTERNALS_FALSE,;t t 3743s,@COIN_SKIP_PROJECTS@,$COIN_SKIP_PROJECTS,;t t 3744s,@subdirs@,$subdirs,;t t 3745s,@LIBEXT@,$LIBEXT,;t t 3746s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t 3747s,@ABSBUILDDIR@,$ABSBUILDDIR,;t t 3748s,@LIBOBJS@,$LIBOBJS,;t t 3749s,@LTLIBOBJS@,$LTLIBOBJS,;t t 3750CEOF 3751 3752_ACEOF 3753 3754 cat >>$CONFIG_STATUS <<\_ACEOF 3755 # Split the substitutions into bite-sized pieces for seds with 3756 # small command number limits, like on Digital OSF/1 and HP-UX. 3757 ac_max_sed_lines=48 3758 ac_sed_frag=1 # Number of current file. 3759 ac_beg=1 # First line for current file. 3760 ac_end=$ac_max_sed_lines # Line after last line for current file. 3761 ac_more_lines=: 3762 ac_sed_cmds= 3763 while $ac_more_lines; do 3764 if test $ac_beg -gt 1; then 3765 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3766 else 3767 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3768 fi 3769 if test ! -s $tmp/subs.frag; then 3770 ac_more_lines=false 3771 else 3772 # The purpose of the label and of the branching condition is to 3773 # speed up the sed processing (if there are no `@' at all, there 3774 # is no need to browse any of the substitutions). 3775 # These are the two extra sed commands mentioned above. 3776 (echo ':t 3777 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 3778 if test -z "$ac_sed_cmds"; then 3779 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 3780 else 3781 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 3782 fi 3783 ac_sed_frag=`expr $ac_sed_frag + 1` 3784 ac_beg=$ac_end 3785 ac_end=`expr $ac_end + $ac_max_sed_lines` 3786 fi 3787 done 3788 if test -z "$ac_sed_cmds"; then 3789 ac_sed_cmds=cat 3790 fi 3791fi # test -n "$CONFIG_FILES" 3792 3793_ACEOF 3794cat >>$CONFIG_STATUS <<\_ACEOF 3795for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 3796 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3797 case $ac_file in 3798 - | *:- | *:-:* ) # input from stdin 3799 cat >$tmp/stdin 3800 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3801 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3802 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3803 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3804 * ) ac_file_in=$ac_file.in ;; 3805 esac 3806 3807 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 3808 ac_dir=`(dirname "$ac_file") 2>/dev/null || 3809$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3810 X"$ac_file" : 'X\(//\)[^/]' \| \ 3811 X"$ac_file" : 'X\(//\)$' \| \ 3812 X"$ac_file" : 'X\(/\)' \| \ 3813 . : '\(.\)' 2>/dev/null || 3814echo X"$ac_file" | 3815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3816 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3817 /^X\(\/\/\)$/{ s//\1/; q; } 3818 /^X\(\/\).*/{ s//\1/; q; } 3819 s/.*/./; q'` 3820 { if $as_mkdir_p; then 3821 mkdir -p "$ac_dir" 3822 else 3823 as_dir="$ac_dir" 3824 as_dirs= 3825 while test ! -d "$as_dir"; do 3826 as_dirs="$as_dir $as_dirs" 3827 as_dir=`(dirname "$as_dir") 2>/dev/null || 3828$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3829 X"$as_dir" : 'X\(//\)[^/]' \| \ 3830 X"$as_dir" : 'X\(//\)$' \| \ 3831 X"$as_dir" : 'X\(/\)' \| \ 3832 . : '\(.\)' 2>/dev/null || 3833echo X"$as_dir" | 3834 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3835 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3836 /^X\(\/\/\)$/{ s//\1/; q; } 3837 /^X\(\/\).*/{ s//\1/; q; } 3838 s/.*/./; q'` 3839 done 3840 test ! -n "$as_dirs" || mkdir $as_dirs 3841 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 3842echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 3843 { (exit 1); exit 1; }; }; } 3844 3845 ac_builddir=. 3846 3847if test "$ac_dir" != .; then 3848 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 3849 # A "../" for each directory in $ac_dir_suffix. 3850 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 3851else 3852 ac_dir_suffix= ac_top_builddir= 3853fi 3854 3855case $srcdir in 3856 .) # No --srcdir option. We are building in place. 3857 ac_srcdir=. 3858 if test -z "$ac_top_builddir"; then 3859 ac_top_srcdir=. 3860 else 3861 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 3862 fi ;; 3863 [\\/]* | ?:[\\/]* ) # Absolute path. 3864 ac_srcdir=$srcdir$ac_dir_suffix; 3865 ac_top_srcdir=$srcdir ;; 3866 *) # Relative path. 3867 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 3868 ac_top_srcdir=$ac_top_builddir$srcdir ;; 3869esac 3870 3871# Do not use `cd foo && pwd` to compute absolute paths, because 3872# the directories may not exist. 3873case `pwd` in 3874.) ac_abs_builddir="$ac_dir";; 3875*) 3876 case "$ac_dir" in 3877 .) ac_abs_builddir=`pwd`;; 3878 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 3879 *) ac_abs_builddir=`pwd`/"$ac_dir";; 3880 esac;; 3881esac 3882case $ac_abs_builddir in 3883.) ac_abs_top_builddir=${ac_top_builddir}.;; 3884*) 3885 case ${ac_top_builddir}. in 3886 .) ac_abs_top_builddir=$ac_abs_builddir;; 3887 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 3888 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 3889 esac;; 3890esac 3891case $ac_abs_builddir in 3892.) ac_abs_srcdir=$ac_srcdir;; 3893*) 3894 case $ac_srcdir in 3895 .) ac_abs_srcdir=$ac_abs_builddir;; 3896 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 3897 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 3898 esac;; 3899esac 3900case $ac_abs_builddir in 3901.) ac_abs_top_srcdir=$ac_top_srcdir;; 3902*) 3903 case $ac_top_srcdir in 3904 .) ac_abs_top_srcdir=$ac_abs_builddir;; 3905 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 3906 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 3907 esac;; 3908esac 3909 3910 3911 case $INSTALL in 3912 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 3913 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 3914 esac 3915 3916 if test x"$ac_file" != x-; then 3917 { echo "$as_me:$LINENO: creating $ac_file" >&5 3918echo "$as_me: creating $ac_file" >&6;} 3919 rm -f "$ac_file" 3920 fi 3921 # Let's still pretend it is `configure' which instantiates (i.e., don't 3922 # use $as_me), people would be surprised to read: 3923 # /* config.h. Generated by config.status. */ 3924 if test x"$ac_file" = x-; then 3925 configure_input= 3926 else 3927 configure_input="$ac_file. " 3928 fi 3929 configure_input=$configure_input"Generated from `echo $ac_file_in | 3930 sed 's,.*/,,'` by configure." 3931 3932 # First look for the input files in the build tree, otherwise in the 3933 # src tree. 3934 ac_file_inputs=`IFS=: 3935 for f in $ac_file_in; do 3936 case $f in 3937 -) echo $tmp/stdin ;; 3938 [\\/$]*) 3939 # Absolute (can't be DOS-style, as IFS=:) 3940 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3941echo "$as_me: error: cannot find input file: $f" >&2;} 3942 { (exit 1); exit 1; }; } 3943 echo "$f";; 3944 *) # Relative 3945 if test -f "$f"; then 3946 # Build tree 3947 echo "$f" 3948 elif test -f "$srcdir/$f"; then 3949 # Source tree 3950 echo "$srcdir/$f" 3951 else 3952 # /dev/null tree 3953 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3954echo "$as_me: error: cannot find input file: $f" >&2;} 3955 { (exit 1); exit 1; }; } 3956 fi;; 3957 esac 3958 done` || { (exit 1); exit 1; } 3959_ACEOF 3960cat >>$CONFIG_STATUS <<_ACEOF 3961 sed "$ac_vpsub 3962$extrasub 3963_ACEOF 3964cat >>$CONFIG_STATUS <<\_ACEOF 3965:t 3966/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 3967s,@configure_input@,$configure_input,;t t 3968s,@srcdir@,$ac_srcdir,;t t 3969s,@abs_srcdir@,$ac_abs_srcdir,;t t 3970s,@top_srcdir@,$ac_top_srcdir,;t t 3971s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 3972s,@builddir@,$ac_builddir,;t t 3973s,@abs_builddir@,$ac_abs_builddir,;t t 3974s,@top_builddir@,$ac_top_builddir,;t t 3975s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 3976s,@INSTALL@,$ac_INSTALL,;t t 3977" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 3978 rm -f $tmp/stdin 3979 if test x"$ac_file" != x-; then 3980 mv $tmp/out $ac_file 3981 else 3982 cat $tmp/out 3983 rm -f $tmp/out 3984 fi 3985 3986done 3987_ACEOF 3988 3989cat >>$CONFIG_STATUS <<\_ACEOF 3990 3991{ (exit 0); exit 0; } 3992_ACEOF 3993chmod +x $CONFIG_STATUS 3994ac_clean_files=$ac_clean_files_save 3995 3996 3997# configure is writing to config.log, and then calls config.status. 3998# config.status does its own redirection, appending to config.log. 3999# Unfortunately, on DOS this fails, as config.log is still kept open 4000# by configure, so config.status won't be able to write to it; its 4001# output is simply discarded. So we exec the FD to /dev/null, 4002# effectively closing config.log, so it can be properly (re)opened and 4003# appended to by config.status. When coming back to configure, we 4004# need to make the FD available again. 4005if test "$no_create" != yes; then 4006 ac_cs_success=: 4007 ac_config_status_args= 4008 test "$silent" = yes && 4009 ac_config_status_args="$ac_config_status_args --quiet" 4010 exec 5>/dev/null 4011 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4012 exec 5>>config.log 4013 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4014 # would make configure fail if this is the last instruction. 4015 $ac_cs_success || { (exit 1); exit 1; } 4016fi 4017 4018# 4019# CONFIG_SUBDIRS section. 4020# 4021if test "$no_recursion" != yes; then 4022 4023 # Remove --cache-file and --srcdir arguments so they do not pile up. 4024 ac_sub_configure_args= 4025 ac_prev= 4026 for ac_arg in $ac_configure_args; do 4027 if test -n "$ac_prev"; then 4028 ac_prev= 4029 continue 4030 fi 4031 case $ac_arg in 4032 -cache-file | --cache-file | --cache-fil | --cache-fi \ 4033 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 4034 ac_prev=cache_file ;; 4035 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 4036 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ 4037 | --c=*) 4038 ;; 4039 --config-cache | -C) 4040 ;; 4041 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 4042 ac_prev=srcdir ;; 4043 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 4044 ;; 4045 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 4046 ac_prev=prefix ;; 4047 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 4048 ;; 4049 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 4050 esac 4051 done 4052 4053 # Always prepend --prefix to ensure using the same prefix 4054 # in subdir configurations. 4055 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 4056 4057 ac_popdir=`pwd` 4058 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue 4059 4060 # Do not complain, so a configure script can configure whichever 4061 # parts of a large source tree are present. 4062 test -d $srcdir/$ac_dir || continue 4063 4064 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 4065echo "$as_me: configuring in $ac_dir" >&6;} 4066 { if $as_mkdir_p; then 4067 mkdir -p "$ac_dir" 4068 else 4069 as_dir="$ac_dir" 4070 as_dirs= 4071 while test ! -d "$as_dir"; do 4072 as_dirs="$as_dir $as_dirs" 4073 as_dir=`(dirname "$as_dir") 2>/dev/null || 4074$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4075 X"$as_dir" : 'X\(//\)[^/]' \| \ 4076 X"$as_dir" : 'X\(//\)$' \| \ 4077 X"$as_dir" : 'X\(/\)' \| \ 4078 . : '\(.\)' 2>/dev/null || 4079echo X"$as_dir" | 4080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4081 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4082 /^X\(\/\/\)$/{ s//\1/; q; } 4083 /^X\(\/\).*/{ s//\1/; q; } 4084 s/.*/./; q'` 4085 done 4086 test ! -n "$as_dirs" || mkdir $as_dirs 4087 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4088echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4089 { (exit 1); exit 1; }; }; } 4090 4091 ac_builddir=. 4092 4093if test "$ac_dir" != .; then 4094 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4095 # A "../" for each directory in $ac_dir_suffix. 4096 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4097else 4098 ac_dir_suffix= ac_top_builddir= 4099fi 4100 4101case $srcdir in 4102 .) # No --srcdir option. We are building in place. 4103 ac_srcdir=. 4104 if test -z "$ac_top_builddir"; then 4105 ac_top_srcdir=. 4106 else 4107 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4108 fi ;; 4109 [\\/]* | ?:[\\/]* ) # Absolute path. 4110 ac_srcdir=$srcdir$ac_dir_suffix; 4111 ac_top_srcdir=$srcdir ;; 4112 *) # Relative path. 4113 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4114 ac_top_srcdir=$ac_top_builddir$srcdir ;; 4115esac 4116 4117# Do not use `cd foo && pwd` to compute absolute paths, because 4118# the directories may not exist. 4119case `pwd` in 4120.) ac_abs_builddir="$ac_dir";; 4121*) 4122 case "$ac_dir" in 4123 .) ac_abs_builddir=`pwd`;; 4124 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 4125 *) ac_abs_builddir=`pwd`/"$ac_dir";; 4126 esac;; 4127esac 4128case $ac_abs_builddir in 4129.) ac_abs_top_builddir=${ac_top_builddir}.;; 4130*) 4131 case ${ac_top_builddir}. in 4132 .) ac_abs_top_builddir=$ac_abs_builddir;; 4133 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 4134 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 4135 esac;; 4136esac 4137case $ac_abs_builddir in 4138.) ac_abs_srcdir=$ac_srcdir;; 4139*) 4140 case $ac_srcdir in 4141 .) ac_abs_srcdir=$ac_abs_builddir;; 4142 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 4143 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 4144 esac;; 4145esac 4146case $ac_abs_builddir in 4147.) ac_abs_top_srcdir=$ac_top_srcdir;; 4148*) 4149 case $ac_top_srcdir in 4150 .) ac_abs_top_srcdir=$ac_abs_builddir;; 4151 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 4152 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 4153 esac;; 4154esac 4155 4156 4157 cd $ac_dir 4158 4159 # Check for guested configure; otherwise get Cygnus style configure. 4160 if test -f $ac_srcdir/configure.gnu; then 4161 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 4162 elif test -f $ac_srcdir/configure; then 4163 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 4164 elif test -f $ac_srcdir/configure.in; then 4165 ac_sub_configure=$ac_configure 4166 else 4167 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 4168echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 4169 ac_sub_configure= 4170 fi 4171 4172 # The recursion is here. 4173 if test -n "$ac_sub_configure"; then 4174 # Make the cache file name correct relative to the subdirectory. 4175 case $cache_file in 4176 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 4177 *) # Relative path. 4178 ac_sub_cache_file=$ac_top_builddir$cache_file ;; 4179 esac 4180 4181 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 4182echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 4183 # The eval makes quoting arguments work. 4184 eval $ac_sub_configure $ac_sub_configure_args \ 4185 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || 4186 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 4187echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 4188 { (exit 1); exit 1; }; } 4189 fi 4190 4191 cd $ac_popdir 4192 done 4193fi 4194 4195 4196 if test x"$coin_vpath_link_files" = x; then : ; else 4197 lnkcmd="$coin_link_input_cmd" 4198 if test "$lnkcmd" = cp; then 4199 { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5 4200echo "$as_me: Copying data files for VPATH configuration" >&6;} 4201 else 4202 { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5 4203echo "$as_me: Creating VPATH links for data files" >&6;} 4204 fi 4205 for file in $coin_vpath_link_files; do 4206 dir=`(dirname "./$file") 2>/dev/null || 4207$as_expr X"./$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4208 X"./$file" : 'X\(//\)[^/]' \| \ 4209 X"./$file" : 'X\(//\)$' \| \ 4210 X"./$file" : 'X\(/\)' \| \ 4211 . : '\(.\)' 2>/dev/null || 4212echo X"./$file" | 4213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4214 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4215 /^X\(\/\/\)$/{ s//\1/; q; } 4216 /^X\(\/\).*/{ s//\1/; q; } 4217 s/.*/./; q'` 4218 if test -d $dir; then : ; else 4219 { if $as_mkdir_p; then 4220 mkdir -p $dir 4221 else 4222 as_dir=$dir 4223 as_dirs= 4224 while test ! -d "$as_dir"; do 4225 as_dirs="$as_dir $as_dirs" 4226 as_dir=`(dirname "$as_dir") 2>/dev/null || 4227$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4228 X"$as_dir" : 'X\(//\)[^/]' \| \ 4229 X"$as_dir" : 'X\(//\)$' \| \ 4230 X"$as_dir" : 'X\(/\)' \| \ 4231 . : '\(.\)' 2>/dev/null || 4232echo X"$as_dir" | 4233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4234 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4235 /^X\(\/\/\)$/{ s//\1/; q; } 4236 /^X\(\/\).*/{ s//\1/; q; } 4237 s/.*/./; q'` 4238 done 4239 test ! -n "$as_dirs" || mkdir $as_dirs 4240 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dir" >&5 4241echo "$as_me: error: cannot create directory $dir" >&2;} 4242 { (exit 1); exit 1; }; }; } 4243 4244 fi 4245 rm -f $file 4246 $lnkcmd $abs_source_dir/$file $file 4247 done 4248 fi 4249 4250 { echo "$as_me:$LINENO: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&5 4251echo "$as_me: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&6;} 4252 if test x$coin_projectdir = xyes; then 4253 { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5 4254echo "$as_me: Configuration of $PACKAGE_NAME successful" >&6;} 4255 else 4256 { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&5 4257echo "$as_me: Main configuration of $PACKAGE_NAME successful" >&6;} 4258 fi 4259else 4260 { echo "$as_me:$LINENO: No configuration of $PACKAGE_NAME necessary" >&5 4261echo "$as_me: No configuration of $PACKAGE_NAME necessary" >&6;} 4262fi 4263 4264 4265