Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for hdup 2.0.14.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
13
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23 fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45 do
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
50 fi
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
64 fi
65
66
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
79
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
97 fi
98 rm -f conf$$.sh
99 fi
100
101
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
113 do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
118
119 ;;
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
125 fi
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
129 fi
130 case $CONFIG_SHELL in
131 '')
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
139 /*)
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
155 ;;
156 esac
157
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
168 N
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
179
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
186 }
187
188
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
200 fi
201
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
212 fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='hdup'
271 PACKAGE_TARNAME='hdup2'
272 PACKAGE_VERSION='2.0.14'
273 PACKAGE_STRING='hdup 2.0.14'
274 PACKAGE_BUGREPORT='[email protected]'
275
276 ac_unique_file="src/prototype.h"
277 ac_default_prefix=/usr
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP SET_MAKE tar mcrypt gpg ssh bzip gzip lzop split cat PKG_CONFIG GLIB_CFLAGS GLIB_LIBS GLIB_GENMARSHAL GOBJECT_QUERY GLIB_MKENUMS LIBOBJS LTLIBOBJS'
316 ac_subst_files=''
317
318 # Initialize some variables set by options.
319 ac_init_help=
320 ac_init_version=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
323 cache_file=/dev/null
324 exec_prefix=NONE
325 no_create=
326 no_recursion=
327 prefix=NONE
328 program_prefix=NONE
329 program_suffix=NONE
330 program_transform_name=s,x,x,
331 silent=
332 site=
333 srcdir=
334 verbose=
335 x_includes=NONE
336 x_libraries=NONE
337
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir='${exec_prefix}/bin'
344 sbindir='${exec_prefix}/sbin'
345 libexecdir='${exec_prefix}/libexec'
346 datadir='${prefix}/share'
347 sysconfdir='${prefix}/etc'
348 sharedstatedir='${prefix}/com'
349 localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
351 includedir='${prefix}/include'
352 oldincludedir='/usr/include'
353 infodir='${prefix}/info'
354 mandir='${prefix}/man'
355
356 ac_prev=
357 for ac_option
358 do
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
362 ac_prev=
363 continue
364 fi
365
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368 # Accept the important Cygnus configure options, so we can diagnose typos.
369
370 case $ac_option in
371
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;;
376
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
381
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
388
389 --config-cache | -C)
390 cache_file=config.cache ;;
391
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 ac_prev=datadir ;;
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 | --da=*)
396 datadir=$ac_optarg ;;
397
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
406
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 case $ac_option in
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "enable_$ac_feature='$ac_optarg'" ;;
419
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
428
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
431 with_gas=yes ;;
432
433 -help | --help | --hel | --he | -h)
434 ac_init_help=long ;;
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
439
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
444
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
451
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 ac_prev=infodir ;;
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
456
457 -libdir | --libdir | --libdi | --libd)
458 ac_prev=libdir ;;
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir=$ac_optarg ;;
461
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
468
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
477
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir=$ac_optarg ;;
482
483 -nfp | --nfp | --nf)
484 # Obsolete; use --without-fp.
485 with_fp=no ;;
486
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
489 no_create=yes ;;
490
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 no_recursion=yes ;;
494
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
503
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 ac_prev=prefix ;;
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix=$ac_optarg ;;
508
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
515
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
522
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
539
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;;
543
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 ac_prev=sbindir ;;
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 | --sbi=* | --sb=*)
548 sbindir=$ac_optarg ;;
549
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
553 | --sha | --sh)
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 | --sha=* | --sh=*)
559 sharedstatedir=$ac_optarg ;;
560
561 -site | --site | --sit)
562 ac_prev=site ;;
563 -site=* | --site=* | --sit=*)
564 site=$ac_optarg ;;
565
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 ac_prev=srcdir ;;
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir=$ac_optarg ;;
570
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
577
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
582
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 verbose=yes ;;
585
586 -version | --version | --versio | --versi | --vers | -V)
587 ac_init_version=: ;;
588
589 -with-* | --with-*)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 case $ac_option in
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 *) ac_optarg=yes ;;
599 esac
600 eval "with_$ac_package='$ac_optarg'" ;;
601
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
610
611 --x)
612 # Obsolete; use --with-x.
613 with_x=yes ;;
614
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
621
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
628
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
632 ;;
633
634 *=*)
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
642 export $ac_envvar ;;
643
644 *)
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650 ;;
651
652 esac
653 done
654
655 if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
659 fi
660
661 # Be sure to have absolute paths.
662 for ac_var in exec_prefix prefix
663 do
664 eval ac_val=$`echo $ac_var`
665 case $ac_val in
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
669 esac
670 done
671
672 # Be sure to have absolute paths.
673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
675 do
676 eval ac_val=$`echo $ac_var`
677 case $ac_val in
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
681 esac
682 done
683
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
687 build=$build_alias
688 host=$host_alias
689 target=$target_alias
690
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
698 cross_compiling=yes
699 fi
700 fi
701
702 ac_tool_prefix=
703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705 test "$silent" = yes && exec 6>/dev/null
706
707
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
718 echo X"$0" |
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
723 s/.*/./; q'`
724 srcdir=$ac_confdir
725 if test ! -r $srcdir/$ac_unique_file; then
726 srcdir=..
727 fi
728 else
729 ac_srcdir_defaulted=no
730 fi
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
735 else
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
738 fi
739 fi
740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set=${build_alias+set}
745 ac_env_build_alias_value=$build_alias
746 ac_cv_env_build_alias_set=${build_alias+set}
747 ac_cv_env_build_alias_value=$build_alias
748 ac_env_host_alias_set=${host_alias+set}
749 ac_env_host_alias_value=$host_alias
750 ac_cv_env_host_alias_set=${host_alias+set}
751 ac_cv_env_host_alias_value=$host_alias
752 ac_env_target_alias_set=${target_alias+set}
753 ac_env_target_alias_value=$target_alias
754 ac_cv_env_target_alias_set=${target_alias+set}
755 ac_cv_env_target_alias_value=$target_alias
756 ac_env_CC_set=${CC+set}
757 ac_env_CC_value=$CC
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764 ac_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_env_LDFLAGS_value=$LDFLAGS
766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value=$LDFLAGS
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776
777 #
778 # Report the --help message.
779 #
780 if test "$ac_init_help" = "long"; then
781 # Omit some internal or obsolete options to make the list less imposing.
782 # This message is too long to be a string in the A/UX 3.1 sh.
783 cat <<_ACEOF
784 \`configure' configures hdup 2.0.14 to adapt to many kinds of systems.
785
786 Usage: $0 [OPTION]... [VAR=VALUE]...
787
788 To assign environment variables (e.g., CC, CFLAGS...), specify them as
789 VAR=VALUE. See below for descriptions of some of the useful variables.
790
791 Defaults for the options are specified in brackets.
792
793 Configuration:
794 -h, --help display this help and exit
795 --help=short display options specific to this package
796 --help=recursive display the short help of all the included packages
797 -V, --version display version information and exit
798 -q, --quiet, --silent do not print \`checking...' messages
799 --cache-file=FILE cache test results in FILE [disabled]
800 -C, --config-cache alias for \`--cache-file=config.cache'
801 -n, --no-create do not create output files
802 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803
804 _ACEOF
805
806 cat <<_ACEOF
807 Installation directories:
808 --prefix=PREFIX install architecture-independent files in PREFIX
809 [$ac_default_prefix]
810 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 [PREFIX]
812
813 By default, \`make install' will install all the files in
814 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
815 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
816 for instance \`--prefix=\$HOME'.
817
818 For better control, use the options below.
819
820 Fine tuning of the installation directories:
821 --bindir=DIR user executables [EPREFIX/bin]
822 --sbindir=DIR system admin executables [EPREFIX/sbin]
823 --libexecdir=DIR program executables [EPREFIX/libexec]
824 --datadir=DIR read-only architecture-independent data [PREFIX/share]
825 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
826 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
827 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
828 --libdir=DIR object code libraries [EPREFIX/lib]
829 --includedir=DIR C header files [PREFIX/include]
830 --oldincludedir=DIR C header files for non-gcc [/usr/include]
831 --infodir=DIR info documentation [PREFIX/info]
832 --mandir=DIR man documentation [PREFIX/man]
833 _ACEOF
834
835 cat <<\_ACEOF
836 _ACEOF
837 fi
838
839 if test -n "$ac_init_help"; then
840 case $ac_init_help in
841 short | recursive ) echo "Configuration of hdup 2.0.14:";;
842 esac
843 cat <<\_ACEOF
844
845 Optional Features:
846 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
847 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
848 --disable-glibtest do not try to compile and run a test GLIB program
849
850 Some influential environment variables:
851 CC C compiler command
852 CFLAGS C compiler flags
853 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
854 nonstandard directory <lib dir>
855 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
856 headers in a nonstandard directory <include dir>
857 CPP C preprocessor
858
859 Use these variables to override the choices made by `configure' or to help
860 it to find libraries and programs with nonstandard names/locations.
861
862 Report bugs to <[email protected]>.
863 _ACEOF
864 fi
865
866 if test "$ac_init_help" = "recursive"; then
867 # If there are subdirs, report their specific --help.
868 ac_popdir=`pwd`
869 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
870 test -d $ac_dir || continue
871 ac_builddir=.
872
873 if test "$ac_dir" != .; then
874 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
875 # A "../" for each directory in $ac_dir_suffix.
876 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
877 else
878 ac_dir_suffix= ac_top_builddir=
879 fi
880
881 case $srcdir in
882 .) # No --srcdir option. We are building in place.
883 ac_srcdir=.
884 if test -z "$ac_top_builddir"; then
885 ac_top_srcdir=.
886 else
887 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
888 fi ;;
889 [\\/]* | ?:[\\/]* ) # Absolute path.
890 ac_srcdir=$srcdir$ac_dir_suffix;
891 ac_top_srcdir=$srcdir ;;
892 *) # Relative path.
893 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
894 ac_top_srcdir=$ac_top_builddir$srcdir ;;
895 esac
896
897 # Do not use `cd foo && pwd` to compute absolute paths, because
898 # the directories may not exist.
899 case `pwd` in
900 .) ac_abs_builddir="$ac_dir";;
901 *)
902 case "$ac_dir" in
903 .) ac_abs_builddir=`pwd`;;
904 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
905 *) ac_abs_builddir=`pwd`/"$ac_dir";;
906 esac;;
907 esac
908 case $ac_abs_builddir in
909 .) ac_abs_top_builddir=${ac_top_builddir}.;;
910 *)
911 case ${ac_top_builddir}. in
912 .) ac_abs_top_builddir=$ac_abs_builddir;;
913 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
914 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
915 esac;;
916 esac
917 case $ac_abs_builddir in
918 .) ac_abs_srcdir=$ac_srcdir;;
919 *)
920 case $ac_srcdir in
921 .) ac_abs_srcdir=$ac_abs_builddir;;
922 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
923 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
924 esac;;
925 esac
926 case $ac_abs_builddir in
927 .) ac_abs_top_srcdir=$ac_top_srcdir;;
928 *)
929 case $ac_top_srcdir in
930 .) ac_abs_top_srcdir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
932 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
933 esac;;
934 esac
935
936 cd $ac_dir
937 # Check for guested configure; otherwise get Cygnus style configure.
938 if test -f $ac_srcdir/configure.gnu; then
939 echo
940 $SHELL $ac_srcdir/configure.gnu --help=recursive
941 elif test -f $ac_srcdir/configure; then
942 echo
943 $SHELL $ac_srcdir/configure --help=recursive
944 elif test -f $ac_srcdir/configure.ac ||
945 test -f $ac_srcdir/configure.in; then
946 echo
947 $ac_configure --help
948 else
949 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
950 fi
951 cd "$ac_popdir"
952 done
953 fi
954
955 test -n "$ac_init_help" && exit 0
956 if $ac_init_version; then
957 cat <<\_ACEOF
958 hdup configure 2.0.14
959 generated by GNU Autoconf 2.59
960
961 Copyright (C) 2003 Free Software Foundation, Inc.
962 This configure script is free software; the Free Software Foundation
963 gives unlimited permission to copy, distribute and modify it.
964 _ACEOF
965 exit 0
966 fi
967 exec 5>config.log
968 cat >&5 <<_ACEOF
969 This file contains any messages produced by compilers while
970 running configure, to aid debugging if configure makes a mistake.
971
972 It was created by hdup $as_me 2.0.14, which was
973 generated by GNU Autoconf 2.59. Invocation command line was
974
975 $ $0 $@
976
977 _ACEOF
978 {
979 cat <<_ASUNAME
980 ## --------- ##
981 ## Platform. ##
982 ## --------- ##
983
984 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
985 uname -m = `(uname -m) 2>/dev/null || echo unknown`
986 uname -r = `(uname -r) 2>/dev/null || echo unknown`
987 uname -s = `(uname -s) 2>/dev/null || echo unknown`
988 uname -v = `(uname -v) 2>/dev/null || echo unknown`
989
990 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
991 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
992
993 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
994 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
995 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
996 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
997 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
998 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
999 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1000
1001 _ASUNAME
1002
1003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1004 for as_dir in $PATH
1005 do
1006 IFS=$as_save_IFS
1007 test -z "$as_dir" && as_dir=.
1008 echo "PATH: $as_dir"
1009 done
1010
1011 } >&5
1012
1013 cat >&5 <<_ACEOF
1014
1015
1016 ## ----------- ##
1017 ## Core tests. ##
1018 ## ----------- ##
1019
1020 _ACEOF
1021
1022
1023 # Keep a trace of the command line.
1024 # Strip out --no-create and --no-recursion so they do not pile up.
1025 # Strip out --silent because we don't want to record it for future runs.
1026 # Also quote any args containing shell meta-characters.
1027 # Make two passes to allow for proper duplicate-argument suppression.
1028 ac_configure_args=
1029 ac_configure_args0=
1030 ac_configure_args1=
1031 ac_sep=
1032 ac_must_keep_next=false
1033 for ac_pass in 1 2
1034 do
1035 for ac_arg
1036 do
1037 case $ac_arg in
1038 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1039 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1040 | -silent | --silent | --silen | --sile | --sil)
1041 continue ;;
1042 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1043 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1044 esac
1045 case $ac_pass in
1046 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1047 2)
1048 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1049 if test $ac_must_keep_next = true; then
1050 ac_must_keep_next=false # Got value, back to normal.
1051 else
1052 case $ac_arg in
1053 *=* | --config-cache | -C | -disable-* | --disable-* \
1054 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1055 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1056 | -with-* | --with-* | -without-* | --without-* | --x)
1057 case "$ac_configure_args0 " in
1058 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1059 esac
1060 ;;
1061 -* ) ac_must_keep_next=true ;;
1062 esac
1063 fi
1064 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1065 # Get rid of the leading space.
1066 ac_sep=" "
1067 ;;
1068 esac
1069 done
1070 done
1071 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1072 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1073
1074 # When interrupted or exit'd, cleanup temporary files, and complete
1075 # config.log. We remove comments because anyway the quotes in there
1076 # would cause problems or look ugly.
1077 # WARNING: Be sure not to use single quotes in there, as some shells,
1078 # such as our DU 5.0 friend, will then `close' the trap.
1079 trap 'exit_status=$?
1080 # Save into config.log some information that might help in debugging.
1081 {
1082 echo
1083
1084 cat <<\_ASBOX
1085 ## ---------------- ##
1086 ## Cache variables. ##
1087 ## ---------------- ##
1088 _ASBOX
1089 echo
1090 # The following way of writing the cache mishandles newlines in values,
1091 {
1092 (set) 2>&1 |
1093 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1094 *ac_space=\ *)
1095 sed -n \
1096 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1097 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1098 ;;
1099 *)
1100 sed -n \
1101 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1102 ;;
1103 esac;
1104 }
1105 echo
1106
1107 cat <<\_ASBOX
1108 ## ----------------- ##
1109 ## Output variables. ##
1110 ## ----------------- ##
1111 _ASBOX
1112 echo
1113 for ac_var in $ac_subst_vars
1114 do
1115 eval ac_val=$`echo $ac_var`
1116 echo "$ac_var='"'"'$ac_val'"'"'"
1117 done | sort
1118 echo
1119
1120 if test -n "$ac_subst_files"; then
1121 cat <<\_ASBOX
1122 ## ------------- ##
1123 ## Output files. ##
1124 ## ------------- ##
1125 _ASBOX
1126 echo
1127 for ac_var in $ac_subst_files
1128 do
1129 eval ac_val=$`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1131 done | sort
1132 echo
1133 fi
1134
1135 if test -s confdefs.h; then
1136 cat <<\_ASBOX
1137 ## ----------- ##
1138 ## confdefs.h. ##
1139 ## ----------- ##
1140 _ASBOX
1141 echo
1142 sed "/^$/d" confdefs.h | sort
1143 echo
1144 fi
1145 test "$ac_signal" != 0 &&
1146 echo "$as_me: caught signal $ac_signal"
1147 echo "$as_me: exit $exit_status"
1148 } >&5
1149 rm -f core *.core &&
1150 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1151 exit $exit_status
1152 ' 0
1153 for ac_signal in 1 2 13 15; do
1154 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1155 done
1156 ac_signal=0
1157
1158 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1159 rm -rf conftest* confdefs.h
1160 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1161 echo >confdefs.h
1162
1163 # Predefined preprocessor variables.
1164
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_NAME "$PACKAGE_NAME"
1167 _ACEOF
1168
1169
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1172 _ACEOF
1173
1174
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1177 _ACEOF
1178
1179
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_STRING "$PACKAGE_STRING"
1182 _ACEOF
1183
1184
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1187 _ACEOF
1188
1189
1190 # Let the site file select an alternate cache file if it wants to.
1191 # Prefer explicitly selected file to automatically selected ones.
1192 if test -z "$CONFIG_SITE"; then
1193 if test "x$prefix" != xNONE; then
1194 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1195 else
1196 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1197 fi
1198 fi
1199 for ac_site_file in $CONFIG_SITE; do
1200 if test -r "$ac_site_file"; then
1201 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1202 echo "$as_me: loading site script $ac_site_file" >&6;}
1203 sed 's/^/| /' "$ac_site_file" >&5
1204 . "$ac_site_file"
1205 fi
1206 done
1207
1208 if test -r "$cache_file"; then
1209 # Some versions of bash will fail to source /dev/null (special
1210 # files actually), so we avoid doing that.
1211 if test -f "$cache_file"; then
1212 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1213 echo "$as_me: loading cache $cache_file" >&6;}
1214 case $cache_file in
1215 [\\/]* | ?:[\\/]* ) . $cache_file;;
1216 *) . ./$cache_file;;
1217 esac
1218 fi
1219 else
1220 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1221 echo "$as_me: creating cache $cache_file" >&6;}
1222 >$cache_file
1223 fi
1224
1225 # Check that the precious variables saved in the cache have kept the same
1226 # value.
1227 ac_cache_corrupted=false
1228 for ac_var in `(set) 2>&1 |
1229 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1230 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1231 eval ac_new_set=\$ac_env_${ac_var}_set
1232 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1233 eval ac_new_val="\$ac_env_${ac_var}_value"
1234 case $ac_old_set,$ac_new_set in
1235 set,)
1236 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1237 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1238 ac_cache_corrupted=: ;;
1239 ,set)
1240 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1241 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1242 ac_cache_corrupted=: ;;
1243 ,);;
1244 *)
1245 if test "x$ac_old_val" != "x$ac_new_val"; then
1246 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1247 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1248 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1249 echo "$as_me: former value: $ac_old_val" >&2;}
1250 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1251 echo "$as_me: current value: $ac_new_val" >&2;}
1252 ac_cache_corrupted=:
1253 fi;;
1254 esac
1255 # Pass precious variables to config.status.
1256 if test "$ac_new_set" = set; then
1257 case $ac_new_val in
1258 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1259 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1260 *) ac_arg=$ac_var=$ac_new_val ;;
1261 esac
1262 case " $ac_configure_args " in
1263 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1264 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1265 esac
1266 fi
1267 done
1268 if $ac_cache_corrupted; then
1269 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1270 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1271 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1272 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1273 { (exit 1); exit 1; }; }
1274 fi
1275
1276 ac_ext=c
1277 ac_cpp='$CPP $CPPFLAGS'
1278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311 # Configure paths for GLIB
1312 # Owen Taylor 1997-2001
1313
1314
1315
1316
1317 ac_ext=c
1318 ac_cpp='$CPP $CPPFLAGS'
1319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1322 if test -n "$ac_tool_prefix"; then
1323 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1324 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1325 echo "$as_me:$LINENO: checking for $ac_word" >&5
1326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1327 if test "${ac_cv_prog_CC+set}" = set; then
1328 echo $ECHO_N "(cached) $ECHO_C" >&6
1329 else
1330 if test -n "$CC"; then
1331 ac_cv_prog_CC="$CC" # Let the user override the test.
1332 else
1333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1334 for as_dir in $PATH
1335 do
1336 IFS=$as_save_IFS
1337 test -z "$as_dir" && as_dir=.
1338 for ac_exec_ext in '' $ac_executable_extensions; do
1339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1340 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1342 break 2
1343 fi
1344 done
1345 done
1346
1347 fi
1348 fi
1349 CC=$ac_cv_prog_CC
1350 if test -n "$CC"; then
1351 echo "$as_me:$LINENO: result: $CC" >&5
1352 echo "${ECHO_T}$CC" >&6
1353 else
1354 echo "$as_me:$LINENO: result: no" >&5
1355 echo "${ECHO_T}no" >&6
1356 fi
1357
1358 fi
1359 if test -z "$ac_cv_prog_CC"; then
1360 ac_ct_CC=$CC
1361 # Extract the first word of "gcc", so it can be a program name with args.
1362 set dummy gcc; ac_word=$2
1363 echo "$as_me:$LINENO: checking for $ac_word" >&5
1364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1365 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1366 echo $ECHO_N "(cached) $ECHO_C" >&6
1367 else
1368 if test -n "$ac_ct_CC"; then
1369 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1370 else
1371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1372 for as_dir in $PATH
1373 do
1374 IFS=$as_save_IFS
1375 test -z "$as_dir" && as_dir=.
1376 for ac_exec_ext in '' $ac_executable_extensions; do
1377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1378 ac_cv_prog_ac_ct_CC="gcc"
1379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1380 break 2
1381 fi
1382 done
1383 done
1384
1385 fi
1386 fi
1387 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1388 if test -n "$ac_ct_CC"; then
1389 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1390 echo "${ECHO_T}$ac_ct_CC" >&6
1391 else
1392 echo "$as_me:$LINENO: result: no" >&5
1393 echo "${ECHO_T}no" >&6
1394 fi
1395
1396 CC=$ac_ct_CC
1397 else
1398 CC="$ac_cv_prog_CC"
1399 fi
1400
1401 if test -z "$CC"; then
1402 if test -n "$ac_tool_prefix"; then
1403 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1404 set dummy ${ac_tool_prefix}cc; ac_word=$2
1405 echo "$as_me:$LINENO: checking for $ac_word" >&5
1406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1407 if test "${ac_cv_prog_CC+set}" = set; then
1408 echo $ECHO_N "(cached) $ECHO_C" >&6
1409 else
1410 if test -n "$CC"; then
1411 ac_cv_prog_CC="$CC" # Let the user override the test.
1412 else
1413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1414 for as_dir in $PATH
1415 do
1416 IFS=$as_save_IFS
1417 test -z "$as_dir" && as_dir=.
1418 for ac_exec_ext in '' $ac_executable_extensions; do
1419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1420 ac_cv_prog_CC="${ac_tool_prefix}cc"
1421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1422 break 2
1423 fi
1424 done
1425 done
1426
1427 fi
1428 fi
1429 CC=$ac_cv_prog_CC
1430 if test -n "$CC"; then
1431 echo "$as_me:$LINENO: result: $CC" >&5
1432 echo "${ECHO_T}$CC" >&6
1433 else
1434 echo "$as_me:$LINENO: result: no" >&5
1435 echo "${ECHO_T}no" >&6
1436 fi
1437
1438 fi
1439 if test -z "$ac_cv_prog_CC"; then
1440 ac_ct_CC=$CC
1441 # Extract the first word of "cc", so it can be a program name with args.
1442 set dummy cc; ac_word=$2
1443 echo "$as_me:$LINENO: checking for $ac_word" >&5
1444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1445 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1446 echo $ECHO_N "(cached) $ECHO_C" >&6
1447 else
1448 if test -n "$ac_ct_CC"; then
1449 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1450 else
1451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1452 for as_dir in $PATH
1453 do
1454 IFS=$as_save_IFS
1455 test -z "$as_dir" && as_dir=.
1456 for ac_exec_ext in '' $ac_executable_extensions; do
1457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1458 ac_cv_prog_ac_ct_CC="cc"
1459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1460 break 2
1461 fi
1462 done
1463 done
1464
1465 fi
1466 fi
1467 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1468 if test -n "$ac_ct_CC"; then
1469 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1470 echo "${ECHO_T}$ac_ct_CC" >&6
1471 else
1472 echo "$as_me:$LINENO: result: no" >&5
1473 echo "${ECHO_T}no" >&6
1474 fi
1475
1476 CC=$ac_ct_CC
1477 else
1478 CC="$ac_cv_prog_CC"
1479 fi
1480
1481 fi
1482 if test -z "$CC"; then
1483 # Extract the first word of "cc", so it can be a program name with args.
1484 set dummy cc; ac_word=$2
1485 echo "$as_me:$LINENO: checking for $ac_word" >&5
1486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1487 if test "${ac_cv_prog_CC+set}" = set; then
1488 echo $ECHO_N "(cached) $ECHO_C" >&6
1489 else
1490 if test -n "$CC"; then
1491 ac_cv_prog_CC="$CC" # Let the user override the test.
1492 else
1493 ac_prog_rejected=no
1494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1495 for as_dir in $PATH
1496 do
1497 IFS=$as_save_IFS
1498 test -z "$as_dir" && as_dir=.
1499 for ac_exec_ext in '' $ac_executable_extensions; do
1500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1501 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1502 ac_prog_rejected=yes
1503 continue
1504 fi
1505 ac_cv_prog_CC="cc"
1506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1507 break 2
1508 fi
1509 done
1510 done
1511
1512 if test $ac_prog_rejected = yes; then
1513 # We found a bogon in the path, so make sure we never use it.
1514 set dummy $ac_cv_prog_CC
1515 shift
1516 if test $# != 0; then
1517 # We chose a different compiler from the bogus one.
1518 # However, it has the same basename, so the bogon will be chosen
1519 # first if we set CC to just the basename; use the full file name.
1520 shift
1521 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1522 fi
1523 fi
1524 fi
1525 fi
1526 CC=$ac_cv_prog_CC
1527 if test -n "$CC"; then
1528 echo "$as_me:$LINENO: result: $CC" >&5
1529 echo "${ECHO_T}$CC" >&6
1530 else
1531 echo "$as_me:$LINENO: result: no" >&5
1532 echo "${ECHO_T}no" >&6
1533 fi
1534
1535 fi
1536 if test -z "$CC"; then
1537 if test -n "$ac_tool_prefix"; then
1538 for ac_prog in cl
1539 do
1540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1541 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1542 echo "$as_me:$LINENO: checking for $ac_word" >&5
1543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1544 if test "${ac_cv_prog_CC+set}" = set; then
1545 echo $ECHO_N "(cached) $ECHO_C" >&6
1546 else
1547 if test -n "$CC"; then
1548 ac_cv_prog_CC="$CC" # Let the user override the test.
1549 else
1550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1551 for as_dir in $PATH
1552 do
1553 IFS=$as_save_IFS
1554 test -z "$as_dir" && as_dir=.
1555 for ac_exec_ext in '' $ac_executable_extensions; do
1556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1557 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1559 break 2
1560 fi
1561 done
1562 done
1563
1564 fi
1565 fi
1566 CC=$ac_cv_prog_CC
1567 if test -n "$CC"; then
1568 echo "$as_me:$LINENO: result: $CC" >&5
1569 echo "${ECHO_T}$CC" >&6
1570 else
1571 echo "$as_me:$LINENO: result: no" >&5
1572 echo "${ECHO_T}no" >&6
1573 fi
1574
1575 test -n "$CC" && break
1576 done
1577 fi
1578 if test -z "$CC"; then
1579 ac_ct_CC=$CC
1580 for ac_prog in cl
1581 do
1582 # Extract the first word of "$ac_prog", so it can be a program name with args.
1583 set dummy $ac_prog; ac_word=$2
1584 echo "$as_me:$LINENO: checking for $ac_word" >&5
1585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1588 else
1589 if test -n "$ac_ct_CC"; then
1590 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1591 else
1592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1593 for as_dir in $PATH
1594 do
1595 IFS=$as_save_IFS
1596 test -z "$as_dir" && as_dir=.
1597 for ac_exec_ext in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1599 ac_cv_prog_ac_ct_CC="$ac_prog"
1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1601 break 2
1602 fi
1603 done
1604 done
1605
1606 fi
1607 fi
1608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1609 if test -n "$ac_ct_CC"; then
1610 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1611 echo "${ECHO_T}$ac_ct_CC" >&6
1612 else
1613 echo "$as_me:$LINENO: result: no" >&5
1614 echo "${ECHO_T}no" >&6
1615 fi
1616
1617 test -n "$ac_ct_CC" && break
1618 done
1619
1620 CC=$ac_ct_CC
1621 fi
1622
1623 fi
1624
1625
1626 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1627 See \`config.log' for more details." >&5
1628 echo "$as_me: error: no acceptable C compiler found in \$PATH
1629 See \`config.log' for more details." >&2;}
1630 { (exit 1); exit 1; }; }
1631
1632 # Provide some information about the compiler.
1633 echo "$as_me:$LINENO:" \
1634 "checking for C compiler version" >&5
1635 ac_compiler=`set X $ac_compile; echo $2`
1636 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1637 (eval $ac_compiler --version </dev/null >&5) 2>&5
1638 ac_status=$?
1639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1640 (exit $ac_status); }
1641 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1642 (eval $ac_compiler -v </dev/null >&5) 2>&5
1643 ac_status=$?
1644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1645 (exit $ac_status); }
1646 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1647 (eval $ac_compiler -V </dev/null >&5) 2>&5
1648 ac_status=$?
1649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1650 (exit $ac_status); }
1651
1652 cat >conftest.$ac_ext <<_ACEOF
1653 /* confdefs.h. */
1654 _ACEOF
1655 cat confdefs.h >>conftest.$ac_ext
1656 cat >>conftest.$ac_ext <<_ACEOF
1657 /* end confdefs.h. */
1658
1659 int
1660 main ()
1661 {
1662
1663 ;
1664 return 0;
1665 }
1666 _ACEOF
1667 ac_clean_files_save=$ac_clean_files
1668 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1669 # Try to create an executable without -o first, disregard a.out.
1670 # It will help us diagnose broken compilers, and finding out an intuition
1671 # of exeext.
1672 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1673 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1674 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1675 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1676 (eval $ac_link_default) 2>&5
1677 ac_status=$?
1678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1679 (exit $ac_status); }; then
1680 # Find the output, starting from the most likely. This scheme is
1681 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1682 # resort.
1683
1684 # Be careful to initialize this variable, since it used to be cached.
1685 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1686 ac_cv_exeext=
1687 # b.out is created by i960 compilers.
1688 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1689 do
1690 test -f "$ac_file" || continue
1691 case $ac_file in
1692 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1693 ;;
1694 conftest.$ac_ext )
1695 # This is the source file.
1696 ;;
1697 [ab].out )
1698 # We found the default executable, but exeext='' is most
1699 # certainly right.
1700 break;;
1701 *.* )
1702 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1703 # FIXME: I believe we export ac_cv_exeext for Libtool,
1704 # but it would be cool to find out if it's true. Does anybody
1705 # maintain Libtool? --akim.
1706 export ac_cv_exeext
1707 break;;
1708 * )
1709 break;;
1710 esac
1711 done
1712 else
1713 echo "$as_me: failed program was:" >&5
1714 sed 's/^/| /' conftest.$ac_ext >&5
1715
1716 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1717 See \`config.log' for more details." >&5
1718 echo "$as_me: error: C compiler cannot create executables
1719 See \`config.log' for more details." >&2;}
1720 { (exit 77); exit 77; }; }
1721 fi
1722
1723 ac_exeext=$ac_cv_exeext
1724 echo "$as_me:$LINENO: result: $ac_file" >&5
1725 echo "${ECHO_T}$ac_file" >&6
1726
1727 # Check the compiler produces executables we can run. If not, either
1728 # the compiler is broken, or we cross compile.
1729 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1730 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1731 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1732 # If not cross compiling, check that we can run a simple program.
1733 if test "$cross_compiling" != yes; then
1734 if { ac_try='./$ac_file'
1735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1736 (eval $ac_try) 2>&5
1737 ac_status=$?
1738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1739 (exit $ac_status); }; }; then
1740 cross_compiling=no
1741 else
1742 if test "$cross_compiling" = maybe; then
1743 cross_compiling=yes
1744 else
1745 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1746 If you meant to cross compile, use \`--host'.
1747 See \`config.log' for more details." >&5
1748 echo "$as_me: error: cannot run C compiled programs.
1749 If you meant to cross compile, use \`--host'.
1750 See \`config.log' for more details." >&2;}
1751 { (exit 1); exit 1; }; }
1752 fi
1753 fi
1754 fi
1755 echo "$as_me:$LINENO: result: yes" >&5
1756 echo "${ECHO_T}yes" >&6
1757
1758 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1759 ac_clean_files=$ac_clean_files_save
1760 # Check the compiler produces executables we can run. If not, either
1761 # the compiler is broken, or we cross compile.
1762 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1763 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1764 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1765 echo "${ECHO_T}$cross_compiling" >&6
1766
1767 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1768 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1770 (eval $ac_link) 2>&5
1771 ac_status=$?
1772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1773 (exit $ac_status); }; then
1774 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1775 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1776 # work properly (i.e., refer to `conftest.exe'), while it won't with
1777 # `rm'.
1778 for ac_file in conftest.exe conftest conftest.*; do
1779 test -f "$ac_file" || continue
1780 case $ac_file in
1781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1782 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1783 export ac_cv_exeext
1784 break;;
1785 * ) break;;
1786 esac
1787 done
1788 else
1789 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1790 See \`config.log' for more details." >&5
1791 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1792 See \`config.log' for more details." >&2;}
1793 { (exit 1); exit 1; }; }
1794 fi
1795
1796 rm -f conftest$ac_cv_exeext
1797 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1798 echo "${ECHO_T}$ac_cv_exeext" >&6
1799
1800 rm -f conftest.$ac_ext
1801 EXEEXT=$ac_cv_exeext
1802 ac_exeext=$EXEEXT
1803 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1804 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1805 if test "${ac_cv_objext+set}" = set; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 else
1808 cat >conftest.$ac_ext <<_ACEOF
1809 /* confdefs.h. */
1810 _ACEOF
1811 cat confdefs.h >>conftest.$ac_ext
1812 cat >>conftest.$ac_ext <<_ACEOF
1813 /* end confdefs.h. */
1814
1815 int
1816 main ()
1817 {
1818
1819 ;
1820 return 0;
1821 }
1822 _ACEOF
1823 rm -f conftest.o conftest.obj
1824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1825 (eval $ac_compile) 2>&5
1826 ac_status=$?
1827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1828 (exit $ac_status); }; then
1829 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1830 case $ac_file in
1831 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1832 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1833 break;;
1834 esac
1835 done
1836 else
1837 echo "$as_me: failed program was:" >&5
1838 sed 's/^/| /' conftest.$ac_ext >&5
1839
1840 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1841 See \`config.log' for more details." >&5
1842 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1843 See \`config.log' for more details." >&2;}
1844 { (exit 1); exit 1; }; }
1845 fi
1846
1847 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1848 fi
1849 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1850 echo "${ECHO_T}$ac_cv_objext" >&6
1851 OBJEXT=$ac_cv_objext
1852 ac_objext=$OBJEXT
1853 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1854 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1855 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1856 echo $ECHO_N "(cached) $ECHO_C" >&6
1857 else
1858 cat >conftest.$ac_ext <<_ACEOF
1859 /* confdefs.h. */
1860 _ACEOF
1861 cat confdefs.h >>conftest.$ac_ext
1862 cat >>conftest.$ac_ext <<_ACEOF
1863 /* end confdefs.h. */
1864
1865 int
1866 main ()
1867 {
1868 #ifndef __GNUC__
1869 choke me
1870 #endif
1871
1872 ;
1873 return 0;
1874 }
1875 _ACEOF
1876 rm -f conftest.$ac_objext
1877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1878 (eval $ac_compile) 2>conftest.er1
1879 ac_status=$?
1880 grep -v '^ *+' conftest.er1 >conftest.err
1881 rm -f conftest.er1
1882 cat conftest.err >&5
1883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884 (exit $ac_status); } &&
1885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1887 (eval $ac_try) 2>&5
1888 ac_status=$?
1889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890 (exit $ac_status); }; } &&
1891 { ac_try='test -s conftest.$ac_objext'
1892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1893 (eval $ac_try) 2>&5
1894 ac_status=$?
1895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1896 (exit $ac_status); }; }; then
1897 ac_compiler_gnu=yes
1898 else
1899 echo "$as_me: failed program was:" >&5
1900 sed 's/^/| /' conftest.$ac_ext >&5
1901
1902 ac_compiler_gnu=no
1903 fi
1904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1905 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1906
1907 fi
1908 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1909 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1910 GCC=`test $ac_compiler_gnu = yes && echo yes`
1911 ac_test_CFLAGS=${CFLAGS+set}
1912 ac_save_CFLAGS=$CFLAGS
1913 CFLAGS="-g"
1914 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1915 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1916 if test "${ac_cv_prog_cc_g+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 else
1919 cat >conftest.$ac_ext <<_ACEOF
1920 /* confdefs.h. */
1921 _ACEOF
1922 cat confdefs.h >>conftest.$ac_ext
1923 cat >>conftest.$ac_ext <<_ACEOF
1924 /* end confdefs.h. */
1925
1926 int
1927 main ()
1928 {
1929
1930 ;
1931 return 0;
1932 }
1933 _ACEOF
1934 rm -f conftest.$ac_objext
1935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1936 (eval $ac_compile) 2>conftest.er1
1937 ac_status=$?
1938 grep -v '^ *+' conftest.er1 >conftest.err
1939 rm -f conftest.er1
1940 cat conftest.err >&5
1941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942 (exit $ac_status); } &&
1943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1945 (eval $ac_try) 2>&5
1946 ac_status=$?
1947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1948 (exit $ac_status); }; } &&
1949 { ac_try='test -s conftest.$ac_objext'
1950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1951 (eval $ac_try) 2>&5
1952 ac_status=$?
1953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1954 (exit $ac_status); }; }; then
1955 ac_cv_prog_cc_g=yes
1956 else
1957 echo "$as_me: failed program was:" >&5
1958 sed 's/^/| /' conftest.$ac_ext >&5
1959
1960 ac_cv_prog_cc_g=no
1961 fi
1962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1963 fi
1964 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1965 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1966 if test "$ac_test_CFLAGS" = set; then
1967 CFLAGS=$ac_save_CFLAGS
1968 elif test $ac_cv_prog_cc_g = yes; then
1969 if test "$GCC" = yes; then
1970 CFLAGS="-g -O2"
1971 else
1972 CFLAGS="-g"
1973 fi
1974 else
1975 if test "$GCC" = yes; then
1976 CFLAGS="-O2"
1977 else
1978 CFLAGS=
1979 fi
1980 fi
1981 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1982 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1983 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1985 else
1986 ac_cv_prog_cc_stdc=no
1987 ac_save_CC=$CC
1988 cat >conftest.$ac_ext <<_ACEOF
1989 /* confdefs.h. */
1990 _ACEOF
1991 cat confdefs.h >>conftest.$ac_ext
1992 cat >>conftest.$ac_ext <<_ACEOF
1993 /* end confdefs.h. */
1994 #include <stdarg.h>
1995 #include <stdio.h>
1996 #include <sys/types.h>
1997 #include <sys/stat.h>
1998 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1999 struct buf { int x; };
2000 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2001 static char *e (p, i)
2002 char **p;
2003 int i;
2004 {
2005 return p[i];
2006 }
2007 static char *f (char * (*g) (char **, int), char **p, ...)
2008 {
2009 char *s;
2010 va_list v;
2011 va_start (v,p);
2012 s = g (p, va_arg (v,int));
2013 va_end (v);
2014 return s;
2015 }
2016
2017 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2018 function prototypes and stuff, but not '\xHH' hex character constants.
2019 These don't provoke an error unfortunately, instead are silently treated
2020 as 'x'. The following induces an error, until -std1 is added to get
2021 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2022 array size at least. It's necessary to write '\x00'==0 to get something
2023 that's true only with -std1. */
2024 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2025
2026 int test (int i, double x);
2027 struct s1 {int (*f) (int a);};
2028 struct s2 {int (*f) (double a);};
2029 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2030 int argc;
2031 char **argv;
2032 int
2033 main ()
2034 {
2035 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2036 ;
2037 return 0;
2038 }
2039 _ACEOF
2040 # Don't try gcc -ansi; that turns off useful extensions and
2041 # breaks some systems' header files.
2042 # AIX -qlanglvl=ansi
2043 # Ultrix and OSF/1 -std1
2044 # HP-UX 10.20 and later -Ae
2045 # HP-UX older versions -Aa -D_HPUX_SOURCE
2046 # SVR4 -Xc -D__EXTENSIONS__
2047 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2048 do
2049 CC="$ac_save_CC $ac_arg"
2050 rm -f conftest.$ac_objext
2051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2052 (eval $ac_compile) 2>conftest.er1
2053 ac_status=$?
2054 grep -v '^ *+' conftest.er1 >conftest.err
2055 rm -f conftest.er1
2056 cat conftest.err >&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); } &&
2059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2061 (eval $ac_try) 2>&5
2062 ac_status=$?
2063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064 (exit $ac_status); }; } &&
2065 { ac_try='test -s conftest.$ac_objext'
2066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2067 (eval $ac_try) 2>&5
2068 ac_status=$?
2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 (exit $ac_status); }; }; then
2071 ac_cv_prog_cc_stdc=$ac_arg
2072 break
2073 else
2074 echo "$as_me: failed program was:" >&5
2075 sed 's/^/| /' conftest.$ac_ext >&5
2076
2077 fi
2078 rm -f conftest.err conftest.$ac_objext
2079 done
2080 rm -f conftest.$ac_ext conftest.$ac_objext
2081 CC=$ac_save_CC
2082
2083 fi
2084
2085 case "x$ac_cv_prog_cc_stdc" in
2086 x|xno)
2087 echo "$as_me:$LINENO: result: none needed" >&5
2088 echo "${ECHO_T}none needed" >&6 ;;
2089 *)
2090 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2091 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2092 CC="$CC $ac_cv_prog_cc_stdc" ;;
2093 esac
2094
2095 # Some people use a C++ compiler to compile C. Since we use `exit',
2096 # in C++ we need to declare it. In case someone uses the same compiler
2097 # for both compiling C and C++ we need to have the C++ compiler decide
2098 # the declaration of exit, since it's the most demanding environment.
2099 cat >conftest.$ac_ext <<_ACEOF
2100 #ifndef __cplusplus
2101 choke me
2102 #endif
2103 _ACEOF
2104 rm -f conftest.$ac_objext
2105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2106 (eval $ac_compile) 2>conftest.er1
2107 ac_status=$?
2108 grep -v '^ *+' conftest.er1 >conftest.err
2109 rm -f conftest.er1
2110 cat conftest.err >&5
2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112 (exit $ac_status); } &&
2113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2115 (eval $ac_try) 2>&5
2116 ac_status=$?
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }; } &&
2119 { ac_try='test -s conftest.$ac_objext'
2120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2121 (eval $ac_try) 2>&5
2122 ac_status=$?
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }; }; then
2125 for ac_declaration in \
2126 '' \
2127 'extern "C" void std::exit (int) throw (); using std::exit;' \
2128 'extern "C" void std::exit (int); using std::exit;' \
2129 'extern "C" void exit (int) throw ();' \
2130 'extern "C" void exit (int);' \
2131 'void exit (int);'
2132 do
2133 cat >conftest.$ac_ext <<_ACEOF
2134 /* confdefs.h. */
2135 _ACEOF
2136 cat confdefs.h >>conftest.$ac_ext
2137 cat >>conftest.$ac_ext <<_ACEOF
2138 /* end confdefs.h. */
2139 $ac_declaration
2140 #include <stdlib.h>
2141 int
2142 main ()
2143 {
2144 exit (42);
2145 ;
2146 return 0;
2147 }
2148 _ACEOF
2149 rm -f conftest.$ac_objext
2150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2151 (eval $ac_compile) 2>conftest.er1
2152 ac_status=$?
2153 grep -v '^ *+' conftest.er1 >conftest.err
2154 rm -f conftest.er1
2155 cat conftest.err >&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); } &&
2158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2160 (eval $ac_try) 2>&5
2161 ac_status=$?
2162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2163 (exit $ac_status); }; } &&
2164 { ac_try='test -s conftest.$ac_objext'
2165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2166 (eval $ac_try) 2>&5
2167 ac_status=$?
2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2169 (exit $ac_status); }; }; then
2170 :
2171 else
2172 echo "$as_me: failed program was:" >&5
2173 sed 's/^/| /' conftest.$ac_ext >&5
2174
2175 continue
2176 fi
2177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2178 cat >conftest.$ac_ext <<_ACEOF
2179 /* confdefs.h. */
2180 _ACEOF
2181 cat confdefs.h >>conftest.$ac_ext
2182 cat >>conftest.$ac_ext <<_ACEOF
2183 /* end confdefs.h. */
2184 $ac_declaration
2185 int
2186 main ()
2187 {
2188 exit (42);
2189 ;
2190 return 0;
2191 }
2192 _ACEOF
2193 rm -f conftest.$ac_objext
2194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2195 (eval $ac_compile) 2>conftest.er1
2196 ac_status=$?
2197 grep -v '^ *+' conftest.er1 >conftest.err
2198 rm -f conftest.er1
2199 cat conftest.err >&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); } &&
2202 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2204 (eval $ac_try) 2>&5
2205 ac_status=$?
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); }; } &&
2208 { ac_try='test -s conftest.$ac_objext'
2209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2210 (eval $ac_try) 2>&5
2211 ac_status=$?
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); }; }; then
2214 break
2215 else
2216 echo "$as_me: failed program was:" >&5
2217 sed 's/^/| /' conftest.$ac_ext >&5
2218
2219 fi
2220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2221 done
2222 rm -f conftest*
2223 if test -n "$ac_declaration"; then
2224 echo '#ifdef __cplusplus' >>confdefs.h
2225 echo $ac_declaration >>confdefs.h
2226 echo '#endif' >>confdefs.h
2227 fi
2228
2229 else
2230 echo "$as_me: failed program was:" >&5
2231 sed 's/^/| /' conftest.$ac_ext >&5
2232
2233 fi
2234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2235 ac_ext=c
2236 ac_cpp='$CPP $CPPFLAGS'
2237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2240
2241
2242 ac_ext=c
2243 ac_cpp='$CPP $CPPFLAGS'
2244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2247 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2248 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2249 # On Suns, sometimes $CPP names a directory.
2250 if test -n "$CPP" && test -d "$CPP"; then
2251 CPP=
2252 fi
2253 if test -z "$CPP"; then
2254 if test "${ac_cv_prog_CPP+set}" = set; then
2255 echo $ECHO_N "(cached) $ECHO_C" >&6
2256 else
2257 # Double quotes because CPP needs to be expanded
2258 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2259 do
2260 ac_preproc_ok=false
2261 for ac_c_preproc_warn_flag in '' yes
2262 do
2263 # Use a header file that comes with gcc, so configuring glibc
2264 # with a fresh cross-compiler works.
2265 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2266 # <limits.h> exists even on freestanding compilers.
2267 # On the NeXT, cc -E runs the code through the compiler's parser,
2268 # not just through cpp. "Syntax error" is here to catch this case.
2269 cat >conftest.$ac_ext <<_ACEOF
2270 /* confdefs.h. */
2271 _ACEOF
2272 cat confdefs.h >>conftest.$ac_ext
2273 cat >>conftest.$ac_ext <<_ACEOF
2274 /* end confdefs.h. */
2275 #ifdef __STDC__
2276 # include <limits.h>
2277 #else
2278 # include <assert.h>
2279 #endif
2280 Syntax error
2281 _ACEOF
2282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2284 ac_status=$?
2285 grep -v '^ *+' conftest.er1 >conftest.err
2286 rm -f conftest.er1
2287 cat conftest.err >&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); } >/dev/null; then
2290 if test -s conftest.err; then
2291 ac_cpp_err=$ac_c_preproc_warn_flag
2292 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2293 else
2294 ac_cpp_err=
2295 fi
2296 else
2297 ac_cpp_err=yes
2298 fi
2299 if test -z "$ac_cpp_err"; then
2300 :
2301 else
2302 echo "$as_me: failed program was:" >&5
2303 sed 's/^/| /' conftest.$ac_ext >&5
2304
2305 # Broken: fails on valid input.
2306 continue
2307 fi
2308 rm -f conftest.err conftest.$ac_ext
2309
2310 # OK, works on sane cases. Now check whether non-existent headers
2311 # can be detected and how.
2312 cat >conftest.$ac_ext <<_ACEOF
2313 /* confdefs.h. */
2314 _ACEOF
2315 cat confdefs.h >>conftest.$ac_ext
2316 cat >>conftest.$ac_ext <<_ACEOF
2317 /* end confdefs.h. */
2318 #include <ac_nonexistent.h>
2319 _ACEOF
2320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2321 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2322 ac_status=$?
2323 grep -v '^ *+' conftest.er1 >conftest.err
2324 rm -f conftest.er1
2325 cat conftest.err >&5
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); } >/dev/null; then
2328 if test -s conftest.err; then
2329 ac_cpp_err=$ac_c_preproc_warn_flag
2330 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2331 else
2332 ac_cpp_err=
2333 fi
2334 else
2335 ac_cpp_err=yes
2336 fi
2337 if test -z "$ac_cpp_err"; then
2338 # Broken: success on invalid input.
2339 continue
2340 else
2341 echo "$as_me: failed program was:" >&5
2342 sed 's/^/| /' conftest.$ac_ext >&5
2343
2344 # Passes both tests.
2345 ac_preproc_ok=:
2346 break
2347 fi
2348 rm -f conftest.err conftest.$ac_ext
2349
2350 done
2351 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2352 rm -f conftest.err conftest.$ac_ext
2353 if $ac_preproc_ok; then
2354 break
2355 fi
2356
2357 done
2358 ac_cv_prog_CPP=$CPP
2359
2360 fi
2361 CPP=$ac_cv_prog_CPP
2362 else
2363 ac_cv_prog_CPP=$CPP
2364 fi
2365 echo "$as_me:$LINENO: result: $CPP" >&5
2366 echo "${ECHO_T}$CPP" >&6
2367 ac_preproc_ok=false
2368 for ac_c_preproc_warn_flag in '' yes
2369 do
2370 # Use a header file that comes with gcc, so configuring glibc
2371 # with a fresh cross-compiler works.
2372 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2373 # <limits.h> exists even on freestanding compilers.
2374 # On the NeXT, cc -E runs the code through the compiler's parser,
2375 # not just through cpp. "Syntax error" is here to catch this case.
2376 cat >conftest.$ac_ext <<_ACEOF
2377 /* confdefs.h. */
2378 _ACEOF
2379 cat confdefs.h >>conftest.$ac_ext
2380 cat >>conftest.$ac_ext <<_ACEOF
2381 /* end confdefs.h. */
2382 #ifdef __STDC__
2383 # include <limits.h>
2384 #else
2385 # include <assert.h>
2386 #endif
2387 Syntax error
2388 _ACEOF
2389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2391 ac_status=$?
2392 grep -v '^ *+' conftest.er1 >conftest.err
2393 rm -f conftest.er1
2394 cat conftest.err >&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); } >/dev/null; then
2397 if test -s conftest.err; then
2398 ac_cpp_err=$ac_c_preproc_warn_flag
2399 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2400 else
2401 ac_cpp_err=
2402 fi
2403 else
2404 ac_cpp_err=yes
2405 fi
2406 if test -z "$ac_cpp_err"; then
2407 :
2408 else
2409 echo "$as_me: failed program was:" >&5
2410 sed 's/^/| /' conftest.$ac_ext >&5
2411
2412 # Broken: fails on valid input.
2413 continue
2414 fi
2415 rm -f conftest.err conftest.$ac_ext
2416
2417 # OK, works on sane cases. Now check whether non-existent headers
2418 # can be detected and how.
2419 cat >conftest.$ac_ext <<_ACEOF
2420 /* confdefs.h. */
2421 _ACEOF
2422 cat confdefs.h >>conftest.$ac_ext
2423 cat >>conftest.$ac_ext <<_ACEOF
2424 /* end confdefs.h. */
2425 #include <ac_nonexistent.h>
2426 _ACEOF
2427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2429 ac_status=$?
2430 grep -v '^ *+' conftest.er1 >conftest.err
2431 rm -f conftest.er1
2432 cat conftest.err >&5
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); } >/dev/null; then
2435 if test -s conftest.err; then
2436 ac_cpp_err=$ac_c_preproc_warn_flag
2437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2438 else
2439 ac_cpp_err=
2440 fi
2441 else
2442 ac_cpp_err=yes
2443 fi
2444 if test -z "$ac_cpp_err"; then
2445 # Broken: success on invalid input.
2446 continue
2447 else
2448 echo "$as_me: failed program was:" >&5
2449 sed 's/^/| /' conftest.$ac_ext >&5
2450
2451 # Passes both tests.
2452 ac_preproc_ok=:
2453 break
2454 fi
2455 rm -f conftest.err conftest.$ac_ext
2456
2457 done
2458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2459 rm -f conftest.err conftest.$ac_ext
2460 if $ac_preproc_ok; then
2461 :
2462 else
2463 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2464 See \`config.log' for more details." >&5
2465 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2466 See \`config.log' for more details." >&2;}
2467 { (exit 1); exit 1; }; }
2468 fi
2469
2470 ac_ext=c
2471 ac_cpp='$CPP $CPPFLAGS'
2472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2475
2476
2477 echo "$as_me:$LINENO: checking for egrep" >&5
2478 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2479 if test "${ac_cv_prog_egrep+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 else
2482 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2483 then ac_cv_prog_egrep='grep -E'
2484 else ac_cv_prog_egrep='egrep'
2485 fi
2486 fi
2487 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2488 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2489 EGREP=$ac_cv_prog_egrep
2490
2491
2492
2493 echo "$as_me:$LINENO: checking for AIX" >&5
2494 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2495 cat >conftest.$ac_ext <<_ACEOF
2496 /* confdefs.h. */
2497 _ACEOF
2498 cat confdefs.h >>conftest.$ac_ext
2499 cat >>conftest.$ac_ext <<_ACEOF
2500 /* end confdefs.h. */
2501 #ifdef _AIX
2502 yes
2503 #endif
2504
2505 _ACEOF
2506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2507 $EGREP "yes" >/dev/null 2>&1; then
2508 echo "$as_me:$LINENO: result: yes" >&5
2509 echo "${ECHO_T}yes" >&6
2510 cat >>confdefs.h <<\_ACEOF
2511 #define _ALL_SOURCE 1
2512 _ACEOF
2513
2514 else
2515 echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6
2517 fi
2518 rm -f conftest*
2519
2520
2521 # Checks for programs.
2522 ac_ext=c
2523 ac_cpp='$CPP $CPPFLAGS'
2524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2527 if test -n "$ac_tool_prefix"; then
2528 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2529 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2530 echo "$as_me:$LINENO: checking for $ac_word" >&5
2531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2532 if test "${ac_cv_prog_CC+set}" = set; then
2533 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 else
2535 if test -n "$CC"; then
2536 ac_cv_prog_CC="$CC" # Let the user override the test.
2537 else
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 for as_dir in $PATH
2540 do
2541 IFS=$as_save_IFS
2542 test -z "$as_dir" && as_dir=.
2543 for ac_exec_ext in '' $ac_executable_extensions; do
2544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2545 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2547 break 2
2548 fi
2549 done
2550 done
2551
2552 fi
2553 fi
2554 CC=$ac_cv_prog_CC
2555 if test -n "$CC"; then
2556 echo "$as_me:$LINENO: result: $CC" >&5
2557 echo "${ECHO_T}$CC" >&6
2558 else
2559 echo "$as_me:$LINENO: result: no" >&5
2560 echo "${ECHO_T}no" >&6
2561 fi
2562
2563 fi
2564 if test -z "$ac_cv_prog_CC"; then
2565 ac_ct_CC=$CC
2566 # Extract the first word of "gcc", so it can be a program name with args.
2567 set dummy gcc; ac_word=$2
2568 echo "$as_me:$LINENO: checking for $ac_word" >&5
2569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2570 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2571 echo $ECHO_N "(cached) $ECHO_C" >&6
2572 else
2573 if test -n "$ac_ct_CC"; then
2574 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2575 else
2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 for as_dir in $PATH
2578 do
2579 IFS=$as_save_IFS
2580 test -z "$as_dir" && as_dir=.
2581 for ac_exec_ext in '' $ac_executable_extensions; do
2582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2583 ac_cv_prog_ac_ct_CC="gcc"
2584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 break 2
2586 fi
2587 done
2588 done
2589
2590 fi
2591 fi
2592 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2593 if test -n "$ac_ct_CC"; then
2594 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2595 echo "${ECHO_T}$ac_ct_CC" >&6
2596 else
2597 echo "$as_me:$LINENO: result: no" >&5
2598 echo "${ECHO_T}no" >&6
2599 fi
2600
2601 CC=$ac_ct_CC
2602 else
2603 CC="$ac_cv_prog_CC"
2604 fi
2605
2606 if test -z "$CC"; then
2607 if test -n "$ac_tool_prefix"; then
2608 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2609 set dummy ${ac_tool_prefix}cc; ac_word=$2
2610 echo "$as_me:$LINENO: checking for $ac_word" >&5
2611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2612 if test "${ac_cv_prog_CC+set}" = set; then
2613 echo $ECHO_N "(cached) $ECHO_C" >&6
2614 else
2615 if test -n "$CC"; then
2616 ac_cv_prog_CC="$CC" # Let the user override the test.
2617 else
2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 for as_dir in $PATH
2620 do
2621 IFS=$as_save_IFS
2622 test -z "$as_dir" && as_dir=.
2623 for ac_exec_ext in '' $ac_executable_extensions; do
2624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2625 ac_cv_prog_CC="${ac_tool_prefix}cc"
2626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2627 break 2
2628 fi
2629 done
2630 done
2631
2632 fi
2633 fi
2634 CC=$ac_cv_prog_CC
2635 if test -n "$CC"; then
2636 echo "$as_me:$LINENO: result: $CC" >&5
2637 echo "${ECHO_T}$CC" >&6
2638 else
2639 echo "$as_me:$LINENO: result: no" >&5
2640 echo "${ECHO_T}no" >&6
2641 fi
2642
2643 fi
2644 if test -z "$ac_cv_prog_CC"; then
2645 ac_ct_CC=$CC
2646 # Extract the first word of "cc", so it can be a program name with args.
2647 set dummy cc; ac_word=$2
2648 echo "$as_me:$LINENO: checking for $ac_word" >&5
2649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2650 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2652 else
2653 if test -n "$ac_ct_CC"; then
2654 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2655 else
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 for as_dir in $PATH
2658 do
2659 IFS=$as_save_IFS
2660 test -z "$as_dir" && as_dir=.
2661 for ac_exec_ext in '' $ac_executable_extensions; do
2662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2663 ac_cv_prog_ac_ct_CC="cc"
2664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2665 break 2
2666 fi
2667 done
2668 done
2669
2670 fi
2671 fi
2672 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2673 if test -n "$ac_ct_CC"; then
2674 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2675 echo "${ECHO_T}$ac_ct_CC" >&6
2676 else
2677 echo "$as_me:$LINENO: result: no" >&5
2678 echo "${ECHO_T}no" >&6
2679 fi
2680
2681 CC=$ac_ct_CC
2682 else
2683 CC="$ac_cv_prog_CC"
2684 fi
2685
2686 fi
2687 if test -z "$CC"; then
2688 # Extract the first word of "cc", so it can be a program name with args.
2689 set dummy cc; ac_word=$2
2690 echo "$as_me:$LINENO: checking for $ac_word" >&5
2691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2692 if test "${ac_cv_prog_CC+set}" = set; then
2693 echo $ECHO_N "(cached) $ECHO_C" >&6
2694 else
2695 if test -n "$CC"; then
2696 ac_cv_prog_CC="$CC" # Let the user override the test.
2697 else
2698 ac_prog_rejected=no
2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700 for as_dir in $PATH
2701 do
2702 IFS=$as_save_IFS
2703 test -z "$as_dir" && as_dir=.
2704 for ac_exec_ext in '' $ac_executable_extensions; do
2705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2706 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2707 ac_prog_rejected=yes
2708 continue
2709 fi
2710 ac_cv_prog_CC="cc"
2711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2712 break 2
2713 fi
2714 done
2715 done
2716
2717 if test $ac_prog_rejected = yes; then
2718 # We found a bogon in the path, so make sure we never use it.
2719 set dummy $ac_cv_prog_CC
2720 shift
2721 if test $# != 0; then
2722 # We chose a different compiler from the bogus one.
2723 # However, it has the same basename, so the bogon will be chosen
2724 # first if we set CC to just the basename; use the full file name.
2725 shift
2726 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2727 fi
2728 fi
2729 fi
2730 fi
2731 CC=$ac_cv_prog_CC
2732 if test -n "$CC"; then
2733 echo "$as_me:$LINENO: result: $CC" >&5
2734 echo "${ECHO_T}$CC" >&6
2735 else
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2738 fi
2739
2740 fi
2741 if test -z "$CC"; then
2742 if test -n "$ac_tool_prefix"; then
2743 for ac_prog in cl
2744 do
2745 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2746 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2747 echo "$as_me:$LINENO: checking for $ac_word" >&5
2748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2749 if test "${ac_cv_prog_CC+set}" = set; then
2750 echo $ECHO_N "(cached) $ECHO_C" >&6
2751 else
2752 if test -n "$CC"; then
2753 ac_cv_prog_CC="$CC" # Let the user override the test.
2754 else
2755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 for as_dir in $PATH
2757 do
2758 IFS=$as_save_IFS
2759 test -z "$as_dir" && as_dir=.
2760 for ac_exec_ext in '' $ac_executable_extensions; do
2761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2762 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2764 break 2
2765 fi
2766 done
2767 done
2768
2769 fi
2770 fi
2771 CC=$ac_cv_prog_CC
2772 if test -n "$CC"; then
2773 echo "$as_me:$LINENO: result: $CC" >&5
2774 echo "${ECHO_T}$CC" >&6
2775 else
2776 echo "$as_me:$LINENO: result: no" >&5
2777 echo "${ECHO_T}no" >&6
2778 fi
2779
2780 test -n "$CC" && break
2781 done
2782 fi
2783 if test -z "$CC"; then
2784 ac_ct_CC=$CC
2785 for ac_prog in cl
2786 do
2787 # Extract the first word of "$ac_prog", so it can be a program name with args.
2788 set dummy $ac_prog; ac_word=$2
2789 echo "$as_me:$LINENO: checking for $ac_word" >&5
2790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2791 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2792 echo $ECHO_N "(cached) $ECHO_C" >&6
2793 else
2794 if test -n "$ac_ct_CC"; then
2795 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2796 else
2797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2798 for as_dir in $PATH
2799 do
2800 IFS=$as_save_IFS
2801 test -z "$as_dir" && as_dir=.
2802 for ac_exec_ext in '' $ac_executable_extensions; do
2803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2804 ac_cv_prog_ac_ct_CC="$ac_prog"
2805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2806 break 2
2807 fi
2808 done
2809 done
2810
2811 fi
2812 fi
2813 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2814 if test -n "$ac_ct_CC"; then
2815 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2816 echo "${ECHO_T}$ac_ct_CC" >&6
2817 else
2818 echo "$as_me:$LINENO: result: no" >&5
2819 echo "${ECHO_T}no" >&6
2820 fi
2821
2822 test -n "$ac_ct_CC" && break
2823 done
2824
2825 CC=$ac_ct_CC
2826 fi
2827
2828 fi
2829
2830
2831 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2832 See \`config.log' for more details." >&5
2833 echo "$as_me: error: no acceptable C compiler found in \$PATH
2834 See \`config.log' for more details." >&2;}
2835 { (exit 1); exit 1; }; }
2836
2837 # Provide some information about the compiler.
2838 echo "$as_me:$LINENO:" \
2839 "checking for C compiler version" >&5
2840 ac_compiler=`set X $ac_compile; echo $2`
2841 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2842 (eval $ac_compiler --version </dev/null >&5) 2>&5
2843 ac_status=$?
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }
2846 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2847 (eval $ac_compiler -v </dev/null >&5) 2>&5
2848 ac_status=$?
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }
2851 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2852 (eval $ac_compiler -V </dev/null >&5) 2>&5
2853 ac_status=$?
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }
2856
2857 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2858 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2859 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2861 else
2862 cat >conftest.$ac_ext <<_ACEOF
2863 /* confdefs.h. */
2864 _ACEOF
2865 cat confdefs.h >>conftest.$ac_ext
2866 cat >>conftest.$ac_ext <<_ACEOF
2867 /* end confdefs.h. */
2868
2869 int
2870 main ()
2871 {
2872 #ifndef __GNUC__
2873 choke me
2874 #endif
2875
2876 ;
2877 return 0;
2878 }
2879 _ACEOF
2880 rm -f conftest.$ac_objext
2881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882 (eval $ac_compile) 2>conftest.er1
2883 ac_status=$?
2884 grep -v '^ *+' conftest.er1 >conftest.err
2885 rm -f conftest.er1
2886 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } &&
2889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 (eval $ac_try) 2>&5
2892 ac_status=$?
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; } &&
2895 { ac_try='test -s conftest.$ac_objext'
2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897 (eval $ac_try) 2>&5
2898 ac_status=$?
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; }; then
2901 ac_compiler_gnu=yes
2902 else
2903 echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2905
2906 ac_compiler_gnu=no
2907 fi
2908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2909 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2910
2911 fi
2912 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2913 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2914 GCC=`test $ac_compiler_gnu = yes && echo yes`
2915 ac_test_CFLAGS=${CFLAGS+set}
2916 ac_save_CFLAGS=$CFLAGS
2917 CFLAGS="-g"
2918 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2919 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2920 if test "${ac_cv_prog_cc_g+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2922 else
2923 cat >conftest.$ac_ext <<_ACEOF
2924 /* confdefs.h. */
2925 _ACEOF
2926 cat confdefs.h >>conftest.$ac_ext
2927 cat >>conftest.$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2929
2930 int
2931 main ()
2932 {
2933
2934 ;
2935 return 0;
2936 }
2937 _ACEOF
2938 rm -f conftest.$ac_objext
2939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2940 (eval $ac_compile) 2>conftest.er1
2941 ac_status=$?
2942 grep -v '^ *+' conftest.er1 >conftest.err
2943 rm -f conftest.er1
2944 cat conftest.err >&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); } &&
2947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2949 (eval $ac_try) 2>&5
2950 ac_status=$?
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); }; } &&
2953 { ac_try='test -s conftest.$ac_objext'
2954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2955 (eval $ac_try) 2>&5
2956 ac_status=$?
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }; }; then
2959 ac_cv_prog_cc_g=yes
2960 else
2961 echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2963
2964 ac_cv_prog_cc_g=no
2965 fi
2966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2967 fi
2968 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2969 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2970 if test "$ac_test_CFLAGS" = set; then
2971 CFLAGS=$ac_save_CFLAGS
2972 elif test $ac_cv_prog_cc_g = yes; then
2973 if test "$GCC" = yes; then
2974 CFLAGS="-g -O2"
2975 else
2976 CFLAGS="-g"
2977 fi
2978 else
2979 if test "$GCC" = yes; then
2980 CFLAGS="-O2"
2981 else
2982 CFLAGS=
2983 fi
2984 fi
2985 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2986 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2987 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2988 echo $ECHO_N "(cached) $ECHO_C" >&6
2989 else
2990 ac_cv_prog_cc_stdc=no
2991 ac_save_CC=$CC
2992 cat >conftest.$ac_ext <<_ACEOF
2993 /* confdefs.h. */
2994 _ACEOF
2995 cat confdefs.h >>conftest.$ac_ext
2996 cat >>conftest.$ac_ext <<_ACEOF
2997 /* end confdefs.h. */
2998 #include <stdarg.h>
2999 #include <stdio.h>
3000 #include <sys/types.h>
3001 #include <sys/stat.h>
3002 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3003 struct buf { int x; };
3004 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3005 static char *e (p, i)
3006 char **p;
3007 int i;
3008 {
3009 return p[i];
3010 }
3011 static char *f (char * (*g) (char **, int), char **p, ...)
3012 {
3013 char *s;
3014 va_list v;
3015 va_start (v,p);
3016 s = g (p, va_arg (v,int));
3017 va_end (v);
3018 return s;
3019 }
3020
3021 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3022 function prototypes and stuff, but not '\xHH' hex character constants.
3023 These don't provoke an error unfortunately, instead are silently treated
3024 as 'x'. The following induces an error, until -std1 is added to get
3025 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3026 array size at least. It's necessary to write '\x00'==0 to get something
3027 that's true only with -std1. */
3028 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3029
3030 int test (int i, double x);
3031 struct s1 {int (*f) (int a);};
3032 struct s2 {int (*f) (double a);};
3033 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3034 int argc;
3035 char **argv;
3036 int
3037 main ()
3038 {
3039 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3040 ;
3041 return 0;
3042 }
3043 _ACEOF
3044 # Don't try gcc -ansi; that turns off useful extensions and
3045 # breaks some systems' header files.
3046 # AIX -qlanglvl=ansi
3047 # Ultrix and OSF/1 -std1
3048 # HP-UX 10.20 and later -Ae
3049 # HP-UX older versions -Aa -D_HPUX_SOURCE
3050 # SVR4 -Xc -D__EXTENSIONS__
3051 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3052 do
3053 CC="$ac_save_CC $ac_arg"
3054 rm -f conftest.$ac_objext
3055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3056 (eval $ac_compile) 2>conftest.er1
3057 ac_status=$?
3058 grep -v '^ *+' conftest.er1 >conftest.err
3059 rm -f conftest.er1
3060 cat conftest.err >&5
3061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062 (exit $ac_status); } &&
3063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3065 (eval $ac_try) 2>&5
3066 ac_status=$?
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); }; } &&
3069 { ac_try='test -s conftest.$ac_objext'
3070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3071 (eval $ac_try) 2>&5
3072 ac_status=$?
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); }; }; then
3075 ac_cv_prog_cc_stdc=$ac_arg
3076 break
3077 else
3078 echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3080
3081 fi
3082 rm -f conftest.err conftest.$ac_objext
3083 done
3084 rm -f conftest.$ac_ext conftest.$ac_objext
3085 CC=$ac_save_CC
3086
3087 fi
3088
3089 case "x$ac_cv_prog_cc_stdc" in
3090 x|xno)
3091 echo "$as_me:$LINENO: result: none needed" >&5
3092 echo "${ECHO_T}none needed" >&6 ;;
3093 *)
3094 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3095 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3096 CC="$CC $ac_cv_prog_cc_stdc" ;;
3097 esac
3098
3099 # Some people use a C++ compiler to compile C. Since we use `exit',
3100 # in C++ we need to declare it. In case someone uses the same compiler
3101 # for both compiling C and C++ we need to have the C++ compiler decide
3102 # the declaration of exit, since it's the most demanding environment.
3103 cat >conftest.$ac_ext <<_ACEOF
3104 #ifndef __cplusplus
3105 choke me
3106 #endif
3107 _ACEOF
3108 rm -f conftest.$ac_objext
3109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3110 (eval $ac_compile) 2>conftest.er1
3111 ac_status=$?
3112 grep -v '^ *+' conftest.er1 >conftest.err
3113 rm -f conftest.er1
3114 cat conftest.err >&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); } &&
3117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3119 (eval $ac_try) 2>&5
3120 ac_status=$?
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); }; } &&
3123 { ac_try='test -s conftest.$ac_objext'
3124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3125 (eval $ac_try) 2>&5
3126 ac_status=$?
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); }; }; then
3129 for ac_declaration in \
3130 '' \
3131 'extern "C" void std::exit (int) throw (); using std::exit;' \
3132 'extern "C" void std::exit (int); using std::exit;' \
3133 'extern "C" void exit (int) throw ();' \
3134 'extern "C" void exit (int);' \
3135 'void exit (int);'
3136 do
3137 cat >conftest.$ac_ext <<_ACEOF
3138 /* confdefs.h. */
3139 _ACEOF
3140 cat confdefs.h >>conftest.$ac_ext
3141 cat >>conftest.$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3143 $ac_declaration
3144 #include <stdlib.h>
3145 int
3146 main ()
3147 {
3148 exit (42);
3149 ;
3150 return 0;
3151 }
3152 _ACEOF
3153 rm -f conftest.$ac_objext
3154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3155 (eval $ac_compile) 2>conftest.er1
3156 ac_status=$?
3157 grep -v '^ *+' conftest.er1 >conftest.err
3158 rm -f conftest.er1
3159 cat conftest.err >&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); } &&
3162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3164 (eval $ac_try) 2>&5
3165 ac_status=$?
3166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167 (exit $ac_status); }; } &&
3168 { ac_try='test -s conftest.$ac_objext'
3169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3170 (eval $ac_try) 2>&5
3171 ac_status=$?
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); }; }; then
3174 :
3175 else
3176 echo "$as_me: failed program was:" >&5
3177 sed 's/^/| /' conftest.$ac_ext >&5
3178
3179 continue
3180 fi
3181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3182 cat >conftest.$ac_ext <<_ACEOF
3183 /* confdefs.h. */
3184 _ACEOF
3185 cat confdefs.h >>conftest.$ac_ext
3186 cat >>conftest.$ac_ext <<_ACEOF
3187 /* end confdefs.h. */
3188 $ac_declaration
3189 int
3190 main ()
3191 {
3192 exit (42);
3193 ;
3194 return 0;
3195 }
3196 _ACEOF
3197 rm -f conftest.$ac_objext
3198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3199 (eval $ac_compile) 2>conftest.er1
3200 ac_status=$?
3201 grep -v '^ *+' conftest.er1 >conftest.err
3202 rm -f conftest.er1
3203 cat conftest.err >&5
3204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); } &&
3206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3208 (eval $ac_try) 2>&5
3209 ac_status=$?
3210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); }; } &&
3212 { ac_try='test -s conftest.$ac_objext'
3213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3214 (eval $ac_try) 2>&5
3215 ac_status=$?
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; }; then
3218 break
3219 else
3220 echo "$as_me: failed program was:" >&5
3221 sed 's/^/| /' conftest.$ac_ext >&5
3222
3223 fi
3224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3225 done
3226 rm -f conftest*
3227 if test -n "$ac_declaration"; then
3228 echo '#ifdef __cplusplus' >>confdefs.h
3229 echo $ac_declaration >>confdefs.h
3230 echo '#endif' >>confdefs.h
3231 fi
3232
3233 else
3234 echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3236
3237 fi
3238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3239 ac_ext=c
3240 ac_cpp='$CPP $CPPFLAGS'
3241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3244
3245 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3246 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3247 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3248 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3249 echo $ECHO_N "(cached) $ECHO_C" >&6
3250 else
3251 cat >conftest.make <<\_ACEOF
3252 all:
3253 @echo 'ac_maketemp="$(MAKE)"'
3254 _ACEOF
3255 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3256 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3257 if test -n "$ac_maketemp"; then
3258 eval ac_cv_prog_make_${ac_make}_set=yes
3259 else
3260 eval ac_cv_prog_make_${ac_make}_set=no
3261 fi
3262 rm -f conftest.make
3263 fi
3264 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3265 echo "$as_me:$LINENO: result: yes" >&5
3266 echo "${ECHO_T}yes" >&6
3267 SET_MAKE=
3268 else
3269 echo "$as_me:$LINENO: result: no" >&5
3270 echo "${ECHO_T}no" >&6
3271 SET_MAKE="MAKE=${MAKE-make}"
3272 fi
3273
3274 # my own checks
3275 # Extract the first word of "tar", so it can be a program name with args.
3276 set dummy tar; ac_word=$2
3277 echo "$as_me:$LINENO: checking for $ac_word" >&5
3278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3279 if test "${ac_cv_path_tar+set}" = set; then
3280 echo $ECHO_N "(cached) $ECHO_C" >&6
3281 else
3282 case $tar in
3283 [\\/]* | ?:[\\/]*)
3284 ac_cv_path_tar="$tar" # Let the user override the test with a path.
3285 ;;
3286 *)
3287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3288 for as_dir in $PATH
3289 do
3290 IFS=$as_save_IFS
3291 test -z "$as_dir" && as_dir=.
3292 for ac_exec_ext in '' $ac_executable_extensions; do
3293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3294 ac_cv_path_tar="$as_dir/$ac_word$ac_exec_ext"
3295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3296 break 2
3297 fi
3298 done
3299 done
3300
3301 test -z "$ac_cv_path_tar" && ac_cv_path_tar=""/bin/tar""
3302 ;;
3303 esac
3304 fi
3305 tar=$ac_cv_path_tar
3306
3307 if test -n "$tar"; then
3308 echo "$as_me:$LINENO: result: $tar" >&5
3309 echo "${ECHO_T}$tar" >&6
3310 else
3311 echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6
3313 fi
3314
3315 # Extract the first word of "mcrypt", so it can be a program name with args.
3316 set dummy mcrypt; ac_word=$2
3317 echo "$as_me:$LINENO: checking for $ac_word" >&5
3318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3319 if test "${ac_cv_path_mcrypt+set}" = set; then
3320 echo $ECHO_N "(cached) $ECHO_C" >&6
3321 else
3322 case $mcrypt in
3323 [\\/]* | ?:[\\/]*)
3324 ac_cv_path_mcrypt="$mcrypt" # Let the user override the test with a path.
3325 ;;
3326 *)
3327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3328 for as_dir in $PATH
3329 do
3330 IFS=$as_save_IFS
3331 test -z "$as_dir" && as_dir=.
3332 for ac_exec_ext in '' $ac_executable_extensions; do
3333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3334 ac_cv_path_mcrypt="$as_dir/$ac_word$ac_exec_ext"
3335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3336 break 2
3337 fi
3338 done
3339 done
3340
3341 test -z "$ac_cv_path_mcrypt" && ac_cv_path_mcrypt=""/usr/bin/mcrypt""
3342 ;;
3343 esac
3344 fi
3345 mcrypt=$ac_cv_path_mcrypt
3346
3347 if test -n "$mcrypt"; then
3348 echo "$as_me:$LINENO: result: $mcrypt" >&5
3349 echo "${ECHO_T}$mcrypt" >&6
3350 else
3351 echo "$as_me:$LINENO: result: no" >&5
3352 echo "${ECHO_T}no" >&6
3353 fi
3354
3355 # Extract the first word of "gpg", so it can be a program name with args.
3356 set dummy gpg; ac_word=$2
3357 echo "$as_me:$LINENO: checking for $ac_word" >&5
3358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3359 if test "${ac_cv_path_gpg+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3361 else
3362 case $gpg in
3363 [\\/]* | ?:[\\/]*)
3364 ac_cv_path_gpg="$gpg" # Let the user override the test with a path.
3365 ;;
3366 *)
3367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3368 for as_dir in $PATH
3369 do
3370 IFS=$as_save_IFS
3371 test -z "$as_dir" && as_dir=.
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3374 ac_cv_path_gpg="$as_dir/$ac_word$ac_exec_ext"
3375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3376 break 2
3377 fi
3378 done
3379 done
3380
3381 test -z "$ac_cv_path_gpg" && ac_cv_path_gpg=""/usr/bin/gpg""
3382 ;;
3383 esac
3384 fi
3385 gpg=$ac_cv_path_gpg
3386
3387 if test -n "$gpg"; then
3388 echo "$as_me:$LINENO: result: $gpg" >&5
3389 echo "${ECHO_T}$gpg" >&6
3390 else
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3393 fi
3394
3395 # Extract the first word of "ssh", so it can be a program name with args.
3396 set dummy ssh; ac_word=$2
3397 echo "$as_me:$LINENO: checking for $ac_word" >&5
3398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3399 if test "${ac_cv_path_ssh+set}" = set; then
3400 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 else
3402 case $ssh in
3403 [\\/]* | ?:[\\/]*)
3404 ac_cv_path_ssh="$ssh" # Let the user override the test with a path.
3405 ;;
3406 *)
3407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3408 for as_dir in $PATH
3409 do
3410 IFS=$as_save_IFS
3411 test -z "$as_dir" && as_dir=.
3412 for ac_exec_ext in '' $ac_executable_extensions; do
3413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3414 ac_cv_path_ssh="$as_dir/$ac_word$ac_exec_ext"
3415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3416 break 2
3417 fi
3418 done
3419 done
3420
3421 test -z "$ac_cv_path_ssh" && ac_cv_path_ssh=""/usr/bin/ssh""
3422 ;;
3423 esac
3424 fi
3425 ssh=$ac_cv_path_ssh
3426
3427 if test -n "$ssh"; then
3428 echo "$as_me:$LINENO: result: $ssh" >&5
3429 echo "${ECHO_T}$ssh" >&6
3430 else
3431 echo "$as_me:$LINENO: result: no" >&5
3432 echo "${ECHO_T}no" >&6
3433 fi
3434
3435 # Extract the first word of "bzip2", so it can be a program name with args.
3436 set dummy bzip2; ac_word=$2
3437 echo "$as_me:$LINENO: checking for $ac_word" >&5
3438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3439 if test "${ac_cv_path_bzip+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3441 else
3442 case $bzip in
3443 [\\/]* | ?:[\\/]*)
3444 ac_cv_path_bzip="$bzip" # Let the user override the test with a path.
3445 ;;
3446 *)
3447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3448 for as_dir in $PATH
3449 do
3450 IFS=$as_save_IFS
3451 test -z "$as_dir" && as_dir=.
3452 for ac_exec_ext in '' $ac_executable_extensions; do
3453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454 ac_cv_path_bzip="$as_dir/$ac_word$ac_exec_ext"
3455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3456 break 2
3457 fi
3458 done
3459 done
3460
3461 test -z "$ac_cv_path_bzip" && ac_cv_path_bzip=""/usr/bin/bzip2""
3462 ;;
3463 esac
3464 fi
3465 bzip=$ac_cv_path_bzip
3466
3467 if test -n "$bzip"; then
3468 echo "$as_me:$LINENO: result: $bzip" >&5
3469 echo "${ECHO_T}$bzip" >&6
3470 else
3471 echo "$as_me:$LINENO: result: no" >&5
3472 echo "${ECHO_T}no" >&6
3473 fi
3474
3475 # Extract the first word of "gzip", so it can be a program name with args.
3476 set dummy gzip; ac_word=$2
3477 echo "$as_me:$LINENO: checking for $ac_word" >&5
3478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3479 if test "${ac_cv_path_gzip+set}" = set; then
3480 echo $ECHO_N "(cached) $ECHO_C" >&6
3481 else
3482 case $gzip in
3483 [\\/]* | ?:[\\/]*)
3484 ac_cv_path_gzip="$gzip" # Let the user override the test with a path.
3485 ;;
3486 *)
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 for as_dir in $PATH
3489 do
3490 IFS=$as_save_IFS
3491 test -z "$as_dir" && as_dir=.
3492 for ac_exec_ext in '' $ac_executable_extensions; do
3493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3494 ac_cv_path_gzip="$as_dir/$ac_word$ac_exec_ext"
3495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3496 break 2
3497 fi
3498 done
3499 done
3500
3501 test -z "$ac_cv_path_gzip" && ac_cv_path_gzip=""/bin/gzip""
3502 ;;
3503 esac
3504 fi
3505 gzip=$ac_cv_path_gzip
3506
3507 if test -n "$gzip"; then
3508 echo "$as_me:$LINENO: result: $gzip" >&5
3509 echo "${ECHO_T}$gzip" >&6
3510 else
3511 echo "$as_me:$LINENO: result: no" >&5
3512 echo "${ECHO_T}no" >&6
3513 fi
3514
3515 # Extract the first word of "lzop", so it can be a program name with args.
3516 set dummy lzop; ac_word=$2
3517 echo "$as_me:$LINENO: checking for $ac_word" >&5
3518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3519 if test "${ac_cv_path_lzop+set}" = set; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3521 else
3522 case $lzop in
3523 [\\/]* | ?:[\\/]*)
3524 ac_cv_path_lzop="$lzop" # Let the user override the test with a path.
3525 ;;
3526 *)
3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3528 for as_dir in $PATH
3529 do
3530 IFS=$as_save_IFS
3531 test -z "$as_dir" && as_dir=.
3532 for ac_exec_ext in '' $ac_executable_extensions; do
3533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3534 ac_cv_path_lzop="$as_dir/$ac_word$ac_exec_ext"
3535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3536 break 2
3537 fi
3538 done
3539 done
3540
3541 test -z "$ac_cv_path_lzop" && ac_cv_path_lzop=""/bin/lzop""
3542 ;;
3543 esac
3544 fi
3545 lzop=$ac_cv_path_lzop
3546
3547 if test -n "$lzop"; then
3548 echo "$as_me:$LINENO: result: $lzop" >&5
3549 echo "${ECHO_T}$lzop" >&6
3550 else
3551 echo "$as_me:$LINENO: result: no" >&5
3552 echo "${ECHO_T}no" >&6
3553 fi
3554
3555 # Extract the first word of "split", so it can be a program name with args.
3556 set dummy split; ac_word=$2
3557 echo "$as_me:$LINENO: checking for $ac_word" >&5
3558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3559 if test "${ac_cv_path_split+set}" = set; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 else
3562 case $split in
3563 [\\/]* | ?:[\\/]*)
3564 ac_cv_path_split="$split" # Let the user override the test with a path.
3565 ;;
3566 *)
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3569 do
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574 ac_cv_path_split="$as_dir/$ac_word$ac_exec_ext"
3575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3577 fi
3578 done
3579 done
3580
3581 test -z "$ac_cv_path_split" && ac_cv_path_split=""/usr/bin/split""
3582 ;;
3583 esac
3584 fi
3585 split=$ac_cv_path_split
3586
3587 if test -n "$split"; then
3588 echo "$as_me:$LINENO: result: $split" >&5
3589 echo "${ECHO_T}$split" >&6
3590 else
3591 echo "$as_me:$LINENO: result: no" >&5
3592 echo "${ECHO_T}no" >&6
3593 fi
3594
3595 # Extract the first word of "cat", so it can be a program name with args.
3596 set dummy cat; ac_word=$2
3597 echo "$as_me:$LINENO: checking for $ac_word" >&5
3598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3599 if test "${ac_cv_path_cat+set}" = set; then
3600 echo $ECHO_N "(cached) $ECHO_C" >&6
3601 else
3602 case $cat in
3603 [\\/]* | ?:[\\/]*)
3604 ac_cv_path_cat="$cat" # Let the user override the test with a path.
3605 ;;
3606 *)
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3609 do
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614 ac_cv_path_cat="$as_dir/$ac_word$ac_exec_ext"
3615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3617 fi
3618 done
3619 done
3620
3621 test -z "$ac_cv_path_cat" && ac_cv_path_cat=""/bin/cat""
3622 ;;
3623 esac
3624 fi
3625 cat=$ac_cv_path_cat
3626
3627 if test -n "$cat"; then
3628 echo "$as_me:$LINENO: result: $cat" >&5
3629 echo "${ECHO_T}$cat" >&6
3630 else
3631 echo "$as_me:$LINENO: result: no" >&5
3632 echo "${ECHO_T}no" >&6
3633 fi
3634
3635
3636 # Checks for glib
3637 # Check whether --enable-glibtest or --disable-glibtest was given.
3638 if test "${enable_glibtest+set}" = set; then
3639 enableval="$enable_glibtest"
3640
3641 else
3642 enable_glibtest=yes
3643 fi;
3644
3645 pkg_config_args=glib-2.0
3646 for module in .
3647 do
3648 case "$module" in
3649 gmodule)
3650 pkg_config_args="$pkg_config_args gmodule-2.0"
3651 ;;
3652 gobject)
3653 pkg_config_args="$pkg_config_args gobject-2.0"
3654 ;;
3655 gthread)
3656 pkg_config_args="$pkg_config_args gthread-2.0"
3657 ;;
3658 esac
3659 done
3660
3661 # Extract the first word of "pkg-config", so it can be a program name with args.
3662 set dummy pkg-config; ac_word=$2
3663 echo "$as_me:$LINENO: checking for $ac_word" >&5
3664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3665 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3667 else
3668 case $PKG_CONFIG in
3669 [\\/]* | ?:[\\/]*)
3670 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3671 ;;
3672 *)
3673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3674 for as_dir in $PATH
3675 do
3676 IFS=$as_save_IFS
3677 test -z "$as_dir" && as_dir=.
3678 for ac_exec_ext in '' $ac_executable_extensions; do
3679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3680 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3682 break 2
3683 fi
3684 done
3685 done
3686
3687 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
3688 ;;
3689 esac
3690 fi
3691 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3692
3693 if test -n "$PKG_CONFIG"; then
3694 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3695 echo "${ECHO_T}$PKG_CONFIG" >&6
3696 else
3697 echo "$as_me:$LINENO: result: no" >&5
3698 echo "${ECHO_T}no" >&6
3699 fi
3700
3701
3702 no_glib=""
3703
3704 if test x$PKG_CONFIG != xno ; then
3705 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
3706 :
3707 else
3708 echo *** pkg-config too old; version 0.7 or better required.
3709 no_glib=yes
3710 PKG_CONFIG=no
3711 fi
3712 else
3713 no_glib=yes
3714 fi
3715
3716 min_glib_version=2.0.0
3717 echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
3718 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6
3719
3720 if test x$PKG_CONFIG != xno ; then
3721 ## don't try to run the test against uninstalled libtool libs
3722 if $PKG_CONFIG --uninstalled $pkg_config_args; then
3723 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
3724 enable_glibtest=no
3725 fi
3726
3727 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
3728 :
3729 else
3730 no_glib=yes
3731 fi
3732 fi
3733
3734 if test x"$no_glib" = x ; then
3735 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
3736 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
3737 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
3738
3739 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
3740 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
3741 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
3742 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3743 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
3744 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3745 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
3746 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3747 if test "x$enable_glibtest" = "xyes" ; then
3748 ac_save_CFLAGS="$CFLAGS"
3749 ac_save_LIBS="$LIBS"
3750 CFLAGS="$CFLAGS $GLIB_CFLAGS"
3751 LIBS="$GLIB_LIBS $LIBS"
3752 rm -f conf.glibtest
3753 if test "$cross_compiling" = yes; then
3754 echo $ac_n "cross compiling; assumed OK... $ac_c"
3755 else
3756 cat >conftest.$ac_ext <<_ACEOF
3757 /* confdefs.h. */
3758 _ACEOF
3759 cat confdefs.h >>conftest.$ac_ext
3760 cat >>conftest.$ac_ext <<_ACEOF
3761 /* end confdefs.h. */
3762
3763 #include <glib.h>
3764 #include <stdio.h>
3765 #include <stdlib.h>
3766
3767 int
3768 main ()
3769 {
3770 int major, minor, micro;
3771 char *tmp_version;
3772
3773 system ("touch conf.glibtest");
3774
3775 /* HP/UX 9 (%@#!) writes to sscanf strings */
3776 tmp_version = g_strdup("$min_glib_version");
3777 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
3778 printf("%s, bad version string\n", "$min_glib_version");
3779 exit(1);
3780 }
3781
3782 if ((glib_major_version != $glib_config_major_version) ||
3783 (glib_minor_version != $glib_config_minor_version) ||
3784 (glib_micro_version != $glib_config_micro_version))
3785 {
3786 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
3787 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
3788 glib_major_version, glib_minor_version, glib_micro_version);
3789 printf ("*** was found! If pkg-config was correct, then it is best\n");
3790 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
3791 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
3792 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
3793 printf("*** required on your system.\n");
3794 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
3795 printf("*** to point to the correct configuration files\n");
3796 }
3797 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
3798 (glib_minor_version != GLIB_MINOR_VERSION) ||
3799 (glib_micro_version != GLIB_MICRO_VERSION))
3800 {
3801 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
3802 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
3803 printf("*** library (version %d.%d.%d)\n",
3804 glib_major_version, glib_minor_version, glib_micro_version);
3805 }
3806 else
3807 {
3808 if ((glib_major_version > major) ||
3809 ((glib_major_version == major) && (glib_minor_version > minor)) ||
3810 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
3811 {
3812 return 0;
3813 }
3814 else
3815 {
3816 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
3817 glib_major_version, glib_minor_version, glib_micro_version);
3818 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
3819 major, minor, micro);
3820 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
3821 printf("***\n");
3822 printf("*** If you have already installed a sufficiently new version, this error\n");
3823 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
3824 printf("*** being found. The easiest way to fix this is to remove the old version\n");
3825 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
3826 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
3827 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
3828 printf("*** so that the correct libraries are found at run-time))\n");
3829 }
3830 }
3831 return 1;
3832 }
3833
3834 _ACEOF
3835 rm -f conftest$ac_exeext
3836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3837 (eval $ac_link) 2>&5
3838 ac_status=$?
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3842 (eval $ac_try) 2>&5
3843 ac_status=$?
3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3845 (exit $ac_status); }; }; then
3846 :
3847 else
3848 echo "$as_me: program exited with status $ac_status" >&5
3849 echo "$as_me: failed program was:" >&5
3850 sed 's/^/| /' conftest.$ac_ext >&5
3851
3852 ( exit $ac_status )
3853 no_glib=yes
3854 fi
3855 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3856 fi
3857 CFLAGS="$ac_save_CFLAGS"
3858 LIBS="$ac_save_LIBS"
3859 fi
3860 fi
3861 if test "x$no_glib" = x ; then
3862 echo "$as_me:$LINENO: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
3863 echo "${ECHO_T}yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6
3864 :
3865 else
3866 echo "$as_me:$LINENO: result: no" >&5
3867 echo "${ECHO_T}no" >&6
3868 if test "$PKG_CONFIG" = "no" ; then
3869 echo "*** A new enough version of pkg-config was not found."
3870 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
3871 else
3872 if test -f conf.glibtest ; then
3873 :
3874 else
3875 echo "*** Could not run GLIB test program, checking why..."
3876 ac_save_CFLAGS="$CFLAGS"
3877 ac_save_LIBS="$LIBS"
3878 CFLAGS="$CFLAGS $GLIB_CFLAGS"
3879 LIBS="$LIBS $GLIB_LIBS"
3880 cat >conftest.$ac_ext <<_ACEOF
3881 /* confdefs.h. */
3882 _ACEOF
3883 cat confdefs.h >>conftest.$ac_ext
3884 cat >>conftest.$ac_ext <<_ACEOF
3885 /* end confdefs.h. */
3886
3887 #include <glib.h>
3888 #include <stdio.h>
3889
3890 int
3891 main ()
3892 {
3893 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
3894 ;
3895 return 0;
3896 }
3897 _ACEOF
3898 rm -f conftest.$ac_objext conftest$ac_exeext
3899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3900 (eval $ac_link) 2>conftest.er1
3901 ac_status=$?
3902 grep -v '^ *+' conftest.er1 >conftest.err
3903 rm -f conftest.er1
3904 cat conftest.err >&5
3905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906 (exit $ac_status); } &&
3907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3909 (eval $ac_try) 2>&5
3910 ac_status=$?
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); }; } &&
3913 { ac_try='test -s conftest$ac_exeext'
3914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3915 (eval $ac_try) 2>&5
3916 ac_status=$?
3917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918 (exit $ac_status); }; }; then
3919 echo "*** The test program compiled, but did not run. This usually means"
3920 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
3921 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
3922 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
3923 echo "*** to the installed location Also, make sure you have run ldconfig if that"
3924 echo "*** is required on your system"
3925 echo "***"
3926 echo "*** If you have an old version installed, it is best to remove it, although"
3927 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
3928 else
3929 echo "$as_me: failed program was:" >&5
3930 sed 's/^/| /' conftest.$ac_ext >&5
3931
3932 echo "*** The test program failed to compile or link. See the file config.log for the"
3933 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
3934 fi
3935 rm -f conftest.err conftest.$ac_objext \
3936 conftest$ac_exeext conftest.$ac_ext
3937 CFLAGS="$ac_save_CFLAGS"
3938 LIBS="$ac_save_LIBS"
3939 fi
3940 fi
3941 GLIB_CFLAGS=""
3942 GLIB_LIBS=""
3943 GLIB_GENMARSHAL=""
3944 GOBJECT_QUERY=""
3945 GLIB_MKENUMS=""
3946 :
3947 fi
3948
3949
3950
3951
3952
3953 rm -f conf.glibtest
3954
3955
3956 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3957 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3958 if test "${ac_cv_header_stdc+set}" = set; then
3959 echo $ECHO_N "(cached) $ECHO_C" >&6
3960 else
3961 cat >conftest.$ac_ext <<_ACEOF
3962 /* confdefs.h. */
3963 _ACEOF
3964 cat confdefs.h >>conftest.$ac_ext
3965 cat >>conftest.$ac_ext <<_ACEOF
3966 /* end confdefs.h. */
3967 #include <stdlib.h>
3968 #include <stdarg.h>
3969 #include <string.h>
3970 #include <float.h>
3971
3972 int
3973 main ()
3974 {
3975
3976 ;
3977 return 0;
3978 }
3979 _ACEOF
3980 rm -f conftest.$ac_objext
3981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3982 (eval $ac_compile) 2>conftest.er1
3983 ac_status=$?
3984 grep -v '^ *+' conftest.er1 >conftest.err
3985 rm -f conftest.er1
3986 cat conftest.err >&5
3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988 (exit $ac_status); } &&
3989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3991 (eval $ac_try) 2>&5
3992 ac_status=$?
3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); }; } &&
3995 { ac_try='test -s conftest.$ac_objext'
3996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3997 (eval $ac_try) 2>&5
3998 ac_status=$?
3999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4000 (exit $ac_status); }; }; then
4001 ac_cv_header_stdc=yes
4002 else
4003 echo "$as_me: failed program was:" >&5
4004 sed 's/^/| /' conftest.$ac_ext >&5
4005
4006 ac_cv_header_stdc=no
4007 fi
4008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4009
4010 if test $ac_cv_header_stdc = yes; then
4011 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4012 cat >conftest.$ac_ext <<_ACEOF
4013 /* confdefs.h. */
4014 _ACEOF
4015 cat confdefs.h >>conftest.$ac_ext
4016 cat >>conftest.$ac_ext <<_ACEOF
4017 /* end confdefs.h. */
4018 #include <string.h>
4019
4020 _ACEOF
4021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4022 $EGREP "memchr" >/dev/null 2>&1; then
4023 :
4024 else
4025 ac_cv_header_stdc=no
4026 fi
4027 rm -f conftest*
4028
4029 fi
4030
4031 if test $ac_cv_header_stdc = yes; then
4032 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4033 cat >conftest.$ac_ext <<_ACEOF
4034 /* confdefs.h. */
4035 _ACEOF
4036 cat confdefs.h >>conftest.$ac_ext
4037 cat >>conftest.$ac_ext <<_ACEOF
4038 /* end confdefs.h. */
4039 #include <stdlib.h>
4040
4041 _ACEOF
4042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4043 $EGREP "free" >/dev/null 2>&1; then
4044 :
4045 else
4046 ac_cv_header_stdc=no
4047 fi
4048 rm -f conftest*
4049
4050 fi
4051
4052 if test $ac_cv_header_stdc = yes; then
4053 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4054 if test "$cross_compiling" = yes; then
4055 :
4056 else
4057 cat >conftest.$ac_ext <<_ACEOF
4058 /* confdefs.h. */
4059 _ACEOF
4060 cat confdefs.h >>conftest.$ac_ext
4061 cat >>conftest.$ac_ext <<_ACEOF
4062 /* end confdefs.h. */
4063 #include <ctype.h>
4064 #if ((' ' & 0x0FF) == 0x020)
4065 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4066 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4067 #else
4068 # define ISLOWER(c) \
4069 (('a' <= (c) && (c) <= 'i') \
4070 || ('j' <= (c) && (c) <= 'r') \
4071 || ('s' <= (c) && (c) <= 'z'))
4072 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4073 #endif
4074
4075 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4076 int
4077 main ()
4078 {
4079 int i;
4080 for (i = 0; i < 256; i++)
4081 if (XOR (islower (i), ISLOWER (i))
4082 || toupper (i) != TOUPPER (i))
4083 exit(2);
4084 exit (0);
4085 }
4086 _ACEOF
4087 rm -f conftest$ac_exeext
4088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4089 (eval $ac_link) 2>&5
4090 ac_status=$?
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4094 (eval $ac_try) 2>&5
4095 ac_status=$?
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); }; }; then
4098 :
4099 else
4100 echo "$as_me: program exited with status $ac_status" >&5
4101 echo "$as_me: failed program was:" >&5
4102 sed 's/^/| /' conftest.$ac_ext >&5
4103
4104 ( exit $ac_status )
4105 ac_cv_header_stdc=no
4106 fi
4107 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4108 fi
4109 fi
4110 fi
4111 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4112 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4113 if test $ac_cv_header_stdc = yes; then
4114
4115 cat >>confdefs.h <<\_ACEOF
4116 #define STDC_HEADERS 1
4117 _ACEOF
4118
4119 fi
4120
4121 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4132 inttypes.h stdint.h unistd.h
4133 do
4134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4135 echo "$as_me:$LINENO: checking for $ac_header" >&5
4136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4138 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 else
4140 cat >conftest.$ac_ext <<_ACEOF
4141 /* confdefs.h. */
4142 _ACEOF
4143 cat confdefs.h >>conftest.$ac_ext
4144 cat >>conftest.$ac_ext <<_ACEOF
4145 /* end confdefs.h. */
4146 $ac_includes_default
4147
4148 #include <$ac_header>
4149 _ACEOF
4150 rm -f conftest.$ac_objext
4151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4152 (eval $ac_compile) 2>conftest.er1
4153 ac_status=$?
4154 grep -v '^ *+' conftest.er1 >conftest.err
4155 rm -f conftest.er1
4156 cat conftest.err >&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); } &&
4159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4161 (eval $ac_try) 2>&5
4162 ac_status=$?
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); }; } &&
4165 { ac_try='test -s conftest.$ac_objext'
4166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4167 (eval $ac_try) 2>&5
4168 ac_status=$?
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; }; then
4171 eval "$as_ac_Header=yes"
4172 else
4173 echo "$as_me: failed program was:" >&5
4174 sed 's/^/| /' conftest.$ac_ext >&5
4175
4176 eval "$as_ac_Header=no"
4177 fi
4178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4179 fi
4180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4183 cat >>confdefs.h <<_ACEOF
4184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4185 _ACEOF
4186
4187 fi
4188
4189 done
4190
4191
4192
4193
4194
4195 for ac_header in getopt.h sys/vfs.h sys/statvfs.h
4196 do
4197 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4199 echo "$as_me:$LINENO: checking for $ac_header" >&5
4200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4203 fi
4204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4206 else
4207 # Is the header compilable?
4208 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4209 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4210 cat >conftest.$ac_ext <<_ACEOF
4211 /* confdefs.h. */
4212 _ACEOF
4213 cat confdefs.h >>conftest.$ac_ext
4214 cat >>conftest.$ac_ext <<_ACEOF
4215 /* end confdefs.h. */
4216 $ac_includes_default
4217 #include <$ac_header>
4218 _ACEOF
4219 rm -f conftest.$ac_objext
4220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4221 (eval $ac_compile) 2>conftest.er1
4222 ac_status=$?
4223 grep -v '^ *+' conftest.er1 >conftest.err
4224 rm -f conftest.er1
4225 cat conftest.err >&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); } &&
4228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4230 (eval $ac_try) 2>&5
4231 ac_status=$?
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); }; } &&
4234 { ac_try='test -s conftest.$ac_objext'
4235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4236 (eval $ac_try) 2>&5
4237 ac_status=$?
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); }; }; then
4240 ac_header_compiler=yes
4241 else
4242 echo "$as_me: failed program was:" >&5
4243 sed 's/^/| /' conftest.$ac_ext >&5
4244
4245 ac_header_compiler=no
4246 fi
4247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4248 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4249 echo "${ECHO_T}$ac_header_compiler" >&6
4250
4251 # Is the header present?
4252 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4253 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4254 cat >conftest.$ac_ext <<_ACEOF
4255 /* confdefs.h. */
4256 _ACEOF
4257 cat confdefs.h >>conftest.$ac_ext
4258 cat >>conftest.$ac_ext <<_ACEOF
4259 /* end confdefs.h. */
4260 #include <$ac_header>
4261 _ACEOF
4262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4263 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4264 ac_status=$?
4265 grep -v '^ *+' conftest.er1 >conftest.err
4266 rm -f conftest.er1
4267 cat conftest.err >&5
4268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269 (exit $ac_status); } >/dev/null; then
4270 if test -s conftest.err; then
4271 ac_cpp_err=$ac_c_preproc_warn_flag
4272 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4273 else
4274 ac_cpp_err=
4275 fi
4276 else
4277 ac_cpp_err=yes
4278 fi
4279 if test -z "$ac_cpp_err"; then
4280 ac_header_preproc=yes
4281 else
4282 echo "$as_me: failed program was:" >&5
4283 sed 's/^/| /' conftest.$ac_ext >&5
4284
4285 ac_header_preproc=no
4286 fi
4287 rm -f conftest.err conftest.$ac_ext
4288 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4289 echo "${ECHO_T}$ac_header_preproc" >&6
4290
4291 # So? What about this header?
4292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4293 yes:no: )
4294 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4295 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4297 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4298 ac_header_preproc=yes
4299 ;;
4300 no:yes:* )
4301 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4302 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4303 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4304 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4305 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4306 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4307 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4308 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4310 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4311 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4312 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4313 (
4314 cat <<\_ASBOX
4315 ## -------------------------------- ##
4316 ## Report this to [email protected] ##
4317 ## -------------------------------- ##
4318 _ASBOX
4319 ) |
4320 sed "s/^/$as_me: WARNING: /" >&2
4321 ;;
4322 esac
4323 echo "$as_me:$LINENO: checking for $ac_header" >&5
4324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4326 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 else
4328 eval "$as_ac_Header=\$ac_header_preproc"
4329 fi
4330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4332
4333 fi
4334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4335 cat >>confdefs.h <<_ACEOF
4336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4337 _ACEOF
4338
4339 fi
4340
4341 done
4342
4343
4344
4345 for ac_header in sys/param.h sys/mount.h
4346 do
4347 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4348 echo "$as_me:$LINENO: checking for $ac_header" >&5
4349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4351 echo $ECHO_N "(cached) $ECHO_C" >&6
4352 else
4353 cat >conftest.$ac_ext <<_ACEOF
4354 /* confdefs.h. */
4355 _ACEOF
4356 cat confdefs.h >>conftest.$ac_ext
4357 cat >>conftest.$ac_ext <<_ACEOF
4358 /* end confdefs.h. */
4359
4360
4361 #if HAVE_SYS_PARAM_H
4362 # include <sys/param.h>
4363 #endif
4364
4365
4366
4367 #include <$ac_header>
4368 _ACEOF
4369 rm -f conftest.$ac_objext
4370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4371 (eval $ac_compile) 2>conftest.er1
4372 ac_status=$?
4373 grep -v '^ *+' conftest.er1 >conftest.err
4374 rm -f conftest.er1
4375 cat conftest.err >&5
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); } &&
4378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4380 (eval $ac_try) 2>&5
4381 ac_status=$?
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); }; } &&
4384 { ac_try='test -s conftest.$ac_objext'
4385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4386 (eval $ac_try) 2>&5
4387 ac_status=$?
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); }; }; then
4390 eval "$as_ac_Header=yes"
4391 else
4392 echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.$ac_ext >&5
4394
4395 eval "$as_ac_Header=no"
4396 fi
4397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4398 fi
4399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4402 cat >>confdefs.h <<_ACEOF
4403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4404 _ACEOF
4405
4406 fi
4407
4408 done
4409
4410
4411 if test $prefix = "NONE"; then
4412 if test $sysconfdir = '${prefix}/etc'; then
4413 sysconfdir="/etc"
4414 fi
4415 fi
4416 ac_config_files="$ac_config_files Makefile src/Makefile src/hdup.h contrib/hdup.spec"
4417
4418 ac_config_headers="$ac_config_headers src/config.h"
4419
4420 cat >confcache <<\_ACEOF
4421 # This file is a shell script that caches the results of configure
4422 # tests run on this system so they can be shared between configure
4423 # scripts and configure runs, see configure's option --config-cache.
4424 # It is not useful on other systems. If it contains results you don't
4425 # want to keep, you may remove or edit it.
4426 #
4427 # config.status only pays attention to the cache file if you give it
4428 # the --recheck option to rerun configure.
4429 #
4430 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4431 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4432 # following values.
4433
4434 _ACEOF
4435
4436 # The following way of writing the cache mishandles newlines in values,
4437 # but we know of no workaround that is simple, portable, and efficient.
4438 # So, don't put newlines in cache variables' values.
4439 # Ultrix sh set writes to stderr and can't be redirected directly,
4440 # and sets the high bit in the cache file unless we assign to the vars.
4441 {
4442 (set) 2>&1 |
4443 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4444 *ac_space=\ *)
4445 # `set' does not quote correctly, so add quotes (double-quote
4446 # substitution turns \\\\ into \\, and sed turns \\ into \).
4447 sed -n \
4448 "s/'/'\\\\''/g;
4449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4450 ;;
4451 *)
4452 # `set' quotes correctly as required by POSIX, so do not add quotes.
4453 sed -n \
4454 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4455 ;;
4456 esac;
4457 } |
4458 sed '
4459 t clear
4460 : clear
4461 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4462 t end
4463 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4464 : end' >>confcache
4465 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4466 if test -w $cache_file; then
4467 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4468 cat confcache >$cache_file
4469 else
4470 echo "not updating unwritable cache $cache_file"
4471 fi
4472 fi
4473 rm -f confcache
4474
4475 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4476 # Let make expand exec_prefix.
4477 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4478
4479 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4480 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4481 # trailing colons and then remove the whole line if VPATH becomes empty
4482 # (actually we leave an empty line to preserve line numbers).
4483 if test "x$srcdir" = x.; then
4484 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4485 s/:*\$(srcdir):*/:/;
4486 s/:*\${srcdir}:*/:/;
4487 s/:*@srcdir@:*/:/;
4488 s/^\([^=]*=[ ]*\):*/\1/;
4489 s/:*$//;
4490 s/^[^=]*=[ ]*$//;
4491 }'
4492 fi
4493
4494 DEFS=-DHAVE_CONFIG_H
4495
4496 ac_libobjs=
4497 ac_ltlibobjs=
4498 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4499 # 1. Remove the extension, and $U if already installed.
4500 ac_i=`echo "$ac_i" |
4501 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4502 # 2. Add them.
4503 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4504 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4505 done
4506 LIBOBJS=$ac_libobjs
4507
4508 LTLIBOBJS=$ac_ltlibobjs
4509
4510
4511
4512 : ${CONFIG_STATUS=./config.status}
4513 ac_clean_files_save=$ac_clean_files
4514 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4515 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4516 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4517 cat >$CONFIG_STATUS <<_ACEOF
4518 #! $SHELL
4519 # Generated by $as_me.
4520 # Run this file to recreate the current configuration.
4521 # Compiler output produced by configure, useful for debugging
4522 # configure, is in config.log if it exists.
4523
4524 debug=false
4525 ac_cs_recheck=false
4526 ac_cs_silent=false
4527 SHELL=\${CONFIG_SHELL-$SHELL}
4528 _ACEOF
4529
4530 cat >>$CONFIG_STATUS <<\_ACEOF
4531 ## --------------------- ##
4532 ## M4sh Initialization. ##
4533 ## --------------------- ##
4534
4535 # Be Bourne compatible
4536 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4537 emulate sh
4538 NULLCMD=:
4539 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4540 # is contrary to our usage. Disable this feature.
4541 alias -g '${1+"$@"}'='"$@"'
4542 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4543 set -o posix
4544 fi
4545 DUALCASE=1; export DUALCASE # for MKS sh
4546
4547 # Support unset when possible.
4548 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4549 as_unset=unset
4550 else
4551 as_unset=false
4552 fi
4553
4554
4555 # Work around bugs in pre-3.0 UWIN ksh.
4556 $as_unset ENV MAIL MAILPATH
4557 PS1='$ '
4558 PS2='> '
4559 PS4='+ '
4560
4561 # NLS nuisances.
4562 for as_var in \
4563 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4564 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4565 LC_TELEPHONE LC_TIME
4566 do
4567 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4568 eval $as_var=C; export $as_var
4569 else
4570 $as_unset $as_var
4571 fi
4572 done
4573
4574 # Required to use basename.
4575 if expr a : '\(a\)' >/dev/null 2>&1; then
4576 as_expr=expr
4577 else
4578 as_expr=false
4579 fi
4580
4581 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4582 as_basename=basename
4583 else
4584 as_basename=false
4585 fi
4586
4587
4588 # Name of the executable.
4589 as_me=`$as_basename "$0" ||
4590 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4591 X"$0" : 'X\(//\)$' \| \
4592 X"$0" : 'X\(/\)$' \| \
4593 . : '\(.\)' 2>/dev/null ||
4594 echo X/"$0" |
4595 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4596 /^X\/\(\/\/\)$/{ s//\1/; q; }
4597 /^X\/\(\/\).*/{ s//\1/; q; }
4598 s/.*/./; q'`
4599
4600
4601 # PATH needs CR, and LINENO needs CR and PATH.
4602 # Avoid depending upon Character Ranges.
4603 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4604 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4605 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4606 as_cr_digits='0123456789'
4607 as_cr_alnum=$as_cr_Letters$as_cr_digits
4608
4609 # The user is always right.
4610 if test "${PATH_SEPARATOR+set}" != set; then
4611 echo "#! /bin/sh" >conf$$.sh
4612 echo "exit 0" >>conf$$.sh
4613 chmod +x conf$$.sh
4614 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4615 PATH_SEPARATOR=';'
4616 else
4617 PATH_SEPARATOR=:
4618 fi
4619 rm -f conf$$.sh
4620 fi
4621
4622
4623 as_lineno_1=$LINENO
4624 as_lineno_2=$LINENO
4625 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4626 test "x$as_lineno_1" != "x$as_lineno_2" &&
4627 test "x$as_lineno_3" = "x$as_lineno_2" || {
4628 # Find who we are. Look in the path if we contain no path at all
4629 # relative or not.
4630 case $0 in
4631 *[\\/]* ) as_myself=$0 ;;
4632 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4633 for as_dir in $PATH
4634 do
4635 IFS=$as_save_IFS
4636 test -z "$as_dir" && as_dir=.
4637 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4638 done
4639
4640 ;;
4641 esac
4642 # We did not find ourselves, most probably we were run as `sh COMMAND'
4643 # in which case we are not to be found in the path.
4644 if test "x$as_myself" = x; then
4645 as_myself=$0
4646 fi
4647 if test ! -f "$as_myself"; then
4648 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4649 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4650 { (exit 1); exit 1; }; }
4651 fi
4652 case $CONFIG_SHELL in
4653 '')
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4656 do
4657 IFS=$as_save_IFS
4658 test -z "$as_dir" && as_dir=.
4659 for as_base in sh bash ksh sh5; do
4660 case $as_dir in
4661 /*)
4662 if ("$as_dir/$as_base" -c '
4663 as_lineno_1=$LINENO
4664 as_lineno_2=$LINENO
4665 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4666 test "x$as_lineno_1" != "x$as_lineno_2" &&
4667 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4668 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4669 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4670 CONFIG_SHELL=$as_dir/$as_base
4671 export CONFIG_SHELL
4672 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4673 fi;;
4674 esac
4675 done
4676 done
4677 ;;
4678 esac
4679
4680 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4681 # uniformly replaced by the line number. The first 'sed' inserts a
4682 # line-number line before each line; the second 'sed' does the real
4683 # work. The second script uses 'N' to pair each line-number line
4684 # with the numbered line, and appends trailing '-' during
4685 # substitution so that $LINENO is not a special case at line end.
4686 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4687 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4688 sed '=' <$as_myself |
4689 sed '
4690 N
4691 s,$,-,
4692 : loop
4693 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4694 t loop
4695 s,-$,,
4696 s,^['$as_cr_digits']*\n,,
4697 ' >$as_me.lineno &&
4698 chmod +x $as_me.lineno ||
4699 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4700 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4701 { (exit 1); exit 1; }; }
4702
4703 # Don't try to exec as it changes $[0], causing all sort of problems
4704 # (the dirname of $[0] is not the place where we might find the
4705 # original and so on. Autoconf is especially sensible to this).
4706 . ./$as_me.lineno
4707 # Exit status is that of the last command.
4708 exit
4709 }
4710
4711
4712 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4713 *c*,-n*) ECHO_N= ECHO_C='
4714 ' ECHO_T=' ' ;;
4715 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4716 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4717 esac
4718
4719 if expr a : '\(a\)' >/dev/null 2>&1; then
4720 as_expr=expr
4721 else
4722 as_expr=false
4723 fi
4724
4725 rm -f conf$$ conf$$.exe conf$$.file
4726 echo >conf$$.file
4727 if ln -s conf$$.file conf$$ 2>/dev/null; then
4728 # We could just check for DJGPP; but this test a) works b) is more generic
4729 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4730 if test -f conf$$.exe; then
4731 # Don't use ln at all; we don't have any links
4732 as_ln_s='cp -p'
4733 else
4734 as_ln_s='ln -s'
4735 fi
4736 elif ln conf$$.file conf$$ 2>/dev/null; then
4737 as_ln_s=ln
4738 else
4739 as_ln_s='cp -p'
4740 fi
4741 rm -f conf$$ conf$$.exe conf$$.file
4742
4743 if mkdir -p . 2>/dev/null; then
4744 as_mkdir_p=:
4745 else
4746 test -d ./-p && rmdir ./-p
4747 as_mkdir_p=false
4748 fi
4749
4750 as_executable_p="test -f"
4751
4752 # Sed expression to map a string onto a valid CPP name.
4753 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4754
4755 # Sed expression to map a string onto a valid variable name.
4756 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4757
4758
4759 # IFS
4760 # We need space, tab and new line, in precisely that order.
4761 as_nl='
4762 '
4763 IFS=" $as_nl"
4764
4765 # CDPATH.
4766 $as_unset CDPATH
4767
4768 exec 6>&1
4769
4770 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4771 # report actual input values of CONFIG_FILES etc. instead of their
4772 # values after options handling. Logging --version etc. is OK.
4773 exec 5>>config.log
4774 {
4775 echo
4776 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4777 ## Running $as_me. ##
4778 _ASBOX
4779 } >&5
4780 cat >&5 <<_CSEOF
4781
4782 This file was extended by hdup $as_me 2.0.14, which was
4783 generated by GNU Autoconf 2.59. Invocation command line was
4784
4785 CONFIG_FILES = $CONFIG_FILES
4786 CONFIG_HEADERS = $CONFIG_HEADERS
4787 CONFIG_LINKS = $CONFIG_LINKS
4788 CONFIG_COMMANDS = $CONFIG_COMMANDS
4789 $ $0 $@
4790
4791 _CSEOF
4792 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4793 echo >&5
4794 _ACEOF
4795
4796 # Files that config.status was made for.
4797 if test -n "$ac_config_files"; then
4798 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4799 fi
4800
4801 if test -n "$ac_config_headers"; then
4802 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4803 fi
4804
4805 if test -n "$ac_config_links"; then
4806 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4807 fi
4808
4809 if test -n "$ac_config_commands"; then
4810 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4811 fi
4812
4813 cat >>$CONFIG_STATUS <<\_ACEOF
4814
4815 ac_cs_usage="\
4816 \`$as_me' instantiates files from templates according to the
4817 current configuration.
4818
4819 Usage: $0 [OPTIONS] [FILE]...
4820
4821 -h, --help print this help, then exit
4822 -V, --version print version number, then exit
4823 -q, --quiet do not print progress messages
4824 -d, --debug don't remove temporary files
4825 --recheck update $as_me by reconfiguring in the same conditions
4826 --file=FILE[:TEMPLATE]
4827 instantiate the configuration file FILE
4828 --header=FILE[:TEMPLATE]
4829 instantiate the configuration header FILE
4830
4831 Configuration files:
4832 $config_files
4833
4834 Configuration headers:
4835 $config_headers
4836
4837 Report bugs to <[email protected]>."
4838 _ACEOF
4839
4840 cat >>$CONFIG_STATUS <<_ACEOF
4841 ac_cs_version="\\
4842 hdup config.status 2.0.14
4843 configured by $0, generated by GNU Autoconf 2.59,
4844 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4845
4846 Copyright (C) 2003 Free Software Foundation, Inc.
4847 This config.status script is free software; the Free Software Foundation
4848 gives unlimited permission to copy, distribute and modify it."
4849 srcdir=$srcdir
4850 _ACEOF
4851
4852 cat >>$CONFIG_STATUS <<\_ACEOF
4853 # If no file are specified by the user, then we need to provide default
4854 # value. By we need to know if files were specified by the user.
4855 ac_need_defaults=:
4856 while test $# != 0
4857 do
4858 case $1 in
4859 --*=*)
4860 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4861 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4862 ac_shift=:
4863 ;;
4864 -*)
4865 ac_option=$1
4866 ac_optarg=$2
4867 ac_shift=shift
4868 ;;
4869 *) # This is not an option, so the user has probably given explicit
4870 # arguments.
4871 ac_option=$1
4872 ac_need_defaults=false;;
4873 esac
4874
4875 case $ac_option in
4876 # Handling of the options.
4877 _ACEOF
4878 cat >>$CONFIG_STATUS <<\_ACEOF
4879 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4880 ac_cs_recheck=: ;;
4881 --version | --vers* | -V )
4882 echo "$ac_cs_version"; exit 0 ;;
4883 --he | --h)
4884 # Conflict between --help and --header
4885 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4886 Try \`$0 --help' for more information." >&5
4887 echo "$as_me: error: ambiguous option: $1
4888 Try \`$0 --help' for more information." >&2;}
4889 { (exit 1); exit 1; }; };;
4890 --help | --hel | -h )
4891 echo "$ac_cs_usage"; exit 0 ;;
4892 --debug | --d* | -d )
4893 debug=: ;;
4894 --file | --fil | --fi | --f )
4895 $ac_shift
4896 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4897 ac_need_defaults=false;;
4898 --header | --heade | --head | --hea )
4899 $ac_shift
4900 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4901 ac_need_defaults=false;;
4902 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4903 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4904 ac_cs_silent=: ;;
4905
4906 # This is an error.
4907 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4908 Try \`$0 --help' for more information." >&5
4909 echo "$as_me: error: unrecognized option: $1
4910 Try \`$0 --help' for more information." >&2;}
4911 { (exit 1); exit 1; }; } ;;
4912
4913 *) ac_config_targets="$ac_config_targets $1" ;;
4914
4915 esac
4916 shift
4917 done
4918
4919 ac_configure_extra_args=
4920
4921 if $ac_cs_silent; then
4922 exec 6>/dev/null
4923 ac_configure_extra_args="$ac_configure_extra_args --silent"
4924 fi
4925
4926 _ACEOF
4927 cat >>$CONFIG_STATUS <<_ACEOF
4928 if \$ac_cs_recheck; then
4929 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4930 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4931 fi
4932
4933 _ACEOF
4934
4935
4936
4937
4938
4939 cat >>$CONFIG_STATUS <<\_ACEOF
4940 for ac_config_target in $ac_config_targets
4941 do
4942 case "$ac_config_target" in
4943 # Handling of arguments.
4944 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4945 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4946 "src/hdup.h" ) CONFIG_FILES="$CONFIG_FILES src/hdup.h" ;;
4947 "contrib/hdup.spec" ) CONFIG_FILES="$CONFIG_FILES contrib/hdup.spec" ;;
4948 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
4949 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4950 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4951 { (exit 1); exit 1; }; };;
4952 esac
4953 done
4954
4955 # If the user did not use the arguments to specify the items to instantiate,
4956 # then the envvar interface is used. Set only those that are not.
4957 # We use the long form for the default assignment because of an extremely
4958 # bizarre bug on SunOS 4.1.3.
4959 if $ac_need_defaults; then
4960 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4961 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4962 fi
4963
4964 # Have a temporary directory for convenience. Make it in the build tree
4965 # simply because there is no reason to put it here, and in addition,
4966 # creating and moving files from /tmp can sometimes cause problems.
4967 # Create a temporary directory, and hook for its removal unless debugging.
4968 $debug ||
4969 {
4970 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4971 trap '{ (exit 1); exit 1; }' 1 2 13 15
4972 }
4973
4974 # Create a (secure) tmp directory for tmp files.
4975
4976 {
4977 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4978 test -n "$tmp" && test -d "$tmp"
4979 } ||
4980 {
4981 tmp=./confstat$$-$RANDOM
4982 (umask 077 && mkdir $tmp)
4983 } ||
4984 {
4985 echo "$me: cannot create a temporary directory in ." >&2
4986 { (exit 1); exit 1; }
4987 }
4988
4989 _ACEOF
4990
4991 cat >>$CONFIG_STATUS <<_ACEOF
4992
4993 #
4994 # CONFIG_FILES section.
4995 #
4996
4997 # No need to generate the scripts if there are no CONFIG_FILES.
4998 # This happens for instance when ./config.status config.h
4999 if test -n "\$CONFIG_FILES"; then
5000 # Protect against being on the right side of a sed subst in config.status.
5001 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5002 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5003 s,@SHELL@,$SHELL,;t t
5004 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5005 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5006 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5007 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5008 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5009 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5010 s,@exec_prefix@,$exec_prefix,;t t
5011 s,@prefix@,$prefix,;t t
5012 s,@program_transform_name@,$program_transform_name,;t t
5013 s,@bindir@,$bindir,;t t
5014 s,@sbindir@,$sbindir,;t t
5015 s,@libexecdir@,$libexecdir,;t t
5016 s,@datadir@,$datadir,;t t
5017 s,@sysconfdir@,$sysconfdir,;t t
5018 s,@sharedstatedir@,$sharedstatedir,;t t
5019 s,@localstatedir@,$localstatedir,;t t
5020 s,@libdir@,$libdir,;t t
5021 s,@includedir@,$includedir,;t t
5022 s,@oldincludedir@,$oldincludedir,;t t
5023 s,@infodir@,$infodir,;t t
5024 s,@mandir@,$mandir,;t t
5025 s,@build_alias@,$build_alias,;t t
5026 s,@host_alias@,$host_alias,;t t
5027 s,@target_alias@,$target_alias,;t t
5028 s,@DEFS@,$DEFS,;t t
5029 s,@ECHO_C@,$ECHO_C,;t t
5030 s,@ECHO_N@,$ECHO_N,;t t
5031 s,@ECHO_T@,$ECHO_T,;t t
5032 s,@LIBS@,$LIBS,;t t
5033 s,@CC@,$CC,;t t
5034 s,@CFLAGS@,$CFLAGS,;t t
5035 s,@LDFLAGS@,$LDFLAGS,;t t
5036 s,@CPPFLAGS@,$CPPFLAGS,;t t
5037 s,@ac_ct_CC@,$ac_ct_CC,;t t
5038 s,@EXEEXT@,$EXEEXT,;t t
5039 s,@OBJEXT@,$OBJEXT,;t t
5040 s,@CPP@,$CPP,;t t
5041 s,@EGREP@,$EGREP,;t t
5042 s,@SET_MAKE@,$SET_MAKE,;t t
5043 s,@tar@,$tar,;t t
5044 s,@mcrypt@,$mcrypt,;t t
5045 s,@gpg@,$gpg,;t t
5046 s,@ssh@,$ssh,;t t
5047 s,@bzip@,$bzip,;t t
5048 s,@gzip@,$gzip,;t t
5049 s,@lzop@,$lzop,;t t
5050 s,@split@,$split,;t t
5051 s,@cat@,$cat,;t t
5052 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
5053 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
5054 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
5055 s,@GLIB_GENMARSHAL@,$GLIB_GENMARSHAL,;t t
5056 s,@GOBJECT_QUERY@,$GOBJECT_QUERY,;t t
5057 s,@GLIB_MKENUMS@,$GLIB_MKENUMS,;t t
5058 s,@LIBOBJS@,$LIBOBJS,;t t
5059 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5060 CEOF
5061
5062 _ACEOF
5063
5064 cat >>$CONFIG_STATUS <<\_ACEOF
5065 # Split the substitutions into bite-sized pieces for seds with
5066 # small command number limits, like on Digital OSF/1 and HP-UX.
5067 ac_max_sed_lines=48
5068 ac_sed_frag=1 # Number of current file.
5069 ac_beg=1 # First line for current file.
5070 ac_end=$ac_max_sed_lines # Line after last line for current file.
5071 ac_more_lines=:
5072 ac_sed_cmds=
5073 while $ac_more_lines; do
5074 if test $ac_beg -gt 1; then
5075 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5076 else
5077 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5078 fi
5079 if test ! -s $tmp/subs.frag; then
5080 ac_more_lines=false
5081 else
5082 # The purpose of the label and of the branching condition is to
5083 # speed up the sed processing (if there are no `@' at all, there
5084 # is no need to browse any of the substitutions).
5085 # These are the two extra sed commands mentioned above.
5086 (echo ':t
5087 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5088 if test -z "$ac_sed_cmds"; then
5089 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5090 else
5091 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5092 fi
5093 ac_sed_frag=`expr $ac_sed_frag + 1`
5094 ac_beg=$ac_end
5095 ac_end=`expr $ac_end + $ac_max_sed_lines`
5096 fi
5097 done
5098 if test -z "$ac_sed_cmds"; then
5099 ac_sed_cmds=cat
5100 fi
5101 fi # test -n "$CONFIG_FILES"
5102
5103 _ACEOF
5104 cat >>$CONFIG_STATUS <<\_ACEOF
5105 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5106 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5107 case $ac_file in
5108 - | *:- | *:-:* ) # input from stdin
5109 cat >$tmp/stdin
5110 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5111 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5112 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5113 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5114 * ) ac_file_in=$ac_file.in ;;
5115 esac
5116
5117 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5118 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5119 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5120 X"$ac_file" : 'X\(//\)[^/]' \| \
5121 X"$ac_file" : 'X\(//\)$' \| \
5122 X"$ac_file" : 'X\(/\)' \| \
5123 . : '\(.\)' 2>/dev/null ||
5124 echo X"$ac_file" |
5125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5126 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5127 /^X\(\/\/\)$/{ s//\1/; q; }
5128 /^X\(\/\).*/{ s//\1/; q; }
5129 s/.*/./; q'`
5130 { if $as_mkdir_p; then
5131 mkdir -p "$ac_dir"
5132 else
5133 as_dir="$ac_dir"
5134 as_dirs=
5135 while test ! -d "$as_dir"; do
5136 as_dirs="$as_dir $as_dirs"
5137 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5138 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5139 X"$as_dir" : 'X\(//\)[^/]' \| \
5140 X"$as_dir" : 'X\(//\)$' \| \
5141 X"$as_dir" : 'X\(/\)' \| \
5142 . : '\(.\)' 2>/dev/null ||
5143 echo X"$as_dir" |
5144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5145 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5146 /^X\(\/\/\)$/{ s//\1/; q; }
5147 /^X\(\/\).*/{ s//\1/; q; }
5148 s/.*/./; q'`
5149 done
5150 test ! -n "$as_dirs" || mkdir $as_dirs
5151 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5152 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5153 { (exit 1); exit 1; }; }; }
5154
5155 ac_builddir=.
5156
5157 if test "$ac_dir" != .; then
5158 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5159 # A "../" for each directory in $ac_dir_suffix.
5160 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5161 else
5162 ac_dir_suffix= ac_top_builddir=
5163 fi
5164
5165 case $srcdir in
5166 .) # No --srcdir option. We are building in place.
5167 ac_srcdir=.
5168 if test -z "$ac_top_builddir"; then
5169 ac_top_srcdir=.
5170 else
5171 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5172 fi ;;
5173 [\\/]* | ?:[\\/]* ) # Absolute path.
5174 ac_srcdir=$srcdir$ac_dir_suffix;
5175 ac_top_srcdir=$srcdir ;;
5176 *) # Relative path.
5177 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5178 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5179 esac
5180
5181 # Do not use `cd foo && pwd` to compute absolute paths, because
5182 # the directories may not exist.
5183 case `pwd` in
5184 .) ac_abs_builddir="$ac_dir";;
5185 *)
5186 case "$ac_dir" in
5187 .) ac_abs_builddir=`pwd`;;
5188 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5189 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5190 esac;;
5191 esac
5192 case $ac_abs_builddir in
5193 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5194 *)
5195 case ${ac_top_builddir}. in
5196 .) ac_abs_top_builddir=$ac_abs_builddir;;
5197 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5198 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5199 esac;;
5200 esac
5201 case $ac_abs_builddir in
5202 .) ac_abs_srcdir=$ac_srcdir;;
5203 *)
5204 case $ac_srcdir in
5205 .) ac_abs_srcdir=$ac_abs_builddir;;
5206 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5207 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5208 esac;;
5209 esac
5210 case $ac_abs_builddir in
5211 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5212 *)
5213 case $ac_top_srcdir in
5214 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5215 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5216 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5217 esac;;
5218 esac
5219
5220
5221
5222 # Let's still pretend it is `configure' which instantiates (i.e., don't
5223 # use $as_me), people would be surprised to read:
5224 # /* config.h. Generated by config.status. */
5225 if test x"$ac_file" = x-; then
5226 configure_input=
5227 else
5228 configure_input="$ac_file. "
5229 fi
5230 configure_input=$configure_input"Generated from `echo $ac_file_in |
5231 sed 's,.*/,,'` by configure."
5232
5233 # First look for the input files in the build tree, otherwise in the
5234 # src tree.
5235 ac_file_inputs=`IFS=:
5236 for f in $ac_file_in; do
5237 case $f in
5238 -) echo $tmp/stdin ;;
5239 [\\/$]*)
5240 # Absolute (can't be DOS-style, as IFS=:)
5241 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5242 echo "$as_me: error: cannot find input file: $f" >&2;}
5243 { (exit 1); exit 1; }; }
5244 echo "$f";;
5245 *) # Relative
5246 if test -f "$f"; then
5247 # Build tree
5248 echo "$f"
5249 elif test -f "$srcdir/$f"; then
5250 # Source tree
5251 echo "$srcdir/$f"
5252 else
5253 # /dev/null tree
5254 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5255 echo "$as_me: error: cannot find input file: $f" >&2;}
5256 { (exit 1); exit 1; }; }
5257 fi;;
5258 esac
5259 done` || { (exit 1); exit 1; }
5260
5261 if test x"$ac_file" != x-; then
5262 { echo "$as_me:$LINENO: creating $ac_file" >&5
5263 echo "$as_me: creating $ac_file" >&6;}
5264 rm -f "$ac_file"
5265 fi
5266 _ACEOF
5267 cat >>$CONFIG_STATUS <<_ACEOF
5268 sed "$ac_vpsub
5269 $extrasub
5270 _ACEOF
5271 cat >>$CONFIG_STATUS <<\_ACEOF
5272 :t
5273 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5274 s,@configure_input@,$configure_input,;t t
5275 s,@srcdir@,$ac_srcdir,;t t
5276 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5277 s,@top_srcdir@,$ac_top_srcdir,;t t
5278 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5279 s,@builddir@,$ac_builddir,;t t
5280 s,@abs_builddir@,$ac_abs_builddir,;t t
5281 s,@top_builddir@,$ac_top_builddir,;t t
5282 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5283 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5284 rm -f $tmp/stdin
5285 if test x"$ac_file" != x-; then
5286 mv $tmp/out $ac_file
5287 else
5288 cat $tmp/out
5289 rm -f $tmp/out
5290 fi
5291
5292 done
5293 _ACEOF
5294 cat >>$CONFIG_STATUS <<\_ACEOF
5295
5296 #
5297 # CONFIG_HEADER section.
5298 #
5299
5300 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5301 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5302 #
5303 # ac_d sets the value in "#define NAME VALUE" lines.
5304 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5305 ac_dB='[ ].*$,\1#\2'
5306 ac_dC=' '
5307 ac_dD=',;t'
5308 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5309 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5310 ac_uB='$,\1#\2define\3'
5311 ac_uC=' '
5312 ac_uD=',;t'
5313
5314 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5315 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5316 case $ac_file in
5317 - | *:- | *:-:* ) # input from stdin
5318 cat >$tmp/stdin
5319 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5320 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5321 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5322 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5323 * ) ac_file_in=$ac_file.in ;;
5324 esac
5325
5326 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5327 echo "$as_me: creating $ac_file" >&6;}
5328
5329 # First look for the input files in the build tree, otherwise in the
5330 # src tree.
5331 ac_file_inputs=`IFS=:
5332 for f in $ac_file_in; do
5333 case $f in
5334 -) echo $tmp/stdin ;;
5335 [\\/$]*)
5336 # Absolute (can't be DOS-style, as IFS=:)
5337 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5338 echo "$as_me: error: cannot find input file: $f" >&2;}
5339 { (exit 1); exit 1; }; }
5340 # Do quote $f, to prevent DOS paths from being IFS'd.
5341 echo "$f";;
5342 *) # Relative
5343 if test -f "$f"; then
5344 # Build tree
5345 echo "$f"
5346 elif test -f "$srcdir/$f"; then
5347 # Source tree
5348 echo "$srcdir/$f"
5349 else
5350 # /dev/null tree
5351 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5352 echo "$as_me: error: cannot find input file: $f" >&2;}
5353 { (exit 1); exit 1; }; }
5354 fi;;
5355 esac
5356 done` || { (exit 1); exit 1; }
5357 # Remove the trailing spaces.
5358 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5359
5360 _ACEOF
5361
5362 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5363 # `conftest.undefs', that substitutes the proper values into
5364 # config.h.in to produce config.h. The first handles `#define'
5365 # templates, and the second `#undef' templates.
5366 # And first: Protect against being on the right side of a sed subst in
5367 # config.status. Protect against being in an unquoted here document
5368 # in config.status.
5369 rm -f conftest.defines conftest.undefs
5370 # Using a here document instead of a string reduces the quoting nightmare.
5371 # Putting comments in sed scripts is not portable.
5372 #
5373 # `end' is used to avoid that the second main sed command (meant for
5374 # 0-ary CPP macros) applies to n-ary macro definitions.
5375 # See the Autoconf documentation for `clear'.
5376 cat >confdef2sed.sed <<\_ACEOF
5377 s/[\\&,]/\\&/g
5378 s,[\\$`],\\&,g
5379 t clear
5380 : clear
5381 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5382 t end
5383 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5384 : end
5385 _ACEOF
5386 # If some macros were called several times there might be several times
5387 # the same #defines, which is useless. Nevertheless, we may not want to
5388 # sort them, since we want the *last* AC-DEFINE to be honored.
5389 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5390 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5391 rm -f confdef2sed.sed
5392
5393 # This sed command replaces #undef with comments. This is necessary, for
5394 # example, in the case of _POSIX_SOURCE, which is predefined and required
5395 # on some systems where configure will not decide to define it.
5396 cat >>conftest.undefs <<\_ACEOF
5397 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5398 _ACEOF
5399
5400 # Break up conftest.defines because some shells have a limit on the size
5401 # of here documents, and old seds have small limits too (100 cmds).
5402 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5403 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5404 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5405 echo ' :' >>$CONFIG_STATUS
5406 rm -f conftest.tail
5407 while grep . conftest.defines >/dev/null
5408 do
5409 # Write a limited-size here document to $tmp/defines.sed.
5410 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5411 # Speed up: don't consider the non `#define' lines.
5412 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5413 # Work around the forget-to-reset-the-flag bug.
5414 echo 't clr' >>$CONFIG_STATUS
5415 echo ': clr' >>$CONFIG_STATUS
5416 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5417 echo 'CEOF
5418 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5419 rm -f $tmp/in
5420 mv $tmp/out $tmp/in
5421 ' >>$CONFIG_STATUS
5422 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5423 rm -f conftest.defines
5424 mv conftest.tail conftest.defines
5425 done
5426 rm -f conftest.defines
5427 echo ' fi # grep' >>$CONFIG_STATUS
5428 echo >>$CONFIG_STATUS
5429
5430 # Break up conftest.undefs because some shells have a limit on the size
5431 # of here documents, and old seds have small limits too (100 cmds).
5432 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5433 rm -f conftest.tail
5434 while grep . conftest.undefs >/dev/null
5435 do
5436 # Write a limited-size here document to $tmp/undefs.sed.
5437 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5438 # Speed up: don't consider the non `#undef'
5439 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5440 # Work around the forget-to-reset-the-flag bug.
5441 echo 't clr' >>$CONFIG_STATUS
5442 echo ': clr' >>$CONFIG_STATUS
5443 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5444 echo 'CEOF
5445 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5446 rm -f $tmp/in
5447 mv $tmp/out $tmp/in
5448 ' >>$CONFIG_STATUS
5449 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5450 rm -f conftest.undefs
5451 mv conftest.tail conftest.undefs
5452 done
5453 rm -f conftest.undefs
5454
5455 cat >>$CONFIG_STATUS <<\_ACEOF
5456 # Let's still pretend it is `configure' which instantiates (i.e., don't
5457 # use $as_me), people would be surprised to read:
5458 # /* config.h. Generated by config.status. */
5459 if test x"$ac_file" = x-; then
5460 echo "/* Generated by configure. */" >$tmp/config.h
5461 else
5462 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5463 fi
5464 cat $tmp/in >>$tmp/config.h
5465 rm -f $tmp/in
5466 if test x"$ac_file" != x-; then
5467 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5468 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5469 echo "$as_me: $ac_file is unchanged" >&6;}
5470 else
5471 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5472 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5473 X"$ac_file" : 'X\(//\)[^/]' \| \
5474 X"$ac_file" : 'X\(//\)$' \| \
5475 X"$ac_file" : 'X\(/\)' \| \
5476 . : '\(.\)' 2>/dev/null ||
5477 echo X"$ac_file" |
5478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5479 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5480 /^X\(\/\/\)$/{ s//\1/; q; }
5481 /^X\(\/\).*/{ s//\1/; q; }
5482 s/.*/./; q'`
5483 { if $as_mkdir_p; then
5484 mkdir -p "$ac_dir"
5485 else
5486 as_dir="$ac_dir"
5487 as_dirs=
5488 while test ! -d "$as_dir"; do
5489 as_dirs="$as_dir $as_dirs"
5490 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5491 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5492 X"$as_dir" : 'X\(//\)[^/]' \| \
5493 X"$as_dir" : 'X\(//\)$' \| \
5494 X"$as_dir" : 'X\(/\)' \| \
5495 . : '\(.\)' 2>/dev/null ||
5496 echo X"$as_dir" |
5497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5498 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5499 /^X\(\/\/\)$/{ s//\1/; q; }
5500 /^X\(\/\).*/{ s//\1/; q; }
5501 s/.*/./; q'`
5502 done
5503 test ! -n "$as_dirs" || mkdir $as_dirs
5504 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5505 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5506 { (exit 1); exit 1; }; }; }
5507
5508 rm -f $ac_file
5509 mv $tmp/config.h $ac_file
5510 fi
5511 else
5512 cat $tmp/config.h
5513 rm -f $tmp/config.h
5514 fi
5515 done
5516 _ACEOF
5517
5518 cat >>$CONFIG_STATUS <<\_ACEOF
5519
5520 { (exit 0); exit 0; }
5521 _ACEOF
5522 chmod +x $CONFIG_STATUS
5523 ac_clean_files=$ac_clean_files_save
5524
5525
5526 # configure is writing to config.log, and then calls config.status.
5527 # config.status does its own redirection, appending to config.log.
5528 # Unfortunately, on DOS this fails, as config.log is still kept open
5529 # by configure, so config.status won't be able to write to it; its
5530 # output is simply discarded. So we exec the FD to /dev/null,
5531 # effectively closing config.log, so it can be properly (re)opened and
5532 # appended to by config.status. When coming back to configure, we
5533 # need to make the FD available again.
5534 if test "$no_create" != yes; then
5535 ac_cs_success=:
5536 ac_config_status_args=
5537 test "$silent" = yes &&
5538 ac_config_status_args="$ac_config_status_args --quiet"
5539 exec 5>/dev/null
5540 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5541 exec 5>>config.log
5542 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5543 # would make configure fail if this is the last instruction.
5544 $ac_cs_success || { (exit 1); exit 1; }
5545 fi
5546