/[CvsGraph]/cvsgraph/configure
ViewVC logotype

Annotate of /cvsgraph/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


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

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0