updated copyright statement
[gpiv.git] / configure
bloba2fbc8dc1999ae8cd10c861243c5eaeb013a047b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for gpiv 0.6.0.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='gpiv'
576 PACKAGE_TARNAME='gpiv'
577 PACKAGE_VERSION='0.6.0'
578 PACKAGE_STRING='gpiv 0.6.0'
579 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv'
581 # Factoring default headers for most tests.
582 ac_includes_default="\
583 #include <stdio.h>
584 #ifdef HAVE_SYS_TYPES_H
585 # include <sys/types.h>
586 #endif
587 #ifdef HAVE_SYS_STAT_H
588 # include <sys/stat.h>
589 #endif
590 #ifdef STDC_HEADERS
591 # include <stdlib.h>
592 # include <stddef.h>
593 #else
594 # ifdef HAVE_STDLIB_H
595 # include <stdlib.h>
596 # endif
597 #endif
598 #ifdef HAVE_STRING_H
599 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
600 # include <memory.h>
601 # endif
602 # include <string.h>
603 #endif
604 #ifdef HAVE_STRINGS_H
605 # include <strings.h>
606 #endif
607 #ifdef HAVE_INTTYPES_H
608 # include <inttypes.h>
609 #endif
610 #ifdef HAVE_STDINT_H
611 # include <stdint.h>
612 #endif
613 #ifdef HAVE_UNISTD_H
614 # include <unistd.h>
615 #endif"
617 ac_subst_vars='SHELL
618 PATH_SEPARATOR
619 PACKAGE_NAME
620 PACKAGE_TARNAME
621 PACKAGE_VERSION
622 PACKAGE_STRING
623 PACKAGE_BUGREPORT
624 exec_prefix
625 prefix
626 program_transform_name
627 bindir
628 sbindir
629 libexecdir
630 datarootdir
631 datadir
632 sysconfdir
633 sharedstatedir
634 localstatedir
635 includedir
636 oldincludedir
637 docdir
638 infodir
639 htmldir
640 dvidir
641 pdfdir
642 psdir
643 libdir
644 localedir
645 mandir
646 DEFS
647 ECHO_C
648 ECHO_N
649 ECHO_T
650 LIBS
651 build_alias
652 host_alias
653 target_alias
654 INSTALL_PROGRAM
655 INSTALL_SCRIPT
656 INSTALL_DATA
657 CYGPATH_W
658 PACKAGE
659 VERSION
660 ACLOCAL
661 AUTOCONF
662 AUTOMAKE
663 AUTOHEADER
664 MAKEINFO
665 install_sh
666 STRIP
667 INSTALL_STRIP_PROGRAM
668 mkdir_p
670 SET_MAKE
671 am__leading_dot
672 AMTAR
673 am__tar
674 am__untar
675 MAINTAINER_MODE_TRUE
676 MAINTAINER_MODE_FALSE
677 MAINT
679 CFLAGS
680 LDFLAGS
681 CPPFLAGS
682 ac_ct_CC
683 EXEEXT
684 OBJEXT
685 DEPDIR
686 am__include
687 am__quote
688 AMDEP_TRUE
689 AMDEP_FALSE
690 AMDEPBACKSLASH
691 CCDEPMODE
692 am__fastdepCC_TRUE
693 am__fastdepCC_FALSE
695 GREP
696 EGREP
697 PKG_CONFIG
698 GPIV_UI_CFLAGS
699 GPIV_UI_LIBS
700 GPIV_PRINT_CFLAGS
701 GPIV_PRINT_LIBS
702 GPIV_CFLAGS
703 GPIV_LIBS
704 GETTEXT_PACKAGE
705 USE_NLS
706 MSGFMT
707 MSGFMT_OPTS
708 GMSGFMT
709 XGETTEXT
710 CATALOGS
711 CATOBJEXT
712 DATADIRNAME
713 GMOFILES
714 INSTOBJEXT
715 INTLLIBS
716 PO_IN_DATADIR_TRUE
717 PO_IN_DATADIR_FALSE
718 POFILES
719 POSUB
720 MKINSTALLDIRS
721 INTLTOOL_UPDATE
722 INTLTOOL_MERGE
723 INTLTOOL_EXTRACT
724 INTLTOOL_DESKTOP_RULE
725 INTLTOOL_DIRECTORY_RULE
726 INTLTOOL_KEYS_RULE
727 INTLTOOL_PROP_RULE
728 INTLTOOL_OAF_RULE
729 INTLTOOL_PONG_RULE
730 INTLTOOL_SERVER_RULE
731 INTLTOOL_SHEET_RULE
732 INTLTOOL_SOUNDLIST_RULE
733 INTLTOOL_UI_RULE
734 INTLTOOL_XAM_RULE
735 INTLTOOL_KBD_RULE
736 INTLTOOL_XML_RULE
737 INTLTOOL_XML_NOMERGE_RULE
738 INTLTOOL_CAVES_RULE
739 INTLTOOL_SCHEMAS_RULE
740 INTLTOOL_THEME_RULE
741 INTLTOOL_SERVICE_RULE
742 INTLTOOL_POLICY_RULE
743 MSGMERGE
744 INTLTOOL_PERL
745 ALL_LINGUAS
746 ENABLE_CAM
747 ENABLE_TRIG
748 ENABLE_DAC
749 CONTROL
750 HAVE_CONTROL_TRUE
751 HAVE_CONTROL_FALSE
752 RTA_TOPDIR
753 K_TOPDIR
754 OVERRIDE_IMAGE_WIDTH_MAX
755 OVERRIDE_IMAGE_HEIGHT_MAX
756 CANVAS_AA
757 DEBUG
758 ENABLE_MPI
759 MPIRUN
761 LIBOBJS
762 LTLIBOBJS'
763 ac_subst_files=''
764 ac_precious_vars='build_alias
765 host_alias
766 target_alias
768 CFLAGS
769 LDFLAGS
770 LIBS
771 CPPFLAGS
773 PKG_CONFIG
774 GPIV_UI_CFLAGS
775 GPIV_UI_LIBS
776 GPIV_PRINT_CFLAGS
777 GPIV_PRINT_LIBS
778 GPIV_CFLAGS
779 GPIV_LIBS'
782 # Initialize some variables set by options.
783 ac_init_help=
784 ac_init_version=false
785 # The variables have the same names as the options, with
786 # dashes changed to underlines.
787 cache_file=/dev/null
788 exec_prefix=NONE
789 no_create=
790 no_recursion=
791 prefix=NONE
792 program_prefix=NONE
793 program_suffix=NONE
794 program_transform_name=s,x,x,
795 silent=
796 site=
797 srcdir=
798 verbose=
799 x_includes=NONE
800 x_libraries=NONE
802 # Installation directory options.
803 # These are left unexpanded so users can "make install exec_prefix=/foo"
804 # and all the variables that are supposed to be based on exec_prefix
805 # by default will actually change.
806 # Use braces instead of parens because sh, perl, etc. also accept them.
807 # (The list follows the same order as the GNU Coding Standards.)
808 bindir='${exec_prefix}/bin'
809 sbindir='${exec_prefix}/sbin'
810 libexecdir='${exec_prefix}/libexec'
811 datarootdir='${prefix}/share'
812 datadir='${datarootdir}'
813 sysconfdir='${prefix}/etc'
814 sharedstatedir='${prefix}/com'
815 localstatedir='${prefix}/var'
816 includedir='${prefix}/include'
817 oldincludedir='/usr/include'
818 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
819 infodir='${datarootdir}/info'
820 htmldir='${docdir}'
821 dvidir='${docdir}'
822 pdfdir='${docdir}'
823 psdir='${docdir}'
824 libdir='${exec_prefix}/lib'
825 localedir='${datarootdir}/locale'
826 mandir='${datarootdir}/man'
828 ac_prev=
829 ac_dashdash=
830 for ac_option
832 # If the previous option needs an argument, assign it.
833 if test -n "$ac_prev"; then
834 eval $ac_prev=\$ac_option
835 ac_prev=
836 continue
839 case $ac_option in
840 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
841 *) ac_optarg=yes ;;
842 esac
844 # Accept the important Cygnus configure options, so we can diagnose typos.
846 case $ac_dashdash$ac_option in
848 ac_dashdash=yes ;;
850 -bindir | --bindir | --bindi | --bind | --bin | --bi)
851 ac_prev=bindir ;;
852 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
853 bindir=$ac_optarg ;;
855 -build | --build | --buil | --bui | --bu)
856 ac_prev=build_alias ;;
857 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
858 build_alias=$ac_optarg ;;
860 -cache-file | --cache-file | --cache-fil | --cache-fi \
861 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
862 ac_prev=cache_file ;;
863 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
864 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
865 cache_file=$ac_optarg ;;
867 --config-cache | -C)
868 cache_file=config.cache ;;
870 -datadir | --datadir | --datadi | --datad)
871 ac_prev=datadir ;;
872 -datadir=* | --datadir=* | --datadi=* | --datad=*)
873 datadir=$ac_optarg ;;
875 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
876 | --dataroo | --dataro | --datar)
877 ac_prev=datarootdir ;;
878 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
879 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
880 datarootdir=$ac_optarg ;;
882 -disable-* | --disable-*)
883 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
886 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
887 { (exit 1); exit 1; }; }
888 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
889 eval enable_$ac_feature=no ;;
891 -docdir | --docdir | --docdi | --doc | --do)
892 ac_prev=docdir ;;
893 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
894 docdir=$ac_optarg ;;
896 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
897 ac_prev=dvidir ;;
898 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
899 dvidir=$ac_optarg ;;
901 -enable-* | --enable-*)
902 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
905 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
906 { (exit 1); exit 1; }; }
907 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
908 eval enable_$ac_feature=\$ac_optarg ;;
910 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
911 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
912 | --exec | --exe | --ex)
913 ac_prev=exec_prefix ;;
914 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
915 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
916 | --exec=* | --exe=* | --ex=*)
917 exec_prefix=$ac_optarg ;;
919 -gas | --gas | --ga | --g)
920 # Obsolete; use --with-gas.
921 with_gas=yes ;;
923 -help | --help | --hel | --he | -h)
924 ac_init_help=long ;;
925 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
926 ac_init_help=recursive ;;
927 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
928 ac_init_help=short ;;
930 -host | --host | --hos | --ho)
931 ac_prev=host_alias ;;
932 -host=* | --host=* | --hos=* | --ho=*)
933 host_alias=$ac_optarg ;;
935 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
936 ac_prev=htmldir ;;
937 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
938 | --ht=*)
939 htmldir=$ac_optarg ;;
941 -includedir | --includedir | --includedi | --included | --include \
942 | --includ | --inclu | --incl | --inc)
943 ac_prev=includedir ;;
944 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
945 | --includ=* | --inclu=* | --incl=* | --inc=*)
946 includedir=$ac_optarg ;;
948 -infodir | --infodir | --infodi | --infod | --info | --inf)
949 ac_prev=infodir ;;
950 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
951 infodir=$ac_optarg ;;
953 -libdir | --libdir | --libdi | --libd)
954 ac_prev=libdir ;;
955 -libdir=* | --libdir=* | --libdi=* | --libd=*)
956 libdir=$ac_optarg ;;
958 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
959 | --libexe | --libex | --libe)
960 ac_prev=libexecdir ;;
961 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
962 | --libexe=* | --libex=* | --libe=*)
963 libexecdir=$ac_optarg ;;
965 -localedir | --localedir | --localedi | --localed | --locale)
966 ac_prev=localedir ;;
967 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
968 localedir=$ac_optarg ;;
970 -localstatedir | --localstatedir | --localstatedi | --localstated \
971 | --localstate | --localstat | --localsta | --localst | --locals)
972 ac_prev=localstatedir ;;
973 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
974 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
975 localstatedir=$ac_optarg ;;
977 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
978 ac_prev=mandir ;;
979 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
980 mandir=$ac_optarg ;;
982 -nfp | --nfp | --nf)
983 # Obsolete; use --without-fp.
984 with_fp=no ;;
986 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
987 | --no-cr | --no-c | -n)
988 no_create=yes ;;
990 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
991 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
992 no_recursion=yes ;;
994 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
995 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
996 | --oldin | --oldi | --old | --ol | --o)
997 ac_prev=oldincludedir ;;
998 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
999 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1000 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1001 oldincludedir=$ac_optarg ;;
1003 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1004 ac_prev=prefix ;;
1005 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1006 prefix=$ac_optarg ;;
1008 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1009 | --program-pre | --program-pr | --program-p)
1010 ac_prev=program_prefix ;;
1011 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1012 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1013 program_prefix=$ac_optarg ;;
1015 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1016 | --program-suf | --program-su | --program-s)
1017 ac_prev=program_suffix ;;
1018 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1019 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1020 program_suffix=$ac_optarg ;;
1022 -program-transform-name | --program-transform-name \
1023 | --program-transform-nam | --program-transform-na \
1024 | --program-transform-n | --program-transform- \
1025 | --program-transform | --program-transfor \
1026 | --program-transfo | --program-transf \
1027 | --program-trans | --program-tran \
1028 | --progr-tra | --program-tr | --program-t)
1029 ac_prev=program_transform_name ;;
1030 -program-transform-name=* | --program-transform-name=* \
1031 | --program-transform-nam=* | --program-transform-na=* \
1032 | --program-transform-n=* | --program-transform-=* \
1033 | --program-transform=* | --program-transfor=* \
1034 | --program-transfo=* | --program-transf=* \
1035 | --program-trans=* | --program-tran=* \
1036 | --progr-tra=* | --program-tr=* | --program-t=*)
1037 program_transform_name=$ac_optarg ;;
1039 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1040 ac_prev=pdfdir ;;
1041 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1042 pdfdir=$ac_optarg ;;
1044 -psdir | --psdir | --psdi | --psd | --ps)
1045 ac_prev=psdir ;;
1046 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1047 psdir=$ac_optarg ;;
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050 | -silent | --silent | --silen | --sile | --sil)
1051 silent=yes ;;
1053 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1054 ac_prev=sbindir ;;
1055 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1056 | --sbi=* | --sb=*)
1057 sbindir=$ac_optarg ;;
1059 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1060 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1061 | --sharedst | --shareds | --shared | --share | --shar \
1062 | --sha | --sh)
1063 ac_prev=sharedstatedir ;;
1064 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1065 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1066 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1067 | --sha=* | --sh=*)
1068 sharedstatedir=$ac_optarg ;;
1070 -site | --site | --sit)
1071 ac_prev=site ;;
1072 -site=* | --site=* | --sit=*)
1073 site=$ac_optarg ;;
1075 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1076 ac_prev=srcdir ;;
1077 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1078 srcdir=$ac_optarg ;;
1080 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1081 | --syscon | --sysco | --sysc | --sys | --sy)
1082 ac_prev=sysconfdir ;;
1083 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1084 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1085 sysconfdir=$ac_optarg ;;
1087 -target | --target | --targe | --targ | --tar | --ta | --t)
1088 ac_prev=target_alias ;;
1089 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1090 target_alias=$ac_optarg ;;
1092 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1093 verbose=yes ;;
1095 -version | --version | --versio | --versi | --vers | -V)
1096 ac_init_version=: ;;
1098 -with-* | --with-*)
1099 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1102 { echo "$as_me: error: invalid package name: $ac_package" >&2
1103 { (exit 1); exit 1; }; }
1104 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1105 eval with_$ac_package=\$ac_optarg ;;
1107 -without-* | --without-*)
1108 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111 { echo "$as_me: error: invalid package name: $ac_package" >&2
1112 { (exit 1); exit 1; }; }
1113 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1114 eval with_$ac_package=no ;;
1116 --x)
1117 # Obsolete; use --with-x.
1118 with_x=yes ;;
1120 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1121 | --x-incl | --x-inc | --x-in | --x-i)
1122 ac_prev=x_includes ;;
1123 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1124 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1125 x_includes=$ac_optarg ;;
1127 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1128 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1129 ac_prev=x_libraries ;;
1130 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1131 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1132 x_libraries=$ac_optarg ;;
1134 -*) { echo "$as_me: error: unrecognized option: $ac_option
1135 Try \`$0 --help' for more information." >&2
1136 { (exit 1); exit 1; }; }
1139 *=*)
1140 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1143 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1144 { (exit 1); exit 1; }; }
1145 eval $ac_envvar=\$ac_optarg
1146 export $ac_envvar ;;
1149 # FIXME: should be removed in autoconf 3.0.
1150 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1151 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1152 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1153 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1156 esac
1157 done
1159 if test -n "$ac_prev"; then
1160 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1161 { echo "$as_me: error: missing argument to $ac_option" >&2
1162 { (exit 1); exit 1; }; }
1165 # Be sure to have absolute directory names.
1166 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1167 datadir sysconfdir sharedstatedir localstatedir includedir \
1168 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1169 libdir localedir mandir
1171 eval ac_val=\$$ac_var
1172 case $ac_val in
1173 [\\/$]* | ?:[\\/]* ) continue;;
1174 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1175 esac
1176 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1177 { (exit 1); exit 1; }; }
1178 done
1180 # There might be people who depend on the old broken behavior: `$host'
1181 # used to hold the argument of --host etc.
1182 # FIXME: To remove some day.
1183 build=$build_alias
1184 host=$host_alias
1185 target=$target_alias
1187 # FIXME: To remove some day.
1188 if test "x$host_alias" != x; then
1189 if test "x$build_alias" = x; then
1190 cross_compiling=maybe
1191 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1192 If a cross compiler is detected then cross compile mode will be used." >&2
1193 elif test "x$build_alias" != "x$host_alias"; then
1194 cross_compiling=yes
1198 ac_tool_prefix=
1199 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1201 test "$silent" = yes && exec 6>/dev/null
1204 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1205 ac_ls_di=`ls -di .` &&
1206 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1207 { echo "$as_me: error: Working directory cannot be determined" >&2
1208 { (exit 1); exit 1; }; }
1209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1210 { echo "$as_me: error: pwd does not report name of working directory" >&2
1211 { (exit 1); exit 1; }; }
1214 # Find the source files, if location was not specified.
1215 if test -z "$srcdir"; then
1216 ac_srcdir_defaulted=yes
1217 # Try the directory containing this script, then the parent directory.
1218 ac_confdir=`$as_dirname -- "$0" ||
1219 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1220 X"$0" : 'X\(//\)[^/]' \| \
1221 X"$0" : 'X\(//\)$' \| \
1222 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1223 echo X"$0" |
1224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1225 s//\1/
1228 /^X\(\/\/\)[^/].*/{
1229 s//\1/
1232 /^X\(\/\/\)$/{
1233 s//\1/
1236 /^X\(\/\).*/{
1237 s//\1/
1240 s/.*/./; q'`
1241 srcdir=$ac_confdir
1242 if test ! -r "$srcdir/$ac_unique_file"; then
1243 srcdir=..
1245 else
1246 ac_srcdir_defaulted=no
1248 if test ! -r "$srcdir/$ac_unique_file"; then
1249 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1250 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1251 { (exit 1); exit 1; }; }
1253 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1254 ac_abs_confdir=`(
1255 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1256 { (exit 1); exit 1; }; }
1257 pwd)`
1258 # When building in place, set srcdir=.
1259 if test "$ac_abs_confdir" = "$ac_pwd"; then
1260 srcdir=.
1262 # Remove unnecessary trailing slashes from srcdir.
1263 # Double slashes in file names in object file debugging info
1264 # mess up M-x gdb in Emacs.
1265 case $srcdir in
1266 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1267 esac
1268 for ac_var in $ac_precious_vars; do
1269 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1270 eval ac_env_${ac_var}_value=\$${ac_var}
1271 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1272 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1273 done
1276 # Report the --help message.
1278 if test "$ac_init_help" = "long"; then
1279 # Omit some internal or obsolete options to make the list less imposing.
1280 # This message is too long to be a string in the A/UX 3.1 sh.
1281 cat <<_ACEOF
1282 \`configure' configures gpiv 0.6.0 to adapt to many kinds of systems.
1284 Usage: $0 [OPTION]... [VAR=VALUE]...
1286 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1287 VAR=VALUE. See below for descriptions of some of the useful variables.
1289 Defaults for the options are specified in brackets.
1291 Configuration:
1292 -h, --help display this help and exit
1293 --help=short display options specific to this package
1294 --help=recursive display the short help of all the included packages
1295 -V, --version display version information and exit
1296 -q, --quiet, --silent do not print \`checking...' messages
1297 --cache-file=FILE cache test results in FILE [disabled]
1298 -C, --config-cache alias for \`--cache-file=config.cache'
1299 -n, --no-create do not create output files
1300 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1302 Installation directories:
1303 --prefix=PREFIX install architecture-independent files in PREFIX
1304 [$ac_default_prefix]
1305 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1306 [PREFIX]
1308 By default, \`make install' will install all the files in
1309 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1310 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1311 for instance \`--prefix=\$HOME'.
1313 For better control, use the options below.
1315 Fine tuning of the installation directories:
1316 --bindir=DIR user executables [EPREFIX/bin]
1317 --sbindir=DIR system admin executables [EPREFIX/sbin]
1318 --libexecdir=DIR program executables [EPREFIX/libexec]
1319 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1320 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1321 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1322 --libdir=DIR object code libraries [EPREFIX/lib]
1323 --includedir=DIR C header files [PREFIX/include]
1324 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1325 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1326 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1327 --infodir=DIR info documentation [DATAROOTDIR/info]
1328 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1329 --mandir=DIR man documentation [DATAROOTDIR/man]
1330 --docdir=DIR documentation root [DATAROOTDIR/doc/gpiv]
1331 --htmldir=DIR html documentation [DOCDIR]
1332 --dvidir=DIR dvi documentation [DOCDIR]
1333 --pdfdir=DIR pdf documentation [DOCDIR]
1334 --psdir=DIR ps documentation [DOCDIR]
1335 _ACEOF
1337 cat <<\_ACEOF
1339 Program names:
1340 --program-prefix=PREFIX prepend PREFIX to installed program names
1341 --program-suffix=SUFFIX append SUFFIX to installed program names
1342 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1343 _ACEOF
1346 if test -n "$ac_init_help"; then
1347 case $ac_init_help in
1348 short | recursive ) echo "Configuration of gpiv 0.6.0:";;
1349 esac
1350 cat <<\_ACEOF
1352 Optional Features:
1353 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1354 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1355 --enable-maintainer-mode enable make rules and dependencies not useful
1356 (and sometimes confusing) to the casual installer
1357 --disable-dependency-tracking speeds up one-time build
1358 --enable-dependency-tracking do not reject slow dependency extractors
1359 --enable-cam enable data acquisition
1360 --enable-trig enable (realtime) triggering
1361 --enable-rta=RTA_DIR place where the RTAI code resides
1362 (default /usr/lib/realtime)
1363 --enable-k=K_DIR place where the installed kernel
1364 headers resides
1365 (default /usr/src/kernel-headers-2.4.27-adeos)
1366 --enable-img-width=WIDTH maximum image width to be used (default SVGA)
1367 --enable-img-height=HEIGHT maximum image height to be used (default SVGA)
1368 --enable-canvas-aa Use Anti Aliased canvas for viewer; slower but
1369 better displaying of image and resulting data
1370 --enable-debug debug version (more verbose)
1371 --enable-mpi enable Message Protocol Interface (MPI)
1373 Some influential environment variables:
1374 CC C compiler command
1375 CFLAGS C compiler flags
1376 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1377 nonstandard directory <lib dir>
1378 LIBS libraries to pass to the linker, e.g. -l<library>
1379 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1380 you have headers in a nonstandard directory <include dir>
1381 CPP C preprocessor
1382 PKG_CONFIG path to pkg-config utility
1383 GPIV_UI_CFLAGS
1384 C compiler flags for GPIV_UI, overriding pkg-config
1385 GPIV_UI_LIBS
1386 linker flags for GPIV_UI, overriding pkg-config
1387 GPIV_PRINT_CFLAGS
1388 C compiler flags for GPIV_PRINT, overriding pkg-config
1389 GPIV_PRINT_LIBS
1390 linker flags for GPIV_PRINT, overriding pkg-config
1391 GPIV_CFLAGS C compiler flags for GPIV, overriding pkg-config
1392 GPIV_LIBS linker flags for GPIV, overriding pkg-config
1394 Use these variables to override the choices made by `configure' or to help
1395 it to find libraries and programs with nonstandard names/locations.
1397 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv>.
1398 _ACEOF
1399 ac_status=$?
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405 test -d "$ac_dir" || continue
1406 ac_builddir=.
1408 case "$ac_dir" in
1409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1417 esac ;;
1418 esac
1419 ac_abs_top_builddir=$ac_pwd
1420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir=$ac_top_build_prefix
1424 case $srcdir in
1425 .) # We are building in place.
1426 ac_srcdir=.
1427 ac_top_srcdir=$ac_top_builddir_sub
1428 ac_abs_top_srcdir=$ac_pwd ;;
1429 [\\/]* | ?:[\\/]* ) # Absolute name.
1430 ac_srcdir=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir=$srcdir
1432 ac_abs_top_srcdir=$srcdir ;;
1433 *) # Relative name.
1434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1437 esac
1438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" || { ac_status=$?; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1446 echo &&
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1448 else
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1450 fi || ac_status=$?
1451 cd "$ac_pwd" || { ac_status=$?; break; }
1452 done
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1457 cat <<\_ACEOF
1458 gpiv configure 0.6.0
1459 generated by GNU Autoconf 2.61
1461 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1463 This configure script is free software; the Free Software Foundation
1464 gives unlimited permission to copy, distribute and modify it.
1465 _ACEOF
1466 exit
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by gpiv $as_me 0.6.0, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1475 $ $0 $@
1477 _ACEOF
1478 exec 5>>config.log
1480 cat <<_ASUNAME
1481 ## --------- ##
1482 ## Platform. ##
1483 ## --------- ##
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502 _ASUNAME
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 for as_dir in $PATH
1507 IFS=$as_save_IFS
1508 test -z "$as_dir" && as_dir=.
1509 echo "PATH: $as_dir"
1510 done
1511 IFS=$as_save_IFS
1513 } >&5
1515 cat >&5 <<_ACEOF
1518 ## ----------- ##
1519 ## Core tests. ##
1520 ## ----------- ##
1522 _ACEOF
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1530 ac_configure_args=
1531 ac_configure_args0=
1532 ac_configure_args1=
1533 ac_must_keep_next=false
1534 for ac_pass in 1 2
1536 for ac_arg
1538 case $ac_arg in
1539 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541 | -silent | --silent | --silen | --sile | --sil)
1542 continue ;;
1543 *\'*)
1544 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 esac
1546 case $ac_pass in
1547 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true; then
1551 ac_must_keep_next=false # Got value, back to normal.
1552 else
1553 case $ac_arg in
1554 *=* | --config-cache | -C | -disable-* | --disable-* \
1555 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1556 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1557 | -with-* | --with-* | -without-* | --without-* | --x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 esac
1562 -* ) ac_must_keep_next=true ;;
1563 esac
1565 ac_configure_args="$ac_configure_args '$ac_arg'"
1567 esac
1568 done
1569 done
1570 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1571 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1581 echo
1583 cat <<\_ASBOX
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1587 _ASBOX
1588 echo
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1593 case $ac_val in #(
1594 *${as_nl}*)
1595 case $ac_var in #(
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1598 esac
1599 case $ac_var in #(
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1602 esac ;;
1603 esac
1604 done
1605 (set) 2>&1 |
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1608 sed -n \
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611 ;; #(
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1615 esac |
1616 sort
1618 echo
1620 cat <<\_ASBOX
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1624 _ASBOX
1625 echo
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1629 case $ac_val in
1630 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 esac
1632 echo "$ac_var='\''$ac_val'\''"
1633 done | sort
1634 echo
1636 if test -n "$ac_subst_files"; then
1637 cat <<\_ASBOX
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1641 _ASBOX
1642 echo
1643 for ac_var in $ac_subst_files
1645 eval ac_val=\$$ac_var
1646 case $ac_val in
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648 esac
1649 echo "$ac_var='\''$ac_val'\''"
1650 done | sort
1651 echo
1654 if test -s confdefs.h; then
1655 cat <<\_ASBOX
1656 ## ----------- ##
1657 ## confdefs.h. ##
1658 ## ----------- ##
1659 _ASBOX
1660 echo
1661 cat confdefs.h
1662 echo
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1667 } >&5
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670 exit $exit_status
1672 for ac_signal in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1674 done
1675 ac_signal=0
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1684 _ACEOF
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1689 _ACEOF
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1694 _ACEOF
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1699 _ACEOF
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1704 _ACEOF
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x "$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE; then
1712 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1713 else
1714 set x "$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1717 shift
1718 for ac_site_file
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1724 . "$ac_site_file"
1726 done
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1734 case $cache_file in
1735 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1736 *) . "./$cache_file";;
1737 esac
1739 else
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1742 >$cache_file
1745 # Check that the precious variables saved in the cache have kept the same
1746 # value.
1747 ac_cache_corrupted=false
1748 for ac_var in $ac_precious_vars; do
1749 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1750 eval ac_new_set=\$ac_env_${ac_var}_set
1751 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1752 eval ac_new_val=\$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1754 set,)
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted=: ;;
1758 ,set)
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted=: ;;
1762 ,);;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted=:
1772 fi;;
1773 esac
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1776 case $ac_new_val in
1777 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg=$ac_var=$ac_new_val ;;
1779 esac
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1783 esac
1785 done
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1818 ac_ext=c
1819 ac_cpp='$CPP $CPPFLAGS'
1820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1825 am__api_version="1.9"
1826 ac_aux_dir=
1827 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1828 if test -f "$ac_dir/install-sh"; then
1829 ac_aux_dir=$ac_dir
1830 ac_install_sh="$ac_aux_dir/install-sh -c"
1831 break
1832 elif test -f "$ac_dir/install.sh"; then
1833 ac_aux_dir=$ac_dir
1834 ac_install_sh="$ac_aux_dir/install.sh -c"
1835 break
1836 elif test -f "$ac_dir/shtool"; then
1837 ac_aux_dir=$ac_dir
1838 ac_install_sh="$ac_aux_dir/shtool install -c"
1839 break
1841 done
1842 if test -z "$ac_aux_dir"; then
1843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1844 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # These three variables are undocumented and unsupported,
1849 # and are intended to be withdrawn in a future Autoconf release.
1850 # They can cause serious problems if a builder's source tree is in a directory
1851 # whose full name contains unusual characters.
1852 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1853 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1854 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1857 # Find a good install program. We prefer a C program (faster),
1858 # so one script is as good as another. But avoid the broken or
1859 # incompatible versions:
1860 # SysV /etc/install, /usr/sbin/install
1861 # SunOS /usr/etc/install
1862 # IRIX /sbin/install
1863 # AIX /bin/install
1864 # AmigaOS /C/install, which installs bootblocks on floppy discs
1865 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1866 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1867 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1868 # OS/2's system install, which has a completely different semantic
1869 # ./install, which can be erroneously created by make from ./install.sh.
1870 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1871 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1872 if test -z "$INSTALL"; then
1873 if test "${ac_cv_path_install+set}" = set; then
1874 echo $ECHO_N "(cached) $ECHO_C" >&6
1875 else
1876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877 for as_dir in $PATH
1879 IFS=$as_save_IFS
1880 test -z "$as_dir" && as_dir=.
1881 # Account for people who put trailing slashes in PATH elements.
1882 case $as_dir/ in
1883 ./ | .// | /cC/* | \
1884 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1885 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1886 /usr/ucb/* ) ;;
1888 # OSF1 and SCO ODT 3.0 have their own names for install.
1889 # Don't use installbsd from OSF since it installs stuff as root
1890 # by default.
1891 for ac_prog in ginstall scoinst install; do
1892 for ac_exec_ext in '' $ac_executable_extensions; do
1893 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1894 if test $ac_prog = install &&
1895 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1896 # AIX install. It has an incompatible calling convention.
1898 elif test $ac_prog = install &&
1899 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1900 # program-specific install script used by HP pwplus--don't use.
1902 else
1903 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1904 break 3
1907 done
1908 done
1910 esac
1911 done
1912 IFS=$as_save_IFS
1916 if test "${ac_cv_path_install+set}" = set; then
1917 INSTALL=$ac_cv_path_install
1918 else
1919 # As a last resort, use the slow shell script. Don't cache a
1920 # value for INSTALL within a source directory, because that will
1921 # break other packages using the cache if that directory is
1922 # removed, or if the value is a relative name.
1923 INSTALL=$ac_install_sh
1926 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1927 echo "${ECHO_T}$INSTALL" >&6; }
1929 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1930 # It thinks the first close brace ends the variable substitution.
1931 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1933 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1935 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1937 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1938 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1939 # Just in case
1940 sleep 1
1941 echo timestamp > conftest.file
1942 # Do `set' in a subshell so we don't clobber the current shell's
1943 # arguments. Must try -L first in case configure is actually a
1944 # symlink; some systems play weird games with the mod time of symlinks
1945 # (eg FreeBSD returns the mod time of the symlink's containing
1946 # directory).
1947 if (
1948 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1949 if test "$*" = "X"; then
1950 # -L didn't work.
1951 set X `ls -t $srcdir/configure conftest.file`
1953 rm -f conftest.file
1954 if test "$*" != "X $srcdir/configure conftest.file" \
1955 && test "$*" != "X conftest.file $srcdir/configure"; then
1957 # If neither matched, then we have a broken ls. This can happen
1958 # if, for instance, CONFIG_SHELL is bash and it inherits a
1959 # broken ls alias from the environment. This has actually
1960 # happened. Such a system could not be considered "sane".
1961 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1962 alias in your environment" >&5
1963 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1964 alias in your environment" >&2;}
1965 { (exit 1); exit 1; }; }
1968 test "$2" = conftest.file
1970 then
1971 # Ok.
1973 else
1974 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1975 Check your system clock" >&5
1976 echo "$as_me: error: newly created file is older than distributed files!
1977 Check your system clock" >&2;}
1978 { (exit 1); exit 1; }; }
1980 { echo "$as_me:$LINENO: result: yes" >&5
1981 echo "${ECHO_T}yes" >&6; }
1982 test "$program_prefix" != NONE &&
1983 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1984 # Use a double $ so make ignores it.
1985 test "$program_suffix" != NONE &&
1986 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1987 # Double any \ or $. echo might interpret backslashes.
1988 # By default was `s,x,x', remove it if useless.
1989 cat <<\_ACEOF >conftest.sed
1990 s/[\\$]/&&/g;s/;s,x,x,$//
1991 _ACEOF
1992 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1993 rm -f conftest.sed
1995 # expand $ac_aux_dir to an absolute path
1996 am_aux_dir=`cd $ac_aux_dir && pwd`
1998 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1999 # Use eval to expand $SHELL
2000 if eval "$MISSING --run true"; then
2001 am_missing_run="$MISSING --run "
2002 else
2003 am_missing_run=
2004 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2005 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2008 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2009 # We used to keeping the `.' as first argument, in order to
2010 # allow $(mkdir_p) to be used without argument. As in
2011 # $(mkdir_p) $(somedir)
2012 # where $(somedir) is conditionally defined. However this is wrong
2013 # for two reasons:
2014 # 1. if the package is installed by a user who cannot write `.'
2015 # make install will fail,
2016 # 2. the above comment should most certainly read
2017 # $(mkdir_p) $(DESTDIR)$(somedir)
2018 # so it does not work when $(somedir) is undefined and
2019 # $(DESTDIR) is not.
2020 # To support the latter case, we have to write
2021 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2022 # so the `.' trick is pointless.
2023 mkdir_p='mkdir -p --'
2024 else
2025 # On NextStep and OpenStep, the `mkdir' command does not
2026 # recognize any option. It will interpret all options as
2027 # directories to create, and then abort because `.' already
2028 # exists.
2029 for d in ./-p ./--version;
2031 test -d $d && rmdir $d
2032 done
2033 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2034 if test -f "$ac_aux_dir/mkinstalldirs"; then
2035 mkdir_p='$(mkinstalldirs)'
2036 else
2037 mkdir_p='$(install_sh) -d'
2041 for ac_prog in gawk mawk nawk awk
2043 # Extract the first word of "$ac_prog", so it can be a program name with args.
2044 set dummy $ac_prog; ac_word=$2
2045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2047 if test "${ac_cv_prog_AWK+set}" = set; then
2048 echo $ECHO_N "(cached) $ECHO_C" >&6
2049 else
2050 if test -n "$AWK"; then
2051 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2052 else
2053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054 for as_dir in $PATH
2056 IFS=$as_save_IFS
2057 test -z "$as_dir" && as_dir=.
2058 for ac_exec_ext in '' $ac_executable_extensions; do
2059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2060 ac_cv_prog_AWK="$ac_prog"
2061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2062 break 2
2064 done
2065 done
2066 IFS=$as_save_IFS
2070 AWK=$ac_cv_prog_AWK
2071 if test -n "$AWK"; then
2072 { echo "$as_me:$LINENO: result: $AWK" >&5
2073 echo "${ECHO_T}$AWK" >&6; }
2074 else
2075 { echo "$as_me:$LINENO: result: no" >&5
2076 echo "${ECHO_T}no" >&6; }
2080 test -n "$AWK" && break
2081 done
2083 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2084 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2085 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2086 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2087 echo $ECHO_N "(cached) $ECHO_C" >&6
2088 else
2089 cat >conftest.make <<\_ACEOF
2090 SHELL = /bin/sh
2091 all:
2092 @echo '@@@%%%=$(MAKE)=@@@%%%'
2093 _ACEOF
2094 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2095 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2096 *@@@%%%=?*=@@@%%%*)
2097 eval ac_cv_prog_make_${ac_make}_set=yes;;
2099 eval ac_cv_prog_make_${ac_make}_set=no;;
2100 esac
2101 rm -f conftest.make
2103 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2104 { echo "$as_me:$LINENO: result: yes" >&5
2105 echo "${ECHO_T}yes" >&6; }
2106 SET_MAKE=
2107 else
2108 { echo "$as_me:$LINENO: result: no" >&5
2109 echo "${ECHO_T}no" >&6; }
2110 SET_MAKE="MAKE=${MAKE-make}"
2113 rm -rf .tst 2>/dev/null
2114 mkdir .tst 2>/dev/null
2115 if test -d .tst; then
2116 am__leading_dot=.
2117 else
2118 am__leading_dot=_
2120 rmdir .tst 2>/dev/null
2122 # test to see if srcdir already configured
2123 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2124 test -f $srcdir/config.status; then
2125 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2126 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2127 { (exit 1); exit 1; }; }
2130 # test whether we have cygpath
2131 if test -z "$CYGPATH_W"; then
2132 if (cygpath --version) >/dev/null 2>/dev/null; then
2133 CYGPATH_W='cygpath -w'
2134 else
2135 CYGPATH_W=echo
2140 # Define the identity of the package.
2141 PACKAGE=gpiv
2142 VERSION=0.6.0
2145 cat >>confdefs.h <<_ACEOF
2146 #define PACKAGE "$PACKAGE"
2147 _ACEOF
2150 cat >>confdefs.h <<_ACEOF
2151 #define VERSION "$VERSION"
2152 _ACEOF
2154 # Some tools Automake needs.
2156 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2159 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2162 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2165 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2168 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2170 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2172 # Installed binaries are usually stripped using `strip' when the user
2173 # run `make install-strip'. However `strip' might not be the right
2174 # tool to use in cross-compilation environments, therefore Automake
2175 # will honor the `STRIP' environment variable to overrule this program.
2176 if test "$cross_compiling" != no; then
2177 if test -n "$ac_tool_prefix"; then
2178 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2179 set dummy ${ac_tool_prefix}strip; ac_word=$2
2180 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2182 if test "${ac_cv_prog_STRIP+set}" = set; then
2183 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 else
2185 if test -n "$STRIP"; then
2186 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2187 else
2188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2189 for as_dir in $PATH
2191 IFS=$as_save_IFS
2192 test -z "$as_dir" && as_dir=.
2193 for ac_exec_ext in '' $ac_executable_extensions; do
2194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2195 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2197 break 2
2199 done
2200 done
2201 IFS=$as_save_IFS
2205 STRIP=$ac_cv_prog_STRIP
2206 if test -n "$STRIP"; then
2207 { echo "$as_me:$LINENO: result: $STRIP" >&5
2208 echo "${ECHO_T}$STRIP" >&6; }
2209 else
2210 { echo "$as_me:$LINENO: result: no" >&5
2211 echo "${ECHO_T}no" >&6; }
2216 if test -z "$ac_cv_prog_STRIP"; then
2217 ac_ct_STRIP=$STRIP
2218 # Extract the first word of "strip", so it can be a program name with args.
2219 set dummy strip; ac_word=$2
2220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2222 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2224 else
2225 if test -n "$ac_ct_STRIP"; then
2226 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2227 else
2228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229 for as_dir in $PATH
2231 IFS=$as_save_IFS
2232 test -z "$as_dir" && as_dir=.
2233 for ac_exec_ext in '' $ac_executable_extensions; do
2234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2235 ac_cv_prog_ac_ct_STRIP="strip"
2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2237 break 2
2239 done
2240 done
2241 IFS=$as_save_IFS
2245 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2246 if test -n "$ac_ct_STRIP"; then
2247 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2248 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2249 else
2250 { echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6; }
2254 if test "x$ac_ct_STRIP" = x; then
2255 STRIP=":"
2256 else
2257 case $cross_compiling:$ac_tool_warned in
2258 yes:)
2259 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2260 whose name does not start with the host triplet. If you think this
2261 configuration is useful to you, please write to autoconf@gnu.org." >&5
2262 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2263 whose name does not start with the host triplet. If you think this
2264 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2265 ac_tool_warned=yes ;;
2266 esac
2267 STRIP=$ac_ct_STRIP
2269 else
2270 STRIP="$ac_cv_prog_STRIP"
2274 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2276 # We need awk for the "check" target. The system "awk" is bad on
2277 # some platforms.
2278 # Always define AMTAR for backward compatibility.
2280 AMTAR=${AMTAR-"${am_missing_run}tar"}
2282 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2288 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2289 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2290 # Check whether --enable-maintainer-mode was given.
2291 if test "${enable_maintainer_mode+set}" = set; then
2292 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2293 else
2294 USE_MAINTAINER_MODE=no
2297 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2298 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2301 if test $USE_MAINTAINER_MODE = yes; then
2302 MAINTAINER_MODE_TRUE=
2303 MAINTAINER_MODE_FALSE='#'
2304 else
2305 MAINTAINER_MODE_TRUE='#'
2306 MAINTAINER_MODE_FALSE=
2309 MAINT=$MAINTAINER_MODE_TRUE
2314 DEPDIR="${am__leading_dot}deps"
2316 ac_config_commands="$ac_config_commands depfiles"
2319 am_make=${MAKE-make}
2320 cat > confinc << 'END'
2321 am__doit:
2322 @echo done
2323 .PHONY: am__doit
2325 # If we don't find an include directive, just comment out the code.
2326 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2327 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2328 am__include="#"
2329 am__quote=
2330 _am_result=none
2331 # First try GNU make style include.
2332 echo "include confinc" > confmf
2333 # We grep out `Entering directory' and `Leaving directory'
2334 # messages which can occur if `w' ends up in MAKEFLAGS.
2335 # In particular we don't look at `^make:' because GNU make might
2336 # be invoked under some other name (usually "gmake"), in which
2337 # case it prints its new name instead of `make'.
2338 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2339 am__include=include
2340 am__quote=
2341 _am_result=GNU
2343 # Now try BSD make style include.
2344 if test "$am__include" = "#"; then
2345 echo '.include "confinc"' > confmf
2346 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2347 am__include=.include
2348 am__quote="\""
2349 _am_result=BSD
2354 { echo "$as_me:$LINENO: result: $_am_result" >&5
2355 echo "${ECHO_T}$_am_result" >&6; }
2356 rm -f confinc confmf
2358 # Check whether --enable-dependency-tracking was given.
2359 if test "${enable_dependency_tracking+set}" = set; then
2360 enableval=$enable_dependency_tracking;
2363 if test "x$enable_dependency_tracking" != xno; then
2364 am_depcomp="$ac_aux_dir/depcomp"
2365 AMDEPBACKSLASH='\'
2369 if test "x$enable_dependency_tracking" != xno; then
2370 AMDEP_TRUE=
2371 AMDEP_FALSE='#'
2372 else
2373 AMDEP_TRUE='#'
2374 AMDEP_FALSE=
2379 ac_ext=c
2380 ac_cpp='$CPP $CPPFLAGS'
2381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2384 if test -n "$ac_tool_prefix"; then
2385 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2386 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2389 if test "${ac_cv_prog_CC+set}" = set; then
2390 echo $ECHO_N "(cached) $ECHO_C" >&6
2391 else
2392 if test -n "$CC"; then
2393 ac_cv_prog_CC="$CC" # Let the user override the test.
2394 else
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396 for as_dir in $PATH
2398 IFS=$as_save_IFS
2399 test -z "$as_dir" && as_dir=.
2400 for ac_exec_ext in '' $ac_executable_extensions; do
2401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2402 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 break 2
2406 done
2407 done
2408 IFS=$as_save_IFS
2412 CC=$ac_cv_prog_CC
2413 if test -n "$CC"; then
2414 { echo "$as_me:$LINENO: result: $CC" >&5
2415 echo "${ECHO_T}$CC" >&6; }
2416 else
2417 { echo "$as_me:$LINENO: result: no" >&5
2418 echo "${ECHO_T}no" >&6; }
2423 if test -z "$ac_cv_prog_CC"; then
2424 ac_ct_CC=$CC
2425 # Extract the first word of "gcc", so it can be a program name with args.
2426 set dummy gcc; ac_word=$2
2427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2429 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 else
2432 if test -n "$ac_ct_CC"; then
2433 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2434 else
2435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436 for as_dir in $PATH
2438 IFS=$as_save_IFS
2439 test -z "$as_dir" && as_dir=.
2440 for ac_exec_ext in '' $ac_executable_extensions; do
2441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2442 ac_cv_prog_ac_ct_CC="gcc"
2443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2444 break 2
2446 done
2447 done
2448 IFS=$as_save_IFS
2452 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2453 if test -n "$ac_ct_CC"; then
2454 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2455 echo "${ECHO_T}$ac_ct_CC" >&6; }
2456 else
2457 { echo "$as_me:$LINENO: result: no" >&5
2458 echo "${ECHO_T}no" >&6; }
2461 if test "x$ac_ct_CC" = x; then
2462 CC=""
2463 else
2464 case $cross_compiling:$ac_tool_warned in
2465 yes:)
2466 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2467 whose name does not start with the host triplet. If you think this
2468 configuration is useful to you, please write to autoconf@gnu.org." >&5
2469 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2470 whose name does not start with the host triplet. If you think this
2471 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2472 ac_tool_warned=yes ;;
2473 esac
2474 CC=$ac_ct_CC
2476 else
2477 CC="$ac_cv_prog_CC"
2480 if test -z "$CC"; then
2481 if test -n "$ac_tool_prefix"; then
2482 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2483 set dummy ${ac_tool_prefix}cc; ac_word=$2
2484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2486 if test "${ac_cv_prog_CC+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 else
2489 if test -n "$CC"; then
2490 ac_cv_prog_CC="$CC" # Let the user override the test.
2491 else
2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 for as_dir in $PATH
2495 IFS=$as_save_IFS
2496 test -z "$as_dir" && as_dir=.
2497 for ac_exec_ext in '' $ac_executable_extensions; do
2498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2499 ac_cv_prog_CC="${ac_tool_prefix}cc"
2500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 break 2
2503 done
2504 done
2505 IFS=$as_save_IFS
2509 CC=$ac_cv_prog_CC
2510 if test -n "$CC"; then
2511 { echo "$as_me:$LINENO: result: $CC" >&5
2512 echo "${ECHO_T}$CC" >&6; }
2513 else
2514 { echo "$as_me:$LINENO: result: no" >&5
2515 echo "${ECHO_T}no" >&6; }
2521 if test -z "$CC"; then
2522 # Extract the first word of "cc", so it can be a program name with args.
2523 set dummy cc; ac_word=$2
2524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2526 if test "${ac_cv_prog_CC+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2528 else
2529 if test -n "$CC"; then
2530 ac_cv_prog_CC="$CC" # Let the user override the test.
2531 else
2532 ac_prog_rejected=no
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534 for as_dir in $PATH
2536 IFS=$as_save_IFS
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2540 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2541 ac_prog_rejected=yes
2542 continue
2544 ac_cv_prog_CC="cc"
2545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2546 break 2
2548 done
2549 done
2550 IFS=$as_save_IFS
2552 if test $ac_prog_rejected = yes; then
2553 # We found a bogon in the path, so make sure we never use it.
2554 set dummy $ac_cv_prog_CC
2555 shift
2556 if test $# != 0; then
2557 # We chose a different compiler from the bogus one.
2558 # However, it has the same basename, so the bogon will be chosen
2559 # first if we set CC to just the basename; use the full file name.
2560 shift
2561 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2566 CC=$ac_cv_prog_CC
2567 if test -n "$CC"; then
2568 { echo "$as_me:$LINENO: result: $CC" >&5
2569 echo "${ECHO_T}$CC" >&6; }
2570 else
2571 { echo "$as_me:$LINENO: result: no" >&5
2572 echo "${ECHO_T}no" >&6; }
2577 if test -z "$CC"; then
2578 if test -n "$ac_tool_prefix"; then
2579 for ac_prog in cl.exe
2581 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2582 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2583 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2585 if test "${ac_cv_prog_CC+set}" = set; then
2586 echo $ECHO_N "(cached) $ECHO_C" >&6
2587 else
2588 if test -n "$CC"; then
2589 ac_cv_prog_CC="$CC" # Let the user override the test.
2590 else
2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 for as_dir in $PATH
2594 IFS=$as_save_IFS
2595 test -z "$as_dir" && as_dir=.
2596 for ac_exec_ext in '' $ac_executable_extensions; do
2597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2598 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 break 2
2602 done
2603 done
2604 IFS=$as_save_IFS
2608 CC=$ac_cv_prog_CC
2609 if test -n "$CC"; then
2610 { echo "$as_me:$LINENO: result: $CC" >&5
2611 echo "${ECHO_T}$CC" >&6; }
2612 else
2613 { echo "$as_me:$LINENO: result: no" >&5
2614 echo "${ECHO_T}no" >&6; }
2618 test -n "$CC" && break
2619 done
2621 if test -z "$CC"; then
2622 ac_ct_CC=$CC
2623 for ac_prog in cl.exe
2625 # Extract the first word of "$ac_prog", so it can be a program name with args.
2626 set dummy $ac_prog; ac_word=$2
2627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2629 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 else
2632 if test -n "$ac_ct_CC"; then
2633 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2634 else
2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 for as_dir in $PATH
2638 IFS=$as_save_IFS
2639 test -z "$as_dir" && as_dir=.
2640 for ac_exec_ext in '' $ac_executable_extensions; do
2641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2642 ac_cv_prog_ac_ct_CC="$ac_prog"
2643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 break 2
2646 done
2647 done
2648 IFS=$as_save_IFS
2652 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2653 if test -n "$ac_ct_CC"; then
2654 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2655 echo "${ECHO_T}$ac_ct_CC" >&6; }
2656 else
2657 { echo "$as_me:$LINENO: result: no" >&5
2658 echo "${ECHO_T}no" >&6; }
2662 test -n "$ac_ct_CC" && break
2663 done
2665 if test "x$ac_ct_CC" = x; then
2666 CC=""
2667 else
2668 case $cross_compiling:$ac_tool_warned in
2669 yes:)
2670 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2671 whose name does not start with the host triplet. If you think this
2672 configuration is useful to you, please write to autoconf@gnu.org." >&5
2673 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2674 whose name does not start with the host triplet. If you think this
2675 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2676 ac_tool_warned=yes ;;
2677 esac
2678 CC=$ac_ct_CC
2685 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2686 See \`config.log' for more details." >&5
2687 echo "$as_me: error: no acceptable C compiler found in \$PATH
2688 See \`config.log' for more details." >&2;}
2689 { (exit 1); exit 1; }; }
2691 # Provide some information about the compiler.
2692 echo "$as_me:$LINENO: checking for C compiler version" >&5
2693 ac_compiler=`set X $ac_compile; echo $2`
2694 { (ac_try="$ac_compiler --version >&5"
2695 case "(($ac_try" in
2696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2698 esac
2699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2700 (eval "$ac_compiler --version >&5") 2>&5
2701 ac_status=$?
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); }
2704 { (ac_try="$ac_compiler -v >&5"
2705 case "(($ac_try" in
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2708 esac
2709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2710 (eval "$ac_compiler -v >&5") 2>&5
2711 ac_status=$?
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }
2714 { (ac_try="$ac_compiler -V >&5"
2715 case "(($ac_try" in
2716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2717 *) ac_try_echo=$ac_try;;
2718 esac
2719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2720 (eval "$ac_compiler -V >&5") 2>&5
2721 ac_status=$?
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); }
2725 cat >conftest.$ac_ext <<_ACEOF
2726 /* confdefs.h. */
2727 _ACEOF
2728 cat confdefs.h >>conftest.$ac_ext
2729 cat >>conftest.$ac_ext <<_ACEOF
2730 /* end confdefs.h. */
2733 main ()
2737 return 0;
2739 _ACEOF
2740 ac_clean_files_save=$ac_clean_files
2741 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2742 # Try to create an executable without -o first, disregard a.out.
2743 # It will help us diagnose broken compilers, and finding out an intuition
2744 # of exeext.
2745 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2746 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2747 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2749 # List of possible output files, starting from the most likely.
2750 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2751 # only as a last resort. b.out is created by i960 compilers.
2752 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2754 # The IRIX 6 linker writes into existing files which may not be
2755 # executable, retaining their permissions. Remove them first so a
2756 # subsequent execution test works.
2757 ac_rmfiles=
2758 for ac_file in $ac_files
2760 case $ac_file in
2761 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2762 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2763 esac
2764 done
2765 rm -f $ac_rmfiles
2767 if { (ac_try="$ac_link_default"
2768 case "(($ac_try" in
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2771 esac
2772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2773 (eval "$ac_link_default") 2>&5
2774 ac_status=$?
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; then
2777 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2778 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2779 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2780 # so that the user can short-circuit this test for compilers unknown to
2781 # Autoconf.
2782 for ac_file in $ac_files ''
2784 test -f "$ac_file" || continue
2785 case $ac_file in
2786 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2788 [ab].out )
2789 # We found the default executable, but exeext='' is most
2790 # certainly right.
2791 break;;
2792 *.* )
2793 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2794 then :; else
2795 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2797 # We set ac_cv_exeext here because the later test for it is not
2798 # safe: cross compilers may not add the suffix if given an `-o'
2799 # argument, so we may need to know it at that point already.
2800 # Even if this section looks crufty: it has the advantage of
2801 # actually working.
2802 break;;
2804 break;;
2805 esac
2806 done
2807 test "$ac_cv_exeext" = no && ac_cv_exeext=
2809 else
2810 ac_file=''
2813 { echo "$as_me:$LINENO: result: $ac_file" >&5
2814 echo "${ECHO_T}$ac_file" >&6; }
2815 if test -z "$ac_file"; then
2816 echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2819 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2820 See \`config.log' for more details." >&5
2821 echo "$as_me: error: C compiler cannot create executables
2822 See \`config.log' for more details." >&2;}
2823 { (exit 77); exit 77; }; }
2826 ac_exeext=$ac_cv_exeext
2828 # Check that the compiler produces executables we can run. If not, either
2829 # the compiler is broken, or we cross compile.
2830 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2831 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2832 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2833 # If not cross compiling, check that we can run a simple program.
2834 if test "$cross_compiling" != yes; then
2835 if { ac_try='./$ac_file'
2836 { (case "(($ac_try" in
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2839 esac
2840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2841 (eval "$ac_try") 2>&5
2842 ac_status=$?
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; }; then
2845 cross_compiling=no
2846 else
2847 if test "$cross_compiling" = maybe; then
2848 cross_compiling=yes
2849 else
2850 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2851 If you meant to cross compile, use \`--host'.
2852 See \`config.log' for more details." >&5
2853 echo "$as_me: error: cannot run C compiled programs.
2854 If you meant to cross compile, use \`--host'.
2855 See \`config.log' for more details." >&2;}
2856 { (exit 1); exit 1; }; }
2860 { echo "$as_me:$LINENO: result: yes" >&5
2861 echo "${ECHO_T}yes" >&6; }
2863 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2864 ac_clean_files=$ac_clean_files_save
2865 # Check that the compiler produces executables we can run. If not, either
2866 # the compiler is broken, or we cross compile.
2867 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2868 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2869 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2870 echo "${ECHO_T}$cross_compiling" >&6; }
2872 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2873 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2874 if { (ac_try="$ac_link"
2875 case "(($ac_try" in
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2878 esac
2879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2880 (eval "$ac_link") 2>&5
2881 ac_status=$?
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }; then
2884 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2885 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2886 # work properly (i.e., refer to `conftest.exe'), while it won't with
2887 # `rm'.
2888 for ac_file in conftest.exe conftest conftest.*; do
2889 test -f "$ac_file" || continue
2890 case $ac_file in
2891 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2892 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2893 break;;
2894 * ) break;;
2895 esac
2896 done
2897 else
2898 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2899 See \`config.log' for more details." >&5
2900 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2901 See \`config.log' for more details." >&2;}
2902 { (exit 1); exit 1; }; }
2905 rm -f conftest$ac_cv_exeext
2906 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2907 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2909 rm -f conftest.$ac_ext
2910 EXEEXT=$ac_cv_exeext
2911 ac_exeext=$EXEEXT
2912 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2913 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2914 if test "${ac_cv_objext+set}" = set; then
2915 echo $ECHO_N "(cached) $ECHO_C" >&6
2916 else
2917 cat >conftest.$ac_ext <<_ACEOF
2918 /* confdefs.h. */
2919 _ACEOF
2920 cat confdefs.h >>conftest.$ac_ext
2921 cat >>conftest.$ac_ext <<_ACEOF
2922 /* end confdefs.h. */
2925 main ()
2929 return 0;
2931 _ACEOF
2932 rm -f conftest.o conftest.obj
2933 if { (ac_try="$ac_compile"
2934 case "(($ac_try" in
2935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2936 *) ac_try_echo=$ac_try;;
2937 esac
2938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2939 (eval "$ac_compile") 2>&5
2940 ac_status=$?
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); }; then
2943 for ac_file in conftest.o conftest.obj conftest.*; do
2944 test -f "$ac_file" || continue;
2945 case $ac_file in
2946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2947 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2948 break;;
2949 esac
2950 done
2951 else
2952 echo "$as_me: failed program was:" >&5
2953 sed 's/^/| /' conftest.$ac_ext >&5
2955 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2956 See \`config.log' for more details." >&5
2957 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2958 See \`config.log' for more details." >&2;}
2959 { (exit 1); exit 1; }; }
2962 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2964 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2965 echo "${ECHO_T}$ac_cv_objext" >&6; }
2966 OBJEXT=$ac_cv_objext
2967 ac_objext=$OBJEXT
2968 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2969 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2970 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2971 echo $ECHO_N "(cached) $ECHO_C" >&6
2972 else
2973 cat >conftest.$ac_ext <<_ACEOF
2974 /* confdefs.h. */
2975 _ACEOF
2976 cat confdefs.h >>conftest.$ac_ext
2977 cat >>conftest.$ac_ext <<_ACEOF
2978 /* end confdefs.h. */
2981 main ()
2983 #ifndef __GNUC__
2984 choke me
2985 #endif
2988 return 0;
2990 _ACEOF
2991 rm -f conftest.$ac_objext
2992 if { (ac_try="$ac_compile"
2993 case "(($ac_try" in
2994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2995 *) ac_try_echo=$ac_try;;
2996 esac
2997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2998 (eval "$ac_compile") 2>conftest.er1
2999 ac_status=$?
3000 grep -v '^ *+' conftest.er1 >conftest.err
3001 rm -f conftest.er1
3002 cat conftest.err >&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); } && {
3005 test -z "$ac_c_werror_flag" ||
3006 test ! -s conftest.err
3007 } && test -s conftest.$ac_objext; then
3008 ac_compiler_gnu=yes
3009 else
3010 echo "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.$ac_ext >&5
3013 ac_compiler_gnu=no
3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3017 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3020 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3021 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3022 GCC=`test $ac_compiler_gnu = yes && echo yes`
3023 ac_test_CFLAGS=${CFLAGS+set}
3024 ac_save_CFLAGS=$CFLAGS
3025 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3026 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3027 if test "${ac_cv_prog_cc_g+set}" = set; then
3028 echo $ECHO_N "(cached) $ECHO_C" >&6
3029 else
3030 ac_save_c_werror_flag=$ac_c_werror_flag
3031 ac_c_werror_flag=yes
3032 ac_cv_prog_cc_g=no
3033 CFLAGS="-g"
3034 cat >conftest.$ac_ext <<_ACEOF
3035 /* confdefs.h. */
3036 _ACEOF
3037 cat confdefs.h >>conftest.$ac_ext
3038 cat >>conftest.$ac_ext <<_ACEOF
3039 /* end confdefs.h. */
3042 main ()
3046 return 0;
3048 _ACEOF
3049 rm -f conftest.$ac_objext
3050 if { (ac_try="$ac_compile"
3051 case "(($ac_try" in
3052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3053 *) ac_try_echo=$ac_try;;
3054 esac
3055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3056 (eval "$ac_compile") 2>conftest.er1
3057 ac_status=$?
3058 grep -v '^ *+' conftest.er1 >conftest.err
3059 rm -f conftest.er1
3060 cat conftest.err >&5
3061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062 (exit $ac_status); } && {
3063 test -z "$ac_c_werror_flag" ||
3064 test ! -s conftest.err
3065 } && test -s conftest.$ac_objext; then
3066 ac_cv_prog_cc_g=yes
3067 else
3068 echo "$as_me: failed program was:" >&5
3069 sed 's/^/| /' conftest.$ac_ext >&5
3071 CFLAGS=""
3072 cat >conftest.$ac_ext <<_ACEOF
3073 /* confdefs.h. */
3074 _ACEOF
3075 cat confdefs.h >>conftest.$ac_ext
3076 cat >>conftest.$ac_ext <<_ACEOF
3077 /* end confdefs.h. */
3080 main ()
3084 return 0;
3086 _ACEOF
3087 rm -f conftest.$ac_objext
3088 if { (ac_try="$ac_compile"
3089 case "(($ac_try" in
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3092 esac
3093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3094 (eval "$ac_compile") 2>conftest.er1
3095 ac_status=$?
3096 grep -v '^ *+' conftest.er1 >conftest.err
3097 rm -f conftest.er1
3098 cat conftest.err >&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); } && {
3101 test -z "$ac_c_werror_flag" ||
3102 test ! -s conftest.err
3103 } && test -s conftest.$ac_objext; then
3105 else
3106 echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3109 ac_c_werror_flag=$ac_save_c_werror_flag
3110 CFLAGS="-g"
3111 cat >conftest.$ac_ext <<_ACEOF
3112 /* confdefs.h. */
3113 _ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3119 main ()
3123 return 0;
3125 _ACEOF
3126 rm -f conftest.$ac_objext
3127 if { (ac_try="$ac_compile"
3128 case "(($ac_try" in
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3131 esac
3132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3133 (eval "$ac_compile") 2>conftest.er1
3134 ac_status=$?
3135 grep -v '^ *+' conftest.er1 >conftest.err
3136 rm -f conftest.er1
3137 cat conftest.err >&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } && {
3140 test -z "$ac_c_werror_flag" ||
3141 test ! -s conftest.err
3142 } && test -s conftest.$ac_objext; then
3143 ac_cv_prog_cc_g=yes
3144 else
3145 echo "$as_me: failed program was:" >&5
3146 sed 's/^/| /' conftest.$ac_ext >&5
3151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158 ac_c_werror_flag=$ac_save_c_werror_flag
3160 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3161 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3162 if test "$ac_test_CFLAGS" = set; then
3163 CFLAGS=$ac_save_CFLAGS
3164 elif test $ac_cv_prog_cc_g = yes; then
3165 if test "$GCC" = yes; then
3166 CFLAGS="-g -O2"
3167 else
3168 CFLAGS="-g"
3170 else
3171 if test "$GCC" = yes; then
3172 CFLAGS="-O2"
3173 else
3174 CFLAGS=
3177 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3178 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3179 if test "${ac_cv_prog_cc_c89+set}" = set; then
3180 echo $ECHO_N "(cached) $ECHO_C" >&6
3181 else
3182 ac_cv_prog_cc_c89=no
3183 ac_save_CC=$CC
3184 cat >conftest.$ac_ext <<_ACEOF
3185 /* confdefs.h. */
3186 _ACEOF
3187 cat confdefs.h >>conftest.$ac_ext
3188 cat >>conftest.$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3190 #include <stdarg.h>
3191 #include <stdio.h>
3192 #include <sys/types.h>
3193 #include <sys/stat.h>
3194 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3195 struct buf { int x; };
3196 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3197 static char *e (p, i)
3198 char **p;
3199 int i;
3201 return p[i];
3203 static char *f (char * (*g) (char **, int), char **p, ...)
3205 char *s;
3206 va_list v;
3207 va_start (v,p);
3208 s = g (p, va_arg (v,int));
3209 va_end (v);
3210 return s;
3213 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3214 function prototypes and stuff, but not '\xHH' hex character constants.
3215 These don't provoke an error unfortunately, instead are silently treated
3216 as 'x'. The following induces an error, until -std is added to get
3217 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3218 array size at least. It's necessary to write '\x00'==0 to get something
3219 that's true only with -std. */
3220 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3222 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3223 inside strings and character constants. */
3224 #define FOO(x) 'x'
3225 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3227 int test (int i, double x);
3228 struct s1 {int (*f) (int a);};
3229 struct s2 {int (*f) (double a);};
3230 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3231 int argc;
3232 char **argv;
3234 main ()
3236 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3238 return 0;
3240 _ACEOF
3241 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3242 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3244 CC="$ac_save_CC $ac_arg"
3245 rm -f conftest.$ac_objext
3246 if { (ac_try="$ac_compile"
3247 case "(($ac_try" in
3248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3249 *) ac_try_echo=$ac_try;;
3250 esac
3251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3252 (eval "$ac_compile") 2>conftest.er1
3253 ac_status=$?
3254 grep -v '^ *+' conftest.er1 >conftest.err
3255 rm -f conftest.er1
3256 cat conftest.err >&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); } && {
3259 test -z "$ac_c_werror_flag" ||
3260 test ! -s conftest.err
3261 } && test -s conftest.$ac_objext; then
3262 ac_cv_prog_cc_c89=$ac_arg
3263 else
3264 echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3270 rm -f core conftest.err conftest.$ac_objext
3271 test "x$ac_cv_prog_cc_c89" != "xno" && break
3272 done
3273 rm -f conftest.$ac_ext
3274 CC=$ac_save_CC
3277 # AC_CACHE_VAL
3278 case "x$ac_cv_prog_cc_c89" in
3280 { echo "$as_me:$LINENO: result: none needed" >&5
3281 echo "${ECHO_T}none needed" >&6; } ;;
3282 xno)
3283 { echo "$as_me:$LINENO: result: unsupported" >&5
3284 echo "${ECHO_T}unsupported" >&6; } ;;
3286 CC="$CC $ac_cv_prog_cc_c89"
3287 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3288 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3289 esac
3292 ac_ext=c
3293 ac_cpp='$CPP $CPPFLAGS'
3294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3298 depcc="$CC" am_compiler_list=
3300 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3301 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3302 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3303 echo $ECHO_N "(cached) $ECHO_C" >&6
3304 else
3305 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3306 # We make a subdir and do the tests there. Otherwise we can end up
3307 # making bogus files that we don't know about and never remove. For
3308 # instance it was reported that on HP-UX the gcc test will end up
3309 # making a dummy file named `D' -- because `-MD' means `put the output
3310 # in D'.
3311 mkdir conftest.dir
3312 # Copy depcomp to subdir because otherwise we won't find it if we're
3313 # using a relative directory.
3314 cp "$am_depcomp" conftest.dir
3315 cd conftest.dir
3316 # We will build objects and dependencies in a subdirectory because
3317 # it helps to detect inapplicable dependency modes. For instance
3318 # both Tru64's cc and ICC support -MD to output dependencies as a
3319 # side effect of compilation, but ICC will put the dependencies in
3320 # the current directory while Tru64 will put them in the object
3321 # directory.
3322 mkdir sub
3324 am_cv_CC_dependencies_compiler_type=none
3325 if test "$am_compiler_list" = ""; then
3326 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3328 for depmode in $am_compiler_list; do
3329 # Setup a source with many dependencies, because some compilers
3330 # like to wrap large dependency lists on column 80 (with \), and
3331 # we should not choose a depcomp mode which is confused by this.
3333 # We need to recreate these files for each test, as the compiler may
3334 # overwrite some of them when testing with obscure command lines.
3335 # This happens at least with the AIX C compiler.
3336 : > sub/conftest.c
3337 for i in 1 2 3 4 5 6; do
3338 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3339 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3340 # Solaris 8's {/usr,}/bin/sh.
3341 touch sub/conftst$i.h
3342 done
3343 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3345 case $depmode in
3346 nosideeffect)
3347 # after this tag, mechanisms are not by side-effect, so they'll
3348 # only be used when explicitly requested
3349 if test "x$enable_dependency_tracking" = xyes; then
3350 continue
3351 else
3352 break
3355 none) break ;;
3356 esac
3357 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3358 # mode. It turns out that the SunPro C++ compiler does not properly
3359 # handle `-M -o', and we need to detect this.
3360 if depmode=$depmode \
3361 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3362 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3363 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3364 >/dev/null 2>conftest.err &&
3365 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3366 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3367 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3368 # icc doesn't choke on unknown options, it will just issue warnings
3369 # or remarks (even with -Werror). So we grep stderr for any message
3370 # that says an option was ignored or not supported.
3371 # When given -MP, icc 7.0 and 7.1 complain thusly:
3372 # icc: Command line warning: ignoring option '-M'; no argument required
3373 # The diagnosis changed in icc 8.0:
3374 # icc: Command line remark: option '-MP' not supported
3375 if (grep 'ignoring option' conftest.err ||
3376 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3377 am_cv_CC_dependencies_compiler_type=$depmode
3378 break
3381 done
3383 cd ..
3384 rm -rf conftest.dir
3385 else
3386 am_cv_CC_dependencies_compiler_type=none
3390 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3391 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3392 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3397 test "x$enable_dependency_tracking" != xno \
3398 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3399 am__fastdepCC_TRUE=
3400 am__fastdepCC_FALSE='#'
3401 else
3402 am__fastdepCC_TRUE='#'
3403 am__fastdepCC_FALSE=
3408 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
3409 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3410 if test "${ac_cv_search_strerror+set}" = set; then
3411 echo $ECHO_N "(cached) $ECHO_C" >&6
3412 else
3413 ac_func_search_save_LIBS=$LIBS
3414 cat >conftest.$ac_ext <<_ACEOF
3415 /* confdefs.h. */
3416 _ACEOF
3417 cat confdefs.h >>conftest.$ac_ext
3418 cat >>conftest.$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3421 /* Override any GCC internal prototype to avoid an error.
3422 Use char because int might match the return type of a GCC
3423 builtin and then its argument prototype would still apply. */
3424 #ifdef __cplusplus
3425 extern "C"
3426 #endif
3427 char strerror ();
3429 main ()
3431 return strerror ();
3433 return 0;
3435 _ACEOF
3436 for ac_lib in '' cposix; do
3437 if test -z "$ac_lib"; then
3438 ac_res="none required"
3439 else
3440 ac_res=-l$ac_lib
3441 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3443 rm -f conftest.$ac_objext conftest$ac_exeext
3444 if { (ac_try="$ac_link"
3445 case "(($ac_try" in
3446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3447 *) ac_try_echo=$ac_try;;
3448 esac
3449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3450 (eval "$ac_link") 2>conftest.er1
3451 ac_status=$?
3452 grep -v '^ *+' conftest.er1 >conftest.err
3453 rm -f conftest.er1
3454 cat conftest.err >&5
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); } && {
3457 test -z "$ac_c_werror_flag" ||
3458 test ! -s conftest.err
3459 } && test -s conftest$ac_exeext &&
3460 $as_test_x conftest$ac_exeext; then
3461 ac_cv_search_strerror=$ac_res
3462 else
3463 echo "$as_me: failed program was:" >&5
3464 sed 's/^/| /' conftest.$ac_ext >&5
3469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3470 conftest$ac_exeext
3471 if test "${ac_cv_search_strerror+set}" = set; then
3472 break
3474 done
3475 if test "${ac_cv_search_strerror+set}" = set; then
3477 else
3478 ac_cv_search_strerror=no
3480 rm conftest.$ac_ext
3481 LIBS=$ac_func_search_save_LIBS
3483 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3484 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3485 ac_res=$ac_cv_search_strerror
3486 if test "$ac_res" != no; then
3487 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3491 ac_ext=c
3492 ac_cpp='$CPP $CPPFLAGS'
3493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3496 if test -n "$ac_tool_prefix"; then
3497 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3498 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3501 if test "${ac_cv_prog_CC+set}" = set; then
3502 echo $ECHO_N "(cached) $ECHO_C" >&6
3503 else
3504 if test -n "$CC"; then
3505 ac_cv_prog_CC="$CC" # Let the user override the test.
3506 else
3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 for as_dir in $PATH
3510 IFS=$as_save_IFS
3511 test -z "$as_dir" && as_dir=.
3512 for ac_exec_ext in '' $ac_executable_extensions; do
3513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3514 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3516 break 2
3518 done
3519 done
3520 IFS=$as_save_IFS
3524 CC=$ac_cv_prog_CC
3525 if test -n "$CC"; then
3526 { echo "$as_me:$LINENO: result: $CC" >&5
3527 echo "${ECHO_T}$CC" >&6; }
3528 else
3529 { echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6; }
3535 if test -z "$ac_cv_prog_CC"; then
3536 ac_ct_CC=$CC
3537 # Extract the first word of "gcc", so it can be a program name with args.
3538 set dummy gcc; ac_word=$2
3539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3541 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3543 else
3544 if test -n "$ac_ct_CC"; then
3545 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3550 IFS=$as_save_IFS
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3554 ac_cv_prog_ac_ct_CC="gcc"
3555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 break 2
3558 done
3559 done
3560 IFS=$as_save_IFS
3564 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3565 if test -n "$ac_ct_CC"; then
3566 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3567 echo "${ECHO_T}$ac_ct_CC" >&6; }
3568 else
3569 { echo "$as_me:$LINENO: result: no" >&5
3570 echo "${ECHO_T}no" >&6; }
3573 if test "x$ac_ct_CC" = x; then
3574 CC=""
3575 else
3576 case $cross_compiling:$ac_tool_warned in
3577 yes:)
3578 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3579 whose name does not start with the host triplet. If you think this
3580 configuration is useful to you, please write to autoconf@gnu.org." >&5
3581 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3582 whose name does not start with the host triplet. If you think this
3583 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3584 ac_tool_warned=yes ;;
3585 esac
3586 CC=$ac_ct_CC
3588 else
3589 CC="$ac_cv_prog_CC"
3592 if test -z "$CC"; then
3593 if test -n "$ac_tool_prefix"; then
3594 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3595 set dummy ${ac_tool_prefix}cc; ac_word=$2
3596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3598 if test "${ac_cv_prog_CC+set}" = set; then
3599 echo $ECHO_N "(cached) $ECHO_C" >&6
3600 else
3601 if test -n "$CC"; then
3602 ac_cv_prog_CC="$CC" # Let the user override the test.
3603 else
3604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3605 for as_dir in $PATH
3607 IFS=$as_save_IFS
3608 test -z "$as_dir" && as_dir=.
3609 for ac_exec_ext in '' $ac_executable_extensions; do
3610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3611 ac_cv_prog_CC="${ac_tool_prefix}cc"
3612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3613 break 2
3615 done
3616 done
3617 IFS=$as_save_IFS
3621 CC=$ac_cv_prog_CC
3622 if test -n "$CC"; then
3623 { echo "$as_me:$LINENO: result: $CC" >&5
3624 echo "${ECHO_T}$CC" >&6; }
3625 else
3626 { echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6; }
3633 if test -z "$CC"; then
3634 # Extract the first word of "cc", so it can be a program name with args.
3635 set dummy cc; ac_word=$2
3636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3638 if test "${ac_cv_prog_CC+set}" = set; then
3639 echo $ECHO_N "(cached) $ECHO_C" >&6
3640 else
3641 if test -n "$CC"; then
3642 ac_cv_prog_CC="$CC" # Let the user override the test.
3643 else
3644 ac_prog_rejected=no
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646 for as_dir in $PATH
3648 IFS=$as_save_IFS
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3652 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3653 ac_prog_rejected=yes
3654 continue
3656 ac_cv_prog_CC="cc"
3657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3658 break 2
3660 done
3661 done
3662 IFS=$as_save_IFS
3664 if test $ac_prog_rejected = yes; then
3665 # We found a bogon in the path, so make sure we never use it.
3666 set dummy $ac_cv_prog_CC
3667 shift
3668 if test $# != 0; then
3669 # We chose a different compiler from the bogus one.
3670 # However, it has the same basename, so the bogon will be chosen
3671 # first if we set CC to just the basename; use the full file name.
3672 shift
3673 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3678 CC=$ac_cv_prog_CC
3679 if test -n "$CC"; then
3680 { echo "$as_me:$LINENO: result: $CC" >&5
3681 echo "${ECHO_T}$CC" >&6; }
3682 else
3683 { echo "$as_me:$LINENO: result: no" >&5
3684 echo "${ECHO_T}no" >&6; }
3689 if test -z "$CC"; then
3690 if test -n "$ac_tool_prefix"; then
3691 for ac_prog in cl.exe
3693 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3694 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3695 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3697 if test "${ac_cv_prog_CC+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 else
3700 if test -n "$CC"; then
3701 ac_cv_prog_CC="$CC" # Let the user override the test.
3702 else
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3704 for as_dir in $PATH
3706 IFS=$as_save_IFS
3707 test -z "$as_dir" && as_dir=.
3708 for ac_exec_ext in '' $ac_executable_extensions; do
3709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3710 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3712 break 2
3714 done
3715 done
3716 IFS=$as_save_IFS
3720 CC=$ac_cv_prog_CC
3721 if test -n "$CC"; then
3722 { echo "$as_me:$LINENO: result: $CC" >&5
3723 echo "${ECHO_T}$CC" >&6; }
3724 else
3725 { echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6; }
3730 test -n "$CC" && break
3731 done
3733 if test -z "$CC"; then
3734 ac_ct_CC=$CC
3735 for ac_prog in cl.exe
3737 # Extract the first word of "$ac_prog", so it can be a program name with args.
3738 set dummy $ac_prog; ac_word=$2
3739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3741 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3742 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 else
3744 if test -n "$ac_ct_CC"; then
3745 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3746 else
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3748 for as_dir in $PATH
3750 IFS=$as_save_IFS
3751 test -z "$as_dir" && as_dir=.
3752 for ac_exec_ext in '' $ac_executable_extensions; do
3753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3754 ac_cv_prog_ac_ct_CC="$ac_prog"
3755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3756 break 2
3758 done
3759 done
3760 IFS=$as_save_IFS
3764 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3765 if test -n "$ac_ct_CC"; then
3766 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3767 echo "${ECHO_T}$ac_ct_CC" >&6; }
3768 else
3769 { echo "$as_me:$LINENO: result: no" >&5
3770 echo "${ECHO_T}no" >&6; }
3774 test -n "$ac_ct_CC" && break
3775 done
3777 if test "x$ac_ct_CC" = x; then
3778 CC=""
3779 else
3780 case $cross_compiling:$ac_tool_warned in
3781 yes:)
3782 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3783 whose name does not start with the host triplet. If you think this
3784 configuration is useful to you, please write to autoconf@gnu.org." >&5
3785 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3786 whose name does not start with the host triplet. If you think this
3787 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3788 ac_tool_warned=yes ;;
3789 esac
3790 CC=$ac_ct_CC
3797 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3798 See \`config.log' for more details." >&5
3799 echo "$as_me: error: no acceptable C compiler found in \$PATH
3800 See \`config.log' for more details." >&2;}
3801 { (exit 1); exit 1; }; }
3803 # Provide some information about the compiler.
3804 echo "$as_me:$LINENO: checking for C compiler version" >&5
3805 ac_compiler=`set X $ac_compile; echo $2`
3806 { (ac_try="$ac_compiler --version >&5"
3807 case "(($ac_try" in
3808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809 *) ac_try_echo=$ac_try;;
3810 esac
3811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3812 (eval "$ac_compiler --version >&5") 2>&5
3813 ac_status=$?
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); }
3816 { (ac_try="$ac_compiler -v >&5"
3817 case "(($ac_try" in
3818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3819 *) ac_try_echo=$ac_try;;
3820 esac
3821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3822 (eval "$ac_compiler -v >&5") 2>&5
3823 ac_status=$?
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); }
3826 { (ac_try="$ac_compiler -V >&5"
3827 case "(($ac_try" in
3828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3829 *) ac_try_echo=$ac_try;;
3830 esac
3831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3832 (eval "$ac_compiler -V >&5") 2>&5
3833 ac_status=$?
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); }
3837 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3838 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3839 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3840 echo $ECHO_N "(cached) $ECHO_C" >&6
3841 else
3842 cat >conftest.$ac_ext <<_ACEOF
3843 /* confdefs.h. */
3844 _ACEOF
3845 cat confdefs.h >>conftest.$ac_ext
3846 cat >>conftest.$ac_ext <<_ACEOF
3847 /* end confdefs.h. */
3850 main ()
3852 #ifndef __GNUC__
3853 choke me
3854 #endif
3857 return 0;
3859 _ACEOF
3860 rm -f conftest.$ac_objext
3861 if { (ac_try="$ac_compile"
3862 case "(($ac_try" in
3863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3864 *) ac_try_echo=$ac_try;;
3865 esac
3866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3867 (eval "$ac_compile") 2>conftest.er1
3868 ac_status=$?
3869 grep -v '^ *+' conftest.er1 >conftest.err
3870 rm -f conftest.er1
3871 cat conftest.err >&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); } && {
3874 test -z "$ac_c_werror_flag" ||
3875 test ! -s conftest.err
3876 } && test -s conftest.$ac_objext; then
3877 ac_compiler_gnu=yes
3878 else
3879 echo "$as_me: failed program was:" >&5
3880 sed 's/^/| /' conftest.$ac_ext >&5
3882 ac_compiler_gnu=no
3885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3886 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3889 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3890 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3891 GCC=`test $ac_compiler_gnu = yes && echo yes`
3892 ac_test_CFLAGS=${CFLAGS+set}
3893 ac_save_CFLAGS=$CFLAGS
3894 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3895 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3896 if test "${ac_cv_prog_cc_g+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3898 else
3899 ac_save_c_werror_flag=$ac_c_werror_flag
3900 ac_c_werror_flag=yes
3901 ac_cv_prog_cc_g=no
3902 CFLAGS="-g"
3903 cat >conftest.$ac_ext <<_ACEOF
3904 /* confdefs.h. */
3905 _ACEOF
3906 cat confdefs.h >>conftest.$ac_ext
3907 cat >>conftest.$ac_ext <<_ACEOF
3908 /* end confdefs.h. */
3911 main ()
3915 return 0;
3917 _ACEOF
3918 rm -f conftest.$ac_objext
3919 if { (ac_try="$ac_compile"
3920 case "(($ac_try" in
3921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3922 *) ac_try_echo=$ac_try;;
3923 esac
3924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3925 (eval "$ac_compile") 2>conftest.er1
3926 ac_status=$?
3927 grep -v '^ *+' conftest.er1 >conftest.err
3928 rm -f conftest.er1
3929 cat conftest.err >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } && {
3932 test -z "$ac_c_werror_flag" ||
3933 test ! -s conftest.err
3934 } && test -s conftest.$ac_objext; then
3935 ac_cv_prog_cc_g=yes
3936 else
3937 echo "$as_me: failed program was:" >&5
3938 sed 's/^/| /' conftest.$ac_ext >&5
3940 CFLAGS=""
3941 cat >conftest.$ac_ext <<_ACEOF
3942 /* confdefs.h. */
3943 _ACEOF
3944 cat confdefs.h >>conftest.$ac_ext
3945 cat >>conftest.$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3949 main ()
3953 return 0;
3955 _ACEOF
3956 rm -f conftest.$ac_objext
3957 if { (ac_try="$ac_compile"
3958 case "(($ac_try" in
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3961 esac
3962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963 (eval "$ac_compile") 2>conftest.er1
3964 ac_status=$?
3965 grep -v '^ *+' conftest.er1 >conftest.err
3966 rm -f conftest.er1
3967 cat conftest.err >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } && {
3970 test -z "$ac_c_werror_flag" ||
3971 test ! -s conftest.err
3972 } && test -s conftest.$ac_objext; then
3974 else
3975 echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.$ac_ext >&5
3978 ac_c_werror_flag=$ac_save_c_werror_flag
3979 CFLAGS="-g"
3980 cat >conftest.$ac_ext <<_ACEOF
3981 /* confdefs.h. */
3982 _ACEOF
3983 cat confdefs.h >>conftest.$ac_ext
3984 cat >>conftest.$ac_ext <<_ACEOF
3985 /* end confdefs.h. */
3988 main ()
3992 return 0;
3994 _ACEOF
3995 rm -f conftest.$ac_objext
3996 if { (ac_try="$ac_compile"
3997 case "(($ac_try" in
3998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3999 *) ac_try_echo=$ac_try;;
4000 esac
4001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4002 (eval "$ac_compile") 2>conftest.er1
4003 ac_status=$?
4004 grep -v '^ *+' conftest.er1 >conftest.err
4005 rm -f conftest.er1
4006 cat conftest.err >&5
4007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008 (exit $ac_status); } && {
4009 test -z "$ac_c_werror_flag" ||
4010 test ! -s conftest.err
4011 } && test -s conftest.$ac_objext; then
4012 ac_cv_prog_cc_g=yes
4013 else
4014 echo "$as_me: failed program was:" >&5
4015 sed 's/^/| /' conftest.$ac_ext >&5
4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4027 ac_c_werror_flag=$ac_save_c_werror_flag
4029 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4031 if test "$ac_test_CFLAGS" = set; then
4032 CFLAGS=$ac_save_CFLAGS
4033 elif test $ac_cv_prog_cc_g = yes; then
4034 if test "$GCC" = yes; then
4035 CFLAGS="-g -O2"
4036 else
4037 CFLAGS="-g"
4039 else
4040 if test "$GCC" = yes; then
4041 CFLAGS="-O2"
4042 else
4043 CFLAGS=
4046 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4047 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4048 if test "${ac_cv_prog_cc_c89+set}" = set; then
4049 echo $ECHO_N "(cached) $ECHO_C" >&6
4050 else
4051 ac_cv_prog_cc_c89=no
4052 ac_save_CC=$CC
4053 cat >conftest.$ac_ext <<_ACEOF
4054 /* confdefs.h. */
4055 _ACEOF
4056 cat confdefs.h >>conftest.$ac_ext
4057 cat >>conftest.$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4059 #include <stdarg.h>
4060 #include <stdio.h>
4061 #include <sys/types.h>
4062 #include <sys/stat.h>
4063 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4064 struct buf { int x; };
4065 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4066 static char *e (p, i)
4067 char **p;
4068 int i;
4070 return p[i];
4072 static char *f (char * (*g) (char **, int), char **p, ...)
4074 char *s;
4075 va_list v;
4076 va_start (v,p);
4077 s = g (p, va_arg (v,int));
4078 va_end (v);
4079 return s;
4082 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4083 function prototypes and stuff, but not '\xHH' hex character constants.
4084 These don't provoke an error unfortunately, instead are silently treated
4085 as 'x'. The following induces an error, until -std is added to get
4086 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4087 array size at least. It's necessary to write '\x00'==0 to get something
4088 that's true only with -std. */
4089 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4091 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4092 inside strings and character constants. */
4093 #define FOO(x) 'x'
4094 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4096 int test (int i, double x);
4097 struct s1 {int (*f) (int a);};
4098 struct s2 {int (*f) (double a);};
4099 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4100 int argc;
4101 char **argv;
4103 main ()
4105 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4107 return 0;
4109 _ACEOF
4110 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4111 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4113 CC="$ac_save_CC $ac_arg"
4114 rm -f conftest.$ac_objext
4115 if { (ac_try="$ac_compile"
4116 case "(($ac_try" in
4117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4118 *) ac_try_echo=$ac_try;;
4119 esac
4120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4121 (eval "$ac_compile") 2>conftest.er1
4122 ac_status=$?
4123 grep -v '^ *+' conftest.er1 >conftest.err
4124 rm -f conftest.er1
4125 cat conftest.err >&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); } && {
4128 test -z "$ac_c_werror_flag" ||
4129 test ! -s conftest.err
4130 } && test -s conftest.$ac_objext; then
4131 ac_cv_prog_cc_c89=$ac_arg
4132 else
4133 echo "$as_me: failed program was:" >&5
4134 sed 's/^/| /' conftest.$ac_ext >&5
4139 rm -f core conftest.err conftest.$ac_objext
4140 test "x$ac_cv_prog_cc_c89" != "xno" && break
4141 done
4142 rm -f conftest.$ac_ext
4143 CC=$ac_save_CC
4146 # AC_CACHE_VAL
4147 case "x$ac_cv_prog_cc_c89" in
4149 { echo "$as_me:$LINENO: result: none needed" >&5
4150 echo "${ECHO_T}none needed" >&6; } ;;
4151 xno)
4152 { echo "$as_me:$LINENO: result: unsupported" >&5
4153 echo "${ECHO_T}unsupported" >&6; } ;;
4155 CC="$CC $ac_cv_prog_cc_c89"
4156 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4157 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4158 esac
4161 ac_ext=c
4162 ac_cpp='$CPP $CPPFLAGS'
4163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4167 depcc="$CC" am_compiler_list=
4169 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4170 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4171 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4173 else
4174 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4175 # We make a subdir and do the tests there. Otherwise we can end up
4176 # making bogus files that we don't know about and never remove. For
4177 # instance it was reported that on HP-UX the gcc test will end up
4178 # making a dummy file named `D' -- because `-MD' means `put the output
4179 # in D'.
4180 mkdir conftest.dir
4181 # Copy depcomp to subdir because otherwise we won't find it if we're
4182 # using a relative directory.
4183 cp "$am_depcomp" conftest.dir
4184 cd conftest.dir
4185 # We will build objects and dependencies in a subdirectory because
4186 # it helps to detect inapplicable dependency modes. For instance
4187 # both Tru64's cc and ICC support -MD to output dependencies as a
4188 # side effect of compilation, but ICC will put the dependencies in
4189 # the current directory while Tru64 will put them in the object
4190 # directory.
4191 mkdir sub
4193 am_cv_CC_dependencies_compiler_type=none
4194 if test "$am_compiler_list" = ""; then
4195 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4197 for depmode in $am_compiler_list; do
4198 # Setup a source with many dependencies, because some compilers
4199 # like to wrap large dependency lists on column 80 (with \), and
4200 # we should not choose a depcomp mode which is confused by this.
4202 # We need to recreate these files for each test, as the compiler may
4203 # overwrite some of them when testing with obscure command lines.
4204 # This happens at least with the AIX C compiler.
4205 : > sub/conftest.c
4206 for i in 1 2 3 4 5 6; do
4207 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4208 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4209 # Solaris 8's {/usr,}/bin/sh.
4210 touch sub/conftst$i.h
4211 done
4212 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4214 case $depmode in
4215 nosideeffect)
4216 # after this tag, mechanisms are not by side-effect, so they'll
4217 # only be used when explicitly requested
4218 if test "x$enable_dependency_tracking" = xyes; then
4219 continue
4220 else
4221 break
4224 none) break ;;
4225 esac
4226 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4227 # mode. It turns out that the SunPro C++ compiler does not properly
4228 # handle `-M -o', and we need to detect this.
4229 if depmode=$depmode \
4230 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4231 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4232 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4233 >/dev/null 2>conftest.err &&
4234 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4235 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4236 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4237 # icc doesn't choke on unknown options, it will just issue warnings
4238 # or remarks (even with -Werror). So we grep stderr for any message
4239 # that says an option was ignored or not supported.
4240 # When given -MP, icc 7.0 and 7.1 complain thusly:
4241 # icc: Command line warning: ignoring option '-M'; no argument required
4242 # The diagnosis changed in icc 8.0:
4243 # icc: Command line remark: option '-MP' not supported
4244 if (grep 'ignoring option' conftest.err ||
4245 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4246 am_cv_CC_dependencies_compiler_type=$depmode
4247 break
4250 done
4252 cd ..
4253 rm -rf conftest.dir
4254 else
4255 am_cv_CC_dependencies_compiler_type=none
4259 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4260 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4261 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4266 test "x$enable_dependency_tracking" != xno \
4267 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4268 am__fastdepCC_TRUE=
4269 am__fastdepCC_FALSE='#'
4270 else
4271 am__fastdepCC_TRUE='#'
4272 am__fastdepCC_FALSE=
4276 ac_ext=c
4277 ac_cpp='$CPP $CPPFLAGS'
4278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4281 if test -n "$ac_tool_prefix"; then
4282 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4283 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4286 if test "${ac_cv_prog_CC+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 else
4289 if test -n "$CC"; then
4290 ac_cv_prog_CC="$CC" # Let the user override the test.
4291 else
4292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4293 for as_dir in $PATH
4295 IFS=$as_save_IFS
4296 test -z "$as_dir" && as_dir=.
4297 for ac_exec_ext in '' $ac_executable_extensions; do
4298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4299 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4301 break 2
4303 done
4304 done
4305 IFS=$as_save_IFS
4309 CC=$ac_cv_prog_CC
4310 if test -n "$CC"; then
4311 { echo "$as_me:$LINENO: result: $CC" >&5
4312 echo "${ECHO_T}$CC" >&6; }
4313 else
4314 { echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6; }
4320 if test -z "$ac_cv_prog_CC"; then
4321 ac_ct_CC=$CC
4322 # Extract the first word of "gcc", so it can be a program name with args.
4323 set dummy gcc; ac_word=$2
4324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4326 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 else
4329 if test -n "$ac_ct_CC"; then
4330 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4331 else
4332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4333 for as_dir in $PATH
4335 IFS=$as_save_IFS
4336 test -z "$as_dir" && as_dir=.
4337 for ac_exec_ext in '' $ac_executable_extensions; do
4338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4339 ac_cv_prog_ac_ct_CC="gcc"
4340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4341 break 2
4343 done
4344 done
4345 IFS=$as_save_IFS
4349 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4350 if test -n "$ac_ct_CC"; then
4351 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4352 echo "${ECHO_T}$ac_ct_CC" >&6; }
4353 else
4354 { echo "$as_me:$LINENO: result: no" >&5
4355 echo "${ECHO_T}no" >&6; }
4358 if test "x$ac_ct_CC" = x; then
4359 CC=""
4360 else
4361 case $cross_compiling:$ac_tool_warned in
4362 yes:)
4363 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4364 whose name does not start with the host triplet. If you think this
4365 configuration is useful to you, please write to autoconf@gnu.org." >&5
4366 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4367 whose name does not start with the host triplet. If you think this
4368 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4369 ac_tool_warned=yes ;;
4370 esac
4371 CC=$ac_ct_CC
4373 else
4374 CC="$ac_cv_prog_CC"
4377 if test -z "$CC"; then
4378 if test -n "$ac_tool_prefix"; then
4379 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4380 set dummy ${ac_tool_prefix}cc; ac_word=$2
4381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4383 if test "${ac_cv_prog_CC+set}" = set; then
4384 echo $ECHO_N "(cached) $ECHO_C" >&6
4385 else
4386 if test -n "$CC"; then
4387 ac_cv_prog_CC="$CC" # Let the user override the test.
4388 else
4389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4390 for as_dir in $PATH
4392 IFS=$as_save_IFS
4393 test -z "$as_dir" && as_dir=.
4394 for ac_exec_ext in '' $ac_executable_extensions; do
4395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4396 ac_cv_prog_CC="${ac_tool_prefix}cc"
4397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4398 break 2
4400 done
4401 done
4402 IFS=$as_save_IFS
4406 CC=$ac_cv_prog_CC
4407 if test -n "$CC"; then
4408 { echo "$as_me:$LINENO: result: $CC" >&5
4409 echo "${ECHO_T}$CC" >&6; }
4410 else
4411 { echo "$as_me:$LINENO: result: no" >&5
4412 echo "${ECHO_T}no" >&6; }
4418 if test -z "$CC"; then
4419 # Extract the first word of "cc", so it can be a program name with args.
4420 set dummy cc; ac_word=$2
4421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4423 if test "${ac_cv_prog_CC+set}" = set; then
4424 echo $ECHO_N "(cached) $ECHO_C" >&6
4425 else
4426 if test -n "$CC"; then
4427 ac_cv_prog_CC="$CC" # Let the user override the test.
4428 else
4429 ac_prog_rejected=no
4430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4431 for as_dir in $PATH
4433 IFS=$as_save_IFS
4434 test -z "$as_dir" && as_dir=.
4435 for ac_exec_ext in '' $ac_executable_extensions; do
4436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4437 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4438 ac_prog_rejected=yes
4439 continue
4441 ac_cv_prog_CC="cc"
4442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4443 break 2
4445 done
4446 done
4447 IFS=$as_save_IFS
4449 if test $ac_prog_rejected = yes; then
4450 # We found a bogon in the path, so make sure we never use it.
4451 set dummy $ac_cv_prog_CC
4452 shift
4453 if test $# != 0; then
4454 # We chose a different compiler from the bogus one.
4455 # However, it has the same basename, so the bogon will be chosen
4456 # first if we set CC to just the basename; use the full file name.
4457 shift
4458 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4463 CC=$ac_cv_prog_CC
4464 if test -n "$CC"; then
4465 { echo "$as_me:$LINENO: result: $CC" >&5
4466 echo "${ECHO_T}$CC" >&6; }
4467 else
4468 { echo "$as_me:$LINENO: result: no" >&5
4469 echo "${ECHO_T}no" >&6; }
4474 if test -z "$CC"; then
4475 if test -n "$ac_tool_prefix"; then
4476 for ac_prog in cl.exe
4478 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4479 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4480 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4482 if test "${ac_cv_prog_CC+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 else
4485 if test -n "$CC"; then
4486 ac_cv_prog_CC="$CC" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4495 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4499 done
4500 done
4501 IFS=$as_save_IFS
4505 CC=$ac_cv_prog_CC
4506 if test -n "$CC"; then
4507 { echo "$as_me:$LINENO: result: $CC" >&5
4508 echo "${ECHO_T}$CC" >&6; }
4509 else
4510 { echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6; }
4515 test -n "$CC" && break
4516 done
4518 if test -z "$CC"; then
4519 ac_ct_CC=$CC
4520 for ac_prog in cl.exe
4522 # Extract the first word of "$ac_prog", so it can be a program name with args.
4523 set dummy $ac_prog; ac_word=$2
4524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4526 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4527 echo $ECHO_N "(cached) $ECHO_C" >&6
4528 else
4529 if test -n "$ac_ct_CC"; then
4530 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4531 else
4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533 for as_dir in $PATH
4535 IFS=$as_save_IFS
4536 test -z "$as_dir" && as_dir=.
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4539 ac_cv_prog_ac_ct_CC="$ac_prog"
4540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 break 2
4543 done
4544 done
4545 IFS=$as_save_IFS
4549 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4550 if test -n "$ac_ct_CC"; then
4551 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4552 echo "${ECHO_T}$ac_ct_CC" >&6; }
4553 else
4554 { echo "$as_me:$LINENO: result: no" >&5
4555 echo "${ECHO_T}no" >&6; }
4559 test -n "$ac_ct_CC" && break
4560 done
4562 if test "x$ac_ct_CC" = x; then
4563 CC=""
4564 else
4565 case $cross_compiling:$ac_tool_warned in
4566 yes:)
4567 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4568 whose name does not start with the host triplet. If you think this
4569 configuration is useful to you, please write to autoconf@gnu.org." >&5
4570 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4571 whose name does not start with the host triplet. If you think this
4572 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4573 ac_tool_warned=yes ;;
4574 esac
4575 CC=$ac_ct_CC
4582 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4583 See \`config.log' for more details." >&5
4584 echo "$as_me: error: no acceptable C compiler found in \$PATH
4585 See \`config.log' for more details." >&2;}
4586 { (exit 1); exit 1; }; }
4588 # Provide some information about the compiler.
4589 echo "$as_me:$LINENO: checking for C compiler version" >&5
4590 ac_compiler=`set X $ac_compile; echo $2`
4591 { (ac_try="$ac_compiler --version >&5"
4592 case "(($ac_try" in
4593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4594 *) ac_try_echo=$ac_try;;
4595 esac
4596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4597 (eval "$ac_compiler --version >&5") 2>&5
4598 ac_status=$?
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); }
4601 { (ac_try="$ac_compiler -v >&5"
4602 case "(($ac_try" in
4603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4604 *) ac_try_echo=$ac_try;;
4605 esac
4606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4607 (eval "$ac_compiler -v >&5") 2>&5
4608 ac_status=$?
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }
4611 { (ac_try="$ac_compiler -V >&5"
4612 case "(($ac_try" in
4613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4614 *) ac_try_echo=$ac_try;;
4615 esac
4616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4617 (eval "$ac_compiler -V >&5") 2>&5
4618 ac_status=$?
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }
4622 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4623 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4624 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4625 echo $ECHO_N "(cached) $ECHO_C" >&6
4626 else
4627 cat >conftest.$ac_ext <<_ACEOF
4628 /* confdefs.h. */
4629 _ACEOF
4630 cat confdefs.h >>conftest.$ac_ext
4631 cat >>conftest.$ac_ext <<_ACEOF
4632 /* end confdefs.h. */
4635 main ()
4637 #ifndef __GNUC__
4638 choke me
4639 #endif
4642 return 0;
4644 _ACEOF
4645 rm -f conftest.$ac_objext
4646 if { (ac_try="$ac_compile"
4647 case "(($ac_try" in
4648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4649 *) ac_try_echo=$ac_try;;
4650 esac
4651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4652 (eval "$ac_compile") 2>conftest.er1
4653 ac_status=$?
4654 grep -v '^ *+' conftest.er1 >conftest.err
4655 rm -f conftest.er1
4656 cat conftest.err >&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); } && {
4659 test -z "$ac_c_werror_flag" ||
4660 test ! -s conftest.err
4661 } && test -s conftest.$ac_objext; then
4662 ac_compiler_gnu=yes
4663 else
4664 echo "$as_me: failed program was:" >&5
4665 sed 's/^/| /' conftest.$ac_ext >&5
4667 ac_compiler_gnu=no
4670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4671 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4674 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4675 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4676 GCC=`test $ac_compiler_gnu = yes && echo yes`
4677 ac_test_CFLAGS=${CFLAGS+set}
4678 ac_save_CFLAGS=$CFLAGS
4679 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4680 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4681 if test "${ac_cv_prog_cc_g+set}" = set; then
4682 echo $ECHO_N "(cached) $ECHO_C" >&6
4683 else
4684 ac_save_c_werror_flag=$ac_c_werror_flag
4685 ac_c_werror_flag=yes
4686 ac_cv_prog_cc_g=no
4687 CFLAGS="-g"
4688 cat >conftest.$ac_ext <<_ACEOF
4689 /* confdefs.h. */
4690 _ACEOF
4691 cat confdefs.h >>conftest.$ac_ext
4692 cat >>conftest.$ac_ext <<_ACEOF
4693 /* end confdefs.h. */
4696 main ()
4700 return 0;
4702 _ACEOF
4703 rm -f conftest.$ac_objext
4704 if { (ac_try="$ac_compile"
4705 case "(($ac_try" in
4706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4707 *) ac_try_echo=$ac_try;;
4708 esac
4709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4710 (eval "$ac_compile") 2>conftest.er1
4711 ac_status=$?
4712 grep -v '^ *+' conftest.er1 >conftest.err
4713 rm -f conftest.er1
4714 cat conftest.err >&5
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); } && {
4717 test -z "$ac_c_werror_flag" ||
4718 test ! -s conftest.err
4719 } && test -s conftest.$ac_objext; then
4720 ac_cv_prog_cc_g=yes
4721 else
4722 echo "$as_me: failed program was:" >&5
4723 sed 's/^/| /' conftest.$ac_ext >&5
4725 CFLAGS=""
4726 cat >conftest.$ac_ext <<_ACEOF
4727 /* confdefs.h. */
4728 _ACEOF
4729 cat confdefs.h >>conftest.$ac_ext
4730 cat >>conftest.$ac_ext <<_ACEOF
4731 /* end confdefs.h. */
4734 main ()
4738 return 0;
4740 _ACEOF
4741 rm -f conftest.$ac_objext
4742 if { (ac_try="$ac_compile"
4743 case "(($ac_try" in
4744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4745 *) ac_try_echo=$ac_try;;
4746 esac
4747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4748 (eval "$ac_compile") 2>conftest.er1
4749 ac_status=$?
4750 grep -v '^ *+' conftest.er1 >conftest.err
4751 rm -f conftest.er1
4752 cat conftest.err >&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); } && {
4755 test -z "$ac_c_werror_flag" ||
4756 test ! -s conftest.err
4757 } && test -s conftest.$ac_objext; then
4759 else
4760 echo "$as_me: failed program was:" >&5
4761 sed 's/^/| /' conftest.$ac_ext >&5
4763 ac_c_werror_flag=$ac_save_c_werror_flag
4764 CFLAGS="-g"
4765 cat >conftest.$ac_ext <<_ACEOF
4766 /* confdefs.h. */
4767 _ACEOF
4768 cat confdefs.h >>conftest.$ac_ext
4769 cat >>conftest.$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4773 main ()
4777 return 0;
4779 _ACEOF
4780 rm -f conftest.$ac_objext
4781 if { (ac_try="$ac_compile"
4782 case "(($ac_try" in
4783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4784 *) ac_try_echo=$ac_try;;
4785 esac
4786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4787 (eval "$ac_compile") 2>conftest.er1
4788 ac_status=$?
4789 grep -v '^ *+' conftest.er1 >conftest.err
4790 rm -f conftest.er1
4791 cat conftest.err >&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } && {
4794 test -z "$ac_c_werror_flag" ||
4795 test ! -s conftest.err
4796 } && test -s conftest.$ac_objext; then
4797 ac_cv_prog_cc_g=yes
4798 else
4799 echo "$as_me: failed program was:" >&5
4800 sed 's/^/| /' conftest.$ac_ext >&5
4805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4812 ac_c_werror_flag=$ac_save_c_werror_flag
4814 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4815 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4816 if test "$ac_test_CFLAGS" = set; then
4817 CFLAGS=$ac_save_CFLAGS
4818 elif test $ac_cv_prog_cc_g = yes; then
4819 if test "$GCC" = yes; then
4820 CFLAGS="-g -O2"
4821 else
4822 CFLAGS="-g"
4824 else
4825 if test "$GCC" = yes; then
4826 CFLAGS="-O2"
4827 else
4828 CFLAGS=
4831 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4832 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4833 if test "${ac_cv_prog_cc_c89+set}" = set; then
4834 echo $ECHO_N "(cached) $ECHO_C" >&6
4835 else
4836 ac_cv_prog_cc_c89=no
4837 ac_save_CC=$CC
4838 cat >conftest.$ac_ext <<_ACEOF
4839 /* confdefs.h. */
4840 _ACEOF
4841 cat confdefs.h >>conftest.$ac_ext
4842 cat >>conftest.$ac_ext <<_ACEOF
4843 /* end confdefs.h. */
4844 #include <stdarg.h>
4845 #include <stdio.h>
4846 #include <sys/types.h>
4847 #include <sys/stat.h>
4848 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4849 struct buf { int x; };
4850 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4851 static char *e (p, i)
4852 char **p;
4853 int i;
4855 return p[i];
4857 static char *f (char * (*g) (char **, int), char **p, ...)
4859 char *s;
4860 va_list v;
4861 va_start (v,p);
4862 s = g (p, va_arg (v,int));
4863 va_end (v);
4864 return s;
4867 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4868 function prototypes and stuff, but not '\xHH' hex character constants.
4869 These don't provoke an error unfortunately, instead are silently treated
4870 as 'x'. The following induces an error, until -std is added to get
4871 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4872 array size at least. It's necessary to write '\x00'==0 to get something
4873 that's true only with -std. */
4874 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4876 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4877 inside strings and character constants. */
4878 #define FOO(x) 'x'
4879 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4881 int test (int i, double x);
4882 struct s1 {int (*f) (int a);};
4883 struct s2 {int (*f) (double a);};
4884 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4885 int argc;
4886 char **argv;
4888 main ()
4890 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4892 return 0;
4894 _ACEOF
4895 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4896 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4898 CC="$ac_save_CC $ac_arg"
4899 rm -f conftest.$ac_objext
4900 if { (ac_try="$ac_compile"
4901 case "(($ac_try" in
4902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4903 *) ac_try_echo=$ac_try;;
4904 esac
4905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4906 (eval "$ac_compile") 2>conftest.er1
4907 ac_status=$?
4908 grep -v '^ *+' conftest.er1 >conftest.err
4909 rm -f conftest.er1
4910 cat conftest.err >&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); } && {
4913 test -z "$ac_c_werror_flag" ||
4914 test ! -s conftest.err
4915 } && test -s conftest.$ac_objext; then
4916 ac_cv_prog_cc_c89=$ac_arg
4917 else
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.$ac_ext >&5
4924 rm -f core conftest.err conftest.$ac_objext
4925 test "x$ac_cv_prog_cc_c89" != "xno" && break
4926 done
4927 rm -f conftest.$ac_ext
4928 CC=$ac_save_CC
4931 # AC_CACHE_VAL
4932 case "x$ac_cv_prog_cc_c89" in
4934 { echo "$as_me:$LINENO: result: none needed" >&5
4935 echo "${ECHO_T}none needed" >&6; } ;;
4936 xno)
4937 { echo "$as_me:$LINENO: result: unsupported" >&5
4938 echo "${ECHO_T}unsupported" >&6; } ;;
4940 CC="$CC $ac_cv_prog_cc_c89"
4941 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4942 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4943 esac
4946 ac_ext=c
4947 ac_cpp='$CPP $CPPFLAGS'
4948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4952 depcc="$CC" am_compiler_list=
4954 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4955 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4956 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4958 else
4959 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4960 # We make a subdir and do the tests there. Otherwise we can end up
4961 # making bogus files that we don't know about and never remove. For
4962 # instance it was reported that on HP-UX the gcc test will end up
4963 # making a dummy file named `D' -- because `-MD' means `put the output
4964 # in D'.
4965 mkdir conftest.dir
4966 # Copy depcomp to subdir because otherwise we won't find it if we're
4967 # using a relative directory.
4968 cp "$am_depcomp" conftest.dir
4969 cd conftest.dir
4970 # We will build objects and dependencies in a subdirectory because
4971 # it helps to detect inapplicable dependency modes. For instance
4972 # both Tru64's cc and ICC support -MD to output dependencies as a
4973 # side effect of compilation, but ICC will put the dependencies in
4974 # the current directory while Tru64 will put them in the object
4975 # directory.
4976 mkdir sub
4978 am_cv_CC_dependencies_compiler_type=none
4979 if test "$am_compiler_list" = ""; then
4980 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4982 for depmode in $am_compiler_list; do
4983 # Setup a source with many dependencies, because some compilers
4984 # like to wrap large dependency lists on column 80 (with \), and
4985 # we should not choose a depcomp mode which is confused by this.
4987 # We need to recreate these files for each test, as the compiler may
4988 # overwrite some of them when testing with obscure command lines.
4989 # This happens at least with the AIX C compiler.
4990 : > sub/conftest.c
4991 for i in 1 2 3 4 5 6; do
4992 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4993 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4994 # Solaris 8's {/usr,}/bin/sh.
4995 touch sub/conftst$i.h
4996 done
4997 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4999 case $depmode in
5000 nosideeffect)
5001 # after this tag, mechanisms are not by side-effect, so they'll
5002 # only be used when explicitly requested
5003 if test "x$enable_dependency_tracking" = xyes; then
5004 continue
5005 else
5006 break
5009 none) break ;;
5010 esac
5011 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5012 # mode. It turns out that the SunPro C++ compiler does not properly
5013 # handle `-M -o', and we need to detect this.
5014 if depmode=$depmode \
5015 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5016 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5017 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5018 >/dev/null 2>conftest.err &&
5019 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5020 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5021 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5022 # icc doesn't choke on unknown options, it will just issue warnings
5023 # or remarks (even with -Werror). So we grep stderr for any message
5024 # that says an option was ignored or not supported.
5025 # When given -MP, icc 7.0 and 7.1 complain thusly:
5026 # icc: Command line warning: ignoring option '-M'; no argument required
5027 # The diagnosis changed in icc 8.0:
5028 # icc: Command line remark: option '-MP' not supported
5029 if (grep 'ignoring option' conftest.err ||
5030 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5031 am_cv_CC_dependencies_compiler_type=$depmode
5032 break
5035 done
5037 cd ..
5038 rm -rf conftest.dir
5039 else
5040 am_cv_CC_dependencies_compiler_type=none
5044 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5045 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5046 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5051 test "x$enable_dependency_tracking" != xno \
5052 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5053 am__fastdepCC_TRUE=
5054 am__fastdepCC_FALSE='#'
5055 else
5056 am__fastdepCC_TRUE='#'
5057 am__fastdepCC_FALSE=
5062 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5064 ac_ext=c
5065 ac_cpp='$CPP $CPPFLAGS'
5066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5069 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5070 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5071 # On Suns, sometimes $CPP names a directory.
5072 if test -n "$CPP" && test -d "$CPP"; then
5073 CPP=
5075 if test -z "$CPP"; then
5076 if test "${ac_cv_prog_CPP+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5078 else
5079 # Double quotes because CPP needs to be expanded
5080 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5082 ac_preproc_ok=false
5083 for ac_c_preproc_warn_flag in '' yes
5085 # Use a header file that comes with gcc, so configuring glibc
5086 # with a fresh cross-compiler works.
5087 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5088 # <limits.h> exists even on freestanding compilers.
5089 # On the NeXT, cc -E runs the code through the compiler's parser,
5090 # not just through cpp. "Syntax error" is here to catch this case.
5091 cat >conftest.$ac_ext <<_ACEOF
5092 /* confdefs.h. */
5093 _ACEOF
5094 cat confdefs.h >>conftest.$ac_ext
5095 cat >>conftest.$ac_ext <<_ACEOF
5096 /* end confdefs.h. */
5097 #ifdef __STDC__
5098 # include <limits.h>
5099 #else
5100 # include <assert.h>
5101 #endif
5102 Syntax error
5103 _ACEOF
5104 if { (ac_try="$ac_cpp conftest.$ac_ext"
5105 case "(($ac_try" in
5106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5107 *) ac_try_echo=$ac_try;;
5108 esac
5109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5110 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5111 ac_status=$?
5112 grep -v '^ *+' conftest.er1 >conftest.err
5113 rm -f conftest.er1
5114 cat conftest.err >&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); } >/dev/null && {
5117 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5118 test ! -s conftest.err
5119 }; then
5121 else
5122 echo "$as_me: failed program was:" >&5
5123 sed 's/^/| /' conftest.$ac_ext >&5
5125 # Broken: fails on valid input.
5126 continue
5129 rm -f conftest.err conftest.$ac_ext
5131 # OK, works on sane cases. Now check whether nonexistent headers
5132 # can be detected and how.
5133 cat >conftest.$ac_ext <<_ACEOF
5134 /* confdefs.h. */
5135 _ACEOF
5136 cat confdefs.h >>conftest.$ac_ext
5137 cat >>conftest.$ac_ext <<_ACEOF
5138 /* end confdefs.h. */
5139 #include <ac_nonexistent.h>
5140 _ACEOF
5141 if { (ac_try="$ac_cpp conftest.$ac_ext"
5142 case "(($ac_try" in
5143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5144 *) ac_try_echo=$ac_try;;
5145 esac
5146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5148 ac_status=$?
5149 grep -v '^ *+' conftest.er1 >conftest.err
5150 rm -f conftest.er1
5151 cat conftest.err >&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); } >/dev/null && {
5154 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5155 test ! -s conftest.err
5156 }; then
5157 # Broken: success on invalid input.
5158 continue
5159 else
5160 echo "$as_me: failed program was:" >&5
5161 sed 's/^/| /' conftest.$ac_ext >&5
5163 # Passes both tests.
5164 ac_preproc_ok=:
5165 break
5168 rm -f conftest.err conftest.$ac_ext
5170 done
5171 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5172 rm -f conftest.err conftest.$ac_ext
5173 if $ac_preproc_ok; then
5174 break
5177 done
5178 ac_cv_prog_CPP=$CPP
5181 CPP=$ac_cv_prog_CPP
5182 else
5183 ac_cv_prog_CPP=$CPP
5185 { echo "$as_me:$LINENO: result: $CPP" >&5
5186 echo "${ECHO_T}$CPP" >&6; }
5187 ac_preproc_ok=false
5188 for ac_c_preproc_warn_flag in '' yes
5190 # Use a header file that comes with gcc, so configuring glibc
5191 # with a fresh cross-compiler works.
5192 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5193 # <limits.h> exists even on freestanding compilers.
5194 # On the NeXT, cc -E runs the code through the compiler's parser,
5195 # not just through cpp. "Syntax error" is here to catch this case.
5196 cat >conftest.$ac_ext <<_ACEOF
5197 /* confdefs.h. */
5198 _ACEOF
5199 cat confdefs.h >>conftest.$ac_ext
5200 cat >>conftest.$ac_ext <<_ACEOF
5201 /* end confdefs.h. */
5202 #ifdef __STDC__
5203 # include <limits.h>
5204 #else
5205 # include <assert.h>
5206 #endif
5207 Syntax error
5208 _ACEOF
5209 if { (ac_try="$ac_cpp conftest.$ac_ext"
5210 case "(($ac_try" in
5211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5212 *) ac_try_echo=$ac_try;;
5213 esac
5214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5215 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5216 ac_status=$?
5217 grep -v '^ *+' conftest.er1 >conftest.err
5218 rm -f conftest.er1
5219 cat conftest.err >&5
5220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); } >/dev/null && {
5222 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5223 test ! -s conftest.err
5224 }; then
5226 else
5227 echo "$as_me: failed program was:" >&5
5228 sed 's/^/| /' conftest.$ac_ext >&5
5230 # Broken: fails on valid input.
5231 continue
5234 rm -f conftest.err conftest.$ac_ext
5236 # OK, works on sane cases. Now check whether nonexistent headers
5237 # can be detected and how.
5238 cat >conftest.$ac_ext <<_ACEOF
5239 /* confdefs.h. */
5240 _ACEOF
5241 cat confdefs.h >>conftest.$ac_ext
5242 cat >>conftest.$ac_ext <<_ACEOF
5243 /* end confdefs.h. */
5244 #include <ac_nonexistent.h>
5245 _ACEOF
5246 if { (ac_try="$ac_cpp conftest.$ac_ext"
5247 case "(($ac_try" in
5248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5249 *) ac_try_echo=$ac_try;;
5250 esac
5251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5252 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5253 ac_status=$?
5254 grep -v '^ *+' conftest.er1 >conftest.err
5255 rm -f conftest.er1
5256 cat conftest.err >&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); } >/dev/null && {
5259 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5260 test ! -s conftest.err
5261 }; then
5262 # Broken: success on invalid input.
5263 continue
5264 else
5265 echo "$as_me: failed program was:" >&5
5266 sed 's/^/| /' conftest.$ac_ext >&5
5268 # Passes both tests.
5269 ac_preproc_ok=:
5270 break
5273 rm -f conftest.err conftest.$ac_ext
5275 done
5276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5277 rm -f conftest.err conftest.$ac_ext
5278 if $ac_preproc_ok; then
5280 else
5281 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5282 See \`config.log' for more details." >&5
5283 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5284 See \`config.log' for more details." >&2;}
5285 { (exit 1); exit 1; }; }
5288 ac_ext=c
5289 ac_cpp='$CPP $CPPFLAGS'
5290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5295 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5296 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5297 if test "${ac_cv_path_GREP+set}" = set; then
5298 echo $ECHO_N "(cached) $ECHO_C" >&6
5299 else
5300 # Extract the first word of "grep ggrep" to use in msg output
5301 if test -z "$GREP"; then
5302 set dummy grep ggrep; ac_prog_name=$2
5303 if test "${ac_cv_path_GREP+set}" = set; then
5304 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 else
5306 ac_path_GREP_found=false
5307 # Loop through the user's path and test for each of PROGNAME-LIST
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5311 IFS=$as_save_IFS
5312 test -z "$as_dir" && as_dir=.
5313 for ac_prog in grep ggrep; do
5314 for ac_exec_ext in '' $ac_executable_extensions; do
5315 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5316 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5317 # Check for GNU ac_path_GREP and select it if it is found.
5318 # Check for GNU $ac_path_GREP
5319 case `"$ac_path_GREP" --version 2>&1` in
5320 *GNU*)
5321 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5323 ac_count=0
5324 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5325 while :
5327 cat "conftest.in" "conftest.in" >"conftest.tmp"
5328 mv "conftest.tmp" "conftest.in"
5329 cp "conftest.in" "conftest.nl"
5330 echo 'GREP' >> "conftest.nl"
5331 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5332 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5333 ac_count=`expr $ac_count + 1`
5334 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5335 # Best one so far, save it but keep looking for a better one
5336 ac_cv_path_GREP="$ac_path_GREP"
5337 ac_path_GREP_max=$ac_count
5339 # 10*(2^10) chars as input seems more than enough
5340 test $ac_count -gt 10 && break
5341 done
5342 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5343 esac
5346 $ac_path_GREP_found && break 3
5347 done
5348 done
5350 done
5351 IFS=$as_save_IFS
5356 GREP="$ac_cv_path_GREP"
5357 if test -z "$GREP"; then
5358 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5359 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5360 { (exit 1); exit 1; }; }
5363 else
5364 ac_cv_path_GREP=$GREP
5369 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5370 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5371 GREP="$ac_cv_path_GREP"
5374 { echo "$as_me:$LINENO: checking for egrep" >&5
5375 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5376 if test "${ac_cv_path_EGREP+set}" = set; then
5377 echo $ECHO_N "(cached) $ECHO_C" >&6
5378 else
5379 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5380 then ac_cv_path_EGREP="$GREP -E"
5381 else
5382 # Extract the first word of "egrep" to use in msg output
5383 if test -z "$EGREP"; then
5384 set dummy egrep; ac_prog_name=$2
5385 if test "${ac_cv_path_EGREP+set}" = set; then
5386 echo $ECHO_N "(cached) $ECHO_C" >&6
5387 else
5388 ac_path_EGREP_found=false
5389 # Loop through the user's path and test for each of PROGNAME-LIST
5390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5391 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5393 IFS=$as_save_IFS
5394 test -z "$as_dir" && as_dir=.
5395 for ac_prog in egrep; do
5396 for ac_exec_ext in '' $ac_executable_extensions; do
5397 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5398 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5399 # Check for GNU ac_path_EGREP and select it if it is found.
5400 # Check for GNU $ac_path_EGREP
5401 case `"$ac_path_EGREP" --version 2>&1` in
5402 *GNU*)
5403 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5405 ac_count=0
5406 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5407 while :
5409 cat "conftest.in" "conftest.in" >"conftest.tmp"
5410 mv "conftest.tmp" "conftest.in"
5411 cp "conftest.in" "conftest.nl"
5412 echo 'EGREP' >> "conftest.nl"
5413 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5414 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5415 ac_count=`expr $ac_count + 1`
5416 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5417 # Best one so far, save it but keep looking for a better one
5418 ac_cv_path_EGREP="$ac_path_EGREP"
5419 ac_path_EGREP_max=$ac_count
5421 # 10*(2^10) chars as input seems more than enough
5422 test $ac_count -gt 10 && break
5423 done
5424 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5425 esac
5428 $ac_path_EGREP_found && break 3
5429 done
5430 done
5432 done
5433 IFS=$as_save_IFS
5438 EGREP="$ac_cv_path_EGREP"
5439 if test -z "$EGREP"; then
5440 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5441 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5442 { (exit 1); exit 1; }; }
5445 else
5446 ac_cv_path_EGREP=$EGREP
5452 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5453 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5454 EGREP="$ac_cv_path_EGREP"
5457 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5458 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5459 if test "${ac_cv_header_stdc+set}" = set; then
5460 echo $ECHO_N "(cached) $ECHO_C" >&6
5461 else
5462 cat >conftest.$ac_ext <<_ACEOF
5463 /* confdefs.h. */
5464 _ACEOF
5465 cat confdefs.h >>conftest.$ac_ext
5466 cat >>conftest.$ac_ext <<_ACEOF
5467 /* end confdefs.h. */
5468 #include <stdlib.h>
5469 #include <stdarg.h>
5470 #include <string.h>
5471 #include <float.h>
5474 main ()
5478 return 0;
5480 _ACEOF
5481 rm -f conftest.$ac_objext
5482 if { (ac_try="$ac_compile"
5483 case "(($ac_try" in
5484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5485 *) ac_try_echo=$ac_try;;
5486 esac
5487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5488 (eval "$ac_compile") 2>conftest.er1
5489 ac_status=$?
5490 grep -v '^ *+' conftest.er1 >conftest.err
5491 rm -f conftest.er1
5492 cat conftest.err >&5
5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); } && {
5495 test -z "$ac_c_werror_flag" ||
5496 test ! -s conftest.err
5497 } && test -s conftest.$ac_objext; then
5498 ac_cv_header_stdc=yes
5499 else
5500 echo "$as_me: failed program was:" >&5
5501 sed 's/^/| /' conftest.$ac_ext >&5
5503 ac_cv_header_stdc=no
5506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5508 if test $ac_cv_header_stdc = yes; then
5509 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5510 cat >conftest.$ac_ext <<_ACEOF
5511 /* confdefs.h. */
5512 _ACEOF
5513 cat confdefs.h >>conftest.$ac_ext
5514 cat >>conftest.$ac_ext <<_ACEOF
5515 /* end confdefs.h. */
5516 #include <string.h>
5518 _ACEOF
5519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5520 $EGREP "memchr" >/dev/null 2>&1; then
5522 else
5523 ac_cv_header_stdc=no
5525 rm -f conftest*
5529 if test $ac_cv_header_stdc = yes; then
5530 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5531 cat >conftest.$ac_ext <<_ACEOF
5532 /* confdefs.h. */
5533 _ACEOF
5534 cat confdefs.h >>conftest.$ac_ext
5535 cat >>conftest.$ac_ext <<_ACEOF
5536 /* end confdefs.h. */
5537 #include <stdlib.h>
5539 _ACEOF
5540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5541 $EGREP "free" >/dev/null 2>&1; then
5543 else
5544 ac_cv_header_stdc=no
5546 rm -f conftest*
5550 if test $ac_cv_header_stdc = yes; then
5551 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5552 if test "$cross_compiling" = yes; then
5554 else
5555 cat >conftest.$ac_ext <<_ACEOF
5556 /* confdefs.h. */
5557 _ACEOF
5558 cat confdefs.h >>conftest.$ac_ext
5559 cat >>conftest.$ac_ext <<_ACEOF
5560 /* end confdefs.h. */
5561 #include <ctype.h>
5562 #include <stdlib.h>
5563 #if ((' ' & 0x0FF) == 0x020)
5564 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5565 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5566 #else
5567 # define ISLOWER(c) \
5568 (('a' <= (c) && (c) <= 'i') \
5569 || ('j' <= (c) && (c) <= 'r') \
5570 || ('s' <= (c) && (c) <= 'z'))
5571 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5572 #endif
5574 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5576 main ()
5578 int i;
5579 for (i = 0; i < 256; i++)
5580 if (XOR (islower (i), ISLOWER (i))
5581 || toupper (i) != TOUPPER (i))
5582 return 2;
5583 return 0;
5585 _ACEOF
5586 rm -f conftest$ac_exeext
5587 if { (ac_try="$ac_link"
5588 case "(($ac_try" in
5589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5590 *) ac_try_echo=$ac_try;;
5591 esac
5592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5593 (eval "$ac_link") 2>&5
5594 ac_status=$?
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5597 { (case "(($ac_try" in
5598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5599 *) ac_try_echo=$ac_try;;
5600 esac
5601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5602 (eval "$ac_try") 2>&5
5603 ac_status=$?
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; }; then
5607 else
5608 echo "$as_me: program exited with status $ac_status" >&5
5609 echo "$as_me: failed program was:" >&5
5610 sed 's/^/| /' conftest.$ac_ext >&5
5612 ( exit $ac_status )
5613 ac_cv_header_stdc=no
5615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5621 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5622 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5623 if test $ac_cv_header_stdc = yes; then
5625 cat >>confdefs.h <<\_ACEOF
5626 #define STDC_HEADERS 1
5627 _ACEOF
5633 # ============ Switched off:
5634 #AC_SUBST(CFLAGS)
5635 #AC_SUBST(CPPFLAGS)
5636 #AC_SUBST(LDFLAGS)
5639 GNOME_COMPILE_WARNINGS
5641 #------------------------------------------------------------------------------
5642 # From gpaint:
5643 # The gnomeui library is required but the gnomeprint and gnomeprintui libraries
5644 # are optional. First we verify the gnomeui library is present. Then we check
5645 # for the presence of the gnomeprint libraries and set a flag to indicate the
5646 # print libraries are present. Finally, we run pkg-config to get the compile and
5647 # link flags for the combined set of libraries to eliminate duplications in
5648 # the CFLAGS.
5649 ## GNOME_MODULES="libgnomeui-2 >= 2.0.0"
5650 GNOME_PRINT="libgnomeprint-2.2 >= 2.2.0 libgnomeprintui-2.2 >=2.2.0"
5653 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5654 if test -n "$ac_tool_prefix"; then
5655 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5656 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5659 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5661 else
5662 case $PKG_CONFIG in
5663 [\\/]* | ?:[\\/]*)
5664 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5668 for as_dir in $PATH
5670 IFS=$as_save_IFS
5671 test -z "$as_dir" && as_dir=.
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5674 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5676 break 2
5678 done
5679 done
5680 IFS=$as_save_IFS
5683 esac
5685 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5686 if test -n "$PKG_CONFIG"; then
5687 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5688 echo "${ECHO_T}$PKG_CONFIG" >&6; }
5689 else
5690 { echo "$as_me:$LINENO: result: no" >&5
5691 echo "${ECHO_T}no" >&6; }
5696 if test -z "$ac_cv_path_PKG_CONFIG"; then
5697 ac_pt_PKG_CONFIG=$PKG_CONFIG
5698 # Extract the first word of "pkg-config", so it can be a program name with args.
5699 set dummy pkg-config; ac_word=$2
5700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5702 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5704 else
5705 case $ac_pt_PKG_CONFIG in
5706 [\\/]* | ?:[\\/]*)
5707 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5711 for as_dir in $PATH
5713 IFS=$as_save_IFS
5714 test -z "$as_dir" && as_dir=.
5715 for ac_exec_ext in '' $ac_executable_extensions; do
5716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5717 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 break 2
5721 done
5722 done
5723 IFS=$as_save_IFS
5726 esac
5728 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5729 if test -n "$ac_pt_PKG_CONFIG"; then
5730 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5731 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
5732 else
5733 { echo "$as_me:$LINENO: result: no" >&5
5734 echo "${ECHO_T}no" >&6; }
5737 if test "x$ac_pt_PKG_CONFIG" = x; then
5738 PKG_CONFIG=""
5739 else
5740 case $cross_compiling:$ac_tool_warned in
5741 yes:)
5742 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5743 whose name does not start with the host triplet. If you think this
5744 configuration is useful to you, please write to autoconf@gnu.org." >&5
5745 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5746 whose name does not start with the host triplet. If you think this
5747 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5748 ac_tool_warned=yes ;;
5749 esac
5750 PKG_CONFIG=$ac_pt_PKG_CONFIG
5752 else
5753 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5757 if test -n "$PKG_CONFIG"; then
5758 _pkg_min_version=0.9.0
5759 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5760 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
5761 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5762 { echo "$as_me:$LINENO: result: yes" >&5
5763 echo "${ECHO_T}yes" >&6; }
5764 else
5765 { echo "$as_me:$LINENO: result: no" >&5
5766 echo "${ECHO_T}no" >&6; }
5767 PKG_CONFIG=""
5772 pkg_failed=no
5773 { echo "$as_me:$LINENO: checking for GPIV_UI" >&5
5774 echo $ECHO_N "checking for GPIV_UI... $ECHO_C" >&6; }
5776 if test -n "$PKG_CONFIG"; then
5777 if test -n "$GPIV_UI_CFLAGS"; then
5778 pkg_cv_GPIV_UI_CFLAGS="$GPIV_UI_CFLAGS"
5779 else
5780 if test -n "$PKG_CONFIG" && \
5781 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\"") >&5
5782 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
5783 ac_status=$?
5784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785 (exit $ac_status); }; then
5786 pkg_cv_GPIV_UI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0" 2>/dev/null`
5787 else
5788 pkg_failed=yes
5791 else
5792 pkg_failed=untried
5794 if test -n "$PKG_CONFIG"; then
5795 if test -n "$GPIV_UI_LIBS"; then
5796 pkg_cv_GPIV_UI_LIBS="$GPIV_UI_LIBS"
5797 else
5798 if test -n "$PKG_CONFIG" && \
5799 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\"") >&5
5800 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
5801 ac_status=$?
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); }; then
5804 pkg_cv_GPIV_UI_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0" 2>/dev/null`
5805 else
5806 pkg_failed=yes
5809 else
5810 pkg_failed=untried
5815 if test $pkg_failed = yes; then
5817 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5818 _pkg_short_errors_supported=yes
5819 else
5820 _pkg_short_errors_supported=no
5822 if test $_pkg_short_errors_supported = yes; then
5823 GPIV_UI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0"`
5824 else
5825 GPIV_UI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0"`
5827 # Put the nasty error message in config.log where it belongs
5828 echo "$GPIV_UI_PKG_ERRORS" >&5
5830 { { echo "$as_me:$LINENO: error: Package requirements (libgnomeui-2.0) were not met:
5832 $GPIV_UI_PKG_ERRORS
5834 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5835 installed software in a non-standard prefix.
5837 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5838 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5839 See the pkg-config man page for more details.
5840 " >&5
5841 echo "$as_me: error: Package requirements (libgnomeui-2.0) were not met:
5843 $GPIV_UI_PKG_ERRORS
5845 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5846 installed software in a non-standard prefix.
5848 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5849 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5850 See the pkg-config man page for more details.
5851 " >&2;}
5852 { (exit 1); exit 1; }; }
5853 elif test $pkg_failed = untried; then
5854 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5855 is in your PATH or set the PKG_CONFIG environment variable to the full
5856 path to pkg-config.
5858 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5859 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5860 See the pkg-config man page for more details.
5862 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5863 See \`config.log' for more details." >&5
5864 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5865 is in your PATH or set the PKG_CONFIG environment variable to the full
5866 path to pkg-config.
5868 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5869 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5870 See the pkg-config man page for more details.
5872 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5873 See \`config.log' for more details." >&2;}
5874 { (exit 1); exit 1; }; }
5875 else
5876 GPIV_UI_CFLAGS=$pkg_cv_GPIV_UI_CFLAGS
5877 GPIV_UI_LIBS=$pkg_cv_GPIV_UI_LIBS
5878 { echo "$as_me:$LINENO: result: yes" >&5
5879 echo "${ECHO_T}yes" >&6; }
5883 pkg_failed=no
5884 { echo "$as_me:$LINENO: checking for GPIV_PRINT" >&5
5885 echo $ECHO_N "checking for GPIV_PRINT... $ECHO_C" >&6; }
5887 if test -n "$PKG_CONFIG"; then
5888 if test -n "$GPIV_PRINT_CFLAGS"; then
5889 pkg_cv_GPIV_PRINT_CFLAGS="$GPIV_PRINT_CFLAGS"
5890 else
5891 if test -n "$PKG_CONFIG" && \
5892 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 libgnomeprintui-2.2\"") >&5
5893 ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2") 2>&5
5894 ac_status=$?
5895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896 (exit $ac_status); }; then
5897 pkg_cv_GPIV_PRINT_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprint-2.2 libgnomeprintui-2.2" 2>/dev/null`
5898 else
5899 pkg_failed=yes
5902 else
5903 pkg_failed=untried
5905 if test -n "$PKG_CONFIG"; then
5906 if test -n "$GPIV_PRINT_LIBS"; then
5907 pkg_cv_GPIV_PRINT_LIBS="$GPIV_PRINT_LIBS"
5908 else
5909 if test -n "$PKG_CONFIG" && \
5910 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 libgnomeprintui-2.2\"") >&5
5911 ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2") 2>&5
5912 ac_status=$?
5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914 (exit $ac_status); }; then
5915 pkg_cv_GPIV_PRINT_LIBS=`$PKG_CONFIG --libs "libgnomeprint-2.2 libgnomeprintui-2.2" 2>/dev/null`
5916 else
5917 pkg_failed=yes
5920 else
5921 pkg_failed=untried
5926 if test $pkg_failed = yes; then
5928 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5929 _pkg_short_errors_supported=yes
5930 else
5931 _pkg_short_errors_supported=no
5933 if test $_pkg_short_errors_supported = yes; then
5934 GPIV_PRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2"`
5935 else
5936 GPIV_PRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2"`
5938 # Put the nasty error message in config.log where it belongs
5939 echo "$GPIV_PRINT_PKG_ERRORS" >&5
5941 { echo "$as_me:$LINENO: result: no" >&5
5942 echo "${ECHO_T}no" >&6; }
5943 echo "gnomeprint libraries are not available."
5944 elif test $pkg_failed = untried; then
5945 echo "gnomeprint libraries are not available."
5946 else
5947 GPIV_PRINT_CFLAGS=$pkg_cv_GPIV_PRINT_CFLAGS
5948 GPIV_PRINT_LIBS=$pkg_cv_GPIV_PRINT_LIBS
5949 { echo "$as_me:$LINENO: result: yes" >&5
5950 echo "${ECHO_T}yes" >&6; }
5951 gpiv_have_gnome_print=1
5954 if test "x$gpiv_have_gnome_print" = "x1"; then
5955 echo "gnomeprint IS available"
5956 cat >>confdefs.h <<\_ACEOF
5957 #define HAVE_GNOME_PRINT "1"
5958 _ACEOF
5960 GPIV_GNOME_LIBS="libgnomeui-2.0 libgnomeprint-2.2 libgnomeprintui-2.2"
5961 else
5962 echo "gnomeprint NOT available"
5963 GPIV_GNOME_LIBS="libgnomeui-2.0"
5966 echo "configuring with libraries: " $gpiv_gnome_libs
5968 pkg_failed=no
5969 { echo "$as_me:$LINENO: checking for GPIV" >&5
5970 echo $ECHO_N "checking for GPIV... $ECHO_C" >&6; }
5972 if test -n "$PKG_CONFIG"; then
5973 if test -n "$GPIV_CFLAGS"; then
5974 pkg_cv_GPIV_CFLAGS="$GPIV_CFLAGS"
5975 else
5976 if test -n "$PKG_CONFIG" && \
5977 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GPIV_GNOME_LIBS\"") >&5
5978 ($PKG_CONFIG --exists --print-errors "$GPIV_GNOME_LIBS") 2>&5
5979 ac_status=$?
5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); }; then
5982 pkg_cv_GPIV_CFLAGS=`$PKG_CONFIG --cflags "$GPIV_GNOME_LIBS" 2>/dev/null`
5983 else
5984 pkg_failed=yes
5987 else
5988 pkg_failed=untried
5990 if test -n "$PKG_CONFIG"; then
5991 if test -n "$GPIV_LIBS"; then
5992 pkg_cv_GPIV_LIBS="$GPIV_LIBS"
5993 else
5994 if test -n "$PKG_CONFIG" && \
5995 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GPIV_GNOME_LIBS\"") >&5
5996 ($PKG_CONFIG --exists --print-errors "$GPIV_GNOME_LIBS") 2>&5
5997 ac_status=$?
5998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999 (exit $ac_status); }; then
6000 pkg_cv_GPIV_LIBS=`$PKG_CONFIG --libs "$GPIV_GNOME_LIBS" 2>/dev/null`
6001 else
6002 pkg_failed=yes
6005 else
6006 pkg_failed=untried
6011 if test $pkg_failed = yes; then
6013 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6014 _pkg_short_errors_supported=yes
6015 else
6016 _pkg_short_errors_supported=no
6018 if test $_pkg_short_errors_supported = yes; then
6019 GPIV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GPIV_GNOME_LIBS"`
6020 else
6021 GPIV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GPIV_GNOME_LIBS"`
6023 # Put the nasty error message in config.log where it belongs
6024 echo "$GPIV_PKG_ERRORS" >&5
6026 { { echo "$as_me:$LINENO: error: Package requirements ($GPIV_GNOME_LIBS) were not met:
6028 $GPIV_PKG_ERRORS
6030 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6031 installed software in a non-standard prefix.
6033 Alternatively, you may set the environment variables GPIV_CFLAGS
6034 and GPIV_LIBS to avoid the need to call pkg-config.
6035 See the pkg-config man page for more details.
6036 " >&5
6037 echo "$as_me: error: Package requirements ($GPIV_GNOME_LIBS) were not met:
6039 $GPIV_PKG_ERRORS
6041 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6042 installed software in a non-standard prefix.
6044 Alternatively, you may set the environment variables GPIV_CFLAGS
6045 and GPIV_LIBS to avoid the need to call pkg-config.
6046 See the pkg-config man page for more details.
6047 " >&2;}
6048 { (exit 1); exit 1; }; }
6049 elif test $pkg_failed = untried; then
6050 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
6051 is in your PATH or set the PKG_CONFIG environment variable to the full
6052 path to pkg-config.
6054 Alternatively, you may set the environment variables GPIV_CFLAGS
6055 and GPIV_LIBS to avoid the need to call pkg-config.
6056 See the pkg-config man page for more details.
6058 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6059 See \`config.log' for more details." >&5
6060 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
6061 is in your PATH or set the PKG_CONFIG environment variable to the full
6062 path to pkg-config.
6064 Alternatively, you may set the environment variables GPIV_CFLAGS
6065 and GPIV_LIBS to avoid the need to call pkg-config.
6066 See the pkg-config man page for more details.
6068 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6069 See \`config.log' for more details." >&2;}
6070 { (exit 1); exit 1; }; }
6071 else
6072 GPIV_CFLAGS=$pkg_cv_GPIV_CFLAGS
6073 GPIV_LIBS=$pkg_cv_GPIV_LIBS
6074 { echo "$as_me:$LINENO: result: yes" >&5
6075 echo "${ECHO_T}yes" >&6; }
6082 GETTEXT_PACKAGE=gpiv
6084 cat >>confdefs.h <<_ACEOF
6085 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6086 _ACEOF
6088 ALL_LINGUAS="ca de nl"
6089 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6099 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6100 inttypes.h stdint.h unistd.h
6102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6106 echo $ECHO_N "(cached) $ECHO_C" >&6
6107 else
6108 cat >conftest.$ac_ext <<_ACEOF
6109 /* confdefs.h. */
6110 _ACEOF
6111 cat confdefs.h >>conftest.$ac_ext
6112 cat >>conftest.$ac_ext <<_ACEOF
6113 /* end confdefs.h. */
6114 $ac_includes_default
6116 #include <$ac_header>
6117 _ACEOF
6118 rm -f conftest.$ac_objext
6119 if { (ac_try="$ac_compile"
6120 case "(($ac_try" in
6121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6122 *) ac_try_echo=$ac_try;;
6123 esac
6124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6125 (eval "$ac_compile") 2>conftest.er1
6126 ac_status=$?
6127 grep -v '^ *+' conftest.er1 >conftest.err
6128 rm -f conftest.er1
6129 cat conftest.err >&5
6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131 (exit $ac_status); } && {
6132 test -z "$ac_c_werror_flag" ||
6133 test ! -s conftest.err
6134 } && test -s conftest.$ac_objext; then
6135 eval "$as_ac_Header=yes"
6136 else
6137 echo "$as_me: failed program was:" >&5
6138 sed 's/^/| /' conftest.$ac_ext >&5
6140 eval "$as_ac_Header=no"
6143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6145 ac_res=`eval echo '${'$as_ac_Header'}'`
6146 { echo "$as_me:$LINENO: result: $ac_res" >&5
6147 echo "${ECHO_T}$ac_res" >&6; }
6148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6149 cat >>confdefs.h <<_ACEOF
6150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6151 _ACEOF
6155 done
6160 for ac_header in locale.h
6162 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6163 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6164 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6167 echo $ECHO_N "(cached) $ECHO_C" >&6
6169 ac_res=`eval echo '${'$as_ac_Header'}'`
6170 { echo "$as_me:$LINENO: result: $ac_res" >&5
6171 echo "${ECHO_T}$ac_res" >&6; }
6172 else
6173 # Is the header compilable?
6174 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6176 cat >conftest.$ac_ext <<_ACEOF
6177 /* confdefs.h. */
6178 _ACEOF
6179 cat confdefs.h >>conftest.$ac_ext
6180 cat >>conftest.$ac_ext <<_ACEOF
6181 /* end confdefs.h. */
6182 $ac_includes_default
6183 #include <$ac_header>
6184 _ACEOF
6185 rm -f conftest.$ac_objext
6186 if { (ac_try="$ac_compile"
6187 case "(($ac_try" in
6188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6189 *) ac_try_echo=$ac_try;;
6190 esac
6191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6192 (eval "$ac_compile") 2>conftest.er1
6193 ac_status=$?
6194 grep -v '^ *+' conftest.er1 >conftest.err
6195 rm -f conftest.er1
6196 cat conftest.err >&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); } && {
6199 test -z "$ac_c_werror_flag" ||
6200 test ! -s conftest.err
6201 } && test -s conftest.$ac_objext; then
6202 ac_header_compiler=yes
6203 else
6204 echo "$as_me: failed program was:" >&5
6205 sed 's/^/| /' conftest.$ac_ext >&5
6207 ac_header_compiler=no
6210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6211 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6212 echo "${ECHO_T}$ac_header_compiler" >&6; }
6214 # Is the header present?
6215 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6216 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6217 cat >conftest.$ac_ext <<_ACEOF
6218 /* confdefs.h. */
6219 _ACEOF
6220 cat confdefs.h >>conftest.$ac_ext
6221 cat >>conftest.$ac_ext <<_ACEOF
6222 /* end confdefs.h. */
6223 #include <$ac_header>
6224 _ACEOF
6225 if { (ac_try="$ac_cpp conftest.$ac_ext"
6226 case "(($ac_try" in
6227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6228 *) ac_try_echo=$ac_try;;
6229 esac
6230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6231 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6232 ac_status=$?
6233 grep -v '^ *+' conftest.er1 >conftest.err
6234 rm -f conftest.er1
6235 cat conftest.err >&5
6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237 (exit $ac_status); } >/dev/null && {
6238 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6239 test ! -s conftest.err
6240 }; then
6241 ac_header_preproc=yes
6242 else
6243 echo "$as_me: failed program was:" >&5
6244 sed 's/^/| /' conftest.$ac_ext >&5
6246 ac_header_preproc=no
6249 rm -f conftest.err conftest.$ac_ext
6250 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6251 echo "${ECHO_T}$ac_header_preproc" >&6; }
6253 # So? What about this header?
6254 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6255 yes:no: )
6256 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6257 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6259 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6260 ac_header_preproc=yes
6262 no:yes:* )
6263 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6264 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6265 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6266 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6267 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6268 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6269 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6270 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6272 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6273 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6274 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6275 ( cat <<\_ASBOX
6276 ## ------------------------------------------------------------------- ##
6277 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
6278 ## ------------------------------------------------------------------- ##
6279 _ASBOX
6280 ) | sed "s/^/$as_me: WARNING: /" >&2
6282 esac
6283 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6285 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 else
6288 eval "$as_ac_Header=\$ac_header_preproc"
6290 ac_res=`eval echo '${'$as_ac_Header'}'`
6291 { echo "$as_me:$LINENO: result: $ac_res" >&5
6292 echo "${ECHO_T}$ac_res" >&6; }
6295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6296 cat >>confdefs.h <<_ACEOF
6297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6298 _ACEOF
6302 done
6304 if test $ac_cv_header_locale_h = yes; then
6305 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6306 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
6307 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6309 else
6310 cat >conftest.$ac_ext <<_ACEOF
6311 /* confdefs.h. */
6312 _ACEOF
6313 cat confdefs.h >>conftest.$ac_ext
6314 cat >>conftest.$ac_ext <<_ACEOF
6315 /* end confdefs.h. */
6316 #include <locale.h>
6318 main ()
6320 return LC_MESSAGES
6322 return 0;
6324 _ACEOF
6325 rm -f conftest.$ac_objext conftest$ac_exeext
6326 if { (ac_try="$ac_link"
6327 case "(($ac_try" in
6328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6329 *) ac_try_echo=$ac_try;;
6330 esac
6331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6332 (eval "$ac_link") 2>conftest.er1
6333 ac_status=$?
6334 grep -v '^ *+' conftest.er1 >conftest.err
6335 rm -f conftest.er1
6336 cat conftest.err >&5
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); } && {
6339 test -z "$ac_c_werror_flag" ||
6340 test ! -s conftest.err
6341 } && test -s conftest$ac_exeext &&
6342 $as_test_x conftest$ac_exeext; then
6343 am_cv_val_LC_MESSAGES=yes
6344 else
6345 echo "$as_me: failed program was:" >&5
6346 sed 's/^/| /' conftest.$ac_ext >&5
6348 am_cv_val_LC_MESSAGES=no
6351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6352 conftest$ac_exeext conftest.$ac_ext
6354 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6355 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
6356 if test $am_cv_val_LC_MESSAGES = yes; then
6358 cat >>confdefs.h <<\_ACEOF
6359 #define HAVE_LC_MESSAGES 1
6360 _ACEOF
6364 USE_NLS=yes
6367 gt_cv_have_gettext=no
6369 CATOBJEXT=NONE
6370 XGETTEXT=:
6371 INTLLIBS=
6373 if test "${ac_cv_header_libintl_h+set}" = set; then
6374 { echo "$as_me:$LINENO: checking for libintl.h" >&5
6375 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
6376 if test "${ac_cv_header_libintl_h+set}" = set; then
6377 echo $ECHO_N "(cached) $ECHO_C" >&6
6379 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6380 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
6381 else
6382 # Is the header compilable?
6383 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
6384 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
6385 cat >conftest.$ac_ext <<_ACEOF
6386 /* confdefs.h. */
6387 _ACEOF
6388 cat confdefs.h >>conftest.$ac_ext
6389 cat >>conftest.$ac_ext <<_ACEOF
6390 /* end confdefs.h. */
6391 $ac_includes_default
6392 #include <libintl.h>
6393 _ACEOF
6394 rm -f conftest.$ac_objext
6395 if { (ac_try="$ac_compile"
6396 case "(($ac_try" in
6397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6398 *) ac_try_echo=$ac_try;;
6399 esac
6400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6401 (eval "$ac_compile") 2>conftest.er1
6402 ac_status=$?
6403 grep -v '^ *+' conftest.er1 >conftest.err
6404 rm -f conftest.er1
6405 cat conftest.err >&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); } && {
6408 test -z "$ac_c_werror_flag" ||
6409 test ! -s conftest.err
6410 } && test -s conftest.$ac_objext; then
6411 ac_header_compiler=yes
6412 else
6413 echo "$as_me: failed program was:" >&5
6414 sed 's/^/| /' conftest.$ac_ext >&5
6416 ac_header_compiler=no
6419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6420 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6421 echo "${ECHO_T}$ac_header_compiler" >&6; }
6423 # Is the header present?
6424 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
6425 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
6426 cat >conftest.$ac_ext <<_ACEOF
6427 /* confdefs.h. */
6428 _ACEOF
6429 cat confdefs.h >>conftest.$ac_ext
6430 cat >>conftest.$ac_ext <<_ACEOF
6431 /* end confdefs.h. */
6432 #include <libintl.h>
6433 _ACEOF
6434 if { (ac_try="$ac_cpp conftest.$ac_ext"
6435 case "(($ac_try" in
6436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6437 *) ac_try_echo=$ac_try;;
6438 esac
6439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6440 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6441 ac_status=$?
6442 grep -v '^ *+' conftest.er1 >conftest.err
6443 rm -f conftest.er1
6444 cat conftest.err >&5
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); } >/dev/null && {
6447 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6448 test ! -s conftest.err
6449 }; then
6450 ac_header_preproc=yes
6451 else
6452 echo "$as_me: failed program was:" >&5
6453 sed 's/^/| /' conftest.$ac_ext >&5
6455 ac_header_preproc=no
6458 rm -f conftest.err conftest.$ac_ext
6459 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6460 echo "${ECHO_T}$ac_header_preproc" >&6; }
6462 # So? What about this header?
6463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6464 yes:no: )
6465 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6466 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6467 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
6468 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
6469 ac_header_preproc=yes
6471 no:yes:* )
6472 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6473 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6474 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
6475 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
6476 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6477 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6478 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
6479 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
6480 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6481 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
6482 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6483 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6484 ( cat <<\_ASBOX
6485 ## ------------------------------------------------------------------- ##
6486 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
6487 ## ------------------------------------------------------------------- ##
6488 _ASBOX
6489 ) | sed "s/^/$as_me: WARNING: /" >&2
6491 esac
6492 { echo "$as_me:$LINENO: checking for libintl.h" >&5
6493 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
6494 if test "${ac_cv_header_libintl_h+set}" = set; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6496 else
6497 ac_cv_header_libintl_h=$ac_header_preproc
6499 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6500 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
6503 if test $ac_cv_header_libintl_h = yes; then
6504 gt_cv_func_dgettext_libintl="no"
6505 libintl_extra_libs=""
6508 # First check in libc
6510 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
6511 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
6512 if test "${gt_cv_func_ngettext_libc+set}" = set; then
6513 echo $ECHO_N "(cached) $ECHO_C" >&6
6514 else
6515 cat >conftest.$ac_ext <<_ACEOF
6516 /* confdefs.h. */
6517 _ACEOF
6518 cat confdefs.h >>conftest.$ac_ext
6519 cat >>conftest.$ac_ext <<_ACEOF
6520 /* end confdefs.h. */
6522 #include <libintl.h>
6525 main ()
6527 return !ngettext ("","", 1)
6529 return 0;
6531 _ACEOF
6532 rm -f conftest.$ac_objext conftest$ac_exeext
6533 if { (ac_try="$ac_link"
6534 case "(($ac_try" in
6535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6536 *) ac_try_echo=$ac_try;;
6537 esac
6538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6539 (eval "$ac_link") 2>conftest.er1
6540 ac_status=$?
6541 grep -v '^ *+' conftest.er1 >conftest.err
6542 rm -f conftest.er1
6543 cat conftest.err >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } && {
6546 test -z "$ac_c_werror_flag" ||
6547 test ! -s conftest.err
6548 } && test -s conftest$ac_exeext &&
6549 $as_test_x conftest$ac_exeext; then
6550 gt_cv_func_ngettext_libc=yes
6551 else
6552 echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.$ac_ext >&5
6555 gt_cv_func_ngettext_libc=no
6558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6559 conftest$ac_exeext conftest.$ac_ext
6562 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
6563 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
6565 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6566 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
6567 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
6568 if test "${gt_cv_func_dgettext_libc+set}" = set; then
6569 echo $ECHO_N "(cached) $ECHO_C" >&6
6570 else
6571 cat >conftest.$ac_ext <<_ACEOF
6572 /* confdefs.h. */
6573 _ACEOF
6574 cat confdefs.h >>conftest.$ac_ext
6575 cat >>conftest.$ac_ext <<_ACEOF
6576 /* end confdefs.h. */
6578 #include <libintl.h>
6581 main ()
6583 return !dgettext ("","")
6585 return 0;
6587 _ACEOF
6588 rm -f conftest.$ac_objext conftest$ac_exeext
6589 if { (ac_try="$ac_link"
6590 case "(($ac_try" in
6591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6592 *) ac_try_echo=$ac_try;;
6593 esac
6594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6595 (eval "$ac_link") 2>conftest.er1
6596 ac_status=$?
6597 grep -v '^ *+' conftest.er1 >conftest.err
6598 rm -f conftest.er1
6599 cat conftest.err >&5
6600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6601 (exit $ac_status); } && {
6602 test -z "$ac_c_werror_flag" ||
6603 test ! -s conftest.err
6604 } && test -s conftest$ac_exeext &&
6605 $as_test_x conftest$ac_exeext; then
6606 gt_cv_func_dgettext_libc=yes
6607 else
6608 echo "$as_me: failed program was:" >&5
6609 sed 's/^/| /' conftest.$ac_ext >&5
6611 gt_cv_func_dgettext_libc=no
6614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6615 conftest$ac_exeext conftest.$ac_ext
6618 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
6619 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
6622 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6624 for ac_func in bind_textdomain_codeset
6626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6627 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6629 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6630 echo $ECHO_N "(cached) $ECHO_C" >&6
6631 else
6632 cat >conftest.$ac_ext <<_ACEOF
6633 /* confdefs.h. */
6634 _ACEOF
6635 cat confdefs.h >>conftest.$ac_ext
6636 cat >>conftest.$ac_ext <<_ACEOF
6637 /* end confdefs.h. */
6638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6640 #define $ac_func innocuous_$ac_func
6642 /* System header to define __stub macros and hopefully few prototypes,
6643 which can conflict with char $ac_func (); below.
6644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6645 <limits.h> exists even on freestanding compilers. */
6647 #ifdef __STDC__
6648 # include <limits.h>
6649 #else
6650 # include <assert.h>
6651 #endif
6653 #undef $ac_func
6655 /* Override any GCC internal prototype to avoid an error.
6656 Use char because int might match the return type of a GCC
6657 builtin and then its argument prototype would still apply. */
6658 #ifdef __cplusplus
6659 extern "C"
6660 #endif
6661 char $ac_func ();
6662 /* The GNU C library defines this for functions which it implements
6663 to always fail with ENOSYS. Some functions are actually named
6664 something starting with __ and the normal name is an alias. */
6665 #if defined __stub_$ac_func || defined __stub___$ac_func
6666 choke me
6667 #endif
6670 main ()
6672 return $ac_func ();
6674 return 0;
6676 _ACEOF
6677 rm -f conftest.$ac_objext conftest$ac_exeext
6678 if { (ac_try="$ac_link"
6679 case "(($ac_try" in
6680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6681 *) ac_try_echo=$ac_try;;
6682 esac
6683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6684 (eval "$ac_link") 2>conftest.er1
6685 ac_status=$?
6686 grep -v '^ *+' conftest.er1 >conftest.err
6687 rm -f conftest.er1
6688 cat conftest.err >&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); } && {
6691 test -z "$ac_c_werror_flag" ||
6692 test ! -s conftest.err
6693 } && test -s conftest$ac_exeext &&
6694 $as_test_x conftest$ac_exeext; then
6695 eval "$as_ac_var=yes"
6696 else
6697 echo "$as_me: failed program was:" >&5
6698 sed 's/^/| /' conftest.$ac_ext >&5
6700 eval "$as_ac_var=no"
6703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6704 conftest$ac_exeext conftest.$ac_ext
6706 ac_res=`eval echo '${'$as_ac_var'}'`
6707 { echo "$as_me:$LINENO: result: $ac_res" >&5
6708 echo "${ECHO_T}$ac_res" >&6; }
6709 if test `eval echo '${'$as_ac_var'}'` = yes; then
6710 cat >>confdefs.h <<_ACEOF
6711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6712 _ACEOF
6715 done
6720 # If we don't have everything we want, check in libintl
6722 if test "$gt_cv_func_dgettext_libc" != "yes" \
6723 || test "$gt_cv_func_ngettext_libc" != "yes" \
6724 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6726 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
6727 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
6728 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6729 echo $ECHO_N "(cached) $ECHO_C" >&6
6730 else
6731 ac_check_lib_save_LIBS=$LIBS
6732 LIBS="-lintl $LIBS"
6733 cat >conftest.$ac_ext <<_ACEOF
6734 /* confdefs.h. */
6735 _ACEOF
6736 cat confdefs.h >>conftest.$ac_ext
6737 cat >>conftest.$ac_ext <<_ACEOF
6738 /* end confdefs.h. */
6740 /* Override any GCC internal prototype to avoid an error.
6741 Use char because int might match the return type of a GCC
6742 builtin and then its argument prototype would still apply. */
6743 #ifdef __cplusplus
6744 extern "C"
6745 #endif
6746 char bindtextdomain ();
6748 main ()
6750 return bindtextdomain ();
6752 return 0;
6754 _ACEOF
6755 rm -f conftest.$ac_objext conftest$ac_exeext
6756 if { (ac_try="$ac_link"
6757 case "(($ac_try" in
6758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6759 *) ac_try_echo=$ac_try;;
6760 esac
6761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6762 (eval "$ac_link") 2>conftest.er1
6763 ac_status=$?
6764 grep -v '^ *+' conftest.er1 >conftest.err
6765 rm -f conftest.er1
6766 cat conftest.err >&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); } && {
6769 test -z "$ac_c_werror_flag" ||
6770 test ! -s conftest.err
6771 } && test -s conftest$ac_exeext &&
6772 $as_test_x conftest$ac_exeext; then
6773 ac_cv_lib_intl_bindtextdomain=yes
6774 else
6775 echo "$as_me: failed program was:" >&5
6776 sed 's/^/| /' conftest.$ac_ext >&5
6778 ac_cv_lib_intl_bindtextdomain=no
6781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6782 conftest$ac_exeext conftest.$ac_ext
6783 LIBS=$ac_check_lib_save_LIBS
6785 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
6786 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
6787 if test $ac_cv_lib_intl_bindtextdomain = yes; then
6788 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6789 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
6790 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6791 echo $ECHO_N "(cached) $ECHO_C" >&6
6792 else
6793 ac_check_lib_save_LIBS=$LIBS
6794 LIBS="-lintl $LIBS"
6795 cat >conftest.$ac_ext <<_ACEOF
6796 /* confdefs.h. */
6797 _ACEOF
6798 cat confdefs.h >>conftest.$ac_ext
6799 cat >>conftest.$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6802 /* Override any GCC internal prototype to avoid an error.
6803 Use char because int might match the return type of a GCC
6804 builtin and then its argument prototype would still apply. */
6805 #ifdef __cplusplus
6806 extern "C"
6807 #endif
6808 char ngettext ();
6810 main ()
6812 return ngettext ();
6814 return 0;
6816 _ACEOF
6817 rm -f conftest.$ac_objext conftest$ac_exeext
6818 if { (ac_try="$ac_link"
6819 case "(($ac_try" in
6820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6821 *) ac_try_echo=$ac_try;;
6822 esac
6823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6824 (eval "$ac_link") 2>conftest.er1
6825 ac_status=$?
6826 grep -v '^ *+' conftest.er1 >conftest.err
6827 rm -f conftest.er1
6828 cat conftest.err >&5
6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); } && {
6831 test -z "$ac_c_werror_flag" ||
6832 test ! -s conftest.err
6833 } && test -s conftest$ac_exeext &&
6834 $as_test_x conftest$ac_exeext; then
6835 ac_cv_lib_intl_ngettext=yes
6836 else
6837 echo "$as_me: failed program was:" >&5
6838 sed 's/^/| /' conftest.$ac_ext >&5
6840 ac_cv_lib_intl_ngettext=no
6843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6844 conftest$ac_exeext conftest.$ac_ext
6845 LIBS=$ac_check_lib_save_LIBS
6847 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6848 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6849 if test $ac_cv_lib_intl_ngettext = yes; then
6850 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
6851 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
6852 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
6853 echo $ECHO_N "(cached) $ECHO_C" >&6
6854 else
6855 ac_check_lib_save_LIBS=$LIBS
6856 LIBS="-lintl $LIBS"
6857 cat >conftest.$ac_ext <<_ACEOF
6858 /* confdefs.h. */
6859 _ACEOF
6860 cat confdefs.h >>conftest.$ac_ext
6861 cat >>conftest.$ac_ext <<_ACEOF
6862 /* end confdefs.h. */
6864 /* Override any GCC internal prototype to avoid an error.
6865 Use char because int might match the return type of a GCC
6866 builtin and then its argument prototype would still apply. */
6867 #ifdef __cplusplus
6868 extern "C"
6869 #endif
6870 char dgettext ();
6872 main ()
6874 return dgettext ();
6876 return 0;
6878 _ACEOF
6879 rm -f conftest.$ac_objext conftest$ac_exeext
6880 if { (ac_try="$ac_link"
6881 case "(($ac_try" in
6882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6883 *) ac_try_echo=$ac_try;;
6884 esac
6885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6886 (eval "$ac_link") 2>conftest.er1
6887 ac_status=$?
6888 grep -v '^ *+' conftest.er1 >conftest.err
6889 rm -f conftest.er1
6890 cat conftest.err >&5
6891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6892 (exit $ac_status); } && {
6893 test -z "$ac_c_werror_flag" ||
6894 test ! -s conftest.err
6895 } && test -s conftest$ac_exeext &&
6896 $as_test_x conftest$ac_exeext; then
6897 ac_cv_lib_intl_dgettext=yes
6898 else
6899 echo "$as_me: failed program was:" >&5
6900 sed 's/^/| /' conftest.$ac_ext >&5
6902 ac_cv_lib_intl_dgettext=no
6905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6906 conftest$ac_exeext conftest.$ac_ext
6907 LIBS=$ac_check_lib_save_LIBS
6909 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
6910 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
6911 if test $ac_cv_lib_intl_dgettext = yes; then
6912 gt_cv_func_dgettext_libintl=yes
6920 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6921 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
6922 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
6923 { echo "$as_me:$LINENO: result: " >&5
6924 echo "${ECHO_T}" >&6; }
6925 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6926 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
6927 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6928 echo $ECHO_N "(cached) $ECHO_C" >&6
6929 else
6930 ac_check_lib_save_LIBS=$LIBS
6931 LIBS="-lintl -liconv $LIBS"
6932 cat >conftest.$ac_ext <<_ACEOF
6933 /* confdefs.h. */
6934 _ACEOF
6935 cat confdefs.h >>conftest.$ac_ext
6936 cat >>conftest.$ac_ext <<_ACEOF
6937 /* end confdefs.h. */
6939 /* Override any GCC internal prototype to avoid an error.
6940 Use char because int might match the return type of a GCC
6941 builtin and then its argument prototype would still apply. */
6942 #ifdef __cplusplus
6943 extern "C"
6944 #endif
6945 char ngettext ();
6947 main ()
6949 return ngettext ();
6951 return 0;
6953 _ACEOF
6954 rm -f conftest.$ac_objext conftest$ac_exeext
6955 if { (ac_try="$ac_link"
6956 case "(($ac_try" in
6957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6958 *) ac_try_echo=$ac_try;;
6959 esac
6960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6961 (eval "$ac_link") 2>conftest.er1
6962 ac_status=$?
6963 grep -v '^ *+' conftest.er1 >conftest.err
6964 rm -f conftest.er1
6965 cat conftest.err >&5
6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); } && {
6968 test -z "$ac_c_werror_flag" ||
6969 test ! -s conftest.err
6970 } && test -s conftest$ac_exeext &&
6971 $as_test_x conftest$ac_exeext; then
6972 ac_cv_lib_intl_ngettext=yes
6973 else
6974 echo "$as_me: failed program was:" >&5
6975 sed 's/^/| /' conftest.$ac_ext >&5
6977 ac_cv_lib_intl_ngettext=no
6980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6981 conftest$ac_exeext conftest.$ac_ext
6982 LIBS=$ac_check_lib_save_LIBS
6984 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6985 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6986 if test $ac_cv_lib_intl_ngettext = yes; then
6987 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
6988 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
6989 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
6990 echo $ECHO_N "(cached) $ECHO_C" >&6
6991 else
6992 ac_check_lib_save_LIBS=$LIBS
6993 LIBS="-lintl -liconv $LIBS"
6994 cat >conftest.$ac_ext <<_ACEOF
6995 /* confdefs.h. */
6996 _ACEOF
6997 cat confdefs.h >>conftest.$ac_ext
6998 cat >>conftest.$ac_ext <<_ACEOF
6999 /* end confdefs.h. */
7001 /* Override any GCC internal prototype to avoid an error.
7002 Use char because int might match the return type of a GCC
7003 builtin and then its argument prototype would still apply. */
7004 #ifdef __cplusplus
7005 extern "C"
7006 #endif
7007 char dcgettext ();
7009 main ()
7011 return dcgettext ();
7013 return 0;
7015 _ACEOF
7016 rm -f conftest.$ac_objext conftest$ac_exeext
7017 if { (ac_try="$ac_link"
7018 case "(($ac_try" in
7019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7020 *) ac_try_echo=$ac_try;;
7021 esac
7022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7023 (eval "$ac_link") 2>conftest.er1
7024 ac_status=$?
7025 grep -v '^ *+' conftest.er1 >conftest.err
7026 rm -f conftest.er1
7027 cat conftest.err >&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); } && {
7030 test -z "$ac_c_werror_flag" ||
7031 test ! -s conftest.err
7032 } && test -s conftest$ac_exeext &&
7033 $as_test_x conftest$ac_exeext; then
7034 ac_cv_lib_intl_dcgettext=yes
7035 else
7036 echo "$as_me: failed program was:" >&5
7037 sed 's/^/| /' conftest.$ac_ext >&5
7039 ac_cv_lib_intl_dcgettext=no
7042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7043 conftest$ac_exeext conftest.$ac_ext
7044 LIBS=$ac_check_lib_save_LIBS
7046 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
7047 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
7048 if test $ac_cv_lib_intl_dcgettext = yes; then
7049 gt_cv_func_dgettext_libintl=yes
7050 libintl_extra_libs=-liconv
7051 else
7055 else
7062 # If we found libintl, then check in it for bind_textdomain_codeset();
7063 # we'll prefer libc if neither have bind_textdomain_codeset(),
7064 # and both have dgettext and ngettext
7066 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
7067 glib_save_LIBS="$LIBS"
7068 LIBS="$LIBS -lintl $libintl_extra_libs"
7069 unset ac_cv_func_bind_textdomain_codeset
7071 for ac_func in bind_textdomain_codeset
7073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7074 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7077 echo $ECHO_N "(cached) $ECHO_C" >&6
7078 else
7079 cat >conftest.$ac_ext <<_ACEOF
7080 /* confdefs.h. */
7081 _ACEOF
7082 cat confdefs.h >>conftest.$ac_ext
7083 cat >>conftest.$ac_ext <<_ACEOF
7084 /* end confdefs.h. */
7085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7087 #define $ac_func innocuous_$ac_func
7089 /* System header to define __stub macros and hopefully few prototypes,
7090 which can conflict with char $ac_func (); below.
7091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7092 <limits.h> exists even on freestanding compilers. */
7094 #ifdef __STDC__
7095 # include <limits.h>
7096 #else
7097 # include <assert.h>
7098 #endif
7100 #undef $ac_func
7102 /* Override any GCC internal prototype to avoid an error.
7103 Use char because int might match the return type of a GCC
7104 builtin and then its argument prototype would still apply. */
7105 #ifdef __cplusplus
7106 extern "C"
7107 #endif
7108 char $ac_func ();
7109 /* The GNU C library defines this for functions which it implements
7110 to always fail with ENOSYS. Some functions are actually named
7111 something starting with __ and the normal name is an alias. */
7112 #if defined __stub_$ac_func || defined __stub___$ac_func
7113 choke me
7114 #endif
7117 main ()
7119 return $ac_func ();
7121 return 0;
7123 _ACEOF
7124 rm -f conftest.$ac_objext conftest$ac_exeext
7125 if { (ac_try="$ac_link"
7126 case "(($ac_try" in
7127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7128 *) ac_try_echo=$ac_try;;
7129 esac
7130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7131 (eval "$ac_link") 2>conftest.er1
7132 ac_status=$?
7133 grep -v '^ *+' conftest.er1 >conftest.err
7134 rm -f conftest.er1
7135 cat conftest.err >&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); } && {
7138 test -z "$ac_c_werror_flag" ||
7139 test ! -s conftest.err
7140 } && test -s conftest$ac_exeext &&
7141 $as_test_x conftest$ac_exeext; then
7142 eval "$as_ac_var=yes"
7143 else
7144 echo "$as_me: failed program was:" >&5
7145 sed 's/^/| /' conftest.$ac_ext >&5
7147 eval "$as_ac_var=no"
7150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7151 conftest$ac_exeext conftest.$ac_ext
7153 ac_res=`eval echo '${'$as_ac_var'}'`
7154 { echo "$as_me:$LINENO: result: $ac_res" >&5
7155 echo "${ECHO_T}$ac_res" >&6; }
7156 if test `eval echo '${'$as_ac_var'}'` = yes; then
7157 cat >>confdefs.h <<_ACEOF
7158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7159 _ACEOF
7162 done
7164 LIBS="$glib_save_LIBS"
7166 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
7167 gt_cv_func_dgettext_libc=no
7168 else
7169 if test "$gt_cv_func_dgettext_libc" = "yes" \
7170 && test "$gt_cv_func_ngettext_libc" = "yes"; then
7171 gt_cv_func_dgettext_libintl=no
7177 if test "$gt_cv_func_dgettext_libc" = "yes" \
7178 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
7179 gt_cv_have_gettext=yes
7182 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
7183 INTLLIBS="-lintl $libintl_extra_libs"
7186 if test "$gt_cv_have_gettext" = "yes"; then
7188 cat >>confdefs.h <<\_ACEOF
7189 #define HAVE_GETTEXT 1
7190 _ACEOF
7192 # Extract the first word of "msgfmt", so it can be a program name with args.
7193 set dummy msgfmt; ac_word=$2
7194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7196 if test "${ac_cv_path_MSGFMT+set}" = set; then
7197 echo $ECHO_N "(cached) $ECHO_C" >&6
7198 else
7199 case "$MSGFMT" in
7201 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7204 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7205 for ac_dir in $PATH; do
7206 test -z "$ac_dir" && ac_dir=.
7207 if test -f $ac_dir/$ac_word; then
7208 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7209 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
7210 break
7213 done
7214 IFS="$ac_save_ifs"
7215 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
7217 esac
7219 MSGFMT="$ac_cv_path_MSGFMT"
7220 if test "$MSGFMT" != "no"; then
7221 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7222 echo "${ECHO_T}$MSGFMT" >&6; }
7223 else
7224 { echo "$as_me:$LINENO: result: no" >&5
7225 echo "${ECHO_T}no" >&6; }
7227 if test "$MSGFMT" != "no"; then
7228 glib_save_LIBS="$LIBS"
7229 LIBS="$LIBS $INTLLIBS"
7231 for ac_func in dcgettext
7233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7234 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7236 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7237 echo $ECHO_N "(cached) $ECHO_C" >&6
7238 else
7239 cat >conftest.$ac_ext <<_ACEOF
7240 /* confdefs.h. */
7241 _ACEOF
7242 cat confdefs.h >>conftest.$ac_ext
7243 cat >>conftest.$ac_ext <<_ACEOF
7244 /* end confdefs.h. */
7245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7247 #define $ac_func innocuous_$ac_func
7249 /* System header to define __stub macros and hopefully few prototypes,
7250 which can conflict with char $ac_func (); below.
7251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7252 <limits.h> exists even on freestanding compilers. */
7254 #ifdef __STDC__
7255 # include <limits.h>
7256 #else
7257 # include <assert.h>
7258 #endif
7260 #undef $ac_func
7262 /* Override any GCC internal prototype to avoid an error.
7263 Use char because int might match the return type of a GCC
7264 builtin and then its argument prototype would still apply. */
7265 #ifdef __cplusplus
7266 extern "C"
7267 #endif
7268 char $ac_func ();
7269 /* The GNU C library defines this for functions which it implements
7270 to always fail with ENOSYS. Some functions are actually named
7271 something starting with __ and the normal name is an alias. */
7272 #if defined __stub_$ac_func || defined __stub___$ac_func
7273 choke me
7274 #endif
7277 main ()
7279 return $ac_func ();
7281 return 0;
7283 _ACEOF
7284 rm -f conftest.$ac_objext conftest$ac_exeext
7285 if { (ac_try="$ac_link"
7286 case "(($ac_try" in
7287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7288 *) ac_try_echo=$ac_try;;
7289 esac
7290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7291 (eval "$ac_link") 2>conftest.er1
7292 ac_status=$?
7293 grep -v '^ *+' conftest.er1 >conftest.err
7294 rm -f conftest.er1
7295 cat conftest.err >&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); } && {
7298 test -z "$ac_c_werror_flag" ||
7299 test ! -s conftest.err
7300 } && test -s conftest$ac_exeext &&
7301 $as_test_x conftest$ac_exeext; then
7302 eval "$as_ac_var=yes"
7303 else
7304 echo "$as_me: failed program was:" >&5
7305 sed 's/^/| /' conftest.$ac_ext >&5
7307 eval "$as_ac_var=no"
7310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7311 conftest$ac_exeext conftest.$ac_ext
7313 ac_res=`eval echo '${'$as_ac_var'}'`
7314 { echo "$as_me:$LINENO: result: $ac_res" >&5
7315 echo "${ECHO_T}$ac_res" >&6; }
7316 if test `eval echo '${'$as_ac_var'}'` = yes; then
7317 cat >>confdefs.h <<_ACEOF
7318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7319 _ACEOF
7322 done
7324 MSGFMT_OPTS=
7325 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
7326 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
7327 cat >conftest.foo <<_ACEOF
7329 msgid ""
7330 msgstr ""
7331 "Content-Type: text/plain; charset=UTF-8\n"
7332 "Project-Id-Version: test 1.0\n"
7333 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
7334 "Last-Translator: test <foo@bar.xx>\n"
7335 "Language-Team: C <LL@li.org>\n"
7336 "MIME-Version: 1.0\n"
7337 "Content-Transfer-Encoding: 8bit\n"
7339 _ACEOF
7340 if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
7341 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
7342 ac_status=$?
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); }; then
7345 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
7346 echo "${ECHO_T}yes" >&6; }
7347 else { echo "$as_me:$LINENO: result: no" >&5
7348 echo "${ECHO_T}no" >&6; }
7349 echo "$as_me: failed input was:" >&5
7350 sed 's/^/| /' conftest.foo >&5
7353 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7354 set dummy gmsgfmt; ac_word=$2
7355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7357 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6
7359 else
7360 case $GMSGFMT in
7361 [\\/]* | ?:[\\/]*)
7362 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 for as_dir in $PATH
7368 IFS=$as_save_IFS
7369 test -z "$as_dir" && as_dir=.
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7372 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7374 break 2
7376 done
7377 done
7378 IFS=$as_save_IFS
7380 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7382 esac
7384 GMSGFMT=$ac_cv_path_GMSGFMT
7385 if test -n "$GMSGFMT"; then
7386 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7387 echo "${ECHO_T}$GMSGFMT" >&6; }
7388 else
7389 { echo "$as_me:$LINENO: result: no" >&5
7390 echo "${ECHO_T}no" >&6; }
7394 # Extract the first word of "xgettext", so it can be a program name with args.
7395 set dummy xgettext; ac_word=$2
7396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7398 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7399 echo $ECHO_N "(cached) $ECHO_C" >&6
7400 else
7401 case "$XGETTEXT" in
7403 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7406 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7407 for ac_dir in $PATH; do
7408 test -z "$ac_dir" && ac_dir=.
7409 if test -f $ac_dir/$ac_word; then
7410 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7411 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
7412 break
7415 done
7416 IFS="$ac_save_ifs"
7417 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7419 esac
7421 XGETTEXT="$ac_cv_path_XGETTEXT"
7422 if test "$XGETTEXT" != ":"; then
7423 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7424 echo "${ECHO_T}$XGETTEXT" >&6; }
7425 else
7426 { echo "$as_me:$LINENO: result: no" >&5
7427 echo "${ECHO_T}no" >&6; }
7430 cat >conftest.$ac_ext <<_ACEOF
7431 /* confdefs.h. */
7432 _ACEOF
7433 cat confdefs.h >>conftest.$ac_ext
7434 cat >>conftest.$ac_ext <<_ACEOF
7435 /* end confdefs.h. */
7438 main ()
7440 extern int _nl_msg_cat_cntr;
7441 return _nl_msg_cat_cntr
7443 return 0;
7445 _ACEOF
7446 rm -f conftest.$ac_objext conftest$ac_exeext
7447 if { (ac_try="$ac_link"
7448 case "(($ac_try" in
7449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7450 *) ac_try_echo=$ac_try;;
7451 esac
7452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7453 (eval "$ac_link") 2>conftest.er1
7454 ac_status=$?
7455 grep -v '^ *+' conftest.er1 >conftest.err
7456 rm -f conftest.er1
7457 cat conftest.err >&5
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); } && {
7460 test -z "$ac_c_werror_flag" ||
7461 test ! -s conftest.err
7462 } && test -s conftest$ac_exeext &&
7463 $as_test_x conftest$ac_exeext; then
7464 CATOBJEXT=.gmo
7465 DATADIRNAME=share
7466 else
7467 echo "$as_me: failed program was:" >&5
7468 sed 's/^/| /' conftest.$ac_ext >&5
7470 case $host in
7471 *-*-solaris*)
7472 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7473 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
7474 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7475 echo $ECHO_N "(cached) $ECHO_C" >&6
7476 else
7477 cat >conftest.$ac_ext <<_ACEOF
7478 /* confdefs.h. */
7479 _ACEOF
7480 cat confdefs.h >>conftest.$ac_ext
7481 cat >>conftest.$ac_ext <<_ACEOF
7482 /* end confdefs.h. */
7483 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7485 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7487 /* System header to define __stub macros and hopefully few prototypes,
7488 which can conflict with char bind_textdomain_codeset (); below.
7489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7490 <limits.h> exists even on freestanding compilers. */
7492 #ifdef __STDC__
7493 # include <limits.h>
7494 #else
7495 # include <assert.h>
7496 #endif
7498 #undef bind_textdomain_codeset
7500 /* Override any GCC internal prototype to avoid an error.
7501 Use char because int might match the return type of a GCC
7502 builtin and then its argument prototype would still apply. */
7503 #ifdef __cplusplus
7504 extern "C"
7505 #endif
7506 char bind_textdomain_codeset ();
7507 /* The GNU C library defines this for functions which it implements
7508 to always fail with ENOSYS. Some functions are actually named
7509 something starting with __ and the normal name is an alias. */
7510 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7511 choke me
7512 #endif
7515 main ()
7517 return bind_textdomain_codeset ();
7519 return 0;
7521 _ACEOF
7522 rm -f conftest.$ac_objext conftest$ac_exeext
7523 if { (ac_try="$ac_link"
7524 case "(($ac_try" in
7525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7526 *) ac_try_echo=$ac_try;;
7527 esac
7528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7529 (eval "$ac_link") 2>conftest.er1
7530 ac_status=$?
7531 grep -v '^ *+' conftest.er1 >conftest.err
7532 rm -f conftest.er1
7533 cat conftest.err >&5
7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); } && {
7536 test -z "$ac_c_werror_flag" ||
7537 test ! -s conftest.err
7538 } && test -s conftest$ac_exeext &&
7539 $as_test_x conftest$ac_exeext; then
7540 ac_cv_func_bind_textdomain_codeset=yes
7541 else
7542 echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.$ac_ext >&5
7545 ac_cv_func_bind_textdomain_codeset=no
7548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7549 conftest$ac_exeext conftest.$ac_ext
7551 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7552 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
7553 if test $ac_cv_func_bind_textdomain_codeset = yes; then
7554 CATOBJEXT=.gmo
7555 DATADIRNAME=share
7556 else
7557 CATOBJEXT=.mo
7558 DATADIRNAME=lib
7563 CATOBJEXT=.mo
7564 DATADIRNAME=lib
7566 esac
7569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7570 conftest$ac_exeext conftest.$ac_ext
7571 LIBS="$glib_save_LIBS"
7572 INSTOBJEXT=.mo
7573 else
7574 gt_cv_have_gettext=no
7582 if test "$gt_cv_have_gettext" = "yes" ; then
7584 cat >>confdefs.h <<\_ACEOF
7585 #define ENABLE_NLS 1
7586 _ACEOF
7590 if test "$XGETTEXT" != ":"; then
7591 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7593 else
7594 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7595 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
7596 XGETTEXT=":"
7600 # We need to process the po/ directory.
7601 POSUB=po
7603 ac_config_commands="$ac_config_commands default-1"
7606 for lang in $ALL_LINGUAS; do
7607 GMOFILES="$GMOFILES $lang.gmo"
7608 POFILES="$POFILES $lang.po"
7609 done
7623 if test "$gt_cv_have_gettext" = "yes"; then
7624 if test "x$ALL_LINGUAS" = "x"; then
7625 LINGUAS=
7626 else
7627 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7628 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
7629 NEW_LINGUAS=
7630 for presentlang in $ALL_LINGUAS; do
7631 useit=no
7632 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
7633 desiredlanguages="$LINGUAS"
7634 else
7635 desiredlanguages="$ALL_LINGUAS"
7637 for desiredlang in $desiredlanguages; do
7638 # Use the presentlang catalog if desiredlang is
7639 # a. equal to presentlang, or
7640 # b. a variant of presentlang (because in this case,
7641 # presentlang can be used as a fallback for messages
7642 # which are not translated in the desiredlang catalog).
7643 case "$desiredlang" in
7644 "$presentlang"*) useit=yes;;
7645 esac
7646 done
7647 if test $useit = yes; then
7648 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
7650 done
7651 LINGUAS=$NEW_LINGUAS
7652 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
7653 echo "${ECHO_T}$LINGUAS" >&6; }
7656 if test -n "$LINGUAS"; then
7657 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
7661 MKINSTALLDIRS=
7662 if test -n "$ac_aux_dir"; then
7663 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
7665 if test -z "$MKINSTALLDIRS"; then
7666 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
7670 test -d po || mkdir po
7671 if test "x$srcdir" != "x."; then
7672 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
7673 posrcprefix="$srcdir/"
7674 else
7675 posrcprefix="../$srcdir/"
7677 else
7678 posrcprefix="../"
7680 rm -f po/POTFILES
7681 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7682 < $srcdir/po/POTFILES.in > po/POTFILES
7687 case "$am__api_version" in
7688 1.01234)
7689 { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
7690 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
7691 { (exit 1); exit 1; }; }
7695 esac
7697 if test -n ""; then
7698 { echo "$as_me:$LINENO: checking for intltool >= " >&5
7699 echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6; }
7701 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7702 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
7703 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7705 { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
7706 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
7707 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
7708 { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool or later." >&5
7709 echo "$as_me: error: Your intltool is too old. You need intltool or later." >&2;}
7710 { (exit 1); exit 1; }; }
7713 # Extract the first word of "intltool-update", so it can be a program name with args.
7714 set dummy intltool-update; ac_word=$2
7715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7717 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
7718 echo $ECHO_N "(cached) $ECHO_C" >&6
7719 else
7720 case $INTLTOOL_UPDATE in
7721 [\\/]* | ?:[\\/]*)
7722 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7726 for as_dir in $PATH
7728 IFS=$as_save_IFS
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7732 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
7733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7734 break 2
7736 done
7737 done
7738 IFS=$as_save_IFS
7741 esac
7743 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
7744 if test -n "$INTLTOOL_UPDATE"; then
7745 { echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
7746 echo "${ECHO_T}$INTLTOOL_UPDATE" >&6; }
7747 else
7748 { echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6; }
7753 # Extract the first word of "intltool-merge", so it can be a program name with args.
7754 set dummy intltool-merge; ac_word=$2
7755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7757 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
7758 echo $ECHO_N "(cached) $ECHO_C" >&6
7759 else
7760 case $INTLTOOL_MERGE in
7761 [\\/]* | ?:[\\/]*)
7762 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7766 for as_dir in $PATH
7768 IFS=$as_save_IFS
7769 test -z "$as_dir" && as_dir=.
7770 for ac_exec_ext in '' $ac_executable_extensions; do
7771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7772 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
7773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7774 break 2
7776 done
7777 done
7778 IFS=$as_save_IFS
7781 esac
7783 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
7784 if test -n "$INTLTOOL_MERGE"; then
7785 { echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
7786 echo "${ECHO_T}$INTLTOOL_MERGE" >&6; }
7787 else
7788 { echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6; }
7793 # Extract the first word of "intltool-extract", so it can be a program name with args.
7794 set dummy intltool-extract; ac_word=$2
7795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7797 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
7798 echo $ECHO_N "(cached) $ECHO_C" >&6
7799 else
7800 case $INTLTOOL_EXTRACT in
7801 [\\/]* | ?:[\\/]*)
7802 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
7805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7806 for as_dir in $PATH
7808 IFS=$as_save_IFS
7809 test -z "$as_dir" && as_dir=.
7810 for ac_exec_ext in '' $ac_executable_extensions; do
7811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7812 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
7813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7814 break 2
7816 done
7817 done
7818 IFS=$as_save_IFS
7821 esac
7823 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
7824 if test -n "$INTLTOOL_EXTRACT"; then
7825 { echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
7826 echo "${ECHO_T}$INTLTOOL_EXTRACT" >&6; }
7827 else
7828 { echo "$as_me:$LINENO: result: no" >&5
7829 echo "${ECHO_T}no" >&6; }
7833 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
7834 { { echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
7835 echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
7836 { (exit 1); exit 1; }; }
7839 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7840 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7841 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7842 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7843 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
7844 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7845 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7846 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7847 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7848 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7849 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7850 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
7851 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7852 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7853 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7854 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7855 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7856 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7857 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7879 # Check the gettext tools to make sure they are GNU
7880 # Extract the first word of "xgettext", so it can be a program name with args.
7881 set dummy xgettext; ac_word=$2
7882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7884 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7885 echo $ECHO_N "(cached) $ECHO_C" >&6
7886 else
7887 case $XGETTEXT in
7888 [\\/]* | ?:[\\/]*)
7889 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7893 for as_dir in $PATH
7895 IFS=$as_save_IFS
7896 test -z "$as_dir" && as_dir=.
7897 for ac_exec_ext in '' $ac_executable_extensions; do
7898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7899 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
7900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7901 break 2
7903 done
7904 done
7905 IFS=$as_save_IFS
7908 esac
7910 XGETTEXT=$ac_cv_path_XGETTEXT
7911 if test -n "$XGETTEXT"; then
7912 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7913 echo "${ECHO_T}$XGETTEXT" >&6; }
7914 else
7915 { echo "$as_me:$LINENO: result: no" >&5
7916 echo "${ECHO_T}no" >&6; }
7920 # Extract the first word of "msgmerge", so it can be a program name with args.
7921 set dummy msgmerge; ac_word=$2
7922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7924 if test "${ac_cv_path_MSGMERGE+set}" = set; then
7925 echo $ECHO_N "(cached) $ECHO_C" >&6
7926 else
7927 case $MSGMERGE in
7928 [\\/]* | ?:[\\/]*)
7929 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
7932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7933 for as_dir in $PATH
7935 IFS=$as_save_IFS
7936 test -z "$as_dir" && as_dir=.
7937 for ac_exec_ext in '' $ac_executable_extensions; do
7938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7939 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
7940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7941 break 2
7943 done
7944 done
7945 IFS=$as_save_IFS
7948 esac
7950 MSGMERGE=$ac_cv_path_MSGMERGE
7951 if test -n "$MSGMERGE"; then
7952 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7953 echo "${ECHO_T}$MSGMERGE" >&6; }
7954 else
7955 { echo "$as_me:$LINENO: result: no" >&5
7956 echo "${ECHO_T}no" >&6; }
7960 # Extract the first word of "msgfmt", so it can be a program name with args.
7961 set dummy msgfmt; ac_word=$2
7962 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7964 if test "${ac_cv_path_MSGFMT+set}" = set; then
7965 echo $ECHO_N "(cached) $ECHO_C" >&6
7966 else
7967 case $MSGFMT in
7968 [\\/]* | ?:[\\/]*)
7969 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7973 for as_dir in $PATH
7975 IFS=$as_save_IFS
7976 test -z "$as_dir" && as_dir=.
7977 for ac_exec_ext in '' $ac_executable_extensions; do
7978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7979 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
7980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7981 break 2
7983 done
7984 done
7985 IFS=$as_save_IFS
7988 esac
7990 MSGFMT=$ac_cv_path_MSGFMT
7991 if test -n "$MSGFMT"; then
7992 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7993 echo "${ECHO_T}$MSGFMT" >&6; }
7994 else
7995 { echo "$as_me:$LINENO: result: no" >&5
7996 echo "${ECHO_T}no" >&6; }
8000 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
8001 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
8002 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
8003 { (exit 1); exit 1; }; }
8005 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
8006 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
8007 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
8008 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
8009 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
8010 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
8011 { (exit 1); exit 1; }; }
8014 # Extract the first word of "perl", so it can be a program name with args.
8015 set dummy perl; ac_word=$2
8016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8018 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
8019 echo $ECHO_N "(cached) $ECHO_C" >&6
8020 else
8021 case $INTLTOOL_PERL in
8022 [\\/]* | ?:[\\/]*)
8023 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 for as_dir in $PATH
8029 IFS=$as_save_IFS
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8033 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
8034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8035 break 2
8037 done
8038 done
8039 IFS=$as_save_IFS
8042 esac
8044 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
8045 if test -n "$INTLTOOL_PERL"; then
8046 { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
8047 echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
8048 else
8049 { echo "$as_me:$LINENO: result: no" >&5
8050 echo "${ECHO_T}no" >&6; }
8054 if test -z "$INTLTOOL_PERL"; then
8055 { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
8056 echo "$as_me: error: perl not found; required for intltool" >&2;}
8057 { (exit 1); exit 1; }; }
8059 if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
8060 { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
8061 echo "$as_me: error: perl 5.x required for intltool" >&2;}
8062 { (exit 1); exit 1; }; }
8064 if test "x" != "xno-xml"; then
8065 { echo "$as_me:$LINENO: checking for XML::Parser" >&5
8066 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
8067 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
8068 { echo "$as_me:$LINENO: result: ok" >&5
8069 echo "${ECHO_T}ok" >&6; }
8070 else
8071 { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
8072 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
8073 { (exit 1); exit 1; }; }
8077 # Substitute ALL_LINGUAS so we can use it in po/Makefile
8080 # Set DATADIRNAME correctly if it is not set yet
8081 # (copied from glib-gettext.m4)
8082 if test -z "$DATADIRNAME"; then
8083 cat >conftest.$ac_ext <<_ACEOF
8084 /* confdefs.h. */
8085 _ACEOF
8086 cat confdefs.h >>conftest.$ac_ext
8087 cat >>conftest.$ac_ext <<_ACEOF
8088 /* end confdefs.h. */
8091 main ()
8093 extern int _nl_msg_cat_cntr;
8094 return _nl_msg_cat_cntr
8096 return 0;
8098 _ACEOF
8099 rm -f conftest.$ac_objext conftest$ac_exeext
8100 if { (ac_try="$ac_link"
8101 case "(($ac_try" in
8102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8103 *) ac_try_echo=$ac_try;;
8104 esac
8105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8106 (eval "$ac_link") 2>conftest.er1
8107 ac_status=$?
8108 grep -v '^ *+' conftest.er1 >conftest.err
8109 rm -f conftest.er1
8110 cat conftest.err >&5
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 (exit $ac_status); } && {
8113 test -z "$ac_c_werror_flag" ||
8114 test ! -s conftest.err
8115 } && test -s conftest$ac_exeext &&
8116 $as_test_x conftest$ac_exeext; then
8117 DATADIRNAME=share
8118 else
8119 echo "$as_me: failed program was:" >&5
8120 sed 's/^/| /' conftest.$ac_ext >&5
8122 case $host in
8123 *-*-solaris*)
8124 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
8125 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
8126 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
8127 echo $ECHO_N "(cached) $ECHO_C" >&6
8128 else
8129 cat >conftest.$ac_ext <<_ACEOF
8130 /* confdefs.h. */
8131 _ACEOF
8132 cat confdefs.h >>conftest.$ac_ext
8133 cat >>conftest.$ac_ext <<_ACEOF
8134 /* end confdefs.h. */
8135 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
8136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8137 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
8139 /* System header to define __stub macros and hopefully few prototypes,
8140 which can conflict with char bind_textdomain_codeset (); below.
8141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8142 <limits.h> exists even on freestanding compilers. */
8144 #ifdef __STDC__
8145 # include <limits.h>
8146 #else
8147 # include <assert.h>
8148 #endif
8150 #undef bind_textdomain_codeset
8152 /* Override any GCC internal prototype to avoid an error.
8153 Use char because int might match the return type of a GCC
8154 builtin and then its argument prototype would still apply. */
8155 #ifdef __cplusplus
8156 extern "C"
8157 #endif
8158 char bind_textdomain_codeset ();
8159 /* The GNU C library defines this for functions which it implements
8160 to always fail with ENOSYS. Some functions are actually named
8161 something starting with __ and the normal name is an alias. */
8162 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
8163 choke me
8164 #endif
8167 main ()
8169 return bind_textdomain_codeset ();
8171 return 0;
8173 _ACEOF
8174 rm -f conftest.$ac_objext conftest$ac_exeext
8175 if { (ac_try="$ac_link"
8176 case "(($ac_try" in
8177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8178 *) ac_try_echo=$ac_try;;
8179 esac
8180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8181 (eval "$ac_link") 2>conftest.er1
8182 ac_status=$?
8183 grep -v '^ *+' conftest.er1 >conftest.err
8184 rm -f conftest.er1
8185 cat conftest.err >&5
8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187 (exit $ac_status); } && {
8188 test -z "$ac_c_werror_flag" ||
8189 test ! -s conftest.err
8190 } && test -s conftest$ac_exeext &&
8191 $as_test_x conftest$ac_exeext; then
8192 ac_cv_func_bind_textdomain_codeset=yes
8193 else
8194 echo "$as_me: failed program was:" >&5
8195 sed 's/^/| /' conftest.$ac_ext >&5
8197 ac_cv_func_bind_textdomain_codeset=no
8200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8201 conftest$ac_exeext conftest.$ac_ext
8203 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
8204 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
8205 if test $ac_cv_func_bind_textdomain_codeset = yes; then
8206 DATADIRNAME=share
8207 else
8208 DATADIRNAME=lib
8213 DATADIRNAME=lib
8215 esac
8218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8219 conftest$ac_exeext conftest.$ac_ext
8229 { echo "$as_me:$LINENO: checking for g_malloc0 in -lglib-2.0" >&5
8230 echo $ECHO_N "checking for g_malloc0 in -lglib-2.0... $ECHO_C" >&6; }
8231 if test "${ac_cv_lib_glib_2_0_g_malloc0+set}" = set; then
8232 echo $ECHO_N "(cached) $ECHO_C" >&6
8233 else
8234 ac_check_lib_save_LIBS=$LIBS
8235 LIBS="-lglib-2.0 $LIBS"
8236 cat >conftest.$ac_ext <<_ACEOF
8237 /* confdefs.h. */
8238 _ACEOF
8239 cat confdefs.h >>conftest.$ac_ext
8240 cat >>conftest.$ac_ext <<_ACEOF
8241 /* end confdefs.h. */
8243 /* Override any GCC internal prototype to avoid an error.
8244 Use char because int might match the return type of a GCC
8245 builtin and then its argument prototype would still apply. */
8246 #ifdef __cplusplus
8247 extern "C"
8248 #endif
8249 char g_malloc0 ();
8251 main ()
8253 return g_malloc0 ();
8255 return 0;
8257 _ACEOF
8258 rm -f conftest.$ac_objext conftest$ac_exeext
8259 if { (ac_try="$ac_link"
8260 case "(($ac_try" in
8261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8262 *) ac_try_echo=$ac_try;;
8263 esac
8264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8265 (eval "$ac_link") 2>conftest.er1
8266 ac_status=$?
8267 grep -v '^ *+' conftest.er1 >conftest.err
8268 rm -f conftest.er1
8269 cat conftest.err >&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); } && {
8272 test -z "$ac_c_werror_flag" ||
8273 test ! -s conftest.err
8274 } && test -s conftest$ac_exeext &&
8275 $as_test_x conftest$ac_exeext; then
8276 ac_cv_lib_glib_2_0_g_malloc0=yes
8277 else
8278 echo "$as_me: failed program was:" >&5
8279 sed 's/^/| /' conftest.$ac_ext >&5
8281 ac_cv_lib_glib_2_0_g_malloc0=no
8284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8285 conftest$ac_exeext conftest.$ac_ext
8286 LIBS=$ac_check_lib_save_LIBS
8288 { echo "$as_me:$LINENO: result: $ac_cv_lib_glib_2_0_g_malloc0" >&5
8289 echo "${ECHO_T}$ac_cv_lib_glib_2_0_g_malloc0" >&6; }
8290 if test $ac_cv_lib_glib_2_0_g_malloc0 = yes; then
8291 cat >>confdefs.h <<_ACEOF
8292 #define HAVE_LIBGLIB_2_0 1
8293 _ACEOF
8295 LIBS="-lglib-2.0 $LIBS"
8297 else
8298 { { echo "$as_me:$LINENO: error: \"libglib not installed\"" >&5
8299 echo "$as_me: error: \"libglib not installed\"" >&2;}
8300 { (exit 1); exit 1; }; }
8307 { echo "$as_me:$LINENO: checking for fftw_plan_dft_r2c_2d in -lfftw3" >&5
8308 echo $ECHO_N "checking for fftw_plan_dft_r2c_2d in -lfftw3... $ECHO_C" >&6; }
8309 if test "${ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d+set}" = set; then
8310 echo $ECHO_N "(cached) $ECHO_C" >&6
8311 else
8312 ac_check_lib_save_LIBS=$LIBS
8313 LIBS="-lfftw3 $LIBS"
8314 cat >conftest.$ac_ext <<_ACEOF
8315 /* confdefs.h. */
8316 _ACEOF
8317 cat confdefs.h >>conftest.$ac_ext
8318 cat >>conftest.$ac_ext <<_ACEOF
8319 /* end confdefs.h. */
8321 /* Override any GCC internal prototype to avoid an error.
8322 Use char because int might match the return type of a GCC
8323 builtin and then its argument prototype would still apply. */
8324 #ifdef __cplusplus
8325 extern "C"
8326 #endif
8327 char fftw_plan_dft_r2c_2d ();
8329 main ()
8331 return fftw_plan_dft_r2c_2d ();
8333 return 0;
8335 _ACEOF
8336 rm -f conftest.$ac_objext conftest$ac_exeext
8337 if { (ac_try="$ac_link"
8338 case "(($ac_try" in
8339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8340 *) ac_try_echo=$ac_try;;
8341 esac
8342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8343 (eval "$ac_link") 2>conftest.er1
8344 ac_status=$?
8345 grep -v '^ *+' conftest.er1 >conftest.err
8346 rm -f conftest.er1
8347 cat conftest.err >&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); } && {
8350 test -z "$ac_c_werror_flag" ||
8351 test ! -s conftest.err
8352 } && test -s conftest$ac_exeext &&
8353 $as_test_x conftest$ac_exeext; then
8354 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d=yes
8355 else
8356 echo "$as_me: failed program was:" >&5
8357 sed 's/^/| /' conftest.$ac_ext >&5
8359 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d=no
8362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8363 conftest$ac_exeext conftest.$ac_ext
8364 LIBS=$ac_check_lib_save_LIBS
8366 { echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&5
8367 echo "${ECHO_T}$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&6; }
8368 if test $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d = yes; then
8369 cat >>confdefs.h <<_ACEOF
8370 #define HAVE_LIBFFTW3 1
8371 _ACEOF
8373 LIBS="-lfftw3 $LIBS"
8375 else
8376 { { echo "$as_me:$LINENO: error: \"libfftw3 not installed\"" >&5
8377 echo "$as_me: error: \"libfftw3 not installed\"" >&2;}
8378 { (exit 1); exit 1; }; }
8383 { echo "$as_me:$LINENO: checking for main in -lgslcblas" >&5
8384 echo $ECHO_N "checking for main in -lgslcblas... $ECHO_C" >&6; }
8385 if test "${ac_cv_lib_gslcblas_main+set}" = set; then
8386 echo $ECHO_N "(cached) $ECHO_C" >&6
8387 else
8388 ac_check_lib_save_LIBS=$LIBS
8389 LIBS="-lgslcblas $LIBS"
8390 cat >conftest.$ac_ext <<_ACEOF
8391 /* confdefs.h. */
8392 _ACEOF
8393 cat confdefs.h >>conftest.$ac_ext
8394 cat >>conftest.$ac_ext <<_ACEOF
8395 /* end confdefs.h. */
8399 main ()
8401 return main ();
8403 return 0;
8405 _ACEOF
8406 rm -f conftest.$ac_objext conftest$ac_exeext
8407 if { (ac_try="$ac_link"
8408 case "(($ac_try" in
8409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8410 *) ac_try_echo=$ac_try;;
8411 esac
8412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8413 (eval "$ac_link") 2>conftest.er1
8414 ac_status=$?
8415 grep -v '^ *+' conftest.er1 >conftest.err
8416 rm -f conftest.er1
8417 cat conftest.err >&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); } && {
8420 test -z "$ac_c_werror_flag" ||
8421 test ! -s conftest.err
8422 } && test -s conftest$ac_exeext &&
8423 $as_test_x conftest$ac_exeext; then
8424 ac_cv_lib_gslcblas_main=yes
8425 else
8426 echo "$as_me: failed program was:" >&5
8427 sed 's/^/| /' conftest.$ac_ext >&5
8429 ac_cv_lib_gslcblas_main=no
8432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8433 conftest$ac_exeext conftest.$ac_ext
8434 LIBS=$ac_check_lib_save_LIBS
8436 { echo "$as_me:$LINENO: result: $ac_cv_lib_gslcblas_main" >&5
8437 echo "${ECHO_T}$ac_cv_lib_gslcblas_main" >&6; }
8438 if test $ac_cv_lib_gslcblas_main = yes; then
8439 cat >>confdefs.h <<_ACEOF
8440 #define HAVE_LIBGSLCBLAS 1
8441 _ACEOF
8443 LIBS="-lgslcblas $LIBS"
8445 else
8446 { { echo "$as_me:$LINENO: error: \"libgslcblas not installed\"" >&5
8447 echo "$as_me: error: \"libgslcblas not installed\"" >&2;}
8448 { (exit 1); exit 1; }; }
8453 { echo "$as_me:$LINENO: checking for main in -lgsl" >&5
8454 echo $ECHO_N "checking for main in -lgsl... $ECHO_C" >&6; }
8455 if test "${ac_cv_lib_gsl_main+set}" = set; then
8456 echo $ECHO_N "(cached) $ECHO_C" >&6
8457 else
8458 ac_check_lib_save_LIBS=$LIBS
8459 LIBS="-lgsl $LIBS"
8460 cat >conftest.$ac_ext <<_ACEOF
8461 /* confdefs.h. */
8462 _ACEOF
8463 cat confdefs.h >>conftest.$ac_ext
8464 cat >>conftest.$ac_ext <<_ACEOF
8465 /* end confdefs.h. */
8469 main ()
8471 return main ();
8473 return 0;
8475 _ACEOF
8476 rm -f conftest.$ac_objext conftest$ac_exeext
8477 if { (ac_try="$ac_link"
8478 case "(($ac_try" in
8479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8480 *) ac_try_echo=$ac_try;;
8481 esac
8482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8483 (eval "$ac_link") 2>conftest.er1
8484 ac_status=$?
8485 grep -v '^ *+' conftest.er1 >conftest.err
8486 rm -f conftest.er1
8487 cat conftest.err >&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); } && {
8490 test -z "$ac_c_werror_flag" ||
8491 test ! -s conftest.err
8492 } && test -s conftest$ac_exeext &&
8493 $as_test_x conftest$ac_exeext; then
8494 ac_cv_lib_gsl_main=yes
8495 else
8496 echo "$as_me: failed program was:" >&5
8497 sed 's/^/| /' conftest.$ac_ext >&5
8499 ac_cv_lib_gsl_main=no
8502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8503 conftest$ac_exeext conftest.$ac_ext
8504 LIBS=$ac_check_lib_save_LIBS
8506 { echo "$as_me:$LINENO: result: $ac_cv_lib_gsl_main" >&5
8507 echo "${ECHO_T}$ac_cv_lib_gsl_main" >&6; }
8508 if test $ac_cv_lib_gsl_main = yes; then
8509 cat >>confdefs.h <<_ACEOF
8510 #define HAVE_LIBGSL 1
8511 _ACEOF
8513 LIBS="-lgsl $LIBS"
8515 else
8516 { { echo "$as_me:$LINENO: error: \"libgsl not installed\"" >&5
8517 echo "$as_me: error: \"libgsl not installed\"" >&2;}
8518 { (exit 1); exit 1; }; }
8524 { echo "$as_me:$LINENO: checking for gpiv_piv_interrogate_ia in -lgpiv" >&5
8525 echo $ECHO_N "checking for gpiv_piv_interrogate_ia in -lgpiv... $ECHO_C" >&6; }
8526 if test "${ac_cv_lib_gpiv_gpiv_piv_interrogate_ia+set}" = set; then
8527 echo $ECHO_N "(cached) $ECHO_C" >&6
8528 else
8529 ac_check_lib_save_LIBS=$LIBS
8530 LIBS="-lgpiv $LIBS"
8531 cat >conftest.$ac_ext <<_ACEOF
8532 /* confdefs.h. */
8533 _ACEOF
8534 cat confdefs.h >>conftest.$ac_ext
8535 cat >>conftest.$ac_ext <<_ACEOF
8536 /* end confdefs.h. */
8538 /* Override any GCC internal prototype to avoid an error.
8539 Use char because int might match the return type of a GCC
8540 builtin and then its argument prototype would still apply. */
8541 #ifdef __cplusplus
8542 extern "C"
8543 #endif
8544 char gpiv_piv_interrogate_ia ();
8546 main ()
8548 return gpiv_piv_interrogate_ia ();
8550 return 0;
8552 _ACEOF
8553 rm -f conftest.$ac_objext conftest$ac_exeext
8554 if { (ac_try="$ac_link"
8555 case "(($ac_try" in
8556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8557 *) ac_try_echo=$ac_try;;
8558 esac
8559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8560 (eval "$ac_link") 2>conftest.er1
8561 ac_status=$?
8562 grep -v '^ *+' conftest.er1 >conftest.err
8563 rm -f conftest.er1
8564 cat conftest.err >&5
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); } && {
8567 test -z "$ac_c_werror_flag" ||
8568 test ! -s conftest.err
8569 } && test -s conftest$ac_exeext &&
8570 $as_test_x conftest$ac_exeext; then
8571 ac_cv_lib_gpiv_gpiv_piv_interrogate_ia=yes
8572 else
8573 echo "$as_me: failed program was:" >&5
8574 sed 's/^/| /' conftest.$ac_ext >&5
8576 ac_cv_lib_gpiv_gpiv_piv_interrogate_ia=no
8579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8580 conftest$ac_exeext conftest.$ac_ext
8581 LIBS=$ac_check_lib_save_LIBS
8583 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_piv_interrogate_ia" >&5
8584 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_piv_interrogate_ia" >&6; }
8585 if test $ac_cv_lib_gpiv_gpiv_piv_interrogate_ia = yes; then
8586 cat >>confdefs.h <<_ACEOF
8587 #define HAVE_LIBGPIV 1
8588 _ACEOF
8590 LIBS="-lgpiv $LIBS"
8592 else
8593 { { echo "$as_me:$LINENO: error: libgpiv has not been installed" >&5
8594 echo "$as_me: error: libgpiv has not been installed" >&2;}
8595 { (exit 1); exit 1; }; }
8599 { echo "$as_me:$LINENO: checking for gpiv_scan_resourcefiles in -lgpiv" >&5
8600 echo $ECHO_N "checking for gpiv_scan_resourcefiles in -lgpiv... $ECHO_C" >&6; }
8601 if test "${ac_cv_lib_gpiv_gpiv_scan_resourcefiles+set}" = set; then
8602 echo $ECHO_N "(cached) $ECHO_C" >&6
8603 else
8604 ac_check_lib_save_LIBS=$LIBS
8605 LIBS="-lgpiv $LIBS"
8606 cat >conftest.$ac_ext <<_ACEOF
8607 /* confdefs.h. */
8608 _ACEOF
8609 cat confdefs.h >>conftest.$ac_ext
8610 cat >>conftest.$ac_ext <<_ACEOF
8611 /* end confdefs.h. */
8613 /* Override any GCC internal prototype to avoid an error.
8614 Use char because int might match the return type of a GCC
8615 builtin and then its argument prototype would still apply. */
8616 #ifdef __cplusplus
8617 extern "C"
8618 #endif
8619 char gpiv_scan_resourcefiles ();
8621 main ()
8623 return gpiv_scan_resourcefiles ();
8625 return 0;
8627 _ACEOF
8628 rm -f conftest.$ac_objext conftest$ac_exeext
8629 if { (ac_try="$ac_link"
8630 case "(($ac_try" in
8631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8632 *) ac_try_echo=$ac_try;;
8633 esac
8634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8635 (eval "$ac_link") 2>conftest.er1
8636 ac_status=$?
8637 grep -v '^ *+' conftest.er1 >conftest.err
8638 rm -f conftest.er1
8639 cat conftest.err >&5
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 (exit $ac_status); } && {
8642 test -z "$ac_c_werror_flag" ||
8643 test ! -s conftest.err
8644 } && test -s conftest$ac_exeext &&
8645 $as_test_x conftest$ac_exeext; then
8646 ac_cv_lib_gpiv_gpiv_scan_resourcefiles=yes
8647 else
8648 echo "$as_me: failed program was:" >&5
8649 sed 's/^/| /' conftest.$ac_ext >&5
8651 ac_cv_lib_gpiv_gpiv_scan_resourcefiles=no
8654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8655 conftest$ac_exeext conftest.$ac_ext
8656 LIBS=$ac_check_lib_save_LIBS
8658 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_scan_resourcefiles" >&5
8659 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_scan_resourcefiles" >&6; }
8660 if test $ac_cv_lib_gpiv_gpiv_scan_resourcefiles = yes; then
8661 cat >>confdefs.h <<_ACEOF
8662 #define HAVE_LIBGPIV 1
8663 _ACEOF
8665 LIBS="-lgpiv $LIBS"
8667 else
8668 { { echo "$as_me:$LINENO: error: libgpiv has not been installed" >&5
8669 echo "$as_me: error: libgpiv has not been installed" >&2;}
8670 { (exit 1); exit 1; }; }
8679 for ac_header in stdlib.h string.h unistd.h fftw3.h gpiv.h
8681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8682 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8683 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8685 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8686 echo $ECHO_N "(cached) $ECHO_C" >&6
8688 ac_res=`eval echo '${'$as_ac_Header'}'`
8689 { echo "$as_me:$LINENO: result: $ac_res" >&5
8690 echo "${ECHO_T}$ac_res" >&6; }
8691 else
8692 # Is the header compilable?
8693 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8694 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8695 cat >conftest.$ac_ext <<_ACEOF
8696 /* confdefs.h. */
8697 _ACEOF
8698 cat confdefs.h >>conftest.$ac_ext
8699 cat >>conftest.$ac_ext <<_ACEOF
8700 /* end confdefs.h. */
8701 $ac_includes_default
8702 #include <$ac_header>
8703 _ACEOF
8704 rm -f conftest.$ac_objext
8705 if { (ac_try="$ac_compile"
8706 case "(($ac_try" in
8707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8708 *) ac_try_echo=$ac_try;;
8709 esac
8710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8711 (eval "$ac_compile") 2>conftest.er1
8712 ac_status=$?
8713 grep -v '^ *+' conftest.er1 >conftest.err
8714 rm -f conftest.er1
8715 cat conftest.err >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); } && {
8718 test -z "$ac_c_werror_flag" ||
8719 test ! -s conftest.err
8720 } && test -s conftest.$ac_objext; then
8721 ac_header_compiler=yes
8722 else
8723 echo "$as_me: failed program was:" >&5
8724 sed 's/^/| /' conftest.$ac_ext >&5
8726 ac_header_compiler=no
8729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8730 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8731 echo "${ECHO_T}$ac_header_compiler" >&6; }
8733 # Is the header present?
8734 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8735 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8736 cat >conftest.$ac_ext <<_ACEOF
8737 /* confdefs.h. */
8738 _ACEOF
8739 cat confdefs.h >>conftest.$ac_ext
8740 cat >>conftest.$ac_ext <<_ACEOF
8741 /* end confdefs.h. */
8742 #include <$ac_header>
8743 _ACEOF
8744 if { (ac_try="$ac_cpp conftest.$ac_ext"
8745 case "(($ac_try" in
8746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8747 *) ac_try_echo=$ac_try;;
8748 esac
8749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8751 ac_status=$?
8752 grep -v '^ *+' conftest.er1 >conftest.err
8753 rm -f conftest.er1
8754 cat conftest.err >&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } >/dev/null && {
8757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8758 test ! -s conftest.err
8759 }; then
8760 ac_header_preproc=yes
8761 else
8762 echo "$as_me: failed program was:" >&5
8763 sed 's/^/| /' conftest.$ac_ext >&5
8765 ac_header_preproc=no
8768 rm -f conftest.err conftest.$ac_ext
8769 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8770 echo "${ECHO_T}$ac_header_preproc" >&6; }
8772 # So? What about this header?
8773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8774 yes:no: )
8775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8778 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8779 ac_header_preproc=yes
8781 no:yes:* )
8782 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8783 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8784 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8785 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8786 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8787 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8788 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8789 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8792 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8793 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8794 ( cat <<\_ASBOX
8795 ## ------------------------------------------------------------------- ##
8796 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
8797 ## ------------------------------------------------------------------- ##
8798 _ASBOX
8799 ) | sed "s/^/$as_me: WARNING: /" >&2
8801 esac
8802 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8805 echo $ECHO_N "(cached) $ECHO_C" >&6
8806 else
8807 eval "$as_ac_Header=\$ac_header_preproc"
8809 ac_res=`eval echo '${'$as_ac_Header'}'`
8810 { echo "$as_me:$LINENO: result: $ac_res" >&5
8811 echo "${ECHO_T}$ac_res" >&6; }
8814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8815 cat >>confdefs.h <<_ACEOF
8816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8817 _ACEOF
8821 done
8824 # Check whether --enable-cam was given.
8825 if test "${enable_cam+set}" = set; then
8826 enableval=$enable_cam; ENABLE_CAM="-DENABLE_CAM"
8833 # Check whether --enable-trig was given.
8834 if test "${enable_trig+set}" = set; then
8835 enableval=$enable_trig; ENABLE_TRIG="-DENABLE_TRIG"
8842 if test $ENABLE_CAM || test $ENABLE_TRIG; then
8843 ENABLE_DAC="-DENABLE_DAC"
8847 if test "${ENABLE_CAM}" == '-DENABLE_CAM'; then
8849 { echo "$as_me:$LINENO: checking for gpiv_cam_get_camvar in -lgpiv" >&5
8850 echo $ECHO_N "checking for gpiv_cam_get_camvar in -lgpiv... $ECHO_C" >&6; }
8851 if test "${ac_cv_lib_gpiv_gpiv_cam_get_camvar+set}" = set; then
8852 echo $ECHO_N "(cached) $ECHO_C" >&6
8853 else
8854 ac_check_lib_save_LIBS=$LIBS
8855 LIBS="-lgpiv $LIBS"
8856 cat >conftest.$ac_ext <<_ACEOF
8857 /* confdefs.h. */
8858 _ACEOF
8859 cat confdefs.h >>conftest.$ac_ext
8860 cat >>conftest.$ac_ext <<_ACEOF
8861 /* end confdefs.h. */
8863 /* Override any GCC internal prototype to avoid an error.
8864 Use char because int might match the return type of a GCC
8865 builtin and then its argument prototype would still apply. */
8866 #ifdef __cplusplus
8867 extern "C"
8868 #endif
8869 char gpiv_cam_get_camvar ();
8871 main ()
8873 return gpiv_cam_get_camvar ();
8875 return 0;
8877 _ACEOF
8878 rm -f conftest.$ac_objext conftest$ac_exeext
8879 if { (ac_try="$ac_link"
8880 case "(($ac_try" in
8881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8882 *) ac_try_echo=$ac_try;;
8883 esac
8884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8885 (eval "$ac_link") 2>conftest.er1
8886 ac_status=$?
8887 grep -v '^ *+' conftest.er1 >conftest.err
8888 rm -f conftest.er1
8889 cat conftest.err >&5
8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891 (exit $ac_status); } && {
8892 test -z "$ac_c_werror_flag" ||
8893 test ! -s conftest.err
8894 } && test -s conftest$ac_exeext &&
8895 $as_test_x conftest$ac_exeext; then
8896 ac_cv_lib_gpiv_gpiv_cam_get_camvar=yes
8897 else
8898 echo "$as_me: failed program was:" >&5
8899 sed 's/^/| /' conftest.$ac_ext >&5
8901 ac_cv_lib_gpiv_gpiv_cam_get_camvar=no
8904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8905 conftest$ac_exeext conftest.$ac_ext
8906 LIBS=$ac_check_lib_save_LIBS
8908 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&5
8909 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&6; }
8910 if test $ac_cv_lib_gpiv_gpiv_cam_get_camvar = yes; then
8911 cat >>confdefs.h <<_ACEOF
8912 #define HAVE_LIBGPIV 1
8913 _ACEOF
8915 LIBS="-lgpiv $LIBS"
8917 else
8918 { { echo "$as_me:$LINENO: error: \"(IEEE-1394) camera is not working in libgpiv. \
8919 Enable (IEEE-1394) camera in libgpiv or disable it here by leaving out --enable-cam during ./configure\"" >&5
8920 echo "$as_me: error: \"(IEEE-1394) camera is not working in libgpiv. \
8921 Enable (IEEE-1394) camera in libgpiv or disable it here by leaving out --enable-cam during ./configure\"" >&2;}
8922 { (exit 1); exit 1; }; }
8927 { echo "$as_me:$LINENO: checking for raw1394_destroy_handle in -lraw1394" >&5
8928 echo $ECHO_N "checking for raw1394_destroy_handle in -lraw1394... $ECHO_C" >&6; }
8929 if test "${ac_cv_lib_raw1394_raw1394_destroy_handle+set}" = set; then
8930 echo $ECHO_N "(cached) $ECHO_C" >&6
8931 else
8932 ac_check_lib_save_LIBS=$LIBS
8933 LIBS="-lraw1394 $LIBS"
8934 cat >conftest.$ac_ext <<_ACEOF
8935 /* confdefs.h. */
8936 _ACEOF
8937 cat confdefs.h >>conftest.$ac_ext
8938 cat >>conftest.$ac_ext <<_ACEOF
8939 /* end confdefs.h. */
8941 /* Override any GCC internal prototype to avoid an error.
8942 Use char because int might match the return type of a GCC
8943 builtin and then its argument prototype would still apply. */
8944 #ifdef __cplusplus
8945 extern "C"
8946 #endif
8947 char raw1394_destroy_handle ();
8949 main ()
8951 return raw1394_destroy_handle ();
8953 return 0;
8955 _ACEOF
8956 rm -f conftest.$ac_objext conftest$ac_exeext
8957 if { (ac_try="$ac_link"
8958 case "(($ac_try" in
8959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8960 *) ac_try_echo=$ac_try;;
8961 esac
8962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8963 (eval "$ac_link") 2>conftest.er1
8964 ac_status=$?
8965 grep -v '^ *+' conftest.er1 >conftest.err
8966 rm -f conftest.er1
8967 cat conftest.err >&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); } && {
8970 test -z "$ac_c_werror_flag" ||
8971 test ! -s conftest.err
8972 } && test -s conftest$ac_exeext &&
8973 $as_test_x conftest$ac_exeext; then
8974 ac_cv_lib_raw1394_raw1394_destroy_handle=yes
8975 else
8976 echo "$as_me: failed program was:" >&5
8977 sed 's/^/| /' conftest.$ac_ext >&5
8979 ac_cv_lib_raw1394_raw1394_destroy_handle=no
8982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8983 conftest$ac_exeext conftest.$ac_ext
8984 LIBS=$ac_check_lib_save_LIBS
8986 { echo "$as_me:$LINENO: result: $ac_cv_lib_raw1394_raw1394_destroy_handle" >&5
8987 echo "${ECHO_T}$ac_cv_lib_raw1394_raw1394_destroy_handle" >&6; }
8988 if test $ac_cv_lib_raw1394_raw1394_destroy_handle = yes; then
8989 cat >>confdefs.h <<_ACEOF
8990 #define HAVE_LIBRAW1394 1
8991 _ACEOF
8993 LIBS="-lraw1394 $LIBS"
8995 else
8996 { { echo "$as_me:$LINENO: error: \"libraw1394 not installed\"" >&5
8997 echo "$as_me: error: \"libraw1394 not installed\"" >&2;}
8998 { (exit 1); exit 1; }; }
9003 { echo "$as_me:$LINENO: checking for dc1394_create_handle in -ldc1394_control" >&5
9004 echo $ECHO_N "checking for dc1394_create_handle in -ldc1394_control... $ECHO_C" >&6; }
9005 if test "${ac_cv_lib_dc1394_control_dc1394_create_handle+set}" = set; then
9006 echo $ECHO_N "(cached) $ECHO_C" >&6
9007 else
9008 ac_check_lib_save_LIBS=$LIBS
9009 LIBS="-ldc1394_control $LIBS"
9010 cat >conftest.$ac_ext <<_ACEOF
9011 /* confdefs.h. */
9012 _ACEOF
9013 cat confdefs.h >>conftest.$ac_ext
9014 cat >>conftest.$ac_ext <<_ACEOF
9015 /* end confdefs.h. */
9017 /* Override any GCC internal prototype to avoid an error.
9018 Use char because int might match the return type of a GCC
9019 builtin and then its argument prototype would still apply. */
9020 #ifdef __cplusplus
9021 extern "C"
9022 #endif
9023 char dc1394_create_handle ();
9025 main ()
9027 return dc1394_create_handle ();
9029 return 0;
9031 _ACEOF
9032 rm -f conftest.$ac_objext conftest$ac_exeext
9033 if { (ac_try="$ac_link"
9034 case "(($ac_try" in
9035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9036 *) ac_try_echo=$ac_try;;
9037 esac
9038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9039 (eval "$ac_link") 2>conftest.er1
9040 ac_status=$?
9041 grep -v '^ *+' conftest.er1 >conftest.err
9042 rm -f conftest.er1
9043 cat conftest.err >&5
9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045 (exit $ac_status); } && {
9046 test -z "$ac_c_werror_flag" ||
9047 test ! -s conftest.err
9048 } && test -s conftest$ac_exeext &&
9049 $as_test_x conftest$ac_exeext; then
9050 ac_cv_lib_dc1394_control_dc1394_create_handle=yes
9051 else
9052 echo "$as_me: failed program was:" >&5
9053 sed 's/^/| /' conftest.$ac_ext >&5
9055 ac_cv_lib_dc1394_control_dc1394_create_handle=no
9058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9059 conftest$ac_exeext conftest.$ac_ext
9060 LIBS=$ac_check_lib_save_LIBS
9062 { echo "$as_me:$LINENO: result: $ac_cv_lib_dc1394_control_dc1394_create_handle" >&5
9063 echo "${ECHO_T}$ac_cv_lib_dc1394_control_dc1394_create_handle" >&6; }
9064 if test $ac_cv_lib_dc1394_control_dc1394_create_handle = yes; then
9065 cat >>confdefs.h <<_ACEOF
9066 #define HAVE_LIBDC1394_CONTROL 1
9067 _ACEOF
9069 LIBS="-ldc1394_control $LIBS"
9071 else
9072 { { echo "$as_me:$LINENO: error: \"libdc1394_control not installed\"" >&5
9073 echo "$as_me: error: \"libdc1394_control not installed\"" >&2;}
9074 { (exit 1); exit 1; }; }
9078 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9079 { echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
9080 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6; }
9081 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9082 echo $ECHO_N "(cached) $ECHO_C" >&6
9084 { echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
9085 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6; }
9086 else
9087 # Is the header compilable?
9088 { echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h usability" >&5
9089 echo $ECHO_N "checking libdc1394/dc1394_control.h usability... $ECHO_C" >&6; }
9090 cat >conftest.$ac_ext <<_ACEOF
9091 /* confdefs.h. */
9092 _ACEOF
9093 cat confdefs.h >>conftest.$ac_ext
9094 cat >>conftest.$ac_ext <<_ACEOF
9095 /* end confdefs.h. */
9096 $ac_includes_default
9097 #include <libdc1394/dc1394_control.h>
9098 _ACEOF
9099 rm -f conftest.$ac_objext
9100 if { (ac_try="$ac_compile"
9101 case "(($ac_try" in
9102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9103 *) ac_try_echo=$ac_try;;
9104 esac
9105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9106 (eval "$ac_compile") 2>conftest.er1
9107 ac_status=$?
9108 grep -v '^ *+' conftest.er1 >conftest.err
9109 rm -f conftest.er1
9110 cat conftest.err >&5
9111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 (exit $ac_status); } && {
9113 test -z "$ac_c_werror_flag" ||
9114 test ! -s conftest.err
9115 } && test -s conftest.$ac_objext; then
9116 ac_header_compiler=yes
9117 else
9118 echo "$as_me: failed program was:" >&5
9119 sed 's/^/| /' conftest.$ac_ext >&5
9121 ac_header_compiler=no
9124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9125 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9126 echo "${ECHO_T}$ac_header_compiler" >&6; }
9128 # Is the header present?
9129 { echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h presence" >&5
9130 echo $ECHO_N "checking libdc1394/dc1394_control.h presence... $ECHO_C" >&6; }
9131 cat >conftest.$ac_ext <<_ACEOF
9132 /* confdefs.h. */
9133 _ACEOF
9134 cat confdefs.h >>conftest.$ac_ext
9135 cat >>conftest.$ac_ext <<_ACEOF
9136 /* end confdefs.h. */
9137 #include <libdc1394/dc1394_control.h>
9138 _ACEOF
9139 if { (ac_try="$ac_cpp conftest.$ac_ext"
9140 case "(($ac_try" in
9141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9142 *) ac_try_echo=$ac_try;;
9143 esac
9144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9145 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9146 ac_status=$?
9147 grep -v '^ *+' conftest.er1 >conftest.err
9148 rm -f conftest.er1
9149 cat conftest.err >&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); } >/dev/null && {
9152 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9153 test ! -s conftest.err
9154 }; then
9155 ac_header_preproc=yes
9156 else
9157 echo "$as_me: failed program was:" >&5
9158 sed 's/^/| /' conftest.$ac_ext >&5
9160 ac_header_preproc=no
9163 rm -f conftest.err conftest.$ac_ext
9164 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9165 echo "${ECHO_T}$ac_header_preproc" >&6; }
9167 # So? What about this header?
9168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9169 yes:no: )
9170 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&5
9171 echo "$as_me: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9172 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&5
9173 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&2;}
9174 ac_header_preproc=yes
9176 no:yes:* )
9177 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&5
9178 echo "$as_me: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&2;}
9179 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&5
9180 echo "$as_me: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&2;}
9181 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&5
9182 echo "$as_me: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&2;}
9183 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&5
9184 echo "$as_me: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&2;}
9185 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&5
9186 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&2;}
9187 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&5
9188 echo "$as_me: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&2;}
9189 ( cat <<\_ASBOX
9190 ## ------------------------------------------------------------------- ##
9191 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
9192 ## ------------------------------------------------------------------- ##
9193 _ASBOX
9194 ) | sed "s/^/$as_me: WARNING: /" >&2
9196 esac
9197 { echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
9198 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6; }
9199 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9200 echo $ECHO_N "(cached) $ECHO_C" >&6
9201 else
9202 ac_cv_header_libdc1394_dc1394_control_h=$ac_header_preproc
9204 { echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
9205 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6; }
9208 if test $ac_cv_header_libdc1394_dc1394_control_h = yes; then
9210 else
9211 { { echo "$as_me:$LINENO: error: \"missing dc1394_control.h\"" >&5
9212 echo "$as_me: error: \"missing dc1394_control.h\"" >&2;}
9213 { (exit 1); exit 1; }; }
9218 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9219 { echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
9220 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6; }
9221 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9222 echo $ECHO_N "(cached) $ECHO_C" >&6
9224 { echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
9225 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6; }
9226 else
9227 # Is the header compilable?
9228 { echo "$as_me:$LINENO: checking libraw1394/raw1394.h usability" >&5
9229 echo $ECHO_N "checking libraw1394/raw1394.h usability... $ECHO_C" >&6; }
9230 cat >conftest.$ac_ext <<_ACEOF
9231 /* confdefs.h. */
9232 _ACEOF
9233 cat confdefs.h >>conftest.$ac_ext
9234 cat >>conftest.$ac_ext <<_ACEOF
9235 /* end confdefs.h. */
9236 $ac_includes_default
9237 #include <libraw1394/raw1394.h>
9238 _ACEOF
9239 rm -f conftest.$ac_objext
9240 if { (ac_try="$ac_compile"
9241 case "(($ac_try" in
9242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9243 *) ac_try_echo=$ac_try;;
9244 esac
9245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9246 (eval "$ac_compile") 2>conftest.er1
9247 ac_status=$?
9248 grep -v '^ *+' conftest.er1 >conftest.err
9249 rm -f conftest.er1
9250 cat conftest.err >&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); } && {
9253 test -z "$ac_c_werror_flag" ||
9254 test ! -s conftest.err
9255 } && test -s conftest.$ac_objext; then
9256 ac_header_compiler=yes
9257 else
9258 echo "$as_me: failed program was:" >&5
9259 sed 's/^/| /' conftest.$ac_ext >&5
9261 ac_header_compiler=no
9264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9265 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9266 echo "${ECHO_T}$ac_header_compiler" >&6; }
9268 # Is the header present?
9269 { echo "$as_me:$LINENO: checking libraw1394/raw1394.h presence" >&5
9270 echo $ECHO_N "checking libraw1394/raw1394.h presence... $ECHO_C" >&6; }
9271 cat >conftest.$ac_ext <<_ACEOF
9272 /* confdefs.h. */
9273 _ACEOF
9274 cat confdefs.h >>conftest.$ac_ext
9275 cat >>conftest.$ac_ext <<_ACEOF
9276 /* end confdefs.h. */
9277 #include <libraw1394/raw1394.h>
9278 _ACEOF
9279 if { (ac_try="$ac_cpp conftest.$ac_ext"
9280 case "(($ac_try" in
9281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9282 *) ac_try_echo=$ac_try;;
9283 esac
9284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9285 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9286 ac_status=$?
9287 grep -v '^ *+' conftest.er1 >conftest.err
9288 rm -f conftest.er1
9289 cat conftest.err >&5
9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291 (exit $ac_status); } >/dev/null && {
9292 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9293 test ! -s conftest.err
9294 }; then
9295 ac_header_preproc=yes
9296 else
9297 echo "$as_me: failed program was:" >&5
9298 sed 's/^/| /' conftest.$ac_ext >&5
9300 ac_header_preproc=no
9303 rm -f conftest.err conftest.$ac_ext
9304 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9305 echo "${ECHO_T}$ac_header_preproc" >&6; }
9307 # So? What about this header?
9308 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9309 yes:no: )
9310 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
9311 echo "$as_me: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9312 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&5
9313 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&2;}
9314 ac_header_preproc=yes
9316 no:yes:* )
9317 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&5
9318 echo "$as_me: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&2;}
9319 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&5
9320 echo "$as_me: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&2;}
9321 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&5
9322 echo "$as_me: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&2;}
9323 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&5
9324 echo "$as_me: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&2;}
9325 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&5
9326 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&2;}
9327 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&5
9328 echo "$as_me: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&2;}
9329 ( cat <<\_ASBOX
9330 ## ------------------------------------------------------------------- ##
9331 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
9332 ## ------------------------------------------------------------------- ##
9333 _ASBOX
9334 ) | sed "s/^/$as_me: WARNING: /" >&2
9336 esac
9337 { echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
9338 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6; }
9339 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9340 echo $ECHO_N "(cached) $ECHO_C" >&6
9341 else
9342 ac_cv_header_libraw1394_raw1394_h=$ac_header_preproc
9344 { echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
9345 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6; }
9348 if test $ac_cv_header_libraw1394_raw1394_h = yes; then
9350 else
9351 { { echo "$as_me:$LINENO: error: \"missing raw1394.h\"" >&5
9352 echo "$as_me: error: \"missing raw1394.h\"" >&2;}
9353 { (exit 1); exit 1; }; }
9360 if test "${ENABLE_TRIG}" == '-DENABLE_TRIG'; then
9362 { echo "$as_me:$LINENO: checking for gpiv_trig_openrtfs in -lgpiv" >&5
9363 echo $ECHO_N "checking for gpiv_trig_openrtfs in -lgpiv... $ECHO_C" >&6; }
9364 if test "${ac_cv_lib_gpiv_gpiv_trig_openrtfs+set}" = set; then
9365 echo $ECHO_N "(cached) $ECHO_C" >&6
9366 else
9367 ac_check_lib_save_LIBS=$LIBS
9368 LIBS="-lgpiv $LIBS"
9369 cat >conftest.$ac_ext <<_ACEOF
9370 /* confdefs.h. */
9371 _ACEOF
9372 cat confdefs.h >>conftest.$ac_ext
9373 cat >>conftest.$ac_ext <<_ACEOF
9374 /* end confdefs.h. */
9376 /* Override any GCC internal prototype to avoid an error.
9377 Use char because int might match the return type of a GCC
9378 builtin and then its argument prototype would still apply. */
9379 #ifdef __cplusplus
9380 extern "C"
9381 #endif
9382 char gpiv_trig_openrtfs ();
9384 main ()
9386 return gpiv_trig_openrtfs ();
9388 return 0;
9390 _ACEOF
9391 rm -f conftest.$ac_objext conftest$ac_exeext
9392 if { (ac_try="$ac_link"
9393 case "(($ac_try" in
9394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9395 *) ac_try_echo=$ac_try;;
9396 esac
9397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9398 (eval "$ac_link") 2>conftest.er1
9399 ac_status=$?
9400 grep -v '^ *+' conftest.er1 >conftest.err
9401 rm -f conftest.er1
9402 cat conftest.err >&5
9403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9404 (exit $ac_status); } && {
9405 test -z "$ac_c_werror_flag" ||
9406 test ! -s conftest.err
9407 } && test -s conftest$ac_exeext &&
9408 $as_test_x conftest$ac_exeext; then
9409 ac_cv_lib_gpiv_gpiv_trig_openrtfs=yes
9410 else
9411 echo "$as_me: failed program was:" >&5
9412 sed 's/^/| /' conftest.$ac_ext >&5
9414 ac_cv_lib_gpiv_gpiv_trig_openrtfs=no
9417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9418 conftest$ac_exeext conftest.$ac_ext
9419 LIBS=$ac_check_lib_save_LIBS
9421 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&5
9422 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&6; }
9423 if test $ac_cv_lib_gpiv_gpiv_trig_openrtfs = yes; then
9424 cat >>confdefs.h <<_ACEOF
9425 #define HAVE_LIBGPIV 1
9426 _ACEOF
9428 LIBS="-lgpiv $LIBS"
9430 else
9431 { { echo "$as_me:$LINENO: error: \"(Realtime) triggering is not working in libgpiv. \
9432 Enable (realtime) triggering in libgpiv or disable it here by leaving out --enable-trig during ./configure\"" >&5
9433 echo "$as_me: error: \"(Realtime) triggering is not working in libgpiv. \
9434 Enable (realtime) triggering in libgpiv or disable it here by leaving out --enable-trig during ./configure\"" >&2;}
9435 { (exit 1); exit 1; }; }
9441 # Extract the first word of "gpiv_control", so it can be a program name with args.
9442 set dummy gpiv_control; ac_word=$2
9443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9445 if test "${ac_cv_prog_CONTROL+set}" = set; then
9446 echo $ECHO_N "(cached) $ECHO_C" >&6
9447 else
9448 if test -n "$CONTROL"; then
9449 ac_cv_prog_CONTROL="$CONTROL" # Let the user override the test.
9450 else
9451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9452 for as_dir in $PATH
9454 IFS=$as_save_IFS
9455 test -z "$as_dir" && as_dir=.
9456 for ac_exec_ext in '' $ac_executable_extensions; do
9457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9458 ac_cv_prog_CONTROL="true"
9459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9460 break 2
9462 done
9463 done
9464 IFS=$as_save_IFS
9466 test -z "$ac_cv_prog_CONTROL" && ac_cv_prog_CONTROL="false"
9469 CONTROL=$ac_cv_prog_CONTROL
9470 if test -n "$CONTROL"; then
9471 { echo "$as_me:$LINENO: result: $CONTROL" >&5
9472 echo "${ECHO_T}$CONTROL" >&6; }
9473 else
9474 { echo "$as_me:$LINENO: result: no" >&5
9475 echo "${ECHO_T}no" >&6; }
9481 if $CONTROL; then
9482 HAVE_CONTROL_TRUE=
9483 HAVE_CONTROL_FALSE='#'
9484 else
9485 HAVE_CONTROL_TRUE='#'
9486 HAVE_CONTROL_FALSE=
9490 # Check whether --enable-rta was given.
9491 if test "${enable_rta+set}" = set; then
9492 enableval=$enable_rta; RTA_TOPDIR="$enableval"
9493 else
9494 RTA_TOPDIR="/usr/lib/realtime"
9501 # Check whether --enable-k was given.
9502 if test "${enable_k+set}" = set; then
9503 enableval=$enable_k; K_TOPDIR="$enableval"
9504 else
9505 K_TOPDIR="/usr/src/kernel-headers-2.4.27-adeos"
9512 # Check whether --enable-img-width was given.
9513 if test "${enable_img_width+set}" = set; then
9514 enableval=$enable_img_width; OVERRIDE_IMAGE_WIDTH_MAX="-DIMAGE_WIDTH_MAX=$enableval"
9522 # Check whether --enable-img-height was given.
9523 if test "${enable_img_height+set}" = set; then
9524 enableval=$enable_img_height; OVERRIDE_IMAGE_HEIGHT_MAX="-DIMAGE_HEIGHT_MAX=$enableval"
9531 # Check whether --enable-canvas_aa was given.
9532 if test "${enable_canvas_aa+set}" = set; then
9533 enableval=$enable_canvas_aa; CANVAS_AA="-DCANVAS_AA"
9540 # Check whether --enable-debug was given.
9541 if test "${enable_debug+set}" = set; then
9542 enableval=$enable_debug; DEBUG="-DDEBUG"
9550 # Check whether --enable-mpi was given.
9551 if test "${enable_mpi+set}" = set; then
9552 enableval=$enable_mpi; ENABLE_MPI="-DENABLE_MPI"
9558 if test "${ENABLE_MPI}" == '-DENABLE_MPI'; then
9560 # Extract the first word of "mpirun", so it can be a program name with args.
9561 set dummy mpirun; ac_word=$2
9562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9564 if test "${ac_cv_prog_MPIRUN+set}" = set; then
9565 echo $ECHO_N "(cached) $ECHO_C" >&6
9566 else
9567 if test -n "$MPIRUN"; then
9568 ac_cv_prog_MPIRUN="$MPIRUN" # Let the user override the test.
9569 else
9570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9571 for as_dir in $PATH
9573 IFS=$as_save_IFS
9574 test -z "$as_dir" && as_dir=.
9575 for ac_exec_ext in '' $ac_executable_extensions; do
9576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9577 ac_cv_prog_MPIRUN="true"
9578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9579 break 2
9581 done
9582 done
9583 IFS=$as_save_IFS
9585 test -z "$ac_cv_prog_MPIRUN" && ac_cv_prog_MPIRUN="false"
9588 MPIRUN=$ac_cv_prog_MPIRUN
9589 if test -n "$MPIRUN"; then
9590 { echo "$as_me:$LINENO: result: $MPIRUN" >&5
9591 echo "${ECHO_T}$MPIRUN" >&6; }
9592 else
9593 { echo "$as_me:$LINENO: result: no" >&5
9594 echo "${ECHO_T}no" >&6; }
9598 if test x$MPIRUN = xfalse ; then
9599 { { echo "$as_me:$LINENO: error: \"missing mpirun \
9600 Needed by gpiv when --enable-mpi\"" >&5
9601 echo "$as_me: error: \"missing mpirun \
9602 Needed by gpiv when --enable-mpi\"" >&2;}
9603 { (exit 1); exit 1; }; }
9606 # Extract the first word of "gpiv_rr", so it can be a program name with args.
9607 set dummy gpiv_rr; ac_word=$2
9608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9610 if test "${ac_cv_prog_RR+set}" = set; then
9611 echo $ECHO_N "(cached) $ECHO_C" >&6
9612 else
9613 if test -n "$RR"; then
9614 ac_cv_prog_RR="$RR" # Let the user override the test.
9615 else
9616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9617 for as_dir in $PATH
9619 IFS=$as_save_IFS
9620 test -z "$as_dir" && as_dir=.
9621 for ac_exec_ext in '' $ac_executable_extensions; do
9622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9623 ac_cv_prog_RR="true"
9624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9625 break 2
9627 done
9628 done
9629 IFS=$as_save_IFS
9631 test -z "$ac_cv_prog_RR" && ac_cv_prog_RR="false"
9634 RR=$ac_cv_prog_RR
9635 if test -n "$RR"; then
9636 { echo "$as_me:$LINENO: result: $RR" >&5
9637 echo "${ECHO_T}$RR" >&6; }
9638 else
9639 { echo "$as_me:$LINENO: result: no" >&5
9640 echo "${ECHO_T}no" >&6; }
9644 if test x$RR = xfalse ; then
9645 { { echo "$as_me:$LINENO: error: \"missing mpi-enabled gpiv_rr from gpivtools. \
9646 Needed by gpiv when --enable-mpi\"" >&5
9647 echo "$as_me: error: \"missing mpi-enabled gpiv_rr from gpivtools. \
9648 Needed by gpiv when --enable-mpi\"" >&2;}
9649 { (exit 1); exit 1; }; }
9653 { echo "$as_me:$LINENO: checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv" >&5
9654 echo $ECHO_N "checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv... $ECHO_C" >&6; }
9655 if test "${ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar+set}" = set; then
9656 echo $ECHO_N "(cached) $ECHO_C" >&6
9657 else
9658 ac_check_lib_save_LIBS=$LIBS
9659 LIBS="-lgpiv $LIBS"
9660 cat >conftest.$ac_ext <<_ACEOF
9661 /* confdefs.h. */
9662 _ACEOF
9663 cat confdefs.h >>conftest.$ac_ext
9664 cat >>conftest.$ac_ext <<_ACEOF
9665 /* end confdefs.h. */
9667 /* Override any GCC internal prototype to avoid an error.
9668 Use char because int might match the return type of a GCC
9669 builtin and then its argument prototype would still apply. */
9670 #ifdef __cplusplus
9671 extern "C"
9672 #endif
9673 char gpiv_piv_mpi_bcast_pivpar ();
9675 main ()
9677 return gpiv_piv_mpi_bcast_pivpar ();
9679 return 0;
9681 _ACEOF
9682 rm -f conftest.$ac_objext conftest$ac_exeext
9683 if { (ac_try="$ac_link"
9684 case "(($ac_try" in
9685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9686 *) ac_try_echo=$ac_try;;
9687 esac
9688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9689 (eval "$ac_link") 2>conftest.er1
9690 ac_status=$?
9691 grep -v '^ *+' conftest.er1 >conftest.err
9692 rm -f conftest.er1
9693 cat conftest.err >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); } && {
9696 test -z "$ac_c_werror_flag" ||
9697 test ! -s conftest.err
9698 } && test -s conftest$ac_exeext &&
9699 $as_test_x conftest$ac_exeext; then
9700 ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar=yes
9701 else
9702 echo "$as_me: failed program was:" >&5
9703 sed 's/^/| /' conftest.$ac_ext >&5
9705 ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar=no
9708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9709 conftest$ac_exeext conftest.$ac_ext
9710 LIBS=$ac_check_lib_save_LIBS
9712 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar" >&5
9713 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar" >&6; }
9714 if test $ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar = yes; then
9715 cat >>confdefs.h <<_ACEOF
9716 #define HAVE_LIBGPIV 1
9717 _ACEOF
9719 LIBS="-lgpiv $LIBS"
9721 else
9722 { { echo "$as_me:$LINENO: error: \"gpiv_piv_mpi_bcast_pivpar is not working in libgpiv. \
9723 Enable MPI in libgpiv or disable it here by leaving out --enable-mpi during ./configure\"" >&5
9724 echo "$as_me: error: \"gpiv_piv_mpi_bcast_pivpar is not working in libgpiv. \
9725 Enable MPI in libgpiv or disable it here by leaving out --enable-mpi during ./configure\"" >&2;}
9726 { (exit 1); exit 1; }; }
9736 ac_config_files="$ac_config_files Makefile doc/Makefile doc/C/Makefile doc/C/figures/Makefile src/Makefile po/Makefile.in man/Makefile pixmaps/Makefile"
9738 cat >confcache <<\_ACEOF
9739 # This file is a shell script that caches the results of configure
9740 # tests run on this system so they can be shared between configure
9741 # scripts and configure runs, see configure's option --config-cache.
9742 # It is not useful on other systems. If it contains results you don't
9743 # want to keep, you may remove or edit it.
9745 # config.status only pays attention to the cache file if you give it
9746 # the --recheck option to rerun configure.
9748 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9749 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9750 # following values.
9752 _ACEOF
9754 # The following way of writing the cache mishandles newlines in values,
9755 # but we know of no workaround that is simple, portable, and efficient.
9756 # So, we kill variables containing newlines.
9757 # Ultrix sh set writes to stderr and can't be redirected directly,
9758 # and sets the high bit in the cache file unless we assign to the vars.
9760 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9761 eval ac_val=\$$ac_var
9762 case $ac_val in #(
9763 *${as_nl}*)
9764 case $ac_var in #(
9765 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9766 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9767 esac
9768 case $ac_var in #(
9769 _ | IFS | as_nl) ;; #(
9770 *) $as_unset $ac_var ;;
9771 esac ;;
9772 esac
9773 done
9775 (set) 2>&1 |
9776 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9777 *${as_nl}ac_space=\ *)
9778 # `set' does not quote correctly, so add quotes (double-quote
9779 # substitution turns \\\\ into \\, and sed turns \\ into \).
9780 sed -n \
9781 "s/'/'\\\\''/g;
9782 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9783 ;; #(
9785 # `set' quotes correctly as required by POSIX, so do not add quotes.
9786 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9788 esac |
9789 sort
9791 sed '
9792 /^ac_cv_env_/b end
9793 t clear
9794 :clear
9795 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9796 t end
9797 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9798 :end' >>confcache
9799 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9800 if test -w "$cache_file"; then
9801 test "x$cache_file" != "x/dev/null" &&
9802 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9803 echo "$as_me: updating cache $cache_file" >&6;}
9804 cat confcache >$cache_file
9805 else
9806 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9807 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9810 rm -f confcache
9812 test "x$prefix" = xNONE && prefix=$ac_default_prefix
9813 # Let make expand exec_prefix.
9814 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9816 # Transform confdefs.h into DEFS.
9817 # Protect against shell expansion while executing Makefile rules.
9818 # Protect against Makefile macro expansion.
9820 # If the first sed substitution is executed (which looks for macros that
9821 # take arguments), then branch to the quote section. Otherwise,
9822 # look for a macro that doesn't take arguments.
9823 ac_script='
9824 t clear
9825 :clear
9826 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
9827 t quote
9828 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
9829 t quote
9830 b any
9831 :quote
9832 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
9833 s/\[/\\&/g
9834 s/\]/\\&/g
9835 s/\$/$$/g
9837 :any
9840 s/^\n//
9841 s/\n/ /g
9845 DEFS=`sed -n "$ac_script" confdefs.h`
9848 ac_libobjs=
9849 ac_ltlibobjs=
9850 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9851 # 1. Remove the extension, and $U if already installed.
9852 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9853 ac_i=`echo "$ac_i" | sed "$ac_script"`
9854 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9855 # will be set to the directory where LIBOBJS objects are built.
9856 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9857 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9858 done
9859 LIBOBJS=$ac_libobjs
9861 LTLIBOBJS=$ac_ltlibobjs
9864 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
9865 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
9866 Usually this means the macro was only invoked conditionally." >&5
9867 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
9868 Usually this means the macro was only invoked conditionally." >&2;}
9869 { (exit 1); exit 1; }; }
9871 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9872 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9873 Usually this means the macro was only invoked conditionally." >&5
9874 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9875 Usually this means the macro was only invoked conditionally." >&2;}
9876 { (exit 1); exit 1; }; }
9878 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9879 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9880 Usually this means the macro was only invoked conditionally." >&5
9881 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9882 Usually this means the macro was only invoked conditionally." >&2;}
9883 { (exit 1); exit 1; }; }
9885 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9886 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9887 Usually this means the macro was only invoked conditionally." >&5
9888 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9889 Usually this means the macro was only invoked conditionally." >&2;}
9890 { (exit 1); exit 1; }; }
9892 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9893 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9894 Usually this means the macro was only invoked conditionally." >&5
9895 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9896 Usually this means the macro was only invoked conditionally." >&2;}
9897 { (exit 1); exit 1; }; }
9900 ac_config_commands="$ac_config_commands po/stamp-it"
9903 if test -z "${HAVE_CONTROL_TRUE}" && test -z "${HAVE_CONTROL_FALSE}"; then
9904 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CONTROL\" was never defined.
9905 Usually this means the macro was only invoked conditionally." >&5
9906 echo "$as_me: error: conditional \"HAVE_CONTROL\" was never defined.
9907 Usually this means the macro was only invoked conditionally." >&2;}
9908 { (exit 1); exit 1; }; }
9911 : ${CONFIG_STATUS=./config.status}
9912 ac_clean_files_save=$ac_clean_files
9913 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9914 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9915 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9916 cat >$CONFIG_STATUS <<_ACEOF
9917 #! $SHELL
9918 # Generated by $as_me.
9919 # Run this file to recreate the current configuration.
9920 # Compiler output produced by configure, useful for debugging
9921 # configure, is in config.log if it exists.
9923 debug=false
9924 ac_cs_recheck=false
9925 ac_cs_silent=false
9926 SHELL=\${CONFIG_SHELL-$SHELL}
9927 _ACEOF
9929 cat >>$CONFIG_STATUS <<\_ACEOF
9930 ## --------------------- ##
9931 ## M4sh Initialization. ##
9932 ## --------------------- ##
9934 # Be more Bourne compatible
9935 DUALCASE=1; export DUALCASE # for MKS sh
9936 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9937 emulate sh
9938 NULLCMD=:
9939 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9940 # is contrary to our usage. Disable this feature.
9941 alias -g '${1+"$@"}'='"$@"'
9942 setopt NO_GLOB_SUBST
9943 else
9944 case `(set -o) 2>/dev/null` in
9945 *posix*) set -o posix ;;
9946 esac
9953 # PATH needs CR
9954 # Avoid depending upon Character Ranges.
9955 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9956 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9957 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9958 as_cr_digits='0123456789'
9959 as_cr_alnum=$as_cr_Letters$as_cr_digits
9961 # The user is always right.
9962 if test "${PATH_SEPARATOR+set}" != set; then
9963 echo "#! /bin/sh" >conf$$.sh
9964 echo "exit 0" >>conf$$.sh
9965 chmod +x conf$$.sh
9966 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9967 PATH_SEPARATOR=';'
9968 else
9969 PATH_SEPARATOR=:
9971 rm -f conf$$.sh
9974 # Support unset when possible.
9975 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9976 as_unset=unset
9977 else
9978 as_unset=false
9982 # IFS
9983 # We need space, tab and new line, in precisely that order. Quoting is
9984 # there to prevent editors from complaining about space-tab.
9985 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9986 # splitting by setting IFS to empty value.)
9987 as_nl='
9989 IFS=" "" $as_nl"
9991 # Find who we are. Look in the path if we contain no directory separator.
9992 case $0 in
9993 *[\\/]* ) as_myself=$0 ;;
9994 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9995 for as_dir in $PATH
9997 IFS=$as_save_IFS
9998 test -z "$as_dir" && as_dir=.
9999 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10000 done
10001 IFS=$as_save_IFS
10004 esac
10005 # We did not find ourselves, most probably we were run as `sh COMMAND'
10006 # in which case we are not to be found in the path.
10007 if test "x$as_myself" = x; then
10008 as_myself=$0
10010 if test ! -f "$as_myself"; then
10011 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10012 { (exit 1); exit 1; }
10015 # Work around bugs in pre-3.0 UWIN ksh.
10016 for as_var in ENV MAIL MAILPATH
10017 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10018 done
10019 PS1='$ '
10020 PS2='> '
10021 PS4='+ '
10023 # NLS nuisances.
10024 for as_var in \
10025 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10026 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10027 LC_TELEPHONE LC_TIME
10029 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10030 eval $as_var=C; export $as_var
10031 else
10032 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10034 done
10036 # Required to use basename.
10037 if expr a : '\(a\)' >/dev/null 2>&1 &&
10038 test "X`expr 00001 : '.*\(...\)'`" = X001; then
10039 as_expr=expr
10040 else
10041 as_expr=false
10044 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10045 as_basename=basename
10046 else
10047 as_basename=false
10051 # Name of the executable.
10052 as_me=`$as_basename -- "$0" ||
10053 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10054 X"$0" : 'X\(//\)$' \| \
10055 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10056 echo X/"$0" |
10057 sed '/^.*\/\([^/][^/]*\)\/*$/{
10058 s//\1/
10061 /^X\/\(\/\/\)$/{
10062 s//\1/
10065 /^X\/\(\/\).*/{
10066 s//\1/
10069 s/.*/./; q'`
10071 # CDPATH.
10072 $as_unset CDPATH
10076 as_lineno_1=$LINENO
10077 as_lineno_2=$LINENO
10078 test "x$as_lineno_1" != "x$as_lineno_2" &&
10079 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10081 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10082 # uniformly replaced by the line number. The first 'sed' inserts a
10083 # line-number line after each line using $LINENO; the second 'sed'
10084 # does the real work. The second script uses 'N' to pair each
10085 # line-number line with the line containing $LINENO, and appends
10086 # trailing '-' during substitution so that $LINENO is not a special
10087 # case at line end.
10088 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10089 # scripts with optimization help from Paolo Bonzini. Blame Lee
10090 # E. McMahon (1931-1989) for sed's syntax. :-)
10091 sed -n '
10093 /[$]LINENO/=
10094 ' <$as_myself |
10095 sed '
10096 s/[$]LINENO.*/&-/
10097 t lineno
10099 :lineno
10101 :loop
10102 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10103 t loop
10104 s/-\n.*//
10105 ' >$as_me.lineno &&
10106 chmod +x "$as_me.lineno" ||
10107 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10108 { (exit 1); exit 1; }; }
10110 # Don't try to exec as it changes $[0], causing all sort of problems
10111 # (the dirname of $[0] is not the place where we might find the
10112 # original and so on. Autoconf is especially sensitive to this).
10113 . "./$as_me.lineno"
10114 # Exit status is that of the last command.
10115 exit
10119 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10120 as_dirname=dirname
10121 else
10122 as_dirname=false
10125 ECHO_C= ECHO_N= ECHO_T=
10126 case `echo -n x` in
10127 -n*)
10128 case `echo 'x\c'` in
10129 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10130 *) ECHO_C='\c';;
10131 esac;;
10133 ECHO_N='-n';;
10134 esac
10136 if expr a : '\(a\)' >/dev/null 2>&1 &&
10137 test "X`expr 00001 : '.*\(...\)'`" = X001; then
10138 as_expr=expr
10139 else
10140 as_expr=false
10143 rm -f conf$$ conf$$.exe conf$$.file
10144 if test -d conf$$.dir; then
10145 rm -f conf$$.dir/conf$$.file
10146 else
10147 rm -f conf$$.dir
10148 mkdir conf$$.dir
10150 echo >conf$$.file
10151 if ln -s conf$$.file conf$$ 2>/dev/null; then
10152 as_ln_s='ln -s'
10153 # ... but there are two gotchas:
10154 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10155 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10156 # In both cases, we have to default to `cp -p'.
10157 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10158 as_ln_s='cp -p'
10159 elif ln conf$$.file conf$$ 2>/dev/null; then
10160 as_ln_s=ln
10161 else
10162 as_ln_s='cp -p'
10164 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10165 rmdir conf$$.dir 2>/dev/null
10167 if mkdir -p . 2>/dev/null; then
10168 as_mkdir_p=:
10169 else
10170 test -d ./-p && rmdir ./-p
10171 as_mkdir_p=false
10174 if test -x / >/dev/null 2>&1; then
10175 as_test_x='test -x'
10176 else
10177 if ls -dL / >/dev/null 2>&1; then
10178 as_ls_L_option=L
10179 else
10180 as_ls_L_option=
10182 as_test_x='
10183 eval sh -c '\''
10184 if test -d "$1"; then
10185 test -d "$1/.";
10186 else
10187 case $1 in
10188 -*)set "./$1";;
10189 esac;
10190 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10191 ???[sx]*):;;*)false;;esac;fi
10192 '\'' sh
10195 as_executable_p=$as_test_x
10197 # Sed expression to map a string onto a valid CPP name.
10198 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10200 # Sed expression to map a string onto a valid variable name.
10201 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10204 exec 6>&1
10206 # Save the log message, to keep $[0] and so on meaningful, and to
10207 # report actual input values of CONFIG_FILES etc. instead of their
10208 # values after options handling.
10209 ac_log="
10210 This file was extended by gpiv $as_me 0.6.0, which was
10211 generated by GNU Autoconf 2.61. Invocation command line was
10213 CONFIG_FILES = $CONFIG_FILES
10214 CONFIG_HEADERS = $CONFIG_HEADERS
10215 CONFIG_LINKS = $CONFIG_LINKS
10216 CONFIG_COMMANDS = $CONFIG_COMMANDS
10217 $ $0 $@
10219 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10222 _ACEOF
10224 cat >>$CONFIG_STATUS <<_ACEOF
10225 # Files that config.status was made for.
10226 config_files="$ac_config_files"
10227 config_commands="$ac_config_commands"
10229 _ACEOF
10231 cat >>$CONFIG_STATUS <<\_ACEOF
10232 ac_cs_usage="\
10233 \`$as_me' instantiates files from templates according to the
10234 current configuration.
10236 Usage: $0 [OPTIONS] [FILE]...
10238 -h, --help print this help, then exit
10239 -V, --version print version number and configuration settings, then exit
10240 -q, --quiet do not print progress messages
10241 -d, --debug don't remove temporary files
10242 --recheck update $as_me by reconfiguring in the same conditions
10243 --file=FILE[:TEMPLATE]
10244 instantiate the configuration file FILE
10246 Configuration files:
10247 $config_files
10249 Configuration commands:
10250 $config_commands
10252 Report bugs to <bug-autoconf@gnu.org>."
10254 _ACEOF
10255 cat >>$CONFIG_STATUS <<_ACEOF
10256 ac_cs_version="\\
10257 gpiv config.status 0.6.0
10258 configured by $0, generated by GNU Autoconf 2.61,
10259 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10261 Copyright (C) 2006 Free Software Foundation, Inc.
10262 This config.status script is free software; the Free Software Foundation
10263 gives unlimited permission to copy, distribute and modify it."
10265 ac_pwd='$ac_pwd'
10266 srcdir='$srcdir'
10267 INSTALL='$INSTALL'
10268 _ACEOF
10270 cat >>$CONFIG_STATUS <<\_ACEOF
10271 # If no file are specified by the user, then we need to provide default
10272 # value. By we need to know if files were specified by the user.
10273 ac_need_defaults=:
10274 while test $# != 0
10276 case $1 in
10277 --*=*)
10278 ac_option=`expr "X$1" : 'X\([^=]*\)='`
10279 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10280 ac_shift=:
10283 ac_option=$1
10284 ac_optarg=$2
10285 ac_shift=shift
10287 esac
10289 case $ac_option in
10290 # Handling of the options.
10291 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10292 ac_cs_recheck=: ;;
10293 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10294 echo "$ac_cs_version"; exit ;;
10295 --debug | --debu | --deb | --de | --d | -d )
10296 debug=: ;;
10297 --file | --fil | --fi | --f )
10298 $ac_shift
10299 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10300 ac_need_defaults=false;;
10301 --he | --h | --help | --hel | -h )
10302 echo "$ac_cs_usage"; exit ;;
10303 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10304 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10305 ac_cs_silent=: ;;
10307 # This is an error.
10308 -*) { echo "$as_me: error: unrecognized option: $1
10309 Try \`$0 --help' for more information." >&2
10310 { (exit 1); exit 1; }; } ;;
10312 *) ac_config_targets="$ac_config_targets $1"
10313 ac_need_defaults=false ;;
10315 esac
10316 shift
10317 done
10319 ac_configure_extra_args=
10321 if $ac_cs_silent; then
10322 exec 6>/dev/null
10323 ac_configure_extra_args="$ac_configure_extra_args --silent"
10326 _ACEOF
10327 cat >>$CONFIG_STATUS <<_ACEOF
10328 if \$ac_cs_recheck; then
10329 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10330 CONFIG_SHELL=$SHELL
10331 export CONFIG_SHELL
10332 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10335 _ACEOF
10336 cat >>$CONFIG_STATUS <<\_ACEOF
10337 exec 5>>config.log
10339 echo
10340 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10341 ## Running $as_me. ##
10342 _ASBOX
10343 echo "$ac_log"
10344 } >&5
10346 _ACEOF
10347 cat >>$CONFIG_STATUS <<_ACEOF
10349 # INIT-COMMANDS
10351 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10354 _ACEOF
10356 cat >>$CONFIG_STATUS <<\_ACEOF
10358 # Handling of arguments.
10359 for ac_config_target in $ac_config_targets
10361 case $ac_config_target in
10362 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10363 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
10364 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10365 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10366 "doc/C/Makefile") CONFIG_FILES="$CONFIG_FILES doc/C/Makefile" ;;
10367 "doc/C/figures/Makefile") CONFIG_FILES="$CONFIG_FILES doc/C/figures/Makefile" ;;
10368 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10369 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
10370 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
10371 "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
10372 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
10374 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10375 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10376 { (exit 1); exit 1; }; };;
10377 esac
10378 done
10381 # If the user did not use the arguments to specify the items to instantiate,
10382 # then the envvar interface is used. Set only those that are not.
10383 # We use the long form for the default assignment because of an extremely
10384 # bizarre bug on SunOS 4.1.3.
10385 if $ac_need_defaults; then
10386 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10387 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10390 # Have a temporary directory for convenience. Make it in the build tree
10391 # simply because there is no reason against having it here, and in addition,
10392 # creating and moving files from /tmp can sometimes cause problems.
10393 # Hook for its removal unless debugging.
10394 # Note that there is a small window in which the directory will not be cleaned:
10395 # after its creation but before its name has been assigned to `$tmp'.
10396 $debug ||
10398 tmp=
10399 trap 'exit_status=$?
10400 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10402 trap '{ (exit 1); exit 1; }' 1 2 13 15
10404 # Create a (secure) tmp directory for tmp files.
10407 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10408 test -n "$tmp" && test -d "$tmp"
10409 } ||
10411 tmp=./conf$$-$RANDOM
10412 (umask 077 && mkdir "$tmp")
10413 } ||
10415 echo "$me: cannot create a temporary directory in ." >&2
10416 { (exit 1); exit 1; }
10420 # Set up the sed scripts for CONFIG_FILES section.
10423 # No need to generate the scripts if there are no CONFIG_FILES.
10424 # This happens for instance when ./config.status config.h
10425 if test -n "$CONFIG_FILES"; then
10427 _ACEOF
10431 ac_delim='%!_!# '
10432 for ac_last_try in false false false false false :; do
10433 cat >conf$$subs.sed <<_ACEOF
10434 SHELL!$SHELL$ac_delim
10435 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10436 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10437 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10438 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10439 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10440 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10441 exec_prefix!$exec_prefix$ac_delim
10442 prefix!$prefix$ac_delim
10443 program_transform_name!$program_transform_name$ac_delim
10444 bindir!$bindir$ac_delim
10445 sbindir!$sbindir$ac_delim
10446 libexecdir!$libexecdir$ac_delim
10447 datarootdir!$datarootdir$ac_delim
10448 datadir!$datadir$ac_delim
10449 sysconfdir!$sysconfdir$ac_delim
10450 sharedstatedir!$sharedstatedir$ac_delim
10451 localstatedir!$localstatedir$ac_delim
10452 includedir!$includedir$ac_delim
10453 oldincludedir!$oldincludedir$ac_delim
10454 docdir!$docdir$ac_delim
10455 infodir!$infodir$ac_delim
10456 htmldir!$htmldir$ac_delim
10457 dvidir!$dvidir$ac_delim
10458 pdfdir!$pdfdir$ac_delim
10459 psdir!$psdir$ac_delim
10460 libdir!$libdir$ac_delim
10461 localedir!$localedir$ac_delim
10462 mandir!$mandir$ac_delim
10463 DEFS!$DEFS$ac_delim
10464 ECHO_C!$ECHO_C$ac_delim
10465 ECHO_N!$ECHO_N$ac_delim
10466 ECHO_T!$ECHO_T$ac_delim
10467 LIBS!$LIBS$ac_delim
10468 build_alias!$build_alias$ac_delim
10469 host_alias!$host_alias$ac_delim
10470 target_alias!$target_alias$ac_delim
10471 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10472 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10473 INSTALL_DATA!$INSTALL_DATA$ac_delim
10474 CYGPATH_W!$CYGPATH_W$ac_delim
10475 PACKAGE!$PACKAGE$ac_delim
10476 VERSION!$VERSION$ac_delim
10477 ACLOCAL!$ACLOCAL$ac_delim
10478 AUTOCONF!$AUTOCONF$ac_delim
10479 AUTOMAKE!$AUTOMAKE$ac_delim
10480 AUTOHEADER!$AUTOHEADER$ac_delim
10481 MAKEINFO!$MAKEINFO$ac_delim
10482 install_sh!$install_sh$ac_delim
10483 STRIP!$STRIP$ac_delim
10484 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
10485 mkdir_p!$mkdir_p$ac_delim
10486 AWK!$AWK$ac_delim
10487 SET_MAKE!$SET_MAKE$ac_delim
10488 am__leading_dot!$am__leading_dot$ac_delim
10489 AMTAR!$AMTAR$ac_delim
10490 am__tar!$am__tar$ac_delim
10491 am__untar!$am__untar$ac_delim
10492 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
10493 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
10494 MAINT!$MAINT$ac_delim
10495 CC!$CC$ac_delim
10496 CFLAGS!$CFLAGS$ac_delim
10497 LDFLAGS!$LDFLAGS$ac_delim
10498 CPPFLAGS!$CPPFLAGS$ac_delim
10499 ac_ct_CC!$ac_ct_CC$ac_delim
10500 EXEEXT!$EXEEXT$ac_delim
10501 OBJEXT!$OBJEXT$ac_delim
10502 DEPDIR!$DEPDIR$ac_delim
10503 am__include!$am__include$ac_delim
10504 am__quote!$am__quote$ac_delim
10505 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
10506 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
10507 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
10508 CCDEPMODE!$CCDEPMODE$ac_delim
10509 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
10510 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
10511 CPP!$CPP$ac_delim
10512 GREP!$GREP$ac_delim
10513 EGREP!$EGREP$ac_delim
10514 PKG_CONFIG!$PKG_CONFIG$ac_delim
10515 GPIV_UI_CFLAGS!$GPIV_UI_CFLAGS$ac_delim
10516 GPIV_UI_LIBS!$GPIV_UI_LIBS$ac_delim
10517 GPIV_PRINT_CFLAGS!$GPIV_PRINT_CFLAGS$ac_delim
10518 GPIV_PRINT_LIBS!$GPIV_PRINT_LIBS$ac_delim
10519 GPIV_CFLAGS!$GPIV_CFLAGS$ac_delim
10520 GPIV_LIBS!$GPIV_LIBS$ac_delim
10521 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
10522 USE_NLS!$USE_NLS$ac_delim
10523 MSGFMT!$MSGFMT$ac_delim
10524 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
10525 GMSGFMT!$GMSGFMT$ac_delim
10526 XGETTEXT!$XGETTEXT$ac_delim
10527 CATALOGS!$CATALOGS$ac_delim
10528 CATOBJEXT!$CATOBJEXT$ac_delim
10529 DATADIRNAME!$DATADIRNAME$ac_delim
10530 GMOFILES!$GMOFILES$ac_delim
10531 _ACEOF
10533 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
10534 break
10535 elif $ac_last_try; then
10536 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10537 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10538 { (exit 1); exit 1; }; }
10539 else
10540 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10542 done
10544 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10545 if test -n "$ac_eof"; then
10546 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10547 ac_eof=`expr $ac_eof + 1`
10550 cat >>$CONFIG_STATUS <<_ACEOF
10551 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10552 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10553 _ACEOF
10554 sed '
10555 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10556 s/^/s,@/; s/!/@,|#_!!_#|/
10559 s/'"$ac_delim"'$/,g/; t
10560 s/$/\\/; p
10561 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10562 ' >>$CONFIG_STATUS <conf$$subs.sed
10563 rm -f conf$$subs.sed
10564 cat >>$CONFIG_STATUS <<_ACEOF
10565 CEOF$ac_eof
10566 _ACEOF
10569 ac_delim='%!_!# '
10570 for ac_last_try in false false false false false :; do
10571 cat >conf$$subs.sed <<_ACEOF
10572 INSTOBJEXT!$INSTOBJEXT$ac_delim
10573 INTLLIBS!$INTLLIBS$ac_delim
10574 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
10575 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
10576 POFILES!$POFILES$ac_delim
10577 POSUB!$POSUB$ac_delim
10578 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
10579 INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
10580 INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
10581 INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
10582 INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
10583 INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
10584 INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
10585 INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
10586 INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
10587 INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
10588 INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
10589 INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
10590 INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
10591 INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
10592 INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
10593 INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
10594 INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
10595 INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
10596 INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
10597 INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
10598 INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
10599 INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
10600 INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
10601 MSGMERGE!$MSGMERGE$ac_delim
10602 INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
10603 ALL_LINGUAS!$ALL_LINGUAS$ac_delim
10604 ENABLE_CAM!$ENABLE_CAM$ac_delim
10605 ENABLE_TRIG!$ENABLE_TRIG$ac_delim
10606 ENABLE_DAC!$ENABLE_DAC$ac_delim
10607 CONTROL!$CONTROL$ac_delim
10608 HAVE_CONTROL_TRUE!$HAVE_CONTROL_TRUE$ac_delim
10609 HAVE_CONTROL_FALSE!$HAVE_CONTROL_FALSE$ac_delim
10610 RTA_TOPDIR!$RTA_TOPDIR$ac_delim
10611 K_TOPDIR!$K_TOPDIR$ac_delim
10612 OVERRIDE_IMAGE_WIDTH_MAX!$OVERRIDE_IMAGE_WIDTH_MAX$ac_delim
10613 OVERRIDE_IMAGE_HEIGHT_MAX!$OVERRIDE_IMAGE_HEIGHT_MAX$ac_delim
10614 CANVAS_AA!$CANVAS_AA$ac_delim
10615 DEBUG!$DEBUG$ac_delim
10616 ENABLE_MPI!$ENABLE_MPI$ac_delim
10617 MPIRUN!$MPIRUN$ac_delim
10618 RR!$RR$ac_delim
10619 LIBOBJS!$LIBOBJS$ac_delim
10620 LTLIBOBJS!$LTLIBOBJS$ac_delim
10621 _ACEOF
10623 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 49; then
10624 break
10625 elif $ac_last_try; then
10626 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10627 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10628 { (exit 1); exit 1; }; }
10629 else
10630 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10632 done
10634 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10635 if test -n "$ac_eof"; then
10636 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10637 ac_eof=`expr $ac_eof + 1`
10640 cat >>$CONFIG_STATUS <<_ACEOF
10641 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10642 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10643 _ACEOF
10644 sed '
10645 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10646 s/^/s,@/; s/!/@,|#_!!_#|/
10649 s/'"$ac_delim"'$/,g/; t
10650 s/$/\\/; p
10651 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10652 ' >>$CONFIG_STATUS <conf$$subs.sed
10653 rm -f conf$$subs.sed
10654 cat >>$CONFIG_STATUS <<_ACEOF
10655 :end
10656 s/|#_!!_#|//g
10657 CEOF$ac_eof
10658 _ACEOF
10661 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10662 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10663 # trailing colons and then remove the whole line if VPATH becomes empty
10664 # (actually we leave an empty line to preserve line numbers).
10665 if test "x$srcdir" = x.; then
10666 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10667 s/:*\$(srcdir):*/:/
10668 s/:*\${srcdir}:*/:/
10669 s/:*@srcdir@:*/:/
10670 s/^\([^=]*=[ ]*\):*/\1/
10671 s/:*$//
10672 s/^[^=]*=[ ]*$//
10676 cat >>$CONFIG_STATUS <<\_ACEOF
10677 fi # test -n "$CONFIG_FILES"
10680 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
10682 case $ac_tag in
10683 :[FHLC]) ac_mode=$ac_tag; continue;;
10684 esac
10685 case $ac_mode$ac_tag in
10686 :[FHL]*:*);;
10687 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10688 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10689 { (exit 1); exit 1; }; };;
10690 :[FH]-) ac_tag=-:-;;
10691 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10692 esac
10693 ac_save_IFS=$IFS
10694 IFS=:
10695 set x $ac_tag
10696 IFS=$ac_save_IFS
10697 shift
10698 ac_file=$1
10699 shift
10701 case $ac_mode in
10702 :L) ac_source=$1;;
10703 :[FH])
10704 ac_file_inputs=
10705 for ac_f
10707 case $ac_f in
10708 -) ac_f="$tmp/stdin";;
10709 *) # Look for the file first in the build tree, then in the source tree
10710 # (if the path is not absolute). The absolute path cannot be DOS-style,
10711 # because $ac_f cannot contain `:'.
10712 test -f "$ac_f" ||
10713 case $ac_f in
10714 [\\/$]*) false;;
10715 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10716 esac ||
10717 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10718 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10719 { (exit 1); exit 1; }; };;
10720 esac
10721 ac_file_inputs="$ac_file_inputs $ac_f"
10722 done
10724 # Let's still pretend it is `configure' which instantiates (i.e., don't
10725 # use $as_me), people would be surprised to read:
10726 # /* config.h. Generated by config.status. */
10727 configure_input="Generated from "`IFS=:
10728 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10729 if test x"$ac_file" != x-; then
10730 configure_input="$ac_file. $configure_input"
10731 { echo "$as_me:$LINENO: creating $ac_file" >&5
10732 echo "$as_me: creating $ac_file" >&6;}
10735 case $ac_tag in
10736 *:-:* | *:-) cat >"$tmp/stdin";;
10737 esac
10739 esac
10741 ac_dir=`$as_dirname -- "$ac_file" ||
10742 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10743 X"$ac_file" : 'X\(//\)[^/]' \| \
10744 X"$ac_file" : 'X\(//\)$' \| \
10745 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10746 echo X"$ac_file" |
10747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10748 s//\1/
10751 /^X\(\/\/\)[^/].*/{
10752 s//\1/
10755 /^X\(\/\/\)$/{
10756 s//\1/
10759 /^X\(\/\).*/{
10760 s//\1/
10763 s/.*/./; q'`
10764 { as_dir="$ac_dir"
10765 case $as_dir in #(
10766 -*) as_dir=./$as_dir;;
10767 esac
10768 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10769 as_dirs=
10770 while :; do
10771 case $as_dir in #(
10772 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10773 *) as_qdir=$as_dir;;
10774 esac
10775 as_dirs="'$as_qdir' $as_dirs"
10776 as_dir=`$as_dirname -- "$as_dir" ||
10777 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10778 X"$as_dir" : 'X\(//\)[^/]' \| \
10779 X"$as_dir" : 'X\(//\)$' \| \
10780 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10781 echo X"$as_dir" |
10782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10783 s//\1/
10786 /^X\(\/\/\)[^/].*/{
10787 s//\1/
10790 /^X\(\/\/\)$/{
10791 s//\1/
10794 /^X\(\/\).*/{
10795 s//\1/
10798 s/.*/./; q'`
10799 test -d "$as_dir" && break
10800 done
10801 test -z "$as_dirs" || eval "mkdir $as_dirs"
10802 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10803 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10804 { (exit 1); exit 1; }; }; }
10805 ac_builddir=.
10807 case "$ac_dir" in
10808 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10810 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10811 # A ".." for each directory in $ac_dir_suffix.
10812 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10813 case $ac_top_builddir_sub in
10814 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10815 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10816 esac ;;
10817 esac
10818 ac_abs_top_builddir=$ac_pwd
10819 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10820 # for backward compatibility:
10821 ac_top_builddir=$ac_top_build_prefix
10823 case $srcdir in
10824 .) # We are building in place.
10825 ac_srcdir=.
10826 ac_top_srcdir=$ac_top_builddir_sub
10827 ac_abs_top_srcdir=$ac_pwd ;;
10828 [\\/]* | ?:[\\/]* ) # Absolute name.
10829 ac_srcdir=$srcdir$ac_dir_suffix;
10830 ac_top_srcdir=$srcdir
10831 ac_abs_top_srcdir=$srcdir ;;
10832 *) # Relative name.
10833 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10834 ac_top_srcdir=$ac_top_build_prefix$srcdir
10835 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10836 esac
10837 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10840 case $ac_mode in
10843 # CONFIG_FILE
10846 case $INSTALL in
10847 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10848 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10849 esac
10850 _ACEOF
10852 cat >>$CONFIG_STATUS <<\_ACEOF
10853 # If the template does not know about datarootdir, expand it.
10854 # FIXME: This hack should be removed a few years after 2.60.
10855 ac_datarootdir_hack=; ac_datarootdir_seen=
10857 case `sed -n '/datarootdir/ {
10861 /@datadir@/p
10862 /@docdir@/p
10863 /@infodir@/p
10864 /@localedir@/p
10865 /@mandir@/p
10866 ' $ac_file_inputs` in
10867 *datarootdir*) ac_datarootdir_seen=yes;;
10868 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10869 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10870 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10871 _ACEOF
10872 cat >>$CONFIG_STATUS <<_ACEOF
10873 ac_datarootdir_hack='
10874 s&@datadir@&$datadir&g
10875 s&@docdir@&$docdir&g
10876 s&@infodir@&$infodir&g
10877 s&@localedir@&$localedir&g
10878 s&@mandir@&$mandir&g
10879 s&\\\${datarootdir}&$datarootdir&g' ;;
10880 esac
10881 _ACEOF
10883 # Neutralize VPATH when `$srcdir' = `.'.
10884 # Shell code in configure.ac might set extrasub.
10885 # FIXME: do we really want to maintain this feature?
10886 cat >>$CONFIG_STATUS <<_ACEOF
10887 sed "$ac_vpsub
10888 $extrasub
10889 _ACEOF
10890 cat >>$CONFIG_STATUS <<\_ACEOF
10892 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10893 s&@configure_input@&$configure_input&;t t
10894 s&@top_builddir@&$ac_top_builddir_sub&;t t
10895 s&@srcdir@&$ac_srcdir&;t t
10896 s&@abs_srcdir@&$ac_abs_srcdir&;t t
10897 s&@top_srcdir@&$ac_top_srcdir&;t t
10898 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10899 s&@builddir@&$ac_builddir&;t t
10900 s&@abs_builddir@&$ac_abs_builddir&;t t
10901 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10902 s&@INSTALL@&$ac_INSTALL&;t t
10903 $ac_datarootdir_hack
10904 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
10906 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10907 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10908 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10909 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10910 which seems to be undefined. Please make sure it is defined." >&5
10911 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10912 which seems to be undefined. Please make sure it is defined." >&2;}
10914 rm -f "$tmp/stdin"
10915 case $ac_file in
10916 -) cat "$tmp/out"; rm -f "$tmp/out";;
10917 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10918 esac
10922 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
10923 echo "$as_me: executing $ac_file commands" >&6;}
10925 esac
10928 case $ac_file$ac_mode in
10929 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10930 # Strip MF so we end up with the name of the file.
10931 mf=`echo "$mf" | sed -e 's/:.*$//'`
10932 # Check whether this is an Automake generated Makefile or not.
10933 # We used to match only the files named `Makefile.in', but
10934 # some people rename them; so instead we look at the file content.
10935 # Grep'ing the first line is not enough: some people post-process
10936 # each Makefile.in and add a new line on top of each file to say so.
10937 # So let's grep whole file.
10938 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10939 dirpart=`$as_dirname -- "$mf" ||
10940 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10941 X"$mf" : 'X\(//\)[^/]' \| \
10942 X"$mf" : 'X\(//\)$' \| \
10943 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10944 echo X"$mf" |
10945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10946 s//\1/
10949 /^X\(\/\/\)[^/].*/{
10950 s//\1/
10953 /^X\(\/\/\)$/{
10954 s//\1/
10957 /^X\(\/\).*/{
10958 s//\1/
10961 s/.*/./; q'`
10962 else
10963 continue
10965 # Extract the definition of DEPDIR, am__include, and am__quote
10966 # from the Makefile without running `make'.
10967 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10968 test -z "$DEPDIR" && continue
10969 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10970 test -z "am__include" && continue
10971 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10972 # When using ansi2knr, U may be empty or an underscore; expand it
10973 U=`sed -n 's/^U = //p' < "$mf"`
10974 # Find all dependency output files, they are included files with
10975 # $(DEPDIR) in their names. We invoke sed twice because it is the
10976 # simplest approach to changing $(DEPDIR) to its actual value in the
10977 # expansion.
10978 for file in `sed -n "
10979 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10980 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10981 # Make sure the directory exists.
10982 test -f "$dirpart/$file" && continue
10983 fdir=`$as_dirname -- "$file" ||
10984 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10985 X"$file" : 'X\(//\)[^/]' \| \
10986 X"$file" : 'X\(//\)$' \| \
10987 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10988 echo X"$file" |
10989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10990 s//\1/
10993 /^X\(\/\/\)[^/].*/{
10994 s//\1/
10997 /^X\(\/\/\)$/{
10998 s//\1/
11001 /^X\(\/\).*/{
11002 s//\1/
11005 s/.*/./; q'`
11006 { as_dir=$dirpart/$fdir
11007 case $as_dir in #(
11008 -*) as_dir=./$as_dir;;
11009 esac
11010 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11011 as_dirs=
11012 while :; do
11013 case $as_dir in #(
11014 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11015 *) as_qdir=$as_dir;;
11016 esac
11017 as_dirs="'$as_qdir' $as_dirs"
11018 as_dir=`$as_dirname -- "$as_dir" ||
11019 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11020 X"$as_dir" : 'X\(//\)[^/]' \| \
11021 X"$as_dir" : 'X\(//\)$' \| \
11022 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11023 echo X"$as_dir" |
11024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11025 s//\1/
11028 /^X\(\/\/\)[^/].*/{
11029 s//\1/
11032 /^X\(\/\/\)$/{
11033 s//\1/
11036 /^X\(\/\).*/{
11037 s//\1/
11040 s/.*/./; q'`
11041 test -d "$as_dir" && break
11042 done
11043 test -z "$as_dirs" || eval "mkdir $as_dirs"
11044 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11045 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11046 { (exit 1); exit 1; }; }; }
11047 # echo "creating $dirpart/$file"
11048 echo '# dummy' > "$dirpart/$file"
11049 done
11050 done
11052 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
11053 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
11054 esac ;;
11055 "po/stamp-it":C)
11056 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
11057 >"po/stamp-it.tmp"
11058 sed '/^#/d
11059 s/^[[].*] *//
11060 /^[ ]*$/d
11061 '"s|^| $ac_top_srcdir/|" \
11062 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
11064 if test ! -f "po/Makefile"; then
11065 { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
11066 echo "$as_me: error: po/Makefile is not ready." >&2;}
11067 { (exit 1); exit 1; }; }
11069 mv "po/Makefile" "po/Makefile.tmp"
11070 sed '/^POTFILES =/,/[^\\]$/ {
11071 /^POTFILES =/!d
11072 r po/POTFILES
11074 ' "po/Makefile.tmp" >"po/Makefile"
11075 rm -f "po/Makefile.tmp"
11076 mv "po/stamp-it.tmp" "po/stamp-it"
11079 esac
11080 done # for ac_tag
11083 { (exit 0); exit 0; }
11084 _ACEOF
11085 chmod +x $CONFIG_STATUS
11086 ac_clean_files=$ac_clean_files_save
11089 # configure is writing to config.log, and then calls config.status.
11090 # config.status does its own redirection, appending to config.log.
11091 # Unfortunately, on DOS this fails, as config.log is still kept open
11092 # by configure, so config.status won't be able to write to it; its
11093 # output is simply discarded. So we exec the FD to /dev/null,
11094 # effectively closing config.log, so it can be properly (re)opened and
11095 # appended to by config.status. When coming back to configure, we
11096 # need to make the FD available again.
11097 if test "$no_create" != yes; then
11098 ac_cs_success=:
11099 ac_config_status_args=
11100 test "$silent" = yes &&
11101 ac_config_status_args="$ac_config_status_args --quiet"
11102 exec 5>/dev/null
11103 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11104 exec 5>>config.log
11105 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11106 # would make configure fail if this is the last instruction.
11107 $ac_cs_success || { (exit 1); exit 1; }
11112 echo "===================================================================="
11113 echo "Configuration succesfully finished"
11114 if test $HAVE_GNOME_PRINT; then
11115 echo "with gnomeprint"
11116 else
11117 echo "without gnomeprint"
11120 if test $ENABLE_CAM; then
11121 echo "with (IEEE-1394) camera enabled"
11124 if test $ENABLE_TRIG; then
11125 echo "with (realtime) triggering enabled."
11127 if test x$CONTROL = xfalse ; then
11128 echo "Gpiv_control has not been found on this system, and probably gpivtrig-rtl isn't"
11129 echo "resident as well. This script eases to install and uninstall the gpivtrig-rtl"
11130 echo "and RTAI kernel modules that are needed for the triggering of camera and lasers"
11131 echo ""
11135 if test $ENABLE_MPI; then
11136 echo "Using Message Passing Interface (MPI)"
11137 echo "for processing on distributed memory systems"
11140 echo "Type 'make' and 'make install' to build and install gpiv"
11141 echo "===================================================================="