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