1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by Autoconf 2.52 for SoAnyData 1.0.0.
4#
5# Report bugs to <coin-support@coin3d.org>.
6#
7# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8# Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11
12# Avoid depending upon Character Ranges.
13as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16as_cr_digits='0123456789'
17as_cr_alnum=$as_cr_Letters$as_cr_digits
18
19# Sed expression to map a string onto a valid variable name.
20as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
21
22# Sed expression to map a string onto a valid CPP name.
23as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
24
25# Be Bourne compatible
26if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27  emulate sh
28  NULLCMD=:
29elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30  set -o posix
31fi
32
33# Name of the executable.
34as_me=`echo "$0" |sed 's,.*[\\/],,'`
35
36if expr a : '\(a\)' >/dev/null 2>&1; then
37  as_expr=expr
38else
39  as_expr=false
40fi
41
42rm -f conf$$ conf$$.exe conf$$.file
43echo >conf$$.file
44if ln -s conf$$.file conf$$ 2>/dev/null; then
45  # We could just check for DJGPP; but this test a) works b) is more generic
46  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
47  if test -f conf$$.exe; then
48    # Don't use ln at all; we don't have any links
49    as_ln_s='cp -p'
50  else
51    as_ln_s='ln -s'
52  fi
53elif ln conf$$.file conf$$ 2>/dev/null; then
54  as_ln_s=ln
55else
56  as_ln_s='cp -p'
57fi
58rm -f conf$$ conf$$.exe conf$$.file
59
60as_executable_p="test -f"
61
62# Support unset when possible.
63if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
64  as_unset=unset
65else
66  as_unset=false
67fi
68
69# NLS nuisances.
70$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
71$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
72$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
73$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
74$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
75$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
76$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
77$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
78
79# IFS
80# We need space, tab and new line, in precisely that order.
81as_nl='
82'
83IFS=" 	$as_nl"
84
85# CDPATH.
86$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
87
88# Name of the host.
89# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
90# so uname gets run too.
91ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
92
93exec 6>&1
94
95#
96# Initializations.
97#
98ac_default_prefix=/usr/local
99cross_compiling=no
100subdirs=
101MFLAGS= MAKEFLAGS=
102SHELL=${CONFIG_SHELL-/bin/sh}
103
104# Maximum number of lines to put in a shell here document.
105# This variable seems obsolete.  It should probably be removed, and
106# only ac_max_sed_lines should be used.
107: ${ac_max_here_lines=38}
108
109ac_unique_file="materials/Makefile.am"
110
111# Initialize some variables set by options.
112ac_init_help=
113ac_init_version=false
114# The variables have the same names as the options, with
115# dashes changed to underlines.
116cache_file=/dev/null
117exec_prefix=NONE
118no_create=
119no_recursion=
120prefix=NONE
121program_prefix=NONE
122program_suffix=NONE
123program_transform_name=s,x,x,
124silent=
125site=
126srcdir=
127verbose=
128x_includes=NONE
129x_libraries=NONE
130
131# Installation directory options.
132# These are left unexpanded so users can "make install exec_prefix=/foo"
133# and all the variables that are supposed to be based on exec_prefix
134# by default will actually change.
135# Use braces instead of parens because sh, perl, etc. also accept them.
136bindir='${exec_prefix}/bin'
137sbindir='${exec_prefix}/sbin'
138libexecdir='${exec_prefix}/libexec'
139datadir='${prefix}/share'
140sysconfdir='${prefix}/etc'
141sharedstatedir='${prefix}/com'
142localstatedir='${prefix}/var'
143libdir='${exec_prefix}/lib'
144includedir='${prefix}/include'
145oldincludedir='/usr/include'
146infodir='${prefix}/info'
147mandir='${prefix}/man'
148
149# Identity of this package.
150PACKAGE_NAME='SoAnyData'
151PACKAGE_TARNAME='soanydata'
152PACKAGE_VERSION='1.0.0'
153PACKAGE_STRING='SoAnyData 1.0.0'
154PACKAGE_BUGREPORT='coin-support@coin3d.org'
155
156ac_prev=
157for ac_option
158do
159  # If the previous option needs an argument, assign it.
160  if test -n "$ac_prev"; then
161    eval "$ac_prev=\$ac_option"
162    ac_prev=
163    continue
164  fi
165
166  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
167
168  # Accept the important Cygnus configure options, so we can diagnose typos.
169
170  case $ac_option in
171
172  -bindir | --bindir | --bindi | --bind | --bin | --bi)
173    ac_prev=bindir ;;
174  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
175    bindir=$ac_optarg ;;
176
177  -build | --build | --buil | --bui | --bu)
178    ac_prev=build_alias ;;
179  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
180    build_alias=$ac_optarg ;;
181
182  -cache-file | --cache-file | --cache-fil | --cache-fi \
183  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
184    ac_prev=cache_file ;;
185  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
186  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
187    cache_file=$ac_optarg ;;
188
189  --config-cache | -C)
190    cache_file=config.cache ;;
191
192  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
193    ac_prev=datadir ;;
194  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
195  | --da=*)
196    datadir=$ac_optarg ;;
197
198  -disable-* | --disable-*)
199    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
200    # Reject names that are not valid shell variable names.
201    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
202      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
203   { (exit 1); exit 1; }; }
204    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
205    eval "enable_$ac_feature=no" ;;
206
207  -enable-* | --enable-*)
208    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
209    # Reject names that are not valid shell variable names.
210    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
211      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
212   { (exit 1); exit 1; }; }
213    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
214    case $ac_option in
215      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
216      *) ac_optarg=yes ;;
217    esac
218    eval "enable_$ac_feature='$ac_optarg'" ;;
219
220  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
221  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
222  | --exec | --exe | --ex)
223    ac_prev=exec_prefix ;;
224  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
225  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
226  | --exec=* | --exe=* | --ex=*)
227    exec_prefix=$ac_optarg ;;
228
229  -gas | --gas | --ga | --g)
230    # Obsolete; use --with-gas.
231    with_gas=yes ;;
232
233  -help | --help | --hel | --he | -h)
234    ac_init_help=long ;;
235  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
236    ac_init_help=recursive ;;
237  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
238    ac_init_help=short ;;
239
240  -host | --host | --hos | --ho)
241    ac_prev=host_alias ;;
242  -host=* | --host=* | --hos=* | --ho=*)
243    host_alias=$ac_optarg ;;
244
245  -includedir | --includedir | --includedi | --included | --include \
246  | --includ | --inclu | --incl | --inc)
247    ac_prev=includedir ;;
248  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
249  | --includ=* | --inclu=* | --incl=* | --inc=*)
250    includedir=$ac_optarg ;;
251
252  -infodir | --infodir | --infodi | --infod | --info | --inf)
253    ac_prev=infodir ;;
254  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
255    infodir=$ac_optarg ;;
256
257  -libdir | --libdir | --libdi | --libd)
258    ac_prev=libdir ;;
259  -libdir=* | --libdir=* | --libdi=* | --libd=*)
260    libdir=$ac_optarg ;;
261
262  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
263  | --libexe | --libex | --libe)
264    ac_prev=libexecdir ;;
265  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
266  | --libexe=* | --libex=* | --libe=*)
267    libexecdir=$ac_optarg ;;
268
269  -localstatedir | --localstatedir | --localstatedi | --localstated \
270  | --localstate | --localstat | --localsta | --localst \
271  | --locals | --local | --loca | --loc | --lo)
272    ac_prev=localstatedir ;;
273  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
274  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
275  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
276    localstatedir=$ac_optarg ;;
277
278  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
279    ac_prev=mandir ;;
280  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
281    mandir=$ac_optarg ;;
282
283  -nfp | --nfp | --nf)
284    # Obsolete; use --without-fp.
285    with_fp=no ;;
286
287  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
288  | --no-cr | --no-c)
289    no_create=yes ;;
290
291  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
292  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
293    no_recursion=yes ;;
294
295  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
296  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
297  | --oldin | --oldi | --old | --ol | --o)
298    ac_prev=oldincludedir ;;
299  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
300  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
301  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
302    oldincludedir=$ac_optarg ;;
303
304  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
305    ac_prev=prefix ;;
306  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
307    prefix=$ac_optarg ;;
308
309  -program-prefix | --program-prefix | --program-prefi | --program-pref \
310  | --program-pre | --program-pr | --program-p)
311    ac_prev=program_prefix ;;
312  -program-prefix=* | --program-prefix=* | --program-prefi=* \
313  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
314    program_prefix=$ac_optarg ;;
315
316  -program-suffix | --program-suffix | --program-suffi | --program-suff \
317  | --program-suf | --program-su | --program-s)
318    ac_prev=program_suffix ;;
319  -program-suffix=* | --program-suffix=* | --program-suffi=* \
320  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
321    program_suffix=$ac_optarg ;;
322
323  -program-transform-name | --program-transform-name \
324  | --program-transform-nam | --program-transform-na \
325  | --program-transform-n | --program-transform- \
326  | --program-transform | --program-transfor \
327  | --program-transfo | --program-transf \
328  | --program-trans | --program-tran \
329  | --progr-tra | --program-tr | --program-t)
330    ac_prev=program_transform_name ;;
331  -program-transform-name=* | --program-transform-name=* \
332  | --program-transform-nam=* | --program-transform-na=* \
333  | --program-transform-n=* | --program-transform-=* \
334  | --program-transform=* | --program-transfor=* \
335  | --program-transfo=* | --program-transf=* \
336  | --program-trans=* | --program-tran=* \
337  | --progr-tra=* | --program-tr=* | --program-t=*)
338    program_transform_name=$ac_optarg ;;
339
340  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
341  | -silent | --silent | --silen | --sile | --sil)
342    silent=yes ;;
343
344  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
345    ac_prev=sbindir ;;
346  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
347  | --sbi=* | --sb=*)
348    sbindir=$ac_optarg ;;
349
350  -sharedstatedir | --sharedstatedir | --sharedstatedi \
351  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
352  | --sharedst | --shareds | --shared | --share | --shar \
353  | --sha | --sh)
354    ac_prev=sharedstatedir ;;
355  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
356  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
357  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
358  | --sha=* | --sh=*)
359    sharedstatedir=$ac_optarg ;;
360
361  -site | --site | --sit)
362    ac_prev=site ;;
363  -site=* | --site=* | --sit=*)
364    site=$ac_optarg ;;
365
366  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
367    ac_prev=srcdir ;;
368  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
369    srcdir=$ac_optarg ;;
370
371  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
372  | --syscon | --sysco | --sysc | --sys | --sy)
373    ac_prev=sysconfdir ;;
374  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
375  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
376    sysconfdir=$ac_optarg ;;
377
378  -target | --target | --targe | --targ | --tar | --ta | --t)
379    ac_prev=target_alias ;;
380  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
381    target_alias=$ac_optarg ;;
382
383  -v | -verbose | --verbose | --verbos | --verbo | --verb)
384    verbose=yes ;;
385
386  -version | --version | --versio | --versi | --vers | -V)
387    ac_init_version=: ;;
388
389  -with-* | --with-*)
390    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
391    # Reject names that are not valid shell variable names.
392    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393      { echo "$as_me: error: invalid package name: $ac_package" >&2
394   { (exit 1); exit 1; }; }
395    ac_package=`echo $ac_package| sed 's/-/_/g'`
396    case $ac_option in
397      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
398      *) ac_optarg=yes ;;
399    esac
400    eval "with_$ac_package='$ac_optarg'" ;;
401
402  -without-* | --without-*)
403    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
404    # Reject names that are not valid shell variable names.
405    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
406      { echo "$as_me: error: invalid package name: $ac_package" >&2
407   { (exit 1); exit 1; }; }
408    ac_package=`echo $ac_package | sed 's/-/_/g'`
409    eval "with_$ac_package=no" ;;
410
411  --x)
412    # Obsolete; use --with-x.
413    with_x=yes ;;
414
415  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
416  | --x-incl | --x-inc | --x-in | --x-i)
417    ac_prev=x_includes ;;
418  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
419  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
420    x_includes=$ac_optarg ;;
421
422  -x-libraries | --x-libraries | --x-librarie | --x-librari \
423  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
424    ac_prev=x_libraries ;;
425  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
426  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
427    x_libraries=$ac_optarg ;;
428
429  -*) { echo "$as_me: error: unrecognized option: $ac_option
430Try \`$0 --help' for more information." >&2
431   { (exit 1); exit 1; }; }
432    ;;
433
434  *=*)
435    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
436    # Reject names that are not valid shell variable names.
437    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
438      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
439   { (exit 1); exit 1; }; }
440    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
441    eval "$ac_envvar='$ac_optarg'"
442    export $ac_envvar ;;
443
444  *)
445    # FIXME: should be removed in autoconf 3.0.
446    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
447    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
448      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
449    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
450    ;;
451
452  esac
453done
454
455if test -n "$ac_prev"; then
456  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
457  { echo "$as_me: error: missing argument to $ac_option" >&2
458   { (exit 1); exit 1; }; }
459fi
460
461# Be sure to have absolute paths.
462for ac_var in exec_prefix prefix
463do
464  eval ac_val=$`echo $ac_var`
465  case $ac_val in
466    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
467    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
468   { (exit 1); exit 1; }; };;
469  esac
470done
471
472# Be sure to have absolute paths.
473for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
474              localstatedir libdir includedir oldincludedir infodir mandir
475do
476  eval ac_val=$`echo $ac_var`
477  case $ac_val in
478    [\\/$]* | ?:[\\/]* ) ;;
479    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
480   { (exit 1); exit 1; }; };;
481  esac
482done
483
484# There might be people who depend on the old broken behavior: `$host'
485# used to hold the argument of --host etc.
486build=$build_alias
487host=$host_alias
488target=$target_alias
489
490# FIXME: should be removed in autoconf 3.0.
491if test "x$host_alias" != x; then
492  if test "x$build_alias" = x; then
493    cross_compiling=maybe
494    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
495    If a cross compiler is detected then cross compile mode will be used." >&2
496  elif test "x$build_alias" != "x$host_alias"; then
497    cross_compiling=yes
498  fi
499fi
500
501ac_tool_prefix=
502test -n "$host_alias" && ac_tool_prefix=$host_alias-
503
504test "$silent" = yes && exec 6>/dev/null
505
506# Find the source files, if location was not specified.
507if test -z "$srcdir"; then
508  ac_srcdir_defaulted=yes
509  # Try the directory containing this script, then its parent.
510  ac_prog=$0
511  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
512  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
513  srcdir=$ac_confdir
514  if test ! -r $srcdir/$ac_unique_file; then
515    srcdir=..
516  fi
517else
518  ac_srcdir_defaulted=no
519fi
520if test ! -r $srcdir/$ac_unique_file; then
521  if test "$ac_srcdir_defaulted" = yes; then
522    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
523   { (exit 1); exit 1; }; }
524  else
525    { echo "$as_me: error: cannot find sources in $srcdir" >&2
526   { (exit 1); exit 1; }; }
527  fi
528fi
529srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
530ac_env_build_alias_set=${build_alias+set}
531ac_env_build_alias_value=$build_alias
532ac_cv_env_build_alias_set=${build_alias+set}
533ac_cv_env_build_alias_value=$build_alias
534ac_env_host_alias_set=${host_alias+set}
535ac_env_host_alias_value=$host_alias
536ac_cv_env_host_alias_set=${host_alias+set}
537ac_cv_env_host_alias_value=$host_alias
538ac_env_target_alias_set=${target_alias+set}
539ac_env_target_alias_value=$target_alias
540ac_cv_env_target_alias_set=${target_alias+set}
541ac_cv_env_target_alias_value=$target_alias
542
543#
544# Report the --help message.
545#
546if test "$ac_init_help" = "long"; then
547  # Omit some internal or obsolete options to make the list less imposing.
548  # This message is too long to be a string in the A/UX 3.1 sh.
549  cat <<EOF
550\`configure' configures SoAnyData 1.0.0 to adapt to many kinds of systems.
551
552Usage: $0 [OPTION]... [VAR=VALUE]...
553
554To assign environment variables (e.g., CC, CFLAGS...), specify them as
555VAR=VALUE.  See below for descriptions of some of the useful variables.
556
557Defaults for the options are specified in brackets.
558
559Configuration:
560  -h, --help              display this help and exit
561      --help=short        display options specific to this package
562      --help=recursive    display the short help of all the included packages
563  -V, --version           display version information and exit
564  -q, --quiet, --silent   do not print \`checking...' messages
565      --cache-file=FILE   cache test results in FILE [disabled]
566  -C, --config-cache      alias for \`--cache-file=config.cache'
567  -n, --no-create         do not create output files
568      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
569
570EOF
571
572  cat <<EOF
573Installation directories:
574  --prefix=PREFIX         install architecture-independent files in PREFIX
575                          [$ac_default_prefix]
576  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
577                          [PREFIX]
578
579By default, \`make install' will install all the files in
580\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
581an installation prefix other than \`$ac_default_prefix' using \`--prefix',
582for instance \`--prefix=\$HOME'.
583
584For better control, use the options below.
585
586Fine tuning of the installation directories:
587  --bindir=DIR           user executables [EPREFIX/bin]
588  --sbindir=DIR          system admin executables [EPREFIX/sbin]
589  --libexecdir=DIR       program executables [EPREFIX/libexec]
590  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
591  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
592  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
593  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
594  --libdir=DIR           object code libraries [EPREFIX/lib]
595  --includedir=DIR       C header files [PREFIX/include]
596  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
597  --infodir=DIR          info documentation [PREFIX/info]
598  --mandir=DIR           man documentation [PREFIX/man]
599EOF
600
601  cat <<\EOF
602
603Program names:
604  --program-prefix=PREFIX            prepend PREFIX to installed program names
605  --program-suffix=SUFFIX            append SUFFIX to installed program names
606  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
607EOF
608fi
609
610if test -n "$ac_init_help"; then
611  case $ac_init_help in
612     short | recursive ) echo "Configuration of SoAnyData 1.0.0:";;
613   esac
614  cat <<\EOF
615
616Optional Features:
617  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
618  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
619  --disable-dependency-tracking Speeds up one-time builds
620  --enable-dependency-tracking  Do not reject slow dependency extractors
621  --enable-maintainer-mode enable make rules and dependencies not useful
622                          (and sometimes confusing) to the casual installer
623
624Report bugs to <coin-support@coin3d.org>.
625EOF
626fi
627
628if test "$ac_init_help" = "recursive"; then
629  # If there are subdirs, report their specific --help.
630  ac_popdir=`pwd`
631  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
632    cd $ac_subdir
633    # A "../" for each directory in /$ac_subdir.
634    ac_dots=`echo $ac_subdir |
635             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
636
637    case $srcdir in
638    .) # No --srcdir option.  We are building in place.
639      ac_sub_srcdir=$srcdir ;;
640    [\\/]* | ?:[\\/]* ) # Absolute path.
641      ac_sub_srcdir=$srcdir/$ac_subdir ;;
642    *) # Relative path.
643      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
644    esac
645
646    # Check for guested configure; otherwise get Cygnus style configure.
647    if test -f $ac_sub_srcdir/configure.gnu; then
648      echo
649      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
650    elif test -f $ac_sub_srcdir/configure; then
651      echo
652      $SHELL $ac_sub_srcdir/configure  --help=recursive
653    elif test -f $ac_sub_srcdir/configure.ac ||
654           test -f $ac_sub_srcdir/configure.in; then
655      echo
656      $ac_configure --help
657    else
658      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
659    fi
660    cd $ac_popdir
661  done
662fi
663
664test -n "$ac_init_help" && exit 0
665if $ac_init_version; then
666  cat <<\EOF
667SoAnyData configure 1.0.0
668generated by GNU Autoconf 2.52
669
670Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
671Free Software Foundation, Inc.
672This configure script is free software; the Free Software Foundation
673gives unlimited permission to copy, distribute and modify it.
674EOF
675  exit 0
676fi
677exec 5>config.log
678cat >&5 <<EOF
679This file contains any messages produced by compilers while
680running configure, to aid debugging if configure makes a mistake.
681
682It was created by SoAnyData $as_me 1.0.0, which was
683generated by GNU Autoconf 2.52.  Invocation command line was
684
685  $ $0 $@
686
687EOF
688{
689cat <<_ASUNAME
690## ---------- ##
691## Platform.  ##
692## ---------- ##
693
694hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
695uname -m = `(uname -m) 2>/dev/null || echo unknown`
696uname -r = `(uname -r) 2>/dev/null || echo unknown`
697uname -s = `(uname -s) 2>/dev/null || echo unknown`
698uname -v = `(uname -v) 2>/dev/null || echo unknown`
699
700/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
701/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
702
703/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
704/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
705/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
706hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
707/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
708/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
709/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
710
711PATH = $PATH
712
713_ASUNAME
714} >&5
715
716cat >&5 <<EOF
717## ------------ ##
718## Core tests.  ##
719## ------------ ##
720
721EOF
722
723# Keep a trace of the command line.
724# Strip out --no-create and --no-recursion so they do not pile up.
725# Also quote any args containing shell meta-characters.
726ac_configure_args=
727ac_sep=
728for ac_arg
729do
730  case $ac_arg in
731  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
732  | --no-cr | --no-c) ;;
733  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
734  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
735  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
736    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
737    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
738    ac_sep=" " ;;
739  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
740     ac_sep=" " ;;
741  esac
742  # Get rid of the leading space.
743done
744
745# When interrupted or exit'd, cleanup temporary files, and complete
746# config.log.  We remove comments because anyway the quotes in there
747# would cause problems or look ugly.
748trap 'exit_status=$?
749  # Save into config.log some information that might help in debugging.
750  echo >&5
751  echo "## ----------------- ##" >&5
752  echo "## Cache variables.  ##" >&5
753  echo "## ----------------- ##" >&5
754  echo >&5
755  # The following way of writing the cache mishandles newlines in values,
756{
757  (set) 2>&1 |
758    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
759    *ac_space=\ *)
760      sed -n \
761        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
762    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
763      ;;
764    *)
765      sed -n \
766        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
767      ;;
768    esac;
769} >&5
770  sed "/^$/d" confdefs.h >conftest.log
771  if test -s conftest.log; then
772    echo >&5
773    echo "## ------------ ##" >&5
774    echo "## confdefs.h.  ##" >&5
775    echo "## ------------ ##" >&5
776    echo >&5
777    cat conftest.log >&5
778  fi
779  (echo; echo) >&5
780  test "$ac_signal" != 0 &&
781    echo "$as_me: caught signal $ac_signal" >&5
782  echo "$as_me: exit $exit_status" >&5
783  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
784    exit $exit_status
785     ' 0
786for ac_signal in 1 2 13 15; do
787  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
788done
789ac_signal=0
790
791# confdefs.h avoids OS command line length limits that DEFS can exceed.
792rm -rf conftest* confdefs.h
793# AIX cpp loses on an empty file, so make sure it contains at least a newline.
794echo >confdefs.h
795
796# Let the site file select an alternate cache file if it wants to.
797# Prefer explicitly selected file to automatically selected ones.
798if test -z "$CONFIG_SITE"; then
799  if test "x$prefix" != xNONE; then
800    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
801  else
802    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
803  fi
804fi
805for ac_site_file in $CONFIG_SITE; do
806  if test -r "$ac_site_file"; then
807    { echo "$as_me:807: loading site script $ac_site_file" >&5
808echo "$as_me: loading site script $ac_site_file" >&6;}
809    cat "$ac_site_file" >&5
810    . "$ac_site_file"
811  fi
812done
813
814if test -r "$cache_file"; then
815  # Some versions of bash will fail to source /dev/null (special
816  # files actually), so we avoid doing that.
817  if test -f "$cache_file"; then
818    { echo "$as_me:818: loading cache $cache_file" >&5
819echo "$as_me: loading cache $cache_file" >&6;}
820    case $cache_file in
821      [\\/]* | ?:[\\/]* ) . $cache_file;;
822      *)                      . ./$cache_file;;
823    esac
824  fi
825else
826  { echo "$as_me:826: creating cache $cache_file" >&5
827echo "$as_me: creating cache $cache_file" >&6;}
828  >$cache_file
829fi
830
831# Check that the precious variables saved in the cache have kept the same
832# value.
833ac_cache_corrupted=false
834for ac_var in `(set) 2>&1 |
835               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
836  eval ac_old_set=\$ac_cv_env_${ac_var}_set
837  eval ac_new_set=\$ac_env_${ac_var}_set
838  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
839  eval ac_new_val="\$ac_env_${ac_var}_value"
840  case $ac_old_set,$ac_new_set in
841    set,)
842      { echo "$as_me:842: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
843echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
844      ac_cache_corrupted=: ;;
845    ,set)
846      { echo "$as_me:846: error: \`$ac_var' was not set in the previous run" >&5
847echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
848      ac_cache_corrupted=: ;;
849    ,);;
850    *)
851      if test "x$ac_old_val" != "x$ac_new_val"; then
852        { echo "$as_me:852: error: \`$ac_var' has changed since the previous run:" >&5
853echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
854        { echo "$as_me:854:   former value:  $ac_old_val" >&5
855echo "$as_me:   former value:  $ac_old_val" >&2;}
856        { echo "$as_me:856:   current value: $ac_new_val" >&5
857echo "$as_me:   current value: $ac_new_val" >&2;}
858        ac_cache_corrupted=:
859      fi;;
860  esac
861  # Pass precious variables to config.status.  It doesn't matter if
862  # we pass some twice (in addition to the command line arguments).
863  if test "$ac_new_set" = set; then
864    case $ac_new_val in
865    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
866      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
867      ac_configure_args="$ac_configure_args '$ac_arg'"
868      ;;
869    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
870       ;;
871    esac
872  fi
873done
874if $ac_cache_corrupted; then
875  { echo "$as_me:875: error: changes in the environment can compromise the build" >&5
876echo "$as_me: error: changes in the environment can compromise the build" >&2;}
877  { { echo "$as_me:877: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
878echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
879   { (exit 1); exit 1; }; }
880fi
881
882ac_ext=c
883ac_cpp='$CPP $CPPFLAGS'
884ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
885ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
886ac_compiler_gnu=$ac_cv_c_compiler_gnu
887
888case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
889  *c*,-n*) ECHO_N= ECHO_C='
890' ECHO_T='	' ;;
891  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
892  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
893esac
894echo "#! $SHELL" >conftest.sh
895echo  "exit 0"   >>conftest.sh
896chmod +x conftest.sh
897if { (echo "$as_me:897: PATH=\".;.\"; conftest.sh") >&5
898  (PATH=".;."; conftest.sh) 2>&5
899  ac_status=$?
900  echo "$as_me:900: \$? = $ac_status" >&5
901  (exit $ac_status); }; then
902  ac_path_separator=';'
903else
904  ac_path_separator=:
905fi
906PATH_SEPARATOR="$ac_path_separator"
907rm -f conftest.sh
908
909ac_aux_dir=
910for ac_dir in cfg $srcdir/cfg; do
911  if test -f $ac_dir/install-sh; then
912    ac_aux_dir=$ac_dir
913    ac_install_sh="$ac_aux_dir/install-sh -c"
914    break
915  elif test -f $ac_dir/install.sh; then
916    ac_aux_dir=$ac_dir
917    ac_install_sh="$ac_aux_dir/install.sh -c"
918    break
919  elif test -f $ac_dir/shtool; then
920    ac_aux_dir=$ac_dir
921    ac_install_sh="$ac_aux_dir/shtool install -c"
922    break
923  fi
924done
925if test -z "$ac_aux_dir"; then
926  { { echo "$as_me:926: error: cannot find install-sh or install.sh in cfg $srcdir/cfg" >&5
927echo "$as_me: error: cannot find install-sh or install.sh in cfg $srcdir/cfg" >&2;}
928   { (exit 1); exit 1; }; }
929fi
930ac_config_guess="$SHELL $ac_aux_dir/config.guess"
931ac_config_sub="$SHELL $ac_aux_dir/config.sub"
932ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
933
934# **************************************************************************
935# Miscellaneous options and initializations.
936
937# Find a good install program.  We prefer a C program (faster),
938# so one script is as good as another.  But avoid the broken or
939# incompatible versions:
940# SysV /etc/install, /usr/sbin/install
941# SunOS /usr/etc/install
942# IRIX /sbin/install
943# AIX /bin/install
944# AmigaOS /C/install, which installs bootblocks on floppy discs
945# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
946# AFS /usr/afsws/bin/install, which mishandles nonexistent args
947# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
948# ./install, which can be erroneously created by make from ./install.sh.
949echo "$as_me:949: checking for a BSD compatible install" >&5
950echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
951if test -z "$INSTALL"; then
952if test "${ac_cv_path_install+set}" = set; then
953  echo $ECHO_N "(cached) $ECHO_C" >&6
954else
955    ac_save_IFS=$IFS; IFS=$ac_path_separator
956  for ac_dir in $PATH; do
957    IFS=$ac_save_IFS
958    # Account for people who put trailing slashes in PATH elements.
959    case $ac_dir/ in
960    / | ./ | .// | /cC/* \
961    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
962    | /usr/ucb/* ) ;;
963    *)
964      # OSF1 and SCO ODT 3.0 have their own names for install.
965      # Don't use installbsd from OSF since it installs stuff as root
966      # by default.
967      for ac_prog in ginstall scoinst install; do
968        if $as_executable_p "$ac_dir/$ac_prog"; then
969	  if test $ac_prog = install &&
970            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
971	    # AIX install.  It has an incompatible calling convention.
972	    :
973	  elif test $ac_prog = install &&
974	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
975	    # program-specific install script used by HP pwplus--don't use.
976	    :
977	  else
978	    ac_cv_path_install="$ac_dir/$ac_prog -c"
979	    break 2
980	  fi
981	fi
982      done
983      ;;
984    esac
985  done
986
987fi
988  if test "${ac_cv_path_install+set}" = set; then
989    INSTALL=$ac_cv_path_install
990  else
991    # As a last resort, use the slow shell script.  We don't cache a
992    # path for INSTALL within a source directory, because that will
993    # break other packages using the cache if that directory is
994    # removed, or if the path is relative.
995    INSTALL=$ac_install_sh
996  fi
997fi
998echo "$as_me:998: result: $INSTALL" >&5
999echo "${ECHO_T}$INSTALL" >&6
1000
1001# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1002# It thinks the first close brace ends the variable substitution.
1003test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1004
1005test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1006
1007test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1008
1009echo "$as_me:1009: checking whether build environment is sane" >&5
1010echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1011# Just in case
1012sleep 1
1013echo timestamp > conftest.file
1014# Do `set' in a subshell so we don't clobber the current shell's
1015# arguments.  Must try -L first in case configure is actually a
1016# symlink; some systems play weird games with the mod time of symlinks
1017# (eg FreeBSD returns the mod time of the symlink's containing
1018# directory).
1019if (
1020   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1021   if test "$*" = "X"; then
1022      # -L didn't work.
1023      set X `ls -t $srcdir/configure conftest.file`
1024   fi
1025   rm -f conftest.file
1026   if test "$*" != "X $srcdir/configure conftest.file" \
1027      && test "$*" != "X conftest.file $srcdir/configure"; then
1028
1029      # If neither matched, then we have a broken ls.  This can happen
1030      # if, for instance, CONFIG_SHELL is bash and it inherits a
1031      # broken ls alias from the environment.  This has actually
1032      # happened.  Such a system could not be considered "sane".
1033      { { echo "$as_me:1033: error: ls -t appears to fail.  Make sure there is not a broken
1034alias in your environment" >&5
1035echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1036alias in your environment" >&2;}
1037   { (exit 1); exit 1; }; }
1038   fi
1039
1040   test "$2" = conftest.file
1041   )
1042then
1043   # Ok.
1044   :
1045else
1046   { { echo "$as_me:1046: error: newly created file is older than distributed files!
1047Check your system clock" >&5
1048echo "$as_me: error: newly created file is older than distributed files!
1049Check your system clock" >&2;}
1050   { (exit 1); exit 1; }; }
1051fi
1052echo "$as_me:1052: result: yes" >&5
1053echo "${ECHO_T}yes" >&6
1054test "$program_prefix" != NONE &&
1055  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1056# Use a double $ so make ignores it.
1057test "$program_suffix" != NONE &&
1058  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1059# Double any \ or $.  echo might interpret backslashes.
1060# By default was `s,x,x', remove it if useless.
1061cat <<\_ACEOF >conftest.sed
1062s/[\\$]/&&/g;s/;s,x,x,$//
1063_ACEOF
1064program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1065rm conftest.sed
1066
1067# expand $ac_aux_dir to an absolute path
1068if test "${CDPATH+set}" = set; then
1069  CDPATH=${ZSH_VERSION+.}:   # as recommended in autoconf.texi
1070fi
1071am_aux_dir=`cd $ac_aux_dir && pwd`
1072
1073test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1074# Use eval to expand $SHELL
1075if eval "$MISSING --run true"; then
1076  am_missing_run="$MISSING --run "
1077else
1078  am_missing_run=
1079  am_backtick='`'
1080  { echo "$as_me:1080: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1081echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1082fi
1083
1084for ac_prog in mawk gawk nawk awk
1085do
1086  # Extract the first word of "$ac_prog", so it can be a program name with args.
1087set dummy $ac_prog; ac_word=$2
1088echo "$as_me:1088: checking for $ac_word" >&5
1089echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1090if test "${ac_cv_prog_AWK+set}" = set; then
1091  echo $ECHO_N "(cached) $ECHO_C" >&6
1092else
1093  if test -n "$AWK"; then
1094  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1095else
1096  ac_save_IFS=$IFS; IFS=$ac_path_separator
1097ac_dummy="$PATH"
1098for ac_dir in $ac_dummy; do
1099  IFS=$ac_save_IFS
1100  test -z "$ac_dir" && ac_dir=.
1101  $as_executable_p "$ac_dir/$ac_word" || continue
1102ac_cv_prog_AWK="$ac_prog"
1103echo "$as_me:1103: found $ac_dir/$ac_word" >&5
1104break
1105done
1106
1107fi
1108fi
1109AWK=$ac_cv_prog_AWK
1110if test -n "$AWK"; then
1111  echo "$as_me:1111: result: $AWK" >&5
1112echo "${ECHO_T}$AWK" >&6
1113else
1114  echo "$as_me:1114: result: no" >&5
1115echo "${ECHO_T}no" >&6
1116fi
1117
1118  test -n "$AWK" && break
1119done
1120
1121echo "$as_me:1121: checking whether ${MAKE-make} sets \${MAKE}" >&5
1122echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1123set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1124if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1125  echo $ECHO_N "(cached) $ECHO_C" >&6
1126else
1127  cat >conftest.make <<\EOF
1128all:
1129	@echo 'ac_maketemp="${MAKE}"'
1130EOF
1131# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1132eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1133if test -n "$ac_maketemp"; then
1134  eval ac_cv_prog_make_${ac_make}_set=yes
1135else
1136  eval ac_cv_prog_make_${ac_make}_set=no
1137fi
1138rm -f conftest.make
1139fi
1140if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1141  echo "$as_me:1141: result: yes" >&5
1142echo "${ECHO_T}yes" >&6
1143  SET_MAKE=
1144else
1145  echo "$as_me:1145: result: no" >&5
1146echo "${ECHO_T}no" >&6
1147  SET_MAKE="MAKE=${MAKE-make}"
1148fi
1149
1150# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1151if test "${enable_dependency_tracking+set}" = set; then
1152  enableval="$enable_dependency_tracking"
1153
1154fi;
1155if test "x$enable_dependency_tracking" != xno; then
1156  am_depcomp="$ac_aux_dir/depcomp"
1157  AMDEPBACKSLASH='\'
1158fi
1159
1160if test "x$enable_dependency_tracking" != xno; then
1161  AMDEP_TRUE=
1162  AMDEP_FALSE='#'
1163else
1164  AMDEP_TRUE='#'
1165  AMDEP_FALSE=
1166fi
1167
1168rm -f .deps 2>/dev/null
1169mkdir .deps 2>/dev/null
1170if test -d .deps; then
1171  DEPDIR=.deps
1172else
1173  # MS-DOS does not allow filenames that begin with a dot.
1174  DEPDIR=_deps
1175fi
1176rmdir .deps 2>/dev/null
1177
1178# test to see if srcdir already configured
1179if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1180   test -f $srcdir/config.status; then
1181  { { echo "$as_me:1181: error: source directory already configured; run \"make distclean\" there first" >&5
1182echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1183   { (exit 1); exit 1; }; }
1184fi
1185
1186# Define the identity of the package.
1187PACKAGE=data
1188VERSION=1.0.0
1189
1190cat >>confdefs.h <<EOF
1191#define PACKAGE "$PACKAGE"
1192EOF
1193
1194cat >>confdefs.h <<EOF
1195#define VERSION "$VERSION"
1196EOF
1197
1198# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
1199# the ones we care about.
1200
1201# Autoconf 2.50 always computes EXEEXT.  However we need to be
1202# compatible with 2.13, for now.  So we always define EXEEXT, but we
1203# don't compute it.
1204
1205# Similar for OBJEXT -- only we only use OBJEXT if the user actually
1206# requests that it be used.  This is a bit dumb.
1207: ${OBJEXT=o}
1208
1209# Some tools Automake needs.
1210
1211ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1212
1213AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1214
1215AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1216
1217AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1218
1219MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1220
1221AMTAR=${AMTAR-"${am_missing_run}tar"}
1222
1223install_sh=${install_sh-"$am_aux_dir/install-sh"}
1224
1225INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1226
1227# We need awk for the "check" target.  The system "awk" is bad on
1228# some platforms.
1229
1230# File to cram results from the configure tests into.
1231
1232		    		    		    ac_config_headers="$ac_config_headers config.h"
1233
1234# Turn off default maintainer make-rules -- use ./bootstrap instead.
1235echo "$as_me:1235: checking whether to enable maintainer-specific portions of Makefiles" >&5
1236echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1237    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1238if test "${enable_maintainer_mode+set}" = set; then
1239  enableval="$enable_maintainer_mode"
1240  USE_MAINTAINER_MODE=$enableval
1241else
1242  USE_MAINTAINER_MODE=no
1243fi;
1244  echo "$as_me:1244: result: $USE_MAINTAINER_MODE" >&5
1245echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1246
1247if test $USE_MAINTAINER_MODE = yes; then
1248  MAINTAINER_MODE_TRUE=
1249  MAINTAINER_MODE_FALSE='#'
1250else
1251  MAINTAINER_MODE_TRUE='#'
1252  MAINTAINER_MODE_FALSE=
1253fi
1254  MAINT=$MAINTAINER_MODE_TRUE
1255
1256# **************************************************************************
1257# Search and set up necessary stuff to use the GUI library.
1258
1259files=0
1260for file in ../so*-*.cfg; do
1261  files=`expr $files + 1`
1262done
1263if test $files -gt 1; then
1264  rm -f ../so*-*.cfg
1265  { { echo "$as_me:1265: error:
1266  The configure script will now abort because the configure directory was
1267  not clean from configuring/building with multiple --with-alternate options
1268  without cleaning out the directory in-between.  The problematic duplicate
1269  config files has been removed.  Please repeat the configure command -
1270  you will get past this point on the next run.  Sorry for the inconvenience." >&5
1271echo "$as_me: error:
1272  The configure script will now abort because the configure directory was
1273  not clean from configuring/building with multiple --with-alternate options
1274  without cleaning out the directory in-between.  The problematic duplicate
1275  config files has been removed.  Please repeat the configure command -
1276  you will get past this point on the next run.  Sorry for the inconvenience." >&2;}
1277   { (exit 1); exit 1; }; }
1278fi
1279
1280sim_ac_configfile=../so*-*.cfg
1281if test -f $sim_ac_configfile; then
1282  . $sim_ac_configfile;
1283else
1284  { { echo "$as_me:1284: error: found no config file in .." >&5
1285echo "$as_me: error: found no config file in .." >&2;}
1286   { (exit 1); exit 1; }; }
1287fi
1288
1289GUI=$AC_SUBST_GUI
1290
1291Gui=$AC_SUBST_Gui
1292
1293gui=$AC_SUBST_gui
1294
1295if test x"${sim_ac_framework+set}" = x"set" && $sim_ac_framework; then
1296
1297if true; then
1298  MAC_FRAMEWORK_TRUE=
1299  MAC_FRAMEWORK_FALSE='#'
1300else
1301  MAC_FRAMEWORK_TRUE='#'
1302  MAC_FRAMEWORK_FALSE=
1303fi
1304else
1305
1306if false; then
1307  MAC_FRAMEWORK_TRUE=
1308  MAC_FRAMEWORK_FALSE='#'
1309else
1310  MAC_FRAMEWORK_TRUE='#'
1311  MAC_FRAMEWORK_FALSE=
1312fi
1313fi
1314
1315# **************************************************************************
1316# All files configure must automatically generate.
1317
1318ac_config_files="$ac_config_files Makefile bin/Makefile materials/Makefile materials/artdeco/Makefile materials/autumn/Makefile materials/glass/Makefile materials/metal/Makefile materials/neon/Makefile materials/rococo/Makefile materials/santafe/Makefile materials/sheen/Makefile materials/silky/Makefile materials/spring/Makefile materials/summer/Makefile materials/tropical/Makefile materials/winter/Makefile"
1319cat >confcache <<\_ACEOF
1320# This file is a shell script that caches the results of configure
1321# tests run on this system so they can be shared between configure
1322# scripts and configure runs, see configure's option --config-cache.
1323# It is not useful on other systems.  If it contains results you don't
1324# want to keep, you may remove or edit it.
1325#
1326# config.status only pays attention to the cache file if you give it
1327# the --recheck option to rerun configure.
1328#
1329# `ac_cv_env_foo' variables (set or unset) will be overriden when
1330# loading this file, other *unset* `ac_cv_foo' will be assigned the
1331# following values.
1332
1333_ACEOF
1334
1335# The following way of writing the cache mishandles newlines in values,
1336# but we know of no workaround that is simple, portable, and efficient.
1337# So, don't put newlines in cache variables' values.
1338# Ultrix sh set writes to stderr and can't be redirected directly,
1339# and sets the high bit in the cache file unless we assign to the vars.
1340{
1341  (set) 2>&1 |
1342    case `(ac_space=' '; set | grep ac_space) 2>&1` in
1343    *ac_space=\ *)
1344      # `set' does not quote correctly, so add quotes (double-quote
1345      # substitution turns \\\\ into \\, and sed turns \\ into \).
1346      sed -n \
1347        "s/'/'\\\\''/g;
1348    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1349      ;;
1350    *)
1351      # `set' quotes correctly as required by POSIX, so do not add quotes.
1352      sed -n \
1353        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1354      ;;
1355    esac;
1356} |
1357  sed '
1358     t clear
1359     : clear
1360     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1361     t end
1362     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1363     : end' >>confcache
1364if cmp -s $cache_file confcache; then :; else
1365  if test -w $cache_file; then
1366    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1367    cat confcache >$cache_file
1368  else
1369    echo "not updating unwritable cache $cache_file"
1370  fi
1371fi
1372rm -f confcache
1373
1374test "x$prefix" = xNONE && prefix=$ac_default_prefix
1375# Let make expand exec_prefix.
1376test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1377
1378# VPATH may cause trouble with some makes, so we remove $(srcdir),
1379# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1380# trailing colons and then remove the whole line if VPATH becomes empty
1381# (actually we leave an empty line to preserve line numbers).
1382if test "x$srcdir" = x.; then
1383  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
1384s/:*\$(srcdir):*/:/;
1385s/:*\${srcdir}:*/:/;
1386s/:*@srcdir@:*/:/;
1387s/^\([^=]*=[ 	]*\):*/\1/;
1388s/:*$//;
1389s/^[^=]*=[ 	]*$//;
1390}'
1391fi
1392
1393DEFS=-DHAVE_CONFIG_H
1394
1395: ${CONFIG_STATUS=./config.status}
1396ac_clean_files_save=$ac_clean_files
1397ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1398{ echo "$as_me:1398: creating $CONFIG_STATUS" >&5
1399echo "$as_me: creating $CONFIG_STATUS" >&6;}
1400cat >$CONFIG_STATUS <<_ACEOF
1401#! $SHELL
1402# Generated automatically by configure.
1403# Run this file to recreate the current configuration.
1404# Compiler output produced by configure, useful for debugging
1405# configure, is in config.log if it exists.
1406
1407debug=false
1408SHELL=\${CONFIG_SHELL-$SHELL}
1409ac_cs_invocation="\$0 \$@"
1410
1411_ACEOF
1412
1413cat >>$CONFIG_STATUS <<\_ACEOF
1414# Be Bourne compatible
1415if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1416  emulate sh
1417  NULLCMD=:
1418elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1419  set -o posix
1420fi
1421
1422# Name of the executable.
1423as_me=`echo "$0" |sed 's,.*[\\/],,'`
1424
1425if expr a : '\(a\)' >/dev/null 2>&1; then
1426  as_expr=expr
1427else
1428  as_expr=false
1429fi
1430
1431rm -f conf$$ conf$$.exe conf$$.file
1432echo >conf$$.file
1433if ln -s conf$$.file conf$$ 2>/dev/null; then
1434  # We could just check for DJGPP; but this test a) works b) is more generic
1435  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1436  if test -f conf$$.exe; then
1437    # Don't use ln at all; we don't have any links
1438    as_ln_s='cp -p'
1439  else
1440    as_ln_s='ln -s'
1441  fi
1442elif ln conf$$.file conf$$ 2>/dev/null; then
1443  as_ln_s=ln
1444else
1445  as_ln_s='cp -p'
1446fi
1447rm -f conf$$ conf$$.exe conf$$.file
1448
1449as_executable_p="test -f"
1450
1451# Support unset when possible.
1452if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1453  as_unset=unset
1454else
1455  as_unset=false
1456fi
1457
1458# NLS nuisances.
1459$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
1460$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
1461$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
1462$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
1463$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
1464$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
1465$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
1466$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
1467
1468# IFS
1469# We need space, tab and new line, in precisely that order.
1470as_nl='
1471'
1472IFS=" 	$as_nl"
1473
1474# CDPATH.
1475$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
1476
1477exec 6>&1
1478
1479_ACEOF
1480
1481# Files that config.status was made for.
1482if test -n "$ac_config_files"; then
1483  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1484fi
1485
1486if test -n "$ac_config_headers"; then
1487  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1488fi
1489
1490if test -n "$ac_config_links"; then
1491  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1492fi
1493
1494if test -n "$ac_config_commands"; then
1495  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1496fi
1497
1498cat >>$CONFIG_STATUS <<\EOF
1499
1500ac_cs_usage="\
1501\`$as_me' instantiates files from templates according to the
1502current configuration.
1503
1504Usage: $0 [OPTIONS] [FILE]...
1505
1506  -h, --help       print this help, then exit
1507  -V, --version    print version number, then exit
1508  -d, --debug      don't remove temporary files
1509      --recheck    update $as_me by reconfiguring in the same conditions
1510  --file=FILE[:TEMPLATE]
1511                   instantiate the configuration file FILE
1512  --header=FILE[:TEMPLATE]
1513                   instantiate the configuration header FILE
1514
1515Configuration files:
1516$config_files
1517
1518Configuration headers:
1519$config_headers
1520
1521Report bugs to <bug-autoconf@gnu.org>."
1522EOF
1523
1524cat >>$CONFIG_STATUS <<EOF
1525ac_cs_version="\\
1526SoAnyData config.status 1.0.0
1527configured by $0, generated by GNU Autoconf 2.52,
1528  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1529
1530Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
1531Free Software Foundation, Inc.
1532This config.status script is free software; the Free Software Foundation
1533gives unlimited permission to copy, distribute and modify it."
1534srcdir=$srcdir
1535INSTALL="$INSTALL"
1536EOF
1537
1538cat >>$CONFIG_STATUS <<\EOF
1539# If no file are specified by the user, then we need to provide default
1540# value.  By we need to know if files were specified by the user.
1541ac_need_defaults=:
1542while test $# != 0
1543do
1544  case $1 in
1545  --*=*)
1546    ac_option=`expr "x$1" : 'x\([^=]*\)='`
1547    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1548    shift
1549    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
1550    shift
1551    ;;
1552  -*);;
1553  *) # This is not an option, so the user has probably given explicit
1554     # arguments.
1555     ac_need_defaults=false;;
1556  esac
1557
1558  case $1 in
1559  # Handling of the options.
1560EOF
1561cat >>$CONFIG_STATUS <<EOF
1562  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1563    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
1564    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
1565EOF
1566cat >>$CONFIG_STATUS <<\EOF
1567  --version | --vers* | -V )
1568    echo "$ac_cs_version"; exit 0 ;;
1569  --he | --h)
1570    # Conflict between --help and --header
1571    { { echo "$as_me:1571: error: ambiguous option: $1
1572Try \`$0 --help' for more information." >&5
1573echo "$as_me: error: ambiguous option: $1
1574Try \`$0 --help' for more information." >&2;}
1575   { (exit 1); exit 1; }; };;
1576  --help | --hel | -h )
1577    echo "$ac_cs_usage"; exit 0 ;;
1578  --debug | --d* | -d )
1579    debug=: ;;
1580  --file | --fil | --fi | --f )
1581    shift
1582    CONFIG_FILES="$CONFIG_FILES $1"
1583    ac_need_defaults=false;;
1584  --header | --heade | --head | --hea )
1585    shift
1586    CONFIG_HEADERS="$CONFIG_HEADERS $1"
1587    ac_need_defaults=false;;
1588
1589  # This is an error.
1590  -*) { { echo "$as_me:1590: error: unrecognized option: $1
1591Try \`$0 --help' for more information." >&5
1592echo "$as_me: error: unrecognized option: $1
1593Try \`$0 --help' for more information." >&2;}
1594   { (exit 1); exit 1; }; } ;;
1595
1596  *) ac_config_targets="$ac_config_targets $1" ;;
1597
1598  esac
1599  shift
1600done
1601
1602exec 5>>config.log
1603cat >&5 << _ACEOF
1604
1605## ----------------------- ##
1606## Running config.status.  ##
1607## ----------------------- ##
1608
1609This file was extended by $as_me (SoAnyData 1.0.0) 2.52, executed with
1610  CONFIG_FILES    = $CONFIG_FILES
1611  CONFIG_HEADERS  = $CONFIG_HEADERS
1612  CONFIG_LINKS    = $CONFIG_LINKS
1613  CONFIG_COMMANDS = $CONFIG_COMMANDS
1614  > $ac_cs_invocation
1615on `(hostname || uname -n) 2>/dev/null | sed 1q`
1616
1617_ACEOF
1618EOF
1619
1620cat >>$CONFIG_STATUS <<\EOF
1621for ac_config_target in $ac_config_targets
1622do
1623  case "$ac_config_target" in
1624  # Handling of arguments.
1625  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1626  "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
1627  "materials/Makefile" ) CONFIG_FILES="$CONFIG_FILES materials/Makefile" ;;
1628  "materials/artdeco/Makefile" ) CONFIG_FILES="$CONFIG_FILES materials/artdeco/Makefile" ;;
1629  "materials/autumn/Makefile" ) CONFIG_FILES="$CONFIG_FILES materials/autumn/Makefile" ;;
1630  "materials/glass/Makefile" ) CONFIG_FILES="$CONFIG_FILES materials/glass/Makefile" ;;
1631  "materials/metal/Makefile" ) CONFIG_FILES="$CONFIG_FILES materials/metal/Makefile" ;;
1632  "materials/neon/Makefile" ) CONFIG_FILES="$CONFIG_FILES materials/neon/Makefile" ;;
1633  "materials/rococo/Makefile" ) CONFIG_FILES="$CONFIG_FILES materials/rococo/Makefile" ;;
1634  "materials/santafe/Makefile" ) CONFIG_FILES="$CONFIG_FILES materials/santafe/Makefile" ;;
1635  "materials/sheen/Makefile" ) CONFIG_FILES="$CONFIG_FILES materials/sheen/Makefile" ;;
1636  "materials/silky/Makefile" ) CONFIG_FILES="$CONFIG_FILES materials/silky/Makefile" ;;
1637  "materials/spring/Makefile" ) CONFIG_FILES="$CONFIG_FILES materials/spring/Makefile" ;;
1638  "materials/summer/Makefile" ) CONFIG_FILES="$CONFIG_FILES materials/summer/Makefile" ;;
1639  "materials/tropical/Makefile" ) CONFIG_FILES="$CONFIG_FILES materials/tropical/Makefile" ;;
1640  "materials/winter/Makefile" ) CONFIG_FILES="$CONFIG_FILES materials/winter/Makefile" ;;
1641  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
1642  *) { { echo "$as_me:1642: error: invalid argument: $ac_config_target" >&5
1643echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1644   { (exit 1); exit 1; }; };;
1645  esac
1646done
1647
1648# If the user did not use the arguments to specify the items to instantiate,
1649# then the envvar interface is used.  Set only those that are not.
1650# We use the long form for the default assignment because of an extremely
1651# bizarre bug on SunOS 4.1.3.
1652if $ac_need_defaults; then
1653  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1654  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
1655fi
1656
1657# Create a temporary directory, and hook for its removal unless debugging.
1658$debug ||
1659{
1660  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1661  trap '{ (exit 1); exit 1; }' 1 2 13 15
1662}
1663
1664# Create a (secure) tmp directory for tmp files.
1665: ${TMPDIR=/tmp}
1666{
1667  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
1668  test -n "$tmp" && test -d "$tmp"
1669}  ||
1670{
1671  tmp=$TMPDIR/cs$$-$RANDOM
1672  (umask 077 && mkdir $tmp)
1673} ||
1674{
1675   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
1676   { (exit 1); exit 1; }
1677}
1678
1679EOF
1680
1681cat >>$CONFIG_STATUS <<EOF
1682
1683#
1684# CONFIG_FILES section.
1685#
1686
1687# No need to generate the scripts if there are no CONFIG_FILES.
1688# This happens for instance when ./config.status config.h
1689if test -n "\$CONFIG_FILES"; then
1690  # Protect against being on the right side of a sed subst in config.status.
1691  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1692   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1693s,@SHELL@,$SHELL,;t t
1694s,@exec_prefix@,$exec_prefix,;t t
1695s,@prefix@,$prefix,;t t
1696s,@program_transform_name@,$program_transform_name,;t t
1697s,@bindir@,$bindir,;t t
1698s,@sbindir@,$sbindir,;t t
1699s,@libexecdir@,$libexecdir,;t t
1700s,@datadir@,$datadir,;t t
1701s,@sysconfdir@,$sysconfdir,;t t
1702s,@sharedstatedir@,$sharedstatedir,;t t
1703s,@localstatedir@,$localstatedir,;t t
1704s,@libdir@,$libdir,;t t
1705s,@includedir@,$includedir,;t t
1706s,@oldincludedir@,$oldincludedir,;t t
1707s,@infodir@,$infodir,;t t
1708s,@mandir@,$mandir,;t t
1709s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1710s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1711s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1712s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1713s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1714s,@build_alias@,$build_alias,;t t
1715s,@host_alias@,$host_alias,;t t
1716s,@target_alias@,$target_alias,;t t
1717s,@ECHO_C@,$ECHO_C,;t t
1718s,@ECHO_N@,$ECHO_N,;t t
1719s,@ECHO_T@,$ECHO_T,;t t
1720s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1721s,@DEFS@,$DEFS,;t t
1722s,@LIBS@,$LIBS,;t t
1723s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
1724s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
1725s,@INSTALL_DATA@,$INSTALL_DATA,;t t
1726s,@PACKAGE@,$PACKAGE,;t t
1727s,@VERSION@,$VERSION,;t t
1728s,@EXEEXT@,$EXEEXT,;t t
1729s,@OBJEXT@,$OBJEXT,;t t
1730s,@ACLOCAL@,$ACLOCAL,;t t
1731s,@AUTOCONF@,$AUTOCONF,;t t
1732s,@AUTOMAKE@,$AUTOMAKE,;t t
1733s,@AUTOHEADER@,$AUTOHEADER,;t t
1734s,@MAKEINFO@,$MAKEINFO,;t t
1735s,@AMTAR@,$AMTAR,;t t
1736s,@install_sh@,$install_sh,;t t
1737s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
1738s,@AWK@,$AWK,;t t
1739s,@SET_MAKE@,$SET_MAKE,;t t
1740s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
1741s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
1742s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
1743s,@DEPDIR@,$DEPDIR,;t t
1744s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
1745s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
1746s,@MAINT@,$MAINT,;t t
1747s,@GUI@,$GUI,;t t
1748s,@Gui@,$Gui,;t t
1749s,@gui@,$gui,;t t
1750s,@MAC_FRAMEWORK_TRUE@,$MAC_FRAMEWORK_TRUE,;t t
1751s,@MAC_FRAMEWORK_FALSE@,$MAC_FRAMEWORK_FALSE,;t t
1752s,@MAC_FRAMEWORK_NAME@,$MAC_FRAMEWORK_NAME,;t t
1753s,@MAC_FRAMEWORK_PREFIX@,$MAC_FRAMEWORK_PREFIX,;t t
1754s,@MAC_FRAMEWORK_VERSION@,$MAC_FRAMEWORK_VERSION,;t t
1755CEOF
1756
1757EOF
1758
1759  cat >>$CONFIG_STATUS <<\EOF
1760  # Split the substitutions into bite-sized pieces for seds with
1761  # small command number limits, like on Digital OSF/1 and HP-UX.
1762  ac_max_sed_lines=48
1763  ac_sed_frag=1 # Number of current file.
1764  ac_beg=1 # First line for current file.
1765  ac_end=$ac_max_sed_lines # Line after last line for current file.
1766  ac_more_lines=:
1767  ac_sed_cmds=
1768  while $ac_more_lines; do
1769    if test $ac_beg -gt 1; then
1770      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1771    else
1772      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1773    fi
1774    if test ! -s $tmp/subs.frag; then
1775      ac_more_lines=false
1776    else
1777      # The purpose of the label and of the branching condition is to
1778      # speed up the sed processing (if there are no `@' at all, there
1779      # is no need to browse any of the substitutions).
1780      # These are the two extra sed commands mentioned above.
1781      (echo ':t
1782  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
1783      if test -z "$ac_sed_cmds"; then
1784  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1785      else
1786  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1787      fi
1788      ac_sed_frag=`expr $ac_sed_frag + 1`
1789      ac_beg=$ac_end
1790      ac_end=`expr $ac_end + $ac_max_sed_lines`
1791    fi
1792  done
1793  if test -z "$ac_sed_cmds"; then
1794    ac_sed_cmds=cat
1795  fi
1796fi # test -n "$CONFIG_FILES"
1797
1798EOF
1799cat >>$CONFIG_STATUS <<\EOF
1800for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1801  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1802  case $ac_file in
1803  - | *:- | *:-:* ) # input from stdin
1804        cat >$tmp/stdin
1805        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1806        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1807  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1808        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1809  * )   ac_file_in=$ac_file.in ;;
1810  esac
1811
1812  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
1813  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1814         X"$ac_file" : 'X\(//\)[^/]' \| \
1815         X"$ac_file" : 'X\(//\)$' \| \
1816         X"$ac_file" : 'X\(/\)' \| \
1817         .     : '\(.\)' 2>/dev/null ||
1818echo X"$ac_file" |
1819    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1820  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1821  	  /^X\(\/\/\)$/{ s//\1/; q; }
1822  	  /^X\(\/\).*/{ s//\1/; q; }
1823  	  s/.*/./; q'`
1824  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1825    { case "$ac_dir" in
1826  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
1827  *)                      as_incr_dir=.;;
1828esac
1829as_dummy="$ac_dir"
1830for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
1831  case $as_mkdir_dir in
1832    # Skip DOS drivespec
1833    ?:) as_incr_dir=$as_mkdir_dir ;;
1834    *)
1835      as_incr_dir=$as_incr_dir/$as_mkdir_dir
1836      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
1837    ;;
1838  esac
1839done; }
1840
1841    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
1842    # A "../" for each directory in $ac_dir_suffix.
1843    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
1844  else
1845    ac_dir_suffix= ac_dots=
1846  fi
1847
1848  case $srcdir in
1849  .)  ac_srcdir=.
1850      if test -z "$ac_dots"; then
1851         ac_top_srcdir=.
1852      else
1853         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
1854      fi ;;
1855  [\\/]* | ?:[\\/]* )
1856      ac_srcdir=$srcdir$ac_dir_suffix;
1857      ac_top_srcdir=$srcdir ;;
1858  *) # Relative path.
1859    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
1860    ac_top_srcdir=$ac_dots$srcdir ;;
1861  esac
1862
1863  case $INSTALL in
1864  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1865  *) ac_INSTALL=$ac_dots$INSTALL ;;
1866  esac
1867
1868  if test x"$ac_file" != x-; then
1869    { echo "$as_me:1869: creating $ac_file" >&5
1870echo "$as_me: creating $ac_file" >&6;}
1871    rm -f "$ac_file"
1872  fi
1873  # Let's still pretend it is `configure' which instantiates (i.e., don't
1874  # use $as_me), people would be surprised to read:
1875  #    /* config.h.  Generated automatically by config.status.  */
1876  configure_input="Generated automatically from `echo $ac_file_in |
1877                                                 sed 's,.*/,,'` by configure."
1878
1879  # First look for the input files in the build tree, otherwise in the
1880  # src tree.
1881  ac_file_inputs=`IFS=:
1882    for f in $ac_file_in; do
1883      case $f in
1884      -) echo $tmp/stdin ;;
1885      [\\/$]*)
1886         # Absolute (can't be DOS-style, as IFS=:)
1887         test -f "$f" || { { echo "$as_me:1887: error: cannot find input file: $f" >&5
1888echo "$as_me: error: cannot find input file: $f" >&2;}
1889   { (exit 1); exit 1; }; }
1890         echo $f;;
1891      *) # Relative
1892         if test -f "$f"; then
1893           # Build tree
1894           echo $f
1895         elif test -f "$srcdir/$f"; then
1896           # Source tree
1897           echo $srcdir/$f
1898         else
1899           # /dev/null tree
1900           { { echo "$as_me:1900: error: cannot find input file: $f" >&5
1901echo "$as_me: error: cannot find input file: $f" >&2;}
1902   { (exit 1); exit 1; }; }
1903         fi;;
1904      esac
1905    done` || { (exit 1); exit 1; }
1906EOF
1907cat >>$CONFIG_STATUS <<EOF
1908  sed "$ac_vpsub
1909$extrasub
1910EOF
1911cat >>$CONFIG_STATUS <<\EOF
1912:t
1913/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1914s,@configure_input@,$configure_input,;t t
1915s,@srcdir@,$ac_srcdir,;t t
1916s,@top_srcdir@,$ac_top_srcdir,;t t
1917s,@INSTALL@,$ac_INSTALL,;t t
1918" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
1919  rm -f $tmp/stdin
1920  if test x"$ac_file" != x-; then
1921    mv $tmp/out $ac_file
1922  else
1923    cat $tmp/out
1924    rm -f $tmp/out
1925  fi
1926
1927done
1928EOF
1929cat >>$CONFIG_STATUS <<\EOF
1930
1931#
1932# CONFIG_HEADER section.
1933#
1934
1935# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1936# NAME is the cpp macro being defined and VALUE is the value it is being given.
1937#
1938# ac_d sets the value in "#define NAME VALUE" lines.
1939ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
1940ac_dB='[ 	].*$,\1#\2'
1941ac_dC=' '
1942ac_dD=',;t'
1943# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1944ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
1945ac_uB='$,\1#\2define\3'
1946ac_uC=' '
1947ac_uD=',;t'
1948
1949for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1950  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1951  case $ac_file in
1952  - | *:- | *:-:* ) # input from stdin
1953        cat >$tmp/stdin
1954        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1955        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1956  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1957        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1958  * )   ac_file_in=$ac_file.in ;;
1959  esac
1960
1961  test x"$ac_file" != x- && { echo "$as_me:1961: creating $ac_file" >&5
1962echo "$as_me: creating $ac_file" >&6;}
1963
1964  # First look for the input files in the build tree, otherwise in the
1965  # src tree.
1966  ac_file_inputs=`IFS=:
1967    for f in $ac_file_in; do
1968      case $f in
1969      -) echo $tmp/stdin ;;
1970      [\\/$]*)
1971         # Absolute (can't be DOS-style, as IFS=:)
1972         test -f "$f" || { { echo "$as_me:1972: error: cannot find input file: $f" >&5
1973echo "$as_me: error: cannot find input file: $f" >&2;}
1974   { (exit 1); exit 1; }; }
1975         echo $f;;
1976      *) # Relative
1977         if test -f "$f"; then
1978           # Build tree
1979           echo $f
1980         elif test -f "$srcdir/$f"; then
1981           # Source tree
1982           echo $srcdir/$f
1983         else
1984           # /dev/null tree
1985           { { echo "$as_me:1985: error: cannot find input file: $f" >&5
1986echo "$as_me: error: cannot find input file: $f" >&2;}
1987   { (exit 1); exit 1; }; }
1988         fi;;
1989      esac
1990    done` || { (exit 1); exit 1; }
1991  # Remove the trailing spaces.
1992  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
1993
1994EOF
1995
1996# Transform confdefs.h into two sed scripts, `conftest.defines' and
1997# `conftest.undefs', that substitutes the proper values into
1998# config.h.in to produce config.h.  The first handles `#define'
1999# templates, and the second `#undef' templates.
2000# And first: Protect against being on the right side of a sed subst in
2001# config.status.  Protect against being in an unquoted here document
2002# in config.status.
2003rm -f conftest.defines conftest.undefs
2004# Using a here document instead of a string reduces the quoting nightmare.
2005# Putting comments in sed scripts is not portable.
2006#
2007# `end' is used to avoid that the second main sed command (meant for
2008# 0-ary CPP macros) applies to n-ary macro definitions.
2009# See the Autoconf documentation for `clear'.
2010cat >confdef2sed.sed <<\EOF
2011s/[\\&,]/\\&/g
2012s,[\\$`],\\&,g
2013t clear
2014: clear
2015s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
2016t end
2017s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
2018: end
2019EOF
2020# If some macros were called several times there might be several times
2021# the same #defines, which is useless.  Nevertheless, we may not want to
2022# sort them, since we want the *last* AC-DEFINE to be honored.
2023uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
2024sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
2025rm -f confdef2sed.sed
2026
2027# This sed command replaces #undef with comments.  This is necessary, for
2028# example, in the case of _POSIX_SOURCE, which is predefined and required
2029# on some systems where configure will not decide to define it.
2030cat >>conftest.undefs <<\EOF
2031s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
2032EOF
2033
2034# Break up conftest.defines because some shells have a limit on the size
2035# of here documents, and old seds have small limits too (100 cmds).
2036echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
2037echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
2038echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
2039echo '  :' >>$CONFIG_STATUS
2040rm -f conftest.tail
2041while grep . conftest.defines >/dev/null
2042do
2043  # Write a limited-size here document to $tmp/defines.sed.
2044  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
2045  # Speed up: don't consider the non `#define' lines.
2046  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
2047  # Work around the forget-to-reset-the-flag bug.
2048  echo 't clr' >>$CONFIG_STATUS
2049  echo ': clr' >>$CONFIG_STATUS
2050  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
2051  echo 'CEOF
2052  sed -f $tmp/defines.sed $tmp/in >$tmp/out
2053  rm -f $tmp/in
2054  mv $tmp/out $tmp/in
2055' >>$CONFIG_STATUS
2056  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
2057  rm -f conftest.defines
2058  mv conftest.tail conftest.defines
2059done
2060rm -f conftest.defines
2061echo '  fi # egrep' >>$CONFIG_STATUS
2062echo >>$CONFIG_STATUS
2063
2064# Break up conftest.undefs because some shells have a limit on the size
2065# of here documents, and old seds have small limits too (100 cmds).
2066echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
2067rm -f conftest.tail
2068while grep . conftest.undefs >/dev/null
2069do
2070  # Write a limited-size here document to $tmp/undefs.sed.
2071  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
2072  # Speed up: don't consider the non `#undef'
2073  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
2074  # Work around the forget-to-reset-the-flag bug.
2075  echo 't clr' >>$CONFIG_STATUS
2076  echo ': clr' >>$CONFIG_STATUS
2077  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
2078  echo 'CEOF
2079  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
2080  rm -f $tmp/in
2081  mv $tmp/out $tmp/in
2082' >>$CONFIG_STATUS
2083  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
2084  rm -f conftest.undefs
2085  mv conftest.tail conftest.undefs
2086done
2087rm -f conftest.undefs
2088
2089cat >>$CONFIG_STATUS <<\EOF
2090  # Let's still pretend it is `configure' which instantiates (i.e., don't
2091  # use $as_me), people would be surprised to read:
2092  #    /* config.h.  Generated automatically by config.status.  */
2093  if test x"$ac_file" = x-; then
2094    echo "/* Generated automatically by configure.  */" >$tmp/config.h
2095  else
2096    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
2097  fi
2098  cat $tmp/in >>$tmp/config.h
2099  rm -f $tmp/in
2100  if test x"$ac_file" != x-; then
2101    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
2102      { echo "$as_me:2102: $ac_file is unchanged" >&5
2103echo "$as_me: $ac_file is unchanged" >&6;}
2104    else
2105      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2106         X"$ac_file" : 'X\(//\)[^/]' \| \
2107         X"$ac_file" : 'X\(//\)$' \| \
2108         X"$ac_file" : 'X\(/\)' \| \
2109         .     : '\(.\)' 2>/dev/null ||
2110echo X"$ac_file" |
2111    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2112  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2113  	  /^X\(\/\/\)$/{ s//\1/; q; }
2114  	  /^X\(\/\).*/{ s//\1/; q; }
2115  	  s/.*/./; q'`
2116      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2117        { case "$ac_dir" in
2118  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2119  *)                      as_incr_dir=.;;
2120esac
2121as_dummy="$ac_dir"
2122for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2123  case $as_mkdir_dir in
2124    # Skip DOS drivespec
2125    ?:) as_incr_dir=$as_mkdir_dir ;;
2126    *)
2127      as_incr_dir=$as_incr_dir/$as_mkdir_dir
2128      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
2129    ;;
2130  esac
2131done; }
2132
2133      fi
2134      rm -f $ac_file
2135      mv $tmp/config.h $ac_file
2136    fi
2137  else
2138    cat $tmp/config.h
2139    rm -f $tmp/config.h
2140  fi
2141  # Run the commands associated with the file.
2142  case $ac_file in
2143    config.h ) # update the timestamp
2144echo timestamp >"./stamp-h1"
2145 ;;
2146  esac
2147done
2148EOF
2149
2150cat >>$CONFIG_STATUS <<\EOF
2151
2152{ (exit 0); exit 0; }
2153EOF
2154chmod +x $CONFIG_STATUS
2155ac_clean_files=$ac_clean_files_save
2156
2157# configure is writing to config.log, and then calls config.status.
2158# config.status does its own redirection, appending to config.log.
2159# Unfortunately, on DOS this fails, as config.log is still kept open
2160# by configure, so config.status won't be able to write to it; its
2161# output is simply discarded.  So we exec the FD to /dev/null,
2162# effectively closing config.log, so it can be properly (re)opened and
2163# appended to by config.status.  When coming back to configure, we
2164# need to make the FD available again.
2165if test "$no_create" != yes; then
2166  ac_cs_success=:
2167  exec 5>/dev/null
2168  $SHELL $CONFIG_STATUS || ac_cs_success=false
2169  exec 5>>config.log
2170  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2171  # would make configure fail if this is the last instruction.
2172  $ac_cs_success || { (exit 1); exit 1; }
2173fi
2174
2175# **************************************************************************
2176