1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for DataStochastic 1.1.7.
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
21if 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+"$@"}'='"$@"'
27elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28  set -o posix
29fi
30DUALCASE=1; export DUALCASE # for MKS sh
31
32# Support unset when possible.
33if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34  as_unset=unset
35else
36  as_unset=false
37fi
38
39
40# Work around bugs in pre-3.0 UWIN ksh.
41$as_unset ENV MAIL MAILPATH
42PS1='$ '
43PS2='> '
44PS4='+ '
45
46# NLS nuisances.
47for 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
51do
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
57done
58
59# Required to use basename.
60if expr a : '\(a\)' >/dev/null 2>&1; then
61  as_expr=expr
62else
63  as_expr=false
64fi
65
66if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67  as_basename=basename
68else
69  as_basename=false
70fi
71
72
73# Name of the executable.
74as_me=`$as_basename "$0" ||
75$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
76	 X"$0" : 'X\(//\)$' \| \
77	 X"$0" : 'X\(/\)$' \| \
78	 .     : '\(.\)' 2>/dev/null ||
79echo 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.
88as_cr_letters='abcdefghijklmnopqrstuvwxyz'
89as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
90as_cr_Letters=$as_cr_letters$as_cr_LETTERS
91as_cr_digits='0123456789'
92as_cr_alnum=$as_cr_Letters$as_cr_digits
93
94# The user is always right.
95if 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
105fi
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
118for as_dir in $PATH
119do
120  IFS=$as_save_IFS
121  test -z "$as_dir" && as_dir=.
122  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
123done
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
139for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
140do
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
160done
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
195case `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= ;;
200esac
201
202if expr a : '\(a\)' >/dev/null 2>&1; then
203  as_expr=expr
204else
205  as_expr=false
206fi
207
208rm -f conf$$ conf$$.exe conf$$.file
209echo >conf$$.file
210if 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
219elif ln conf$$.file conf$$ 2>/dev/null; then
220  as_ln_s=ln
221else
222  as_ln_s='cp -p'
223fi
224rm -f conf$$ conf$$.exe conf$$.file
225
226if mkdir -p . 2>/dev/null; then
227  as_mkdir_p=:
228else
229  test -d ./-p && rmdir ./-p
230  as_mkdir_p=false
231fi
232
233as_executable_p="test -f"
234
235# Sed expression to map a string onto a valid CPP name.
236as_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.
239as_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.
244as_nl='
245'
246IFS=" 	$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.
255ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256
257exec 6>&1
258
259#
260# Initializations.
261#
262ac_default_prefix=/usr/local
263ac_config_libobj_dir=.
264cross_compiling=no
265subdirs=
266MFLAGS=
267MAKEFLAGS=
268SHELL=${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.
276PACKAGE_NAME='DataStochastic'
277PACKAGE_TARNAME='datastochastic'
278PACKAGE_VERSION='1.1.7'
279PACKAGE_STRING='DataStochastic 1.1.7'
280PACKAGE_BUGREPORT='https://projects.coin-or.org/BuildTools/'
281
282ac_unique_file="configure.ac"
283ac_default_prefix=`pwd`
284ac_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 DATASTOCHASTIC_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'
285ac_subst_files=''
286
287# Initialize some variables set by options.
288ac_init_help=
289ac_init_version=false
290# The variables have the same names as the options, with
291# dashes changed to underlines.
292cache_file=/dev/null
293exec_prefix=NONE
294no_create=
295no_recursion=
296prefix=NONE
297program_prefix=NONE
298program_suffix=NONE
299program_transform_name=s,x,x,
300silent=
301site=
302srcdir=
303verbose=
304x_includes=NONE
305x_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.
312bindir='${exec_prefix}/bin'
313sbindir='${exec_prefix}/sbin'
314libexecdir='${exec_prefix}/libexec'
315datadir='${prefix}/share'
316sysconfdir='${prefix}/etc'
317sharedstatedir='${prefix}/com'
318localstatedir='${prefix}/var'
319libdir='${exec_prefix}/lib'
320includedir='${prefix}/include'
321oldincludedir='/usr/include'
322infodir='${prefix}/info'
323mandir='${prefix}/man'
324
325ac_prev=
326for ac_option
327do
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
599Try \`$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
622done
623
624if 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; }; }
628fi
629
630# Be sure to have absolute paths.
631for ac_var in exec_prefix prefix
632do
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
639done
640
641# Be sure to have absolute paths.
642for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
643	      localstatedir libdir includedir oldincludedir infodir mandir
644do
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
651done
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.
656build=$build_alias
657host=$host_alias
658target=$target_alias
659
660# FIXME: To remove some day.
661if 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
669fi
670
671ac_tool_prefix=
672test -n "$host_alias" && ac_tool_prefix=$host_alias-
673
674test "$silent" = yes && exec 6>/dev/null
675
676
677# Find the source files, if location was not specified.
678if 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 ||
687echo 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
697else
698  ac_srcdir_defaulted=no
699fi
700if 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
708fi
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; }; }
712srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
713ac_env_build_alias_set=${build_alias+set}
714ac_env_build_alias_value=$build_alias
715ac_cv_env_build_alias_set=${build_alias+set}
716ac_cv_env_build_alias_value=$build_alias
717ac_env_host_alias_set=${host_alias+set}
718ac_env_host_alias_value=$host_alias
719ac_cv_env_host_alias_set=${host_alias+set}
720ac_cv_env_host_alias_value=$host_alias
721ac_env_target_alias_set=${target_alias+set}
722ac_env_target_alias_value=$target_alias
723ac_cv_env_target_alias_set=${target_alias+set}
724ac_cv_env_target_alias_value=$target_alias
725
726#
727# Report the --help message.
728#
729if 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 DataStochastic 1.1.7 to adapt to many kinds of systems.
734
735Usage: $0 [OPTION]... [VAR=VALUE]...
736
737To assign environment variables (e.g., CC, CFLAGS...), specify them as
738VAR=VALUE.  See below for descriptions of some of the useful variables.
739
740Defaults for the options are specified in brackets.
741
742Configuration:
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
756Installation 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
762By default, \`make install' will install all the files in
763\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
764an installation prefix other than \`$ac_default_prefix' using \`--prefix',
765for instance \`--prefix=\$HOME'.
766
767For better control, use the options below.
768
769Fine 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
786Program 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
791System types:
792  --build=BUILD     configure for building on BUILD [guessed]
793_ACEOF
794fi
795
796if test -n "$ac_init_help"; then
797  case $ac_init_help in
798     short | recursive ) echo "Configuration of DataStochastic 1.1.7:";;
799   esac
800  cat <<\_ACEOF
801
802Optional 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
810Report bugs to <https://projects.coin-or.org/BuildTools/>.
811_ACEOF
812fi
813
814if 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
821if 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'`
825else
826  ac_dir_suffix= ac_top_builddir=
827fi
828
829case $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 ;;
843esac
844
845# Do not use `cd foo && pwd` to compute absolute paths, because
846# the directories may not exist.
847case `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;;
855esac
856case $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;;
864esac
865case $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;;
873esac
874case $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;;
882esac
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
901fi
902
903test -n "$ac_init_help" && exit 0
904if $ac_init_version; then
905  cat <<\_ACEOF
906DataStochastic configure 1.1.7
907generated by GNU Autoconf 2.59
908
909Copyright (C) 2003 Free Software Foundation, Inc.
910This configure script is free software; the Free Software Foundation
911gives unlimited permission to copy, distribute and modify it.
912
913
914Copyright 2006 International Business Machines and others.
915All Rights Reserved.
916This file is part of the open source package Coin which is distributed
917under the Eclipse Public License.
918_ACEOF
919  exit 0
920fi
921exec 5>config.log
922cat >&5 <<_ACEOF
923This file contains any messages produced by compilers while
924running configure, to aid debugging if configure makes a mistake.
925
926It was created by DataStochastic $as_me 1.1.7, which was
927generated by GNU Autoconf 2.59.  Invocation command line was
928
929  $ $0 $@
930
931_ACEOF
932{
933cat <<_ASUNAME
934## --------- ##
935## Platform. ##
936## --------- ##
937
938hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
939uname -m = `(uname -m) 2>/dev/null || echo unknown`
940uname -r = `(uname -r) 2>/dev/null || echo unknown`
941uname -s = `(uname -s) 2>/dev/null || echo unknown`
942uname -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`
950hostinfo               = `(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
957as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
958for as_dir in $PATH
959do
960  IFS=$as_save_IFS
961  test -z "$as_dir" && as_dir=.
962  echo "PATH: $as_dir"
963done
964
965} >&5
966
967cat >&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.
982ac_configure_args=
983ac_configure_args0=
984ac_configure_args1=
985ac_sep=
986ac_must_keep_next=false
987for ac_pass in 1 2
988do
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
1024done
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.
1033trap '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
1107for ac_signal in 1 2 13 15; do
1108  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1109done
1110ac_signal=0
1111
1112# confdefs.h avoids OS command line length limits that DEFS can exceed.
1113rm -rf conftest* confdefs.h
1114# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1115echo >confdefs.h
1116
1117# Predefined preprocessor variables.
1118
1119cat >>confdefs.h <<_ACEOF
1120#define PACKAGE_NAME "$PACKAGE_NAME"
1121_ACEOF
1122
1123
1124cat >>confdefs.h <<_ACEOF
1125#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1126_ACEOF
1127
1128
1129cat >>confdefs.h <<_ACEOF
1130#define PACKAGE_VERSION "$PACKAGE_VERSION"
1131_ACEOF
1132
1133
1134cat >>confdefs.h <<_ACEOF
1135#define PACKAGE_STRING "$PACKAGE_STRING"
1136_ACEOF
1137
1138
1139cat >>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.
1146if 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
1152fi
1153for 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
1156echo "$as_me: loading site script $ac_site_file" >&6;}
1157    sed 's/^/| /' "$ac_site_file" >&5
1158    . "$ac_site_file"
1159  fi
1160done
1161
1162if 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
1167echo "$as_me: loading cache $cache_file" >&6;}
1168    case $cache_file in
1169      [\\/]* | ?:[\\/]* ) . $cache_file;;
1170      *)                      . ./$cache_file;;
1171    esac
1172  fi
1173else
1174  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1175echo "$as_me: creating cache $cache_file" >&6;}
1176  >$cache_file
1177fi
1178
1179# Check that the precious variables saved in the cache have kept the same
1180# value.
1181ac_cache_corrupted=false
1182for 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
1191echo "$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
1195echo "$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
1201echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1202	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1203echo "$as_me:   former value:  $ac_old_val" >&2;}
1204	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1205echo "$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
1221done
1222if $ac_cache_corrupted; then
1223  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1224echo "$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
1226echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1227   { (exit 1); exit 1; }; }
1228fi
1229
1230ac_ext=c
1231ac_cpp='$CPP $CPPFLAGS'
1232ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1233ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1234ac_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
1278save_FLIBS="$FLIBS"
1279
1280# A useful makefile conditional that is always false
1281
1282
1283if false; then
1284  ALWAYS_FALSE_TRUE=
1285  ALWAYS_FALSE_FALSE='#'
1286else
1287  ALWAYS_FALSE_TRUE='#'
1288  ALWAYS_FALSE_FALSE=
1289fi
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
1294coin_projectdir=yes
1295
1296# Set the project's version numbers
1297
1298
1299cat >>confdefs.h <<_ACEOF
1300#define DATASTOCHASTIC_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
1311cat >>confdefs.h <<_ACEOF
1312#define DATASTOCHASTIC_VERSION_MAJOR $coin_majorver
1313_ACEOF
1314
1315
1316cat >>confdefs.h <<_ACEOF
1317#define DATASTOCHASTIC_VERSION_MINOR $coin_minorver
1318_ACEOF
1319
1320
1321cat >>confdefs.h <<_ACEOF
1322#define DATASTOCHASTIC_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=DATASTOCHASTIC
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.
1334set dummy svnversion; ac_word=$2
1335echo "$as_me:$LINENO: checking for $ac_word" >&5
1336echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1337if test "${ac_cv_prog_have_svnversion+set}" = set; then
1338  echo $ECHO_N "(cached) $ECHO_C" >&6
1339else
1340  if test -n "$have_svnversion"; then
1341  ac_cv_prog_have_svnversion="$have_svnversion" # Let the user override the test.
1342else
1343as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1344for as_dir in $PATH
1345do
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
1354done
1355done
1356
1357  test -z "$ac_cv_prog_have_svnversion" && ac_cv_prog_have_svnversion="no"
1358fi
1359fi
1360have_svnversion=$ac_cv_prog_have_svnversion
1361if test -n "$have_svnversion"; then
1362  echo "$as_me:$LINENO: result: $have_svnversion" >&5
1363echo "${ECHO_T}$have_svnversion" >&6
1364else
1365  echo "$as_me:$LINENO: result: no" >&5
1366echo "${ECHO_T}no" >&6
1367fi
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      DATASTOCHASTIC_SVN_REV=`echo $svn_rev_tmp | sed -n -e 's/^[0-9]*://' -e 's/\([0-9]\)[^0-9]*$/\1/p'`
1374
1375cat >>confdefs.h <<_ACEOF
1376#define DATASTOCHASTIC_SVN_REV $DATASTOCHASTIC_SVN_REV
1377_ACEOF
1378
1379    fi
1380  fi
1381
1382
1383
1384# Capture libtool library version, if given.
1385 coin_libversion=1:7:0
1386
1387
1388
1389#############################################################################
1390#     We only need automake to generate Makefiles for the distribution      #
1391#############################################################################
1392
1393# Initialize automake
1394echo "$as_me:$LINENO: checking for egrep" >&5
1395echo $ECHO_N "checking for egrep... $ECHO_C" >&6
1396if test "${ac_cv_prog_egrep+set}" = set; then
1397  echo $ECHO_N "(cached) $ECHO_C" >&6
1398else
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
1403fi
1404echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
1405echo "${ECHO_T}$ac_cv_prog_egrep" >&6
1406 EGREP=$ac_cv_prog_egrep
1407
1408
1409echo "$as_me:$LINENO: checking whether ln -s works" >&5
1410echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1411LN_S=$as_ln_s
1412if test "$LN_S" = "ln -s"; then
1413  echo "$as_me:$LINENO: result: yes" >&5
1414echo "${ECHO_T}yes" >&6
1415else
1416  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1417echo "${ECHO_T}no, using $LN_S" >&6
1418fi
1419
1420am__api_version="1.9"
1421ac_aux_dir=
1422for 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
1436done
1437if test -z "$ac_aux_dir"; then
1438  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1439echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1440   { (exit 1); exit 1; }; }
1441fi
1442ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1443ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1444ac_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.
1459echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1460echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1461if test -z "$INSTALL"; then
1462if test "${ac_cv_path_install+set}" = set; then
1463  echo $ECHO_N "(cached) $ECHO_C" >&6
1464else
1465  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1466for as_dir in $PATH
1467do
1468  IFS=$as_save_IFS
1469  test -z "$as_dir" && as_dir=.
1470  # Account for people who put trailing slashes in PATH elements.
1471case $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    ;;
1499esac
1500done
1501
1502
1503fi
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
1513fi
1514echo "$as_me:$LINENO: result: $INSTALL" >&5
1515echo "${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.
1519test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1520
1521test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1522
1523test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1524
1525echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1526echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1527# Just in case
1528sleep 1
1529echo 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).
1535if (
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
1550alias in your environment" >&5
1551echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1552alias in your environment" >&2;}
1553   { (exit 1); exit 1; }; }
1554   fi
1555
1556   test "$2" = conftest.file
1557   )
1558then
1559   # Ok.
1560   :
1561else
1562   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1563Check your system clock" >&5
1564echo "$as_me: error: newly created file is older than distributed files!
1565Check your system clock" >&2;}
1566   { (exit 1); exit 1; }; }
1567fi
1568echo "$as_me:$LINENO: result: yes" >&5
1569echo "${ECHO_T}yes" >&6
1570test "$program_prefix" != NONE &&
1571  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1572# Use a double $ so make ignores it.
1573test "$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.
1577cat <<\_ACEOF >conftest.sed
1578s/[\\$]/&&/g;s/;s,x,x,$//
1579_ACEOF
1580program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1581rm conftest.sed
1582
1583# expand $ac_aux_dir to an absolute path
1584am_aux_dir=`cd $ac_aux_dir && pwd`
1585
1586test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1587# Use eval to expand $SHELL
1588if eval "$MISSING --run true"; then
1589  am_missing_run="$MISSING --run "
1590else
1591  am_missing_run=
1592  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1593echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1594fi
1595
1596if 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 --'
1612else
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
1627fi
1628
1629for ac_prog in gawk mawk nawk awk
1630do
1631  # Extract the first word of "$ac_prog", so it can be a program name with args.
1632set dummy $ac_prog; ac_word=$2
1633echo "$as_me:$LINENO: checking for $ac_word" >&5
1634echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1635if test "${ac_cv_prog_AWK+set}" = set; then
1636  echo $ECHO_N "(cached) $ECHO_C" >&6
1637else
1638  if test -n "$AWK"; then
1639  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1640else
1641as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1642for as_dir in $PATH
1643do
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
1652done
1653done
1654
1655fi
1656fi
1657AWK=$ac_cv_prog_AWK
1658if test -n "$AWK"; then
1659  echo "$as_me:$LINENO: result: $AWK" >&5
1660echo "${ECHO_T}$AWK" >&6
1661else
1662  echo "$as_me:$LINENO: result: no" >&5
1663echo "${ECHO_T}no" >&6
1664fi
1665
1666  test -n "$AWK" && break
1667done
1668
1669echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1670echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1671set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1672if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1673  echo $ECHO_N "(cached) $ECHO_C" >&6
1674else
1675  cat >conftest.make <<\_ACEOF
1676all:
1677	@echo 'ac_maketemp="$(MAKE)"'
1678_ACEOF
1679# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1680eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1681if test -n "$ac_maketemp"; then
1682  eval ac_cv_prog_make_${ac_make}_set=yes
1683else
1684  eval ac_cv_prog_make_${ac_make}_set=no
1685fi
1686rm -f conftest.make
1687fi
1688if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1689  echo "$as_me:$LINENO: result: yes" >&5
1690echo "${ECHO_T}yes" >&6
1691  SET_MAKE=
1692else
1693  echo "$as_me:$LINENO: result: no" >&5
1694echo "${ECHO_T}no" >&6
1695  SET_MAKE="MAKE=${MAKE-make}"
1696fi
1697
1698rm -rf .tst 2>/dev/null
1699mkdir .tst 2>/dev/null
1700if test -d .tst; then
1701  am__leading_dot=.
1702else
1703  am__leading_dot=_
1704fi
1705rmdir .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
1713if 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
1716echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1717   { (exit 1); exit 1; }; }
1718fi
1719
1720# test whether we have cygpath
1721if 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
1727fi
1728
1729
1730# Define the identity of the package.
1731 PACKAGE='datastochastic'
1732 VERSION='1.1.7'
1733
1734
1735cat >>confdefs.h <<_ACEOF
1736#define PACKAGE "$PACKAGE"
1737_ACEOF
1738
1739
1740cat >>confdefs.h <<_ACEOF
1741#define VERSION "$VERSION"
1742_ACEOF
1743
1744# Some tools Automake needs.
1745
1746ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1747
1748
1749AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1750
1751
1752AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1753
1754
1755AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1756
1757
1758MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1759
1760install_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.
1766if 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.
1769set dummy ${ac_tool_prefix}strip; ac_word=$2
1770echo "$as_me:$LINENO: checking for $ac_word" >&5
1771echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1772if test "${ac_cv_prog_STRIP+set}" = set; then
1773  echo $ECHO_N "(cached) $ECHO_C" >&6
1774else
1775  if test -n "$STRIP"; then
1776  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1777else
1778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779for as_dir in $PATH
1780do
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
1789done
1790done
1791
1792fi
1793fi
1794STRIP=$ac_cv_prog_STRIP
1795if test -n "$STRIP"; then
1796  echo "$as_me:$LINENO: result: $STRIP" >&5
1797echo "${ECHO_T}$STRIP" >&6
1798else
1799  echo "$as_me:$LINENO: result: no" >&5
1800echo "${ECHO_T}no" >&6
1801fi
1802
1803fi
1804if 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.
1807set dummy strip; ac_word=$2
1808echo "$as_me:$LINENO: checking for $ac_word" >&5
1809echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1810if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1811  echo $ECHO_N "(cached) $ECHO_C" >&6
1812else
1813  if test -n "$ac_ct_STRIP"; then
1814  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1815else
1816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1817for as_dir in $PATH
1818do
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
1827done
1828done
1829
1830  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1831fi
1832fi
1833ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1834if test -n "$ac_ct_STRIP"; then
1835  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1836echo "${ECHO_T}$ac_ct_STRIP" >&6
1837else
1838  echo "$as_me:$LINENO: result: no" >&5
1839echo "${ECHO_T}no" >&6
1840fi
1841
1842  STRIP=$ac_ct_STRIP
1843else
1844  STRIP="$ac_cv_prog_STRIP"
1845fi
1846
1847fi
1848INSTALL_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
1854AMTAR=${AMTAR-"${am_missing_run}tar"}
1855
1856am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1857
1858
1859
1860
1861
1862echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1863echo $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.
1865if test "${enable_maintainer_mode+set}" = set; then
1866  enableval="$enable_maintainer_mode"
1867  USE_MAINTAINER_MODE=$enableval
1868else
1869  USE_MAINTAINER_MODE=no
1870fi;
1871  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1872echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1873
1874
1875if test $USE_MAINTAINER_MODE = yes; then
1876  MAINTAINER_MODE_TRUE=
1877  MAINTAINER_MODE_FALSE='#'
1878else
1879  MAINTAINER_MODE_TRUE='#'
1880  MAINTAINER_MODE_FALSE=
1881fi
1882
1883  MAINT=$MAINTAINER_MODE_TRUE
1884
1885
1886
1887coin_have_externals=no
1888if 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
1900echo $ECHO_N "checking whether we are using the correct autotools... $ECHO_C" >&6
1901if test "${ac_cv_use_correct_autotools+set}" = set; then
1902  echo $ECHO_N "(cached) $ECHO_C" >&6
1903else
1904  ac_cv_use_correct_autotools=check
1905fi
1906echo "$as_me:$LINENO: result: $ac_cv_use_correct_autotools" >&5
1907echo "${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.
1913set dummy autoconf; ac_word=$2
1914echo "$as_me:$LINENO: checking for $ac_word" >&5
1915echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1916if test "${ac_cv_prog_have_autoconf+set}" = set; then
1917  echo $ECHO_N "(cached) $ECHO_C" >&6
1918else
1919  if test -n "$have_autoconf"; then
1920  ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test.
1921else
1922as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1923for as_dir in $PATH
1924do
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
1933done
1934done
1935
1936  test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no"
1937fi
1938fi
1939have_autoconf=$ac_cv_prog_have_autoconf
1940if test -n "$have_autoconf"; then
1941  echo "$as_me:$LINENO: result: $have_autoconf" >&5
1942echo "${ECHO_T}$have_autoconf" >&6
1943else
1944  echo "$as_me:$LINENO: result: no" >&5
1945echo "${ECHO_T}no" >&6
1946fi
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
1950echo "$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
1958echo $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
1962echo "${ECHO_T}yes" >&6
1963    else
1964      rm -f confauto.out
1965      echo "$as_me:$LINENO: result: no" >&5
1966echo "${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
1968echo "$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
1975echo $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
1985echo "${ECHO_T}yes" >&6
1986    else
1987      rm -f confauto.out
1988      echo "$as_me:$LINENO: result: no" >&5
1989echo "${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
1991echo "$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.
1997set dummy automake; ac_word=$2
1998echo "$as_me:$LINENO: checking for $ac_word" >&5
1999echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2000if test "${ac_cv_prog_have_automake+set}" = set; then
2001  echo $ECHO_N "(cached) $ECHO_C" >&6
2002else
2003  if test -n "$have_automake"; then
2004  ac_cv_prog_have_automake="$have_automake" # Let the user override the test.
2005else
2006as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007for as_dir in $PATH
2008do
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
2017done
2018done
2019
2020  test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no"
2021fi
2022fi
2023have_automake=$ac_cv_prog_have_automake
2024if test -n "$have_automake"; then
2025  echo "$as_me:$LINENO: result: $have_automake" >&5
2026echo "${ECHO_T}$have_automake" >&6
2027else
2028  echo "$as_me:$LINENO: result: no" >&5
2029echo "${ECHO_T}no" >&6
2030fi
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
2034echo "$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
2042echo $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
2046echo "${ECHO_T}yes" >&6
2047    else
2048      rm -f confauto.out
2049      echo "$as_me:$LINENO: result: no" >&5
2050echo "${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
2052echo "$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
2059echo $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
2069echo "${ECHO_T}yes" >&6
2070    else
2071      rm -f confauto.out
2072      echo "$as_me:$LINENO: result: no" >&5
2073echo "${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
2075echo "$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  :
2090else
2091  have_ltmain=no
2092  :
2093fi
2094
2095    echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5
2096echo $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
2100echo "${ECHO_T}yes" >&6
2101      else
2102        echo "$as_me:$LINENO: result: no" >&5
2103echo "${ECHO_T}no" >&6
2104        { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5
2105echo "$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
2110echo "${ECHO_T}no" >&6
2111      { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5
2112echo "$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  :
2126else
2127  { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
2128echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
2129   { (exit 1); exit 1; }; }
2130  :
2131fi
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.
2140set dummy svn; ac_word=$2
2141echo "$as_me:$LINENO: checking for $ac_word" >&5
2142echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2143if test "${ac_cv_prog_have_svn+set}" = set; then
2144  echo $ECHO_N "(cached) $ECHO_C" >&6
2145else
2146  if test -n "$have_svn"; then
2147  ac_cv_prog_have_svn="$have_svn" # Let the user override the test.
2148else
2149as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150for as_dir in $PATH
2151do
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
2160done
2161done
2162
2163  test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no"
2164fi
2165fi
2166have_svn=$ac_cv_prog_have_svn
2167if test -n "$have_svn"; then
2168  echo "$as_me:$LINENO: result: $have_svn" >&5
2169echo "${ECHO_T}$have_svn" >&6
2170else
2171  echo "$as_me:$LINENO: result: no" >&5
2172echo "${ECHO_T}no" >&6
2173fi
2174
2175  if test x$have_svn = xyes; then
2176    echo "$as_me:$LINENO: checking whether svn understands https" >&5
2177echo $ECHO_N "checking whether svn understands https... $ECHO_C" >&6
2178if test "${ac_cv_svn_understands_https+set}" = set; then
2179  echo $ECHO_N "(cached) $ECHO_C" >&6
2180else
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
2190fi
2191echo "$as_me:$LINENO: result: $ac_cv_svn_understands_https" >&5
2192echo "${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
2207echo "$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
2221fi
2222
2223# helpful variable for the base directory of this package
2224abs_source_dir=`cd $srcdir; pwd`
2225
2226
2227# Stuff for example Makefiles
2228if test x$prefix = xNONE; then
2229  full_prefix=$ac_default_prefix
2230else
2231  full_prefix=$prefix
2232fi
2233
2234
2235abs_lib_dir=$full_prefix/lib
2236
2237abs_include_dir=$full_prefix/include
2238
2239abs_bin_dir=$full_prefix/bin
2240
2241
2242
2243if test $coin_have_externals = yes && test x$have_svn = xyes; then
2244  HAVE_EXTERNALS_TRUE=
2245  HAVE_EXTERNALS_FALSE='#'
2246else
2247  HAVE_EXTERNALS_TRUE='#'
2248  HAVE_EXTERNALS_FALSE=
2249fi
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
2261echo "$as_me:$LINENO: checking whether this is a VPATH configuration" >&5
2262echo $ECHO_N "checking whether this is a VPATH configuration... $ECHO_C" >&6
2263if test `cd $srcdir; pwd` != `pwd`; then
2264  coin_vpath_config=yes;
2265else
2266  coin_vpath_config=no;
2267fi
2268echo "$as_me:$LINENO: result: $coin_vpath_config" >&5
2269echo "${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
2274echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2275   { (exit 1); exit 1; }; }
2276
2277echo "$as_me:$LINENO: checking build system type" >&5
2278echo $ECHO_N "checking build system type... $ECHO_C" >&6
2279if test "${ac_cv_build+set}" = set; then
2280  echo $ECHO_N "(cached) $ECHO_C" >&6
2281else
2282  ac_cv_build_alias=$build_alias
2283test -z "$ac_cv_build_alias" &&
2284  ac_cv_build_alias=`$ac_config_guess`
2285test -z "$ac_cv_build_alias" &&
2286  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2287echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2288   { (exit 1); exit 1; }; }
2289ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2290  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2291echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2292   { (exit 1); exit 1; }; }
2293
2294fi
2295echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2296echo "${ECHO_T}$ac_cv_build" >&6
2297build=$ac_cv_build
2298build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2299build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2300build_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.
2307if test "${enable_doscompile+set}" = set; then
2308  enableval="$enable_doscompile"
2309  enable_doscompile=$enableval
2310else
2311  enable_doscompile=no
2312fi;
2313
2314  # Check whether --enable-msvc or --disable-msvc was given.
2315if test "${enable_msvc+set}" = set; then
2316  enableval="$enable_msvc"
2317  enable_msvc=$enableval
2318else
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
2324echo "$as_me: error: --enable-doscompile=$enable_doscompile not supported anymore." >&2;}
2325   { (exit 1); exit 1; }; }
2326     fi
2327
2328fi;
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
2339echo "$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
2348files=`cd $srcdir; ls *.cor *.stoch *.time`
2349# We need to do the following loop to make sure that are no newlines
2350# in the variable
2351for file in $files; do
2352  EXAMPLE_FILES="$EXAMPLE_FILES $file"
2353done
2354if 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 (*.cor *.stoch *.time)" >&5
2366echo "$as_me: Copying example files (*.cor *.stoch *.time)" >&6;}
2367  else
2368    { echo "$as_me:$LINENO: Creating links to the example files (*.cor *.stoch *.time)" >&5
2369echo "$as_me: Creating links to the example files (*.cor *.stoch *.time)" >&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 *.cor *.stoch *.time"
2377else
2378  EXAMPLE_CLEAN_FILES="$EXAMPLE_CLEAN_FILES"
2379fi
2380
2381# In case there are compressed files, we create a variable with the
2382# uncompressed names
2383EXAMPLE_UNCOMPRESSED_FILES=
2384for 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
2390done
2391
2392
2393
2394
2395
2396
2397##############################################################################
2398#                   Finishing up by writing all the output                   #
2399##############################################################################
2400
2401ABSBUILDDIR="`pwd`"
2402
2403
2404# Here list all the files that configure should create (except for the
2405# configuration header file)
2406                              ac_config_files="$ac_config_files Makefile coindatastochastic.pc coindatastochastic-uninstalled.pc"
2407
2408
2409# Finally, we let configure write all the output...
2410
2411
2412
2413
2414echo "$as_me:$LINENO: checking which command should be used to link input files" >&5
2415echo $ECHO_N "checking which command should be used to link input files... $ECHO_C" >&6
2416coin_link_input_cmd="$LN_S"
2417case "$CC" in
2418  clang* ) ;;
2419  cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
2420    coin_link_input_cmd=cp ;;
2421esac
2422echo "$as_me:$LINENO: result: $coin_link_input_cmd" >&5
2423echo "${ECHO_T}$coin_link_input_cmd" >&6
2424
2425
2426
2427if test x$coin_skip_ac_output != xyes; then
2428
2429  # library extension
2430
2431  case "$CC" in
2432    clang* )
2433         LIBEXT=a ;;
2434    cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
2435         LIBEXT=lib ;;
2436      *) LIBEXT=a ;;
2437  esac
2438
2439  # Define VPATH_DISTCLEANFILES to be everything that needs to be
2440  # cleaned for distclean in a vpath configuration
2441
2442  VPATH_DISTCLEANFILES="$coin_vpath_link_files"
2443
2444  # Take out subdirectories if their configuration concluded that they
2445  # don't need to be compiled
2446  if test x"$coin_ac_skip_subdirs" != x; then
2447    new_subdirs=
2448    for i in $subdirs; do
2449      skipme=no
2450      for j in $coin_ac_skip_subdirs; do
2451        if test $i = $j; then
2452          skipme=yes;
2453        fi
2454      done
2455      if test $skipme = no; then
2456        new_subdirs="$new_subdirs $i"
2457      fi
2458    done
2459    subdirs="$new_subdirs"
2460  fi
2461
2462  # need to come before AC_OUTPUT
2463  if test x$coin_projectdir != xyes; then
2464    # write coin_subdirs to a file so that project configuration knows where to find uninstalled projects
2465    echo $coin_subdirs > coin_subdirs.txt
2466  else
2467    # substitute for OBJDIR, needed to setup .pc file for uninstalled project
2468    ABSBUILDDIR="`pwd`"
2469
2470  fi
2471
2472  cat >confcache <<\_ACEOF
2473# This file is a shell script that caches the results of configure
2474# tests run on this system so they can be shared between configure
2475# scripts and configure runs, see configure's option --config-cache.
2476# It is not useful on other systems.  If it contains results you don't
2477# want to keep, you may remove or edit it.
2478#
2479# config.status only pays attention to the cache file if you give it
2480# the --recheck option to rerun configure.
2481#
2482# `ac_cv_env_foo' variables (set or unset) will be overridden when
2483# loading this file, other *unset* `ac_cv_foo' will be assigned the
2484# following values.
2485
2486_ACEOF
2487
2488# The following way of writing the cache mishandles newlines in values,
2489# but we know of no workaround that is simple, portable, and efficient.
2490# So, don't put newlines in cache variables' values.
2491# Ultrix sh set writes to stderr and can't be redirected directly,
2492# and sets the high bit in the cache file unless we assign to the vars.
2493{
2494  (set) 2>&1 |
2495    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2496    *ac_space=\ *)
2497      # `set' does not quote correctly, so add quotes (double-quote
2498      # substitution turns \\\\ into \\, and sed turns \\ into \).
2499      sed -n \
2500	"s/'/'\\\\''/g;
2501	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2502      ;;
2503    *)
2504      # `set' quotes correctly as required by POSIX, so do not add quotes.
2505      sed -n \
2506	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2507      ;;
2508    esac;
2509} |
2510  sed '
2511     t clear
2512     : clear
2513     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2514     t end
2515     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2516     : end' >>confcache
2517if diff $cache_file confcache >/dev/null 2>&1; then :; else
2518  if test -w $cache_file; then
2519    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2520    cat confcache >$cache_file
2521  else
2522    echo "not updating unwritable cache $cache_file"
2523  fi
2524fi
2525rm -f confcache
2526
2527test "x$prefix" = xNONE && prefix=$ac_default_prefix
2528# Let make expand exec_prefix.
2529test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2530
2531# VPATH may cause trouble with some makes, so we remove $(srcdir),
2532# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2533# trailing colons and then remove the whole line if VPATH becomes empty
2534# (actually we leave an empty line to preserve line numbers).
2535if test "x$srcdir" = x.; then
2536  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
2537s/:*\$(srcdir):*/:/;
2538s/:*\${srcdir}:*/:/;
2539s/:*@srcdir@:*/:/;
2540s/^\([^=]*=[	 ]*\):*/\1/;
2541s/:*$//;
2542s/^[^=]*=[	 ]*$//;
2543}'
2544fi
2545
2546# Transform confdefs.h into DEFS.
2547# Protect against shell expansion while executing Makefile rules.
2548# Protect against Makefile macro expansion.
2549#
2550# If the first sed substitution is executed (which looks for macros that
2551# take arguments), then we branch to the quote section.  Otherwise,
2552# look for a macro that doesn't take arguments.
2553cat >confdef2opt.sed <<\_ACEOF
2554t clear
2555: clear
2556s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
2557t quote
2558s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
2559t quote
2560d
2561: quote
2562s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
2563s,\[,\\&,g
2564s,\],\\&,g
2565s,\$,$$,g
2566p
2567_ACEOF
2568# We use echo to avoid assuming a particular line-breaking character.
2569# The extra dot is to prevent the shell from consuming trailing
2570# line-breaks from the sub-command output.  A line-break within
2571# single-quotes doesn't work because, if this script is created in a
2572# platform that uses two characters for line-breaks (e.g., DOS), tr
2573# would break.
2574ac_LF_and_DOT=`echo; echo .`
2575DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2576rm -f confdef2opt.sed
2577
2578
2579ac_libobjs=
2580ac_ltlibobjs=
2581for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2582  # 1. Remove the extension, and $U if already installed.
2583  ac_i=`echo "$ac_i" |
2584	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2585  # 2. Add them.
2586  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2587  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2588done
2589LIBOBJS=$ac_libobjs
2590
2591LTLIBOBJS=$ac_ltlibobjs
2592
2593
2594if test -z "${ALWAYS_FALSE_TRUE}" && test -z "${ALWAYS_FALSE_FALSE}"; then
2595  { { echo "$as_me:$LINENO: error: conditional \"ALWAYS_FALSE\" was never defined.
2596Usually this means the macro was only invoked conditionally." >&5
2597echo "$as_me: error: conditional \"ALWAYS_FALSE\" was never defined.
2598Usually this means the macro was only invoked conditionally." >&2;}
2599   { (exit 1); exit 1; }; }
2600fi
2601if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2602  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
2603Usually this means the macro was only invoked conditionally." >&5
2604echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
2605Usually this means the macro was only invoked conditionally." >&2;}
2606   { (exit 1); exit 1; }; }
2607fi
2608if test -z "${HAVE_EXTERNALS_TRUE}" && test -z "${HAVE_EXTERNALS_FALSE}"; then
2609  { { echo "$as_me:$LINENO: error: conditional \"HAVE_EXTERNALS\" was never defined.
2610Usually this means the macro was only invoked conditionally." >&5
2611echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
2612Usually this means the macro was only invoked conditionally." >&2;}
2613   { (exit 1); exit 1; }; }
2614fi
2615
2616: ${CONFIG_STATUS=./config.status}
2617ac_clean_files_save=$ac_clean_files
2618ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2619{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2620echo "$as_me: creating $CONFIG_STATUS" >&6;}
2621cat >$CONFIG_STATUS <<_ACEOF
2622#! $SHELL
2623# Generated by $as_me.
2624# Run this file to recreate the current configuration.
2625# Compiler output produced by configure, useful for debugging
2626# configure, is in config.log if it exists.
2627
2628debug=false
2629ac_cs_recheck=false
2630ac_cs_silent=false
2631SHELL=\${CONFIG_SHELL-$SHELL}
2632_ACEOF
2633
2634cat >>$CONFIG_STATUS <<\_ACEOF
2635## --------------------- ##
2636## M4sh Initialization.  ##
2637## --------------------- ##
2638
2639# Be Bourne compatible
2640if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2641  emulate sh
2642  NULLCMD=:
2643  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2644  # is contrary to our usage.  Disable this feature.
2645  alias -g '${1+"$@"}'='"$@"'
2646elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2647  set -o posix
2648fi
2649DUALCASE=1; export DUALCASE # for MKS sh
2650
2651# Support unset when possible.
2652if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2653  as_unset=unset
2654else
2655  as_unset=false
2656fi
2657
2658
2659# Work around bugs in pre-3.0 UWIN ksh.
2660$as_unset ENV MAIL MAILPATH
2661PS1='$ '
2662PS2='> '
2663PS4='+ '
2664
2665# NLS nuisances.
2666for as_var in \
2667  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2668  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2669  LC_TELEPHONE LC_TIME
2670do
2671  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2672    eval $as_var=C; export $as_var
2673  else
2674    $as_unset $as_var
2675  fi
2676done
2677
2678# Required to use basename.
2679if expr a : '\(a\)' >/dev/null 2>&1; then
2680  as_expr=expr
2681else
2682  as_expr=false
2683fi
2684
2685if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2686  as_basename=basename
2687else
2688  as_basename=false
2689fi
2690
2691
2692# Name of the executable.
2693as_me=`$as_basename "$0" ||
2694$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2695	 X"$0" : 'X\(//\)$' \| \
2696	 X"$0" : 'X\(/\)$' \| \
2697	 .     : '\(.\)' 2>/dev/null ||
2698echo X/"$0" |
2699    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2700  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
2701  	  /^X\/\(\/\).*/{ s//\1/; q; }
2702  	  s/.*/./; q'`
2703
2704
2705# PATH needs CR, and LINENO needs CR and PATH.
2706# Avoid depending upon Character Ranges.
2707as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2708as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2709as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2710as_cr_digits='0123456789'
2711as_cr_alnum=$as_cr_Letters$as_cr_digits
2712
2713# The user is always right.
2714if test "${PATH_SEPARATOR+set}" != set; then
2715  echo "#! /bin/sh" >conf$$.sh
2716  echo  "exit 0"   >>conf$$.sh
2717  chmod +x conf$$.sh
2718  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2719    PATH_SEPARATOR=';'
2720  else
2721    PATH_SEPARATOR=:
2722  fi
2723  rm -f conf$$.sh
2724fi
2725
2726
2727  as_lineno_1=$LINENO
2728  as_lineno_2=$LINENO
2729  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2730  test "x$as_lineno_1" != "x$as_lineno_2" &&
2731  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2732  # Find who we are.  Look in the path if we contain no path at all
2733  # relative or not.
2734  case $0 in
2735    *[\\/]* ) as_myself=$0 ;;
2736    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2737for as_dir in $PATH
2738do
2739  IFS=$as_save_IFS
2740  test -z "$as_dir" && as_dir=.
2741  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2742done
2743
2744       ;;
2745  esac
2746  # We did not find ourselves, most probably we were run as `sh COMMAND'
2747  # in which case we are not to be found in the path.
2748  if test "x$as_myself" = x; then
2749    as_myself=$0
2750  fi
2751  if test ! -f "$as_myself"; then
2752    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2753echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2754   { (exit 1); exit 1; }; }
2755  fi
2756  case $CONFIG_SHELL in
2757  '')
2758    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2759for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2760do
2761  IFS=$as_save_IFS
2762  test -z "$as_dir" && as_dir=.
2763  for as_base in sh bash ksh sh5; do
2764	 case $as_dir in
2765	 /*)
2766	   if ("$as_dir/$as_base" -c '
2767  as_lineno_1=$LINENO
2768  as_lineno_2=$LINENO
2769  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2770  test "x$as_lineno_1" != "x$as_lineno_2" &&
2771  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2772	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2773	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2774	     CONFIG_SHELL=$as_dir/$as_base
2775	     export CONFIG_SHELL
2776	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2777	   fi;;
2778	 esac
2779       done
2780done
2781;;
2782  esac
2783
2784  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2785  # uniformly replaced by the line number.  The first 'sed' inserts a
2786  # line-number line before each line; the second 'sed' does the real
2787  # work.  The second script uses 'N' to pair each line-number line
2788  # with the numbered line, and appends trailing '-' during
2789  # substitution so that $LINENO is not a special case at line end.
2790  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2791  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2792  sed '=' <$as_myself |
2793    sed '
2794      N
2795      s,$,-,
2796      : loop
2797      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2798      t loop
2799      s,-$,,
2800      s,^['$as_cr_digits']*\n,,
2801    ' >$as_me.lineno &&
2802  chmod +x $as_me.lineno ||
2803    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2804echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2805   { (exit 1); exit 1; }; }
2806
2807  # Don't try to exec as it changes $[0], causing all sort of problems
2808  # (the dirname of $[0] is not the place where we might find the
2809  # original and so on.  Autoconf is especially sensible to this).
2810  . ./$as_me.lineno
2811  # Exit status is that of the last command.
2812  exit
2813}
2814
2815
2816case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2817  *c*,-n*) ECHO_N= ECHO_C='
2818' ECHO_T='	' ;;
2819  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2820  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2821esac
2822
2823if expr a : '\(a\)' >/dev/null 2>&1; then
2824  as_expr=expr
2825else
2826  as_expr=false
2827fi
2828
2829rm -f conf$$ conf$$.exe conf$$.file
2830echo >conf$$.file
2831if ln -s conf$$.file conf$$ 2>/dev/null; then
2832  # We could just check for DJGPP; but this test a) works b) is more generic
2833  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2834  if test -f conf$$.exe; then
2835    # Don't use ln at all; we don't have any links
2836    as_ln_s='cp -p'
2837  else
2838    as_ln_s='ln -s'
2839  fi
2840elif ln conf$$.file conf$$ 2>/dev/null; then
2841  as_ln_s=ln
2842else
2843  as_ln_s='cp -p'
2844fi
2845rm -f conf$$ conf$$.exe conf$$.file
2846
2847if mkdir -p . 2>/dev/null; then
2848  as_mkdir_p=:
2849else
2850  test -d ./-p && rmdir ./-p
2851  as_mkdir_p=false
2852fi
2853
2854as_executable_p="test -f"
2855
2856# Sed expression to map a string onto a valid CPP name.
2857as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2858
2859# Sed expression to map a string onto a valid variable name.
2860as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2861
2862
2863# IFS
2864# We need space, tab and new line, in precisely that order.
2865as_nl='
2866'
2867IFS=" 	$as_nl"
2868
2869# CDPATH.
2870$as_unset CDPATH
2871
2872exec 6>&1
2873
2874# Open the log real soon, to keep \$[0] and so on meaningful, and to
2875# report actual input values of CONFIG_FILES etc. instead of their
2876# values after options handling.  Logging --version etc. is OK.
2877exec 5>>config.log
2878{
2879  echo
2880  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2881## Running $as_me. ##
2882_ASBOX
2883} >&5
2884cat >&5 <<_CSEOF
2885
2886This file was extended by DataStochastic $as_me 1.1.7, which was
2887generated by GNU Autoconf 2.59.  Invocation command line was
2888
2889  CONFIG_FILES    = $CONFIG_FILES
2890  CONFIG_HEADERS  = $CONFIG_HEADERS
2891  CONFIG_LINKS    = $CONFIG_LINKS
2892  CONFIG_COMMANDS = $CONFIG_COMMANDS
2893  $ $0 $@
2894
2895_CSEOF
2896echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2897echo >&5
2898_ACEOF
2899
2900# Files that config.status was made for.
2901if test -n "$ac_config_files"; then
2902  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2903fi
2904
2905if test -n "$ac_config_headers"; then
2906  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2907fi
2908
2909if test -n "$ac_config_links"; then
2910  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2911fi
2912
2913if test -n "$ac_config_commands"; then
2914  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2915fi
2916
2917cat >>$CONFIG_STATUS <<\_ACEOF
2918
2919ac_cs_usage="\
2920\`$as_me' instantiates files from templates according to the
2921current configuration.
2922
2923Usage: $0 [OPTIONS] [FILE]...
2924
2925  -h, --help       print this help, then exit
2926  -V, --version    print version number, then exit
2927  -q, --quiet      do not print progress messages
2928  -d, --debug      don't remove temporary files
2929      --recheck    update $as_me by reconfiguring in the same conditions
2930  --file=FILE[:TEMPLATE]
2931		   instantiate the configuration file FILE
2932
2933Configuration files:
2934$config_files
2935
2936Report bugs to <bug-autoconf@gnu.org>."
2937_ACEOF
2938
2939cat >>$CONFIG_STATUS <<_ACEOF
2940ac_cs_version="\\
2941DataStochastic config.status 1.1.7
2942configured by $0, generated by GNU Autoconf 2.59,
2943  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2944
2945Copyright (C) 2003 Free Software Foundation, Inc.
2946This config.status script is free software; the Free Software Foundation
2947gives unlimited permission to copy, distribute and modify it."
2948srcdir=$srcdir
2949INSTALL="$INSTALL"
2950_ACEOF
2951
2952cat >>$CONFIG_STATUS <<\_ACEOF
2953# If no file are specified by the user, then we need to provide default
2954# value.  By we need to know if files were specified by the user.
2955ac_need_defaults=:
2956while test $# != 0
2957do
2958  case $1 in
2959  --*=*)
2960    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2961    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2962    ac_shift=:
2963    ;;
2964  -*)
2965    ac_option=$1
2966    ac_optarg=$2
2967    ac_shift=shift
2968    ;;
2969  *) # This is not an option, so the user has probably given explicit
2970     # arguments.
2971     ac_option=$1
2972     ac_need_defaults=false;;
2973  esac
2974
2975  case $ac_option in
2976  # Handling of the options.
2977_ACEOF
2978cat >>$CONFIG_STATUS <<\_ACEOF
2979  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2980    ac_cs_recheck=: ;;
2981  --version | --vers* | -V )
2982    echo "$ac_cs_version"; exit 0 ;;
2983  --he | --h)
2984    # Conflict between --help and --header
2985    { { echo "$as_me:$LINENO: error: ambiguous option: $1
2986Try \`$0 --help' for more information." >&5
2987echo "$as_me: error: ambiguous option: $1
2988Try \`$0 --help' for more information." >&2;}
2989   { (exit 1); exit 1; }; };;
2990  --help | --hel | -h )
2991    echo "$ac_cs_usage"; exit 0 ;;
2992  --debug | --d* | -d )
2993    debug=: ;;
2994  --file | --fil | --fi | --f )
2995    $ac_shift
2996    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2997    ac_need_defaults=false;;
2998  --header | --heade | --head | --hea )
2999    $ac_shift
3000    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3001    ac_need_defaults=false;;
3002  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3003  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3004    ac_cs_silent=: ;;
3005
3006  # This is an error.
3007  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3008Try \`$0 --help' for more information." >&5
3009echo "$as_me: error: unrecognized option: $1
3010Try \`$0 --help' for more information." >&2;}
3011   { (exit 1); exit 1; }; } ;;
3012
3013  *) ac_config_targets="$ac_config_targets $1" ;;
3014
3015  esac
3016  shift
3017done
3018
3019ac_configure_extra_args=
3020
3021if $ac_cs_silent; then
3022  exec 6>/dev/null
3023  ac_configure_extra_args="$ac_configure_extra_args --silent"
3024fi
3025
3026_ACEOF
3027cat >>$CONFIG_STATUS <<_ACEOF
3028if \$ac_cs_recheck; then
3029  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3030  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3031fi
3032
3033_ACEOF
3034
3035
3036
3037
3038
3039cat >>$CONFIG_STATUS <<\_ACEOF
3040for ac_config_target in $ac_config_targets
3041do
3042  case "$ac_config_target" in
3043  # Handling of arguments.
3044  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3045  "coindatastochastic.pc" ) CONFIG_FILES="$CONFIG_FILES coindatastochastic.pc" ;;
3046  "coindatastochastic-uninstalled.pc" ) CONFIG_FILES="$CONFIG_FILES coindatastochastic-uninstalled.pc" ;;
3047  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3048echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3049   { (exit 1); exit 1; }; };;
3050  esac
3051done
3052
3053# If the user did not use the arguments to specify the items to instantiate,
3054# then the envvar interface is used.  Set only those that are not.
3055# We use the long form for the default assignment because of an extremely
3056# bizarre bug on SunOS 4.1.3.
3057if $ac_need_defaults; then
3058  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3059fi
3060
3061# Have a temporary directory for convenience.  Make it in the build tree
3062# simply because there is no reason to put it here, and in addition,
3063# creating and moving files from /tmp can sometimes cause problems.
3064# Create a temporary directory, and hook for its removal unless debugging.
3065$debug ||
3066{
3067  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3068  trap '{ (exit 1); exit 1; }' 1 2 13 15
3069}
3070
3071# Create a (secure) tmp directory for tmp files.
3072
3073{
3074  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3075  test -n "$tmp" && test -d "$tmp"
3076}  ||
3077{
3078  tmp=./confstat$$-$RANDOM
3079  (umask 077 && mkdir $tmp)
3080} ||
3081{
3082   echo "$me: cannot create a temporary directory in ." >&2
3083   { (exit 1); exit 1; }
3084}
3085
3086_ACEOF
3087
3088cat >>$CONFIG_STATUS <<_ACEOF
3089
3090#
3091# CONFIG_FILES section.
3092#
3093
3094# No need to generate the scripts if there are no CONFIG_FILES.
3095# This happens for instance when ./config.status config.h
3096if test -n "\$CONFIG_FILES"; then
3097  # Protect against being on the right side of a sed subst in config.status.
3098  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3099   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3100s,@SHELL@,$SHELL,;t t
3101s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3102s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3103s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3104s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3105s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3106s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3107s,@exec_prefix@,$exec_prefix,;t t
3108s,@prefix@,$prefix,;t t
3109s,@program_transform_name@,$program_transform_name,;t t
3110s,@bindir@,$bindir,;t t
3111s,@sbindir@,$sbindir,;t t
3112s,@libexecdir@,$libexecdir,;t t
3113s,@datadir@,$datadir,;t t
3114s,@sysconfdir@,$sysconfdir,;t t
3115s,@sharedstatedir@,$sharedstatedir,;t t
3116s,@localstatedir@,$localstatedir,;t t
3117s,@libdir@,$libdir,;t t
3118s,@includedir@,$includedir,;t t
3119s,@oldincludedir@,$oldincludedir,;t t
3120s,@infodir@,$infodir,;t t
3121s,@mandir@,$mandir,;t t
3122s,@build_alias@,$build_alias,;t t
3123s,@host_alias@,$host_alias,;t t
3124s,@target_alias@,$target_alias,;t t
3125s,@DEFS@,$DEFS,;t t
3126s,@ECHO_C@,$ECHO_C,;t t
3127s,@ECHO_N@,$ECHO_N,;t t
3128s,@ECHO_T@,$ECHO_T,;t t
3129s,@LIBS@,$LIBS,;t t
3130s,@ALWAYS_FALSE_TRUE@,$ALWAYS_FALSE_TRUE,;t t
3131s,@ALWAYS_FALSE_FALSE@,$ALWAYS_FALSE_FALSE,;t t
3132s,@have_svnversion@,$have_svnversion,;t t
3133s,@DATASTOCHASTIC_SVN_REV@,$DATASTOCHASTIC_SVN_REV,;t t
3134s,@EGREP@,$EGREP,;t t
3135s,@LN_S@,$LN_S,;t t
3136s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3137s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3138s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3139s,@CYGPATH_W@,$CYGPATH_W,;t t
3140s,@PACKAGE@,$PACKAGE,;t t
3141s,@VERSION@,$VERSION,;t t
3142s,@ACLOCAL@,$ACLOCAL,;t t
3143s,@AUTOCONF@,$AUTOCONF,;t t
3144s,@AUTOMAKE@,$AUTOMAKE,;t t
3145s,@AUTOHEADER@,$AUTOHEADER,;t t
3146s,@MAKEINFO@,$MAKEINFO,;t t
3147s,@install_sh@,$install_sh,;t t
3148s,@STRIP@,$STRIP,;t t
3149s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3150s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3151s,@mkdir_p@,$mkdir_p,;t t
3152s,@AWK@,$AWK,;t t
3153s,@SET_MAKE@,$SET_MAKE,;t t
3154s,@am__leading_dot@,$am__leading_dot,;t t
3155s,@AMTAR@,$AMTAR,;t t
3156s,@am__tar@,$am__tar,;t t
3157s,@am__untar@,$am__untar,;t t
3158s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
3159s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
3160s,@MAINT@,$MAINT,;t t
3161s,@LIBTOOLM4@,$LIBTOOLM4,;t t
3162s,@have_autoconf@,$have_autoconf,;t t
3163s,@have_automake@,$have_automake,;t t
3164s,@have_svn@,$have_svn,;t t
3165s,@BUILDTOOLSDIR@,$BUILDTOOLSDIR,;t t
3166s,@AUX_DIR@,$AUX_DIR,;t t
3167s,@abs_source_dir@,$abs_source_dir,;t t
3168s,@abs_lib_dir@,$abs_lib_dir,;t t
3169s,@abs_include_dir@,$abs_include_dir,;t t
3170s,@abs_bin_dir@,$abs_bin_dir,;t t
3171s,@HAVE_EXTERNALS_TRUE@,$HAVE_EXTERNALS_TRUE,;t t
3172s,@HAVE_EXTERNALS_FALSE@,$HAVE_EXTERNALS_FALSE,;t t
3173s,@build@,$build,;t t
3174s,@build_cpu@,$build_cpu,;t t
3175s,@build_vendor@,$build_vendor,;t t
3176s,@build_os@,$build_os,;t t
3177s,@EXAMPLE_UNCOMPRESSED_FILES@,$EXAMPLE_UNCOMPRESSED_FILES,;t t
3178s,@EXAMPLE_FILES@,$EXAMPLE_FILES,;t t
3179s,@EXAMPLE_CLEAN_FILES@,$EXAMPLE_CLEAN_FILES,;t t
3180s,@ABSBUILDDIR@,$ABSBUILDDIR,;t t
3181s,@LIBEXT@,$LIBEXT,;t t
3182s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
3183s,@LIBOBJS@,$LIBOBJS,;t t
3184s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3185CEOF
3186
3187_ACEOF
3188
3189  cat >>$CONFIG_STATUS <<\_ACEOF
3190  # Split the substitutions into bite-sized pieces for seds with
3191  # small command number limits, like on Digital OSF/1 and HP-UX.
3192  ac_max_sed_lines=48
3193  ac_sed_frag=1 # Number of current file.
3194  ac_beg=1 # First line for current file.
3195  ac_end=$ac_max_sed_lines # Line after last line for current file.
3196  ac_more_lines=:
3197  ac_sed_cmds=
3198  while $ac_more_lines; do
3199    if test $ac_beg -gt 1; then
3200      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3201    else
3202      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3203    fi
3204    if test ! -s $tmp/subs.frag; then
3205      ac_more_lines=false
3206    else
3207      # The purpose of the label and of the branching condition is to
3208      # speed up the sed processing (if there are no `@' at all, there
3209      # is no need to browse any of the substitutions).
3210      # These are the two extra sed commands mentioned above.
3211      (echo ':t
3212  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3213      if test -z "$ac_sed_cmds"; then
3214	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3215      else
3216	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3217      fi
3218      ac_sed_frag=`expr $ac_sed_frag + 1`
3219      ac_beg=$ac_end
3220      ac_end=`expr $ac_end + $ac_max_sed_lines`
3221    fi
3222  done
3223  if test -z "$ac_sed_cmds"; then
3224    ac_sed_cmds=cat
3225  fi
3226fi # test -n "$CONFIG_FILES"
3227
3228_ACEOF
3229cat >>$CONFIG_STATUS <<\_ACEOF
3230for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3231  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3232  case $ac_file in
3233  - | *:- | *:-:* ) # input from stdin
3234	cat >$tmp/stdin
3235	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3236	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3237  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3238	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3239  * )   ac_file_in=$ac_file.in ;;
3240  esac
3241
3242  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3243  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3244$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3245	 X"$ac_file" : 'X\(//\)[^/]' \| \
3246	 X"$ac_file" : 'X\(//\)$' \| \
3247	 X"$ac_file" : 'X\(/\)' \| \
3248	 .     : '\(.\)' 2>/dev/null ||
3249echo X"$ac_file" |
3250    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3251  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3252  	  /^X\(\/\/\)$/{ s//\1/; q; }
3253  	  /^X\(\/\).*/{ s//\1/; q; }
3254  	  s/.*/./; q'`
3255  { if $as_mkdir_p; then
3256    mkdir -p "$ac_dir"
3257  else
3258    as_dir="$ac_dir"
3259    as_dirs=
3260    while test ! -d "$as_dir"; do
3261      as_dirs="$as_dir $as_dirs"
3262      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3263$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3264	 X"$as_dir" : 'X\(//\)[^/]' \| \
3265	 X"$as_dir" : 'X\(//\)$' \| \
3266	 X"$as_dir" : 'X\(/\)' \| \
3267	 .     : '\(.\)' 2>/dev/null ||
3268echo X"$as_dir" |
3269    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3270  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3271  	  /^X\(\/\/\)$/{ s//\1/; q; }
3272  	  /^X\(\/\).*/{ s//\1/; q; }
3273  	  s/.*/./; q'`
3274    done
3275    test ! -n "$as_dirs" || mkdir $as_dirs
3276  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3277echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3278   { (exit 1); exit 1; }; }; }
3279
3280  ac_builddir=.
3281
3282if test "$ac_dir" != .; then
3283  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3284  # A "../" for each directory in $ac_dir_suffix.
3285  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3286else
3287  ac_dir_suffix= ac_top_builddir=
3288fi
3289
3290case $srcdir in
3291  .)  # No --srcdir option.  We are building in place.
3292    ac_srcdir=.
3293    if test -z "$ac_top_builddir"; then
3294       ac_top_srcdir=.
3295    else
3296       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3297    fi ;;
3298  [\\/]* | ?:[\\/]* )  # Absolute path.
3299    ac_srcdir=$srcdir$ac_dir_suffix;
3300    ac_top_srcdir=$srcdir ;;
3301  *) # Relative path.
3302    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3303    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3304esac
3305
3306# Do not use `cd foo && pwd` to compute absolute paths, because
3307# the directories may not exist.
3308case `pwd` in
3309.) ac_abs_builddir="$ac_dir";;
3310*)
3311  case "$ac_dir" in
3312  .) ac_abs_builddir=`pwd`;;
3313  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3314  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3315  esac;;
3316esac
3317case $ac_abs_builddir in
3318.) ac_abs_top_builddir=${ac_top_builddir}.;;
3319*)
3320  case ${ac_top_builddir}. in
3321  .) ac_abs_top_builddir=$ac_abs_builddir;;
3322  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3323  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3324  esac;;
3325esac
3326case $ac_abs_builddir in
3327.) ac_abs_srcdir=$ac_srcdir;;
3328*)
3329  case $ac_srcdir in
3330  .) ac_abs_srcdir=$ac_abs_builddir;;
3331  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3332  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3333  esac;;
3334esac
3335case $ac_abs_builddir in
3336.) ac_abs_top_srcdir=$ac_top_srcdir;;
3337*)
3338  case $ac_top_srcdir in
3339  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3340  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3341  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3342  esac;;
3343esac
3344
3345
3346  case $INSTALL in
3347  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3348  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3349  esac
3350
3351  if test x"$ac_file" != x-; then
3352    { echo "$as_me:$LINENO: creating $ac_file" >&5
3353echo "$as_me: creating $ac_file" >&6;}
3354    rm -f "$ac_file"
3355  fi
3356  # Let's still pretend it is `configure' which instantiates (i.e., don't
3357  # use $as_me), people would be surprised to read:
3358  #    /* config.h.  Generated by config.status.  */
3359  if test x"$ac_file" = x-; then
3360    configure_input=
3361  else
3362    configure_input="$ac_file.  "
3363  fi
3364  configure_input=$configure_input"Generated from `echo $ac_file_in |
3365				     sed 's,.*/,,'` by configure."
3366
3367  # First look for the input files in the build tree, otherwise in the
3368  # src tree.
3369  ac_file_inputs=`IFS=:
3370    for f in $ac_file_in; do
3371      case $f in
3372      -) echo $tmp/stdin ;;
3373      [\\/$]*)
3374	 # Absolute (can't be DOS-style, as IFS=:)
3375	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3376echo "$as_me: error: cannot find input file: $f" >&2;}
3377   { (exit 1); exit 1; }; }
3378	 echo "$f";;
3379      *) # Relative
3380	 if test -f "$f"; then
3381	   # Build tree
3382	   echo "$f"
3383	 elif test -f "$srcdir/$f"; then
3384	   # Source tree
3385	   echo "$srcdir/$f"
3386	 else
3387	   # /dev/null tree
3388	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3389echo "$as_me: error: cannot find input file: $f" >&2;}
3390   { (exit 1); exit 1; }; }
3391	 fi;;
3392      esac
3393    done` || { (exit 1); exit 1; }
3394_ACEOF
3395cat >>$CONFIG_STATUS <<_ACEOF
3396  sed "$ac_vpsub
3397$extrasub
3398_ACEOF
3399cat >>$CONFIG_STATUS <<\_ACEOF
3400:t
3401/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3402s,@configure_input@,$configure_input,;t t
3403s,@srcdir@,$ac_srcdir,;t t
3404s,@abs_srcdir@,$ac_abs_srcdir,;t t
3405s,@top_srcdir@,$ac_top_srcdir,;t t
3406s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3407s,@builddir@,$ac_builddir,;t t
3408s,@abs_builddir@,$ac_abs_builddir,;t t
3409s,@top_builddir@,$ac_top_builddir,;t t
3410s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3411s,@INSTALL@,$ac_INSTALL,;t t
3412" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3413  rm -f $tmp/stdin
3414  if test x"$ac_file" != x-; then
3415    mv $tmp/out $ac_file
3416  else
3417    cat $tmp/out
3418    rm -f $tmp/out
3419  fi
3420
3421done
3422_ACEOF
3423
3424cat >>$CONFIG_STATUS <<\_ACEOF
3425
3426{ (exit 0); exit 0; }
3427_ACEOF
3428chmod +x $CONFIG_STATUS
3429ac_clean_files=$ac_clean_files_save
3430
3431
3432# configure is writing to config.log, and then calls config.status.
3433# config.status does its own redirection, appending to config.log.
3434# Unfortunately, on DOS this fails, as config.log is still kept open
3435# by configure, so config.status won't be able to write to it; its
3436# output is simply discarded.  So we exec the FD to /dev/null,
3437# effectively closing config.log, so it can be properly (re)opened and
3438# appended to by config.status.  When coming back to configure, we
3439# need to make the FD available again.
3440if test "$no_create" != yes; then
3441  ac_cs_success=:
3442  ac_config_status_args=
3443  test "$silent" = yes &&
3444    ac_config_status_args="$ac_config_status_args --quiet"
3445  exec 5>/dev/null
3446  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3447  exec 5>>config.log
3448  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3449  # would make configure fail if this is the last instruction.
3450  $ac_cs_success || { (exit 1); exit 1; }
3451fi
3452
3453
3454  if test x"$coin_vpath_link_files" = x; then : ; else
3455    lnkcmd="$coin_link_input_cmd"
3456    if test "$lnkcmd" = cp; then
3457      { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5
3458echo "$as_me: Copying data files for VPATH configuration" >&6;}
3459    else
3460      { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
3461echo "$as_me: Creating VPATH links for data files" >&6;}
3462    fi
3463    for file in $coin_vpath_link_files; do
3464      dir=`(dirname "./$file") 2>/dev/null ||
3465$as_expr X"./$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3466	 X"./$file" : 'X\(//\)[^/]' \| \
3467	 X"./$file" : 'X\(//\)$' \| \
3468	 X"./$file" : 'X\(/\)' \| \
3469	 .     : '\(.\)' 2>/dev/null ||
3470echo X"./$file" |
3471    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3472  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3473  	  /^X\(\/\/\)$/{ s//\1/; q; }
3474  	  /^X\(\/\).*/{ s//\1/; q; }
3475  	  s/.*/./; q'`
3476      if test -d $dir; then : ; else
3477        { if $as_mkdir_p; then
3478    mkdir -p $dir
3479  else
3480    as_dir=$dir
3481    as_dirs=
3482    while test ! -d "$as_dir"; do
3483      as_dirs="$as_dir $as_dirs"
3484      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3485$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3486	 X"$as_dir" : 'X\(//\)[^/]' \| \
3487	 X"$as_dir" : 'X\(//\)$' \| \
3488	 X"$as_dir" : 'X\(/\)' \| \
3489	 .     : '\(.\)' 2>/dev/null ||
3490echo X"$as_dir" |
3491    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3492  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3493  	  /^X\(\/\/\)$/{ s//\1/; q; }
3494  	  /^X\(\/\).*/{ s//\1/; q; }
3495  	  s/.*/./; q'`
3496    done
3497    test ! -n "$as_dirs" || mkdir $as_dirs
3498  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dir" >&5
3499echo "$as_me: error: cannot create directory $dir" >&2;}
3500   { (exit 1); exit 1; }; }; }
3501
3502      fi
3503      rm -f $file
3504      $lnkcmd $abs_source_dir/$file $file
3505    done
3506  fi
3507
3508  { echo "$as_me:$LINENO: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&5
3509echo "$as_me: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&6;}
3510  if test x$coin_projectdir = xyes; then
3511    { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
3512echo "$as_me: Configuration of $PACKAGE_NAME successful" >&6;}
3513  else
3514    { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&5
3515echo "$as_me: Main configuration of $PACKAGE_NAME successful" >&6;}
3516  fi
3517else
3518  { echo "$as_me:$LINENO: No configuration of $PACKAGE_NAME necessary" >&5
3519echo "$as_me: No configuration of $PACKAGE_NAME necessary" >&6;}
3520fi
3521
3522
3523