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 jpegpixi 1.1.1.
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 # Copyright (C) 2002, 2003, 2004, 2005 Martin Dickopp
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
25 fi
26 DUALCASE=1; export DUALCASE # for MKS sh
27
28 # Support unset when possible.
29 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
30 as_unset=unset
31 else
32 as_unset=false
33 fi
34
35
36 # Work around bugs in pre-3.0 UWIN ksh.
37 $as_unset ENV MAIL MAILPATH
38 PS1='$ '
39 PS2='> '
40 PS4='+ '
41
42 # NLS nuisances.
43 for as_var in \
44 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
45 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 LC_TELEPHONE LC_TIME
47 do
48 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49 eval $as_var=C; export $as_var
50 else
51 $as_unset $as_var
52 fi
53 done
54
55 # Required to use basename.
56 if expr a : '\(a\)' >/dev/null 2>&1; then
57 as_expr=expr
58 else
59 as_expr=false
60 fi
61
62 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
63 as_basename=basename
64 else
65 as_basename=false
66 fi
67
68
69 # Name of the executable.
70 as_me=`$as_basename "$0" ||
71 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72 X"$0" : 'X\(//\)$' \| \
73 X"$0" : 'X\(/\)$' \| \
74 . : '\(.\)' 2>/dev/null ||
75 echo X/"$0" |
76 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
77 /^X\/\(\/\/\)$/{ s//\1/; q; }
78 /^X\/\(\/\).*/{ s//\1/; q; }
79 s/.*/./; q'`
80
81
82 # PATH needs CR, and LINENO needs CR and PATH.
83 # Avoid depending upon Character Ranges.
84 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
85 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
86 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
87 as_cr_digits='0123456789'
88 as_cr_alnum=$as_cr_Letters$as_cr_digits
89
90 # The user is always right.
91 if test "${PATH_SEPARATOR+set}" != set; then
92 echo "#! /bin/sh" >conf$$.sh
93 echo "exit 0" >>conf$$.sh
94 chmod +x conf$$.sh
95 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
96 PATH_SEPARATOR=';'
97 else
98 PATH_SEPARATOR=:
99 fi
100 rm -f conf$$.sh
101 fi
102
103
104 as_lineno_1=$LINENO
105 as_lineno_2=$LINENO
106 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
107 test "x$as_lineno_1" != "x$as_lineno_2" &&
108 test "x$as_lineno_3" = "x$as_lineno_2" || {
109 # Find who we are. Look in the path if we contain no path at all
110 # relative or not.
111 case $0 in
112 *[\\/]* ) as_myself=$0 ;;
113 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
114 for as_dir in $PATH
115 do
116 IFS=$as_save_IFS
117 test -z "$as_dir" && as_dir=.
118 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 done
120
121 ;;
122 esac
123 # We did not find ourselves, most probably we were run as `sh COMMAND'
124 # in which case we are not to be found in the path.
125 if test "x$as_myself" = x; then
126 as_myself=$0
127 fi
128 if test ! -f "$as_myself"; then
129 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
130 { (exit 1); exit 1; }; }
131 fi
132 case $CONFIG_SHELL in
133 '')
134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
135 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 do
137 IFS=$as_save_IFS
138 test -z "$as_dir" && as_dir=.
139 for as_base in sh bash ksh sh5; do
140 case $as_dir in
141 /*)
142 if ("$as_dir/$as_base" -c '
143 as_lineno_1=$LINENO
144 as_lineno_2=$LINENO
145 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
146 test "x$as_lineno_1" != "x$as_lineno_2" &&
147 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
148 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
149 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
150 CONFIG_SHELL=$as_dir/$as_base
151 export CONFIG_SHELL
152 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153 fi;;
154 esac
155 done
156 done
157 ;;
158 esac
159
160 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
161 # uniformly replaced by the line number. The first 'sed' inserts a
162 # line-number line before each line; the second 'sed' does the real
163 # work. The second script uses 'N' to pair each line-number line
164 # with the numbered line, and appends trailing '-' during
165 # substitution so that $LINENO is not a special case at line end.
166 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
167 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
168 sed '=' <$as_myself |
169 sed '
170 N
171 s,$,-,
172 : loop
173 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 t loop
175 s,-$,,
176 s,^['$as_cr_digits']*\n,,
177 ' >$as_me.lineno &&
178 chmod +x $as_me.lineno ||
179 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
180 { (exit 1); exit 1; }; }
181
182 # Don't try to exec as it changes $[0], causing all sort of problems
183 # (the dirname of $[0] is not the place where we might find the
184 # original and so on. Autoconf is especially sensible to this).
185 . ./$as_me.lineno
186 # Exit status is that of the last command.
187 exit
188 }
189
190
191 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
192 *c*,-n*) ECHO_N= ECHO_C='
193 ' ECHO_T=' ' ;;
194 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
195 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 esac
197
198 if expr a : '\(a\)' >/dev/null 2>&1; then
199 as_expr=expr
200 else
201 as_expr=false
202 fi
203
204 rm -f conf$$ conf$$.exe conf$$.file
205 echo >conf$$.file
206 if ln -s conf$$.file conf$$ 2>/dev/null; then
207 # We could just check for DJGPP; but this test a) works b) is more generic
208 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
209 if test -f conf$$.exe; then
210 # Don't use ln at all; we don't have any links
211 as_ln_s='cp -p'
212 else
213 as_ln_s='ln -s'
214 fi
215 elif ln conf$$.file conf$$ 2>/dev/null; then
216 as_ln_s=ln
217 else
218 as_ln_s='cp -p'
219 fi
220 rm -f conf$$ conf$$.exe conf$$.file
221
222 if mkdir -p . 2>/dev/null; then
223 as_mkdir_p=:
224 else
225 test -d ./-p && rmdir ./-p
226 as_mkdir_p=false
227 fi
228
229 as_executable_p="test -f"
230
231 # Sed expression to map a string onto a valid CPP name.
232 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
234 # Sed expression to map a string onto a valid variable name.
235 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
236
237
238 # IFS
239 # We need space, tab and new line, in precisely that order.
240 as_nl='
241 '
242 IFS=" $as_nl"
243
244 # CDPATH.
245 $as_unset CDPATH
246
247
248 # Name of the host.
249 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
250 # so uname gets run too.
251 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
252
253 exec 6>&1
254
255 #
256 # Initializations.
257 #
258 ac_default_prefix=/usr/local
259 ac_config_libobj_dir=.
260 cross_compiling=no
261 subdirs=
262 MFLAGS=
263 MAKEFLAGS=
264 SHELL=${CONFIG_SHELL-/bin/sh}
265
266 # Maximum number of lines to put in a shell here document.
267 # This variable seems obsolete. It should probably be removed, and
268 # only ac_max_sed_lines should be used.
269 : ${ac_max_here_lines=38}
270
271 # Identity of this package.
272 PACKAGE_NAME='jpegpixi'
273 PACKAGE_TARNAME='jpegpixi'
274 PACKAGE_VERSION='1.1.1'
275 PACKAGE_STRING='jpegpixi 1.1.1'
276 PACKAGE_BUGREPORT='[email protected]'
277
278 ac_unique_file="jpegpixi.c"
279 # Factoring default headers for most tests.
280 ac_includes_default="\
281 #include <stdio.h>
282 #if HAVE_SYS_TYPES_H
283 # include <sys/types.h>
284 #endif
285 #if HAVE_SYS_STAT_H
286 # include <sys/stat.h>
287 #endif
288 #if STDC_HEADERS
289 # include <stdlib.h>
290 # include <stddef.h>
291 #else
292 # if HAVE_STDLIB_H
293 # include <stdlib.h>
294 # endif
295 #endif
296 #if HAVE_STRING_H
297 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <memory.h>
299 # endif
300 # include <string.h>
301 #endif
302 #if HAVE_STRINGS_H
303 # include <strings.h>
304 #endif
305 #if HAVE_INTTYPES_H
306 # include <inttypes.h>
307 #else
308 # if HAVE_STDINT_H
309 # include <stdint.h>
310 # endif
311 #endif
312 #if HAVE_UNISTD_H
313 # include <unistd.h>
314 #endif"
315
316 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar OPAG CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MD_NO_CONST CPP EGREP MATHLIB LIBOBJS XGETTEXT MSGMERGE MSGFMT SUBDIR_PO LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777
778 #
779 # Report the --help message.
780 #
781 if test "$ac_init_help" = "long"; then
782 # Omit some internal or obsolete options to make the list less imposing.
783 # This message is too long to be a string in the A/UX 3.1 sh.
784 cat <<_ACEOF
785 \`configure' configures jpegpixi 1.1.1 to adapt to many kinds of systems.
786
787 Usage: $0 [OPTION]... [VAR=VALUE]...
788
789 To assign environment variables (e.g., CC, CFLAGS...), specify them as
790 VAR=VALUE. See below for descriptions of some of the useful variables.
791
792 Defaults for the options are specified in brackets.
793
794 Configuration:
795 -h, --help display this help and exit
796 --help=short display options specific to this package
797 --help=recursive display the short help of all the included packages
798 -V, --version display version information and exit
799 -q, --quiet, --silent do not print \`checking...' messages
800 --cache-file=FILE cache test results in FILE [disabled]
801 -C, --config-cache alias for \`--cache-file=config.cache'
802 -n, --no-create do not create output files
803 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804
805 _ACEOF
806
807 cat <<_ACEOF
808 Installation directories:
809 --prefix=PREFIX install architecture-independent files in PREFIX
810 [$ac_default_prefix]
811 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 [PREFIX]
813
814 By default, \`make install' will install all the files in
815 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
816 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
817 for instance \`--prefix=\$HOME'.
818
819 For better control, use the options below.
820
821 Fine tuning of the installation directories:
822 --bindir=DIR user executables [EPREFIX/bin]
823 --sbindir=DIR system admin executables [EPREFIX/sbin]
824 --libexecdir=DIR program executables [EPREFIX/libexec]
825 --datadir=DIR read-only architecture-independent data [PREFIX/share]
826 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
827 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
828 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
829 --libdir=DIR object code libraries [EPREFIX/lib]
830 --includedir=DIR C header files [PREFIX/include]
831 --oldincludedir=DIR C header files for non-gcc [/usr/include]
832 --infodir=DIR info documentation [PREFIX/info]
833 --mandir=DIR man documentation [PREFIX/man]
834 _ACEOF
835
836 cat <<\_ACEOF
837
838 Program names:
839 --program-prefix=PREFIX prepend PREFIX to installed program names
840 --program-suffix=SUFFIX append SUFFIX to installed program names
841 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
842 _ACEOF
843 fi
844
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive ) echo "Configuration of jpegpixi 1.1.1:";;
848 esac
849 cat <<\_ACEOF
850
851 Optional Features:
852 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
853 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
854 --disable-dependency-tracking speeds up one-time build
855 --enable-dependency-tracking do not reject slow dependency extractors
856 --disable-nls do not use Native Language Support
857
858 Optional Packages:
859 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
860 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
861 --with-opag=PROGRAM use PROGRAM as opag executable
862 --with-jpeglib=DIR search jpeglib header files in DIR/include, library
863 in DIR/lib
864 --with-jpeglib-include=DIR
865 search jpeglib header files in DIR
866 --with-jpeglib-lib=DIR search jpeglib library in DIR
867
868 Some influential environment variables:
869 CC C compiler command
870 CFLAGS C compiler flags
871 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
872 nonstandard directory <lib dir>
873 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
874 headers in a nonstandard directory <include dir>
875 CPP C preprocessor
876
877 Use these variables to override the choices made by `configure' or to help
878 it to find libraries and programs with nonstandard names/locations.
879
880 Report bugs to <[email protected]>.
881 _ACEOF
882 fi
883
884 if test "$ac_init_help" = "recursive"; then
885 # If there are subdirs, report their specific --help.
886 ac_popdir=`pwd`
887 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
888 test -d $ac_dir || continue
889 ac_builddir=.
890
891 if test "$ac_dir" != .; then
892 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
893 # A "../" for each directory in $ac_dir_suffix.
894 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
895 else
896 ac_dir_suffix= ac_top_builddir=
897 fi
898
899 case $srcdir in
900 .) # No --srcdir option. We are building in place.
901 ac_srcdir=.
902 if test -z "$ac_top_builddir"; then
903 ac_top_srcdir=.
904 else
905 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
906 fi ;;
907 [\\/]* | ?:[\\/]* ) # Absolute path.
908 ac_srcdir=$srcdir$ac_dir_suffix;
909 ac_top_srcdir=$srcdir ;;
910 *) # Relative path.
911 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
912 ac_top_srcdir=$ac_top_builddir$srcdir ;;
913 esac
914
915 # Do not use `cd foo && pwd` to compute absolute paths, because
916 # the directories may not exist.
917 case `pwd` in
918 .) ac_abs_builddir="$ac_dir";;
919 *)
920 case "$ac_dir" in
921 .) ac_abs_builddir=`pwd`;;
922 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
923 *) ac_abs_builddir=`pwd`/"$ac_dir";;
924 esac;;
925 esac
926 case $ac_abs_builddir in
927 .) ac_abs_top_builddir=${ac_top_builddir}.;;
928 *)
929 case ${ac_top_builddir}. in
930 .) ac_abs_top_builddir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
932 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
933 esac;;
934 esac
935 case $ac_abs_builddir in
936 .) ac_abs_srcdir=$ac_srcdir;;
937 *)
938 case $ac_srcdir in
939 .) ac_abs_srcdir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
941 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
942 esac;;
943 esac
944 case $ac_abs_builddir in
945 .) ac_abs_top_srcdir=$ac_top_srcdir;;
946 *)
947 case $ac_top_srcdir in
948 .) ac_abs_top_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
950 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
951 esac;;
952 esac
953
954 cd $ac_dir
955 # Check for guested configure; otherwise get Cygnus style configure.
956 if test -f $ac_srcdir/configure.gnu; then
957 echo
958 $SHELL $ac_srcdir/configure.gnu --help=recursive
959 elif test -f $ac_srcdir/configure; then
960 echo
961 $SHELL $ac_srcdir/configure --help=recursive
962 elif test -f $ac_srcdir/configure.ac ||
963 test -f $ac_srcdir/configure.in; then
964 echo
965 $ac_configure --help
966 else
967 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
968 fi
969 cd "$ac_popdir"
970 done
971 fi
972
973 test -n "$ac_init_help" && exit 0
974 if $ac_init_version; then
975 cat <<\_ACEOF
976 jpegpixi configure 1.1.1
977 generated by GNU Autoconf 2.59
978
979 Copyright (C) 2003 Free Software Foundation, Inc.
980 This configure script is free software; the Free Software Foundation
981 gives unlimited permission to copy, distribute and modify it.
982
983 Copyright (C) 2002, 2003, 2004, 2005 Martin Dickopp
984 _ACEOF
985 exit 0
986 fi
987 exec 5>config.log
988 cat >&5 <<_ACEOF
989 This file contains any messages produced by compilers while
990 running configure, to aid debugging if configure makes a mistake.
991
992 It was created by jpegpixi $as_me 1.1.1, which was
993 generated by GNU Autoconf 2.59. Invocation command line was
994
995 $ $0 $@
996
997 _ACEOF
998 {
999 cat <<_ASUNAME
1000 ## --------- ##
1001 ## Platform. ##
1002 ## --------- ##
1003
1004 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1005 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1006 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1007 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1008 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1009
1010 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1011 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1012
1013 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1014 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1015 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1016 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1017 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1018 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1019 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1020
1021 _ASUNAME
1022
1023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1024 for as_dir in $PATH
1025 do
1026 IFS=$as_save_IFS
1027 test -z "$as_dir" && as_dir=.
1028 echo "PATH: $as_dir"
1029 done
1030
1031 } >&5
1032
1033 cat >&5 <<_ACEOF
1034
1035
1036 ## ----------- ##
1037 ## Core tests. ##
1038 ## ----------- ##
1039
1040 _ACEOF
1041
1042
1043 # Keep a trace of the command line.
1044 # Strip out --no-create and --no-recursion so they do not pile up.
1045 # Strip out --silent because we don't want to record it for future runs.
1046 # Also quote any args containing shell meta-characters.
1047 # Make two passes to allow for proper duplicate-argument suppression.
1048 ac_configure_args=
1049 ac_configure_args0=
1050 ac_configure_args1=
1051 ac_sep=
1052 ac_must_keep_next=false
1053 for ac_pass in 1 2
1054 do
1055 for ac_arg
1056 do
1057 case $ac_arg in
1058 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1061 continue ;;
1062 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1063 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1064 esac
1065 case $ac_pass in
1066 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1067 2)
1068 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1069 if test $ac_must_keep_next = true; then
1070 ac_must_keep_next=false # Got value, back to normal.
1071 else
1072 case $ac_arg in
1073 *=* | --config-cache | -C | -disable-* | --disable-* \
1074 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1075 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1076 | -with-* | --with-* | -without-* | --without-* | --x)
1077 case "$ac_configure_args0 " in
1078 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1079 esac
1080 ;;
1081 -* ) ac_must_keep_next=true ;;
1082 esac
1083 fi
1084 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1085 # Get rid of the leading space.
1086 ac_sep=" "
1087 ;;
1088 esac
1089 done
1090 done
1091 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1092 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1093
1094 # When interrupted or exit'd, cleanup temporary files, and complete
1095 # config.log. We remove comments because anyway the quotes in there
1096 # would cause problems or look ugly.
1097 # WARNING: Be sure not to use single quotes in there, as some shells,
1098 # such as our DU 5.0 friend, will then `close' the trap.
1099 trap 'exit_status=$?
1100 # Save into config.log some information that might help in debugging.
1101 {
1102 echo
1103
1104 cat <<\_ASBOX
1105 ## ---------------- ##
1106 ## Cache variables. ##
1107 ## ---------------- ##
1108 _ASBOX
1109 echo
1110 # The following way of writing the cache mishandles newlines in values,
1111 {
1112 (set) 2>&1 |
1113 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1114 *ac_space=\ *)
1115 sed -n \
1116 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1118 ;;
1119 *)
1120 sed -n \
1121 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122 ;;
1123 esac;
1124 }
1125 echo
1126
1127 cat <<\_ASBOX
1128 ## ----------------- ##
1129 ## Output variables. ##
1130 ## ----------------- ##
1131 _ASBOX
1132 echo
1133 for ac_var in $ac_subst_vars
1134 do
1135 eval ac_val=$`echo $ac_var`
1136 echo "$ac_var='"'"'$ac_val'"'"'"
1137 done | sort
1138 echo
1139
1140 if test -n "$ac_subst_files"; then
1141 cat <<\_ASBOX
1142 ## ------------- ##
1143 ## Output files. ##
1144 ## ------------- ##
1145 _ASBOX
1146 echo
1147 for ac_var in $ac_subst_files
1148 do
1149 eval ac_val=$`echo $ac_var`
1150 echo "$ac_var='"'"'$ac_val'"'"'"
1151 done | sort
1152 echo
1153 fi
1154
1155 if test -s confdefs.h; then
1156 cat <<\_ASBOX
1157 ## ----------- ##
1158 ## confdefs.h. ##
1159 ## ----------- ##
1160 _ASBOX
1161 echo
1162 sed "/^$/d" confdefs.h | sort
1163 echo
1164 fi
1165 test "$ac_signal" != 0 &&
1166 echo "$as_me: caught signal $ac_signal"
1167 echo "$as_me: exit $exit_status"
1168 } >&5
1169 rm -f core *.core &&
1170 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1171 exit $exit_status
1172 ' 0
1173 for ac_signal in 1 2 13 15; do
1174 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1175 done
1176 ac_signal=0
1177
1178 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1179 rm -rf conftest* confdefs.h
1180 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1181 echo >confdefs.h
1182
1183 # Predefined preprocessor variables.
1184
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_NAME "$PACKAGE_NAME"
1187 _ACEOF
1188
1189
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1192 _ACEOF
1193
1194
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1197 _ACEOF
1198
1199
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_STRING "$PACKAGE_STRING"
1202 _ACEOF
1203
1204
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1207 _ACEOF
1208
1209
1210 # Let the site file select an alternate cache file if it wants to.
1211 # Prefer explicitly selected file to automatically selected ones.
1212 if test -z "$CONFIG_SITE"; then
1213 if test "x$prefix" != xNONE; then
1214 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1215 else
1216 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1217 fi
1218 fi
1219 for ac_site_file in $CONFIG_SITE; do
1220 if test -r "$ac_site_file"; then
1221 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1222 echo "$as_me: loading site script $ac_site_file" >&6;}
1223 sed 's/^/| /' "$ac_site_file" >&5
1224 . "$ac_site_file"
1225 fi
1226 done
1227
1228 if test -r "$cache_file"; then
1229 # Some versions of bash will fail to source /dev/null (special
1230 # files actually), so we avoid doing that.
1231 if test -f "$cache_file"; then
1232 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1233 echo "$as_me: loading cache $cache_file" >&6;}
1234 case $cache_file in
1235 [\\/]* | ?:[\\/]* ) . $cache_file;;
1236 *) . ./$cache_file;;
1237 esac
1238 fi
1239 else
1240 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1241 echo "$as_me: creating cache $cache_file" >&6;}
1242 >$cache_file
1243 fi
1244
1245 # Check that the precious variables saved in the cache have kept the same
1246 # value.
1247 ac_cache_corrupted=false
1248 for ac_var in `(set) 2>&1 |
1249 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1250 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1251 eval ac_new_set=\$ac_env_${ac_var}_set
1252 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1253 eval ac_new_val="\$ac_env_${ac_var}_value"
1254 case $ac_old_set,$ac_new_set in
1255 set,)
1256 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1257 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1258 ac_cache_corrupted=: ;;
1259 ,set)
1260 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1262 ac_cache_corrupted=: ;;
1263 ,);;
1264 *)
1265 if test "x$ac_old_val" != "x$ac_new_val"; then
1266 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1267 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1268 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1269 echo "$as_me: former value: $ac_old_val" >&2;}
1270 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1271 echo "$as_me: current value: $ac_new_val" >&2;}
1272 ac_cache_corrupted=:
1273 fi;;
1274 esac
1275 # Pass precious variables to config.status.
1276 if test "$ac_new_set" = set; then
1277 case $ac_new_val in
1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1279 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1280 *) ac_arg=$ac_var=$ac_new_val ;;
1281 esac
1282 case " $ac_configure_args " in
1283 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1284 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1285 esac
1286 fi
1287 done
1288 if $ac_cache_corrupted; then
1289 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1290 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1291 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1292 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1293 { (exit 1); exit 1; }; }
1294 fi
1295
1296 ac_ext=c
1297 ac_cpp='$CPP $CPPFLAGS'
1298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330 am__api_version="1.9"
1331 ac_aux_dir=
1332 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1333 if test -f $ac_dir/install-sh; then
1334 ac_aux_dir=$ac_dir
1335 ac_install_sh="$ac_aux_dir/install-sh -c"
1336 break
1337 elif test -f $ac_dir/install.sh; then
1338 ac_aux_dir=$ac_dir
1339 ac_install_sh="$ac_aux_dir/install.sh -c"
1340 break
1341 elif test -f $ac_dir/shtool; then
1342 ac_aux_dir=$ac_dir
1343 ac_install_sh="$ac_aux_dir/shtool install -c"
1344 break
1345 fi
1346 done
1347 if test -z "$ac_aux_dir"; then
1348 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1349 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1350 { (exit 1); exit 1; }; }
1351 fi
1352 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1353 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1354 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1355
1356 # Find a good install program. We prefer a C program (faster),
1357 # so one script is as good as another. But avoid the broken or
1358 # incompatible versions:
1359 # SysV /etc/install, /usr/sbin/install
1360 # SunOS /usr/etc/install
1361 # IRIX /sbin/install
1362 # AIX /bin/install
1363 # AmigaOS /C/install, which installs bootblocks on floppy discs
1364 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1365 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1366 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1367 # OS/2's system install, which has a completely different semantic
1368 # ./install, which can be erroneously created by make from ./install.sh.
1369 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1370 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1371 if test -z "$INSTALL"; then
1372 if test "${ac_cv_path_install+set}" = set; then
1373 echo $ECHO_N "(cached) $ECHO_C" >&6
1374 else
1375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1376 for as_dir in $PATH
1377 do
1378 IFS=$as_save_IFS
1379 test -z "$as_dir" && as_dir=.
1380 # Account for people who put trailing slashes in PATH elements.
1381 case $as_dir/ in
1382 ./ | .// | /cC/* | \
1383 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1384 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1385 /usr/ucb/* ) ;;
1386 *)
1387 # OSF1 and SCO ODT 3.0 have their own names for install.
1388 # Don't use installbsd from OSF since it installs stuff as root
1389 # by default.
1390 for ac_prog in ginstall scoinst install; do
1391 for ac_exec_ext in '' $ac_executable_extensions; do
1392 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1393 if test $ac_prog = install &&
1394 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1395 # AIX install. It has an incompatible calling convention.
1396 :
1397 elif test $ac_prog = install &&
1398 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1399 # program-specific install script used by HP pwplus--don't use.
1400 :
1401 else
1402 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1403 break 3
1404 fi
1405 fi
1406 done
1407 done
1408 ;;
1409 esac
1410 done
1411
1412
1413 fi
1414 if test "${ac_cv_path_install+set}" = set; then
1415 INSTALL=$ac_cv_path_install
1416 else
1417 # As a last resort, use the slow shell script. We don't cache a
1418 # path for INSTALL within a source directory, because that will
1419 # break other packages using the cache if that directory is
1420 # removed, or if the path is relative.
1421 INSTALL=$ac_install_sh
1422 fi
1423 fi
1424 echo "$as_me:$LINENO: result: $INSTALL" >&5
1425 echo "${ECHO_T}$INSTALL" >&6
1426
1427 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1428 # It thinks the first close brace ends the variable substitution.
1429 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1430
1431 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1432
1433 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1434
1435 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1436 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1437 # Just in case
1438 sleep 1
1439 echo timestamp > conftest.file
1440 # Do `set' in a subshell so we don't clobber the current shell's
1441 # arguments. Must try -L first in case configure is actually a
1442 # symlink; some systems play weird games with the mod time of symlinks
1443 # (eg FreeBSD returns the mod time of the symlink's containing
1444 # directory).
1445 if (
1446 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1447 if test "$*" = "X"; then
1448 # -L didn't work.
1449 set X `ls -t $srcdir/configure conftest.file`
1450 fi
1451 rm -f conftest.file
1452 if test "$*" != "X $srcdir/configure conftest.file" \
1453 && test "$*" != "X conftest.file $srcdir/configure"; then
1454
1455 # If neither matched, then we have a broken ls. This can happen
1456 # if, for instance, CONFIG_SHELL is bash and it inherits a
1457 # broken ls alias from the environment. This has actually
1458 # happened. Such a system could not be considered "sane".
1459 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1460 alias in your environment" >&5
1461 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1462 alias in your environment" >&2;}
1463 { (exit 1); exit 1; }; }
1464 fi
1465
1466 test "$2" = conftest.file
1467 )
1468 then
1469 # Ok.
1470 :
1471 else
1472 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1473 Check your system clock" >&5
1474 echo "$as_me: error: newly created file is older than distributed files!
1475 Check your system clock" >&2;}
1476 { (exit 1); exit 1; }; }
1477 fi
1478 echo "$as_me:$LINENO: result: yes" >&5
1479 echo "${ECHO_T}yes" >&6
1480 test "$program_prefix" != NONE &&
1481 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1482 # Use a double $ so make ignores it.
1483 test "$program_suffix" != NONE &&
1484 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1485 # Double any \ or $. echo might interpret backslashes.
1486 # By default was `s,x,x', remove it if useless.
1487 cat <<\_ACEOF >conftest.sed
1488 s/[\\$]/&&/g;s/;s,x,x,$//
1489 _ACEOF
1490 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1491 rm conftest.sed
1492
1493 # expand $ac_aux_dir to an absolute path
1494 am_aux_dir=`cd $ac_aux_dir && pwd`
1495
1496 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1497 # Use eval to expand $SHELL
1498 if eval "$MISSING --run true"; then
1499 am_missing_run="$MISSING --run "
1500 else
1501 am_missing_run=
1502 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1503 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1504 fi
1505
1506 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1507 # We used to keeping the `.' as first argument, in order to
1508 # allow $(mkdir_p) to be used without argument. As in
1509 # $(mkdir_p) $(somedir)
1510 # where $(somedir) is conditionally defined. However this is wrong
1511 # for two reasons:
1512 # 1. if the package is installed by a user who cannot write `.'
1513 # make install will fail,
1514 # 2. the above comment should most certainly read
1515 # $(mkdir_p) $(DESTDIR)$(somedir)
1516 # so it does not work when $(somedir) is undefined and
1517 # $(DESTDIR) is not.
1518 # To support the latter case, we have to write
1519 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1520 # so the `.' trick is pointless.
1521 mkdir_p='mkdir -p --'
1522 else
1523 # On NextStep and OpenStep, the `mkdir' command does not
1524 # recognize any option. It will interpret all options as
1525 # directories to create, and then abort because `.' already
1526 # exists.
1527 for d in ./-p ./--version;
1528 do
1529 test -d $d && rmdir $d
1530 done
1531 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1532 if test -f "$ac_aux_dir/mkinstalldirs"; then
1533 mkdir_p='$(mkinstalldirs)'
1534 else
1535 mkdir_p='$(install_sh) -d'
1536 fi
1537 fi
1538
1539 for ac_prog in gawk mawk nawk awk
1540 do
1541 # Extract the first word of "$ac_prog", so it can be a program name with args.
1542 set dummy $ac_prog; ac_word=$2
1543 echo "$as_me:$LINENO: checking for $ac_word" >&5
1544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1545 if test "${ac_cv_prog_AWK+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1547 else
1548 if test -n "$AWK"; then
1549 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1550 else
1551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1552 for as_dir in $PATH
1553 do
1554 IFS=$as_save_IFS
1555 test -z "$as_dir" && as_dir=.
1556 for ac_exec_ext in '' $ac_executable_extensions; do
1557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1558 ac_cv_prog_AWK="$ac_prog"
1559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1560 break 2
1561 fi
1562 done
1563 done
1564
1565 fi
1566 fi
1567 AWK=$ac_cv_prog_AWK
1568 if test -n "$AWK"; then
1569 echo "$as_me:$LINENO: result: $AWK" >&5
1570 echo "${ECHO_T}$AWK" >&6
1571 else
1572 echo "$as_me:$LINENO: result: no" >&5
1573 echo "${ECHO_T}no" >&6
1574 fi
1575
1576 test -n "$AWK" && break
1577 done
1578
1579 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1580 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1581 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1582 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 else
1585 cat >conftest.make <<\_ACEOF
1586 all:
1587 @echo 'ac_maketemp="$(MAKE)"'
1588 _ACEOF
1589 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1590 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1591 if test -n "$ac_maketemp"; then
1592 eval ac_cv_prog_make_${ac_make}_set=yes
1593 else
1594 eval ac_cv_prog_make_${ac_make}_set=no
1595 fi
1596 rm -f conftest.make
1597 fi
1598 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1599 echo "$as_me:$LINENO: result: yes" >&5
1600 echo "${ECHO_T}yes" >&6
1601 SET_MAKE=
1602 else
1603 echo "$as_me:$LINENO: result: no" >&5
1604 echo "${ECHO_T}no" >&6
1605 SET_MAKE="MAKE=${MAKE-make}"
1606 fi
1607
1608 rm -rf .tst 2>/dev/null
1609 mkdir .tst 2>/dev/null
1610 if test -d .tst; then
1611 am__leading_dot=.
1612 else
1613 am__leading_dot=_
1614 fi
1615 rmdir .tst 2>/dev/null
1616
1617 # test to see if srcdir already configured
1618 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1619 test -f $srcdir/config.status; then
1620 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1621 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1622 { (exit 1); exit 1; }; }
1623 fi
1624
1625 # test whether we have cygpath
1626 if test -z "$CYGPATH_W"; then
1627 if (cygpath --version) >/dev/null 2>/dev/null; then
1628 CYGPATH_W='cygpath -w'
1629 else
1630 CYGPATH_W=echo
1631 fi
1632 fi
1633
1634
1635 # Define the identity of the package.
1636 PACKAGE='jpegpixi'
1637 VERSION='1.1.1'
1638
1639
1640 # Some tools Automake needs.
1641
1642 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1643
1644
1645 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1646
1647
1648 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1649
1650
1651 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1652
1653
1654 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1655
1656 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1657
1658 # Installed binaries are usually stripped using `strip' when the user
1659 # run `make install-strip'. However `strip' might not be the right
1660 # tool to use in cross-compilation environments, therefore Automake
1661 # will honor the `STRIP' environment variable to overrule this program.
1662 if test "$cross_compiling" != no; then
1663 if test -n "$ac_tool_prefix"; then
1664 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1665 set dummy ${ac_tool_prefix}strip; ac_word=$2
1666 echo "$as_me:$LINENO: checking for $ac_word" >&5
1667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1668 if test "${ac_cv_prog_STRIP+set}" = set; then
1669 echo $ECHO_N "(cached) $ECHO_C" >&6
1670 else
1671 if test -n "$STRIP"; then
1672 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1673 else
1674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1675 for as_dir in $PATH
1676 do
1677 IFS=$as_save_IFS
1678 test -z "$as_dir" && as_dir=.
1679 for ac_exec_ext in '' $ac_executable_extensions; do
1680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1681 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1683 break 2
1684 fi
1685 done
1686 done
1687
1688 fi
1689 fi
1690 STRIP=$ac_cv_prog_STRIP
1691 if test -n "$STRIP"; then
1692 echo "$as_me:$LINENO: result: $STRIP" >&5
1693 echo "${ECHO_T}$STRIP" >&6
1694 else
1695 echo "$as_me:$LINENO: result: no" >&5
1696 echo "${ECHO_T}no" >&6
1697 fi
1698
1699 fi
1700 if test -z "$ac_cv_prog_STRIP"; then
1701 ac_ct_STRIP=$STRIP
1702 # Extract the first word of "strip", so it can be a program name with args.
1703 set dummy strip; ac_word=$2
1704 echo "$as_me:$LINENO: checking for $ac_word" >&5
1705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1706 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1707 echo $ECHO_N "(cached) $ECHO_C" >&6
1708 else
1709 if test -n "$ac_ct_STRIP"; then
1710 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1711 else
1712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1713 for as_dir in $PATH
1714 do
1715 IFS=$as_save_IFS
1716 test -z "$as_dir" && as_dir=.
1717 for ac_exec_ext in '' $ac_executable_extensions; do
1718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1719 ac_cv_prog_ac_ct_STRIP="strip"
1720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1721 break 2
1722 fi
1723 done
1724 done
1725
1726 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1727 fi
1728 fi
1729 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1730 if test -n "$ac_ct_STRIP"; then
1731 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1732 echo "${ECHO_T}$ac_ct_STRIP" >&6
1733 else
1734 echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1736 fi
1737
1738 STRIP=$ac_ct_STRIP
1739 else
1740 STRIP="$ac_cv_prog_STRIP"
1741 fi
1742
1743 fi
1744 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1745
1746 # We need awk for the "check" target. The system "awk" is bad on
1747 # some platforms.
1748 # Always define AMTAR for backward compatibility.
1749
1750 AMTAR=${AMTAR-"${am_missing_run}tar"}
1751
1752 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1753
1754
1755
1756
1757
1758 ac_config_headers="$ac_config_headers config.h"
1759
1760
1761 md_path_opag=
1762
1763 # Check whether --with-opag or --without-opag was given.
1764 if test "${with_opag+set}" = set; then
1765 withval="$with_opag"
1766 case $withval in
1767 yes)
1768 ;;
1769 no)
1770 md_path_opag=missing
1771 ;;
1772 *)
1773 md_path_opag="$withval"
1774 ;;
1775 esac
1776 fi;
1777 if test "x$md_path_opag" != x; then
1778 OPAG="$md_path_opag"
1779 else
1780 # Extract the first word of "opag", so it can be a program name with args.
1781 set dummy opag; ac_word=$2
1782 echo "$as_me:$LINENO: checking for $ac_word" >&5
1783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1784 if test "${ac_cv_path_OPAG+set}" = set; then
1785 echo $ECHO_N "(cached) $ECHO_C" >&6
1786 else
1787 case $OPAG in
1788 [\\/]* | ?:[\\/]*)
1789 ac_cv_path_OPAG="$OPAG" # Let the user override the test with a path.
1790 ;;
1791 *)
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1793 for as_dir in $PATH
1794 do
1795 IFS=$as_save_IFS
1796 test -z "$as_dir" && as_dir=.
1797 for ac_exec_ext in '' $ac_executable_extensions; do
1798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1799 ac_cv_path_OPAG="$as_dir/$ac_word$ac_exec_ext"
1800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 break 2
1802 fi
1803 done
1804 done
1805
1806 test -z "$ac_cv_path_OPAG" && ac_cv_path_OPAG="missing"
1807 ;;
1808 esac
1809 fi
1810 OPAG=$ac_cv_path_OPAG
1811
1812 if test -n "$OPAG"; then
1813 echo "$as_me:$LINENO: result: $OPAG" >&5
1814 echo "${ECHO_T}$OPAG" >&6
1815 else
1816 echo "$as_me:$LINENO: result: no" >&5
1817 echo "${ECHO_T}no" >&6
1818 fi
1819
1820 fi
1821
1822
1823 ac_ext=c
1824 ac_cpp='$CPP $CPPFLAGS'
1825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1828 if test -n "$ac_tool_prefix"; then
1829 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1830 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1831 echo "$as_me:$LINENO: checking for $ac_word" >&5
1832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1833 if test "${ac_cv_prog_CC+set}" = set; then
1834 echo $ECHO_N "(cached) $ECHO_C" >&6
1835 else
1836 if test -n "$CC"; then
1837 ac_cv_prog_CC="$CC" # Let the user override the test.
1838 else
1839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1840 for as_dir in $PATH
1841 do
1842 IFS=$as_save_IFS
1843 test -z "$as_dir" && as_dir=.
1844 for ac_exec_ext in '' $ac_executable_extensions; do
1845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1846 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1848 break 2
1849 fi
1850 done
1851 done
1852
1853 fi
1854 fi
1855 CC=$ac_cv_prog_CC
1856 if test -n "$CC"; then
1857 echo "$as_me:$LINENO: result: $CC" >&5
1858 echo "${ECHO_T}$CC" >&6
1859 else
1860 echo "$as_me:$LINENO: result: no" >&5
1861 echo "${ECHO_T}no" >&6
1862 fi
1863
1864 fi
1865 if test -z "$ac_cv_prog_CC"; then
1866 ac_ct_CC=$CC
1867 # Extract the first word of "gcc", so it can be a program name with args.
1868 set dummy gcc; ac_word=$2
1869 echo "$as_me:$LINENO: checking for $ac_word" >&5
1870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1873 else
1874 if test -n "$ac_ct_CC"; then
1875 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1876 else
1877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1878 for as_dir in $PATH
1879 do
1880 IFS=$as_save_IFS
1881 test -z "$as_dir" && as_dir=.
1882 for ac_exec_ext in '' $ac_executable_extensions; do
1883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1884 ac_cv_prog_ac_ct_CC="gcc"
1885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1886 break 2
1887 fi
1888 done
1889 done
1890
1891 fi
1892 fi
1893 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1894 if test -n "$ac_ct_CC"; then
1895 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1896 echo "${ECHO_T}$ac_ct_CC" >&6
1897 else
1898 echo "$as_me:$LINENO: result: no" >&5
1899 echo "${ECHO_T}no" >&6
1900 fi
1901
1902 CC=$ac_ct_CC
1903 else
1904 CC="$ac_cv_prog_CC"
1905 fi
1906
1907 if test -z "$CC"; then
1908 if test -n "$ac_tool_prefix"; then
1909 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1910 set dummy ${ac_tool_prefix}cc; ac_word=$2
1911 echo "$as_me:$LINENO: checking for $ac_word" >&5
1912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1913 if test "${ac_cv_prog_CC+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1915 else
1916 if test -n "$CC"; then
1917 ac_cv_prog_CC="$CC" # Let the user override the test.
1918 else
1919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1920 for as_dir in $PATH
1921 do
1922 IFS=$as_save_IFS
1923 test -z "$as_dir" && as_dir=.
1924 for ac_exec_ext in '' $ac_executable_extensions; do
1925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1926 ac_cv_prog_CC="${ac_tool_prefix}cc"
1927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1928 break 2
1929 fi
1930 done
1931 done
1932
1933 fi
1934 fi
1935 CC=$ac_cv_prog_CC
1936 if test -n "$CC"; then
1937 echo "$as_me:$LINENO: result: $CC" >&5
1938 echo "${ECHO_T}$CC" >&6
1939 else
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1942 fi
1943
1944 fi
1945 if test -z "$ac_cv_prog_CC"; then
1946 ac_ct_CC=$CC
1947 # Extract the first word of "cc", so it can be a program name with args.
1948 set dummy cc; ac_word=$2
1949 echo "$as_me:$LINENO: checking for $ac_word" >&5
1950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1951 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1952 echo $ECHO_N "(cached) $ECHO_C" >&6
1953 else
1954 if test -n "$ac_ct_CC"; then
1955 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1956 else
1957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958 for as_dir in $PATH
1959 do
1960 IFS=$as_save_IFS
1961 test -z "$as_dir" && as_dir=.
1962 for ac_exec_ext in '' $ac_executable_extensions; do
1963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1964 ac_cv_prog_ac_ct_CC="cc"
1965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1966 break 2
1967 fi
1968 done
1969 done
1970
1971 fi
1972 fi
1973 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1974 if test -n "$ac_ct_CC"; then
1975 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1976 echo "${ECHO_T}$ac_ct_CC" >&6
1977 else
1978 echo "$as_me:$LINENO: result: no" >&5
1979 echo "${ECHO_T}no" >&6
1980 fi
1981
1982 CC=$ac_ct_CC
1983 else
1984 CC="$ac_cv_prog_CC"
1985 fi
1986
1987 fi
1988 if test -z "$CC"; then
1989 # Extract the first word of "cc", so it can be a program name with args.
1990 set dummy cc; ac_word=$2
1991 echo "$as_me:$LINENO: checking for $ac_word" >&5
1992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1993 if test "${ac_cv_prog_CC+set}" = set; then
1994 echo $ECHO_N "(cached) $ECHO_C" >&6
1995 else
1996 if test -n "$CC"; then
1997 ac_cv_prog_CC="$CC" # Let the user override the test.
1998 else
1999 ac_prog_rejected=no
2000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001 for as_dir in $PATH
2002 do
2003 IFS=$as_save_IFS
2004 test -z "$as_dir" && as_dir=.
2005 for ac_exec_ext in '' $ac_executable_extensions; do
2006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2007 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2008 ac_prog_rejected=yes
2009 continue
2010 fi
2011 ac_cv_prog_CC="cc"
2012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2013 break 2
2014 fi
2015 done
2016 done
2017
2018 if test $ac_prog_rejected = yes; then
2019 # We found a bogon in the path, so make sure we never use it.
2020 set dummy $ac_cv_prog_CC
2021 shift
2022 if test $# != 0; then
2023 # We chose a different compiler from the bogus one.
2024 # However, it has the same basename, so the bogon will be chosen
2025 # first if we set CC to just the basename; use the full file name.
2026 shift
2027 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2028 fi
2029 fi
2030 fi
2031 fi
2032 CC=$ac_cv_prog_CC
2033 if test -n "$CC"; then
2034 echo "$as_me:$LINENO: result: $CC" >&5
2035 echo "${ECHO_T}$CC" >&6
2036 else
2037 echo "$as_me:$LINENO: result: no" >&5
2038 echo "${ECHO_T}no" >&6
2039 fi
2040
2041 fi
2042 if test -z "$CC"; then
2043 if test -n "$ac_tool_prefix"; then
2044 for ac_prog in cl
2045 do
2046 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2047 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2048 echo "$as_me:$LINENO: checking for $ac_word" >&5
2049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2050 if test "${ac_cv_prog_CC+set}" = set; then
2051 echo $ECHO_N "(cached) $ECHO_C" >&6
2052 else
2053 if test -n "$CC"; then
2054 ac_cv_prog_CC="$CC" # Let the user override the test.
2055 else
2056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057 for as_dir in $PATH
2058 do
2059 IFS=$as_save_IFS
2060 test -z "$as_dir" && as_dir=.
2061 for ac_exec_ext in '' $ac_executable_extensions; do
2062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2063 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 break 2
2066 fi
2067 done
2068 done
2069
2070 fi
2071 fi
2072 CC=$ac_cv_prog_CC
2073 if test -n "$CC"; then
2074 echo "$as_me:$LINENO: result: $CC" >&5
2075 echo "${ECHO_T}$CC" >&6
2076 else
2077 echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6
2079 fi
2080
2081 test -n "$CC" && break
2082 done
2083 fi
2084 if test -z "$CC"; then
2085 ac_ct_CC=$CC
2086 for ac_prog in cl
2087 do
2088 # Extract the first word of "$ac_prog", so it can be a program name with args.
2089 set dummy $ac_prog; ac_word=$2
2090 echo "$as_me:$LINENO: checking for $ac_word" >&5
2091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2092 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2094 else
2095 if test -n "$ac_ct_CC"; then
2096 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2097 else
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 for as_dir in $PATH
2100 do
2101 IFS=$as_save_IFS
2102 test -z "$as_dir" && as_dir=.
2103 for ac_exec_ext in '' $ac_executable_extensions; do
2104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2105 ac_cv_prog_ac_ct_CC="$ac_prog"
2106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2107 break 2
2108 fi
2109 done
2110 done
2111
2112 fi
2113 fi
2114 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2115 if test -n "$ac_ct_CC"; then
2116 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2117 echo "${ECHO_T}$ac_ct_CC" >&6
2118 else
2119 echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6
2121 fi
2122
2123 test -n "$ac_ct_CC" && break
2124 done
2125
2126 CC=$ac_ct_CC
2127 fi
2128
2129 fi
2130
2131
2132 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2133 See \`config.log' for more details." >&5
2134 echo "$as_me: error: no acceptable C compiler found in \$PATH
2135 See \`config.log' for more details." >&2;}
2136 { (exit 1); exit 1; }; }
2137
2138 # Provide some information about the compiler.
2139 echo "$as_me:$LINENO:" \
2140 "checking for C compiler version" >&5
2141 ac_compiler=`set X $ac_compile; echo $2`
2142 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2143 (eval $ac_compiler --version </dev/null >&5) 2>&5
2144 ac_status=$?
2145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2146 (exit $ac_status); }
2147 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2148 (eval $ac_compiler -v </dev/null >&5) 2>&5
2149 ac_status=$?
2150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151 (exit $ac_status); }
2152 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2153 (eval $ac_compiler -V </dev/null >&5) 2>&5
2154 ac_status=$?
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); }
2157
2158 cat >conftest.$ac_ext <<_ACEOF
2159 /* confdefs.h. */
2160 _ACEOF
2161 cat confdefs.h >>conftest.$ac_ext
2162 cat >>conftest.$ac_ext <<_ACEOF
2163 /* end confdefs.h. */
2164
2165 int
2166 main ()
2167 {
2168
2169 ;
2170 return 0;
2171 }
2172 _ACEOF
2173 ac_clean_files_save=$ac_clean_files
2174 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2175 # Try to create an executable without -o first, disregard a.out.
2176 # It will help us diagnose broken compilers, and finding out an intuition
2177 # of exeext.
2178 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2179 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2180 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2181 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2182 (eval $ac_link_default) 2>&5
2183 ac_status=$?
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); }; then
2186 # Find the output, starting from the most likely. This scheme is
2187 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2188 # resort.
2189
2190 # Be careful to initialize this variable, since it used to be cached.
2191 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2192 ac_cv_exeext=
2193 # b.out is created by i960 compilers.
2194 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2195 do
2196 test -f "$ac_file" || continue
2197 case $ac_file in
2198 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2199 ;;
2200 conftest.$ac_ext )
2201 # This is the source file.
2202 ;;
2203 [ab].out )
2204 # We found the default executable, but exeext='' is most
2205 # certainly right.
2206 break;;
2207 *.* )
2208 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2209 # FIXME: I believe we export ac_cv_exeext for Libtool,
2210 # but it would be cool to find out if it's true. Does anybody
2211 # maintain Libtool? --akim.
2212 export ac_cv_exeext
2213 break;;
2214 * )
2215 break;;
2216 esac
2217 done
2218 else
2219 echo "$as_me: failed program was:" >&5
2220 sed 's/^/| /' conftest.$ac_ext >&5
2221
2222 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2223 See \`config.log' for more details." >&5
2224 echo "$as_me: error: C compiler cannot create executables
2225 See \`config.log' for more details." >&2;}
2226 { (exit 77); exit 77; }; }
2227 fi
2228
2229 ac_exeext=$ac_cv_exeext
2230 echo "$as_me:$LINENO: result: $ac_file" >&5
2231 echo "${ECHO_T}$ac_file" >&6
2232
2233 # Check the compiler produces executables we can run. If not, either
2234 # the compiler is broken, or we cross compile.
2235 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2236 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2237 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2238 # If not cross compiling, check that we can run a simple program.
2239 if test "$cross_compiling" != yes; then
2240 if { ac_try='./$ac_file'
2241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2242 (eval $ac_try) 2>&5
2243 ac_status=$?
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); }; }; then
2246 cross_compiling=no
2247 else
2248 if test "$cross_compiling" = maybe; then
2249 cross_compiling=yes
2250 else
2251 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2252 If you meant to cross compile, use \`--host'.
2253 See \`config.log' for more details." >&5
2254 echo "$as_me: error: cannot run C compiled programs.
2255 If you meant to cross compile, use \`--host'.
2256 See \`config.log' for more details." >&2;}
2257 { (exit 1); exit 1; }; }
2258 fi
2259 fi
2260 fi
2261 echo "$as_me:$LINENO: result: yes" >&5
2262 echo "${ECHO_T}yes" >&6
2263
2264 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2265 ac_clean_files=$ac_clean_files_save
2266 # Check the compiler produces executables we can run. If not, either
2267 # the compiler is broken, or we cross compile.
2268 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2269 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2270 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2271 echo "${ECHO_T}$cross_compiling" >&6
2272
2273 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2274 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2276 (eval $ac_link) 2>&5
2277 ac_status=$?
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }; then
2280 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2281 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2282 # work properly (i.e., refer to `conftest.exe'), while it won't with
2283 # `rm'.
2284 for ac_file in conftest.exe conftest conftest.*; do
2285 test -f "$ac_file" || continue
2286 case $ac_file in
2287 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2288 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2289 export ac_cv_exeext
2290 break;;
2291 * ) break;;
2292 esac
2293 done
2294 else
2295 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2296 See \`config.log' for more details." >&5
2297 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2298 See \`config.log' for more details." >&2;}
2299 { (exit 1); exit 1; }; }
2300 fi
2301
2302 rm -f conftest$ac_cv_exeext
2303 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2304 echo "${ECHO_T}$ac_cv_exeext" >&6
2305
2306 rm -f conftest.$ac_ext
2307 EXEEXT=$ac_cv_exeext
2308 ac_exeext=$EXEEXT
2309 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2310 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2311 if test "${ac_cv_objext+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 else
2314 cat >conftest.$ac_ext <<_ACEOF
2315 /* confdefs.h. */
2316 _ACEOF
2317 cat confdefs.h >>conftest.$ac_ext
2318 cat >>conftest.$ac_ext <<_ACEOF
2319 /* end confdefs.h. */
2320
2321 int
2322 main ()
2323 {
2324
2325 ;
2326 return 0;
2327 }
2328 _ACEOF
2329 rm -f conftest.o conftest.obj
2330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2331 (eval $ac_compile) 2>&5
2332 ac_status=$?
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; then
2335 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2336 case $ac_file in
2337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2338 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2339 break;;
2340 esac
2341 done
2342 else
2343 echo "$as_me: failed program was:" >&5
2344 sed 's/^/| /' conftest.$ac_ext >&5
2345
2346 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2347 See \`config.log' for more details." >&5
2348 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2349 See \`config.log' for more details." >&2;}
2350 { (exit 1); exit 1; }; }
2351 fi
2352
2353 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2354 fi
2355 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2356 echo "${ECHO_T}$ac_cv_objext" >&6
2357 OBJEXT=$ac_cv_objext
2358 ac_objext=$OBJEXT
2359 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2360 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2361 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2363 else
2364 cat >conftest.$ac_ext <<_ACEOF
2365 /* confdefs.h. */
2366 _ACEOF
2367 cat confdefs.h >>conftest.$ac_ext
2368 cat >>conftest.$ac_ext <<_ACEOF
2369 /* end confdefs.h. */
2370
2371 int
2372 main ()
2373 {
2374 #ifndef __GNUC__
2375 choke me
2376 #endif
2377
2378 ;
2379 return 0;
2380 }
2381 _ACEOF
2382 rm -f conftest.$ac_objext
2383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2384 (eval $ac_compile) 2>conftest.er1
2385 ac_status=$?
2386 grep -v '^ *+' conftest.er1 >conftest.err
2387 rm -f conftest.er1
2388 cat conftest.err >&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); } &&
2391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2393 (eval $ac_try) 2>&5
2394 ac_status=$?
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }; } &&
2397 { ac_try='test -s conftest.$ac_objext'
2398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2399 (eval $ac_try) 2>&5
2400 ac_status=$?
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); }; }; then
2403 ac_compiler_gnu=yes
2404 else
2405 echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.$ac_ext >&5
2407
2408 ac_compiler_gnu=no
2409 fi
2410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2411 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2412
2413 fi
2414 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2415 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2416 GCC=`test $ac_compiler_gnu = yes && echo yes`
2417 ac_test_CFLAGS=${CFLAGS+set}
2418 ac_save_CFLAGS=$CFLAGS
2419 CFLAGS="-g"
2420 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2421 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2422 if test "${ac_cv_prog_cc_g+set}" = set; then
2423 echo $ECHO_N "(cached) $ECHO_C" >&6
2424 else
2425 cat >conftest.$ac_ext <<_ACEOF
2426 /* confdefs.h. */
2427 _ACEOF
2428 cat confdefs.h >>conftest.$ac_ext
2429 cat >>conftest.$ac_ext <<_ACEOF
2430 /* end confdefs.h. */
2431
2432 int
2433 main ()
2434 {
2435
2436 ;
2437 return 0;
2438 }
2439 _ACEOF
2440 rm -f conftest.$ac_objext
2441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2442 (eval $ac_compile) 2>conftest.er1
2443 ac_status=$?
2444 grep -v '^ *+' conftest.er1 >conftest.err
2445 rm -f conftest.er1
2446 cat conftest.err >&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); } &&
2449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2451 (eval $ac_try) 2>&5
2452 ac_status=$?
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); }; } &&
2455 { ac_try='test -s conftest.$ac_objext'
2456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457 (eval $ac_try) 2>&5
2458 ac_status=$?
2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); }; }; then
2461 ac_cv_prog_cc_g=yes
2462 else
2463 echo "$as_me: failed program was:" >&5
2464 sed 's/^/| /' conftest.$ac_ext >&5
2465
2466 ac_cv_prog_cc_g=no
2467 fi
2468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2469 fi
2470 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2471 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2472 if test "$ac_test_CFLAGS" = set; then
2473 CFLAGS=$ac_save_CFLAGS
2474 elif test $ac_cv_prog_cc_g = yes; then
2475 if test "$GCC" = yes; then
2476 CFLAGS="-g -O2"
2477 else
2478 CFLAGS="-g"
2479 fi
2480 else
2481 if test "$GCC" = yes; then
2482 CFLAGS="-O2"
2483 else
2484 CFLAGS=
2485 fi
2486 fi
2487 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2488 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2489 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2490 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 else
2492 ac_cv_prog_cc_stdc=no
2493 ac_save_CC=$CC
2494 cat >conftest.$ac_ext <<_ACEOF
2495 /* confdefs.h. */
2496 _ACEOF
2497 cat confdefs.h >>conftest.$ac_ext
2498 cat >>conftest.$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2500 #include <stdarg.h>
2501 #include <stdio.h>
2502 #include <sys/types.h>
2503 #include <sys/stat.h>
2504 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2505 struct buf { int x; };
2506 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2507 static char *e (p, i)
2508 char **p;
2509 int i;
2510 {
2511 return p[i];
2512 }
2513 static char *f (char * (*g) (char **, int), char **p, ...)
2514 {
2515 char *s;
2516 va_list v;
2517 va_start (v,p);
2518 s = g (p, va_arg (v,int));
2519 va_end (v);
2520 return s;
2521 }
2522
2523 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2524 function prototypes and stuff, but not '\xHH' hex character constants.
2525 These don't provoke an error unfortunately, instead are silently treated
2526 as 'x'. The following induces an error, until -std1 is added to get
2527 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2528 array size at least. It's necessary to write '\x00'==0 to get something
2529 that's true only with -std1. */
2530 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2531
2532 int test (int i, double x);
2533 struct s1 {int (*f) (int a);};
2534 struct s2 {int (*f) (double a);};
2535 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2536 int argc;
2537 char **argv;
2538 int
2539 main ()
2540 {
2541 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2542 ;
2543 return 0;
2544 }
2545 _ACEOF
2546 # Don't try gcc -ansi; that turns off useful extensions and
2547 # breaks some systems' header files.
2548 # AIX -qlanglvl=ansi
2549 # Ultrix and OSF/1 -std1
2550 # HP-UX 10.20 and later -Ae
2551 # HP-UX older versions -Aa -D_HPUX_SOURCE
2552 # SVR4 -Xc -D__EXTENSIONS__
2553 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2554 do
2555 CC="$ac_save_CC $ac_arg"
2556 rm -f conftest.$ac_objext
2557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2558 (eval $ac_compile) 2>conftest.er1
2559 ac_status=$?
2560 grep -v '^ *+' conftest.er1 >conftest.err
2561 rm -f conftest.er1
2562 cat conftest.err >&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); } &&
2565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567 (eval $ac_try) 2>&5
2568 ac_status=$?
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; } &&
2571 { ac_try='test -s conftest.$ac_objext'
2572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2573 (eval $ac_try) 2>&5
2574 ac_status=$?
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; }; then
2577 ac_cv_prog_cc_stdc=$ac_arg
2578 break
2579 else
2580 echo "$as_me: failed program was:" >&5
2581 sed 's/^/| /' conftest.$ac_ext >&5
2582
2583 fi
2584 rm -f conftest.err conftest.$ac_objext
2585 done
2586 rm -f conftest.$ac_ext conftest.$ac_objext
2587 CC=$ac_save_CC
2588
2589 fi
2590
2591 case "x$ac_cv_prog_cc_stdc" in
2592 x|xno)
2593 echo "$as_me:$LINENO: result: none needed" >&5
2594 echo "${ECHO_T}none needed" >&6 ;;
2595 *)
2596 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2597 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2598 CC="$CC $ac_cv_prog_cc_stdc" ;;
2599 esac
2600
2601 # Some people use a C++ compiler to compile C. Since we use `exit',
2602 # in C++ we need to declare it. In case someone uses the same compiler
2603 # for both compiling C and C++ we need to have the C++ compiler decide
2604 # the declaration of exit, since it's the most demanding environment.
2605 cat >conftest.$ac_ext <<_ACEOF
2606 #ifndef __cplusplus
2607 choke me
2608 #endif
2609 _ACEOF
2610 rm -f conftest.$ac_objext
2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612 (eval $ac_compile) 2>conftest.er1
2613 ac_status=$?
2614 grep -v '^ *+' conftest.er1 >conftest.err
2615 rm -f conftest.er1
2616 cat conftest.err >&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); } &&
2619 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2621 (eval $ac_try) 2>&5
2622 ac_status=$?
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }; } &&
2625 { ac_try='test -s conftest.$ac_objext'
2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627 (eval $ac_try) 2>&5
2628 ac_status=$?
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; }; then
2631 for ac_declaration in \
2632 '' \
2633 'extern "C" void std::exit (int) throw (); using std::exit;' \
2634 'extern "C" void std::exit (int); using std::exit;' \
2635 'extern "C" void exit (int) throw ();' \
2636 'extern "C" void exit (int);' \
2637 'void exit (int);'
2638 do
2639 cat >conftest.$ac_ext <<_ACEOF
2640 /* confdefs.h. */
2641 _ACEOF
2642 cat confdefs.h >>conftest.$ac_ext
2643 cat >>conftest.$ac_ext <<_ACEOF
2644 /* end confdefs.h. */
2645 $ac_declaration
2646 #include <stdlib.h>
2647 int
2648 main ()
2649 {
2650 exit (42);
2651 ;
2652 return 0;
2653 }
2654 _ACEOF
2655 rm -f conftest.$ac_objext
2656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2657 (eval $ac_compile) 2>conftest.er1
2658 ac_status=$?
2659 grep -v '^ *+' conftest.er1 >conftest.err
2660 rm -f conftest.er1
2661 cat conftest.err >&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } &&
2664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666 (eval $ac_try) 2>&5
2667 ac_status=$?
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; } &&
2670 { ac_try='test -s conftest.$ac_objext'
2671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2672 (eval $ac_try) 2>&5
2673 ac_status=$?
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }; }; then
2676 :
2677 else
2678 echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.$ac_ext >&5
2680
2681 continue
2682 fi
2683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2684 cat >conftest.$ac_ext <<_ACEOF
2685 /* confdefs.h. */
2686 _ACEOF
2687 cat confdefs.h >>conftest.$ac_ext
2688 cat >>conftest.$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2690 $ac_declaration
2691 int
2692 main ()
2693 {
2694 exit (42);
2695 ;
2696 return 0;
2697 }
2698 _ACEOF
2699 rm -f conftest.$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>conftest.er1
2702 ac_status=$?
2703 grep -v '^ *+' conftest.er1 >conftest.err
2704 rm -f conftest.er1
2705 cat conftest.err >&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } &&
2708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2710 (eval $ac_try) 2>&5
2711 ac_status=$?
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; } &&
2714 { ac_try='test -s conftest.$ac_objext'
2715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2716 (eval $ac_try) 2>&5
2717 ac_status=$?
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; }; then
2720 break
2721 else
2722 echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.$ac_ext >&5
2724
2725 fi
2726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2727 done
2728 rm -f conftest*
2729 if test -n "$ac_declaration"; then
2730 echo '#ifdef __cplusplus' >>confdefs.h
2731 echo $ac_declaration >>confdefs.h
2732 echo '#endif' >>confdefs.h
2733 fi
2734
2735 else
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2738
2739 fi
2740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2741 ac_ext=c
2742 ac_cpp='$CPP $CPPFLAGS'
2743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2746 DEPDIR="${am__leading_dot}deps"
2747
2748 ac_config_commands="$ac_config_commands depfiles"
2749
2750
2751 am_make=${MAKE-make}
2752 cat > confinc << 'END'
2753 am__doit:
2754 @echo done
2755 .PHONY: am__doit
2756 END
2757 # If we don't find an include directive, just comment out the code.
2758 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2759 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2760 am__include="#"
2761 am__quote=
2762 _am_result=none
2763 # First try GNU make style include.
2764 echo "include confinc" > confmf
2765 # We grep out `Entering directory' and `Leaving directory'
2766 # messages which can occur if `w' ends up in MAKEFLAGS.
2767 # In particular we don't look at `^make:' because GNU make might
2768 # be invoked under some other name (usually "gmake"), in which
2769 # case it prints its new name instead of `make'.
2770 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2771 am__include=include
2772 am__quote=
2773 _am_result=GNU
2774 fi
2775 # Now try BSD make style include.
2776 if test "$am__include" = "#"; then
2777 echo '.include "confinc"' > confmf
2778 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2779 am__include=.include
2780 am__quote="\""
2781 _am_result=BSD
2782 fi
2783 fi
2784
2785
2786 echo "$as_me:$LINENO: result: $_am_result" >&5
2787 echo "${ECHO_T}$_am_result" >&6
2788 rm -f confinc confmf
2789
2790 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2791 if test "${enable_dependency_tracking+set}" = set; then
2792 enableval="$enable_dependency_tracking"
2793
2794 fi;
2795 if test "x$enable_dependency_tracking" != xno; then
2796 am_depcomp="$ac_aux_dir/depcomp"
2797 AMDEPBACKSLASH='\'
2798 fi
2799
2800
2801 if test "x$enable_dependency_tracking" != xno; then
2802 AMDEP_TRUE=
2803 AMDEP_FALSE='#'
2804 else
2805 AMDEP_TRUE='#'
2806 AMDEP_FALSE=
2807 fi
2808
2809
2810
2811
2812 depcc="$CC" am_compiler_list=
2813
2814 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2815 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2816 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2817 echo $ECHO_N "(cached) $ECHO_C" >&6
2818 else
2819 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2820 # We make a subdir and do the tests there. Otherwise we can end up
2821 # making bogus files that we don't know about and never remove. For
2822 # instance it was reported that on HP-UX the gcc test will end up
2823 # making a dummy file named `D' -- because `-MD' means `put the output
2824 # in D'.
2825 mkdir conftest.dir
2826 # Copy depcomp to subdir because otherwise we won't find it if we're
2827 # using a relative directory.
2828 cp "$am_depcomp" conftest.dir
2829 cd conftest.dir
2830 # We will build objects and dependencies in a subdirectory because
2831 # it helps to detect inapplicable dependency modes. For instance
2832 # both Tru64's cc and ICC support -MD to output dependencies as a
2833 # side effect of compilation, but ICC will put the dependencies in
2834 # the current directory while Tru64 will put them in the object
2835 # directory.
2836 mkdir sub
2837
2838 am_cv_CC_dependencies_compiler_type=none
2839 if test "$am_compiler_list" = ""; then
2840 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2841 fi
2842 for depmode in $am_compiler_list; do
2843 # Setup a source with many dependencies, because some compilers
2844 # like to wrap large dependency lists on column 80 (with \), and
2845 # we should not choose a depcomp mode which is confused by this.
2846 #
2847 # We need to recreate these files for each test, as the compiler may
2848 # overwrite some of them when testing with obscure command lines.
2849 # This happens at least with the AIX C compiler.
2850 : > sub/conftest.c
2851 for i in 1 2 3 4 5 6; do
2852 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2853 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2854 # Solaris 8's {/usr,}/bin/sh.
2855 touch sub/conftst$i.h
2856 done
2857 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2858
2859 case $depmode in
2860 nosideeffect)
2861 # after this tag, mechanisms are not by side-effect, so they'll
2862 # only be used when explicitly requested
2863 if test "x$enable_dependency_tracking" = xyes; then
2864 continue
2865 else
2866 break
2867 fi
2868 ;;
2869 none) break ;;
2870 esac
2871 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2872 # mode. It turns out that the SunPro C++ compiler does not properly
2873 # handle `-M -o', and we need to detect this.
2874 if depmode=$depmode \
2875 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2876 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2877 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2878 >/dev/null 2>conftest.err &&
2879 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2880 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2881 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2882 # icc doesn't choke on unknown options, it will just issue warnings
2883 # or remarks (even with -Werror). So we grep stderr for any message
2884 # that says an option was ignored or not supported.
2885 # When given -MP, icc 7.0 and 7.1 complain thusly:
2886 # icc: Command line warning: ignoring option '-M'; no argument required
2887 # The diagnosis changed in icc 8.0:
2888 # icc: Command line remark: option '-MP' not supported
2889 if (grep 'ignoring option' conftest.err ||
2890 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2891 am_cv_CC_dependencies_compiler_type=$depmode
2892 break
2893 fi
2894 fi
2895 done
2896
2897 cd ..
2898 rm -rf conftest.dir
2899 else
2900 am_cv_CC_dependencies_compiler_type=none
2901 fi
2902
2903 fi
2904 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2905 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2906 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2907
2908
2909
2910 if
2911 test "x$enable_dependency_tracking" != xno \
2912 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2913 am__fastdepCC_TRUE=
2914 am__fastdepCC_FALSE='#'
2915 else
2916 am__fastdepCC_TRUE='#'
2917 am__fastdepCC_FALSE=
2918 fi
2919
2920
2921 if test "x$ac_cv_prog_cc_stdc" = xno; then
2922 { { echo "$as_me:$LINENO: error: an ANSI C compiler is required to build this package" >&5
2923 echo "$as_me: error: an ANSI C compiler is required to build this package" >&2;}
2924 { (exit 1); exit 1; }; }
2925 fi
2926
2927 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2928 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2929 if test "${ac_cv_c_const+set}" = set; then
2930 echo $ECHO_N "(cached) $ECHO_C" >&6
2931 else
2932 cat >conftest.$ac_ext <<_ACEOF
2933 /* confdefs.h. */
2934 _ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2938
2939 int
2940 main ()
2941 {
2942 /* FIXME: Include the comments suggested by Paul. */
2943 #ifndef __cplusplus
2944 /* Ultrix mips cc rejects this. */
2945 typedef int charset[2];
2946 const charset x;
2947 /* SunOS 4.1.1 cc rejects this. */
2948 char const *const *ccp;
2949 char **p;
2950 /* NEC SVR4.0.2 mips cc rejects this. */
2951 struct point {int x, y;};
2952 static struct point const zero = {0,0};
2953 /* AIX XL C 1.02.0.0 rejects this.
2954 It does not let you subtract one const X* pointer from another in
2955 an arm of an if-expression whose if-part is not a constant
2956 expression */
2957 const char *g = "string";
2958 ccp = &g + (g ? g-g : 0);
2959 /* HPUX 7.0 cc rejects these. */
2960 ++ccp;
2961 p = (char**) ccp;
2962 ccp = (char const *const *) p;
2963 { /* SCO 3.2v4 cc rejects this. */
2964 char *t;
2965 char const *s = 0 ? (char *) 0 : (char const *) 0;
2966
2967 *t++ = 0;
2968 }
2969 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2970 int x[] = {25, 17};
2971 const int *foo = &x[0];
2972 ++foo;
2973 }
2974 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2975 typedef const int *iptr;
2976 iptr p = 0;
2977 ++p;
2978 }
2979 { /* AIX XL C 1.02.0.0 rejects this saying
2980 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2981 struct s { int j; const int *ap[3]; };
2982 struct s *b; b->j = 5;
2983 }
2984 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2985 const int foo = 10;
2986 }
2987 #endif
2988
2989 ;
2990 return 0;
2991 }
2992 _ACEOF
2993 rm -f conftest.$ac_objext
2994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2995 (eval $ac_compile) 2>conftest.er1
2996 ac_status=$?
2997 grep -v '^ *+' conftest.er1 >conftest.err
2998 rm -f conftest.er1
2999 cat conftest.err >&5
3000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001 (exit $ac_status); } &&
3002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3004 (eval $ac_try) 2>&5
3005 ac_status=$?
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }; } &&
3008 { ac_try='test -s conftest.$ac_objext'
3009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3010 (eval $ac_try) 2>&5
3011 ac_status=$?
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); }; }; then
3014 ac_cv_c_const=yes
3015 else
3016 echo "$as_me: failed program was:" >&5
3017 sed 's/^/| /' conftest.$ac_ext >&5
3018
3019 ac_cv_c_const=no
3020 fi
3021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3022 fi
3023 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3024 echo "${ECHO_T}$ac_cv_c_const" >&6
3025 if test $ac_cv_c_const = no; then
3026
3027 cat >>confdefs.h <<\_ACEOF
3028 #define const
3029 _ACEOF
3030
3031 fi
3032
3033
3034 if test $ac_cv_c_const = no; then
3035 MD_NO_CONST=1
3036 else
3037 MD_NO_CONST=0
3038 fi
3039
3040
3041 ac_ext=c
3042 ac_cpp='$CPP $CPPFLAGS'
3043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3046 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3047 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3048 # On Suns, sometimes $CPP names a directory.
3049 if test -n "$CPP" && test -d "$CPP"; then
3050 CPP=
3051 fi
3052 if test -z "$CPP"; then
3053 if test "${ac_cv_prog_CPP+set}" = set; then
3054 echo $ECHO_N "(cached) $ECHO_C" >&6
3055 else
3056 # Double quotes because CPP needs to be expanded
3057 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3058 do
3059 ac_preproc_ok=false
3060 for ac_c_preproc_warn_flag in '' yes
3061 do
3062 # Use a header file that comes with gcc, so configuring glibc
3063 # with a fresh cross-compiler works.
3064 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3065 # <limits.h> exists even on freestanding compilers.
3066 # On the NeXT, cc -E runs the code through the compiler's parser,
3067 # not just through cpp. "Syntax error" is here to catch this case.
3068 cat >conftest.$ac_ext <<_ACEOF
3069 /* confdefs.h. */
3070 _ACEOF
3071 cat confdefs.h >>conftest.$ac_ext
3072 cat >>conftest.$ac_ext <<_ACEOF
3073 /* end confdefs.h. */
3074 #ifdef __STDC__
3075 # include <limits.h>
3076 #else
3077 # include <assert.h>
3078 #endif
3079 Syntax error
3080 _ACEOF
3081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3083 ac_status=$?
3084 grep -v '^ *+' conftest.er1 >conftest.err
3085 rm -f conftest.er1
3086 cat conftest.err >&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); } >/dev/null; then
3089 if test -s conftest.err; then
3090 ac_cpp_err=$ac_c_preproc_warn_flag
3091 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3092 else
3093 ac_cpp_err=
3094 fi
3095 else
3096 ac_cpp_err=yes
3097 fi
3098 if test -z "$ac_cpp_err"; then
3099 :
3100 else
3101 echo "$as_me: failed program was:" >&5
3102 sed 's/^/| /' conftest.$ac_ext >&5
3103
3104 # Broken: fails on valid input.
3105 continue
3106 fi
3107 rm -f conftest.err conftest.$ac_ext
3108
3109 # OK, works on sane cases. Now check whether non-existent headers
3110 # can be detected and how.
3111 cat >conftest.$ac_ext <<_ACEOF
3112 /* confdefs.h. */
3113 _ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3117 #include <ac_nonexistent.h>
3118 _ACEOF
3119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3121 ac_status=$?
3122 grep -v '^ *+' conftest.er1 >conftest.err
3123 rm -f conftest.er1
3124 cat conftest.err >&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); } >/dev/null; then
3127 if test -s conftest.err; then
3128 ac_cpp_err=$ac_c_preproc_warn_flag
3129 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3130 else
3131 ac_cpp_err=
3132 fi
3133 else
3134 ac_cpp_err=yes
3135 fi
3136 if test -z "$ac_cpp_err"; then
3137 # Broken: success on invalid input.
3138 continue
3139 else
3140 echo "$as_me: failed program was:" >&5
3141 sed 's/^/| /' conftest.$ac_ext >&5
3142
3143 # Passes both tests.
3144 ac_preproc_ok=:
3145 break
3146 fi
3147 rm -f conftest.err conftest.$ac_ext
3148
3149 done
3150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3151 rm -f conftest.err conftest.$ac_ext
3152 if $ac_preproc_ok; then
3153 break
3154 fi
3155
3156 done
3157 ac_cv_prog_CPP=$CPP
3158
3159 fi
3160 CPP=$ac_cv_prog_CPP
3161 else
3162 ac_cv_prog_CPP=$CPP
3163 fi
3164 echo "$as_me:$LINENO: result: $CPP" >&5
3165 echo "${ECHO_T}$CPP" >&6
3166 ac_preproc_ok=false
3167 for ac_c_preproc_warn_flag in '' yes
3168 do
3169 # Use a header file that comes with gcc, so configuring glibc
3170 # with a fresh cross-compiler works.
3171 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3172 # <limits.h> exists even on freestanding compilers.
3173 # On the NeXT, cc -E runs the code through the compiler's parser,
3174 # not just through cpp. "Syntax error" is here to catch this case.
3175 cat >conftest.$ac_ext <<_ACEOF
3176 /* confdefs.h. */
3177 _ACEOF
3178 cat confdefs.h >>conftest.$ac_ext
3179 cat >>conftest.$ac_ext <<_ACEOF
3180 /* end confdefs.h. */
3181 #ifdef __STDC__
3182 # include <limits.h>
3183 #else
3184 # include <assert.h>
3185 #endif
3186 Syntax error
3187 _ACEOF
3188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3190 ac_status=$?
3191 grep -v '^ *+' conftest.er1 >conftest.err
3192 rm -f conftest.er1
3193 cat conftest.err >&5
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); } >/dev/null; then
3196 if test -s conftest.err; then
3197 ac_cpp_err=$ac_c_preproc_warn_flag
3198 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3199 else
3200 ac_cpp_err=
3201 fi
3202 else
3203 ac_cpp_err=yes
3204 fi
3205 if test -z "$ac_cpp_err"; then
3206 :
3207 else
3208 echo "$as_me: failed program was:" >&5
3209 sed 's/^/| /' conftest.$ac_ext >&5
3210
3211 # Broken: fails on valid input.
3212 continue
3213 fi
3214 rm -f conftest.err conftest.$ac_ext
3215
3216 # OK, works on sane cases. Now check whether non-existent headers
3217 # can be detected and how.
3218 cat >conftest.$ac_ext <<_ACEOF
3219 /* confdefs.h. */
3220 _ACEOF
3221 cat confdefs.h >>conftest.$ac_ext
3222 cat >>conftest.$ac_ext <<_ACEOF
3223 /* end confdefs.h. */
3224 #include <ac_nonexistent.h>
3225 _ACEOF
3226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3228 ac_status=$?
3229 grep -v '^ *+' conftest.er1 >conftest.err
3230 rm -f conftest.er1
3231 cat conftest.err >&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); } >/dev/null; then
3234 if test -s conftest.err; then
3235 ac_cpp_err=$ac_c_preproc_warn_flag
3236 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3237 else
3238 ac_cpp_err=
3239 fi
3240 else
3241 ac_cpp_err=yes
3242 fi
3243 if test -z "$ac_cpp_err"; then
3244 # Broken: success on invalid input.
3245 continue
3246 else
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3249
3250 # Passes both tests.
3251 ac_preproc_ok=:
3252 break
3253 fi
3254 rm -f conftest.err conftest.$ac_ext
3255
3256 done
3257 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3258 rm -f conftest.err conftest.$ac_ext
3259 if $ac_preproc_ok; then
3260 :
3261 else
3262 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3263 See \`config.log' for more details." >&5
3264 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3265 See \`config.log' for more details." >&2;}
3266 { (exit 1); exit 1; }; }
3267 fi
3268
3269 ac_ext=c
3270 ac_cpp='$CPP $CPPFLAGS'
3271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3274
3275
3276 echo "$as_me:$LINENO: checking for egrep" >&5
3277 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3278 if test "${ac_cv_prog_egrep+set}" = set; then
3279 echo $ECHO_N "(cached) $ECHO_C" >&6
3280 else
3281 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3282 then ac_cv_prog_egrep='grep -E'
3283 else ac_cv_prog_egrep='egrep'
3284 fi
3285 fi
3286 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3287 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3288 EGREP=$ac_cv_prog_egrep
3289
3290
3291 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3292 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3293 if test "${ac_cv_header_stdc+set}" = set; then
3294 echo $ECHO_N "(cached) $ECHO_C" >&6
3295 else
3296 cat >conftest.$ac_ext <<_ACEOF
3297 /* confdefs.h. */
3298 _ACEOF
3299 cat confdefs.h >>conftest.$ac_ext
3300 cat >>conftest.$ac_ext <<_ACEOF
3301 /* end confdefs.h. */
3302 #include <stdlib.h>
3303 #include <stdarg.h>
3304 #include <string.h>
3305 #include <float.h>
3306
3307 int
3308 main ()
3309 {
3310
3311 ;
3312 return 0;
3313 }
3314 _ACEOF
3315 rm -f conftest.$ac_objext
3316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3317 (eval $ac_compile) 2>conftest.er1
3318 ac_status=$?
3319 grep -v '^ *+' conftest.er1 >conftest.err
3320 rm -f conftest.er1
3321 cat conftest.err >&5
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); } &&
3324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 (eval $ac_try) 2>&5
3327 ac_status=$?
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }; } &&
3330 { ac_try='test -s conftest.$ac_objext'
3331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332 (eval $ac_try) 2>&5
3333 ac_status=$?
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); }; }; then
3336 ac_cv_header_stdc=yes
3337 else
3338 echo "$as_me: failed program was:" >&5
3339 sed 's/^/| /' conftest.$ac_ext >&5
3340
3341 ac_cv_header_stdc=no
3342 fi
3343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3344
3345 if test $ac_cv_header_stdc = yes; then
3346 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3347 cat >conftest.$ac_ext <<_ACEOF
3348 /* confdefs.h. */
3349 _ACEOF
3350 cat confdefs.h >>conftest.$ac_ext
3351 cat >>conftest.$ac_ext <<_ACEOF
3352 /* end confdefs.h. */
3353 #include <string.h>
3354
3355 _ACEOF
3356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3357 $EGREP "memchr" >/dev/null 2>&1; then
3358 :
3359 else
3360 ac_cv_header_stdc=no
3361 fi
3362 rm -f conftest*
3363
3364 fi
3365
3366 if test $ac_cv_header_stdc = yes; then
3367 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3368 cat >conftest.$ac_ext <<_ACEOF
3369 /* confdefs.h. */
3370 _ACEOF
3371 cat confdefs.h >>conftest.$ac_ext
3372 cat >>conftest.$ac_ext <<_ACEOF
3373 /* end confdefs.h. */
3374 #include <stdlib.h>
3375
3376 _ACEOF
3377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3378 $EGREP "free" >/dev/null 2>&1; then
3379 :
3380 else
3381 ac_cv_header_stdc=no
3382 fi
3383 rm -f conftest*
3384
3385 fi
3386
3387 if test $ac_cv_header_stdc = yes; then
3388 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3389 if test "$cross_compiling" = yes; then
3390 :
3391 else
3392 cat >conftest.$ac_ext <<_ACEOF
3393 /* confdefs.h. */
3394 _ACEOF
3395 cat confdefs.h >>conftest.$ac_ext
3396 cat >>conftest.$ac_ext <<_ACEOF
3397 /* end confdefs.h. */
3398 #include <ctype.h>
3399 #if ((' ' & 0x0FF) == 0x020)
3400 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3401 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3402 #else
3403 # define ISLOWER(c) \
3404 (('a' <= (c) && (c) <= 'i') \
3405 || ('j' <= (c) && (c) <= 'r') \
3406 || ('s' <= (c) && (c) <= 'z'))
3407 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3408 #endif
3409
3410 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3411 int
3412 main ()
3413 {
3414 int i;
3415 for (i = 0; i < 256; i++)
3416 if (XOR (islower (i), ISLOWER (i))
3417 || toupper (i) != TOUPPER (i))
3418 exit(2);
3419 exit (0);
3420 }
3421 _ACEOF
3422 rm -f conftest$ac_exeext
3423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3424 (eval $ac_link) 2>&5
3425 ac_status=$?
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 (eval $ac_try) 2>&5
3430 ac_status=$?
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); }; }; then
3433 :
3434 else
3435 echo "$as_me: program exited with status $ac_status" >&5
3436 echo "$as_me: failed program was:" >&5
3437 sed 's/^/| /' conftest.$ac_ext >&5
3438
3439 ( exit $ac_status )
3440 ac_cv_header_stdc=no
3441 fi
3442 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3443 fi
3444 fi
3445 fi
3446 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3447 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3448 if test $ac_cv_header_stdc = yes; then
3449
3450 cat >>confdefs.h <<\_ACEOF
3451 #define STDC_HEADERS 1
3452 _ACEOF
3453
3454 fi
3455
3456 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3467 inttypes.h stdint.h unistd.h
3468 do
3469 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3470 echo "$as_me:$LINENO: checking for $ac_header" >&5
3471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3473 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 else
3475 cat >conftest.$ac_ext <<_ACEOF
3476 /* confdefs.h. */
3477 _ACEOF
3478 cat confdefs.h >>conftest.$ac_ext
3479 cat >>conftest.$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3481 $ac_includes_default
3482
3483 #include <$ac_header>
3484 _ACEOF
3485 rm -f conftest.$ac_objext
3486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3487 (eval $ac_compile) 2>conftest.er1
3488 ac_status=$?
3489 grep -v '^ *+' conftest.er1 >conftest.err
3490 rm -f conftest.er1
3491 cat conftest.err >&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); } &&
3494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3496 (eval $ac_try) 2>&5
3497 ac_status=$?
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); }; } &&
3500 { ac_try='test -s conftest.$ac_objext'
3501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3502 (eval $ac_try) 2>&5
3503 ac_status=$?
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); }; }; then
3506 eval "$as_ac_Header=yes"
3507 else
3508 echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3510
3511 eval "$as_ac_Header=no"
3512 fi
3513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3514 fi
3515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3516 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3518 cat >>confdefs.h <<_ACEOF
3519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3520 _ACEOF
3521
3522 fi
3523
3524 done
3525
3526
3527
3528
3529
3530
3531 for ac_header in errno.h float.h malloc.h math.h
3532 do
3533 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3534 echo "$as_me:$LINENO: checking for $ac_header" >&5
3535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 else
3539 cat >conftest.$ac_ext <<_ACEOF
3540 /* confdefs.h. */
3541 _ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3545 $ac_includes_default
3546
3547 #include <$ac_header>
3548 _ACEOF
3549 rm -f conftest.$ac_objext
3550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3551 (eval $ac_compile) 2>conftest.er1
3552 ac_status=$?
3553 grep -v '^ *+' conftest.er1 >conftest.err
3554 rm -f conftest.er1
3555 cat conftest.err >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); } &&
3558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3560 (eval $ac_try) 2>&5
3561 ac_status=$?
3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563 (exit $ac_status); }; } &&
3564 { ac_try='test -s conftest.$ac_objext'
3565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3566 (eval $ac_try) 2>&5
3567 ac_status=$?
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); }; }; then
3570 eval "$as_ac_Header=yes"
3571 else
3572 echo "$as_me: failed program was:" >&5
3573 sed 's/^/| /' conftest.$ac_ext >&5
3574
3575 eval "$as_ac_Header=no"
3576 fi
3577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3578 fi
3579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3582 cat >>confdefs.h <<_ACEOF
3583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3584 _ACEOF
3585
3586 fi
3587
3588 done
3589
3590 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
3591 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
3592 if test "${ac_cv_have_decl_strerror+set}" = set; then
3593 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 else
3595 cat >conftest.$ac_ext <<_ACEOF
3596 /* confdefs.h. */
3597 _ACEOF
3598 cat confdefs.h >>conftest.$ac_ext
3599 cat >>conftest.$ac_ext <<_ACEOF
3600 /* end confdefs.h. */
3601 $ac_includes_default
3602
3603 int
3604 main ()
3605 {
3606 #ifndef strerror
3607 char *p = (char *) strerror;
3608 #endif
3609
3610 ;
3611 return 0;
3612 }
3613 _ACEOF
3614 rm -f conftest.$ac_objext
3615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3616 (eval $ac_compile) 2>conftest.er1
3617 ac_status=$?
3618 grep -v '^ *+' conftest.er1 >conftest.err
3619 rm -f conftest.er1
3620 cat conftest.err >&5
3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); } &&
3623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3625 (eval $ac_try) 2>&5
3626 ac_status=$?
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); }; } &&
3629 { ac_try='test -s conftest.$ac_objext'
3630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3631 (eval $ac_try) 2>&5
3632 ac_status=$?
3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); }; }; then
3635 ac_cv_have_decl_strerror=yes
3636 else
3637 echo "$as_me: failed program was:" >&5
3638 sed 's/^/| /' conftest.$ac_ext >&5
3639
3640 ac_cv_have_decl_strerror=no
3641 fi
3642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3643 fi
3644 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
3645 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
3646 if test $ac_cv_have_decl_strerror = yes; then
3647
3648 cat >>confdefs.h <<_ACEOF
3649 #define HAVE_DECL_STRERROR 1
3650 _ACEOF
3651
3652
3653 else
3654 cat >>confdefs.h <<_ACEOF
3655 #define HAVE_DECL_STRERROR 0
3656 _ACEOF
3657
3658
3659 fi
3660 echo "$as_me:$LINENO: checking whether strchr is declared" >&5
3661 echo $ECHO_N "checking whether strchr is declared... $ECHO_C" >&6
3662 if test "${ac_cv_have_decl_strchr+set}" = set; then
3663 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 else
3665 cat >conftest.$ac_ext <<_ACEOF
3666 /* confdefs.h. */
3667 _ACEOF
3668 cat confdefs.h >>conftest.$ac_ext
3669 cat >>conftest.$ac_ext <<_ACEOF
3670 /* end confdefs.h. */
3671 $ac_includes_default
3672
3673 int
3674 main ()
3675 {
3676 #ifndef strchr
3677 char *p = (char *) strchr;
3678 #endif
3679
3680 ;
3681 return 0;
3682 }
3683 _ACEOF
3684 rm -f conftest.$ac_objext
3685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3686 (eval $ac_compile) 2>conftest.er1
3687 ac_status=$?
3688 grep -v '^ *+' conftest.er1 >conftest.err
3689 rm -f conftest.er1
3690 cat conftest.err >&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); } &&
3693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3695 (eval $ac_try) 2>&5
3696 ac_status=$?
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); }; } &&
3699 { ac_try='test -s conftest.$ac_objext'
3700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3701 (eval $ac_try) 2>&5
3702 ac_status=$?
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); }; }; then
3705 ac_cv_have_decl_strchr=yes
3706 else
3707 echo "$as_me: failed program was:" >&5
3708 sed 's/^/| /' conftest.$ac_ext >&5
3709
3710 ac_cv_have_decl_strchr=no
3711 fi
3712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3713 fi
3714 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strchr" >&5
3715 echo "${ECHO_T}$ac_cv_have_decl_strchr" >&6
3716 if test $ac_cv_have_decl_strchr = yes; then
3717
3718 cat >>confdefs.h <<_ACEOF
3719 #define HAVE_DECL_STRCHR 1
3720 _ACEOF
3721
3722
3723 else
3724 cat >>confdefs.h <<_ACEOF
3725 #define HAVE_DECL_STRCHR 0
3726 _ACEOF
3727
3728
3729 fi
3730
3731
3732 echo "$as_me:$LINENO: checking for size_t" >&5
3733 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3734 if test "${ac_cv_type_size_t+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 else
3737 cat >conftest.$ac_ext <<_ACEOF
3738 /* confdefs.h. */
3739 _ACEOF
3740 cat confdefs.h >>conftest.$ac_ext
3741 cat >>conftest.$ac_ext <<_ACEOF
3742 /* end confdefs.h. */
3743 $ac_includes_default
3744 int
3745 main ()
3746 {
3747 if ((size_t *) 0)
3748 return 0;
3749 if (sizeof (size_t))
3750 return 0;
3751 ;
3752 return 0;
3753 }
3754 _ACEOF
3755 rm -f conftest.$ac_objext
3756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3757 (eval $ac_compile) 2>conftest.er1
3758 ac_status=$?
3759 grep -v '^ *+' conftest.er1 >conftest.err
3760 rm -f conftest.er1
3761 cat conftest.err >&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); } &&
3764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766 (eval $ac_try) 2>&5
3767 ac_status=$?
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); }; } &&
3770 { ac_try='test -s conftest.$ac_objext'
3771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772 (eval $ac_try) 2>&5
3773 ac_status=$?
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); }; }; then
3776 ac_cv_type_size_t=yes
3777 else
3778 echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.$ac_ext >&5
3780
3781 ac_cv_type_size_t=no
3782 fi
3783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3784 fi
3785 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3786 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3787 if test $ac_cv_type_size_t = yes; then
3788
3789 cat >>confdefs.h <<_ACEOF
3790 #define HAVE_SIZE_T 1
3791 _ACEOF
3792
3793
3794 fi
3795 echo "$as_me:$LINENO: checking for ssize_t" >&5
3796 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
3797 if test "${ac_cv_type_ssize_t+set}" = set; then
3798 echo $ECHO_N "(cached) $ECHO_C" >&6
3799 else
3800 cat >conftest.$ac_ext <<_ACEOF
3801 /* confdefs.h. */
3802 _ACEOF
3803 cat confdefs.h >>conftest.$ac_ext
3804 cat >>conftest.$ac_ext <<_ACEOF
3805 /* end confdefs.h. */
3806 $ac_includes_default
3807 int
3808 main ()
3809 {
3810 if ((ssize_t *) 0)
3811 return 0;
3812 if (sizeof (ssize_t))
3813 return 0;
3814 ;
3815 return 0;
3816 }
3817 _ACEOF
3818 rm -f conftest.$ac_objext
3819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3820 (eval $ac_compile) 2>conftest.er1
3821 ac_status=$?
3822 grep -v '^ *+' conftest.er1 >conftest.err
3823 rm -f conftest.er1
3824 cat conftest.err >&5
3825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826 (exit $ac_status); } &&
3827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3829 (eval $ac_try) 2>&5
3830 ac_status=$?
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); }; } &&
3833 { ac_try='test -s conftest.$ac_objext'
3834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3835 (eval $ac_try) 2>&5
3836 ac_status=$?
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; }; then
3839 ac_cv_type_ssize_t=yes
3840 else
3841 echo "$as_me: failed program was:" >&5
3842 sed 's/^/| /' conftest.$ac_ext >&5
3843
3844 ac_cv_type_ssize_t=no
3845 fi
3846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3847 fi
3848 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
3849 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
3850 if test $ac_cv_type_ssize_t = yes; then
3851
3852 cat >>confdefs.h <<_ACEOF
3853 #define HAVE_SSIZE_T 1
3854 _ACEOF
3855
3856
3857 fi
3858 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
3859 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
3860 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
3861 echo $ECHO_N "(cached) $ECHO_C" >&6
3862 else
3863 cat >conftest.$ac_ext <<_ACEOF
3864 /* confdefs.h. */
3865 _ACEOF
3866 cat confdefs.h >>conftest.$ac_ext
3867 cat >>conftest.$ac_ext <<_ACEOF
3868 /* end confdefs.h. */
3869 $ac_includes_default
3870 int
3871 main ()
3872 {
3873 if ((ptrdiff_t *) 0)
3874 return 0;
3875 if (sizeof (ptrdiff_t))
3876 return 0;
3877 ;
3878 return 0;
3879 }
3880 _ACEOF
3881 rm -f conftest.$ac_objext
3882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3883 (eval $ac_compile) 2>conftest.er1
3884 ac_status=$?
3885 grep -v '^ *+' conftest.er1 >conftest.err
3886 rm -f conftest.er1
3887 cat conftest.err >&5
3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889 (exit $ac_status); } &&
3890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3892 (eval $ac_try) 2>&5
3893 ac_status=$?
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); }; } &&
3896 { ac_try='test -s conftest.$ac_objext'
3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3898 (eval $ac_try) 2>&5
3899 ac_status=$?
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; }; then
3902 ac_cv_type_ptrdiff_t=yes
3903 else
3904 echo "$as_me: failed program was:" >&5
3905 sed 's/^/| /' conftest.$ac_ext >&5
3906
3907 ac_cv_type_ptrdiff_t=no
3908 fi
3909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3910 fi
3911 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
3912 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
3913 if test $ac_cv_type_ptrdiff_t = yes; then
3914
3915 cat >>confdefs.h <<_ACEOF
3916 #define HAVE_PTRDIFF_T 1
3917 _ACEOF
3918
3919
3920 fi
3921
3922
3923 MATHLIB= save_LIBS="$LIBS"
3924 echo "$as_me:$LINENO: checking for library containing fabs" >&5
3925 echo $ECHO_N "checking for library containing fabs... $ECHO_C" >&6
3926 if test "${ac_cv_search_fabs+set}" = set; then
3927 echo $ECHO_N "(cached) $ECHO_C" >&6
3928 else
3929 ac_func_search_save_LIBS=$LIBS
3930 ac_cv_search_fabs=no
3931 cat >conftest.$ac_ext <<_ACEOF
3932 /* confdefs.h. */
3933 _ACEOF
3934 cat confdefs.h >>conftest.$ac_ext
3935 cat >>conftest.$ac_ext <<_ACEOF
3936 /* end confdefs.h. */
3937
3938 /* Override any gcc2 internal prototype to avoid an error. */
3939 #ifdef __cplusplus
3940 extern "C"
3941 #endif
3942 /* We use char because int might match the return type of a gcc2
3943 builtin and then its argument prototype would still apply. */
3944 char fabs ();
3945 int
3946 main ()
3947 {
3948 fabs ();
3949 ;
3950 return 0;
3951 }
3952 _ACEOF
3953 rm -f conftest.$ac_objext conftest$ac_exeext
3954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3955 (eval $ac_link) 2>conftest.er1
3956 ac_status=$?
3957 grep -v '^ *+' conftest.er1 >conftest.err
3958 rm -f conftest.er1
3959 cat conftest.err >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); } &&
3962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3964 (eval $ac_try) 2>&5
3965 ac_status=$?
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); }; } &&
3968 { ac_try='test -s conftest$ac_exeext'
3969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3970 (eval $ac_try) 2>&5
3971 ac_status=$?
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); }; }; then
3974 ac_cv_search_fabs="none required"
3975 else
3976 echo "$as_me: failed program was:" >&5
3977 sed 's/^/| /' conftest.$ac_ext >&5
3978
3979 fi
3980 rm -f conftest.err conftest.$ac_objext \
3981 conftest$ac_exeext conftest.$ac_ext
3982 if test "$ac_cv_search_fabs" = no; then
3983 for ac_lib in m; do
3984 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3985 cat >conftest.$ac_ext <<_ACEOF
3986 /* confdefs.h. */
3987 _ACEOF
3988 cat confdefs.h >>conftest.$ac_ext
3989 cat >>conftest.$ac_ext <<_ACEOF
3990 /* end confdefs.h. */
3991
3992 /* Override any gcc2 internal prototype to avoid an error. */
3993 #ifdef __cplusplus
3994 extern "C"
3995 #endif
3996 /* We use char because int might match the return type of a gcc2
3997 builtin and then its argument prototype would still apply. */
3998 char fabs ();
3999 int
4000 main ()
4001 {
4002 fabs ();
4003 ;
4004 return 0;
4005 }
4006 _ACEOF
4007 rm -f conftest.$ac_objext conftest$ac_exeext
4008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4009 (eval $ac_link) 2>conftest.er1
4010 ac_status=$?
4011 grep -v '^ *+' conftest.er1 >conftest.err
4012 rm -f conftest.er1
4013 cat conftest.err >&5
4014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015 (exit $ac_status); } &&
4016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4018 (eval $ac_try) 2>&5
4019 ac_status=$?
4020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021 (exit $ac_status); }; } &&
4022 { ac_try='test -s conftest$ac_exeext'
4023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4024 (eval $ac_try) 2>&5
4025 ac_status=$?
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); }; }; then
4028 ac_cv_search_fabs="-l$ac_lib"
4029 break
4030 else
4031 echo "$as_me: failed program was:" >&5
4032 sed 's/^/| /' conftest.$ac_ext >&5
4033
4034 fi
4035 rm -f conftest.err conftest.$ac_objext \
4036 conftest$ac_exeext conftest.$ac_ext
4037 done
4038 fi
4039 LIBS=$ac_func_search_save_LIBS
4040 fi
4041 echo "$as_me:$LINENO: result: $ac_cv_search_fabs" >&5
4042 echo "${ECHO_T}$ac_cv_search_fabs" >&6
4043 if test "$ac_cv_search_fabs" != no; then
4044 test "$ac_cv_search_fabs" = "none required" || LIBS="$ac_cv_search_fabs $LIBS"
4045 MATHLIB="-lm"
4046 fi
4047
4048 LIBS="$save_LIBS"
4049
4050
4051 echo "$as_me:$LINENO: checking for library containing remove" >&5
4052 echo $ECHO_N "checking for library containing remove... $ECHO_C" >&6
4053 if test "${ac_cv_search_remove+set}" = set; then
4054 echo $ECHO_N "(cached) $ECHO_C" >&6
4055 else
4056 ac_func_search_save_LIBS=$LIBS
4057 ac_cv_search_remove=no
4058 cat >conftest.$ac_ext <<_ACEOF
4059 /* confdefs.h. */
4060 _ACEOF
4061 cat confdefs.h >>conftest.$ac_ext
4062 cat >>conftest.$ac_ext <<_ACEOF
4063 /* end confdefs.h. */
4064
4065 /* Override any gcc2 internal prototype to avoid an error. */
4066 #ifdef __cplusplus
4067 extern "C"
4068 #endif
4069 /* We use char because int might match the return type of a gcc2
4070 builtin and then its argument prototype would still apply. */
4071 char remove ();
4072 int
4073 main ()
4074 {
4075 remove ();
4076 ;
4077 return 0;
4078 }
4079 _ACEOF
4080 rm -f conftest.$ac_objext conftest$ac_exeext
4081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4082 (eval $ac_link) 2>conftest.er1
4083 ac_status=$?
4084 grep -v '^ *+' conftest.er1 >conftest.err
4085 rm -f conftest.er1
4086 cat conftest.err >&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); } &&
4089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4091 (eval $ac_try) 2>&5
4092 ac_status=$?
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); }; } &&
4095 { ac_try='test -s conftest$ac_exeext'
4096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4097 (eval $ac_try) 2>&5
4098 ac_status=$?
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); }; }; then
4101 ac_cv_search_remove="none required"
4102 else
4103 echo "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.$ac_ext >&5
4105
4106 fi
4107 rm -f conftest.err conftest.$ac_objext \
4108 conftest$ac_exeext conftest.$ac_ext
4109 if test "$ac_cv_search_remove" = no; then
4110 for ac_lib in posix; do
4111 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4112 cat >conftest.$ac_ext <<_ACEOF
4113 /* confdefs.h. */
4114 _ACEOF
4115 cat confdefs.h >>conftest.$ac_ext
4116 cat >>conftest.$ac_ext <<_ACEOF
4117 /* end confdefs.h. */
4118
4119 /* Override any gcc2 internal prototype to avoid an error. */
4120 #ifdef __cplusplus
4121 extern "C"
4122 #endif
4123 /* We use char because int might match the return type of a gcc2
4124 builtin and then its argument prototype would still apply. */
4125 char remove ();
4126 int
4127 main ()
4128 {
4129 remove ();
4130 ;
4131 return 0;
4132 }
4133 _ACEOF
4134 rm -f conftest.$ac_objext conftest$ac_exeext
4135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4136 (eval $ac_link) 2>conftest.er1
4137 ac_status=$?
4138 grep -v '^ *+' conftest.er1 >conftest.err
4139 rm -f conftest.er1
4140 cat conftest.err >&5
4141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 (exit $ac_status); } &&
4143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4145 (eval $ac_try) 2>&5
4146 ac_status=$?
4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148 (exit $ac_status); }; } &&
4149 { ac_try='test -s conftest$ac_exeext'
4150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4151 (eval $ac_try) 2>&5
4152 ac_status=$?
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); }; }; then
4155 ac_cv_search_remove="-l$ac_lib"
4156 break
4157 else
4158 echo "$as_me: failed program was:" >&5
4159 sed 's/^/| /' conftest.$ac_ext >&5
4160
4161 fi
4162 rm -f conftest.err conftest.$ac_objext \
4163 conftest$ac_exeext conftest.$ac_ext
4164 done
4165 fi
4166 LIBS=$ac_func_search_save_LIBS
4167 fi
4168 echo "$as_me:$LINENO: result: $ac_cv_search_remove" >&5
4169 echo "${ECHO_T}$ac_cv_search_remove" >&6
4170 if test "$ac_cv_search_remove" != no; then
4171 test "$ac_cv_search_remove" = "none required" || LIBS="$ac_cv_search_remove $LIBS"
4172
4173 fi
4174
4175 echo "$as_me:$LINENO: checking for library containing strerror" >&5
4176 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
4177 if test "${ac_cv_search_strerror+set}" = set; then
4178 echo $ECHO_N "(cached) $ECHO_C" >&6
4179 else
4180 ac_func_search_save_LIBS=$LIBS
4181 ac_cv_search_strerror=no
4182 cat >conftest.$ac_ext <<_ACEOF
4183 /* confdefs.h. */
4184 _ACEOF
4185 cat confdefs.h >>conftest.$ac_ext
4186 cat >>conftest.$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4188
4189 /* Override any gcc2 internal prototype to avoid an error. */
4190 #ifdef __cplusplus
4191 extern "C"
4192 #endif
4193 /* We use char because int might match the return type of a gcc2
4194 builtin and then its argument prototype would still apply. */
4195 char strerror ();
4196 int
4197 main ()
4198 {
4199 strerror ();
4200 ;
4201 return 0;
4202 }
4203 _ACEOF
4204 rm -f conftest.$ac_objext conftest$ac_exeext
4205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4206 (eval $ac_link) 2>conftest.er1
4207 ac_status=$?
4208 grep -v '^ *+' conftest.er1 >conftest.err
4209 rm -f conftest.er1
4210 cat conftest.err >&5
4211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212 (exit $ac_status); } &&
4213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4215 (eval $ac_try) 2>&5
4216 ac_status=$?
4217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218 (exit $ac_status); }; } &&
4219 { ac_try='test -s conftest$ac_exeext'
4220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4221 (eval $ac_try) 2>&5
4222 ac_status=$?
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); }; }; then
4225 ac_cv_search_strerror="none required"
4226 else
4227 echo "$as_me: failed program was:" >&5
4228 sed 's/^/| /' conftest.$ac_ext >&5
4229
4230 fi
4231 rm -f conftest.err conftest.$ac_objext \
4232 conftest$ac_exeext conftest.$ac_ext
4233 if test "$ac_cv_search_strerror" = no; then
4234 for ac_lib in cposix; do
4235 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4236 cat >conftest.$ac_ext <<_ACEOF
4237 /* confdefs.h. */
4238 _ACEOF
4239 cat confdefs.h >>conftest.$ac_ext
4240 cat >>conftest.$ac_ext <<_ACEOF
4241 /* end confdefs.h. */
4242
4243 /* Override any gcc2 internal prototype to avoid an error. */
4244 #ifdef __cplusplus
4245 extern "C"
4246 #endif
4247 /* We use char because int might match the return type of a gcc2
4248 builtin and then its argument prototype would still apply. */
4249 char strerror ();
4250 int
4251 main ()
4252 {
4253 strerror ();
4254 ;
4255 return 0;
4256 }
4257 _ACEOF
4258 rm -f conftest.$ac_objext conftest$ac_exeext
4259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4260 (eval $ac_link) 2>conftest.er1
4261 ac_status=$?
4262 grep -v '^ *+' conftest.er1 >conftest.err
4263 rm -f conftest.er1
4264 cat conftest.err >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); } &&
4267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 (eval $ac_try) 2>&5
4270 ac_status=$?
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; } &&
4273 { ac_try='test -s conftest$ac_exeext'
4274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4275 (eval $ac_try) 2>&5
4276 ac_status=$?
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); }; }; then
4279 ac_cv_search_strerror="-l$ac_lib"
4280 break
4281 else
4282 echo "$as_me: failed program was:" >&5
4283 sed 's/^/| /' conftest.$ac_ext >&5
4284
4285 fi
4286 rm -f conftest.err conftest.$ac_objext \
4287 conftest$ac_exeext conftest.$ac_ext
4288 done
4289 fi
4290 LIBS=$ac_func_search_save_LIBS
4291 fi
4292 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4293 echo "${ECHO_T}$ac_cv_search_strerror" >&6
4294 if test "$ac_cv_search_strerror" != no; then
4295 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
4296
4297 fi
4298
4299
4300
4301 for ac_func in fgetc_unlocked
4302 do
4303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4304 echo "$as_me:$LINENO: checking for $ac_func" >&5
4305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4306 if eval "test \"\${$as_ac_var+set}\" = set"; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4308 else
4309 cat >conftest.$ac_ext <<_ACEOF
4310 /* confdefs.h. */
4311 _ACEOF
4312 cat confdefs.h >>conftest.$ac_ext
4313 cat >>conftest.$ac_ext <<_ACEOF
4314 /* end confdefs.h. */
4315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4317 #define $ac_func innocuous_$ac_func
4318
4319 /* System header to define __stub macros and hopefully few prototypes,
4320 which can conflict with char $ac_func (); below.
4321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4322 <limits.h> exists even on freestanding compilers. */
4323
4324 #ifdef __STDC__
4325 # include <limits.h>
4326 #else
4327 # include <assert.h>
4328 #endif
4329
4330 #undef $ac_func
4331
4332 /* Override any gcc2 internal prototype to avoid an error. */
4333 #ifdef __cplusplus
4334 extern "C"
4335 {
4336 #endif
4337 /* We use char because int might match the return type of a gcc2
4338 builtin and then its argument prototype would still apply. */
4339 char $ac_func ();
4340 /* The GNU C library defines this for functions which it implements
4341 to always fail with ENOSYS. Some functions are actually named
4342 something starting with __ and the normal name is an alias. */
4343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4344 choke me
4345 #else
4346 char (*f) () = $ac_func;
4347 #endif
4348 #ifdef __cplusplus
4349 }
4350 #endif
4351
4352 int
4353 main ()
4354 {
4355 return f != $ac_func;
4356 ;
4357 return 0;
4358 }
4359 _ACEOF
4360 rm -f conftest.$ac_objext conftest$ac_exeext
4361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4362 (eval $ac_link) 2>conftest.er1
4363 ac_status=$?
4364 grep -v '^ *+' conftest.er1 >conftest.err
4365 rm -f conftest.er1
4366 cat conftest.err >&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } &&
4369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4371 (eval $ac_try) 2>&5
4372 ac_status=$?
4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 (exit $ac_status); }; } &&
4375 { ac_try='test -s conftest$ac_exeext'
4376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4377 (eval $ac_try) 2>&5
4378 ac_status=$?
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); }; }; then
4381 eval "$as_ac_var=yes"
4382 else
4383 echo "$as_me: failed program was:" >&5
4384 sed 's/^/| /' conftest.$ac_ext >&5
4385
4386 eval "$as_ac_var=no"
4387 fi
4388 rm -f conftest.err conftest.$ac_objext \
4389 conftest$ac_exeext conftest.$ac_ext
4390 fi
4391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4393 if test `eval echo '${'$as_ac_var'}'` = yes; then
4394 cat >>confdefs.h <<_ACEOF
4395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4396 _ACEOF
4397
4398 fi
4399 done
4400
4401
4402
4403 for ac_func in strerror
4404 do
4405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4406 echo "$as_me:$LINENO: checking for $ac_func" >&5
4407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4408 if eval "test \"\${$as_ac_var+set}\" = set"; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4410 else
4411 cat >conftest.$ac_ext <<_ACEOF
4412 /* confdefs.h. */
4413 _ACEOF
4414 cat confdefs.h >>conftest.$ac_ext
4415 cat >>conftest.$ac_ext <<_ACEOF
4416 /* end confdefs.h. */
4417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4419 #define $ac_func innocuous_$ac_func
4420
4421 /* System header to define __stub macros and hopefully few prototypes,
4422 which can conflict with char $ac_func (); below.
4423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4424 <limits.h> exists even on freestanding compilers. */
4425
4426 #ifdef __STDC__
4427 # include <limits.h>
4428 #else
4429 # include <assert.h>
4430 #endif
4431
4432 #undef $ac_func
4433
4434 /* Override any gcc2 internal prototype to avoid an error. */
4435 #ifdef __cplusplus
4436 extern "C"
4437 {
4438 #endif
4439 /* We use char because int might match the return type of a gcc2
4440 builtin and then its argument prototype would still apply. */
4441 char $ac_func ();
4442 /* The GNU C library defines this for functions which it implements
4443 to always fail with ENOSYS. Some functions are actually named
4444 something starting with __ and the normal name is an alias. */
4445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4446 choke me
4447 #else
4448 char (*f) () = $ac_func;
4449 #endif
4450 #ifdef __cplusplus
4451 }
4452 #endif
4453
4454 int
4455 main ()
4456 {
4457 return f != $ac_func;
4458 ;
4459 return 0;
4460 }
4461 _ACEOF
4462 rm -f conftest.$ac_objext conftest$ac_exeext
4463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4464 (eval $ac_link) 2>conftest.er1
4465 ac_status=$?
4466 grep -v '^ *+' conftest.er1 >conftest.err
4467 rm -f conftest.er1
4468 cat conftest.err >&5
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470 (exit $ac_status); } &&
4471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4473 (eval $ac_try) 2>&5
4474 ac_status=$?
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); }; } &&
4477 { ac_try='test -s conftest$ac_exeext'
4478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4479 (eval $ac_try) 2>&5
4480 ac_status=$?
4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482 (exit $ac_status); }; }; then
4483 eval "$as_ac_var=yes"
4484 else
4485 echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.$ac_ext >&5
4487
4488 eval "$as_ac_var=no"
4489 fi
4490 rm -f conftest.err conftest.$ac_objext \
4491 conftest$ac_exeext conftest.$ac_ext
4492 fi
4493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4495 if test `eval echo '${'$as_ac_var'}'` = yes; then
4496 cat >>confdefs.h <<_ACEOF
4497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4498 _ACEOF
4499
4500 else
4501 case $LIBOBJS in
4502 "$ac_func.$ac_objext" | \
4503 *" $ac_func.$ac_objext" | \
4504 "$ac_func.$ac_objext "* | \
4505 *" $ac_func.$ac_objext "* ) ;;
4506 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
4507 esac
4508
4509 fi
4510 done
4511
4512
4513 if test "x$ac_cv_func_strerror" != xyes; then
4514 echo "$as_me:$LINENO: checking for type of sys_errlist elements" >&5
4515 echo $ECHO_N "checking for type of sys_errlist elements... $ECHO_C" >&6
4516 if test "${md_cv_var_type_sys_errlist+set}" = set; then
4517 echo $ECHO_N "(cached) $ECHO_C" >&6
4518 else
4519 md_cv_var_type_sys_errlist='char *'
4520 for md_type_sys_errlist in 'const char *const' 'const char *' 'char *const'; do
4521 cat >conftest.$ac_ext <<_ACEOF
4522 /* confdefs.h. */
4523 _ACEOF
4524 cat confdefs.h >>conftest.$ac_ext
4525 cat >>conftest.$ac_ext <<_ACEOF
4526 /* end confdefs.h. */
4527 $ac_includes_default
4528 int
4529 main ()
4530 {
4531 extern $md_type_sys_errlist sys_errlist [];
4532 ;
4533 return 0;
4534 }
4535 _ACEOF
4536 rm -f conftest.$ac_objext
4537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4538 (eval $ac_compile) 2>conftest.er1
4539 ac_status=$?
4540 grep -v '^ *+' conftest.er1 >conftest.err
4541 rm -f conftest.er1
4542 cat conftest.err >&5
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); } &&
4545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4547 (eval $ac_try) 2>&5
4548 ac_status=$?
4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 (exit $ac_status); }; } &&
4551 { ac_try='test -s conftest.$ac_objext'
4552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4553 (eval $ac_try) 2>&5
4554 ac_status=$?
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); }; }; then
4557 md_cv_var_type_sys_errlist="$md_type_sys_errlist"; break
4558 else
4559 echo "$as_me: failed program was:" >&5
4560 sed 's/^/| /' conftest.$ac_ext >&5
4561
4562 fi
4563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4564 done
4565 fi
4566 echo "$as_me:$LINENO: result: $md_cv_var_type_sys_errlist" >&5
4567 echo "${ECHO_T}$md_cv_var_type_sys_errlist" >&6
4568
4569 cat >>confdefs.h <<_ACEOF
4570 #define SYS_ERRLIST_TYPE $md_cv_var_type_sys_errlist
4571 _ACEOF
4572
4573 fi
4574
4575 md_path_have_jpeglib=yes
4576 md_path_include_jpeglib=
4577 md_path_lib_jpeglib=
4578
4579 # Check whether --with-jpeglib or --without-jpeglib was given.
4580 if test "${with_jpeglib+set}" = set; then
4581 withval="$with_jpeglib"
4582 case $withval in
4583 yes)
4584 md_path_have_jpeglib=yes
4585 ;;
4586 no)
4587 md_path_have_jpeglib=no
4588 ;;
4589 *)
4590 md_path_have_jpeglib=yes
4591 md_path_include_jpeglib="$withval/include"
4592 md_path_lib_jpeglib="$withval/lib"
4593 ;;
4594 esac
4595 fi;
4596
4597 # Check whether --with-jpeglib-include or --without-jpeglib-include was given.
4598 if test "${with_jpeglib_include+set}" = set; then
4599 withval="$with_jpeglib_include"
4600 case $withval in
4601 yes)
4602 md_path_have_jpeglib=yes
4603 ;;
4604 no)
4605 md_path_have_jpeglib=no
4606 ;;
4607 *)
4608 md_path_have_jpeglib=yes
4609 md_path_include_jpeglib="$withval"
4610 ;;
4611 esac
4612 fi;
4613
4614 # Check whether --with-jpeglib-lib or --without-jpeglib-lib was given.
4615 if test "${with_jpeglib_lib+set}" = set; then
4616 withval="$with_jpeglib_lib"
4617 case $withval in
4618 yes)
4619 md_path_have_jpeglib=yes
4620 ;;
4621 no)
4622 md_path_have_jpeglib=no
4623 ;;
4624 *)
4625 md_path_have_jpeglib=yes
4626 md_path_lib_jpeglib="$withval"
4627 ;;
4628 esac
4629 fi;
4630 JPEGLIB_CPPFLAGS= JPEGLIB_LIBS=
4631 if test $md_path_have_jpeglib = yes; then
4632 if test "x$md_path_include_jpeglib" != x; then
4633 JPEGLIB_CPPFLAGS="-I$md_path_include_jpeglib"
4634 fi
4635
4636 if test "x$md_path_lib_jpeglib" != x; then
4637 JPEGLIB_LIBS="-L$md_path_lib_jpeglib"
4638 fi
4639
4640 save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS $JPEGLIB_CPPFLAGS"
4641 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
4642 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
4643 if test "${ac_cv_header_jpeglib_h+set}" = set; then
4644 echo $ECHO_N "(cached) $ECHO_C" >&6
4645 else
4646 cat >conftest.$ac_ext <<_ACEOF
4647 /* confdefs.h. */
4648 _ACEOF
4649 cat confdefs.h >>conftest.$ac_ext
4650 cat >>conftest.$ac_ext <<_ACEOF
4651 /* end confdefs.h. */
4652 $ac_includes_default
4653
4654 #include <jpeglib.h>
4655 _ACEOF
4656 rm -f conftest.$ac_objext
4657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4658 (eval $ac_compile) 2>conftest.er1
4659 ac_status=$?
4660 grep -v '^ *+' conftest.er1 >conftest.err
4661 rm -f conftest.er1
4662 cat conftest.err >&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); } &&
4665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4667 (eval $ac_try) 2>&5
4668 ac_status=$?
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); }; } &&
4671 { ac_try='test -s conftest.$ac_objext'
4672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4673 (eval $ac_try) 2>&5
4674 ac_status=$?
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); }; }; then
4677 ac_cv_header_jpeglib_h=yes
4678 else
4679 echo "$as_me: failed program was:" >&5
4680 sed 's/^/| /' conftest.$ac_ext >&5
4681
4682 ac_cv_header_jpeglib_h=no
4683 fi
4684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4685 fi
4686 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
4687 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
4688 if test $ac_cv_header_jpeglib_h = yes; then
4689 save_LDFLAGS="$LDFLAGS"; LDFLAGS="$LDFLAGS $JPEGLIB_LIBS"
4690 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
4691 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
4692 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 else
4695 ac_check_lib_save_LIBS=$LIBS
4696 LIBS="-ljpeg $LIBS"
4697 cat >conftest.$ac_ext <<_ACEOF
4698 /* confdefs.h. */
4699 _ACEOF
4700 cat confdefs.h >>conftest.$ac_ext
4701 cat >>conftest.$ac_ext <<_ACEOF
4702 /* end confdefs.h. */
4703
4704 /* Override any gcc2 internal prototype to avoid an error. */
4705 #ifdef __cplusplus
4706 extern "C"
4707 #endif
4708 /* We use char because int might match the return type of a gcc2
4709 builtin and then its argument prototype would still apply. */
4710 char jpeg_start_decompress ();
4711 int
4712 main ()
4713 {
4714 jpeg_start_decompress ();
4715 ;
4716 return 0;
4717 }
4718 _ACEOF
4719 rm -f conftest.$ac_objext conftest$ac_exeext
4720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4721 (eval $ac_link) 2>conftest.er1
4722 ac_status=$?
4723 grep -v '^ *+' conftest.er1 >conftest.err
4724 rm -f conftest.er1
4725 cat conftest.err >&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); } &&
4728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4730 (eval $ac_try) 2>&5
4731 ac_status=$?
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); }; } &&
4734 { ac_try='test -s conftest$ac_exeext'
4735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736 (eval $ac_try) 2>&5
4737 ac_status=$?
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); }; }; then
4740 ac_cv_lib_jpeg_jpeg_start_decompress=yes
4741 else
4742 echo "$as_me: failed program was:" >&5
4743 sed 's/^/| /' conftest.$ac_ext >&5
4744
4745 ac_cv_lib_jpeg_jpeg_start_decompress=no
4746 fi
4747 rm -f conftest.err conftest.$ac_objext \
4748 conftest$ac_exeext conftest.$ac_ext
4749 LIBS=$ac_check_lib_save_LIBS
4750 fi
4751 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
4752 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
4753 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
4754 JPEGLIB_LIBS="$JPEGLIB_LIBS -ljpeg"
4755 else
4756 md_path_have_jpeglib=no
4757 fi
4758
4759 LDFLAGS="$save_LDFLAGS"
4760 else
4761 md_path_have_jpeglib=no
4762 fi
4763
4764
4765 CPPFLAGS="$save_CPPFLAGS"
4766 fi
4767
4768
4769 if test $md_path_have_jpeglib = yes; then
4770 cat >>confdefs.h <<\_ACEOF
4771 #define HAVE_JPEGLIB 1
4772 _ACEOF
4773
4774 fi
4775
4776 if test $md_path_have_jpeglib = no; then
4777 { { echo "$as_me:$LINENO: error: jpeglib is required to build this package" >&5
4778 echo "$as_me: error: jpeglib is required to build this package" >&2;}
4779 { (exit 1); exit 1; }; }
4780 fi
4781
4782 # Check whether --enable-nls or --disable-nls was given.
4783 if test "${enable_nls+set}" = set; then
4784 enableval="$enable_nls"
4785 md_nls="$enableval"
4786 else
4787 md_nls=yes
4788 fi;
4789
4790 XGETTEXT=${XGETTEXT-"${am_missing_run}xgettext"}
4791
4792
4793 MSGMERGE=${MSGMERGE-"${am_missing_run}msgmerge"}
4794
4795
4796 MSGFMT=${MSGFMT-"${am_missing_run}msgfmt"}
4797
4798 if test "x$md_nls" != xyes && test "x$md_nls" != xno; then
4799 { echo "$as_me:$LINENO: WARNING: unrecognized value for --enable-nls; disabling Native Language Support" >&5
4800 echo "$as_me: WARNING: unrecognized value for --enable-nls; disabling Native Language Support" >&2;}
4801 md_nls=no
4802 fi
4803 SUBDIR_PO=
4804 if test "x$md_nls" = xyes; then
4805
4806 for ac_header in libintl.h
4807 do
4808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4809 echo "$as_me:$LINENO: checking for $ac_header" >&5
4810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4812 echo $ECHO_N "(cached) $ECHO_C" >&6
4813 else
4814 cat >conftest.$ac_ext <<_ACEOF
4815 /* confdefs.h. */
4816 _ACEOF
4817 cat confdefs.h >>conftest.$ac_ext
4818 cat >>conftest.$ac_ext <<_ACEOF
4819 /* end confdefs.h. */
4820 $ac_includes_default
4821
4822 #include <$ac_header>
4823 _ACEOF
4824 rm -f conftest.$ac_objext
4825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4826 (eval $ac_compile) 2>conftest.er1
4827 ac_status=$?
4828 grep -v '^ *+' conftest.er1 >conftest.err
4829 rm -f conftest.er1
4830 cat conftest.err >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } &&
4833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4835 (eval $ac_try) 2>&5
4836 ac_status=$?
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); }; } &&
4839 { ac_try='test -s conftest.$ac_objext'
4840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4841 (eval $ac_try) 2>&5
4842 ac_status=$?
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); }; }; then
4845 eval "$as_ac_Header=yes"
4846 else
4847 echo "$as_me: failed program was:" >&5
4848 sed 's/^/| /' conftest.$ac_ext >&5
4849
4850 eval "$as_ac_Header=no"
4851 fi
4852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4853 fi
4854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4857 cat >>confdefs.h <<_ACEOF
4858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4859 _ACEOF
4860 echo "$as_me:$LINENO: checking whether gettext is declared" >&5
4861 echo $ECHO_N "checking whether gettext is declared... $ECHO_C" >&6
4862 if test "${ac_cv_have_decl_gettext+set}" = set; then
4863 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 else
4865 cat >conftest.$ac_ext <<_ACEOF
4866 /* confdefs.h. */
4867 _ACEOF
4868 cat confdefs.h >>conftest.$ac_ext
4869 cat >>conftest.$ac_ext <<_ACEOF
4870 /* end confdefs.h. */
4871 $ac_includes_default
4872 #include <libintl.h>
4873
4874 int
4875 main ()
4876 {
4877 #ifndef gettext
4878 char *p = (char *) gettext;
4879 #endif
4880
4881 ;
4882 return 0;
4883 }
4884 _ACEOF
4885 rm -f conftest.$ac_objext
4886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4887 (eval $ac_compile) 2>conftest.er1
4888 ac_status=$?
4889 grep -v '^ *+' conftest.er1 >conftest.err
4890 rm -f conftest.er1
4891 cat conftest.err >&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); } &&
4894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4896 (eval $ac_try) 2>&5
4897 ac_status=$?
4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899 (exit $ac_status); }; } &&
4900 { ac_try='test -s conftest.$ac_objext'
4901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902 (eval $ac_try) 2>&5
4903 ac_status=$?
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); }; }; then
4906 ac_cv_have_decl_gettext=yes
4907 else
4908 echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.$ac_ext >&5
4910
4911 ac_cv_have_decl_gettext=no
4912 fi
4913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4914 fi
4915 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gettext" >&5
4916 echo "${ECHO_T}$ac_cv_have_decl_gettext" >&6
4917 if test $ac_cv_have_decl_gettext = yes; then
4918
4919 cat >>confdefs.h <<_ACEOF
4920 #define HAVE_DECL_GETTEXT 1
4921 _ACEOF
4922
4923
4924 else
4925 cat >>confdefs.h <<_ACEOF
4926 #define HAVE_DECL_GETTEXT 0
4927 _ACEOF
4928
4929 md_nls=no
4930 fi
4931 echo "$as_me:$LINENO: checking whether ngettext is declared" >&5
4932 echo $ECHO_N "checking whether ngettext is declared... $ECHO_C" >&6
4933 if test "${ac_cv_have_decl_ngettext+set}" = set; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 else
4936 cat >conftest.$ac_ext <<_ACEOF
4937 /* confdefs.h. */
4938 _ACEOF
4939 cat confdefs.h >>conftest.$ac_ext
4940 cat >>conftest.$ac_ext <<_ACEOF
4941 /* end confdefs.h. */
4942 $ac_includes_default
4943 #include <libintl.h>
4944
4945 int
4946 main ()
4947 {
4948 #ifndef ngettext
4949 char *p = (char *) ngettext;
4950 #endif
4951
4952 ;
4953 return 0;
4954 }
4955 _ACEOF
4956 rm -f conftest.$ac_objext
4957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4958 (eval $ac_compile) 2>conftest.er1
4959 ac_status=$?
4960 grep -v '^ *+' conftest.er1 >conftest.err
4961 rm -f conftest.er1
4962 cat conftest.err >&5
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); } &&
4965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4967 (eval $ac_try) 2>&5
4968 ac_status=$?
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); }; } &&
4971 { ac_try='test -s conftest.$ac_objext'
4972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4973 (eval $ac_try) 2>&5
4974 ac_status=$?
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); }; }; then
4977 ac_cv_have_decl_ngettext=yes
4978 else
4979 echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.$ac_ext >&5
4981
4982 ac_cv_have_decl_ngettext=no
4983 fi
4984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4985 fi
4986 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ngettext" >&5
4987 echo "${ECHO_T}$ac_cv_have_decl_ngettext" >&6
4988 if test $ac_cv_have_decl_ngettext = yes; then
4989
4990 cat >>confdefs.h <<_ACEOF
4991 #define HAVE_DECL_NGETTEXT 1
4992 _ACEOF
4993
4994
4995 else
4996 cat >>confdefs.h <<_ACEOF
4997 #define HAVE_DECL_NGETTEXT 0
4998 _ACEOF
4999
5000 md_nls=no
5001 fi
5002 echo "$as_me:$LINENO: checking whether bindtextdomain is declared" >&5
5003 echo $ECHO_N "checking whether bindtextdomain is declared... $ECHO_C" >&6
5004 if test "${ac_cv_have_decl_bindtextdomain+set}" = set; then
5005 echo $ECHO_N "(cached) $ECHO_C" >&6
5006 else
5007 cat >conftest.$ac_ext <<_ACEOF
5008 /* confdefs.h. */
5009 _ACEOF
5010 cat confdefs.h >>conftest.$ac_ext
5011 cat >>conftest.$ac_ext <<_ACEOF
5012 /* end confdefs.h. */
5013 $ac_includes_default
5014 #include <libintl.h>
5015
5016 int
5017 main ()
5018 {
5019 #ifndef bindtextdomain
5020 char *p = (char *) bindtextdomain;
5021 #endif
5022
5023 ;
5024 return 0;
5025 }
5026 _ACEOF
5027 rm -f conftest.$ac_objext
5028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5029 (eval $ac_compile) 2>conftest.er1
5030 ac_status=$?
5031 grep -v '^ *+' conftest.er1 >conftest.err
5032 rm -f conftest.er1
5033 cat conftest.err >&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } &&
5036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5038 (eval $ac_try) 2>&5
5039 ac_status=$?
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; } &&
5042 { ac_try='test -s conftest.$ac_objext'
5043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5044 (eval $ac_try) 2>&5
5045 ac_status=$?
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); }; }; then
5048 ac_cv_have_decl_bindtextdomain=yes
5049 else
5050 echo "$as_me: failed program was:" >&5
5051 sed 's/^/| /' conftest.$ac_ext >&5
5052
5053 ac_cv_have_decl_bindtextdomain=no
5054 fi
5055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5056 fi
5057 echo "$as_me:$LINENO: result: $ac_cv_have_decl_bindtextdomain" >&5
5058 echo "${ECHO_T}$ac_cv_have_decl_bindtextdomain" >&6
5059 if test $ac_cv_have_decl_bindtextdomain = yes; then
5060
5061 cat >>confdefs.h <<_ACEOF
5062 #define HAVE_DECL_BINDTEXTDOMAIN 1
5063 _ACEOF
5064
5065
5066 else
5067 cat >>confdefs.h <<_ACEOF
5068 #define HAVE_DECL_BINDTEXTDOMAIN 0
5069 _ACEOF
5070
5071 md_nls=no
5072 fi
5073 echo "$as_me:$LINENO: checking whether textdomain is declared" >&5
5074 echo $ECHO_N "checking whether textdomain is declared... $ECHO_C" >&6
5075 if test "${ac_cv_have_decl_textdomain+set}" = set; then
5076 echo $ECHO_N "(cached) $ECHO_C" >&6
5077 else
5078 cat >conftest.$ac_ext <<_ACEOF
5079 /* confdefs.h. */
5080 _ACEOF
5081 cat confdefs.h >>conftest.$ac_ext
5082 cat >>conftest.$ac_ext <<_ACEOF
5083 /* end confdefs.h. */
5084 $ac_includes_default
5085 #include <libintl.h>
5086
5087 int
5088 main ()
5089 {
5090 #ifndef textdomain
5091 char *p = (char *) textdomain;
5092 #endif
5093
5094 ;
5095 return 0;
5096 }
5097 _ACEOF
5098 rm -f conftest.$ac_objext
5099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5100 (eval $ac_compile) 2>conftest.er1
5101 ac_status=$?
5102 grep -v '^ *+' conftest.er1 >conftest.err
5103 rm -f conftest.er1
5104 cat conftest.err >&5
5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); } &&
5107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5109 (eval $ac_try) 2>&5
5110 ac_status=$?
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); }; } &&
5113 { ac_try='test -s conftest.$ac_objext'
5114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5115 (eval $ac_try) 2>&5
5116 ac_status=$?
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); }; }; then
5119 ac_cv_have_decl_textdomain=yes
5120 else
5121 echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.$ac_ext >&5
5123
5124 ac_cv_have_decl_textdomain=no
5125 fi
5126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5127 fi
5128 echo "$as_me:$LINENO: result: $ac_cv_have_decl_textdomain" >&5
5129 echo "${ECHO_T}$ac_cv_have_decl_textdomain" >&6
5130 if test $ac_cv_have_decl_textdomain = yes; then
5131
5132 cat >>confdefs.h <<_ACEOF
5133 #define HAVE_DECL_TEXTDOMAIN 1
5134 _ACEOF
5135
5136
5137 else
5138 cat >>confdefs.h <<_ACEOF
5139 #define HAVE_DECL_TEXTDOMAIN 0
5140 _ACEOF
5141
5142 md_nls=no
5143 fi
5144
5145
5146 else
5147 md_nls=no
5148 fi
5149
5150 done
5151
5152 if test "x$md_nls" = xyes; then
5153
5154 for ac_header in locale.h
5155 do
5156 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5157 echo "$as_me:$LINENO: checking for $ac_header" >&5
5158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5160 echo $ECHO_N "(cached) $ECHO_C" >&6
5161 else
5162 cat >conftest.$ac_ext <<_ACEOF
5163 /* confdefs.h. */
5164 _ACEOF
5165 cat confdefs.h >>conftest.$ac_ext
5166 cat >>conftest.$ac_ext <<_ACEOF
5167 /* end confdefs.h. */
5168 $ac_includes_default
5169
5170 #include <$ac_header>
5171 _ACEOF
5172 rm -f conftest.$ac_objext
5173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5174 (eval $ac_compile) 2>conftest.er1
5175 ac_status=$?
5176 grep -v '^ *+' conftest.er1 >conftest.err
5177 rm -f conftest.er1
5178 cat conftest.err >&5
5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180 (exit $ac_status); } &&
5181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5183 (eval $ac_try) 2>&5
5184 ac_status=$?
5185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5186 (exit $ac_status); }; } &&
5187 { ac_try='test -s conftest.$ac_objext'
5188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5189 (eval $ac_try) 2>&5
5190 ac_status=$?
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); }; }; then
5193 eval "$as_ac_Header=yes"
5194 else
5195 echo "$as_me: failed program was:" >&5
5196 sed 's/^/| /' conftest.$ac_ext >&5
5197
5198 eval "$as_ac_Header=no"
5199 fi
5200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5201 fi
5202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5205 cat >>confdefs.h <<_ACEOF
5206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5207 _ACEOF
5208 echo "$as_me:$LINENO: checking whether setlocale is declared" >&5
5209 echo $ECHO_N "checking whether setlocale is declared... $ECHO_C" >&6
5210 if test "${ac_cv_have_decl_setlocale+set}" = set; then
5211 echo $ECHO_N "(cached) $ECHO_C" >&6
5212 else
5213 cat >conftest.$ac_ext <<_ACEOF
5214 /* confdefs.h. */
5215 _ACEOF
5216 cat confdefs.h >>conftest.$ac_ext
5217 cat >>conftest.$ac_ext <<_ACEOF
5218 /* end confdefs.h. */
5219 $ac_includes_default
5220 #include <locale.h>
5221
5222 int
5223 main ()
5224 {
5225 #ifndef setlocale
5226 char *p = (char *) setlocale;
5227 #endif
5228
5229 ;
5230 return 0;
5231 }
5232 _ACEOF
5233 rm -f conftest.$ac_objext
5234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5235 (eval $ac_compile) 2>conftest.er1
5236 ac_status=$?
5237 grep -v '^ *+' conftest.er1 >conftest.err
5238 rm -f conftest.er1
5239 cat conftest.err >&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); } &&
5242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5244 (eval $ac_try) 2>&5
5245 ac_status=$?
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); }; } &&
5248 { ac_try='test -s conftest.$ac_objext'
5249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5250 (eval $ac_try) 2>&5
5251 ac_status=$?
5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); }; }; then
5254 ac_cv_have_decl_setlocale=yes
5255 else
5256 echo "$as_me: failed program was:" >&5
5257 sed 's/^/| /' conftest.$ac_ext >&5
5258
5259 ac_cv_have_decl_setlocale=no
5260 fi
5261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5262 fi
5263 echo "$as_me:$LINENO: result: $ac_cv_have_decl_setlocale" >&5
5264 echo "${ECHO_T}$ac_cv_have_decl_setlocale" >&6
5265 if test $ac_cv_have_decl_setlocale = yes; then
5266
5267 cat >>confdefs.h <<_ACEOF
5268 #define HAVE_DECL_SETLOCALE 1
5269 _ACEOF
5270
5271
5272 else
5273 cat >>confdefs.h <<_ACEOF
5274 #define HAVE_DECL_SETLOCALE 0
5275 _ACEOF
5276
5277 md_nls=no
5278 fi
5279 echo "$as_me:$LINENO: checking whether LC_MESSAGES is declared" >&5
5280 echo $ECHO_N "checking whether LC_MESSAGES is declared... $ECHO_C" >&6
5281 if test "${ac_cv_have_decl_LC_MESSAGES+set}" = set; then
5282 echo $ECHO_N "(cached) $ECHO_C" >&6
5283 else
5284 cat >conftest.$ac_ext <<_ACEOF
5285 /* confdefs.h. */
5286 _ACEOF
5287 cat confdefs.h >>conftest.$ac_ext
5288 cat >>conftest.$ac_ext <<_ACEOF
5289 /* end confdefs.h. */
5290 $ac_includes_default
5291 #include <locale.h>
5292
5293 int
5294 main ()
5295 {
5296 #ifndef LC_MESSAGES
5297 char *p = (char *) LC_MESSAGES;
5298 #endif
5299
5300 ;
5301 return 0;
5302 }
5303 _ACEOF
5304 rm -f conftest.$ac_objext
5305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5306 (eval $ac_compile) 2>conftest.er1
5307 ac_status=$?
5308 grep -v '^ *+' conftest.er1 >conftest.err
5309 rm -f conftest.er1
5310 cat conftest.err >&5
5311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312 (exit $ac_status); } &&
5313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5315 (eval $ac_try) 2>&5
5316 ac_status=$?
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); }; } &&
5319 { ac_try='test -s conftest.$ac_objext'
5320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5321 (eval $ac_try) 2>&5
5322 ac_status=$?
5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324 (exit $ac_status); }; }; then
5325 ac_cv_have_decl_LC_MESSAGES=yes
5326 else
5327 echo "$as_me: failed program was:" >&5
5328 sed 's/^/| /' conftest.$ac_ext >&5
5329
5330 ac_cv_have_decl_LC_MESSAGES=no
5331 fi
5332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5333 fi
5334 echo "$as_me:$LINENO: result: $ac_cv_have_decl_LC_MESSAGES" >&5
5335 echo "${ECHO_T}$ac_cv_have_decl_LC_MESSAGES" >&6
5336 if test $ac_cv_have_decl_LC_MESSAGES = yes; then
5337
5338 cat >>confdefs.h <<_ACEOF
5339 #define HAVE_DECL_LC_MESSAGES 1
5340 _ACEOF
5341
5342
5343 else
5344 cat >>confdefs.h <<_ACEOF
5345 #define HAVE_DECL_LC_MESSAGES 0
5346 _ACEOF
5347
5348 md_nls=no
5349 fi
5350
5351
5352 else
5353 md_nls=no
5354 fi
5355
5356 done
5357
5358 if test "x$md_nls" = xyes; then
5359 echo "$as_me:$LINENO: checking for library containing ngettext" >&5
5360 echo $ECHO_N "checking for library containing ngettext... $ECHO_C" >&6
5361 if test "${ac_cv_search_ngettext+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5363 else
5364 ac_func_search_save_LIBS=$LIBS
5365 ac_cv_search_ngettext=no
5366 cat >conftest.$ac_ext <<_ACEOF
5367 /* confdefs.h. */
5368 _ACEOF
5369 cat confdefs.h >>conftest.$ac_ext
5370 cat >>conftest.$ac_ext <<_ACEOF
5371 /* end confdefs.h. */
5372
5373 /* Override any gcc2 internal prototype to avoid an error. */
5374 #ifdef __cplusplus
5375 extern "C"
5376 #endif
5377 /* We use char because int might match the return type of a gcc2
5378 builtin and then its argument prototype would still apply. */
5379 char ngettext ();
5380 int
5381 main ()
5382 {
5383 ngettext ();
5384 ;
5385 return 0;
5386 }
5387 _ACEOF
5388 rm -f conftest.$ac_objext conftest$ac_exeext
5389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5390 (eval $ac_link) 2>conftest.er1
5391 ac_status=$?
5392 grep -v '^ *+' conftest.er1 >conftest.err
5393 rm -f conftest.er1
5394 cat conftest.err >&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); } &&
5397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5399 (eval $ac_try) 2>&5
5400 ac_status=$?
5401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402 (exit $ac_status); }; } &&
5403 { ac_try='test -s conftest$ac_exeext'
5404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5405 (eval $ac_try) 2>&5
5406 ac_status=$?
5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5408 (exit $ac_status); }; }; then
5409 ac_cv_search_ngettext="none required"
5410 else
5411 echo "$as_me: failed program was:" >&5
5412 sed 's/^/| /' conftest.$ac_ext >&5
5413
5414 fi
5415 rm -f conftest.err conftest.$ac_objext \
5416 conftest$ac_exeext conftest.$ac_ext
5417 if test "$ac_cv_search_ngettext" = no; then
5418 for ac_lib in intl; do
5419 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5420 cat >conftest.$ac_ext <<_ACEOF
5421 /* confdefs.h. */
5422 _ACEOF
5423 cat confdefs.h >>conftest.$ac_ext
5424 cat >>conftest.$ac_ext <<_ACEOF
5425 /* end confdefs.h. */
5426
5427 /* Override any gcc2 internal prototype to avoid an error. */
5428 #ifdef __cplusplus
5429 extern "C"
5430 #endif
5431 /* We use char because int might match the return type of a gcc2
5432 builtin and then its argument prototype would still apply. */
5433 char ngettext ();
5434 int
5435 main ()
5436 {
5437 ngettext ();
5438 ;
5439 return 0;
5440 }
5441 _ACEOF
5442 rm -f conftest.$ac_objext conftest$ac_exeext
5443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5444 (eval $ac_link) 2>conftest.er1
5445 ac_status=$?
5446 grep -v '^ *+' conftest.er1 >conftest.err
5447 rm -f conftest.er1
5448 cat conftest.err >&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } &&
5451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5453 (eval $ac_try) 2>&5
5454 ac_status=$?
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); }; } &&
5457 { ac_try='test -s conftest$ac_exeext'
5458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5459 (eval $ac_try) 2>&5
5460 ac_status=$?
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); }; }; then
5463 ac_cv_search_ngettext="-l$ac_lib"
5464 break
5465 else
5466 echo "$as_me: failed program was:" >&5
5467 sed 's/^/| /' conftest.$ac_ext >&5
5468
5469 fi
5470 rm -f conftest.err conftest.$ac_objext \
5471 conftest$ac_exeext conftest.$ac_ext
5472 done
5473 fi
5474 LIBS=$ac_func_search_save_LIBS
5475 fi
5476 echo "$as_me:$LINENO: result: $ac_cv_search_ngettext" >&5
5477 echo "${ECHO_T}$ac_cv_search_ngettext" >&6
5478 if test "$ac_cv_search_ngettext" != no; then
5479 test "$ac_cv_search_ngettext" = "none required" || LIBS="$ac_cv_search_ngettext $LIBS"
5480
5481 else
5482 md_nls=no
5483 fi
5484
5485 fi
5486 fi
5487 if test "x$md_nls" = xyes; then
5488
5489 cat >>confdefs.h <<\_ACEOF
5490 #define HAVE_NLS 1
5491 _ACEOF
5492
5493 SUBDIR_PO=po
5494 else
5495 { echo "$as_me:$LINENO: WARNING: disabling Native Language Support" >&5
5496 echo "$as_me: WARNING: disabling Native Language Support" >&2;}
5497 fi
5498 fi
5499
5500 CPPFLAGS="$JPEGLIB_CPPFLAGS $CPPFLAGS"
5501 LIBS="$JPEGLIB_LIBS $LIBS"
5502 ac_config_files="$ac_config_files Makefile man/Makefile man/de/Makefile man/fi/Makefile man/fr/Makefile po/Makefile jpegwrapper.h man/jpegpixi.1 man/jpeghotp.1 man/de/jpegpixi.1 man/de/jpeghotp.1 man/fi/jpegpixi.1 man/fi/jpeghotp.1 man/fr/jpegpixi.1 man/fr/jpeghotp.1"
5503
5504 cat >confcache <<\_ACEOF
5505 # This file is a shell script that caches the results of configure
5506 # tests run on this system so they can be shared between configure
5507 # scripts and configure runs, see configure's option --config-cache.
5508 # It is not useful on other systems. If it contains results you don't
5509 # want to keep, you may remove or edit it.
5510 #
5511 # config.status only pays attention to the cache file if you give it
5512 # the --recheck option to rerun configure.
5513 #
5514 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5515 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5516 # following values.
5517
5518 _ACEOF
5519
5520 # The following way of writing the cache mishandles newlines in values,
5521 # but we know of no workaround that is simple, portable, and efficient.
5522 # So, don't put newlines in cache variables' values.
5523 # Ultrix sh set writes to stderr and can't be redirected directly,
5524 # and sets the high bit in the cache file unless we assign to the vars.
5525 {
5526 (set) 2>&1 |
5527 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5528 *ac_space=\ *)
5529 # `set' does not quote correctly, so add quotes (double-quote
5530 # substitution turns \\\\ into \\, and sed turns \\ into \).
5531 sed -n \
5532 "s/'/'\\\\''/g;
5533 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5534 ;;
5535 *)
5536 # `set' quotes correctly as required by POSIX, so do not add quotes.
5537 sed -n \
5538 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5539 ;;
5540 esac;
5541 } |
5542 sed '
5543 t clear
5544 : clear
5545 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5546 t end
5547 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5548 : end' >>confcache
5549 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5550 if test -w $cache_file; then
5551 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5552 cat confcache >$cache_file
5553 else
5554 echo "not updating unwritable cache $cache_file"
5555 fi
5556 fi
5557 rm -f confcache
5558
5559 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5560 # Let make expand exec_prefix.
5561 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5562
5563 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5564 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5565 # trailing colons and then remove the whole line if VPATH becomes empty
5566 # (actually we leave an empty line to preserve line numbers).
5567 if test "x$srcdir" = x.; then
5568 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5569 s/:*\$(srcdir):*/:/;
5570 s/:*\${srcdir}:*/:/;
5571 s/:*@srcdir@:*/:/;
5572 s/^\([^=]*=[ ]*\):*/\1/;
5573 s/:*$//;
5574 s/^[^=]*=[ ]*$//;
5575 }'
5576 fi
5577
5578 DEFS=-DHAVE_CONFIG_H
5579
5580 ac_libobjs=
5581 ac_ltlibobjs=
5582 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5583 # 1. Remove the extension, and $U if already installed.
5584 ac_i=`echo "$ac_i" |
5585 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5586 # 2. Add them.
5587 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5588 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5589 done
5590 LIBOBJS=$ac_libobjs
5591
5592 LTLIBOBJS=$ac_ltlibobjs
5593
5594
5595 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5596 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5597 Usually this means the macro was only invoked conditionally." >&5
5598 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5599 Usually this means the macro was only invoked conditionally." >&2;}
5600 { (exit 1); exit 1; }; }
5601 fi
5602 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5603 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5604 Usually this means the macro was only invoked conditionally." >&5
5605 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5606 Usually this means the macro was only invoked conditionally." >&2;}
5607 { (exit 1); exit 1; }; }
5608 fi
5609
5610 : ${CONFIG_STATUS=./config.status}
5611 ac_clean_files_save=$ac_clean_files
5612 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5613 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5614 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5615 cat >$CONFIG_STATUS <<_ACEOF
5616 #! $SHELL
5617 # Generated by $as_me.
5618 # Run this file to recreate the current configuration.
5619 # Compiler output produced by configure, useful for debugging
5620 # configure, is in config.log if it exists.
5621
5622 debug=false
5623 ac_cs_recheck=false
5624 ac_cs_silent=false
5625 SHELL=\${CONFIG_SHELL-$SHELL}
5626 _ACEOF
5627
5628 cat >>$CONFIG_STATUS <<\_ACEOF
5629 ## --------------------- ##
5630 ## M4sh Initialization. ##
5631 ## --------------------- ##
5632
5633 # Be Bourne compatible
5634 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5635 emulate sh
5636 NULLCMD=:
5637 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5638 # is contrary to our usage. Disable this feature.
5639 alias -g '${1+"$@"}'='"$@"'
5640 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5641 set -o posix
5642 fi
5643 DUALCASE=1; export DUALCASE # for MKS sh
5644
5645 # Support unset when possible.
5646 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5647 as_unset=unset
5648 else
5649 as_unset=false
5650 fi
5651
5652
5653 # Work around bugs in pre-3.0 UWIN ksh.
5654 $as_unset ENV MAIL MAILPATH
5655 PS1='$ '
5656 PS2='> '
5657 PS4='+ '
5658
5659 # NLS nuisances.
5660 for as_var in \
5661 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5662 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5663 LC_TELEPHONE LC_TIME
5664 do
5665 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5666 eval $as_var=C; export $as_var
5667 else
5668 $as_unset $as_var
5669 fi
5670 done
5671
5672 # Required to use basename.
5673 if expr a : '\(a\)' >/dev/null 2>&1; then
5674 as_expr=expr
5675 else
5676 as_expr=false
5677 fi
5678
5679 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5680 as_basename=basename
5681 else
5682 as_basename=false
5683 fi
5684
5685
5686 # Name of the executable.
5687 as_me=`$as_basename "$0" ||
5688 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5689 X"$0" : 'X\(//\)$' \| \
5690 X"$0" : 'X\(/\)$' \| \
5691 . : '\(.\)' 2>/dev/null ||
5692 echo X/"$0" |
5693 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5694 /^X\/\(\/\/\)$/{ s//\1/; q; }
5695 /^X\/\(\/\).*/{ s//\1/; q; }
5696 s/.*/./; q'`
5697
5698
5699 # PATH needs CR, and LINENO needs CR and PATH.
5700 # Avoid depending upon Character Ranges.
5701 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5702 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5703 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5704 as_cr_digits='0123456789'
5705 as_cr_alnum=$as_cr_Letters$as_cr_digits
5706
5707 # The user is always right.
5708 if test "${PATH_SEPARATOR+set}" != set; then
5709 echo "#! /bin/sh" >conf$$.sh
5710 echo "exit 0" >>conf$$.sh
5711 chmod +x conf$$.sh
5712 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5713 PATH_SEPARATOR=';'
5714 else
5715 PATH_SEPARATOR=:
5716 fi
5717 rm -f conf$$.sh
5718 fi
5719
5720
5721 as_lineno_1=$LINENO
5722 as_lineno_2=$LINENO
5723 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5724 test "x$as_lineno_1" != "x$as_lineno_2" &&
5725 test "x$as_lineno_3" = "x$as_lineno_2" || {
5726 # Find who we are. Look in the path if we contain no path at all
5727 # relative or not.
5728 case $0 in
5729 *[\\/]* ) as_myself=$0 ;;
5730 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 for as_dir in $PATH
5732 do
5733 IFS=$as_save_IFS
5734 test -z "$as_dir" && as_dir=.
5735 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5736 done
5737
5738 ;;
5739 esac
5740 # We did not find ourselves, most probably we were run as `sh COMMAND'
5741 # in which case we are not to be found in the path.
5742 if test "x$as_myself" = x; then
5743 as_myself=$0
5744 fi
5745 if test ! -f "$as_myself"; then
5746 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5747 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5748 { (exit 1); exit 1; }; }
5749 fi
5750 case $CONFIG_SHELL in
5751 '')
5752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5754 do
5755 IFS=$as_save_IFS
5756 test -z "$as_dir" && as_dir=.
5757 for as_base in sh bash ksh sh5; do
5758 case $as_dir in
5759 /*)
5760 if ("$as_dir/$as_base" -c '
5761 as_lineno_1=$LINENO
5762 as_lineno_2=$LINENO
5763 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5764 test "x$as_lineno_1" != "x$as_lineno_2" &&
5765 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5766 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5767 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5768 CONFIG_SHELL=$as_dir/$as_base
5769 export CONFIG_SHELL
5770 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5771 fi;;
5772 esac
5773 done
5774 done
5775 ;;
5776 esac
5777
5778 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5779 # uniformly replaced by the line number. The first 'sed' inserts a
5780 # line-number line before each line; the second 'sed' does the real
5781 # work. The second script uses 'N' to pair each line-number line
5782 # with the numbered line, and appends trailing '-' during
5783 # substitution so that $LINENO is not a special case at line end.
5784 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5785 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5786 sed '=' <$as_myself |
5787 sed '
5788 N
5789 s,$,-,
5790 : loop
5791 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5792 t loop
5793 s,-$,,
5794 s,^['$as_cr_digits']*\n,,
5795 ' >$as_me.lineno &&
5796 chmod +x $as_me.lineno ||
5797 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5798 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5799 { (exit 1); exit 1; }; }
5800
5801 # Don't try to exec as it changes $[0], causing all sort of problems
5802 # (the dirname of $[0] is not the place where we might find the
5803 # original and so on. Autoconf is especially sensible to this).
5804 . ./$as_me.lineno
5805 # Exit status is that of the last command.
5806 exit
5807 }
5808
5809
5810 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5811 *c*,-n*) ECHO_N= ECHO_C='
5812 ' ECHO_T=' ' ;;
5813 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5814 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5815 esac
5816
5817 if expr a : '\(a\)' >/dev/null 2>&1; then
5818 as_expr=expr
5819 else
5820 as_expr=false
5821 fi
5822
5823 rm -f conf$$ conf$$.exe conf$$.file
5824 echo >conf$$.file
5825 if ln -s conf$$.file conf$$ 2>/dev/null; then
5826 # We could just check for DJGPP; but this test a) works b) is more generic
5827 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5828 if test -f conf$$.exe; then
5829 # Don't use ln at all; we don't have any links
5830 as_ln_s='cp -p'
5831 else
5832 as_ln_s='ln -s'
5833 fi
5834 elif ln conf$$.file conf$$ 2>/dev/null; then
5835 as_ln_s=ln
5836 else
5837 as_ln_s='cp -p'
5838 fi
5839 rm -f conf$$ conf$$.exe conf$$.file
5840
5841 if mkdir -p . 2>/dev/null; then
5842 as_mkdir_p=:
5843 else
5844 test -d ./-p && rmdir ./-p
5845 as_mkdir_p=false
5846 fi
5847
5848 as_executable_p="test -f"
5849
5850 # Sed expression to map a string onto a valid CPP name.
5851 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5852
5853 # Sed expression to map a string onto a valid variable name.
5854 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5855
5856
5857 # IFS
5858 # We need space, tab and new line, in precisely that order.
5859 as_nl='
5860 '
5861 IFS=" $as_nl"
5862
5863 # CDPATH.
5864 $as_unset CDPATH
5865
5866 exec 6>&1
5867
5868 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5869 # report actual input values of CONFIG_FILES etc. instead of their
5870 # values after options handling. Logging --version etc. is OK.
5871 exec 5>>config.log
5872 {
5873 echo
5874 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5875 ## Running $as_me. ##
5876 _ASBOX
5877 } >&5
5878 cat >&5 <<_CSEOF
5879
5880 This file was extended by jpegpixi $as_me 1.1.1, which was
5881 generated by GNU Autoconf 2.59. Invocation command line was
5882
5883 CONFIG_FILES = $CONFIG_FILES
5884 CONFIG_HEADERS = $CONFIG_HEADERS
5885 CONFIG_LINKS = $CONFIG_LINKS
5886 CONFIG_COMMANDS = $CONFIG_COMMANDS
5887 $ $0 $@
5888
5889 _CSEOF
5890 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5891 echo >&5
5892 _ACEOF
5893
5894 # Files that config.status was made for.
5895 if test -n "$ac_config_files"; then
5896 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5897 fi
5898
5899 if test -n "$ac_config_headers"; then
5900 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5901 fi
5902
5903 if test -n "$ac_config_links"; then
5904 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5905 fi
5906
5907 if test -n "$ac_config_commands"; then
5908 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5909 fi
5910
5911 cat >>$CONFIG_STATUS <<\_ACEOF
5912
5913 ac_cs_usage="\
5914 \`$as_me' instantiates files from templates according to the
5915 current configuration.
5916
5917 Usage: $0 [OPTIONS] [FILE]...
5918
5919 -h, --help print this help, then exit
5920 -V, --version print version number, then exit
5921 -q, --quiet do not print progress messages
5922 -d, --debug don't remove temporary files
5923 --recheck update $as_me by reconfiguring in the same conditions
5924 --file=FILE[:TEMPLATE]
5925 instantiate the configuration file FILE
5926 --header=FILE[:TEMPLATE]
5927 instantiate the configuration header FILE
5928
5929 Configuration files:
5930 $config_files
5931
5932 Configuration headers:
5933 $config_headers
5934
5935 Configuration commands:
5936 $config_commands
5937
5938 Report bugs to <[email protected]>."
5939 _ACEOF
5940
5941 cat >>$CONFIG_STATUS <<_ACEOF
5942 ac_cs_version="\\
5943 jpegpixi config.status 1.1.1
5944 configured by $0, generated by GNU Autoconf 2.59,
5945 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5946
5947 Copyright (C) 2003 Free Software Foundation, Inc.
5948 This config.status script is free software; the Free Software Foundation
5949 gives unlimited permission to copy, distribute and modify it."
5950 srcdir=$srcdir
5951 INSTALL="$INSTALL"
5952 _ACEOF
5953
5954 cat >>$CONFIG_STATUS <<\_ACEOF
5955 # If no file are specified by the user, then we need to provide default
5956 # value. By we need to know if files were specified by the user.
5957 ac_need_defaults=:
5958 while test $# != 0
5959 do
5960 case $1 in
5961 --*=*)
5962 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5963 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5964 ac_shift=:
5965 ;;
5966 -*)
5967 ac_option=$1
5968 ac_optarg=$2
5969 ac_shift=shift
5970 ;;
5971 *) # This is not an option, so the user has probably given explicit
5972 # arguments.
5973 ac_option=$1
5974 ac_need_defaults=false;;
5975 esac
5976
5977 case $ac_option in
5978 # Handling of the options.
5979 _ACEOF
5980 cat >>$CONFIG_STATUS <<\_ACEOF
5981 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5982 ac_cs_recheck=: ;;
5983 --version | --vers* | -V )
5984 echo "$ac_cs_version"; exit 0 ;;
5985 --he | --h)
5986 # Conflict between --help and --header
5987 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5988 Try \`$0 --help' for more information." >&5
5989 echo "$as_me: error: ambiguous option: $1
5990 Try \`$0 --help' for more information." >&2;}
5991 { (exit 1); exit 1; }; };;
5992 --help | --hel | -h )
5993 echo "$ac_cs_usage"; exit 0 ;;
5994 --debug | --d* | -d )
5995 debug=: ;;
5996 --file | --fil | --fi | --f )
5997 $ac_shift
5998 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5999 ac_need_defaults=false;;
6000 --header | --heade | --head | --hea )
6001 $ac_shift
6002 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6003 ac_need_defaults=false;;
6004 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6005 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6006 ac_cs_silent=: ;;
6007
6008 # This is an error.
6009 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6010 Try \`$0 --help' for more information." >&5
6011 echo "$as_me: error: unrecognized option: $1
6012 Try \`$0 --help' for more information." >&2;}
6013 { (exit 1); exit 1; }; } ;;
6014
6015 *) ac_config_targets="$ac_config_targets $1" ;;
6016
6017 esac
6018 shift
6019 done
6020
6021 ac_configure_extra_args=
6022
6023 if $ac_cs_silent; then
6024 exec 6>/dev/null
6025 ac_configure_extra_args="$ac_configure_extra_args --silent"
6026 fi
6027
6028 _ACEOF
6029 cat >>$CONFIG_STATUS <<_ACEOF
6030 if \$ac_cs_recheck; then
6031 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6032 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6033 fi
6034
6035 _ACEOF
6036
6037 cat >>$CONFIG_STATUS <<_ACEOF
6038 #
6039 # INIT-COMMANDS section.
6040 #
6041
6042 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6043
6044 _ACEOF
6045
6046
6047
6048 cat >>$CONFIG_STATUS <<\_ACEOF
6049 for ac_config_target in $ac_config_targets
6050 do
6051 case "$ac_config_target" in
6052 # Handling of arguments.
6053 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6054 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
6055 "man/de/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/de/Makefile" ;;
6056 "man/fi/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/fi/Makefile" ;;
6057 "man/fr/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/fr/Makefile" ;;
6058 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
6059 "jpegwrapper.h" ) CONFIG_FILES="$CONFIG_FILES jpegwrapper.h" ;;
6060 "man/jpegpixi.1" ) CONFIG_FILES="$CONFIG_FILES man/jpegpixi.1" ;;
6061 "man/jpeghotp.1" ) CONFIG_FILES="$CONFIG_FILES man/jpeghotp.1" ;;
6062 "man/de/jpegpixi.1" ) CONFIG_FILES="$CONFIG_FILES man/de/jpegpixi.1" ;;
6063 "man/de/jpeghotp.1" ) CONFIG_FILES="$CONFIG_FILES man/de/jpeghotp.1" ;;
6064 "man/fi/jpegpixi.1" ) CONFIG_FILES="$CONFIG_FILES man/fi/jpegpixi.1" ;;
6065 "man/fi/jpeghotp.1" ) CONFIG_FILES="$CONFIG_FILES man/fi/jpeghotp.1" ;;
6066 "man/fr/jpegpixi.1" ) CONFIG_FILES="$CONFIG_FILES man/fr/jpegpixi.1" ;;
6067 "man/fr/jpeghotp.1" ) CONFIG_FILES="$CONFIG_FILES man/fr/jpeghotp.1" ;;
6068 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6069 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6070 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6071 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6072 { (exit 1); exit 1; }; };;
6073 esac
6074 done
6075
6076 # If the user did not use the arguments to specify the items to instantiate,
6077 # then the envvar interface is used. Set only those that are not.
6078 # We use the long form for the default assignment because of an extremely
6079 # bizarre bug on SunOS 4.1.3.
6080 if $ac_need_defaults; then
6081 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6082 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6083 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6084 fi
6085
6086 # Have a temporary directory for convenience. Make it in the build tree
6087 # simply because there is no reason to put it here, and in addition,
6088 # creating and moving files from /tmp can sometimes cause problems.
6089 # Create a temporary directory, and hook for its removal unless debugging.
6090 $debug ||
6091 {
6092 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6093 trap '{ (exit 1); exit 1; }' 1 2 13 15
6094 }
6095
6096 # Create a (secure) tmp directory for tmp files.
6097
6098 {
6099 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6100 test -n "$tmp" && test -d "$tmp"
6101 } ||
6102 {
6103 tmp=./confstat$$-$RANDOM
6104 (umask 077 && mkdir $tmp)
6105 } ||
6106 {
6107 echo "$me: cannot create a temporary directory in ." >&2
6108 { (exit 1); exit 1; }
6109 }
6110
6111 _ACEOF
6112
6113 cat >>$CONFIG_STATUS <<_ACEOF
6114
6115 #
6116 # CONFIG_FILES section.
6117 #
6118
6119 # No need to generate the scripts if there are no CONFIG_FILES.
6120 # This happens for instance when ./config.status config.h
6121 if test -n "\$CONFIG_FILES"; then
6122 # Protect against being on the right side of a sed subst in config.status.
6123 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6124 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6125 s,@SHELL@,$SHELL,;t t
6126 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6127 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6128 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6129 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6130 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6131 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6132 s,@exec_prefix@,$exec_prefix,;t t
6133 s,@prefix@,$prefix,;t t
6134 s,@program_transform_name@,$program_transform_name,;t t
6135 s,@bindir@,$bindir,;t t
6136 s,@sbindir@,$sbindir,;t t
6137 s,@libexecdir@,$libexecdir,;t t
6138 s,@datadir@,$datadir,;t t
6139 s,@sysconfdir@,$sysconfdir,;t t
6140 s,@sharedstatedir@,$sharedstatedir,;t t
6141 s,@localstatedir@,$localstatedir,;t t
6142 s,@libdir@,$libdir,;t t
6143 s,@includedir@,$includedir,;t t
6144 s,@oldincludedir@,$oldincludedir,;t t
6145 s,@infodir@,$infodir,;t t
6146 s,@mandir@,$mandir,;t t
6147 s,@build_alias@,$build_alias,;t t
6148 s,@host_alias@,$host_alias,;t t
6149 s,@target_alias@,$target_alias,;t t
6150 s,@DEFS@,$DEFS,;t t
6151 s,@ECHO_C@,$ECHO_C,;t t
6152 s,@ECHO_N@,$ECHO_N,;t t
6153 s,@ECHO_T@,$ECHO_T,;t t
6154 s,@LIBS@,$LIBS,;t t
6155 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6156 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6157 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6158 s,@CYGPATH_W@,$CYGPATH_W,;t t
6159 s,@PACKAGE@,$PACKAGE,;t t
6160 s,@VERSION@,$VERSION,;t t
6161 s,@ACLOCAL@,$ACLOCAL,;t t
6162 s,@AUTOCONF@,$AUTOCONF,;t t
6163 s,@AUTOMAKE@,$AUTOMAKE,;t t
6164 s,@AUTOHEADER@,$AUTOHEADER,;t t
6165 s,@MAKEINFO@,$MAKEINFO,;t t
6166 s,@install_sh@,$install_sh,;t t
6167 s,@STRIP@,$STRIP,;t t
6168 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6169 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6170 s,@mkdir_p@,$mkdir_p,;t t
6171 s,@AWK@,$AWK,;t t
6172 s,@SET_MAKE@,$SET_MAKE,;t t
6173 s,@am__leading_dot@,$am__leading_dot,;t t
6174 s,@AMTAR@,$AMTAR,;t t
6175 s,@am__tar@,$am__tar,;t t
6176 s,@am__untar@,$am__untar,;t t
6177 s,@OPAG@,$OPAG,;t t
6178 s,@CC@,$CC,;t t
6179 s,@CFLAGS@,$CFLAGS,;t t
6180 s,@LDFLAGS@,$LDFLAGS,;t t
6181 s,@CPPFLAGS@,$CPPFLAGS,;t t
6182 s,@ac_ct_CC@,$ac_ct_CC,;t t
6183 s,@EXEEXT@,$EXEEXT,;t t
6184 s,@OBJEXT@,$OBJEXT,;t t
6185 s,@DEPDIR@,$DEPDIR,;t t
6186 s,@am__include@,$am__include,;t t
6187 s,@am__quote@,$am__quote,;t t
6188 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6189 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6190 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6191 s,@CCDEPMODE@,$CCDEPMODE,;t t
6192 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6193 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6194 s,@MD_NO_CONST@,$MD_NO_CONST,;t t
6195 s,@CPP@,$CPP,;t t
6196 s,@EGREP@,$EGREP,;t t
6197 s,@MATHLIB@,$MATHLIB,;t t
6198 s,@LIBOBJS@,$LIBOBJS,;t t
6199 s,@XGETTEXT@,$XGETTEXT,;t t
6200 s,@MSGMERGE@,$MSGMERGE,;t t
6201 s,@MSGFMT@,$MSGFMT,;t t
6202 s,@SUBDIR_PO@,$SUBDIR_PO,;t t
6203 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6204 CEOF
6205
6206 _ACEOF
6207
6208 cat >>$CONFIG_STATUS <<\_ACEOF
6209 # Split the substitutions into bite-sized pieces for seds with
6210 # small command number limits, like on Digital OSF/1 and HP-UX.
6211 ac_max_sed_lines=48
6212 ac_sed_frag=1 # Number of current file.
6213 ac_beg=1 # First line for current file.
6214 ac_end=$ac_max_sed_lines # Line after last line for current file.
6215 ac_more_lines=:
6216 ac_sed_cmds=
6217 while $ac_more_lines; do
6218 if test $ac_beg -gt 1; then
6219 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6220 else
6221 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6222 fi
6223 if test ! -s $tmp/subs.frag; then
6224 ac_more_lines=false
6225 else
6226 # The purpose of the label and of the branching condition is to
6227 # speed up the sed processing (if there are no `@' at all, there
6228 # is no need to browse any of the substitutions).
6229 # These are the two extra sed commands mentioned above.
6230 (echo ':t
6231 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6232 if test -z "$ac_sed_cmds"; then
6233 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6234 else
6235 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6236 fi
6237 ac_sed_frag=`expr $ac_sed_frag + 1`
6238 ac_beg=$ac_end
6239 ac_end=`expr $ac_end + $ac_max_sed_lines`
6240 fi
6241 done
6242 if test -z "$ac_sed_cmds"; then
6243 ac_sed_cmds=cat
6244 fi
6245 fi # test -n "$CONFIG_FILES"
6246
6247 _ACEOF
6248 cat >>$CONFIG_STATUS <<\_ACEOF
6249 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6250 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6251 case $ac_file in
6252 - | *:- | *:-:* ) # input from stdin
6253 cat >$tmp/stdin
6254 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6255 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6256 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6257 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6258 * ) ac_file_in=$ac_file.in ;;
6259 esac
6260
6261 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6262 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6263 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6264 X"$ac_file" : 'X\(//\)[^/]' \| \
6265 X"$ac_file" : 'X\(//\)$' \| \
6266 X"$ac_file" : 'X\(/\)' \| \
6267 . : '\(.\)' 2>/dev/null ||
6268 echo X"$ac_file" |
6269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6270 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6271 /^X\(\/\/\)$/{ s//\1/; q; }
6272 /^X\(\/\).*/{ s//\1/; q; }
6273 s/.*/./; q'`
6274 { if $as_mkdir_p; then
6275 mkdir -p "$ac_dir"
6276 else
6277 as_dir="$ac_dir"
6278 as_dirs=
6279 while test ! -d "$as_dir"; do
6280 as_dirs="$as_dir $as_dirs"
6281 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6282 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6283 X"$as_dir" : 'X\(//\)[^/]' \| \
6284 X"$as_dir" : 'X\(//\)$' \| \
6285 X"$as_dir" : 'X\(/\)' \| \
6286 . : '\(.\)' 2>/dev/null ||
6287 echo X"$as_dir" |
6288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6289 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6290 /^X\(\/\/\)$/{ s//\1/; q; }
6291 /^X\(\/\).*/{ s//\1/; q; }
6292 s/.*/./; q'`
6293 done
6294 test ! -n "$as_dirs" || mkdir $as_dirs
6295 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6296 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6297 { (exit 1); exit 1; }; }; }
6298
6299 ac_builddir=.
6300
6301 if test "$ac_dir" != .; then
6302 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6303 # A "../" for each directory in $ac_dir_suffix.
6304 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6305 else
6306 ac_dir_suffix= ac_top_builddir=
6307 fi
6308
6309 case $srcdir in
6310 .) # No --srcdir option. We are building in place.
6311 ac_srcdir=.
6312 if test -z "$ac_top_builddir"; then
6313 ac_top_srcdir=.
6314 else
6315 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6316 fi ;;
6317 [\\/]* | ?:[\\/]* ) # Absolute path.
6318 ac_srcdir=$srcdir$ac_dir_suffix;
6319 ac_top_srcdir=$srcdir ;;
6320 *) # Relative path.
6321 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6322 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6323 esac
6324
6325 # Do not use `cd foo && pwd` to compute absolute paths, because
6326 # the directories may not exist.
6327 case `pwd` in
6328 .) ac_abs_builddir="$ac_dir";;
6329 *)
6330 case "$ac_dir" in
6331 .) ac_abs_builddir=`pwd`;;
6332 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6333 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6334 esac;;
6335 esac
6336 case $ac_abs_builddir in
6337 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6338 *)
6339 case ${ac_top_builddir}. in
6340 .) ac_abs_top_builddir=$ac_abs_builddir;;
6341 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6342 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6343 esac;;
6344 esac
6345 case $ac_abs_builddir in
6346 .) ac_abs_srcdir=$ac_srcdir;;
6347 *)
6348 case $ac_srcdir in
6349 .) ac_abs_srcdir=$ac_abs_builddir;;
6350 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6351 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6352 esac;;
6353 esac
6354 case $ac_abs_builddir in
6355 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6356 *)
6357 case $ac_top_srcdir in
6358 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6359 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6360 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6361 esac;;
6362 esac
6363
6364
6365 case $INSTALL in
6366 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6367 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6368 esac
6369
6370 # Let's still pretend it is `configure' which instantiates (i.e., don't
6371 # use $as_me), people would be surprised to read:
6372 # /* config.h. Generated by config.status. */
6373 if test x"$ac_file" = x-; then
6374 configure_input=
6375 else
6376 configure_input="$ac_file. "
6377 fi
6378 configure_input=$configure_input"Generated from `echo $ac_file_in |
6379 sed 's,.*/,,'` by configure."
6380
6381 # First look for the input files in the build tree, otherwise in the
6382 # src tree.
6383 ac_file_inputs=`IFS=:
6384 for f in $ac_file_in; do
6385 case $f in
6386 -) echo $tmp/stdin ;;
6387 [\\/$]*)
6388 # Absolute (can't be DOS-style, as IFS=:)
6389 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6390 echo "$as_me: error: cannot find input file: $f" >&2;}
6391 { (exit 1); exit 1; }; }
6392 echo "$f";;
6393 *) # Relative
6394 if test -f "$f"; then
6395 # Build tree
6396 echo "$f"
6397 elif test -f "$srcdir/$f"; then
6398 # Source tree
6399 echo "$srcdir/$f"
6400 else
6401 # /dev/null tree
6402 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6403 echo "$as_me: error: cannot find input file: $f" >&2;}
6404 { (exit 1); exit 1; }; }
6405 fi;;
6406 esac
6407 done` || { (exit 1); exit 1; }
6408
6409 if test x"$ac_file" != x-; then
6410 { echo "$as_me:$LINENO: creating $ac_file" >&5
6411 echo "$as_me: creating $ac_file" >&6;}
6412 rm -f "$ac_file"
6413 fi
6414 _ACEOF
6415 cat >>$CONFIG_STATUS <<_ACEOF
6416 sed "$ac_vpsub
6417 $extrasub
6418 _ACEOF
6419 cat >>$CONFIG_STATUS <<\_ACEOF
6420 :t
6421 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6422 s,@configure_input@,$configure_input,;t t
6423 s,@srcdir@,$ac_srcdir,;t t
6424 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6425 s,@top_srcdir@,$ac_top_srcdir,;t t
6426 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6427 s,@builddir@,$ac_builddir,;t t
6428 s,@abs_builddir@,$ac_abs_builddir,;t t
6429 s,@top_builddir@,$ac_top_builddir,;t t
6430 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6431 s,@INSTALL@,$ac_INSTALL,;t t
6432 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6433 rm -f $tmp/stdin
6434 if test x"$ac_file" != x-; then
6435 mv $tmp/out $ac_file
6436 else
6437 cat $tmp/out
6438 rm -f $tmp/out
6439 fi
6440
6441 done
6442 _ACEOF
6443 cat >>$CONFIG_STATUS <<\_ACEOF
6444
6445 #
6446 # CONFIG_HEADER section.
6447 #
6448
6449 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6450 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6451 #
6452 # ac_d sets the value in "#define NAME VALUE" lines.
6453 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6454 ac_dB='[ ].*$,\1#\2'
6455 ac_dC=' '
6456 ac_dD=',;t'
6457 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6458 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6459 ac_uB='$,\1#\2define\3'
6460 ac_uC=' '
6461 ac_uD=',;t'
6462
6463 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6464 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6465 case $ac_file in
6466 - | *:- | *:-:* ) # input from stdin
6467 cat >$tmp/stdin
6468 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6469 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6470 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6471 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6472 * ) ac_file_in=$ac_file.in ;;
6473 esac
6474
6475 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6476 echo "$as_me: creating $ac_file" >&6;}
6477
6478 # First look for the input files in the build tree, otherwise in the
6479 # src tree.
6480 ac_file_inputs=`IFS=:
6481 for f in $ac_file_in; do
6482 case $f in
6483 -) echo $tmp/stdin ;;
6484 [\\/$]*)
6485 # Absolute (can't be DOS-style, as IFS=:)
6486 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6487 echo "$as_me: error: cannot find input file: $f" >&2;}
6488 { (exit 1); exit 1; }; }
6489 # Do quote $f, to prevent DOS paths from being IFS'd.
6490 echo "$f";;
6491 *) # Relative
6492 if test -f "$f"; then
6493 # Build tree
6494 echo "$f"
6495 elif test -f "$srcdir/$f"; then
6496 # Source tree
6497 echo "$srcdir/$f"
6498 else
6499 # /dev/null tree
6500 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6501 echo "$as_me: error: cannot find input file: $f" >&2;}
6502 { (exit 1); exit 1; }; }
6503 fi;;
6504 esac
6505 done` || { (exit 1); exit 1; }
6506 # Remove the trailing spaces.
6507 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6508
6509 _ACEOF
6510
6511 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6512 # `conftest.undefs', that substitutes the proper values into
6513 # config.h.in to produce config.h. The first handles `#define'
6514 # templates, and the second `#undef' templates.
6515 # And first: Protect against being on the right side of a sed subst in
6516 # config.status. Protect against being in an unquoted here document
6517 # in config.status.
6518 rm -f conftest.defines conftest.undefs
6519 # Using a here document instead of a string reduces the quoting nightmare.
6520 # Putting comments in sed scripts is not portable.
6521 #
6522 # `end' is used to avoid that the second main sed command (meant for
6523 # 0-ary CPP macros) applies to n-ary macro definitions.
6524 # See the Autoconf documentation for `clear'.
6525 cat >confdef2sed.sed <<\_ACEOF
6526 s/[\\&,]/\\&/g
6527 s,[\\$`],\\&,g
6528 t clear
6529 : clear
6530 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6531 t end
6532 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6533 : end
6534 _ACEOF
6535 # If some macros were called several times there might be several times
6536 # the same #defines, which is useless. Nevertheless, we may not want to
6537 # sort them, since we want the *last* AC-DEFINE to be honored.
6538 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6539 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6540 rm -f confdef2sed.sed
6541
6542 # This sed command replaces #undef with comments. This is necessary, for
6543 # example, in the case of _POSIX_SOURCE, which is predefined and required
6544 # on some systems where configure will not decide to define it.
6545 cat >>conftest.undefs <<\_ACEOF
6546 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6547 _ACEOF
6548
6549 # Break up conftest.defines because some shells have a limit on the size
6550 # of here documents, and old seds have small limits too (100 cmds).
6551 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6552 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6553 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6554 echo ' :' >>$CONFIG_STATUS
6555 rm -f conftest.tail
6556 while grep . conftest.defines >/dev/null
6557 do
6558 # Write a limited-size here document to $tmp/defines.sed.
6559 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6560 # Speed up: don't consider the non `#define' lines.
6561 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6562 # Work around the forget-to-reset-the-flag bug.
6563 echo 't clr' >>$CONFIG_STATUS
6564 echo ': clr' >>$CONFIG_STATUS
6565 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6566 echo 'CEOF
6567 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6568 rm -f $tmp/in
6569 mv $tmp/out $tmp/in
6570 ' >>$CONFIG_STATUS
6571 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6572 rm -f conftest.defines
6573 mv conftest.tail conftest.defines
6574 done
6575 rm -f conftest.defines
6576 echo ' fi # grep' >>$CONFIG_STATUS
6577 echo >>$CONFIG_STATUS
6578
6579 # Break up conftest.undefs because some shells have a limit on the size
6580 # of here documents, and old seds have small limits too (100 cmds).
6581 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6582 rm -f conftest.tail
6583 while grep . conftest.undefs >/dev/null
6584 do
6585 # Write a limited-size here document to $tmp/undefs.sed.
6586 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6587 # Speed up: don't consider the non `#undef'
6588 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6589 # Work around the forget-to-reset-the-flag bug.
6590 echo 't clr' >>$CONFIG_STATUS
6591 echo ': clr' >>$CONFIG_STATUS
6592 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6593 echo 'CEOF
6594 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6595 rm -f $tmp/in
6596 mv $tmp/out $tmp/in
6597 ' >>$CONFIG_STATUS
6598 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6599 rm -f conftest.undefs
6600 mv conftest.tail conftest.undefs
6601 done
6602 rm -f conftest.undefs
6603
6604 cat >>$CONFIG_STATUS <<\_ACEOF
6605 # Let's still pretend it is `configure' which instantiates (i.e., don't
6606 # use $as_me), people would be surprised to read:
6607 # /* config.h. Generated by config.status. */
6608 if test x"$ac_file" = x-; then
6609 echo "/* Generated by configure. */" >$tmp/config.h
6610 else
6611 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6612 fi
6613 cat $tmp/in >>$tmp/config.h
6614 rm -f $tmp/in
6615 if test x"$ac_file" != x-; then
6616 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6617 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6618 echo "$as_me: $ac_file is unchanged" >&6;}
6619 else
6620 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6621 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6622 X"$ac_file" : 'X\(//\)[^/]' \| \
6623 X"$ac_file" : 'X\(//\)$' \| \
6624 X"$ac_file" : 'X\(/\)' \| \
6625 . : '\(.\)' 2>/dev/null ||
6626 echo X"$ac_file" |
6627 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6628 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6629 /^X\(\/\/\)$/{ s//\1/; q; }
6630 /^X\(\/\).*/{ s//\1/; q; }
6631 s/.*/./; q'`
6632 { if $as_mkdir_p; then
6633 mkdir -p "$ac_dir"
6634 else
6635 as_dir="$ac_dir"
6636 as_dirs=
6637 while test ! -d "$as_dir"; do
6638 as_dirs="$as_dir $as_dirs"
6639 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6640 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6641 X"$as_dir" : 'X\(//\)[^/]' \| \
6642 X"$as_dir" : 'X\(//\)$' \| \
6643 X"$as_dir" : 'X\(/\)' \| \
6644 . : '\(.\)' 2>/dev/null ||
6645 echo X"$as_dir" |
6646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6647 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6648 /^X\(\/\/\)$/{ s//\1/; q; }
6649 /^X\(\/\).*/{ s//\1/; q; }
6650 s/.*/./; q'`
6651 done
6652 test ! -n "$as_dirs" || mkdir $as_dirs
6653 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6654 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6655 { (exit 1); exit 1; }; }; }
6656
6657 rm -f $ac_file
6658 mv $tmp/config.h $ac_file
6659 fi
6660 else
6661 cat $tmp/config.h
6662 rm -f $tmp/config.h
6663 fi
6664 # Compute $ac_file's index in $config_headers.
6665 _am_stamp_count=1
6666 for _am_header in $config_headers :; do
6667 case $_am_header in
6668 $ac_file | $ac_file:* )
6669 break ;;
6670 * )
6671 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6672 esac
6673 done
6674 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6675 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6676 X$ac_file : 'X\(//\)[^/]' \| \
6677 X$ac_file : 'X\(//\)$' \| \
6678 X$ac_file : 'X\(/\)' \| \
6679 . : '\(.\)' 2>/dev/null ||
6680 echo X$ac_file |
6681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6683 /^X\(\/\/\)$/{ s//\1/; q; }
6684 /^X\(\/\).*/{ s//\1/; q; }
6685 s/.*/./; q'`/stamp-h$_am_stamp_count
6686 done
6687 _ACEOF
6688 cat >>$CONFIG_STATUS <<\_ACEOF
6689
6690 #
6691 # CONFIG_COMMANDS section.
6692 #
6693 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6694 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6695 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6696 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6697 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6698 X"$ac_dest" : 'X\(//\)[^/]' \| \
6699 X"$ac_dest" : 'X\(//\)$' \| \
6700 X"$ac_dest" : 'X\(/\)' \| \
6701 . : '\(.\)' 2>/dev/null ||
6702 echo X"$ac_dest" |
6703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6704 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6705 /^X\(\/\/\)$/{ s//\1/; q; }
6706 /^X\(\/\).*/{ s//\1/; q; }
6707 s/.*/./; q'`
6708 { if $as_mkdir_p; then
6709 mkdir -p "$ac_dir"
6710 else
6711 as_dir="$ac_dir"
6712 as_dirs=
6713 while test ! -d "$as_dir"; do
6714 as_dirs="$as_dir $as_dirs"
6715 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6716 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6717 X"$as_dir" : 'X\(//\)[^/]' \| \
6718 X"$as_dir" : 'X\(//\)$' \| \
6719 X"$as_dir" : 'X\(/\)' \| \
6720 . : '\(.\)' 2>/dev/null ||
6721 echo X"$as_dir" |
6722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6723 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6724 /^X\(\/\/\)$/{ s//\1/; q; }
6725 /^X\(\/\).*/{ s//\1/; q; }
6726 s/.*/./; q'`
6727 done
6728 test ! -n "$as_dirs" || mkdir $as_dirs
6729 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6730 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6731 { (exit 1); exit 1; }; }; }
6732
6733 ac_builddir=.
6734
6735 if test "$ac_dir" != .; then
6736 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6737 # A "../" for each directory in $ac_dir_suffix.
6738 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6739 else
6740 ac_dir_suffix= ac_top_builddir=
6741 fi
6742
6743 case $srcdir in
6744 .) # No --srcdir option. We are building in place.
6745 ac_srcdir=.
6746 if test -z "$ac_top_builddir"; then
6747 ac_top_srcdir=.
6748 else
6749 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6750 fi ;;
6751 [\\/]* | ?:[\\/]* ) # Absolute path.
6752 ac_srcdir=$srcdir$ac_dir_suffix;
6753 ac_top_srcdir=$srcdir ;;
6754 *) # Relative path.
6755 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6756 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6757 esac
6758
6759 # Do not use `cd foo && pwd` to compute absolute paths, because
6760 # the directories may not exist.
6761 case `pwd` in
6762 .) ac_abs_builddir="$ac_dir";;
6763 *)
6764 case "$ac_dir" in
6765 .) ac_abs_builddir=`pwd`;;
6766 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6767 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6768 esac;;
6769 esac
6770 case $ac_abs_builddir in
6771 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6772 *)
6773 case ${ac_top_builddir}. in
6774 .) ac_abs_top_builddir=$ac_abs_builddir;;
6775 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6776 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6777 esac;;
6778 esac
6779 case $ac_abs_builddir in
6780 .) ac_abs_srcdir=$ac_srcdir;;
6781 *)
6782 case $ac_srcdir in
6783 .) ac_abs_srcdir=$ac_abs_builddir;;
6784 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6785 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6786 esac;;
6787 esac
6788 case $ac_abs_builddir in
6789 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6790 *)
6791 case $ac_top_srcdir in
6792 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6793 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6794 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6795 esac;;
6796 esac
6797
6798
6799 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6800 echo "$as_me: executing $ac_dest commands" >&6;}
6801 case $ac_dest in
6802 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6803 # Strip MF so we end up with the name of the file.
6804 mf=`echo "$mf" | sed -e 's/:.*$//'`
6805 # Check whether this is an Automake generated Makefile or not.
6806 # We used to match only the files named `Makefile.in', but
6807 # some people rename them; so instead we look at the file content.
6808 # Grep'ing the first line is not enough: some people post-process
6809 # each Makefile.in and add a new line on top of each file to say so.
6810 # So let's grep whole file.
6811 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6812 dirpart=`(dirname "$mf") 2>/dev/null ||
6813 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6814 X"$mf" : 'X\(//\)[^/]' \| \
6815 X"$mf" : 'X\(//\)$' \| \
6816 X"$mf" : 'X\(/\)' \| \
6817 . : '\(.\)' 2>/dev/null ||
6818 echo X"$mf" |
6819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6820 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6821 /^X\(\/\/\)$/{ s//\1/; q; }
6822 /^X\(\/\).*/{ s//\1/; q; }
6823 s/.*/./; q'`
6824 else
6825 continue
6826 fi
6827 # Extract the definition of DEPDIR, am__include, and am__quote
6828 # from the Makefile without running `make'.
6829 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6830 test -z "$DEPDIR" && continue
6831 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6832 test -z "am__include" && continue
6833 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6834 # When using ansi2knr, U may be empty or an underscore; expand it
6835 U=`sed -n 's/^U = //p' < "$mf"`
6836 # Find all dependency output files, they are included files with
6837 # $(DEPDIR) in their names. We invoke sed twice because it is the
6838 # simplest approach to changing $(DEPDIR) to its actual value in the
6839 # expansion.
6840 for file in `sed -n "
6841 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6842 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6843 # Make sure the directory exists.
6844 test -f "$dirpart/$file" && continue
6845 fdir=`(dirname "$file") 2>/dev/null ||
6846 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6847 X"$file" : 'X\(//\)[^/]' \| \
6848 X"$file" : 'X\(//\)$' \| \
6849 X"$file" : 'X\(/\)' \| \
6850 . : '\(.\)' 2>/dev/null ||
6851 echo X"$file" |
6852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6853 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6854 /^X\(\/\/\)$/{ s//\1/; q; }
6855 /^X\(\/\).*/{ s//\1/; q; }
6856 s/.*/./; q'`
6857 { if $as_mkdir_p; then
6858 mkdir -p $dirpart/$fdir
6859 else
6860 as_dir=$dirpart/$fdir
6861 as_dirs=
6862 while test ! -d "$as_dir"; do
6863 as_dirs="$as_dir $as_dirs"
6864 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6865 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6866 X"$as_dir" : 'X\(//\)[^/]' \| \
6867 X"$as_dir" : 'X\(//\)$' \| \
6868 X"$as_dir" : 'X\(/\)' \| \
6869 . : '\(.\)' 2>/dev/null ||
6870 echo X"$as_dir" |
6871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6873 /^X\(\/\/\)$/{ s//\1/; q; }
6874 /^X\(\/\).*/{ s//\1/; q; }
6875 s/.*/./; q'`
6876 done
6877 test ! -n "$as_dirs" || mkdir $as_dirs
6878 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6879 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6880 { (exit 1); exit 1; }; }; }
6881
6882 # echo "creating $dirpart/$file"
6883 echo '# dummy' > "$dirpart/$file"
6884 done
6885 done
6886 ;;
6887 esac
6888 done
6889 _ACEOF
6890
6891 cat >>$CONFIG_STATUS <<\_ACEOF
6892
6893 { (exit 0); exit 0; }
6894 _ACEOF
6895 chmod +x $CONFIG_STATUS
6896 ac_clean_files=$ac_clean_files_save
6897
6898
6899 # configure is writing to config.log, and then calls config.status.
6900 # config.status does its own redirection, appending to config.log.
6901 # Unfortunately, on DOS this fails, as config.log is still kept open
6902 # by configure, so config.status won't be able to write to it; its
6903 # output is simply discarded. So we exec the FD to /dev/null,
6904 # effectively closing config.log, so it can be properly (re)opened and
6905 # appended to by config.status. When coming back to configure, we
6906 # need to make the FD available again.
6907 if test "$no_create" != yes; then
6908 ac_cs_success=:
6909 ac_config_status_args=
6910 test "$silent" = yes &&
6911 ac_config_status_args="$ac_config_status_args --quiet"
6912 exec 5>/dev/null
6913 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6914 exec 5>>config.log
6915 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6916 # would make configure fail if this is the last instruction.
6917 $ac_cs_success || { (exit 1); exit 1; }
6918 fi
6919