2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="as31/as31.c"
275 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 PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT YACC GUI_LIBS GUI_CFLAGS GTK_CONFIG GTK_CFLAGS GTK_LIBS OPTION_GTK_TRUE OPTION_GTK_FALSE LIBOBJS LTLIBOBJS'
278 # Initialize some variables set by options.
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name=s,x,x,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir='${exec_prefix}/bin'
304 sbindir='${exec_prefix}/sbin'
305 libexecdir='${exec_prefix}/libexec'
306 datadir='${prefix}/share'
307 sysconfdir='${prefix}/etc'
308 sharedstatedir='${prefix}/com'
309 localstatedir='${prefix}/var'
310 libdir='${exec_prefix}/lib'
311 includedir='${prefix}/include'
312 oldincludedir='/usr/include'
313 infodir='${prefix}/info'
314 mandir='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build_alias ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build_alias=$ac_optarg ;;
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev=cache_file ;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file=$ac_optarg ;;
350 cache_file=config.cache ;;
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 datadir=$ac_optarg ;;
358 -disable-* | --disable-*)
359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* | --enable-*)
368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382 | --exec | --exe | --ex)
383 ac_prev=exec_prefix ;;
384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386 | --exec=* | --exe=* | --ex=*)
387 exec_prefix=$ac_optarg ;;
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
393 -help | --help | --hel | --he | -h)
395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396 ac_init_help=recursive ;;
397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398 ac_init_help=short ;;
400 -host | --host | --hos | --ho)
401 ac_prev=host_alias ;;
402 -host=* | --host=* | --hos=* | --ho=*)
403 host_alias=$ac_optarg ;;
405 -includedir | --includedir | --includedi | --included | --include \
406 | --includ | --inclu | --incl | --inc)
407 ac_prev=includedir ;;
408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409 | --includ=* | --inclu=* | --incl=* | --inc=*)
410 includedir=$ac_optarg ;;
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
417 -libdir | --libdir | --libdi | --libd)
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423 | --libexe | --libex | --libe)
424 ac_prev=libexecdir ;;
425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426 | --libexe=* | --libex=* | --libe=*)
427 libexecdir=$ac_optarg ;;
429 -localstatedir | --localstatedir | --localstatedi | --localstated \
430 | --localstate | --localstat | --localsta | --localst \
431 | --locals | --local | --loca | --loc | --lo)
432 ac_prev=localstatedir ;;
433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436 localstatedir=$ac_optarg ;;
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
444 # Obsolete; use --without-fp.
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457 | --oldin | --oldi | --old | --ol | --o)
458 ac_prev=oldincludedir ;;
459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462 oldincludedir=$ac_optarg ;;
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 -program-prefix | --program-prefix | --program-prefi | --program-pref \
470 | --program-pre | --program-pr | --program-p)
471 ac_prev=program_prefix ;;
472 -program-prefix=* | --program-prefix=* | --program-prefi=* \
473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474 program_prefix=$ac_optarg ;;
476 -program-suffix | --program-suffix | --program-suffi | --program-suff \
477 | --program-suf | --program-su | --program-s)
478 ac_prev=program_suffix ;;
479 -program-suffix=* | --program-suffix=* | --program-suffi=* \
480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481 program_suffix=$ac_optarg ;;
483 -program-transform-name | --program-transform-name \
484 | --program-transform-nam | --program-transform-na \
485 | --program-transform-n | --program-transform- \
486 | --program-transform | --program-transfor \
487 | --program-transfo | --program-transf \
488 | --program-trans | --program-tran \
489 | --progr-tra | --program-tr | --program-t)
490 ac_prev=program_transform_name ;;
491 -program-transform-name=* | --program-transform-name=* \
492 | --program-transform-nam=* | --program-transform-na=* \
493 | --program-transform-n=* | --program-transform-=* \
494 | --program-transform=* | --program-transfor=* \
495 | --program-transfo=* | --program-transf=* \
496 | --program-trans=* | --program-tran=* \
497 | --progr-tra=* | --program-tr=* | --program-t=*)
498 program_transform_name=$ac_optarg ;;
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 sbindir=$ac_optarg ;;
510 -sharedstatedir | --sharedstatedir | --sharedstatedi \
511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512 | --sharedst | --shareds | --shared | --share | --shar \
514 ac_prev=sharedstatedir ;;
515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 sharedstatedir=$ac_optarg ;;
521 -site | --site | --sit)
523 -site=* | --site=* | --sit=*)
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532 | --syscon | --sysco | --sysc | --sys | --sy)
533 ac_prev=sysconfdir ;;
534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536 sysconfdir=$ac_optarg ;;
538 -target | --target | --targe | --targ | --tar | --ta | --t)
539 ac_prev=target_alias ;;
540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541 target_alias=$ac_optarg ;;
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 -version | --version | --versio | --versi | --vers | -V)
550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* | --without-*)
563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576 | --x-incl | --x-inc | --x-in | --x-i)
577 ac_prev=x_includes ;;
578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580 x_includes=$ac_optarg ;;
582 -x-libraries | --x-libraries | --x-librarie | --x-librari \
583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584 ac_prev=x_libraries ;;
585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587 x_libraries=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
624 eval ac_val=$`echo $ac_var`
626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val=$`echo $ac_var`
638 [\\/$]* | ?:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x; then
653 if test "x$build_alias" = x; then
654 cross_compiling=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665 test "$silent" = yes && exec 6>/dev/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set=${build_alias+set}
705 ac_env_build_alias_value=$build_alias
706 ac_cv_env_build_alias_set=${build_alias+set}
707 ac_cv_env_build_alias_value=$build_alias
708 ac_env_host_alias_set=${host_alias+set}
709 ac_env_host_alias_value=$host_alias
710 ac_cv_env_host_alias_set=${host_alias+set}
711 ac_cv_env_host_alias_value=$host_alias
712 ac_env_target_alias_set=${target_alias+set}
713 ac_env_target_alias_value=$target_alias
714 ac_cv_env_target_alias_set=${target_alias+set}
715 ac_cv_env_target_alias_value=$target_alias
716 ac_env_CC_set=${CC+set}
718 ac_cv_env_CC_set=${CC+set}
719 ac_cv_env_CC_value=$CC
720 ac_env_CFLAGS_set=${CFLAGS+set}
721 ac_env_CFLAGS_value=$CFLAGS
722 ac_cv_env_CFLAGS_set=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value=$CFLAGS
724 ac_env_LDFLAGS_set=${LDFLAGS+set}
725 ac_env_LDFLAGS_value=$LDFLAGS
726 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value=$LDFLAGS
728 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
734 # Report the --help message.
736 if test "$ac_init_help" = "long"; then
737 # Omit some internal or obsolete options to make the list less imposing.
738 # This message is too long to be a string in the A/UX 3.1 sh.
740 \`configure' configures this package to adapt to many kinds of systems.
742 Usage: $0 [OPTION]... [VAR=VALUE]...
744 To assign environment variables (e.g., CC, CFLAGS...), specify them as
745 VAR=VALUE. See below for descriptions of some of the useful variables.
747 Defaults for the options are specified in brackets.
750 -h, --help display this help and exit
751 --help=short display options specific to this package
752 --help=recursive display the short help of all the included packages
753 -V, --version display version information and exit
754 -q, --quiet, --silent do not print \`checking...' messages
755 --cache-file=FILE cache test results in FILE [disabled]
756 -C, --config-cache alias for \`--cache-file=config.cache'
757 -n, --no-create do not create output files
758 --srcdir=DIR find the sources in DIR [configure dir or \`..']
763 Installation directories:
764 --prefix=PREFIX install architecture-independent files in PREFIX
766 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
769 By default, \`make install' will install all the files in
770 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
771 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772 for instance \`--prefix=\$HOME'.
774 For better control, use the options below.
776 Fine tuning of the installation directories:
777 --bindir=DIR user executables [EPREFIX/bin]
778 --sbindir=DIR system admin executables [EPREFIX/sbin]
779 --libexecdir=DIR program executables [EPREFIX/libexec]
780 --datadir=DIR read-only architecture-independent data [PREFIX/share]
781 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
782 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
783 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
784 --libdir=DIR object code libraries [EPREFIX/lib]
785 --includedir=DIR C header files [PREFIX/include]
786 --oldincludedir=DIR C header files for non-gcc [/usr/include]
787 --infodir=DIR info documentation [PREFIX/info]
788 --mandir=DIR man documentation [PREFIX/man]
794 --program-prefix=PREFIX prepend PREFIX to installed program names
795 --program-suffix=SUFFIX append SUFFIX to installed program names
796 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
800 if test -n "$ac_init_help"; then
805 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
806 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
807 --enable-gtk build as31 with graphical user interface (alpha)
808 --disable-gtktest Do not try to compile and run a test GTK program
811 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
812 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
813 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
814 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
816 Some influential environment variables:
817 CC C compiler command
818 CFLAGS C compiler flags
819 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
820 nonstandard directory <lib dir>
821 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
822 headers in a nonstandard directory <include dir>
824 Use these variables to override the choices made by `configure' or to help
825 it to find libraries and programs with nonstandard names/locations.
830 if test "$ac_init_help" = "recursive"; then
831 # If there are subdirs, report their specific --help.
833 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
834 test -d $ac_dir || continue
837 if test "$ac_dir" != .; then
838 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
839 # A "../" for each directory in $ac_dir_suffix.
840 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
842 ac_dir_suffix= ac_top_builddir=
846 .) # No --srcdir option. We are building in place.
848 if test -z "$ac_top_builddir"; then
851 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
853 [\\/]* | ?:[\\/]* ) # Absolute path.
854 ac_srcdir=$srcdir$ac_dir_suffix;
855 ac_top_srcdir=$srcdir ;;
857 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
858 ac_top_srcdir=$ac_top_builddir$srcdir ;;
861 # Do not use `cd foo && pwd` to compute absolute paths, because
862 # the directories may not exist.
864 .) ac_abs_builddir="$ac_dir";;
867 .) ac_abs_builddir=`pwd`;;
868 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
869 *) ac_abs_builddir=`pwd`/"$ac_dir";;
872 case $ac_abs_builddir in
873 .) ac_abs_top_builddir=${ac_top_builddir}.;;
875 case ${ac_top_builddir}. in
876 .) ac_abs_top_builddir=$ac_abs_builddir;;
877 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
878 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
881 case $ac_abs_builddir in
882 .) ac_abs_srcdir=$ac_srcdir;;
885 .) ac_abs_srcdir=$ac_abs_builddir;;
886 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
887 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
890 case $ac_abs_builddir in
891 .) ac_abs_top_srcdir=$ac_top_srcdir;;
893 case $ac_top_srcdir in
894 .) ac_abs_top_srcdir=$ac_abs_builddir;;
895 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
896 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
901 # Check for guested configure; otherwise get Cygnus style configure.
902 if test -f $ac_srcdir/configure.gnu; then
904 $SHELL $ac_srcdir/configure.gnu --help=recursive
905 elif test -f $ac_srcdir/configure; then
907 $SHELL $ac_srcdir/configure --help=recursive
908 elif test -f $ac_srcdir/configure.ac ||
909 test -f $ac_srcdir/configure.in; then
913 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
919 test -n "$ac_init_help" && exit 0
920 if $ac_init_version; then
923 Copyright (C) 2003 Free Software Foundation, Inc.
924 This configure script is free software; the Free Software Foundation
925 gives unlimited permission to copy, distribute and modify it.
931 This file contains any messages produced by compilers while
932 running configure, to aid debugging if configure makes a mistake.
934 It was created by $as_me, which was
935 generated by GNU Autoconf 2.59. Invocation command line was
946 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
947 uname -m = `(uname -m) 2>/dev/null || echo unknown`
948 uname -r = `(uname -r) 2>/dev/null || echo unknown`
949 uname -s = `(uname -s) 2>/dev/null || echo unknown`
950 uname -v = `(uname -v) 2>/dev/null || echo unknown`
952 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
953 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
955 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
956 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
957 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
958 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
959 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
960 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
961 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
969 test -z "$as_dir" && as_dir=.
985 # Keep a trace of the command line.
986 # Strip out --no-create and --no-recursion so they do not pile up.
987 # Strip out --silent because we don't want to record it for future runs.
988 # Also quote any args containing shell meta-characters.
989 # Make two passes to allow for proper duplicate-argument suppression.
994 ac_must_keep_next=false
1000 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1001 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1002 | -silent | --silent | --silen | --sile | --sil)
1004 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1005 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1008 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1010 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1011 if test $ac_must_keep_next = true; then
1012 ac_must_keep_next=false # Got value, back to normal.
1015 *=* | --config-cache | -C | -disable-* | --disable-* \
1016 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1017 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1018 | -with-* | --with-* | -without-* | --without-* | --x)
1019 case "$ac_configure_args0 " in
1020 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1023 -* ) ac_must_keep_next=true ;;
1026 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1027 # Get rid of the leading space.
1033 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1034 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1036 # When interrupted or exit'd, cleanup temporary files, and complete
1037 # config.log. We remove comments because anyway the quotes in there
1038 # would cause problems or look ugly.
1039 # WARNING: Be sure not to use single quotes in there, as some shells,
1040 # such as our DU 5.0 friend, will then `close' the trap.
1041 trap 'exit_status=$?
1042 # Save into config.log some information that might help in debugging.
1047 ## ---------------- ##
1048 ## Cache variables. ##
1049 ## ---------------- ##
1052 # The following way of writing the cache mishandles newlines in values,
1055 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1058 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1059 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1063 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1070 ## ----------------- ##
1071 ## Output variables. ##
1072 ## ----------------- ##
1075 for ac_var in $ac_subst_vars
1077 eval ac_val=$`echo $ac_var`
1078 echo "$ac_var='"'"'$ac_val'"'"'"
1082 if test -n "$ac_subst_files"; then
1089 for ac_var in $ac_subst_files
1091 eval ac_val=$`echo $ac_var`
1092 echo "$ac_var='"'"'$ac_val'"'"'"
1097 if test -s confdefs.h; then
1104 sed "/^$/d" confdefs.h | sort
1107 test "$ac_signal" != 0 &&
1108 echo "$as_me: caught signal $ac_signal"
1109 echo "$as_me: exit $exit_status"
1111 rm -f core *.core &&
1112 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1115 for ac_signal in 1 2 13 15; do
1116 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1120 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1121 rm -rf conftest* confdefs.h
1122 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1125 # Predefined preprocessor variables.
1127 cat >>confdefs.h <<_ACEOF
1128 #define PACKAGE_NAME "$PACKAGE_NAME"
1132 cat >>confdefs.h <<_ACEOF
1133 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1137 cat >>confdefs.h <<_ACEOF
1138 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1142 cat >>confdefs.h <<_ACEOF
1143 #define PACKAGE_STRING "$PACKAGE_STRING"
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1152 # Let the site file select an alternate cache file if it wants to.
1153 # Prefer explicitly selected file to automatically selected ones.
1154 if test -z "$CONFIG_SITE"; then
1155 if test "x$prefix" != xNONE; then
1156 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1158 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1161 for ac_site_file in $CONFIG_SITE; do
1162 if test -r "$ac_site_file"; then
1163 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1164 echo "$as_me: loading site script $ac_site_file" >&6;}
1165 sed 's/^/| /' "$ac_site_file" >&5
1170 if test -r "$cache_file"; then
1171 # Some versions of bash will fail to source /dev/null (special
1172 # files actually), so we avoid doing that.
1173 if test -f "$cache_file"; then
1174 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1175 echo "$as_me: loading cache $cache_file" >&6;}
1177 [\\/]* | ?:[\\/]* ) . $cache_file;;
1178 *) . ./$cache_file;;
1182 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1183 echo "$as_me: creating cache $cache_file" >&6;}
1187 # Check that the precious variables saved in the cache have kept the same
1189 ac_cache_corrupted=false
1190 for ac_var in `(set) 2>&1 |
1191 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1192 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1193 eval ac_new_set=\$ac_env_${ac_var}_set
1194 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1195 eval ac_new_val="\$ac_env_${ac_var}_value"
1196 case $ac_old_set,$ac_new_set in
1198 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1199 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1200 ac_cache_corrupted=: ;;
1202 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1203 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1204 ac_cache_corrupted=: ;;
1207 if test "x$ac_old_val" != "x$ac_new_val"; then
1208 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1209 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1210 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1211 echo "$as_me: former value: $ac_old_val" >&2;}
1212 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1213 echo "$as_me: current value: $ac_new_val" >&2;}
1214 ac_cache_corrupted=:
1217 # Pass precious variables to config.status.
1218 if test "$ac_new_set" = set; then
1220 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1222 *) ac_arg=$ac_var=$ac_new_val ;;
1224 case " $ac_configure_args " in
1225 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1226 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1230 if $ac_cache_corrupted; then
1231 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1232 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1233 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1234 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1235 { (exit 1); exit 1; }; }
1239 ac_cpp='$CPP $CPPFLAGS'
1240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1262 am__api_version="1.4"
1264 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1265 if test -f $ac_dir/install-sh; then
1267 ac_install_sh="$ac_aux_dir/install-sh -c"
1269 elif test -f $ac_dir/install.sh; then
1271 ac_install_sh="$ac_aux_dir/install.sh -c"
1273 elif test -f $ac_dir/shtool; then
1275 ac_install_sh="$ac_aux_dir/shtool install -c"
1279 if test -z "$ac_aux_dir"; then
1280 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1281 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1282 { (exit 1); exit 1; }; }
1284 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1285 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1286 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1288 # Find a good install program. We prefer a C program (faster),
1289 # so one script is as good as another. But avoid the broken or
1290 # incompatible versions:
1291 # SysV /etc/install, /usr/sbin/install
1292 # SunOS /usr/etc/install
1293 # IRIX /sbin/install
1295 # AmigaOS /C/install, which installs bootblocks on floppy discs
1296 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1297 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1298 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1299 # OS/2's system install, which has a completely different semantic
1300 # ./install, which can be erroneously created by make from ./install.sh.
1301 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1302 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1303 if test -z "$INSTALL"; then
1304 if test "${ac_cv_path_install+set}" = set; then
1305 echo $ECHO_N "(cached) $ECHO_C" >&6
1307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1311 test -z "$as_dir" && as_dir=.
1312 # Account for people who put trailing slashes in PATH elements.
1314 ./ | .// | /cC/* | \
1315 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1316 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1319 # OSF1 and SCO ODT 3.0 have their own names for install.
1320 # Don't use installbsd from OSF since it installs stuff as root
1322 for ac_prog in ginstall scoinst install; do
1323 for ac_exec_ext in '' $ac_executable_extensions; do
1324 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1325 if test $ac_prog = install &&
1326 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1327 # AIX install. It has an incompatible calling convention.
1329 elif test $ac_prog = install &&
1330 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1331 # program-specific install script used by HP pwplus--don't use.
1334 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1346 if test "${ac_cv_path_install+set}" = set; then
1347 INSTALL=$ac_cv_path_install
1349 # As a last resort, use the slow shell script. We don't cache a
1350 # path for INSTALL within a source directory, because that will
1351 # break other packages using the cache if that directory is
1352 # removed, or if the path is relative.
1353 INSTALL=$ac_install_sh
1356 echo "$as_me:$LINENO: result: $INSTALL" >&5
1357 echo "${ECHO_T}$INSTALL" >&6
1359 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1360 # It thinks the first close brace ends the variable substitution.
1361 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1363 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1365 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1367 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1368 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1371 echo timestamp > conftestfile
1372 # Do `set' in a subshell so we don't clobber the current shell's
1373 # arguments. Must try -L first in case configure is actually a
1374 # symlink; some systems play weird games with the mod time of symlinks
1375 # (eg FreeBSD returns the mod time of the symlink's containing
1378 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1379 if test "$*" = "X"; then
1381 set X `ls -t $srcdir/configure conftestfile`
1383 if test "$*" != "X $srcdir/configure conftestfile" \
1384 && test "$*" != "X conftestfile $srcdir/configure"; then
1386 # If neither matched, then we have a broken ls. This can happen
1387 # if, for instance, CONFIG_SHELL is bash and it inherits a
1388 # broken ls alias from the environment. This has actually
1389 # happened. Such a system could not be considered "sane".
1390 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1391 alias in your environment" >&5
1392 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1393 alias in your environment" >&2;}
1394 { (exit 1); exit 1; }; }
1397 test "$2" = conftestfile
1403 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1404 Check your system clock" >&5
1405 echo "$as_me: error: newly created file is older than distributed files!
1406 Check your system clock" >&2;}
1407 { (exit 1); exit 1; }; }
1410 echo "$as_me:$LINENO: result: yes" >&5
1411 echo "${ECHO_T}yes" >&6
1412 test "$program_prefix" != NONE &&
1413 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1414 # Use a double $ so make ignores it.
1415 test "$program_suffix" != NONE &&
1416 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1417 # Double any \ or $. echo might interpret backslashes.
1418 # By default was `s,x,x', remove it if useless.
1419 cat <<\_ACEOF >conftest.sed
1420 s/[\\$]/&&/g;s/;s,x,x,$//
1422 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1425 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1426 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1427 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1428 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1429 echo $ECHO_N "(cached) $ECHO_C" >&6
1431 cat >conftest.make <<\_ACEOF
1433 @echo 'ac_maketemp="$(MAKE)"'
1435 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1436 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1437 if test -n "$ac_maketemp"; then
1438 eval ac_cv_prog_make_${ac_make}_set=yes
1440 eval ac_cv_prog_make_${ac_make}_set=no
1444 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1445 echo "$as_me:$LINENO: result: yes" >&5
1446 echo "${ECHO_T}yes" >&6
1449 echo "$as_me:$LINENO: result: no" >&5
1450 echo "${ECHO_T}no" >&6
1451 SET_MAKE="MAKE=${MAKE-make}"
1459 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1460 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1461 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1462 { (exit 1); exit 1; }; }
1465 cat >>confdefs.h <<_ACEOF
1466 #define PACKAGE "$PACKAGE"
1470 cat >>confdefs.h <<_ACEOF
1471 #define VERSION "$VERSION"
1476 missing_dir=`cd $ac_aux_dir && pwd`
1477 echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1478 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1479 # Run test in a subshell; some versions of sh will print an error if
1480 # an executable is not found, even if stderr is redirected.
1481 # Redirect stdin to placate older versions of autoconf. Sigh.
1482 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1483 ACLOCAL=aclocal-${am__api_version}
1484 echo "$as_me:$LINENO: result: found" >&5
1485 echo "${ECHO_T}found" >&6
1487 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1488 echo "$as_me:$LINENO: result: missing" >&5
1489 echo "${ECHO_T}missing" >&6
1492 echo "$as_me:$LINENO: checking for working autoconf" >&5
1493 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1494 # Run test in a subshell; some versions of sh will print an error if
1495 # an executable is not found, even if stderr is redirected.
1496 # Redirect stdin to placate older versions of autoconf. Sigh.
1497 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1499 echo "$as_me:$LINENO: result: found" >&5
1500 echo "${ECHO_T}found" >&6
1502 AUTOCONF="$missing_dir/missing autoconf"
1503 echo "$as_me:$LINENO: result: missing" >&5
1504 echo "${ECHO_T}missing" >&6
1507 echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1508 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1509 # Run test in a subshell; some versions of sh will print an error if
1510 # an executable is not found, even if stderr is redirected.
1511 # Redirect stdin to placate older versions of autoconf. Sigh.
1512 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1513 AUTOMAKE=automake-${am__api_version}
1514 echo "$as_me:$LINENO: result: found" >&5
1515 echo "${ECHO_T}found" >&6
1517 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1518 echo "$as_me:$LINENO: result: missing" >&5
1519 echo "${ECHO_T}missing" >&6
1522 echo "$as_me:$LINENO: checking for working autoheader" >&5
1523 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1524 # Run test in a subshell; some versions of sh will print an error if
1525 # an executable is not found, even if stderr is redirected.
1526 # Redirect stdin to placate older versions of autoconf. Sigh.
1527 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1528 AUTOHEADER=autoheader
1529 echo "$as_me:$LINENO: result: found" >&5
1530 echo "${ECHO_T}found" >&6
1532 AUTOHEADER="$missing_dir/missing autoheader"
1533 echo "$as_me:$LINENO: result: missing" >&5
1534 echo "${ECHO_T}missing" >&6
1537 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1538 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1539 # Run test in a subshell; some versions of sh will print an error if
1540 # an executable is not found, even if stderr is redirected.
1541 # Redirect stdin to placate older versions of autoconf. Sigh.
1542 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1544 echo "$as_me:$LINENO: result: found" >&5
1545 echo "${ECHO_T}found" >&6
1547 MAKEINFO="$missing_dir/missing makeinfo"
1548 echo "$as_me:$LINENO: result: missing" >&5
1549 echo "${ECHO_T}missing" >&6
1556 ac_cpp='$CPP $CPPFLAGS'
1557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1560 if test -n "$ac_tool_prefix"; then
1561 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1562 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1563 echo "$as_me:$LINENO: checking for $ac_word" >&5
1564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1565 if test "${ac_cv_prog_CC+set}" = set; then
1566 echo $ECHO_N "(cached) $ECHO_C" >&6
1568 if test -n "$CC"; then
1569 ac_cv_prog_CC="$CC" # Let the user override the test.
1571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1575 test -z "$as_dir" && as_dir=.
1576 for ac_exec_ext in '' $ac_executable_extensions; do
1577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1578 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1588 if test -n "$CC"; then
1589 echo "$as_me:$LINENO: result: $CC" >&5
1590 echo "${ECHO_T}$CC" >&6
1592 echo "$as_me:$LINENO: result: no" >&5
1593 echo "${ECHO_T}no" >&6
1597 if test -z "$ac_cv_prog_CC"; then
1599 # Extract the first word of "gcc", so it can be a program name with args.
1600 set dummy gcc; ac_word=$2
1601 echo "$as_me:$LINENO: checking for $ac_word" >&5
1602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1603 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 if test -n "$ac_ct_CC"; then
1607 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1613 test -z "$as_dir" && as_dir=.
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1616 ac_cv_prog_ac_ct_CC="gcc"
1617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1626 if test -n "$ac_ct_CC"; then
1627 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1628 echo "${ECHO_T}$ac_ct_CC" >&6
1630 echo "$as_me:$LINENO: result: no" >&5
1631 echo "${ECHO_T}no" >&6
1639 if test -z "$CC"; then
1640 if test -n "$ac_tool_prefix"; then
1641 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1642 set dummy ${ac_tool_prefix}cc; ac_word=$2
1643 echo "$as_me:$LINENO: checking for $ac_word" >&5
1644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1645 if test "${ac_cv_prog_CC+set}" = set; then
1646 echo $ECHO_N "(cached) $ECHO_C" >&6
1648 if test -n "$CC"; then
1649 ac_cv_prog_CC="$CC" # Let the user override the test.
1651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1655 test -z "$as_dir" && as_dir=.
1656 for ac_exec_ext in '' $ac_executable_extensions; do
1657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1658 ac_cv_prog_CC="${ac_tool_prefix}cc"
1659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1668 if test -n "$CC"; then
1669 echo "$as_me:$LINENO: result: $CC" >&5
1670 echo "${ECHO_T}$CC" >&6
1672 echo "$as_me:$LINENO: result: no" >&5
1673 echo "${ECHO_T}no" >&6
1677 if test -z "$ac_cv_prog_CC"; then
1679 # Extract the first word of "cc", so it can be a program name with args.
1680 set dummy cc; ac_word=$2
1681 echo "$as_me:$LINENO: checking for $ac_word" >&5
1682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1683 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1684 echo $ECHO_N "(cached) $ECHO_C" >&6
1686 if test -n "$ac_ct_CC"; then
1687 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1693 test -z "$as_dir" && as_dir=.
1694 for ac_exec_ext in '' $ac_executable_extensions; do
1695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1696 ac_cv_prog_ac_ct_CC="cc"
1697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1706 if test -n "$ac_ct_CC"; then
1707 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1708 echo "${ECHO_T}$ac_ct_CC" >&6
1710 echo "$as_me:$LINENO: result: no" >&5
1711 echo "${ECHO_T}no" >&6
1720 if test -z "$CC"; then
1721 # Extract the first word of "cc", so it can be a program name with args.
1722 set dummy cc; ac_word=$2
1723 echo "$as_me:$LINENO: checking for $ac_word" >&5
1724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1725 if test "${ac_cv_prog_CC+set}" = set; then
1726 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 if test -n "$CC"; then
1729 ac_cv_prog_CC="$CC" # Let the user override the test.
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1736 test -z "$as_dir" && as_dir=.
1737 for ac_exec_ext in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1740 ac_prog_rejected=yes
1744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1750 if test $ac_prog_rejected = yes; then
1751 # We found a bogon in the path, so make sure we never use it.
1752 set dummy $ac_cv_prog_CC
1754 if test $# != 0; then
1755 # We chose a different compiler from the bogus one.
1756 # However, it has the same basename, so the bogon will be chosen
1757 # first if we set CC to just the basename; use the full file name.
1759 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1765 if test -n "$CC"; then
1766 echo "$as_me:$LINENO: result: $CC" >&5
1767 echo "${ECHO_T}$CC" >&6
1769 echo "$as_me:$LINENO: result: no" >&5
1770 echo "${ECHO_T}no" >&6
1774 if test -z "$CC"; then
1775 if test -n "$ac_tool_prefix"; then
1778 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1779 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1780 echo "$as_me:$LINENO: checking for $ac_word" >&5
1781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1782 if test "${ac_cv_prog_CC+set}" = set; then
1783 echo $ECHO_N "(cached) $ECHO_C" >&6
1785 if test -n "$CC"; then
1786 ac_cv_prog_CC="$CC" # Let the user override the test.
1788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1792 test -z "$as_dir" && as_dir=.
1793 for ac_exec_ext in '' $ac_executable_extensions; do
1794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1795 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1805 if test -n "$CC"; then
1806 echo "$as_me:$LINENO: result: $CC" >&5
1807 echo "${ECHO_T}$CC" >&6
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1813 test -n "$CC" && break
1816 if test -z "$CC"; then
1820 # Extract the first word of "$ac_prog", so it can be a program name with args.
1821 set dummy $ac_prog; ac_word=$2
1822 echo "$as_me:$LINENO: checking for $ac_word" >&5
1823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1824 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1825 echo $ECHO_N "(cached) $ECHO_C" >&6
1827 if test -n "$ac_ct_CC"; then
1828 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834 test -z "$as_dir" && as_dir=.
1835 for ac_exec_ext in '' $ac_executable_extensions; do
1836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1837 ac_cv_prog_ac_ct_CC="$ac_prog"
1838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1846 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1847 if test -n "$ac_ct_CC"; then
1848 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1849 echo "${ECHO_T}$ac_ct_CC" >&6
1851 echo "$as_me:$LINENO: result: no" >&5
1852 echo "${ECHO_T}no" >&6
1855 test -n "$ac_ct_CC" && break
1864 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1865 See \`config.log' for more details." >&5
1866 echo "$as_me: error: no acceptable C compiler found in \$PATH
1867 See \`config.log' for more details." >&2;}
1868 { (exit 1); exit 1; }; }
1870 # Provide some information about the compiler.
1871 echo "$as_me:$LINENO:" \
1872 "checking for C compiler version" >&5
1873 ac_compiler=`set X $ac_compile; echo $2`
1874 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1875 (eval $ac_compiler --version </dev/null >&5) 2>&5
1877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1878 (exit $ac_status); }
1879 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1880 (eval $ac_compiler -v </dev/null >&5) 2>&5
1882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883 (exit $ac_status); }
1884 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1885 (eval $ac_compiler -V </dev/null >&5) 2>&5
1887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1888 (exit $ac_status); }
1890 cat >conftest.$ac_ext <<_ACEOF
1893 cat confdefs.h >>conftest.$ac_ext
1894 cat >>conftest.$ac_ext <<_ACEOF
1895 /* end confdefs.h. */
1905 ac_clean_files_save=$ac_clean_files
1906 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1907 # Try to create an executable without -o first, disregard a.out.
1908 # It will help us diagnose broken compilers, and finding out an intuition
1910 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1911 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1912 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1913 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1914 (eval $ac_link_default) 2>&5
1916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1917 (exit $ac_status); }; then
1918 # Find the output, starting from the most likely. This scheme is
1919 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1922 # Be careful to initialize this variable, since it used to be cached.
1923 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1925 # b.out is created by i960 compilers.
1926 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1928 test -f "$ac_file" || continue
1930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1933 # This is the source file.
1936 # We found the default executable, but exeext='' is most
1940 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1941 # FIXME: I believe we export ac_cv_exeext for Libtool,
1942 # but it would be cool to find out if it's true. Does anybody
1943 # maintain Libtool? --akim.
1951 echo "$as_me: failed program was:" >&5
1952 sed 's/^/| /' conftest.$ac_ext >&5
1954 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1955 See \`config.log' for more details." >&5
1956 echo "$as_me: error: C compiler cannot create executables
1957 See \`config.log' for more details." >&2;}
1958 { (exit 77); exit 77; }; }
1961 ac_exeext=$ac_cv_exeext
1962 echo "$as_me:$LINENO: result: $ac_file" >&5
1963 echo "${ECHO_T}$ac_file" >&6
1965 # Check the compiler produces executables we can run. If not, either
1966 # the compiler is broken, or we cross compile.
1967 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1968 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1969 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1970 # If not cross compiling, check that we can run a simple program.
1971 if test "$cross_compiling" != yes; then
1972 if { ac_try='./$ac_file'
1973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1977 (exit $ac_status); }; }; then
1980 if test "$cross_compiling" = maybe; then
1983 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1984 If you meant to cross compile, use \`--host'.
1985 See \`config.log' for more details." >&5
1986 echo "$as_me: error: cannot run C compiled programs.
1987 If you meant to cross compile, use \`--host'.
1988 See \`config.log' for more details." >&2;}
1989 { (exit 1); exit 1; }; }
1993 echo "$as_me:$LINENO: result: yes" >&5
1994 echo "${ECHO_T}yes" >&6
1996 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1997 ac_clean_files=$ac_clean_files_save
1998 # Check the compiler produces executables we can run. If not, either
1999 # the compiler is broken, or we cross compile.
2000 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2001 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2002 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2003 echo "${ECHO_T}$cross_compiling" >&6
2005 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2006 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2008 (eval $ac_link) 2>&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }; then
2012 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2013 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2014 # work properly (i.e., refer to `conftest.exe'), while it won't with
2016 for ac_file in conftest.exe conftest conftest.*; do
2017 test -f "$ac_file" || continue
2019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2020 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2027 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2028 See \`config.log' for more details." >&5
2029 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2030 See \`config.log' for more details." >&2;}
2031 { (exit 1); exit 1; }; }
2034 rm -f conftest$ac_cv_exeext
2035 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2036 echo "${ECHO_T}$ac_cv_exeext" >&6
2038 rm -f conftest.$ac_ext
2039 EXEEXT=$ac_cv_exeext
2041 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2042 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2043 if test "${ac_cv_objext+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2046 cat >conftest.$ac_ext <<_ACEOF
2049 cat confdefs.h >>conftest.$ac_ext
2050 cat >>conftest.$ac_ext <<_ACEOF
2051 /* end confdefs.h. */
2061 rm -f conftest.o conftest.obj
2062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2063 (eval $ac_compile) 2>&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; then
2067 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2070 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2075 echo "$as_me: failed program was:" >&5
2076 sed 's/^/| /' conftest.$ac_ext >&5
2078 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2079 See \`config.log' for more details." >&5
2080 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2081 See \`config.log' for more details." >&2;}
2082 { (exit 1); exit 1; }; }
2085 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2087 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2088 echo "${ECHO_T}$ac_cv_objext" >&6
2089 OBJEXT=$ac_cv_objext
2091 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2092 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2093 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 cat >conftest.$ac_ext <<_ACEOF
2099 cat confdefs.h >>conftest.$ac_ext
2100 cat >>conftest.$ac_ext <<_ACEOF
2101 /* end confdefs.h. */
2114 rm -f conftest.$ac_objext
2115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2116 (eval $ac_compile) 2>conftest.er1
2118 grep -v '^ *+' conftest.er1 >conftest.err
2120 cat conftest.err >&5
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122 (exit $ac_status); } &&
2123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); }; } &&
2129 { ac_try='test -s conftest.$ac_objext'
2130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134 (exit $ac_status); }; }; then
2137 echo "$as_me: failed program was:" >&5
2138 sed 's/^/| /' conftest.$ac_ext >&5
2142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2143 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2146 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2147 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2148 GCC=`test $ac_compiler_gnu = yes && echo yes`
2149 ac_test_CFLAGS=${CFLAGS+set}
2150 ac_save_CFLAGS=$CFLAGS
2152 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2153 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2154 if test "${ac_cv_prog_cc_g+set}" = set; then
2155 echo $ECHO_N "(cached) $ECHO_C" >&6
2157 cat >conftest.$ac_ext <<_ACEOF
2160 cat confdefs.h >>conftest.$ac_ext
2161 cat >>conftest.$ac_ext <<_ACEOF
2162 /* end confdefs.h. */
2172 rm -f conftest.$ac_objext
2173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2174 (eval $ac_compile) 2>conftest.er1
2176 grep -v '^ *+' conftest.er1 >conftest.err
2178 cat conftest.err >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); } &&
2181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; } &&
2187 { ac_try='test -s conftest.$ac_objext'
2188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2192 (exit $ac_status); }; }; then
2195 echo "$as_me: failed program was:" >&5
2196 sed 's/^/| /' conftest.$ac_ext >&5
2200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2202 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2203 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2204 if test "$ac_test_CFLAGS" = set; then
2205 CFLAGS=$ac_save_CFLAGS
2206 elif test $ac_cv_prog_cc_g = yes; then
2207 if test "$GCC" = yes; then
2213 if test "$GCC" = yes; then
2219 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2220 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2221 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2222 echo $ECHO_N "(cached) $ECHO_C" >&6
2224 ac_cv_prog_cc_stdc=no
2226 cat >conftest.$ac_ext <<_ACEOF
2229 cat confdefs.h >>conftest.$ac_ext
2230 cat >>conftest.$ac_ext <<_ACEOF
2231 /* end confdefs.h. */
2234 #include <sys/types.h>
2235 #include <sys/stat.h>
2236 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2237 struct buf { int x; };
2238 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2239 static char *e (p, i)
2245 static char *f (char * (*g) (char **, int), char **p, ...)
2250 s = g (p, va_arg (v,int));
2255 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2256 function prototypes and stuff, but not '\xHH' hex character constants.
2257 These don't provoke an error unfortunately, instead are silently treated
2258 as 'x'. The following induces an error, until -std1 is added to get
2259 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2260 array size at least. It's necessary to write '\x00'==0 to get something
2261 that's true only with -std1. */
2262 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2264 int test (int i, double x);
2265 struct s1 {int (*f) (int a);};
2266 struct s2 {int (*f) (double a);};
2267 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2273 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2278 # Don't try gcc -ansi; that turns off useful extensions and
2279 # breaks some systems' header files.
2280 # AIX -qlanglvl=ansi
2281 # Ultrix and OSF/1 -std1
2282 # HP-UX 10.20 and later -Ae
2283 # HP-UX older versions -Aa -D_HPUX_SOURCE
2284 # SVR4 -Xc -D__EXTENSIONS__
2285 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2287 CC="$ac_save_CC $ac_arg"
2288 rm -f conftest.$ac_objext
2289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2290 (eval $ac_compile) 2>conftest.er1
2292 grep -v '^ *+' conftest.er1 >conftest.err
2294 cat conftest.err >&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); } &&
2297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); }; } &&
2303 { ac_try='test -s conftest.$ac_objext'
2304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); }; }; then
2309 ac_cv_prog_cc_stdc=$ac_arg
2312 echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.$ac_ext >&5
2316 rm -f conftest.err conftest.$ac_objext
2318 rm -f conftest.$ac_ext conftest.$ac_objext
2323 case "x$ac_cv_prog_cc_stdc" in
2325 echo "$as_me:$LINENO: result: none needed" >&5
2326 echo "${ECHO_T}none needed" >&6 ;;
2328 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2329 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2330 CC="$CC $ac_cv_prog_cc_stdc" ;;
2333 # Some people use a C++ compiler to compile C. Since we use `exit',
2334 # in C++ we need to declare it. In case someone uses the same compiler
2335 # for both compiling C and C++ we need to have the C++ compiler decide
2336 # the declaration of exit, since it's the most demanding environment.
2337 cat >conftest.$ac_ext <<_ACEOF
2342 rm -f conftest.$ac_objext
2343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344 (eval $ac_compile) 2>conftest.er1
2346 grep -v '^ *+' conftest.er1 >conftest.err
2348 cat conftest.err >&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } &&
2351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; } &&
2357 { ac_try='test -s conftest.$ac_objext'
2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; }; then
2363 for ac_declaration in \
2365 'extern "C" void std::exit (int) throw (); using std::exit;' \
2366 'extern "C" void std::exit (int); using std::exit;' \
2367 'extern "C" void exit (int) throw ();' \
2368 'extern "C" void exit (int);' \
2371 cat >conftest.$ac_ext <<_ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2387 rm -f conftest.$ac_objext
2388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2389 (eval $ac_compile) 2>conftest.er1
2391 grep -v '^ *+' conftest.er1 >conftest.err
2393 cat conftest.err >&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); } &&
2396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }; } &&
2402 { ac_try='test -s conftest.$ac_objext'
2403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); }; }; then
2410 echo "$as_me: failed program was:" >&5
2411 sed 's/^/| /' conftest.$ac_ext >&5
2415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2416 cat >conftest.$ac_ext <<_ACEOF
2419 cat confdefs.h >>conftest.$ac_ext
2420 cat >>conftest.$ac_ext <<_ACEOF
2421 /* end confdefs.h. */
2431 rm -f conftest.$ac_objext
2432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2433 (eval $ac_compile) 2>conftest.er1
2435 grep -v '^ *+' conftest.er1 >conftest.err
2437 cat conftest.err >&5
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); } &&
2440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445 (exit $ac_status); }; } &&
2446 { ac_try='test -s conftest.$ac_objext'
2447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); }; }; then
2454 echo "$as_me: failed program was:" >&5
2455 sed 's/^/| /' conftest.$ac_ext >&5
2458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2461 if test -n "$ac_declaration"; then
2462 echo '#ifdef __cplusplus' >>confdefs.h
2463 echo $ac_declaration >>confdefs.h
2464 echo '#endif' >>confdefs.h
2468 echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.$ac_ext >&5
2472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2474 ac_cpp='$CPP $CPPFLAGS'
2475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2479 for ac_prog in 'bison -y' byacc
2481 # Extract the first word of "$ac_prog", so it can be a program name with args.
2482 set dummy $ac_prog; ac_word=$2
2483 echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2485 if test "${ac_cv_prog_YACC+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 if test -n "$YACC"; then
2489 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2495 test -z "$as_dir" && as_dir=.
2496 for ac_exec_ext in '' $ac_executable_extensions; do
2497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2498 ac_cv_prog_YACC="$ac_prog"
2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 YACC=$ac_cv_prog_YACC
2508 if test -n "$YACC"; then
2509 echo "$as_me:$LINENO: result: $YACC" >&5
2510 echo "${ECHO_T}$YACC" >&6
2512 echo "$as_me:$LINENO: result: no" >&5
2513 echo "${ECHO_T}no" >&6
2516 test -n "$YACC" && break
2518 test -n "$YACC" || YACC="yacc"
2520 # Find a good install program. We prefer a C program (faster),
2521 # so one script is as good as another. But avoid the broken or
2522 # incompatible versions:
2523 # SysV /etc/install, /usr/sbin/install
2524 # SunOS /usr/etc/install
2525 # IRIX /sbin/install
2527 # AmigaOS /C/install, which installs bootblocks on floppy discs
2528 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2529 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2530 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2531 # OS/2's system install, which has a completely different semantic
2532 # ./install, which can be erroneously created by make from ./install.sh.
2533 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2534 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2535 if test -z "$INSTALL"; then
2536 if test "${ac_cv_path_install+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6
2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2543 test -z "$as_dir" && as_dir=.
2544 # Account for people who put trailing slashes in PATH elements.
2546 ./ | .// | /cC/* | \
2547 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2548 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2551 # OSF1 and SCO ODT 3.0 have their own names for install.
2552 # Don't use installbsd from OSF since it installs stuff as root
2554 for ac_prog in ginstall scoinst install; do
2555 for ac_exec_ext in '' $ac_executable_extensions; do
2556 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2557 if test $ac_prog = install &&
2558 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2559 # AIX install. It has an incompatible calling convention.
2561 elif test $ac_prog = install &&
2562 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2563 # program-specific install script used by HP pwplus--don't use.
2566 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2578 if test "${ac_cv_path_install+set}" = set; then
2579 INSTALL=$ac_cv_path_install
2581 # As a last resort, use the slow shell script. We don't cache a
2582 # path for INSTALL within a source directory, because that will
2583 # break other packages using the cache if that directory is
2584 # removed, or if the path is relative.
2585 INSTALL=$ac_install_sh
2588 echo "$as_me:$LINENO: result: $INSTALL" >&5
2589 echo "${ECHO_T}$INSTALL" >&6
2591 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2592 # It thinks the first close brace ends the variable substitution.
2593 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2595 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2597 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2607 echo "$as_me:$LINENO: checking for gtk" >&5
2608 echo $ECHO_N "checking for gtk... $ECHO_C" >&6
2609 # Check whether --enable-gtk or --disable-gtk was given.
2610 if test "${enable_gtk+set}" = set; then
2611 enableval="$enable_gtk"
2619 cat >>confdefs.h <<\_ACEOF
2620 #define OPTION_GTK 1
2623 echo "$as_me:$LINENO: result: yes" >&5
2624 echo "${ECHO_T}yes" >&6
2627 cat >>confdefs.h <<\_ACEOF
2628 #define OPTION_GTK 0
2631 echo "$as_me:$LINENO: result: no" >&5
2632 echo "${ECHO_T}no" >&6
2642 if test x$option_gtk = xtrue ; then
2646 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
2647 if test "${with_gtk_prefix+set}" = set; then
2648 withval="$with_gtk_prefix"
2649 gtk_config_prefix="$withval"
2651 gtk_config_prefix=""
2654 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
2655 if test "${with_gtk_exec_prefix+set}" = set; then
2656 withval="$with_gtk_exec_prefix"
2657 gtk_config_exec_prefix="$withval"
2659 gtk_config_exec_prefix=""
2661 # Check whether --enable-gtktest or --disable-gtktest was given.
2662 if test "${enable_gtktest+set}" = set; then
2663 enableval="$enable_gtktest"
2673 gtk_config_args="$gtk_config_args gthread"
2678 if test x$gtk_config_exec_prefix != x ; then
2679 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
2680 if test x${GTK_CONFIG+set} != xset ; then
2681 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
2684 if test x$gtk_config_prefix != x ; then
2685 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
2686 if test x${GTK_CONFIG+set} != xset ; then
2687 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
2691 # Extract the first word of "gtk-config", so it can be a program name with args.
2692 set dummy gtk-config; ac_word=$2
2693 echo "$as_me:$LINENO: checking for $ac_word" >&5
2694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2695 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
2703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707 test -z "$as_dir" && as_dir=.
2708 for ac_exec_ext in '' $ac_executable_extensions; do
2709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2717 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
2721 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
2723 if test -n "$GTK_CONFIG"; then
2724 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
2725 echo "${ECHO_T}$GTK_CONFIG" >&6
2727 echo "$as_me:$LINENO: result: no" >&5
2728 echo "${ECHO_T}no" >&6
2731 min_gtk_version=1.0.1
2732 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
2733 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
2735 if test "$GTK_CONFIG" = "no" ; then
2738 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
2739 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
2740 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
2741 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
2742 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
2743 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
2744 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
2745 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
2746 if test "x$enable_gtktest" = "xyes" ; then
2747 ac_save_CFLAGS="$CFLAGS"
2748 ac_save_LIBS="$LIBS"
2749 CFLAGS="$CFLAGS $GTK_CFLAGS"
2750 LIBS="$GTK_LIBS $LIBS"
2752 if test "$cross_compiling" = yes; then
2753 echo $ac_n "cross compiling; assumed OK... $ac_c"
2755 cat >conftest.$ac_ext <<_ACEOF
2758 cat confdefs.h >>conftest.$ac_ext
2759 cat >>conftest.$ac_ext <<_ACEOF
2760 /* end confdefs.h. */
2762 #include <gtk/gtk.h>
2769 int major, minor, micro;
2772 system ("touch conf.gtktest");
2774 /* HP/UX 9 (%@#!) writes to sscanf strings */
2775 tmp_version = g_strdup("$min_gtk_version");
2776 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
2777 printf("%s, bad version string\n", "$min_gtk_version");
2781 if ((gtk_major_version != $gtk_config_major_version) ||
2782 (gtk_minor_version != $gtk_config_minor_version) ||
2783 (gtk_micro_version != $gtk_config_micro_version))
2785 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
2786 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
2787 gtk_major_version, gtk_minor_version, gtk_micro_version);
2788 printf ("*** was found! If gtk-config was correct, then it is best\n");
2789 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
2790 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
2791 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
2792 printf("*** required on your system.\n");
2793 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
2794 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
2795 printf("*** before re-running configure\n");
2797 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
2798 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
2799 (gtk_minor_version != GTK_MINOR_VERSION) ||
2800 (gtk_micro_version != GTK_MICRO_VERSION))
2802 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
2803 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
2804 printf("*** library (version %d.%d.%d)\n",
2805 gtk_major_version, gtk_minor_version, gtk_micro_version);
2807 #endif /* defined (GTK_MAJOR_VERSION) ... */
2810 if ((gtk_major_version > major) ||
2811 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
2812 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
2818 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
2819 gtk_major_version, gtk_minor_version, gtk_micro_version);
2820 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
2821 major, minor, micro);
2822 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
2824 printf("*** If you have already installed a sufficiently new version, this error\n");
2825 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
2826 printf("*** being found. The easiest way to fix this is to remove the old version\n");
2827 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
2828 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
2829 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
2830 printf("*** so that the correct libraries are found at run-time))\n");
2837 rm -f conftest$ac_exeext
2838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2839 (eval $ac_link) 2>&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; }; then
2850 echo "$as_me: program exited with status $ac_status" >&5
2851 echo "$as_me: failed program was:" >&5
2852 sed 's/^/| /' conftest.$ac_ext >&5
2857 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2859 CFLAGS="$ac_save_CFLAGS"
2860 LIBS="$ac_save_LIBS"
2863 if test "x$no_gtk" = x ; then
2864 echo "$as_me:$LINENO: result: yes" >&5
2865 echo "${ECHO_T}yes" >&6
2868 echo "$as_me:$LINENO: result: no" >&5
2869 echo "${ECHO_T}no" >&6
2870 if test "$GTK_CONFIG" = "no" ; then
2871 echo "*** The gtk-config script installed by GTK could not be found"
2872 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
2873 echo "*** your path, or set the GTK_CONFIG environment variable to the"
2874 echo "*** full path to gtk-config."
2876 if test -f conf.gtktest ; then
2879 echo "*** Could not run GTK test program, checking why..."
2880 CFLAGS="$CFLAGS $GTK_CFLAGS"
2881 LIBS="$LIBS $GTK_LIBS"
2882 cat >conftest.$ac_ext <<_ACEOF
2885 cat confdefs.h >>conftest.$ac_ext
2886 cat >>conftest.$ac_ext <<_ACEOF
2887 /* end confdefs.h. */
2889 #include <gtk/gtk.h>
2895 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
2900 rm -f conftest.$ac_objext conftest$ac_exeext
2901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2902 (eval $ac_link) 2>conftest.er1
2904 grep -v '^ *+' conftest.er1 >conftest.err
2906 cat conftest.err >&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); } &&
2909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; } &&
2915 { ac_try='test -s conftest$ac_exeext'
2916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); }; }; then
2921 echo "*** The test program compiled, but did not run. This usually means"
2922 echo "*** that the run-time linker is not finding GTK or finding the wrong"
2923 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
2924 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
2925 echo "*** to the installed location Also, make sure you have run ldconfig if that"
2926 echo "*** is required on your system"
2928 echo "*** If you have an old version installed, it is best to remove it, although"
2929 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
2931 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
2932 echo "*** came with the system with the command"
2934 echo "*** rpm --erase --nodeps gtk gtk-devel"
2936 echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2939 echo "*** The test program failed to compile or link. See the file config.log for the"
2940 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
2941 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
2942 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
2944 rm -f conftest.err conftest.$ac_objext \
2945 conftest$ac_exeext conftest.$ac_ext
2946 CFLAGS="$ac_save_CFLAGS"
2947 LIBS="$ac_save_LIBS"
2958 if test x$have_gtk = xfalse ; then
2961 GUI_LIBS="$GTK_LIBS"
2962 GUI_CFLAGS="$GTK_CFLAGS"
2969 if test x$option_gtk = xtrue; then
2971 OPTION_GTK_FALSE='#'
2978 ac_config_files="$ac_config_files Makefile as31/Makefile examples/Makefile"
2979 cat >confcache <<\_ACEOF
2980 # This file is a shell script that caches the results of configure
2981 # tests run on this system so they can be shared between configure
2982 # scripts and configure runs, see configure's option --config-cache.
2983 # It is not useful on other systems. If it contains results you don't
2984 # want to keep, you may remove or edit it.
2986 # config.status only pays attention to the cache file if you give it
2987 # the --recheck option to rerun configure.
2989 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2990 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2995 # The following way of writing the cache mishandles newlines in values,
2996 # but we know of no workaround that is simple, portable, and efficient.
2997 # So, don't put newlines in cache variables' values.
2998 # Ultrix sh set writes to stderr and can't be redirected directly,
2999 # and sets the high bit in the cache file unless we assign to the vars.
3002 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3004 # `set' does not quote correctly, so add quotes (double-quote
3005 # substitution turns \\\\ into \\, and sed turns \\ into \).
3008 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3011 # `set' quotes correctly as required by POSIX, so do not add quotes.
3013 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3020 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3022 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3024 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3025 if test -w $cache_file; then
3026 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3027 cat confcache >$cache_file
3029 echo "not updating unwritable cache $cache_file"
3034 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3035 # Let make expand exec_prefix.
3036 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3038 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3039 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3040 # trailing colons and then remove the whole line if VPATH becomes empty
3041 # (actually we leave an empty line to preserve line numbers).
3042 if test "x$srcdir" = x.; then
3043 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3044 s/:*\$(srcdir):*/:/;
3045 s/:*\${srcdir}:*/:/;
3047 s/^\([^=]*=[ ]*\):*/\1/;
3053 # Transform confdefs.h into DEFS.
3054 # Protect against shell expansion while executing Makefile rules.
3055 # Protect against Makefile macro expansion.
3057 # If the first sed substitution is executed (which looks for macros that
3058 # take arguments), then we branch to the quote section. Otherwise,
3059 # look for a macro that doesn't take arguments.
3060 cat >confdef2opt.sed <<\_ACEOF
3063 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3065 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3069 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3075 # We use echo to avoid assuming a particular line-breaking character.
3076 # The extra dot is to prevent the shell from consuming trailing
3077 # line-breaks from the sub-command output. A line-break within
3078 # single-quotes doesn't work because, if this script is created in a
3079 # platform that uses two characters for line-breaks (e.g., DOS), tr
3081 ac_LF_and_DOT=`echo; echo .`
3082 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3083 rm -f confdef2opt.sed
3088 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3089 # 1. Remove the extension, and $U if already installed.
3090 ac_i=`echo "$ac_i" |
3091 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3093 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3094 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3098 LTLIBOBJS=$ac_ltlibobjs
3102 : ${CONFIG_STATUS=./config.status}
3103 ac_clean_files_save=$ac_clean_files
3104 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3105 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3106 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3107 cat >$CONFIG_STATUS <<_ACEOF
3109 # Generated by $as_me.
3110 # Run this file to recreate the current configuration.
3111 # Compiler output produced by configure, useful for debugging
3112 # configure, is in config.log if it exists.
3117 SHELL=\${CONFIG_SHELL-$SHELL}
3120 cat >>$CONFIG_STATUS <<\_ACEOF
3121 ## --------------------- ##
3122 ## M4sh Initialization. ##
3123 ## --------------------- ##
3125 # Be Bourne compatible
3126 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3129 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3130 # is contrary to our usage. Disable this feature.
3131 alias -g '${1+"$@"}'='"$@"'
3132 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3135 DUALCASE=1; export DUALCASE # for MKS sh
3137 # Support unset when possible.
3138 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3145 # Work around bugs in pre-3.0 UWIN ksh.
3146 $as_unset ENV MAIL MAILPATH
3153 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3154 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3155 LC_TELEPHONE LC_TIME
3157 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3158 eval $as_var=C; export $as_var
3164 # Required to use basename.
3165 if expr a : '\(a\)' >/dev/null 2>&1; then
3171 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3172 as_basename=basename
3178 # Name of the executable.
3179 as_me=`$as_basename "$0" ||
3180 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3181 X"$0" : 'X\(//\)$' \| \
3182 X"$0" : 'X\(/\)$' \| \
3183 . : '\(.\)' 2>/dev/null ||
3185 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3186 /^X\/\(\/\/\)$/{ s//\1/; q; }
3187 /^X\/\(\/\).*/{ s//\1/; q; }
3191 # PATH needs CR, and LINENO needs CR and PATH.
3192 # Avoid depending upon Character Ranges.
3193 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3194 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3195 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3196 as_cr_digits='0123456789'
3197 as_cr_alnum=$as_cr_Letters$as_cr_digits
3199 # The user is always right.
3200 if test "${PATH_SEPARATOR+set}" != set; then
3201 echo "#! /bin/sh" >conf$$.sh
3202 echo "exit 0" >>conf$$.sh
3204 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3215 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3216 test "x$as_lineno_1" != "x$as_lineno_2" &&
3217 test "x$as_lineno_3" = "x$as_lineno_2" || {
3218 # Find who we are. Look in the path if we contain no path at all
3221 *[\\/]* ) as_myself=$0 ;;
3222 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 test -z "$as_dir" && as_dir=.
3227 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3232 # We did not find ourselves, most probably we were run as `sh COMMAND'
3233 # in which case we are not to be found in the path.
3234 if test "x$as_myself" = x; then
3237 if test ! -f "$as_myself"; then
3238 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3239 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3240 { (exit 1); exit 1; }; }
3242 case $CONFIG_SHELL in
3244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3245 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3248 test -z "$as_dir" && as_dir=.
3249 for as_base in sh bash ksh sh5; do
3252 if ("$as_dir/$as_base" -c '
3255 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3256 test "x$as_lineno_1" != "x$as_lineno_2" &&
3257 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3258 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3259 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3260 CONFIG_SHELL=$as_dir/$as_base
3262 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3270 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3271 # uniformly replaced by the line number. The first 'sed' inserts a
3272 # line-number line before each line; the second 'sed' does the real
3273 # work. The second script uses 'N' to pair each line-number line
3274 # with the numbered line, and appends trailing '-' during
3275 # substitution so that $LINENO is not a special case at line end.
3276 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3277 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3278 sed '=' <$as_myself |
3283 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3286 s,^['$as_cr_digits']*\n,,
3288 chmod +x $as_me.lineno ||
3289 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3290 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3291 { (exit 1); exit 1; }; }
3293 # Don't try to exec as it changes $[0], causing all sort of problems
3294 # (the dirname of $[0] is not the place where we might find the
3295 # original and so on. Autoconf is especially sensible to this).
3297 # Exit status is that of the last command.
3302 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3303 *c*,-n*) ECHO_N= ECHO_C='
3305 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3306 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3309 if expr a : '\(a\)' >/dev/null 2>&1; then
3315 rm -f conf$$ conf$$.exe conf$$.file
3317 if ln -s conf$$.file conf$$ 2>/dev/null; then
3318 # We could just check for DJGPP; but this test a) works b) is more generic
3319 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3320 if test -f conf$$.exe; then
3321 # Don't use ln at all; we don't have any links
3326 elif ln conf$$.file conf$$ 2>/dev/null; then
3331 rm -f conf$$ conf$$.exe conf$$.file
3333 if mkdir -p . 2>/dev/null; then
3336 test -d ./-p && rmdir ./-p
3340 as_executable_p="test -f"
3342 # Sed expression to map a string onto a valid CPP name.
3343 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3345 # Sed expression to map a string onto a valid variable name.
3346 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3350 # We need space, tab and new line, in precisely that order.
3360 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3361 # report actual input values of CONFIG_FILES etc. instead of their
3362 # values after options handling. Logging --version etc. is OK.
3366 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3367 ## Running $as_me. ##
3372 This file was extended by $as_me, which was
3373 generated by GNU Autoconf 2.59. Invocation command line was
3375 CONFIG_FILES = $CONFIG_FILES
3376 CONFIG_HEADERS = $CONFIG_HEADERS
3377 CONFIG_LINKS = $CONFIG_LINKS
3378 CONFIG_COMMANDS = $CONFIG_COMMANDS
3382 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3386 # Files that config.status was made for.
3387 if test -n "$ac_config_files"; then
3388 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3391 if test -n "$ac_config_headers"; then
3392 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3395 if test -n "$ac_config_links"; then
3396 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3399 if test -n "$ac_config_commands"; then
3400 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3403 cat >>$CONFIG_STATUS <<\_ACEOF
3406 \`$as_me' instantiates files from templates according to the
3407 current configuration.
3409 Usage: $0 [OPTIONS] [FILE]...
3411 -h, --help print this help, then exit
3412 -V, --version print version number, then exit
3413 -q, --quiet do not print progress messages
3414 -d, --debug don't remove temporary files
3415 --recheck update $as_me by reconfiguring in the same conditions
3416 --file=FILE[:TEMPLATE]
3417 instantiate the configuration file FILE
3419 Configuration files:
3422 Report bugs to <bug-autoconf@gnu.org>."
3425 cat >>$CONFIG_STATUS <<_ACEOF
3428 configured by $0, generated by GNU Autoconf 2.59,
3429 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3431 Copyright (C) 2003 Free Software Foundation, Inc.
3432 This config.status script is free software; the Free Software Foundation
3433 gives unlimited permission to copy, distribute and modify it."
3438 cat >>$CONFIG_STATUS <<\_ACEOF
3439 # If no file are specified by the user, then we need to provide default
3440 # value. By we need to know if files were specified by the user.
3446 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3447 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3455 *) # This is not an option, so the user has probably given explicit
3458 ac_need_defaults=false;;
3462 # Handling of the options.
3464 cat >>$CONFIG_STATUS <<\_ACEOF
3465 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3467 --version | --vers* | -V )
3468 echo "$ac_cs_version"; exit 0 ;;
3470 # Conflict between --help and --header
3471 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3472 Try \`$0 --help' for more information." >&5
3473 echo "$as_me: error: ambiguous option: $1
3474 Try \`$0 --help' for more information." >&2;}
3475 { (exit 1); exit 1; }; };;
3476 --help | --hel | -h )
3477 echo "$ac_cs_usage"; exit 0 ;;
3478 --debug | --d* | -d )
3480 --file | --fil | --fi | --f )
3482 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3483 ac_need_defaults=false;;
3484 --header | --heade | --head | --hea )
3486 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3487 ac_need_defaults=false;;
3488 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3489 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3493 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3494 Try \`$0 --help' for more information." >&5
3495 echo "$as_me: error: unrecognized option: $1
3496 Try \`$0 --help' for more information." >&2;}
3497 { (exit 1); exit 1; }; } ;;
3499 *) ac_config_targets="$ac_config_targets $1" ;;
3505 ac_configure_extra_args=
3507 if $ac_cs_silent; then
3509 ac_configure_extra_args="$ac_configure_extra_args --silent"
3513 cat >>$CONFIG_STATUS <<_ACEOF
3514 if \$ac_cs_recheck; then
3515 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3516 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3525 cat >>$CONFIG_STATUS <<\_ACEOF
3526 for ac_config_target in $ac_config_targets
3528 case "$ac_config_target" in
3529 # Handling of arguments.
3530 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3531 "as31/Makefile" ) CONFIG_FILES="$CONFIG_FILES as31/Makefile" ;;
3532 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
3533 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3534 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3535 { (exit 1); exit 1; }; };;
3539 # If the user did not use the arguments to specify the items to instantiate,
3540 # then the envvar interface is used. Set only those that are not.
3541 # We use the long form for the default assignment because of an extremely
3542 # bizarre bug on SunOS 4.1.3.
3543 if $ac_need_defaults; then
3544 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3547 # Have a temporary directory for convenience. Make it in the build tree
3548 # simply because there is no reason to put it here, and in addition,
3549 # creating and moving files from /tmp can sometimes cause problems.
3550 # Create a temporary directory, and hook for its removal unless debugging.
3553 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3554 trap '{ (exit 1); exit 1; }' 1 2 13 15
3557 # Create a (secure) tmp directory for tmp files.
3560 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3561 test -n "$tmp" && test -d "$tmp"
3564 tmp=./confstat$$-$RANDOM
3565 (umask 077 && mkdir $tmp)
3568 echo "$me: cannot create a temporary directory in ." >&2
3569 { (exit 1); exit 1; }
3574 cat >>$CONFIG_STATUS <<_ACEOF
3577 # CONFIG_FILES section.
3580 # No need to generate the scripts if there are no CONFIG_FILES.
3581 # This happens for instance when ./config.status config.h
3582 if test -n "\$CONFIG_FILES"; then
3583 # Protect against being on the right side of a sed subst in config.status.
3584 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3585 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3586 s,@SHELL@,$SHELL,;t t
3587 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3588 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3589 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3590 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3591 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3592 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3593 s,@exec_prefix@,$exec_prefix,;t t
3594 s,@prefix@,$prefix,;t t
3595 s,@program_transform_name@,$program_transform_name,;t t
3596 s,@bindir@,$bindir,;t t
3597 s,@sbindir@,$sbindir,;t t
3598 s,@libexecdir@,$libexecdir,;t t
3599 s,@datadir@,$datadir,;t t
3600 s,@sysconfdir@,$sysconfdir,;t t
3601 s,@sharedstatedir@,$sharedstatedir,;t t
3602 s,@localstatedir@,$localstatedir,;t t
3603 s,@libdir@,$libdir,;t t
3604 s,@includedir@,$includedir,;t t
3605 s,@oldincludedir@,$oldincludedir,;t t
3606 s,@infodir@,$infodir,;t t
3607 s,@mandir@,$mandir,;t t
3608 s,@build_alias@,$build_alias,;t t
3609 s,@host_alias@,$host_alias,;t t
3610 s,@target_alias@,$target_alias,;t t
3612 s,@ECHO_C@,$ECHO_C,;t t
3613 s,@ECHO_N@,$ECHO_N,;t t
3614 s,@ECHO_T@,$ECHO_T,;t t
3616 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3617 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3618 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3619 s,@PACKAGE@,$PACKAGE,;t t
3620 s,@VERSION@,$VERSION,;t t
3621 s,@ACLOCAL@,$ACLOCAL,;t t
3622 s,@AUTOCONF@,$AUTOCONF,;t t
3623 s,@AUTOMAKE@,$AUTOMAKE,;t t
3624 s,@AUTOHEADER@,$AUTOHEADER,;t t
3625 s,@MAKEINFO@,$MAKEINFO,;t t
3626 s,@SET_MAKE@,$SET_MAKE,;t t
3628 s,@CFLAGS@,$CFLAGS,;t t
3629 s,@LDFLAGS@,$LDFLAGS,;t t
3630 s,@CPPFLAGS@,$CPPFLAGS,;t t
3631 s,@ac_ct_CC@,$ac_ct_CC,;t t
3632 s,@EXEEXT@,$EXEEXT,;t t
3633 s,@OBJEXT@,$OBJEXT,;t t
3635 s,@GUI_LIBS@,$GUI_LIBS,;t t
3636 s,@GUI_CFLAGS@,$GUI_CFLAGS,;t t
3637 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
3638 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
3639 s,@GTK_LIBS@,$GTK_LIBS,;t t
3640 s,@OPTION_GTK_TRUE@,$OPTION_GTK_TRUE,;t t
3641 s,@OPTION_GTK_FALSE@,$OPTION_GTK_FALSE,;t t
3642 s,@LIBOBJS@,$LIBOBJS,;t t
3643 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3648 cat >>$CONFIG_STATUS <<\_ACEOF
3649 # Split the substitutions into bite-sized pieces for seds with
3650 # small command number limits, like on Digital OSF/1 and HP-UX.
3652 ac_sed_frag=1 # Number of current file.
3653 ac_beg=1 # First line for current file.
3654 ac_end=$ac_max_sed_lines # Line after last line for current file.
3657 while $ac_more_lines; do
3658 if test $ac_beg -gt 1; then
3659 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3661 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3663 if test ! -s $tmp/subs.frag; then
3666 # The purpose of the label and of the branching condition is to
3667 # speed up the sed processing (if there are no `@' at all, there
3668 # is no need to browse any of the substitutions).
3669 # These are the two extra sed commands mentioned above.
3671 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3672 if test -z "$ac_sed_cmds"; then
3673 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3675 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3677 ac_sed_frag=`expr $ac_sed_frag + 1`
3679 ac_end=`expr $ac_end + $ac_max_sed_lines`
3682 if test -z "$ac_sed_cmds"; then
3685 fi # test -n "$CONFIG_FILES"
3688 cat >>$CONFIG_STATUS <<\_ACEOF
3689 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3690 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3692 - | *:- | *:-:* ) # input from stdin
3694 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3695 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3696 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3697 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3698 * ) ac_file_in=$ac_file.in ;;
3701 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3702 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3703 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3704 X"$ac_file" : 'X\(//\)[^/]' \| \
3705 X"$ac_file" : 'X\(//\)$' \| \
3706 X"$ac_file" : 'X\(/\)' \| \
3707 . : '\(.\)' 2>/dev/null ||
3709 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3710 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3711 /^X\(\/\/\)$/{ s//\1/; q; }
3712 /^X\(\/\).*/{ s//\1/; q; }
3714 { if $as_mkdir_p; then
3719 while test ! -d "$as_dir"; do
3720 as_dirs="$as_dir $as_dirs"
3721 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3722 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3723 X"$as_dir" : 'X\(//\)[^/]' \| \
3724 X"$as_dir" : 'X\(//\)$' \| \
3725 X"$as_dir" : 'X\(/\)' \| \
3726 . : '\(.\)' 2>/dev/null ||
3728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3729 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3730 /^X\(\/\/\)$/{ s//\1/; q; }
3731 /^X\(\/\).*/{ s//\1/; q; }
3734 test ! -n "$as_dirs" || mkdir $as_dirs
3735 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3736 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3737 { (exit 1); exit 1; }; }; }
3741 if test "$ac_dir" != .; then
3742 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3743 # A "../" for each directory in $ac_dir_suffix.
3744 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3746 ac_dir_suffix= ac_top_builddir=
3750 .) # No --srcdir option. We are building in place.
3752 if test -z "$ac_top_builddir"; then
3755 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3757 [\\/]* | ?:[\\/]* ) # Absolute path.
3758 ac_srcdir=$srcdir$ac_dir_suffix;
3759 ac_top_srcdir=$srcdir ;;
3761 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3762 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3765 # Do not use `cd foo && pwd` to compute absolute paths, because
3766 # the directories may not exist.
3768 .) ac_abs_builddir="$ac_dir";;
3771 .) ac_abs_builddir=`pwd`;;
3772 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3773 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3776 case $ac_abs_builddir in
3777 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3779 case ${ac_top_builddir}. in
3780 .) ac_abs_top_builddir=$ac_abs_builddir;;
3781 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3782 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3785 case $ac_abs_builddir in
3786 .) ac_abs_srcdir=$ac_srcdir;;
3789 .) ac_abs_srcdir=$ac_abs_builddir;;
3790 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3791 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3794 case $ac_abs_builddir in
3795 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3797 case $ac_top_srcdir in
3798 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3799 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3800 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3806 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3807 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3810 # Let's still pretend it is `configure' which instantiates (i.e., don't
3811 # use $as_me), people would be surprised to read:
3812 # /* config.h. Generated by config.status. */
3813 if test x"$ac_file" = x-; then
3816 configure_input="$ac_file. "
3818 configure_input=$configure_input"Generated from `echo $ac_file_in |
3819 sed 's,.*/,,'` by configure."
3821 # First look for the input files in the build tree, otherwise in the
3823 ac_file_inputs=`IFS=:
3824 for f in $ac_file_in; do
3826 -) echo $tmp/stdin ;;
3828 # Absolute (can't be DOS-style, as IFS=:)
3829 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3830 echo "$as_me: error: cannot find input file: $f" >&2;}
3831 { (exit 1); exit 1; }; }
3834 if test -f "$f"; then
3837 elif test -f "$srcdir/$f"; then
3842 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3843 echo "$as_me: error: cannot find input file: $f" >&2;}
3844 { (exit 1); exit 1; }; }
3847 done` || { (exit 1); exit 1; }
3849 if test x"$ac_file" != x-; then
3850 { echo "$as_me:$LINENO: creating $ac_file" >&5
3851 echo "$as_me: creating $ac_file" >&6;}
3855 cat >>$CONFIG_STATUS <<_ACEOF
3859 cat >>$CONFIG_STATUS <<\_ACEOF
3861 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3862 s,@configure_input@,$configure_input,;t t
3863 s,@srcdir@,$ac_srcdir,;t t
3864 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3865 s,@top_srcdir@,$ac_top_srcdir,;t t
3866 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3867 s,@builddir@,$ac_builddir,;t t
3868 s,@abs_builddir@,$ac_abs_builddir,;t t
3869 s,@top_builddir@,$ac_top_builddir,;t t
3870 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3871 s,@INSTALL@,$ac_INSTALL,;t t
3872 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3874 if test x"$ac_file" != x-; then
3875 mv $tmp/out $ac_file
3884 cat >>$CONFIG_STATUS <<\_ACEOF
3886 { (exit 0); exit 0; }
3888 chmod +x $CONFIG_STATUS
3889 ac_clean_files=$ac_clean_files_save
3892 # configure is writing to config.log, and then calls config.status.
3893 # config.status does its own redirection, appending to config.log.
3894 # Unfortunately, on DOS this fails, as config.log is still kept open
3895 # by configure, so config.status won't be able to write to it; its
3896 # output is simply discarded. So we exec the FD to /dev/null,
3897 # effectively closing config.log, so it can be properly (re)opened and
3898 # appended to by config.status. When coming back to configure, we
3899 # need to make the FD available again.
3900 if test "$no_create" != yes; then
3902 ac_config_status_args=
3903 test "$silent" = yes &&
3904 ac_config_status_args="$ac_config_status_args --quiet"
3906 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3908 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3909 # would make configure fail if this is the last instruction.
3910 $ac_cs_success || { (exit 1); exit 1; }