Debian Codegraph @

Data/Sample/configure

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