/[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 - (hide annotations)
Mon Nov 13 20:42:23 2006 UTC (10 years, 11 months ago) by bertho
Branch: automake-dev1
Changes since 1.15: +2104 -1681 lines
Changes to use automake
1 bertho 1.1 #! /bin/sh
2     # Guess values for system-dependent variables and create Makefiles.
3 bertho 1.15.4.1 # Generated by GNU Autoconf 2.59 for cvsgraph 1.7.0.
4     #
5     # Report bugs to <cvsgraph@akhphd.au.dk>.
6 bertho 1.1 #
7 bertho 1.14 # Copyright (C) 2003 Free Software Foundation, Inc.
8 bertho 1.1 # This configure script is free software; the Free Software Foundation
9     # gives unlimited permission to copy, distribute and modify it.
10 bertho 1.11 ## --------------------- ##
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 bertho 1.14 DUALCASE=1; export DUALCASE # for MKS sh
25 bertho 1.11
26     # Support unset when possible.
27 bertho 1.14 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 bertho 1.11 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 bertho 1.14 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 bertho 1.11 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 bertho 1.14 test -d ./-p && rmdir ./-p
224 bertho 1.11 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 bertho 1.14 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 bertho 1.11
232     # Sed expression to map a string onto a valid variable name.
233 bertho 1.14 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 bertho 1.11
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 bertho 1.1
253 bertho 1.11 #
254     # Initializations.
255     #
256 bertho 1.1 ac_default_prefix=/usr/local
257 bertho 1.11 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 bertho 1.15.4.1 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 bertho 1.11
276 bertho 1.15.4.1 ac_unique_file="README"
277 bertho 1.11 # 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 bertho 1.15.4.1 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 bertho 1.11 ac_subst_files=''
316 bertho 1.1
317     # Initialize some variables set by options.
318 bertho 1.11 ac_init_help=
319     ac_init_version=false
320 bertho 1.1 # The variables have the same names as the options, with
321     # dashes changed to underlines.
322 bertho 1.11 cache_file=/dev/null
323 bertho 1.1 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 bertho 1.11
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 bertho 1.1 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 bertho 1.11 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 bertho 1.1
367     # Accept the important Cygnus configure options, so we can diagnose typos.
368    
369 bertho 1.11 case $ac_option in
370 bertho 1.1
371     -bindir | --bindir | --bindi | --bind | --bin | --bi)
372     ac_prev=bindir ;;
373     -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 bertho 1.11 bindir=$ac_optarg ;;
375 bertho 1.1
376     -build | --build | --buil | --bui | --bu)
377 bertho 1.11 ac_prev=build_alias ;;
378 bertho 1.1 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 bertho 1.11 build_alias=$ac_optarg ;;
380 bertho 1.1
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 bertho 1.11 cache_file=$ac_optarg ;;
387    
388     --config-cache | -C)
389     cache_file=config.cache ;;
390 bertho 1.1
391     -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392     ac_prev=datadir ;;
393     -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394     | --da=*)
395 bertho 1.11 datadir=$ac_optarg ;;
396 bertho 1.1
397     -disable-* | --disable-*)
398 bertho 1.11 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 bertho 1.1 # Reject names that are not valid shell variable names.
400 bertho 1.11 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 bertho 1.1
406     -enable-* | --enable-*)
407 bertho 1.11 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 bertho 1.1 # Reject names that are not valid shell variable names.
409 bertho 1.11 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 bertho 1.1 *) ac_optarg=yes ;;
416     esac
417 bertho 1.11 eval "enable_$ac_feature='$ac_optarg'" ;;
418 bertho 1.1
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 bertho 1.11 exec_prefix=$ac_optarg ;;
427 bertho 1.1
428     -gas | --gas | --ga | --g)
429     # Obsolete; use --with-gas.
430     with_gas=yes ;;
431    
432 bertho 1.11 -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 bertho 1.1
439     -host | --host | --hos | --ho)
440 bertho 1.11 ac_prev=host_alias ;;
441 bertho 1.1 -host=* | --host=* | --hos=* | --ho=*)
442 bertho 1.11 host_alias=$ac_optarg ;;
443 bertho 1.1
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 bertho 1.11 includedir=$ac_optarg ;;
450 bertho 1.1
451     -infodir | --infodir | --infodi | --infod | --info | --inf)
452     ac_prev=infodir ;;
453     -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 bertho 1.11 infodir=$ac_optarg ;;
455 bertho 1.1
456     -libdir | --libdir | --libdi | --libd)
457     ac_prev=libdir ;;
458     -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 bertho 1.11 libdir=$ac_optarg ;;
460 bertho 1.1
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 bertho 1.11 libexecdir=$ac_optarg ;;
467 bertho 1.1
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 bertho 1.11 localstatedir=$ac_optarg ;;
476 bertho 1.1
477     -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478     ac_prev=mandir ;;
479     -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 bertho 1.11 mandir=$ac_optarg ;;
481 bertho 1.1
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 bertho 1.11 | --no-cr | --no-c | -n)
488 bertho 1.1 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 bertho 1.11 oldincludedir=$ac_optarg ;;
502 bertho 1.1
503     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504     ac_prev=prefix ;;
505     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 bertho 1.11 prefix=$ac_optarg ;;
507 bertho 1.1
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 bertho 1.11 program_prefix=$ac_optarg ;;
514 bertho 1.1
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 bertho 1.11 program_suffix=$ac_optarg ;;
521 bertho 1.1
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 bertho 1.11 program_transform_name=$ac_optarg ;;
538 bertho 1.1
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 bertho 1.11 sbindir=$ac_optarg ;;
548 bertho 1.1
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 bertho 1.11 sharedstatedir=$ac_optarg ;;
559 bertho 1.1
560     -site | --site | --sit)
561     ac_prev=site ;;
562     -site=* | --site=* | --sit=*)
563 bertho 1.11 site=$ac_optarg ;;
564 bertho 1.1
565     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566     ac_prev=srcdir ;;
567     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 bertho 1.11 srcdir=$ac_optarg ;;
569 bertho 1.1
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 bertho 1.11 sysconfdir=$ac_optarg ;;
576 bertho 1.1
577     -target | --target | --targe | --targ | --tar | --ta | --t)
578 bertho 1.11 ac_prev=target_alias ;;
579 bertho 1.1 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 bertho 1.11 target_alias=$ac_optarg ;;
581 bertho 1.1
582     -v | -verbose | --verbose | --verbos | --verbo | --verb)
583     verbose=yes ;;
584    
585 bertho 1.11 -version | --version | --versio | --versi | --vers | -V)
586     ac_init_version=: ;;
587 bertho 1.1
588     -with-* | --with-*)
589 bertho 1.11 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 bertho 1.1 # Reject names that are not valid shell variable names.
591 bertho 1.11 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 bertho 1.1 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 bertho 1.11 case $ac_option in
596     *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 bertho 1.1 *) ac_optarg=yes ;;
598     esac
599 bertho 1.11 eval "with_$ac_package='$ac_optarg'" ;;
600 bertho 1.1
601     -without-* | --without-*)
602 bertho 1.11 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 bertho 1.1 # Reject names that are not valid shell variable names.
604 bertho 1.11 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 bertho 1.1
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 bertho 1.11 x_includes=$ac_optarg ;;
620 bertho 1.1
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 bertho 1.11 x_libraries=$ac_optarg ;;
627 bertho 1.1
628 bertho 1.11 -*) { echo "$as_me: error: unrecognized option: $ac_option
629     Try \`$0 --help' for more information." >&2
630     { (exit 1); exit 1; }; }
631 bertho 1.1 ;;
632    
633 bertho 1.11 *=*)
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 bertho 1.1 *)
644 bertho 1.11 # 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 bertho 1.1 ;;
650    
651     esac
652     done
653    
654     if test -n "$ac_prev"; then
655 bertho 1.11 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 bertho 1.1 fi
659    
660 bertho 1.11 # 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 bertho 1.1
671 bertho 1.11 # Be sure to have absolute paths.
672     for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 bertho 1.14 localstatedir libdir includedir oldincludedir infodir mandir
674 bertho 1.1 do
675 bertho 1.11 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 bertho 1.1 esac
681     done
682    
683 bertho 1.11 # 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 bertho 1.1
704 bertho 1.11 test "$silent" = yes && exec 6>/dev/null
705 bertho 1.1
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 bertho 1.11 ac_confdir=`(dirname "$0") 2>/dev/null ||
712     $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 bertho 1.14 X"$0" : 'X\(//\)[^/]' \| \
714     X"$0" : 'X\(//\)$' \| \
715     X"$0" : 'X\(/\)' \| \
716     . : '\(.\)' 2>/dev/null ||
717 bertho 1.11 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 bertho 1.1 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 bertho 1.11 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733     { (exit 1); exit 1; }; }
734 bertho 1.1 else
735 bertho 1.11 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736     { (exit 1); exit 1; }; }
737 bertho 1.1 fi
738     fi
739 bertho 1.11 (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 bertho 1.15.4.1 \`configure' configures cvsgraph 1.7.0 to adapt to many kinds of systems.
784 bertho 1.11
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 bertho 1.14 [$ac_default_prefix]
809 bertho 1.11 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 bertho 1.14 [PREFIX]
811 bertho 1.11
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 bertho 1.15.4.1
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 bertho 1.11 _ACEOF
841     fi
842    
843     if test -n "$ac_init_help"; then
844 bertho 1.15.4.1 case $ac_init_help in
845     short | recursive ) echo "Configuration of cvsgraph 1.7.0:";;
846     esac
847 bertho 1.11 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 bertho 1.15.4.1 --disable-dependency-tracking speeds up one-time build
853     --enable-dependency-tracking do not reject slow dependency extractors
854 bertho 1.11
855     Optional Packages:
856     --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
857     --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
858 bertho 1.15.4.1 --with-gd(=DIR) use the gd library (in DIR)
859 bertho 1.11
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 bertho 1.15.4.1 Report bugs to <cvsgraph@akhphd.au.dk>.
873 bertho 1.11 _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 bertho 1.14
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 bertho 1.11
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 bertho 1.14 test -f $ac_srcdir/configure.in; then
956 bertho 1.11 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 bertho 1.15.4.1 cvsgraph configure 1.7.0
969     generated by GNU Autoconf 2.59
970 bertho 1.11
971 bertho 1.14 Copyright (C) 2003 Free Software Foundation, Inc.
972 bertho 1.11 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 bertho 1.15.4.1 It was created by cvsgraph $as_me 1.7.0, which was
983 bertho 1.14 generated by GNU Autoconf 2.59. Invocation command line was
984 bertho 1.11
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 bertho 1.14 ac_must_keep_next=false # Got value, back to normal.
1061 bertho 1.11 else
1062 bertho 1.14 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 bertho 1.11 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 bertho 1.14 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1107     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1108 bertho 1.11 ;;
1109     *)
1110     sed -n \
1111 bertho 1.14 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1112 bertho 1.11 ;;
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 bertho 1.14 echo "$ac_var='"'"'$ac_val'"'"'"
1141 bertho 1.11 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 bertho 1.14 rm -f core *.core &&
1160 bertho 1.11 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 bertho 1.1
1179 bertho 1.11
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 bertho 1.1 # 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 bertho 1.11 { 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 bertho 1.1 . "$ac_site_file"
1215     fi
1216     done
1217    
1218     if test -r "$cache_file"; then
1219 bertho 1.11 # 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 bertho 1.1 else
1230 bertho 1.11 { 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 bertho 1.14 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1240 bertho 1.11 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 bertho 1.14 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1257 bertho 1.11 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1258 bertho 1.14 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1259 bertho 1.11 echo "$as_me: former value: $ac_old_val" >&2;}
1260 bertho 1.14 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1261 bertho 1.11 echo "$as_me: current value: $ac_new_val" >&2;}
1262 bertho 1.14 ac_cache_corrupted=:
1263 bertho 1.11 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 bertho 1.1 fi
1285    
1286     ac_ext=c
1287     ac_cpp='$CPP $CPPFLAGS'
1288 bertho 1.11 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 bertho 1.1
1308    
1309    
1310 bertho 1.15.4.1
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 bertho 1.11 ac_config_headers="$ac_config_headers config.h"
1757 bertho 1.1
1758 bertho 1.15.4.1 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 bertho 1.2
1764 bertho 1.15.4.1
1765     # Checks for programs.
1766 bertho 1.11 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 bertho 1.1 else
1779     if test -n "$CC"; then
1780     ac_cv_prog_CC="$CC" # Let the user override the test.
1781     else
1782 bertho 1.11 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 bertho 1.1 fi
1797     fi
1798 bertho 1.11 CC=$ac_cv_prog_CC
1799 bertho 1.1 if test -n "$CC"; then
1800 bertho 1.11 echo "$as_me:$LINENO: result: $CC" >&5
1801     echo "${ECHO_T}$CC" >&6
1802 bertho 1.1 else
1803 bertho 1.11 echo "$as_me:$LINENO: result: no" >&5
1804     echo "${ECHO_T}no" >&6
1805 bertho 1.1 fi
1806    
1807 bertho 1.11 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 bertho 1.1 else
1817 bertho 1.11 if test -n "$ac_ct_CC"; then
1818     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1819 bertho 1.1 else
1820 bertho 1.11 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 bertho 1.1 fi
1831 bertho 1.11 done
1832     done
1833    
1834 bertho 1.1 fi
1835     fi
1836 bertho 1.11 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 bertho 1.1 fi
1844 bertho 1.11
1845     CC=$ac_ct_CC
1846 bertho 1.1 else
1847 bertho 1.11 CC="$ac_cv_prog_CC"
1848 bertho 1.1 fi
1849    
1850 bertho 1.11 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 bertho 1.1 else
1859     if test -n "$CC"; then
1860     ac_cv_prog_CC="$CC" # Let the user override the test.
1861     else
1862 bertho 1.11 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 bertho 1.1 fi
1878 bertho 1.11 CC=$ac_cv_prog_CC
1879 bertho 1.1 if test -n "$CC"; then
1880 bertho 1.11 echo "$as_me:$LINENO: result: $CC" >&5
1881     echo "${ECHO_T}$CC" >&6
1882 bertho 1.1 else
1883 bertho 1.11 echo "$as_me:$LINENO: result: no" >&5
1884     echo "${ECHO_T}no" >&6
1885 bertho 1.1 fi
1886 bertho 1.11
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 bertho 1.1 fi
1911 bertho 1.11 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 bertho 1.1 fi
1924    
1925 bertho 1.11 CC=$ac_ct_CC
1926     else
1927     CC="$ac_cv_prog_CC"
1928     fi
1929 bertho 1.1
1930 bertho 1.11 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 bertho 1.1
1961 bertho 1.11 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 bertho 1.1
1984 bertho 1.11 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 bertho 1.1
2013 bertho 1.11 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 bertho 1.1 else
2020 bertho 1.11 echo "$as_me:$LINENO: result: no" >&5
2021     echo "${ECHO_T}no" >&6
2022 bertho 1.1 fi
2023    
2024 bertho 1.11 test -n "$CC" && break
2025     done
2026 bertho 1.1 fi
2027 bertho 1.11 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 bertho 1.1
2055 bertho 1.11 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 bertho 1.1 else
2062 bertho 1.11 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 bertho 1.1 fi
2071 bertho 1.11
2072 bertho 1.1 fi
2073    
2074    
2075 bertho 1.11 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 bertho 1.14 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 bertho 1.11 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 bertho 1.14 ;;
2143 bertho 1.11 conftest.$ac_ext )
2144 bertho 1.14 # This is the source file.
2145     ;;
2146 bertho 1.11 [ab].out )
2147 bertho 1.14 # We found the default executable, but exeext='' is most
2148     # certainly right.
2149     break;;
2150 bertho 1.11 *.* )
2151 bertho 1.14 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 bertho 1.11 * )
2158 bertho 1.14 break;;
2159 bertho 1.11 esac
2160     done
2161 bertho 1.1 else
2162 bertho 1.11 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 bertho 1.1 fi
2204 bertho 1.11 echo "$as_me:$LINENO: result: yes" >&5
2205     echo "${ECHO_T}yes" >&6
2206 bertho 1.1
2207 bertho 1.11 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 bertho 1.14 export ac_cv_exeext
2233     break;;
2234 bertho 1.11 * ) break;;
2235     esac
2236     done
2237 bertho 1.1 else
2238 bertho 1.11 { { 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 bertho 1.14 (eval $ac_compile) 2>conftest.er1
2328 bertho 1.11 ac_status=$?
2329 bertho 1.14 grep -v '^ *+' conftest.er1 >conftest.err
2330     rm -f conftest.er1
2331     cat conftest.err >&5
2332 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333     (exit $ac_status); } &&
2334 bertho 1.14 { 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 bertho 1.11 { (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 bertho 1.14 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2355 bertho 1.11 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 bertho 1.14 (eval $ac_compile) 2>conftest.er1
2387 bertho 1.11 ac_status=$?
2388 bertho 1.14 grep -v '^ *+' conftest.er1 >conftest.err
2389     rm -f conftest.er1
2390     cat conftest.err >&5
2391 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392     (exit $ac_status); } &&
2393 bertho 1.14 { 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 bertho 1.11 { (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 bertho 1.1 ac_cv_prog_cc_g=yes
2407     else
2408 bertho 1.11 echo "$as_me: failed program was:" >&5
2409     sed 's/^/| /' conftest.$ac_ext >&5
2410    
2411     ac_cv_prog_cc_g=no
2412 bertho 1.1 fi
2413 bertho 1.14 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2414 bertho 1.1 fi
2415 bertho 1.11 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2416     echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2417 bertho 1.1 if test "$ac_test_CFLAGS" = set; then
2418 bertho 1.11 CFLAGS=$ac_save_CFLAGS
2419 bertho 1.1 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 bertho 1.11 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 bertho 1.14
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 bertho 1.11 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 bertho 1.14 (eval $ac_compile) 2>conftest.er1
2504 bertho 1.11 ac_status=$?
2505 bertho 1.14 grep -v '^ *+' conftest.er1 >conftest.err
2506     rm -f conftest.er1
2507     cat conftest.err >&5
2508 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509     (exit $ac_status); } &&
2510 bertho 1.14 { 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 bertho 1.11 { (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 bertho 1.14 rm -f conftest.err conftest.$ac_objext
2531 bertho 1.11 done
2532     rm -f conftest.$ac_ext conftest.$ac_objext
2533     CC=$ac_save_CC
2534 bertho 1.1
2535 bertho 1.11 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 bertho 1.14 (eval $ac_compile) 2>conftest.er1
2559 bertho 1.11 ac_status=$?
2560 bertho 1.14 grep -v '^ *+' conftest.er1 >conftest.err
2561     rm -f conftest.er1
2562     cat conftest.err >&5
2563 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564     (exit $ac_status); } &&
2565 bertho 1.14 { 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 bertho 1.11 { (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 bertho 1.14 '' \
2580 bertho 1.11 '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 bertho 1.14 $ac_declaration
2593 bertho 1.11 #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 bertho 1.14 (eval $ac_compile) 2>conftest.er1
2605 bertho 1.11 ac_status=$?
2606 bertho 1.14 grep -v '^ *+' conftest.er1 >conftest.err
2607     rm -f conftest.er1
2608     cat conftest.err >&5
2609 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610     (exit $ac_status); } &&
2611 bertho 1.14 { 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 bertho 1.11 { (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 bertho 1.14 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2632 bertho 1.11 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 bertho 1.14 (eval $ac_compile) 2>conftest.er1
2650 bertho 1.11 ac_status=$?
2651 bertho 1.14 grep -v '^ *+' conftest.er1 >conftest.err
2652     rm -f conftest.er1
2653     cat conftest.err >&5
2654 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655     (exit $ac_status); } &&
2656 bertho 1.14 { 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 bertho 1.11 { (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 bertho 1.14 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2676 bertho 1.11 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 bertho 1.14 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2690 bertho 1.11 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 bertho 1.15.4.1 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 bertho 1.11
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 bertho 1.1 else
2880     if test -n "$LEX"; then
2881     ac_cv_prog_LEX="$LEX" # Let the user override the test.
2882     else
2883 bertho 1.11 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 bertho 1.1 fi
2898     fi
2899 bertho 1.11 LEX=$ac_cv_prog_LEX
2900 bertho 1.1 if test -n "$LEX"; then
2901 bertho 1.11 echo "$as_me:$LINENO: result: $LEX" >&5
2902     echo "${ECHO_T}$LEX" >&6
2903 bertho 1.1 else
2904 bertho 1.11 echo "$as_me:$LINENO: result: no" >&5
2905     echo "${ECHO_T}no" >&6
2906 bertho 1.1 fi
2907    
2908 bertho 1.11 test -n "$LEX" && break
2909     done
2910     test -n "$LEX" || LEX=":"
2911    
2912 bertho 1.1 if test -z "$LEXLIB"
2913     then
2914 bertho 1.11 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 bertho 1.1 /* Override any gcc2 internal prototype to avoid an error. */
2929 bertho 1.11 #ifdef __cplusplus
2930     extern "C"
2931     #endif
2932 bertho 1.1 /* We use char because int might match the return type of a gcc2
2933 bertho 1.11 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 bertho 1.14 (eval $ac_link) 2>conftest.er1
2946 bertho 1.11 ac_status=$?
2947 bertho 1.14 grep -v '^ *+' conftest.er1 >conftest.err
2948     rm -f conftest.er1
2949     cat conftest.err >&5
2950 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951     (exit $ac_status); } &&
2952 bertho 1.14 { 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 bertho 1.11 { (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 bertho 1.14 rm -f conftest.err conftest.$ac_objext \
2973     conftest$ac_exeext conftest.$ac_ext
2974 bertho 1.11 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 bertho 1.1
2995 bertho 1.11 /* 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 bertho 1.14 (eval $ac_link) 2>conftest.er1
3013 bertho 1.11 ac_status=$?
3014 bertho 1.14 grep -v '^ *+' conftest.er1 >conftest.err
3015     rm -f conftest.er1
3016     cat conftest.err >&5
3017 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018     (exit $ac_status); } &&
3019 bertho 1.14 { 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 bertho 1.11 { (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 bertho 1.14 rm -f conftest.err conftest.$ac_objext \
3040     conftest$ac_exeext conftest.$ac_ext
3041 bertho 1.11 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 bertho 1.1 fi
3048    
3049     fi
3050 bertho 1.11
3051 bertho 1.1 fi
3052    
3053 bertho 1.11 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 bertho 1.14 (eval $ac_link) 2>conftest.er1
3103 bertho 1.11 ac_status=$?
3104 bertho 1.14 grep -v '^ *+' conftest.er1 >conftest.err
3105     rm -f conftest.er1
3106     cat conftest.err >&5
3107 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108     (exit $ac_status); } &&
3109 bertho 1.14 { 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 bertho 1.11 { (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 bertho 1.14 rm -f conftest.err conftest.$ac_objext \
3129     conftest$ac_exeext conftest.$ac_ext
3130 bertho 1.11 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 bertho 1.1 fi
3143    
3144 bertho 1.11 fi
3145 bertho 1.1 for ac_prog in 'bison -y' byacc
3146     do
3147 bertho 1.11 # Extract the first word of "$ac_prog", so it can be a program name with args.
3148 bertho 1.1 set dummy $ac_prog; ac_word=$2
3149 bertho 1.11 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 bertho 1.1 else
3154     if test -n "$YACC"; then
3155     ac_cv_prog_YACC="$YACC" # Let the user override the test.
3156     else
3157 bertho 1.11 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 bertho 1.1 fi
3172     fi
3173 bertho 1.11 YACC=$ac_cv_prog_YACC
3174 bertho 1.1 if test -n "$YACC"; then
3175 bertho 1.11 echo "$as_me:$LINENO: result: $YACC" >&5
3176     echo "${ECHO_T}$YACC" >&6
3177 bertho 1.1 else
3178 bertho 1.11 echo "$as_me:$LINENO: result: no" >&5
3179     echo "${ECHO_T}no" >&6
3180 bertho 1.1 fi
3181    
3182 bertho 1.11 test -n "$YACC" && break
3183 bertho 1.1 done
3184     test -n "$YACC" || YACC="yacc"
3185    
3186 bertho 1.15.4.1 # 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 bertho 1.1
3212 bertho 1.15.4.1 ;;
3213     esac
3214     fi
3215     ac_prog_pkg_config=$ac_cv_path_ac_prog_pkg_config
3216 bertho 1.11
3217 bertho 1.15.4.1 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 bertho 1.4
3225    
3226 bertho 1.11
3227 bertho 1.15.4.1 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 bertho 1.11 echo $ECHO_N "(cached) $ECHO_C" >&6
3231 bertho 1.1 else
3232 bertho 1.15.4.1 ac_check_lib_save_LIBS=$LIBS
3233     LIBS="-lm $LIBS"
3234     cat >conftest.$ac_ext <<_ACEOF
3235 bertho 1.11 /* confdefs.h. */
3236     _ACEOF
3237     cat confdefs.h >>conftest.$ac_ext
3238     cat >>conftest.$ac_ext <<_ACEOF
3239     /* end confdefs.h. */
3240 bertho 1.1
3241 bertho 1.15.4.1 /* 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 bertho 1.1 }
3255 bertho 1.11 _ACEOF
3256 bertho 1.15.4.1 rm -f conftest.$ac_objext conftest$ac_exeext
3257 bertho 1.11 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3258 bertho 1.15.4.1 (eval $ac_link) 2>conftest.er1
3259 bertho 1.11 ac_status=$?
3260 bertho 1.15.4.1 grep -v '^ *+' conftest.er1 >conftest.err
3261     rm -f conftest.er1
3262     cat conftest.err >&5
3263 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 bertho 1.15.4.1 (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 bertho 1.11 { (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 bertho 1.15.4.1 ac_cv_lib_m_sqrt=yes
3279 bertho 1.1 else
3280 bertho 1.15.4.1 echo "$as_me: failed program was:" >&5
3281 bertho 1.11 sed 's/^/| /' conftest.$ac_ext >&5
3282    
3283 bertho 1.15.4.1 ac_cv_lib_m_sqrt=no
3284 bertho 1.1 fi
3285 bertho 1.15.4.1 rm -f conftest.err conftest.$ac_objext \
3286     conftest$ac_exeext conftest.$ac_ext
3287     LIBS=$ac_check_lib_save_LIBS
3288 bertho 1.1 fi
3289 bertho 1.15.4.1 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 bertho 1.1 fi
3299    
3300 bertho 1.15.4.1
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 bertho 1.11 echo $ECHO_N "(cached) $ECHO_C" >&6
3306 bertho 1.9 else
3307 bertho 1.15.4.1 ac_check_lib_save_LIBS=$LIBS
3308     LIBS="-lfreetype $LIBS"
3309     cat >conftest.$ac_ext <<_ACEOF
3310 bertho 1.11 /* confdefs.h. */
3311     _ACEOF
3312     cat confdefs.h >>conftest.$ac_ext
3313     cat >>conftest.$ac_ext <<_ACEOF
3314     /* end confdefs.h. */
3315 bertho 1.9
3316 bertho 1.15.4.1 /* 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 bertho 1.9 }
3330 bertho 1.11 _ACEOF
3331 bertho 1.15.4.1 rm -f conftest.$ac_objext conftest$ac_exeext
3332 bertho 1.11 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3333 bertho 1.15.4.1 (eval $ac_link) 2>conftest.er1
3334 bertho 1.11 ac_status=$?
3335 bertho 1.15.4.1 grep -v '^ *+' conftest.er1 >conftest.err
3336     rm -f conftest.er1
3337     cat conftest.err >&5
3338 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 bertho 1.15.4.1 (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 bertho 1.11 { (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 bertho 1.15.4.1 ac_cv_lib_freetype_FT_Load_Glyph=yes
3354 bertho 1.9 else
3355 bertho 1.15.4.1 echo "$as_me: failed program was:" >&5
3356 bertho 1.11 sed 's/^/| /' conftest.$ac_ext >&5
3357    
3358 bertho 1.15.4.1 ac_cv_lib_freetype_FT_Load_Glyph=no
3359 bertho 1.11 fi
3360 bertho 1.15.4.1 rm -f conftest.err conftest.$ac_objext \
3361     conftest$ac_exeext conftest.$ac_ext
3362     LIBS=$ac_check_lib_save_LIBS
3363 bertho 1.11 fi
3364 bertho 1.15.4.1 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 bertho 1.11 fi
3374    
3375 bertho 1.15.4.1 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 bertho 1.11 echo $ECHO_N "(cached) $ECHO_C" >&6
3382     else
3383 bertho 1.15.4.1 ac_check_lib_save_LIBS=$LIBS
3384     LIBS="-lttf $LIBS"
3385     cat >conftest.$ac_ext <<_ACEOF
3386 bertho 1.11 /* confdefs.h. */
3387     _ACEOF
3388     cat confdefs.h >>conftest.$ac_ext
3389     cat >>conftest.$ac_ext <<_ACEOF
3390     /* end confdefs.h. */
3391    
3392 bertho 1.15.4.1 /* 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 bertho 1.11 }
3406     _ACEOF
3407 bertho 1.15.4.1 rm -f conftest.$ac_objext conftest$ac_exeext
3408 bertho 1.11 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3409 bertho 1.15.4.1 (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 bertho 1.11 ac_status=$?
3421     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 bertho 1.15.4.1 (exit $ac_status); }; } &&
3423     { ac_try='test -s conftest$ac_exeext'
3424 bertho 1.11 { (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 bertho 1.15.4.1 ac_cv_lib_ttf_TT_Load_Glyph=yes
3430 bertho 1.11 else
3431 bertho 1.15.4.1 echo "$as_me: failed program was:" >&5
3432 bertho 1.11 sed 's/^/| /' conftest.$ac_ext >&5
3433    
3434 bertho 1.15.4.1 ac_cv_lib_ttf_TT_Load_Glyph=no
3435 bertho 1.11 fi
3436 bertho 1.15.4.1 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 bertho 1.11 fi
3450 bertho 1.15.4.1
3451 bertho 1.11 fi
3452    
3453 bertho 1.15.4.1 # 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 bertho 1.11 echo $ECHO_N "(cached) $ECHO_C" >&6
3471     else
3472 bertho 1.15.4.1 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 bertho 1.11 else
3501 bertho 1.15.4.1 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 bertho 1.11 /* confdefs.h. */
3521     _ACEOF
3522     cat confdefs.h >>conftest.$ac_ext
3523     cat >>conftest.$ac_ext <<_ACEOF
3524     /* end confdefs.h. */
3525    
3526 bertho 1.15.4.1 /* 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 bertho 1.11 }
3540     _ACEOF
3541 bertho 1.15.4.1 rm -f conftest.$ac_objext conftest$ac_exeext
3542 bertho 1.11 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3543 bertho 1.15.4.1 (eval $ac_link) 2>conftest.er1
3544 bertho 1.13 ac_status=$?
3545 bertho 1.14 grep -v '^ *+' conftest.er1 >conftest.err
3546     rm -f conftest.er1
3547     cat conftest.err >&5
3548 bertho 1.13 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549     (exit $ac_status); } &&
3550 bertho 1.14 { 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 bertho 1.15.4.1 { 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 bertho 1.13 else
3565 bertho 1.15.4.1 echo "$as_me: failed program was:" >&5
3566     sed 's/^/| /' conftest.$ac_ext >&5
3567 bertho 1.13
3568 bertho 1.15.4.1 ac_cv_lib_z_inflateReset=no
3569 bertho 1.13 fi
3570 bertho 1.15.4.1 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 bertho 1.13 fi
3579    
3580 bertho 1.15.4.1 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 bertho 1.11 echo $ECHO_N "(cached) $ECHO_C" >&6
3584 bertho 1.9 else
3585 bertho 1.15.4.1 ac_check_lib_save_LIBS=$LIBS
3586     LIBS="-lpng $GD_LIBS $LIBS"
3587 bertho 1.11 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 bertho 1.15.4.1
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 bertho 1.11 _ACEOF
3609 bertho 1.15.4.1 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 bertho 1.11 ac_status=$?
3613 bertho 1.14 grep -v '^ *+' conftest.er1 >conftest.err
3614     rm -f conftest.er1
3615     cat conftest.err >&5
3616 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617     (exit $ac_status); } &&
3618 bertho 1.14 { 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 bertho 1.15.4.1 { ac_try='test -s conftest$ac_exeext'
3626 bertho 1.11 { (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 bertho 1.15.4.1 ac_cv_lib_png_png_check_sig=yes
3632 bertho 1.11 else
3633     echo "$as_me: failed program was:" >&5
3634     sed 's/^/| /' conftest.$ac_ext >&5
3635    
3636 bertho 1.15.4.1 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 bertho 1.11 fi
3647    
3648 bertho 1.15.4.1 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 bertho 1.11 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 bertho 1.15.4.1
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 bertho 1.11 _ACEOF
3686 bertho 1.15.4.1 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 bertho 1.11 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 bertho 1.15.4.1 (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 bertho 1.11 else
3710     echo "$as_me: failed program was:" >&5
3711     sed 's/^/| /' conftest.$ac_ext >&5
3712    
3713 bertho 1.15.4.1 ac_cv_lib_gd_gdImageCreate=no
3714 bertho 1.9 fi
3715 bertho 1.15.4.1 rm -f conftest.err conftest.$ac_objext \
3716     conftest$ac_exeext conftest.$ac_ext
3717     LIBS=$ac_check_lib_save_LIBS
3718 bertho 1.9 fi
3719 bertho 1.15.4.1 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 bertho 1.9
3723    
3724 bertho 1.15.4.1 cat >>confdefs.h <<\_ACEOF
3725     #define HAVE_GD 1
3726     _ACEOF
3727 bertho 1.11
3728 bertho 1.15.4.1 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 bertho 1.11 echo $ECHO_N "(cached) $ECHO_C" >&6
3732 bertho 1.1 else
3733 bertho 1.11 ac_check_lib_save_LIBS=$LIBS
3734 bertho 1.15.4.1 LIBS="-lgd "$GD_LIBS" $LIBS"
3735 bertho 1.11 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 bertho 1.1 /* Override any gcc2 internal prototype to avoid an error. */
3743 bertho 1.11 #ifdef __cplusplus
3744     extern "C"
3745     #endif
3746 bertho 1.1 /* We use char because int might match the return type of a gcc2
3747 bertho 1.11 builtin and then its argument prototype would still apply. */
3748 bertho 1.15.4.1 char gdImageGif ();
3749 bertho 1.11 int
3750     main ()
3751     {
3752 bertho 1.15.4.1 gdImageGif ();
3753 bertho 1.11 ;
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 bertho 1.14 (eval $ac_link) 2>conftest.er1
3760 bertho 1.11 ac_status=$?
3761 bertho 1.14 grep -v '^ *+' conftest.er1 >conftest.err
3762     rm -f conftest.er1
3763     cat conftest.err >&5
3764 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765     (exit $ac_status); } &&
3766 bertho 1.14 { 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 bertho 1.11 { (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 bertho 1.15.4.1 ac_cv_lib_gd_gdImageGif=yes
3780 bertho 1.11 else
3781     echo "$as_me: failed program was:" >&5
3782     sed 's/^/| /' conftest.$ac_ext >&5
3783    
3784 bertho 1.15.4.1 ac_cv_lib_gd_gdImageGif=no
3785 bertho 1.11 fi
3786 bertho 1.14 rm -f conftest.err conftest.$ac_objext \
3787     conftest$ac_exeext conftest.$ac_ext
3788 bertho 1.11 LIBS=$ac_check_lib_save_LIBS
3789     fi
3790 bertho 1.15.4.1 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 bertho 1.1
3794 bertho 1.15.4.1 cat >>confdefs.h <<\_ACEOF
3795     #define HAVE_GD_GIF 1
3796 bertho 1.11 _ACEOF
3797 bertho 1.1
3798     fi
3799    
3800 bertho 1.15.4.1 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 bertho 1.11 echo $ECHO_N "(cached) $ECHO_C" >&6
3804 bertho 1.9 else
3805 bertho 1.11 ac_check_lib_save_LIBS=$LIBS
3806 bertho 1.15.4.1 LIBS="-lgd "$GD_LIBS" $LIBS"
3807 bertho 1.11 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 bertho 1.9 /* Override any gcc2 internal prototype to avoid an error. */
3815 bertho 1.11 #ifdef __cplusplus
3816     extern "C"
3817     #endif
3818 bertho 1.9 /* We use char because int might match the return type of a gcc2
3819 bertho 1.11 builtin and then its argument prototype would still apply. */
3820 bertho 1.15.4.1 char gdImageJpeg ();
3821 bertho 1.11 int
3822     main ()
3823     {
3824 bertho 1.15.4.1 gdImageJpeg ();
3825 bertho 1.11 ;
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 bertho 1.14 (eval $ac_link) 2>conftest.er1
3832 bertho 1.11 ac_status=$?
3833 bertho 1.14 grep -v '^ *+' conftest.er1 >conftest.err
3834     rm -f conftest.er1
3835     cat conftest.err >&5
3836 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837     (exit $ac_status); } &&
3838 bertho 1.14 { 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 bertho 1.11 { (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 bertho 1.15.4.1 ac_cv_lib_gd_gdImageJpeg=yes
3852 bertho 1.11 else
3853     echo "$as_me: failed program was:" >&5
3854     sed 's/^/| /' conftest.$ac_ext >&5
3855    
3856 bertho 1.15.4.1 ac_cv_lib_gd_gdImageJpeg=no
3857 bertho 1.11 fi
3858 bertho 1.14 rm -f conftest.err conftest.$ac_objext \
3859     conftest$ac_exeext conftest.$ac_ext
3860 bertho 1.11 LIBS=$ac_check_lib_save_LIBS
3861     fi
3862 bertho 1.15.4.1 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 bertho 1.9
3866 bertho 1.15.4.1 cat >>confdefs.h <<\_ACEOF
3867     #define HAVE_GD_JPEG 1
3868     _ACEOF
3869 bertho 1.11
3870 bertho 1.9 fi
3871    
3872 bertho 1.15.4.1 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 bertho 1.11 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 bertho 1.9 else
3877 bertho 1.11 ac_check_lib_save_LIBS=$LIBS
3878 bertho 1.15.4.1 LIBS="-lgd "$GD_LIBS" $LIBS"
3879 bertho 1.11 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 bertho 1.9 /* Override any gcc2 internal prototype to avoid an error. */
3887 bertho 1.11 #ifdef __cplusplus
3888     extern "C"
3889     #endif
3890 bertho 1.9 /* We use char because int might match the return type of a gcc2
3891 bertho 1.11 builtin and then its argument prototype would still apply. */
3892 bertho 1.15.4.1 char gdImagePng ();
3893 bertho 1.11 int
3894     main ()
3895     {
3896 bertho 1.15.4.1 gdImagePng ();
3897 bertho 1.11 ;
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 bertho 1.14 (eval $ac_link) 2>conftest.er1
3904 bertho 1.11 ac_status=$?
3905 bertho 1.14 grep -v '^ *+' conftest.er1 >conftest.err
3906     rm -f conftest.er1
3907     cat conftest.err >&5
3908 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909     (exit $ac_status); } &&
3910 bertho 1.14 { 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 bertho 1.11 { (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 bertho 1.15.4.1 ac_cv_lib_gd_gdImagePng=yes
3924 bertho 1.11 else
3925     echo "$as_me: failed program was:" >&5
3926     sed 's/^/| /' conftest.$ac_ext >&5
3927    
3928 bertho 1.15.4.1 ac_cv_lib_gd_gdImagePng=no
3929 bertho 1.11 fi
3930 bertho 1.14 rm -f conftest.err conftest.$ac_objext \
3931     conftest$ac_exeext conftest.$ac_ext
3932 bertho 1.11 LIBS=$ac_check_lib_save_LIBS
3933     fi
3934 bertho 1.15.4.1 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 bertho 1.9
3938 bertho 1.15.4.1 cat >>confdefs.h <<\_ACEOF
3939     #define HAVE_GD_PNG 1
3940     _ACEOF
3941 bertho 1.11
3942 bertho 1.9 fi
3943    
3944 bertho 1.15.4.1 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 bertho 1.11 echo $ECHO_N "(cached) $ECHO_C" >&6
3948 bertho 1.9 else
3949 bertho 1.11 ac_check_lib_save_LIBS=$LIBS
3950 bertho 1.15.4.1 LIBS="-lgd "$GD_LIBS" $LIBS"
3951 bertho 1.11 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 bertho 1.9 /* Override any gcc2 internal prototype to avoid an error. */
3959 bertho 1.11 #ifdef __cplusplus
3960     extern "C"
3961     #endif
3962 bertho 1.9 /* We use char because int might match the return type of a gcc2
3963 bertho 1.11 builtin and then its argument prototype would still apply. */
3964 bertho 1.15.4.1 char gdImagePngEx ();
3965 bertho 1.11 int
3966     main ()
3967     {
3968 bertho 1.15.4.1 gdImagePngEx ();
3969 bertho 1.11 ;
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 bertho 1.14 (eval $ac_link) 2>conftest.er1
3976 bertho 1.11 ac_status=$?
3977 bertho 1.14 grep -v '^ *+' conftest.er1 >conftest.err
3978     rm -f conftest.er1
3979     cat conftest.err >&5
3980 bertho 1.11 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981     (exit $ac_status); } &&
3982 bertho 1.14 { 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 bertho 1.11 { (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 bertho 1.15.4.1 ac_cv_lib_gd_gdImagePngEx=yes
3996 bertho 1.11 else
3997     echo "$as_me: failed program was:" >&5
3998     sed 's/^/| /' conftest.$ac_ext >&5
3999    
4000 bertho 1.15.4.1 ac_cv_lib_gd_gdImagePngEx=no
4001 bertho 1.11 fi
4002 bertho 1.14 rm -f conftest.err conftest.$ac_objext \
4003     conftest$ac_exeext conftest.$ac_ext
4004 bertho 1.11 LIBS=$ac_check_lib_save_LIBS
4005     fi
4006 bertho 1.15.4.1 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 bertho 1.9
4010 bertho 1.15.4.1 cat >>confdefs.h <<\_ACEOF
4011     #define HAVE_GD_PNGEX 1
4012     _ACEOF
4013 bertho 1.11
4014