Annotation of OpenXM/src/asir-contrib/packages/doc/configure, Revision 1.2
1.1 takayama 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
3: # Generated by GNU Autoconf 2.53.
4: #
5: # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6: # Free Software Foundation, Inc.
7: # This configure script is free software; the Free Software Foundation
8: # gives unlimited permission to copy, distribute and modify it.
9:
10: if expr a : '\(a\)' >/dev/null 2>&1; then
11: as_expr=expr
12: else
13: as_expr=false
14: fi
15:
16:
17: ## --------------------- ##
18: ## M4sh Initialization. ##
19: ## --------------------- ##
20:
21: # Be Bourne compatible
22: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23: emulate sh
24: NULLCMD=:
25: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26: set -o posix
27: fi
28:
29: # NLS nuisances.
30: # Support unset when possible.
31: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32: as_unset=unset
33: else
34: as_unset=false
35: fi
36:
37: (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38: { $as_unset LANG || test "${LANG+set}" != set; } ||
39: { LANG=C; export LANG; }
40: (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41: { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42: { LC_ALL=C; export LC_ALL; }
43: (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44: { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45: { LC_TIME=C; export LC_TIME; }
46: (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47: { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48: { LC_CTYPE=C; export LC_CTYPE; }
49: (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50: { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51: { LANGUAGE=C; export LANGUAGE; }
52: (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53: { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54: { LC_COLLATE=C; export LC_COLLATE; }
55: (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56: { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57: { LC_NUMERIC=C; export LC_NUMERIC; }
58: (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59: { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60: { LC_MESSAGES=C; export LC_MESSAGES; }
61:
62:
63: # Name of the executable.
64: as_me=`(basename "$0") 2>/dev/null ||
65: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66: X"$0" : 'X\(//\)$' \| \
67: X"$0" : 'X\(/\)$' \| \
68: . : '\(.\)' 2>/dev/null ||
69: echo X/"$0" |
70: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71: /^X\/\(\/\/\)$/{ s//\1/; q; }
72: /^X\/\(\/\).*/{ s//\1/; q; }
73: s/.*/./; q'`
74:
75: # PATH needs CR, and LINENO needs CR and PATH.
76: # Avoid depending upon Character Ranges.
77: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80: as_cr_digits='0123456789'
81: as_cr_alnum=$as_cr_Letters$as_cr_digits
82:
83: # The user is always right.
84: if test "${PATH_SEPARATOR+set}" != set; then
85: echo "#! /bin/sh" >conftest.sh
86: echo "exit 0" >>conftest.sh
87: chmod +x conftest.sh
88: if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
89: PATH_SEPARATOR=';'
90: else
91: PATH_SEPARATOR=:
92: fi
93: rm -f conftest.sh
94: fi
95:
96:
97: as_lineno_1=$LINENO
98: as_lineno_2=$LINENO
99: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100: test "x$as_lineno_1" != "x$as_lineno_2" &&
101: test "x$as_lineno_3" = "x$as_lineno_2" || {
102: # Find who we are. Look in the path if we contain no path at all
103: # relative or not.
104: case $0 in
105: *[\\/]* ) as_myself=$0 ;;
106: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107: for as_dir in $PATH
108: do
109: IFS=$as_save_IFS
110: test -z "$as_dir" && as_dir=.
111: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112: done
113:
114: ;;
115: esac
116: # We did not find ourselves, most probably we were run as `sh COMMAND'
117: # in which case we are not to be found in the path.
118: if test "x$as_myself" = x; then
119: as_myself=$0
120: fi
121: if test ! -f "$as_myself"; then
122: { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123: { (exit 1); exit 1; }; }
124: fi
125: case $CONFIG_SHELL in
126: '')
127: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
129: do
130: IFS=$as_save_IFS
131: test -z "$as_dir" && as_dir=.
132: for as_base in sh bash ksh sh5; do
133: case $as_dir in
134: /*)
135: if ("$as_dir/$as_base" -c '
136: as_lineno_1=$LINENO
137: as_lineno_2=$LINENO
138: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139: test "x$as_lineno_1" != "x$as_lineno_2" &&
140: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141: CONFIG_SHELL=$as_dir/$as_base
142: export CONFIG_SHELL
143: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144: fi;;
145: esac
146: done
147: done
148: ;;
149: esac
150:
151: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152: # uniformly replaced by the line number. The first 'sed' inserts a
153: # line-number line before each line; the second 'sed' does the real
154: # work. The second script uses 'N' to pair each line-number line
155: # with the numbered line, and appends trailing '-' during
156: # substitution so that $LINENO is not a special case at line end.
157: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159: sed '=' <$as_myself |
160: sed '
161: N
162: s,$,-,
163: : loop
164: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
165: t loop
166: s,-$,,
167: s,^['$as_cr_digits']*\n,,
168: ' >$as_me.lineno &&
169: chmod +x $as_me.lineno ||
170: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171: { (exit 1); exit 1; }; }
172:
173: # Don't try to exec as it changes $[0], causing all sort of problems
174: # (the dirname of $[0] is not the place where we might find the
175: # original and so on. Autoconf is especially sensible to this).
176: . ./$as_me.lineno
177: # Exit status is that of the last command.
178: exit
179: }
180:
181:
182: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183: *c*,-n*) ECHO_N= ECHO_C='
184: ' ECHO_T=' ' ;;
185: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
187: esac
188:
189: if expr a : '\(a\)' >/dev/null 2>&1; then
190: as_expr=expr
191: else
192: as_expr=false
193: fi
194:
195: rm -f conf$$ conf$$.exe conf$$.file
196: echo >conf$$.file
197: if ln -s conf$$.file conf$$ 2>/dev/null; then
198: # We could just check for DJGPP; but this test a) works b) is more generic
199: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200: if test -f conf$$.exe; then
201: # Don't use ln at all; we don't have any links
202: as_ln_s='cp -p'
203: else
204: as_ln_s='ln -s'
205: fi
206: elif ln conf$$.file conf$$ 2>/dev/null; then
207: as_ln_s=ln
208: else
209: as_ln_s='cp -p'
210: fi
211: rm -f conf$$ conf$$.exe conf$$.file
212:
213: as_executable_p="test -f"
214:
215: # Sed expression to map a string onto a valid CPP name.
216: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
217:
218: # Sed expression to map a string onto a valid variable name.
219: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
220:
221:
222: # IFS
223: # We need space, tab and new line, in precisely that order.
224: as_nl='
225: '
226: IFS=" $as_nl"
227:
228: # CDPATH.
229: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
230:
231:
232: # Name of the host.
233: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234: # so uname gets run too.
235: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
236:
237: exec 6>&1
238:
239: #
240: # Initializations.
241: #
242: ac_default_prefix=/usr/local
243: cross_compiling=no
244: subdirs=
245: MFLAGS=
246: MAKEFLAGS=
247: SHELL=${CONFIG_SHELL-/bin/sh}
248:
249: # Maximum number of lines to put in a shell here document.
250: # This variable seems obsolete. It should probably be removed, and
251: # only ac_max_sed_lines should be used.
252: : ${ac_max_here_lines=38}
253:
254: # Identity of this package.
255: PACKAGE_NAME=
256: PACKAGE_TARNAME=
257: PACKAGE_VERSION=
258: PACKAGE_STRING=
259: PACKAGE_BUGREPORT=
260:
1.2 ! takayama 261: ac_unique_file="README"
1.1 takayama 262:
263: # Initialize some variables set by options.
264: ac_init_help=
265: ac_init_version=false
266: # The variables have the same names as the options, with
267: # dashes changed to underlines.
268: cache_file=/dev/null
269: exec_prefix=NONE
270: no_create=
271: no_recursion=
272: prefix=NONE
273: program_prefix=NONE
274: program_suffix=NONE
275: program_transform_name=s,x,x,
276: silent=
277: site=
278: srcdir=
279: verbose=
280: x_includes=NONE
281: x_libraries=NONE
282:
283: # Installation directory options.
284: # These are left unexpanded so users can "make install exec_prefix=/foo"
285: # and all the variables that are supposed to be based on exec_prefix
286: # by default will actually change.
287: # Use braces instead of parens because sh, perl, etc. also accept them.
288: bindir='${exec_prefix}/bin'
289: sbindir='${exec_prefix}/sbin'
290: libexecdir='${exec_prefix}/libexec'
291: datadir='${prefix}/share'
292: sysconfdir='${prefix}/etc'
293: sharedstatedir='${prefix}/com'
294: localstatedir='${prefix}/var'
295: libdir='${exec_prefix}/lib'
296: includedir='${prefix}/include'
297: oldincludedir='/usr/include'
298: infodir='${prefix}/info'
299: mandir='${prefix}/man'
300:
301: ac_prev=
302: for ac_option
303: do
304: # If the previous option needs an argument, assign it.
305: if test -n "$ac_prev"; then
306: eval "$ac_prev=\$ac_option"
307: ac_prev=
308: continue
309: fi
310:
311: ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
312:
313: # Accept the important Cygnus configure options, so we can diagnose typos.
314:
315: case $ac_option in
316:
317: -bindir | --bindir | --bindi | --bind | --bin | --bi)
318: ac_prev=bindir ;;
319: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
320: bindir=$ac_optarg ;;
321:
322: -build | --build | --buil | --bui | --bu)
323: ac_prev=build_alias ;;
324: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
325: build_alias=$ac_optarg ;;
326:
327: -cache-file | --cache-file | --cache-fil | --cache-fi \
328: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
329: ac_prev=cache_file ;;
330: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
331: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
332: cache_file=$ac_optarg ;;
333:
334: --config-cache | -C)
335: cache_file=config.cache ;;
336:
337: -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
338: ac_prev=datadir ;;
339: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
340: | --da=*)
341: datadir=$ac_optarg ;;
342:
343: -disable-* | --disable-*)
344: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
345: # Reject names that are not valid shell variable names.
346: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
347: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
348: { (exit 1); exit 1; }; }
349: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
350: eval "enable_$ac_feature=no" ;;
351:
352: -enable-* | --enable-*)
353: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
354: # Reject names that are not valid shell variable names.
355: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
356: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
357: { (exit 1); exit 1; }; }
358: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
359: case $ac_option in
360: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
361: *) ac_optarg=yes ;;
362: esac
363: eval "enable_$ac_feature='$ac_optarg'" ;;
364:
365: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
366: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
367: | --exec | --exe | --ex)
368: ac_prev=exec_prefix ;;
369: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
370: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
371: | --exec=* | --exe=* | --ex=*)
372: exec_prefix=$ac_optarg ;;
373:
374: -gas | --gas | --ga | --g)
375: # Obsolete; use --with-gas.
376: with_gas=yes ;;
377:
378: -help | --help | --hel | --he | -h)
379: ac_init_help=long ;;
380: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
381: ac_init_help=recursive ;;
382: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
383: ac_init_help=short ;;
384:
385: -host | --host | --hos | --ho)
386: ac_prev=host_alias ;;
387: -host=* | --host=* | --hos=* | --ho=*)
388: host_alias=$ac_optarg ;;
389:
390: -includedir | --includedir | --includedi | --included | --include \
391: | --includ | --inclu | --incl | --inc)
392: ac_prev=includedir ;;
393: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
394: | --includ=* | --inclu=* | --incl=* | --inc=*)
395: includedir=$ac_optarg ;;
396:
397: -infodir | --infodir | --infodi | --infod | --info | --inf)
398: ac_prev=infodir ;;
399: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
400: infodir=$ac_optarg ;;
401:
402: -libdir | --libdir | --libdi | --libd)
403: ac_prev=libdir ;;
404: -libdir=* | --libdir=* | --libdi=* | --libd=*)
405: libdir=$ac_optarg ;;
406:
407: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
408: | --libexe | --libex | --libe)
409: ac_prev=libexecdir ;;
410: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
411: | --libexe=* | --libex=* | --libe=*)
412: libexecdir=$ac_optarg ;;
413:
414: -localstatedir | --localstatedir | --localstatedi | --localstated \
415: | --localstate | --localstat | --localsta | --localst \
416: | --locals | --local | --loca | --loc | --lo)
417: ac_prev=localstatedir ;;
418: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
419: | --localstate=* | --localstat=* | --localsta=* | --localst=* \
420: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
421: localstatedir=$ac_optarg ;;
422:
423: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
424: ac_prev=mandir ;;
425: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
426: mandir=$ac_optarg ;;
427:
428: -nfp | --nfp | --nf)
429: # Obsolete; use --without-fp.
430: with_fp=no ;;
431:
432: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
433: | --no-cr | --no-c | -n)
434: no_create=yes ;;
435:
436: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
437: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
438: no_recursion=yes ;;
439:
440: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
441: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
442: | --oldin | --oldi | --old | --ol | --o)
443: ac_prev=oldincludedir ;;
444: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
445: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
446: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
447: oldincludedir=$ac_optarg ;;
448:
449: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
450: ac_prev=prefix ;;
451: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
452: prefix=$ac_optarg ;;
453:
454: -program-prefix | --program-prefix | --program-prefi | --program-pref \
455: | --program-pre | --program-pr | --program-p)
456: ac_prev=program_prefix ;;
457: -program-prefix=* | --program-prefix=* | --program-prefi=* \
458: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
459: program_prefix=$ac_optarg ;;
460:
461: -program-suffix | --program-suffix | --program-suffi | --program-suff \
462: | --program-suf | --program-su | --program-s)
463: ac_prev=program_suffix ;;
464: -program-suffix=* | --program-suffix=* | --program-suffi=* \
465: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
466: program_suffix=$ac_optarg ;;
467:
468: -program-transform-name | --program-transform-name \
469: | --program-transform-nam | --program-transform-na \
470: | --program-transform-n | --program-transform- \
471: | --program-transform | --program-transfor \
472: | --program-transfo | --program-transf \
473: | --program-trans | --program-tran \
474: | --progr-tra | --program-tr | --program-t)
475: ac_prev=program_transform_name ;;
476: -program-transform-name=* | --program-transform-name=* \
477: | --program-transform-nam=* | --program-transform-na=* \
478: | --program-transform-n=* | --program-transform-=* \
479: | --program-transform=* | --program-transfor=* \
480: | --program-transfo=* | --program-transf=* \
481: | --program-trans=* | --program-tran=* \
482: | --progr-tra=* | --program-tr=* | --program-t=*)
483: program_transform_name=$ac_optarg ;;
484:
485: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
486: | -silent | --silent | --silen | --sile | --sil)
487: silent=yes ;;
488:
489: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
490: ac_prev=sbindir ;;
491: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
492: | --sbi=* | --sb=*)
493: sbindir=$ac_optarg ;;
494:
495: -sharedstatedir | --sharedstatedir | --sharedstatedi \
496: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
497: | --sharedst | --shareds | --shared | --share | --shar \
498: | --sha | --sh)
499: ac_prev=sharedstatedir ;;
500: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
501: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
502: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
503: | --sha=* | --sh=*)
504: sharedstatedir=$ac_optarg ;;
505:
506: -site | --site | --sit)
507: ac_prev=site ;;
508: -site=* | --site=* | --sit=*)
509: site=$ac_optarg ;;
510:
511: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
512: ac_prev=srcdir ;;
513: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
514: srcdir=$ac_optarg ;;
515:
516: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
517: | --syscon | --sysco | --sysc | --sys | --sy)
518: ac_prev=sysconfdir ;;
519: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
520: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
521: sysconfdir=$ac_optarg ;;
522:
523: -target | --target | --targe | --targ | --tar | --ta | --t)
524: ac_prev=target_alias ;;
525: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
526: target_alias=$ac_optarg ;;
527:
528: -v | -verbose | --verbose | --verbos | --verbo | --verb)
529: verbose=yes ;;
530:
531: -version | --version | --versio | --versi | --vers | -V)
532: ac_init_version=: ;;
533:
534: -with-* | --with-*)
535: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
536: # Reject names that are not valid shell variable names.
537: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
538: { echo "$as_me: error: invalid package name: $ac_package" >&2
539: { (exit 1); exit 1; }; }
540: ac_package=`echo $ac_package| sed 's/-/_/g'`
541: case $ac_option in
542: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
543: *) ac_optarg=yes ;;
544: esac
545: eval "with_$ac_package='$ac_optarg'" ;;
546:
547: -without-* | --without-*)
548: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
549: # Reject names that are not valid shell variable names.
550: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
551: { echo "$as_me: error: invalid package name: $ac_package" >&2
552: { (exit 1); exit 1; }; }
553: ac_package=`echo $ac_package | sed 's/-/_/g'`
554: eval "with_$ac_package=no" ;;
555:
556: --x)
557: # Obsolete; use --with-x.
558: with_x=yes ;;
559:
560: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
561: | --x-incl | --x-inc | --x-in | --x-i)
562: ac_prev=x_includes ;;
563: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
564: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
565: x_includes=$ac_optarg ;;
566:
567: -x-libraries | --x-libraries | --x-librarie | --x-librari \
568: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
569: ac_prev=x_libraries ;;
570: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
571: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
572: x_libraries=$ac_optarg ;;
573:
574: -*) { echo "$as_me: error: unrecognized option: $ac_option
575: Try \`$0 --help' for more information." >&2
576: { (exit 1); exit 1; }; }
577: ;;
578:
579: *=*)
580: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
581: # Reject names that are not valid shell variable names.
582: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
583: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
584: { (exit 1); exit 1; }; }
585: ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
586: eval "$ac_envvar='$ac_optarg'"
587: export $ac_envvar ;;
588:
589: *)
590: # FIXME: should be removed in autoconf 3.0.
591: echo "$as_me: WARNING: you should use --build, --host, --target" >&2
592: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
593: echo "$as_me: WARNING: invalid host type: $ac_option" >&2
594: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
595: ;;
596:
597: esac
598: done
599:
600: if test -n "$ac_prev"; then
601: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
602: { echo "$as_me: error: missing argument to $ac_option" >&2
603: { (exit 1); exit 1; }; }
604: fi
605:
606: # Be sure to have absolute paths.
607: for ac_var in exec_prefix prefix
608: do
609: eval ac_val=$`echo $ac_var`
610: case $ac_val in
611: [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
612: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
613: { (exit 1); exit 1; }; };;
614: esac
615: done
616:
617: # Be sure to have absolute paths.
618: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
619: localstatedir libdir includedir oldincludedir infodir mandir
620: do
621: eval ac_val=$`echo $ac_var`
622: case $ac_val in
623: [\\/$]* | ?:[\\/]* ) ;;
624: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
625: { (exit 1); exit 1; }; };;
626: esac
627: done
628:
629: # There might be people who depend on the old broken behavior: `$host'
630: # used to hold the argument of --host etc.
631: # FIXME: To remove some day.
632: build=$build_alias
633: host=$host_alias
634: target=$target_alias
635:
636: # FIXME: To remove some day.
637: if test "x$host_alias" != x; then
638: if test "x$build_alias" = x; then
639: cross_compiling=maybe
640: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
641: If a cross compiler is detected then cross compile mode will be used." >&2
642: elif test "x$build_alias" != "x$host_alias"; then
643: cross_compiling=yes
644: fi
645: fi
646:
647: ac_tool_prefix=
648: test -n "$host_alias" && ac_tool_prefix=$host_alias-
649:
650: test "$silent" = yes && exec 6>/dev/null
651:
652:
653: # Find the source files, if location was not specified.
654: if test -z "$srcdir"; then
655: ac_srcdir_defaulted=yes
656: # Try the directory containing this script, then its parent.
657: ac_confdir=`(dirname "$0") 2>/dev/null ||
658: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
659: X"$0" : 'X\(//\)[^/]' \| \
660: X"$0" : 'X\(//\)$' \| \
661: X"$0" : 'X\(/\)' \| \
662: . : '\(.\)' 2>/dev/null ||
663: echo X"$0" |
664: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
665: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
666: /^X\(\/\/\)$/{ s//\1/; q; }
667: /^X\(\/\).*/{ s//\1/; q; }
668: s/.*/./; q'`
669: srcdir=$ac_confdir
670: if test ! -r $srcdir/$ac_unique_file; then
671: srcdir=..
672: fi
673: else
674: ac_srcdir_defaulted=no
675: fi
676: if test ! -r $srcdir/$ac_unique_file; then
677: if test "$ac_srcdir_defaulted" = yes; then
678: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
679: { (exit 1); exit 1; }; }
680: else
681: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
682: { (exit 1); exit 1; }; }
683: fi
684: fi
685: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
686: ac_env_build_alias_set=${build_alias+set}
687: ac_env_build_alias_value=$build_alias
688: ac_cv_env_build_alias_set=${build_alias+set}
689: ac_cv_env_build_alias_value=$build_alias
690: ac_env_host_alias_set=${host_alias+set}
691: ac_env_host_alias_value=$host_alias
692: ac_cv_env_host_alias_set=${host_alias+set}
693: ac_cv_env_host_alias_value=$host_alias
694: ac_env_target_alias_set=${target_alias+set}
695: ac_env_target_alias_value=$target_alias
696: ac_cv_env_target_alias_set=${target_alias+set}
697: ac_cv_env_target_alias_value=$target_alias
698: ac_env_CC_set=${CC+set}
699: ac_env_CC_value=$CC
700: ac_cv_env_CC_set=${CC+set}
701: ac_cv_env_CC_value=$CC
702: ac_env_CFLAGS_set=${CFLAGS+set}
703: ac_env_CFLAGS_value=$CFLAGS
704: ac_cv_env_CFLAGS_set=${CFLAGS+set}
705: ac_cv_env_CFLAGS_value=$CFLAGS
706: ac_env_LDFLAGS_set=${LDFLAGS+set}
707: ac_env_LDFLAGS_value=$LDFLAGS
708: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
709: ac_cv_env_LDFLAGS_value=$LDFLAGS
710: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
711: ac_env_CPPFLAGS_value=$CPPFLAGS
712: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
713: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
714:
715: #
716: # Report the --help message.
717: #
718: if test "$ac_init_help" = "long"; then
719: # Omit some internal or obsolete options to make the list less imposing.
720: # This message is too long to be a string in the A/UX 3.1 sh.
721: cat <<_ACEOF
722: \`configure' configures this package to adapt to many kinds of systems.
723:
724: Usage: $0 [OPTION]... [VAR=VALUE]...
725:
726: To assign environment variables (e.g., CC, CFLAGS...), specify them as
727: VAR=VALUE. See below for descriptions of some of the useful variables.
728:
729: Defaults for the options are specified in brackets.
730:
731: Configuration:
732: -h, --help display this help and exit
733: --help=short display options specific to this package
734: --help=recursive display the short help of all the included packages
735: -V, --version display version information and exit
736: -q, --quiet, --silent do not print \`checking...' messages
737: --cache-file=FILE cache test results in FILE [disabled]
738: -C, --config-cache alias for \`--cache-file=config.cache'
739: -n, --no-create do not create output files
740: --srcdir=DIR find the sources in DIR [configure dir or \`..']
741:
742: _ACEOF
743:
744: cat <<_ACEOF
745: Installation directories:
746: --prefix=PREFIX install architecture-independent files in PREFIX
747: [$ac_default_prefix]
748: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
749: [PREFIX]
750:
751: By default, \`make install' will install all the files in
752: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
753: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
754: for instance \`--prefix=\$HOME'.
755:
756: For better control, use the options below.
757:
758: Fine tuning of the installation directories:
759: --bindir=DIR user executables [EPREFIX/bin]
760: --sbindir=DIR system admin executables [EPREFIX/sbin]
761: --libexecdir=DIR program executables [EPREFIX/libexec]
762: --datadir=DIR read-only architecture-independent data [PREFIX/share]
763: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
764: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
765: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
766: --libdir=DIR object code libraries [EPREFIX/lib]
767: --includedir=DIR C header files [PREFIX/include]
768: --oldincludedir=DIR C header files for non-gcc [/usr/include]
769: --infodir=DIR info documentation [PREFIX/info]
770: --mandir=DIR man documentation [PREFIX/man]
771: _ACEOF
772:
773: cat <<\_ACEOF
774: _ACEOF
775: fi
776:
777: if test -n "$ac_init_help"; then
778:
779: cat <<\_ACEOF
780:
781: Some influential environment variables:
782: CC C compiler command
783: CFLAGS C compiler flags
784: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
785: nonstandard directory <lib dir>
786: CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
787: headers in a nonstandard directory <include dir>
788:
789: Use these variables to override the choices made by `configure' or to help
790: it to find libraries and programs with nonstandard names/locations.
791:
792: _ACEOF
793: fi
794:
795: if test "$ac_init_help" = "recursive"; then
796: # If there are subdirs, report their specific --help.
797: ac_popdir=`pwd`
798: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
799: test -d $ac_dir || continue
800: ac_builddir=.
801:
802: if test "$ac_dir" != .; then
803: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
804: # A "../" for each directory in $ac_dir_suffix.
805: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
806: else
807: ac_dir_suffix= ac_top_builddir=
808: fi
809:
810: case $srcdir in
811: .) # No --srcdir option. We are building in place.
812: ac_srcdir=.
813: if test -z "$ac_top_builddir"; then
814: ac_top_srcdir=.
815: else
816: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
817: fi ;;
818: [\\/]* | ?:[\\/]* ) # Absolute path.
819: ac_srcdir=$srcdir$ac_dir_suffix;
820: ac_top_srcdir=$srcdir ;;
821: *) # Relative path.
822: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
823: ac_top_srcdir=$ac_top_builddir$srcdir ;;
824: esac
825: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
826: # absolute.
827: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
828: ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
829: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
830: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
831:
832: cd $ac_dir
833: # Check for guested configure; otherwise get Cygnus style configure.
834: if test -f $ac_srcdir/configure.gnu; then
835: echo
836: $SHELL $ac_srcdir/configure.gnu --help=recursive
837: elif test -f $ac_srcdir/configure; then
838: echo
839: $SHELL $ac_srcdir/configure --help=recursive
840: elif test -f $ac_srcdir/configure.ac ||
841: test -f $ac_srcdir/configure.in; then
842: echo
843: $ac_configure --help
844: else
845: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
846: fi
847: cd $ac_popdir
848: done
849: fi
850:
851: test -n "$ac_init_help" && exit 0
852: if $ac_init_version; then
853: cat <<\_ACEOF
854:
855: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
856: Free Software Foundation, Inc.
857: This configure script is free software; the Free Software Foundation
858: gives unlimited permission to copy, distribute and modify it.
859: _ACEOF
860: exit 0
861: fi
862: exec 5>config.log
863: cat >&5 <<_ACEOF
864: This file contains any messages produced by compilers while
865: running configure, to aid debugging if configure makes a mistake.
866:
867: It was created by $as_me, which was
868: generated by GNU Autoconf 2.53. Invocation command line was
869:
870: $ $0 $@
871:
872: _ACEOF
873: {
874: cat <<_ASUNAME
875: ## --------- ##
876: ## Platform. ##
877: ## --------- ##
878:
879: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
880: uname -m = `(uname -m) 2>/dev/null || echo unknown`
881: uname -r = `(uname -r) 2>/dev/null || echo unknown`
882: uname -s = `(uname -s) 2>/dev/null || echo unknown`
883: uname -v = `(uname -v) 2>/dev/null || echo unknown`
884:
885: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
886: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
887:
888: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
889: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
890: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
891: hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
892: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
893: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
894: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
895:
896: _ASUNAME
897:
898: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
899: for as_dir in $PATH
900: do
901: IFS=$as_save_IFS
902: test -z "$as_dir" && as_dir=.
903: echo "PATH: $as_dir"
904: done
905:
906: } >&5
907:
908: cat >&5 <<_ACEOF
909:
910:
911: ## ----------- ##
912: ## Core tests. ##
913: ## ----------- ##
914:
915: _ACEOF
916:
917:
918: # Keep a trace of the command line.
919: # Strip out --no-create and --no-recursion so they do not pile up.
920: # Also quote any args containing shell meta-characters.
921: ac_configure_args=
922: ac_sep=
923: for ac_arg
924: do
925: case $ac_arg in
926: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
927: | --no-cr | --no-c | -n ) continue ;;
928: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
929: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
930: continue ;;
931: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
932: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
933: esac
934: case " $ac_configure_args " in
935: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
936: *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
937: ac_sep=" " ;;
938: esac
939: # Get rid of the leading space.
940: done
941:
942: # When interrupted or exit'd, cleanup temporary files, and complete
943: # config.log. We remove comments because anyway the quotes in there
944: # would cause problems or look ugly.
945: # WARNING: Be sure not to use single quotes in there, as some shells,
946: # such as our DU 5.0 friend, will then `close' the trap.
947: trap 'exit_status=$?
948: # Save into config.log some information that might help in debugging.
949: {
950: echo
951: cat <<\_ASBOX
952: ## ---------------- ##
953: ## Cache variables. ##
954: ## ---------------- ##
955: _ASBOX
956: echo
957: # The following way of writing the cache mishandles newlines in values,
958: {
959: (set) 2>&1 |
960: case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
961: *ac_space=\ *)
962: sed -n \
963: "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
964: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
965: ;;
966: *)
967: sed -n \
968: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
969: ;;
970: esac;
971: }
972: echo
973: if test -s confdefs.h; then
974: cat <<\_ASBOX
975: ## ----------- ##
976: ## confdefs.h. ##
977: ## ----------- ##
978: _ASBOX
979: echo
980: sed "/^$/d" confdefs.h
981: echo
982: fi
983: test "$ac_signal" != 0 &&
984: echo "$as_me: caught signal $ac_signal"
985: echo "$as_me: exit $exit_status"
986: } >&5
987: rm -f core core.* *.core &&
988: rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
989: exit $exit_status
990: ' 0
991: for ac_signal in 1 2 13 15; do
992: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
993: done
994: ac_signal=0
995:
996: # confdefs.h avoids OS command line length limits that DEFS can exceed.
997: rm -rf conftest* confdefs.h
998: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
999: echo >confdefs.h
1000:
1001: # Predefined preprocessor variables.
1002:
1003: cat >>confdefs.h <<_ACEOF
1004: #define PACKAGE_NAME "$PACKAGE_NAME"
1005: _ACEOF
1006:
1007:
1008: cat >>confdefs.h <<_ACEOF
1009: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1010: _ACEOF
1011:
1012:
1013: cat >>confdefs.h <<_ACEOF
1014: #define PACKAGE_VERSION "$PACKAGE_VERSION"
1015: _ACEOF
1016:
1017:
1018: cat >>confdefs.h <<_ACEOF
1019: #define PACKAGE_STRING "$PACKAGE_STRING"
1020: _ACEOF
1021:
1022:
1023: cat >>confdefs.h <<_ACEOF
1024: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1025: _ACEOF
1026:
1027:
1028: # Let the site file select an alternate cache file if it wants to.
1029: # Prefer explicitly selected file to automatically selected ones.
1030: if test -z "$CONFIG_SITE"; then
1031: if test "x$prefix" != xNONE; then
1032: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1033: else
1034: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1035: fi
1036: fi
1037: for ac_site_file in $CONFIG_SITE; do
1038: if test -r "$ac_site_file"; then
1039: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1040: echo "$as_me: loading site script $ac_site_file" >&6;}
1041: sed 's/^/| /' "$ac_site_file" >&5
1042: . "$ac_site_file"
1043: fi
1044: done
1045:
1046: if test -r "$cache_file"; then
1047: # Some versions of bash will fail to source /dev/null (special
1048: # files actually), so we avoid doing that.
1049: if test -f "$cache_file"; then
1050: { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1051: echo "$as_me: loading cache $cache_file" >&6;}
1052: case $cache_file in
1053: [\\/]* | ?:[\\/]* ) . $cache_file;;
1054: *) . ./$cache_file;;
1055: esac
1056: fi
1057: else
1058: { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1059: echo "$as_me: creating cache $cache_file" >&6;}
1060: >$cache_file
1061: fi
1062:
1063: # Check that the precious variables saved in the cache have kept the same
1064: # value.
1065: ac_cache_corrupted=false
1066: for ac_var in `(set) 2>&1 |
1067: sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1068: eval ac_old_set=\$ac_cv_env_${ac_var}_set
1069: eval ac_new_set=\$ac_env_${ac_var}_set
1070: eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1071: eval ac_new_val="\$ac_env_${ac_var}_value"
1072: case $ac_old_set,$ac_new_set in
1073: set,)
1074: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1075: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1076: ac_cache_corrupted=: ;;
1077: ,set)
1078: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1079: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1080: ac_cache_corrupted=: ;;
1081: ,);;
1082: *)
1083: if test "x$ac_old_val" != "x$ac_new_val"; then
1084: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1085: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1086: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1087: echo "$as_me: former value: $ac_old_val" >&2;}
1088: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1089: echo "$as_me: current value: $ac_new_val" >&2;}
1090: ac_cache_corrupted=:
1091: fi;;
1092: esac
1093: # Pass precious variables to config.status.
1094: if test "$ac_new_set" = set; then
1095: case $ac_new_val in
1096: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1097: ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1098: *) ac_arg=$ac_var=$ac_new_val ;;
1099: esac
1100: case " $ac_configure_args " in
1101: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1102: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1103: esac
1104: fi
1105: done
1106: if $ac_cache_corrupted; then
1107: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1108: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1109: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1110: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1111: { (exit 1); exit 1; }; }
1112: fi
1113:
1114: ac_ext=c
1115: ac_cpp='$CPP $CPPFLAGS'
1116: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1117: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1118: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1119:
1120:
1121:
1122:
1123:
1124:
1125:
1126:
1127:
1128:
1129:
1130:
1131:
1132:
1133:
1134:
1135:
1136:
1137: ac_ext=c
1138: ac_cpp='$CPP $CPPFLAGS'
1139: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1140: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1141: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1142: if test -n "$ac_tool_prefix"; then
1143: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1144: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1145: echo "$as_me:$LINENO: checking for $ac_word" >&5
1146: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1147: if test "${ac_cv_prog_CC+set}" = set; then
1148: echo $ECHO_N "(cached) $ECHO_C" >&6
1149: else
1150: if test -n "$CC"; then
1151: ac_cv_prog_CC="$CC" # Let the user override the test.
1152: else
1153: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1154: for as_dir in $PATH
1155: do
1156: IFS=$as_save_IFS
1157: test -z "$as_dir" && as_dir=.
1158: for ac_exec_ext in '' $ac_executable_extensions; do
1159: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1160: ac_cv_prog_CC="${ac_tool_prefix}gcc"
1161: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1162: break 2
1163: fi
1164: done
1165: done
1166:
1167: fi
1168: fi
1169: CC=$ac_cv_prog_CC
1170: if test -n "$CC"; then
1171: echo "$as_me:$LINENO: result: $CC" >&5
1172: echo "${ECHO_T}$CC" >&6
1173: else
1174: echo "$as_me:$LINENO: result: no" >&5
1175: echo "${ECHO_T}no" >&6
1176: fi
1177:
1178: fi
1179: if test -z "$ac_cv_prog_CC"; then
1180: ac_ct_CC=$CC
1181: # Extract the first word of "gcc", so it can be a program name with args.
1182: set dummy gcc; ac_word=$2
1183: echo "$as_me:$LINENO: checking for $ac_word" >&5
1184: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1185: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1186: echo $ECHO_N "(cached) $ECHO_C" >&6
1187: else
1188: if test -n "$ac_ct_CC"; then
1189: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1190: else
1191: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1192: for as_dir in $PATH
1193: do
1194: IFS=$as_save_IFS
1195: test -z "$as_dir" && as_dir=.
1196: for ac_exec_ext in '' $ac_executable_extensions; do
1197: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1198: ac_cv_prog_ac_ct_CC="gcc"
1199: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1200: break 2
1201: fi
1202: done
1203: done
1204:
1205: fi
1206: fi
1207: ac_ct_CC=$ac_cv_prog_ac_ct_CC
1208: if test -n "$ac_ct_CC"; then
1209: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1210: echo "${ECHO_T}$ac_ct_CC" >&6
1211: else
1212: echo "$as_me:$LINENO: result: no" >&5
1213: echo "${ECHO_T}no" >&6
1214: fi
1215:
1216: CC=$ac_ct_CC
1217: else
1218: CC="$ac_cv_prog_CC"
1219: fi
1220:
1221: if test -z "$CC"; then
1222: if test -n "$ac_tool_prefix"; then
1223: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1224: set dummy ${ac_tool_prefix}cc; ac_word=$2
1225: echo "$as_me:$LINENO: checking for $ac_word" >&5
1226: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1227: if test "${ac_cv_prog_CC+set}" = set; then
1228: echo $ECHO_N "(cached) $ECHO_C" >&6
1229: else
1230: if test -n "$CC"; then
1231: ac_cv_prog_CC="$CC" # Let the user override the test.
1232: else
1233: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1234: for as_dir in $PATH
1235: do
1236: IFS=$as_save_IFS
1237: test -z "$as_dir" && as_dir=.
1238: for ac_exec_ext in '' $ac_executable_extensions; do
1239: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1240: ac_cv_prog_CC="${ac_tool_prefix}cc"
1241: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1242: break 2
1243: fi
1244: done
1245: done
1246:
1247: fi
1248: fi
1249: CC=$ac_cv_prog_CC
1250: if test -n "$CC"; then
1251: echo "$as_me:$LINENO: result: $CC" >&5
1252: echo "${ECHO_T}$CC" >&6
1253: else
1254: echo "$as_me:$LINENO: result: no" >&5
1255: echo "${ECHO_T}no" >&6
1256: fi
1257:
1258: fi
1259: if test -z "$ac_cv_prog_CC"; then
1260: ac_ct_CC=$CC
1261: # Extract the first word of "cc", so it can be a program name with args.
1262: set dummy cc; ac_word=$2
1263: echo "$as_me:$LINENO: checking for $ac_word" >&5
1264: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1265: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1266: echo $ECHO_N "(cached) $ECHO_C" >&6
1267: else
1268: if test -n "$ac_ct_CC"; then
1269: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1270: else
1271: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1272: for as_dir in $PATH
1273: do
1274: IFS=$as_save_IFS
1275: test -z "$as_dir" && as_dir=.
1276: for ac_exec_ext in '' $ac_executable_extensions; do
1277: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1278: ac_cv_prog_ac_ct_CC="cc"
1279: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1280: break 2
1281: fi
1282: done
1283: done
1284:
1285: fi
1286: fi
1287: ac_ct_CC=$ac_cv_prog_ac_ct_CC
1288: if test -n "$ac_ct_CC"; then
1289: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1290: echo "${ECHO_T}$ac_ct_CC" >&6
1291: else
1292: echo "$as_me:$LINENO: result: no" >&5
1293: echo "${ECHO_T}no" >&6
1294: fi
1295:
1296: CC=$ac_ct_CC
1297: else
1298: CC="$ac_cv_prog_CC"
1299: fi
1300:
1301: fi
1302: if test -z "$CC"; then
1303: # Extract the first word of "cc", so it can be a program name with args.
1304: set dummy cc; ac_word=$2
1305: echo "$as_me:$LINENO: checking for $ac_word" >&5
1306: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1307: if test "${ac_cv_prog_CC+set}" = set; then
1308: echo $ECHO_N "(cached) $ECHO_C" >&6
1309: else
1310: if test -n "$CC"; then
1311: ac_cv_prog_CC="$CC" # Let the user override the test.
1312: else
1313: ac_prog_rejected=no
1314: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1315: for as_dir in $PATH
1316: do
1317: IFS=$as_save_IFS
1318: test -z "$as_dir" && as_dir=.
1319: for ac_exec_ext in '' $ac_executable_extensions; do
1320: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1321: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1322: ac_prog_rejected=yes
1323: continue
1324: fi
1325: ac_cv_prog_CC="cc"
1326: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1327: break 2
1328: fi
1329: done
1330: done
1331:
1332: if test $ac_prog_rejected = yes; then
1333: # We found a bogon in the path, so make sure we never use it.
1334: set dummy $ac_cv_prog_CC
1335: shift
1336: if test $# != 0; then
1337: # We chose a different compiler from the bogus one.
1338: # However, it has the same basename, so the bogon will be chosen
1339: # first if we set CC to just the basename; use the full file name.
1340: shift
1341: set dummy "$as_dir/$ac_word" ${1+"$@"}
1342: shift
1343: ac_cv_prog_CC="$@"
1344: fi
1345: fi
1346: fi
1347: fi
1348: CC=$ac_cv_prog_CC
1349: if test -n "$CC"; then
1350: echo "$as_me:$LINENO: result: $CC" >&5
1351: echo "${ECHO_T}$CC" >&6
1352: else
1353: echo "$as_me:$LINENO: result: no" >&5
1354: echo "${ECHO_T}no" >&6
1355: fi
1356:
1357: fi
1358: if test -z "$CC"; then
1359: if test -n "$ac_tool_prefix"; then
1360: for ac_prog in cl
1361: do
1362: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1363: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1364: echo "$as_me:$LINENO: checking for $ac_word" >&5
1365: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1366: if test "${ac_cv_prog_CC+set}" = set; then
1367: echo $ECHO_N "(cached) $ECHO_C" >&6
1368: else
1369: if test -n "$CC"; then
1370: ac_cv_prog_CC="$CC" # Let the user override the test.
1371: else
1372: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1373: for as_dir in $PATH
1374: do
1375: IFS=$as_save_IFS
1376: test -z "$as_dir" && as_dir=.
1377: for ac_exec_ext in '' $ac_executable_extensions; do
1378: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1379: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1380: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1381: break 2
1382: fi
1383: done
1384: done
1385:
1386: fi
1387: fi
1388: CC=$ac_cv_prog_CC
1389: if test -n "$CC"; then
1390: echo "$as_me:$LINENO: result: $CC" >&5
1391: echo "${ECHO_T}$CC" >&6
1392: else
1393: echo "$as_me:$LINENO: result: no" >&5
1394: echo "${ECHO_T}no" >&6
1395: fi
1396:
1397: test -n "$CC" && break
1398: done
1399: fi
1400: if test -z "$CC"; then
1401: ac_ct_CC=$CC
1402: for ac_prog in cl
1403: do
1404: # Extract the first word of "$ac_prog", so it can be a program name with args.
1405: set dummy $ac_prog; ac_word=$2
1406: echo "$as_me:$LINENO: checking for $ac_word" >&5
1407: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1408: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1409: echo $ECHO_N "(cached) $ECHO_C" >&6
1410: else
1411: if test -n "$ac_ct_CC"; then
1412: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1413: else
1414: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1415: for as_dir in $PATH
1416: do
1417: IFS=$as_save_IFS
1418: test -z "$as_dir" && as_dir=.
1419: for ac_exec_ext in '' $ac_executable_extensions; do
1420: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1421: ac_cv_prog_ac_ct_CC="$ac_prog"
1422: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1423: break 2
1424: fi
1425: done
1426: done
1427:
1428: fi
1429: fi
1430: ac_ct_CC=$ac_cv_prog_ac_ct_CC
1431: if test -n "$ac_ct_CC"; then
1432: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1433: echo "${ECHO_T}$ac_ct_CC" >&6
1434: else
1435: echo "$as_me:$LINENO: result: no" >&5
1436: echo "${ECHO_T}no" >&6
1437: fi
1438:
1439: test -n "$ac_ct_CC" && break
1440: done
1441:
1442: CC=$ac_ct_CC
1443: fi
1444:
1445: fi
1446:
1447:
1448: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1449: echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1450: { (exit 1); exit 1; }; }
1451:
1452: # Provide some information about the compiler.
1453: echo "$as_me:$LINENO:" \
1454: "checking for C compiler version" >&5
1455: ac_compiler=`set X $ac_compile; echo $2`
1456: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1457: (eval $ac_compiler --version </dev/null >&5) 2>&5
1458: ac_status=$?
1459: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1460: (exit $ac_status); }
1461: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1462: (eval $ac_compiler -v </dev/null >&5) 2>&5
1463: ac_status=$?
1464: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1465: (exit $ac_status); }
1466: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1467: (eval $ac_compiler -V </dev/null >&5) 2>&5
1468: ac_status=$?
1469: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1470: (exit $ac_status); }
1471:
1472: cat >conftest.$ac_ext <<_ACEOF
1473: #line $LINENO "configure"
1474: #include "confdefs.h"
1475:
1476: #ifdef F77_DUMMY_MAIN
1477: # ifdef __cplusplus
1478: extern "C"
1479: # endif
1480: int F77_DUMMY_MAIN() { return 1; }
1481: #endif
1482: int
1483: main ()
1484: {
1485:
1486: ;
1487: return 0;
1488: }
1489: _ACEOF
1490: ac_clean_files_save=$ac_clean_files
1491: ac_clean_files="$ac_clean_files a.out a.exe"
1492: # Try to create an executable without -o first, disregard a.out.
1493: # It will help us diagnose broken compilers, and finding out an intuition
1494: # of exeext.
1495: echo "$as_me:$LINENO: checking for C compiler default output" >&5
1496: echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1497: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1498: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1499: (eval $ac_link_default) 2>&5
1500: ac_status=$?
1501: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1502: (exit $ac_status); }; then
1503: # Find the output, starting from the most likely. This scheme is
1504: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1505: # resort.
1506:
1507: # Be careful to initialize this variable, since it used to be cached.
1508: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1509: ac_cv_exeext=
1510: for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1511: ls a.out conftest 2>/dev/null;
1512: ls a.* conftest.* 2>/dev/null`; do
1513: case $ac_file in
1514: *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1515: a.out ) # We found the default executable, but exeext='' is most
1516: # certainly right.
1517: break;;
1518: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1519: # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1520: export ac_cv_exeext
1521: break;;
1522: * ) break;;
1523: esac
1524: done
1525: else
1526: echo "$as_me: failed program was:" >&5
1527: cat conftest.$ac_ext >&5
1528: { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1529: echo "$as_me: error: C compiler cannot create executables" >&2;}
1530: { (exit 77); exit 77; }; }
1531: fi
1532:
1533: ac_exeext=$ac_cv_exeext
1534: echo "$as_me:$LINENO: result: $ac_file" >&5
1535: echo "${ECHO_T}$ac_file" >&6
1536:
1537: # Check the compiler produces executables we can run. If not, either
1538: # the compiler is broken, or we cross compile.
1539: echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1540: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1541: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1542: # If not cross compiling, check that we can run a simple program.
1543: if test "$cross_compiling" != yes; then
1544: if { ac_try='./$ac_file'
1545: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1546: (eval $ac_try) 2>&5
1547: ac_status=$?
1548: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1549: (exit $ac_status); }; }; then
1550: cross_compiling=no
1551: else
1552: if test "$cross_compiling" = maybe; then
1553: cross_compiling=yes
1554: else
1555: { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1556: If you meant to cross compile, use \`--host'." >&5
1557: echo "$as_me: error: cannot run C compiled programs.
1558: If you meant to cross compile, use \`--host'." >&2;}
1559: { (exit 1); exit 1; }; }
1560: fi
1561: fi
1562: fi
1563: echo "$as_me:$LINENO: result: yes" >&5
1564: echo "${ECHO_T}yes" >&6
1565:
1566: rm -f a.out a.exe conftest$ac_cv_exeext
1567: ac_clean_files=$ac_clean_files_save
1568: # Check the compiler produces executables we can run. If not, either
1569: # the compiler is broken, or we cross compile.
1570: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1571: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1572: echo "$as_me:$LINENO: result: $cross_compiling" >&5
1573: echo "${ECHO_T}$cross_compiling" >&6
1574:
1575: echo "$as_me:$LINENO: checking for suffix of executables" >&5
1576: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1577: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1578: (eval $ac_link) 2>&5
1579: ac_status=$?
1580: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1581: (exit $ac_status); }; then
1582: # If both `conftest.exe' and `conftest' are `present' (well, observable)
1583: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1584: # work properly (i.e., refer to `conftest.exe'), while it won't with
1585: # `rm'.
1586: for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1587: case $ac_file in
1588: *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1589: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1590: export ac_cv_exeext
1591: break;;
1592: * ) break;;
1593: esac
1594: done
1595: else
1596: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1597: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1598: { (exit 1); exit 1; }; }
1599: fi
1600:
1601: rm -f conftest$ac_cv_exeext
1602: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1603: echo "${ECHO_T}$ac_cv_exeext" >&6
1604:
1605: rm -f conftest.$ac_ext
1606: EXEEXT=$ac_cv_exeext
1607: ac_exeext=$EXEEXT
1608: echo "$as_me:$LINENO: checking for suffix of object files" >&5
1609: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1610: if test "${ac_cv_objext+set}" = set; then
1611: echo $ECHO_N "(cached) $ECHO_C" >&6
1612: else
1613: cat >conftest.$ac_ext <<_ACEOF
1614: #line $LINENO "configure"
1615: #include "confdefs.h"
1616:
1617: #ifdef F77_DUMMY_MAIN
1618: # ifdef __cplusplus
1619: extern "C"
1620: # endif
1621: int F77_DUMMY_MAIN() { return 1; }
1622: #endif
1623: int
1624: main ()
1625: {
1626:
1627: ;
1628: return 0;
1629: }
1630: _ACEOF
1631: rm -f conftest.o conftest.obj
1632: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1633: (eval $ac_compile) 2>&5
1634: ac_status=$?
1635: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1636: (exit $ac_status); }; then
1637: for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1638: case $ac_file in
1639: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1640: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1641: break;;
1642: esac
1643: done
1644: else
1645: echo "$as_me: failed program was:" >&5
1646: cat conftest.$ac_ext >&5
1647: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1648: echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1649: { (exit 1); exit 1; }; }
1650: fi
1651:
1652: rm -f conftest.$ac_cv_objext conftest.$ac_ext
1653: fi
1654: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1655: echo "${ECHO_T}$ac_cv_objext" >&6
1656: OBJEXT=$ac_cv_objext
1657: ac_objext=$OBJEXT
1658: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1659: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1660: if test "${ac_cv_c_compiler_gnu+set}" = set; then
1661: echo $ECHO_N "(cached) $ECHO_C" >&6
1662: else
1663: cat >conftest.$ac_ext <<_ACEOF
1664: #line $LINENO "configure"
1665: #include "confdefs.h"
1666:
1667: #ifdef F77_DUMMY_MAIN
1668: # ifdef __cplusplus
1669: extern "C"
1670: # endif
1671: int F77_DUMMY_MAIN() { return 1; }
1672: #endif
1673: int
1674: main ()
1675: {
1676: #ifndef __GNUC__
1677: choke me
1678: #endif
1679:
1680: ;
1681: return 0;
1682: }
1683: _ACEOF
1684: rm -f conftest.$ac_objext
1685: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1686: (eval $ac_compile) 2>&5
1687: ac_status=$?
1688: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1689: (exit $ac_status); } &&
1690: { ac_try='test -s conftest.$ac_objext'
1691: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1692: (eval $ac_try) 2>&5
1693: ac_status=$?
1694: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1695: (exit $ac_status); }; }; then
1696: ac_compiler_gnu=yes
1697: else
1698: echo "$as_me: failed program was:" >&5
1699: cat conftest.$ac_ext >&5
1700: ac_compiler_gnu=no
1701: fi
1702: rm -f conftest.$ac_objext conftest.$ac_ext
1703: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1704:
1705: fi
1706: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1707: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1708: GCC=`test $ac_compiler_gnu = yes && echo yes`
1709: ac_test_CFLAGS=${CFLAGS+set}
1710: ac_save_CFLAGS=$CFLAGS
1711: CFLAGS="-g"
1712: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1713: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1714: if test "${ac_cv_prog_cc_g+set}" = set; then
1715: echo $ECHO_N "(cached) $ECHO_C" >&6
1716: else
1717: cat >conftest.$ac_ext <<_ACEOF
1718: #line $LINENO "configure"
1719: #include "confdefs.h"
1720:
1721: #ifdef F77_DUMMY_MAIN
1722: # ifdef __cplusplus
1723: extern "C"
1724: # endif
1725: int F77_DUMMY_MAIN() { return 1; }
1726: #endif
1727: int
1728: main ()
1729: {
1730:
1731: ;
1732: return 0;
1733: }
1734: _ACEOF
1735: rm -f conftest.$ac_objext
1736: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1737: (eval $ac_compile) 2>&5
1738: ac_status=$?
1739: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1740: (exit $ac_status); } &&
1741: { ac_try='test -s conftest.$ac_objext'
1742: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1743: (eval $ac_try) 2>&5
1744: ac_status=$?
1745: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1746: (exit $ac_status); }; }; then
1747: ac_cv_prog_cc_g=yes
1748: else
1749: echo "$as_me: failed program was:" >&5
1750: cat conftest.$ac_ext >&5
1751: ac_cv_prog_cc_g=no
1752: fi
1753: rm -f conftest.$ac_objext conftest.$ac_ext
1754: fi
1755: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1756: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1757: if test "$ac_test_CFLAGS" = set; then
1758: CFLAGS=$ac_save_CFLAGS
1759: elif test $ac_cv_prog_cc_g = yes; then
1760: if test "$GCC" = yes; then
1761: CFLAGS="-g -O2"
1762: else
1763: CFLAGS="-g"
1764: fi
1765: else
1766: if test "$GCC" = yes; then
1767: CFLAGS="-O2"
1768: else
1769: CFLAGS=
1770: fi
1771: fi
1772: # Some people use a C++ compiler to compile C. Since we use `exit',
1773: # in C++ we need to declare it. In case someone uses the same compiler
1774: # for both compiling C and C++ we need to have the C++ compiler decide
1775: # the declaration of exit, since it's the most demanding environment.
1776: cat >conftest.$ac_ext <<_ACEOF
1777: #ifndef __cplusplus
1778: choke me
1779: #endif
1780: _ACEOF
1781: rm -f conftest.$ac_objext
1782: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1783: (eval $ac_compile) 2>&5
1784: ac_status=$?
1785: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1786: (exit $ac_status); } &&
1787: { ac_try='test -s conftest.$ac_objext'
1788: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1789: (eval $ac_try) 2>&5
1790: ac_status=$?
1791: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1792: (exit $ac_status); }; }; then
1793: for ac_declaration in \
1794: ''\
1795: '#include <stdlib.h>' \
1796: 'extern "C" void std::exit (int) throw (); using std::exit;' \
1797: 'extern "C" void std::exit (int); using std::exit;' \
1798: 'extern "C" void exit (int) throw ();' \
1799: 'extern "C" void exit (int);' \
1800: 'void exit (int);'
1801: do
1802: cat >conftest.$ac_ext <<_ACEOF
1803: #line $LINENO "configure"
1804: #include "confdefs.h"
1805: #include <stdlib.h>
1806: $ac_declaration
1807: #ifdef F77_DUMMY_MAIN
1808: # ifdef __cplusplus
1809: extern "C"
1810: # endif
1811: int F77_DUMMY_MAIN() { return 1; }
1812: #endif
1813: int
1814: main ()
1815: {
1816: exit (42);
1817: ;
1818: return 0;
1819: }
1820: _ACEOF
1821: rm -f conftest.$ac_objext
1822: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1823: (eval $ac_compile) 2>&5
1824: ac_status=$?
1825: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1826: (exit $ac_status); } &&
1827: { ac_try='test -s conftest.$ac_objext'
1828: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1829: (eval $ac_try) 2>&5
1830: ac_status=$?
1831: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1832: (exit $ac_status); }; }; then
1833: :
1834: else
1835: echo "$as_me: failed program was:" >&5
1836: cat conftest.$ac_ext >&5
1837: continue
1838: fi
1839: rm -f conftest.$ac_objext conftest.$ac_ext
1840: cat >conftest.$ac_ext <<_ACEOF
1841: #line $LINENO "configure"
1842: #include "confdefs.h"
1843: $ac_declaration
1844: #ifdef F77_DUMMY_MAIN
1845: # ifdef __cplusplus
1846: extern "C"
1847: # endif
1848: int F77_DUMMY_MAIN() { return 1; }
1849: #endif
1850: int
1851: main ()
1852: {
1853: exit (42);
1854: ;
1855: return 0;
1856: }
1857: _ACEOF
1858: rm -f conftest.$ac_objext
1859: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1860: (eval $ac_compile) 2>&5
1861: ac_status=$?
1862: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1863: (exit $ac_status); } &&
1864: { ac_try='test -s conftest.$ac_objext'
1865: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1866: (eval $ac_try) 2>&5
1867: ac_status=$?
1868: echo "$as_me:$LINENO: \$? = $ac_status" >&5
1869: (exit $ac_status); }; }; then
1870: break
1871: else
1872: echo "$as_me: failed program was:" >&5
1873: cat conftest.$ac_ext >&5
1874: fi
1875: rm -f conftest.$ac_objext conftest.$ac_ext
1876: done
1877: rm -f conftest*
1878: if test -n "$ac_declaration"; then
1879: echo '#ifdef __cplusplus' >>confdefs.h
1880: echo $ac_declaration >>confdefs.h
1881: echo '#endif' >>confdefs.h
1882: fi
1883:
1884: else
1885: echo "$as_me: failed program was:" >&5
1886: cat conftest.$ac_ext >&5
1887: fi
1888: rm -f conftest.$ac_objext conftest.$ac_ext
1889: ac_ext=c
1890: ac_cpp='$CPP $CPPFLAGS'
1891: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1892: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1893: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1894:
1895: if test -n "$ac_tool_prefix"; then
1896: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1897: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1898: echo "$as_me:$LINENO: checking for $ac_word" >&5
1899: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1900: if test "${ac_cv_prog_RANLIB+set}" = set; then
1901: echo $ECHO_N "(cached) $ECHO_C" >&6
1902: else
1903: if test -n "$RANLIB"; then
1904: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1905: else
1906: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907: for as_dir in $PATH
1908: do
1909: IFS=$as_save_IFS
1910: test -z "$as_dir" && as_dir=.
1911: for ac_exec_ext in '' $ac_executable_extensions; do
1912: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1913: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1914: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1915: break 2
1916: fi
1917: done
1918: done
1919:
1920: fi
1921: fi
1922: RANLIB=$ac_cv_prog_RANLIB
1923: if test -n "$RANLIB"; then
1924: echo "$as_me:$LINENO: result: $RANLIB" >&5
1925: echo "${ECHO_T}$RANLIB" >&6
1926: else
1927: echo "$as_me:$LINENO: result: no" >&5
1928: echo "${ECHO_T}no" >&6
1929: fi
1930:
1931: fi
1932: if test -z "$ac_cv_prog_RANLIB"; then
1933: ac_ct_RANLIB=$RANLIB
1934: # Extract the first word of "ranlib", so it can be a program name with args.
1935: set dummy ranlib; ac_word=$2
1936: echo "$as_me:$LINENO: checking for $ac_word" >&5
1937: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1938: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1939: echo $ECHO_N "(cached) $ECHO_C" >&6
1940: else
1941: if test -n "$ac_ct_RANLIB"; then
1942: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1943: else
1944: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1945: for as_dir in $PATH
1946: do
1947: IFS=$as_save_IFS
1948: test -z "$as_dir" && as_dir=.
1949: for ac_exec_ext in '' $ac_executable_extensions; do
1950: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951: ac_cv_prog_ac_ct_RANLIB="ranlib"
1952: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1953: break 2
1954: fi
1955: done
1956: done
1957:
1958: test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1959: fi
1960: fi
1961: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1962: if test -n "$ac_ct_RANLIB"; then
1963: echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1964: echo "${ECHO_T}$ac_ct_RANLIB" >&6
1965: else
1966: echo "$as_me:$LINENO: result: no" >&5
1967: echo "${ECHO_T}no" >&6
1968: fi
1969:
1970: RANLIB=$ac_ct_RANLIB
1971: else
1972: RANLIB="$ac_cv_prog_RANLIB"
1973: fi
1974:
1975:
1976: ac_config_files="$ac_config_files Makefile"
1977: cat >confcache <<\_ACEOF
1978: # This file is a shell script that caches the results of configure
1979: # tests run on this system so they can be shared between configure
1980: # scripts and configure runs, see configure's option --config-cache.
1981: # It is not useful on other systems. If it contains results you don't
1982: # want to keep, you may remove or edit it.
1983: #
1984: # config.status only pays attention to the cache file if you give it
1985: # the --recheck option to rerun configure.
1986: #
1987: # `ac_cv_env_foo' variables (set or unset) will be overriden when
1988: # loading this file, other *unset* `ac_cv_foo' will be assigned the
1989: # following values.
1990:
1991: _ACEOF
1992:
1993: # The following way of writing the cache mishandles newlines in values,
1994: # but we know of no workaround that is simple, portable, and efficient.
1995: # So, don't put newlines in cache variables' values.
1996: # Ultrix sh set writes to stderr and can't be redirected directly,
1997: # and sets the high bit in the cache file unless we assign to the vars.
1998: {
1999: (set) 2>&1 |
2000: case `(ac_space=' '; set | grep ac_space) 2>&1` in
2001: *ac_space=\ *)
2002: # `set' does not quote correctly, so add quotes (double-quote
2003: # substitution turns \\\\ into \\, and sed turns \\ into \).
2004: sed -n \
2005: "s/'/'\\\\''/g;
2006: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2007: ;;
2008: *)
2009: # `set' quotes correctly as required by POSIX, so do not add quotes.
2010: sed -n \
2011: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2012: ;;
2013: esac;
2014: } |
2015: sed '
2016: t clear
2017: : clear
2018: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2019: t end
2020: /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2021: : end' >>confcache
2022: if cmp -s $cache_file confcache; then :; else
2023: if test -w $cache_file; then
2024: test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2025: cat confcache >$cache_file
2026: else
2027: echo "not updating unwritable cache $cache_file"
2028: fi
2029: fi
2030: rm -f confcache
2031:
2032: test "x$prefix" = xNONE && prefix=$ac_default_prefix
2033: # Let make expand exec_prefix.
2034: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2035:
2036: # VPATH may cause trouble with some makes, so we remove $(srcdir),
2037: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2038: # trailing colons and then remove the whole line if VPATH becomes empty
2039: # (actually we leave an empty line to preserve line numbers).
2040: if test "x$srcdir" = x.; then
2041: ac_vpsub='/^[ ]*VPATH[ ]*=/{
2042: s/:*\$(srcdir):*/:/;
2043: s/:*\${srcdir}:*/:/;
2044: s/:*@srcdir@:*/:/;
2045: s/^\([^=]*=[ ]*\):*/\1/;
2046: s/:*$//;
2047: s/^[^=]*=[ ]*$//;
2048: }'
2049: fi
2050:
2051: # Transform confdefs.h into DEFS.
2052: # Protect against shell expansion while executing Makefile rules.
2053: # Protect against Makefile macro expansion.
2054: #
2055: # If the first sed substitution is executed (which looks for macros that
2056: # take arguments), then we branch to the quote section. Otherwise,
2057: # look for a macro that doesn't take arguments.
2058: cat >confdef2opt.sed <<\_ACEOF
2059: t clear
2060: : clear
2061: s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2062: t quote
2063: s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2064: t quote
2065: d
2066: : quote
2067: s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2068: s,\[,\\&,g
2069: s,\],\\&,g
2070: s,\$,$$,g
2071: p
2072: _ACEOF
2073: # We use echo to avoid assuming a particular line-breaking character.
2074: # The extra dot is to prevent the shell from consuming trailing
2075: # line-breaks from the sub-command output. A line-break within
2076: # single-quotes doesn't work because, if this script is created in a
2077: # platform that uses two characters for line-breaks (e.g., DOS), tr
2078: # would break.
2079: ac_LF_and_DOT=`echo; echo .`
2080: DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2081: rm -f confdef2opt.sed
2082:
2083:
2084:
2085: : ${CONFIG_STATUS=./config.status}
2086: ac_clean_files_save=$ac_clean_files
2087: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2088: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2089: echo "$as_me: creating $CONFIG_STATUS" >&6;}
2090: cat >$CONFIG_STATUS <<_ACEOF
2091: #! $SHELL
2092: # Generated by $as_me.
2093: # Run this file to recreate the current configuration.
2094: # Compiler output produced by configure, useful for debugging
2095: # configure, is in config.log if it exists.
2096:
2097: debug=false
2098: SHELL=\${CONFIG_SHELL-$SHELL}
2099: _ACEOF
2100:
2101: cat >>$CONFIG_STATUS <<\_ACEOF
2102:
2103: ## --------------------- ##
2104: ## M4sh Initialization. ##
2105: ## --------------------- ##
2106:
2107: # Be Bourne compatible
2108: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2109: emulate sh
2110: NULLCMD=:
2111: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2112: set -o posix
2113: fi
2114:
2115: # NLS nuisances.
2116: # Support unset when possible.
2117: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2118: as_unset=unset
2119: else
2120: as_unset=false
2121: fi
2122:
2123: (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
2124: { $as_unset LANG || test "${LANG+set}" != set; } ||
2125: { LANG=C; export LANG; }
2126: (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
2127: { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
2128: { LC_ALL=C; export LC_ALL; }
2129: (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
2130: { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
2131: { LC_TIME=C; export LC_TIME; }
2132: (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
2133: { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
2134: { LC_CTYPE=C; export LC_CTYPE; }
2135: (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
2136: { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
2137: { LANGUAGE=C; export LANGUAGE; }
2138: (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
2139: { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
2140: { LC_COLLATE=C; export LC_COLLATE; }
2141: (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
2142: { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
2143: { LC_NUMERIC=C; export LC_NUMERIC; }
2144: (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
2145: { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
2146: { LC_MESSAGES=C; export LC_MESSAGES; }
2147:
2148:
2149: # Name of the executable.
2150: as_me=`(basename "$0") 2>/dev/null ||
2151: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2152: X"$0" : 'X\(//\)$' \| \
2153: X"$0" : 'X\(/\)$' \| \
2154: . : '\(.\)' 2>/dev/null ||
2155: echo X/"$0" |
2156: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2157: /^X\/\(\/\/\)$/{ s//\1/; q; }
2158: /^X\/\(\/\).*/{ s//\1/; q; }
2159: s/.*/./; q'`
2160:
2161: # PATH needs CR, and LINENO needs CR and PATH.
2162: # Avoid depending upon Character Ranges.
2163: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2164: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2165: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2166: as_cr_digits='0123456789'
2167: as_cr_alnum=$as_cr_Letters$as_cr_digits
2168:
2169: # The user is always right.
2170: if test "${PATH_SEPARATOR+set}" != set; then
2171: echo "#! /bin/sh" >conftest.sh
2172: echo "exit 0" >>conftest.sh
2173: chmod +x conftest.sh
2174: if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
2175: PATH_SEPARATOR=';'
2176: else
2177: PATH_SEPARATOR=:
2178: fi
2179: rm -f conftest.sh
2180: fi
2181:
2182:
2183: as_lineno_1=$LINENO
2184: as_lineno_2=$LINENO
2185: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2186: test "x$as_lineno_1" != "x$as_lineno_2" &&
2187: test "x$as_lineno_3" = "x$as_lineno_2" || {
2188: # Find who we are. Look in the path if we contain no path at all
2189: # relative or not.
2190: case $0 in
2191: *[\\/]* ) as_myself=$0 ;;
2192: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193: for as_dir in $PATH
2194: do
2195: IFS=$as_save_IFS
2196: test -z "$as_dir" && as_dir=.
2197: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2198: done
2199:
2200: ;;
2201: esac
2202: # We did not find ourselves, most probably we were run as `sh COMMAND'
2203: # in which case we are not to be found in the path.
2204: if test "x$as_myself" = x; then
2205: as_myself=$0
2206: fi
2207: if test ! -f "$as_myself"; then
2208: { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2209: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2210: { (exit 1); exit 1; }; }
2211: fi
2212: case $CONFIG_SHELL in
2213: '')
2214: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2216: do
2217: IFS=$as_save_IFS
2218: test -z "$as_dir" && as_dir=.
2219: for as_base in sh bash ksh sh5; do
2220: case $as_dir in
2221: /*)
2222: if ("$as_dir/$as_base" -c '
2223: as_lineno_1=$LINENO
2224: as_lineno_2=$LINENO
2225: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2226: test "x$as_lineno_1" != "x$as_lineno_2" &&
2227: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2228: CONFIG_SHELL=$as_dir/$as_base
2229: export CONFIG_SHELL
2230: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2231: fi;;
2232: esac
2233: done
2234: done
2235: ;;
2236: esac
2237:
2238: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2239: # uniformly replaced by the line number. The first 'sed' inserts a
2240: # line-number line before each line; the second 'sed' does the real
2241: # work. The second script uses 'N' to pair each line-number line
2242: # with the numbered line, and appends trailing '-' during
2243: # substitution so that $LINENO is not a special case at line end.
2244: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2245: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2246: sed '=' <$as_myself |
2247: sed '
2248: N
2249: s,$,-,
2250: : loop
2251: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2252: t loop
2253: s,-$,,
2254: s,^['$as_cr_digits']*\n,,
2255: ' >$as_me.lineno &&
2256: chmod +x $as_me.lineno ||
2257: { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2258: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2259: { (exit 1); exit 1; }; }
2260:
2261: # Don't try to exec as it changes $[0], causing all sort of problems
2262: # (the dirname of $[0] is not the place where we might find the
2263: # original and so on. Autoconf is especially sensible to this).
2264: . ./$as_me.lineno
2265: # Exit status is that of the last command.
2266: exit
2267: }
2268:
2269:
2270: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2271: *c*,-n*) ECHO_N= ECHO_C='
2272: ' ECHO_T=' ' ;;
2273: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2274: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2275: esac
2276:
2277: if expr a : '\(a\)' >/dev/null 2>&1; then
2278: as_expr=expr
2279: else
2280: as_expr=false
2281: fi
2282:
2283: rm -f conf$$ conf$$.exe conf$$.file
2284: echo >conf$$.file
2285: if ln -s conf$$.file conf$$ 2>/dev/null; then
2286: # We could just check for DJGPP; but this test a) works b) is more generic
2287: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2288: if test -f conf$$.exe; then
2289: # Don't use ln at all; we don't have any links
2290: as_ln_s='cp -p'
2291: else
2292: as_ln_s='ln -s'
2293: fi
2294: elif ln conf$$.file conf$$ 2>/dev/null; then
2295: as_ln_s=ln
2296: else
2297: as_ln_s='cp -p'
2298: fi
2299: rm -f conf$$ conf$$.exe conf$$.file
2300:
2301: as_executable_p="test -f"
2302:
2303: # Sed expression to map a string onto a valid CPP name.
2304: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2305:
2306: # Sed expression to map a string onto a valid variable name.
2307: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2308:
2309:
2310: # IFS
2311: # We need space, tab and new line, in precisely that order.
2312: as_nl='
2313: '
2314: IFS=" $as_nl"
2315:
2316: # CDPATH.
2317: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
2318:
2319: exec 6>&1
2320:
2321: # Open the log real soon, to keep \$[0] and so on meaningful, and to
2322: # report actual input values of CONFIG_FILES etc. instead of their
2323: # values after options handling. Logging --version etc. is OK.
2324: exec 5>>config.log
2325: {
2326: echo
2327: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2328: ## Running $as_me. ##
2329: _ASBOX
2330: } >&5
2331: cat >&5 <<_CSEOF
2332:
2333: This file was extended by $as_me, which was
2334: generated by GNU Autoconf 2.53. Invocation command line was
2335:
2336: CONFIG_FILES = $CONFIG_FILES
2337: CONFIG_HEADERS = $CONFIG_HEADERS
2338: CONFIG_LINKS = $CONFIG_LINKS
2339: CONFIG_COMMANDS = $CONFIG_COMMANDS
2340: $ $0 $@
2341:
2342: _CSEOF
2343: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2344: echo >&5
2345: _ACEOF
2346:
2347: # Files that config.status was made for.
2348: if test -n "$ac_config_files"; then
2349: echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2350: fi
2351:
2352: if test -n "$ac_config_headers"; then
2353: echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2354: fi
2355:
2356: if test -n "$ac_config_links"; then
2357: echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2358: fi
2359:
2360: if test -n "$ac_config_commands"; then
2361: echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2362: fi
2363:
2364: cat >>$CONFIG_STATUS <<\_ACEOF
2365:
2366: ac_cs_usage="\
2367: \`$as_me' instantiates files from templates according to the
2368: current configuration.
2369:
2370: Usage: $0 [OPTIONS] [FILE]...
2371:
2372: -h, --help print this help, then exit
2373: -V, --version print version number, then exit
2374: -d, --debug don't remove temporary files
2375: --recheck update $as_me by reconfiguring in the same conditions
2376: --file=FILE[:TEMPLATE]
2377: instantiate the configuration file FILE
2378:
2379: Configuration files:
2380: $config_files
2381:
2382: Report bugs to <bug-autoconf@gnu.org>."
2383: _ACEOF
2384:
2385: cat >>$CONFIG_STATUS <<_ACEOF
2386: ac_cs_version="\\
2387: config.status
2388: configured by $0, generated by GNU Autoconf 2.53,
2389: with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2390:
2391: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2392: Free Software Foundation, Inc.
2393: This config.status script is free software; the Free Software Foundation
2394: gives unlimited permission to copy, distribute and modify it."
2395: srcdir=$srcdir
2396: _ACEOF
2397:
2398: cat >>$CONFIG_STATUS <<\_ACEOF
2399: # If no file are specified by the user, then we need to provide default
2400: # value. By we need to know if files were specified by the user.
2401: ac_need_defaults=:
2402: while test $# != 0
2403: do
2404: case $1 in
2405: --*=*)
2406: ac_option=`expr "x$1" : 'x\([^=]*\)='`
2407: ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2408: shift
2409: set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2410: shift
2411: ;;
2412: -*);;
2413: *) # This is not an option, so the user has probably given explicit
2414: # arguments.
2415: ac_need_defaults=false;;
2416: esac
2417:
2418: case $1 in
2419: # Handling of the options.
2420: _ACEOF
2421: cat >>$CONFIG_STATUS <<_ACEOF
2422: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2423: echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2424: exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2425: _ACEOF
2426: cat >>$CONFIG_STATUS <<\_ACEOF
2427: --version | --vers* | -V )
2428: echo "$ac_cs_version"; exit 0 ;;
2429: --he | --h)
2430: # Conflict between --help and --header
2431: { { echo "$as_me:$LINENO: error: ambiguous option: $1
2432: Try \`$0 --help' for more information." >&5
2433: echo "$as_me: error: ambiguous option: $1
2434: Try \`$0 --help' for more information." >&2;}
2435: { (exit 1); exit 1; }; };;
2436: --help | --hel | -h )
2437: echo "$ac_cs_usage"; exit 0 ;;
2438: --debug | --d* | -d )
2439: debug=: ;;
2440: --file | --fil | --fi | --f )
2441: shift
2442: CONFIG_FILES="$CONFIG_FILES $1"
2443: ac_need_defaults=false;;
2444: --header | --heade | --head | --hea )
2445: shift
2446: CONFIG_HEADERS="$CONFIG_HEADERS $1"
2447: ac_need_defaults=false;;
2448:
2449: # This is an error.
2450: -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2451: Try \`$0 --help' for more information." >&5
2452: echo "$as_me: error: unrecognized option: $1
2453: Try \`$0 --help' for more information." >&2;}
2454: { (exit 1); exit 1; }; } ;;
2455:
2456: *) ac_config_targets="$ac_config_targets $1" ;;
2457:
2458: esac
2459: shift
2460: done
2461:
2462: _ACEOF
2463:
2464:
2465:
2466:
2467:
2468: cat >>$CONFIG_STATUS <<\_ACEOF
2469: for ac_config_target in $ac_config_targets
2470: do
2471: case "$ac_config_target" in
2472: # Handling of arguments.
2473: "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2474: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2475: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2476: { (exit 1); exit 1; }; };;
2477: esac
2478: done
2479:
2480: # If the user did not use the arguments to specify the items to instantiate,
2481: # then the envvar interface is used. Set only those that are not.
2482: # We use the long form for the default assignment because of an extremely
2483: # bizarre bug on SunOS 4.1.3.
2484: if $ac_need_defaults; then
2485: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2486: fi
2487:
2488: # Create a temporary directory, and hook for its removal unless debugging.
2489: $debug ||
2490: {
2491: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2492: trap '{ (exit 1); exit 1; }' 1 2 13 15
2493: }
2494:
2495: # Create a (secure) tmp directory for tmp files.
2496: : ${TMPDIR=/tmp}
2497: {
2498: tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2499: test -n "$tmp" && test -d "$tmp"
2500: } ||
2501: {
2502: tmp=$TMPDIR/cs$$-$RANDOM
2503: (umask 077 && mkdir $tmp)
2504: } ||
2505: {
2506: echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2507: { (exit 1); exit 1; }
2508: }
2509:
2510: _ACEOF
2511:
2512: cat >>$CONFIG_STATUS <<_ACEOF
2513:
2514: #
2515: # CONFIG_FILES section.
2516: #
2517:
2518: # No need to generate the scripts if there are no CONFIG_FILES.
2519: # This happens for instance when ./config.status config.h
2520: if test -n "\$CONFIG_FILES"; then
2521: # Protect against being on the right side of a sed subst in config.status.
2522: sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2523: s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2524: s,@SHELL@,$SHELL,;t t
2525: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2526: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2527: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2528: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2529: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2530: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2531: s,@exec_prefix@,$exec_prefix,;t t
2532: s,@prefix@,$prefix,;t t
2533: s,@program_transform_name@,$program_transform_name,;t t
2534: s,@bindir@,$bindir,;t t
2535: s,@sbindir@,$sbindir,;t t
2536: s,@libexecdir@,$libexecdir,;t t
2537: s,@datadir@,$datadir,;t t
2538: s,@sysconfdir@,$sysconfdir,;t t
2539: s,@sharedstatedir@,$sharedstatedir,;t t
2540: s,@localstatedir@,$localstatedir,;t t
2541: s,@libdir@,$libdir,;t t
2542: s,@includedir@,$includedir,;t t
2543: s,@oldincludedir@,$oldincludedir,;t t
2544: s,@infodir@,$infodir,;t t
2545: s,@mandir@,$mandir,;t t
2546: s,@build_alias@,$build_alias,;t t
2547: s,@host_alias@,$host_alias,;t t
2548: s,@target_alias@,$target_alias,;t t
2549: s,@DEFS@,$DEFS,;t t
2550: s,@ECHO_C@,$ECHO_C,;t t
2551: s,@ECHO_N@,$ECHO_N,;t t
2552: s,@ECHO_T@,$ECHO_T,;t t
2553: s,@LIBS@,$LIBS,;t t
2554: s,@CC@,$CC,;t t
2555: s,@CFLAGS@,$CFLAGS,;t t
2556: s,@LDFLAGS@,$LDFLAGS,;t t
2557: s,@CPPFLAGS@,$CPPFLAGS,;t t
2558: s,@ac_ct_CC@,$ac_ct_CC,;t t
2559: s,@EXEEXT@,$EXEEXT,;t t
2560: s,@OBJEXT@,$OBJEXT,;t t
2561: s,@RANLIB@,$RANLIB,;t t
2562: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
2563: CEOF
2564:
2565: _ACEOF
2566:
2567: cat >>$CONFIG_STATUS <<\_ACEOF
2568: # Split the substitutions into bite-sized pieces for seds with
2569: # small command number limits, like on Digital OSF/1 and HP-UX.
2570: ac_max_sed_lines=48
2571: ac_sed_frag=1 # Number of current file.
2572: ac_beg=1 # First line for current file.
2573: ac_end=$ac_max_sed_lines # Line after last line for current file.
2574: ac_more_lines=:
2575: ac_sed_cmds=
2576: while $ac_more_lines; do
2577: if test $ac_beg -gt 1; then
2578: sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2579: else
2580: sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2581: fi
2582: if test ! -s $tmp/subs.frag; then
2583: ac_more_lines=false
2584: else
2585: # The purpose of the label and of the branching condition is to
2586: # speed up the sed processing (if there are no `@' at all, there
2587: # is no need to browse any of the substitutions).
2588: # These are the two extra sed commands mentioned above.
2589: (echo ':t
2590: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2591: if test -z "$ac_sed_cmds"; then
2592: ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2593: else
2594: ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2595: fi
2596: ac_sed_frag=`expr $ac_sed_frag + 1`
2597: ac_beg=$ac_end
2598: ac_end=`expr $ac_end + $ac_max_sed_lines`
2599: fi
2600: done
2601: if test -z "$ac_sed_cmds"; then
2602: ac_sed_cmds=cat
2603: fi
2604: fi # test -n "$CONFIG_FILES"
2605:
2606: _ACEOF
2607: cat >>$CONFIG_STATUS <<\_ACEOF
2608: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2609: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2610: case $ac_file in
2611: - | *:- | *:-:* ) # input from stdin
2612: cat >$tmp/stdin
2613: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2614: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2615: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2616: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2617: * ) ac_file_in=$ac_file.in ;;
2618: esac
2619:
2620: # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2621: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2622: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2623: X"$ac_file" : 'X\(//\)[^/]' \| \
2624: X"$ac_file" : 'X\(//\)$' \| \
2625: X"$ac_file" : 'X\(/\)' \| \
2626: . : '\(.\)' 2>/dev/null ||
2627: echo X"$ac_file" |
2628: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2629: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2630: /^X\(\/\/\)$/{ s//\1/; q; }
2631: /^X\(\/\).*/{ s//\1/; q; }
2632: s/.*/./; q'`
2633: { case "$ac_dir" in
2634: [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2635: *) as_incr_dir=.;;
2636: esac
2637: as_dummy="$ac_dir"
2638: for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2639: case $as_mkdir_dir in
2640: # Skip DOS drivespec
2641: ?:) as_incr_dir=$as_mkdir_dir ;;
2642: *)
2643: as_incr_dir=$as_incr_dir/$as_mkdir_dir
2644: test -d "$as_incr_dir" ||
2645: mkdir "$as_incr_dir" ||
2646: { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
2647: echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
2648: { (exit 1); exit 1; }; }
2649: ;;
2650: esac
2651: done; }
2652:
2653: ac_builddir=.
2654:
2655: if test "$ac_dir" != .; then
2656: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2657: # A "../" for each directory in $ac_dir_suffix.
2658: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2659: else
2660: ac_dir_suffix= ac_top_builddir=
2661: fi
2662:
2663: case $srcdir in
2664: .) # No --srcdir option. We are building in place.
2665: ac_srcdir=.
2666: if test -z "$ac_top_builddir"; then
2667: ac_top_srcdir=.
2668: else
2669: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2670: fi ;;
2671: [\\/]* | ?:[\\/]* ) # Absolute path.
2672: ac_srcdir=$srcdir$ac_dir_suffix;
2673: ac_top_srcdir=$srcdir ;;
2674: *) # Relative path.
2675: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2676: ac_top_srcdir=$ac_top_builddir$srcdir ;;
2677: esac
2678: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2679: # absolute.
2680: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2681: ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
2682: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2683: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2684:
2685:
2686:
2687: if test x"$ac_file" != x-; then
2688: { echo "$as_me:$LINENO: creating $ac_file" >&5
2689: echo "$as_me: creating $ac_file" >&6;}
2690: rm -f "$ac_file"
2691: fi
2692: # Let's still pretend it is `configure' which instantiates (i.e., don't
2693: # use $as_me), people would be surprised to read:
2694: # /* config.h. Generated by config.status. */
2695: if test x"$ac_file" = x-; then
2696: configure_input=
2697: else
2698: configure_input="$ac_file. "
2699: fi
2700: configure_input=$configure_input"Generated from `echo $ac_file_in |
2701: sed 's,.*/,,'` by configure."
2702:
2703: # First look for the input files in the build tree, otherwise in the
2704: # src tree.
2705: ac_file_inputs=`IFS=:
2706: for f in $ac_file_in; do
2707: case $f in
2708: -) echo $tmp/stdin ;;
2709: [\\/$]*)
2710: # Absolute (can't be DOS-style, as IFS=:)
2711: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2712: echo "$as_me: error: cannot find input file: $f" >&2;}
2713: { (exit 1); exit 1; }; }
2714: echo $f;;
2715: *) # Relative
2716: if test -f "$f"; then
2717: # Build tree
2718: echo $f
2719: elif test -f "$srcdir/$f"; then
2720: # Source tree
2721: echo $srcdir/$f
2722: else
2723: # /dev/null tree
2724: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2725: echo "$as_me: error: cannot find input file: $f" >&2;}
2726: { (exit 1); exit 1; }; }
2727: fi;;
2728: esac
2729: done` || { (exit 1); exit 1; }
2730: _ACEOF
2731: cat >>$CONFIG_STATUS <<_ACEOF
2732: sed "$ac_vpsub
2733: $extrasub
2734: _ACEOF
2735: cat >>$CONFIG_STATUS <<\_ACEOF
2736: :t
2737: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2738: s,@configure_input@,$configure_input,;t t
2739: s,@srcdir@,$ac_srcdir,;t t
2740: s,@abs_srcdir@,$ac_abs_srcdir,;t t
2741: s,@top_srcdir@,$ac_top_srcdir,;t t
2742: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2743: s,@builddir@,$ac_builddir,;t t
2744: s,@abs_builddir@,$ac_abs_builddir,;t t
2745: s,@top_builddir@,$ac_top_builddir,;t t
2746: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2747: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2748: rm -f $tmp/stdin
2749: if test x"$ac_file" != x-; then
2750: mv $tmp/out $ac_file
2751: else
2752: cat $tmp/out
2753: rm -f $tmp/out
2754: fi
2755:
2756: done
2757: _ACEOF
2758:
2759: cat >>$CONFIG_STATUS <<\_ACEOF
2760:
2761: { (exit 0); exit 0; }
2762: _ACEOF
2763: chmod +x $CONFIG_STATUS
2764: ac_clean_files=$ac_clean_files_save
2765:
2766:
2767: # configure is writing to config.log, and then calls config.status.
2768: # config.status does its own redirection, appending to config.log.
2769: # Unfortunately, on DOS this fails, as config.log is still kept open
2770: # by configure, so config.status won't be able to write to it; its
2771: # output is simply discarded. So we exec the FD to /dev/null,
2772: # effectively closing config.log, so it can be properly (re)opened and
2773: # appended to by config.status. When coming back to configure, we
2774: # need to make the FD available again.
2775: if test "$no_create" != yes; then
2776: ac_cs_success=:
2777: exec 5>/dev/null
2778: $SHELL $CONFIG_STATUS || ac_cs_success=false
2779: exec 5>>config.log
2780: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2781: # would make configure fail if this is the last instruction.
2782: $ac_cs_success || { (exit 1); exit 1; }
2783: fi
2784:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>