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.
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'
279 PACKAGE_STRING='DataSample 1.2'
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 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:";;
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
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, 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
1386
1387
1388
1389 #############################################################################
1390 # We only need automake to generate Makefiles for the distribution #
1391 #############################################################################
1392
1393 # Initialize automake
1394 echo "$as_me:$LINENO: checking for egrep" >&5
1395 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
1396 if test "${ac_cv_prog_egrep+set}" = set; then
1397 echo $ECHO_N "(cached) $ECHO_C" >&6
1398 else
1399 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
1400 then ac_cv_prog_egrep='grep -E'
1401 else ac_cv_prog_egrep='egrep'
1402 fi
1403 fi
1404 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
1405 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
1406 EGREP=$ac_cv_prog_egrep
1407
1408
1409 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1410 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1411 LN_S=$as_ln_s
1412 if test "$LN_S" = "ln -s"; then
1413 echo "$as_me:$LINENO: result: yes" >&5
1414 echo "${ECHO_T}yes" >&6
1415 else
1416 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1417 echo "${ECHO_T}no, using $LN_S" >&6
1418 fi
1419
1420 am__api_version="1.9"
1421 ac_aux_dir=
1422 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1423 if test -f $ac_dir/install-sh; then
1424 ac_aux_dir=$ac_dir
1425 ac_install_sh="$ac_aux_dir/install-sh -c"
1426 break
1427 elif test -f $ac_dir/install.sh; then
1428 ac_aux_dir=$ac_dir
1429 ac_install_sh="$ac_aux_dir/install.sh -c"
1430 break
1431 elif test -f $ac_dir/shtool; then
1432 ac_aux_dir=$ac_dir
1433 ac_install_sh="$ac_aux_dir/shtool install -c"
1434 break
1435 fi
1436 done
1437 if test -z "$ac_aux_dir"; then
1438 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1439 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1440 { (exit 1); exit 1; }; }
1441 fi
1442 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1443 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1444 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1445
1446 # Find a good install program. We prefer a C program (faster),
1447 # so one script is as good as another. But avoid the broken or
1448 # incompatible versions:
1449 # SysV /etc/install, /usr/sbin/install
1450 # SunOS /usr/etc/install
1451 # IRIX /sbin/install
1452 # AIX /bin/install
1453 # AmigaOS /C/install, which installs bootblocks on floppy discs
1454 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1455 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1456 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1457 # OS/2's system install, which has a completely different semantic
1458 # ./install, which can be erroneously created by make from ./install.sh.
1459 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1460 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1461 if test -z "$INSTALL"; then
1462 if test "${ac_cv_path_install+set}" = set; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1464 else
1465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1466 for as_dir in $PATH
1467 do
1468 IFS=$as_save_IFS
1469 test -z "$as_dir" && as_dir=.
1470 # Account for people who put trailing slashes in PATH elements.
1471 case $as_dir/ in
1472 ./ | .// | /cC/* | \
1473 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1474 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1475 /usr/ucb/* ) ;;
1476 *)
1477 # OSF1 and SCO ODT 3.0 have their own names for install.
1478 # Don't use installbsd from OSF since it installs stuff as root
1479 # by default.
1480 for ac_prog in ginstall scoinst install; do
1481 for ac_exec_ext in '' $ac_executable_extensions; do
1482 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1483 if test $ac_prog = install &&
1484 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1485 # AIX install. It has an incompatible calling convention.
1486 :
1487 elif test $ac_prog = install &&
1488 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1489 # program-specific install script used by HP pwplus--don't use.
1490 :
1491 else
1492 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1493 break 3
1494 fi
1495 fi
1496 done
1497 done
1498 ;;
1499 esac
1500 done
1501
1502
1503 fi
1504 if test "${ac_cv_path_install+set}" = set; then
1505 INSTALL=$ac_cv_path_install
1506 else
1507 # As a last resort, use the slow shell script. We don't cache a
1508 # path for INSTALL within a source directory, because that will
1509 # break other packages using the cache if that directory is
1510 # removed, or if the path is relative.
1511 INSTALL=$ac_install_sh
1512 fi
1513 fi
1514 echo "$as_me:$LINENO: result: $INSTALL" >&5
1515 echo "${ECHO_T}$INSTALL" >&6
1516
1517 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1518 # It thinks the first close brace ends the variable substitution.
1519 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1520
1521 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1522
1523 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1524
1525 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1526 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1527 # Just in case
1528 sleep 1
1529 echo timestamp > conftest.file
1530 # Do `set' in a subshell so we don't clobber the current shell's
1531 # arguments. Must try -L first in case configure is actually a
1532 # symlink; some systems play weird games with the mod time of symlinks
1533 # (eg FreeBSD returns the mod time of the symlink's containing
1534 # directory).
1535 if (
1536 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1537 if test "$*" = "X"; then
1538 # -L didn't work.
1539 set X `ls -t $srcdir/configure conftest.file`
1540 fi
1541 rm -f conftest.file
1542 if test "$*" != "X $srcdir/configure conftest.file" \
1543 && test "$*" != "X conftest.file $srcdir/configure"; then
1544
1545 # If neither matched, then we have a broken ls. This can happen
1546 # if, for instance, CONFIG_SHELL is bash and it inherits a
1547 # broken ls alias from the environment. This has actually
1548 # happened. Such a system could not be considered "sane".
1549 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1550 alias in your environment" >&5
1551 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1552 alias in your environment" >&2;}
1553 { (exit 1); exit 1; }; }
1554 fi
1555
1556 test "$2" = conftest.file
1557 )
1558 then
1559 # Ok.
1560 :
1561 else
1562 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1563 Check your system clock" >&5
1564 echo "$as_me: error: newly created file is older than distributed files!
1565 Check your system clock" >&2;}
1566 { (exit 1); exit 1; }; }
1567 fi
1568 echo "$as_me:$LINENO: result: yes" >&5
1569 echo "${ECHO_T}yes" >&6
1570 test "$program_prefix" != NONE &&
1571 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1572 # Use a double $ so make ignores it.
1573 test "$program_suffix" != NONE &&
1574 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1575 # Double any \ or $. echo might interpret backslashes.
1576 # By default was `s,x,x', remove it if useless.
1577 cat <<\_ACEOF >conftest.sed
1578 s/[\\$]/&&/g;s/;s,x,x,$//
1579 _ACEOF
1580 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1581 rm conftest.sed
1582
1583 # expand $ac_aux_dir to an absolute path
1584 am_aux_dir=`cd $ac_aux_dir && pwd`
1585
1586 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1587 # Use eval to expand $SHELL
1588 if eval "$MISSING --run true"; then
1589 am_missing_run="$MISSING --run "
1590 else
1591 am_missing_run=
1592 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1593 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1594 fi
1595
1596 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1597 # We used to keeping the `.' as first argument, in order to
1598 # allow $(mkdir_p) to be used without argument. As in
1599 # $(mkdir_p) $(somedir)
1600 # where $(somedir) is conditionally defined. However this is wrong
1601 # for two reasons:
1602 # 1. if the package is installed by a user who cannot write `.'
1603 # make install will fail,
1604 # 2. the above comment should most certainly read
1605 # $(mkdir_p) $(DESTDIR)$(somedir)
1606 # so it does not work when $(somedir) is undefined and
1607 # $(DESTDIR) is not.
1608 # To support the latter case, we have to write
1609 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1610 # so the `.' trick is pointless.
1611 mkdir_p='mkdir -p --'
1612 else
1613 # On NextStep and OpenStep, the `mkdir' command does not
1614 # recognize any option. It will interpret all options as
1615 # directories to create, and then abort because `.' already
1616 # exists.
1617 for d in ./-p ./--version;
1618 do
1619 test -d $d && rmdir $d
1620 done
1621 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1622 if test -f "$ac_aux_dir/mkinstalldirs"; then
1623 mkdir_p='$(mkinstalldirs)'
1624 else
1625 mkdir_p='$(install_sh) -d'
1626 fi
1627 fi
1628
1629 for ac_prog in gawk mawk nawk awk
1630 do
1631 # Extract the first word of "$ac_prog", so it can be a program name with args.
1632 set dummy $ac_prog; ac_word=$2
1633 echo "$as_me:$LINENO: checking for $ac_word" >&5
1634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1635 if test "${ac_cv_prog_AWK+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 else
1638 if test -n "$AWK"; then
1639 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1640 else
1641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1642 for as_dir in $PATH
1643 do
1644 IFS=$as_save_IFS
1645 test -z "$as_dir" && as_dir=.
1646 for ac_exec_ext in '' $ac_executable_extensions; do
1647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1648 ac_cv_prog_AWK="$ac_prog"
1649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1650 break 2
1651 fi
1652 done
1653 done
1654
1655 fi
1656 fi
1657 AWK=$ac_cv_prog_AWK
1658 if test -n "$AWK"; then
1659 echo "$as_me:$LINENO: result: $AWK" >&5
1660 echo "${ECHO_T}$AWK" >&6
1661 else
1662 echo "$as_me:$LINENO: result: no" >&5
1663 echo "${ECHO_T}no" >&6
1664 fi
1665
1666 test -n "$AWK" && break
1667 done
1668
1669 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1670 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1671 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1672 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1674 else
1675 cat >conftest.make <<\_ACEOF
1676 all:
1677 @echo 'ac_maketemp="$(MAKE)"'
1678 _ACEOF
1679 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1680 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1681 if test -n "$ac_maketemp"; then
1682 eval ac_cv_prog_make_${ac_make}_set=yes
1683 else
1684 eval ac_cv_prog_make_${ac_make}_set=no
1685 fi
1686 rm -f conftest.make
1687 fi
1688 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1689 echo "$as_me:$LINENO: result: yes" >&5
1690 echo "${ECHO_T}yes" >&6
1691 SET_MAKE=
1692 else
1693 echo "$as_me:$LINENO: result: no" >&5
1694 echo "${ECHO_T}no" >&6
1695 SET_MAKE="MAKE=${MAKE-make}"
1696 fi
1697
1698 rm -rf .tst 2>/dev/null
1699 mkdir .tst 2>/dev/null
1700 if test -d .tst; then
1701 am__leading_dot=.
1702 else
1703 am__leading_dot=_
1704 fi
1705 rmdir .tst 2>/dev/null
1706
1707
1708
1709
1710 # AC_MSG_NOTICE([Beginning automake initialisation.])
1711 # Stuff for automake
1712 # test to see if srcdir already configured
1713 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1714 test -f $srcdir/config.status; then
1715 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1716 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1717 { (exit 1); exit 1; }; }
1718 fi
1719
1720 # test whether we have cygpath
1721 if test -z "$CYGPATH_W"; then
1722 if (cygpath --version) >/dev/null 2>/dev/null; then
1723 CYGPATH_W='cygpath -w'
1724 else
1725 CYGPATH_W=echo
1726 fi
1727 fi
1728
1729
1730 # Define the identity of the package.
1731 PACKAGE='datasample'
1732 VERSION='1.2'
1733
1734
1735 cat >>confdefs.h <<_ACEOF
1736 #define PACKAGE "$PACKAGE"
1737 _ACEOF
1738
1739
1740 cat >>confdefs.h <<_ACEOF
1741 #define VERSION "$VERSION"
1742 _ACEOF
1743
1744 # Some tools Automake needs.
1745
1746 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1747
1748
1749 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1750
1751
1752 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1753
1754
1755 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1756
1757
1758 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1759
1760 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1761
1762 # Installed binaries are usually stripped using `strip' when the user
1763 # run `make install-strip'. However `strip' might not be the right
1764 # tool to use in cross-compilation environments, therefore Automake
1765 # will honor the `STRIP' environment variable to overrule this program.
1766 if test "$cross_compiling" != no; then
1767 if test -n "$ac_tool_prefix"; then
1768 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1769 set dummy ${ac_tool_prefix}strip; ac_word=$2
1770 echo "$as_me:$LINENO: checking for $ac_word" >&5
1771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1772 if test "${ac_cv_prog_STRIP+set}" = set; then
1773 echo $ECHO_N "(cached) $ECHO_C" >&6
1774 else
1775 if test -n "$STRIP"; then
1776 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1777 else
1778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779 for as_dir in $PATH
1780 do
1781 IFS=$as_save_IFS
1782 test -z "$as_dir" && as_dir=.
1783 for ac_exec_ext in '' $ac_executable_extensions; do
1784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1785 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1787 break 2
1788 fi
1789 done
1790 done
1791
1792 fi
1793 fi
1794 STRIP=$ac_cv_prog_STRIP
1795 if test -n "$STRIP"; then
1796 echo "$as_me:$LINENO: result: $STRIP" >&5
1797 echo "${ECHO_T}$STRIP" >&6
1798 else
1799 echo "$as_me:$LINENO: result: no" >&5
1800 echo "${ECHO_T}no" >&6
1801 fi
1802
1803 fi
1804 if test -z "$ac_cv_prog_STRIP"; then
1805 ac_ct_STRIP=$STRIP
1806 # Extract the first word of "strip", so it can be a program name with args.
1807 set dummy strip; ac_word=$2
1808 echo "$as_me:$LINENO: checking for $ac_word" >&5
1809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1810 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1811 echo $ECHO_N "(cached) $ECHO_C" >&6
1812 else
1813 if test -n "$ac_ct_STRIP"; then
1814 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1815 else
1816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1817 for as_dir in $PATH
1818 do
1819 IFS=$as_save_IFS
1820 test -z "$as_dir" && as_dir=.
1821 for ac_exec_ext in '' $ac_executable_extensions; do
1822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1823 ac_cv_prog_ac_ct_STRIP="strip"
1824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1825 break 2
1826 fi
1827 done
1828 done
1829
1830 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1831 fi
1832 fi
1833 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1834 if test -n "$ac_ct_STRIP"; then
1835 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1836 echo "${ECHO_T}$ac_ct_STRIP" >&6
1837 else
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1840 fi
1841
1842 STRIP=$ac_ct_STRIP
1843 else
1844 STRIP="$ac_cv_prog_STRIP"
1845 fi
1846
1847 fi
1848 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1849
1850 # We need awk for the "check" target. The system "awk" is bad on
1851 # some platforms.
1852 # Always define AMTAR for backward compatibility.
1853
1854 AMTAR=${AMTAR-"${am_missing_run}tar"}
1855
1856 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1857
1858
1859
1860
1861
1862 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1863 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1864 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1865 if test "${enable_maintainer_mode+set}" = set; then
1866 enableval="$enable_maintainer_mode"
1867 USE_MAINTAINER_MODE=$enableval
1868 else
1869 USE_MAINTAINER_MODE=no
1870 fi;
1871 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1872 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1873
1874
1875 if test $USE_MAINTAINER_MODE = yes; then
1876 MAINTAINER_MODE_TRUE=
1877 MAINTAINER_MODE_FALSE='#'
1878 else
1879 MAINTAINER_MODE_TRUE='#'
1880 MAINTAINER_MODE_FALSE=
1881 fi
1882
1883 MAINT=$MAINTAINER_MODE_TRUE
1884
1885
1886
1887 coin_have_externals=no
1888 if test "$enable_maintainer_mode" = yes; then
1889
1890 # If maintainer mode is chosen, we make sure that the correct versions
1891 # of the tools are used, and that we know where libtool.m4 is (to
1892 # recreate acinclude.m4)
1893
1894
1895 LIBTOOLM4=
1896 # Normally, $HOME
1897 AUTOTOOLS_DFLT=$HOME
1898
1899 echo "$as_me:$LINENO: checking whether we are using the correct autotools" >&5
1900 echo $ECHO_N "checking whether we are using the correct autotools... $ECHO_C" >&6
1901 if test "${ac_cv_use_correct_autotools+set}" = set; then
1902 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 else
1904 ac_cv_use_correct_autotools=check
1905 fi
1906 echo "$as_me:$LINENO: result: $ac_cv_use_correct_autotools" >&5
1907 echo "${ECHO_T}$ac_cv_use_correct_autotools" >&6
1908
1909 if test $ac_cv_use_correct_autotools = check; then
1910 ac_cv_use_correct_autotools=yes
1911 # Check if we have autoconf
1912 # Extract the first word of "autoconf", so it can be a program name with args.
1913 set dummy autoconf; ac_word=$2
1914 echo "$as_me:$LINENO: checking for $ac_word" >&5
1915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1916 if test "${ac_cv_prog_have_autoconf+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 else
1919 if test -n "$have_autoconf"; then
1920 ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test.
1921 else
1922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1923 for as_dir in $PATH
1924 do
1925 IFS=$as_save_IFS
1926 test -z "$as_dir" && as_dir=.
1927 for ac_exec_ext in '' $ac_executable_extensions; do
1928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1929 ac_cv_prog_have_autoconf="yes"
1930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1931 break 2
1932 fi
1933 done
1934 done
1935
1936 test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no"
1937 fi
1938 fi
1939 have_autoconf=$ac_cv_prog_have_autoconf
1940 if test -n "$have_autoconf"; then
1941 echo "$as_me:$LINENO: result: $have_autoconf" >&5
1942 echo "${ECHO_T}$have_autoconf" >&6
1943 else
1944 echo "$as_me:$LINENO: result: no" >&5
1945 echo "${ECHO_T}no" >&6
1946 fi
1947
1948 if test $have_autoconf = no; then
1949 { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&5
1950 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&2;}
1951 { (exit 1); exit 1; }; }
1952 fi
1953
1954 # Check whether autoconf is the correct version
1955 correct_version='2.59'
1956 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'`
1957 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of autoconf" >&5
1958 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of autoconf... $ECHO_C" >&6
1959 autoconf --version > confauto.out 2>&1
1960 if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
1961 echo "$as_me:$LINENO: result: yes" >&5
1962 echo "${ECHO_T}yes" >&6
1963 else
1964 rm -f confauto.out
1965 echo "$as_me:$LINENO: result: no" >&5
1966 echo "${ECHO_T}no" >&6
1967 { { echo "$as_me:$LINENO: error: You don't have the correct version of autoconf as the first one in your path." >&5
1968 echo "$as_me: error: You don't have the correct version of autoconf as the first one in your path." >&2;}
1969 { (exit 1); exit 1; }; }
1970 fi
1971 rm -f confauto.out
1972
1973 # Check if the executable autoconf is picked up from the correct location
1974 echo "$as_me:$LINENO: checking whether autoconf is coming from the correct location" >&5
1975 echo $ECHO_N "checking whether autoconf is coming from the correct location... $ECHO_C" >&6
1976 autoconf_dir=`which autoconf | sed -e 's=/autoconf=='`
1977 autoconf_dir=`cd $autoconf_dir; pwd`
1978 if test x$AUTOTOOLS_DIR = x; then
1979 want_dir=$AUTOTOOLS_DFLT/bin
1980 else
1981 want_dir=$AUTOTOOLS_DIR/bin
1982 fi
1983 if test $autoconf_dir = `cd $want_dir; pwd`; then
1984 echo "$as_me:$LINENO: result: yes" >&5
1985 echo "${ECHO_T}yes" >&6
1986 else
1987 rm -f confauto.out
1988 echo "$as_me:$LINENO: result: no" >&5
1989 echo "${ECHO_T}no" >&6
1990 { { echo "$as_me:$LINENO: error: The autoconf executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&5
1991 echo "$as_me: error: The autoconf executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&2;}
1992 { (exit 1); exit 1; }; }
1993 fi
1994
1995 # Check if we have automake
1996 # Extract the first word of "automake", so it can be a program name with args.
1997 set dummy automake; ac_word=$2
1998 echo "$as_me:$LINENO: checking for $ac_word" >&5
1999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2000 if test "${ac_cv_prog_have_automake+set}" = set; then
2001 echo $ECHO_N "(cached) $ECHO_C" >&6
2002 else
2003 if test -n "$have_automake"; then
2004 ac_cv_prog_have_automake="$have_automake" # Let the user override the test.
2005 else
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007 for as_dir in $PATH
2008 do
2009 IFS=$as_save_IFS
2010 test -z "$as_dir" && as_dir=.
2011 for ac_exec_ext in '' $ac_executable_extensions; do
2012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2013 ac_cv_prog_have_automake="yes"
2014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2015 break 2
2016 fi
2017 done
2018 done
2019
2020 test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no"
2021 fi
2022 fi
2023 have_automake=$ac_cv_prog_have_automake
2024 if test -n "$have_automake"; then
2025 echo "$as_me:$LINENO: result: $have_automake" >&5
2026 echo "${ECHO_T}$have_automake" >&6
2027 else
2028 echo "$as_me:$LINENO: result: no" >&5
2029 echo "${ECHO_T}no" >&6
2030 fi
2031
2032 if test $have_automake = no; then
2033 { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5
2034 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;}
2035 { (exit 1); exit 1; }; }
2036 fi
2037
2038 # Check whether automake is the correct version
2039 correct_version='1.9.6'
2040 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'`
2041 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5
2042 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6
2043 automake --version > confauto.out 2>&1
2044 if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
2045 echo "$as_me:$LINENO: result: yes" >&5
2046 echo "${ECHO_T}yes" >&6
2047 else
2048 rm -f confauto.out
2049 echo "$as_me:$LINENO: result: no" >&5
2050 echo "${ECHO_T}no" >&6
2051 { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5
2052 echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;}
2053 { (exit 1); exit 1; }; }
2054 fi
2055 rm -f confauto.out
2056
2057 # Check if the executable automake is picked up from the correct location
2058 echo "$as_me:$LINENO: checking whether automake is coming from the correct location" >&5
2059 echo $ECHO_N "checking whether automake is coming from the correct location... $ECHO_C" >&6
2060 automake_dir=`which automake | sed -e 's=/automake=='`
2061 automake_dir=`cd $automake_dir; pwd`
2062 if test x$AUTOTOOLS_DIR = x; then
2063 want_dir=$AUTOTOOLS_DFLT/bin
2064 else
2065 want_dir=$AUTOTOOLS_DIR/bin
2066 fi
2067 if test $automake_dir = `cd $want_dir; pwd`; then
2068 echo "$as_me:$LINENO: result: yes" >&5
2069 echo "${ECHO_T}yes" >&6
2070 else
2071 rm -f confauto.out
2072 echo "$as_me:$LINENO: result: no" >&5
2073 echo "${ECHO_T}no" >&6
2074 { { echo "$as_me:$LINENO: error: The automake executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&5
2075 echo "$as_me: error: The automake executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&2;}
2076 { (exit 1); exit 1; }; }
2077 fi
2078
2079 # Check if this is the correct version of libtool (with escaped dots)
2080 if test x$AUTOTOOLS_DIR = x; then
2081 want_dir=$AUTOTOOLS_DFLT/share
2082 else
2083 want_dir=$AUTOTOOLS_DIR/share
2084 fi
2085 correct_version='1.5.22'
2086 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'`
2087 if test -r $want_dir/libtool/ltmain.sh; then
2088 have_ltmain=yes
2089 :
2090 else
2091 have_ltmain=no
2092 :
2093 fi
2094
2095 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5
2096 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6
2097 if test $have_ltmain = yes; then
2098 if $EGREP $grep_version $want_dir/libtool/ltmain.sh >/dev/null 2>&1; then
2099 echo "$as_me:$LINENO: result: yes" >&5
2100 echo "${ECHO_T}yes" >&6
2101 else
2102 echo "$as_me:$LINENO: result: no" >&5
2103 echo "${ECHO_T}no" >&6
2104 { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5
2105 echo "$as_me: error: You don't have the correct version of libtool." >&2;}
2106 { (exit 1); exit 1; }; }
2107 fi
2108 else
2109 echo "$as_me:$LINENO: result: no" >&5
2110 echo "${ECHO_T}no" >&6
2111 { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5
2112 echo "$as_me: error: I cannot find the ltmain.sh file." >&2;}
2113 { (exit 1); exit 1; }; }
2114 fi
2115 fi
2116
2117 # Check if we can find the libtool file
2118 if test x$AUTOTOOLS_DIR = x; then
2119 want_dir=$AUTOTOOLS_DFLT/share
2120 else
2121 want_dir=$AUTOTOOLS_DIR/share
2122 fi
2123 if test -r $want_dir/aclocal/libtool.m4; then
2124 LIBTOOLM4="$want_dir/aclocal/libtool.m4"
2125 :
2126 else
2127 { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
2128 echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
2129 { (exit 1); exit 1; }; }
2130 :
2131 fi
2132
2133
2134 # Check if we have an Dependencies file
2135 if test -r $srcdir/Dependencies; then
2136 coin_have_externals=yes
2137 fi
2138 # Check if subversion is installed and understands https
2139 # Extract the first word of "svn", so it can be a program name with args.
2140 set dummy svn; ac_word=$2
2141 echo "$as_me:$LINENO: checking for $ac_word" >&5
2142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2143 if test "${ac_cv_prog_have_svn+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 else
2146 if test -n "$have_svn"; then
2147 ac_cv_prog_have_svn="$have_svn" # Let the user override the test.
2148 else
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150 for as_dir in $PATH
2151 do
2152 IFS=$as_save_IFS
2153 test -z "$as_dir" && as_dir=.
2154 for ac_exec_ext in '' $ac_executable_extensions; do
2155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2156 ac_cv_prog_have_svn="yes"
2157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2158 break 2
2159 fi
2160 done
2161 done
2162
2163 test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no"
2164 fi
2165 fi
2166 have_svn=$ac_cv_prog_have_svn
2167 if test -n "$have_svn"; then
2168 echo "$as_me:$LINENO: result: $have_svn" >&5
2169 echo "${ECHO_T}$have_svn" >&6
2170 else
2171 echo "$as_me:$LINENO: result: no" >&5
2172 echo "${ECHO_T}no" >&6
2173 fi
2174
2175 if test x$have_svn = xyes; then
2176 echo "$as_me:$LINENO: checking whether svn understands https" >&5
2177 echo $ECHO_N "checking whether svn understands https... $ECHO_C" >&6
2178 if test "${ac_cv_svn_understands_https+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 else
2181 svn --version > confauto.out 2>&1
2182 if $EGREP https confauto.out >/dev/null 2>&1; then
2183 ac_cv_svn_understands_https=yes
2184 else
2185 ac_cv_svn_understands_https=no
2186 have_svn=no
2187 ac_cv_prog_have_svn=no
2188 fi
2189 rm -f confauto.out
2190 fi
2191 echo "$as_me:$LINENO: result: $ac_cv_svn_understands_https" >&5
2192 echo "${ECHO_T}$ac_cv_svn_understands_https" >&6
2193 fi
2194
2195 # Find the location of the BuildTools directory
2196 BUILDTOOLSDIR=
2197 if test -r $srcdir/BuildTools/coin.m4; then
2198 BUILDTOOLSDIR=$srcdir/BuildTools
2199 elif test -r $srcdir/../BuildTools/coin.m4; then
2200 BUILDTOOLSDIR=$srcdir/../BuildTools
2201 elif test -r $srcdir/../../BuildTools/coin.m4; then
2202 BUILDTOOLSDIR=$srcdir/../../BuildTools
2203 elif test -r $srcdir/../../../BuildTools/coin.m4; then
2204 BUILDTOOLSDIR=$srcdir/../../../BuildTools
2205 else
2206 { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
2207 echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
2208 { (exit better disable maintainer mode.); exit better disable maintainer mode.; }; }
2209 fi
2210
2211
2212 # for running automake by make, we need to have Makemain.inc available at the place where it usually can be found during run_autotools
2213 if test "$BUILDTOOLSDIR" != "$srcdir/BuildTools" ; then
2214 $LN_S `cd $BUILDTOOLSDIR; pwd` "$srcdir/BuildTools"
2215 fi
2216
2217 # The following variable is set to the name of the directory where
2218 # the autotool scripts are located
2219
2220 AUX_DIR=$ac_aux_dir
2221 fi
2222
2223 # helpful variable for the base directory of this package
2224 abs_source_dir=`cd $srcdir; pwd`
2225
2226
2227 # Stuff for example Makefiles
2228 if test x$prefix = xNONE; then
2229 full_prefix=$ac_default_prefix
2230 else
2231 full_prefix=$prefix
2232 fi
2233
2234
2235 abs_lib_dir=$full_prefix/lib
2236
2237 abs_include_dir=$full_prefix/include
2238
2239 abs_bin_dir=$full_prefix/bin
2240
2241
2242
2243 if test $coin_have_externals = yes && test x$have_svn = xyes; then
2244 HAVE_EXTERNALS_TRUE=
2245 HAVE_EXTERNALS_FALSE='#'
2246 else
2247 HAVE_EXTERNALS_TRUE='#'
2248 HAVE_EXTERNALS_FALSE=
2249 fi
2250
2251
2252 # AC_MSG_NOTICE([End automake initialisation.])
2253
2254
2255
2256 #############################################################################
2257 #Find out what the data files are and create links if this is a VPATH config#
2258 #############################################################################
2259
2260
2261 echo "$as_me:$LINENO: checking whether this is a VPATH configuration" >&5
2262 echo $ECHO_N "checking whether this is a VPATH configuration... $ECHO_C" >&6
2263 if test `cd $srcdir; pwd` != `pwd`; then
2264 coin_vpath_config=yes;
2265 else
2266 coin_vpath_config=no;
2267 fi
2268 echo "$as_me:$LINENO: result: $coin_vpath_config" >&5
2269 echo "${ECHO_T}$coin_vpath_config" >&6
2270
2271 # Make sure we can run config.sub.
2272 $ac_config_sub sun4 >/dev/null 2>&1 ||
2273 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2274 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2275 { (exit 1); exit 1; }; }
2276
2277 echo "$as_me:$LINENO: checking build system type" >&5
2278 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2279 if test "${ac_cv_build+set}" = set; then
2280 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 else
2282 ac_cv_build_alias=$build_alias
2283 test -z "$ac_cv_build_alias" &&
2284 ac_cv_build_alias=`$ac_config_guess`
2285 test -z "$ac_cv_build_alias" &&
2286 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2287 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2288 { (exit 1); exit 1; }; }
2289 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2290 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2291 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2292 { (exit 1); exit 1; }; }
2293
2294 fi
2295 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2296 echo "${ECHO_T}$ac_cv_build" >&6
2297 build=$ac_cv_build
2298 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2299 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2300 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2301
2302
2303
2304
2305 # for backward compatibility
2306 # Check whether --enable-doscompile or --disable-doscompile was given.
2307 if test "${enable_doscompile+set}" = set; then
2308 enableval="$enable_doscompile"
2309 enable_doscompile=$enableval
2310 else
2311 enable_doscompile=no
2312 fi;
2313
2314 # Check whether --enable-msvc or --disable-msvc was given.
2315 if test "${enable_msvc+set}" = set; then
2316 enableval="$enable_msvc"
2317 enable_msvc=$enableval
2318 else
2319 enable_msvc=no
2320 if test "$enable_doscompile" = msvc ; then
2321 enable_msvc=yes
2322 elif test "$enable_doscompile" != no ; then
2323 { { echo "$as_me:$LINENO: error: --enable-doscompile=$enable_doscompile not supported anymore." >&5
2324 echo "$as_me: error: --enable-doscompile=$enable_doscompile not supported anymore." >&2;}
2325 { (exit 1); exit 1; }; }
2326 fi
2327
2328 fi;
2329
2330 if test "$enable_msvc" = MD; then
2331 enable_shared=yes
2332 enable_msvc=yes
2333 fi
2334
2335 if test "$enable_msvc" = yes; then
2336 case $build in
2337 *-cygwin* | *-mingw*) ;;
2338 *) { { echo "$as_me:$LINENO: error: --enable-msvc option makes sense only under Cygwin or MinGW" >&5
2339 echo "$as_me: error: --enable-msvc option makes sense only under Cygwin or MinGW" >&2;}
2340 { (exit 1); exit 1; }; } ;;
2341 esac
2342 fi
2343
2344
2345
2346
2347
2348 files=`cd $srcdir; ls *.mps`
2349 # We need to do the following loop to make sure that are no newlines
2350 # in the variable
2351 for file in $files; do
2352 EXAMPLE_FILES="$EXAMPLE_FILES $file"
2353 done
2354 if test $coin_vpath_config = yes; then
2355 lnkcmd=
2356 if test "$enable_msvc" = yes; then
2357 lnkcmd=cp
2358 fi
2359 case "$CC" in
2360 clang* ) ;;
2361 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
2362 lnkcmd=cp ;;
2363 esac
2364 if test "x$lnkcmd" = xcp; then
2365 { echo "$as_me:$LINENO: Copying example files (*.mps)" >&5
2366 echo "$as_me: Copying example files (*.mps)" >&6;}
2367 else
2368 { echo "$as_me:$LINENO: Creating links to the example files (*.mps)" >&5
2369 echo "$as_me: Creating links to the example files (*.mps)" >&6;}
2370 lnkcmd="$LN_S"
2371 fi
2372 for file in $EXAMPLE_FILES; do
2373 rm -f $file
2374 $lnkcmd $srcdir/$file $file
2375 done
2376 EXAMPLE_CLEAN_FILES="$EXAMPLE_CLEAN_FILES *.mps"
2377 else
2378 EXAMPLE_CLEAN_FILES="$EXAMPLE_CLEAN_FILES"
2379 fi
2380
2381 # In case there are compressed files, we create a variable with the
2382 # uncompressed names
2383 EXAMPLE_UNCOMPRESSED_FILES=
2384 for file in $EXAMPLE_FILES; do
2385 case $file in
2386 *.gz)
2387 EXAMPLE_UNCOMPRESSED_FILES="$EXAMPLE_UNCOMPRESSED_FILES `echo $file | sed -e s/.gz//`"
2388 ;;
2389 esac
2390 done
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400 files=`cd $srcdir; ls *.lp`
2401 # We need to do the following loop to make sure that are no newlines
2402 # in the variable
2403 for file in $files; do
2404 EXAMPLE_FILES="$EXAMPLE_FILES $file"
2405 done
2406 if test $coin_vpath_config = yes; then
2407 lnkcmd=
2408 if test "$enable_msvc" = yes; then
2409 lnkcmd=cp
2410 fi
2411 case "$CC" in
2412 clang* ) ;;
2413 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
2414 lnkcmd=cp ;;
2415 esac
2416 if test "x$lnkcmd" = xcp; then
2417 { echo "$as_me:$LINENO: Copying example files (*.lp)" >&5
2418 echo "$as_me: Copying example files (*.lp)" >&6;}
2419 else
2420 { echo "$as_me:$LINENO: Creating links to the example files (*.lp)" >&5
2421 echo "$as_me: Creating links to the example files (*.lp)" >&6;}
2422 lnkcmd="$LN_S"
2423 fi
2424 for file in $EXAMPLE_FILES; do
2425 rm -f $file
2426 $lnkcmd $srcdir/$file $file
2427 done
2428 EXAMPLE_CLEAN_FILES="$EXAMPLE_CLEAN_FILES *.lp"
2429 else
2430 EXAMPLE_CLEAN_FILES="$EXAMPLE_CLEAN_FILES"
2431 fi
2432
2433 # In case there are compressed files, we create a variable with the
2434 # uncompressed names
2435 EXAMPLE_UNCOMPRESSED_FILES=
2436 for file in $EXAMPLE_FILES; do
2437 case $file in
2438 *.gz)
2439 EXAMPLE_UNCOMPRESSED_FILES="$EXAMPLE_UNCOMPRESSED_FILES `echo $file | sed -e s/.gz//`"
2440 ;;
2441 esac
2442 done
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452 files=`cd $srcdir; ls *.block`
2453 # We need to do the following loop to make sure that are no newlines
2454 # in the variable
2455 for file in $files; do
2456 EXAMPLE_FILES="$EXAMPLE_FILES $file"
2457 done
2458 if test $coin_vpath_config = yes; then
2459 lnkcmd=
2460 if test "$enable_msvc" = yes; then
2461 lnkcmd=cp
2462 fi
2463 case "$CC" in
2464 clang* ) ;;
2465 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
2466 lnkcmd=cp ;;
2467 esac
2468 if test "x$lnkcmd" = xcp; then
2469 { echo "$as_me:$LINENO: Copying example files (*.block)" >&5
2470 echo "$as_me: Copying example files (*.block)" >&6;}
2471 else
2472 { echo "$as_me:$LINENO: Creating links to the example files (*.block)" >&5
2473 echo "$as_me: Creating links to the example files (*.block)" >&6;}
2474 lnkcmd="$LN_S"
2475 fi
2476 for file in $EXAMPLE_FILES; do
2477 rm -f $file
2478 $lnkcmd $srcdir/$file $file
2479 done
2480 EXAMPLE_CLEAN_FILES="$EXAMPLE_CLEAN_FILES *.block"
2481 else
2482 EXAMPLE_CLEAN_FILES="$EXAMPLE_CLEAN_FILES"
2483 fi
2484
2485 # In case there are compressed files, we create a variable with the
2486 # uncompressed names
2487 EXAMPLE_UNCOMPRESSED_FILES=
2488 for file in $EXAMPLE_FILES; do
2489 case $file in
2490 *.gz)
2491 EXAMPLE_UNCOMPRESSED_FILES="$EXAMPLE_UNCOMPRESSED_FILES `echo $file | sed -e s/.gz//`"
2492 ;;
2493 esac
2494 done
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504 files=`cd $srcdir; ls *.dec`
2505 # We need to do the following loop to make sure that are no newlines
2506 # in the variable
2507 for file in $files; do
2508 EXAMPLE_FILES="$EXAMPLE_FILES $file"
2509 done
2510 if test $coin_vpath_config = yes; then
2511 lnkcmd=
2512 if test "$enable_msvc" = yes; then
2513 lnkcmd=cp
2514 fi
2515 case "$CC" in
2516 clang* ) ;;
2517 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
2518 lnkcmd=cp ;;
2519 esac
2520 if test "x$lnkcmd" = xcp; then
2521 { echo "$as_me:$LINENO: Copying example files (*.dec)" >&5
2522 echo "$as_me: Copying example files (*.dec)" >&6;}
2523 else
2524 { echo "$as_me:$LINENO: Creating links to the example files (*.dec)" >&5
2525 echo "$as_me: Creating links to the example files (*.dec)" >&6;}
2526 lnkcmd="$LN_S"
2527 fi
2528 for file in $EXAMPLE_FILES; do
2529 rm -f $file
2530 $lnkcmd $srcdir/$file $file
2531 done
2532 EXAMPLE_CLEAN_FILES="$EXAMPLE_CLEAN_FILES *.dec"
2533 else
2534 EXAMPLE_CLEAN_FILES="$EXAMPLE_CLEAN_FILES"
2535 fi
2536
2537 # In case there are compressed files, we create a variable with the
2538 # uncompressed names
2539 EXAMPLE_UNCOMPRESSED_FILES=
2540 for file in $EXAMPLE_FILES; do
2541 case $file in
2542 *.gz)
2543 EXAMPLE_UNCOMPRESSED_FILES="$EXAMPLE_UNCOMPRESSED_FILES `echo $file | sed -e s/.gz//`"
2544 ;;
2545 esac
2546 done
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556 files=`cd $srcdir; ls input.130`
2557 # We need to do the following loop to make sure that are no newlines
2558 # in the variable
2559 for file in $files; do
2560 EXAMPLE_FILES="$EXAMPLE_FILES $file"
2561 done
2562 if test $coin_vpath_config = yes; then
2563 lnkcmd=
2564 if test "$enable_msvc" = yes; then
2565 lnkcmd=cp
2566 fi
2567 case "$CC" in
2568 clang* ) ;;
2569 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
2570 lnkcmd=cp ;;
2571 esac
2572 if test "x$lnkcmd" = xcp; then
2573 { echo "$as_me:$LINENO: Copying example files (input.130)" >&5
2574 echo "$as_me: Copying example files (input.130)" >&6;}
2575 else
2576 { echo "$as_me:$LINENO: Creating links to the example files (input.130)" >&5
2577 echo "$as_me: Creating links to the example files (input.130)" >&6;}
2578 lnkcmd="$LN_S"
2579 fi
2580 for file in $EXAMPLE_FILES; do
2581 rm -f $file
2582 $lnkcmd $srcdir/$file $file
2583 done
2584 EXAMPLE_CLEAN_FILES="$EXAMPLE_CLEAN_FILES input.130"
2585 else
2586 EXAMPLE_CLEAN_FILES="$EXAMPLE_CLEAN_FILES"
2587 fi
2588
2589 # In case there are compressed files, we create a variable with the
2590 # uncompressed names
2591 EXAMPLE_UNCOMPRESSED_FILES=
2592 for file in $EXAMPLE_FILES; do
2593 case $file in
2594 *.gz)
2595 EXAMPLE_UNCOMPRESSED_FILES="$EXAMPLE_UNCOMPRESSED_FILES `echo $file | sed -e s/.gz//`"
2596 ;;
2597 esac
2598 done
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608 files=`cd $srcdir; ls app0110.* app0110R.* bug.*`
2609 # We need to do the following loop to make sure that are no newlines
2610 # in the variable
2611 for file in $files; do
2612 EXAMPLE_FILES="$EXAMPLE_FILES $file"
2613 done
2614 if test $coin_vpath_config = yes; then
2615 lnkcmd=
2616 if test "$enable_msvc" = yes; then
2617 lnkcmd=cp
2618 fi
2619 case "$CC" in
2620 clang* ) ;;
2621 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
2622 lnkcmd=cp ;;
2623 esac
2624 if test "x$lnkcmd" = xcp; then
2625 { echo "$as_me:$LINENO: Copying example files (app0110.* app0110R.* bug.*)" >&5
2626 echo "$as_me: Copying example files (app0110.* app0110R.* bug.*)" >&6;}
2627 else
2628 { echo "$as_me:$LINENO: Creating links to the example files (app0110.* app0110R.* bug.*)" >&5
2629 echo "$as_me: Creating links to the example files (app0110.* app0110R.* bug.*)" >&6;}
2630 lnkcmd="$LN_S"
2631 fi
2632 for file in $EXAMPLE_FILES; do
2633 rm -f $file
2634 $lnkcmd $srcdir/$file $file
2635 done
2636 EXAMPLE_CLEAN_FILES="$EXAMPLE_CLEAN_FILES app0110.* app0110R.* bug.*"
2637 else
2638 EXAMPLE_CLEAN_FILES="$EXAMPLE_CLEAN_FILES"
2639 fi
2640
2641 # In case there are compressed files, we create a variable with the
2642 # uncompressed names
2643 EXAMPLE_UNCOMPRESSED_FILES=
2644 for file in $EXAMPLE_FILES; do
2645 case $file in
2646 *.gz)
2647 EXAMPLE_UNCOMPRESSED_FILES="$EXAMPLE_UNCOMPRESSED_FILES `echo $file | sed -e s/.gz//`"
2648 ;;
2649 esac
2650 done
2651
2652
2653
2654
2655
2656
2657 ##############################################################################
2658 # Finishing up by writing all the output #
2659 ##############################################################################
2660
2661 ABSBUILDDIR="`pwd`"
2662
2663
2664 # Here list all the files that configure should create (except for the
2665 # configuration header file)
2666 ac_config_files="$ac_config_files Makefile coindatasample.pc coindatasample-uninstalled.pc"
2667
2668
2669 # Finally, we let configure write all the output...
2670
2671
2672
2673
2674 echo "$as_me:$LINENO: checking which command should be used to link input files" >&5
2675 echo $ECHO_N "checking which command should be used to link input files... $ECHO_C" >&6
2676 coin_link_input_cmd="$LN_S"
2677 case "$CC" in
2678 clang* ) ;;
2679 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
2680 coin_link_input_cmd=cp ;;
2681 esac
2682 echo "$as_me:$LINENO: result: $coin_link_input_cmd" >&5
2683 echo "${ECHO_T}$coin_link_input_cmd" >&6
2684
2685
2686
2687 if test x$coin_skip_ac_output != xyes; then
2688
2689 # library extension
2690
2691 case "$CC" in
2692 clang* )
2693 LIBEXT=a ;;
2694 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
2695 LIBEXT=lib ;;
2696 *) LIBEXT=a ;;
2697 esac
2698
2699 # Define VPATH_DISTCLEANFILES to be everything that needs to be
2700 # cleaned for distclean in a vpath configuration
2701
2702 VPATH_DISTCLEANFILES="$coin_vpath_link_files"
2703
2704 # Take out subdirectories if their configuration concluded that they
2705 # don't need to be compiled
2706 if test x"$coin_ac_skip_subdirs" != x; then
2707 new_subdirs=
2708 for i in $subdirs; do
2709 skipme=no
2710 for j in $coin_ac_skip_subdirs; do
2711 if test $i = $j; then
2712 skipme=yes;
2713 fi
2714 done
2715 if test $skipme = no; then
2716 new_subdirs="$new_subdirs $i"
2717 fi
2718 done
2719 subdirs="$new_subdirs"
2720 fi
2721
2722 # need to come before AC_OUTPUT
2723 if test x$coin_projectdir != xyes; then
2724 # write coin_subdirs to a file so that project configuration knows where to find uninstalled projects
2725 echo $coin_subdirs > coin_subdirs.txt
2726 else
2727 # substitute for OBJDIR, needed to setup .pc file for uninstalled project
2728 ABSBUILDDIR="`pwd`"
2729
2730 fi
2731
2732 cat >confcache <<\_ACEOF
2733 # This file is a shell script that caches the results of configure
2734 # tests run on this system so they can be shared between configure
2735 # scripts and configure runs, see configure's option --config-cache.
2736 # It is not useful on other systems. If it contains results you don't
2737 # want to keep, you may remove or edit it.
2738 #
2739 # config.status only pays attention to the cache file if you give it
2740 # the --recheck option to rerun configure.
2741 #
2742 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2743 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2744 # following values.
2745
2746 _ACEOF
2747
2748 # The following way of writing the cache mishandles newlines in values,
2749 # but we know of no workaround that is simple, portable, and efficient.
2750 # So, don't put newlines in cache variables' values.
2751 # Ultrix sh set writes to stderr and can't be redirected directly,
2752 # and sets the high bit in the cache file unless we assign to the vars.
2753 {
2754 (set) 2>&1 |
2755 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2756 *ac_space=\ *)
2757 # `set' does not quote correctly, so add quotes (double-quote
2758 # substitution turns \\\\ into \\, and sed turns \\ into \).
2759 sed -n \
2760 "s/'/'\\\\''/g;
2761 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2762 ;;
2763 *)
2764 # `set' quotes correctly as required by POSIX, so do not add quotes.
2765 sed -n \
2766 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2767 ;;
2768 esac;
2769 } |
2770 sed '
2771 t clear
2772 : clear
2773 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2774 t end
2775 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2776 : end' >>confcache
2777 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2778 if test -w $cache_file; then
2779 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2780 cat confcache >$cache_file
2781 else
2782 echo "not updating unwritable cache $cache_file"
2783 fi
2784 fi
2785 rm -f confcache
2786
2787 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2788 # Let make expand exec_prefix.
2789 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2790
2791 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2792 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2793 # trailing colons and then remove the whole line if VPATH becomes empty
2794 # (actually we leave an empty line to preserve line numbers).
2795 if test "x$srcdir" = x.; then
2796 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2797 s/:*\$(srcdir):*/:/;
2798 s/:*\${srcdir}:*/:/;
2799 s/:*@srcdir@:*/:/;
2800 s/^\([^=]*=[ ]*\):*/\1/;
2801 s/:*$//;
2802 s/^[^=]*=[ ]*$//;
2803 }'
2804 fi
2805
2806 # Transform confdefs.h into DEFS.
2807 # Protect against shell expansion while executing Makefile rules.
2808 # Protect against Makefile macro expansion.
2809 #
2810 # If the first sed substitution is executed (which looks for macros that
2811 # take arguments), then we branch to the quote section. Otherwise,
2812 # look for a macro that doesn't take arguments.
2813 cat >confdef2opt.sed <<\_ACEOF
2814 t clear
2815 : clear
2816 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2817 t quote
2818 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2819 t quote
2820 d
2821 : quote
2822 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2823 s,\[,\\&,g
2824 s,\],\\&,g
2825 s,\$,$$,g
2826 p
2827 _ACEOF
2828 # We use echo to avoid assuming a particular line-breaking character.
2829 # The extra dot is to prevent the shell from consuming trailing
2830 # line-breaks from the sub-command output. A line-break within
2831 # single-quotes doesn't work because, if this script is created in a
2832 # platform that uses two characters for line-breaks (e.g., DOS), tr
2833 # would break.
2834 ac_LF_and_DOT=`echo; echo .`
2835 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2836 rm -f confdef2opt.sed
2837
2838
2839 ac_libobjs=
2840 ac_ltlibobjs=
2841 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2842 # 1. Remove the extension, and $U if already installed.
2843 ac_i=`echo "$ac_i" |
2844 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2845 # 2. Add them.
2846 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2847 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2848 done
2849 LIBOBJS=$ac_libobjs
2850
2851 LTLIBOBJS=$ac_ltlibobjs
2852
2853
2854 if test -z "${ALWAYS_FALSE_TRUE}" && test -z "${ALWAYS_FALSE_FALSE}"; then
2855 { { echo "$as_me:$LINENO: error: conditional \"ALWAYS_FALSE\" was never defined.
2856 Usually this means the macro was only invoked conditionally." >&5
2857 echo "$as_me: error: conditional \"ALWAYS_FALSE\" was never defined.
2858 Usually this means the macro was only invoked conditionally." >&2;}
2859 { (exit 1); exit 1; }; }
2860 fi
2861 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2862 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
2863 Usually this means the macro was only invoked conditionally." >&5
2864 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
2865 Usually this means the macro was only invoked conditionally." >&2;}
2866 { (exit 1); exit 1; }; }
2867 fi
2868 if test -z "${HAVE_EXTERNALS_TRUE}" && test -z "${HAVE_EXTERNALS_FALSE}"; then
2869 { { echo "$as_me:$LINENO: error: conditional \"HAVE_EXTERNALS\" was never defined.
2870 Usually this means the macro was only invoked conditionally." >&5
2871 echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
2872 Usually this means the macro was only invoked conditionally." >&2;}
2873 { (exit 1); exit 1; }; }
2874 fi
2875
2876 : ${CONFIG_STATUS=./config.status}
2877 ac_clean_files_save=$ac_clean_files
2878 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2879 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2880 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2881 cat >$CONFIG_STATUS <<_ACEOF
2882 #! $SHELL
2883 # Generated by $as_me.
2884 # Run this file to recreate the current configuration.
2885 # Compiler output produced by configure, useful for debugging
2886 # configure, is in config.log if it exists.
2887
2888 debug=false
2889 ac_cs_recheck=false
2890 ac_cs_silent=false
2891 SHELL=\${CONFIG_SHELL-$SHELL}
2892 _ACEOF
2893
2894 cat >>$CONFIG_STATUS <<\_ACEOF
2895 ## --------------------- ##
2896 ## M4sh Initialization. ##
2897 ## --------------------- ##
2898
2899 # Be Bourne compatible
2900 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2901 emulate sh
2902 NULLCMD=:
2903 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2904 # is contrary to our usage. Disable this feature.
2905 alias -g '${1+"$@"}'='"$@"'
2906 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2907 set -o posix
2908 fi
2909 DUALCASE=1; export DUALCASE # for MKS sh
2910
2911 # Support unset when possible.
2912 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2913 as_unset=unset
2914 else
2915 as_unset=false
2916 fi
2917
2918
2919 # Work around bugs in pre-3.0 UWIN ksh.
2920 $as_unset ENV MAIL MAILPATH
2921 PS1='$ '
2922 PS2='> '
2923 PS4='+ '
2924
2925 # NLS nuisances.
2926 for as_var in \
2927 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2928 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2929 LC_TELEPHONE LC_TIME
2930 do
2931 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2932 eval $as_var=C; export $as_var
2933 else
2934 $as_unset $as_var
2935 fi
2936 done
2937
2938 # Required to use basename.
2939 if expr a : '\(a\)' >/dev/null 2>&1; then
2940 as_expr=expr
2941 else
2942 as_expr=false
2943 fi
2944
2945 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2946 as_basename=basename
2947 else
2948 as_basename=false
2949 fi
2950
2951
2952 # Name of the executable.
2953 as_me=`$as_basename "$0" ||
2954 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2955 X"$0" : 'X\(//\)$' \| \
2956 X"$0" : 'X\(/\)$' \| \
2957 . : '\(.\)' 2>/dev/null ||
2958 echo X/"$0" |
2959 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2960 /^X\/\(\/\/\)$/{ s//\1/; q; }
2961 /^X\/\(\/\).*/{ s//\1/; q; }
2962 s/.*/./; q'`
2963
2964
2965 # PATH needs CR, and LINENO needs CR and PATH.
2966 # Avoid depending upon Character Ranges.
2967 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2968 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2969 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2970 as_cr_digits='0123456789'
2971 as_cr_alnum=$as_cr_Letters$as_cr_digits
2972
2973 # The user is always right.
2974 if test "${PATH_SEPARATOR+set}" != set; then
2975 echo "#! /bin/sh" >conf$$.sh
2976 echo "exit 0" >>conf$$.sh
2977 chmod +x conf$$.sh
2978 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2979 PATH_SEPARATOR=';'
2980 else
2981 PATH_SEPARATOR=:
2982 fi
2983 rm -f conf$$.sh
2984 fi
2985
2986
2987 as_lineno_1=$LINENO
2988 as_lineno_2=$LINENO
2989 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2990 test "x$as_lineno_1" != "x$as_lineno_2" &&
2991 test "x$as_lineno_3" = "x$as_lineno_2" || {
2992 # Find who we are. Look in the path if we contain no path at all
2993 # relative or not.
2994 case $0 in
2995 *[\\/]* ) as_myself=$0 ;;
2996 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2997 for as_dir in $PATH
2998 do
2999 IFS=$as_save_IFS
3000 test -z "$as_dir" && as_dir=.
3001 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3002 done
3003
3004 ;;
3005 esac
3006 # We did not find ourselves, most probably we were run as `sh COMMAND'
3007 # in which case we are not to be found in the path.
3008 if test "x$as_myself" = x; then
3009 as_myself=$0
3010 fi
3011 if test ! -f "$as_myself"; then
3012 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3013 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3014 { (exit 1); exit 1; }; }
3015 fi
3016 case $CONFIG_SHELL in
3017 '')
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3020 do
3021 IFS=$as_save_IFS
3022 test -z "$as_dir" && as_dir=.
3023 for as_base in sh bash ksh sh5; do
3024 case $as_dir in
3025 /*)
3026 if ("$as_dir/$as_base" -c '
3027 as_lineno_1=$LINENO
3028 as_lineno_2=$LINENO
3029 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3030 test "x$as_lineno_1" != "x$as_lineno_2" &&
3031 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3032 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3033 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3034 CONFIG_SHELL=$as_dir/$as_base
3035 export CONFIG_SHELL
3036 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3037 fi;;
3038 esac
3039 done
3040 done
3041 ;;
3042 esac
3043
3044 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3045 # uniformly replaced by the line number. The first 'sed' inserts a
3046 # line-number line before each line; the second 'sed' does the real
3047 # work. The second script uses 'N' to pair each line-number line
3048 # with the numbered line, and appends trailing '-' during
3049 # substitution so that $LINENO is not a special case at line end.
3050 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3051 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3052 sed '=' <$as_myself |
3053 sed '
3054 N
3055 s,$,-,
3056 : loop
3057 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3058 t loop
3059 s,-$,,
3060 s,^['$as_cr_digits']*\n,,
3061 ' >$as_me.lineno &&
3062 chmod +x $as_me.lineno ||
3063 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3064 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3065 { (exit 1); exit 1; }; }
3066
3067 # Don't try to exec as it changes $[0], causing all sort of problems
3068 # (the dirname of $[0] is not the place where we might find the
3069 # original and so on. Autoconf is especially sensible to this).
3070 . ./$as_me.lineno
3071 # Exit status is that of the last command.
3072 exit
3073 }
3074
3075
3076 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3077 *c*,-n*) ECHO_N= ECHO_C='
3078 ' ECHO_T=' ' ;;
3079 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3080 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3081 esac
3082
3083 if expr a : '\(a\)' >/dev/null 2>&1; then
3084 as_expr=expr
3085 else
3086 as_expr=false
3087 fi
3088
3089 rm -f conf$$ conf$$.exe conf$$.file
3090 echo >conf$$.file
3091 if ln -s conf$$.file conf$$ 2>/dev/null; then
3092 # We could just check for DJGPP; but this test a) works b) is more generic
3093 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3094 if test -f conf$$.exe; then
3095 # Don't use ln at all; we don't have any links
3096 as_ln_s='cp -p'
3097 else
3098 as_ln_s='ln -s'
3099 fi
3100 elif ln conf$$.file conf$$ 2>/dev/null; then
3101 as_ln_s=ln
3102 else
3103 as_ln_s='cp -p'
3104 fi
3105 rm -f conf$$ conf$$.exe conf$$.file
3106
3107 if mkdir -p . 2>/dev/null; then
3108 as_mkdir_p=:
3109 else
3110 test -d ./-p && rmdir ./-p
3111 as_mkdir_p=false
3112 fi
3113
3114 as_executable_p="test -f"
3115
3116 # Sed expression to map a string onto a valid CPP name.
3117 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3118
3119 # Sed expression to map a string onto a valid variable name.
3120 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3121
3122
3123 # IFS
3124 # We need space, tab and new line, in precisely that order.
3125 as_nl='
3126 '
3127 IFS=" $as_nl"
3128
3129 # CDPATH.
3130 $as_unset CDPATH
3131
3132 exec 6>&1
3133
3134 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3135 # report actual input values of CONFIG_FILES etc. instead of their
3136 # values after options handling. Logging --version etc. is OK.
3137 exec 5>>config.log
3138 {
3139 echo
3140 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3141 ## Running $as_me. ##
3142 _ASBOX
3143 } >&5
3144 cat >&5 <<_CSEOF
3145
3146 This file was extended by DataSample $as_me 1.2, which was
3147 generated by GNU Autoconf 2.59. Invocation command line was
3148
3149 CONFIG_FILES = $CONFIG_FILES
3150 CONFIG_HEADERS = $CONFIG_HEADERS
3151 CONFIG_LINKS = $CONFIG_LINKS
3152 CONFIG_COMMANDS = $CONFIG_COMMANDS
3153 $ $0 $@
3154
3155 _CSEOF
3156 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3157 echo >&5
3158 _ACEOF
3159
3160 # Files that config.status was made for.
3161 if test -n "$ac_config_files"; then
3162 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3163 fi
3164
3165 if test -n "$ac_config_headers"; then
3166 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3167 fi
3168
3169 if test -n "$ac_config_links"; then
3170 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3171 fi
3172
3173 if test -n "$ac_config_commands"; then
3174 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3175 fi
3176
3177 cat >>$CONFIG_STATUS <<\_ACEOF
3178
3179 ac_cs_usage="\
3180 \`$as_me' instantiates files from templates according to the
3181 current configuration.
3182
3183 Usage: $0 [OPTIONS] [FILE]...
3184
3185 -h, --help print this help, then exit
3186 -V, --version print version number, then exit
3187 -q, --quiet do not print progress messages
3188 -d, --debug don't remove temporary files
3189 --recheck update $as_me by reconfiguring in the same conditions
3190 --file=FILE[:TEMPLATE]
3191 instantiate the configuration file FILE
3192
3193 Configuration files:
3194 $config_files
3195
3196 Report bugs to <[email protected]>."
3197 _ACEOF
3198
3199 cat >>$CONFIG_STATUS <<_ACEOF
3200 ac_cs_version="\\
3201 DataSample config.status 1.2
3202 configured by $0, generated by GNU Autoconf 2.59,
3203 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3204
3205 Copyright (C) 2003 Free Software Foundation, Inc.
3206 This config.status script is free software; the Free Software Foundation
3207 gives unlimited permission to copy, distribute and modify it."
3208 srcdir=$srcdir
3209 INSTALL="$INSTALL"
3210 _ACEOF
3211
3212 cat >>$CONFIG_STATUS <<\_ACEOF
3213 # If no file are specified by the user, then we need to provide default
3214 # value. By we need to know if files were specified by the user.
3215 ac_need_defaults=:
3216 while test $# != 0
3217 do
3218 case $1 in
3219 --*=*)
3220 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3221 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3222 ac_shift=:
3223 ;;
3224 -*)
3225 ac_option=$1
3226 ac_optarg=$2
3227 ac_shift=shift
3228 ;;
3229 *) # This is not an option, so the user has probably given explicit
3230 # arguments.
3231 ac_option=$1
3232 ac_need_defaults=false;;
3233 esac
3234
3235 case $ac_option in
3236 # Handling of the options.
3237 _ACEOF
3238 cat >>$CONFIG_STATUS <<\_ACEOF
3239 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3240 ac_cs_recheck=: ;;
3241 --version | --vers* | -V )
3242 echo "$ac_cs_version"; exit 0 ;;
3243 --he | --h)
3244 # Conflict between --help and --header
3245 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3246 Try \`$0 --help' for more information." >&5
3247 echo "$as_me: error: ambiguous option: $1
3248 Try \`$0 --help' for more information." >&2;}
3249 { (exit 1); exit 1; }; };;
3250 --help | --hel | -h )
3251 echo "$ac_cs_usage"; exit 0 ;;
3252 --debug | --d* | -d )
3253 debug=: ;;
3254 --file | --fil | --fi | --f )
3255 $ac_shift
3256 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3257 ac_need_defaults=false;;
3258 --header | --heade | --head | --hea )
3259 $ac_shift
3260 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3261 ac_need_defaults=false;;
3262 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3263 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3264 ac_cs_silent=: ;;
3265
3266 # This is an error.
3267 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3268 Try \`$0 --help' for more information." >&5
3269 echo "$as_me: error: unrecognized option: $1
3270 Try \`$0 --help' for more information." >&2;}
3271 { (exit 1); exit 1; }; } ;;
3272
3273 *) ac_config_targets="$ac_config_targets $1" ;;
3274
3275 esac
3276 shift
3277 done
3278
3279 ac_configure_extra_args=
3280
3281 if $ac_cs_silent; then
3282 exec 6>/dev/null
3283 ac_configure_extra_args="$ac_configure_extra_args --silent"
3284 fi
3285
3286 _ACEOF
3287 cat >>$CONFIG_STATUS <<_ACEOF
3288 if \$ac_cs_recheck; then
3289 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3290 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3291 fi
3292
3293 _ACEOF
3294
3295
3296
3297
3298
3299 cat >>$CONFIG_STATUS <<\_ACEOF
3300 for ac_config_target in $ac_config_targets
3301 do
3302 case "$ac_config_target" in
3303 # Handling of arguments.
3304 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3305 "coindatasample.pc" ) CONFIG_FILES="$CONFIG_FILES coindatasample.pc" ;;
3306 "coindatasample-uninstalled.pc" ) CONFIG_FILES="$CONFIG_FILES coindatasample-uninstalled.pc" ;;
3307 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3308 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3309 { (exit 1); exit 1; }; };;
3310 esac
3311 done
3312
3313 # If the user did not use the arguments to specify the items to instantiate,
3314 # then the envvar interface is used. Set only those that are not.
3315 # We use the long form for the default assignment because of an extremely
3316 # bizarre bug on SunOS 4.1.3.
3317 if $ac_need_defaults; then
3318 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3319 fi
3320
3321 # Have a temporary directory for convenience. Make it in the build tree
3322 # simply because there is no reason to put it here, and in addition,
3323 # creating and moving files from /tmp can sometimes cause problems.
3324 # Create a temporary directory, and hook for its removal unless debugging.
3325 $debug ||
3326 {
3327 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3328 trap '{ (exit 1); exit 1; }' 1 2 13 15
3329 }
3330
3331 # Create a (secure) tmp directory for tmp files.
3332
3333 {
3334 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3335 test -n "$tmp" && test -d "$tmp"
3336 } ||
3337 {
3338 tmp=./confstat$$-$RANDOM
3339 (umask 077 && mkdir $tmp)
3340 } ||
3341 {
3342 echo "$me: cannot create a temporary directory in ." >&2
3343 { (exit 1); exit 1; }
3344 }
3345
3346 _ACEOF
3347
3348 cat >>$CONFIG_STATUS <<_ACEOF
3349
3350 #
3351 # CONFIG_FILES section.
3352 #
3353
3354 # No need to generate the scripts if there are no CONFIG_FILES.
3355 # This happens for instance when ./config.status config.h
3356 if test -n "\$CONFIG_FILES"; then
3357 # Protect against being on the right side of a sed subst in config.status.
3358 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3359 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3360 s,@SHELL@,$SHELL,;t t
3361 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3362 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3363 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3364 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3365 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3366 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3367 s,@exec_prefix@,$exec_prefix,;t t
3368 s,@prefix@,$prefix,;t t
3369 s,@program_transform_name@,$program_transform_name,;t t
3370 s,@bindir@,$bindir,;t t
3371 s,@sbindir@,$sbindir,;t t
3372 s,@libexecdir@,$libexecdir,;t t
3373 s,@datadir@,$datadir,;t t
3374 s,@sysconfdir@,$sysconfdir,;t t
3375 s,@sharedstatedir@,$sharedstatedir,;t t
3376 s,@localstatedir@,$localstatedir,;t t
3377 s,@libdir@,$libdir,;t t
3378 s,@includedir@,$includedir,;t t
3379 s,@oldincludedir@,$oldincludedir,;t t
3380 s,@infodir@,$infodir,;t t
3381 s,@mandir@,$mandir,;t t
3382 s,@build_alias@,$build_alias,;t t
3383 s,@host_alias@,$host_alias,;t t
3384 s,@target_alias@,$target_alias,;t t
3385 s,@DEFS@,$DEFS,;t t
3386 s,@ECHO_C@,$ECHO_C,;t t
3387 s,@ECHO_N@,$ECHO_N,;t t
3388 s,@ECHO_T@,$ECHO_T,;t t
3389 s,@LIBS@,$LIBS,;t t
3390 s,@ALWAYS_FALSE_TRUE@,$ALWAYS_FALSE_TRUE,;t t
3391 s,@ALWAYS_FALSE_FALSE@,$ALWAYS_FALSE_FALSE,;t t
3392 s,@have_svnversion@,$have_svnversion,;t t
3393 s,@DATASAMPLE_SVN_REV@,$DATASAMPLE_SVN_REV,;t t
3394 s,@EGREP@,$EGREP,;t t
3395 s,@LN_S@,$LN_S,;t t
3396 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3397 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3398 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3399 s,@CYGPATH_W@,$CYGPATH_W,;t t
3400 s,@PACKAGE@,$PACKAGE,;t t
3401 s,@VERSION@,$VERSION,;t t
3402 s,@ACLOCAL@,$ACLOCAL,;t t
3403 s,@AUTOCONF@,$AUTOCONF,;t t
3404 s,@AUTOMAKE@,$AUTOMAKE,;t t
3405 s,@AUTOHEADER@,$AUTOHEADER,;t t
3406 s,@MAKEINFO@,$MAKEINFO,;t t
3407 s,@install_sh@,$install_sh,;t t
3408 s,@STRIP@,$STRIP,;t t
3409 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3410 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3411 s,@mkdir_p@,$mkdir_p,;t t
3412 s,@AWK@,$AWK,;t t
3413 s,@SET_MAKE@,$SET_MAKE,;t t
3414 s,@am__leading_dot@,$am__leading_dot,;t t
3415 s,@AMTAR@,$AMTAR,;t t
3416 s,@am__tar@,$am__tar,;t t
3417 s,@am__untar@,$am__untar,;t t
3418 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
3419 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
3420 s,@MAINT@,$MAINT,;t t
3421 s,@LIBTOOLM4@,$LIBTOOLM4,;t t
3422 s,@have_autoconf@,$have_autoconf,;t t
3423 s,@have_automake@,$have_automake,;t t
3424 s,@have_svn@,$have_svn,;t t
3425 s,@BUILDTOOLSDIR@,$BUILDTOOLSDIR,;t t
3426 s,@AUX_DIR@,$AUX_DIR,;t t
3427 s,@abs_source_dir@,$abs_source_dir,;t t
3428 s,@abs_lib_dir@,$abs_lib_dir,;t t
3429 s,@abs_include_dir@,$abs_include_dir,;t t
3430 s,@abs_bin_dir@,$abs_bin_dir,;t t
3431 s,@HAVE_EXTERNALS_TRUE@,$HAVE_EXTERNALS_TRUE,;t t
3432 s,@HAVE_EXTERNALS_FALSE@,$HAVE_EXTERNALS_FALSE,;t t
3433 s,@build@,$build,;t t
3434 s,@build_cpu@,$build_cpu,;t t
3435 s,@build_vendor@,$build_vendor,;t t
3436 s,@build_os@,$build_os,;t t
3437 s,@EXAMPLE_UNCOMPRESSED_FILES@,$EXAMPLE_UNCOMPRESSED_FILES,;t t
3438 s,@EXAMPLE_FILES@,$EXAMPLE_FILES,;t t
3439 s,@EXAMPLE_CLEAN_FILES@,$EXAMPLE_CLEAN_FILES,;t t
3440 s,@ABSBUILDDIR@,$ABSBUILDDIR,;t t
3441 s,@LIBEXT@,$LIBEXT,;t t
3442 s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
3443 s,@LIBOBJS@,$LIBOBJS,;t t
3444 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3445 CEOF
3446
3447 _ACEOF
3448
3449 cat >>$CONFIG_STATUS <<\_ACEOF
3450 # Split the substitutions into bite-sized pieces for seds with
3451 # small command number limits, like on Digital OSF/1 and HP-UX.
3452 ac_max_sed_lines=48
3453 ac_sed_frag=1 # Number of current file.
3454 ac_beg=1 # First line for current file.
3455 ac_end=$ac_max_sed_lines # Line after last line for current file.
3456 ac_more_lines=:
3457 ac_sed_cmds=
3458 while $ac_more_lines; do
3459 if test $ac_beg -gt 1; then
3460 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3461 else
3462 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3463 fi
3464 if test ! -s $tmp/subs.frag; then
3465 ac_more_lines=false
3466 else
3467 # The purpose of the label and of the branching condition is to
3468 # speed up the sed processing (if there are no `@' at all, there
3469 # is no need to browse any of the substitutions).
3470 # These are the two extra sed commands mentioned above.
3471 (echo ':t
3472 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3473 if test -z "$ac_sed_cmds"; then
3474 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3475 else
3476 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3477 fi
3478 ac_sed_frag=`expr $ac_sed_frag + 1`
3479 ac_beg=$ac_end
3480 ac_end=`expr $ac_end + $ac_max_sed_lines`
3481 fi
3482 done
3483 if test -z "$ac_sed_cmds"; then
3484 ac_sed_cmds=cat
3485 fi
3486 fi # test -n "$CONFIG_FILES"
3487
3488 _ACEOF
3489 cat >>$CONFIG_STATUS <<\_ACEOF
3490 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3491 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3492 case $ac_file in
3493 - | *:- | *:-:* ) # input from stdin
3494 cat >$tmp/stdin
3495 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3496 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3497 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3498 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3499 * ) ac_file_in=$ac_file.in ;;
3500 esac
3501
3502 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3503 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3504 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3505 X"$ac_file" : 'X\(//\)[^/]' \| \
3506 X"$ac_file" : 'X\(//\)$' \| \
3507 X"$ac_file" : 'X\(/\)' \| \
3508 . : '\(.\)' 2>/dev/null ||
3509 echo X"$ac_file" |
3510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3511 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3512 /^X\(\/\/\)$/{ s//\1/; q; }
3513 /^X\(\/\).*/{ s//\1/; q; }
3514 s/.*/./; q'`
3515 { if $as_mkdir_p; then
3516 mkdir -p "$ac_dir"
3517 else
3518 as_dir="$ac_dir"
3519 as_dirs=
3520 while test ! -d "$as_dir"; do
3521 as_dirs="$as_dir $as_dirs"
3522 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3523 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3524 X"$as_dir" : 'X\(//\)[^/]' \| \
3525 X"$as_dir" : 'X\(//\)$' \| \
3526 X"$as_dir" : 'X\(/\)' \| \
3527 . : '\(.\)' 2>/dev/null ||
3528 echo X"$as_dir" |
3529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3530 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3531 /^X\(\/\/\)$/{ s//\1/; q; }
3532 /^X\(\/\).*/{ s//\1/; q; }
3533 s/.*/./; q'`
3534 done
3535 test ! -n "$as_dirs" || mkdir $as_dirs
3536 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3537 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3538 { (exit 1); exit 1; }; }; }
3539
3540 ac_builddir=.
3541
3542 if test "$ac_dir" != .; then
3543 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3544 # A "../" for each directory in $ac_dir_suffix.
3545 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3546 else
3547 ac_dir_suffix= ac_top_builddir=
3548 fi
3549
3550 case $srcdir in
3551 .) # No --srcdir option. We are building in place.
3552 ac_srcdir=.
3553 if test -z "$ac_top_builddir"; then
3554 ac_top_srcdir=.
3555 else
3556 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3557 fi ;;
3558 [\\/]* | ?:[\\/]* ) # Absolute path.
3559 ac_srcdir=$srcdir$ac_dir_suffix;
3560 ac_top_srcdir=$srcdir ;;
3561 *) # Relative path.
3562 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3563 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3564 esac
3565
3566 # Do not use `cd foo && pwd` to compute absolute paths, because
3567 # the directories may not exist.
3568 case `pwd` in
3569 .) ac_abs_builddir="$ac_dir";;
3570 *)
3571 case "$ac_dir" in
3572 .) ac_abs_builddir=`pwd`;;
3573 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3574 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3575 esac;;
3576 esac
3577 case $ac_abs_builddir in
3578 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3579 *)
3580 case ${ac_top_builddir}. in
3581 .) ac_abs_top_builddir=$ac_abs_builddir;;
3582 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3583 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3584 esac;;
3585 esac
3586 case $ac_abs_builddir in
3587 .) ac_abs_srcdir=$ac_srcdir;;
3588 *)
3589 case $ac_srcdir in
3590 .) ac_abs_srcdir=$ac_abs_builddir;;
3591 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3592 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3593 esac;;
3594 esac
3595 case $ac_abs_builddir in
3596 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3597 *)
3598 case $ac_top_srcdir in
3599 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3600 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3601 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3602 esac;;
3603 esac
3604
3605
3606 case $INSTALL in
3607 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3608 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3609 esac
3610
3611 if test x"$ac_file" != x-; then
3612 { echo "$as_me:$LINENO: creating $ac_file" >&5
3613 echo "$as_me: creating $ac_file" >&6;}
3614 rm -f "$ac_file"
3615 fi
3616 # Let's still pretend it is `configure' which instantiates (i.e., don't
3617 # use $as_me), people would be surprised to read:
3618 # /* config.h. Generated by config.status. */
3619 if test x"$ac_file" = x-; then
3620 configure_input=
3621 else
3622 configure_input="$ac_file. "
3623 fi
3624 configure_input=$configure_input"Generated from `echo $ac_file_in |
3625 sed 's,.*/,,'` by configure."
3626
3627 # First look for the input files in the build tree, otherwise in the
3628 # src tree.
3629 ac_file_inputs=`IFS=:
3630 for f in $ac_file_in; do
3631 case $f in
3632 -) echo $tmp/stdin ;;
3633 [\\/$]*)
3634 # Absolute (can't be DOS-style, as IFS=:)
3635 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3636 echo "$as_me: error: cannot find input file: $f" >&2;}
3637 { (exit 1); exit 1; }; }
3638 echo "$f";;
3639 *) # Relative
3640 if test -f "$f"; then
3641 # Build tree
3642 echo "$f"
3643 elif test -f "$srcdir/$f"; then
3644 # Source tree
3645 echo "$srcdir/$f"
3646 else
3647 # /dev/null tree
3648 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3649 echo "$as_me: error: cannot find input file: $f" >&2;}
3650 { (exit 1); exit 1; }; }
3651 fi;;
3652 esac
3653 done` || { (exit 1); exit 1; }
3654 _ACEOF
3655 cat >>$CONFIG_STATUS <<_ACEOF
3656 sed "$ac_vpsub
3657 $extrasub
3658 _ACEOF
3659 cat >>$CONFIG_STATUS <<\_ACEOF
3660 :t
3661 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3662 s,@configure_input@,$configure_input,;t t
3663 s,@srcdir@,$ac_srcdir,;t t
3664 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3665 s,@top_srcdir@,$ac_top_srcdir,;t t
3666 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3667 s,@builddir@,$ac_builddir,;t t
3668 s,@abs_builddir@,$ac_abs_builddir,;t t
3669 s,@top_builddir@,$ac_top_builddir,;t t
3670 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3671 s,@INSTALL@,$ac_INSTALL,;t t
3672 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3673 rm -f $tmp/stdin
3674 if test x"$ac_file" != x-; then
3675 mv $tmp/out $ac_file
3676 else
3677 cat $tmp/out
3678 rm -f $tmp/out
3679 fi
3680
3681 done
3682 _ACEOF
3683
3684 cat >>$CONFIG_STATUS <<\_ACEOF
3685
3686 { (exit 0); exit 0; }
3687 _ACEOF
3688 chmod +x $CONFIG_STATUS
3689 ac_clean_files=$ac_clean_files_save
3690
3691
3692 # configure is writing to config.log, and then calls config.status.
3693 # config.status does its own redirection, appending to config.log.
3694 # Unfortunately, on DOS this fails, as config.log is still kept open
3695 # by configure, so config.status won't be able to write to it; its
3696 # output is simply discarded. So we exec the FD to /dev/null,
3697 # effectively closing config.log, so it can be properly (re)opened and
3698 # appended to by config.status. When coming back to configure, we
3699 # need to make the FD available again.
3700 if test "$no_create" != yes; then
3701 ac_cs_success=:
3702 ac_config_status_args=
3703 test "$silent" = yes &&
3704 ac_config_status_args="$ac_config_status_args --quiet"
3705 exec 5>/dev/null
3706 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3707 exec 5>>config.log
3708 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3709 # would make configure fail if this is the last instruction.
3710 $ac_cs_success || { (exit 1); exit 1; }
3711 fi
3712
3713
3714 if test x"$coin_vpath_link_files" = x; then : ; else
3715 lnkcmd="$coin_link_input_cmd"
3716 if test "$lnkcmd" = cp; then
3717 { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5
3718 echo "$as_me: Copying data files for VPATH configuration" >&6;}
3719 else
3720 { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
3721 echo "$as_me: Creating VPATH links for data files" >&6;}
3722 fi
3723 for file in $coin_vpath_link_files; do
3724 dir=`(dirname "./$file") 2>/dev/null ||
3725 $as_expr X"./$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3726 X"./$file" : 'X\(//\)[^/]' \| \
3727 X"./$file" : 'X\(//\)$' \| \
3728 X"./$file" : 'X\(/\)' \| \
3729 . : '\(.\)' 2>/dev/null ||
3730 echo X"./$file" |
3731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3732 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3733 /^X\(\/\/\)$/{ s//\1/; q; }
3734 /^X\(\/\).*/{ s//\1/; q; }
3735 s/.*/./; q'`
3736 if test -d $dir; then : ; else
3737 { if $as_mkdir_p; then
3738 mkdir -p $dir
3739 else
3740 as_dir=$dir
3741 as_dirs=
3742 while test ! -d "$as_dir"; do
3743 as_dirs="$as_dir $as_dirs"
3744 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3745 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3746 X"$as_dir" : 'X\(//\)[^/]' \| \
3747 X"$as_dir" : 'X\(//\)$' \| \
3748 X"$as_dir" : 'X\(/\)' \| \
3749 . : '\(.\)' 2>/dev/null ||
3750 echo X"$as_dir" |
3751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3752 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3753 /^X\(\/\/\)$/{ s//\1/; q; }
3754 /^X\(\/\).*/{ s//\1/; q; }
3755 s/.*/./; q'`
3756 done
3757 test ! -n "$as_dirs" || mkdir $as_dirs
3758 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dir" >&5
3759 echo "$as_me: error: cannot create directory $dir" >&2;}
3760 { (exit 1); exit 1; }; }; }
3761
3762 fi
3763 rm -f $file
3764 $lnkcmd $abs_source_dir/$file $file
3765 done
3766 fi
3767
3768 { echo "$as_me:$LINENO: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&5
3769 echo "$as_me: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&6;}
3770 if test x$coin_projectdir = xyes; then
3771 { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
3772 echo "$as_me: Configuration of $PACKAGE_NAME successful" >&6;}
3773 else
3774 { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&5
3775 echo "$as_me: Main configuration of $PACKAGE_NAME successful" >&6;}
3776 fi
3777 else
3778 { echo "$as_me:$LINENO: No configuration of $PACKAGE_NAME necessary" >&5
3779 echo "$as_me: No configuration of $PACKAGE_NAME necessary" >&6;}
3780 fi
3781
3782